@aws-amplify/ui 3.12.1 → 3.12.4

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/styles.css CHANGED
@@ -3,7 +3,7 @@
3
3
  */
4
4
  /**
5
5
  * Do not edit directly
6
- * Generated on Wed, 29 Jun 2022 22:47:24 GMT
6
+ * Generated on Tue, 26 Jul 2022 22:28:56 GMT
7
7
  */
8
8
  :root, [data-amplify-theme] {
9
9
  --amplify-transforms-slide-x-large: translateX(2em);
@@ -441,7 +441,6 @@
441
441
  --amplify-components-switchfield-small-font-size: var(--amplify-font-sizes-small);
442
442
  --amplify-components-switchfield-large-font-size: var(--amplify-font-sizes-large);
443
443
  --amplify-components-switchfield-disabled-opacity: var(--amplify-opacities-60);
444
- --amplify-components-stepperfield-button-disabled-background-color: var(--amplify-components-button-disabled-background-color);
445
444
  --amplify-components-stepperfield-button-background-color: var(--amplify-colors-transparent);
446
445
  --amplify-components-sliderfield-thumb-border-width: var(--amplify-border-widths-medium);
447
446
  --amplify-components-sliderfield-padding-block: var(--amplify-space-xs);
@@ -685,6 +684,7 @@
685
684
  --amplify-components-sliderfield-thumb-background-color: var(--amplify-colors-background-primary);
686
685
  --amplify-components-sliderfield-range-background-color: var(--amplify-colors-brand-primary-80);
687
686
  --amplify-components-sliderfield-track-background-color: var(--amplify-colors-background-quaternary);
687
+ --amplify-components-select-option-color: var(--amplify-colors-font-primary);
688
688
  --amplify-components-select-option-background-color: var(--amplify-colors-background-primary);
689
689
  --amplify-components-rating-empty-color: var(--amplify-colors-background-tertiary);
690
690
  --amplify-components-rating-filled-color: var(--amplify-colors-brand-secondary-80);
@@ -918,6 +918,7 @@
918
918
  --amplify-components-textfield-focus-border-color: var(--amplify-components-fieldcontrol-focus-border-color);
919
919
  --amplify-components-textareafield-focus-border-color: var(--amplify-components-fieldcontrol-focus-border-color);
920
920
  --amplify-components-stepperfield-button-hover-color: var(--amplify-components-button-hover-color);
921
+ --amplify-components-stepperfield-button-disabled-background-color: var(--amplify-components-fieldcontrol-disabled-background-color);
921
922
  --amplify-components-stepperfield-button-focus-color: var(--amplify-components-button-focus-color);
922
923
  --amplify-components-stepperfield-button-active-color: var(--amplify-components-button-active-color);
923
924
  --amplify-components-selectfield-focus-border-color: var(--amplify-components-fieldcontrol-focus-border-color);
@@ -1441,6 +1442,10 @@ strong.amplify-text {
1441
1442
  outline-style: var(--amplify-components-fieldcontrol-outline-style);
1442
1443
  outline-width: var(--amplify-components-fieldcontrol-outline-width);
1443
1444
  outline-offset: var(--amplify-components-fieldcontrol-outline-offset);
1445
+ -webkit-user-select: text;
1446
+ -moz-user-select: text;
1447
+ -ms-user-select: text;
1448
+ user-select: text;
1444
1449
  }
1445
1450
  .amplify-input:focus {
1446
1451
  border-color: var(--amplify-components-fieldcontrol-focus-border-color);
@@ -1524,6 +1529,10 @@ strong.amplify-text {
1524
1529
  outline-style: var(--amplify-components-fieldcontrol-outline-style);
1525
1530
  outline-width: var(--amplify-components-fieldcontrol-outline-width);
1526
1531
  outline-offset: var(--amplify-components-fieldcontrol-outline-offset);
1532
+ -webkit-user-select: text;
1533
+ -moz-user-select: text;
1534
+ -ms-user-select: text;
1535
+ user-select: text;
1527
1536
  }
1528
1537
  .amplify-textarea:focus {
1529
1538
  border-color: var(--amplify-components-fieldcontrol-focus-border-color);
@@ -2949,14 +2958,15 @@ html[dir=rtl] .amplify-field-group__inner-start {
2949
2958
  .amplify-select--quiet[aria-invalid=true]:focus {
2950
2959
  box-shadow: var(--amplify-components-fieldcontrol-quiet-error-focus-box-shadow);
2951
2960
  }
2961
+ .amplify-select option {
2962
+ color: initial;
2963
+ }
2952
2964
  @-moz-document url-prefix() {
2953
2965
  .amplify-select option {
2954
2966
  background-color: var(--amplify-components-select-option-background-color);
2967
+ color: var(--amplify-components-select-option-color);
2955
2968
  }
2956
2969
  }
2957
- .amplify-select option {
2958
- color: initial;
2959
- }
2960
2970
  .amplify-select--small {
2961
2971
  min-width: var(--amplify-components-select-small-min-width);
2962
2972
  }
@@ -3171,29 +3181,29 @@ html[dir=rtl] .amplify-field-group__inner-start {
3171
3181
  );
3172
3182
  }
3173
3183
 
3174
- .amplify-stepperfield__button--decrease {
3184
+ .amplify-stepperfield__button--decrease,
3185
+ .amplify-stepperfield__button--increase {
3175
3186
  background-color: var(--amplify-components-stepperfield-button-background-color);
3176
3187
  }
3177
- .amplify-stepperfield__button--decrease[data-invalid=true] {
3178
- -webkit-border-end: none;
3179
- border-inline-end: none;
3188
+ .amplify-stepperfield__button--decrease--disabled,
3189
+ .amplify-stepperfield__button--increase--disabled {
3190
+ background-color: var(--amplify-components-stepperfield-button-disabled-background-color);
3180
3191
  }
3181
- .amplify-stepperfield__button--decrease--quiet {
3192
+ .amplify-stepperfield__button--decrease--quiet,
3193
+ .amplify-stepperfield__button--increase--quiet {
3182
3194
  border-width: 0 0 var(--amplify-components-button-border-width) 0;
3183
3195
  border-radius: 0;
3184
3196
  }
3185
3197
 
3186
- .amplify-stepperfield__button--increase {
3187
- background-color: var(--amplify-components-stepperfield-button-background-color);
3198
+ .amplify-stepperfield__button--decrease[data-invalid=true] {
3199
+ -webkit-border-end: none;
3200
+ border-inline-end: none;
3188
3201
  }
3202
+
3189
3203
  .amplify-stepperfield__button--increase[data-invalid=true] {
3190
3204
  -webkit-border-start: none;
3191
3205
  border-inline-start: none;
3192
3206
  }
3193
- .amplify-stepperfield__button--increase--quiet {
3194
- border-width: 0 0 var(--amplify-components-button-border-width) 0;
3195
- border-radius: 0;
3196
- }
3197
3207
 
3198
3208
  .amplify-stepperfield__input {
3199
3209
  -moz-appearance: textfield;
@@ -3806,7 +3816,12 @@ html[dir=rtl] .amplify-field-group__inner-start {
3806
3816
  gap: 0;
3807
3817
  }
3808
3818
 
3819
+ .amplify-togglebuttongroup .amplify-togglebutton:focus, .amplify-togglebuttongroup .amplify-togglebutton.amplify-togglebutton--pressed {
3820
+ z-index: 2;
3821
+ }
3809
3822
  .amplify-togglebuttongroup .amplify-togglebutton:not(:first-of-type) {
3823
+ -webkit-margin-start: calc(-1 * var(--amplify-components-button-border-width));
3824
+ margin-inline-start: calc(-1 * var(--amplify-components-button-border-width));
3810
3825
  border-start-start-radius: 0;
3811
3826
  border-end-start-radius: 0;
3812
3827
  }
@@ -3816,10 +3831,6 @@ html[dir=rtl] .amplify-field-group__inner-start {
3816
3831
  border-bottom-left-radius: 0;
3817
3832
  }
3818
3833
  }
3819
- .amplify-togglebuttongroup .amplify-togglebutton:not(:first-of-type):not(:focus) {
3820
- -webkit-border-start: 1px solid transparent;
3821
- border-inline-start: 1px solid transparent;
3822
- }
3823
3834
  .amplify-togglebuttongroup .amplify-togglebutton:not(:last-of-type) {
3824
3835
  border-start-end-radius: 0;
3825
3836
  border-end-end-radius: 0;
package/dist/theme.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Jun 2022 22:47:24 GMT
3
+ * Generated on Tue, 26 Jul 2022 22:28:56 GMT
4
4
  */
5
5
 
6
6
  :root, [data-amplify-theme] {
@@ -439,7 +439,6 @@
439
439
  --amplify-components-switchfield-small-font-size: var(--amplify-font-sizes-small);
440
440
  --amplify-components-switchfield-large-font-size: var(--amplify-font-sizes-large);
441
441
  --amplify-components-switchfield-disabled-opacity: var(--amplify-opacities-60);
442
- --amplify-components-stepperfield-button-disabled-background-color: var(--amplify-components-button-disabled-background-color);
443
442
  --amplify-components-stepperfield-button-background-color: var(--amplify-colors-transparent);
444
443
  --amplify-components-sliderfield-thumb-border-width: var(--amplify-border-widths-medium);
445
444
  --amplify-components-sliderfield-padding-block: var(--amplify-space-xs);
@@ -683,6 +682,7 @@
683
682
  --amplify-components-sliderfield-thumb-background-color: var(--amplify-colors-background-primary);
684
683
  --amplify-components-sliderfield-range-background-color: var(--amplify-colors-brand-primary-80);
685
684
  --amplify-components-sliderfield-track-background-color: var(--amplify-colors-background-quaternary);
685
+ --amplify-components-select-option-color: var(--amplify-colors-font-primary);
686
686
  --amplify-components-select-option-background-color: var(--amplify-colors-background-primary);
687
687
  --amplify-components-rating-empty-color: var(--amplify-colors-background-tertiary);
688
688
  --amplify-components-rating-filled-color: var(--amplify-colors-brand-secondary-80);
@@ -916,6 +916,7 @@
916
916
  --amplify-components-textfield-focus-border-color: var(--amplify-components-fieldcontrol-focus-border-color);
917
917
  --amplify-components-textareafield-focus-border-color: var(--amplify-components-fieldcontrol-focus-border-color);
918
918
  --amplify-components-stepperfield-button-hover-color: var(--amplify-components-button-hover-color);
919
+ --amplify-components-stepperfield-button-disabled-background-color: var(--amplify-components-fieldcontrol-disabled-background-color);
919
920
  --amplify-components-stepperfield-button-focus-color: var(--amplify-components-button-focus-color);
920
921
  --amplify-components-stepperfield-button-active-color: var(--amplify-components-button-active-color);
921
922
  --amplify-components-selectfield-focus-border-color: var(--amplify-components-fieldcontrol-focus-border-color);
@@ -1,5 +1,6 @@
1
1
  export declare const esDict: {
2
2
  'Account recovery requires verified contact information': string;
3
+ 'An account with the given email already exists.': string;
3
4
  'Back to Sign In': string;
4
5
  'Change Password': string;
5
6
  Changing: string;
@@ -13,10 +14,12 @@ export declare const esDict: {
13
14
  'Confirmation Code': string;
14
15
  Confirming: string;
15
16
  'Create a new account': string;
17
+ 'Create Account': string;
16
18
  'Creating Account': string;
17
19
  Email: string;
20
+ 'Enter your email': string;
18
21
  'Forgot Password': string;
19
- 'Incorrect username or password': string;
22
+ 'Incorrect username or password.': string;
20
23
  'Invalid password format': string;
21
24
  'Invalid phone number format': string;
22
25
  'Forgot your password?': string;
@@ -43,6 +46,10 @@ export declare const esDict: {
43
46
  'Sign in to your account': string;
44
47
  'Sign Out': string;
45
48
  'Sign Up': string;
49
+ 'Sign Up with Amazon': string;
50
+ 'Sign Up with Apple': string;
51
+ 'Sign Up with Facebook': string;
52
+ 'Sign Up with Google': string;
46
53
  'Signing in': string;
47
54
  Skip: string;
48
55
  Submit: string;
@@ -52,4 +59,5 @@ export declare const esDict: {
52
59
  'Username cannot be empty': string;
53
60
  Verify: string;
54
61
  'Verify Contact': string;
62
+ 'Your passwords must match': string;
55
63
  };
@@ -12,4 +12,5 @@ export { zhDict } from './zh';
12
12
  export { svDict } from './sv';
13
13
  export { idDict } from './id';
14
14
  export { trDict } from './tr';
15
+ export { ruDict } from './ru';
15
16
  export { defaultTexts } from './defaultTexts';
@@ -49,4 +49,8 @@ export declare const jaDict: {
49
49
  'Username cannot be empty': string;
50
50
  Verify: string;
51
51
  'Verify Contact': string;
52
+ 'We Emailed You': string;
53
+ 'Your code is on the way. To log in, enter the code we emailed to': string;
54
+ 'Your code is on the way. To log in, enter the code we texted to': string;
55
+ 'It may take a minute to arrive.': string;
52
56
  };
@@ -0,0 +1,50 @@
1
+ export declare const ruDict: {
2
+ 'Account recovery requires verified contact information': string;
3
+ 'Back to Sign In': string;
4
+ 'Change Password': string;
5
+ Changing: string;
6
+ Code: string;
7
+ Confirm: string;
8
+ 'Confirm Password': string;
9
+ 'Confirm Sign Up': string;
10
+ 'Confirm SMS Code': string;
11
+ 'Confirm TOTP Code': string;
12
+ 'Confirmation Code': string;
13
+ Confirming: string;
14
+ 'Create Account': string;
15
+ 'Creating Account': string;
16
+ Email: string;
17
+ 'Enter your code': string;
18
+ 'Enter your username': string;
19
+ 'Enter your phone number': string;
20
+ 'Enter your email': string;
21
+ 'Forgot your password?': string;
22
+ 'Hide password': string;
23
+ Loading: string;
24
+ Username: string;
25
+ 'New password': string;
26
+ Password: string;
27
+ 'Phone Number': string;
28
+ 'Resend Code': string;
29
+ 'Reset your password': string;
30
+ 'Reset your Password': string;
31
+ 'Send Code': string;
32
+ 'Send code': string;
33
+ Sending: string;
34
+ 'Setup TOTP': string;
35
+ 'Show password': string;
36
+ 'Sign in': string;
37
+ 'Sign In': string;
38
+ 'Sign In with Amazon': string;
39
+ 'Sign In with Apple': string;
40
+ 'Sign In with Facebook': string;
41
+ 'Sign In with Google': string;
42
+ 'Sign in to your account': string;
43
+ 'Create a new account': string;
44
+ 'Signing in': string;
45
+ Skip: string;
46
+ Submit: string;
47
+ Submitting: string;
48
+ 'Verify Contact': string;
49
+ Verify: string;
50
+ };
@@ -111,6 +111,7 @@ export declare const enDict: {
111
111
  };
112
112
  export declare const esDict: {
113
113
  'Account recovery requires verified contact information': string;
114
+ 'An account with the given email already exists.': string;
114
115
  'Back to Sign In': string;
115
116
  'Change Password': string;
116
117
  Changing: string;
@@ -124,10 +125,12 @@ export declare const esDict: {
124
125
  'Confirmation Code': string;
125
126
  Confirming: string;
126
127
  'Create a new account': string;
128
+ 'Create Account': string;
127
129
  'Creating Account': string;
128
130
  Email: string;
131
+ 'Enter your email': string;
129
132
  'Forgot Password': string;
130
- 'Incorrect username or password': string;
133
+ 'Incorrect username or password.': string;
131
134
  'Invalid password format': string;
132
135
  'Invalid phone number format': string;
133
136
  'Forgot your password?': string;
@@ -154,6 +157,10 @@ export declare const esDict: {
154
157
  'Sign in to your account': string;
155
158
  'Sign Out': string;
156
159
  'Sign Up': string;
160
+ 'Sign Up with Amazon': string;
161
+ 'Sign Up with Apple': string;
162
+ 'Sign Up with Facebook': string;
163
+ 'Sign Up with Google': string;
157
164
  'Signing in': string;
158
165
  Skip: string;
159
166
  Submit: string;
@@ -163,6 +170,7 @@ export declare const esDict: {
163
170
  'Username cannot be empty': string;
164
171
  Verify: string;
165
172
  'Verify Contact': string;
173
+ 'Your passwords must match': string;
166
174
  };
167
175
  export declare const frDict: {
168
176
  'Account recovery requires verified contact information': string;
@@ -329,6 +337,10 @@ export declare const jaDict: {
329
337
  'Username cannot be empty': string;
330
338
  Verify: string;
331
339
  'Verify Contact': string;
340
+ 'We Emailed You': string;
341
+ 'Your code is on the way. To log in, enter the code we emailed to': string;
342
+ 'Your code is on the way. To log in, enter the code we texted to': string;
343
+ 'It may take a minute to arrive.': string;
332
344
  };
333
345
  export declare const krDict: {
334
346
  'Back to Sign In': string;
@@ -769,6 +781,56 @@ export declare const trDict: {
769
781
  'Verify Contact': string;
770
782
  Verify: string;
771
783
  };
784
+ export declare const ruDict: {
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: string;
791
+ 'Confirm Password': string;
792
+ 'Confirm Sign Up': string;
793
+ 'Confirm SMS Code': string;
794
+ 'Confirm TOTP Code': string;
795
+ 'Confirmation Code': string;
796
+ Confirming: string;
797
+ 'Create Account': string;
798
+ 'Creating Account': string;
799
+ Email: string;
800
+ 'Enter your code': string;
801
+ 'Enter your username': string;
802
+ 'Enter your phone number': string;
803
+ 'Enter your email': string;
804
+ 'Forgot your password?': string;
805
+ 'Hide password': string;
806
+ Loading: string;
807
+ Username: string;
808
+ 'New password': string;
809
+ Password: string;
810
+ 'Phone Number': string;
811
+ 'Resend Code': string;
812
+ 'Reset your password': string;
813
+ 'Reset your Password': string;
814
+ 'Send Code': string;
815
+ 'Send code': string;
816
+ Sending: string;
817
+ 'Setup TOTP': string;
818
+ 'Show password': string;
819
+ 'Sign in': string;
820
+ 'Sign In': string;
821
+ 'Sign In with Amazon': string;
822
+ 'Sign In with Apple': string;
823
+ 'Sign In with Facebook': string;
824
+ 'Sign In with Google': string;
825
+ 'Sign in to your account': string;
826
+ 'Create a new account': string;
827
+ 'Signing in': string;
828
+ Skip: string;
829
+ Submit: string;
830
+ Submitting: string;
831
+ 'Verify Contact': string;
832
+ Verify: string;
833
+ };
772
834
  export declare const defaultTexts: {
773
835
  BACK_SIGN_IN: string;
774
836
  BIRTHDATE: string;
@@ -1,4 +1,4 @@
1
- import { AlignItemsValue, BackgroundColorValue, CursorValue, DesignToken, DisplayValue, FlexValue, PointerEventsValue, PositionValue, SpaceValue, TransformValue, WhiteSpaceValue } from '../types/designToken';
1
+ import { AlignItemsValue, BackgroundColorValue, ColorValue, CursorValue, DesignToken, DisplayValue, FlexValue, PointerEventsValue, PositionValue, SpaceValue, TransformValue, WhiteSpaceValue } from '../types/designToken';
2
2
  interface SelectWrapperTokens {
3
3
  flex: DesignToken<FlexValue>;
4
4
  display: DesignToken<DisplayValue>;
@@ -15,6 +15,7 @@ interface SelectIconWrapperTokens {
15
15
  }
16
16
  interface SelectOptionTokens {
17
17
  backgroundColor: DesignToken<BackgroundColorValue>;
18
+ color: DesignToken<ColorValue>;
18
19
  }
19
20
  interface SelectSizeTokens {
20
21
  minWidth: DesignToken<SpaceValue>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/ui",
3
- "version": "3.12.1",
3
+ "version": "3.12.4",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "exports": {