@aws-amplify/ui 5.4.2 → 5.5.1
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/helpers/authenticator/utils.js +1 -1
- package/dist/esm/helpers/storage/fileUploader/utils/uploader.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/theme/tokens/components/fileUploader.js +1 -1
- package/dist/esm/types/primitives/componentClassName.js +1 -1
- package/dist/index.js +1 -1
- package/dist/styles.css +8 -2
- package/dist/theme.css +1 -1
- 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/helpers/authenticator/utils.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/types/primitives/componentClassName.d.ts +1 -0
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -432,7 +432,7 @@
|
|
|
432
432
|
--amplify-components-fileuploader-file-padding-block: var(--amplify-space-xs);
|
|
433
433
|
--amplify-components-fileuploader-file-padding-inline: var(--amplify-space-small);
|
|
434
434
|
--amplify-components-fileuploader-file-gap: var(--amplify-space-small);
|
|
435
|
-
--amplify-components-fileuploader-file-align-items:
|
|
435
|
+
--amplify-components-fileuploader-file-align-items: baseline;
|
|
436
436
|
--amplify-components-fileuploader-file-name-font-size: var(--amplify-font-sizes-medium);
|
|
437
437
|
--amplify-components-fileuploader-file-name-font-weight: var(--amplify-font-weights-bold);
|
|
438
438
|
--amplify-components-fileuploader-file-name-color: var(--amplify-colors-font-primary);
|
|
@@ -2739,10 +2739,16 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
2739
2739
|
border-color: var(--amplify-components-fileuploader-file-border-color);
|
|
2740
2740
|
border-radius: var(--amplify-components-fileuploader-file-border-radius);
|
|
2741
2741
|
display: flex;
|
|
2742
|
-
flex-direction:
|
|
2742
|
+
flex-direction: column;
|
|
2743
2743
|
padding-inline: var(--amplify-components-fileuploader-file-padding-inline);
|
|
2744
2744
|
padding-block: var(--amplify-components-fileuploader-file-padding-block);
|
|
2745
2745
|
align-items: var(--amplify-components-fileuploader-file-align-items);
|
|
2746
|
+
}
|
|
2747
|
+
.amplify-fileuploader__file__wrapper {
|
|
2748
|
+
width: 100%;
|
|
2749
|
+
display: flex;
|
|
2750
|
+
flex-direction: row;
|
|
2751
|
+
align-items: center;
|
|
2746
2752
|
gap: var(--amplify-components-fileuploader-file-gap);
|
|
2747
2753
|
}
|
|
2748
2754
|
.amplify-fileuploader__file__name {
|
package/dist/theme.css
CHANGED
|
@@ -429,7 +429,7 @@
|
|
|
429
429
|
--amplify-components-fileuploader-file-padding-block: var(--amplify-space-xs);
|
|
430
430
|
--amplify-components-fileuploader-file-padding-inline: var(--amplify-space-small);
|
|
431
431
|
--amplify-components-fileuploader-file-gap: var(--amplify-space-small);
|
|
432
|
-
--amplify-components-fileuploader-file-align-items:
|
|
432
|
+
--amplify-components-fileuploader-file-align-items: baseline;
|
|
433
433
|
--amplify-components-fileuploader-file-name-font-size: var(--amplify-font-sizes-medium);
|
|
434
434
|
--amplify-components-fileuploader-file-name-font-weight: var(--amplify-font-weights-bold);
|
|
435
435
|
--amplify-components-fileuploader-file-name-color: var(--amplify-colors-font-primary);
|
|
@@ -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;
|
|
@@ -26,4 +26,5 @@ export declare const defaultAuthHubHandler: AuthMachineHubHandler;
|
|
|
26
26
|
export declare const listenToAuthHub: (service: AuthInterpreter, handler?: AuthMachineHubHandler) => () => void;
|
|
27
27
|
export declare const hasSpecialChars: (password: string) => boolean;
|
|
28
28
|
export declare const getTotpCodeURL: (issuer: string, username: string, secret: string) => string;
|
|
29
|
+
export declare function trimValues<T extends Record<string, string>>(values: T, ...ignored: string[]): T;
|
|
29
30
|
export {};
|
|
@@ -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;
|
|
@@ -58,6 +58,7 @@ export declare enum ComponentClassName {
|
|
|
58
58
|
FileUploaderDropZoneText = "amplify-fileuploader__dropzone__text",
|
|
59
59
|
FileUploaderDropZoneButton = "amplify-fileuploader__dropzone__button",
|
|
60
60
|
FileUploaderFile = "amplify-fileuploader__file",
|
|
61
|
+
FileUploaderFileWrapper = "amplify-fileuploader__file__wrapper",
|
|
61
62
|
FileUploaderFileName = "amplify-fileuploader__file__name",
|
|
62
63
|
FileUploaderFileSize = "amplify-fileuploader__file__size",
|
|
63
64
|
FileUploaderFileInfo = "amplify-fileuploader__file__info",
|