@aws-amplify/ui-react 6.1.5 → 6.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/components/Authenticator/shared/FormField.mjs +2 -2
- package/dist/esm/version.mjs +1 -1
- package/dist/index.js +3 -3
- package/dist/styles/liveness.css +1 -1
- package/dist/styles/liveness.layer.css +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.layer.css +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +3 -3
|
@@ -22,12 +22,12 @@ function FormField({ autocomplete: autoComplete, dialCode, name, type, ...props
|
|
|
22
22
|
}
|
|
23
23
|
else if (type === 'password') {
|
|
24
24
|
return (React.createElement(React.Fragment, null,
|
|
25
|
-
React.createElement(PasswordField, { ...props, name: name, autoComplete: autoComplete, hasError: hasError, "aria-describedby": ariaDescribedBy }),
|
|
25
|
+
React.createElement(PasswordField, { ...props, name: name, autoCapitalize: "off", autoComplete: autoComplete, hasError: hasError, "aria-describedby": ariaDescribedBy }),
|
|
26
26
|
React.createElement(ValidationErrors, { dataAttr: "data-amplify-sign-up-errors", errors: errors, id: errorId })));
|
|
27
27
|
}
|
|
28
28
|
else {
|
|
29
29
|
return (React.createElement(React.Fragment, null,
|
|
30
|
-
React.createElement(TextField, { ...props, name: name, autoComplete: autoComplete, hasError: hasError, type: type, "aria-describedby": ariaDescribedBy }),
|
|
30
|
+
React.createElement(TextField, { ...props, name: name, autoCapitalize: "off", autoComplete: autoComplete, hasError: hasError, type: type, "aria-describedby": ariaDescribedBy }),
|
|
31
31
|
React.createElement(ValidationErrors, { dataAttr: "data-amplify-sign-up-errors", errors: errors, id: errorId })));
|
|
32
32
|
}
|
|
33
33
|
}
|
package/dist/esm/version.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -2383,7 +2383,7 @@ const defaultDeleteUserDisplayText = {
|
|
|
2383
2383
|
warningText: 'Deleting your account is not reversible. You will lose access to your account and all data associated with it.',
|
|
2384
2384
|
};
|
|
2385
2385
|
|
|
2386
|
-
const VERSION = '6.1.
|
|
2386
|
+
const VERSION = '6.1.6';
|
|
2387
2387
|
|
|
2388
2388
|
const logger$2 = ui.getLogger('AccountSettings');
|
|
2389
2389
|
const getIsDisabled = (formValues, validationError) => {
|
|
@@ -2715,12 +2715,12 @@ function FormField({ autocomplete: autoComplete, dialCode, name, type, ...props
|
|
|
2715
2715
|
}
|
|
2716
2716
|
else if (type === 'password') {
|
|
2717
2717
|
return (React__namespace.createElement(React__namespace.Fragment, null,
|
|
2718
|
-
React__namespace.createElement(PasswordField, { ...props, name: name, autoComplete: autoComplete, hasError: hasError, "aria-describedby": ariaDescribedBy }),
|
|
2718
|
+
React__namespace.createElement(PasswordField, { ...props, name: name, autoCapitalize: "off", autoComplete: autoComplete, hasError: hasError, "aria-describedby": ariaDescribedBy }),
|
|
2719
2719
|
React__namespace.createElement(ValidationErrors, { dataAttr: "data-amplify-sign-up-errors", errors: errors, id: errorId })));
|
|
2720
2720
|
}
|
|
2721
2721
|
else {
|
|
2722
2722
|
return (React__namespace.createElement(React__namespace.Fragment, null,
|
|
2723
|
-
React__namespace.createElement(TextField, { ...props, name: name, autoComplete: autoComplete, hasError: hasError, type: type, "aria-describedby": ariaDescribedBy }),
|
|
2723
|
+
React__namespace.createElement(TextField, { ...props, name: name, autoCapitalize: "off", autoComplete: autoComplete, hasError: hasError, type: type, "aria-describedby": ariaDescribedBy }),
|
|
2724
2724
|
React__namespace.createElement(ValidationErrors, { dataAttr: "data-amplify-sign-up-errors", errors: errors, id: errorId })));
|
|
2725
2725
|
}
|
|
2726
2726
|
}
|
package/dist/styles/liveness.css
CHANGED
package/dist/styles.css
CHANGED
|
@@ -4205,7 +4205,7 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
4205
4205
|
|
|
4206
4206
|
.amplify-liveness-landscape-error-modal {
|
|
4207
4207
|
background-color: var(--amplify-colors-background-primary);
|
|
4208
|
-
direction: column;
|
|
4208
|
+
flex-direction: column;
|
|
4209
4209
|
text-align: center;
|
|
4210
4210
|
align-items: center;
|
|
4211
4211
|
justify-content: center;
|
package/dist/styles.layer.css
CHANGED
|
@@ -4206,7 +4206,7 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
4206
4206
|
|
|
4207
4207
|
.amplify-liveness-landscape-error-modal {
|
|
4208
4208
|
background-color: var(--amplify-colors-background-primary);
|
|
4209
|
-
direction: column;
|
|
4209
|
+
flex-direction: column;
|
|
4210
4210
|
text-align: center;
|
|
4211
4211
|
align-items: center;
|
|
4212
4212
|
justify-content: center;
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "6.1.
|
|
1
|
+
export declare const VERSION = "6.1.6";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/ui-react",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.6",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/esm/index.mjs",
|
|
6
6
|
"exports": {
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"typecheck": "tsc --noEmit"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@aws-amplify/ui": "6.0.
|
|
53
|
-
"@aws-amplify/ui-react-core": "3.0.
|
|
52
|
+
"@aws-amplify/ui": "6.0.12",
|
|
53
|
+
"@aws-amplify/ui-react-core": "3.0.12",
|
|
54
54
|
"@radix-ui/react-direction": "1.0.0",
|
|
55
55
|
"@radix-ui/react-dropdown-menu": "1.0.0",
|
|
56
56
|
"@radix-ui/react-slider": "1.0.0",
|