@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: {
|
|
@@ -17,34 +18,34 @@ const config = {
|
|
|
17
18
|
variations: {
|
|
18
19
|
view: {
|
|
19
20
|
default: (0, _emotion.css)`
|
|
20
|
-
${_emotion.calendarDoubleTokens.calendarSelectedItemBackground}:
|
|
21
|
-
${_emotion.calendarDoubleTokens.calendarSelectedItemColor}:
|
|
22
|
-
${_emotion.calendarDoubleTokens.calendarSelectableItemBackgroundHover}:
|
|
23
|
-
${_emotion.calendarDoubleTokens.calendarCurrentItemBorderColor}:
|
|
21
|
+
${_emotion.calendarDoubleTokens.calendarSelectedItemBackground}: ${_sdds_cs.surfaceAccent};
|
|
22
|
+
${_emotion.calendarDoubleTokens.calendarSelectedItemColor}: ${_sdds_cs.inverseTextPrimary};
|
|
23
|
+
${_emotion.calendarDoubleTokens.calendarSelectableItemBackgroundHover}: ${_sdds_cs.surfaceTransparentAccent};
|
|
24
|
+
${_emotion.calendarDoubleTokens.calendarCurrentItemBorderColor}: ${_sdds_cs.inverseOutlineSolidSecondary};
|
|
24
25
|
${_emotion.calendarDoubleTokens.calendarCurrentItemBackgroundHover}: transparent;
|
|
25
|
-
${_emotion.calendarDoubleTokens.calendarCurrentItemColorHover}:
|
|
26
|
-
${_emotion.calendarDoubleTokens.calendarCurrentItemChildBackgroundHover}:
|
|
27
|
-
${_emotion.calendarDoubleTokens.calendarActiveItemBackground}:
|
|
28
|
-
${_emotion.calendarDoubleTokens.calendarActiveItemColor}:
|
|
29
|
-
${_emotion.calendarDoubleTokens.calendarHoveredItemBackground}:
|
|
30
|
-
${_emotion.calendarDoubleTokens.calendarHoveredItemColor}:
|
|
31
|
-
${_emotion.calendarDoubleTokens.calendarRangeBackground}:
|
|
32
|
-
${_emotion.calendarDoubleTokens.calendarOutlineFocusColor}:
|
|
26
|
+
${_emotion.calendarDoubleTokens.calendarCurrentItemColorHover}: ${_sdds_cs.textPrimary};
|
|
27
|
+
${_emotion.calendarDoubleTokens.calendarCurrentItemChildBackgroundHover}: ${_sdds_cs.surfaceTransparentAccent};
|
|
28
|
+
${_emotion.calendarDoubleTokens.calendarActiveItemBackground}: ${_sdds_cs.surfaceAccent};
|
|
29
|
+
${_emotion.calendarDoubleTokens.calendarActiveItemColor}: ${_sdds_cs.inverseTextPrimary};
|
|
30
|
+
${_emotion.calendarDoubleTokens.calendarHoveredItemBackground}: ${_sdds_cs.surfaceTransparentAccent};
|
|
31
|
+
${_emotion.calendarDoubleTokens.calendarHoveredItemColor}: ${_sdds_cs.textPrimary};
|
|
32
|
+
${_emotion.calendarDoubleTokens.calendarRangeBackground}: ${_sdds_cs.surfaceTransparentAccent};
|
|
33
|
+
${_emotion.calendarDoubleTokens.calendarOutlineFocusColor}: ${_sdds_cs.surfaceAccent};
|
|
33
34
|
${_emotion.calendarDoubleTokens.calendarContentPrimaryColor}: var(--surface-primary);
|
|
34
|
-
${_emotion.calendarDoubleTokens.calendarContentPrimaryDisabledColor}:
|
|
35
|
-
${_emotion.calendarDoubleTokens.calendarContentSecondaryColor}:
|
|
36
|
-
${_emotion.calendarDoubleTokens.calendarContentSecondaryDisabledColor}:
|
|
37
|
-
${_emotion.calendarDoubleTokens.calendarDayOfWeekColor}:
|
|
38
|
-
${_emotion.calendarDoubleTokens.calendarHeaderArrowColor}:
|
|
35
|
+
${_emotion.calendarDoubleTokens.calendarContentPrimaryDisabledColor}: ${_sdds_cs.textSecondary};
|
|
36
|
+
${_emotion.calendarDoubleTokens.calendarContentSecondaryColor}: ${_sdds_cs.textSecondary};
|
|
37
|
+
${_emotion.calendarDoubleTokens.calendarContentSecondaryDisabledColor}: ${_sdds_cs.textSecondary};
|
|
38
|
+
${_emotion.calendarDoubleTokens.calendarDayOfWeekColor}: ${_sdds_cs.textSecondary};
|
|
39
|
+
${_emotion.calendarDoubleTokens.calendarHeaderArrowColor}: ${_sdds_cs.textAccent};
|
|
39
40
|
${_emotion.calendarDoubleTokens.calendarDisabledOpacity}: 1;
|
|
40
41
|
|
|
41
|
-
${_emotion.calendarDoubleTokens.iconButtonColor}:
|
|
42
|
-
${_emotion.calendarDoubleTokens.iconButtonBackgroundColor}:
|
|
43
|
-
${_emotion.calendarDoubleTokens.iconButtonColorHover}:
|
|
44
|
-
${_emotion.calendarDoubleTokens.iconButtonBackgroundColorHover}:
|
|
45
|
-
${_emotion.calendarDoubleTokens.iconButtonColorActive}:
|
|
46
|
-
${_emotion.calendarDoubleTokens.iconButtonBackgroundColorActive}:
|
|
47
|
-
${_emotion.calendarDoubleTokens.iconButtonFocusColor}:
|
|
42
|
+
${_emotion.calendarDoubleTokens.iconButtonColor}: ${_sdds_cs.textPrimary};
|
|
43
|
+
${_emotion.calendarDoubleTokens.iconButtonBackgroundColor}: ${_sdds_cs.surfaceClear};
|
|
44
|
+
${_emotion.calendarDoubleTokens.iconButtonColorHover}: ${_sdds_cs.textPrimaryHover};
|
|
45
|
+
${_emotion.calendarDoubleTokens.iconButtonBackgroundColorHover}: ${_sdds_cs.surfaceClear};
|
|
46
|
+
${_emotion.calendarDoubleTokens.iconButtonColorActive}: ${_sdds_cs.textPrimaryHover};
|
|
47
|
+
${_emotion.calendarDoubleTokens.iconButtonBackgroundColorActive}: ${_sdds_cs.surfaceClear};
|
|
48
|
+
${_emotion.calendarDoubleTokens.iconButtonFocusColor}: ${_sdds_cs.surfaceAccent};
|
|
48
49
|
`
|
|
49
50
|
},
|
|
50
51
|
size: {
|
|
@@ -55,45 +56,45 @@ const config = {
|
|
|
55
56
|
${_emotion.calendarDoubleTokens.calendarYearsPadding}: 0.5rem 0.5rem 0 0.5rem;
|
|
56
57
|
${_emotion.calendarDoubleTokens.calendarYearItemBorderRadius}: 0.5rem;
|
|
57
58
|
|
|
58
|
-
${_emotion.calendarDoubleTokens.calendarYearFontFamily}:
|
|
59
|
-
${_emotion.calendarDoubleTokens.calendarYearFontSize}:
|
|
60
|
-
${_emotion.calendarDoubleTokens.calendarYearFontStyle}:
|
|
61
|
-
${_emotion.calendarDoubleTokens.calendarYearFontLetterSpacing}:
|
|
62
|
-
${_emotion.calendarDoubleTokens.calendarYearFontLineHeight}:
|
|
63
|
-
${_emotion.calendarDoubleTokens.calendarYearFontWeight}:
|
|
64
|
-
${_emotion.calendarDoubleTokens.calendarYearSelectedFontWeight}:
|
|
59
|
+
${_emotion.calendarDoubleTokens.calendarYearFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
60
|
+
${_emotion.calendarDoubleTokens.calendarYearFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
61
|
+
${_emotion.calendarDoubleTokens.calendarYearFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
62
|
+
${_emotion.calendarDoubleTokens.calendarYearFontLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
63
|
+
${_emotion.calendarDoubleTokens.calendarYearFontLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
64
|
+
${_emotion.calendarDoubleTokens.calendarYearFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
65
|
+
${_emotion.calendarDoubleTokens.calendarYearSelectedFontWeight}: ${_sdds_cs.bodySBold.fontWeight};
|
|
65
66
|
|
|
66
67
|
${_emotion.calendarDoubleTokens.calendarQuartersPadding}: 0.5rem 0.5rem 0 0.5rem;
|
|
67
68
|
${_emotion.calendarDoubleTokens.calendarQuarterItemBorderRadius}: 0.5rem;
|
|
68
69
|
|
|
69
|
-
${_emotion.calendarDoubleTokens.calendarQuarterFontFamily}:
|
|
70
|
-
${_emotion.calendarDoubleTokens.calendarQuarterFontSize}:
|
|
71
|
-
${_emotion.calendarDoubleTokens.calendarQuarterFontStyle}:
|
|
72
|
-
${_emotion.calendarDoubleTokens.calendarQuarterFontLetterSpacing}:
|
|
73
|
-
${_emotion.calendarDoubleTokens.calendarQuarterFontLineHeight}:
|
|
74
|
-
${_emotion.calendarDoubleTokens.calendarQuarterFontWeight}:
|
|
75
|
-
${_emotion.calendarDoubleTokens.calendarQuarterSelectedFontWeight}:
|
|
70
|
+
${_emotion.calendarDoubleTokens.calendarQuarterFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
71
|
+
${_emotion.calendarDoubleTokens.calendarQuarterFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
72
|
+
${_emotion.calendarDoubleTokens.calendarQuarterFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
73
|
+
${_emotion.calendarDoubleTokens.calendarQuarterFontLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
74
|
+
${_emotion.calendarDoubleTokens.calendarQuarterFontLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
75
|
+
${_emotion.calendarDoubleTokens.calendarQuarterFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
76
|
+
${_emotion.calendarDoubleTokens.calendarQuarterSelectedFontWeight}: ${_sdds_cs.bodySBold.fontWeight};
|
|
76
77
|
|
|
77
78
|
${_emotion.calendarDoubleTokens.calendarMonthsPadding}: 0.5rem 0.5rem 0 0.5rem;
|
|
78
79
|
${_emotion.calendarDoubleTokens.calendarMonthItemBorderRadius}: 0.5rem;
|
|
79
80
|
|
|
80
|
-
${_emotion.calendarDoubleTokens.calendarMonthFontFamily}:
|
|
81
|
-
${_emotion.calendarDoubleTokens.calendarMonthFontSize}:
|
|
82
|
-
${_emotion.calendarDoubleTokens.calendarMonthFontStyle}:
|
|
83
|
-
${_emotion.calendarDoubleTokens.calendarMonthFontLetterSpacing}:
|
|
84
|
-
${_emotion.calendarDoubleTokens.calendarMonthFontLineHeight}:
|
|
85
|
-
${_emotion.calendarDoubleTokens.calendarMonthFontWeight}:
|
|
86
|
-
${_emotion.calendarDoubleTokens.calendarMonthSelectedFontWeight}:
|
|
81
|
+
${_emotion.calendarDoubleTokens.calendarMonthFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
82
|
+
${_emotion.calendarDoubleTokens.calendarMonthFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
83
|
+
${_emotion.calendarDoubleTokens.calendarMonthFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
84
|
+
${_emotion.calendarDoubleTokens.calendarMonthFontLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
85
|
+
${_emotion.calendarDoubleTokens.calendarMonthFontLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
86
|
+
${_emotion.calendarDoubleTokens.calendarMonthFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
87
|
+
${_emotion.calendarDoubleTokens.calendarMonthSelectedFontWeight}: ${_sdds_cs.bodySBold.fontWeight};
|
|
87
88
|
|
|
88
89
|
${_emotion.calendarDoubleTokens.calendarDayItemBorderRadius}: 0.5rem;
|
|
89
90
|
|
|
90
|
-
${_emotion.calendarDoubleTokens.calendarDayFontFamily}:
|
|
91
|
-
${_emotion.calendarDoubleTokens.calendarDayFontSize}:
|
|
92
|
-
${_emotion.calendarDoubleTokens.calendarDayFontStyle}:
|
|
93
|
-
${_emotion.calendarDoubleTokens.calendarDayFontLetterSpacing}:
|
|
94
|
-
${_emotion.calendarDoubleTokens.calendarDayFontLineHeight}:
|
|
95
|
-
${_emotion.calendarDoubleTokens.calendarDayFontWeight}:
|
|
96
|
-
${_emotion.calendarDoubleTokens.calendarDaySelectedFontWeight}:
|
|
91
|
+
${_emotion.calendarDoubleTokens.calendarDayFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
92
|
+
${_emotion.calendarDoubleTokens.calendarDayFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
93
|
+
${_emotion.calendarDoubleTokens.calendarDayFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
94
|
+
${_emotion.calendarDoubleTokens.calendarDayFontLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
95
|
+
${_emotion.calendarDoubleTokens.calendarDayFontLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
96
|
+
${_emotion.calendarDoubleTokens.calendarDayFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
97
|
+
${_emotion.calendarDoubleTokens.calendarDaySelectedFontWeight}: ${_sdds_cs.bodySBold.fontWeight};
|
|
97
98
|
|
|
98
99
|
${_emotion.calendarDoubleTokens.calendarCurrentItemBorderWidth}: 0.125rem;
|
|
99
100
|
|
|
@@ -104,13 +105,13 @@ const config = {
|
|
|
104
105
|
${_emotion.calendarDoubleTokens.calendarHeaderPadding}: 0 0 0 0.5rem;
|
|
105
106
|
${_emotion.calendarDoubleTokens.calendarHeaderDateGap}: 0.25rem;
|
|
106
107
|
|
|
107
|
-
${_emotion.calendarDoubleTokens.calendarHeaderFontFamily}:
|
|
108
|
-
${_emotion.calendarDoubleTokens.calendarHeaderFontSize}:
|
|
109
|
-
${_emotion.calendarDoubleTokens.calendarHeaderFontStyle}:
|
|
110
|
-
${_emotion.calendarDoubleTokens.calendarHeaderFontLetterSpacing}:
|
|
111
|
-
${_emotion.calendarDoubleTokens.calendarHeaderFontLineHeight}:
|
|
112
|
-
${_emotion.calendarDoubleTokens.calendarHeaderFontWeight}:
|
|
113
|
-
${_emotion.calendarDoubleTokens.calendarHeaderFontWeightBold}:
|
|
108
|
+
${_emotion.calendarDoubleTokens.calendarHeaderFontFamily}: ${_sdds_cs.bodyMBold.fontFamily};
|
|
109
|
+
${_emotion.calendarDoubleTokens.calendarHeaderFontSize}: ${_sdds_cs.bodyMBold.fontSize};
|
|
110
|
+
${_emotion.calendarDoubleTokens.calendarHeaderFontStyle}: ${_sdds_cs.bodyMBold.fontStyle};
|
|
111
|
+
${_emotion.calendarDoubleTokens.calendarHeaderFontLetterSpacing}: ${_sdds_cs.bodyMBold.letterSpacing};
|
|
112
|
+
${_emotion.calendarDoubleTokens.calendarHeaderFontLineHeight}: ${_sdds_cs.bodyMBold.lineHeight};
|
|
113
|
+
${_emotion.calendarDoubleTokens.calendarHeaderFontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
114
|
+
${_emotion.calendarDoubleTokens.calendarHeaderFontWeightBold}: ${_sdds_cs.bodyMBold.fontWeight};
|
|
114
115
|
|
|
115
116
|
${_emotion.calendarDoubleTokens.iconButtonHeight}: 2.5rem;
|
|
116
117
|
${_emotion.calendarDoubleTokens.iconButtonWidth}: 2.5rem;
|
|
@@ -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.cardTokens.solidBackground}:
|
|
21
|
+
${_emotion.cardTokens.solidBackground}: ${_sdds_cs.surfaceSolidCard};
|
|
21
22
|
`
|
|
22
23
|
},
|
|
23
24
|
size: {
|
|
@@ -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,14 +18,14 @@ const config = {
|
|
|
17
18
|
variations: {
|
|
18
19
|
view: {
|
|
19
20
|
default: (0, _emotion.css)`
|
|
20
|
-
${_emotion.carouselNewTokens.paginationDotBackground}:
|
|
21
|
-
${_emotion.carouselNewTokens.paginationDotActiveBackground}:
|
|
22
|
-
${_emotion.carouselNewTokens.controlIconButtonColor}:
|
|
23
|
-
${_emotion.carouselNewTokens.controlIconButtonBackgroundColor}:
|
|
24
|
-
${_emotion.carouselNewTokens.controlIconButtonColorHover}:
|
|
25
|
-
${_emotion.carouselNewTokens.controlIconButtonBackgroundColorHover}:
|
|
26
|
-
${_emotion.carouselNewTokens.controlIconButtonColorActive}:
|
|
27
|
-
${_emotion.carouselNewTokens.controlIconButtonBackgroundColorActive}:
|
|
21
|
+
${_emotion.carouselNewTokens.paginationDotBackground}: ${_sdds_cs.surfaceAccent};
|
|
22
|
+
${_emotion.carouselNewTokens.paginationDotActiveBackground}: ${_sdds_cs.textPrimary};
|
|
23
|
+
${_emotion.carouselNewTokens.controlIconButtonColor}: ${_sdds_cs.textAccent};
|
|
24
|
+
${_emotion.carouselNewTokens.controlIconButtonBackgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
|
|
25
|
+
${_emotion.carouselNewTokens.controlIconButtonColorHover}: ${_sdds_cs.textAccentMinor};
|
|
26
|
+
${_emotion.carouselNewTokens.controlIconButtonBackgroundColorHover}: ${_sdds_cs.surfaceSolidPrimaryHover};
|
|
27
|
+
${_emotion.carouselNewTokens.controlIconButtonColorActive}: ${_sdds_cs.textAccentActive};
|
|
28
|
+
${_emotion.carouselNewTokens.controlIconButtonBackgroundColorActive}: ${_sdds_cs.surfaceSolidPrimaryActive};
|
|
28
29
|
`
|
|
29
30
|
},
|
|
30
31
|
size: {
|
|
@@ -8,15 +8,16 @@ 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
|
variations: {
|
|
14
15
|
view: {
|
|
15
16
|
default: (0, _emotion.css)`
|
|
16
|
-
${_emotion.cellTokens.cellColor}:
|
|
17
|
-
${_emotion.cellTokens.cellLabelColor}:
|
|
18
|
-
${_emotion.cellTokens.cellTitleColor}:
|
|
19
|
-
${_emotion.cellTokens.cellSubtitleColor}:
|
|
17
|
+
${_emotion.cellTokens.cellColor}: ${_sdds_cs.textPrimary};
|
|
18
|
+
${_emotion.cellTokens.cellLabelColor}: ${_sdds_cs.textSecondary};
|
|
19
|
+
${_emotion.cellTokens.cellTitleColor}: ${_sdds_cs.textPrimary};
|
|
20
|
+
${_emotion.cellTokens.cellSubtitleColor}: ${_sdds_cs.textSecondary};
|
|
20
21
|
${_emotion.cellTokens.cellBackgroundColor}: transparent;
|
|
21
22
|
`
|
|
22
23
|
},
|
|
@@ -32,26 +33,26 @@ const config = {
|
|
|
32
33
|
${_emotion.cellTokens.cellTextboxGap}: 0.125rem;
|
|
33
34
|
${_emotion.cellTokens.cellGap}: 0.375rem;
|
|
34
35
|
|
|
35
|
-
${_emotion.cellTokens.cellLabelFontFamily}:
|
|
36
|
-
${_emotion.cellTokens.cellLabelFontSize}:
|
|
37
|
-
${_emotion.cellTokens.cellLabelFontStyle}:
|
|
38
|
-
${_emotion.cellTokens.cellLabelFontWeight}:
|
|
39
|
-
${_emotion.cellTokens.cellLabelLetterSpacing}:
|
|
40
|
-
${_emotion.cellTokens.cellLabelLineHeight}:
|
|
36
|
+
${_emotion.cellTokens.cellLabelFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
37
|
+
${_emotion.cellTokens.cellLabelFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
38
|
+
${_emotion.cellTokens.cellLabelFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
39
|
+
${_emotion.cellTokens.cellLabelFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
40
|
+
${_emotion.cellTokens.cellLabelLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
41
|
+
${_emotion.cellTokens.cellLabelLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
41
42
|
|
|
42
|
-
${_emotion.cellTokens.cellTitleFontFamily}:
|
|
43
|
-
${_emotion.cellTokens.cellTitleFontSize}:
|
|
44
|
-
${_emotion.cellTokens.cellTitleFontStyle}:
|
|
45
|
-
${_emotion.cellTokens.cellTitleFontWeight}:
|
|
46
|
-
${_emotion.cellTokens.cellTitleLetterSpacing}:
|
|
47
|
-
${_emotion.cellTokens.cellTitleLineHeight}:
|
|
43
|
+
${_emotion.cellTokens.cellTitleFontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
44
|
+
${_emotion.cellTokens.cellTitleFontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
45
|
+
${_emotion.cellTokens.cellTitleFontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
46
|
+
${_emotion.cellTokens.cellTitleFontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
47
|
+
${_emotion.cellTokens.cellTitleLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
48
|
+
${_emotion.cellTokens.cellTitleLineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
48
49
|
|
|
49
|
-
${_emotion.cellTokens.cellSubtitleFontFamily}:
|
|
50
|
-
${_emotion.cellTokens.cellSubtitleFontSize}:
|
|
51
|
-
${_emotion.cellTokens.cellSubtitleFontStyle}:
|
|
52
|
-
${_emotion.cellTokens.cellSubtitleFontWeight}:
|
|
53
|
-
${_emotion.cellTokens.cellSubtitleLetterSpacing}:
|
|
54
|
-
${_emotion.cellTokens.cellSubtitleLineHeight}:
|
|
50
|
+
${_emotion.cellTokens.cellSubtitleFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
51
|
+
${_emotion.cellTokens.cellSubtitleFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
52
|
+
${_emotion.cellTokens.cellSubtitleFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
53
|
+
${_emotion.cellTokens.cellSubtitleFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
54
|
+
${_emotion.cellTokens.cellSubtitleLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
55
|
+
${_emotion.cellTokens.cellSubtitleLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
55
56
|
`,
|
|
56
57
|
xs: (0, _emotion.css)`
|
|
57
58
|
${_emotion.cellTokens.cellWidth}: 15rem;
|
|
@@ -64,26 +65,26 @@ const config = {
|
|
|
64
65
|
${_emotion.cellTokens.cellTextboxGap}: 0.125rem;
|
|
65
66
|
${_emotion.cellTokens.cellGap}: 0.25rem;
|
|
66
67
|
|
|
67
|
-
${_emotion.cellTokens.cellLabelFontFamily}:
|
|
68
|
-
${_emotion.cellTokens.cellLabelFontSize}:
|
|
69
|
-
${_emotion.cellTokens.cellLabelFontStyle}:
|
|
70
|
-
${_emotion.cellTokens.cellLabelFontWeight}:
|
|
71
|
-
${_emotion.cellTokens.cellLabelLetterSpacing}:
|
|
72
|
-
${_emotion.cellTokens.cellLabelLineHeight}:
|
|
68
|
+
${_emotion.cellTokens.cellLabelFontFamily}: ${_sdds_cs.bodyXS.fontFamily};
|
|
69
|
+
${_emotion.cellTokens.cellLabelFontSize}: ${_sdds_cs.bodyXS.fontSize};
|
|
70
|
+
${_emotion.cellTokens.cellLabelFontStyle}: ${_sdds_cs.bodyXS.fontStyle};
|
|
71
|
+
${_emotion.cellTokens.cellLabelFontWeight}: ${_sdds_cs.bodyXS.fontWeight};
|
|
72
|
+
${_emotion.cellTokens.cellLabelLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
|
|
73
|
+
${_emotion.cellTokens.cellLabelLineHeight}: ${_sdds_cs.bodyXS.lineHeight};
|
|
73
74
|
|
|
74
|
-
${_emotion.cellTokens.cellTitleFontFamily}:
|
|
75
|
-
${_emotion.cellTokens.cellTitleFontSize}:
|
|
76
|
-
${_emotion.cellTokens.cellTitleFontStyle}:
|
|
77
|
-
${_emotion.cellTokens.cellTitleFontWeight}:
|
|
78
|
-
${_emotion.cellTokens.cellTitleLetterSpacing}:
|
|
79
|
-
${_emotion.cellTokens.cellTitleLineHeight}:
|
|
75
|
+
${_emotion.cellTokens.cellTitleFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
76
|
+
${_emotion.cellTokens.cellTitleFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
77
|
+
${_emotion.cellTokens.cellTitleFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
78
|
+
${_emotion.cellTokens.cellTitleFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
79
|
+
${_emotion.cellTokens.cellTitleLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
80
|
+
${_emotion.cellTokens.cellTitleLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
80
81
|
|
|
81
|
-
${_emotion.cellTokens.cellSubtitleFontFamily}:
|
|
82
|
-
${_emotion.cellTokens.cellSubtitleFontSize}:
|
|
83
|
-
${_emotion.cellTokens.cellSubtitleFontStyle}:
|
|
84
|
-
${_emotion.cellTokens.cellSubtitleFontWeight}:
|
|
85
|
-
${_emotion.cellTokens.cellSubtitleLetterSpacing}:
|
|
86
|
-
${_emotion.cellTokens.cellSubtitleLineHeight}:
|
|
82
|
+
${_emotion.cellTokens.cellSubtitleFontFamily}: ${_sdds_cs.bodyXS.fontFamily};
|
|
83
|
+
${_emotion.cellTokens.cellSubtitleFontSize}: ${_sdds_cs.bodyXS.fontSize};
|
|
84
|
+
${_emotion.cellTokens.cellSubtitleFontStyle}: ${_sdds_cs.bodyXS.fontStyle};
|
|
85
|
+
${_emotion.cellTokens.cellSubtitleFontWeight}: ${_sdds_cs.bodyXS.fontWeight};
|
|
86
|
+
${_emotion.cellTokens.cellSubtitleLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
|
|
87
|
+
${_emotion.cellTokens.cellSubtitleLineHeight}: ${_sdds_cs.bodyXS.lineHeight};
|
|
87
88
|
`
|
|
88
89
|
}
|
|
89
90
|
}
|
|
@@ -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,41 +27,41 @@ const config = {
|
|
|
26
27
|
${_emotion.checkboxTokens.contentTopOffset}: 0rem;
|
|
27
28
|
${_emotion.checkboxTokens.contentLeftOffset}: 0.75rem;
|
|
28
29
|
${_emotion.checkboxTokens.descriptionMarginTop}: 0.125rem;
|
|
29
|
-
${_emotion.checkboxTokens.labelFontFamily}:
|
|
30
|
-
${_emotion.checkboxTokens.labelFontSize}:
|
|
31
|
-
${_emotion.checkboxTokens.labelFontStyle}:
|
|
32
|
-
${_emotion.checkboxTokens.labelFontWeight}:
|
|
33
|
-
${_emotion.checkboxTokens.labelLetterSpacing}:
|
|
34
|
-
${_emotion.checkboxTokens.labelLineHeight}:
|
|
35
|
-
${_emotion.checkboxTokens.descriptionFontFamily}:
|
|
36
|
-
${_emotion.checkboxTokens.descriptionFontSize}:
|
|
37
|
-
${_emotion.checkboxTokens.descriptionFontStyle}:
|
|
38
|
-
${_emotion.checkboxTokens.descriptionFontWeight}:
|
|
39
|
-
${_emotion.checkboxTokens.descriptionLetterSpacing}:
|
|
40
|
-
${_emotion.checkboxTokens.descriptionLineHeight}:
|
|
30
|
+
${_emotion.checkboxTokens.labelFontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
31
|
+
${_emotion.checkboxTokens.labelFontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
32
|
+
${_emotion.checkboxTokens.labelFontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
33
|
+
${_emotion.checkboxTokens.labelFontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
34
|
+
${_emotion.checkboxTokens.labelLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
35
|
+
${_emotion.checkboxTokens.labelLineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
36
|
+
${_emotion.checkboxTokens.descriptionFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
37
|
+
${_emotion.checkboxTokens.descriptionFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
38
|
+
${_emotion.checkboxTokens.descriptionFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
39
|
+
${_emotion.checkboxTokens.descriptionFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
40
|
+
${_emotion.checkboxTokens.descriptionLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
41
|
+
${_emotion.checkboxTokens.descriptionLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
41
42
|
`
|
|
42
43
|
},
|
|
43
44
|
view: {
|
|
44
45
|
accent: (0, _emotion.css)`
|
|
45
|
-
${_emotion.checkboxTokens.fillColor}:
|
|
46
|
-
${_emotion.checkboxTokens.iconColor}:
|
|
47
|
-
${_emotion.checkboxTokens.labelColor}:
|
|
48
|
-
${_emotion.checkboxTokens.descriptionColor}:
|
|
49
|
-
${_emotion.checkboxTokens.triggerBorderColor}:
|
|
46
|
+
${_emotion.checkboxTokens.fillColor}: ${_sdds_cs.textAccent};
|
|
47
|
+
${_emotion.checkboxTokens.iconColor}: ${_sdds_cs.onDarkTextPrimary};
|
|
48
|
+
${_emotion.checkboxTokens.labelColor}: ${_sdds_cs.textPrimary};
|
|
49
|
+
${_emotion.checkboxTokens.descriptionColor}: ${_sdds_cs.textSecondary};
|
|
50
|
+
${_emotion.checkboxTokens.triggerBorderColor}: ${_sdds_cs.outlineAccent};
|
|
50
51
|
${_emotion.checkboxTokens.triggerBackgroundColor}: transparent;
|
|
51
52
|
${_emotion.checkboxTokens.triggerBorderCheckedColor}: transparent;
|
|
52
53
|
`
|
|
53
54
|
},
|
|
54
55
|
disabled: {
|
|
55
56
|
true: (0, _emotion.css)`
|
|
56
|
-
${_emotion.checkboxTokens.triggerBorderColor}:
|
|
57
|
-
${_emotion.checkboxTokens.fillColor}:
|
|
58
|
-
${_emotion.checkboxTokens.labelColor}:
|
|
57
|
+
${_emotion.checkboxTokens.triggerBorderColor}: ${_sdds_cs.outlineSolidPrimary};
|
|
58
|
+
${_emotion.checkboxTokens.fillColor}: ${_sdds_cs.surfaceSolidTertiary};
|
|
59
|
+
${_emotion.checkboxTokens.labelColor}: ${_sdds_cs.textSecondary};
|
|
59
60
|
`
|
|
60
61
|
},
|
|
61
62
|
focused: {
|
|
62
63
|
true: (0, _emotion.css)`
|
|
63
|
-
${_emotion.checkboxTokens.focusColor}:
|
|
64
|
+
${_emotion.checkboxTokens.focusColor}: ${_sdds_cs.textAccent};
|
|
64
65
|
`
|
|
65
66
|
}
|
|
66
67
|
}
|
|
@@ -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,50 +19,50 @@ const config = {
|
|
|
18
19
|
variations: {
|
|
19
20
|
view: {
|
|
20
21
|
default: (0, _emotion.css)`
|
|
21
|
-
${_emotion.chipTokens.color}:
|
|
22
|
-
${_emotion.chipTokens.background}:
|
|
23
|
-
${_emotion.chipTokens.colorHover}:
|
|
24
|
-
${_emotion.chipTokens.backgroundHover}:
|
|
25
|
-
${_emotion.chipTokens.colorActive}:
|
|
26
|
-
${_emotion.chipTokens.backgroundActive}:
|
|
27
|
-
${_emotion.chipTokens.backgroundReadOnly}:
|
|
28
|
-
${_emotion.chipTokens.colorReadOnly}:
|
|
29
|
-
${_emotion.chipTokens.backgroundReadOnlyHover}:
|
|
30
|
-
${_emotion.chipTokens.colorReadOnlyHover}:
|
|
31
|
-
${_emotion.chipTokens.closeIconColor}:
|
|
32
|
-
${_emotion.chipTokens.closeIconColorHover}:
|
|
33
|
-
${_emotion.chipTokens.leftContentColor}:
|
|
22
|
+
${_emotion.chipTokens.color}: ${_sdds_cs.textPrimary};
|
|
23
|
+
${_emotion.chipTokens.background}: ${_sdds_cs.surfaceSolidCard};
|
|
24
|
+
${_emotion.chipTokens.colorHover}: ${_sdds_cs.textPrimary};
|
|
25
|
+
${_emotion.chipTokens.backgroundHover}: ${_sdds_cs.surfaceSolidCard};
|
|
26
|
+
${_emotion.chipTokens.colorActive}: ${_sdds_cs.textPrimary};
|
|
27
|
+
${_emotion.chipTokens.backgroundActive}: ${_sdds_cs.surfaceSolidCard};
|
|
28
|
+
${_emotion.chipTokens.backgroundReadOnly}: ${_sdds_cs.surfaceSolidCard};
|
|
29
|
+
${_emotion.chipTokens.colorReadOnly}: ${_sdds_cs.textPrimary};
|
|
30
|
+
${_emotion.chipTokens.backgroundReadOnlyHover}: ${_sdds_cs.surfaceSolidCard};
|
|
31
|
+
${_emotion.chipTokens.colorReadOnlyHover}: ${_sdds_cs.textPrimary};
|
|
32
|
+
${_emotion.chipTokens.closeIconColor}: ${_sdds_cs.textAccent};
|
|
33
|
+
${_emotion.chipTokens.closeIconColorHover}: ${_sdds_cs.textAccentMinor};
|
|
34
|
+
${_emotion.chipTokens.leftContentColor}: ${_sdds_cs.textAccent};
|
|
34
35
|
`,
|
|
35
36
|
secondary: (0, _emotion.css)`
|
|
36
|
-
${_emotion.chipTokens.color}:
|
|
37
|
-
${_emotion.chipTokens.background}:
|
|
38
|
-
${_emotion.chipTokens.colorHover}:
|
|
39
|
-
${_emotion.chipTokens.backgroundHover}:
|
|
40
|
-
${_emotion.chipTokens.colorActive}:
|
|
41
|
-
${_emotion.chipTokens.backgroundActive}:
|
|
42
|
-
${_emotion.chipTokens.backgroundReadOnly}:
|
|
43
|
-
${_emotion.chipTokens.colorReadOnly}:
|
|
44
|
-
${_emotion.chipTokens.backgroundReadOnlyHover}:
|
|
45
|
-
${_emotion.chipTokens.colorReadOnlyHover}:
|
|
46
|
-
${_emotion.chipTokens.closeIconColor}:
|
|
47
|
-
${_emotion.chipTokens.closeIconColorHover}:
|
|
48
|
-
${_emotion.chipTokens.leftContentColor}:
|
|
37
|
+
${_emotion.chipTokens.color}: ${_sdds_cs.textPrimary};
|
|
38
|
+
${_emotion.chipTokens.background}: ${_sdds_cs.surfaceSolidSecondary};
|
|
39
|
+
${_emotion.chipTokens.colorHover}: ${_sdds_cs.textPrimary};
|
|
40
|
+
${_emotion.chipTokens.backgroundHover}: ${_sdds_cs.surfaceSolidSecondary};
|
|
41
|
+
${_emotion.chipTokens.colorActive}: ${_sdds_cs.textPrimary};
|
|
42
|
+
${_emotion.chipTokens.backgroundActive}: ${_sdds_cs.surfaceSolidSecondary};
|
|
43
|
+
${_emotion.chipTokens.backgroundReadOnly}: ${_sdds_cs.surfaceSolidPrimary};
|
|
44
|
+
${_emotion.chipTokens.colorReadOnly}: ${_sdds_cs.textPrimary};
|
|
45
|
+
${_emotion.chipTokens.backgroundReadOnlyHover}: ${_sdds_cs.surfaceSolidPrimary};
|
|
46
|
+
${_emotion.chipTokens.colorReadOnlyHover}: ${_sdds_cs.textPrimary};
|
|
47
|
+
${_emotion.chipTokens.closeIconColor}: ${_sdds_cs.textAccent};
|
|
48
|
+
${_emotion.chipTokens.closeIconColorHover}: ${_sdds_cs.textAccentMinor};
|
|
49
|
+
${_emotion.chipTokens.leftContentColor}: ${_sdds_cs.textAccent};
|
|
49
50
|
`,
|
|
50
51
|
accent: (0, _emotion.css)`
|
|
51
|
-
${_emotion.chipTokens.color}:
|
|
52
|
-
${_emotion.chipTokens.background}:
|
|
53
|
-
${_emotion.chipTokens.colorHover}:
|
|
54
|
-
${_emotion.chipTokens.backgroundHover}:
|
|
55
|
-
${_emotion.chipTokens.colorActive}:
|
|
56
|
-
${_emotion.chipTokens.backgroundActive}:
|
|
57
|
-
${_emotion.chipTokens.backgroundReadOnly}:
|
|
58
|
-
${_emotion.chipTokens.colorReadOnly}:
|
|
59
|
-
${_emotion.chipTokens.backgroundReadOnlyHover}:
|
|
60
|
-
${_emotion.chipTokens.colorReadOnlyHover}:
|
|
52
|
+
${_emotion.chipTokens.color}: ${_sdds_cs.onDarkTextPrimary};
|
|
53
|
+
${_emotion.chipTokens.background}: ${_sdds_cs.surfaceAccent};
|
|
54
|
+
${_emotion.chipTokens.colorHover}: ${_sdds_cs.onDarkTextPrimary};
|
|
55
|
+
${_emotion.chipTokens.backgroundHover}: ${_sdds_cs.surfaceAccentHover};
|
|
56
|
+
${_emotion.chipTokens.colorActive}: ${_sdds_cs.onDarkTextPrimary};
|
|
57
|
+
${_emotion.chipTokens.backgroundActive}: ${_sdds_cs.surfaceAccentActive};
|
|
58
|
+
${_emotion.chipTokens.backgroundReadOnly}: ${_sdds_cs.surfaceAccent};
|
|
59
|
+
${_emotion.chipTokens.colorReadOnly}: ${_sdds_cs.onDarkTextPrimary};
|
|
60
|
+
${_emotion.chipTokens.backgroundReadOnlyHover}: ${_sdds_cs.surfaceAccent};
|
|
61
|
+
${_emotion.chipTokens.colorReadOnlyHover}: ${_sdds_cs.onDarkTextPrimary};
|
|
61
62
|
|
|
62
|
-
${_emotion.chipTokens.closeIconColor}:
|
|
63
|
-
${_emotion.chipTokens.closeIconColorHover}:
|
|
64
|
-
${_emotion.chipTokens.leftContentColor}:
|
|
63
|
+
${_emotion.chipTokens.closeIconColor}: ${_sdds_cs.onDarkTextPrimary};
|
|
64
|
+
${_emotion.chipTokens.closeIconColorHover}: ${_sdds_cs.onDarkTextPrimaryHover};
|
|
65
|
+
${_emotion.chipTokens.leftContentColor}: ${_sdds_cs.onDarkTextPrimary};
|
|
65
66
|
`
|
|
66
67
|
},
|
|
67
68
|
size: {
|
|
@@ -72,12 +73,12 @@ const config = {
|
|
|
72
73
|
${_emotion.chipTokens.height}: 2.5rem;
|
|
73
74
|
${_emotion.chipTokens.padding}: 0 1rem;
|
|
74
75
|
|
|
75
|
-
${_emotion.chipTokens.fontFamily}:
|
|
76
|
-
${_emotion.chipTokens.fontSize}:
|
|
77
|
-
${_emotion.chipTokens.fontStyle}:
|
|
78
|
-
${_emotion.chipTokens.fontWeight}:
|
|
79
|
-
${_emotion.chipTokens.letterSpacing}:
|
|
80
|
-
${_emotion.chipTokens.lineHeight}:
|
|
76
|
+
${_emotion.chipTokens.fontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
77
|
+
${_emotion.chipTokens.fontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
78
|
+
${_emotion.chipTokens.fontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
79
|
+
${_emotion.chipTokens.fontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
80
|
+
${_emotion.chipTokens.letterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
81
|
+
${_emotion.chipTokens.lineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
81
82
|
|
|
82
83
|
${_emotion.chipTokens.leftContentMarginLeft}: -0.25rem;
|
|
83
84
|
${_emotion.chipTokens.leftContentMarginRight}: 0.25rem;
|
|
@@ -94,12 +95,12 @@ const config = {
|
|
|
94
95
|
${_emotion.chipTokens.height}: 1.5rem;
|
|
95
96
|
${_emotion.chipTokens.padding}: 0.125rem 0.5rem;
|
|
96
97
|
|
|
97
|
-
${_emotion.chipTokens.fontFamily}:
|
|
98
|
-
${_emotion.chipTokens.fontSize}:
|
|
99
|
-
${_emotion.chipTokens.fontStyle}:
|
|
100
|
-
${_emotion.chipTokens.fontWeight}:
|
|
101
|
-
${_emotion.chipTokens.letterSpacing}:
|
|
102
|
-
${_emotion.chipTokens.lineHeight}:
|
|
98
|
+
${_emotion.chipTokens.fontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
99
|
+
${_emotion.chipTokens.fontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
100
|
+
${_emotion.chipTokens.fontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
101
|
+
${_emotion.chipTokens.fontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
102
|
+
${_emotion.chipTokens.letterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
103
|
+
${_emotion.chipTokens.lineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
103
104
|
|
|
104
105
|
${_emotion.chipTokens.leftContentMarginLeft}: 0;
|
|
105
106
|
${_emotion.chipTokens.leftContentMarginRight}: 0.25rem;
|
|
@@ -112,7 +113,7 @@ const config = {
|
|
|
112
113
|
},
|
|
113
114
|
focused: {
|
|
114
115
|
true: (0, _emotion.css)`
|
|
115
|
-
${_emotion.chipTokens.focusColor}:
|
|
116
|
+
${_emotion.chipTokens.focusColor}: ${_sdds_cs.textAccent};
|
|
116
117
|
`
|
|
117
118
|
}
|
|
118
119
|
}
|