@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: {
|
|
@@ -18,36 +19,36 @@ const config = {
|
|
|
18
19
|
variations: {
|
|
19
20
|
view: {
|
|
20
21
|
accent: (0, _emotion.css)`
|
|
21
|
-
${_emotion.buttonTokens.buttonColor}:
|
|
22
|
-
${_emotion.buttonTokens.buttonTextColor}:
|
|
23
|
-
${_emotion.buttonTokens.buttonIconColor}:
|
|
24
|
-
${_emotion.buttonTokens.buttonValueColor}:
|
|
25
|
-
${_emotion.buttonTokens.buttonBackgroundColor}:
|
|
22
|
+
${_emotion.buttonTokens.buttonColor}: ${_sdds_cs.onDarkTextPrimary};
|
|
23
|
+
${_emotion.buttonTokens.buttonTextColor}: ${_sdds_cs.onDarkTextPrimary};
|
|
24
|
+
${_emotion.buttonTokens.buttonIconColor}: ${_sdds_cs.onDarkTextPrimary};
|
|
25
|
+
${_emotion.buttonTokens.buttonValueColor}: ${_sdds_cs.onLightTextAccentMinor};
|
|
26
|
+
${_emotion.buttonTokens.buttonBackgroundColor}: ${_sdds_cs.surfaceAccent};
|
|
26
27
|
${_emotion.buttonTokens.buttonLoadingBackgroundColor}: var(${_emotion.buttonTokens.buttonBackgroundColor});
|
|
27
|
-
${_emotion.buttonTokens.buttonBackgroundColorHover}:
|
|
28
|
-
${_emotion.buttonTokens.buttonBackgroundColorActive}:
|
|
28
|
+
${_emotion.buttonTokens.buttonBackgroundColorHover}: ${_sdds_cs.surfaceAccentHover};
|
|
29
|
+
${_emotion.buttonTokens.buttonBackgroundColorActive}: ${_sdds_cs.surfaceAccentActive};
|
|
29
30
|
`,
|
|
30
31
|
secondary: (0, _emotion.css)`
|
|
31
|
-
${_emotion.buttonTokens.buttonColor}:
|
|
32
|
-
${_emotion.buttonTokens.buttonColorHover}:
|
|
33
|
-
${_emotion.buttonTokens.buttonColorActive}:
|
|
34
|
-
${_emotion.buttonTokens.buttonTextColor}:
|
|
35
|
-
${_emotion.buttonTokens.buttonIconColor}:
|
|
36
|
-
${_emotion.buttonTokens.buttonValueColor}:
|
|
37
|
-
${_emotion.buttonTokens.buttonBackgroundColor}:
|
|
32
|
+
${_emotion.buttonTokens.buttonColor}: ${_sdds_cs.textAccent};
|
|
33
|
+
${_emotion.buttonTokens.buttonColorHover}: ${_sdds_cs.textAccentMinor};
|
|
34
|
+
${_emotion.buttonTokens.buttonColorActive}: ${_sdds_cs.textAccentActive};
|
|
35
|
+
${_emotion.buttonTokens.buttonTextColor}: ${_sdds_cs.textAccent};
|
|
36
|
+
${_emotion.buttonTokens.buttonIconColor}: ${_sdds_cs.textAccent};
|
|
37
|
+
${_emotion.buttonTokens.buttonValueColor}: ${_sdds_cs.textSecondary};
|
|
38
|
+
${_emotion.buttonTokens.buttonBackgroundColor}: ${_sdds_cs.surfaceSolidSecondary};
|
|
38
39
|
${_emotion.buttonTokens.buttonLoadingBackgroundColor}: var(${_emotion.buttonTokens.buttonBackgroundColor});
|
|
39
|
-
${_emotion.buttonTokens.buttonBackgroundColorHover}:
|
|
40
|
-
${_emotion.buttonTokens.buttonBackgroundColorActive}:
|
|
40
|
+
${_emotion.buttonTokens.buttonBackgroundColorHover}: ${_sdds_cs.surfaceSolidSecondaryHover};
|
|
41
|
+
${_emotion.buttonTokens.buttonBackgroundColorActive}: ${_sdds_cs.surfaceSolidSecondaryActive};
|
|
41
42
|
`,
|
|
42
43
|
clear: (0, _emotion.css)`
|
|
43
|
-
${_emotion.buttonTokens.buttonColor}:
|
|
44
|
-
${_emotion.buttonTokens.buttonTextColor}:
|
|
45
|
-
${_emotion.buttonTokens.buttonIconColor}:
|
|
46
|
-
${_emotion.buttonTokens.buttonValueColor}:
|
|
47
|
-
${_emotion.buttonTokens.buttonBackgroundColor}:
|
|
48
|
-
${_emotion.buttonTokens.buttonLoadingBackgroundColor}:
|
|
49
|
-
${_emotion.buttonTokens.buttonBackgroundColorHover}:
|
|
50
|
-
${_emotion.buttonTokens.buttonBackgroundColorActive}:
|
|
44
|
+
${_emotion.buttonTokens.buttonColor}: ${_sdds_cs.textAccent};
|
|
45
|
+
${_emotion.buttonTokens.buttonTextColor}: ${_sdds_cs.textAccent};
|
|
46
|
+
${_emotion.buttonTokens.buttonIconColor}: ${_sdds_cs.textAccent};
|
|
47
|
+
${_emotion.buttonTokens.buttonValueColor}: ${_sdds_cs.textAccentMinor};
|
|
48
|
+
${_emotion.buttonTokens.buttonBackgroundColor}: ${_sdds_cs.surfaceClear};
|
|
49
|
+
${_emotion.buttonTokens.buttonLoadingBackgroundColor}: ${_sdds_cs.surfaceTransparentAccent};
|
|
50
|
+
${_emotion.buttonTokens.buttonBackgroundColorHover}: ${_sdds_cs.surfaceTransparentAccent};
|
|
51
|
+
${_emotion.buttonTokens.buttonBackgroundColorActive}: ${_sdds_cs.surfaceTransparentAccentActive};
|
|
51
52
|
`
|
|
52
53
|
},
|
|
53
54
|
size: {
|
|
@@ -56,12 +57,12 @@ const config = {
|
|
|
56
57
|
${_emotion.buttonTokens.buttonWidth}: 11.25rem;
|
|
57
58
|
${_emotion.buttonTokens.buttonPadding}: 1rem;
|
|
58
59
|
${_emotion.buttonTokens.buttonRadius}: 0.75rem;
|
|
59
|
-
${_emotion.buttonTokens.buttonFontFamily}:
|
|
60
|
-
${_emotion.buttonTokens.buttonFontSize}:
|
|
61
|
-
${_emotion.buttonTokens.buttonFontStyle}:
|
|
62
|
-
${_emotion.buttonTokens.buttonFontWeight}:
|
|
63
|
-
${_emotion.buttonTokens.buttonLetterSpacing}:
|
|
64
|
-
${_emotion.buttonTokens.buttonLineHeight}:
|
|
60
|
+
${_emotion.buttonTokens.buttonFontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
61
|
+
${_emotion.buttonTokens.buttonFontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
62
|
+
${_emotion.buttonTokens.buttonFontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
63
|
+
${_emotion.buttonTokens.buttonFontWeight}: ${_sdds_cs.bodyMBold.fontWeight};
|
|
64
|
+
${_emotion.buttonTokens.buttonLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
65
|
+
${_emotion.buttonTokens.buttonLineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
65
66
|
|
|
66
67
|
${_emotion.buttonTokens.buttonSpinnerSize}: 1.375rem;
|
|
67
68
|
${_emotion.buttonTokens.buttonSpinnerColor}: inherit;
|
|
@@ -75,12 +76,12 @@ const config = {
|
|
|
75
76
|
${_emotion.buttonTokens.buttonWidth}: 11.25rem;
|
|
76
77
|
${_emotion.buttonTokens.buttonPadding}: 1rem;
|
|
77
78
|
${_emotion.buttonTokens.buttonRadius}: 0.75rem;
|
|
78
|
-
${_emotion.buttonTokens.buttonFontFamily}:
|
|
79
|
-
${_emotion.buttonTokens.buttonFontSize}:
|
|
80
|
-
${_emotion.buttonTokens.buttonFontStyle}:
|
|
81
|
-
${_emotion.buttonTokens.buttonFontWeight}:
|
|
82
|
-
${_emotion.buttonTokens.buttonLetterSpacing}:
|
|
83
|
-
${_emotion.buttonTokens.buttonLineHeight}:
|
|
79
|
+
${_emotion.buttonTokens.buttonFontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
80
|
+
${_emotion.buttonTokens.buttonFontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
81
|
+
${_emotion.buttonTokens.buttonFontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
82
|
+
${_emotion.buttonTokens.buttonFontWeight}: ${_sdds_cs.bodyMBold.fontWeight};
|
|
83
|
+
${_emotion.buttonTokens.buttonLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
84
|
+
${_emotion.buttonTokens.buttonLineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
84
85
|
|
|
85
86
|
${_emotion.buttonTokens.buttonSpinnerSize}: 1.375rem;
|
|
86
87
|
${_emotion.buttonTokens.buttonSpinnerColor}: inherit;
|
|
@@ -92,12 +93,12 @@ const config = {
|
|
|
92
93
|
sr: (0, _emotion.css)`
|
|
93
94
|
${_emotion.buttonTokens.buttonHeight}: 2.5rem;
|
|
94
95
|
${_emotion.buttonTokens.buttonWidth}: 11.25rem;
|
|
95
|
-
${_emotion.buttonTokens.buttonFontFamily}:
|
|
96
|
-
${_emotion.buttonTokens.buttonFontSize}:
|
|
97
|
-
${_emotion.buttonTokens.buttonFontStyle}:
|
|
98
|
-
${_emotion.buttonTokens.buttonFontWeight}:
|
|
99
|
-
${_emotion.buttonTokens.buttonLetterSpacing}:
|
|
100
|
-
${_emotion.buttonTokens.buttonLineHeight}:
|
|
96
|
+
${_emotion.buttonTokens.buttonFontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
97
|
+
${_emotion.buttonTokens.buttonFontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
98
|
+
${_emotion.buttonTokens.buttonFontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
99
|
+
${_emotion.buttonTokens.buttonFontWeight}: ${_sdds_cs.bodyMBold.fontWeight};
|
|
100
|
+
${_emotion.buttonTokens.buttonLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
101
|
+
${_emotion.buttonTokens.buttonLineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
101
102
|
|
|
102
103
|
${_emotion.buttonTokens.buttonSpinnerSize}: 1.375rem;
|
|
103
104
|
${_emotion.buttonTokens.buttonSpinnerColor}: inherit;
|
|
@@ -111,7 +112,7 @@ const config = {
|
|
|
111
112
|
},
|
|
112
113
|
focused: {
|
|
113
114
|
true: (0, _emotion.css)`
|
|
114
|
-
${_emotion.buttonTokens.buttonFocusColor}:
|
|
115
|
+
${_emotion.buttonTokens.buttonFocusColor}: ${_sdds_cs.surfaceAccent};
|
|
115
116
|
`
|
|
116
117
|
},
|
|
117
118
|
stretching: {
|
|
@@ -61,11 +61,11 @@ function _interop_require_wildcard(obj, nodeInterop) {
|
|
|
61
61
|
}
|
|
62
62
|
const mergedConfig = (0, _emotion.mergeConfig)(_emotion.buttonConfig, _Buttonconfig.config);
|
|
63
63
|
const ButtonComponent = (0, _emotion.component)(mergedConfig);
|
|
64
|
-
// INFO: Данное поведение запрошено
|
|
64
|
+
// INFO: Данное поведение запрошено продуктом
|
|
65
65
|
const StyledButton = /*#__PURE__*/ (0, _styled.default)(ButtonComponent, {
|
|
66
|
-
target: "
|
|
66
|
+
target: "e1owdhnp0",
|
|
67
67
|
label: "StyledButton"
|
|
68
|
-
})("&&.", String(_emotion.buttonClasses.buttonLoading), "{color:var(", _emotion.buttonTokens.buttonColorActive, ",var(", _emotion.buttonTokens.buttonColor, "));background:var(", _emotion.buttonTokens.buttonBackgroundColorActive, ",var(", _emotion.buttonTokens.buttonBackgroundColor, "));pointer-events:none;}", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjL2NvbXBvbmVudHMvQnV0dG9uL0J1dHRvbi50c3giLCJzb3VyY2VzIjpbInNyYy9jb21wb25lbnRzL0J1dHRvbi9CdXR0b24udHN4Il0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyBDb21wb25lbnRQcm9wcywgdXNlQ2FsbGJhY2ssIE1vdXNlRXZlbnQsIGZvcndhcmRSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBidXR0b25Db25maWcsIGNvbXBvbmVudCwgbWVyZ2VDb25maWcsIGJ1dHRvbkNsYXNzZXMsIGJ1dHRvblRva2VucyB9IGZyb20gJ0BzYWx1dGVqcy9wbGFzbWEtbmV3LWhvcGUvZW1vdGlvbic7XG5pbXBvcnQgeyBtYWtlUG9seW1vcnBoaWMgfSBmcm9tICdAc2FsdXRlanMvcGxhc21hLW5ldy1ob3BlJztcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuaW1wb3J0IHsgY29uZmlnIH0gZnJvbSAnLi9CdXR0b24uY29uZmlnJztcblxuY29uc3QgbWVyZ2VkQ29uZmlnID0gbWVyZ2VDb25maWcoYnV0dG9uQ29uZmlnLCBjb25maWcpO1xuY29uc3QgQnV0dG9uQ29tcG9uZW50ID0gY29tcG9uZW50KG1lcmdlZENvbmZpZyk7XG5cbmV4cG9ydCB0eXBlIEJ1dHRvblByb3BzID0gQ29tcG9uZW50UHJvcHM8dHlwZW9mIEJ1dHRvbkNvbXBvbmVudD47XG5cbi8vIElORk86INCU0LDQvdC90L7QtSDQv9C+0LLQtdC00LXQvdC40LUg0LfQsNC/0YDQvtGI0LXQvdC+INC/
|
|
68
|
+
})("&&.", String(_emotion.buttonClasses.buttonLoading), "{color:var(", _emotion.buttonTokens.buttonColorActive, ",var(", _emotion.buttonTokens.buttonColor, "));background:var(", _emotion.buttonTokens.buttonBackgroundColorActive, ",var(", _emotion.buttonTokens.buttonBackgroundColor, "));pointer-events:none;}", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjL2NvbXBvbmVudHMvQnV0dG9uL0J1dHRvbi50c3giLCJzb3VyY2VzIjpbInNyYy9jb21wb25lbnRzL0J1dHRvbi9CdXR0b24udHN4Il0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyBDb21wb25lbnRQcm9wcywgdXNlQ2FsbGJhY2ssIE1vdXNlRXZlbnQsIGZvcndhcmRSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBidXR0b25Db25maWcsIGNvbXBvbmVudCwgbWVyZ2VDb25maWcsIGJ1dHRvbkNsYXNzZXMsIGJ1dHRvblRva2VucyB9IGZyb20gJ0BzYWx1dGVqcy9wbGFzbWEtbmV3LWhvcGUvZW1vdGlvbic7XG5pbXBvcnQgeyBtYWtlUG9seW1vcnBoaWMgfSBmcm9tICdAc2FsdXRlanMvcGxhc21hLW5ldy1ob3BlJztcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuaW1wb3J0IHsgY29uZmlnIH0gZnJvbSAnLi9CdXR0b24uY29uZmlnJztcblxuY29uc3QgbWVyZ2VkQ29uZmlnID0gbWVyZ2VDb25maWcoYnV0dG9uQ29uZmlnLCBjb25maWcpO1xuY29uc3QgQnV0dG9uQ29tcG9uZW50ID0gY29tcG9uZW50KG1lcmdlZENvbmZpZyk7XG5cbmV4cG9ydCB0eXBlIEJ1dHRvblByb3BzID0gQ29tcG9uZW50UHJvcHM8dHlwZW9mIEJ1dHRvbkNvbXBvbmVudD47XG5cbi8vIElORk86INCU0LDQvdC90L7QtSDQv9C+0LLQtdC00LXQvdC40LUg0LfQsNC/0YDQvtGI0LXQvdC+INC/0YDQvtC00YPQutGC0L7QvFxuY29uc3QgU3R5bGVkQnV0dG9uID0gc3R5bGVkKEJ1dHRvbkNvbXBvbmVudClgXG4gICAgJiYuJHtTdHJpbmcoYnV0dG9uQ2xhc3Nlcy5idXR0b25Mb2FkaW5nKX0ge1xuICAgICAgICBjb2xvcjogdmFyKCR7YnV0dG9uVG9rZW5zLmJ1dHRvbkNvbG9yQWN0aXZlfSwgdmFyKCR7YnV0dG9uVG9rZW5zLmJ1dHRvbkNvbG9yfSkpO1xuICAgICAgICBiYWNrZ3JvdW5kOiB2YXIoJHtidXR0b25Ub2tlbnMuYnV0dG9uQmFja2dyb3VuZENvbG9yQWN0aXZlfSwgdmFyKCR7YnV0dG9uVG9rZW5zLmJ1dHRvbkJhY2tncm91bmRDb2xvcn0pKTtcblxuICAgICAgICBwb2ludGVyLWV2ZW50czogbm9uZTtcbiAgICB9XG5gO1xuXG4vKipcbiAqINCa0L3QvtC/0LrQsC5cbiAqL1xuZXhwb3J0IGNvbnN0IEJ1dHRvbiA9IG1ha2VQb2x5bW9ycGhpYyhcbiAgICBmb3J3YXJkUmVmPE9taXQ8SFRNTEJ1dHRvbkVsZW1lbnQsICd2YWx1ZSc+LCBCdXR0b25Qcm9wcz4oKHsgb25DbGljaywgaXNMb2FkaW5nLCB2YWx1ZSwgLi4ucHJvcHMgfSwgcmVmKSA9PiB7XG4gICAgICAgIGNvbnN0IGhhbmRsZUNsaWNrID0gdXNlQ2FsbGJhY2soXG4gICAgICAgICAgICAoZXZlbnQ6IE1vdXNlRXZlbnQ8SFRNTEJ1dHRvbkVsZW1lbnQ+KSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKCFpc0xvYWRpbmcpIHtcbiAgICAgICAgICAgICAgICAgICAgb25DbGljaz8uKGV2ZW50KTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgW2lzTG9hZGluZywgb25DbGlja10sXG4gICAgICAgICk7XG5cbiAgICAgICAgLy8gQHRzLWlnbm9yZVxuICAgICAgICByZXR1cm4gPFN0eWxlZEJ1dHRvbiB2YWx1ZT17dmFsdWV9IHJlZj17cmVmfSBvbkNsaWNrPXtoYW5kbGVDbGlja30gaXNMb2FkaW5nPXtpc0xvYWRpbmd9IHsuLi5wcm9wc30gLz47XG4gICAgfSksXG4gICAgJ2J1dHRvbicsXG4pO1xuIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWFxQiJ9 */");
|
|
69
69
|
const Button = (0, _plasmanewhope.makePolymorphic)(/*#__PURE__*/ (0, _react.forwardRef)(({ onClick, isLoading, value, ...props }, ref)=>{
|
|
70
70
|
const handleClick = (0, _react.useCallback)((event)=>{
|
|
71
71
|
if (!isLoading) {
|
|
@@ -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,38 +18,38 @@ const config = {
|
|
|
17
18
|
variations: {
|
|
18
19
|
view: {
|
|
19
20
|
accent: (0, _emotion.css)`
|
|
20
|
-
${_emotion.buttonGroupTokens.buttonColor}:
|
|
21
|
-
${_emotion.buttonGroupTokens.buttonTextColor}:
|
|
22
|
-
${_emotion.buttonGroupTokens.buttonValueColor}:
|
|
23
|
-
${_emotion.buttonGroupTokens.buttonBackgroundColor}:
|
|
21
|
+
${_emotion.buttonGroupTokens.buttonColor}: ${_sdds_cs.onDarkTextPrimary};
|
|
22
|
+
${_emotion.buttonGroupTokens.buttonTextColor}: ${_sdds_cs.onDarkTextPrimary};
|
|
23
|
+
${_emotion.buttonGroupTokens.buttonValueColor}: ${_sdds_cs.onLightTextAccentMinor};
|
|
24
|
+
${_emotion.buttonGroupTokens.buttonBackgroundColor}: ${_sdds_cs.surfaceAccent};
|
|
24
25
|
${_emotion.buttonGroupTokens.buttonLoadingBackgroundColor}: var(${_emotion.buttonGroupTokens.buttonBackgroundColor});
|
|
25
|
-
${_emotion.buttonGroupTokens.buttonColorHover}:
|
|
26
|
-
${_emotion.buttonGroupTokens.buttonBackgroundColorHover}:
|
|
27
|
-
${_emotion.buttonGroupTokens.buttonColorActive}:
|
|
28
|
-
${_emotion.buttonGroupTokens.buttonBackgroundColorActive}:
|
|
26
|
+
${_emotion.buttonGroupTokens.buttonColorHover}: ${_sdds_cs.onDarkTextPrimary};
|
|
27
|
+
${_emotion.buttonGroupTokens.buttonBackgroundColorHover}: ${_sdds_cs.surfaceAccentHover};
|
|
28
|
+
${_emotion.buttonGroupTokens.buttonColorActive}: ${_sdds_cs.onDarkTextPrimary};
|
|
29
|
+
${_emotion.buttonGroupTokens.buttonBackgroundColorActive}: ${_sdds_cs.surfaceAccentActive};
|
|
29
30
|
`,
|
|
30
31
|
secondary: (0, _emotion.css)`
|
|
31
|
-
${_emotion.buttonGroupTokens.buttonColor}:
|
|
32
|
-
${_emotion.buttonGroupTokens.buttonTextColor}:
|
|
33
|
-
${_emotion.buttonGroupTokens.buttonIconColor}:
|
|
34
|
-
${_emotion.buttonGroupTokens.buttonValueColor}:
|
|
35
|
-
${_emotion.buttonGroupTokens.buttonBackgroundColor}:
|
|
32
|
+
${_emotion.buttonGroupTokens.buttonColor}: ${_sdds_cs.textAccent};
|
|
33
|
+
${_emotion.buttonGroupTokens.buttonTextColor}: ${_sdds_cs.textAccent};
|
|
34
|
+
${_emotion.buttonGroupTokens.buttonIconColor}: ${_sdds_cs.textAccent};
|
|
35
|
+
${_emotion.buttonGroupTokens.buttonValueColor}: ${_sdds_cs.textSecondary};
|
|
36
|
+
${_emotion.buttonGroupTokens.buttonBackgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
|
|
36
37
|
${_emotion.buttonGroupTokens.buttonLoadingBackgroundColor}: var(${_emotion.buttonGroupTokens.buttonBackgroundColor});
|
|
37
|
-
${_emotion.buttonGroupTokens.buttonColorHover}:
|
|
38
|
-
${_emotion.buttonGroupTokens.buttonBackgroundColorHover}:
|
|
39
|
-
${_emotion.buttonGroupTokens.buttonColorActive}:
|
|
40
|
-
${_emotion.buttonGroupTokens.buttonBackgroundColorActive}:
|
|
38
|
+
${_emotion.buttonGroupTokens.buttonColorHover}: ${_sdds_cs.textAccentMinor};
|
|
39
|
+
${_emotion.buttonGroupTokens.buttonBackgroundColorHover}: ${_sdds_cs.surfaceSolidPrimaryHover};
|
|
40
|
+
${_emotion.buttonGroupTokens.buttonColorActive}: ${_sdds_cs.textAccentActive};
|
|
41
|
+
${_emotion.buttonGroupTokens.buttonBackgroundColorActive}: ${_sdds_cs.surfaceSolidPrimaryActive};
|
|
41
42
|
`,
|
|
42
43
|
clear: (0, _emotion.css)`
|
|
43
|
-
${_emotion.buttonGroupTokens.buttonColor}:
|
|
44
|
-
${_emotion.buttonGroupTokens.buttonTextColor}:
|
|
45
|
-
${_emotion.buttonGroupTokens.buttonValueColor}:
|
|
46
|
-
${_emotion.buttonGroupTokens.buttonBackgroundColor}:
|
|
47
|
-
${_emotion.buttonGroupTokens.buttonLoadingBackgroundColor}:
|
|
48
|
-
${_emotion.buttonGroupTokens.buttonColorHover}:
|
|
49
|
-
${_emotion.buttonGroupTokens.buttonBackgroundColorHover}:
|
|
50
|
-
${_emotion.buttonGroupTokens.buttonColorActive}:
|
|
51
|
-
${_emotion.buttonGroupTokens.buttonBackgroundColorActive}:
|
|
44
|
+
${_emotion.buttonGroupTokens.buttonColor}: ${_sdds_cs.textAccent};
|
|
45
|
+
${_emotion.buttonGroupTokens.buttonTextColor}: ${_sdds_cs.textAccent};
|
|
46
|
+
${_emotion.buttonGroupTokens.buttonValueColor}: ${_sdds_cs.textAccent};
|
|
47
|
+
${_emotion.buttonGroupTokens.buttonBackgroundColor}: ${_sdds_cs.surfaceClear};
|
|
48
|
+
${_emotion.buttonGroupTokens.buttonLoadingBackgroundColor}: ${_sdds_cs.surfaceTransparentAccent};
|
|
49
|
+
${_emotion.buttonGroupTokens.buttonColorHover}: ${_sdds_cs.textAccentMinor};
|
|
50
|
+
${_emotion.buttonGroupTokens.buttonBackgroundColorHover}: ${_sdds_cs.surfaceTransparentAccent};
|
|
51
|
+
${_emotion.buttonGroupTokens.buttonColorActive}: ${_sdds_cs.textAccentActive};
|
|
52
|
+
${_emotion.buttonGroupTokens.buttonBackgroundColorActive}: ${_sdds_cs.surfaceClear};
|
|
52
53
|
`
|
|
53
54
|
},
|
|
54
55
|
size: {
|
|
@@ -59,12 +60,12 @@ const config = {
|
|
|
59
60
|
|
|
60
61
|
${_emotion.buttonGroupTokens.buttonHeight}: 2.5rem;
|
|
61
62
|
${_emotion.buttonGroupTokens.buttonPadding}: 1rem;
|
|
62
|
-
${_emotion.buttonGroupTokens.buttonFontFamily}:
|
|
63
|
-
${_emotion.buttonGroupTokens.buttonFontSize}:
|
|
64
|
-
${_emotion.buttonGroupTokens.buttonFontStyle}:
|
|
65
|
-
${_emotion.buttonGroupTokens.buttonFontWeight}:
|
|
66
|
-
${_emotion.buttonGroupTokens.buttonLetterSpacing}:
|
|
67
|
-
${_emotion.buttonGroupTokens.buttonLineHeight}:
|
|
63
|
+
${_emotion.buttonGroupTokens.buttonFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
64
|
+
${_emotion.buttonGroupTokens.buttonFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
65
|
+
${_emotion.buttonGroupTokens.buttonFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
66
|
+
${_emotion.buttonGroupTokens.buttonFontWeight}: ${_sdds_cs.bodySBold.fontWeight};
|
|
67
|
+
${_emotion.buttonGroupTokens.buttonLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
68
|
+
${_emotion.buttonGroupTokens.buttonLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
68
69
|
`,
|
|
69
70
|
sr: (0, _emotion.css)`
|
|
70
71
|
${_emotion.buttonGroupTokens.buttonSegmentedRadius}: 0.25rem;
|
|
@@ -72,12 +73,12 @@ const config = {
|
|
|
72
73
|
${_emotion.buttonGroupTokens.buttonSideRadius}: 0.75rem;
|
|
73
74
|
|
|
74
75
|
${_emotion.buttonGroupTokens.buttonHeight}: 2.5rem;
|
|
75
|
-
${_emotion.buttonGroupTokens.buttonFontFamily}:
|
|
76
|
-
${_emotion.buttonGroupTokens.buttonFontSize}:
|
|
77
|
-
${_emotion.buttonGroupTokens.buttonFontStyle}:
|
|
78
|
-
${_emotion.buttonGroupTokens.buttonFontWeight}:
|
|
79
|
-
${_emotion.buttonGroupTokens.buttonLetterSpacing}:
|
|
80
|
-
${_emotion.buttonGroupTokens.buttonLineHeight}:
|
|
76
|
+
${_emotion.buttonGroupTokens.buttonFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
77
|
+
${_emotion.buttonGroupTokens.buttonFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
78
|
+
${_emotion.buttonGroupTokens.buttonFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
79
|
+
${_emotion.buttonGroupTokens.buttonFontWeight}: ${_sdds_cs.bodySBold.fontWeight};
|
|
80
|
+
${_emotion.buttonGroupTokens.buttonLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
81
|
+
${_emotion.buttonGroupTokens.buttonLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
81
82
|
`
|
|
82
83
|
},
|
|
83
84
|
orientation: {
|
|
@@ -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.calendarBaseTokens.calendarSelectedItemBackground}:
|
|
21
|
-
${_emotion.calendarBaseTokens.calendarSelectedItemColor}:
|
|
22
|
-
${_emotion.calendarBaseTokens.calendarSelectableItemBackgroundHover}:
|
|
23
|
-
${_emotion.calendarBaseTokens.calendarCurrentItemBorderColor}:
|
|
21
|
+
${_emotion.calendarBaseTokens.calendarSelectedItemBackground}: ${_sdds_cs.surfaceAccent};
|
|
22
|
+
${_emotion.calendarBaseTokens.calendarSelectedItemColor}: ${_sdds_cs.inverseTextPrimary};
|
|
23
|
+
${_emotion.calendarBaseTokens.calendarSelectableItemBackgroundHover}: ${_sdds_cs.surfaceTransparentAccent};
|
|
24
|
+
${_emotion.calendarBaseTokens.calendarCurrentItemBorderColor}: ${_sdds_cs.inverseOutlineSolidSecondary};
|
|
24
25
|
${_emotion.calendarBaseTokens.calendarCurrentItemBackgroundHover}: transparent;
|
|
25
|
-
${_emotion.calendarBaseTokens.calendarCurrentItemColorHover}:
|
|
26
|
-
${_emotion.calendarBaseTokens.calendarCurrentItemChildBackgroundHover}:
|
|
27
|
-
${_emotion.calendarBaseTokens.calendarActiveItemBackground}:
|
|
28
|
-
${_emotion.calendarBaseTokens.calendarActiveItemColor}:
|
|
29
|
-
${_emotion.calendarBaseTokens.calendarHoveredItemBackground}:
|
|
30
|
-
${_emotion.calendarBaseTokens.calendarHoveredItemColor}:
|
|
31
|
-
${_emotion.calendarBaseTokens.calendarRangeBackground}:
|
|
32
|
-
${_emotion.calendarBaseTokens.calendarOutlineFocusColor}:
|
|
26
|
+
${_emotion.calendarBaseTokens.calendarCurrentItemColorHover}: ${_sdds_cs.textPrimary};
|
|
27
|
+
${_emotion.calendarBaseTokens.calendarCurrentItemChildBackgroundHover}: ${_sdds_cs.surfaceTransparentAccent};
|
|
28
|
+
${_emotion.calendarBaseTokens.calendarActiveItemBackground}: ${_sdds_cs.surfaceAccent};
|
|
29
|
+
${_emotion.calendarBaseTokens.calendarActiveItemColor}: ${_sdds_cs.inverseTextPrimary};
|
|
30
|
+
${_emotion.calendarBaseTokens.calendarHoveredItemBackground}: ${_sdds_cs.surfaceTransparentAccent};
|
|
31
|
+
${_emotion.calendarBaseTokens.calendarHoveredItemColor}: ${_sdds_cs.textPrimary};
|
|
32
|
+
${_emotion.calendarBaseTokens.calendarRangeBackground}: ${_sdds_cs.surfaceTransparentAccent};
|
|
33
|
+
${_emotion.calendarBaseTokens.calendarOutlineFocusColor}: ${_sdds_cs.surfaceAccent};
|
|
33
34
|
${_emotion.calendarBaseTokens.calendarContentPrimaryColor}: var(--surface-primary);
|
|
34
|
-
${_emotion.calendarBaseTokens.calendarContentPrimaryDisabledColor}:
|
|
35
|
-
${_emotion.calendarBaseTokens.calendarContentSecondaryColor}:
|
|
36
|
-
${_emotion.calendarBaseTokens.calendarContentSecondaryDisabledColor}:
|
|
37
|
-
${_emotion.calendarBaseTokens.calendarDayOfWeekColor}:
|
|
38
|
-
${_emotion.calendarBaseTokens.calendarHeaderArrowColor}:
|
|
35
|
+
${_emotion.calendarBaseTokens.calendarContentPrimaryDisabledColor}: ${_sdds_cs.textSecondary};
|
|
36
|
+
${_emotion.calendarBaseTokens.calendarContentSecondaryColor}: ${_sdds_cs.textSecondary};
|
|
37
|
+
${_emotion.calendarBaseTokens.calendarContentSecondaryDisabledColor}: ${_sdds_cs.textSecondary};
|
|
38
|
+
${_emotion.calendarBaseTokens.calendarDayOfWeekColor}: ${_sdds_cs.textSecondary};
|
|
39
|
+
${_emotion.calendarBaseTokens.calendarHeaderArrowColor}: ${_sdds_cs.textAccent};
|
|
39
40
|
${_emotion.calendarBaseTokens.calendarDisabledOpacity}: 1;
|
|
40
41
|
|
|
41
|
-
${_emotion.calendarBaseTokens.iconButtonColor}:
|
|
42
|
-
${_emotion.calendarBaseTokens.iconButtonBackgroundColor}:
|
|
43
|
-
${_emotion.calendarBaseTokens.iconButtonColorHover}:
|
|
44
|
-
${_emotion.calendarBaseTokens.iconButtonBackgroundColorHover}:
|
|
45
|
-
${_emotion.calendarBaseTokens.iconButtonColorActive}:
|
|
46
|
-
${_emotion.calendarBaseTokens.iconButtonBackgroundColorActive}:
|
|
47
|
-
${_emotion.calendarBaseTokens.iconButtonFocusColor}:
|
|
42
|
+
${_emotion.calendarBaseTokens.iconButtonColor}: ${_sdds_cs.textAccent};
|
|
43
|
+
${_emotion.calendarBaseTokens.iconButtonBackgroundColor}: ${_sdds_cs.surfaceClear};
|
|
44
|
+
${_emotion.calendarBaseTokens.iconButtonColorHover}: ${_sdds_cs.textAccentMinor};
|
|
45
|
+
${_emotion.calendarBaseTokens.iconButtonBackgroundColorHover}: ${_sdds_cs.surfaceClear};
|
|
46
|
+
${_emotion.calendarBaseTokens.iconButtonColorActive}: ${_sdds_cs.textAccentActive};
|
|
47
|
+
${_emotion.calendarBaseTokens.iconButtonBackgroundColorActive}: ${_sdds_cs.surfaceClear};
|
|
48
|
+
${_emotion.calendarBaseTokens.iconButtonFocusColor}: ${_sdds_cs.surfaceAccent};
|
|
48
49
|
`
|
|
49
50
|
},
|
|
50
51
|
size: {
|
|
@@ -55,46 +56,46 @@ const config = {
|
|
|
55
56
|
${_emotion.calendarBaseTokens.calendarYearsPadding}: 0.5rem 0.5rem 0 0.5rem;
|
|
56
57
|
${_emotion.calendarBaseTokens.calendarYearItemBorderRadius}: 0.5rem;
|
|
57
58
|
|
|
58
|
-
${_emotion.calendarBaseTokens.calendarYearFontFamily}:
|
|
59
|
-
${_emotion.calendarBaseTokens.calendarYearFontSize}:
|
|
60
|
-
${_emotion.calendarBaseTokens.calendarYearFontStyle}:
|
|
61
|
-
${_emotion.calendarBaseTokens.calendarYearFontLetterSpacing}:
|
|
62
|
-
${_emotion.calendarBaseTokens.calendarYearFontLineHeight}:
|
|
63
|
-
${_emotion.calendarBaseTokens.calendarYearFontWeight}:
|
|
64
|
-
${_emotion.calendarBaseTokens.calendarYearSelectedFontWeight}:
|
|
59
|
+
${_emotion.calendarBaseTokens.calendarYearFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
60
|
+
${_emotion.calendarBaseTokens.calendarYearFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
61
|
+
${_emotion.calendarBaseTokens.calendarYearFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
62
|
+
${_emotion.calendarBaseTokens.calendarYearFontLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
63
|
+
${_emotion.calendarBaseTokens.calendarYearFontLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
64
|
+
${_emotion.calendarBaseTokens.calendarYearFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
65
|
+
${_emotion.calendarBaseTokens.calendarYearSelectedFontWeight}: ${_sdds_cs.bodySBold.fontWeight};
|
|
65
66
|
|
|
66
67
|
${_emotion.calendarBaseTokens.calendarQuartersPadding}: 0.5rem 0.5rem 0 0.5rem;
|
|
67
68
|
${_emotion.calendarBaseTokens.calendarQuarterItemBorderRadius}: 0.5rem;
|
|
68
69
|
|
|
69
|
-
${_emotion.calendarBaseTokens.calendarQuarterFontFamily}:
|
|
70
|
-
${_emotion.calendarBaseTokens.calendarQuarterFontSize}:
|
|
71
|
-
${_emotion.calendarBaseTokens.calendarQuarterFontStyle}:
|
|
72
|
-
${_emotion.calendarBaseTokens.calendarQuarterFontLetterSpacing}:
|
|
73
|
-
${_emotion.calendarBaseTokens.calendarQuarterFontLineHeight}:
|
|
74
|
-
${_emotion.calendarBaseTokens.calendarQuarterFontWeight}:
|
|
75
|
-
${_emotion.calendarBaseTokens.calendarQuarterSelectedFontWeight}:
|
|
70
|
+
${_emotion.calendarBaseTokens.calendarQuarterFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
71
|
+
${_emotion.calendarBaseTokens.calendarQuarterFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
72
|
+
${_emotion.calendarBaseTokens.calendarQuarterFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
73
|
+
${_emotion.calendarBaseTokens.calendarQuarterFontLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
74
|
+
${_emotion.calendarBaseTokens.calendarQuarterFontLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
75
|
+
${_emotion.calendarBaseTokens.calendarQuarterFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
76
|
+
${_emotion.calendarBaseTokens.calendarQuarterSelectedFontWeight}: ${_sdds_cs.bodySBold.fontWeight};
|
|
76
77
|
|
|
77
78
|
${_emotion.calendarBaseTokens.calendarMonthsPadding}: 0.5rem 0.5rem 0 0.5rem;
|
|
78
79
|
${_emotion.calendarBaseTokens.calendarMonthItemBorderRadius}: 0.5rem;
|
|
79
80
|
|
|
80
|
-
${_emotion.calendarBaseTokens.calendarMonthFontFamily}:
|
|
81
|
-
${_emotion.calendarBaseTokens.calendarMonthFontSize}:
|
|
82
|
-
${_emotion.calendarBaseTokens.calendarMonthFontStyle}:
|
|
83
|
-
${_emotion.calendarBaseTokens.calendarMonthFontLetterSpacing}:
|
|
84
|
-
${_emotion.calendarBaseTokens.calendarMonthFontLineHeight}:
|
|
85
|
-
${_emotion.calendarBaseTokens.calendarMonthFontWeight}:
|
|
86
|
-
${_emotion.calendarBaseTokens.calendarMonthSelectedFontWeight}:
|
|
81
|
+
${_emotion.calendarBaseTokens.calendarMonthFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
82
|
+
${_emotion.calendarBaseTokens.calendarMonthFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
83
|
+
${_emotion.calendarBaseTokens.calendarMonthFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
84
|
+
${_emotion.calendarBaseTokens.calendarMonthFontLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
85
|
+
${_emotion.calendarBaseTokens.calendarMonthFontLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
86
|
+
${_emotion.calendarBaseTokens.calendarMonthFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
87
|
+
${_emotion.calendarBaseTokens.calendarMonthSelectedFontWeight}: ${_sdds_cs.bodySBold.fontWeight};
|
|
87
88
|
|
|
88
89
|
${_emotion.calendarBaseTokens.calendarDaysPadding}: 0.5rem 0 0 0;
|
|
89
90
|
${_emotion.calendarBaseTokens.calendarDayItemBorderRadius}: 0.5rem;
|
|
90
91
|
|
|
91
|
-
${_emotion.calendarBaseTokens.calendarDayFontFamily}:
|
|
92
|
-
${_emotion.calendarBaseTokens.calendarDayFontSize}:
|
|
93
|
-
${_emotion.calendarBaseTokens.calendarDayFontStyle}:
|
|
94
|
-
${_emotion.calendarBaseTokens.calendarDayFontLetterSpacing}:
|
|
95
|
-
${_emotion.calendarBaseTokens.calendarDayFontLineHeight}:
|
|
96
|
-
${_emotion.calendarBaseTokens.calendarDayFontWeight}:
|
|
97
|
-
${_emotion.calendarBaseTokens.calendarDaySelectedFontWeight}:
|
|
92
|
+
${_emotion.calendarBaseTokens.calendarDayFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
93
|
+
${_emotion.calendarBaseTokens.calendarDayFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
94
|
+
${_emotion.calendarBaseTokens.calendarDayFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
95
|
+
${_emotion.calendarBaseTokens.calendarDayFontLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
96
|
+
${_emotion.calendarBaseTokens.calendarDayFontLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
97
|
+
${_emotion.calendarBaseTokens.calendarDayFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
98
|
+
${_emotion.calendarBaseTokens.calendarDaySelectedFontWeight}: ${_sdds_cs.bodySBold.fontWeight};
|
|
98
99
|
|
|
99
100
|
${_emotion.calendarBaseTokens.calendarCurrentItemBorderWidth}: 0.125rem;
|
|
100
101
|
|
|
@@ -104,13 +105,13 @@ const config = {
|
|
|
104
105
|
${_emotion.calendarBaseTokens.calendarHeaderPadding}: 0 0 0 0.5rem;
|
|
105
106
|
${_emotion.calendarBaseTokens.calendarHeaderDateGap}: 0.25rem;
|
|
106
107
|
|
|
107
|
-
${_emotion.calendarBaseTokens.calendarHeaderFontFamily}:
|
|
108
|
-
${_emotion.calendarBaseTokens.calendarHeaderFontSize}:
|
|
109
|
-
${_emotion.calendarBaseTokens.calendarHeaderFontStyle}:
|
|
110
|
-
${_emotion.calendarBaseTokens.calendarHeaderFontLetterSpacing}:
|
|
111
|
-
${_emotion.calendarBaseTokens.calendarHeaderFontLineHeight}:
|
|
112
|
-
${_emotion.calendarBaseTokens.calendarHeaderFontWeight}:
|
|
113
|
-
${_emotion.calendarBaseTokens.calendarHeaderFontWeightBold}:
|
|
108
|
+
${_emotion.calendarBaseTokens.calendarHeaderFontFamily}: ${_sdds_cs.bodyMBold.fontFamily};
|
|
109
|
+
${_emotion.calendarBaseTokens.calendarHeaderFontSize}: ${_sdds_cs.bodyMBold.fontSize};
|
|
110
|
+
${_emotion.calendarBaseTokens.calendarHeaderFontStyle}: ${_sdds_cs.bodyMBold.fontStyle};
|
|
111
|
+
${_emotion.calendarBaseTokens.calendarHeaderFontLetterSpacing}: ${_sdds_cs.bodyMBold.letterSpacing};
|
|
112
|
+
${_emotion.calendarBaseTokens.calendarHeaderFontLineHeight}: ${_sdds_cs.bodyMBold.lineHeight};
|
|
113
|
+
${_emotion.calendarBaseTokens.calendarHeaderFontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
114
|
+
${_emotion.calendarBaseTokens.calendarHeaderFontWeightBold}: ${_sdds_cs.bodyMBold.fontWeight};
|
|
114
115
|
|
|
115
116
|
${_emotion.calendarBaseTokens.iconButtonHeight}: 2.5rem;
|
|
116
117
|
${_emotion.calendarBaseTokens.iconButtonWidth}: 2.5rem;
|