@aws-amplify/ui 3.6.2 → 3.6.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/esm/machines/authenticator/index.js +1 -1
- package/dist/esm/theme/tokens/components/button.js +1 -1
- package/dist/esm/theme/tokens/components/countryCodeSelect.js +1 -1
- package/dist/esm/theme/tokens/components/fieldControl.js +1 -1
- package/dist/esm/theme/tokens/components/fieldGroup.js +1 -1
- package/dist/esm/theme/tokens/components/index.js +1 -1
- package/dist/esm/theme/tokens/components/menu.js +1 -1
- package/dist/esm/theme/tokens/components/switchField.js +1 -1
- package/dist/index.js +1 -1
- package/dist/styles.css +11 -10
- package/dist/theme.css +10 -10
- package/dist/types/theme/tokens/components/alert.d.ts +28 -65
- package/dist/types/theme/tokens/components/authenticator.d.ts +47 -71
- package/dist/types/theme/tokens/components/badge.d.ts +29 -83
- package/dist/types/theme/tokens/components/button.d.ts +81 -326
- package/dist/types/theme/tokens/components/card.d.ts +15 -62
- package/dist/types/theme/tokens/components/checkbox.d.ts +75 -140
- package/dist/types/theme/tokens/components/checkboxField.d.ts +8 -14
- package/dist/types/theme/tokens/components/copy.d.ts +20 -26
- package/dist/types/theme/tokens/components/countryCodeSelect.d.ts +5 -5
- package/dist/types/theme/tokens/components/divider.d.ts +21 -38
- package/dist/types/theme/tokens/components/expander.d.ts +69 -135
- package/dist/types/theme/tokens/components/field.d.ts +17 -29
- package/dist/types/theme/tokens/components/fieldControl.d.ts +72 -174
- package/dist/types/theme/tokens/components/fieldGroup.d.ts +14 -15
- package/dist/types/theme/tokens/components/fieldMessages.d.ts +16 -21
- package/dist/types/theme/tokens/components/flex.d.ts +9 -17
- package/dist/types/theme/tokens/components/heading.d.ts +17 -56
- package/dist/types/theme/tokens/components/icon.d.ts +6 -8
- package/dist/types/theme/tokens/components/image.d.ts +8 -14
- package/dist/types/theme/tokens/components/index.d.ts +75 -2493
- package/dist/types/theme/tokens/components/link.d.ts +18 -35
- package/dist/types/theme/tokens/components/loader.d.ts +40 -92
- package/dist/types/theme/tokens/components/menu.d.ts +27 -59
- package/dist/types/theme/tokens/components/pagination.d.ts +48 -82
- package/dist/types/theme/tokens/components/placeholder.d.ts +15 -29
- package/dist/types/theme/tokens/components/radio.d.ts +72 -131
- package/dist/types/theme/tokens/components/rating.d.ts +19 -27
- package/dist/types/theme/tokens/components/select.d.ts +33 -60
- package/dist/types/theme/tokens/components/selectField.d.ts +5 -5
- package/dist/types/theme/tokens/components/sliderField.d.ts +61 -118
- package/dist/types/theme/tokens/components/stepperField.d.ts +10 -10
- package/dist/types/theme/tokens/components/switchField.d.ts +53 -78
- package/dist/types/theme/tokens/components/table.d.ts +61 -197
- package/dist/types/theme/tokens/components/tabs.d.ts +44 -84
- package/dist/types/theme/tokens/components/text.d.ts +16 -40
- package/dist/types/theme/tokens/components/toggleButton.d.ts +103 -154
- package/dist/types/theme/tokens/components/toggleButtonGroup.d.ts +7 -11
- package/dist/types/theme/tokens/index.d.ts +2 -1
- package/dist/types/theme/tokens/types/designToken.d.ts +41 -5
- package/dist/types/types/authenticator/stateMachine/context.d.ts +1 -0
- package/package.json +4 -2
- package/dist/esm/theme/tokens/components/phoneNumberField.js +0 -1
- package/dist/types/theme/tokens/components/phoneNumberField.d.ts +0 -1
package/dist/styles.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Do not edit directly
|
|
6
|
-
* Generated on
|
|
6
|
+
* Generated on Thu, 21 Apr 2022 22:58:20 GMT
|
|
7
7
|
*/
|
|
8
8
|
:root, [data-amplify-theme] {
|
|
9
9
|
--amplify-transforms-slide-x-large: translateX(2em);
|
|
@@ -247,7 +247,6 @@
|
|
|
247
247
|
--amplify-components-menu-item-min-height: 2.5rem;
|
|
248
248
|
--amplify-components-menu-min-width: 14rem;
|
|
249
249
|
--amplify-components-menu-max-width: 30rem;
|
|
250
|
-
--amplify-components-menu-gap: 0;
|
|
251
250
|
--amplify-components-menu-flex-direction: column;
|
|
252
251
|
--amplify-components-menu-border-style: solid;
|
|
253
252
|
--amplify-components-loader-linear-animation-duration: 1s;
|
|
@@ -269,7 +268,6 @@
|
|
|
269
268
|
--amplify-components-fieldmessages-description-font-style: italic;
|
|
270
269
|
--amplify-components-fieldgroup-outer-align-items: center;
|
|
271
270
|
--amplify-components-fieldgroup-vertical-align-items: center;
|
|
272
|
-
--amplify-components-fieldgroup-gap: 0;
|
|
273
271
|
--amplify-components-fieldcontrol-disabled-cursor: not-allowed;
|
|
274
272
|
--amplify-components-fieldcontrol-quiet-border-radius: 0;
|
|
275
273
|
--amplify-components-fieldcontrol-quiet-border-block-start: none;
|
|
@@ -288,7 +286,6 @@
|
|
|
288
286
|
--amplify-components-expander-width: 100%;
|
|
289
287
|
--amplify-components-expander-display: block;
|
|
290
288
|
--amplify-components-divider-border-style: solid;
|
|
291
|
-
--amplify-components-countrycodeselect-height: 100%;
|
|
292
289
|
--amplify-components-checkboxfield-justify-content: center;
|
|
293
290
|
--amplify-components-checkboxfield-flex-direction: column;
|
|
294
291
|
--amplify-components-checkboxfield-align-content: center;
|
|
@@ -325,12 +322,10 @@
|
|
|
325
322
|
--amplify-components-button-link-active-border-color: transparent;
|
|
326
323
|
--amplify-components-button-link-focus-border-color: transparent;
|
|
327
324
|
--amplify-components-button-link-hover-border-color: transparent;
|
|
328
|
-
--amplify-components-button-link-background-color: transparent;
|
|
329
325
|
--amplify-components-button-link-border-color: transparent;
|
|
330
|
-
--amplify-components-button-link-
|
|
326
|
+
--amplify-components-button-link-background-color: transparent;
|
|
331
327
|
--amplify-components-button-menu-justify-content: start;
|
|
332
328
|
--amplify-components-button-menu-background-color: transparent;
|
|
333
|
-
--amplify-components-button-menu-border-width: 0;
|
|
334
329
|
--amplify-components-button-primary-active-border-color: transparent;
|
|
335
330
|
--amplify-components-button-primary-focus-border-color: transparent;
|
|
336
331
|
--amplify-components-button-primary-hover-border-color: transparent;
|
|
@@ -490,6 +485,7 @@
|
|
|
490
485
|
--amplify-components-menu-large-width: var(--amplify-font-sizes-xxxl);
|
|
491
486
|
--amplify-components-menu-small-height: var(--amplify-font-sizes-medium);
|
|
492
487
|
--amplify-components-menu-small-width: var(--amplify-font-sizes-medium);
|
|
488
|
+
--amplify-components-menu-gap: var(--amplify-space-zero);
|
|
493
489
|
--amplify-components-menu-border-width: var(--amplify-border-widths-small);
|
|
494
490
|
--amplify-components-menu-border-radius: var(--amplify-radii-medium);
|
|
495
491
|
--amplify-components-menu-background-color: var(--amplify-colors-white);
|
|
@@ -528,6 +524,7 @@
|
|
|
528
524
|
--amplify-components-flex-gap: var(--amplify-space-medium);
|
|
529
525
|
--amplify-components-fieldmessages-description-font-size: var(--amplify-font-sizes-small);
|
|
530
526
|
--amplify-components-fieldmessages-error-font-size: var(--amplify-font-sizes-small);
|
|
527
|
+
--amplify-components-fieldgroup-gap: var(--amplify-space-zero);
|
|
531
528
|
--amplify-components-fieldcontrol-disabled-border-color: var(--amplify-colors-transparent);
|
|
532
529
|
--amplify-components-fieldcontrol-quiet-border-block-end: var(--amplify-border-widths-small) solid var(--amplify-colors-border-primary);
|
|
533
530
|
--amplify-components-fieldcontrol-large-padding-inline-end: var(--amplify-space-medium);
|
|
@@ -582,6 +579,7 @@
|
|
|
582
579
|
--amplify-components-divider-label-font-size: var(--amplify-font-sizes-small);
|
|
583
580
|
--amplify-components-divider-label-padding-inline: var(--amplify-space-medium);
|
|
584
581
|
--amplify-components-divider-border-width: var(--amplify-border-widths-medium);
|
|
582
|
+
--amplify-components-countrycodeselect-height: var(--amplify-space-relative-full);
|
|
585
583
|
--amplify-components-copy-tool-tip-font-size: var(--amplify-font-sizes-xxs);
|
|
586
584
|
--amplify-components-copy-tool-tip-color: var(--amplify-colors-teal-100);
|
|
587
585
|
--amplify-components-copy-tool-tip-bottom: var(--amplify-space-large);
|
|
@@ -604,6 +602,8 @@
|
|
|
604
602
|
--amplify-components-card-padding: var(--amplify-space-medium);
|
|
605
603
|
--amplify-components-card-border-radius: var(--amplify-radii-xs);
|
|
606
604
|
--amplify-components-button-loader-wrapper-gap: var(--amplify-space-xs);
|
|
605
|
+
--amplify-components-button-link-border-width: var(--amplify-space-zero);
|
|
606
|
+
--amplify-components-button-menu-border-width: var(--amplify-space-zero);
|
|
607
607
|
--amplify-components-button-primary-border-width: var(--amplify-border-widths-small);
|
|
608
608
|
--amplify-components-button-border-style: var(--amplify-components-fieldcontrol-border-style);
|
|
609
609
|
--amplify-components-button-font-weight: 700;
|
|
@@ -671,7 +671,6 @@
|
|
|
671
671
|
--amplify-components-switchfield-track-background-color: var(--amplify-colors-background-tertiary);
|
|
672
672
|
--amplify-components-switchfield-thumb-border-color: var(--amplify-colors-border-tertiary);
|
|
673
673
|
--amplify-components-switchfield-thumb-background-color: var(--amplify-colors-background-primary);
|
|
674
|
-
--amplify-components-switchfield-focused-shadow: var(--amplify-shadows-small);
|
|
675
674
|
--amplify-components-sliderfield-thumb-hover-background-color: var(--amplify-colors-background-primary);
|
|
676
675
|
--amplify-components-sliderfield-thumb-border-color: var(--amplify-colors-border-primary);
|
|
677
676
|
--amplify-components-sliderfield-thumb-box-shadow: var(--amplify-shadows-small);
|
|
@@ -699,7 +698,7 @@
|
|
|
699
698
|
--amplify-components-fieldmessages-error-color: var(--amplify-colors-font-error);
|
|
700
699
|
--amplify-components-fieldcontrol-error-focus-box-shadow: 0px 0px 0px 1px var(--amplify-colors-border-error);
|
|
701
700
|
--amplify-components-fieldcontrol-error-border-color: var(--amplify-colors-border-error);
|
|
702
|
-
--amplify-components-fieldcontrol-quiet-error-focus-box-shadow: 0px 1px var(--amplify-colors-border-error);
|
|
701
|
+
--amplify-components-fieldcontrol-quiet-error-focus-box-shadow: 0px 1px 0px var(--amplify-colors-border-error);
|
|
703
702
|
--amplify-components-fieldcontrol-quiet-error-border-block-end-color: var(--amplify-colors-border-error);
|
|
704
703
|
--amplify-components-fieldcontrol-large-font-size: var(--amplify-components-field-large-font-size);
|
|
705
704
|
--amplify-components-fieldcontrol-small-font-size: var(--amplify-components-field-small-font-size);
|
|
@@ -799,6 +798,7 @@
|
|
|
799
798
|
--amplify-components-tabs-item-active-color: var(--amplify-colors-font-interactive);
|
|
800
799
|
--amplify-components-tabs-item-focus-color: var(--amplify-colors-font-focus);
|
|
801
800
|
--amplify-components-tabs-item-hover-color: var(--amplify-colors-font-hover);
|
|
801
|
+
--amplify-components-switchfield-focused-shadow: 0px 0px 0px 2px var(--amplify-colors-border-focus);
|
|
802
802
|
--amplify-components-sliderfield-thumb-focus-box-shadow: 0 0 0 3px var(--amplify-colors-border-focus);
|
|
803
803
|
--amplify-components-sliderfield-thumb-hover-border-color: var(--amplify-colors-border-focus);
|
|
804
804
|
--amplify-components-sliderfield-thumb-disabled-background-color: var(--amplify-colors-background-disabled);
|
|
@@ -818,7 +818,7 @@
|
|
|
818
818
|
--amplify-components-fieldcontrol-disabled-color: var(--amplify-colors-font-disabled);
|
|
819
819
|
--amplify-components-fieldcontrol-focus-box-shadow: 0px 0px 0px 1px var(--amplify-colors-border-focus);
|
|
820
820
|
--amplify-components-fieldcontrol-focus-border-color: var(--amplify-colors-border-focus);
|
|
821
|
-
--amplify-components-fieldcontrol-quiet-focus-box-shadow: 0px 1px var(--amplify-colors-border-focus);
|
|
821
|
+
--amplify-components-fieldcontrol-quiet-focus-box-shadow: 0px 1px 0px var(--amplify-colors-border-focus);
|
|
822
822
|
--amplify-components-fieldcontrol-quiet-focus-border-block-end-color: var(--amplify-colors-border-focus);
|
|
823
823
|
--amplify-components-expander-item-focus-box-shadow: 0 0 0 2px var(--amplify-colors-border-focus);
|
|
824
824
|
--amplify-components-checkbox-label-disabled-color: var(--amplify-colors-font-disabled);
|
|
@@ -1535,6 +1535,7 @@ h6.amplify-heading {
|
|
|
1535
1535
|
|
|
1536
1536
|
/* Center by default */
|
|
1537
1537
|
[data-amplify-authenticator][data-variation=modal] {
|
|
1538
|
+
overflow-y: auto;
|
|
1538
1539
|
display: grid;
|
|
1539
1540
|
width: var(--amplify-components-authenticator-modal-width);
|
|
1540
1541
|
height: var(--amplify-components-authenticator-modal-height);
|
package/dist/theme.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 21 Apr 2022 22:58:20 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root, [data-amplify-theme] {
|
|
@@ -245,7 +245,6 @@
|
|
|
245
245
|
--amplify-components-menu-item-min-height: 2.5rem;
|
|
246
246
|
--amplify-components-menu-min-width: 14rem;
|
|
247
247
|
--amplify-components-menu-max-width: 30rem;
|
|
248
|
-
--amplify-components-menu-gap: 0;
|
|
249
248
|
--amplify-components-menu-flex-direction: column;
|
|
250
249
|
--amplify-components-menu-border-style: solid;
|
|
251
250
|
--amplify-components-loader-linear-animation-duration: 1s;
|
|
@@ -267,7 +266,6 @@
|
|
|
267
266
|
--amplify-components-fieldmessages-description-font-style: italic;
|
|
268
267
|
--amplify-components-fieldgroup-outer-align-items: center;
|
|
269
268
|
--amplify-components-fieldgroup-vertical-align-items: center;
|
|
270
|
-
--amplify-components-fieldgroup-gap: 0;
|
|
271
269
|
--amplify-components-fieldcontrol-disabled-cursor: not-allowed;
|
|
272
270
|
--amplify-components-fieldcontrol-quiet-border-radius: 0;
|
|
273
271
|
--amplify-components-fieldcontrol-quiet-border-block-start: none;
|
|
@@ -286,7 +284,6 @@
|
|
|
286
284
|
--amplify-components-expander-width: 100%;
|
|
287
285
|
--amplify-components-expander-display: block;
|
|
288
286
|
--amplify-components-divider-border-style: solid;
|
|
289
|
-
--amplify-components-countrycodeselect-height: 100%;
|
|
290
287
|
--amplify-components-checkboxfield-justify-content: center;
|
|
291
288
|
--amplify-components-checkboxfield-flex-direction: column;
|
|
292
289
|
--amplify-components-checkboxfield-align-content: center;
|
|
@@ -323,12 +320,10 @@
|
|
|
323
320
|
--amplify-components-button-link-active-border-color: transparent;
|
|
324
321
|
--amplify-components-button-link-focus-border-color: transparent;
|
|
325
322
|
--amplify-components-button-link-hover-border-color: transparent;
|
|
326
|
-
--amplify-components-button-link-background-color: transparent;
|
|
327
323
|
--amplify-components-button-link-border-color: transparent;
|
|
328
|
-
--amplify-components-button-link-
|
|
324
|
+
--amplify-components-button-link-background-color: transparent;
|
|
329
325
|
--amplify-components-button-menu-justify-content: start;
|
|
330
326
|
--amplify-components-button-menu-background-color: transparent;
|
|
331
|
-
--amplify-components-button-menu-border-width: 0;
|
|
332
327
|
--amplify-components-button-primary-active-border-color: transparent;
|
|
333
328
|
--amplify-components-button-primary-focus-border-color: transparent;
|
|
334
329
|
--amplify-components-button-primary-hover-border-color: transparent;
|
|
@@ -488,6 +483,7 @@
|
|
|
488
483
|
--amplify-components-menu-large-width: var(--amplify-font-sizes-xxxl);
|
|
489
484
|
--amplify-components-menu-small-height: var(--amplify-font-sizes-medium);
|
|
490
485
|
--amplify-components-menu-small-width: var(--amplify-font-sizes-medium);
|
|
486
|
+
--amplify-components-menu-gap: var(--amplify-space-zero);
|
|
491
487
|
--amplify-components-menu-border-width: var(--amplify-border-widths-small);
|
|
492
488
|
--amplify-components-menu-border-radius: var(--amplify-radii-medium);
|
|
493
489
|
--amplify-components-menu-background-color: var(--amplify-colors-white);
|
|
@@ -526,6 +522,7 @@
|
|
|
526
522
|
--amplify-components-flex-gap: var(--amplify-space-medium);
|
|
527
523
|
--amplify-components-fieldmessages-description-font-size: var(--amplify-font-sizes-small);
|
|
528
524
|
--amplify-components-fieldmessages-error-font-size: var(--amplify-font-sizes-small);
|
|
525
|
+
--amplify-components-fieldgroup-gap: var(--amplify-space-zero);
|
|
529
526
|
--amplify-components-fieldcontrol-disabled-border-color: var(--amplify-colors-transparent);
|
|
530
527
|
--amplify-components-fieldcontrol-quiet-border-block-end: var(--amplify-border-widths-small) solid var(--amplify-colors-border-primary);
|
|
531
528
|
--amplify-components-fieldcontrol-large-padding-inline-end: var(--amplify-space-medium);
|
|
@@ -580,6 +577,7 @@
|
|
|
580
577
|
--amplify-components-divider-label-font-size: var(--amplify-font-sizes-small);
|
|
581
578
|
--amplify-components-divider-label-padding-inline: var(--amplify-space-medium);
|
|
582
579
|
--amplify-components-divider-border-width: var(--amplify-border-widths-medium);
|
|
580
|
+
--amplify-components-countrycodeselect-height: var(--amplify-space-relative-full);
|
|
583
581
|
--amplify-components-copy-tool-tip-font-size: var(--amplify-font-sizes-xxs);
|
|
584
582
|
--amplify-components-copy-tool-tip-color: var(--amplify-colors-teal-100);
|
|
585
583
|
--amplify-components-copy-tool-tip-bottom: var(--amplify-space-large);
|
|
@@ -602,6 +600,8 @@
|
|
|
602
600
|
--amplify-components-card-padding: var(--amplify-space-medium);
|
|
603
601
|
--amplify-components-card-border-radius: var(--amplify-radii-xs);
|
|
604
602
|
--amplify-components-button-loader-wrapper-gap: var(--amplify-space-xs);
|
|
603
|
+
--amplify-components-button-link-border-width: var(--amplify-space-zero);
|
|
604
|
+
--amplify-components-button-menu-border-width: var(--amplify-space-zero);
|
|
605
605
|
--amplify-components-button-primary-border-width: var(--amplify-border-widths-small);
|
|
606
606
|
--amplify-components-button-border-style: var(--amplify-components-fieldcontrol-border-style);
|
|
607
607
|
--amplify-components-button-font-weight: 700;
|
|
@@ -669,7 +669,6 @@
|
|
|
669
669
|
--amplify-components-switchfield-track-background-color: var(--amplify-colors-background-tertiary);
|
|
670
670
|
--amplify-components-switchfield-thumb-border-color: var(--amplify-colors-border-tertiary);
|
|
671
671
|
--amplify-components-switchfield-thumb-background-color: var(--amplify-colors-background-primary);
|
|
672
|
-
--amplify-components-switchfield-focused-shadow: var(--amplify-shadows-small);
|
|
673
672
|
--amplify-components-sliderfield-thumb-hover-background-color: var(--amplify-colors-background-primary);
|
|
674
673
|
--amplify-components-sliderfield-thumb-border-color: var(--amplify-colors-border-primary);
|
|
675
674
|
--amplify-components-sliderfield-thumb-box-shadow: var(--amplify-shadows-small);
|
|
@@ -697,7 +696,7 @@
|
|
|
697
696
|
--amplify-components-fieldmessages-error-color: var(--amplify-colors-font-error);
|
|
698
697
|
--amplify-components-fieldcontrol-error-focus-box-shadow: 0px 0px 0px 1px var(--amplify-colors-border-error);
|
|
699
698
|
--amplify-components-fieldcontrol-error-border-color: var(--amplify-colors-border-error);
|
|
700
|
-
--amplify-components-fieldcontrol-quiet-error-focus-box-shadow: 0px 1px
|
|
699
|
+
--amplify-components-fieldcontrol-quiet-error-focus-box-shadow: 0px 1px 0px var(--amplify-colors-border-error);
|
|
701
700
|
--amplify-components-fieldcontrol-quiet-error-border-block-end-color: var(--amplify-colors-border-error);
|
|
702
701
|
--amplify-components-fieldcontrol-large-font-size: var(--amplify-components-field-large-font-size);
|
|
703
702
|
--amplify-components-fieldcontrol-small-font-size: var(--amplify-components-field-small-font-size);
|
|
@@ -797,6 +796,7 @@
|
|
|
797
796
|
--amplify-components-tabs-item-active-color: var(--amplify-colors-font-interactive);
|
|
798
797
|
--amplify-components-tabs-item-focus-color: var(--amplify-colors-font-focus);
|
|
799
798
|
--amplify-components-tabs-item-hover-color: var(--amplify-colors-font-hover);
|
|
799
|
+
--amplify-components-switchfield-focused-shadow: 0px 0px 0px 2px var(--amplify-colors-border-focus);
|
|
800
800
|
--amplify-components-sliderfield-thumb-focus-box-shadow: 0 0 0 3px var(--amplify-colors-border-focus);
|
|
801
801
|
--amplify-components-sliderfield-thumb-hover-border-color: var(--amplify-colors-border-focus);
|
|
802
802
|
--amplify-components-sliderfield-thumb-disabled-background-color: var(--amplify-colors-background-disabled);
|
|
@@ -816,7 +816,7 @@
|
|
|
816
816
|
--amplify-components-fieldcontrol-disabled-color: var(--amplify-colors-font-disabled);
|
|
817
817
|
--amplify-components-fieldcontrol-focus-box-shadow: 0px 0px 0px 1px var(--amplify-colors-border-focus);
|
|
818
818
|
--amplify-components-fieldcontrol-focus-border-color: var(--amplify-colors-border-focus);
|
|
819
|
-
--amplify-components-fieldcontrol-quiet-focus-box-shadow: 0px 1px
|
|
819
|
+
--amplify-components-fieldcontrol-quiet-focus-box-shadow: 0px 1px 0px var(--amplify-colors-border-focus);
|
|
820
820
|
--amplify-components-fieldcontrol-quiet-focus-border-block-end-color: var(--amplify-colors-border-focus);
|
|
821
821
|
--amplify-components-expander-item-focus-box-shadow: 0 0 0 2px var(--amplify-colors-border-focus);
|
|
822
822
|
--amplify-components-checkbox-label-disabled-color: var(--amplify-colors-font-disabled);
|
|
@@ -1,65 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
icon:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
fontWeight: {
|
|
30
|
-
value: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
info: {
|
|
34
|
-
color: {
|
|
35
|
-
value: string;
|
|
36
|
-
};
|
|
37
|
-
backgroundColor: {
|
|
38
|
-
value: string;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
error: {
|
|
42
|
-
color: {
|
|
43
|
-
value: string;
|
|
44
|
-
};
|
|
45
|
-
backgroundColor: {
|
|
46
|
-
value: string;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
warning: {
|
|
50
|
-
color: {
|
|
51
|
-
value: string;
|
|
52
|
-
};
|
|
53
|
-
backgroundColor: {
|
|
54
|
-
value: string;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
success: {
|
|
58
|
-
color: {
|
|
59
|
-
value: string;
|
|
60
|
-
};
|
|
61
|
-
backgroundColor: {
|
|
62
|
-
value: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
};
|
|
1
|
+
import { AlignItemsValue, BackgroundColorValue, ColorValue, DesignToken, FontSizeValue, FontWeightValue, JustifyContentValue, SpaceValue } from '../types/designToken';
|
|
2
|
+
interface AlertVariationTokens {
|
|
3
|
+
color: DesignToken<ColorValue>;
|
|
4
|
+
backgroundColor: DesignToken<BackgroundColorValue>;
|
|
5
|
+
}
|
|
6
|
+
interface AlertIconTokens {
|
|
7
|
+
size: DesignToken<FontSizeValue>;
|
|
8
|
+
}
|
|
9
|
+
interface AlertHeadingTokens {
|
|
10
|
+
fontSize: DesignToken<FontSizeValue>;
|
|
11
|
+
fontWeight: DesignToken<FontWeightValue>;
|
|
12
|
+
}
|
|
13
|
+
export interface AlertTokens {
|
|
14
|
+
alignItems: DesignToken<AlignItemsValue>;
|
|
15
|
+
justifyContent: DesignToken<JustifyContentValue>;
|
|
16
|
+
color: DesignToken<ColorValue>;
|
|
17
|
+
backgroundColor: DesignToken<BackgroundColorValue>;
|
|
18
|
+
paddingBlock: DesignToken<SpaceValue>;
|
|
19
|
+
paddingInline: DesignToken<SpaceValue>;
|
|
20
|
+
icon: AlertIconTokens;
|
|
21
|
+
heading: AlertHeadingTokens;
|
|
22
|
+
info: AlertVariationTokens;
|
|
23
|
+
error: AlertVariationTokens;
|
|
24
|
+
warning: AlertVariationTokens;
|
|
25
|
+
success: AlertVariationTokens;
|
|
26
|
+
}
|
|
27
|
+
export declare const alert: AlertTokens;
|
|
28
|
+
export {};
|
|
@@ -1,71 +1,47 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
};
|
|
49
|
-
form: {
|
|
50
|
-
padding: {
|
|
51
|
-
value: string;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
state: {
|
|
55
|
-
inactive: {
|
|
56
|
-
backgroundColor: {
|
|
57
|
-
value: string;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
orContainer: {
|
|
62
|
-
color: {
|
|
63
|
-
value: string;
|
|
64
|
-
};
|
|
65
|
-
orLine: {
|
|
66
|
-
backgroundColor: {
|
|
67
|
-
value: string;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
};
|
|
1
|
+
import { DesignToken, ColorValue, SpaceValue, BorderWidthValue, BorderColorValue, BackgroundColorValue, BorderStyleValue, BoxShadowValue } from '../types/designToken';
|
|
2
|
+
interface AuthenticatorModalTokens {
|
|
3
|
+
width: DesignToken<SpaceValue>;
|
|
4
|
+
height: DesignToken<SpaceValue>;
|
|
5
|
+
backgroundColor: DesignToken<BackgroundColorValue>;
|
|
6
|
+
top: DesignToken<SpaceValue>;
|
|
7
|
+
left: DesignToken<SpaceValue>;
|
|
8
|
+
}
|
|
9
|
+
interface AuthenticatorRouterTokens {
|
|
10
|
+
borderWidth: DesignToken<BorderWidthValue>;
|
|
11
|
+
borderStyle: DesignToken<BorderStyleValue>;
|
|
12
|
+
borderColor: DesignToken<BorderColorValue>;
|
|
13
|
+
backgroundColor: DesignToken<BackgroundColorValue>;
|
|
14
|
+
boxShadow: DesignToken<BoxShadowValue>;
|
|
15
|
+
}
|
|
16
|
+
interface AuthenticatorFooterTokens {
|
|
17
|
+
paddingBottom: DesignToken<SpaceValue>;
|
|
18
|
+
}
|
|
19
|
+
interface AuthenticatorFormTokens {
|
|
20
|
+
padding: DesignToken<SpaceValue>;
|
|
21
|
+
}
|
|
22
|
+
interface AuthenticatorStateTokens {
|
|
23
|
+
inactive: {
|
|
24
|
+
backgroundColor: DesignToken<BackgroundColorValue>;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
interface AuthenticatorOrContainerTokens {
|
|
28
|
+
color: DesignToken<ColorValue>;
|
|
29
|
+
orLine: {
|
|
30
|
+
backgroundColor: DesignToken<BackgroundColorValue>;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
interface AuthenticatorContainerToken {
|
|
34
|
+
widthMax: DesignToken<SpaceValue>;
|
|
35
|
+
}
|
|
36
|
+
export interface AuthenticatorTokens {
|
|
37
|
+
maxWidth: DesignToken<SpaceValue>;
|
|
38
|
+
modal: AuthenticatorModalTokens;
|
|
39
|
+
container: AuthenticatorContainerToken;
|
|
40
|
+
router: AuthenticatorRouterTokens;
|
|
41
|
+
footer: AuthenticatorFooterTokens;
|
|
42
|
+
form: AuthenticatorFormTokens;
|
|
43
|
+
state: AuthenticatorStateTokens;
|
|
44
|
+
orContainer: AuthenticatorOrContainerTokens;
|
|
45
|
+
}
|
|
46
|
+
export declare const authenticator: AuthenticatorTokens;
|
|
47
|
+
export {};
|
|
@@ -1,83 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
color: {
|
|
31
|
-
value: string;
|
|
32
|
-
};
|
|
33
|
-
backgroundColor: {
|
|
34
|
-
value: string;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
warning: {
|
|
38
|
-
color: {
|
|
39
|
-
value: string;
|
|
40
|
-
};
|
|
41
|
-
backgroundColor: {
|
|
42
|
-
value: string;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
success: {
|
|
46
|
-
color: {
|
|
47
|
-
value: string;
|
|
48
|
-
};
|
|
49
|
-
backgroundColor: {
|
|
50
|
-
value: string;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
error: {
|
|
54
|
-
color: {
|
|
55
|
-
value: string;
|
|
56
|
-
};
|
|
57
|
-
backgroundColor: {
|
|
58
|
-
value: string;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
small: {
|
|
62
|
-
fontSize: {
|
|
63
|
-
value: string;
|
|
64
|
-
};
|
|
65
|
-
paddingVertical: {
|
|
66
|
-
value: string;
|
|
67
|
-
};
|
|
68
|
-
paddingHorizontal: {
|
|
69
|
-
value: string;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
large: {
|
|
73
|
-
fontSize: {
|
|
74
|
-
value: string;
|
|
75
|
-
};
|
|
76
|
-
paddingVertical: {
|
|
77
|
-
value: string;
|
|
78
|
-
};
|
|
79
|
-
paddingHorizontal: {
|
|
80
|
-
value: string;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
};
|
|
1
|
+
import { BackgroundColorValue, ColorValue, DesignToken, FontSizeValue, FontWeightValue, LineHeightValue, RadiusValue, SpaceValue, TextAlignValue } from '../types/designToken';
|
|
2
|
+
interface BadgeVariationTokens {
|
|
3
|
+
backgroundColor: DesignToken<BackgroundColorValue>;
|
|
4
|
+
color: DesignToken<ColorValue>;
|
|
5
|
+
}
|
|
6
|
+
interface BadgeSizeTokens {
|
|
7
|
+
fontSize: DesignToken<FontSizeValue>;
|
|
8
|
+
paddingHorizontal: DesignToken<SpaceValue>;
|
|
9
|
+
paddingVertical: DesignToken<SpaceValue>;
|
|
10
|
+
}
|
|
11
|
+
export interface BadgeTokens {
|
|
12
|
+
backgroundColor: DesignToken<BackgroundColorValue>;
|
|
13
|
+
borderRadius: DesignToken<RadiusValue>;
|
|
14
|
+
color: DesignToken<ColorValue>;
|
|
15
|
+
error: BadgeVariationTokens;
|
|
16
|
+
fontSize: DesignToken<FontSizeValue>;
|
|
17
|
+
fontWeight: DesignToken<FontWeightValue>;
|
|
18
|
+
info: BadgeVariationTokens;
|
|
19
|
+
large: BadgeSizeTokens;
|
|
20
|
+
lineHeight: DesignToken<LineHeightValue>;
|
|
21
|
+
paddingHorizontal: DesignToken<SpaceValue>;
|
|
22
|
+
paddingVertical: DesignToken<SpaceValue>;
|
|
23
|
+
small: BadgeSizeTokens;
|
|
24
|
+
success: BadgeVariationTokens;
|
|
25
|
+
textAlign: DesignToken<TextAlignValue>;
|
|
26
|
+
warning: BadgeVariationTokens;
|
|
27
|
+
}
|
|
28
|
+
export declare const badge: BadgeTokens;
|
|
29
|
+
export {};
|