@aws-amplify/ui 6.15.1 → 6.15.3
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.mjs +1 -1
- package/dist/esm/machines/authenticator/actors/signUp.mjs +8 -2
- package/dist/index.js +8 -2
- package/dist/styles/modal.css +4 -1
- package/dist/styles/modal.layer.css +4 -1
- package/dist/styles.css +4 -1
- package/dist/styles.layer.css +4 -1
- package/dist/types/helpers/authenticator/index.d.ts +1 -1
- package/dist/types/machines/index.d.ts +1 -1
- package/dist/types/theme/index.d.ts +1 -1
- package/dist/types/theme/types.d.ts +1 -1
- package/dist/types/types/accountSettings/index.d.ts +1 -1
- package/dist/types/types/authenticator/index.d.ts +2 -2
- package/dist/types/types/index.d.ts +2 -2
- package/package.json +4 -3
|
@@ -2,7 +2,7 @@ import '../../../types/authenticator/user.mjs';
|
|
|
2
2
|
import { isAuthFieldsWithDefaults } from '../../../types/authenticator/attributes.mjs';
|
|
3
3
|
import { getActorContext } from '../actor.mjs';
|
|
4
4
|
import { defaultFormFieldOptions } from '../constants.mjs';
|
|
5
|
-
import {
|
|
5
|
+
import { getAliasDefaultFormField, defaultFormFieldsGetters } from './defaults.mjs';
|
|
6
6
|
import { applyTranslation, sortFormFields } from './utils.mjs';
|
|
7
7
|
|
|
8
8
|
// Gets the default formFields for given route
|
|
@@ -281,8 +281,14 @@ function signUpActor({ services }) {
|
|
|
281
281
|
passkeyPrompt: {
|
|
282
282
|
entry: 'sendUpdate',
|
|
283
283
|
on: {
|
|
284
|
-
SKIP: {
|
|
285
|
-
|
|
284
|
+
SKIP: {
|
|
285
|
+
actions: 'setConfirmAttributeCompleteStep',
|
|
286
|
+
target: 'resolved',
|
|
287
|
+
},
|
|
288
|
+
SUBMIT: {
|
|
289
|
+
actions: 'setConfirmAttributeCompleteStep',
|
|
290
|
+
target: 'resolved',
|
|
291
|
+
},
|
|
286
292
|
},
|
|
287
293
|
},
|
|
288
294
|
resolved: {
|
package/dist/index.js
CHANGED
|
@@ -5818,8 +5818,14 @@ function signUpActor({ services }) {
|
|
|
5818
5818
|
passkeyPrompt: {
|
|
5819
5819
|
entry: 'sendUpdate',
|
|
5820
5820
|
on: {
|
|
5821
|
-
SKIP: {
|
|
5822
|
-
|
|
5821
|
+
SKIP: {
|
|
5822
|
+
actions: 'setConfirmAttributeCompleteStep',
|
|
5823
|
+
target: 'resolved',
|
|
5824
|
+
},
|
|
5825
|
+
SUBMIT: {
|
|
5826
|
+
actions: 'setConfirmAttributeCompleteStep',
|
|
5827
|
+
target: 'resolved',
|
|
5828
|
+
},
|
|
5823
5829
|
},
|
|
5824
5830
|
},
|
|
5825
5831
|
resolved: {
|
package/dist/styles/modal.css
CHANGED
|
@@ -73,9 +73,12 @@
|
|
|
73
73
|
overflow-y: auto;
|
|
74
74
|
box-sizing: border-box;
|
|
75
75
|
list-style: disc;
|
|
76
|
+
display: flex;
|
|
77
|
+
flex-direction: column;
|
|
78
|
+
gap: var(--amplify-space-xxs);
|
|
76
79
|
}
|
|
77
80
|
|
|
78
81
|
.amplify-modal__list-item.amplify-modal__list-item {
|
|
82
|
+
display: list-item;
|
|
79
83
|
margin-bottom: var(--amplify-space-xxs);
|
|
80
|
-
box-sizing: border-box;
|
|
81
84
|
}
|
|
@@ -74,10 +74,13 @@
|
|
|
74
74
|
overflow-y: auto;
|
|
75
75
|
box-sizing: border-box;
|
|
76
76
|
list-style: disc;
|
|
77
|
+
display: flex;
|
|
78
|
+
flex-direction: column;
|
|
79
|
+
gap: var(--amplify-space-xxs);
|
|
77
80
|
}
|
|
78
81
|
|
|
79
82
|
.amplify-modal__list-item.amplify-modal__list-item {
|
|
83
|
+
display: list-item;
|
|
80
84
|
margin-bottom: var(--amplify-space-xxs);
|
|
81
|
-
box-sizing: border-box;
|
|
82
85
|
}
|
|
83
86
|
}
|
package/dist/styles.css
CHANGED
|
@@ -4891,11 +4891,14 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
4891
4891
|
overflow-y: auto;
|
|
4892
4892
|
box-sizing: border-box;
|
|
4893
4893
|
list-style: disc;
|
|
4894
|
+
display: flex;
|
|
4895
|
+
flex-direction: column;
|
|
4896
|
+
gap: var(--amplify-space-xxs);
|
|
4894
4897
|
}
|
|
4895
4898
|
|
|
4896
4899
|
.amplify-modal__list-item.amplify-modal__list-item {
|
|
4900
|
+
display: list-item;
|
|
4897
4901
|
margin-bottom: var(--amplify-space-xxs);
|
|
4898
|
-
box-sizing: border-box;
|
|
4899
4902
|
}
|
|
4900
4903
|
|
|
4901
4904
|
.amplify-pagination {
|
package/dist/styles.layer.css
CHANGED
|
@@ -4892,11 +4892,14 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
4892
4892
|
overflow-y: auto;
|
|
4893
4893
|
box-sizing: border-box;
|
|
4894
4894
|
list-style: disc;
|
|
4895
|
+
display: flex;
|
|
4896
|
+
flex-direction: column;
|
|
4897
|
+
gap: var(--amplify-space-xxs);
|
|
4895
4898
|
}
|
|
4896
4899
|
|
|
4897
4900
|
.amplify-modal__list-item.amplify-modal__list-item {
|
|
4901
|
+
display: list-item;
|
|
4898
4902
|
margin-bottom: var(--amplify-space-xxs);
|
|
4899
|
-
box-sizing: border-box;
|
|
4900
4903
|
}
|
|
4901
4904
|
|
|
4902
4905
|
.amplify-pagination {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './authenticator';
|
|
2
|
-
export * from './authenticator/types';
|
|
2
|
+
export type * from './authenticator/types';
|
|
@@ -5,4 +5,4 @@ export { defaultTheme } from './defaultTheme';
|
|
|
5
5
|
export { defaultDarkModeOverride, reactNativeDarkTokens, } from './defaultDarkModeOverride';
|
|
6
6
|
export type { ReactNativeTokens } from './tokens';
|
|
7
7
|
export { reactNativeTokens } from './tokens';
|
|
8
|
-
export * from './types';
|
|
8
|
+
export type * from './types';
|
|
@@ -4,7 +4,7 @@ import type { Tokens } from './tokens';
|
|
|
4
4
|
import type { Breakpoints } from './breakpoints';
|
|
5
5
|
import type { ComponentsTheme } from './components';
|
|
6
6
|
import type { CSSProperties } from './components/utils';
|
|
7
|
-
export * from './tokens/types/designToken';
|
|
7
|
+
export type * from './tokens/types/designToken';
|
|
8
8
|
export type { BorderWidths } from './tokens/borderWidths';
|
|
9
9
|
export type { FontSizes } from './tokens/fontSizes';
|
|
10
10
|
export type { FontWeights } from './tokens/fontWeights';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './validator';
|
|
1
|
+
export type * from './validator';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/ui",
|
|
3
|
-
"version": "6.15.
|
|
3
|
+
"version": "6.15.3",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/esm/index.mjs",
|
|
6
6
|
"exports": {
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"./styles.css": "./dist/styles.css",
|
|
20
20
|
"./theme.css": "./dist/theme.css"
|
|
21
21
|
},
|
|
22
|
+
"eslint": "./eslint.config.js",
|
|
22
23
|
"types": "dist/types/index.d.ts",
|
|
23
24
|
"license": "Apache-2.0",
|
|
24
25
|
"repository": {
|
|
@@ -37,7 +38,7 @@
|
|
|
37
38
|
"check:esm": "node --input-type=module --eval 'import \"@aws-amplify/ui\"'",
|
|
38
39
|
"clean": "rimraf dist node_modules",
|
|
39
40
|
"dev": "yarn build --watch",
|
|
40
|
-
"lint": "yarn typecheck && eslint src
|
|
41
|
+
"lint": "yarn typecheck && eslint src",
|
|
41
42
|
"prebuild": "rimraf dist",
|
|
42
43
|
"test": "jest",
|
|
43
44
|
"test:watch": "yarn test --watch",
|
|
@@ -45,7 +46,7 @@
|
|
|
45
46
|
},
|
|
46
47
|
"dependencies": {
|
|
47
48
|
"csstype": "^3.1.1",
|
|
48
|
-
"lodash": "4.
|
|
49
|
+
"lodash": "4.18.1",
|
|
49
50
|
"tslib": "^2.5.2"
|
|
50
51
|
},
|
|
51
52
|
"peerDependencies": {
|