@aws-amplify/ui 6.0.12 → 6.0.13

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.
@@ -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 `useAutenticator`)
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
@@ -1,6 +1,6 @@
1
1
  const liveness = {
2
2
  cameraModule: {
3
- backgroundColor: { value: '{colors.black}' },
3
+ backgroundColor: { value: '{colors.background.primary.value}' },
4
4
  },
5
5
  };
6
6
 
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 `useAutenticator`)
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.black}' },
6628
+ backgroundColor: { value: '{colors.background.primary.value}' },
6629
6629
  },
6630
6630
  };
6631
6631
 
@@ -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-black);
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-black);
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-black);
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-black);
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-black);
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/ui",
3
- "version": "6.0.12",
3
+ "version": "6.0.13",
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.2",
53
+ "aws-amplify": "^6.0.26",
54
54
  "xstate": "^4.33.6"
55
55
  },
56
56
  "peerDependenciesMeta": {