@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
|
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "config", {
|
|
|
8
8
|
return config;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
+
const _sdds_cs = require("@salutejs/sdds-themes/tokens/sdds_cs");
|
|
11
12
|
const _emotion = require("@salutejs/plasma-new-hope/emotion");
|
|
12
13
|
const config = {
|
|
13
14
|
defaults: {
|
|
@@ -25,12 +26,12 @@ const config = {
|
|
|
25
26
|
},
|
|
26
27
|
size: {
|
|
27
28
|
l: (0, _emotion.css)`
|
|
28
|
-
${_emotion.tableTokens.fontFamily}:
|
|
29
|
-
${_emotion.tableTokens.fontSize}:
|
|
30
|
-
${_emotion.tableTokens.fontStyle}:
|
|
31
|
-
${_emotion.tableTokens.fontWeight}:
|
|
32
|
-
${_emotion.tableTokens.letterSpacing}:
|
|
33
|
-
${_emotion.tableTokens.lineHeight}:
|
|
29
|
+
${_emotion.tableTokens.fontFamily}: ${_sdds_cs.bodyL.fontFamily};
|
|
30
|
+
${_emotion.tableTokens.fontSize}: ${_sdds_cs.bodyL.fontSize};
|
|
31
|
+
${_emotion.tableTokens.fontStyle}: ${_sdds_cs.bodyL.fontStyle};
|
|
32
|
+
${_emotion.tableTokens.fontWeight}: ${_sdds_cs.bodyL.fontWeight};
|
|
33
|
+
${_emotion.tableTokens.letterSpacing}: ${_sdds_cs.bodyL.letterSpacing};
|
|
34
|
+
${_emotion.tableTokens.lineHeight}: ${_sdds_cs.bodyL.lineHeight};
|
|
34
35
|
|
|
35
36
|
${_emotion.tableTokens.headerRowHeight}: 3.125rem;
|
|
36
37
|
${_emotion.tableTokens.rowHeight}: 3.125rem;
|
|
@@ -40,9 +41,9 @@ const config = {
|
|
|
40
41
|
${_emotion.tableTokens.checkboxTriggerBorderCheckedColor}: transparent;
|
|
41
42
|
${_emotion.tableTokens.checkboxTriggerSize}: 1.25rem;
|
|
42
43
|
${_emotion.tableTokens.checkboxTriggerBorderRadius}: 0.375rem;
|
|
43
|
-
${_emotion.tableTokens.checkboxTriggerBorderColor}:
|
|
44
|
-
${_emotion.tableTokens.checkboxFillColor}:
|
|
45
|
-
${_emotion.tableTokens.checkboxTriggerIconColor}:
|
|
44
|
+
${_emotion.tableTokens.checkboxTriggerBorderColor}: ${_sdds_cs.textSecondary};
|
|
45
|
+
${_emotion.tableTokens.checkboxFillColor}: ${_sdds_cs.textAccent};
|
|
46
|
+
${_emotion.tableTokens.checkboxTriggerIconColor}: ${_sdds_cs.onDarkTextPrimary};
|
|
46
47
|
|
|
47
48
|
${_emotion.tableTokens.editableCellIconGap}: 0.5rem;
|
|
48
49
|
${_emotion.tableTokens.editableCellIconButtonWidth}: 3rem;
|
|
@@ -57,12 +58,12 @@ const config = {
|
|
|
57
58
|
${_emotion.tableTokens.filterDividerMargin}: 0.375rem 0.75rem;
|
|
58
59
|
|
|
59
60
|
${_emotion.tableTokens.buttonHeight}: 2.5rem;
|
|
60
|
-
${_emotion.tableTokens.buttonFontFamily}:
|
|
61
|
-
${_emotion.tableTokens.buttonFontSize}:
|
|
62
|
-
${_emotion.tableTokens.buttonFontStyle}:
|
|
63
|
-
${_emotion.tableTokens.buttonFontWeight}:
|
|
64
|
-
${_emotion.tableTokens.buttonLetterSpacing}:
|
|
65
|
-
${_emotion.tableTokens.buttonLineHeight}:
|
|
61
|
+
${_emotion.tableTokens.buttonFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
62
|
+
${_emotion.tableTokens.buttonFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
63
|
+
${_emotion.tableTokens.buttonFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
64
|
+
${_emotion.tableTokens.buttonFontWeight}: ${_sdds_cs.bodySBold.fontWeight};
|
|
65
|
+
${_emotion.tableTokens.buttonLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
66
|
+
${_emotion.tableTokens.buttonLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
66
67
|
|
|
67
68
|
${_emotion.tableTokens.selectPadding}: 0.125rem;
|
|
68
69
|
${_emotion.tableTokens.selectBorderRadius}: 0.875rem;
|
|
@@ -72,12 +73,12 @@ const config = {
|
|
|
72
73
|
${_emotion.tableTokens.selectItemIconMargin}: 0 0.375rem 0 0;
|
|
73
74
|
${_emotion.tableTokens.selectItemIconSize}: 1.5rem;
|
|
74
75
|
${_emotion.tableTokens.selectCellPadding}: 0;
|
|
75
|
-
${_emotion.tableTokens.selectCellTitleFontFamily}:
|
|
76
|
-
${_emotion.tableTokens.selectCellTitleFontSize}:
|
|
77
|
-
${_emotion.tableTokens.selectCellTitleFontStyle}:
|
|
78
|
-
${_emotion.tableTokens.selectCellTitleFontWeight}:
|
|
79
|
-
${_emotion.tableTokens.selectCellTitleLetterSpacing}:
|
|
80
|
-
${_emotion.tableTokens.selectCellTitleLineHeight}:
|
|
76
|
+
${_emotion.tableTokens.selectCellTitleFontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
77
|
+
${_emotion.tableTokens.selectCellTitleFontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
78
|
+
${_emotion.tableTokens.selectCellTitleFontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
79
|
+
${_emotion.tableTokens.selectCellTitleFontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
80
|
+
${_emotion.tableTokens.selectCellTitleLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
81
|
+
${_emotion.tableTokens.selectCellTitleLineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
81
82
|
${_emotion.tableTokens.selectCheckboxTriggerSize}: 1.25rem;
|
|
82
83
|
${_emotion.tableTokens.selectCheckboxTriggerBorderRadius}: 0.375rem;
|
|
83
84
|
${_emotion.tableTokens.selectCheckboxTriggerBorderWidth}: 0.125rem;
|
|
@@ -85,20 +86,20 @@ const config = {
|
|
|
85
86
|
${_emotion.tableTokens.selectControlPanelPadding}: 0.5rem 0.875rem;
|
|
86
87
|
${_emotion.tableTokens.selectControlPanelGap}: 0.5rem;
|
|
87
88
|
|
|
88
|
-
${_emotion.tableTokens.linkButtonFontFamily}:
|
|
89
|
-
${_emotion.tableTokens.linkButtonFontSize}:
|
|
90
|
-
${_emotion.tableTokens.linkButtonFontStyle}:
|
|
91
|
-
${_emotion.tableTokens.linkButtonFontWeight}:
|
|
92
|
-
${_emotion.tableTokens.linkButtonLetterSpacing}:
|
|
93
|
-
${_emotion.tableTokens.linkButtonLineHeight}:
|
|
89
|
+
${_emotion.tableTokens.linkButtonFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
90
|
+
${_emotion.tableTokens.linkButtonFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
91
|
+
${_emotion.tableTokens.linkButtonFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
92
|
+
${_emotion.tableTokens.linkButtonFontWeight}: ${_sdds_cs.bodySBold.fontWeight};
|
|
93
|
+
${_emotion.tableTokens.linkButtonLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
94
|
+
${_emotion.tableTokens.linkButtonLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
94
95
|
`,
|
|
95
96
|
m: (0, _emotion.css)`
|
|
96
|
-
${_emotion.tableTokens.fontFamily}:
|
|
97
|
-
${_emotion.tableTokens.fontSize}:
|
|
98
|
-
${_emotion.tableTokens.fontStyle}:
|
|
99
|
-
${_emotion.tableTokens.fontWeight}:
|
|
100
|
-
${_emotion.tableTokens.letterSpacing}:
|
|
101
|
-
${_emotion.tableTokens.lineHeight}:
|
|
97
|
+
${_emotion.tableTokens.fontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
98
|
+
${_emotion.tableTokens.fontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
99
|
+
${_emotion.tableTokens.fontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
100
|
+
${_emotion.tableTokens.fontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
101
|
+
${_emotion.tableTokens.letterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
102
|
+
${_emotion.tableTokens.lineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
102
103
|
|
|
103
104
|
${_emotion.tableTokens.headerRowHeight}: 2.75rem;
|
|
104
105
|
${_emotion.tableTokens.rowHeight}: 2.75rem;
|
|
@@ -108,9 +109,9 @@ const config = {
|
|
|
108
109
|
${_emotion.tableTokens.checkboxTriggerBorderCheckedColor}: transparent;
|
|
109
110
|
${_emotion.tableTokens.checkboxTriggerSize}: 1.25rem;
|
|
110
111
|
${_emotion.tableTokens.checkboxTriggerBorderRadius}: 0.375rem;
|
|
111
|
-
${_emotion.tableTokens.checkboxTriggerBorderColor}:
|
|
112
|
-
${_emotion.tableTokens.checkboxFillColor}:
|
|
113
|
-
${_emotion.tableTokens.checkboxTriggerIconColor}:
|
|
112
|
+
${_emotion.tableTokens.checkboxTriggerBorderColor}: ${_sdds_cs.textSecondary};
|
|
113
|
+
${_emotion.tableTokens.checkboxFillColor}: ${_sdds_cs.textAccent};
|
|
114
|
+
${_emotion.tableTokens.checkboxTriggerIconColor}: ${_sdds_cs.onDarkTextPrimary};
|
|
114
115
|
|
|
115
116
|
${_emotion.tableTokens.editableCellIconGap}: 0.375rem;
|
|
116
117
|
${_emotion.tableTokens.editableCellIconButtonWidth}: 2.5rem;
|
|
@@ -125,12 +126,12 @@ const config = {
|
|
|
125
126
|
${_emotion.tableTokens.filterDividerMargin}: 0.375rem 0.75rem;
|
|
126
127
|
|
|
127
128
|
${_emotion.tableTokens.buttonHeight}: 2rem;
|
|
128
|
-
${_emotion.tableTokens.buttonFontFamily}:
|
|
129
|
-
${_emotion.tableTokens.buttonFontSize}:
|
|
130
|
-
${_emotion.tableTokens.buttonFontStyle}:
|
|
131
|
-
${_emotion.tableTokens.buttonFontWeight}:
|
|
132
|
-
${_emotion.tableTokens.buttonLetterSpacing}:
|
|
133
|
-
${_emotion.tableTokens.buttonLineHeight}:
|
|
129
|
+
${_emotion.tableTokens.buttonFontFamily}: ${_sdds_cs.bodyXS.fontFamily};
|
|
130
|
+
${_emotion.tableTokens.buttonFontSize}: ${_sdds_cs.bodyXS.fontSize};
|
|
131
|
+
${_emotion.tableTokens.buttonFontStyle}: ${_sdds_cs.bodyXS.fontStyle};
|
|
132
|
+
${_emotion.tableTokens.buttonFontWeight}: ${_sdds_cs.bodyXSBold.fontWeight};
|
|
133
|
+
${_emotion.tableTokens.buttonLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
|
|
134
|
+
${_emotion.tableTokens.buttonLineHeight}: ${_sdds_cs.bodyXS.lineHeight};
|
|
134
135
|
|
|
135
136
|
${_emotion.tableTokens.selectPadding}: 0.125rem;
|
|
136
137
|
${_emotion.tableTokens.selectBorderRadius}: 0.75rem;
|
|
@@ -140,12 +141,12 @@ const config = {
|
|
|
140
141
|
${_emotion.tableTokens.selectItemIconMargin}: 0 0.375rem 0 0;
|
|
141
142
|
${_emotion.tableTokens.selectItemIconSize}: 1.5rem;
|
|
142
143
|
${_emotion.tableTokens.selectCellPadding}: 0;
|
|
143
|
-
${_emotion.tableTokens.selectCellTitleFontFamily}:
|
|
144
|
-
${_emotion.tableTokens.selectCellTitleFontSize}:
|
|
145
|
-
${_emotion.tableTokens.selectCellTitleFontStyle}:
|
|
146
|
-
${_emotion.tableTokens.selectCellTitleFontWeight}:
|
|
147
|
-
${_emotion.tableTokens.selectCellTitleLetterSpacing}:
|
|
148
|
-
${_emotion.tableTokens.selectCellTitleLineHeight}:
|
|
144
|
+
${_emotion.tableTokens.selectCellTitleFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
145
|
+
${_emotion.tableTokens.selectCellTitleFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
146
|
+
${_emotion.tableTokens.selectCellTitleFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
147
|
+
${_emotion.tableTokens.selectCellTitleFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
148
|
+
${_emotion.tableTokens.selectCellTitleLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
149
|
+
${_emotion.tableTokens.selectCellTitleLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
149
150
|
${_emotion.tableTokens.selectCheckboxTriggerSize}: 1.25rem;
|
|
150
151
|
${_emotion.tableTokens.selectCheckboxTriggerBorderRadius}: 0.375rem;
|
|
151
152
|
${_emotion.tableTokens.selectCheckboxTriggerBorderWidth}: 0.125rem;
|
|
@@ -153,20 +154,20 @@ const config = {
|
|
|
153
154
|
${_emotion.tableTokens.selectControlPanelPadding}: 0.25rem 0.75rem;
|
|
154
155
|
${_emotion.tableTokens.selectControlPanelGap}: 0.625rem;
|
|
155
156
|
|
|
156
|
-
${_emotion.tableTokens.linkButtonFontFamily}:
|
|
157
|
-
${_emotion.tableTokens.linkButtonFontSize}:
|
|
158
|
-
${_emotion.tableTokens.linkButtonFontStyle}:
|
|
159
|
-
${_emotion.tableTokens.linkButtonFontWeight}:
|
|
160
|
-
${_emotion.tableTokens.linkButtonLetterSpacing}:
|
|
161
|
-
${_emotion.tableTokens.linkButtonLineHeight}:
|
|
157
|
+
${_emotion.tableTokens.linkButtonFontFamily}: ${_sdds_cs.bodyXS.fontFamily};
|
|
158
|
+
${_emotion.tableTokens.linkButtonFontSize}: ${_sdds_cs.bodyXS.fontSize};
|
|
159
|
+
${_emotion.tableTokens.linkButtonFontStyle}: ${_sdds_cs.bodyXS.fontStyle};
|
|
160
|
+
${_emotion.tableTokens.linkButtonFontWeight}: ${_sdds_cs.bodyXSBold.fontWeight};
|
|
161
|
+
${_emotion.tableTokens.linkButtonLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
|
|
162
|
+
${_emotion.tableTokens.linkButtonLineHeight}: ${_sdds_cs.bodyXS.lineHeight};
|
|
162
163
|
`,
|
|
163
164
|
s: (0, _emotion.css)`
|
|
164
|
-
${_emotion.tableTokens.fontFamily}:
|
|
165
|
-
${_emotion.tableTokens.fontSize}:
|
|
166
|
-
${_emotion.tableTokens.fontStyle}:
|
|
167
|
-
${_emotion.tableTokens.fontWeight}:
|
|
168
|
-
${_emotion.tableTokens.letterSpacing}:
|
|
169
|
-
${_emotion.tableTokens.lineHeight}:
|
|
165
|
+
${_emotion.tableTokens.fontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
166
|
+
${_emotion.tableTokens.fontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
167
|
+
${_emotion.tableTokens.fontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
168
|
+
${_emotion.tableTokens.fontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
169
|
+
${_emotion.tableTokens.letterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
170
|
+
${_emotion.tableTokens.lineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
170
171
|
|
|
171
172
|
${_emotion.tableTokens.headerRowHeight}: 2.125rem;
|
|
172
173
|
${_emotion.tableTokens.rowHeight}: 2.125rem;
|
|
@@ -176,9 +177,9 @@ const config = {
|
|
|
176
177
|
${_emotion.tableTokens.checkboxTriggerBorderCheckedColor}: transparent;
|
|
177
178
|
${_emotion.tableTokens.checkboxTriggerSize}: 0.875rem;
|
|
178
179
|
${_emotion.tableTokens.checkboxTriggerBorderRadius}: 0.25rem;
|
|
179
|
-
${_emotion.tableTokens.checkboxTriggerBorderColor}:
|
|
180
|
-
${_emotion.tableTokens.checkboxFillColor}:
|
|
181
|
-
${_emotion.tableTokens.checkboxTriggerIconColor}:
|
|
180
|
+
${_emotion.tableTokens.checkboxTriggerBorderColor}: ${_sdds_cs.textSecondary};
|
|
181
|
+
${_emotion.tableTokens.checkboxFillColor}: ${_sdds_cs.textAccent};
|
|
182
|
+
${_emotion.tableTokens.checkboxTriggerIconColor}: ${_sdds_cs.onDarkTextPrimary};
|
|
182
183
|
|
|
183
184
|
${_emotion.tableTokens.editableCellIconGap}: 0.25rem;
|
|
184
185
|
${_emotion.tableTokens.editableCellIconButtonWidth}: 2rem;
|
|
@@ -193,12 +194,12 @@ const config = {
|
|
|
193
194
|
${_emotion.tableTokens.filterDividerMargin}: 0.25rem 0.5rem;
|
|
194
195
|
|
|
195
196
|
${_emotion.tableTokens.buttonHeight}: 1.5rem;
|
|
196
|
-
${_emotion.tableTokens.buttonFontFamily}:
|
|
197
|
-
${_emotion.tableTokens.buttonFontSize}:
|
|
198
|
-
${_emotion.tableTokens.buttonFontStyle}:
|
|
199
|
-
${_emotion.tableTokens.buttonFontWeight}:
|
|
200
|
-
${_emotion.tableTokens.buttonLetterSpacing}:
|
|
201
|
-
${_emotion.tableTokens.buttonLineHeight}:
|
|
197
|
+
${_emotion.tableTokens.buttonFontFamily}: ${_sdds_cs.bodyXS.fontFamily};
|
|
198
|
+
${_emotion.tableTokens.buttonFontSize}: ${_sdds_cs.bodyXS.fontSize};
|
|
199
|
+
${_emotion.tableTokens.buttonFontStyle}: ${_sdds_cs.bodyXS.fontStyle};
|
|
200
|
+
${_emotion.tableTokens.buttonFontWeight}: ${_sdds_cs.bodyXSBold.fontWeight};
|
|
201
|
+
${_emotion.tableTokens.buttonLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
|
|
202
|
+
${_emotion.tableTokens.buttonLineHeight}: ${_sdds_cs.bodyXS.lineHeight};
|
|
202
203
|
|
|
203
204
|
${_emotion.tableTokens.selectPadding}: 0.125rem;
|
|
204
205
|
${_emotion.tableTokens.selectBorderRadius}: 0.625rem;
|
|
@@ -208,12 +209,12 @@ const config = {
|
|
|
208
209
|
${_emotion.tableTokens.selectItemIconMargin}: 0 0.25rem 0 0;
|
|
209
210
|
${_emotion.tableTokens.selectItemIconSize}: 1rem;
|
|
210
211
|
${_emotion.tableTokens.selectCellPadding}: 0;
|
|
211
|
-
${_emotion.tableTokens.selectCellTitleFontFamily}:
|
|
212
|
-
${_emotion.tableTokens.selectCellTitleFontSize}:
|
|
213
|
-
${_emotion.tableTokens.selectCellTitleFontStyle}:
|
|
214
|
-
${_emotion.tableTokens.selectCellTitleFontWeight}:
|
|
215
|
-
${_emotion.tableTokens.selectCellTitleLetterSpacing}:
|
|
216
|
-
${_emotion.tableTokens.selectCellTitleLineHeight}:
|
|
212
|
+
${_emotion.tableTokens.selectCellTitleFontFamily}: ${_sdds_cs.bodyXS.fontFamily};
|
|
213
|
+
${_emotion.tableTokens.selectCellTitleFontSize}: ${_sdds_cs.bodyXS.fontSize};
|
|
214
|
+
${_emotion.tableTokens.selectCellTitleFontStyle}: ${_sdds_cs.bodyXS.fontStyle};
|
|
215
|
+
${_emotion.tableTokens.selectCellTitleFontWeight}: ${_sdds_cs.bodyXS.fontWeight};
|
|
216
|
+
${_emotion.tableTokens.selectCellTitleLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
|
|
217
|
+
${_emotion.tableTokens.selectCellTitleLineHeight}: ${_sdds_cs.bodyXS.lineHeight};
|
|
217
218
|
${_emotion.tableTokens.selectCheckboxTriggerSize}: 0.875rem;
|
|
218
219
|
${_emotion.tableTokens.selectCheckboxTriggerBorderRadius}: 0.25rem;
|
|
219
220
|
${_emotion.tableTokens.selectCheckboxTriggerBorderWidth}: 0.125rem;
|
|
@@ -221,12 +222,12 @@ const config = {
|
|
|
221
222
|
${_emotion.tableTokens.selectControlPanelPadding}: 0.25rem 0.5rem;
|
|
222
223
|
${_emotion.tableTokens.selectControlPanelGap}: 0.25rem;
|
|
223
224
|
|
|
224
|
-
${_emotion.tableTokens.linkButtonFontFamily}:
|
|
225
|
-
${_emotion.tableTokens.linkButtonFontSize}:
|
|
226
|
-
${_emotion.tableTokens.linkButtonFontStyle}:
|
|
227
|
-
${_emotion.tableTokens.linkButtonFontWeight}:
|
|
228
|
-
${_emotion.tableTokens.linkButtonLetterSpacing}:
|
|
229
|
-
${_emotion.tableTokens.linkButtonLineHeight}:
|
|
225
|
+
${_emotion.tableTokens.linkButtonFontFamily}: ${_sdds_cs.bodyXS.fontFamily};
|
|
226
|
+
${_emotion.tableTokens.linkButtonFontSize}: ${_sdds_cs.bodyXS.fontSize};
|
|
227
|
+
${_emotion.tableTokens.linkButtonFontStyle}: ${_sdds_cs.bodyXS.fontStyle};
|
|
228
|
+
${_emotion.tableTokens.linkButtonFontWeight}: ${_sdds_cs.bodyXSBold.fontWeight};
|
|
229
|
+
${_emotion.tableTokens.linkButtonLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
|
|
230
|
+
${_emotion.tableTokens.linkButtonLineHeight}: ${_sdds_cs.bodyXS.lineHeight};
|
|
230
231
|
`
|
|
231
232
|
}
|
|
232
233
|
}
|
|
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "config", {
|
|
|
8
8
|
return config;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
+
const _sdds_cs = require("@salutejs/sdds-themes/tokens/sdds_cs");
|
|
11
12
|
const _emotion = require("@salutejs/plasma-new-hope/emotion");
|
|
12
13
|
const config = {
|
|
13
14
|
defaults: {
|
|
@@ -17,109 +18,109 @@ const config = {
|
|
|
17
18
|
variations: {
|
|
18
19
|
view: {
|
|
19
20
|
clear: (0, _emotion.css)`
|
|
20
|
-
${_emotion.tabsTokens.itemColor}:
|
|
21
|
-
${_emotion.tabsTokens.itemValueColor}:
|
|
21
|
+
${_emotion.tabsTokens.itemColor}: ${_sdds_cs.textSecondary};
|
|
22
|
+
${_emotion.tabsTokens.itemValueColor}: ${_sdds_cs.textTertiary};
|
|
22
23
|
${_emotion.tabsTokens.itemBackgroundColor}: transparent;
|
|
23
|
-
${_emotion.tabsTokens.itemColorHover}:
|
|
24
|
-
${_emotion.tabsTokens.itemValueColorHover}:
|
|
25
|
-
${_emotion.tabsTokens.itemColorActive}:
|
|
26
|
-
${_emotion.tabsTokens.itemValueColorActive}:
|
|
24
|
+
${_emotion.tabsTokens.itemColorHover}: ${_sdds_cs.textSecondaryHover};
|
|
25
|
+
${_emotion.tabsTokens.itemValueColorHover}: ${_sdds_cs.textSecondary};
|
|
26
|
+
${_emotion.tabsTokens.itemColorActive}: ${_sdds_cs.textSecondaryActive};
|
|
27
|
+
${_emotion.tabsTokens.itemValueColorActive}: ${_sdds_cs.textSecondary};
|
|
27
28
|
${_emotion.tabsTokens.itemBackgroundColorHover}: transparent;
|
|
28
|
-
${_emotion.tabsTokens.itemSelectedColor}:
|
|
29
|
-
${_emotion.tabsTokens.itemSelectedValueColor}:
|
|
29
|
+
${_emotion.tabsTokens.itemSelectedColor}: ${_sdds_cs.textPrimary};
|
|
30
|
+
${_emotion.tabsTokens.itemSelectedValueColor}: ${_sdds_cs.textSecondary};
|
|
30
31
|
${_emotion.tabsTokens.itemSelectedBackgroundColor}: transparent;
|
|
31
|
-
${_emotion.tabsTokens.itemSelectedColorHover}:
|
|
32
|
-
${_emotion.tabsTokens.itemSelectedValueColorHover}:
|
|
32
|
+
${_emotion.tabsTokens.itemSelectedColorHover}: ${_sdds_cs.textPrimary};
|
|
33
|
+
${_emotion.tabsTokens.itemSelectedValueColorHover}: ${_sdds_cs.textSecondary};
|
|
33
34
|
${_emotion.tabsTokens.itemSelectedBackgroundColorHover}: transparent;
|
|
34
35
|
${_emotion.tabsTokens.itemBackgroundTransition}: background-color 0.3s ease-in-out;
|
|
35
36
|
|
|
36
|
-
${_emotion.tabsTokens.outlineFocusColor}:
|
|
37
|
+
${_emotion.tabsTokens.outlineFocusColor}: ${_sdds_cs.surfaceAccent};
|
|
37
38
|
|
|
38
39
|
${_emotion.tabsTokens.itemSelectedDividerHeight}: 0rem;
|
|
39
|
-
${_emotion.tabsTokens.itemSelectedDividerColor}:
|
|
40
|
-
${_emotion.tabsTokens.itemSelectedDividerColorHover}:
|
|
40
|
+
${_emotion.tabsTokens.itemSelectedDividerColor}: ${_sdds_cs.surfaceSolidDefault};
|
|
41
|
+
${_emotion.tabsTokens.itemSelectedDividerColorHover}: ${_sdds_cs.surfaceSolidDefaultHover};
|
|
41
42
|
|
|
42
43
|
${_emotion.tabsTokens.itemCursor}: default;
|
|
43
44
|
${_emotion.tabsTokens.itemCursorOverNotSelected}: pointer;
|
|
44
45
|
`,
|
|
45
46
|
secondary: (0, _emotion.css)`
|
|
46
|
-
${_emotion.tabsTokens.itemColor}:
|
|
47
|
-
${_emotion.tabsTokens.itemValueColor}:
|
|
47
|
+
${_emotion.tabsTokens.itemColor}: ${_sdds_cs.textPrimary};
|
|
48
|
+
${_emotion.tabsTokens.itemValueColor}: ${_sdds_cs.textSecondary};
|
|
48
49
|
${_emotion.tabsTokens.itemBackgroundColor}: transparent;
|
|
49
|
-
${_emotion.tabsTokens.itemColorHover}:
|
|
50
|
-
${_emotion.tabsTokens.itemValueColorHover}:
|
|
51
|
-
${_emotion.tabsTokens.itemColorActive}:
|
|
52
|
-
${_emotion.tabsTokens.itemValueColorActive}:
|
|
50
|
+
${_emotion.tabsTokens.itemColorHover}: ${_sdds_cs.textSecondaryHover};
|
|
51
|
+
${_emotion.tabsTokens.itemValueColorHover}: ${_sdds_cs.textSecondary};
|
|
52
|
+
${_emotion.tabsTokens.itemColorActive}: ${_sdds_cs.textSecondaryActive};
|
|
53
|
+
${_emotion.tabsTokens.itemValueColorActive}: ${_sdds_cs.textSecondary};
|
|
53
54
|
${_emotion.tabsTokens.itemBackgroundColorHover}: transparent;
|
|
54
|
-
${_emotion.tabsTokens.itemSelectedColor}:
|
|
55
|
-
${_emotion.tabsTokens.itemSelectedValueColor}:
|
|
55
|
+
${_emotion.tabsTokens.itemSelectedColor}: ${_sdds_cs.textPrimary};
|
|
56
|
+
${_emotion.tabsTokens.itemSelectedValueColor}: ${_sdds_cs.textSecondary};
|
|
56
57
|
${_emotion.tabsTokens.itemSelectedBackgroundColor}: var(--surface-transparent-card);
|
|
57
|
-
${_emotion.tabsTokens.itemSelectedColorHover}:
|
|
58
|
-
${_emotion.tabsTokens.itemSelectedValueColorHover}:
|
|
58
|
+
${_emotion.tabsTokens.itemSelectedColorHover}: ${_sdds_cs.textPrimary};
|
|
59
|
+
${_emotion.tabsTokens.itemSelectedValueColorHover}: ${_sdds_cs.textSecondary};
|
|
59
60
|
${_emotion.tabsTokens.itemSelectedBackgroundColorHover}: var(--surface-transparent-card);
|
|
60
61
|
${_emotion.tabsTokens.itemBackgroundTransition}: background-color 0.3s ease-in-out;
|
|
61
62
|
|
|
62
63
|
${_emotion.tabsTokens.itemMarginLeftFilled}: 0.125rem;
|
|
63
64
|
|
|
64
|
-
${_emotion.tabsTokens.outlineFocusColor}:
|
|
65
|
+
${_emotion.tabsTokens.outlineFocusColor}: ${_sdds_cs.surfaceAccent};
|
|
65
66
|
|
|
66
67
|
${_emotion.tabsTokens.itemSelectedDividerHeight}: 0rem;
|
|
67
|
-
${_emotion.tabsTokens.itemSelectedDividerColor}:
|
|
68
|
-
${_emotion.tabsTokens.itemSelectedDividerColorHover}:
|
|
68
|
+
${_emotion.tabsTokens.itemSelectedDividerColor}: ${_sdds_cs.surfaceSolidDefault};
|
|
69
|
+
${_emotion.tabsTokens.itemSelectedDividerColorHover}: ${_sdds_cs.surfaceSolidDefaultHover};
|
|
69
70
|
|
|
70
71
|
${_emotion.tabsTokens.itemCursor}: default;
|
|
71
72
|
${_emotion.tabsTokens.itemCursorOverNotSelected}: pointer;
|
|
72
73
|
`,
|
|
73
74
|
divider: (0, _emotion.css)`
|
|
74
|
-
${_emotion.tabsTokens.itemColor}:
|
|
75
|
-
${_emotion.tabsTokens.itemValueColor}:
|
|
75
|
+
${_emotion.tabsTokens.itemColor}: ${_sdds_cs.textAccent};
|
|
76
|
+
${_emotion.tabsTokens.itemValueColor}: ${_sdds_cs.textSecondary};
|
|
76
77
|
${_emotion.tabsTokens.itemBackgroundColor}: transparent;
|
|
77
|
-
${_emotion.tabsTokens.itemColorHover}:
|
|
78
|
-
${_emotion.tabsTokens.itemValueColorHover}:
|
|
79
|
-
${_emotion.tabsTokens.itemColorActive}:
|
|
80
|
-
${_emotion.tabsTokens.itemValueColorActive}:
|
|
78
|
+
${_emotion.tabsTokens.itemColorHover}: ${_sdds_cs.textAccentMinor};
|
|
79
|
+
${_emotion.tabsTokens.itemValueColorHover}: ${_sdds_cs.textSecondary};
|
|
80
|
+
${_emotion.tabsTokens.itemColorActive}: ${_sdds_cs.textAccentActive};
|
|
81
|
+
${_emotion.tabsTokens.itemValueColorActive}: ${_sdds_cs.textSecondary};
|
|
81
82
|
${_emotion.tabsTokens.itemBackgroundColorHover}: transparent;
|
|
82
|
-
${_emotion.tabsTokens.itemSelectedColor}:
|
|
83
|
-
${_emotion.tabsTokens.itemSelectedValueColor}:
|
|
83
|
+
${_emotion.tabsTokens.itemSelectedColor}: ${_sdds_cs.textPrimary};
|
|
84
|
+
${_emotion.tabsTokens.itemSelectedValueColor}: ${_sdds_cs.textSecondary};
|
|
84
85
|
${_emotion.tabsTokens.itemSelectedBackgroundColor}: transparent;
|
|
85
|
-
${_emotion.tabsTokens.itemSelectedColorHover}:
|
|
86
|
-
${_emotion.tabsTokens.itemSelectedValueColorHover}:
|
|
86
|
+
${_emotion.tabsTokens.itemSelectedColorHover}: ${_sdds_cs.textPrimary};
|
|
87
|
+
${_emotion.tabsTokens.itemSelectedValueColorHover}: ${_sdds_cs.textSecondary};
|
|
87
88
|
${_emotion.tabsTokens.itemSelectedBackgroundColorHover}: transparent;
|
|
88
89
|
${_emotion.tabsTokens.itemBackgroundTransition}: background-color 0.3s ease-in-out;
|
|
89
90
|
|
|
90
|
-
${_emotion.tabsTokens.outlineFocusColor}:
|
|
91
|
+
${_emotion.tabsTokens.outlineFocusColor}: ${_sdds_cs.surfaceAccent};
|
|
91
92
|
|
|
92
93
|
${_emotion.tabsTokens.itemSelectedDividerHeight}: 0.125rem;
|
|
93
|
-
${_emotion.tabsTokens.itemSelectedDividerColor}:
|
|
94
|
-
${_emotion.tabsTokens.itemSelectedDividerColorHover}:
|
|
94
|
+
${_emotion.tabsTokens.itemSelectedDividerColor}: ${_sdds_cs.surfaceSolidDefault};
|
|
95
|
+
${_emotion.tabsTokens.itemSelectedDividerColorHover}: ${_sdds_cs.surfaceSolidDefaultHover};
|
|
95
96
|
|
|
96
97
|
${_emotion.tabsTokens.itemCursor}: default;
|
|
97
98
|
${_emotion.tabsTokens.itemCursorOverNotSelected}: pointer;
|
|
98
99
|
`,
|
|
99
100
|
default: (0, _emotion.css)`
|
|
100
|
-
${_emotion.tabsTokens.itemColor}:
|
|
101
|
-
${_emotion.tabsTokens.itemValueColor}:
|
|
101
|
+
${_emotion.tabsTokens.itemColor}: ${_sdds_cs.textPrimary};
|
|
102
|
+
${_emotion.tabsTokens.itemValueColor}: ${_sdds_cs.textSecondary};
|
|
102
103
|
${_emotion.tabsTokens.itemBackgroundColor}: transparent;
|
|
103
|
-
${_emotion.tabsTokens.itemColorHover}:
|
|
104
|
-
${_emotion.tabsTokens.itemValueColorHover}:
|
|
105
|
-
${_emotion.tabsTokens.itemColorActive}:
|
|
106
|
-
${_emotion.tabsTokens.itemValueColorActive}:
|
|
104
|
+
${_emotion.tabsTokens.itemColorHover}: ${_sdds_cs.textSecondaryHover};
|
|
105
|
+
${_emotion.tabsTokens.itemValueColorHover}: ${_sdds_cs.textSecondary};
|
|
106
|
+
${_emotion.tabsTokens.itemColorActive}: ${_sdds_cs.textSecondaryActive};
|
|
107
|
+
${_emotion.tabsTokens.itemValueColorActive}: ${_sdds_cs.textSecondary};
|
|
107
108
|
${_emotion.tabsTokens.itemBackgroundColorHover}: transparent;
|
|
108
|
-
${_emotion.tabsTokens.itemSelectedColor}:
|
|
109
|
-
${_emotion.tabsTokens.itemSelectedValueColor}:
|
|
110
|
-
${_emotion.tabsTokens.itemSelectedBackgroundColor}:
|
|
111
|
-
${_emotion.tabsTokens.itemSelectedColorHover}:
|
|
112
|
-
${_emotion.tabsTokens.itemSelectedValueColorHover}:
|
|
113
|
-
${_emotion.tabsTokens.itemSelectedBackgroundColorHover}:
|
|
109
|
+
${_emotion.tabsTokens.itemSelectedColor}: ${_sdds_cs.inverseTextPrimary};
|
|
110
|
+
${_emotion.tabsTokens.itemSelectedValueColor}: ${_sdds_cs.onDarkTextSecondary};
|
|
111
|
+
${_emotion.tabsTokens.itemSelectedBackgroundColor}: ${_sdds_cs.surfaceSolidDefault};
|
|
112
|
+
${_emotion.tabsTokens.itemSelectedColorHover}: ${_sdds_cs.inverseTextPrimary};
|
|
113
|
+
${_emotion.tabsTokens.itemSelectedValueColorHover}: ${_sdds_cs.onDarkTextSecondary};
|
|
114
|
+
${_emotion.tabsTokens.itemSelectedBackgroundColorHover}: ${_sdds_cs.surfaceSolidDefault};
|
|
114
115
|
${_emotion.tabsTokens.itemBackgroundTransition}: background-color 0.3s ease-in-out;
|
|
115
116
|
|
|
116
117
|
${_emotion.tabsTokens.itemMarginLeftFilled}: 0.125rem;
|
|
117
118
|
|
|
118
|
-
${_emotion.tabsTokens.outlineFocusColor}:
|
|
119
|
+
${_emotion.tabsTokens.outlineFocusColor}: ${_sdds_cs.surfaceAccent};
|
|
119
120
|
|
|
120
121
|
${_emotion.tabsTokens.itemSelectedDividerHeight}: 0rem;
|
|
121
|
-
${_emotion.tabsTokens.itemSelectedDividerColor}:
|
|
122
|
-
${_emotion.tabsTokens.itemSelectedDividerColorHover}:
|
|
122
|
+
${_emotion.tabsTokens.itemSelectedDividerColor}: ${_sdds_cs.surfaceSolidDefault};
|
|
123
|
+
${_emotion.tabsTokens.itemSelectedDividerColorHover}: ${_sdds_cs.surfaceSolidDefaultHover};
|
|
123
124
|
|
|
124
125
|
${_emotion.tabsTokens.itemCursor}: default;
|
|
125
126
|
${_emotion.tabsTokens.itemCursorOverNotSelected}: pointer;
|
|
@@ -136,32 +137,32 @@ const config = {
|
|
|
136
137
|
${_emotion.tabsTokens.itemContentGap}: 0.25rem;
|
|
137
138
|
${_emotion.tabsTokens.itemContentPadding}: 0.125rem;
|
|
138
139
|
|
|
139
|
-
${_emotion.tabsTokens.fontFamily}:
|
|
140
|
-
${_emotion.tabsTokens.fontSize}:
|
|
141
|
-
${_emotion.tabsTokens.fontStyle}:
|
|
142
|
-
${_emotion.tabsTokens.fontWeight}:
|
|
143
|
-
${_emotion.tabsTokens.letterSpacing}:
|
|
144
|
-
${_emotion.tabsTokens.lineHeight}:
|
|
140
|
+
${_emotion.tabsTokens.fontFamily}: ${_sdds_cs.bodyMBold.fontFamily};
|
|
141
|
+
${_emotion.tabsTokens.fontSize}: ${_sdds_cs.bodyMBold.fontSize};
|
|
142
|
+
${_emotion.tabsTokens.fontStyle}: ${_sdds_cs.bodyMBold.fontStyle};
|
|
143
|
+
${_emotion.tabsTokens.fontWeight}: ${_sdds_cs.bodyMBold.fontWeight};
|
|
144
|
+
${_emotion.tabsTokens.letterSpacing}: ${_sdds_cs.bodyMBold.letterSpacing};
|
|
145
|
+
${_emotion.tabsTokens.lineHeight}: ${_sdds_cs.bodyMBold.lineHeight};
|
|
145
146
|
|
|
146
|
-
${_emotion.tabsTokens.valueFontFamily}:
|
|
147
|
-
${_emotion.tabsTokens.valueFontSize}:
|
|
148
|
-
${_emotion.tabsTokens.valueFontStyle}:
|
|
149
|
-
${_emotion.tabsTokens.valueFontWeight}:
|
|
150
|
-
${_emotion.tabsTokens.valueLetterSpacing}:
|
|
151
|
-
${_emotion.tabsTokens.valueLineHeight}:
|
|
147
|
+
${_emotion.tabsTokens.valueFontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
148
|
+
${_emotion.tabsTokens.valueFontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
149
|
+
${_emotion.tabsTokens.valueFontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
150
|
+
${_emotion.tabsTokens.valueFontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
151
|
+
${_emotion.tabsTokens.valueLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
152
|
+
${_emotion.tabsTokens.valueLineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
152
153
|
|
|
153
154
|
${_emotion.tabsTokens.actionContentMarginLeft}: 0.125rem;
|
|
154
155
|
`
|
|
155
156
|
},
|
|
156
157
|
disabled: {
|
|
157
158
|
true: (0, _emotion.css)`
|
|
158
|
-
${_emotion.tabsTokens.itemColor}:
|
|
159
|
-
${_emotion.tabsTokens.itemValueColor}:
|
|
160
|
-
${_emotion.tabsTokens.itemColorHover}:
|
|
161
|
-
${_emotion.tabsTokens.itemValueColorHover}:
|
|
162
|
-
${_emotion.tabsTokens.itemColorActive}:
|
|
163
|
-
${_emotion.tabsTokens.itemValueColorActive}:
|
|
164
|
-
${_emotion.tabsTokens.itemSelectedColor}:
|
|
159
|
+
${_emotion.tabsTokens.itemColor}: ${_sdds_cs.textSecondary};
|
|
160
|
+
${_emotion.tabsTokens.itemValueColor}: ${_sdds_cs.textSecondary};
|
|
161
|
+
${_emotion.tabsTokens.itemColorHover}: ${_sdds_cs.textSecondary};
|
|
162
|
+
${_emotion.tabsTokens.itemValueColorHover}: ${_sdds_cs.textSecondary};
|
|
163
|
+
${_emotion.tabsTokens.itemColorActive}: ${_sdds_cs.textSecondary};
|
|
164
|
+
${_emotion.tabsTokens.itemValueColorActive}: ${_sdds_cs.textSecondary};
|
|
165
|
+
${_emotion.tabsTokens.itemSelectedColor}: ${_sdds_cs.textSecondary};
|
|
165
166
|
${_emotion.tabsTokens.itemSelectedDividerColor}: none;
|
|
166
167
|
${_emotion.tabsTokens.itemSelectedDividerColorHover}: none;
|
|
167
168
|
`
|
|
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "config", {
|
|
|
8
8
|
return config;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
+
const _sdds_cs = require("@salutejs/sdds-themes/tokens/sdds_cs");
|
|
11
12
|
const _emotion = require("@salutejs/plasma-new-hope/emotion");
|
|
12
13
|
const config = {
|
|
13
14
|
defaults: {
|
|
@@ -17,36 +18,36 @@ const config = {
|
|
|
17
18
|
variations: {
|
|
18
19
|
view: {
|
|
19
20
|
clear: (0, _emotion.css)`
|
|
20
|
-
${_emotion.tabsTokens.arrowColor}:
|
|
21
|
-
${_emotion.tabsTokens.arrowColorHover}:
|
|
22
|
-
${_emotion.tabsTokens.arrowColorActive}:
|
|
21
|
+
${_emotion.tabsTokens.arrowColor}: ${_sdds_cs.textSecondary};
|
|
22
|
+
${_emotion.tabsTokens.arrowColorHover}: ${_sdds_cs.textSecondaryHover};
|
|
23
|
+
${_emotion.tabsTokens.arrowColorActive}: ${_sdds_cs.textSecondaryActive};
|
|
23
24
|
${_emotion.tabsTokens.tabsBackgroundColor}: transparent;
|
|
24
|
-
${_emotion.tabsTokens.outlineFocusColor}:
|
|
25
|
+
${_emotion.tabsTokens.outlineFocusColor}: ${_sdds_cs.surfaceAccent};
|
|
25
26
|
|
|
26
27
|
${_emotion.tabsTokens.tabsDividerHeight}: 0rem;
|
|
27
28
|
${_emotion.tabsTokens.tabsDividerColor}: transparent;
|
|
28
29
|
${_emotion.tabsTokens.tabsDividerBorderRadius}: 0rem;
|
|
29
30
|
`,
|
|
30
31
|
filled: (0, _emotion.css)`
|
|
31
|
-
${_emotion.tabsTokens.arrowColor}:
|
|
32
|
-
${_emotion.tabsTokens.arrowColorHover}:
|
|
33
|
-
${_emotion.tabsTokens.arrowColorActive}:
|
|
32
|
+
${_emotion.tabsTokens.arrowColor}: ${_sdds_cs.textSecondary};
|
|
33
|
+
${_emotion.tabsTokens.arrowColorHover}: ${_sdds_cs.textSecondaryHover};
|
|
34
|
+
${_emotion.tabsTokens.arrowColorActive}: ${_sdds_cs.textSecondaryActive};
|
|
34
35
|
${_emotion.tabsTokens.tabsBackgroundColor}: var(--surface-transparent-primary);
|
|
35
|
-
${_emotion.tabsTokens.outlineFocusColor}:
|
|
36
|
+
${_emotion.tabsTokens.outlineFocusColor}: ${_sdds_cs.surfaceAccent};
|
|
36
37
|
|
|
37
38
|
${_emotion.tabsTokens.tabsDividerHeight}: 0rem;
|
|
38
39
|
${_emotion.tabsTokens.tabsDividerColor}: transparent;
|
|
39
40
|
${_emotion.tabsTokens.tabsDividerBorderRadius}: 0rem;
|
|
40
41
|
`,
|
|
41
42
|
divider: (0, _emotion.css)`
|
|
42
|
-
${_emotion.tabsTokens.arrowColor}:
|
|
43
|
-
${_emotion.tabsTokens.arrowColorHover}:
|
|
44
|
-
${_emotion.tabsTokens.arrowColorActive}:
|
|
43
|
+
${_emotion.tabsTokens.arrowColor}: ${_sdds_cs.textAccent};
|
|
44
|
+
${_emotion.tabsTokens.arrowColorHover}: ${_sdds_cs.textAccentMinor};
|
|
45
|
+
${_emotion.tabsTokens.arrowColorActive}: ${_sdds_cs.textAccentActive};
|
|
45
46
|
${_emotion.tabsTokens.tabsBackgroundColor}: transparent;
|
|
46
|
-
${_emotion.tabsTokens.outlineFocusColor}:
|
|
47
|
+
${_emotion.tabsTokens.outlineFocusColor}: ${_sdds_cs.surfaceAccent};
|
|
47
48
|
|
|
48
49
|
${_emotion.tabsTokens.tabsDividerHeight}: 0.0625rem;
|
|
49
|
-
${_emotion.tabsTokens.tabsDividerColor}:
|
|
50
|
+
${_emotion.tabsTokens.tabsDividerColor}: ${_sdds_cs.outlineSolidPrimary};
|
|
50
51
|
${_emotion.tabsTokens.tabsDividerBorderRadius}: 0.0625rem;
|
|
51
52
|
`
|
|
52
53
|
},
|
|
@@ -122,14 +123,14 @@ const config = {
|
|
|
122
123
|
},
|
|
123
124
|
disabled: {
|
|
124
125
|
true: (0, _emotion.css)`
|
|
125
|
-
${_emotion.tabsTokens.arrowColor}:
|
|
126
|
-
${_emotion.tabsTokens.itemColor}:
|
|
127
|
-
${_emotion.tabsTokens.itemValueColor}:
|
|
128
|
-
${_emotion.tabsTokens.itemColorHover}:
|
|
129
|
-
${_emotion.tabsTokens.itemValueColorHover}:
|
|
130
|
-
${_emotion.tabsTokens.itemColorActive}:
|
|
131
|
-
${_emotion.tabsTokens.itemValueColorActive}:
|
|
132
|
-
${_emotion.tabsTokens.itemSelectedColor}:
|
|
126
|
+
${_emotion.tabsTokens.arrowColor}: ${_sdds_cs.textSecondary};
|
|
127
|
+
${_emotion.tabsTokens.itemColor}: ${_sdds_cs.textSecondary};
|
|
128
|
+
${_emotion.tabsTokens.itemValueColor}: ${_sdds_cs.textSecondary};
|
|
129
|
+
${_emotion.tabsTokens.itemColorHover}: ${_sdds_cs.textSecondary};
|
|
130
|
+
${_emotion.tabsTokens.itemValueColorHover}: ${_sdds_cs.textSecondary};
|
|
131
|
+
${_emotion.tabsTokens.itemColorActive}: ${_sdds_cs.textSecondary};
|
|
132
|
+
${_emotion.tabsTokens.itemValueColorActive}: ${_sdds_cs.textSecondary};
|
|
133
|
+
${_emotion.tabsTokens.itemSelectedColor}: ${_sdds_cs.textSecondary};
|
|
133
134
|
${_emotion.tabsTokens.itemSelectedDividerColor}: none;
|
|
134
135
|
${_emotion.tabsTokens.itemSelectedDividerColorHover}: none;
|
|
135
136
|
${_emotion.tabsTokens.tabsDividerColor}: transparent;
|