@salutejs/sdds-cs 0.362.0-next-sbcom.0 → 0.362.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: {
|
|
@@ -19,65 +20,65 @@ const config = {
|
|
|
19
20
|
variations: {
|
|
20
21
|
view: {
|
|
21
22
|
default: (0, _emotion.css)`
|
|
22
|
-
${_emotion.timePickerTokens.background}:
|
|
23
|
-
${_emotion.timePickerTokens.backgroundError}:
|
|
24
|
-
${_emotion.timePickerTokens.backgroundSuccess}:
|
|
23
|
+
${_emotion.timePickerTokens.background}: ${_sdds_cs.surfaceSolidCard};
|
|
24
|
+
${_emotion.timePickerTokens.backgroundError}: ${_sdds_cs.surfaceSolidCard};
|
|
25
|
+
${_emotion.timePickerTokens.backgroundSuccess}: ${_sdds_cs.surfaceSolidCard};
|
|
25
26
|
|
|
26
|
-
${_emotion.timePickerTokens.labelColor}:
|
|
27
|
+
${_emotion.timePickerTokens.labelColor}: ${_sdds_cs.textPrimary};
|
|
27
28
|
|
|
28
|
-
${_emotion.timePickerTokens.textFieldColor}:
|
|
29
|
-
${_emotion.timePickerTokens.textFieldPlaceholderColor}:
|
|
30
|
-
${_emotion.timePickerTokens.textFieldPlaceholderColorFocus}:
|
|
31
|
-
${_emotion.timePickerTokens.textFieldCaretColor}:
|
|
29
|
+
${_emotion.timePickerTokens.textFieldColor}: ${_sdds_cs.textPrimary};
|
|
30
|
+
${_emotion.timePickerTokens.textFieldPlaceholderColor}: ${_sdds_cs.textSecondary};
|
|
31
|
+
${_emotion.timePickerTokens.textFieldPlaceholderColorFocus}: ${_sdds_cs.textTertiary};
|
|
32
|
+
${_emotion.timePickerTokens.textFieldCaretColor}: ${_sdds_cs.textAccent};
|
|
32
33
|
|
|
33
|
-
${_emotion.timePickerTokens.indicatorColor}:
|
|
34
|
+
${_emotion.timePickerTokens.indicatorColor}: ${_sdds_cs.surfaceNegative};
|
|
34
35
|
|
|
35
|
-
${_emotion.timePickerTokens.timePickerShadow}:
|
|
36
|
+
${_emotion.timePickerTokens.timePickerShadow}: ${_sdds_cs.shadowDownSoftS};
|
|
36
37
|
|
|
37
|
-
${_emotion.timePickerTokens.textFieldBackgroundColor}:
|
|
38
|
-
${_emotion.timePickerTokens.textFieldBackgroundColorHover}:
|
|
39
|
-
${_emotion.timePickerTokens.textFieldBackgroundColorFocus}:
|
|
38
|
+
${_emotion.timePickerTokens.textFieldBackgroundColor}: ${_sdds_cs.surfaceSolidCard};
|
|
39
|
+
${_emotion.timePickerTokens.textFieldBackgroundColorHover}: ${_sdds_cs.surfaceSolidCard};
|
|
40
|
+
${_emotion.timePickerTokens.textFieldBackgroundColorFocus}: ${_sdds_cs.surfaceSolidCard};
|
|
40
41
|
${_emotion.timePickerTokens.textFieldBackgroundErrorColor}: var--surface-solid-card);
|
|
41
42
|
${_emotion.timePickerTokens.textFieldBackgroundErrorColorFocus}: var--surface-solid-card);
|
|
42
|
-
${_emotion.timePickerTokens.textFieldBackgroundSuccessColor}:
|
|
43
|
-
${_emotion.timePickerTokens.textFieldBackgroundSuccessColorFocus}:
|
|
43
|
+
${_emotion.timePickerTokens.textFieldBackgroundSuccessColor}: ${_sdds_cs.surfaceSolidCard};
|
|
44
|
+
${_emotion.timePickerTokens.textFieldBackgroundSuccessColorFocus}: ${_sdds_cs.surfaceSolidCard};
|
|
44
45
|
|
|
45
|
-
${_emotion.timePickerTokens.borderColor}:
|
|
46
|
-
${_emotion.timePickerTokens.borderColorFocus}:
|
|
47
|
-
${_emotion.timePickerTokens.borderColorHover}:
|
|
46
|
+
${_emotion.timePickerTokens.borderColor}: ${_sdds_cs.outlineSolidPrimary};
|
|
47
|
+
${_emotion.timePickerTokens.borderColorFocus}: ${_sdds_cs.outlineAccent};
|
|
48
|
+
${_emotion.timePickerTokens.borderColorHover}: ${_sdds_cs.outlineSolidPrimaryHover};
|
|
48
49
|
|
|
49
|
-
${_emotion.timePickerTokens.textFieldBorderColorError}:
|
|
50
|
-
${_emotion.timePickerTokens.textFieldBorderColorErrorFocus}:
|
|
51
|
-
${_emotion.timePickerTokens.textFieldBorderColorErrorHover}:
|
|
50
|
+
${_emotion.timePickerTokens.textFieldBorderColorError}: ${_sdds_cs.textNegative};
|
|
51
|
+
${_emotion.timePickerTokens.textFieldBorderColorErrorFocus}: ${_sdds_cs.textNegative};
|
|
52
|
+
${_emotion.timePickerTokens.textFieldBorderColorErrorHover}: ${_sdds_cs.textNegative};
|
|
52
53
|
|
|
53
|
-
${_emotion.timePickerTokens.textFieldBorderColorSuccess}:
|
|
54
|
-
${_emotion.timePickerTokens.textFieldBorderColorSuccessFocus}:
|
|
55
|
-
${_emotion.timePickerTokens.textFieldBorderColorSuccessHover}:
|
|
54
|
+
${_emotion.timePickerTokens.textFieldBorderColorSuccess}: ${_sdds_cs.textNegative};
|
|
55
|
+
${_emotion.timePickerTokens.textFieldBorderColorSuccessFocus}: ${_sdds_cs.textNegative};
|
|
56
|
+
${_emotion.timePickerTokens.textFieldBorderColorSuccessHover}: ${_sdds_cs.textNegative};
|
|
56
57
|
|
|
57
|
-
${_emotion.timePickerTokens.textFieldContentSlotColor}:
|
|
58
|
-
${_emotion.timePickerTokens.textFieldContentSlotColorHover}:
|
|
59
|
-
${_emotion.timePickerTokens.textFieldContentSlotColorActive}:
|
|
58
|
+
${_emotion.timePickerTokens.textFieldContentSlotColor}: ${_sdds_cs.textSecondary};
|
|
59
|
+
${_emotion.timePickerTokens.textFieldContentSlotColorHover}: ${_sdds_cs.textSecondaryHover};
|
|
60
|
+
${_emotion.timePickerTokens.textFieldContentSlotColorActive}: ${_sdds_cs.textSecondaryActive};
|
|
60
61
|
|
|
61
|
-
${_emotion.timePickerTokens.textFieldContentRightSlotColor}:
|
|
62
|
-
${_emotion.timePickerTokens.textFieldContentRightSlotColorHover}:
|
|
63
|
-
${_emotion.timePickerTokens.textFieldContentSlotRightOpacityReadOnly}:
|
|
62
|
+
${_emotion.timePickerTokens.textFieldContentRightSlotColor}: ${_sdds_cs.textAccent};
|
|
63
|
+
${_emotion.timePickerTokens.textFieldContentRightSlotColorHover}: ${_sdds_cs.textAccentMinor};
|
|
64
|
+
${_emotion.timePickerTokens.textFieldContentSlotRightOpacityReadOnly}: ${_sdds_cs.textAccentActive};
|
|
64
65
|
|
|
65
|
-
${_emotion.timePickerTokens.textFieldTextBeforeColor}:
|
|
66
|
-
${_emotion.timePickerTokens.textFieldTextAfterColor}:
|
|
66
|
+
${_emotion.timePickerTokens.textFieldTextBeforeColor}: ${_sdds_cs.textTertiary};
|
|
67
|
+
${_emotion.timePickerTokens.textFieldTextAfterColor}: ${_sdds_cs.textTertiary};
|
|
67
68
|
|
|
68
|
-
${_emotion.timePickerTokens.textFieldPlaceholderColorFocus}:
|
|
69
|
+
${_emotion.timePickerTokens.textFieldPlaceholderColorFocus}: ${_sdds_cs.textTertiary};
|
|
69
70
|
|
|
70
|
-
${_emotion.timePickerTokens.timePickerBackground}:
|
|
71
|
-
${_emotion.timePickerTokens.itemBackgroundHover}:
|
|
72
|
-
${_emotion.timePickerTokens.itemBackgroundActive}:
|
|
73
|
-
${_emotion.timePickerTokens.itemFocusColor}:
|
|
71
|
+
${_emotion.timePickerTokens.timePickerBackground}: ${_sdds_cs.surfaceSolidCard};
|
|
72
|
+
${_emotion.timePickerTokens.itemBackgroundHover}: ${_sdds_cs.surfaceSolidSecondary};
|
|
73
|
+
${_emotion.timePickerTokens.itemBackgroundActive}: ${_sdds_cs.surfaceSolidSecondary};
|
|
74
|
+
${_emotion.timePickerTokens.itemFocusColor}: ${_sdds_cs.surfaceAccent};
|
|
74
75
|
|
|
75
|
-
${_emotion.timePickerTokens.scrollbarColor}:
|
|
76
|
+
${_emotion.timePickerTokens.scrollbarColor}: ${_sdds_cs.surfaceSolidTertiary};
|
|
76
77
|
${_emotion.timePickerTokens.scrollbarTrackColor}: var(--surface-transparent-primary);
|
|
77
78
|
|
|
78
|
-
${_emotion.timePickerTokens.leftHelperColor}:
|
|
79
|
-
${_emotion.timePickerTokens.leftHelperColorError}:
|
|
80
|
-
${_emotion.timePickerTokens.leftHelperColorSuccess}:
|
|
79
|
+
${_emotion.timePickerTokens.leftHelperColor}: ${_sdds_cs.textSecondary};
|
|
80
|
+
${_emotion.timePickerTokens.leftHelperColorError}: ${_sdds_cs.textNegative};
|
|
81
|
+
${_emotion.timePickerTokens.leftHelperColorSuccess}: ${_sdds_cs.textPositive};
|
|
81
82
|
`
|
|
82
83
|
},
|
|
83
84
|
size: {
|
|
@@ -87,12 +88,12 @@ const config = {
|
|
|
87
88
|
|
|
88
89
|
${_emotion.timePickerTokens.labelOffset}: 0.5rem;
|
|
89
90
|
|
|
90
|
-
${_emotion.timePickerTokens.labelFontFamily}:
|
|
91
|
-
${_emotion.timePickerTokens.labelFontStyle}:
|
|
92
|
-
${_emotion.timePickerTokens.labelFontSize}:
|
|
93
|
-
${_emotion.timePickerTokens.labelFontWeight}:
|
|
94
|
-
${_emotion.timePickerTokens.labelLetterSpacing}:
|
|
95
|
-
${_emotion.timePickerTokens.labelLineHeight}:
|
|
91
|
+
${_emotion.timePickerTokens.labelFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
92
|
+
${_emotion.timePickerTokens.labelFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
93
|
+
${_emotion.timePickerTokens.labelFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
94
|
+
${_emotion.timePickerTokens.labelFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
95
|
+
${_emotion.timePickerTokens.labelLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
96
|
+
${_emotion.timePickerTokens.labelLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
96
97
|
${_emotion.timePickerTokens.textFieldBorderWidth}: 0.0625rem;
|
|
97
98
|
|
|
98
99
|
${_emotion.timePickerTokens.indicatorSize}: 0.375rem;
|
|
@@ -106,12 +107,12 @@ const config = {
|
|
|
106
107
|
${_emotion.timePickerTokens.textFieldBorderWidth}: 0.125rem;
|
|
107
108
|
${_emotion.timePickerTokens.textFieldBorderRadius}: 0.75rem;
|
|
108
109
|
${_emotion.timePickerTokens.textFieldPadding}: 0.55rem 0.75rem;
|
|
109
|
-
${_emotion.timePickerTokens.textFieldFontFamily}:
|
|
110
|
-
${_emotion.timePickerTokens.textFieldFontStyle}:
|
|
111
|
-
${_emotion.timePickerTokens.textFieldFontSize}:
|
|
112
|
-
${_emotion.timePickerTokens.textFieldFontWeight}:
|
|
113
|
-
${_emotion.timePickerTokens.textFieldLetterSpacing}:
|
|
114
|
-
${_emotion.timePickerTokens.textFieldLineHeight}:
|
|
110
|
+
${_emotion.timePickerTokens.textFieldFontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
111
|
+
${_emotion.timePickerTokens.textFieldFontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
112
|
+
${_emotion.timePickerTokens.textFieldFontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
113
|
+
${_emotion.timePickerTokens.textFieldFontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
114
|
+
${_emotion.timePickerTokens.textFieldLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
115
|
+
${_emotion.timePickerTokens.textFieldLineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
115
116
|
|
|
116
117
|
${_emotion.timePickerTokens.textFieldLeftContentMargin}: 0 0.5rem 0 0rem;
|
|
117
118
|
${_emotion.timePickerTokens.textFieldRightContentMargin}: 0 0rem 0 0.75rem;
|
|
@@ -124,24 +125,24 @@ const config = {
|
|
|
124
125
|
|
|
125
126
|
${_emotion.timePickerTokens.columnHeight}: 19rem;
|
|
126
127
|
|
|
127
|
-
${_emotion.timePickerTokens.itemFontFamily}:
|
|
128
|
-
${_emotion.timePickerTokens.itemFontSize}:
|
|
129
|
-
${_emotion.timePickerTokens.itemFontStyle}:
|
|
130
|
-
${_emotion.timePickerTokens.itemFontWeight}:
|
|
131
|
-
${_emotion.timePickerTokens.itemLetterSpacing}:
|
|
132
|
-
${_emotion.timePickerTokens.itemLineHeight}:
|
|
128
|
+
${_emotion.timePickerTokens.itemFontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
129
|
+
${_emotion.timePickerTokens.itemFontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
130
|
+
${_emotion.timePickerTokens.itemFontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
131
|
+
${_emotion.timePickerTokens.itemFontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
132
|
+
${_emotion.timePickerTokens.itemLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
133
|
+
${_emotion.timePickerTokens.itemLineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
133
134
|
|
|
134
135
|
${_emotion.timePickerTokens.itemHeight}: 2.5rem;
|
|
135
136
|
${_emotion.timePickerTokens.itemBorderRadius}: 0.5rem;
|
|
136
137
|
${_emotion.timePickerTokens.itemPadding}: 0rem;
|
|
137
138
|
|
|
138
139
|
${_emotion.timePickerTokens.leftHelperOffset}: 0.25rem 0 0 0;
|
|
139
|
-
${_emotion.timePickerTokens.leftHelperFontFamily}:
|
|
140
|
-
${_emotion.timePickerTokens.leftHelperFontStyle}:
|
|
141
|
-
${_emotion.timePickerTokens.leftHelperFontSize}:
|
|
142
|
-
${_emotion.timePickerTokens.leftHelperFontWeight}:
|
|
143
|
-
${_emotion.timePickerTokens.leftHelperLetterSpacing}:
|
|
144
|
-
${_emotion.timePickerTokens.leftHelperLineHeight}:
|
|
140
|
+
${_emotion.timePickerTokens.leftHelperFontFamily}: ${_sdds_cs.bodyXS.fontFamily};
|
|
141
|
+
${_emotion.timePickerTokens.leftHelperFontStyle}: ${_sdds_cs.bodyXS.fontStyle};
|
|
142
|
+
${_emotion.timePickerTokens.leftHelperFontSize}: ${_sdds_cs.bodyXS.fontSize};
|
|
143
|
+
${_emotion.timePickerTokens.leftHelperFontWeight}: ${_sdds_cs.bodyXS.fontWeight};
|
|
144
|
+
${_emotion.timePickerTokens.leftHelperLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
|
|
145
|
+
${_emotion.timePickerTokens.leftHelperLineHeight}: ${_sdds_cs.bodyXS.lineHeight};
|
|
145
146
|
|
|
146
147
|
${_emotion.timePickerTokens.scrollbarWidth}: 0.125rem;
|
|
147
148
|
${_emotion.timePickerTokens.scrollbarMargin}: 0.25rem;
|
|
@@ -151,31 +152,31 @@ const config = {
|
|
|
151
152
|
true: (0, _emotion.css)`
|
|
152
153
|
${_emotion.timePickerTokens.disabledOpacity}: 1;
|
|
153
154
|
|
|
154
|
-
${_emotion.timePickerTokens.textFieldColor}:
|
|
155
|
+
${_emotion.timePickerTokens.textFieldColor}: ${_sdds_cs.textSecondary};
|
|
155
156
|
|
|
156
|
-
${_emotion.timePickerTokens.textFieldBackgroundColor}:
|
|
157
|
-
${_emotion.timePickerTokens.textFieldBackgroundColorFocus}:
|
|
157
|
+
${_emotion.timePickerTokens.textFieldBackgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
|
|
158
|
+
${_emotion.timePickerTokens.textFieldBackgroundColorFocus}: ${_sdds_cs.surfaceSolidPrimary};
|
|
158
159
|
|
|
159
|
-
${_emotion.timePickerTokens.textFieldBorderColor}:
|
|
160
|
-
${_emotion.timePickerTokens.textFieldBorderColorHover}:
|
|
161
|
-
${_emotion.timePickerTokens.textFieldBorderColorFocus}:
|
|
160
|
+
${_emotion.timePickerTokens.textFieldBorderColor}: ${_sdds_cs.surfaceSolidPrimary};
|
|
161
|
+
${_emotion.timePickerTokens.textFieldBorderColorHover}: ${_sdds_cs.surfaceSolidPrimary};
|
|
162
|
+
${_emotion.timePickerTokens.textFieldBorderColorFocus}: ${_sdds_cs.surfaceSolidPrimary};
|
|
162
163
|
`
|
|
163
164
|
},
|
|
164
165
|
readonly: {
|
|
165
166
|
true: (0, _emotion.css)`
|
|
166
|
-
${_emotion.timePickerTokens.labelColorReadOnly}:
|
|
167
|
-
${_emotion.timePickerTokens.leftHelperColorReadOnly}:
|
|
167
|
+
${_emotion.timePickerTokens.labelColorReadOnly}: ${_sdds_cs.textSecondary};
|
|
168
|
+
${_emotion.timePickerTokens.leftHelperColorReadOnly}: ${_sdds_cs.textSecondary};
|
|
168
169
|
|
|
169
|
-
${_emotion.timePickerTokens.textFieldColorReadOnly}:
|
|
170
|
-
${_emotion.timePickerTokens.textFieldPlaceholderColorReadOnly}:
|
|
170
|
+
${_emotion.timePickerTokens.textFieldColorReadOnly}: ${_sdds_cs.textPrimary};
|
|
171
|
+
${_emotion.timePickerTokens.textFieldPlaceholderColorReadOnly}: ${_sdds_cs.textSecondary};
|
|
171
172
|
|
|
172
|
-
${_emotion.timePickerTokens.textFieldContentSlotColorHover}:
|
|
173
|
-
${_emotion.timePickerTokens.textFieldContentSlotColorActive}:
|
|
173
|
+
${_emotion.timePickerTokens.textFieldContentSlotColorHover}: ${_sdds_cs.textSecondary};
|
|
174
|
+
${_emotion.timePickerTokens.textFieldContentSlotColorActive}: ${_sdds_cs.textSecondary};
|
|
174
175
|
|
|
175
176
|
${_emotion.timePickerTokens.textFieldBorderWidth}: 0;
|
|
176
177
|
${_emotion.timePickerTokens.textFieldBorderColor}: transparent;
|
|
177
178
|
|
|
178
|
-
${_emotion.timePickerTokens.textFieldBackgroundColorReadOnly}:
|
|
179
|
+
${_emotion.timePickerTokens.textFieldBackgroundColorReadOnly}: ${_sdds_cs.surfaceClear};
|
|
179
180
|
${_emotion.timePickerTokens.textFieldContentSlotRightOpacityReadOnly}: 0.4;
|
|
180
181
|
`
|
|
181
182
|
}
|
|
@@ -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: {
|
|
@@ -18,31 +19,31 @@ const config = {
|
|
|
18
19
|
variations: {
|
|
19
20
|
view: {
|
|
20
21
|
default: (0, _emotion.css)`
|
|
21
|
-
${_emotion.toastTokens.color}:
|
|
22
|
-
${_emotion.toastTokens.background}:
|
|
22
|
+
${_emotion.toastTokens.color}: ${_sdds_cs.textPrimary};
|
|
23
|
+
${_emotion.toastTokens.background}: ${_sdds_cs.surfaceSolidCardBrightness};
|
|
23
24
|
|
|
24
|
-
${_emotion.toastTokens.closeIconColor}:
|
|
25
|
-
${_emotion.toastTokens.closeIconColorOnHover}:
|
|
25
|
+
${_emotion.toastTokens.closeIconColor}: ${_sdds_cs.textAccent};
|
|
26
|
+
${_emotion.toastTokens.closeIconColorOnHover}: ${_sdds_cs.textAccentMinor};
|
|
26
27
|
`,
|
|
27
28
|
/**
|
|
28
29
|
* @deprecated
|
|
29
30
|
* светлый и темный фон регулировать через `view` компонента `ViewContainer`
|
|
30
31
|
*/ dark: (0, _emotion.css)`
|
|
31
|
-
${_emotion.toastTokens.color}:
|
|
32
|
-
${_emotion.toastTokens.background}:
|
|
32
|
+
${_emotion.toastTokens.color}: ${_sdds_cs.onDarkTextPrimary};
|
|
33
|
+
${_emotion.toastTokens.background}: ${_sdds_cs.onDarkSurfaceSolidPrimaryBrightness};
|
|
33
34
|
|
|
34
|
-
${_emotion.toastTokens.closeIconColor}:
|
|
35
|
-
${_emotion.toastTokens.closeIconColorOnHover}:
|
|
35
|
+
${_emotion.toastTokens.closeIconColor}: ${_sdds_cs.onDarkTextAccent};
|
|
36
|
+
${_emotion.toastTokens.closeIconColorOnHover}: ${_sdds_cs.onDarkTextAccentMinor};
|
|
36
37
|
`,
|
|
37
38
|
/**
|
|
38
39
|
* @deprecated
|
|
39
40
|
* светлый и темный фон регулировать через `view` компонента `ViewContainer`
|
|
40
41
|
*/ light: (0, _emotion.css)`
|
|
41
|
-
${_emotion.toastTokens.color}:
|
|
42
|
-
${_emotion.toastTokens.background}:
|
|
42
|
+
${_emotion.toastTokens.color}: ${_sdds_cs.onLightTextPrimary};
|
|
43
|
+
${_emotion.toastTokens.background}: ${_sdds_cs.onLightSurfaceSolidPrimaryBrightness};
|
|
43
44
|
|
|
44
|
-
${_emotion.toastTokens.closeIconColor}:
|
|
45
|
-
${_emotion.toastTokens.closeIconColorOnHover}:
|
|
45
|
+
${_emotion.toastTokens.closeIconColor}: ${_sdds_cs.onLightTextAccent};
|
|
46
|
+
${_emotion.toastTokens.closeIconColorOnHover}: ${_sdds_cs.onLightTextAccentMinor};
|
|
46
47
|
`
|
|
47
48
|
},
|
|
48
49
|
size: {
|
|
@@ -51,12 +52,12 @@ const config = {
|
|
|
51
52
|
${_emotion.toastTokens.maxWidth}: calc(100vw - 5rem);
|
|
52
53
|
${_emotion.toastTokens.padding}: 0.5rem 0.75rem;
|
|
53
54
|
|
|
54
|
-
${_emotion.toastTokens.fontFamily}:
|
|
55
|
-
${_emotion.toastTokens.fontSize}:
|
|
56
|
-
${_emotion.toastTokens.fontStyle}:
|
|
57
|
-
${_emotion.toastTokens.fontWeight}:
|
|
58
|
-
${_emotion.toastTokens.letterSpacing}:
|
|
59
|
-
${_emotion.toastTokens.lineHeight}:
|
|
55
|
+
${_emotion.toastTokens.fontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
56
|
+
${_emotion.toastTokens.fontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
57
|
+
${_emotion.toastTokens.fontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
58
|
+
${_emotion.toastTokens.fontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
59
|
+
${_emotion.toastTokens.letterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
60
|
+
${_emotion.toastTokens.lineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
60
61
|
|
|
61
62
|
${_emotion.toastTokens.contentLeftMargin}: -0.0625rem 0.5rem -0.0625rem 0rem;
|
|
62
63
|
${_emotion.toastTokens.closeIconMargin}: -0.0625rem 0.125rem -0.0625rem 0.75rem;
|
|
@@ -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,11 +18,11 @@ const config = {
|
|
|
17
18
|
variations: {
|
|
18
19
|
view: {
|
|
19
20
|
default: (0, _emotion.css)`
|
|
20
|
-
${_emotion.toastNewTokens.color}:
|
|
21
|
-
${_emotion.toastNewTokens.background}:
|
|
21
|
+
${_emotion.toastNewTokens.color}: ${_sdds_cs.textPrimary};
|
|
22
|
+
${_emotion.toastNewTokens.background}: ${_sdds_cs.surfaceSolidCardBrightness};
|
|
22
23
|
|
|
23
|
-
${_emotion.toastNewTokens.closeIconColor}:
|
|
24
|
-
${_emotion.toastNewTokens.closeIconColorOnHover}:
|
|
24
|
+
${_emotion.toastNewTokens.closeIconColor}: ${_sdds_cs.textAccent};
|
|
25
|
+
${_emotion.toastNewTokens.closeIconColorOnHover}: ${_sdds_cs.textAccentMinor};
|
|
25
26
|
`
|
|
26
27
|
},
|
|
27
28
|
size: {
|
|
@@ -34,12 +35,12 @@ const config = {
|
|
|
34
35
|
${_emotion.toastNewTokens.closeIconMargin}: -0.0625rem 0.125rem -0.0625rem 0.75rem;
|
|
35
36
|
${_emotion.toastNewTokens.contentLeftMargin}: -0.0625rem 0.5rem -0.0625rem 0rem;
|
|
36
37
|
|
|
37
|
-
${_emotion.toastNewTokens.fontFamily}:
|
|
38
|
-
${_emotion.toastNewTokens.fontSize}:
|
|
39
|
-
${_emotion.toastNewTokens.fontStyle}:
|
|
40
|
-
${_emotion.toastNewTokens.fontWeight}:
|
|
41
|
-
${_emotion.toastNewTokens.letterSpacing}:
|
|
42
|
-
${_emotion.toastNewTokens.lineHeight}:
|
|
38
|
+
${_emotion.toastNewTokens.fontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
39
|
+
${_emotion.toastNewTokens.fontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
40
|
+
${_emotion.toastNewTokens.fontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
41
|
+
${_emotion.toastNewTokens.fontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
42
|
+
${_emotion.toastNewTokens.letterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
43
|
+
${_emotion.toastNewTokens.lineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
43
44
|
`
|
|
44
45
|
},
|
|
45
46
|
pilled: {
|
|
@@ -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
|
${_emotion.tooltipTokens.minHeight}: 2rem;
|
|
26
27
|
${_emotion.tooltipTokens.borderRadius}: 0.5rem;
|
|
27
28
|
|
|
28
|
-
${_emotion.tooltipTokens.textFontFamily}:
|
|
29
|
-
${_emotion.tooltipTokens.textFontSize}:
|
|
30
|
-
${_emotion.tooltipTokens.textFontStyle}:
|
|
31
|
-
${_emotion.tooltipTokens.textFontWeight}:
|
|
32
|
-
${_emotion.tooltipTokens.textFontLetterSpacing}:
|
|
33
|
-
${_emotion.tooltipTokens.textFontLineHeight}:
|
|
29
|
+
${_emotion.tooltipTokens.textFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
30
|
+
${_emotion.tooltipTokens.textFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
31
|
+
${_emotion.tooltipTokens.textFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
32
|
+
${_emotion.tooltipTokens.textFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
33
|
+
${_emotion.tooltipTokens.textFontLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
34
|
+
${_emotion.tooltipTokens.textFontLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
34
35
|
|
|
35
36
|
${_emotion.tooltipTokens.contentLeftMargin}: 0.25rem;
|
|
36
37
|
|
|
@@ -44,16 +45,16 @@ const config = {
|
|
|
44
45
|
view: {
|
|
45
46
|
// TODO заменить тень на токен https://github.com/salute-developers/plasma/issues/1131
|
|
46
47
|
default: (0, _emotion.css)`
|
|
47
|
-
${_emotion.tooltipTokens.backgroundColor}:
|
|
48
|
-
${_emotion.tooltipTokens.arrowBackground}:
|
|
48
|
+
${_emotion.tooltipTokens.backgroundColor}: ${_sdds_cs.inverseSurfaceSolidCard};
|
|
49
|
+
${_emotion.tooltipTokens.arrowBackground}: ${_sdds_cs.inverseSurfaceSolidCard};
|
|
49
50
|
${_emotion.tooltipTokens.boxShadow}: 0px 4px 12px 0px rgba(0, 0, 0, 0.16),0px 1px 4px 0px rgba(0, 0, 0, 0.08);
|
|
50
|
-
${_emotion.tooltipTokens.color}:
|
|
51
|
+
${_emotion.tooltipTokens.color}: ${_sdds_cs.inverseTextPrimary};
|
|
51
52
|
`,
|
|
52
53
|
secondary: (0, _emotion.css)`
|
|
53
|
-
${_emotion.tooltipTokens.backgroundColor}:
|
|
54
|
-
${_emotion.tooltipTokens.arrowBackground}:
|
|
54
|
+
${_emotion.tooltipTokens.backgroundColor}: ${_sdds_cs.onDarkSurfaceSolidSecondary};
|
|
55
|
+
${_emotion.tooltipTokens.arrowBackground}: ${_sdds_cs.onDarkSurfaceSolidSecondary};
|
|
55
56
|
${_emotion.tooltipTokens.boxShadow}: 0px 4px 12px 0px rgba(0, 0, 0, 0.16),0px 1px 4px 0px rgba(0, 0, 0, 0.08);
|
|
56
|
-
${_emotion.tooltipTokens.color}:
|
|
57
|
+
${_emotion.tooltipTokens.color}: ${_sdds_cs.inverseTextPrimary};
|
|
57
58
|
`
|
|
58
59
|
}
|
|
59
60
|
}
|
|
@@ -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,7 +18,7 @@ const config = {
|
|
|
17
18
|
variations: {
|
|
18
19
|
view: {
|
|
19
20
|
default: (0, _emotion.css)`
|
|
20
|
-
${_emotion.tourTokens.tailColor}:
|
|
21
|
+
${_emotion.tourTokens.tailColor}: ${_sdds_cs.surfaceSolidCard};
|
|
21
22
|
${_emotion.tourTokens.overlayColor}: rgba(0, 0, 0, 0.45);
|
|
22
23
|
`
|
|
23
24
|
},
|
|
@@ -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,23 +18,23 @@ const config = {
|
|
|
17
18
|
variations: {
|
|
18
19
|
view: {
|
|
19
20
|
default: (0, _emotion.css)`
|
|
20
|
-
${_emotion.treeTokens.iconFolderColor}:
|
|
21
|
-
${_emotion.treeTokens.arrowColor}:
|
|
22
|
-
${_emotion.treeTokens.arrowColorHover}:
|
|
23
|
-
${_emotion.treeTokens.arrowColorActive}:
|
|
24
|
-
${_emotion.treeTokens.color}:
|
|
25
|
-
${_emotion.treeTokens.colorSelected}:
|
|
26
|
-
${_emotion.treeTokens.itemBackgroundColorSelected}:
|
|
21
|
+
${_emotion.treeTokens.iconFolderColor}: ${_sdds_cs.textPrimary};
|
|
22
|
+
${_emotion.treeTokens.arrowColor}: ${_sdds_cs.textAccent};
|
|
23
|
+
${_emotion.treeTokens.arrowColorHover}: ${_sdds_cs.textAccentMinor};
|
|
24
|
+
${_emotion.treeTokens.arrowColorActive}: ${_sdds_cs.textAccentActive};
|
|
25
|
+
${_emotion.treeTokens.color}: ${_sdds_cs.textPrimary};
|
|
26
|
+
${_emotion.treeTokens.colorSelected}: ${_sdds_cs.textPrimary};
|
|
27
|
+
${_emotion.treeTokens.itemBackgroundColorSelected}: ${_sdds_cs.surfaceSolidPrimary};
|
|
27
28
|
${_emotion.treeTokens.itemBackgroundColorPrimary}: transparent;
|
|
28
|
-
${_emotion.treeTokens.itemBackgroundColorHover}:
|
|
29
|
-
${_emotion.treeTokens.itemBackgroundColorActive}:
|
|
30
|
-
${_emotion.treeTokens.checkboxBorderColor}:
|
|
31
|
-
${_emotion.treeTokens.checkboxBackgroundColor}:
|
|
29
|
+
${_emotion.treeTokens.itemBackgroundColorHover}: ${_sdds_cs.surfaceTransparentAccent};
|
|
30
|
+
${_emotion.treeTokens.itemBackgroundColorActive}: ${_sdds_cs.surfaceSolidPrimaryActive};
|
|
31
|
+
${_emotion.treeTokens.checkboxBorderColor}: ${_sdds_cs.textAccent};
|
|
32
|
+
${_emotion.treeTokens.checkboxBackgroundColor}: ${_sdds_cs.textAccent};
|
|
32
33
|
${_emotion.treeTokens.itemDisabledOpacity}: 1;
|
|
33
|
-
${_emotion.treeTokens.itemDisabledBorderColor}:
|
|
34
|
-
${_emotion.treeTokens.itemDisabledColor}:
|
|
35
|
-
${_emotion.treeTokens.itemDraggableBorderColor}:
|
|
36
|
-
${_emotion.treeTokens.itemDraggableLineColor}:
|
|
34
|
+
${_emotion.treeTokens.itemDisabledBorderColor}: ${_sdds_cs.textSecondary};
|
|
35
|
+
${_emotion.treeTokens.itemDisabledColor}: ${_sdds_cs.textSecondary};
|
|
36
|
+
${_emotion.treeTokens.itemDraggableBorderColor}: ${_sdds_cs.surfacePositive};
|
|
37
|
+
${_emotion.treeTokens.itemDraggableLineColor}: ${_sdds_cs.surfaceSolidDefault};
|
|
37
38
|
`
|
|
38
39
|
},
|
|
39
40
|
size: {
|
|
@@ -61,12 +62,12 @@ const config = {
|
|
|
61
62
|
${_emotion.treeTokens.checkboxInnerSize}: 1.25rem;
|
|
62
63
|
${_emotion.treeTokens.checkboxBorderRadius}: 0.375rem;
|
|
63
64
|
|
|
64
|
-
${_emotion.treeTokens.fontFamily}:
|
|
65
|
-
${_emotion.treeTokens.fontSize}:
|
|
66
|
-
${_emotion.treeTokens.fontStyle}:
|
|
67
|
-
${_emotion.treeTokens.fontWeight}:
|
|
68
|
-
${_emotion.treeTokens.letterSpacing}:
|
|
69
|
-
${_emotion.treeTokens.lineHeight}:
|
|
65
|
+
${_emotion.treeTokens.fontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
66
|
+
${_emotion.treeTokens.fontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
67
|
+
${_emotion.treeTokens.fontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
68
|
+
${_emotion.treeTokens.fontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
69
|
+
${_emotion.treeTokens.letterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
70
|
+
${_emotion.treeTokens.lineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
70
71
|
`
|
|
71
72
|
}
|
|
72
73
|
}
|
|
@@ -25,6 +25,7 @@ _export(exports, {
|
|
|
25
25
|
return configXXS;
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
|
+
const _sdds_cs = require("@salutejs/sdds-themes/tokens/sdds_cs");
|
|
28
29
|
const _emotion = require("@salutejs/plasma-new-hope/emotion");
|
|
29
30
|
const configL = {
|
|
30
31
|
defaults: {
|
|
@@ -33,14 +34,14 @@ const configL = {
|
|
|
33
34
|
variations: {
|
|
34
35
|
size: {
|
|
35
36
|
l: (0, _emotion.css)`
|
|
36
|
-
${_emotion.typographyTokens.typoFontFamily}:
|
|
37
|
-
${_emotion.typographyTokens.typoFontSize}:
|
|
38
|
-
${_emotion.typographyTokens.typoFontStyle}:
|
|
39
|
-
${_emotion.typographyTokens.typoFontWeight}:
|
|
40
|
-
${_emotion.typographyTokens.typoFontWeightBold}:
|
|
41
|
-
${_emotion.typographyTokens.typoFontWeightMedium}:
|
|
42
|
-
${_emotion.typographyTokens.typoFontLetterSpacing}:
|
|
43
|
-
${_emotion.typographyTokens.typoFontLineHeight}:
|
|
37
|
+
${_emotion.typographyTokens.typoFontFamily}: ${_sdds_cs.bodyL.fontFamily};
|
|
38
|
+
${_emotion.typographyTokens.typoFontSize}: ${_sdds_cs.bodyL.fontSize};
|
|
39
|
+
${_emotion.typographyTokens.typoFontStyle}: ${_sdds_cs.bodyL.fontStyle};
|
|
40
|
+
${_emotion.typographyTokens.typoFontWeight}: ${_sdds_cs.bodyL.fontWeight};
|
|
41
|
+
${_emotion.typographyTokens.typoFontWeightBold}: ${_sdds_cs.bodyLBold.fontWeight};
|
|
42
|
+
${_emotion.typographyTokens.typoFontWeightMedium}: ${_sdds_cs.bodyLMedium.fontWeight};
|
|
43
|
+
${_emotion.typographyTokens.typoFontLetterSpacing}: ${_sdds_cs.bodyL.letterSpacing};
|
|
44
|
+
${_emotion.typographyTokens.typoFontLineHeight}: ${_sdds_cs.bodyL.lineHeight};
|
|
44
45
|
`
|
|
45
46
|
}
|
|
46
47
|
}
|
|
@@ -52,14 +53,14 @@ const configM = {
|
|
|
52
53
|
variations: {
|
|
53
54
|
size: {
|
|
54
55
|
m: (0, _emotion.css)`
|
|
55
|
-
${_emotion.typographyTokens.typoFontFamily}:
|
|
56
|
-
${_emotion.typographyTokens.typoFontSize}:
|
|
57
|
-
${_emotion.typographyTokens.typoFontStyle}:
|
|
58
|
-
${_emotion.typographyTokens.typoFontWeight}:
|
|
59
|
-
${_emotion.typographyTokens.typoFontWeightBold}:
|
|
60
|
-
${_emotion.typographyTokens.typoFontWeightMedium}:
|
|
61
|
-
${_emotion.typographyTokens.typoFontLetterSpacing}:
|
|
62
|
-
${_emotion.typographyTokens.typoFontLineHeight}:
|
|
56
|
+
${_emotion.typographyTokens.typoFontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
57
|
+
${_emotion.typographyTokens.typoFontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
58
|
+
${_emotion.typographyTokens.typoFontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
59
|
+
${_emotion.typographyTokens.typoFontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
60
|
+
${_emotion.typographyTokens.typoFontWeightBold}: ${_sdds_cs.bodyMBold.fontWeight};
|
|
61
|
+
${_emotion.typographyTokens.typoFontWeightMedium}: ${_sdds_cs.bodyMMedium.fontWeight};
|
|
62
|
+
${_emotion.typographyTokens.typoFontLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
63
|
+
${_emotion.typographyTokens.typoFontLineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
63
64
|
`
|
|
64
65
|
}
|
|
65
66
|
}
|
|
@@ -71,14 +72,14 @@ const configS = {
|
|
|
71
72
|
variations: {
|
|
72
73
|
size: {
|
|
73
74
|
s: (0, _emotion.css)`
|
|
74
|
-
${_emotion.typographyTokens.typoFontFamily}:
|
|
75
|
-
${_emotion.typographyTokens.typoFontSize}:
|
|
76
|
-
${_emotion.typographyTokens.typoFontStyle}:
|
|
77
|
-
${_emotion.typographyTokens.typoFontWeight}:
|
|
78
|
-
${_emotion.typographyTokens.typoFontWeightBold}:
|
|
79
|
-
${_emotion.typographyTokens.typoFontWeightMedium}:
|
|
80
|
-
${_emotion.typographyTokens.typoFontLetterSpacing}:
|
|
81
|
-
${_emotion.typographyTokens.typoFontLineHeight}:
|
|
75
|
+
${_emotion.typographyTokens.typoFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
76
|
+
${_emotion.typographyTokens.typoFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
77
|
+
${_emotion.typographyTokens.typoFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
78
|
+
${_emotion.typographyTokens.typoFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
79
|
+
${_emotion.typographyTokens.typoFontWeightBold}: ${_sdds_cs.bodySBold.fontWeight};
|
|
80
|
+
${_emotion.typographyTokens.typoFontWeightMedium}: ${_sdds_cs.bodySMedium.fontWeight};
|
|
81
|
+
${_emotion.typographyTokens.typoFontLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
82
|
+
${_emotion.typographyTokens.typoFontLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
82
83
|
`
|
|
83
84
|
}
|
|
84
85
|
}
|
|
@@ -90,14 +91,14 @@ const configXS = {
|
|
|
90
91
|
variations: {
|
|
91
92
|
size: {
|
|
92
93
|
xs: (0, _emotion.css)`
|
|
93
|
-
${_emotion.typographyTokens.typoFontFamily}:
|
|
94
|
-
${_emotion.typographyTokens.typoFontSize}:
|
|
95
|
-
${_emotion.typographyTokens.typoFontStyle}:
|
|
96
|
-
${_emotion.typographyTokens.typoFontWeight}:
|
|
97
|
-
${_emotion.typographyTokens.typoFontWeightBold}:
|
|
98
|
-
${_emotion.typographyTokens.typoFontWeightMedium}:
|
|
99
|
-
${_emotion.typographyTokens.typoFontLetterSpacing}:
|
|
100
|
-
${_emotion.typographyTokens.typoFontLineHeight}:
|
|
94
|
+
${_emotion.typographyTokens.typoFontFamily}: ${_sdds_cs.bodyXS.fontFamily};
|
|
95
|
+
${_emotion.typographyTokens.typoFontSize}: ${_sdds_cs.bodyXS.fontSize};
|
|
96
|
+
${_emotion.typographyTokens.typoFontStyle}: ${_sdds_cs.bodyXS.fontStyle};
|
|
97
|
+
${_emotion.typographyTokens.typoFontWeight}: ${_sdds_cs.bodyXS.fontWeight};
|
|
98
|
+
${_emotion.typographyTokens.typoFontWeightBold}: ${_sdds_cs.bodyXSBold.fontWeight};
|
|
99
|
+
${_emotion.typographyTokens.typoFontWeightMedium}: ${_sdds_cs.bodyXSMedium.fontWeight};
|
|
100
|
+
${_emotion.typographyTokens.typoFontLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
|
|
101
|
+
${_emotion.typographyTokens.typoFontLineHeight}: ${_sdds_cs.bodyXS.lineHeight};
|
|
101
102
|
`
|
|
102
103
|
}
|
|
103
104
|
}
|
|
@@ -109,14 +110,14 @@ const configXXS = {
|
|
|
109
110
|
variations: {
|
|
110
111
|
size: {
|
|
111
112
|
xxs: (0, _emotion.css)`
|
|
112
|
-
${_emotion.typographyTokens.typoFontFamily}:
|
|
113
|
-
${_emotion.typographyTokens.typoFontSize}:
|
|
114
|
-
${_emotion.typographyTokens.typoFontStyle}:
|
|
115
|
-
${_emotion.typographyTokens.typoFontWeight}:
|
|
116
|
-
${_emotion.typographyTokens.typoFontWeightBold}:
|
|
117
|
-
${_emotion.typographyTokens.typoFontWeightMedium}:
|
|
118
|
-
${_emotion.typographyTokens.typoFontLetterSpacing}:
|
|
119
|
-
${_emotion.typographyTokens.typoFontLineHeight}:
|
|
113
|
+
${_emotion.typographyTokens.typoFontFamily}: ${_sdds_cs.bodyXXS.fontFamily};
|
|
114
|
+
${_emotion.typographyTokens.typoFontSize}: ${_sdds_cs.bodyXXS.fontSize};
|
|
115
|
+
${_emotion.typographyTokens.typoFontStyle}: ${_sdds_cs.bodyXXS.fontStyle};
|
|
116
|
+
${_emotion.typographyTokens.typoFontWeight}: ${_sdds_cs.bodyXXS.fontWeight};
|
|
117
|
+
${_emotion.typographyTokens.typoFontWeightBold}: ${_sdds_cs.bodyXXSBold.fontWeight};
|
|
118
|
+
${_emotion.typographyTokens.typoFontWeightMedium}: ${_sdds_cs.bodyXXSMedium.fontWeight};
|
|
119
|
+
${_emotion.typographyTokens.typoFontLetterSpacing}: ${_sdds_cs.bodyXXS.letterSpacing};
|
|
120
|
+
${_emotion.typographyTokens.typoFontLineHeight}: ${_sdds_cs.bodyXXS.lineHeight};
|
|
120
121
|
`
|
|
121
122
|
}
|
|
122
123
|
}
|