@salutejs/sdds-cs 0.361.0-next-sbcom.0 → 0.362.0-dev.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.
Files changed (149) hide show
  1. package/dist/beta/cjs/Popover/Popover.closeInner.config.js +11 -10
  2. package/dist/beta/cjs/Popover/Popover.closeNone.config.js +5 -4
  3. package/dist/beta/cjs/Tooltip/Tooltip.config.js +16 -15
  4. package/dist/beta/es/Popover/Popover.closeInner.config.js +11 -10
  5. package/dist/beta/es/Popover/Popover.closeNone.config.js +5 -4
  6. package/dist/beta/es/Tooltip/Tooltip.config.js +16 -15
  7. package/dist/emotion/cjs/components/Accordion/Accordion.config.js +26 -25
  8. package/dist/emotion/cjs/components/Attach/Attach.config.js +121 -120
  9. package/dist/emotion/cjs/components/Autocomplete/Autocomplete.config.js +123 -122
  10. package/dist/emotion/cjs/components/Avatar/Avatar.config.js +32 -31
  11. package/dist/emotion/cjs/components/Badge/Badge.clear.config.js +5 -4
  12. package/dist/emotion/cjs/components/Badge/Badge.config.js +17 -16
  13. package/dist/emotion/cjs/components/Breadcrumbs/Breadcrumbs.config.js +11 -10
  14. package/dist/emotion/cjs/components/Button/Button.config.js +44 -43
  15. package/dist/emotion/cjs/components/Button/Button.js +3 -3
  16. package/dist/emotion/cjs/components/ButtonGroup/ButtonGroup.config.js +39 -38
  17. package/dist/emotion/cjs/components/Calendar/Calendar.config.js +60 -59
  18. package/dist/emotion/cjs/components/Calendar/CalendarDouble.config.js +60 -59
  19. package/dist/emotion/cjs/components/Card/Card.config.js +2 -1
  20. package/dist/emotion/cjs/components/Carousel/Carousel.config.js +9 -8
  21. package/dist/emotion/cjs/components/Cell/Cell.config.js +41 -40
  22. package/dist/emotion/cjs/components/Checkbox/Checkbox.config.js +22 -21
  23. package/dist/emotion/cjs/components/Chip/Chip.config.js +53 -52
  24. package/dist/emotion/cjs/components/ChipGroup/ChipGroup.config.js +28 -27
  25. package/dist/emotion/cjs/components/Combobox/Combobox.config.js +160 -159
  26. package/dist/emotion/cjs/components/DatePicker/DatePicker.config.js +169 -168
  27. package/dist/emotion/cjs/components/Divider/Divider.config.js +5 -4
  28. package/dist/emotion/cjs/components/Drawer/Drawer.config.js +3 -2
  29. package/dist/emotion/cjs/components/Dropdown/Dropdown.config.js +21 -20
  30. package/dist/emotion/cjs/components/EmptyState/EmptyState.config.js +25 -24
  31. package/dist/emotion/cjs/components/IconButton/IconButton.config.js +29 -28
  32. package/dist/emotion/cjs/components/IconButton/IconButton.js +70 -1
  33. package/dist/emotion/cjs/components/Indicator/Indicator.config.js +8 -7
  34. package/dist/emotion/cjs/components/Link/Link.config.js +53 -52
  35. package/dist/emotion/cjs/components/Modal/Modal.config.js +6 -5
  36. package/dist/emotion/cjs/components/Notification/Notification.config.js +22 -21
  37. package/dist/emotion/cjs/components/NumberInput/NumberInput.config.js +30 -29
  38. package/dist/emotion/cjs/components/Pagination/Pagination.config.js +32 -31
  39. package/dist/emotion/cjs/components/Popover/Popover.config.js +3 -2
  40. package/dist/emotion/cjs/components/Progress/Progress.config.js +101 -100
  41. package/dist/emotion/cjs/components/Radiobox/Radiobox.config.js +19 -18
  42. package/dist/emotion/cjs/components/Range/Range.config.js +70 -69
  43. package/dist/emotion/cjs/components/Rating/Rating.config.js +33 -32
  44. package/dist/emotion/cjs/components/Segment/SegmentGroup.config.js +6 -5
  45. package/dist/emotion/cjs/components/Segment/SegmentItem.config.js +29 -28
  46. package/dist/emotion/cjs/components/Select/Select.config.js +126 -125
  47. package/dist/emotion/cjs/components/Sheet/Sheet.config.js +3 -2
  48. package/dist/emotion/cjs/components/Skeleton/LineSkeleton.config.js +35 -34
  49. package/dist/emotion/cjs/components/Slider/Slider.config.js +58 -57
  50. package/dist/emotion/cjs/components/Spinner/Spinner.config.js +8 -7
  51. package/dist/emotion/cjs/components/Steps/StepItem.config.js +8 -7
  52. package/dist/emotion/cjs/components/Steps/Steps.config.js +55 -54
  53. package/dist/emotion/cjs/components/Switch/Switch.config.js +26 -25
  54. package/dist/emotion/cjs/components/Table/Table.config.js +82 -81
  55. package/dist/emotion/cjs/components/Tabs/horizontal/HorizontalTabItem.config.js +74 -73
  56. package/dist/emotion/cjs/components/Tabs/horizontal/HorizontalTabs.config.js +22 -21
  57. package/dist/emotion/cjs/components/Tabs/vertical/VerticalTabItem.config.js +33 -32
  58. package/dist/emotion/cjs/components/Tabs/vertical/VerticalTabs.config.js +14 -13
  59. package/dist/emotion/cjs/components/TextArea/TextArea.clear.config.js +131 -130
  60. package/dist/emotion/cjs/components/TextArea/TextArea.config.js +160 -159
  61. package/dist/emotion/cjs/components/TextField/TextField.clear.config.js +119 -118
  62. package/dist/emotion/cjs/components/TextField/TextField.config.js +167 -166
  63. package/dist/emotion/cjs/components/TimePicker/TimePicker.config.js +79 -78
  64. package/dist/emotion/cjs/components/Toast/Toast.config.js +19 -18
  65. package/dist/emotion/cjs/components/ToastNew/ToastNew.config.js +11 -10
  66. package/dist/emotion/cjs/components/Tooltip/Tooltip.config.js +13 -12
  67. package/dist/emotion/cjs/components/Tour/Tour.config.js +2 -1
  68. package/dist/emotion/cjs/components/Tree/Tree.config.js +22 -21
  69. package/dist/emotion/cjs/components/Typography/Body.config.js +41 -40
  70. package/dist/emotion/cjs/components/Typography/Dspl.config.js +25 -24
  71. package/dist/emotion/cjs/components/Typography/Heading.config.js +41 -40
  72. package/dist/emotion/cjs/components/Typography/Text.config.js +33 -32
  73. package/dist/emotion/es/components/Accordion/Accordion.config.js +26 -25
  74. package/dist/emotion/es/components/Attach/Attach.config.js +121 -120
  75. package/dist/emotion/es/components/Autocomplete/Autocomplete.config.js +123 -122
  76. package/dist/emotion/es/components/Avatar/Avatar.config.js +32 -31
  77. package/dist/emotion/es/components/Badge/Badge.clear.config.js +5 -4
  78. package/dist/emotion/es/components/Badge/Badge.config.js +17 -16
  79. package/dist/emotion/es/components/Breadcrumbs/Breadcrumbs.config.js +11 -10
  80. package/dist/emotion/es/components/Button/Button.config.js +44 -43
  81. package/dist/emotion/es/components/Button/Button.js +3 -3
  82. package/dist/emotion/es/components/ButtonGroup/ButtonGroup.config.js +39 -38
  83. package/dist/emotion/es/components/Calendar/Calendar.config.js +60 -59
  84. package/dist/emotion/es/components/Calendar/CalendarDouble.config.js +60 -59
  85. package/dist/emotion/es/components/Card/Card.config.js +2 -1
  86. package/dist/emotion/es/components/Carousel/Carousel.config.js +9 -8
  87. package/dist/emotion/es/components/Cell/Cell.config.js +41 -40
  88. package/dist/emotion/es/components/Checkbox/Checkbox.config.js +22 -21
  89. package/dist/emotion/es/components/Chip/Chip.config.js +53 -52
  90. package/dist/emotion/es/components/ChipGroup/ChipGroup.config.js +28 -27
  91. package/dist/emotion/es/components/Combobox/Combobox.config.js +160 -159
  92. package/dist/emotion/es/components/DatePicker/DatePicker.config.js +169 -168
  93. package/dist/emotion/es/components/Divider/Divider.config.js +5 -4
  94. package/dist/emotion/es/components/Drawer/Drawer.config.js +3 -2
  95. package/dist/emotion/es/components/Dropdown/Dropdown.config.js +21 -20
  96. package/dist/emotion/es/components/EmptyState/EmptyState.config.js +25 -24
  97. package/dist/emotion/es/components/IconButton/IconButton.config.js +29 -28
  98. package/dist/emotion/es/components/IconButton/IconButton.js +25 -2
  99. package/dist/emotion/es/components/Indicator/Indicator.config.js +8 -7
  100. package/dist/emotion/es/components/Link/Link.config.js +53 -52
  101. package/dist/emotion/es/components/Modal/Modal.config.js +6 -5
  102. package/dist/emotion/es/components/Notification/Notification.config.js +22 -21
  103. package/dist/emotion/es/components/NumberInput/NumberInput.config.js +30 -29
  104. package/dist/emotion/es/components/Pagination/Pagination.config.js +32 -31
  105. package/dist/emotion/es/components/Popover/Popover.config.js +3 -2
  106. package/dist/emotion/es/components/Progress/Progress.config.js +101 -100
  107. package/dist/emotion/es/components/Radiobox/Radiobox.config.js +19 -18
  108. package/dist/emotion/es/components/Range/Range.config.js +70 -69
  109. package/dist/emotion/es/components/Rating/Rating.config.js +33 -32
  110. package/dist/emotion/es/components/Segment/SegmentGroup.config.js +6 -5
  111. package/dist/emotion/es/components/Segment/SegmentItem.config.js +29 -28
  112. package/dist/emotion/es/components/Select/Select.config.js +126 -125
  113. package/dist/emotion/es/components/Sheet/Sheet.config.js +3 -2
  114. package/dist/emotion/es/components/Skeleton/LineSkeleton.config.js +35 -34
  115. package/dist/emotion/es/components/Slider/Slider.config.js +58 -57
  116. package/dist/emotion/es/components/Spinner/Spinner.config.js +8 -7
  117. package/dist/emotion/es/components/Steps/StepItem.config.js +8 -7
  118. package/dist/emotion/es/components/Steps/Steps.config.js +55 -54
  119. package/dist/emotion/es/components/Switch/Switch.config.js +26 -25
  120. package/dist/emotion/es/components/Table/Table.config.js +82 -81
  121. package/dist/emotion/es/components/Tabs/horizontal/HorizontalTabItem.config.js +74 -73
  122. package/dist/emotion/es/components/Tabs/horizontal/HorizontalTabs.config.js +22 -21
  123. package/dist/emotion/es/components/Tabs/vertical/VerticalTabItem.config.js +33 -32
  124. package/dist/emotion/es/components/Tabs/vertical/VerticalTabs.config.js +14 -13
  125. package/dist/emotion/es/components/TextArea/TextArea.clear.config.js +131 -130
  126. package/dist/emotion/es/components/TextArea/TextArea.config.js +160 -159
  127. package/dist/emotion/es/components/TextField/TextField.clear.config.js +119 -118
  128. package/dist/emotion/es/components/TextField/TextField.config.js +167 -166
  129. package/dist/emotion/es/components/TimePicker/TimePicker.config.js +79 -78
  130. package/dist/emotion/es/components/Toast/Toast.config.js +19 -18
  131. package/dist/emotion/es/components/ToastNew/ToastNew.config.js +11 -10
  132. package/dist/emotion/es/components/Tooltip/Tooltip.config.js +13 -12
  133. package/dist/emotion/es/components/Tour/Tour.config.js +2 -1
  134. package/dist/emotion/es/components/Tree/Tree.config.js +22 -21
  135. package/dist/emotion/es/components/Typography/Body.config.js +41 -40
  136. package/dist/emotion/es/components/Typography/Dspl.config.js +25 -24
  137. package/dist/emotion/es/components/Typography/Heading.config.js +41 -40
  138. package/dist/emotion/es/components/Typography/Text.config.js +33 -32
  139. package/package.json +8 -8
  140. package/types/components/Autocomplete/Autocomplete.d.ts +8 -0
  141. package/types/components/Avatar/Avatar.d.ts +4 -4
  142. package/types/components/Combobox/Combobox.d.ts +8 -0
  143. package/types/components/DatePicker/DatePicker.d.ts +2 -0
  144. package/types/components/IconButton/IconButton.d.ts +28 -11
  145. package/types/components/Mask/Mask.d.ts +16 -0
  146. package/types/components/Rating/Rating.d.ts +1 -0
  147. package/types/components/Select/Select.d.ts +16 -0
  148. package/types/components/TextField/TextField.d.ts +32 -0
  149. 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}: var(--plasma-typo-dspl-l-font-family);
31
- ${_emotion.typographyTokens.typoFontSize}: var(--plasma-typo-dspl-l-font-size);
32
- ${_emotion.typographyTokens.typoFontStyle}: var(--plasma-typo-dspl-l-font-style);
33
- ${_emotion.typographyTokens.typoFontWeight}: var(--plasma-typo-dspl-l-font-weight);
34
- ${_emotion.typographyTokens.typoFontWeightBold}: var(--plasma-typo-dspl-l-bold-font-weight);
35
- ${_emotion.typographyTokens.typoFontWeightMedium}: var(--plasma-typo-dspl-l-medium-font-weight);
36
- ${_emotion.typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-dspl-l-letter-spacing);
37
- ${_emotion.typographyTokens.typoFontLineHeight}: var(--plasma-typo-dspl-l-line-height);
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}: var(--plasma-typo-dspl-m-font-family);
50
- ${_emotion.typographyTokens.typoFontSize}: var(--plasma-typo-dspl-m-font-size);
51
- ${_emotion.typographyTokens.typoFontStyle}: var(--plasma-typo-dspl-m-font-style);
52
- ${_emotion.typographyTokens.typoFontWeight}: var(--plasma-typo-dspl-m-font-weight);
53
- ${_emotion.typographyTokens.typoFontWeightBold}: var(--plasma-typo-dspl-m-bold-font-weight);
54
- ${_emotion.typographyTokens.typoFontWeightMedium}: var(--plasma-typo-dspl-m-medium-font-weight);
55
- ${_emotion.typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-dspl-m-letter-spacing);
56
- ${_emotion.typographyTokens.typoFontLineHeight}: var(--plasma-typo-dspl-m-line-height);
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}: var(--plasma-typo-dspl-s-font-family);
69
- ${_emotion.typographyTokens.typoFontSize}: var(--plasma-typo-dspl-s-font-size);
70
- ${_emotion.typographyTokens.typoFontStyle}: var(--plasma-typo-dspl-s-font-style);
71
- ${_emotion.typographyTokens.typoFontWeight}: var(--plasma-typo-dspl-s-font-weight);
72
- ${_emotion.typographyTokens.typoFontWeightBold}: var(--plasma-typo-dspl-s-bold-font-weight);
73
- ${_emotion.typographyTokens.typoFontWeightMedium}: var(--plasma-typo-dspl-s-medium-font-weight);
74
- ${_emotion.typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-dspl-s-letter-spacing);
75
- ${_emotion.typographyTokens.typoFontLineHeight}: var(--plasma-typo-dspl-s-line-height);
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}: var(--plasma-typo-h1-font-family);
37
- ${_emotion.typographyTokens.typoFontSize}: var(--plasma-typo-h1-font-size);
38
- ${_emotion.typographyTokens.typoFontStyle}: var(--plasma-typo-h1-font-style);
39
- ${_emotion.typographyTokens.typoFontWeight}: var(--plasma-typo-h1-font-weight);
40
- ${_emotion.typographyTokens.typoFontWeightBold}: var(--plasma-typo-h1-bold-font-weight);
41
- ${_emotion.typographyTokens.typoFontWeightMedium}: var(--plasma-typo-h1-medium-font-weight);
42
- ${_emotion.typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-h1-letter-spacing);
43
- ${_emotion.typographyTokens.typoFontLineHeight}: var(--plasma-typo-h1-line-height);
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}: var(--plasma-typo-h2-font-family);
56
- ${_emotion.typographyTokens.typoFontSize}: var(--plasma-typo-h2-font-size);
57
- ${_emotion.typographyTokens.typoFontStyle}: var(--plasma-typo-h2-font-style);
58
- ${_emotion.typographyTokens.typoFontWeight}: var(--plasma-typo-h2-font-weight);
59
- ${_emotion.typographyTokens.typoFontWeightBold}: var(--plasma-typo-h2-bold-font-weight);
60
- ${_emotion.typographyTokens.typoFontWeightMedium}: var(--plasma-typo-h2-medium-font-weight);
61
- ${_emotion.typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-h2-letter-spacing);
62
- ${_emotion.typographyTokens.typoFontLineHeight}: var(--plasma-typo-h2-line-height);
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}: var(--plasma-typo-h3-font-family);
75
- ${_emotion.typographyTokens.typoFontSize}: var(--plasma-typo-h3-font-size);
76
- ${_emotion.typographyTokens.typoFontStyle}: var(--plasma-typo-h3-font-style);
77
- ${_emotion.typographyTokens.typoFontWeight}: var(--plasma-typo-h3-font-weight);
78
- ${_emotion.typographyTokens.typoFontWeightBold}: var(--plasma-typo-h3-bold-font-weight);
79
- ${_emotion.typographyTokens.typoFontWeightMedium}: var(--plasma-typo-h3-medium-font-weight);
80
- ${_emotion.typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-h3-letter-spacing);
81
- ${_emotion.typographyTokens.typoFontLineHeight}: var(--plasma-typo-h3-line-height);
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}: var(--plasma-typo-h4-font-family);
94
- ${_emotion.typographyTokens.typoFontSize}: var(--plasma-typo-h4-font-size);
95
- ${_emotion.typographyTokens.typoFontStyle}: var(--plasma-typo-h4-font-style);
96
- ${_emotion.typographyTokens.typoFontWeight}: var(--plasma-typo-h4-font-weight);
97
- ${_emotion.typographyTokens.typoFontWeightBold}: var(--plasma-typo-h4-bold-font-weight);
98
- ${_emotion.typographyTokens.typoFontWeightMedium}: var(--plasma-typo-h4-medium-font-weight);
99
- ${_emotion.typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-h4-letter-spacing);
100
- ${_emotion.typographyTokens.typoFontLineHeight}: var(--plasma-typo-h4-line-height);
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}: var(--plasma-typo-h5-font-family);
113
- ${_emotion.typographyTokens.typoFontSize}: var(--plasma-typo-h5-font-size);
114
- ${_emotion.typographyTokens.typoFontStyle}: var(--plasma-typo-h5-font-style);
115
- ${_emotion.typographyTokens.typoFontWeight}: var(--plasma-typo-h5-font-weight);
116
- ${_emotion.typographyTokens.typoFontWeightBold}: var(--plasma-typo-h5-bold-font-weight);
117
- ${_emotion.typographyTokens.typoFontWeightMedium}: var(--plasma-typo-h5-medium-font-weight);
118
- ${_emotion.typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-h5-letter-spacing);
119
- ${_emotion.typographyTokens.typoFontLineHeight}: var(--plasma-typo-h5-line-height);
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}: var(--plasma-typo-text-l-font-family);
34
- ${_emotion.typographyTokens.typoFontSize}: var(--plasma-typo-text-l-font-size);
35
- ${_emotion.typographyTokens.typoFontStyle}: var(--plasma-typo-text-l-font-style);
36
- ${_emotion.typographyTokens.typoFontWeight}: var(--plasma-typo-text-l-font-weight);
37
- ${_emotion.typographyTokens.typoFontWeightBold}: var(--plasma-typo-text-l-bold-font-weight);
38
- ${_emotion.typographyTokens.typoFontWeightMedium}: var(--plasma-typo-text-l-medium-font-weight);
39
- ${_emotion.typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-text-l-letter-spacing);
40
- ${_emotion.typographyTokens.typoFontLineHeight}: var(--plasma-typo-text-l-line-height);
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}: var(--plasma-typo-text-m-font-family);
53
- ${_emotion.typographyTokens.typoFontSize}: var(--plasma-typo-text-m-font-size);
54
- ${_emotion.typographyTokens.typoFontStyle}: var(--plasma-typo-text-m-font-style);
55
- ${_emotion.typographyTokens.typoFontWeight}: var(--plasma-typo-text-m-font-weight);
56
- ${_emotion.typographyTokens.typoFontWeightBold}: var(--plasma-typo-text-m-bold-font-weight);
57
- ${_emotion.typographyTokens.typoFontWeightMedium}: var(--plasma-typo-text-m-medium-font-weight);
58
- ${_emotion.typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-text-m-letter-spacing);
59
- ${_emotion.typographyTokens.typoFontLineHeight}: var(--plasma-typo-text-m-line-height);
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}: var(--plasma-typo-text-s-font-family);
72
- ${_emotion.typographyTokens.typoFontSize}: var(--plasma-typo-text-s-font-size);
73
- ${_emotion.typographyTokens.typoFontStyle}: var(--plasma-typo-text-s-font-style);
74
- ${_emotion.typographyTokens.typoFontWeight}: var(--plasma-typo-text-s-font-weight);
75
- ${_emotion.typographyTokens.typoFontWeightBold}: var(--plasma-typo-text-s-bold-font-weight);
76
- ${_emotion.typographyTokens.typoFontWeightMedium}: var(--plasma-typo-text-s-medium-font-weight);
77
- ${_emotion.typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-text-s-letter-spacing);
78
- ${_emotion.typographyTokens.typoFontLineHeight}: var(--plasma-typo-text-s-line-height);
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}: var(--plasma-typo-text-xs-font-family);
91
- ${_emotion.typographyTokens.typoFontSize}: var(--plasma-typo-text-xs-font-size);
92
- ${_emotion.typographyTokens.typoFontStyle}: var(--plasma-typo-text-xs-font-style);
93
- ${_emotion.typographyTokens.typoFontWeight}: var(--plasma-typo-text-xs-font-weight);
94
- ${_emotion.typographyTokens.typoFontWeightBold}: var(--plasma-typo-text-xs-bold-font-weight);
95
- ${_emotion.typographyTokens.typoFontWeightMedium}: var(--plasma-typo-text-xs-medium-font-weight);
96
- ${_emotion.typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-text-xs-letter-spacing);
97
- ${_emotion.typographyTokens.typoFontLineHeight}: var(--plasma-typo-text-xs-line-height);
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}: var(--surface-solid-card);
14
- ${accordionTokens.accordionItemTitleColor}: var(--text-primary);
15
- ${accordionTokens.accordionItemTextColor}: var(--text-primary);
16
- ${accordionTokens.accordionItemIconColor}: var(--text-accent);
17
- ${accordionTokens.accordionItemFocus}: var(--surface-accent);
18
- ${accordionTokens.accordionBackground}: var(--surface-clear);
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}: var(--surface-clear);
27
- ${accordionTokens.accordionItemTitleColor}: var(--text-primary);
28
- ${accordionTokens.accordionItemTextColor}: var(--text-primary);
29
- ${accordionTokens.accordionItemIconColor}: var(--text-accent);
30
- ${accordionTokens.accordionItemFocus}: var(--surface-accent);
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}: var(--surface-clear);
33
- ${accordionTokens.accordionItemBorderBottom}: 0.125rem solid var(--surface-solid-tertiary);
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}: var(--plasma-typo-body-m-font-family);
46
- ${accordionTokens.accordionItemTitleFontSize}: var(--plasma-typo-body-m-font-size);
47
- ${accordionTokens.accordionItemTitleFontStyle}: var(--plasma-typo-body-m-font-style);
48
- ${accordionTokens.accordionItemTitleFontWeight}: var(--plasma-typo-body-m-bold-font-weight);
49
- ${accordionTokens.accordionItemTitleLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
50
- ${accordionTokens.accordionItemTitleLineHeight}: var(--plasma-typo-body-m-line-height);
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}: var(--plasma-typo-body-m-font-family);
53
- ${accordionTokens.accordionItemTextFontSize}: var(--plasma-typo-body-m-font-size);
54
- ${accordionTokens.accordionItemTextFontStyle}: var(--plasma-typo-body-m-font-style);
55
- ${accordionTokens.accordionItemTextFontWeight}: var(--plasma-typo-body-m-font-weight);
56
- ${accordionTokens.accordionItemTextLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
57
- ${accordionTokens.accordionItemTextLineHeight}: var(--plasma-typo-body-m-line-height);
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
  }