Skip to content

Commit

Permalink
chore(@aws-amplify/ui-components): minor changes (aws-amplify#5266)
Browse files Browse the repository at this point in the history
* Minor changes before merge to master

* Update tests

* Remove locks from .gitignore

* add yarnrc

* Remove yarn lock
  • Loading branch information
jordanranz authored Apr 1, 2020
1 parent f91f34d commit 8a6efa7
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 9 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,3 @@ packages/**/cjs/
*.log
.npm/
packages/**/cypress/videos/
package-lock.json
yarn.lock
2 changes: 2 additions & 0 deletions .yarnrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--add.no-lockfile true
--install.no-lockfile true
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ exports[`amplify-icon spec: Render logic -> renders loading correctly 1`] = `
<g fill="none" fill-rule="evenodd" id="02-Basic-Inputs" stroke="none" stroke-width="1">
<g id="Bits-&amp;-Loaders-1312px-/-16-Copy-2" transform="translate(-392.000000, -448.000000)">
<g id="AmpBasicSmall" transform="translate(392.000000, 448.000000)">
<path d="M10,0 C15.5228475,0 20,4.4771525 20,10 C20,15.5228475 15.5228475,20 10,20 C4.4771525,20 0,15.5228475 0,10 C0,4.4771525 4.4771525,0 10,0 Z M10,4 C6.6862915,4 4,6.6862915 4,10 C4,13.3137085 6.6862915,16 10,16 C13.3137085,16 16,13.3137085 16,10 C16,6.6862915 13.3137085,4 10,4 Z" fill="#E1E1E1" id="Combined-Shape"></path>
<path d="M10,0 L10,4 C6.6862915,4 4,6.6862915 4,10 C4,12.0133587 4.99166921,13.7951006 6.51321137,14.8834295 L4.18685298,18.1377379 C1.65198576,16.3237368 0,13.3547894 0,10 C0,4.4771525 4.4771525,0 10,0 Z" fill="#FF9900" id="Combined-Shape"></path>
<path d="M10,0 C15.5228475,0 20,4.4771525 20,10 C20,15.5228475 15.5228475,20 10,20 C4.4771525,20 0,15.5228475 0,10 C0,4.4771525 4.4771525,0 10,0 Z M10,4 C6.6862915,4 4,6.6862915 4,10 C4,13.3137085 6.6862915,16 10,16 C13.3137085,16 16,13.3137085 16,10 C16,6.6862915 13.3137085,4 10,4 Z" fill="#E1E1E1" id="Combined-Shape-1"></path>
<path d="M10,0 L10,4 C6.6862915,4 4,6.6862915 4,10 C4,12.0133587 4.99166921,13.7951006 6.51321137,14.8834295 L4.18685298,18.1377379 C1.65198576,16.3237368 0,13.3547894 0,10 C0,4.4771525 4.4771525,0 10,0 Z" fill="#FF9900" id="Combined-Shape-2"></path>
</g>
</g>
</g>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,12 @@ export const icons = {
<g id="AmpBasicSmall" transform="translate(392.000000, 448.000000)">
<path
d="M10,0 C15.5228475,0 20,4.4771525 20,10 C20,15.5228475 15.5228475,20 10,20 C4.4771525,20 0,15.5228475 0,10 C0,4.4771525 4.4771525,0 10,0 Z M10,4 C6.6862915,4 4,6.6862915 4,10 C4,13.3137085 6.6862915,16 10,16 C13.3137085,16 16,13.3137085 16,10 C16,6.6862915 13.3137085,4 10,4 Z"
id="Combined-Shape"
id="Combined-Shape-1"
fill="#E1E1E1"
></path>
<path
d="M10,0 L10,4 C6.6862915,4 4,6.6862915 4,10 C4,12.0133587 4.99166921,13.7951006 6.51321137,14.8834295 L4.18685298,18.1377379 C1.65198576,16.3237368 0,13.3547894 0,10 C0,4.4771525 4.4771525,0 10,0 Z"
id="Combined-Shape"
id="Combined-Shape-2"
fill="#FF9900"
></path>
</g>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ export class AmplifyRequireNewPassword {
try {
const { requiredAttributes } = this.user.challengeParam;
const user = await Auth.completeNewPassword(this.user, this.password, requiredAttributes);
user.challengeParameter;

logger.debug('complete new password', user);
switch (user.challengeName) {
Expand Down
1 change: 0 additions & 1 deletion packages/auth/src/Auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ import {
ICredentials,
Parser,
JS,
Platform,
} from '@aws-amplify/core';
import {
CookieStorage,
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/Platform/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// generated by genversion
export const version = '3.1.1';
export const version = '3.1.2';

0 comments on commit 8a6efa7

Please sign in to comment.