@aws-amplify/ui-react 2.16.0 → 2.16.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/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/shared/FormField.js +1 -1
- package/dist/esm/components/Authenticator/shared/FormFields.js +1 -1
- package/dist/index.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/components/Authenticator/shared/FormField.d.ts +3 -3
- package/dist/types/components/Authenticator/shared/FormFields.d.ts +1 -5
- package/package.json +13 -5
package/dist/styles.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { FormFieldOptions } from '@aws-amplify/ui';
|
|
3
|
-
export interface FormFieldProps {
|
|
3
|
+
export interface FormFieldProps extends Omit<FormFieldOptions, 'label'> {
|
|
4
|
+
label: string;
|
|
4
5
|
name: string;
|
|
5
|
-
formFieldOptions: FormFieldOptions;
|
|
6
6
|
}
|
|
7
|
-
export declare function FormField({ name,
|
|
7
|
+
export declare function FormField({ autocomplete: autoComplete, dialCode, name, type, ...props }: FormFieldProps): JSX.Element;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
export interface BaseFormFieldsProps {
|
|
4
|
-
route: FormFieldComponents;
|
|
5
|
-
}
|
|
6
|
-
export declare function FormFields({ route }: BaseFormFieldsProps): JSX.Element;
|
|
2
|
+
export declare function FormFields(): JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/ui-react",
|
|
3
|
-
"version": "2.16.
|
|
3
|
+
"version": "2.16.1",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -54,10 +54,11 @@
|
|
|
54
54
|
"test": "yarn test:unit",
|
|
55
55
|
"test:watch": "yarn test:unit:watch",
|
|
56
56
|
"test:unit": "jest",
|
|
57
|
-
"test:unit:watch": "jest --watch"
|
|
57
|
+
"test:unit:watch": "jest --watch",
|
|
58
|
+
"size": "yarn run size-limit"
|
|
58
59
|
},
|
|
59
60
|
"dependencies": {
|
|
60
|
-
"@aws-amplify/ui": "3.
|
|
61
|
+
"@aws-amplify/ui": "3.8.0",
|
|
61
62
|
"@aws-amplify/ui-react-v1": "npm:@aws-amplify/ui-react@1.2.9",
|
|
62
63
|
"@radix-ui/react-accordion": "0.1.6",
|
|
63
64
|
"@radix-ui/react-dropdown-menu": "0.1.6",
|
|
@@ -86,6 +87,7 @@
|
|
|
86
87
|
},
|
|
87
88
|
"devDependencies": {
|
|
88
89
|
"@rollup/plugin-typescript": "^8.3.1",
|
|
90
|
+
"@size-limit/preset-big-lib": "^7.0.8",
|
|
89
91
|
"@svgr/core": "^5.5.0",
|
|
90
92
|
"@testing-library/jest-dom": "^5.14.1",
|
|
91
93
|
"@testing-library/react": "^12.0.0",
|
|
@@ -98,8 +100,6 @@
|
|
|
98
100
|
"@typescript-eslint/parser": "^5.20.0",
|
|
99
101
|
"degit": "^2.8.4",
|
|
100
102
|
"eslint": "^8.13.0",
|
|
101
|
-
"eslint-config-airbnb": "^19.0.4",
|
|
102
|
-
"eslint-config-airbnb-typescript": "^17.0.0",
|
|
103
103
|
"eslint-config-prettier": "^8.5.0",
|
|
104
104
|
"eslint-plugin-import": "^2.26.0",
|
|
105
105
|
"eslint-plugin-jest": "^26.1.4",
|
|
@@ -114,11 +114,19 @@
|
|
|
114
114
|
"rollup": "^2.70.0",
|
|
115
115
|
"rollup-plugin-styles": "^4.0.0",
|
|
116
116
|
"rollup-plugin-terser": "^7.0.2",
|
|
117
|
+
"size-limit": "^7.0.8",
|
|
117
118
|
"ts-jest": "^27.0.3",
|
|
118
119
|
"ts-morph": "^12.0.0",
|
|
119
120
|
"ts-node": "^10.2.1"
|
|
120
121
|
},
|
|
121
122
|
"sideEffects": [
|
|
122
123
|
"dist/**/*.css"
|
|
124
|
+
],
|
|
125
|
+
"size-limit": [
|
|
126
|
+
{
|
|
127
|
+
"path": "dist/esm/index.js",
|
|
128
|
+
"import": "{ Authenticator }",
|
|
129
|
+
"limit": "100 kB"
|
|
130
|
+
}
|
|
123
131
|
]
|
|
124
132
|
}
|