@aws-amplify/ui 6.0.12 → 6.0.14
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/helpers/authenticator/facade.mjs +1 -1
- package/dist/esm/theme/tokens/components/liveness.mjs +1 -1
- package/dist/index.js +2 -2
- package/dist/styles/base.css +1 -1
- package/dist/styles/base.layer.css +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.layer.css +1 -1
- package/dist/theme.css +1 -1
- package/dist/types/machines/authenticator/defaultServices.d.ts +4 -4
- package/package.json +2 -2
|
@@ -92,7 +92,7 @@ const getServiceContextFacade = (state) => {
|
|
|
92
92
|
// @v6-migration-note
|
|
93
93
|
// While most of the properties
|
|
94
94
|
// on `AuthenticatorServiceContextFacade` can resolve to `undefined`, updating
|
|
95
|
-
// the interface requires material changes in consumers (namely `
|
|
95
|
+
// the interface requires material changes in consumers (namely `useAuthenticator`)
|
|
96
96
|
// which will have implications on the UI layer as typeguards and non-null checks
|
|
97
97
|
// are required to pass type checking. As the `Authenticator` is behaving as expected
|
|
98
98
|
// with the `AuthenticatorServiceContextFacade` interface, prefer to cast
|
package/dist/index.js
CHANGED
|
@@ -2494,7 +2494,7 @@ const getServiceContextFacade = (state) => {
|
|
|
2494
2494
|
// @v6-migration-note
|
|
2495
2495
|
// While most of the properties
|
|
2496
2496
|
// on `AuthenticatorServiceContextFacade` can resolve to `undefined`, updating
|
|
2497
|
-
// the interface requires material changes in consumers (namely `
|
|
2497
|
+
// the interface requires material changes in consumers (namely `useAuthenticator`)
|
|
2498
2498
|
// which will have implications on the UI layer as typeguards and non-null checks
|
|
2499
2499
|
// are required to pass type checking. As the `Authenticator` is behaving as expected
|
|
2500
2500
|
// with the `AuthenticatorServiceContextFacade` interface, prefer to cast
|
|
@@ -6625,7 +6625,7 @@ const link = {
|
|
|
6625
6625
|
|
|
6626
6626
|
const liveness = {
|
|
6627
6627
|
cameraModule: {
|
|
6628
|
-
backgroundColor: { value: '{colors.
|
|
6628
|
+
backgroundColor: { value: '{colors.background.primary.value}' },
|
|
6629
6629
|
},
|
|
6630
6630
|
};
|
|
6631
6631
|
|
package/dist/styles/base.css
CHANGED
|
@@ -718,7 +718,7 @@
|
|
|
718
718
|
--amplify-components-link-focus-color: var(--amplify-colors-font-focus);
|
|
719
719
|
--amplify-components-link-hover-color: var(--amplify-colors-font-hover);
|
|
720
720
|
--amplify-components-link-visited-color: var(--amplify-colors-font-interactive);
|
|
721
|
-
--amplify-components-liveness-camera-module-background-color: var(--amplify-colors-
|
|
721
|
+
--amplify-components-liveness-camera-module-background-color: var(--amplify-colors-background-primary);
|
|
722
722
|
--amplify-components-loader-width: var(--amplify-font-sizes-medium);
|
|
723
723
|
--amplify-components-loader-height: var(--amplify-font-sizes-medium);
|
|
724
724
|
--amplify-components-loader-font-size: var(--amplify-font-sizes-xs);
|
|
@@ -719,7 +719,7 @@
|
|
|
719
719
|
--amplify-components-link-focus-color: var(--amplify-colors-font-focus);
|
|
720
720
|
--amplify-components-link-hover-color: var(--amplify-colors-font-hover);
|
|
721
721
|
--amplify-components-link-visited-color: var(--amplify-colors-font-interactive);
|
|
722
|
-
--amplify-components-liveness-camera-module-background-color: var(--amplify-colors-
|
|
722
|
+
--amplify-components-liveness-camera-module-background-color: var(--amplify-colors-background-primary);
|
|
723
723
|
--amplify-components-loader-width: var(--amplify-font-sizes-medium);
|
|
724
724
|
--amplify-components-loader-height: var(--amplify-font-sizes-medium);
|
|
725
725
|
--amplify-components-loader-font-size: var(--amplify-font-sizes-xs);
|
package/dist/styles.css
CHANGED
|
@@ -718,7 +718,7 @@
|
|
|
718
718
|
--amplify-components-link-focus-color: var(--amplify-colors-font-focus);
|
|
719
719
|
--amplify-components-link-hover-color: var(--amplify-colors-font-hover);
|
|
720
720
|
--amplify-components-link-visited-color: var(--amplify-colors-font-interactive);
|
|
721
|
-
--amplify-components-liveness-camera-module-background-color: var(--amplify-colors-
|
|
721
|
+
--amplify-components-liveness-camera-module-background-color: var(--amplify-colors-background-primary);
|
|
722
722
|
--amplify-components-loader-width: var(--amplify-font-sizes-medium);
|
|
723
723
|
--amplify-components-loader-height: var(--amplify-font-sizes-medium);
|
|
724
724
|
--amplify-components-loader-font-size: var(--amplify-font-sizes-xs);
|
package/dist/styles.layer.css
CHANGED
|
@@ -719,7 +719,7 @@
|
|
|
719
719
|
--amplify-components-link-focus-color: var(--amplify-colors-font-focus);
|
|
720
720
|
--amplify-components-link-hover-color: var(--amplify-colors-font-hover);
|
|
721
721
|
--amplify-components-link-visited-color: var(--amplify-colors-font-interactive);
|
|
722
|
-
--amplify-components-liveness-camera-module-background-color: var(--amplify-colors-
|
|
722
|
+
--amplify-components-liveness-camera-module-background-color: var(--amplify-colors-background-primary);
|
|
723
723
|
--amplify-components-loader-width: var(--amplify-font-sizes-medium);
|
|
724
724
|
--amplify-components-loader-height: var(--amplify-font-sizes-medium);
|
|
725
725
|
--amplify-components-loader-font-size: var(--amplify-font-sizes-xs);
|
package/dist/theme.css
CHANGED
|
@@ -715,7 +715,7 @@
|
|
|
715
715
|
--amplify-components-link-focus-color: var(--amplify-colors-font-focus);
|
|
716
716
|
--amplify-components-link-hover-color: var(--amplify-colors-font-hover);
|
|
717
717
|
--amplify-components-link-visited-color: var(--amplify-colors-font-interactive);
|
|
718
|
-
--amplify-components-liveness-camera-module-background-color: var(--amplify-colors-
|
|
718
|
+
--amplify-components-liveness-camera-module-background-color: var(--amplify-colors-background-primary);
|
|
719
719
|
--amplify-components-loader-width: var(--amplify-font-sizes-medium);
|
|
720
720
|
--amplify-components-loader-height: var(--amplify-font-sizes-medium);
|
|
721
721
|
--amplify-components-loader-font-size: var(--amplify-font-sizes-xs);
|
|
@@ -34,7 +34,7 @@ export declare const defaultServices: {
|
|
|
34
34
|
required: boolean;
|
|
35
35
|
}>>;
|
|
36
36
|
mfa?: {
|
|
37
|
-
status?: "
|
|
37
|
+
status?: import("@aws-amplify/core/dist/esm/singleton/Auth/types").CognitoUserPoolConfigMfaStatus;
|
|
38
38
|
totpEnabled?: boolean;
|
|
39
39
|
smsEnabled?: boolean;
|
|
40
40
|
};
|
|
@@ -107,7 +107,7 @@ export declare const defaultServices: {
|
|
|
107
107
|
required: boolean;
|
|
108
108
|
}>>;
|
|
109
109
|
mfa?: {
|
|
110
|
-
status?: "
|
|
110
|
+
status?: import("@aws-amplify/core/dist/esm/singleton/Auth/types").CognitoUserPoolConfigMfaStatus;
|
|
111
111
|
totpEnabled?: boolean;
|
|
112
112
|
smsEnabled?: boolean;
|
|
113
113
|
};
|
|
@@ -152,7 +152,7 @@ export declare const defaultServices: {
|
|
|
152
152
|
required: boolean;
|
|
153
153
|
}>>;
|
|
154
154
|
mfa?: {
|
|
155
|
-
status?: "
|
|
155
|
+
status?: import("@aws-amplify/core/dist/esm/singleton/Auth/types").CognitoUserPoolConfigMfaStatus;
|
|
156
156
|
totpEnabled?: boolean;
|
|
157
157
|
smsEnabled?: boolean;
|
|
158
158
|
};
|
|
@@ -183,7 +183,7 @@ export declare const defaultServices: {
|
|
|
183
183
|
required: boolean;
|
|
184
184
|
}>>;
|
|
185
185
|
mfa?: {
|
|
186
|
-
status?: "
|
|
186
|
+
status?: import("@aws-amplify/core/dist/esm/singleton/Auth/types").CognitoUserPoolConfigMfaStatus;
|
|
187
187
|
totpEnabled?: boolean;
|
|
188
188
|
smsEnabled?: boolean;
|
|
189
189
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/ui",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.14",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/esm/index.mjs",
|
|
6
6
|
"exports": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"tslib": "^2.5.2"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"aws-amplify": "^6.0
|
|
53
|
+
"aws-amplify": "^6.2.0",
|
|
54
54
|
"xstate": "^4.33.6"
|
|
55
55
|
},
|
|
56
56
|
"peerDependenciesMeta": {
|