@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
|
@@ -19,6 +19,7 @@ _export(exports, {
|
|
|
19
19
|
return configS;
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
|
+
const _sdds_cs = require("@salutejs/sdds-themes/tokens/sdds_cs");
|
|
22
23
|
const _emotion = require("@salutejs/plasma-new-hope/emotion");
|
|
23
24
|
const configL = {
|
|
24
25
|
defaults: {
|
|
@@ -27,14 +28,14 @@ const configL = {
|
|
|
27
28
|
variations: {
|
|
28
29
|
size: {
|
|
29
30
|
l: (0, _emotion.css)`
|
|
30
|
-
${_emotion.typographyTokens.typoFontFamily}:
|
|
31
|
-
${_emotion.typographyTokens.typoFontSize}:
|
|
32
|
-
${_emotion.typographyTokens.typoFontStyle}:
|
|
33
|
-
${_emotion.typographyTokens.typoFontWeight}:
|
|
34
|
-
${_emotion.typographyTokens.typoFontWeightBold}:
|
|
35
|
-
${_emotion.typographyTokens.typoFontWeightMedium}:
|
|
36
|
-
${_emotion.typographyTokens.typoFontLetterSpacing}:
|
|
37
|
-
${_emotion.typographyTokens.typoFontLineHeight}:
|
|
31
|
+
${_emotion.typographyTokens.typoFontFamily}: ${_sdds_cs.dsplL.fontFamily};
|
|
32
|
+
${_emotion.typographyTokens.typoFontSize}: ${_sdds_cs.dsplL.fontSize};
|
|
33
|
+
${_emotion.typographyTokens.typoFontStyle}: ${_sdds_cs.dsplL.fontStyle};
|
|
34
|
+
${_emotion.typographyTokens.typoFontWeight}: ${_sdds_cs.dsplL.fontWeight};
|
|
35
|
+
${_emotion.typographyTokens.typoFontWeightBold}: ${_sdds_cs.dsplLBold.fontWeight};
|
|
36
|
+
${_emotion.typographyTokens.typoFontWeightMedium}: ${_sdds_cs.dsplLMedium.fontWeight};
|
|
37
|
+
${_emotion.typographyTokens.typoFontLetterSpacing}: ${_sdds_cs.dsplL.letterSpacing};
|
|
38
|
+
${_emotion.typographyTokens.typoFontLineHeight}: ${_sdds_cs.dsplL.lineHeight};
|
|
38
39
|
`
|
|
39
40
|
}
|
|
40
41
|
}
|
|
@@ -46,14 +47,14 @@ const configM = {
|
|
|
46
47
|
variations: {
|
|
47
48
|
size: {
|
|
48
49
|
m: (0, _emotion.css)`
|
|
49
|
-
${_emotion.typographyTokens.typoFontFamily}:
|
|
50
|
-
${_emotion.typographyTokens.typoFontSize}:
|
|
51
|
-
${_emotion.typographyTokens.typoFontStyle}:
|
|
52
|
-
${_emotion.typographyTokens.typoFontWeight}:
|
|
53
|
-
${_emotion.typographyTokens.typoFontWeightBold}:
|
|
54
|
-
${_emotion.typographyTokens.typoFontWeightMedium}:
|
|
55
|
-
${_emotion.typographyTokens.typoFontLetterSpacing}:
|
|
56
|
-
${_emotion.typographyTokens.typoFontLineHeight}:
|
|
50
|
+
${_emotion.typographyTokens.typoFontFamily}: ${_sdds_cs.dsplM.fontFamily};
|
|
51
|
+
${_emotion.typographyTokens.typoFontSize}: ${_sdds_cs.dsplM.fontSize};
|
|
52
|
+
${_emotion.typographyTokens.typoFontStyle}: ${_sdds_cs.dsplM.fontStyle};
|
|
53
|
+
${_emotion.typographyTokens.typoFontWeight}: ${_sdds_cs.dsplM.fontWeight};
|
|
54
|
+
${_emotion.typographyTokens.typoFontWeightBold}: ${_sdds_cs.dsplMBold.fontWeight};
|
|
55
|
+
${_emotion.typographyTokens.typoFontWeightMedium}: ${_sdds_cs.dsplMMedium.fontWeight};
|
|
56
|
+
${_emotion.typographyTokens.typoFontLetterSpacing}: ${_sdds_cs.dsplM.letterSpacing};
|
|
57
|
+
${_emotion.typographyTokens.typoFontLineHeight}: ${_sdds_cs.dsplM.lineHeight};
|
|
57
58
|
`
|
|
58
59
|
}
|
|
59
60
|
}
|
|
@@ -65,14 +66,14 @@ const configS = {
|
|
|
65
66
|
variations: {
|
|
66
67
|
size: {
|
|
67
68
|
s: (0, _emotion.css)`
|
|
68
|
-
${_emotion.typographyTokens.typoFontFamily}:
|
|
69
|
-
${_emotion.typographyTokens.typoFontSize}:
|
|
70
|
-
${_emotion.typographyTokens.typoFontStyle}:
|
|
71
|
-
${_emotion.typographyTokens.typoFontWeight}:
|
|
72
|
-
${_emotion.typographyTokens.typoFontWeightBold}:
|
|
73
|
-
${_emotion.typographyTokens.typoFontWeightMedium}:
|
|
74
|
-
${_emotion.typographyTokens.typoFontLetterSpacing}:
|
|
75
|
-
${_emotion.typographyTokens.typoFontLineHeight}:
|
|
69
|
+
${_emotion.typographyTokens.typoFontFamily}: ${_sdds_cs.dsplS.fontFamily};
|
|
70
|
+
${_emotion.typographyTokens.typoFontSize}: ${_sdds_cs.dsplS.fontSize};
|
|
71
|
+
${_emotion.typographyTokens.typoFontStyle}: ${_sdds_cs.dsplS.fontStyle};
|
|
72
|
+
${_emotion.typographyTokens.typoFontWeight}: ${_sdds_cs.dsplS.fontWeight};
|
|
73
|
+
${_emotion.typographyTokens.typoFontWeightBold}: ${_sdds_cs.dsplSBold.fontWeight};
|
|
74
|
+
${_emotion.typographyTokens.typoFontWeightMedium}: ${_sdds_cs.dsplSMedium.fontWeight};
|
|
75
|
+
${_emotion.typographyTokens.typoFontLetterSpacing}: ${_sdds_cs.dsplS.letterSpacing};
|
|
76
|
+
${_emotion.typographyTokens.typoFontLineHeight}: ${_sdds_cs.dsplS.lineHeight};
|
|
76
77
|
`
|
|
77
78
|
}
|
|
78
79
|
}
|
|
@@ -25,6 +25,7 @@ _export(exports, {
|
|
|
25
25
|
return configH5;
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
|
+
const _sdds_cs = require("@salutejs/sdds-themes/tokens/sdds_cs");
|
|
28
29
|
const _emotion = require("@salutejs/plasma-new-hope/emotion");
|
|
29
30
|
const configH1 = {
|
|
30
31
|
defaults: {
|
|
@@ -33,14 +34,14 @@ const configH1 = {
|
|
|
33
34
|
variations: {
|
|
34
35
|
size: {
|
|
35
36
|
h1: (0, _emotion.css)`
|
|
36
|
-
${_emotion.typographyTokens.typoFontFamily}:
|
|
37
|
-
${_emotion.typographyTokens.typoFontSize}:
|
|
38
|
-
${_emotion.typographyTokens.typoFontStyle}:
|
|
39
|
-
${_emotion.typographyTokens.typoFontWeight}:
|
|
40
|
-
${_emotion.typographyTokens.typoFontWeightBold}:
|
|
41
|
-
${_emotion.typographyTokens.typoFontWeightMedium}:
|
|
42
|
-
${_emotion.typographyTokens.typoFontLetterSpacing}:
|
|
43
|
-
${_emotion.typographyTokens.typoFontLineHeight}:
|
|
37
|
+
${_emotion.typographyTokens.typoFontFamily}: ${_sdds_cs.h1.fontFamily};
|
|
38
|
+
${_emotion.typographyTokens.typoFontSize}: ${_sdds_cs.h1.fontSize};
|
|
39
|
+
${_emotion.typographyTokens.typoFontStyle}: ${_sdds_cs.h1.fontStyle};
|
|
40
|
+
${_emotion.typographyTokens.typoFontWeight}: ${_sdds_cs.h1.fontWeight};
|
|
41
|
+
${_emotion.typographyTokens.typoFontWeightBold}: ${_sdds_cs.h1Bold.fontWeight};
|
|
42
|
+
${_emotion.typographyTokens.typoFontWeightMedium}: ${_sdds_cs.h1Medium.fontWeight};
|
|
43
|
+
${_emotion.typographyTokens.typoFontLetterSpacing}: ${_sdds_cs.h1.letterSpacing};
|
|
44
|
+
${_emotion.typographyTokens.typoFontLineHeight}: ${_sdds_cs.h1.lineHeight};
|
|
44
45
|
`
|
|
45
46
|
}
|
|
46
47
|
}
|
|
@@ -52,14 +53,14 @@ const configH2 = {
|
|
|
52
53
|
variations: {
|
|
53
54
|
size: {
|
|
54
55
|
h2: (0, _emotion.css)`
|
|
55
|
-
${_emotion.typographyTokens.typoFontFamily}:
|
|
56
|
-
${_emotion.typographyTokens.typoFontSize}:
|
|
57
|
-
${_emotion.typographyTokens.typoFontStyle}:
|
|
58
|
-
${_emotion.typographyTokens.typoFontWeight}:
|
|
59
|
-
${_emotion.typographyTokens.typoFontWeightBold}:
|
|
60
|
-
${_emotion.typographyTokens.typoFontWeightMedium}:
|
|
61
|
-
${_emotion.typographyTokens.typoFontLetterSpacing}:
|
|
62
|
-
${_emotion.typographyTokens.typoFontLineHeight}:
|
|
56
|
+
${_emotion.typographyTokens.typoFontFamily}: ${_sdds_cs.h2.fontFamily};
|
|
57
|
+
${_emotion.typographyTokens.typoFontSize}: ${_sdds_cs.h2.fontSize};
|
|
58
|
+
${_emotion.typographyTokens.typoFontStyle}: ${_sdds_cs.h2.fontStyle};
|
|
59
|
+
${_emotion.typographyTokens.typoFontWeight}: ${_sdds_cs.h2.fontWeight};
|
|
60
|
+
${_emotion.typographyTokens.typoFontWeightBold}: ${_sdds_cs.h2Bold.fontWeight};
|
|
61
|
+
${_emotion.typographyTokens.typoFontWeightMedium}: ${_sdds_cs.h2Medium.fontWeight};
|
|
62
|
+
${_emotion.typographyTokens.typoFontLetterSpacing}: ${_sdds_cs.h2.letterSpacing};
|
|
63
|
+
${_emotion.typographyTokens.typoFontLineHeight}: ${_sdds_cs.h2.lineHeight};
|
|
63
64
|
`
|
|
64
65
|
}
|
|
65
66
|
}
|
|
@@ -71,14 +72,14 @@ const configH3 = {
|
|
|
71
72
|
variations: {
|
|
72
73
|
size: {
|
|
73
74
|
h3: (0, _emotion.css)`
|
|
74
|
-
${_emotion.typographyTokens.typoFontFamily}:
|
|
75
|
-
${_emotion.typographyTokens.typoFontSize}:
|
|
76
|
-
${_emotion.typographyTokens.typoFontStyle}:
|
|
77
|
-
${_emotion.typographyTokens.typoFontWeight}:
|
|
78
|
-
${_emotion.typographyTokens.typoFontWeightBold}:
|
|
79
|
-
${_emotion.typographyTokens.typoFontWeightMedium}:
|
|
80
|
-
${_emotion.typographyTokens.typoFontLetterSpacing}:
|
|
81
|
-
${_emotion.typographyTokens.typoFontLineHeight}:
|
|
75
|
+
${_emotion.typographyTokens.typoFontFamily}: ${_sdds_cs.h3.fontFamily};
|
|
76
|
+
${_emotion.typographyTokens.typoFontSize}: ${_sdds_cs.h3.fontSize};
|
|
77
|
+
${_emotion.typographyTokens.typoFontStyle}: ${_sdds_cs.h3.fontStyle};
|
|
78
|
+
${_emotion.typographyTokens.typoFontWeight}: ${_sdds_cs.h3.fontWeight};
|
|
79
|
+
${_emotion.typographyTokens.typoFontWeightBold}: ${_sdds_cs.h3Bold.fontWeight};
|
|
80
|
+
${_emotion.typographyTokens.typoFontWeightMedium}: ${_sdds_cs.h3Medium.fontWeight};
|
|
81
|
+
${_emotion.typographyTokens.typoFontLetterSpacing}: ${_sdds_cs.h3.letterSpacing};
|
|
82
|
+
${_emotion.typographyTokens.typoFontLineHeight}: ${_sdds_cs.h3.lineHeight};
|
|
82
83
|
`
|
|
83
84
|
}
|
|
84
85
|
}
|
|
@@ -90,14 +91,14 @@ const configH4 = {
|
|
|
90
91
|
variations: {
|
|
91
92
|
size: {
|
|
92
93
|
h4: (0, _emotion.css)`
|
|
93
|
-
${_emotion.typographyTokens.typoFontFamily}:
|
|
94
|
-
${_emotion.typographyTokens.typoFontSize}:
|
|
95
|
-
${_emotion.typographyTokens.typoFontStyle}:
|
|
96
|
-
${_emotion.typographyTokens.typoFontWeight}:
|
|
97
|
-
${_emotion.typographyTokens.typoFontWeightBold}:
|
|
98
|
-
${_emotion.typographyTokens.typoFontWeightMedium}:
|
|
99
|
-
${_emotion.typographyTokens.typoFontLetterSpacing}:
|
|
100
|
-
${_emotion.typographyTokens.typoFontLineHeight}:
|
|
94
|
+
${_emotion.typographyTokens.typoFontFamily}: ${_sdds_cs.h4.fontFamily};
|
|
95
|
+
${_emotion.typographyTokens.typoFontSize}: ${_sdds_cs.h4.fontSize};
|
|
96
|
+
${_emotion.typographyTokens.typoFontStyle}: ${_sdds_cs.h4.fontStyle};
|
|
97
|
+
${_emotion.typographyTokens.typoFontWeight}: ${_sdds_cs.h4.fontWeight};
|
|
98
|
+
${_emotion.typographyTokens.typoFontWeightBold}: ${_sdds_cs.h4Bold.fontWeight};
|
|
99
|
+
${_emotion.typographyTokens.typoFontWeightMedium}: ${_sdds_cs.h4Medium.fontWeight};
|
|
100
|
+
${_emotion.typographyTokens.typoFontLetterSpacing}: ${_sdds_cs.h4.letterSpacing};
|
|
101
|
+
${_emotion.typographyTokens.typoFontLineHeight}: ${_sdds_cs.h4.lineHeight};
|
|
101
102
|
`
|
|
102
103
|
}
|
|
103
104
|
}
|
|
@@ -109,14 +110,14 @@ const configH5 = {
|
|
|
109
110
|
variations: {
|
|
110
111
|
size: {
|
|
111
112
|
h5: (0, _emotion.css)`
|
|
112
|
-
${_emotion.typographyTokens.typoFontFamily}:
|
|
113
|
-
${_emotion.typographyTokens.typoFontSize}:
|
|
114
|
-
${_emotion.typographyTokens.typoFontStyle}:
|
|
115
|
-
${_emotion.typographyTokens.typoFontWeight}:
|
|
116
|
-
${_emotion.typographyTokens.typoFontWeightBold}:
|
|
117
|
-
${_emotion.typographyTokens.typoFontWeightMedium}:
|
|
118
|
-
${_emotion.typographyTokens.typoFontLetterSpacing}:
|
|
119
|
-
${_emotion.typographyTokens.typoFontLineHeight}:
|
|
113
|
+
${_emotion.typographyTokens.typoFontFamily}: ${_sdds_cs.h5.fontFamily};
|
|
114
|
+
${_emotion.typographyTokens.typoFontSize}: ${_sdds_cs.h5.fontSize};
|
|
115
|
+
${_emotion.typographyTokens.typoFontStyle}: ${_sdds_cs.h5.fontStyle};
|
|
116
|
+
${_emotion.typographyTokens.typoFontWeight}: ${_sdds_cs.h5.fontWeight};
|
|
117
|
+
${_emotion.typographyTokens.typoFontWeightBold}: ${_sdds_cs.h5Bold.fontWeight};
|
|
118
|
+
${_emotion.typographyTokens.typoFontWeightMedium}: ${_sdds_cs.h5Medium.fontWeight};
|
|
119
|
+
${_emotion.typographyTokens.typoFontLetterSpacing}: ${_sdds_cs.h5.letterSpacing};
|
|
120
|
+
${_emotion.typographyTokens.typoFontLineHeight}: ${_sdds_cs.h5.lineHeight};
|
|
120
121
|
`
|
|
121
122
|
}
|
|
122
123
|
}
|
|
@@ -22,6 +22,7 @@ _export(exports, {
|
|
|
22
22
|
return configXS;
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
|
+
const _sdds_cs = require("@salutejs/sdds-themes/tokens/sdds_cs");
|
|
25
26
|
const _emotion = require("@salutejs/plasma-new-hope/emotion");
|
|
26
27
|
const configL = {
|
|
27
28
|
defaults: {
|
|
@@ -30,14 +31,14 @@ const configL = {
|
|
|
30
31
|
variations: {
|
|
31
32
|
size: {
|
|
32
33
|
l: (0, _emotion.css)`
|
|
33
|
-
${_emotion.typographyTokens.typoFontFamily}:
|
|
34
|
-
${_emotion.typographyTokens.typoFontSize}:
|
|
35
|
-
${_emotion.typographyTokens.typoFontStyle}:
|
|
36
|
-
${_emotion.typographyTokens.typoFontWeight}:
|
|
37
|
-
${_emotion.typographyTokens.typoFontWeightBold}:
|
|
38
|
-
${_emotion.typographyTokens.typoFontWeightMedium}:
|
|
39
|
-
${_emotion.typographyTokens.typoFontLetterSpacing}:
|
|
40
|
-
${_emotion.typographyTokens.typoFontLineHeight}:
|
|
34
|
+
${_emotion.typographyTokens.typoFontFamily}: ${_sdds_cs.textL.fontFamily};
|
|
35
|
+
${_emotion.typographyTokens.typoFontSize}: ${_sdds_cs.textL.fontSize};
|
|
36
|
+
${_emotion.typographyTokens.typoFontStyle}: ${_sdds_cs.textL.fontStyle};
|
|
37
|
+
${_emotion.typographyTokens.typoFontWeight}: ${_sdds_cs.textL.fontWeight};
|
|
38
|
+
${_emotion.typographyTokens.typoFontWeightBold}: ${_sdds_cs.textLBold.fontWeight};
|
|
39
|
+
${_emotion.typographyTokens.typoFontWeightMedium}: ${_sdds_cs.textLMedium.fontWeight};
|
|
40
|
+
${_emotion.typographyTokens.typoFontLetterSpacing}: ${_sdds_cs.textL.letterSpacing};
|
|
41
|
+
${_emotion.typographyTokens.typoFontLineHeight}: ${_sdds_cs.textL.lineHeight};
|
|
41
42
|
`
|
|
42
43
|
}
|
|
43
44
|
}
|
|
@@ -49,14 +50,14 @@ const configM = {
|
|
|
49
50
|
variations: {
|
|
50
51
|
size: {
|
|
51
52
|
m: (0, _emotion.css)`
|
|
52
|
-
${_emotion.typographyTokens.typoFontFamily}:
|
|
53
|
-
${_emotion.typographyTokens.typoFontSize}:
|
|
54
|
-
${_emotion.typographyTokens.typoFontStyle}:
|
|
55
|
-
${_emotion.typographyTokens.typoFontWeight}:
|
|
56
|
-
${_emotion.typographyTokens.typoFontWeightBold}:
|
|
57
|
-
${_emotion.typographyTokens.typoFontWeightMedium}:
|
|
58
|
-
${_emotion.typographyTokens.typoFontLetterSpacing}:
|
|
59
|
-
${_emotion.typographyTokens.typoFontLineHeight}:
|
|
53
|
+
${_emotion.typographyTokens.typoFontFamily}: ${_sdds_cs.textM.fontFamily};
|
|
54
|
+
${_emotion.typographyTokens.typoFontSize}: ${_sdds_cs.textM.fontSize};
|
|
55
|
+
${_emotion.typographyTokens.typoFontStyle}: ${_sdds_cs.textM.fontStyle};
|
|
56
|
+
${_emotion.typographyTokens.typoFontWeight}: ${_sdds_cs.textM.fontWeight};
|
|
57
|
+
${_emotion.typographyTokens.typoFontWeightBold}: ${_sdds_cs.textMBold.fontWeight};
|
|
58
|
+
${_emotion.typographyTokens.typoFontWeightMedium}: ${_sdds_cs.textMMedium.fontWeight};
|
|
59
|
+
${_emotion.typographyTokens.typoFontLetterSpacing}: ${_sdds_cs.textM.letterSpacing};
|
|
60
|
+
${_emotion.typographyTokens.typoFontLineHeight}: ${_sdds_cs.textM.lineHeight};
|
|
60
61
|
`
|
|
61
62
|
}
|
|
62
63
|
}
|
|
@@ -68,14 +69,14 @@ const configS = {
|
|
|
68
69
|
variations: {
|
|
69
70
|
size: {
|
|
70
71
|
s: (0, _emotion.css)`
|
|
71
|
-
${_emotion.typographyTokens.typoFontFamily}:
|
|
72
|
-
${_emotion.typographyTokens.typoFontSize}:
|
|
73
|
-
${_emotion.typographyTokens.typoFontStyle}:
|
|
74
|
-
${_emotion.typographyTokens.typoFontWeight}:
|
|
75
|
-
${_emotion.typographyTokens.typoFontWeightBold}:
|
|
76
|
-
${_emotion.typographyTokens.typoFontWeightMedium}:
|
|
77
|
-
${_emotion.typographyTokens.typoFontLetterSpacing}:
|
|
78
|
-
${_emotion.typographyTokens.typoFontLineHeight}:
|
|
72
|
+
${_emotion.typographyTokens.typoFontFamily}: ${_sdds_cs.textS.fontFamily};
|
|
73
|
+
${_emotion.typographyTokens.typoFontSize}: ${_sdds_cs.textS.fontSize};
|
|
74
|
+
${_emotion.typographyTokens.typoFontStyle}: ${_sdds_cs.textS.fontStyle};
|
|
75
|
+
${_emotion.typographyTokens.typoFontWeight}: ${_sdds_cs.textS.fontWeight};
|
|
76
|
+
${_emotion.typographyTokens.typoFontWeightBold}: ${_sdds_cs.textSBold.fontWeight};
|
|
77
|
+
${_emotion.typographyTokens.typoFontWeightMedium}: ${_sdds_cs.textSMedium.fontWeight};
|
|
78
|
+
${_emotion.typographyTokens.typoFontLetterSpacing}: ${_sdds_cs.textS.letterSpacing};
|
|
79
|
+
${_emotion.typographyTokens.typoFontLineHeight}: ${_sdds_cs.textS.lineHeight};
|
|
79
80
|
`
|
|
80
81
|
}
|
|
81
82
|
}
|
|
@@ -87,14 +88,14 @@ const configXS = {
|
|
|
87
88
|
variations: {
|
|
88
89
|
size: {
|
|
89
90
|
xs: (0, _emotion.css)`
|
|
90
|
-
${_emotion.typographyTokens.typoFontFamily}:
|
|
91
|
-
${_emotion.typographyTokens.typoFontSize}:
|
|
92
|
-
${_emotion.typographyTokens.typoFontStyle}:
|
|
93
|
-
${_emotion.typographyTokens.typoFontWeight}:
|
|
94
|
-
${_emotion.typographyTokens.typoFontWeightBold}:
|
|
95
|
-
${_emotion.typographyTokens.typoFontWeightMedium}:
|
|
96
|
-
${_emotion.typographyTokens.typoFontLetterSpacing}:
|
|
97
|
-
${_emotion.typographyTokens.typoFontLineHeight}:
|
|
91
|
+
${_emotion.typographyTokens.typoFontFamily}: ${_sdds_cs.textXS.fontFamily};
|
|
92
|
+
${_emotion.typographyTokens.typoFontSize}: ${_sdds_cs.textXS.fontSize};
|
|
93
|
+
${_emotion.typographyTokens.typoFontStyle}: ${_sdds_cs.textXS.fontStyle};
|
|
94
|
+
${_emotion.typographyTokens.typoFontWeight}: ${_sdds_cs.textXS.fontWeight};
|
|
95
|
+
${_emotion.typographyTokens.typoFontWeightBold}: ${_sdds_cs.textXSBold.fontWeight};
|
|
96
|
+
${_emotion.typographyTokens.typoFontWeightMedium}: ${_sdds_cs.textXSMedium.fontWeight};
|
|
97
|
+
${_emotion.typographyTokens.typoFontLetterSpacing}: ${_sdds_cs.textXS.letterSpacing};
|
|
98
|
+
${_emotion.typographyTokens.typoFontLineHeight}: ${_sdds_cs.textXS.lineHeight};
|
|
98
99
|
`
|
|
99
100
|
}
|
|
100
101
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bodyM, bodyMBold, surfaceAccent, surfaceClear, surfaceSolidCard, surfaceSolidTertiary, textAccent, textPrimary } from '@salutejs/sdds-themes/tokens/sdds_cs';
|
|
1
2
|
import { css, accordionTokens } from '@salutejs/plasma-new-hope/emotion';
|
|
2
3
|
export const config = {
|
|
3
4
|
defaults: {
|
|
@@ -10,12 +11,12 @@ export const config = {
|
|
|
10
11
|
${accordionTokens.accordionGap}: 0.125rem;
|
|
11
12
|
${accordionTokens.accordionWidth}: 20rem;
|
|
12
13
|
${accordionTokens.accordionItemPadding}: var(${accordionTokens.accordionItemPaddingVertical}) var(${accordionTokens.accordionItemPaddingHorizontal});
|
|
13
|
-
${accordionTokens.accordionItemBackground}:
|
|
14
|
-
${accordionTokens.accordionItemTitleColor}:
|
|
15
|
-
${accordionTokens.accordionItemTextColor}:
|
|
16
|
-
${accordionTokens.accordionItemIconColor}:
|
|
17
|
-
${accordionTokens.accordionItemFocus}:
|
|
18
|
-
${accordionTokens.accordionBackground}:
|
|
14
|
+
${accordionTokens.accordionItemBackground}: ${surfaceSolidCard};
|
|
15
|
+
${accordionTokens.accordionItemTitleColor}: ${textPrimary};
|
|
16
|
+
${accordionTokens.accordionItemTextColor}: ${textPrimary};
|
|
17
|
+
${accordionTokens.accordionItemIconColor}: ${textAccent};
|
|
18
|
+
${accordionTokens.accordionItemFocus}: ${surfaceAccent};
|
|
19
|
+
${accordionTokens.accordionBackground}: ${surfaceClear};
|
|
19
20
|
${accordionTokens.accordionItemBorderBottom}: 0;
|
|
20
21
|
${accordionTokens.accordionItemPaddingHorizontalLeft}: var(${accordionTokens.accordionItemPaddingHorizontal});
|
|
21
22
|
`,
|
|
@@ -23,14 +24,14 @@ export const config = {
|
|
|
23
24
|
${accordionTokens.accordionGap}: 0;
|
|
24
25
|
${accordionTokens.accordionWidth}: 20rem;
|
|
25
26
|
${accordionTokens.accordionItemPadding}: var(${accordionTokens.accordionItemPaddingVertical}) 0rem;
|
|
26
|
-
${accordionTokens.accordionItemBackground}:
|
|
27
|
-
${accordionTokens.accordionItemTitleColor}:
|
|
28
|
-
${accordionTokens.accordionItemTextColor}:
|
|
29
|
-
${accordionTokens.accordionItemIconColor}:
|
|
30
|
-
${accordionTokens.accordionItemFocus}:
|
|
27
|
+
${accordionTokens.accordionItemBackground}: ${surfaceClear};
|
|
28
|
+
${accordionTokens.accordionItemTitleColor}: ${textPrimary};
|
|
29
|
+
${accordionTokens.accordionItemTextColor}: ${textPrimary};
|
|
30
|
+
${accordionTokens.accordionItemIconColor}: ${textAccent};
|
|
31
|
+
${accordionTokens.accordionItemFocus}: ${surfaceAccent};
|
|
31
32
|
${accordionTokens.accordionItemViewBorderRadius}: 0rem;
|
|
32
|
-
${accordionTokens.accordionBackground}:
|
|
33
|
-
${accordionTokens.accordionItemBorderBottom}: 0.125rem solid
|
|
33
|
+
${accordionTokens.accordionBackground}: ${surfaceClear};
|
|
34
|
+
${accordionTokens.accordionItemBorderBottom}: 0.125rem solid ${surfaceSolidTertiary};
|
|
34
35
|
${accordionTokens.accordionItemPaddingHorizontalLeft}: 0;
|
|
35
36
|
`
|
|
36
37
|
},
|
|
@@ -42,19 +43,19 @@ export const config = {
|
|
|
42
43
|
${accordionTokens.accordionItemGap}: 0.375rem;
|
|
43
44
|
${accordionTokens.accordionItemBorderRadius}: 0.625rem;
|
|
44
45
|
|
|
45
|
-
${accordionTokens.accordionItemTitleFontFamily}:
|
|
46
|
-
${accordionTokens.accordionItemTitleFontSize}:
|
|
47
|
-
${accordionTokens.accordionItemTitleFontStyle}:
|
|
48
|
-
${accordionTokens.accordionItemTitleFontWeight}:
|
|
49
|
-
${accordionTokens.accordionItemTitleLetterSpacing}:
|
|
50
|
-
${accordionTokens.accordionItemTitleLineHeight}:
|
|
46
|
+
${accordionTokens.accordionItemTitleFontFamily}: ${bodyM.fontFamily};
|
|
47
|
+
${accordionTokens.accordionItemTitleFontSize}: ${bodyM.fontSize};
|
|
48
|
+
${accordionTokens.accordionItemTitleFontStyle}: ${bodyM.fontStyle};
|
|
49
|
+
${accordionTokens.accordionItemTitleFontWeight}: ${bodyMBold.fontWeight};
|
|
50
|
+
${accordionTokens.accordionItemTitleLetterSpacing}: ${bodyM.letterSpacing};
|
|
51
|
+
${accordionTokens.accordionItemTitleLineHeight}: ${bodyM.lineHeight};
|
|
51
52
|
|
|
52
|
-
${accordionTokens.accordionItemTextFontFamily}:
|
|
53
|
-
${accordionTokens.accordionItemTextFontSize}:
|
|
54
|
-
${accordionTokens.accordionItemTextFontStyle}:
|
|
55
|
-
${accordionTokens.accordionItemTextFontWeight}:
|
|
56
|
-
${accordionTokens.accordionItemTextLetterSpacing}:
|
|
57
|
-
${accordionTokens.accordionItemTextLineHeight}:
|
|
53
|
+
${accordionTokens.accordionItemTextFontFamily}: ${bodyM.fontFamily};
|
|
54
|
+
${accordionTokens.accordionItemTextFontSize}: ${bodyM.fontSize};
|
|
55
|
+
${accordionTokens.accordionItemTextFontStyle}: ${bodyM.fontStyle};
|
|
56
|
+
${accordionTokens.accordionItemTextFontWeight}: ${bodyM.fontWeight};
|
|
57
|
+
${accordionTokens.accordionItemTextLetterSpacing}: ${bodyM.letterSpacing};
|
|
58
|
+
${accordionTokens.accordionItemTextLineHeight}: ${bodyM.lineHeight};
|
|
58
59
|
`
|
|
59
60
|
}
|
|
60
61
|
}
|