@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: {
|
|
@@ -17,31 +18,31 @@ const config = {
|
|
|
17
18
|
variations: {
|
|
18
19
|
view: {
|
|
19
20
|
divider: (0, _emotion.css)`
|
|
20
|
-
${_emotion.tabsTokens.itemColor}:
|
|
21
|
-
${_emotion.tabsTokens.itemValueColor}:
|
|
21
|
+
${_emotion.tabsTokens.itemColor}: ${_sdds_cs.textAccent};
|
|
22
|
+
${_emotion.tabsTokens.itemValueColor}: ${_sdds_cs.textSecondary};
|
|
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.textAccentMinor};
|
|
25
|
+
${_emotion.tabsTokens.itemValueColorHover}: ${_sdds_cs.textSecondary};
|
|
26
|
+
${_emotion.tabsTokens.itemColorActive}: ${_sdds_cs.textAccentActive};
|
|
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
37
|
${_emotion.tabsTokens.itemPaddingClear}: 0;
|
|
37
38
|
${_emotion.tabsTokens.itemContentPaddingClear}: 0;
|
|
38
39
|
|
|
39
|
-
${_emotion.tabsTokens.outlineFocusColor}:
|
|
40
|
+
${_emotion.tabsTokens.outlineFocusColor}: ${_sdds_cs.surfaceAccent};
|
|
40
41
|
|
|
41
42
|
${_emotion.tabsTokens.itemSelectedDividerWidth}: 0.125rem;
|
|
42
43
|
${_emotion.tabsTokens.itemSelectedDividerHeight}: 0.125rem;
|
|
43
|
-
${_emotion.tabsTokens.itemSelectedDividerColor}:
|
|
44
|
-
${_emotion.tabsTokens.itemSelectedDividerColorHover}:
|
|
44
|
+
${_emotion.tabsTokens.itemSelectedDividerColor}: ${_sdds_cs.surfaceSolidDefault};
|
|
45
|
+
${_emotion.tabsTokens.itemSelectedDividerColorHover}: ${_sdds_cs.textPrimary};
|
|
45
46
|
|
|
46
47
|
${_emotion.tabsTokens.itemCursor}: default;
|
|
47
48
|
${_emotion.tabsTokens.itemCursorOverNotSelected}: pointer;
|
|
@@ -59,32 +60,32 @@ const config = {
|
|
|
59
60
|
${_emotion.tabsTokens.itemContentGap}: 0.25rem;
|
|
60
61
|
${_emotion.tabsTokens.itemContentPadding}: 0.125rem;
|
|
61
62
|
|
|
62
|
-
${_emotion.tabsTokens.fontFamily}:
|
|
63
|
-
${_emotion.tabsTokens.fontSize}:
|
|
64
|
-
${_emotion.tabsTokens.fontStyle}:
|
|
65
|
-
${_emotion.tabsTokens.fontWeight}:
|
|
66
|
-
${_emotion.tabsTokens.letterSpacing}:
|
|
67
|
-
${_emotion.tabsTokens.lineHeight}:
|
|
63
|
+
${_emotion.tabsTokens.fontFamily}: ${_sdds_cs.bodyMBold.fontFamily};
|
|
64
|
+
${_emotion.tabsTokens.fontSize}: ${_sdds_cs.bodyMBold.fontSize};
|
|
65
|
+
${_emotion.tabsTokens.fontStyle}: ${_sdds_cs.bodyMBold.fontStyle};
|
|
66
|
+
${_emotion.tabsTokens.fontWeight}: ${_sdds_cs.bodyMBold.fontWeight};
|
|
67
|
+
${_emotion.tabsTokens.letterSpacing}: ${_sdds_cs.bodyMBold.letterSpacing};
|
|
68
|
+
${_emotion.tabsTokens.lineHeight}: ${_sdds_cs.bodyMBold.lineHeight};
|
|
68
69
|
|
|
69
|
-
${_emotion.tabsTokens.valueFontFamily}:
|
|
70
|
-
${_emotion.tabsTokens.valueFontSize}:
|
|
71
|
-
${_emotion.tabsTokens.valueFontStyle}:
|
|
72
|
-
${_emotion.tabsTokens.valueFontWeight}:
|
|
73
|
-
${_emotion.tabsTokens.valueLetterSpacing}:
|
|
74
|
-
${_emotion.tabsTokens.valueLineHeight}:
|
|
70
|
+
${_emotion.tabsTokens.valueFontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
71
|
+
${_emotion.tabsTokens.valueFontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
72
|
+
${_emotion.tabsTokens.valueFontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
73
|
+
${_emotion.tabsTokens.valueFontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
74
|
+
${_emotion.tabsTokens.valueLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
75
|
+
${_emotion.tabsTokens.valueLineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
75
76
|
|
|
76
77
|
${_emotion.tabsTokens.actionContentMarginLeft}: 0.25rem;
|
|
77
78
|
`
|
|
78
79
|
},
|
|
79
80
|
disabled: {
|
|
80
81
|
true: (0, _emotion.css)`
|
|
81
|
-
${_emotion.tabsTokens.itemColor}:
|
|
82
|
-
${_emotion.tabsTokens.itemValueColor}:
|
|
83
|
-
${_emotion.tabsTokens.itemColorHover}:
|
|
84
|
-
${_emotion.tabsTokens.itemValueColorHover}:
|
|
85
|
-
${_emotion.tabsTokens.itemColorActive}:
|
|
86
|
-
${_emotion.tabsTokens.itemValueColorActive}:
|
|
87
|
-
${_emotion.tabsTokens.itemSelectedColor}:
|
|
82
|
+
${_emotion.tabsTokens.itemColor}: ${_sdds_cs.textSecondary};
|
|
83
|
+
${_emotion.tabsTokens.itemValueColor}: ${_sdds_cs.textSecondary};
|
|
84
|
+
${_emotion.tabsTokens.itemColorHover}: ${_sdds_cs.textSecondary};
|
|
85
|
+
${_emotion.tabsTokens.itemValueColorHover}: ${_sdds_cs.textSecondary};
|
|
86
|
+
${_emotion.tabsTokens.itemColorActive}: ${_sdds_cs.textSecondary};
|
|
87
|
+
${_emotion.tabsTokens.itemValueColorActive}: ${_sdds_cs.textSecondary};
|
|
88
|
+
${_emotion.tabsTokens.itemSelectedColor}: ${_sdds_cs.textSecondary};
|
|
88
89
|
${_emotion.tabsTokens.itemSelectedDividerColor}: none;
|
|
89
90
|
${_emotion.tabsTokens.itemSelectedDividerColorHover}: none;
|
|
90
91
|
`
|
|
@@ -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,15 +18,15 @@ const config = {
|
|
|
17
18
|
variations: {
|
|
18
19
|
view: {
|
|
19
20
|
divider: (0, _emotion.css)`
|
|
20
|
-
${_emotion.tabsTokens.arrowColor}:
|
|
21
|
-
${_emotion.tabsTokens.arrowColorHover}:
|
|
22
|
-
${_emotion.tabsTokens.arrowColorActive}:
|
|
21
|
+
${_emotion.tabsTokens.arrowColor}: ${_sdds_cs.textAccent};
|
|
22
|
+
${_emotion.tabsTokens.arrowColorHover}: ${_sdds_cs.textAccentMinor};
|
|
23
|
+
${_emotion.tabsTokens.arrowColorActive}: ${_sdds_cs.textAccentActive};
|
|
23
24
|
${_emotion.tabsTokens.tabsBackgroundColor}: transparent;
|
|
24
|
-
${_emotion.tabsTokens.outlineFocusColor}:
|
|
25
|
+
${_emotion.tabsTokens.outlineFocusColor}: ${_sdds_cs.surfaceAccent};
|
|
25
26
|
|
|
26
27
|
${_emotion.tabsTokens.tabsDividerWidth}: 0.0625rem;
|
|
27
28
|
${_emotion.tabsTokens.tabsDividerHeight}: 0.0625rem;
|
|
28
|
-
${_emotion.tabsTokens.tabsDividerColor}:
|
|
29
|
+
${_emotion.tabsTokens.tabsDividerColor}: ${_sdds_cs.outlineSolidPrimary};
|
|
29
30
|
${_emotion.tabsTokens.tabsDividerBorderRadius}: 0.0625rem;
|
|
30
31
|
`
|
|
31
32
|
},
|
|
@@ -45,14 +46,14 @@ const config = {
|
|
|
45
46
|
},
|
|
46
47
|
disabled: {
|
|
47
48
|
true: (0, _emotion.css)`
|
|
48
|
-
${_emotion.tabsTokens.arrowColor}:
|
|
49
|
-
${_emotion.tabsTokens.itemColor}:
|
|
50
|
-
${_emotion.tabsTokens.itemValueColor}:
|
|
51
|
-
${_emotion.tabsTokens.itemColorHover}:
|
|
52
|
-
${_emotion.tabsTokens.itemValueColorHover}:
|
|
53
|
-
${_emotion.tabsTokens.itemColorActive}:
|
|
54
|
-
${_emotion.tabsTokens.itemValueColorActive}:
|
|
55
|
-
${_emotion.tabsTokens.itemSelectedColor}:
|
|
49
|
+
${_emotion.tabsTokens.arrowColor}: ${_sdds_cs.textSecondary};
|
|
50
|
+
${_emotion.tabsTokens.itemColor}: ${_sdds_cs.textSecondary};
|
|
51
|
+
${_emotion.tabsTokens.itemValueColor}: ${_sdds_cs.textSecondary};
|
|
52
|
+
${_emotion.tabsTokens.itemColorHover}: ${_sdds_cs.textSecondary};
|
|
53
|
+
${_emotion.tabsTokens.itemValueColorHover}: ${_sdds_cs.textSecondary};
|
|
54
|
+
${_emotion.tabsTokens.itemColorActive}: ${_sdds_cs.textSecondary};
|
|
55
|
+
${_emotion.tabsTokens.itemValueColorActive}: ${_sdds_cs.textSecondary};
|
|
56
|
+
${_emotion.tabsTokens.itemSelectedColor}: ${_sdds_cs.textSecondary};
|
|
56
57
|
${_emotion.tabsTokens.itemSelectedDividerColor}: none;
|
|
57
58
|
${_emotion.tabsTokens.itemSelectedDividerColorHover}: none;
|
|
58
59
|
${_emotion.tabsTokens.tabsDividerColor}: transparent;
|
|
@@ -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: {
|
|
@@ -26,35 +27,35 @@ const config = {
|
|
|
26
27
|
${_emotion.textAreaTokens.backgroundColorActive}: transparent;
|
|
27
28
|
${_emotion.textAreaTokens.backgroundColorFocus}: transparent;
|
|
28
29
|
|
|
29
|
-
${_emotion.textAreaTokens.inputColor}:
|
|
30
|
-
${_emotion.textAreaTokens.inputColorFocus}:
|
|
31
|
-
${_emotion.textAreaTokens.inputCaretColor}:
|
|
30
|
+
${_emotion.textAreaTokens.inputColor}: ${_sdds_cs.textPrimary};
|
|
31
|
+
${_emotion.textAreaTokens.inputColorFocus}: ${_sdds_cs.textPrimary};
|
|
32
|
+
${_emotion.textAreaTokens.inputCaretColor}: ${_sdds_cs.textAccent};
|
|
32
33
|
|
|
33
|
-
${_emotion.textAreaTokens.placeholderColor}:
|
|
34
|
-
${_emotion.textAreaTokens.placeholderColorFocus}:
|
|
34
|
+
${_emotion.textAreaTokens.placeholderColor}: ${_sdds_cs.textSecondary};
|
|
35
|
+
${_emotion.textAreaTokens.placeholderColorFocus}: ${_sdds_cs.textSecondary};
|
|
35
36
|
|
|
36
|
-
${_emotion.textAreaTokens.leftHelperColor}:
|
|
37
|
-
${_emotion.textAreaTokens.rightHelperColor}:
|
|
37
|
+
${_emotion.textAreaTokens.leftHelperColor}: ${_sdds_cs.textSecondary};
|
|
38
|
+
${_emotion.textAreaTokens.rightHelperColor}: ${_sdds_cs.textSecondary};
|
|
38
39
|
|
|
39
|
-
${_emotion.textAreaTokens.rightContentColor}:
|
|
40
|
-
${_emotion.textAreaTokens.rightContentColorHover}:
|
|
41
|
-
${_emotion.textAreaTokens.rightContentColorActive}:
|
|
40
|
+
${_emotion.textAreaTokens.rightContentColor}: ${_sdds_cs.textAccent};
|
|
41
|
+
${_emotion.textAreaTokens.rightContentColorHover}: ${_sdds_cs.textAccentHover};
|
|
42
|
+
${_emotion.textAreaTokens.rightContentColorActive}: ${_sdds_cs.textAccentActive};
|
|
42
43
|
|
|
43
|
-
${_emotion.textAreaTokens.indicatorColor}:
|
|
44
|
-
${_emotion.textAreaTokens.optionalColor}:
|
|
44
|
+
${_emotion.textAreaTokens.indicatorColor}: ${_sdds_cs.textNegative};
|
|
45
|
+
${_emotion.textAreaTokens.optionalColor}: ${_sdds_cs.textSecondary};
|
|
45
46
|
|
|
46
|
-
${_emotion.textAreaTokens.scrollbarThumbBackgroundColor}:
|
|
47
|
-
${_emotion.textAreaTokens.scrollbarThumbBackgroundColorHover}:
|
|
48
|
-
${_emotion.textAreaTokens.scrollbarThumbBackgroundColorActive}:
|
|
49
|
-
${_emotion.textAreaTokens.scrollbarTrackBackgroundColor}:
|
|
50
|
-
${_emotion.textAreaTokens.scrollbarTrackBackgroundColorActive}:
|
|
51
|
-
${_emotion.textAreaTokens.scrollbarTrackBackgroundColorHover}:
|
|
47
|
+
${_emotion.textAreaTokens.scrollbarThumbBackgroundColor}: ${_sdds_cs.surfaceSolidDefault};
|
|
48
|
+
${_emotion.textAreaTokens.scrollbarThumbBackgroundColorHover}: ${_sdds_cs.surfaceSolidDefaultHover};
|
|
49
|
+
${_emotion.textAreaTokens.scrollbarThumbBackgroundColorActive}: ${_sdds_cs.surfaceSolidDefaultActive};
|
|
50
|
+
${_emotion.textAreaTokens.scrollbarTrackBackgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
|
|
51
|
+
${_emotion.textAreaTokens.scrollbarTrackBackgroundColorActive}: ${_sdds_cs.surfaceSolidPrimaryActive};
|
|
52
|
+
${_emotion.textAreaTokens.scrollbarTrackBackgroundColorHover}: ${_sdds_cs.surfaceSolidPrimaryHover};
|
|
52
53
|
|
|
53
|
-
${_emotion.textAreaTokens.dividerColor}:
|
|
54
|
-
${_emotion.textAreaTokens.dividerColorHover}:
|
|
55
|
-
${_emotion.textAreaTokens.dividerColorFocus}:
|
|
56
|
-
${_emotion.textAreaTokens.titleCaptionColor}:
|
|
57
|
-
${_emotion.textAreaTokens.hintIconColor}:
|
|
54
|
+
${_emotion.textAreaTokens.dividerColor}: ${_sdds_cs.outlineSolidPrimary};
|
|
55
|
+
${_emotion.textAreaTokens.dividerColorHover}: ${_sdds_cs.textSecondary};
|
|
56
|
+
${_emotion.textAreaTokens.dividerColorFocus}: ${_sdds_cs.surfaceAccent};
|
|
57
|
+
${_emotion.textAreaTokens.titleCaptionColor}: ${_sdds_cs.textSecondary};
|
|
58
|
+
${_emotion.textAreaTokens.hintIconColor}: ${_sdds_cs.textSecondary};
|
|
58
59
|
`,
|
|
59
60
|
/**
|
|
60
61
|
* @deprecated
|
|
@@ -67,32 +68,32 @@ const config = {
|
|
|
67
68
|
${_emotion.textAreaTokens.backgroundColorHover}: transparent;
|
|
68
69
|
${_emotion.textAreaTokens.backgroundColorActive}: transparent;
|
|
69
70
|
${_emotion.textAreaTokens.backgroundColorFocus}: transparent;
|
|
70
|
-
${_emotion.textAreaTokens.inputColor}:
|
|
71
|
-
${_emotion.textAreaTokens.inputColorFocus}:
|
|
72
|
-
${_emotion.textAreaTokens.inputCaretColor}:
|
|
73
|
-
${_emotion.textAreaTokens.placeholderColor}:
|
|
74
|
-
${_emotion.textAreaTokens.placeholderColorFocus}:
|
|
75
|
-
|
|
76
|
-
${_emotion.textAreaTokens.leftHelperColor}:
|
|
77
|
-
${_emotion.textAreaTokens.rightHelperColor}:
|
|
78
|
-
${_emotion.textAreaTokens.indicatorColor}:
|
|
79
|
-
${_emotion.textAreaTokens.optionalColor}:
|
|
80
|
-
${_emotion.textAreaTokens.rightContentColor}:
|
|
81
|
-
${_emotion.textAreaTokens.rightContentColorHover}:
|
|
82
|
-
${_emotion.textAreaTokens.rightContentColorActive}:
|
|
83
|
-
|
|
84
|
-
${_emotion.textAreaTokens.scrollbarThumbBackgroundColor}:
|
|
85
|
-
${_emotion.textAreaTokens.scrollbarThumbBackgroundColorHover}:
|
|
86
|
-
${_emotion.textAreaTokens.scrollbarThumbBackgroundColorActive}:
|
|
87
|
-
${_emotion.textAreaTokens.scrollbarTrackBackgroundColor}:
|
|
88
|
-
${_emotion.textAreaTokens.scrollbarTrackBackgroundColorActive}:
|
|
89
|
-
${_emotion.textAreaTokens.scrollbarTrackBackgroundColorHover}:
|
|
90
|
-
|
|
91
|
-
${_emotion.textAreaTokens.dividerColor}:
|
|
92
|
-
${_emotion.textAreaTokens.dividerColorHover}:
|
|
93
|
-
${_emotion.textAreaTokens.dividerColorFocus}:
|
|
94
|
-
${_emotion.textAreaTokens.titleCaptionColor}:
|
|
95
|
-
${_emotion.textAreaTokens.hintIconColor}:
|
|
71
|
+
${_emotion.textAreaTokens.inputColor}: ${_sdds_cs.textPrimary};
|
|
72
|
+
${_emotion.textAreaTokens.inputColorFocus}: ${_sdds_cs.textPrimary};
|
|
73
|
+
${_emotion.textAreaTokens.inputCaretColor}: ${_sdds_cs.textAccent};
|
|
74
|
+
${_emotion.textAreaTokens.placeholderColor}: ${_sdds_cs.textSecondary};
|
|
75
|
+
${_emotion.textAreaTokens.placeholderColorFocus}: ${_sdds_cs.textSecondary};
|
|
76
|
+
|
|
77
|
+
${_emotion.textAreaTokens.leftHelperColor}: ${_sdds_cs.textSecondary};
|
|
78
|
+
${_emotion.textAreaTokens.rightHelperColor}: ${_sdds_cs.textSecondary};
|
|
79
|
+
${_emotion.textAreaTokens.indicatorColor}: ${_sdds_cs.textNegative};
|
|
80
|
+
${_emotion.textAreaTokens.optionalColor}: ${_sdds_cs.textSecondary};
|
|
81
|
+
${_emotion.textAreaTokens.rightContentColor}: ${_sdds_cs.textAccent};
|
|
82
|
+
${_emotion.textAreaTokens.rightContentColorHover}: ${_sdds_cs.textAccentHover};
|
|
83
|
+
${_emotion.textAreaTokens.rightContentColorActive}: ${_sdds_cs.textAccentActive};
|
|
84
|
+
|
|
85
|
+
${_emotion.textAreaTokens.scrollbarThumbBackgroundColor}: ${_sdds_cs.surfaceSolidDefault};
|
|
86
|
+
${_emotion.textAreaTokens.scrollbarThumbBackgroundColorHover}: ${_sdds_cs.surfaceSolidDefaultHover};
|
|
87
|
+
${_emotion.textAreaTokens.scrollbarThumbBackgroundColorActive}: ${_sdds_cs.surfaceSolidDefaultActive};
|
|
88
|
+
${_emotion.textAreaTokens.scrollbarTrackBackgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
|
|
89
|
+
${_emotion.textAreaTokens.scrollbarTrackBackgroundColorActive}: ${_sdds_cs.surfaceSolidPrimaryActive};
|
|
90
|
+
${_emotion.textAreaTokens.scrollbarTrackBackgroundColorHover}: ${_sdds_cs.surfaceSolidPrimaryHover};
|
|
91
|
+
|
|
92
|
+
${_emotion.textAreaTokens.dividerColor}: ${_sdds_cs.outlineSolidPrimary};
|
|
93
|
+
${_emotion.textAreaTokens.dividerColorHover}: ${_sdds_cs.textSecondary};
|
|
94
|
+
${_emotion.textAreaTokens.dividerColorFocus}: ${_sdds_cs.surfaceAccent};
|
|
95
|
+
${_emotion.textAreaTokens.titleCaptionColor}: ${_sdds_cs.textSecondary};
|
|
96
|
+
${_emotion.textAreaTokens.hintIconColor}: ${_sdds_cs.textSecondary};
|
|
96
97
|
`,
|
|
97
98
|
negative: (0, _emotion.css)`
|
|
98
99
|
${_emotion.textAreaTokens.borderColor}: transparent;
|
|
@@ -103,35 +104,35 @@ const config = {
|
|
|
103
104
|
${_emotion.textAreaTokens.backgroundColorActive}: transparent;
|
|
104
105
|
${_emotion.textAreaTokens.backgroundColorFocus}: transparent;
|
|
105
106
|
|
|
106
|
-
${_emotion.textAreaTokens.inputColor}:
|
|
107
|
-
${_emotion.textAreaTokens.inputColorFocus}:
|
|
108
|
-
${_emotion.textAreaTokens.inputCaretColor}:
|
|
107
|
+
${_emotion.textAreaTokens.inputColor}: ${_sdds_cs.textPrimary};
|
|
108
|
+
${_emotion.textAreaTokens.inputColorFocus}: ${_sdds_cs.textPrimary};
|
|
109
|
+
${_emotion.textAreaTokens.inputCaretColor}: ${_sdds_cs.textNegative};
|
|
109
110
|
|
|
110
|
-
${_emotion.textAreaTokens.placeholderColor}:
|
|
111
|
-
${_emotion.textAreaTokens.placeholderColorFocus}:
|
|
111
|
+
${_emotion.textAreaTokens.placeholderColor}: ${_sdds_cs.textSecondary};
|
|
112
|
+
${_emotion.textAreaTokens.placeholderColorFocus}: ${_sdds_cs.textSecondary};
|
|
112
113
|
|
|
113
|
-
${_emotion.textAreaTokens.leftHelperColor}:
|
|
114
|
-
${_emotion.textAreaTokens.rightHelperColor}:
|
|
114
|
+
${_emotion.textAreaTokens.leftHelperColor}: ${_sdds_cs.textNegative};
|
|
115
|
+
${_emotion.textAreaTokens.rightHelperColor}: ${_sdds_cs.textSecondary};
|
|
115
116
|
|
|
116
|
-
${_emotion.textAreaTokens.rightContentColor}:
|
|
117
|
-
${_emotion.textAreaTokens.rightContentColorHover}:
|
|
118
|
-
${_emotion.textAreaTokens.rightContentColorActive}:
|
|
117
|
+
${_emotion.textAreaTokens.rightContentColor}: ${_sdds_cs.textAccent};
|
|
118
|
+
${_emotion.textAreaTokens.rightContentColorHover}: ${_sdds_cs.textAccentHover};
|
|
119
|
+
${_emotion.textAreaTokens.rightContentColorActive}: ${_sdds_cs.textAccentActive};
|
|
119
120
|
|
|
120
|
-
${_emotion.textAreaTokens.indicatorColor}:
|
|
121
|
-
${_emotion.textAreaTokens.optionalColor}:
|
|
121
|
+
${_emotion.textAreaTokens.indicatorColor}: ${_sdds_cs.textNegative};
|
|
122
|
+
${_emotion.textAreaTokens.optionalColor}: ${_sdds_cs.textSecondary};
|
|
122
123
|
|
|
123
|
-
${_emotion.textAreaTokens.scrollbarThumbBackgroundColor}:
|
|
124
|
-
${_emotion.textAreaTokens.scrollbarThumbBackgroundColorHover}:
|
|
125
|
-
${_emotion.textAreaTokens.scrollbarThumbBackgroundColorActive}:
|
|
126
|
-
${_emotion.textAreaTokens.scrollbarTrackBackgroundColor}:
|
|
127
|
-
${_emotion.textAreaTokens.scrollbarTrackBackgroundColorActive}:
|
|
128
|
-
${_emotion.textAreaTokens.scrollbarTrackBackgroundColorHover}:
|
|
124
|
+
${_emotion.textAreaTokens.scrollbarThumbBackgroundColor}: ${_sdds_cs.surfaceSolidDefault};
|
|
125
|
+
${_emotion.textAreaTokens.scrollbarThumbBackgroundColorHover}: ${_sdds_cs.surfaceSolidDefaultHover};
|
|
126
|
+
${_emotion.textAreaTokens.scrollbarThumbBackgroundColorActive}: ${_sdds_cs.surfaceSolidDefaultActive};
|
|
127
|
+
${_emotion.textAreaTokens.scrollbarTrackBackgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
|
|
128
|
+
${_emotion.textAreaTokens.scrollbarTrackBackgroundColorActive}: ${_sdds_cs.surfaceSolidPrimaryActive};
|
|
129
|
+
${_emotion.textAreaTokens.scrollbarTrackBackgroundColorHover}: ${_sdds_cs.surfaceSolidPrimaryHover};
|
|
129
130
|
|
|
130
|
-
${_emotion.textAreaTokens.dividerColor}:
|
|
131
|
-
${_emotion.textAreaTokens.dividerColorHover}:
|
|
131
|
+
${_emotion.textAreaTokens.dividerColor}: ${_sdds_cs.outlineNegative};
|
|
132
|
+
${_emotion.textAreaTokens.dividerColorHover}: ${_sdds_cs.outlineNegativeHover};
|
|
132
133
|
${_emotion.textAreaTokens.dividerColorFocus}: var(--outline-negative-focus);
|
|
133
|
-
${_emotion.textAreaTokens.titleCaptionColor}:
|
|
134
|
-
${_emotion.textAreaTokens.hintIconColor}:
|
|
134
|
+
${_emotion.textAreaTokens.titleCaptionColor}: ${_sdds_cs.textSecondary};
|
|
135
|
+
${_emotion.textAreaTokens.hintIconColor}: ${_sdds_cs.textSecondary};
|
|
135
136
|
`
|
|
136
137
|
},
|
|
137
138
|
size: {
|
|
@@ -162,30 +163,30 @@ const config = {
|
|
|
162
163
|
|
|
163
164
|
${_emotion.textAreaTokens.labelMarginBottom}: 0.25rem;
|
|
164
165
|
|
|
165
|
-
${_emotion.textAreaTokens.labelOuterFontSize}:
|
|
166
|
-
${_emotion.textAreaTokens.labelInnerFontFamily}:
|
|
167
|
-
${_emotion.textAreaTokens.labelInnerFontSize}:
|
|
168
|
-
${_emotion.textAreaTokens.labelInnerFontStyle}:
|
|
169
|
-
${_emotion.textAreaTokens.labelInnerFontWeight}:
|
|
170
|
-
${_emotion.textAreaTokens.labelInnerLetterSpacing}:
|
|
171
|
-
${_emotion.textAreaTokens.labelInnerLineHeight}:
|
|
166
|
+
${_emotion.textAreaTokens.labelOuterFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
167
|
+
${_emotion.textAreaTokens.labelInnerFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
168
|
+
${_emotion.textAreaTokens.labelInnerFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
169
|
+
${_emotion.textAreaTokens.labelInnerFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
170
|
+
${_emotion.textAreaTokens.labelInnerFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
171
|
+
${_emotion.textAreaTokens.labelInnerLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
172
|
+
${_emotion.textAreaTokens.labelInnerLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
172
173
|
|
|
173
174
|
${_emotion.textAreaTokens.labelInnerTop}: 0.375rem;
|
|
174
175
|
${_emotion.textAreaTokens.labelInnerMarginBottom}: 0.125rem;
|
|
175
176
|
|
|
176
|
-
${_emotion.textAreaTokens.inputFontFamily}:
|
|
177
|
-
${_emotion.textAreaTokens.inputFontSize}:
|
|
178
|
-
${_emotion.textAreaTokens.inputFontStyle}:
|
|
179
|
-
${_emotion.textAreaTokens.inputFontWeight}:
|
|
180
|
-
${_emotion.textAreaTokens.inputLetterSpacing}:
|
|
181
|
-
${_emotion.textAreaTokens.inputLineHeight}:
|
|
177
|
+
${_emotion.textAreaTokens.inputFontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
178
|
+
${_emotion.textAreaTokens.inputFontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
179
|
+
${_emotion.textAreaTokens.inputFontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
180
|
+
${_emotion.textAreaTokens.inputFontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
181
|
+
${_emotion.textAreaTokens.inputLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
182
|
+
${_emotion.textAreaTokens.inputLineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
182
183
|
|
|
183
|
-
${_emotion.textAreaTokens.helpersFontFamily}:
|
|
184
|
-
${_emotion.textAreaTokens.helpersFontSize}:
|
|
185
|
-
${_emotion.textAreaTokens.helpersFontStyle}:
|
|
186
|
-
${_emotion.textAreaTokens.helpersFontWeight}:
|
|
187
|
-
${_emotion.textAreaTokens.helpersLetterSpacing}:
|
|
188
|
-
${_emotion.textAreaTokens.helpersLineHeight}:
|
|
184
|
+
${_emotion.textAreaTokens.helpersFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
185
|
+
${_emotion.textAreaTokens.helpersFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
186
|
+
${_emotion.textAreaTokens.helpersFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
187
|
+
${_emotion.textAreaTokens.helpersFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
188
|
+
${_emotion.textAreaTokens.helpersLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
189
|
+
${_emotion.textAreaTokens.helpersLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
189
190
|
|
|
190
191
|
${_emotion.textAreaTokens.indicatorSizeInner}: 0.375rem;
|
|
191
192
|
${_emotion.textAreaTokens.indicatorSizeOuter}: 0.375rem;
|
|
@@ -203,21 +204,21 @@ const config = {
|
|
|
203
204
|
${_emotion.textAreaTokens.hintInnerLabelPlacementOffset}: -0.751rem -2rem auto auto;
|
|
204
205
|
|
|
205
206
|
${_emotion.textAreaTokens.titleCaptionInnerLabelOffset}: 0.25rem;
|
|
206
|
-
${_emotion.textAreaTokens.titleCaptionFontFamily}:
|
|
207
|
-
${_emotion.textAreaTokens.titleCaptionFontSize}:
|
|
208
|
-
${_emotion.textAreaTokens.titleCaptionFontStyle}:
|
|
209
|
-
${_emotion.textAreaTokens.titleCaptionFontWeight}:
|
|
210
|
-
${_emotion.textAreaTokens.titleCaptionLetterSpacing}:
|
|
211
|
-
${_emotion.textAreaTokens.titleCaptionLineHeight}:
|
|
207
|
+
${_emotion.textAreaTokens.titleCaptionFontFamily}: ${_sdds_cs.bodyXS.fontFamily};
|
|
208
|
+
${_emotion.textAreaTokens.titleCaptionFontSize}: ${_sdds_cs.bodyXS.fontSize};
|
|
209
|
+
${_emotion.textAreaTokens.titleCaptionFontStyle}: ${_sdds_cs.bodyXS.fontStyle};
|
|
210
|
+
${_emotion.textAreaTokens.titleCaptionFontWeight}: ${_sdds_cs.bodyXS.fontWeight};
|
|
211
|
+
${_emotion.textAreaTokens.titleCaptionLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
|
|
212
|
+
${_emotion.textAreaTokens.titleCaptionLineHeight}: ${_sdds_cs.bodyXS.lineHeight};
|
|
212
213
|
`
|
|
213
214
|
},
|
|
214
215
|
hintView: {
|
|
215
216
|
// TODO: заменить тень на токен https://github.com/salute-developers/plasma/issues/1131
|
|
216
217
|
default: (0, _emotion.css)`
|
|
217
|
-
${_emotion.textAreaTokens.tooltipBackgroundColor}:
|
|
218
|
+
${_emotion.textAreaTokens.tooltipBackgroundColor}: ${_sdds_cs.surfaceSolidCardBrightness};
|
|
218
219
|
${_emotion.textAreaTokens.tooltipBoxShadow}: 0px 4px 12px 0px rgba(0, 0, 0, 0.16), 0px 1px 4px 0px rgba(0, 0, 0, 0.08);
|
|
219
|
-
${_emotion.textAreaTokens.tooltipColor}:
|
|
220
|
-
${_emotion.textAreaTokens.tooltipArrowBackground}:
|
|
220
|
+
${_emotion.textAreaTokens.tooltipColor}: ${_sdds_cs.textPrimary};
|
|
221
|
+
${_emotion.textAreaTokens.tooltipArrowBackground}: ${_sdds_cs.surfaceSolidCardBrightness};
|
|
221
222
|
`
|
|
222
223
|
},
|
|
223
224
|
hintSize: {
|
|
@@ -232,12 +233,12 @@ const config = {
|
|
|
232
233
|
${_emotion.textAreaTokens.tooltipMinHeight}: 2.5rem;
|
|
233
234
|
${_emotion.textAreaTokens.tooltipBorderRadius}: 0.625rem;
|
|
234
235
|
|
|
235
|
-
${_emotion.textAreaTokens.tooltipTextFontFamily}:
|
|
236
|
-
${_emotion.textAreaTokens.tooltipTextFontSize}:
|
|
237
|
-
${_emotion.textAreaTokens.tooltipTextFontStyle}:
|
|
238
|
-
${_emotion.textAreaTokens.tooltipTextFontWeight}:
|
|
239
|
-
${_emotion.textAreaTokens.tooltipTextFontLetterSpacing}:
|
|
240
|
-
${_emotion.textAreaTokens.tooltipTextFontLineHeight}:
|
|
236
|
+
${_emotion.textAreaTokens.tooltipTextFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
237
|
+
${_emotion.textAreaTokens.tooltipTextFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
238
|
+
${_emotion.textAreaTokens.tooltipTextFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
239
|
+
${_emotion.textAreaTokens.tooltipTextFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
240
|
+
${_emotion.textAreaTokens.tooltipTextFontLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
241
|
+
${_emotion.textAreaTokens.tooltipTextFontLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
241
242
|
|
|
242
243
|
${_emotion.textAreaTokens.tooltipContentLeftMargin}: 0.375rem;
|
|
243
244
|
|
|
@@ -257,12 +258,12 @@ const config = {
|
|
|
257
258
|
${_emotion.textAreaTokens.tooltipMinHeight}: 2rem;
|
|
258
259
|
${_emotion.textAreaTokens.tooltipBorderRadius}: 0.5rem;
|
|
259
260
|
|
|
260
|
-
${_emotion.textAreaTokens.tooltipTextFontFamily}:
|
|
261
|
-
${_emotion.textAreaTokens.tooltipTextFontSize}:
|
|
262
|
-
${_emotion.textAreaTokens.tooltipTextFontStyle}:
|
|
263
|
-
${_emotion.textAreaTokens.tooltipTextFontWeight}:
|
|
264
|
-
${_emotion.textAreaTokens.tooltipTextFontLetterSpacing}:
|
|
265
|
-
${_emotion.textAreaTokens.tooltipTextFontLineHeight}:
|
|
261
|
+
${_emotion.textAreaTokens.tooltipTextFontFamily}: ${_sdds_cs.bodyXS.fontFamily};
|
|
262
|
+
${_emotion.textAreaTokens.tooltipTextFontSize}: ${_sdds_cs.bodyXS.fontSize};
|
|
263
|
+
${_emotion.textAreaTokens.tooltipTextFontStyle}: ${_sdds_cs.bodyXS.fontStyle};
|
|
264
|
+
${_emotion.textAreaTokens.tooltipTextFontWeight}: ${_sdds_cs.bodyXS.fontWeight};
|
|
265
|
+
${_emotion.textAreaTokens.tooltipTextFontLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
|
|
266
|
+
${_emotion.textAreaTokens.tooltipTextFontLineHeight}: ${_sdds_cs.bodyXS.lineHeight};
|
|
266
267
|
|
|
267
268
|
${_emotion.textAreaTokens.tooltipContentLeftMargin}: 0.25rem;
|
|
268
269
|
|
|
@@ -278,32 +279,32 @@ const config = {
|
|
|
278
279
|
disabled: {
|
|
279
280
|
true: (0, _emotion.css)`
|
|
280
281
|
${_emotion.textAreaTokens.disabledOpacity}: 1;
|
|
281
|
-
${_emotion.textAreaTokens.backgroundColor}:
|
|
282
|
-
${_emotion.textAreaTokens.borderColor}:
|
|
283
|
-
${_emotion.textAreaTokens.borderColorHover}:
|
|
284
|
-
${_emotion.textAreaTokens.borderColorFocus}:
|
|
285
|
-
${_emotion.textAreaTokens.inputColor}:
|
|
286
|
-
${_emotion.textAreaTokens.inputColorFocus}:
|
|
287
|
-
${_emotion.textAreaTokens.placeholderColorFocus}:
|
|
288
|
-
${_emotion.textAreaTokens.labelOuterColor}:
|
|
289
|
-
${_emotion.textAreaTokens.inputColorDisabled}:
|
|
282
|
+
${_emotion.textAreaTokens.backgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
|
|
283
|
+
${_emotion.textAreaTokens.borderColor}: ${_sdds_cs.surfaceSolidPrimary};
|
|
284
|
+
${_emotion.textAreaTokens.borderColorHover}: ${_sdds_cs.surfaceSolidPrimary};
|
|
285
|
+
${_emotion.textAreaTokens.borderColorFocus}: ${_sdds_cs.surfaceSolidPrimary};
|
|
286
|
+
${_emotion.textAreaTokens.inputColor}: ${_sdds_cs.textSecondary};
|
|
287
|
+
${_emotion.textAreaTokens.inputColorFocus}: ${_sdds_cs.textSecondary};
|
|
288
|
+
${_emotion.textAreaTokens.placeholderColorFocus}: ${_sdds_cs.textSecondary};
|
|
289
|
+
${_emotion.textAreaTokens.labelOuterColor}: ${_sdds_cs.textPrimary};
|
|
290
|
+
${_emotion.textAreaTokens.inputColorDisabled}: ${_sdds_cs.textSecondary};
|
|
290
291
|
`
|
|
291
292
|
},
|
|
292
293
|
readOnly: {
|
|
293
294
|
true: (0, _emotion.css)`
|
|
294
295
|
${_emotion.textAreaTokens.readOnlyOpacity}: 0.1;
|
|
295
|
-
${_emotion.textAreaTokens.labelOuterColor}:
|
|
296
|
-
${_emotion.textAreaTokens.inputColorReadOnly}:
|
|
296
|
+
${_emotion.textAreaTokens.labelOuterColor}: ${_sdds_cs.textSecondary};
|
|
297
|
+
${_emotion.textAreaTokens.inputColorReadOnly}: ${_sdds_cs.textPrimary};
|
|
297
298
|
${_emotion.textAreaTokens.dividerColorReadOnly}: var(--surface-transparent-primary);
|
|
298
299
|
${_emotion.textAreaTokens.contentSlotRightOpacityReadOnly}: 0.4;
|
|
299
|
-
${_emotion.textAreaTokens.backgroundColor}:
|
|
300
|
-
${_emotion.textAreaTokens.borderColor}:
|
|
301
|
-
${_emotion.textAreaTokens.borderColorHover}:
|
|
302
|
-
${_emotion.textAreaTokens.borderColorFocus}:
|
|
303
|
-
${_emotion.textAreaTokens.inputColor}:
|
|
304
|
-
${_emotion.textAreaTokens.inputColorFocus}:
|
|
305
|
-
${_emotion.textAreaTokens.placeholderColorFocus}:
|
|
306
|
-
${_emotion.textAreaTokens.labelOuterColor}:
|
|
300
|
+
${_emotion.textAreaTokens.backgroundColor}: ${_sdds_cs.surfaceClear};
|
|
301
|
+
${_emotion.textAreaTokens.borderColor}: ${_sdds_cs.surfaceClear};
|
|
302
|
+
${_emotion.textAreaTokens.borderColorHover}: ${_sdds_cs.surfaceClear};
|
|
303
|
+
${_emotion.textAreaTokens.borderColorFocus}: ${_sdds_cs.surfaceClear};
|
|
304
|
+
${_emotion.textAreaTokens.inputColor}: ${_sdds_cs.textPrimary};
|
|
305
|
+
${_emotion.textAreaTokens.inputColorFocus}: ${_sdds_cs.textPrimary};
|
|
306
|
+
${_emotion.textAreaTokens.placeholderColorFocus}: ${_sdds_cs.textSecondary};
|
|
307
|
+
${_emotion.textAreaTokens.labelOuterColor}: ${_sdds_cs.textSecondary};
|
|
307
308
|
`
|
|
308
309
|
}
|
|
309
310
|
}
|