@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: {
|
|
@@ -20,19 +21,19 @@ const config = {
|
|
|
20
21
|
variations: {
|
|
21
22
|
view: {
|
|
22
23
|
default: (0, _emotion.css)`
|
|
23
|
-
${_emotion.numberInputTokens.caretColor}:
|
|
24
|
-
${_emotion.numberInputTokens.errorColor}:
|
|
24
|
+
${_emotion.numberInputTokens.caretColor}: ${_sdds_cs.textAccent};
|
|
25
|
+
${_emotion.numberInputTokens.errorColor}: ${_sdds_cs.textNegative};
|
|
25
26
|
|
|
26
|
-
${_emotion.numberInputTokens.colorSolid}:
|
|
27
|
-
${_emotion.numberInputTokens.additionalTextColorSolid}:
|
|
28
|
-
${_emotion.numberInputTokens.backgroundColorSolid}:
|
|
29
|
-
${_emotion.numberInputTokens.wrapperBorderColor}:
|
|
30
|
-
${_emotion.numberInputTokens.wrapperBorderColorFocus}:
|
|
27
|
+
${_emotion.numberInputTokens.colorSolid}: ${_sdds_cs.textPrimary};
|
|
28
|
+
${_emotion.numberInputTokens.additionalTextColorSolid}: ${_sdds_cs.textTertiary};
|
|
29
|
+
${_emotion.numberInputTokens.backgroundColorSolid}: ${_sdds_cs.surfaceSolidCard};
|
|
30
|
+
${_emotion.numberInputTokens.wrapperBorderColor}: ${_sdds_cs.outlineSolidPrimary};
|
|
31
|
+
${_emotion.numberInputTokens.wrapperBorderColorFocus}: ${_sdds_cs.outlineAccent};
|
|
31
32
|
|
|
32
|
-
${_emotion.numberInputTokens.iconButtonColor}:
|
|
33
|
-
${_emotion.numberInputTokens.iconButtonBackgroundColor}:
|
|
34
|
-
${_emotion.numberInputTokens.iconButtonColorSolidHover}:
|
|
35
|
-
${_emotion.numberInputTokens.iconButtonColorSolidActive}:
|
|
33
|
+
${_emotion.numberInputTokens.iconButtonColor}: ${_sdds_cs.textAccent};
|
|
34
|
+
${_emotion.numberInputTokens.iconButtonBackgroundColor}: ${_sdds_cs.surfaceSolidCard};
|
|
35
|
+
${_emotion.numberInputTokens.iconButtonColorSolidHover}: ${_sdds_cs.textAccentMinor};
|
|
36
|
+
${_emotion.numberInputTokens.iconButtonColorSolidActive}: ${_sdds_cs.textAccentActive};
|
|
36
37
|
|
|
37
38
|
${_emotion.numberInputTokens.actionButtonDisabledOpacity}: 0;
|
|
38
39
|
${_emotion.numberInputTokens.actionButtonDisabledCursor}: default;
|
|
@@ -47,12 +48,12 @@ const config = {
|
|
|
47
48
|
${_emotion.numberInputTokens.iconButtonHeight}: 2.5rem;
|
|
48
49
|
${_emotion.numberInputTokens.iconButtonWidth}: 2.5rem;
|
|
49
50
|
${_emotion.numberInputTokens.iconButtonPadding}: 0.5rem;
|
|
50
|
-
${_emotion.numberInputTokens.iconButtonFontFamily}:
|
|
51
|
-
${_emotion.numberInputTokens.iconButtonFontSize}:
|
|
52
|
-
${_emotion.numberInputTokens.iconButtonFontStyle}:
|
|
53
|
-
${_emotion.numberInputTokens.iconButtonFontWeight}:
|
|
54
|
-
${_emotion.numberInputTokens.iconButtonLetterSpacing}:
|
|
55
|
-
${_emotion.numberInputTokens.iconButtonLineHeight}:
|
|
51
|
+
${_emotion.numberInputTokens.iconButtonFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
52
|
+
${_emotion.numberInputTokens.iconButtonFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
53
|
+
${_emotion.numberInputTokens.iconButtonFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
54
|
+
${_emotion.numberInputTokens.iconButtonFontWeight}: ${_sdds_cs.bodySBold.fontWeight};
|
|
55
|
+
${_emotion.numberInputTokens.iconButtonLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
56
|
+
${_emotion.numberInputTokens.iconButtonLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
56
57
|
|
|
57
58
|
${_emotion.numberInputTokens.iconButtonRadius}: 0.75rem;
|
|
58
59
|
${_emotion.numberInputTokens.iconButtonSegmentationRadius}: 0.25rem;
|
|
@@ -63,19 +64,19 @@ const config = {
|
|
|
63
64
|
${_emotion.numberInputTokens.textWrapperPadding}: 0.5rem 0.375rem;
|
|
64
65
|
${_emotion.numberInputTokens.rootBorderWidth}: 0.125rem;
|
|
65
66
|
|
|
66
|
-
${_emotion.numberInputTokens.fontFamily}:
|
|
67
|
-
${_emotion.numberInputTokens.fontSize}:
|
|
68
|
-
${_emotion.numberInputTokens.fontStyle}:
|
|
69
|
-
${_emotion.numberInputTokens.fontWeight}:
|
|
70
|
-
${_emotion.numberInputTokens.letterSpacing}:
|
|
71
|
-
${_emotion.numberInputTokens.lineHeight}:
|
|
67
|
+
${_emotion.numberInputTokens.fontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
68
|
+
${_emotion.numberInputTokens.fontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
69
|
+
${_emotion.numberInputTokens.fontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
70
|
+
${_emotion.numberInputTokens.fontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
71
|
+
${_emotion.numberInputTokens.letterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
72
|
+
${_emotion.numberInputTokens.lineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
72
73
|
|
|
73
|
-
${_emotion.numberInputTokens.additionalTextFontFamily}:
|
|
74
|
-
${_emotion.numberInputTokens.additionalTextFontSize}:
|
|
75
|
-
${_emotion.numberInputTokens.additionalTextFontStyle}:
|
|
76
|
-
${_emotion.numberInputTokens.additionalTextFontWeight}:
|
|
77
|
-
${_emotion.numberInputTokens.additionalTextLetterSpacing}:
|
|
78
|
-
${_emotion.numberInputTokens.additionalTextLineHeight}:
|
|
74
|
+
${_emotion.numberInputTokens.additionalTextFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
75
|
+
${_emotion.numberInputTokens.additionalTextFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
76
|
+
${_emotion.numberInputTokens.additionalTextFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
77
|
+
${_emotion.numberInputTokens.additionalTextFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
78
|
+
${_emotion.numberInputTokens.additionalTextLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
79
|
+
${_emotion.numberInputTokens.additionalTextLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
79
80
|
|
|
80
81
|
${_emotion.numberInputTokens.textBeforeMarginRight}: 0.25rem;
|
|
81
82
|
${_emotion.numberInputTokens.textAfterMarginLeft}: 0.25rem;
|
|
@@ -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,47 +19,47 @@ const config = {
|
|
|
18
19
|
variations: {
|
|
19
20
|
view: {
|
|
20
21
|
default: (0, _emotion.css)`
|
|
21
|
-
${_emotion.paginationTokens.buttonColor}:
|
|
22
|
-
${_emotion.paginationTokens.buttonColorHover}:
|
|
23
|
-
${_emotion.paginationTokens.buttonColorActive}:
|
|
24
|
-
${_emotion.paginationTokens.buttonBackgroundColor}:
|
|
25
|
-
${_emotion.paginationTokens.buttonBackgroundColorHover}:
|
|
26
|
-
${_emotion.paginationTokens.buttonBackgroundColorActive}:
|
|
27
|
-
${_emotion.paginationTokens.buttonHoverColor}:
|
|
28
|
-
${_emotion.paginationTokens.buttonActiveColor}:
|
|
29
|
-
${_emotion.paginationTokens.buttonArrowColor}:
|
|
30
|
-
${_emotion.paginationTokens.buttonArrowColorHover}:
|
|
31
|
-
${_emotion.paginationTokens.buttonArrowColorActive}:
|
|
22
|
+
${_emotion.paginationTokens.buttonColor}: ${_sdds_cs.textAccent};
|
|
23
|
+
${_emotion.paginationTokens.buttonColorHover}: ${_sdds_cs.textAccentMinor};
|
|
24
|
+
${_emotion.paginationTokens.buttonColorActive}: ${_sdds_cs.textAccentActive};
|
|
25
|
+
${_emotion.paginationTokens.buttonBackgroundColor}: ${_sdds_cs.surfaceClear};
|
|
26
|
+
${_emotion.paginationTokens.buttonBackgroundColorHover}: ${_sdds_cs.surfaceClear};
|
|
27
|
+
${_emotion.paginationTokens.buttonBackgroundColorActive}: ${_sdds_cs.surfaceClear};
|
|
28
|
+
${_emotion.paginationTokens.buttonHoverColor}: ${_sdds_cs.textAccentMinor};
|
|
29
|
+
${_emotion.paginationTokens.buttonActiveColor}: ${_sdds_cs.textAccentActive};
|
|
30
|
+
${_emotion.paginationTokens.buttonArrowColor}: ${_sdds_cs.textAccent};
|
|
31
|
+
${_emotion.paginationTokens.buttonArrowColorHover}: ${_sdds_cs.textAccentMinor};
|
|
32
|
+
${_emotion.paginationTokens.buttonArrowColorActive}: ${_sdds_cs.textAccentActive};
|
|
32
33
|
|
|
33
|
-
${_emotion.paginationTokens.inputBackgroundColor}:
|
|
34
|
-
${_emotion.paginationTokens.selectBackgroundColor}:
|
|
35
|
-
${_emotion.paginationTokens.inputBorderColor}:
|
|
34
|
+
${_emotion.paginationTokens.inputBackgroundColor}: ${_sdds_cs.surfaceSolidCard};
|
|
35
|
+
${_emotion.paginationTokens.selectBackgroundColor}: ${_sdds_cs.surfaceSolidCard};
|
|
36
|
+
${_emotion.paginationTokens.inputBorderColor}: ${_sdds_cs.outlineSolidPrimary};
|
|
36
37
|
|
|
37
|
-
${_emotion.paginationTokens.paginationColor}:
|
|
38
|
-
${_emotion.paginationTokens.paginationHelperTextColor}:
|
|
39
|
-
${_emotion.paginationTokens.buttonFocusColor}:
|
|
40
|
-
${_emotion.paginationTokens.paginationDisabledButtonColor}:
|
|
41
|
-
${_emotion.paginationTokens.paginationDisabledButtonBackgroundColor}:
|
|
38
|
+
${_emotion.paginationTokens.paginationColor}: ${_sdds_cs.textPrimary};
|
|
39
|
+
${_emotion.paginationTokens.paginationHelperTextColor}: ${_sdds_cs.textSecondary};
|
|
40
|
+
${_emotion.paginationTokens.buttonFocusColor}: ${_sdds_cs.surfaceAccent};
|
|
41
|
+
${_emotion.paginationTokens.paginationDisabledButtonColor}: ${_sdds_cs.textSecondary};
|
|
42
|
+
${_emotion.paginationTokens.paginationDisabledButtonBackgroundColor}: ${_sdds_cs.surfaceClear};
|
|
42
43
|
`
|
|
43
44
|
},
|
|
44
45
|
viewCurrentPage: {
|
|
45
46
|
default: (0, _emotion.css)`
|
|
46
|
-
${_emotion.paginationTokens.paginationCurrentButtonColor}:
|
|
47
|
-
${_emotion.paginationTokens.paginationCurrentButtonBackgroundColor}:
|
|
48
|
-
${_emotion.paginationTokens.paginationCurrentButtonHoverColor}:
|
|
49
|
-
${_emotion.paginationTokens.paginationCurrentButtonHoverBackgroundColor}:
|
|
50
|
-
${_emotion.paginationTokens.paginationCurrentButtonActiveColor}:
|
|
51
|
-
${_emotion.paginationTokens.paginationCurrentButtonActiveBackgroundColor}:
|
|
47
|
+
${_emotion.paginationTokens.paginationCurrentButtonColor}: ${_sdds_cs.textPrimary};
|
|
48
|
+
${_emotion.paginationTokens.paginationCurrentButtonBackgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
|
|
49
|
+
${_emotion.paginationTokens.paginationCurrentButtonHoverColor}: ${_sdds_cs.textPrimary};
|
|
50
|
+
${_emotion.paginationTokens.paginationCurrentButtonHoverBackgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
|
|
51
|
+
${_emotion.paginationTokens.paginationCurrentButtonActiveColor}: ${_sdds_cs.textPrimary};
|
|
52
|
+
${_emotion.paginationTokens.paginationCurrentButtonActiveBackgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
|
|
52
53
|
`
|
|
53
54
|
},
|
|
54
55
|
size: {
|
|
55
56
|
s: (0, _emotion.css)`
|
|
56
|
-
${_emotion.paginationTokens.paginationFontFamily}:
|
|
57
|
-
${_emotion.paginationTokens.paginationFontSize}:
|
|
58
|
-
${_emotion.paginationTokens.paginationFontStyle}:
|
|
59
|
-
${_emotion.paginationTokens.paginationFontWeight}:
|
|
60
|
-
${_emotion.paginationTokens.paginationLetterSpacing}:
|
|
61
|
-
${_emotion.paginationTokens.paginationLineHeight}:
|
|
57
|
+
${_emotion.paginationTokens.paginationFontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
58
|
+
${_emotion.paginationTokens.paginationFontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
59
|
+
${_emotion.paginationTokens.paginationFontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
60
|
+
${_emotion.paginationTokens.paginationFontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
61
|
+
${_emotion.paginationTokens.paginationLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
62
|
+
${_emotion.paginationTokens.paginationLineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
62
63
|
|
|
63
64
|
${_emotion.paginationTokens.buttonHeight}: 2.5rem;
|
|
64
65
|
${_emotion.paginationTokens.buttonWidth}: 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: {
|
|
@@ -16,14 +17,14 @@ const config = {
|
|
|
16
17
|
variations: {
|
|
17
18
|
view: {
|
|
18
19
|
default: (0, _emotion.css)`
|
|
19
|
-
${_emotion.popoverTokens.boxShadow}:
|
|
20
|
+
${_emotion.popoverTokens.boxShadow}: ${_sdds_cs.shadowDownHardM};
|
|
20
21
|
|
|
21
22
|
${_emotion.popoverTokens.arrowMaskWidth}: 1rem;
|
|
22
23
|
${_emotion.popoverTokens.arrowMaskHeight}: 1rem;
|
|
23
24
|
${_emotion.popoverTokens.arrowMaskImage}: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMCw5Ljg1bDE2LDBjLTQuNDEsMCAtOCwyLjY5IC04LDZjMCwtMy4zMSAtMy41OSwtNiAtOCwtNnoiIGZpbGw9IiMxNzE3MTciIGZpbGwtcnVsZT0iZXZlbm9kZCIgaWQ9IlRhaWwiLz4KPC9zdmc+");
|
|
24
25
|
${_emotion.popoverTokens.arrowHeight}: 0.375rem;
|
|
25
26
|
${_emotion.popoverTokens.arrowEdgeMargin}: 0.5625rem;
|
|
26
|
-
${_emotion.popoverTokens.arrowBackground}:
|
|
27
|
+
${_emotion.popoverTokens.arrowBackground}: ${_sdds_cs.surfaceSolidCard};
|
|
27
28
|
`
|
|
28
29
|
}
|
|
29
30
|
}
|
|
@@ -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,68 +19,68 @@ const config = {
|
|
|
18
19
|
variations: {
|
|
19
20
|
view: {
|
|
20
21
|
default: (0, _emotion.css)`
|
|
21
|
-
${_emotion.progressTokens.trackBackgroundColor}:
|
|
22
|
-
${_emotion.progressTokens.progressFilledBackgroundColor}:
|
|
23
|
-
${_emotion.progressTokens.labelColor}:
|
|
24
|
-
${_emotion.progressTokens.labelIconColor}:
|
|
25
|
-
${_emotion.progressTokens.valueColor}:
|
|
26
|
-
${_emotion.progressTokens.captionColor}:
|
|
22
|
+
${_emotion.progressTokens.trackBackgroundColor}: ${_sdds_cs.surfaceSolidSecondary};
|
|
23
|
+
${_emotion.progressTokens.progressFilledBackgroundColor}: ${_sdds_cs.surfaceSolidDefault};
|
|
24
|
+
${_emotion.progressTokens.labelColor}: ${_sdds_cs.textPrimary};
|
|
25
|
+
${_emotion.progressTokens.labelIconColor}: ${_sdds_cs.textPrimary};
|
|
26
|
+
${_emotion.progressTokens.valueColor}: ${_sdds_cs.textSecondary};
|
|
27
|
+
${_emotion.progressTokens.captionColor}: ${_sdds_cs.textSecondary};
|
|
27
28
|
`,
|
|
28
29
|
secondary: (0, _emotion.css)`
|
|
29
|
-
${_emotion.progressTokens.trackBackgroundColor}:
|
|
30
|
+
${_emotion.progressTokens.trackBackgroundColor}: ${_sdds_cs.surfaceSolidSecondary};
|
|
30
31
|
${_emotion.progressTokens.progressFilledBackgroundColor}: var(--surface-transparent-tertiary);
|
|
31
|
-
${_emotion.progressTokens.labelColor}:
|
|
32
|
-
${_emotion.progressTokens.labelIconColor}:
|
|
33
|
-
${_emotion.progressTokens.valueColor}:
|
|
34
|
-
${_emotion.progressTokens.captionColor}:
|
|
32
|
+
${_emotion.progressTokens.labelColor}: ${_sdds_cs.textPrimary};
|
|
33
|
+
${_emotion.progressTokens.labelIconColor}: ${_sdds_cs.textPrimary};
|
|
34
|
+
${_emotion.progressTokens.valueColor}: ${_sdds_cs.textSecondary};
|
|
35
|
+
${_emotion.progressTokens.captionColor}: ${_sdds_cs.textSecondary};
|
|
35
36
|
`,
|
|
36
37
|
accent: (0, _emotion.css)`
|
|
37
|
-
${_emotion.progressTokens.trackBackgroundColor}:
|
|
38
|
-
${_emotion.progressTokens.progressFilledBackgroundColor}:
|
|
39
|
-
${_emotion.progressTokens.labelColor}:
|
|
40
|
-
${_emotion.progressTokens.labelIconColor}:
|
|
41
|
-
${_emotion.progressTokens.valueColor}:
|
|
42
|
-
${_emotion.progressTokens.captionColor}:
|
|
38
|
+
${_emotion.progressTokens.trackBackgroundColor}: ${_sdds_cs.surfaceSolidSecondary};
|
|
39
|
+
${_emotion.progressTokens.progressFilledBackgroundColor}: ${_sdds_cs.surfaceAccent};
|
|
40
|
+
${_emotion.progressTokens.labelColor}: ${_sdds_cs.textPrimary};
|
|
41
|
+
${_emotion.progressTokens.labelIconColor}: ${_sdds_cs.textPrimary};
|
|
42
|
+
${_emotion.progressTokens.valueColor}: ${_sdds_cs.textSecondary};
|
|
43
|
+
${_emotion.progressTokens.captionColor}: ${_sdds_cs.textSecondary};
|
|
43
44
|
`,
|
|
44
45
|
accentGradient: (0, _emotion.css)`
|
|
45
|
-
${_emotion.progressTokens.trackBackgroundColor}:
|
|
46
|
+
${_emotion.progressTokens.trackBackgroundColor}: ${_sdds_cs.surfaceSolidSecondary};
|
|
46
47
|
${_emotion.progressTokens.progressFilledBackgroundColor}: var(--surface-accent-gradient);
|
|
47
|
-
${_emotion.progressTokens.labelColor}:
|
|
48
|
-
${_emotion.progressTokens.labelIconColor}:
|
|
49
|
-
${_emotion.progressTokens.valueColor}:
|
|
50
|
-
${_emotion.progressTokens.captionColor}:
|
|
48
|
+
${_emotion.progressTokens.labelColor}: ${_sdds_cs.textPrimary};
|
|
49
|
+
${_emotion.progressTokens.labelIconColor}: ${_sdds_cs.textPrimary};
|
|
50
|
+
${_emotion.progressTokens.valueColor}: ${_sdds_cs.textSecondary};
|
|
51
|
+
${_emotion.progressTokens.captionColor}: ${_sdds_cs.textSecondary};
|
|
51
52
|
`,
|
|
52
53
|
info: (0, _emotion.css)`
|
|
53
|
-
${_emotion.progressTokens.trackBackgroundColor}:
|
|
54
|
-
${_emotion.progressTokens.progressFilledBackgroundColor}:
|
|
55
|
-
${_emotion.progressTokens.labelColor}:
|
|
56
|
-
${_emotion.progressTokens.labelIconColor}:
|
|
57
|
-
${_emotion.progressTokens.valueColor}:
|
|
58
|
-
${_emotion.progressTokens.captionColor}:
|
|
54
|
+
${_emotion.progressTokens.trackBackgroundColor}: ${_sdds_cs.surfaceSolidSecondary};
|
|
55
|
+
${_emotion.progressTokens.progressFilledBackgroundColor}: ${_sdds_cs.surfaceInfo};
|
|
56
|
+
${_emotion.progressTokens.labelColor}: ${_sdds_cs.textPrimary};
|
|
57
|
+
${_emotion.progressTokens.labelIconColor}: ${_sdds_cs.textPrimary};
|
|
58
|
+
${_emotion.progressTokens.valueColor}: ${_sdds_cs.textSecondary};
|
|
59
|
+
${_emotion.progressTokens.captionColor}: ${_sdds_cs.textSecondary};
|
|
59
60
|
`,
|
|
60
61
|
positive: (0, _emotion.css)`
|
|
61
|
-
${_emotion.progressTokens.trackBackgroundColor}:
|
|
62
|
-
${_emotion.progressTokens.progressFilledBackgroundColor}:
|
|
63
|
-
${_emotion.progressTokens.labelColor}:
|
|
64
|
-
${_emotion.progressTokens.labelIconColor}:
|
|
65
|
-
${_emotion.progressTokens.valueColor}:
|
|
66
|
-
${_emotion.progressTokens.captionColor}:
|
|
62
|
+
${_emotion.progressTokens.trackBackgroundColor}: ${_sdds_cs.surfaceSolidSecondary};
|
|
63
|
+
${_emotion.progressTokens.progressFilledBackgroundColor}: ${_sdds_cs.surfacePositive};
|
|
64
|
+
${_emotion.progressTokens.labelColor}: ${_sdds_cs.textPrimary};
|
|
65
|
+
${_emotion.progressTokens.labelIconColor}: ${_sdds_cs.textPrimary};
|
|
66
|
+
${_emotion.progressTokens.valueColor}: ${_sdds_cs.textSecondary};
|
|
67
|
+
${_emotion.progressTokens.captionColor}: ${_sdds_cs.textPositive};
|
|
67
68
|
`,
|
|
68
69
|
warning: (0, _emotion.css)`
|
|
69
|
-
${_emotion.progressTokens.trackBackgroundColor}:
|
|
70
|
-
${_emotion.progressTokens.progressFilledBackgroundColor}:
|
|
71
|
-
${_emotion.progressTokens.labelColor}:
|
|
72
|
-
${_emotion.progressTokens.labelIconColor}:
|
|
73
|
-
${_emotion.progressTokens.valueColor}:
|
|
74
|
-
${_emotion.progressTokens.captionColor}:
|
|
70
|
+
${_emotion.progressTokens.trackBackgroundColor}: ${_sdds_cs.surfaceSolidSecondary};
|
|
71
|
+
${_emotion.progressTokens.progressFilledBackgroundColor}: ${_sdds_cs.surfaceWarning};
|
|
72
|
+
${_emotion.progressTokens.labelColor}: ${_sdds_cs.textPrimary};
|
|
73
|
+
${_emotion.progressTokens.labelIconColor}: ${_sdds_cs.textPrimary};
|
|
74
|
+
${_emotion.progressTokens.valueColor}: ${_sdds_cs.textSecondary};
|
|
75
|
+
${_emotion.progressTokens.captionColor}: ${_sdds_cs.textWarning};
|
|
75
76
|
`,
|
|
76
77
|
negative: (0, _emotion.css)`
|
|
77
|
-
${_emotion.progressTokens.trackBackgroundColor}:
|
|
78
|
-
${_emotion.progressTokens.progressFilledBackgroundColor}:
|
|
79
|
-
${_emotion.progressTokens.labelColor}:
|
|
80
|
-
${_emotion.progressTokens.labelIconColor}:
|
|
81
|
-
${_emotion.progressTokens.valueColor}:
|
|
82
|
-
${_emotion.progressTokens.captionColor}:
|
|
78
|
+
${_emotion.progressTokens.trackBackgroundColor}: ${_sdds_cs.surfaceSolidSecondary};
|
|
79
|
+
${_emotion.progressTokens.progressFilledBackgroundColor}: ${_sdds_cs.surfaceNegative};
|
|
80
|
+
${_emotion.progressTokens.labelColor}: ${_sdds_cs.textPrimary};
|
|
81
|
+
${_emotion.progressTokens.labelIconColor}: ${_sdds_cs.textPrimary};
|
|
82
|
+
${_emotion.progressTokens.valueColor}: ${_sdds_cs.textSecondary};
|
|
83
|
+
${_emotion.progressTokens.captionColor}: ${_sdds_cs.textNegative};
|
|
83
84
|
`
|
|
84
85
|
},
|
|
85
86
|
size: {
|
|
@@ -88,27 +89,27 @@ const config = {
|
|
|
88
89
|
${_emotion.progressTokens.labelWrapperGap}: 0.375rem;
|
|
89
90
|
${_emotion.progressTokens.labelWrapperMarginRight}: 1.5rem;
|
|
90
91
|
|
|
91
|
-
${_emotion.progressTokens.labelFontFamily}:
|
|
92
|
-
${_emotion.progressTokens.labelFontSize}:
|
|
93
|
-
${_emotion.progressTokens.labelFontStyle}:
|
|
94
|
-
${_emotion.progressTokens.labelFontWeight}:
|
|
95
|
-
${_emotion.progressTokens.labelLetterSpacing}:
|
|
96
|
-
${_emotion.progressTokens.labelLineHeight}:
|
|
92
|
+
${_emotion.progressTokens.labelFontFamily}: ${_sdds_cs.bodyL.fontFamily};
|
|
93
|
+
${_emotion.progressTokens.labelFontSize}: ${_sdds_cs.bodyL.fontSize};
|
|
94
|
+
${_emotion.progressTokens.labelFontStyle}: ${_sdds_cs.bodyL.fontStyle};
|
|
95
|
+
${_emotion.progressTokens.labelFontWeight}: ${_sdds_cs.bodyL.fontWeight};
|
|
96
|
+
${_emotion.progressTokens.labelLetterSpacing}: ${_sdds_cs.bodyL.letterSpacing};
|
|
97
|
+
${_emotion.progressTokens.labelLineHeight}: ${_sdds_cs.bodyL.lineHeight};
|
|
97
98
|
|
|
98
|
-
${_emotion.progressTokens.valueFontFamily}:
|
|
99
|
-
${_emotion.progressTokens.valueFontSize}:
|
|
100
|
-
${_emotion.progressTokens.valueFontStyle}:
|
|
101
|
-
${_emotion.progressTokens.valueFontWeight}:
|
|
102
|
-
${_emotion.progressTokens.valueLetterSpacing}:
|
|
103
|
-
${_emotion.progressTokens.valueLineHeight}:
|
|
99
|
+
${_emotion.progressTokens.valueFontFamily}: ${_sdds_cs.bodyL.fontFamily};
|
|
100
|
+
${_emotion.progressTokens.valueFontSize}: ${_sdds_cs.bodyL.fontSize};
|
|
101
|
+
${_emotion.progressTokens.valueFontStyle}: ${_sdds_cs.bodyL.fontStyle};
|
|
102
|
+
${_emotion.progressTokens.valueFontWeight}: ${_sdds_cs.bodyL.fontWeight};
|
|
103
|
+
${_emotion.progressTokens.valueLetterSpacing}: ${_sdds_cs.bodyL.letterSpacing};
|
|
104
|
+
${_emotion.progressTokens.valueLineHeight}: ${_sdds_cs.bodyL.lineHeight};
|
|
104
105
|
${_emotion.progressTokens.valueMarginLeft}: 1.5rem;
|
|
105
106
|
|
|
106
|
-
${_emotion.progressTokens.captionFontFamily}:
|
|
107
|
-
${_emotion.progressTokens.captionFontSize}:
|
|
108
|
-
${_emotion.progressTokens.captionFontStyle}:
|
|
109
|
-
${_emotion.progressTokens.captionFontWeight}:
|
|
110
|
-
${_emotion.progressTokens.captionLetterSpacing}:
|
|
111
|
-
${_emotion.progressTokens.captionLineHeight}:
|
|
107
|
+
${_emotion.progressTokens.captionFontFamily}: ${_sdds_cs.bodyXS.fontFamily};
|
|
108
|
+
${_emotion.progressTokens.captionFontSize}: ${_sdds_cs.bodyXS.fontSize};
|
|
109
|
+
${_emotion.progressTokens.captionFontStyle}: ${_sdds_cs.bodyXS.fontStyle};
|
|
110
|
+
${_emotion.progressTokens.captionFontWeight}: ${_sdds_cs.bodyXS.fontWeight};
|
|
111
|
+
${_emotion.progressTokens.captionLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
|
|
112
|
+
${_emotion.progressTokens.captionLineHeight}: ${_sdds_cs.bodyXS.lineHeight};
|
|
112
113
|
${_emotion.progressTokens.captionMarginTop}: 0.5rem;
|
|
113
114
|
`,
|
|
114
115
|
m: (0, _emotion.css)`
|
|
@@ -116,27 +117,27 @@ const config = {
|
|
|
116
117
|
${_emotion.progressTokens.labelWrapperGap}: 0.375rem;
|
|
117
118
|
${_emotion.progressTokens.labelWrapperMarginRight}: 1.25rem;
|
|
118
119
|
|
|
119
|
-
${_emotion.progressTokens.labelFontFamily}:
|
|
120
|
-
${_emotion.progressTokens.labelFontSize}:
|
|
121
|
-
${_emotion.progressTokens.labelFontStyle}:
|
|
122
|
-
${_emotion.progressTokens.labelFontWeight}:
|
|
123
|
-
${_emotion.progressTokens.labelLetterSpacing}:
|
|
124
|
-
${_emotion.progressTokens.labelLineHeight}:
|
|
120
|
+
${_emotion.progressTokens.labelFontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
121
|
+
${_emotion.progressTokens.labelFontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
122
|
+
${_emotion.progressTokens.labelFontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
123
|
+
${_emotion.progressTokens.labelFontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
124
|
+
${_emotion.progressTokens.labelLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
125
|
+
${_emotion.progressTokens.labelLineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
125
126
|
|
|
126
|
-
${_emotion.progressTokens.valueFontFamily}:
|
|
127
|
-
${_emotion.progressTokens.valueFontSize}:
|
|
128
|
-
${_emotion.progressTokens.valueFontStyle}:
|
|
129
|
-
${_emotion.progressTokens.valueFontWeight}:
|
|
130
|
-
${_emotion.progressTokens.valueLetterSpacing}:
|
|
131
|
-
${_emotion.progressTokens.valueLineHeight}:
|
|
127
|
+
${_emotion.progressTokens.valueFontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
128
|
+
${_emotion.progressTokens.valueFontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
129
|
+
${_emotion.progressTokens.valueFontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
130
|
+
${_emotion.progressTokens.valueFontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
131
|
+
${_emotion.progressTokens.valueLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
132
|
+
${_emotion.progressTokens.valueLineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
132
133
|
${_emotion.progressTokens.valueMarginLeft}: 1.25rem;
|
|
133
134
|
|
|
134
|
-
${_emotion.progressTokens.captionFontFamily}:
|
|
135
|
-
${_emotion.progressTokens.captionFontSize}:
|
|
136
|
-
${_emotion.progressTokens.captionFontStyle}:
|
|
137
|
-
${_emotion.progressTokens.captionFontWeight}:
|
|
138
|
-
${_emotion.progressTokens.captionLetterSpacing}:
|
|
139
|
-
${_emotion.progressTokens.captionLineHeight}:
|
|
135
|
+
${_emotion.progressTokens.captionFontFamily}: ${_sdds_cs.bodyXS.fontFamily};
|
|
136
|
+
${_emotion.progressTokens.captionFontSize}: ${_sdds_cs.bodyXS.fontSize};
|
|
137
|
+
${_emotion.progressTokens.captionFontStyle}: ${_sdds_cs.bodyXS.fontStyle};
|
|
138
|
+
${_emotion.progressTokens.captionFontWeight}: ${_sdds_cs.bodyXS.fontWeight};
|
|
139
|
+
${_emotion.progressTokens.captionLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
|
|
140
|
+
${_emotion.progressTokens.captionLineHeight}: ${_sdds_cs.bodyXS.lineHeight};
|
|
140
141
|
${_emotion.progressTokens.captionMarginTop}: 0.5rem;
|
|
141
142
|
`,
|
|
142
143
|
s: (0, _emotion.css)`
|
|
@@ -144,27 +145,27 @@ const config = {
|
|
|
144
145
|
${_emotion.progressTokens.labelWrapperGap}: 0.375rem;
|
|
145
146
|
${_emotion.progressTokens.labelWrapperMarginRight}: 1rem;
|
|
146
147
|
|
|
147
|
-
${_emotion.progressTokens.labelFontFamily}:
|
|
148
|
-
${_emotion.progressTokens.labelFontSize}:
|
|
149
|
-
${_emotion.progressTokens.labelFontStyle}:
|
|
150
|
-
${_emotion.progressTokens.labelFontWeight}:
|
|
151
|
-
${_emotion.progressTokens.labelLetterSpacing}:
|
|
152
|
-
${_emotion.progressTokens.labelLineHeight}:
|
|
148
|
+
${_emotion.progressTokens.labelFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
149
|
+
${_emotion.progressTokens.labelFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
150
|
+
${_emotion.progressTokens.labelFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
151
|
+
${_emotion.progressTokens.labelFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
152
|
+
${_emotion.progressTokens.labelLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
153
|
+
${_emotion.progressTokens.labelLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
153
154
|
|
|
154
|
-
${_emotion.progressTokens.valueFontFamily}:
|
|
155
|
-
${_emotion.progressTokens.valueFontSize}:
|
|
156
|
-
${_emotion.progressTokens.valueFontStyle}:
|
|
157
|
-
${_emotion.progressTokens.valueFontWeight}:
|
|
158
|
-
${_emotion.progressTokens.valueLetterSpacing}:
|
|
159
|
-
${_emotion.progressTokens.valueLineHeight}:
|
|
155
|
+
${_emotion.progressTokens.valueFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
156
|
+
${_emotion.progressTokens.valueFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
157
|
+
${_emotion.progressTokens.valueFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
158
|
+
${_emotion.progressTokens.valueFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
159
|
+
${_emotion.progressTokens.valueLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
160
|
+
${_emotion.progressTokens.valueLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
160
161
|
${_emotion.progressTokens.valueMarginLeft}: 1rem;
|
|
161
162
|
|
|
162
|
-
${_emotion.progressTokens.captionFontFamily}:
|
|
163
|
-
${_emotion.progressTokens.captionFontSize}:
|
|
164
|
-
${_emotion.progressTokens.captionFontStyle}:
|
|
165
|
-
${_emotion.progressTokens.captionFontWeight}:
|
|
166
|
-
${_emotion.progressTokens.captionLetterSpacing}:
|
|
167
|
-
${_emotion.progressTokens.captionLineHeight}:
|
|
163
|
+
${_emotion.progressTokens.captionFontFamily}: ${_sdds_cs.bodyXS.fontFamily};
|
|
164
|
+
${_emotion.progressTokens.captionFontSize}: ${_sdds_cs.bodyXS.fontSize};
|
|
165
|
+
${_emotion.progressTokens.captionFontStyle}: ${_sdds_cs.bodyXS.fontStyle};
|
|
166
|
+
${_emotion.progressTokens.captionFontWeight}: ${_sdds_cs.bodyXS.fontWeight};
|
|
167
|
+
${_emotion.progressTokens.captionLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
|
|
168
|
+
${_emotion.progressTokens.captionLineHeight}: ${_sdds_cs.bodyXS.lineHeight};
|
|
168
169
|
${_emotion.progressTokens.captionMarginTop}: 0.5rem;
|
|
169
170
|
`
|
|
170
171
|
},
|
|
@@ -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: {
|
|
@@ -29,29 +30,29 @@ const config = {
|
|
|
29
30
|
${_emotion.radioboxTokens.contentTopOffset}: 0;
|
|
30
31
|
${_emotion.radioboxTokens.contentLeftOffset}: 0.625rem;
|
|
31
32
|
${_emotion.radioboxTokens.descriptionMarginTop}: 0.125rem;
|
|
32
|
-
${_emotion.radioboxTokens.labelFontFamily}:
|
|
33
|
-
${_emotion.radioboxTokens.labelFontSize}:
|
|
34
|
-
${_emotion.radioboxTokens.labelFontStyle}:
|
|
35
|
-
${_emotion.radioboxTokens.labelFontWeight}:
|
|
36
|
-
${_emotion.radioboxTokens.labelLetterSpacing}:
|
|
37
|
-
${_emotion.radioboxTokens.labelLineHeight}:
|
|
38
|
-
${_emotion.radioboxTokens.descriptionFontFamily}:
|
|
39
|
-
${_emotion.radioboxTokens.descriptionFontSize}:
|
|
40
|
-
${_emotion.radioboxTokens.descriptionFontStyle}:
|
|
41
|
-
${_emotion.radioboxTokens.descriptionFontWeight}:
|
|
42
|
-
${_emotion.radioboxTokens.descriptionLetterSpacing}:
|
|
43
|
-
${_emotion.radioboxTokens.descriptionLineHeight}:
|
|
33
|
+
${_emotion.radioboxTokens.labelFontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
34
|
+
${_emotion.radioboxTokens.labelFontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
35
|
+
${_emotion.radioboxTokens.labelFontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
36
|
+
${_emotion.radioboxTokens.labelFontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
37
|
+
${_emotion.radioboxTokens.labelLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
38
|
+
${_emotion.radioboxTokens.labelLineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
39
|
+
${_emotion.radioboxTokens.descriptionFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
40
|
+
${_emotion.radioboxTokens.descriptionFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
41
|
+
${_emotion.radioboxTokens.descriptionFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
42
|
+
${_emotion.radioboxTokens.descriptionFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
43
|
+
${_emotion.radioboxTokens.descriptionLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
44
|
+
${_emotion.radioboxTokens.descriptionLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
44
45
|
`
|
|
45
46
|
},
|
|
46
47
|
/**
|
|
47
48
|
* Вид контрола.
|
|
48
49
|
*/ view: {
|
|
49
50
|
accent: (0, _emotion.css)`
|
|
50
|
-
${_emotion.radioboxTokens.fillColor}:
|
|
51
|
-
${_emotion.radioboxTokens.ellipseColor}:
|
|
52
|
-
${_emotion.radioboxTokens.descriptionColor}:
|
|
53
|
-
${_emotion.radioboxTokens.triggerBackgroundColor}:
|
|
54
|
-
${_emotion.radioboxTokens.triggerBorderColor}:
|
|
51
|
+
${_emotion.radioboxTokens.fillColor}: ${_sdds_cs.textAccent};
|
|
52
|
+
${_emotion.radioboxTokens.ellipseColor}: ${_sdds_cs.onDarkTextPrimary};
|
|
53
|
+
${_emotion.radioboxTokens.descriptionColor}: ${_sdds_cs.textSecondary};
|
|
54
|
+
${_emotion.radioboxTokens.triggerBackgroundColor}: ${_sdds_cs.surfaceSolidCard};
|
|
55
|
+
${_emotion.radioboxTokens.triggerBorderColor}: ${_sdds_cs.outlineAccent};
|
|
55
56
|
${_emotion.radioboxTokens.triggerBorderCheckedColor}: transparent;
|
|
56
57
|
`
|
|
57
58
|
},
|
|
@@ -62,7 +63,7 @@ const config = {
|
|
|
62
63
|
},
|
|
63
64
|
focused: {
|
|
64
65
|
true: (0, _emotion.css)`
|
|
65
|
-
${_emotion.radioboxTokens.focusColor}:
|
|
66
|
+
${_emotion.radioboxTokens.focusColor}: ${_sdds_cs.textAccent};
|
|
66
67
|
`
|
|
67
68
|
}
|
|
68
69
|
}
|