@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,94 +18,94 @@ const config = {
|
|
|
17
18
|
variations: {
|
|
18
19
|
view: {
|
|
19
20
|
default: (0, _emotion.css)`
|
|
20
|
-
${_emotion.datePickerTokens.outlineFocusColor}:
|
|
21
|
-
|
|
22
|
-
${_emotion.datePickerTokens.background}:
|
|
23
|
-
${_emotion.datePickerTokens.borderColor}:
|
|
24
|
-
${_emotion.datePickerTokens.borderColorHover}:
|
|
25
|
-
${_emotion.datePickerTokens.borderColorFocus}:
|
|
26
|
-
${_emotion.datePickerTokens.borderColorError}:
|
|
27
|
-
${_emotion.datePickerTokens.borderColorSuccess}:
|
|
28
|
-
|
|
29
|
-
${_emotion.datePickerTokens.dividerColor}:
|
|
30
|
-
${_emotion.datePickerTokens.labelColor}:
|
|
31
|
-
${_emotion.datePickerTokens.leftHelperColor}:
|
|
32
|
-
${_emotion.datePickerTokens.leftHelperColorError}:
|
|
33
|
-
${_emotion.datePickerTokens.leftHelperColorSuccess}:
|
|
34
|
-
|
|
35
|
-
${_emotion.datePickerTokens.textFieldColor}:
|
|
36
|
-
${_emotion.datePickerTokens.textFieldPlaceholderColor}:
|
|
37
|
-
${_emotion.datePickerTokens.textFieldPlaceholderColorFocus}:
|
|
38
|
-
${_emotion.datePickerTokens.textFieldCaretColor}:
|
|
39
|
-
|
|
40
|
-
${_emotion.datePickerTokens.labelInnerFontFamily}:
|
|
41
|
-
${_emotion.datePickerTokens.labelInnerFontSize}:
|
|
42
|
-
${_emotion.datePickerTokens.labelInnerFontStyle}:
|
|
43
|
-
${_emotion.datePickerTokens.labelInnerFontWeight}:
|
|
44
|
-
${_emotion.datePickerTokens.labelInnerLetterSpacing}:
|
|
45
|
-
${_emotion.datePickerTokens.labelInnerLineHeight}:
|
|
46
|
-
|
|
47
|
-
${_emotion.datePickerTokens.indicatorColor}:
|
|
48
|
-
|
|
49
|
-
${_emotion.datePickerTokens.textFieldBorderColor}:
|
|
50
|
-
${_emotion.datePickerTokens.textFieldBorderColorHover}:
|
|
51
|
-
${_emotion.datePickerTokens.textFieldBorderColorFocus}:
|
|
52
|
-
${_emotion.datePickerTokens.textFieldBorderColorError}:
|
|
53
|
-
${_emotion.datePickerTokens.textFieldBorderColorErrorFocus}:
|
|
54
|
-
${_emotion.datePickerTokens.textFieldBorderColorSuccess}:
|
|
55
|
-
${_emotion.datePickerTokens.textFieldBorderColorSuccessFocus}:
|
|
56
|
-
${_emotion.datePickerTokens.textFieldBackgroundColor}:
|
|
57
|
-
|
|
58
|
-
${_emotion.datePickerTokens.textFieldContentSlotColor}:
|
|
59
|
-
|
|
60
|
-
${_emotion.datePickerTokens.embedIconButtonFocusColor}:
|
|
61
|
-
${_emotion.datePickerTokens.contentSlotRightColor}:
|
|
62
|
-
${_emotion.datePickerTokens.contentSlotRightColorHover}:
|
|
63
|
-
${_emotion.datePickerTokens.contentSlotRightColorActive}:
|
|
64
|
-
|
|
65
|
-
${_emotion.datePickerTokens.textFieldTextBeforeColor}:
|
|
66
|
-
${_emotion.datePickerTokens.textFieldTextAfterColor}:
|
|
67
|
-
|
|
68
|
-
${_emotion.datePickerTokens.focusColor}:
|
|
69
|
-
|
|
70
|
-
${_emotion.datePickerTokens.popoverShadow}:
|
|
21
|
+
${_emotion.datePickerTokens.outlineFocusColor}: ${_sdds_cs.surfaceAccent};
|
|
22
|
+
|
|
23
|
+
${_emotion.datePickerTokens.background}: ${_sdds_cs.surfaceSolidCard};
|
|
24
|
+
${_emotion.datePickerTokens.borderColor}: ${_sdds_cs.outlineSolidPrimary};
|
|
25
|
+
${_emotion.datePickerTokens.borderColorHover}: ${_sdds_cs.outlineSolidPrimaryHover};
|
|
26
|
+
${_emotion.datePickerTokens.borderColorFocus}: ${_sdds_cs.outlineAccent};
|
|
27
|
+
${_emotion.datePickerTokens.borderColorError}: ${_sdds_cs.outlineNegative};
|
|
28
|
+
${_emotion.datePickerTokens.borderColorSuccess}: ${_sdds_cs.outlineAccent};
|
|
29
|
+
|
|
30
|
+
${_emotion.datePickerTokens.dividerColor}: ${_sdds_cs.textPrimary};
|
|
31
|
+
${_emotion.datePickerTokens.labelColor}: ${_sdds_cs.textPrimary};
|
|
32
|
+
${_emotion.datePickerTokens.leftHelperColor}: ${_sdds_cs.textSecondary};
|
|
33
|
+
${_emotion.datePickerTokens.leftHelperColorError}: ${_sdds_cs.textNegative};
|
|
34
|
+
${_emotion.datePickerTokens.leftHelperColorSuccess}: ${_sdds_cs.textPositive};
|
|
35
|
+
|
|
36
|
+
${_emotion.datePickerTokens.textFieldColor}: ${_sdds_cs.textPrimary};
|
|
37
|
+
${_emotion.datePickerTokens.textFieldPlaceholderColor}: ${_sdds_cs.textSecondary};
|
|
38
|
+
${_emotion.datePickerTokens.textFieldPlaceholderColorFocus}: ${_sdds_cs.textTertiary};
|
|
39
|
+
${_emotion.datePickerTokens.textFieldCaretColor}: ${_sdds_cs.textAccent};
|
|
40
|
+
|
|
41
|
+
${_emotion.datePickerTokens.labelInnerFontFamily}: ${_sdds_cs.bodyXS.fontFamily};
|
|
42
|
+
${_emotion.datePickerTokens.labelInnerFontSize}: ${_sdds_cs.bodyXS.fontSize};
|
|
43
|
+
${_emotion.datePickerTokens.labelInnerFontStyle}: ${_sdds_cs.bodyXS.fontStyle};
|
|
44
|
+
${_emotion.datePickerTokens.labelInnerFontWeight}: ${_sdds_cs.bodyXS.fontWeight};
|
|
45
|
+
${_emotion.datePickerTokens.labelInnerLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
|
|
46
|
+
${_emotion.datePickerTokens.labelInnerLineHeight}: ${_sdds_cs.bodyXS.lineHeight};
|
|
47
|
+
|
|
48
|
+
${_emotion.datePickerTokens.indicatorColor}: ${_sdds_cs.surfaceNegative};
|
|
49
|
+
|
|
50
|
+
${_emotion.datePickerTokens.textFieldBorderColor}: ${_sdds_cs.outlineSolidPrimary};
|
|
51
|
+
${_emotion.datePickerTokens.textFieldBorderColorHover}: ${_sdds_cs.outlineSolidPrimaryHover};
|
|
52
|
+
${_emotion.datePickerTokens.textFieldBorderColorFocus}: ${_sdds_cs.outlineAccent};
|
|
53
|
+
${_emotion.datePickerTokens.textFieldBorderColorError}: ${_sdds_cs.outlineNegative};
|
|
54
|
+
${_emotion.datePickerTokens.textFieldBorderColorErrorFocus}: ${_sdds_cs.outlineNegative};
|
|
55
|
+
${_emotion.datePickerTokens.textFieldBorderColorSuccess}: ${_sdds_cs.outlineAccent};
|
|
56
|
+
${_emotion.datePickerTokens.textFieldBorderColorSuccessFocus}: ${_sdds_cs.outlineAccent};
|
|
57
|
+
${_emotion.datePickerTokens.textFieldBackgroundColor}: ${_sdds_cs.surfaceSolidCard};
|
|
58
|
+
|
|
59
|
+
${_emotion.datePickerTokens.textFieldContentSlotColor}: ${_sdds_cs.textSecondary};
|
|
60
|
+
|
|
61
|
+
${_emotion.datePickerTokens.embedIconButtonFocusColor}: ${_sdds_cs.surfaceAccent};
|
|
62
|
+
${_emotion.datePickerTokens.contentSlotRightColor}: ${_sdds_cs.textAccent};
|
|
63
|
+
${_emotion.datePickerTokens.contentSlotRightColorHover}: ${_sdds_cs.textAccentHover};
|
|
64
|
+
${_emotion.datePickerTokens.contentSlotRightColorActive}: ${_sdds_cs.textAccentActive};
|
|
65
|
+
|
|
66
|
+
${_emotion.datePickerTokens.textFieldTextBeforeColor}: ${_sdds_cs.textSecondary};
|
|
67
|
+
${_emotion.datePickerTokens.textFieldTextAfterColor}: ${_sdds_cs.textSecondary};
|
|
68
|
+
|
|
69
|
+
${_emotion.datePickerTokens.focusColor}: ${_sdds_cs.textAccent};
|
|
70
|
+
|
|
71
|
+
${_emotion.datePickerTokens.popoverShadow}: ${_sdds_cs.shadowDownSoftS};
|
|
71
72
|
${_emotion.datePickerTokens.popoverSeparatorBackground}: var(--surface-transparent-secondary);
|
|
72
|
-
${_emotion.datePickerTokens.popoverBackgroundColor}:
|
|
73
|
+
${_emotion.datePickerTokens.popoverBackgroundColor}: ${_sdds_cs.surfaceSolidCard};
|
|
73
74
|
|
|
74
|
-
${_emotion.datePickerTokens.calendarSelectedItemBackground}:
|
|
75
|
-
${_emotion.datePickerTokens.calendarSelectedItemColor}:
|
|
76
|
-
${_emotion.datePickerTokens.calendarSelectableItemBackgroundHover}:
|
|
77
|
-
${_emotion.datePickerTokens.calendarCurrentItemBorderColor}:
|
|
75
|
+
${_emotion.datePickerTokens.calendarSelectedItemBackground}: ${_sdds_cs.surfaceAccent};
|
|
76
|
+
${_emotion.datePickerTokens.calendarSelectedItemColor}: ${_sdds_cs.inverseTextPrimary};
|
|
77
|
+
${_emotion.datePickerTokens.calendarSelectableItemBackgroundHover}: ${_sdds_cs.surfaceTransparentAccent};
|
|
78
|
+
${_emotion.datePickerTokens.calendarCurrentItemBorderColor}: ${_sdds_cs.inverseOutlineSolidSecondary};
|
|
78
79
|
${_emotion.datePickerTokens.calendarCurrentItemBackgroundHover}: transparent;
|
|
79
|
-
${_emotion.datePickerTokens.calendarCurrentItemColorHover}:
|
|
80
|
-
${_emotion.datePickerTokens.calendarCurrentItemChildBackgroundHover}:
|
|
81
|
-
${_emotion.datePickerTokens.calendarActiveItemBackground}:
|
|
82
|
-
${_emotion.datePickerTokens.calendarActiveItemColor}:
|
|
83
|
-
${_emotion.datePickerTokens.calendarHoveredItemBackground}:
|
|
84
|
-
${_emotion.datePickerTokens.calendarHoveredItemColor}:
|
|
85
|
-
${_emotion.datePickerTokens.calendarRangeBackground}:
|
|
86
|
-
${_emotion.datePickerTokens.calendarOutlineFocusColor}:
|
|
87
|
-
${_emotion.datePickerTokens.calendarContentPrimaryColor}:
|
|
88
|
-
${_emotion.datePickerTokens.calendarContentSecondaryColor}:
|
|
89
|
-
${_emotion.datePickerTokens.calendarContentPrimaryDisabledColor}:
|
|
90
|
-
${_emotion.datePickerTokens.calendarContentSecondaryDisabledColor}:
|
|
91
|
-
${_emotion.datePickerTokens.calendarHeaderArrowColor}:
|
|
92
|
-
${_emotion.datePickerTokens.calendarBorderColor}:
|
|
93
|
-
${_emotion.datePickerTokens.calendarDayOfWeekColor}:
|
|
80
|
+
${_emotion.datePickerTokens.calendarCurrentItemColorHover}: ${_sdds_cs.textPrimary};
|
|
81
|
+
${_emotion.datePickerTokens.calendarCurrentItemChildBackgroundHover}: ${_sdds_cs.surfaceTransparentAccent};
|
|
82
|
+
${_emotion.datePickerTokens.calendarActiveItemBackground}: ${_sdds_cs.surfaceAccent};
|
|
83
|
+
${_emotion.datePickerTokens.calendarActiveItemColor}: ${_sdds_cs.inverseTextPrimary};
|
|
84
|
+
${_emotion.datePickerTokens.calendarHoveredItemBackground}: ${_sdds_cs.surfaceAccent};
|
|
85
|
+
${_emotion.datePickerTokens.calendarHoveredItemColor}: ${_sdds_cs.textPrimary};
|
|
86
|
+
${_emotion.datePickerTokens.calendarRangeBackground}: ${_sdds_cs.surfaceTransparentAccent};
|
|
87
|
+
${_emotion.datePickerTokens.calendarOutlineFocusColor}: ${_sdds_cs.surfaceAccent};
|
|
88
|
+
${_emotion.datePickerTokens.calendarContentPrimaryColor}: ${_sdds_cs.textPrimary};
|
|
89
|
+
${_emotion.datePickerTokens.calendarContentSecondaryColor}: ${_sdds_cs.textSecondary};
|
|
90
|
+
${_emotion.datePickerTokens.calendarContentPrimaryDisabledColor}: ${_sdds_cs.textSecondary};
|
|
91
|
+
${_emotion.datePickerTokens.calendarContentSecondaryDisabledColor}: ${_sdds_cs.textSecondary};
|
|
92
|
+
${_emotion.datePickerTokens.calendarHeaderArrowColor}: ${_sdds_cs.textAccent};
|
|
93
|
+
${_emotion.datePickerTokens.calendarBorderColor}: ${_sdds_cs.outlineSolidPrimary};
|
|
94
|
+
${_emotion.datePickerTokens.calendarDayOfWeekColor}: ${_sdds_cs.textSecondary};
|
|
94
95
|
${_emotion.datePickerTokens.calendarDisabledOpacity}: 0.4;
|
|
95
96
|
|
|
96
|
-
${_emotion.datePickerTokens.iconButtonColor}:
|
|
97
|
-
${_emotion.datePickerTokens.iconButtonBackgroundColor}:
|
|
98
|
-
${_emotion.datePickerTokens.iconButtonColorHover}:
|
|
99
|
-
${_emotion.datePickerTokens.iconButtonBackgroundColorHover}:
|
|
100
|
-
${_emotion.datePickerTokens.iconButtonColorActive}:
|
|
101
|
-
${_emotion.datePickerTokens.iconButtonBackgroundColorActive}:
|
|
102
|
-
${_emotion.datePickerTokens.iconButtonFocusColor}:
|
|
97
|
+
${_emotion.datePickerTokens.iconButtonColor}: ${_sdds_cs.textAccent};
|
|
98
|
+
${_emotion.datePickerTokens.iconButtonBackgroundColor}: ${_sdds_cs.surfaceClear};
|
|
99
|
+
${_emotion.datePickerTokens.iconButtonColorHover}: ${_sdds_cs.textPrimaryHover};
|
|
100
|
+
${_emotion.datePickerTokens.iconButtonBackgroundColorHover}: ${_sdds_cs.surfaceClear};
|
|
101
|
+
${_emotion.datePickerTokens.iconButtonColorActive}: ${_sdds_cs.textPrimaryHover};
|
|
102
|
+
${_emotion.datePickerTokens.iconButtonBackgroundColorActive}: ${_sdds_cs.surfaceClear};
|
|
103
|
+
${_emotion.datePickerTokens.iconButtonFocusColor}: ${_sdds_cs.surfaceAccent};
|
|
103
104
|
|
|
104
|
-
${_emotion.datePickerTokens.textFieldContentRightSlotColor}:
|
|
105
|
-
${_emotion.datePickerTokens.textFieldContentRightSlotColorHover}:
|
|
105
|
+
${_emotion.datePickerTokens.textFieldContentRightSlotColor}: ${_sdds_cs.textAccent};
|
|
106
|
+
${_emotion.datePickerTokens.textFieldContentRightSlotColorHover}: ${_sdds_cs.textAccentMinor};
|
|
106
107
|
|
|
107
|
-
${_emotion.datePickerTokens.shortcutColor}:
|
|
108
|
+
${_emotion.datePickerTokens.shortcutColor}: ${_sdds_cs.textPrimary};
|
|
108
109
|
${_emotion.datePickerTokens.shortcutBackgroundHover}: var(--surface-transparent-secondary);
|
|
109
110
|
`
|
|
110
111
|
},
|
|
@@ -115,12 +116,12 @@ const config = {
|
|
|
115
116
|
${_emotion.datePickerTokens.borderWidth}: 0.125rem;
|
|
116
117
|
|
|
117
118
|
${_emotion.datePickerTokens.dividerPadding}: 0 0.375rem;
|
|
118
|
-
${_emotion.datePickerTokens.dividerFontFamily}:
|
|
119
|
-
${_emotion.datePickerTokens.dividerFontStyle}:
|
|
120
|
-
${_emotion.datePickerTokens.dividerFontSize}:
|
|
121
|
-
${_emotion.datePickerTokens.dividerFontWeight}:
|
|
122
|
-
${_emotion.datePickerTokens.dividerLetterSpacing}:
|
|
123
|
-
${_emotion.datePickerTokens.dividerLineHeight}:
|
|
119
|
+
${_emotion.datePickerTokens.dividerFontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
120
|
+
${_emotion.datePickerTokens.dividerFontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
121
|
+
${_emotion.datePickerTokens.dividerFontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
122
|
+
${_emotion.datePickerTokens.dividerFontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
123
|
+
${_emotion.datePickerTokens.dividerLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
124
|
+
${_emotion.datePickerTokens.dividerLineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
124
125
|
|
|
125
126
|
${_emotion.datePickerTokens.leftContentMargin}: 0 0 0 0.75rem;
|
|
126
127
|
${_emotion.datePickerTokens.rightContentMargin}: 0;
|
|
@@ -130,12 +131,12 @@ const config = {
|
|
|
130
131
|
${_emotion.datePickerTokens.contentLabelInnerPadding}: 1.0625rem 0 0.3125rem 0;
|
|
131
132
|
|
|
132
133
|
${_emotion.datePickerTokens.labelWrapperOffset}: 0.5rem;
|
|
133
|
-
${_emotion.datePickerTokens.labelFontFamily}:
|
|
134
|
-
${_emotion.datePickerTokens.labelFontStyle}:
|
|
135
|
-
${_emotion.datePickerTokens.labelFontSize}:
|
|
136
|
-
${_emotion.datePickerTokens.labelFontWeight}:
|
|
137
|
-
${_emotion.datePickerTokens.labelLetterSpacing}:
|
|
138
|
-
${_emotion.datePickerTokens.labelLineHeight}:
|
|
134
|
+
${_emotion.datePickerTokens.labelFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
135
|
+
${_emotion.datePickerTokens.labelFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
136
|
+
${_emotion.datePickerTokens.labelFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
137
|
+
${_emotion.datePickerTokens.labelFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
138
|
+
${_emotion.datePickerTokens.labelLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
139
|
+
${_emotion.datePickerTokens.labelLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
139
140
|
|
|
140
141
|
${_emotion.datePickerTokens.embedIconButtonHeight}: 2.5rem;
|
|
141
142
|
${_emotion.datePickerTokens.embedIconButtonWidth}: 2.5rem;
|
|
@@ -160,20 +161,20 @@ const config = {
|
|
|
160
161
|
${_emotion.datePickerTokens.textFieldBorderRadius}: 0.625rem;
|
|
161
162
|
${_emotion.datePickerTokens.textFieldBorderWidth}: 0.125rem;
|
|
162
163
|
${_emotion.datePickerTokens.textFieldPadding}: 0.6875rem 0.75rem 0.6875rem 0.75rem;
|
|
163
|
-
${_emotion.datePickerTokens.textFieldFontFamily}:
|
|
164
|
-
${_emotion.datePickerTokens.textFieldFontStyle}:
|
|
165
|
-
${_emotion.datePickerTokens.textFieldFontSize}:
|
|
166
|
-
${_emotion.datePickerTokens.textFieldFontWeight}:
|
|
167
|
-
${_emotion.datePickerTokens.textFieldLetterSpacing}:
|
|
168
|
-
${_emotion.datePickerTokens.textFieldLineHeight}:
|
|
164
|
+
${_emotion.datePickerTokens.textFieldFontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
165
|
+
${_emotion.datePickerTokens.textFieldFontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
166
|
+
${_emotion.datePickerTokens.textFieldFontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
167
|
+
${_emotion.datePickerTokens.textFieldFontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
168
|
+
${_emotion.datePickerTokens.textFieldLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
169
|
+
${_emotion.datePickerTokens.textFieldLineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
169
170
|
|
|
170
171
|
${_emotion.datePickerTokens.leftHelperOffset}: 0.25rem 0 0 0;
|
|
171
|
-
${_emotion.datePickerTokens.leftHelperFontFamily}:
|
|
172
|
-
${_emotion.datePickerTokens.leftHelperFontStyle}:
|
|
173
|
-
${_emotion.datePickerTokens.leftHelperFontSize}:
|
|
174
|
-
${_emotion.datePickerTokens.leftHelperFontWeight}:
|
|
175
|
-
${_emotion.datePickerTokens.leftHelperLetterSpacing}:
|
|
176
|
-
${_emotion.datePickerTokens.leftHelperLineHeight}:
|
|
172
|
+
${_emotion.datePickerTokens.leftHelperFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
173
|
+
${_emotion.datePickerTokens.leftHelperFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
174
|
+
${_emotion.datePickerTokens.leftHelperFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
175
|
+
${_emotion.datePickerTokens.leftHelperFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
176
|
+
${_emotion.datePickerTokens.leftHelperLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
177
|
+
${_emotion.datePickerTokens.leftHelperLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
177
178
|
|
|
178
179
|
${_emotion.datePickerTokens.textFieldLeftContentMargin}: -0.1875rem 0.25rem -0.1875rem -0.125rem;
|
|
179
180
|
${_emotion.datePickerTokens.textFieldRightContentMargin}: -0.1875rem -0.125rem -0.1875rem 0.75rem;
|
|
@@ -192,46 +193,46 @@ const config = {
|
|
|
192
193
|
${_emotion.datePickerTokens.calendarYearsPadding}: 0.5rem 0 0 0;
|
|
193
194
|
${_emotion.datePickerTokens.calendarYearItemBorderRadius}: 0.5rem;
|
|
194
195
|
|
|
195
|
-
${_emotion.datePickerTokens.calendarYearFontFamily}:
|
|
196
|
-
${_emotion.datePickerTokens.calendarYearFontSize}:
|
|
197
|
-
${_emotion.datePickerTokens.calendarYearFontStyle}:
|
|
198
|
-
${_emotion.datePickerTokens.calendarYearFontLetterSpacing}:
|
|
199
|
-
${_emotion.datePickerTokens.calendarYearFontLineHeight}:
|
|
200
|
-
${_emotion.datePickerTokens.calendarYearFontWeight}:
|
|
201
|
-
${_emotion.datePickerTokens.calendarYearSelectedFontWeight}:
|
|
196
|
+
${_emotion.datePickerTokens.calendarYearFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
197
|
+
${_emotion.datePickerTokens.calendarYearFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
198
|
+
${_emotion.datePickerTokens.calendarYearFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
199
|
+
${_emotion.datePickerTokens.calendarYearFontLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
200
|
+
${_emotion.datePickerTokens.calendarYearFontLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
201
|
+
${_emotion.datePickerTokens.calendarYearFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
202
|
+
${_emotion.datePickerTokens.calendarYearSelectedFontWeight}: ${_sdds_cs.bodySBold.fontWeight};
|
|
202
203
|
|
|
203
204
|
${_emotion.datePickerTokens.calendarQuartersPadding}: 0.5rem 0 0 0;
|
|
204
205
|
${_emotion.datePickerTokens.calendarQuarterItemBorderRadius}: 0.5rem;
|
|
205
206
|
|
|
206
|
-
${_emotion.datePickerTokens.calendarQuarterFontFamily}:
|
|
207
|
-
${_emotion.datePickerTokens.calendarQuarterFontSize}:
|
|
208
|
-
${_emotion.datePickerTokens.calendarQuarterFontStyle}:
|
|
209
|
-
${_emotion.datePickerTokens.calendarQuarterFontLetterSpacing}:
|
|
210
|
-
${_emotion.datePickerTokens.calendarQuarterFontLineHeight}:
|
|
211
|
-
${_emotion.datePickerTokens.calendarQuarterFontWeight}:
|
|
212
|
-
${_emotion.datePickerTokens.calendarQuarterSelectedFontWeight}:
|
|
207
|
+
${_emotion.datePickerTokens.calendarQuarterFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
208
|
+
${_emotion.datePickerTokens.calendarQuarterFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
209
|
+
${_emotion.datePickerTokens.calendarQuarterFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
210
|
+
${_emotion.datePickerTokens.calendarQuarterFontLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
211
|
+
${_emotion.datePickerTokens.calendarQuarterFontLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
212
|
+
${_emotion.datePickerTokens.calendarQuarterFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
213
|
+
${_emotion.datePickerTokens.calendarQuarterSelectedFontWeight}: ${_sdds_cs.bodySBold.fontWeight};
|
|
213
214
|
|
|
214
215
|
${_emotion.datePickerTokens.calendarMonthsPadding}: 0.5rem 0 0 0;
|
|
215
216
|
${_emotion.datePickerTokens.calendarMonthItemBorderRadius}: 0.5rem;
|
|
216
217
|
|
|
217
|
-
${_emotion.datePickerTokens.calendarMonthFontFamily}:
|
|
218
|
-
${_emotion.datePickerTokens.calendarMonthFontSize}:
|
|
219
|
-
${_emotion.datePickerTokens.calendarMonthFontStyle}:
|
|
220
|
-
${_emotion.datePickerTokens.calendarMonthFontLetterSpacing}:
|
|
221
|
-
${_emotion.datePickerTokens.calendarMonthFontLineHeight}:
|
|
222
|
-
${_emotion.datePickerTokens.calendarMonthFontWeight}:
|
|
223
|
-
${_emotion.datePickerTokens.calendarMonthSelectedFontWeight}:
|
|
218
|
+
${_emotion.datePickerTokens.calendarMonthFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
219
|
+
${_emotion.datePickerTokens.calendarMonthFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
220
|
+
${_emotion.datePickerTokens.calendarMonthFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
221
|
+
${_emotion.datePickerTokens.calendarMonthFontLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
222
|
+
${_emotion.datePickerTokens.calendarMonthFontLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
223
|
+
${_emotion.datePickerTokens.calendarMonthFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
224
|
+
${_emotion.datePickerTokens.calendarMonthSelectedFontWeight}: ${_sdds_cs.bodySBold.fontWeight};
|
|
224
225
|
|
|
225
226
|
${_emotion.datePickerTokens.calendarDaysPadding}: 0.5rem 0 0 0;
|
|
226
227
|
${_emotion.datePickerTokens.calendarDayItemBorderRadius}: 0.5rem;
|
|
227
228
|
|
|
228
|
-
${_emotion.datePickerTokens.calendarDayFontFamily}:
|
|
229
|
-
${_emotion.datePickerTokens.calendarDayFontSize}:
|
|
230
|
-
${_emotion.datePickerTokens.calendarDayFontStyle}:
|
|
231
|
-
${_emotion.datePickerTokens.calendarDayFontLetterSpacing}:
|
|
232
|
-
${_emotion.datePickerTokens.calendarDayFontLineHeight}:
|
|
233
|
-
${_emotion.datePickerTokens.calendarDayFontWeight}:
|
|
234
|
-
${_emotion.datePickerTokens.calendarDaySelectedFontWeight}:
|
|
229
|
+
${_emotion.datePickerTokens.calendarDayFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
230
|
+
${_emotion.datePickerTokens.calendarDayFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
231
|
+
${_emotion.datePickerTokens.calendarDayFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
232
|
+
${_emotion.datePickerTokens.calendarDayFontLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
233
|
+
${_emotion.datePickerTokens.calendarDayFontLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
234
|
+
${_emotion.datePickerTokens.calendarDayFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
235
|
+
${_emotion.datePickerTokens.calendarDaySelectedFontWeight}: ${_sdds_cs.bodySBold.fontWeight};
|
|
235
236
|
|
|
236
237
|
${_emotion.datePickerTokens.calendarCurrentItemBorderWidth}: 0.125rem;
|
|
237
238
|
|
|
@@ -242,25 +243,25 @@ const config = {
|
|
|
242
243
|
${_emotion.datePickerTokens.calendarHeaderPadding}: 0 0 0 0.5rem;
|
|
243
244
|
${_emotion.datePickerTokens.calendarHeaderDateGap}: 0.25rem;
|
|
244
245
|
|
|
245
|
-
${_emotion.datePickerTokens.calendarHeaderFontFamily}:
|
|
246
|
-
${_emotion.datePickerTokens.calendarHeaderFontSize}:
|
|
247
|
-
${_emotion.datePickerTokens.calendarHeaderFontStyle}:
|
|
248
|
-
${_emotion.datePickerTokens.calendarHeaderFontLetterSpacing}:
|
|
249
|
-
${_emotion.datePickerTokens.calendarHeaderFontLineHeight}:
|
|
250
|
-
${_emotion.datePickerTokens.calendarHeaderFontWeight}:
|
|
251
|
-
${_emotion.datePickerTokens.calendarHeaderFontWeightBold}:
|
|
246
|
+
${_emotion.datePickerTokens.calendarHeaderFontFamily}: ${_sdds_cs.bodyMBold.fontFamily};
|
|
247
|
+
${_emotion.datePickerTokens.calendarHeaderFontSize}: ${_sdds_cs.bodyMBold.fontSize};
|
|
248
|
+
${_emotion.datePickerTokens.calendarHeaderFontStyle}: ${_sdds_cs.bodyMBold.fontStyle};
|
|
249
|
+
${_emotion.datePickerTokens.calendarHeaderFontLetterSpacing}: ${_sdds_cs.bodyMBold.letterSpacing};
|
|
250
|
+
${_emotion.datePickerTokens.calendarHeaderFontLineHeight}: ${_sdds_cs.bodyMBold.lineHeight};
|
|
251
|
+
${_emotion.datePickerTokens.calendarHeaderFontWeight}: ${_sdds_cs.bodyMBold.fontWeight};
|
|
252
|
+
${_emotion.datePickerTokens.calendarHeaderFontWeightBold}: ${_sdds_cs.bodyMBold.fontWeight};
|
|
252
253
|
|
|
253
254
|
${_emotion.datePickerTokens.iconButtonHeight}: 2rem;
|
|
254
255
|
${_emotion.datePickerTokens.iconButtonWidth}: 2rem;
|
|
255
256
|
${_emotion.datePickerTokens.iconButtonPadding}: 0.75rem;
|
|
256
257
|
${_emotion.datePickerTokens.iconButtonRadius}: 0.5rem;
|
|
257
258
|
|
|
258
|
-
${_emotion.datePickerTokens.shortcutFontFamily}:
|
|
259
|
-
${_emotion.datePickerTokens.shortcutFontStyle}:
|
|
260
|
-
${_emotion.datePickerTokens.shortcutFontSize}:
|
|
261
|
-
${_emotion.datePickerTokens.shortcutFontWeight}:
|
|
262
|
-
${_emotion.datePickerTokens.shortcutLetterSpacing}:
|
|
263
|
-
${_emotion.datePickerTokens.shortcutLineHeight}:
|
|
259
|
+
${_emotion.datePickerTokens.shortcutFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
260
|
+
${_emotion.datePickerTokens.shortcutFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
261
|
+
${_emotion.datePickerTokens.shortcutFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
262
|
+
${_emotion.datePickerTokens.shortcutFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
263
|
+
${_emotion.datePickerTokens.shortcutLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
264
|
+
${_emotion.datePickerTokens.shortcutLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
264
265
|
|
|
265
266
|
${_emotion.datePickerTokens.shortcutPadding}: 0.688rem 0.5rem;
|
|
266
267
|
${_emotion.datePickerTokens.shortcutGap}: 0.375rem;
|
|
@@ -269,36 +270,36 @@ const config = {
|
|
|
269
270
|
},
|
|
270
271
|
disabled: {
|
|
271
272
|
true: (0, _emotion.css)`
|
|
272
|
-
${_emotion.datePickerTokens.background}:
|
|
273
|
-
${_emotion.datePickerTokens.borderColor}:
|
|
274
|
-
${_emotion.datePickerTokens.borderColorHover}:
|
|
275
|
-
${_emotion.datePickerTokens.borderColorFocus}:
|
|
276
|
-
${_emotion.datePickerTokens.borderColorSuccess}:
|
|
277
|
-
${_emotion.datePickerTokens.textFieldBorderColorFocus}:
|
|
278
|
-
${_emotion.datePickerTokens.textFieldColor}:
|
|
279
|
-
${_emotion.datePickerTokens.textFieldPlaceholderColor}:
|
|
280
|
-
${_emotion.datePickerTokens.textFieldColor}:
|
|
281
|
-
${_emotion.datePickerTokens.textFieldPlaceholderColor}:
|
|
282
|
-
${_emotion.datePickerTokens.textFieldCaretColor}:
|
|
283
|
-
${_emotion.datePickerTokens.textFieldBackgroundColor}:
|
|
284
|
-
${_emotion.datePickerTokens.labelColor}:
|
|
273
|
+
${_emotion.datePickerTokens.background}: ${_sdds_cs.surfaceSolidPrimary};
|
|
274
|
+
${_emotion.datePickerTokens.borderColor}: ${_sdds_cs.surfaceSolidPrimary};
|
|
275
|
+
${_emotion.datePickerTokens.borderColorHover}: ${_sdds_cs.surfaceSolidPrimary};
|
|
276
|
+
${_emotion.datePickerTokens.borderColorFocus}: ${_sdds_cs.surfaceSolidPrimary};
|
|
277
|
+
${_emotion.datePickerTokens.borderColorSuccess}: ${_sdds_cs.surfaceSolidPrimary};
|
|
278
|
+
${_emotion.datePickerTokens.textFieldBorderColorFocus}: ${_sdds_cs.surfaceSolidPrimary};
|
|
279
|
+
${_emotion.datePickerTokens.textFieldColor}: ${_sdds_cs.textSecondary};
|
|
280
|
+
${_emotion.datePickerTokens.textFieldPlaceholderColor}: ${_sdds_cs.textSecondary};
|
|
281
|
+
${_emotion.datePickerTokens.textFieldColor}: ${_sdds_cs.textSecondary};
|
|
282
|
+
${_emotion.datePickerTokens.textFieldPlaceholderColor}: ${_sdds_cs.textSecondary};
|
|
283
|
+
${_emotion.datePickerTokens.textFieldCaretColor}: ${_sdds_cs.textSecondary};
|
|
284
|
+
${_emotion.datePickerTokens.textFieldBackgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
|
|
285
|
+
${_emotion.datePickerTokens.labelColor}: ${_sdds_cs.textSecondary};
|
|
285
286
|
`
|
|
286
287
|
},
|
|
287
288
|
readOnly: {
|
|
288
289
|
true: (0, _emotion.css)`
|
|
289
|
-
${_emotion.datePickerTokens.backgroundReadOnly}:
|
|
290
|
-
${_emotion.datePickerTokens.borderColorReadOnly}:
|
|
290
|
+
${_emotion.datePickerTokens.backgroundReadOnly}: ${_sdds_cs.surfaceClear};
|
|
291
|
+
${_emotion.datePickerTokens.borderColorReadOnly}: ${_sdds_cs.outlineSolidPrimary};
|
|
291
292
|
|
|
292
|
-
${_emotion.datePickerTokens.labelColor}:
|
|
293
|
-
${_emotion.datePickerTokens.labelColorReadOnly}:
|
|
294
|
-
${_emotion.datePickerTokens.leftHelperColorReadOnly}:
|
|
293
|
+
${_emotion.datePickerTokens.labelColor}: ${_sdds_cs.textPrimary};
|
|
294
|
+
${_emotion.datePickerTokens.labelColorReadOnly}: ${_sdds_cs.textPrimary};
|
|
295
|
+
${_emotion.datePickerTokens.leftHelperColorReadOnly}: ${_sdds_cs.textSecondary};
|
|
295
296
|
|
|
296
|
-
${_emotion.datePickerTokens.dividerColorReadOnly}:
|
|
297
|
+
${_emotion.datePickerTokens.dividerColorReadOnly}: ${_sdds_cs.textSecondary};
|
|
297
298
|
${_emotion.datePickerTokens.dividerOpacityReadOnly}: 0.4;
|
|
298
299
|
|
|
299
|
-
${_emotion.datePickerTokens.textFieldColorReadOnly}:
|
|
300
|
-
${_emotion.datePickerTokens.textFieldBackgroundColorReadOnly}:
|
|
301
|
-
${_emotion.datePickerTokens.textFieldPlaceholderColorReadOnly}:
|
|
300
|
+
${_emotion.datePickerTokens.textFieldColorReadOnly}: ${_sdds_cs.textPrimary};
|
|
301
|
+
${_emotion.datePickerTokens.textFieldBackgroundColorReadOnly}: ${_sdds_cs.surfaceClear};
|
|
302
|
+
${_emotion.datePickerTokens.textFieldPlaceholderColorReadOnly}: ${_sdds_cs.textSecondary};
|
|
302
303
|
${_emotion.datePickerTokens.borderColor}: transparent;
|
|
303
304
|
${_emotion.datePickerTokens.borderWidth}: 0;
|
|
304
305
|
`
|
|
@@ -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,17 +19,17 @@ const config = {
|
|
|
18
19
|
variations: {
|
|
19
20
|
view: {
|
|
20
21
|
default: (0, _emotion.css)`
|
|
21
|
-
${_emotion.dividerTokens.background}:
|
|
22
|
+
${_emotion.dividerTokens.background}: ${_sdds_cs.surfaceSolidTertiary};
|
|
22
23
|
`,
|
|
23
24
|
dark: (0, _emotion.css)`
|
|
24
|
-
${_emotion.dividerTokens.background}:
|
|
25
|
+
${_emotion.dividerTokens.background}: ${_sdds_cs.onDarkSurfaceSolidDefault};
|
|
25
26
|
`,
|
|
26
27
|
light: (0, _emotion.css)`
|
|
27
|
-
${_emotion.dividerTokens.background}:
|
|
28
|
+
${_emotion.dividerTokens.background}: ${_sdds_cs.onLightSurfaceSolidDefault};
|
|
28
29
|
`,
|
|
29
30
|
// TODO поменять на корректный токен --inverse-surface-transparent-tertiary когда он появится
|
|
30
31
|
inverse: (0, _emotion.css)`
|
|
31
|
-
${_emotion.dividerTokens.background}:
|
|
32
|
+
${_emotion.dividerTokens.background}: ${_sdds_cs.inverseSurfaceSolidDefault};
|
|
32
33
|
`
|
|
33
34
|
},
|
|
34
35
|
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,12 +18,12 @@ const config = {
|
|
|
17
18
|
variations: {
|
|
18
19
|
view: {
|
|
19
20
|
default: (0, _emotion.css)`
|
|
20
|
-
${_emotion.drawerTokens.background}:
|
|
21
|
+
${_emotion.drawerTokens.background}: ${_sdds_cs.surfaceSolidCard};
|
|
21
22
|
${_emotion.drawerTokens.shadow}: 0 3.75rem 7rem -0.5rem rgba(0, 0, 0, 0.08);
|
|
22
23
|
${_emotion.drawerTokens.contentBackgroundColor}: var(--surface-transparent-primary);
|
|
23
24
|
${_emotion.drawerTokens.drawerOverlayWithBlurColor}: var(--overlay-blur);
|
|
24
25
|
${_emotion.drawerTokens.drawerOverlayColor}: var(--overlay-soft);
|
|
25
|
-
${_emotion.drawerTokens.closeIconColor}:
|
|
26
|
+
${_emotion.drawerTokens.closeIconColor}: ${_sdds_cs.textAccent};
|
|
26
27
|
`
|
|
27
28
|
},
|
|
28
29
|
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: {
|
|
@@ -36,12 +37,12 @@ const config = {
|
|
|
36
37
|
${_emotion.dropdownTokens.dividerMarginTopTight}: 0.25rem;
|
|
37
38
|
${_emotion.dropdownTokens.dividerMarginBottomTight}: 0.25rem;
|
|
38
39
|
|
|
39
|
-
${_emotion.dropdownTokens.itemFontFamily}:
|
|
40
|
-
${_emotion.dropdownTokens.itemFontSize}:
|
|
41
|
-
${_emotion.dropdownTokens.itemFontStyle}:
|
|
42
|
-
${_emotion.dropdownTokens.itemFontWeightBold}:
|
|
43
|
-
${_emotion.dropdownTokens.itemFontLetterSpacing}:
|
|
44
|
-
${_emotion.dropdownTokens.itemFontLineHeight}:
|
|
40
|
+
${_emotion.dropdownTokens.itemFontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
41
|
+
${_emotion.dropdownTokens.itemFontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
42
|
+
${_emotion.dropdownTokens.itemFontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
43
|
+
${_emotion.dropdownTokens.itemFontWeightBold}: ${_sdds_cs.bodyM.fontWeight};
|
|
44
|
+
${_emotion.dropdownTokens.itemFontLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
45
|
+
${_emotion.dropdownTokens.itemFontLineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
45
46
|
|
|
46
47
|
${_emotion.dropdownTokens.cellPadding}: 0rem;
|
|
47
48
|
${_emotion.dropdownTokens.cellPaddingLeftContent}: 0rem;
|
|
@@ -49,27 +50,27 @@ const config = {
|
|
|
49
50
|
${_emotion.dropdownTokens.cellPaddingRightContent}: 0rem;
|
|
50
51
|
${_emotion.dropdownTokens.cellTextboxGap}: 0.125rem;
|
|
51
52
|
${_emotion.dropdownTokens.cellGap}: 0.375rem;
|
|
52
|
-
${_emotion.dropdownTokens.cellTitleFontFamily}:
|
|
53
|
-
${_emotion.dropdownTokens.cellTitleFontSize}:
|
|
54
|
-
${_emotion.dropdownTokens.cellTitleFontStyle}:
|
|
55
|
-
${_emotion.dropdownTokens.cellTitleFontWeight}:
|
|
56
|
-
${_emotion.dropdownTokens.cellTitleLetterSpacing}:
|
|
57
|
-
${_emotion.dropdownTokens.cellTitleLineHeight}:
|
|
53
|
+
${_emotion.dropdownTokens.cellTitleFontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
54
|
+
${_emotion.dropdownTokens.cellTitleFontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
55
|
+
${_emotion.dropdownTokens.cellTitleFontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
56
|
+
${_emotion.dropdownTokens.cellTitleFontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
57
|
+
${_emotion.dropdownTokens.cellTitleLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
58
|
+
${_emotion.dropdownTokens.cellTitleLineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
58
59
|
`
|
|
59
60
|
},
|
|
60
61
|
view: {
|
|
61
62
|
default: (0, _emotion.css)`
|
|
62
63
|
${_emotion.dropdownTokens.dividerColor}: var(--surface-transparent-tertiary);
|
|
63
64
|
${_emotion.dropdownTokens.disabledOpacity}: 0.4;
|
|
64
|
-
${_emotion.dropdownTokens.borderColor}:
|
|
65
|
-
${_emotion.dropdownTokens.focusColor}:
|
|
66
|
-
${_emotion.dropdownTokens.background}:
|
|
65
|
+
${_emotion.dropdownTokens.borderColor}: ${_sdds_cs.outlineSolidPrimary};
|
|
66
|
+
${_emotion.dropdownTokens.focusColor}: ${_sdds_cs.surfaceAccent};
|
|
67
|
+
${_emotion.dropdownTokens.background}: ${_sdds_cs.surfaceSolidCardBrightness};
|
|
67
68
|
${_emotion.dropdownTokens.boxShadow}: 0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04);
|
|
68
|
-
${_emotion.dropdownTokens.itemBackground}:
|
|
69
|
-
${_emotion.dropdownTokens.itemBackgroundHover}:
|
|
70
|
-
${_emotion.dropdownTokens.itemColor}:
|
|
71
|
-
${_emotion.dropdownTokens.dividerColor}:
|
|
72
|
-
${_emotion.dropdownTokens.disclosureIconColor}:
|
|
69
|
+
${_emotion.dropdownTokens.itemBackground}: ${_sdds_cs.surfaceClear};
|
|
70
|
+
${_emotion.dropdownTokens.itemBackgroundHover}: ${_sdds_cs.surfaceTransparentAccent};
|
|
71
|
+
${_emotion.dropdownTokens.itemColor}: ${_sdds_cs.textPrimary};
|
|
72
|
+
${_emotion.dropdownTokens.dividerColor}: ${_sdds_cs.surfaceSolidPrimary};
|
|
73
|
+
${_emotion.dropdownTokens.disclosureIconColor}: ${_sdds_cs.textAccent};
|
|
73
74
|
`
|
|
74
75
|
}
|
|
75
76
|
}
|