@aws-amplify/ui 5.4.1 → 5.5.0
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/formFields/formFields.js +1 -1
- package/dist/esm/i18n/dictionaries/authenticator/ua.js +1 -0
- package/dist/esm/i18n/dictionaries/index.js +1 -1
- package/dist/esm/i18n/translations.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/machines/authenticator/actions.js +1 -1
- package/dist/esm/machines/authenticator/actors/resetPassword.js +1 -1
- package/dist/index.js +1 -1
- package/dist/styles.css +1 -0
- package/dist/types/helpers/authenticator/formFields/__tests__/formFields.spec.d.ts +1 -0
- package/dist/types/helpers/authenticator/formFields/formFields.d.ts +1 -0
- package/dist/types/i18n/dictionaries/authenticator/index.d.ts +1 -0
- package/dist/types/i18n/dictionaries/authenticator/ua.d.ts +2 -0
- package/dist/types/i18n/dictionaries/index.d.ts +52 -0
- package/dist/types/machines/authenticator/actions.d.ts +1 -0
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -1832,6 +1832,7 @@ strong.amplify-text {
|
|
|
1832
1832
|
object-fit: var(--amplify-components-image-object-fit);
|
|
1833
1833
|
-o-object-position: var(--amplify-components-image-object-position);
|
|
1834
1834
|
object-position: var(--amplify-components-image-object-position);
|
|
1835
|
+
overflow: clip;
|
|
1835
1836
|
}
|
|
1836
1837
|
|
|
1837
1838
|
.amplify-link {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -7,5 +7,6 @@ import { AuthMachineState, FormFields, FormFieldComponents, FormFieldsArray } fr
|
|
|
7
7
|
export declare const getDefaultFormFields: (route: FormFieldComponents, state: AuthMachineState) => FormFields;
|
|
8
8
|
/** Gets default formFields, then merges custom formFields into it */
|
|
9
9
|
export declare const getFormFields: (route: FormFieldComponents, state: AuthMachineState) => FormFields;
|
|
10
|
+
export declare const removeOrderKeys: (formFields: FormFieldsArray) => FormFieldsArray;
|
|
10
11
|
/** Calls `getFormFields` above, then sorts it into an indexed array */
|
|
11
12
|
export declare const getSortedFormFields: (route: FormFieldComponents, state: AuthMachineState) => FormFieldsArray;
|
|
@@ -830,6 +830,58 @@ export declare const heDict: {
|
|
|
830
830
|
"Verify Contact": string;
|
|
831
831
|
Verify: string;
|
|
832
832
|
};
|
|
833
|
+
export declare const uaDict: {
|
|
834
|
+
[x: string]: string;
|
|
835
|
+
Email: string;
|
|
836
|
+
"Phone Number": string;
|
|
837
|
+
"Account recovery requires verified contact information": string;
|
|
838
|
+
"Back to Sign In": string;
|
|
839
|
+
"Change Password": string;
|
|
840
|
+
Changing: string;
|
|
841
|
+
Code: string;
|
|
842
|
+
"Confirm Password": string;
|
|
843
|
+
"Confirm Sign Up": string;
|
|
844
|
+
"Confirm SMS Code": string;
|
|
845
|
+
"Confirm TOTP Code": string;
|
|
846
|
+
Confirm: string;
|
|
847
|
+
"Confirmation Code": string;
|
|
848
|
+
Confirming: string;
|
|
849
|
+
"Create a new account": string;
|
|
850
|
+
"Create Account": string;
|
|
851
|
+
"Creating Account": string;
|
|
852
|
+
"Dismiss alert": string;
|
|
853
|
+
"Enter your code": string;
|
|
854
|
+
"Enter your email": string;
|
|
855
|
+
"Enter your phone number": string;
|
|
856
|
+
"Enter your username": string;
|
|
857
|
+
"Forgot your password?": string;
|
|
858
|
+
"Hide password": string;
|
|
859
|
+
Loading: string;
|
|
860
|
+
"New password": string;
|
|
861
|
+
Password: string;
|
|
862
|
+
"Resend Code": string;
|
|
863
|
+
"Reset your password": string;
|
|
864
|
+
"Reset your Password": string;
|
|
865
|
+
"Send code": string;
|
|
866
|
+
"Send Code": string;
|
|
867
|
+
Sending: string;
|
|
868
|
+
"Setup TOTP": string;
|
|
869
|
+
"Show password": string;
|
|
870
|
+
"Sign in to your account": string;
|
|
871
|
+
"Sign In with Amazon": string;
|
|
872
|
+
"Sign In with Apple": string;
|
|
873
|
+
"Sign In with Facebook": string;
|
|
874
|
+
"Sign In with Google": string;
|
|
875
|
+
"Sign in": string;
|
|
876
|
+
"Sign In": string;
|
|
877
|
+
"Signing in": string;
|
|
878
|
+
Skip: string;
|
|
879
|
+
Submit: string;
|
|
880
|
+
Submitting: string;
|
|
881
|
+
Username: string;
|
|
882
|
+
"Verify Contact": string;
|
|
883
|
+
Verify: string;
|
|
884
|
+
};
|
|
833
885
|
export declare const defaultTexts: {
|
|
834
886
|
BACK_SIGN_IN: string;
|
|
835
887
|
BIRTHDATE: string;
|
|
@@ -51,6 +51,7 @@ export declare const setUsernameAuthAttributes: import("xstate").AssignAction<Ac
|
|
|
51
51
|
export declare const handleInput: import("xstate").AssignAction<unknown, AuthEvent>;
|
|
52
52
|
export declare const handleSubmit: import("xstate").AssignAction<unknown, AuthEvent>;
|
|
53
53
|
export declare const handleBlur: import("xstate").AssignAction<unknown, AuthEvent>;
|
|
54
|
+
export declare const resendCode: (context: any) => Promise<any>;
|
|
54
55
|
/**
|
|
55
56
|
* This action occurs on the entry to a state where a form submit action
|
|
56
57
|
* occurs. It combines the phone_number and country_code form values, parses
|