@aws-amplify/ui 5.3.0 → 5.4.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.
@@ -3,6 +3,11 @@
3
3
  * implementations can use.
4
4
  */
5
5
  import { AuthInterpreter, AuthMachineHubHandler } from '../../types';
6
+ declare type ConfigureOptions = {
7
+ packageName: string;
8
+ version: string;
9
+ };
10
+ export declare const configureComponent: ({ packageName, version, }: ConfigureOptions) => void;
6
11
  export declare const censorAllButFirstAndLast: (value: string) => string;
7
12
  export declare const censorPhoneNumber: (val: string) => string;
8
13
  /**
@@ -21,3 +26,4 @@ export declare const defaultAuthHubHandler: AuthMachineHubHandler;
21
26
  export declare const listenToAuthHub: (service: AuthInterpreter, handler?: AuthMachineHubHandler) => () => void;
22
27
  export declare const hasSpecialChars: (password: string) => boolean;
23
28
  export declare const getTotpCodeURL: (issuer: string, username: string, secret: string) => string;
29
+ export {};
@@ -0,0 +1,2 @@
1
+ import { AuthenticatorDictionary } from './types';
2
+ export declare const heDict: AuthenticatorDictionary;
@@ -13,4 +13,5 @@ export { svDict } from './sv';
13
13
  export { idDict } from './id';
14
14
  export { trDict } from './tr';
15
15
  export { ruDict } from './ru';
16
+ export { heDict } from './he';
16
17
  export { defaultTexts } from './defaultTexts';
@@ -778,6 +778,58 @@ export declare const ruDict: {
778
778
  "Verify Contact": string;
779
779
  Verify: string;
780
780
  };
781
+ export declare const heDict: {
782
+ [x: string]: string;
783
+ Email: string;
784
+ "Phone Number": string;
785
+ "Account recovery requires verified contact information": string;
786
+ "Back to Sign In": string;
787
+ "Change Password": string;
788
+ Changing: string;
789
+ Code: string;
790
+ "Confirm Password": string;
791
+ "Confirm Sign Up": string;
792
+ "Confirm SMS Code": string;
793
+ "Confirm TOTP Code": string;
794
+ Confirm: string;
795
+ "Confirmation Code": string;
796
+ Confirming: string;
797
+ "Create a new account": string;
798
+ "Create Account": string;
799
+ "Creating Account": string;
800
+ "Dismiss alert": string;
801
+ "Enter your code": string;
802
+ "Enter your email": string;
803
+ "Enter your phone number": string;
804
+ "Enter your username": string;
805
+ "Forgot your password?": string;
806
+ "Hide password": string;
807
+ Loading: string;
808
+ "New password": string;
809
+ Password: string;
810
+ "Resend Code": string;
811
+ "Reset your password": string;
812
+ "Reset your Password": string;
813
+ "Send code": string;
814
+ "Send Code": string;
815
+ Sending: string;
816
+ "Setup TOTP": string;
817
+ "Show password": string;
818
+ "Sign in to your account": string;
819
+ "Sign In with Amazon": string;
820
+ "Sign In with Apple": string;
821
+ "Sign In with Facebook": string;
822
+ "Sign In with Google": string;
823
+ "Sign in": string;
824
+ "Sign In": string;
825
+ "Signing in": string;
826
+ Skip: string;
827
+ Submit: string;
828
+ Submitting: string;
829
+ Username: string;
830
+ "Verify Contact": string;
831
+ Verify: string;
832
+ };
781
833
  export declare const defaultTexts: {
782
834
  BACK_SIGN_IN: string;
783
835
  BIRTHDATE: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/ui",
3
- "version": "5.3.0",
3
+ "version": "5.4.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "exports": {
@@ -45,8 +45,8 @@
45
45
  "dependencies": {
46
46
  "csstype": "^3.1.1",
47
47
  "lodash": "4.17.21",
48
- "style-dictionary": "3.7.0",
49
- "tslib": "2.4.0"
48
+ "style-dictionary": "3.7.1",
49
+ "tslib": "2.4.1"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "aws-amplify": ">= 5.0.1",