@aws-amplify/ui-react-native 2.4.3 → 2.4.5
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/Authenticator/Defaults/index.d.ts +1 -1
- package/dist/Authenticator/Defaults/types.d.ts +20 -0
- package/dist/Authenticator/common/DefaultContainer/index.d.ts +1 -1
- package/dist/Authenticator/index.d.ts +2 -0
- package/dist/index.d.ts +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/lib/version.js +1 -1
- package/package.json +7 -7
- package/src/Authenticator/Defaults/index.ts +14 -1
- package/src/Authenticator/Defaults/types.ts +12 -0
- package/src/Authenticator/common/DefaultContainer/index.ts +1 -1
- package/src/Authenticator/index.ts +13 -0
- package/src/index.ts +10 -0
- package/src/version.ts +1 -1
|
@@ -8,4 +8,4 @@ export { SetupTotp } from './SetupTotp';
|
|
|
8
8
|
export { SignIn } from './SignIn';
|
|
9
9
|
export { SignUp } from './SignUp';
|
|
10
10
|
export { VerifyUser } from './VerifyUser';
|
|
11
|
-
export { Components, DefaultComponents } from './types';
|
|
11
|
+
export { Components, DefaultComponents, ConfirmResetPasswordProps, ConfirmSignInProps, ConfirmSignUpProps, ConfirmVerifyUserProps, ForceNewPasswordProps, ForgotPasswordProps, SetupTotpProps, SignInProps, SignUpProps, VerifyUserProps, } from './types';
|
|
@@ -100,4 +100,24 @@ export interface Components {
|
|
|
100
100
|
SignUp?: SignUpComponent;
|
|
101
101
|
VerifyUser?: VerifyUserComponent;
|
|
102
102
|
}
|
|
103
|
+
export interface ConfirmResetPasswordProps extends DefaultConfirmResetPasswordProps {
|
|
104
|
+
}
|
|
105
|
+
export interface ConfirmSignInProps extends DefaultConfirmSignInProps {
|
|
106
|
+
}
|
|
107
|
+
export interface ConfirmSignUpProps extends DefaultConfirmSignUpProps {
|
|
108
|
+
}
|
|
109
|
+
export interface ConfirmVerifyUserProps extends DefaultConfirmVerifyUserProps {
|
|
110
|
+
}
|
|
111
|
+
export interface ForceNewPasswordProps extends DefaultForceNewPasswordProps {
|
|
112
|
+
}
|
|
113
|
+
export interface ForgotPasswordProps extends DefaultForgotPasswordProps {
|
|
114
|
+
}
|
|
115
|
+
export interface SetupTotpProps extends DefaultSetupTotpProps {
|
|
116
|
+
}
|
|
117
|
+
export interface SignInProps extends DefaultSignInProps {
|
|
118
|
+
}
|
|
119
|
+
export interface SignUpProps extends DefaultSignUpProps {
|
|
120
|
+
}
|
|
121
|
+
export interface VerifyUserProps extends DefaultVerifyUserProps {
|
|
122
|
+
}
|
|
103
123
|
export {};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export { default as Authenticator } from './Authenticator';
|
|
2
|
+
export { ContainerProps } from './common';
|
|
3
|
+
export { ConfirmResetPasswordProps, ConfirmSignInProps, ConfirmSignUpProps, ConfirmVerifyUserProps, ForceNewPasswordProps, ForgotPasswordProps, SetupTotpProps, SignInProps, SignUpProps, VerifyUserProps, } from './Defaults';
|
|
2
4
|
export { AuthenticatorProps, WithAuthenticatorOptions } from './types';
|
|
3
5
|
export { useAuthenticator, UseAuthenticator } from './useAuthenticator';
|
|
4
6
|
export { default as withAuthenticator } from './withAuthenticator';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Authenticator, AuthenticatorProps, useAuthenticator, UseAuthenticator, withAuthenticator, WithAuthenticatorOptions, } from './Authenticator';
|
|
1
|
+
export { Authenticator, AuthenticatorProps, useAuthenticator, UseAuthenticator, withAuthenticator, WithAuthenticatorOptions, ConfirmResetPasswordProps, ConfirmSignInProps, ConfirmSignUpProps, ConfirmVerifyUserProps, ForceNewPasswordProps, ForgotPasswordProps, SetupTotpProps, SignInProps, SignUpProps, VerifyUserProps, } from './Authenticator';
|
|
2
2
|
export * from './InAppMessaging';
|
|
3
3
|
export { Theme, ThemeProvider, defaultDarkModeOverride, defaultTheme, useTheme, } from './theme';
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.4.
|
|
1
|
+
export declare const VERSION = "2.4.5";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '2.4.
|
|
1
|
+
export const VERSION = '2.4.5';
|
package/lib/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/ui-react-native",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.5",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"react-native": "src/index.ts",
|
|
@@ -27,18 +27,18 @@
|
|
|
27
27
|
"@react-native-async-storage/async-storage": "*",
|
|
28
28
|
"@testing-library/react-native": "^12.9.0",
|
|
29
29
|
"metro-react-native-babel-preset": "^0.77.0",
|
|
30
|
-
"react-native-safe-area-context": "^
|
|
30
|
+
"react-native-safe-area-context": "^5.2.0"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@aws-amplify/ui": "6.9.
|
|
34
|
-
"@aws-amplify/ui-react-core": "3.3.
|
|
35
|
-
"@aws-amplify/ui-react-core-notifications": "2.2.
|
|
33
|
+
"@aws-amplify/ui": "6.9.1",
|
|
34
|
+
"@aws-amplify/ui-react-core": "3.3.5",
|
|
35
|
+
"@aws-amplify/ui-react-core-notifications": "2.2.5"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"aws-amplify": "^6.9.0",
|
|
39
39
|
"react": "*",
|
|
40
40
|
"react-native": ">=0.70",
|
|
41
|
-
"react-native-safe-area-context": "
|
|
41
|
+
"react-native-safe-area-context": "*"
|
|
42
42
|
},
|
|
43
43
|
"files": [
|
|
44
44
|
"dist",
|
|
@@ -47,4 +47,4 @@
|
|
|
47
47
|
"!**/__mocks__",
|
|
48
48
|
"!**/__tests__"
|
|
49
49
|
]
|
|
50
|
-
}
|
|
50
|
+
}
|
|
@@ -8,4 +8,17 @@ export { SetupTotp } from './SetupTotp';
|
|
|
8
8
|
export { SignIn } from './SignIn';
|
|
9
9
|
export { SignUp } from './SignUp';
|
|
10
10
|
export { VerifyUser } from './VerifyUser';
|
|
11
|
-
export {
|
|
11
|
+
export {
|
|
12
|
+
Components,
|
|
13
|
+
DefaultComponents,
|
|
14
|
+
ConfirmResetPasswordProps,
|
|
15
|
+
ConfirmSignInProps,
|
|
16
|
+
ConfirmSignUpProps,
|
|
17
|
+
ConfirmVerifyUserProps,
|
|
18
|
+
ForceNewPasswordProps,
|
|
19
|
+
ForgotPasswordProps,
|
|
20
|
+
SetupTotpProps,
|
|
21
|
+
SignInProps,
|
|
22
|
+
SignUpProps,
|
|
23
|
+
VerifyUserProps,
|
|
24
|
+
} from './types';
|
|
@@ -158,3 +158,15 @@ export interface Components {
|
|
|
158
158
|
SignUp?: SignUpComponent;
|
|
159
159
|
VerifyUser?: VerifyUserComponent;
|
|
160
160
|
}
|
|
161
|
+
|
|
162
|
+
export interface ConfirmResetPasswordProps
|
|
163
|
+
extends DefaultConfirmResetPasswordProps {}
|
|
164
|
+
export interface ConfirmSignInProps extends DefaultConfirmSignInProps {}
|
|
165
|
+
export interface ConfirmSignUpProps extends DefaultConfirmSignUpProps {}
|
|
166
|
+
export interface ConfirmVerifyUserProps extends DefaultConfirmVerifyUserProps {}
|
|
167
|
+
export interface ForceNewPasswordProps extends DefaultForceNewPasswordProps {}
|
|
168
|
+
export interface ForgotPasswordProps extends DefaultForgotPasswordProps {}
|
|
169
|
+
export interface SetupTotpProps extends DefaultSetupTotpProps {}
|
|
170
|
+
export interface SignInProps extends DefaultSignInProps {}
|
|
171
|
+
export interface SignUpProps extends DefaultSignUpProps {}
|
|
172
|
+
export interface VerifyUserProps extends DefaultVerifyUserProps {}
|
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
export { default as Authenticator } from './Authenticator';
|
|
2
|
+
export { ContainerProps } from './common';
|
|
3
|
+
export {
|
|
4
|
+
ConfirmResetPasswordProps,
|
|
5
|
+
ConfirmSignInProps,
|
|
6
|
+
ConfirmSignUpProps,
|
|
7
|
+
ConfirmVerifyUserProps,
|
|
8
|
+
ForceNewPasswordProps,
|
|
9
|
+
ForgotPasswordProps,
|
|
10
|
+
SetupTotpProps,
|
|
11
|
+
SignInProps,
|
|
12
|
+
SignUpProps,
|
|
13
|
+
VerifyUserProps,
|
|
14
|
+
} from './Defaults';
|
|
2
15
|
export { AuthenticatorProps, WithAuthenticatorOptions } from './types';
|
|
3
16
|
export { useAuthenticator, UseAuthenticator } from './useAuthenticator';
|
|
4
17
|
export { default as withAuthenticator } from './withAuthenticator';
|
package/src/index.ts
CHANGED
|
@@ -5,6 +5,16 @@ export {
|
|
|
5
5
|
UseAuthenticator,
|
|
6
6
|
withAuthenticator,
|
|
7
7
|
WithAuthenticatorOptions,
|
|
8
|
+
ConfirmResetPasswordProps,
|
|
9
|
+
ConfirmSignInProps,
|
|
10
|
+
ConfirmSignUpProps,
|
|
11
|
+
ConfirmVerifyUserProps,
|
|
12
|
+
ForceNewPasswordProps,
|
|
13
|
+
ForgotPasswordProps,
|
|
14
|
+
SetupTotpProps,
|
|
15
|
+
SignInProps,
|
|
16
|
+
SignUpProps,
|
|
17
|
+
VerifyUserProps,
|
|
8
18
|
} from './Authenticator';
|
|
9
19
|
export * from './InAppMessaging';
|
|
10
20
|
export {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '2.4.
|
|
1
|
+
export const VERSION = '2.4.5';
|