@aws-amplify/ui-react 2.15.5 → 2.15.8
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/ConfirmSignIn/ConfirmSignIn.js +1 -1
- package/dist/esm/components/Authenticator/ConfirmSignUp/ConfirmSignUp.js +1 -1
- package/dist/esm/components/Authenticator/ForceNewPassword/ForceNewPassword.js +1 -1
- package/dist/esm/components/Authenticator/ResetPassword/ConfirmResetPassword.js +1 -1
- package/dist/esm/components/Authenticator/ResetPassword/ResetPassword.js +1 -1
- package/dist/esm/components/Authenticator/SetupTOTP/SetupTOTP.js +1 -1
- package/dist/esm/components/Authenticator/SignIn/SignIn.js +1 -1
- package/dist/esm/components/Authenticator/SignUp/SignUp.js +1 -1
- package/dist/esm/components/Authenticator/VerifyUser/ConfirmVerifyUser.js +1 -1
- package/dist/esm/components/Authenticator/VerifyUser/VerifyUser.js +1 -1
- package/dist/esm/components/Authenticator/hooks/useAuthenticator/index.js +1 -1
- package/dist/esm/components/Geo/MapView/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/styles.css +26 -2
- package/dist/types/components/Authenticator/SetupTOTP/SetupTOTP.d.ts +1 -0
- package/dist/types/components/Authenticator/hooks/useAuthenticator/index.d.ts +2 -5
- package/package.json +3 -3
package/dist/styles.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Do not edit directly
|
|
7
|
-
* Generated on
|
|
7
|
+
* Generated on Fri, 29 Apr 2022 20:57:02 GMT
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
:root, [data-amplify-theme] {
|
|
@@ -1623,9 +1623,12 @@ h6.amplify-heading {
|
|
|
1623
1623
|
|
|
1624
1624
|
/* Center by default */
|
|
1625
1625
|
|
|
1626
|
+
[data-amplify-authenticator] {
|
|
1627
|
+
display: grid;
|
|
1628
|
+
}
|
|
1629
|
+
|
|
1626
1630
|
[data-amplify-authenticator][data-variation=modal] {
|
|
1627
1631
|
overflow-y: auto;
|
|
1628
|
-
display: grid;
|
|
1629
1632
|
width: var(--amplify-components-authenticator-modal-width);
|
|
1630
1633
|
height: var(--amplify-components-authenticator-modal-height);
|
|
1631
1634
|
background-color: var(--amplify-components-authenticator-modal-background-color);
|
|
@@ -1673,6 +1676,23 @@ h6.amplify-heading {
|
|
|
1673
1676
|
}
|
|
1674
1677
|
}
|
|
1675
1678
|
|
|
1679
|
+
.amplify-authenticator__column {
|
|
1680
|
+
display: flex;
|
|
1681
|
+
flex-direction: column;
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1684
|
+
.amplify-authenticator__subtitle {
|
|
1685
|
+
margin-bottom: var(--amplify-space-medium);
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
.amplify-authenticator__heading {
|
|
1689
|
+
font-size: var(--amplify-font-sizes-xl);
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1692
|
+
.amplify-authenticator__federated-text {
|
|
1693
|
+
align-self: center;
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1676
1696
|
.amplify-card {
|
|
1677
1697
|
background-color: var(--amplify-components-card-background-color);
|
|
1678
1698
|
border-radius: var(--amplify-components-card-border-radius);
|
|
@@ -2565,6 +2585,10 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
2565
2585
|
}
|
|
2566
2586
|
}
|
|
2567
2587
|
|
|
2588
|
+
.amplify-select option {
|
|
2589
|
+
color: initial;
|
|
2590
|
+
}
|
|
2591
|
+
|
|
2568
2592
|
.amplify-select[data-size=small] {
|
|
2569
2593
|
min-width: var(--amplify-components-select-small-min-width);
|
|
2570
2594
|
}
|
|
@@ -36,12 +36,9 @@ export declare type InternalAuthenticatorContext = {
|
|
|
36
36
|
export declare type Selector = (context: AuthenticatorContext) => Array<any>;
|
|
37
37
|
export declare const useAuthenticator: (selector?: Selector) => {
|
|
38
38
|
/** @deprecated For internal use only */
|
|
39
|
-
_state:
|
|
39
|
+
_state: import("xstate").State<import("@aws-amplify/ui").AuthContext, import("@aws-amplify/ui").AuthEvent, any, any, any>;
|
|
40
40
|
/** @deprecated For internal use only */
|
|
41
|
-
_send: (event: import("xstate").SCXML.Event<import("@aws-amplify/ui").AuthEvent> | import("xstate").SingleOrArray<import("xstate").Event<import("@aws-amplify/ui").AuthEvent>>, payload?: import("xstate").EventData) => import("xstate").State<import("@aws-amplify/ui").AuthContext, import("@aws-amplify/ui").AuthEvent, any,
|
|
42
|
-
value: any;
|
|
43
|
-
context: import("@aws-amplify/ui").AuthContext;
|
|
44
|
-
}, import("xstate").TypegenDisabled>;
|
|
41
|
+
_send: (event: import("xstate").SCXML.Event<import("@aws-amplify/ui").AuthEvent> | import("xstate").SingleOrArray<import("xstate").Event<import("@aws-amplify/ui").AuthEvent>>, payload?: import("xstate").EventData) => import("xstate").State<import("@aws-amplify/ui").AuthContext, import("@aws-amplify/ui").AuthEvent, any, any, any>;
|
|
45
42
|
error: string;
|
|
46
43
|
hasValidationErrors: boolean;
|
|
47
44
|
isPending: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/ui-react",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.8",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -57,13 +57,13 @@
|
|
|
57
57
|
"test:unit:watch": "jest --watch"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@aws-amplify/ui": "3.6.
|
|
60
|
+
"@aws-amplify/ui": "3.6.8",
|
|
61
61
|
"@aws-amplify/ui-react-v1": "npm:@aws-amplify/ui-react@1.2.9",
|
|
62
62
|
"@radix-ui/react-accordion": "0.1.6",
|
|
63
63
|
"@radix-ui/react-dropdown-menu": "0.1.6",
|
|
64
64
|
"@radix-ui/react-slider": "0.1.4",
|
|
65
65
|
"@radix-ui/react-tabs": "0.1.5",
|
|
66
|
-
"@xstate/react": "
|
|
66
|
+
"@xstate/react": "3.0.0",
|
|
67
67
|
"classnames": "2.3.1",
|
|
68
68
|
"deepmerge": "4.2.2",
|
|
69
69
|
"lodash": "4.17.21",
|