@aws-amplify/ui 3.6.2 → 3.6.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.
Files changed (53) hide show
  1. package/dist/esm/machines/authenticator/index.js +1 -1
  2. package/dist/esm/theme/tokens/components/button.js +1 -1
  3. package/dist/esm/theme/tokens/components/countryCodeSelect.js +1 -1
  4. package/dist/esm/theme/tokens/components/fieldControl.js +1 -1
  5. package/dist/esm/theme/tokens/components/fieldGroup.js +1 -1
  6. package/dist/esm/theme/tokens/components/index.js +1 -1
  7. package/dist/esm/theme/tokens/components/menu.js +1 -1
  8. package/dist/index.js +1 -1
  9. package/dist/styles.css +9 -9
  10. package/dist/theme.css +9 -9
  11. package/dist/types/theme/tokens/components/alert.d.ts +28 -65
  12. package/dist/types/theme/tokens/components/authenticator.d.ts +47 -71
  13. package/dist/types/theme/tokens/components/badge.d.ts +29 -83
  14. package/dist/types/theme/tokens/components/button.d.ts +81 -326
  15. package/dist/types/theme/tokens/components/card.d.ts +15 -62
  16. package/dist/types/theme/tokens/components/checkbox.d.ts +75 -140
  17. package/dist/types/theme/tokens/components/checkboxField.d.ts +8 -14
  18. package/dist/types/theme/tokens/components/copy.d.ts +20 -26
  19. package/dist/types/theme/tokens/components/countryCodeSelect.d.ts +5 -5
  20. package/dist/types/theme/tokens/components/divider.d.ts +21 -38
  21. package/dist/types/theme/tokens/components/expander.d.ts +69 -135
  22. package/dist/types/theme/tokens/components/field.d.ts +17 -29
  23. package/dist/types/theme/tokens/components/fieldControl.d.ts +72 -174
  24. package/dist/types/theme/tokens/components/fieldGroup.d.ts +14 -15
  25. package/dist/types/theme/tokens/components/fieldMessages.d.ts +16 -21
  26. package/dist/types/theme/tokens/components/flex.d.ts +9 -17
  27. package/dist/types/theme/tokens/components/heading.d.ts +17 -56
  28. package/dist/types/theme/tokens/components/icon.d.ts +6 -8
  29. package/dist/types/theme/tokens/components/image.d.ts +8 -14
  30. package/dist/types/theme/tokens/components/index.d.ts +75 -2493
  31. package/dist/types/theme/tokens/components/link.d.ts +18 -35
  32. package/dist/types/theme/tokens/components/loader.d.ts +40 -92
  33. package/dist/types/theme/tokens/components/menu.d.ts +27 -59
  34. package/dist/types/theme/tokens/components/pagination.d.ts +48 -82
  35. package/dist/types/theme/tokens/components/placeholder.d.ts +15 -29
  36. package/dist/types/theme/tokens/components/radio.d.ts +72 -131
  37. package/dist/types/theme/tokens/components/rating.d.ts +19 -27
  38. package/dist/types/theme/tokens/components/select.d.ts +33 -60
  39. package/dist/types/theme/tokens/components/selectField.d.ts +5 -5
  40. package/dist/types/theme/tokens/components/sliderField.d.ts +61 -118
  41. package/dist/types/theme/tokens/components/stepperField.d.ts +10 -10
  42. package/dist/types/theme/tokens/components/switchField.d.ts +53 -78
  43. package/dist/types/theme/tokens/components/table.d.ts +61 -197
  44. package/dist/types/theme/tokens/components/tabs.d.ts +44 -84
  45. package/dist/types/theme/tokens/components/text.d.ts +16 -40
  46. package/dist/types/theme/tokens/components/toggleButton.d.ts +103 -154
  47. package/dist/types/theme/tokens/components/toggleButtonGroup.d.ts +7 -11
  48. package/dist/types/theme/tokens/index.d.ts +2 -1
  49. package/dist/types/theme/tokens/types/designToken.d.ts +41 -5
  50. package/dist/types/types/authenticator/stateMachine/context.d.ts +1 -0
  51. package/package.json +1 -1
  52. package/dist/esm/theme/tokens/components/phoneNumberField.js +0 -1
  53. 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 Mon, 11 Apr 2022 18:40:17 GMT
6
+ * Generated on Wed, 13 Apr 2022 22:17:55 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-border-width: 0;
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;
@@ -699,7 +699,7 @@
699
699
  --amplify-components-fieldmessages-error-color: var(--amplify-colors-font-error);
700
700
  --amplify-components-fieldcontrol-error-focus-box-shadow: 0px 0px 0px 1px var(--amplify-colors-border-error);
701
701
  --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);
702
+ --amplify-components-fieldcontrol-quiet-error-focus-box-shadow: 0px 1px 0px var(--amplify-colors-border-error);
703
703
  --amplify-components-fieldcontrol-quiet-error-border-block-end-color: var(--amplify-colors-border-error);
704
704
  --amplify-components-fieldcontrol-large-font-size: var(--amplify-components-field-large-font-size);
705
705
  --amplify-components-fieldcontrol-small-font-size: var(--amplify-components-field-small-font-size);
@@ -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);
package/dist/theme.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 11 Apr 2022 18:40:17 GMT
3
+ * Generated on Wed, 13 Apr 2022 22:17:55 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-border-width: 0;
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;
@@ -697,7 +697,7 @@
697
697
  --amplify-components-fieldmessages-error-color: var(--amplify-colors-font-error);
698
698
  --amplify-components-fieldcontrol-error-focus-box-shadow: 0px 0px 0px 1px var(--amplify-colors-border-error);
699
699
  --amplify-components-fieldcontrol-error-border-color: var(--amplify-colors-border-error);
700
- --amplify-components-fieldcontrol-quiet-error-focus-box-shadow: 0px 1px var(--amplify-colors-border-error);
700
+ --amplify-components-fieldcontrol-quiet-error-focus-box-shadow: 0px 1px 0px var(--amplify-colors-border-error);
701
701
  --amplify-components-fieldcontrol-quiet-error-border-block-end-color: var(--amplify-colors-border-error);
702
702
  --amplify-components-fieldcontrol-large-font-size: var(--amplify-components-field-large-font-size);
703
703
  --amplify-components-fieldcontrol-small-font-size: var(--amplify-components-field-small-font-size);
@@ -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 var(--amplify-colors-border-focus);
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
- export declare const alert: {
2
- alignItems: {
3
- value: string;
4
- };
5
- justifyContent: {
6
- value: string;
7
- };
8
- color: {
9
- value: string;
10
- };
11
- backgroundColor: {
12
- value: string;
13
- };
14
- paddingBlock: {
15
- value: string;
16
- };
17
- paddingInline: {
18
- value: string;
19
- };
20
- icon: {
21
- size: {
22
- value: string;
23
- };
24
- };
25
- heading: {
26
- fontSize: {
27
- value: string;
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
- export declare const authenticator: {
2
- maxWidth: {
3
- value: string;
4
- };
5
- modal: {
6
- width: {
7
- value: string;
8
- };
9
- height: {
10
- value: string;
11
- };
12
- backgroundColor: {
13
- value: string;
14
- };
15
- top: {
16
- value: string;
17
- };
18
- left: {
19
- value: string;
20
- };
21
- };
22
- container: {
23
- widthMax: {
24
- value: string;
25
- };
26
- };
27
- router: {
28
- borderWidth: {
29
- value: string;
30
- };
31
- borderStyle: {
32
- value: string;
33
- };
34
- borderColor: {
35
- value: string;
36
- };
37
- backgroundColor: {
38
- value: string;
39
- };
40
- boxShadow: {
41
- value: string;
42
- };
43
- };
44
- footer: {
45
- paddingBottom: {
46
- value: string;
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
- export declare const badge: {
2
- color: {
3
- value: string;
4
- };
5
- lineHeight: {
6
- value: number;
7
- };
8
- fontWeight: {
9
- value: string;
10
- };
11
- fontSize: {
12
- value: string;
13
- };
14
- textAlign: {
15
- value: string;
16
- };
17
- paddingVertical: {
18
- value: string;
19
- };
20
- paddingHorizontal: {
21
- value: string;
22
- };
23
- backgroundColor: {
24
- value: string;
25
- };
26
- borderRadius: {
27
- value: string;
28
- };
29
- info: {
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 {};