@salutejs/sdds-cs 0.361.0-next-sbcom.0 → 0.362.0-dev.0
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/beta/cjs/Popover/Popover.closeInner.config.js +11 -10
- package/dist/beta/cjs/Popover/Popover.closeNone.config.js +5 -4
- package/dist/beta/cjs/Tooltip/Tooltip.config.js +16 -15
- package/dist/beta/es/Popover/Popover.closeInner.config.js +11 -10
- package/dist/beta/es/Popover/Popover.closeNone.config.js +5 -4
- package/dist/beta/es/Tooltip/Tooltip.config.js +16 -15
- package/dist/emotion/cjs/components/Accordion/Accordion.config.js +26 -25
- package/dist/emotion/cjs/components/Attach/Attach.config.js +121 -120
- package/dist/emotion/cjs/components/Autocomplete/Autocomplete.config.js +123 -122
- package/dist/emotion/cjs/components/Avatar/Avatar.config.js +32 -31
- package/dist/emotion/cjs/components/Badge/Badge.clear.config.js +5 -4
- package/dist/emotion/cjs/components/Badge/Badge.config.js +17 -16
- package/dist/emotion/cjs/components/Breadcrumbs/Breadcrumbs.config.js +11 -10
- package/dist/emotion/cjs/components/Button/Button.config.js +44 -43
- package/dist/emotion/cjs/components/Button/Button.js +3 -3
- package/dist/emotion/cjs/components/ButtonGroup/ButtonGroup.config.js +39 -38
- package/dist/emotion/cjs/components/Calendar/Calendar.config.js +60 -59
- package/dist/emotion/cjs/components/Calendar/CalendarDouble.config.js +60 -59
- package/dist/emotion/cjs/components/Card/Card.config.js +2 -1
- package/dist/emotion/cjs/components/Carousel/Carousel.config.js +9 -8
- package/dist/emotion/cjs/components/Cell/Cell.config.js +41 -40
- package/dist/emotion/cjs/components/Checkbox/Checkbox.config.js +22 -21
- package/dist/emotion/cjs/components/Chip/Chip.config.js +53 -52
- package/dist/emotion/cjs/components/ChipGroup/ChipGroup.config.js +28 -27
- package/dist/emotion/cjs/components/Combobox/Combobox.config.js +160 -159
- package/dist/emotion/cjs/components/DatePicker/DatePicker.config.js +169 -168
- package/dist/emotion/cjs/components/Divider/Divider.config.js +5 -4
- package/dist/emotion/cjs/components/Drawer/Drawer.config.js +3 -2
- package/dist/emotion/cjs/components/Dropdown/Dropdown.config.js +21 -20
- package/dist/emotion/cjs/components/EmptyState/EmptyState.config.js +25 -24
- package/dist/emotion/cjs/components/IconButton/IconButton.config.js +29 -28
- package/dist/emotion/cjs/components/IconButton/IconButton.js +70 -1
- package/dist/emotion/cjs/components/Indicator/Indicator.config.js +8 -7
- package/dist/emotion/cjs/components/Link/Link.config.js +53 -52
- package/dist/emotion/cjs/components/Modal/Modal.config.js +6 -5
- package/dist/emotion/cjs/components/Notification/Notification.config.js +22 -21
- package/dist/emotion/cjs/components/NumberInput/NumberInput.config.js +30 -29
- package/dist/emotion/cjs/components/Pagination/Pagination.config.js +32 -31
- package/dist/emotion/cjs/components/Popover/Popover.config.js +3 -2
- package/dist/emotion/cjs/components/Progress/Progress.config.js +101 -100
- package/dist/emotion/cjs/components/Radiobox/Radiobox.config.js +19 -18
- package/dist/emotion/cjs/components/Range/Range.config.js +70 -69
- package/dist/emotion/cjs/components/Rating/Rating.config.js +33 -32
- package/dist/emotion/cjs/components/Segment/SegmentGroup.config.js +6 -5
- package/dist/emotion/cjs/components/Segment/SegmentItem.config.js +29 -28
- package/dist/emotion/cjs/components/Select/Select.config.js +126 -125
- package/dist/emotion/cjs/components/Sheet/Sheet.config.js +3 -2
- package/dist/emotion/cjs/components/Skeleton/LineSkeleton.config.js +35 -34
- package/dist/emotion/cjs/components/Slider/Slider.config.js +58 -57
- package/dist/emotion/cjs/components/Spinner/Spinner.config.js +8 -7
- package/dist/emotion/cjs/components/Steps/StepItem.config.js +8 -7
- package/dist/emotion/cjs/components/Steps/Steps.config.js +55 -54
- package/dist/emotion/cjs/components/Switch/Switch.config.js +26 -25
- package/dist/emotion/cjs/components/Table/Table.config.js +82 -81
- package/dist/emotion/cjs/components/Tabs/horizontal/HorizontalTabItem.config.js +74 -73
- package/dist/emotion/cjs/components/Tabs/horizontal/HorizontalTabs.config.js +22 -21
- package/dist/emotion/cjs/components/Tabs/vertical/VerticalTabItem.config.js +33 -32
- package/dist/emotion/cjs/components/Tabs/vertical/VerticalTabs.config.js +14 -13
- package/dist/emotion/cjs/components/TextArea/TextArea.clear.config.js +131 -130
- package/dist/emotion/cjs/components/TextArea/TextArea.config.js +160 -159
- package/dist/emotion/cjs/components/TextField/TextField.clear.config.js +119 -118
- package/dist/emotion/cjs/components/TextField/TextField.config.js +167 -166
- package/dist/emotion/cjs/components/TimePicker/TimePicker.config.js +79 -78
- package/dist/emotion/cjs/components/Toast/Toast.config.js +19 -18
- package/dist/emotion/cjs/components/ToastNew/ToastNew.config.js +11 -10
- package/dist/emotion/cjs/components/Tooltip/Tooltip.config.js +13 -12
- package/dist/emotion/cjs/components/Tour/Tour.config.js +2 -1
- package/dist/emotion/cjs/components/Tree/Tree.config.js +22 -21
- package/dist/emotion/cjs/components/Typography/Body.config.js +41 -40
- package/dist/emotion/cjs/components/Typography/Dspl.config.js +25 -24
- package/dist/emotion/cjs/components/Typography/Heading.config.js +41 -40
- package/dist/emotion/cjs/components/Typography/Text.config.js +33 -32
- package/dist/emotion/es/components/Accordion/Accordion.config.js +26 -25
- package/dist/emotion/es/components/Attach/Attach.config.js +121 -120
- package/dist/emotion/es/components/Autocomplete/Autocomplete.config.js +123 -122
- package/dist/emotion/es/components/Avatar/Avatar.config.js +32 -31
- package/dist/emotion/es/components/Badge/Badge.clear.config.js +5 -4
- package/dist/emotion/es/components/Badge/Badge.config.js +17 -16
- package/dist/emotion/es/components/Breadcrumbs/Breadcrumbs.config.js +11 -10
- package/dist/emotion/es/components/Button/Button.config.js +44 -43
- package/dist/emotion/es/components/Button/Button.js +3 -3
- package/dist/emotion/es/components/ButtonGroup/ButtonGroup.config.js +39 -38
- package/dist/emotion/es/components/Calendar/Calendar.config.js +60 -59
- package/dist/emotion/es/components/Calendar/CalendarDouble.config.js +60 -59
- package/dist/emotion/es/components/Card/Card.config.js +2 -1
- package/dist/emotion/es/components/Carousel/Carousel.config.js +9 -8
- package/dist/emotion/es/components/Cell/Cell.config.js +41 -40
- package/dist/emotion/es/components/Checkbox/Checkbox.config.js +22 -21
- package/dist/emotion/es/components/Chip/Chip.config.js +53 -52
- package/dist/emotion/es/components/ChipGroup/ChipGroup.config.js +28 -27
- package/dist/emotion/es/components/Combobox/Combobox.config.js +160 -159
- package/dist/emotion/es/components/DatePicker/DatePicker.config.js +169 -168
- package/dist/emotion/es/components/Divider/Divider.config.js +5 -4
- package/dist/emotion/es/components/Drawer/Drawer.config.js +3 -2
- package/dist/emotion/es/components/Dropdown/Dropdown.config.js +21 -20
- package/dist/emotion/es/components/EmptyState/EmptyState.config.js +25 -24
- package/dist/emotion/es/components/IconButton/IconButton.config.js +29 -28
- package/dist/emotion/es/components/IconButton/IconButton.js +25 -2
- package/dist/emotion/es/components/Indicator/Indicator.config.js +8 -7
- package/dist/emotion/es/components/Link/Link.config.js +53 -52
- package/dist/emotion/es/components/Modal/Modal.config.js +6 -5
- package/dist/emotion/es/components/Notification/Notification.config.js +22 -21
- package/dist/emotion/es/components/NumberInput/NumberInput.config.js +30 -29
- package/dist/emotion/es/components/Pagination/Pagination.config.js +32 -31
- package/dist/emotion/es/components/Popover/Popover.config.js +3 -2
- package/dist/emotion/es/components/Progress/Progress.config.js +101 -100
- package/dist/emotion/es/components/Radiobox/Radiobox.config.js +19 -18
- package/dist/emotion/es/components/Range/Range.config.js +70 -69
- package/dist/emotion/es/components/Rating/Rating.config.js +33 -32
- package/dist/emotion/es/components/Segment/SegmentGroup.config.js +6 -5
- package/dist/emotion/es/components/Segment/SegmentItem.config.js +29 -28
- package/dist/emotion/es/components/Select/Select.config.js +126 -125
- package/dist/emotion/es/components/Sheet/Sheet.config.js +3 -2
- package/dist/emotion/es/components/Skeleton/LineSkeleton.config.js +35 -34
- package/dist/emotion/es/components/Slider/Slider.config.js +58 -57
- package/dist/emotion/es/components/Spinner/Spinner.config.js +8 -7
- package/dist/emotion/es/components/Steps/StepItem.config.js +8 -7
- package/dist/emotion/es/components/Steps/Steps.config.js +55 -54
- package/dist/emotion/es/components/Switch/Switch.config.js +26 -25
- package/dist/emotion/es/components/Table/Table.config.js +82 -81
- package/dist/emotion/es/components/Tabs/horizontal/HorizontalTabItem.config.js +74 -73
- package/dist/emotion/es/components/Tabs/horizontal/HorizontalTabs.config.js +22 -21
- package/dist/emotion/es/components/Tabs/vertical/VerticalTabItem.config.js +33 -32
- package/dist/emotion/es/components/Tabs/vertical/VerticalTabs.config.js +14 -13
- package/dist/emotion/es/components/TextArea/TextArea.clear.config.js +131 -130
- package/dist/emotion/es/components/TextArea/TextArea.config.js +160 -159
- package/dist/emotion/es/components/TextField/TextField.clear.config.js +119 -118
- package/dist/emotion/es/components/TextField/TextField.config.js +167 -166
- package/dist/emotion/es/components/TimePicker/TimePicker.config.js +79 -78
- package/dist/emotion/es/components/Toast/Toast.config.js +19 -18
- package/dist/emotion/es/components/ToastNew/ToastNew.config.js +11 -10
- package/dist/emotion/es/components/Tooltip/Tooltip.config.js +13 -12
- package/dist/emotion/es/components/Tour/Tour.config.js +2 -1
- package/dist/emotion/es/components/Tree/Tree.config.js +22 -21
- package/dist/emotion/es/components/Typography/Body.config.js +41 -40
- package/dist/emotion/es/components/Typography/Dspl.config.js +25 -24
- package/dist/emotion/es/components/Typography/Heading.config.js +41 -40
- package/dist/emotion/es/components/Typography/Text.config.js +33 -32
- package/package.json +8 -8
- package/types/components/Autocomplete/Autocomplete.d.ts +8 -0
- package/types/components/Avatar/Avatar.d.ts +4 -4
- package/types/components/Combobox/Combobox.d.ts +8 -0
- package/types/components/DatePicker/DatePicker.d.ts +2 -0
- package/types/components/IconButton/IconButton.d.ts +28 -11
- package/types/components/Mask/Mask.d.ts +16 -0
- package/types/components/Rating/Rating.d.ts +1 -0
- package/types/components/Select/Select.d.ts +16 -0
- package/types/components/TextField/TextField.d.ts +32 -0
- package/types/components/TimePicker/TimePicker.d.ts +2 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bodyM, bodyMBold, bodyS, bodySBold, bodyXS, bodyXSBold, onDarkTextPrimary, onLightTextAccentMinor, surfaceAccent, surfaceAccentActive, surfaceAccentHover, surfaceClear, surfaceSolidPrimary, surfaceSolidPrimaryActive, surfaceSolidPrimaryHover, surfaceTransparentAccent, textAccent, textAccentActive, textAccentMinor, textNegative, textPrimary, textSecondary, textSecondaryActive, textSecondaryHover } from '@salutejs/sdds-themes/tokens/sdds_cs';
|
|
1
2
|
import { css, attachTokens } from '@salutejs/plasma-new-hope/emotion';
|
|
2
3
|
export const config = {
|
|
3
4
|
defaults: {
|
|
@@ -9,135 +10,135 @@ export const config = {
|
|
|
9
10
|
variations: {
|
|
10
11
|
view: {
|
|
11
12
|
accent: css`
|
|
12
|
-
${attachTokens.buttonColor}:
|
|
13
|
-
${attachTokens.buttonValueColor}:
|
|
14
|
-
${attachTokens.buttonBackgroundColor}:
|
|
13
|
+
${attachTokens.buttonColor}: ${onDarkTextPrimary};
|
|
14
|
+
${attachTokens.buttonValueColor}: ${onLightTextAccentMinor};
|
|
15
|
+
${attachTokens.buttonBackgroundColor}: ${surfaceAccent};
|
|
15
16
|
${attachTokens.buttonLoadingBackgroundColor}: var(${attachTokens.buttonBackgroundColor});
|
|
16
|
-
${attachTokens.buttonColorHover}:
|
|
17
|
-
${attachTokens.buttonBackgroundColorHover}:
|
|
18
|
-
${attachTokens.buttonColorActive}:
|
|
19
|
-
${attachTokens.buttonBackgroundColorActive}:
|
|
17
|
+
${attachTokens.buttonColorHover}: ${onDarkTextPrimary};
|
|
18
|
+
${attachTokens.buttonBackgroundColorHover}: ${surfaceAccentHover};
|
|
19
|
+
${attachTokens.buttonColorActive}: ${onDarkTextPrimary};
|
|
20
|
+
${attachTokens.buttonBackgroundColorActive}: ${surfaceAccentActive};
|
|
20
21
|
|
|
21
22
|
${attachTokens.buttonDisabledOpacity}: 0.4;
|
|
22
|
-
${attachTokens.buttonFocusColor}:
|
|
23
|
+
${attachTokens.buttonFocusColor}: ${surfaceAccent};
|
|
23
24
|
|
|
24
|
-
${attachTokens.cellColor}:
|
|
25
|
-
${attachTokens.cellLabelColor}:
|
|
26
|
-
${attachTokens.cellTitleColor}:
|
|
27
|
-
${attachTokens.cellSubtitleColor}:
|
|
25
|
+
${attachTokens.cellColor}: ${textPrimary};
|
|
26
|
+
${attachTokens.cellLabelColor}: ${textSecondary};
|
|
27
|
+
${attachTokens.cellTitleColor}: ${textPrimary};
|
|
28
|
+
${attachTokens.cellSubtitleColor}: ${textSecondary};
|
|
28
29
|
${attachTokens.cellBackgroundColor}: transparent;
|
|
29
30
|
|
|
30
|
-
${attachTokens.iconButtonColor}:
|
|
31
|
-
${attachTokens.iconButtonBackgroundColor}:
|
|
31
|
+
${attachTokens.iconButtonColor}: ${onDarkTextPrimary};
|
|
32
|
+
${attachTokens.iconButtonBackgroundColor}: ${surfaceAccent};
|
|
32
33
|
${attachTokens.iconButtonLoadingBackgroundColor}: var(${attachTokens.iconButtonBackgroundColor});
|
|
33
|
-
${attachTokens.iconButtonColorHover}:
|
|
34
|
-
${attachTokens.iconButtonBackgroundColorHover}:
|
|
35
|
-
${attachTokens.iconButtonColorActive}:
|
|
36
|
-
${attachTokens.iconButtonBackgroundColorActive}:
|
|
34
|
+
${attachTokens.iconButtonColorHover}: ${onDarkTextPrimary};
|
|
35
|
+
${attachTokens.iconButtonBackgroundColorHover}: ${surfaceAccentHover};
|
|
36
|
+
${attachTokens.iconButtonColorActive}: ${onDarkTextPrimary};
|
|
37
|
+
${attachTokens.iconButtonBackgroundColorActive}: ${surfaceAccentActive};
|
|
37
38
|
|
|
38
39
|
${attachTokens.iconButtonDisabledOpacity}: 0.4;
|
|
39
|
-
${attachTokens.iconButtonFocusColor}:
|
|
40
|
+
${attachTokens.iconButtonFocusColor}: ${surfaceAccent};
|
|
40
41
|
|
|
41
|
-
${attachTokens.iconButtonCancelColor}:
|
|
42
|
-
${attachTokens.iconButtonCancelBackgroundColor}:
|
|
42
|
+
${attachTokens.iconButtonCancelColor}: ${textSecondary};
|
|
43
|
+
${attachTokens.iconButtonCancelBackgroundColor}: ${surfaceClear};
|
|
43
44
|
${attachTokens.iconButtonCancelLoadingBackgroundColor}: var(${attachTokens.iconButtonCancelBackgroundColor});
|
|
44
|
-
${attachTokens.iconButtonCancelColorHover}:
|
|
45
|
-
${attachTokens.iconButtonCancelBackgroundColorHover}:
|
|
46
|
-
${attachTokens.iconButtonCancelColorActive}:
|
|
47
|
-
${attachTokens.iconButtonCancelBackgroundColorActive}:
|
|
45
|
+
${attachTokens.iconButtonCancelColorHover}: ${textSecondaryHover};
|
|
46
|
+
${attachTokens.iconButtonCancelBackgroundColorHover}: ${surfaceClear};
|
|
47
|
+
${attachTokens.iconButtonCancelColorActive}: ${textSecondaryActive};
|
|
48
|
+
${attachTokens.iconButtonCancelBackgroundColorActive}: ${surfaceClear};
|
|
48
49
|
|
|
49
50
|
${attachTokens.iconButtonCancelDisabledOpacity}: 0.4;
|
|
50
|
-
${attachTokens.iconButtonCancelFocusColor}:
|
|
51
|
+
${attachTokens.iconButtonCancelFocusColor}: ${surfaceAccent};
|
|
51
52
|
`,
|
|
52
53
|
secondary: css`
|
|
53
|
-
${attachTokens.buttonColor}:
|
|
54
|
-
${attachTokens.buttonValueColor}:
|
|
55
|
-
${attachTokens.buttonBackgroundColor}:
|
|
54
|
+
${attachTokens.buttonColor}: ${textAccent};
|
|
55
|
+
${attachTokens.buttonValueColor}: ${textSecondary};
|
|
56
|
+
${attachTokens.buttonBackgroundColor}: ${surfaceSolidPrimary};
|
|
56
57
|
${attachTokens.buttonLoadingBackgroundColor}: var(${attachTokens.buttonBackgroundColor});
|
|
57
|
-
${attachTokens.buttonColorHover}:
|
|
58
|
-
${attachTokens.buttonBackgroundColorHover}:
|
|
59
|
-
${attachTokens.buttonColorActive}:
|
|
60
|
-
${attachTokens.buttonBackgroundColorActive}:
|
|
58
|
+
${attachTokens.buttonColorHover}: ${textAccentMinor};
|
|
59
|
+
${attachTokens.buttonBackgroundColorHover}: ${surfaceSolidPrimaryHover};
|
|
60
|
+
${attachTokens.buttonColorActive}: ${textAccentActive};
|
|
61
|
+
${attachTokens.buttonBackgroundColorActive}: ${surfaceSolidPrimaryActive};
|
|
61
62
|
|
|
62
63
|
${attachTokens.buttonDisabledOpacity}: 0.4;
|
|
63
|
-
${attachTokens.buttonFocusColor}:
|
|
64
|
+
${attachTokens.buttonFocusColor}: ${surfaceAccent};
|
|
64
65
|
|
|
65
|
-
${attachTokens.cellColor}:
|
|
66
|
-
${attachTokens.cellLabelColor}:
|
|
67
|
-
${attachTokens.cellTitleColor}:
|
|
68
|
-
${attachTokens.cellSubtitleColor}:
|
|
66
|
+
${attachTokens.cellColor}: ${textPrimary};
|
|
67
|
+
${attachTokens.cellLabelColor}: ${textSecondary};
|
|
68
|
+
${attachTokens.cellTitleColor}: ${textPrimary};
|
|
69
|
+
${attachTokens.cellSubtitleColor}: ${textSecondary};
|
|
69
70
|
${attachTokens.cellBackgroundColor}: transparent;
|
|
70
71
|
|
|
71
|
-
${attachTokens.iconButtonColor}:
|
|
72
|
-
${attachTokens.iconButtonBackgroundColor}:
|
|
72
|
+
${attachTokens.iconButtonColor}: ${textAccent};
|
|
73
|
+
${attachTokens.iconButtonBackgroundColor}: ${surfaceSolidPrimary};
|
|
73
74
|
${attachTokens.iconButtonLoadingBackgroundColor}: var(${attachTokens.iconButtonBackgroundColor});
|
|
74
|
-
${attachTokens.iconButtonColorHover}:
|
|
75
|
-
${attachTokens.iconButtonBackgroundColorHover}:
|
|
76
|
-
${attachTokens.iconButtonColorActive}:
|
|
77
|
-
${attachTokens.iconButtonBackgroundColorActive}:
|
|
75
|
+
${attachTokens.iconButtonColorHover}: ${textAccentMinor};
|
|
76
|
+
${attachTokens.iconButtonBackgroundColorHover}: ${surfaceSolidPrimaryHover};
|
|
77
|
+
${attachTokens.iconButtonColorActive}: ${textAccentMinor};
|
|
78
|
+
${attachTokens.iconButtonBackgroundColorActive}: ${surfaceSolidPrimaryActive};
|
|
78
79
|
|
|
79
80
|
${attachTokens.iconButtonDisabledOpacity}: 0.4;
|
|
80
|
-
${attachTokens.iconButtonFocusColor}:
|
|
81
|
+
${attachTokens.iconButtonFocusColor}: ${surfaceAccent};
|
|
81
82
|
|
|
82
|
-
${attachTokens.iconButtonCancelColor}:
|
|
83
|
-
${attachTokens.iconButtonCancelBackgroundColor}:
|
|
83
|
+
${attachTokens.iconButtonCancelColor}: ${textSecondary};
|
|
84
|
+
${attachTokens.iconButtonCancelBackgroundColor}: ${surfaceClear};
|
|
84
85
|
${attachTokens.iconButtonCancelLoadingBackgroundColor}: var(${attachTokens.iconButtonCancelBackgroundColor});
|
|
85
|
-
${attachTokens.iconButtonCancelColorHover}:
|
|
86
|
-
${attachTokens.iconButtonCancelBackgroundColorHover}:
|
|
87
|
-
${attachTokens.iconButtonCancelColorActive}:
|
|
88
|
-
${attachTokens.iconButtonCancelBackgroundColorActive}:
|
|
86
|
+
${attachTokens.iconButtonCancelColorHover}: ${textSecondaryHover};
|
|
87
|
+
${attachTokens.iconButtonCancelBackgroundColorHover}: ${surfaceClear};
|
|
88
|
+
${attachTokens.iconButtonCancelColorActive}: ${textSecondaryActive};
|
|
89
|
+
${attachTokens.iconButtonCancelBackgroundColorActive}: ${surfaceClear};
|
|
89
90
|
|
|
90
91
|
${attachTokens.iconButtonCancelDisabledOpacity}: 0.4;
|
|
91
|
-
${attachTokens.iconButtonCancelFocusColor}:
|
|
92
|
+
${attachTokens.iconButtonCancelFocusColor}: ${surfaceAccent};
|
|
92
93
|
`,
|
|
93
94
|
clear: css`
|
|
94
|
-
${attachTokens.buttonColor}:
|
|
95
|
-
${attachTokens.buttonValueColor}:
|
|
96
|
-
${attachTokens.buttonBackgroundColor}:
|
|
97
|
-
${attachTokens.buttonLoadingBackgroundColor}:
|
|
98
|
-
${attachTokens.buttonColorHover}:
|
|
99
|
-
${attachTokens.buttonBackgroundColorHover}:
|
|
100
|
-
${attachTokens.buttonColorActive}:
|
|
101
|
-
${attachTokens.buttonBackgroundColorActive}:
|
|
95
|
+
${attachTokens.buttonColor}: ${textAccent};
|
|
96
|
+
${attachTokens.buttonValueColor}: ${textAccentMinor};
|
|
97
|
+
${attachTokens.buttonBackgroundColor}: ${surfaceClear};
|
|
98
|
+
${attachTokens.buttonLoadingBackgroundColor}: ${surfaceTransparentAccent};
|
|
99
|
+
${attachTokens.buttonColorHover}: ${textAccentMinor};
|
|
100
|
+
${attachTokens.buttonBackgroundColorHover}: ${surfaceTransparentAccent};
|
|
101
|
+
${attachTokens.buttonColorActive}: ${textAccentActive};
|
|
102
|
+
${attachTokens.buttonBackgroundColorActive}: ${surfaceClear};
|
|
102
103
|
|
|
103
104
|
${attachTokens.buttonDisabledOpacity}: 0.4;
|
|
104
|
-
${attachTokens.buttonFocusColor}:
|
|
105
|
+
${attachTokens.buttonFocusColor}: ${surfaceAccent};
|
|
105
106
|
|
|
106
|
-
${attachTokens.cellColor}:
|
|
107
|
-
${attachTokens.cellLabelColor}:
|
|
108
|
-
${attachTokens.cellTitleColor}:
|
|
109
|
-
${attachTokens.cellSubtitleColor}:
|
|
107
|
+
${attachTokens.cellColor}: ${textPrimary};
|
|
108
|
+
${attachTokens.cellLabelColor}: ${textSecondary};
|
|
109
|
+
${attachTokens.cellTitleColor}: ${textPrimary};
|
|
110
|
+
${attachTokens.cellSubtitleColor}: ${textSecondary};
|
|
110
111
|
${attachTokens.cellBackgroundColor}: transparent;
|
|
111
112
|
|
|
112
|
-
${attachTokens.iconButtonColor}:
|
|
113
|
-
${attachTokens.iconButtonBackgroundColor}:
|
|
114
|
-
${attachTokens.iconButtonLoadingBackgroundColor}:
|
|
115
|
-
${attachTokens.iconButtonColorHover}:
|
|
116
|
-
${attachTokens.iconButtonBackgroundColorHover}:
|
|
117
|
-
${attachTokens.iconButtonColorActive}:
|
|
118
|
-
${attachTokens.iconButtonBackgroundColorActive}:
|
|
113
|
+
${attachTokens.iconButtonColor}: ${textAccent};
|
|
114
|
+
${attachTokens.iconButtonBackgroundColor}: ${surfaceClear};
|
|
115
|
+
${attachTokens.iconButtonLoadingBackgroundColor}: ${surfaceTransparentAccent};
|
|
116
|
+
${attachTokens.iconButtonColorHover}: ${textAccentMinor};
|
|
117
|
+
${attachTokens.iconButtonBackgroundColorHover}: ${surfaceTransparentAccent};
|
|
118
|
+
${attachTokens.iconButtonColorActive}: ${textAccentActive};
|
|
119
|
+
${attachTokens.iconButtonBackgroundColorActive}: ${surfaceClear};
|
|
119
120
|
|
|
120
121
|
${attachTokens.iconButtonDisabledOpacity}: 0.4;
|
|
121
|
-
${attachTokens.iconButtonFocusColor}:
|
|
122
|
+
${attachTokens.iconButtonFocusColor}: ${surfaceAccent};
|
|
122
123
|
|
|
123
|
-
${attachTokens.iconButtonCancelColor}:
|
|
124
|
-
${attachTokens.iconButtonCancelBackgroundColor}:
|
|
124
|
+
${attachTokens.iconButtonCancelColor}: ${textSecondary};
|
|
125
|
+
${attachTokens.iconButtonCancelBackgroundColor}: ${surfaceClear};
|
|
125
126
|
${attachTokens.iconButtonCancelLoadingBackgroundColor}: var(${attachTokens.iconButtonCancelBackgroundColor});
|
|
126
|
-
${attachTokens.iconButtonCancelColorHover}:
|
|
127
|
-
${attachTokens.iconButtonCancelBackgroundColorHover}:
|
|
128
|
-
${attachTokens.iconButtonCancelColorActive}:
|
|
129
|
-
${attachTokens.iconButtonCancelBackgroundColorActive}:
|
|
127
|
+
${attachTokens.iconButtonCancelColorHover}: ${textSecondaryHover};
|
|
128
|
+
${attachTokens.iconButtonCancelBackgroundColorHover}: ${surfaceClear};
|
|
129
|
+
${attachTokens.iconButtonCancelColorActive}: ${textSecondaryActive};
|
|
130
|
+
${attachTokens.iconButtonCancelBackgroundColorActive}: ${surfaceClear};
|
|
130
131
|
|
|
131
132
|
${attachTokens.iconButtonCancelDisabledOpacity}: 0.4;
|
|
132
|
-
${attachTokens.iconButtonCancelFocusColor}:
|
|
133
|
+
${attachTokens.iconButtonCancelFocusColor}: ${surfaceAccent};
|
|
133
134
|
`
|
|
134
135
|
},
|
|
135
136
|
helperTextView: {
|
|
136
137
|
default: css`
|
|
137
|
-
${attachTokens.helperTextColor}:
|
|
138
|
+
${attachTokens.helperTextColor}: ${textSecondary};
|
|
138
139
|
`,
|
|
139
140
|
negative: css`
|
|
140
|
-
${attachTokens.helperTextColor}:
|
|
141
|
+
${attachTokens.helperTextColor}: ${textNegative};
|
|
141
142
|
`
|
|
142
143
|
},
|
|
143
144
|
size: {
|
|
@@ -151,12 +152,12 @@ export const config = {
|
|
|
151
152
|
${attachTokens.buttonWidth}: 11.25rem;
|
|
152
153
|
${attachTokens.buttonPadding}: 1rem;
|
|
153
154
|
${attachTokens.buttonRadius}: 0.625rem;
|
|
154
|
-
${attachTokens.buttonFontFamily}:
|
|
155
|
-
${attachTokens.buttonFontSize}:
|
|
156
|
-
${attachTokens.buttonFontStyle}:
|
|
157
|
-
${attachTokens.buttonFontWeight}:
|
|
158
|
-
${attachTokens.buttonLetterSpacing}:
|
|
159
|
-
${attachTokens.buttonLineHeight}:
|
|
155
|
+
${attachTokens.buttonFontFamily}: ${bodyM.fontFamily};
|
|
156
|
+
${attachTokens.buttonFontSize}: ${bodyM.fontSize};
|
|
157
|
+
${attachTokens.buttonFontStyle}: ${bodyM.fontStyle};
|
|
158
|
+
${attachTokens.buttonFontWeight}: ${bodyMBold.fontWeight};
|
|
159
|
+
${attachTokens.buttonLetterSpacing}: ${bodyM.letterSpacing};
|
|
160
|
+
${attachTokens.buttonLineHeight}: ${bodyM.lineHeight};
|
|
160
161
|
|
|
161
162
|
${attachTokens.buttonSpinnerSize}: 1.375rem;
|
|
162
163
|
${attachTokens.buttonSpinnerColor}: inherit;
|
|
@@ -175,37 +176,37 @@ export const config = {
|
|
|
175
176
|
${attachTokens.cellTextboxGap}: 0.125rem;
|
|
176
177
|
${attachTokens.cellGap}: 0.375rem;
|
|
177
178
|
|
|
178
|
-
${attachTokens.cellLabelFontFamily}:
|
|
179
|
-
${attachTokens.cellLabelFontSize}:
|
|
180
|
-
${attachTokens.cellLabelFontStyle}:
|
|
181
|
-
${attachTokens.cellLabelFontWeight}:
|
|
182
|
-
${attachTokens.cellLabelLetterSpacing}:
|
|
183
|
-
${attachTokens.cellLabelLineHeight}:
|
|
184
|
-
|
|
185
|
-
${attachTokens.cellTitleFontFamily}:
|
|
186
|
-
${attachTokens.cellTitleFontSize}:
|
|
187
|
-
${attachTokens.cellTitleFontStyle}:
|
|
188
|
-
${attachTokens.cellTitleFontWeight}:
|
|
189
|
-
${attachTokens.cellTitleLetterSpacing}:
|
|
190
|
-
${attachTokens.cellTitleLineHeight}:
|
|
191
|
-
|
|
192
|
-
${attachTokens.cellSubtitleFontFamily}:
|
|
193
|
-
${attachTokens.cellSubtitleFontSize}:
|
|
194
|
-
${attachTokens.cellSubtitleFontStyle}:
|
|
195
|
-
${attachTokens.cellSubtitleFontWeight}:
|
|
196
|
-
${attachTokens.cellSubtitleLetterSpacing}:
|
|
197
|
-
${attachTokens.cellSubtitleLineHeight}:
|
|
179
|
+
${attachTokens.cellLabelFontFamily}: ${bodyS.fontFamily};
|
|
180
|
+
${attachTokens.cellLabelFontSize}: ${bodyS.fontSize};
|
|
181
|
+
${attachTokens.cellLabelFontStyle}: ${bodyS.fontStyle};
|
|
182
|
+
${attachTokens.cellLabelFontWeight}: ${bodyS.fontWeight};
|
|
183
|
+
${attachTokens.cellLabelLetterSpacing}: ${bodyS.letterSpacing};
|
|
184
|
+
${attachTokens.cellLabelLineHeight}: ${bodyS.lineHeight};
|
|
185
|
+
|
|
186
|
+
${attachTokens.cellTitleFontFamily}: ${bodyM.fontFamily};
|
|
187
|
+
${attachTokens.cellTitleFontSize}: ${bodyM.fontSize};
|
|
188
|
+
${attachTokens.cellTitleFontStyle}: ${bodyM.fontStyle};
|
|
189
|
+
${attachTokens.cellTitleFontWeight}: ${bodyM.fontWeight};
|
|
190
|
+
${attachTokens.cellTitleLetterSpacing}: ${bodyM.letterSpacing};
|
|
191
|
+
${attachTokens.cellTitleLineHeight}: ${bodyM.lineHeight};
|
|
192
|
+
|
|
193
|
+
${attachTokens.cellSubtitleFontFamily}: ${bodyS.fontFamily};
|
|
194
|
+
${attachTokens.cellSubtitleFontSize}: ${bodyS.fontSize};
|
|
195
|
+
${attachTokens.cellSubtitleFontStyle}: ${bodyS.fontStyle};
|
|
196
|
+
${attachTokens.cellSubtitleFontWeight}: ${bodyS.fontWeight};
|
|
197
|
+
${attachTokens.cellSubtitleLetterSpacing}: ${bodyS.letterSpacing};
|
|
198
|
+
${attachTokens.cellSubtitleLineHeight}: ${bodyS.lineHeight};
|
|
198
199
|
|
|
199
200
|
${attachTokens.iconButtonHeight}: 2.5rem;
|
|
200
201
|
${attachTokens.iconButtonWidth}: 2.5rem;
|
|
201
202
|
${attachTokens.iconButtonPadding}: 1rem;
|
|
202
203
|
${attachTokens.iconButtonRadius}: 0.625rem;
|
|
203
|
-
${attachTokens.iconButtonFontFamily}:
|
|
204
|
-
${attachTokens.iconButtonFontSize}:
|
|
205
|
-
${attachTokens.iconButtonFontStyle}:
|
|
206
|
-
${attachTokens.iconButtonFontWeight}:
|
|
207
|
-
${attachTokens.iconButtonLetterSpacing}:
|
|
208
|
-
${attachTokens.iconButtonLineHeight}:
|
|
204
|
+
${attachTokens.iconButtonFontFamily}: ${bodyS.fontFamily};
|
|
205
|
+
${attachTokens.iconButtonFontSize}: ${bodyS.fontSize};
|
|
206
|
+
${attachTokens.iconButtonFontStyle}: ${bodyS.fontStyle};
|
|
207
|
+
${attachTokens.iconButtonFontWeight}: ${bodySBold.fontWeight};
|
|
208
|
+
${attachTokens.iconButtonLetterSpacing}: ${bodyS.letterSpacing};
|
|
209
|
+
${attachTokens.iconButtonLineHeight}: ${bodyS.lineHeight};
|
|
209
210
|
|
|
210
211
|
${attachTokens.iconButtonSpinnerSize}: 1.375rem;
|
|
211
212
|
${attachTokens.iconButtonSpinnerColor}: inherit;
|
|
@@ -214,12 +215,12 @@ export const config = {
|
|
|
214
215
|
${attachTokens.iconButtonCancelWidth}: 2rem;
|
|
215
216
|
${attachTokens.iconButtonCancelPadding}: 0.75rem;
|
|
216
217
|
${attachTokens.iconButtonCancelRadius}: 0.5rem;
|
|
217
|
-
${attachTokens.iconButtonCancelFontFamily}:
|
|
218
|
-
${attachTokens.iconButtonCancelFontSize}:
|
|
219
|
-
${attachTokens.iconButtonCancelFontStyle}:
|
|
220
|
-
${attachTokens.iconButtonCancelFontWeight}:
|
|
221
|
-
${attachTokens.iconButtonCancelLetterSpacing}:
|
|
222
|
-
${attachTokens.iconButtonCancelLineHeight}:
|
|
218
|
+
${attachTokens.iconButtonCancelFontFamily}: ${bodyXS.fontFamily};
|
|
219
|
+
${attachTokens.iconButtonCancelFontSize}: ${bodyXS.fontSize};
|
|
220
|
+
${attachTokens.iconButtonCancelFontStyle}: ${bodyXS.fontStyle};
|
|
221
|
+
${attachTokens.iconButtonCancelFontWeight}: ${bodyXSBold.fontWeight};
|
|
222
|
+
${attachTokens.iconButtonCancelLetterSpacing}: ${bodyXS.letterSpacing};
|
|
223
|
+
${attachTokens.iconButtonCancelLineHeight}: ${bodyXS.lineHeight};
|
|
223
224
|
|
|
224
225
|
${attachTokens.iconButtonCancelSpinnerSize}: 1rem;
|
|
225
226
|
${attachTokens.iconButtonCancelSpinnerColor}: inherit;
|