@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
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "config", {
8
8
  return config;
9
9
  }
10
10
  });
11
+ const _sdds_cs = require("@salutejs/sdds-themes/tokens/sdds_cs");
11
12
  const _emotion = require("@salutejs/plasma-new-hope/emotion");
12
13
  const config = {
13
14
  defaults: {
@@ -17,39 +18,39 @@ const config = {
17
18
  variations: {
18
19
  view: {
19
20
  default: (0, _emotion.css)`
20
- ${_emotion.rangeTokens.background}: var(--surface-solid-card);
21
- ${_emotion.rangeTokens.borderColor}: var(--outline-solid-primary);
22
- ${_emotion.rangeTokens.borderColorError}: var(--outline-negative);
23
- ${_emotion.rangeTokens.borderColorSuccess}: var(--outline-accent);
24
-
25
- ${_emotion.rangeTokens.dividerColor}: var(--text-primary);
26
- ${_emotion.rangeTokens.labelColor}: var(--text-primary);
27
- ${_emotion.rangeTokens.leftHelperColor}: var(--text-secondary);
28
- ${_emotion.rangeTokens.leftHelperColorError}: var(--text-negative);
29
- ${_emotion.rangeTokens.leftHelperColorSuccess}: var(--text-positive);
30
-
31
- ${_emotion.rangeTokens.embedIconButtonFocusColor}: var(--surface-accent);
32
- ${_emotion.rangeTokens.contentSlotColor}: var(--text-secondary);
33
- ${_emotion.rangeTokens.contentSlotColorHover}: var(--text-secondary-hover);
34
- ${_emotion.rangeTokens.contentSlotColorActive}: var(--text-secondary-active);
35
-
36
- ${_emotion.rangeTokens.indicatorColor}: var(--surface-negative);
37
-
38
- ${_emotion.rangeTokens.textFieldColor}: var(--text-primary);
39
- ${_emotion.rangeTokens.textFieldPlaceholderColor}: var(--text-secondary);
40
- ${_emotion.rangeTokens.textFieldPlaceholderColorFocus}: var(--text-tertiary);
41
- ${_emotion.rangeTokens.textFieldCaretColor}: var(--text-accent);
42
-
43
- ${_emotion.rangeTokens.textFieldBorderColorHover}: var(--outline-solid-primary-hover);
44
- ${_emotion.rangeTokens.textFieldBorderColorFocus}: var(--outline-accent);
45
- ${_emotion.rangeTokens.textFieldBorderColorError}: var(--outline-negative);
46
- ${_emotion.rangeTokens.textFieldBorderColorErrorFocus}: var(--outline-negative);
47
- ${_emotion.rangeTokens.textFieldBorderColorSuccess}: var(--outline-accent);
48
- ${_emotion.rangeTokens.textFieldBorderColorSuccessFocus}: var(--outline-accent);
49
-
50
- ${_emotion.rangeTokens.focusColor}: var(--text-accent);
51
- ${_emotion.rangeTokens.textFieldTextAfterColor}: var(--text-secondary);
52
- ${_emotion.rangeTokens.textFieldTextBeforeColor}: var(--text-secondary);
21
+ ${_emotion.rangeTokens.background}: ${_sdds_cs.surfaceSolidCard};
22
+ ${_emotion.rangeTokens.borderColor}: ${_sdds_cs.outlineSolidPrimary};
23
+ ${_emotion.rangeTokens.borderColorError}: ${_sdds_cs.outlineNegative};
24
+ ${_emotion.rangeTokens.borderColorSuccess}: ${_sdds_cs.outlineAccent};
25
+
26
+ ${_emotion.rangeTokens.dividerColor}: ${_sdds_cs.textPrimary};
27
+ ${_emotion.rangeTokens.labelColor}: ${_sdds_cs.textPrimary};
28
+ ${_emotion.rangeTokens.leftHelperColor}: ${_sdds_cs.textSecondary};
29
+ ${_emotion.rangeTokens.leftHelperColorError}: ${_sdds_cs.textNegative};
30
+ ${_emotion.rangeTokens.leftHelperColorSuccess}: ${_sdds_cs.textPositive};
31
+
32
+ ${_emotion.rangeTokens.embedIconButtonFocusColor}: ${_sdds_cs.surfaceAccent};
33
+ ${_emotion.rangeTokens.contentSlotColor}: ${_sdds_cs.textSecondary};
34
+ ${_emotion.rangeTokens.contentSlotColorHover}: ${_sdds_cs.textSecondaryHover};
35
+ ${_emotion.rangeTokens.contentSlotColorActive}: ${_sdds_cs.textSecondaryActive};
36
+
37
+ ${_emotion.rangeTokens.indicatorColor}: ${_sdds_cs.surfaceNegative};
38
+
39
+ ${_emotion.rangeTokens.textFieldColor}: ${_sdds_cs.textPrimary};
40
+ ${_emotion.rangeTokens.textFieldPlaceholderColor}: ${_sdds_cs.textSecondary};
41
+ ${_emotion.rangeTokens.textFieldPlaceholderColorFocus}: ${_sdds_cs.textTertiary};
42
+ ${_emotion.rangeTokens.textFieldCaretColor}: ${_sdds_cs.textAccent};
43
+
44
+ ${_emotion.rangeTokens.textFieldBorderColorHover}: ${_sdds_cs.outlineSolidPrimaryHover};
45
+ ${_emotion.rangeTokens.textFieldBorderColorFocus}: ${_sdds_cs.outlineAccent};
46
+ ${_emotion.rangeTokens.textFieldBorderColorError}: ${_sdds_cs.outlineNegative};
47
+ ${_emotion.rangeTokens.textFieldBorderColorErrorFocus}: ${_sdds_cs.outlineNegative};
48
+ ${_emotion.rangeTokens.textFieldBorderColorSuccess}: ${_sdds_cs.outlineAccent};
49
+ ${_emotion.rangeTokens.textFieldBorderColorSuccessFocus}: ${_sdds_cs.outlineAccent};
50
+
51
+ ${_emotion.rangeTokens.focusColor}: ${_sdds_cs.textAccent};
52
+ ${_emotion.rangeTokens.textFieldTextAfterColor}: ${_sdds_cs.textSecondary};
53
+ ${_emotion.rangeTokens.textFieldTextBeforeColor}: ${_sdds_cs.textSecondary};
53
54
  `
54
55
  },
55
56
  size: {
@@ -58,12 +59,12 @@ const config = {
58
59
  ${_emotion.rangeTokens.borderWidth}: 0.125rem;
59
60
 
60
61
  ${_emotion.rangeTokens.dividerPadding}: 0 0.375rem;
61
- ${_emotion.rangeTokens.dividerFontFamily}: var(--plasma-typo-body-s-font-family);
62
- ${_emotion.rangeTokens.dividerFontStyle}: var(--plasma-typo-body-s-font-style);
63
- ${_emotion.rangeTokens.dividerFontSize}: var(--plasma-typo-body-s-font-size);
64
- ${_emotion.rangeTokens.dividerFontWeight}: var(--plasma-typo-body-s-bold-font-weight);
65
- ${_emotion.rangeTokens.dividerLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
66
- ${_emotion.rangeTokens.dividerLineHeight}: var(--plasma-typo-body-s-line-height);
62
+ ${_emotion.rangeTokens.dividerFontFamily}: ${_sdds_cs.bodyS.fontFamily};
63
+ ${_emotion.rangeTokens.dividerFontStyle}: ${_sdds_cs.bodyS.fontStyle};
64
+ ${_emotion.rangeTokens.dividerFontSize}: ${_sdds_cs.bodyS.fontSize};
65
+ ${_emotion.rangeTokens.dividerFontWeight}: ${_sdds_cs.bodySBold.fontWeight};
66
+ ${_emotion.rangeTokens.dividerLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
67
+ ${_emotion.rangeTokens.dividerLineHeight}: ${_sdds_cs.bodyS.lineHeight};
67
68
 
68
69
  ${_emotion.rangeTokens.leftContentMargin}: 0 0.375rem 0 0.75rem;
69
70
  ${_emotion.rangeTokens.rightContentMargin}: 0;
@@ -72,24 +73,24 @@ const config = {
72
73
  ${_emotion.rangeTokens.textFieldBorderRadius}: 0.625rem;
73
74
  ${_emotion.rangeTokens.textFieldBorderWidth}: 0.125rem;
74
75
  ${_emotion.rangeTokens.textFieldPadding}: 0.6875rem 0.75rem 0.6875rem 0.75rem;
75
- ${_emotion.rangeTokens.textFieldFontFamily}: var(--plasma-typo-body-m-font-family);
76
- ${_emotion.rangeTokens.textFieldFontStyle}: var(--plasma-typo-body-m-font-style);
77
- ${_emotion.rangeTokens.textFieldFontSize}: var(--plasma-typo-body-m-font-size);
78
- ${_emotion.rangeTokens.textFieldFontWeight}: var(--plasma-typo-body-m-font-weight);
79
- ${_emotion.rangeTokens.textFieldLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
80
- ${_emotion.rangeTokens.textFieldLineHeight}: var(--plasma-typo-body-m-line-height);
76
+ ${_emotion.rangeTokens.textFieldFontFamily}: ${_sdds_cs.bodyM.fontFamily};
77
+ ${_emotion.rangeTokens.textFieldFontStyle}: ${_sdds_cs.bodyM.fontStyle};
78
+ ${_emotion.rangeTokens.textFieldFontSize}: ${_sdds_cs.bodyM.fontSize};
79
+ ${_emotion.rangeTokens.textFieldFontWeight}: ${_sdds_cs.bodyM.fontWeight};
80
+ ${_emotion.rangeTokens.textFieldLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
81
+ ${_emotion.rangeTokens.textFieldLineHeight}: ${_sdds_cs.bodyM.lineHeight};
81
82
 
82
83
  ${_emotion.rangeTokens.textFieldLeftContentMargin}: -0.1875rem 0.25rem -0.1875rem -0.125rem;
83
84
  ${_emotion.rangeTokens.textFieldRightContentMargin}: -0.1875rem -0.125rem -0.1875rem 0.75rem;
84
85
  ${_emotion.rangeTokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0;
85
86
  ${_emotion.rangeTokens.textFieldTextAfterMargin}: 0 0 0 0.25rem;
86
87
 
87
- ${_emotion.rangeTokens.labelFontFamily}: var(--plasma-typo-body-s-font-family);
88
- ${_emotion.rangeTokens.labelFontStyle}: var(--plasma-typo-body-s-font-style);
89
- ${_emotion.rangeTokens.labelFontSize}: var(--plasma-typo-body-s-font-size);
90
- ${_emotion.rangeTokens.labelFontWeight}: var(--plasma-typo-body-s-font-weight);
91
- ${_emotion.rangeTokens.labelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
92
- ${_emotion.rangeTokens.labelLineHeight}: var(--plasma-typo-body-s-line-height);
88
+ ${_emotion.rangeTokens.labelFontFamily}: ${_sdds_cs.bodyS.fontFamily};
89
+ ${_emotion.rangeTokens.labelFontStyle}: ${_sdds_cs.bodyS.fontStyle};
90
+ ${_emotion.rangeTokens.labelFontSize}: ${_sdds_cs.bodyS.fontSize};
91
+ ${_emotion.rangeTokens.labelFontWeight}: ${_sdds_cs.bodyS.fontWeight};
92
+ ${_emotion.rangeTokens.labelLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
93
+ ${_emotion.rangeTokens.labelLineHeight}: ${_sdds_cs.bodyS.lineHeight};
93
94
 
94
95
  ${_emotion.rangeTokens.embedIconButtonHeight}: 2.5rem;
95
96
  ${_emotion.rangeTokens.embedIconButtonWidth}: 2.5rem;
@@ -111,38 +112,38 @@ const config = {
111
112
  ${_emotion.rangeTokens.helpersPadding}: 0.25rem 0 0 0;
112
113
  ${_emotion.rangeTokens.helpersGap}: 0.25rem;
113
114
 
114
- ${_emotion.rangeTokens.leftHelperFontFamily}: var(--plasma-typo-body-s-font-family);
115
- ${_emotion.rangeTokens.leftHelperFontStyle}: var(--plasma-typo-body-s-font-style);
116
- ${_emotion.rangeTokens.leftHelperFontSize}: var(--plasma-typo-body-s-font-size);
117
- ${_emotion.rangeTokens.leftHelperFontWeight}: var(--plasma-typo-body-s-font-weight);
118
- ${_emotion.rangeTokens.leftHelperLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
119
- ${_emotion.rangeTokens.leftHelperLineHeight}: var(--plasma-typo-body-s-line-height);
115
+ ${_emotion.rangeTokens.leftHelperFontFamily}: ${_sdds_cs.bodyS.fontFamily};
116
+ ${_emotion.rangeTokens.leftHelperFontStyle}: ${_sdds_cs.bodyS.fontStyle};
117
+ ${_emotion.rangeTokens.leftHelperFontSize}: ${_sdds_cs.bodyS.fontSize};
118
+ ${_emotion.rangeTokens.leftHelperFontWeight}: ${_sdds_cs.bodyS.fontWeight};
119
+ ${_emotion.rangeTokens.leftHelperLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
120
+ ${_emotion.rangeTokens.leftHelperLineHeight}: ${_sdds_cs.bodyS.lineHeight};
120
121
  `
121
122
  },
122
123
  disabled: {
123
124
  true: (0, _emotion.css)`
124
125
  ${_emotion.rangeTokens.disabledOpacity}: 1;
125
- ${_emotion.rangeTokens.background}: var(--surface-solid-primary);
126
- ${_emotion.rangeTokens.borderColor}: var(--surface-solid-primary);
127
- ${_emotion.rangeTokens.textFieldBorderColorFocus}: var(--surface-solid-primary);
128
- ${_emotion.rangeTokens.textFieldColor}: var(--text-secondary);
129
- ${_emotion.rangeTokens.textFieldPlaceholderColor}: var(--text-secondary);
126
+ ${_emotion.rangeTokens.background}: ${_sdds_cs.surfaceSolidPrimary};
127
+ ${_emotion.rangeTokens.borderColor}: ${_sdds_cs.surfaceSolidPrimary};
128
+ ${_emotion.rangeTokens.textFieldBorderColorFocus}: ${_sdds_cs.surfaceSolidPrimary};
129
+ ${_emotion.rangeTokens.textFieldColor}: ${_sdds_cs.textSecondary};
130
+ ${_emotion.rangeTokens.textFieldPlaceholderColor}: ${_sdds_cs.textSecondary};
130
131
  `
131
132
  },
132
133
  readOnly: {
133
134
  true: (0, _emotion.css)`
134
- ${_emotion.rangeTokens.backgroundReadOnly}: var(--surface-solid-card);
135
- ${_emotion.rangeTokens.labelColorReadOnly}: var(--text-primary);
136
- ${_emotion.rangeTokens.borderColorReadOnly}: var(--outline-solid-primary);
137
- ${_emotion.rangeTokens.leftHelperColorReadOnly}: var(--text-secondary);
138
- ${_emotion.rangeTokens.dividerColorReadOnly}: var(--text-secondary);
135
+ ${_emotion.rangeTokens.backgroundReadOnly}: ${_sdds_cs.surfaceSolidCard};
136
+ ${_emotion.rangeTokens.labelColorReadOnly}: ${_sdds_cs.textPrimary};
137
+ ${_emotion.rangeTokens.borderColorReadOnly}: ${_sdds_cs.outlineSolidPrimary};
138
+ ${_emotion.rangeTokens.leftHelperColorReadOnly}: ${_sdds_cs.textSecondary};
139
+ ${_emotion.rangeTokens.dividerColorReadOnly}: ${_sdds_cs.textSecondary};
139
140
  ${_emotion.rangeTokens.readOnlyOpacity}: 1;
140
141
  ${_emotion.rangeTokens.dividerOpacityReadOnly}: 1;
141
142
  ${_emotion.rangeTokens.rightContentOpacityReadOnly}: 0.4;
142
143
 
143
- ${_emotion.rangeTokens.textFieldColorReadOnly}: var(--text-primary);
144
+ ${_emotion.rangeTokens.textFieldColorReadOnly}: ${_sdds_cs.textPrimary};
144
145
  ${_emotion.rangeTokens.textFieldBackgroundColorReadOnly}: transparent;
145
- ${_emotion.rangeTokens.textFieldPlaceholderColorReadOnly}: var(--text-secondary);
146
+ ${_emotion.rangeTokens.textFieldPlaceholderColorReadOnly}: ${_sdds_cs.textSecondary};
146
147
  `
147
148
  }
148
149
  }
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "config", {
8
8
  return config;
9
9
  }
10
10
  });
11
+ const _sdds_cs = require("@salutejs/sdds-themes/tokens/sdds_cs");
11
12
  const _emotion = require("@salutejs/plasma-new-hope/emotion");
12
13
  const config = {
13
14
  defaults: {
@@ -17,36 +18,36 @@ const config = {
17
18
  variations: {
18
19
  view: {
19
20
  default: (0, _emotion.css)`
20
- ${_emotion.ratingTokens.color}: var(--text-primary);
21
- ${_emotion.ratingTokens.helperTextColor}: var(--text-secondary);
22
- ${_emotion.ratingTokens.iconColor}: var(--text-primary);
23
- ${_emotion.ratingTokens.outlineIconColor}: var(--text-primary);
21
+ ${_emotion.ratingTokens.color}: ${_sdds_cs.textPrimary};
22
+ ${_emotion.ratingTokens.helperTextColor}: ${_sdds_cs.textSecondary};
23
+ ${_emotion.ratingTokens.iconColor}: ${_sdds_cs.textPrimary};
24
+ ${_emotion.ratingTokens.outlineIconColor}: ${_sdds_cs.textPrimary};
24
25
  `,
25
26
  accent: (0, _emotion.css)`
26
- ${_emotion.ratingTokens.color}: var(--text-primary);
27
- ${_emotion.ratingTokens.helperTextColor}: var(--text-secondary);
27
+ ${_emotion.ratingTokens.color}: ${_sdds_cs.textPrimary};
28
+ ${_emotion.ratingTokens.helperTextColor}: ${_sdds_cs.textSecondary};
28
29
  // TODO: change with token data-yellow, when it will be added to theme
29
- ${_emotion.ratingTokens.iconColor}: var(--text-warning);
30
- ${_emotion.ratingTokens.outlineIconColor}: var(--text-tertiary);
30
+ ${_emotion.ratingTokens.iconColor}: ${_sdds_cs.textWarning};
31
+ ${_emotion.ratingTokens.outlineIconColor}: ${_sdds_cs.textTertiary};
31
32
  `
32
33
  },
33
34
  size: {
34
35
  s: (0, _emotion.css)`
35
36
  ${_emotion.ratingTokens.gap}: 0.25rem;
36
37
 
37
- ${_emotion.ratingTokens.fontFamily}: var(--plasma-typo-body-s-font-family);
38
- ${_emotion.ratingTokens.fontSize}: var(--plasma-typo-body-s-font-size);
39
- ${_emotion.ratingTokens.fontStyle}: var(--plasma-typo-body-s-font-style);
40
- ${_emotion.ratingTokens.fontWeight}: var(--plasma-typo-body-s-bold-font-weight);
41
- ${_emotion.ratingTokens.letterSpacing}: var(--plasma-typo-body-s-letter-spacing);
42
- ${_emotion.ratingTokens.lineHeight}: var(--plasma-typo-body-s-line-height);
38
+ ${_emotion.ratingTokens.fontFamily}: ${_sdds_cs.bodyS.fontFamily};
39
+ ${_emotion.ratingTokens.fontSize}: ${_sdds_cs.bodyS.fontSize};
40
+ ${_emotion.ratingTokens.fontStyle}: ${_sdds_cs.bodyS.fontStyle};
41
+ ${_emotion.ratingTokens.fontWeight}: ${_sdds_cs.bodySBold.fontWeight};
42
+ ${_emotion.ratingTokens.letterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
43
+ ${_emotion.ratingTokens.lineHeight}: ${_sdds_cs.bodyS.lineHeight};
43
44
 
44
- ${_emotion.ratingTokens.helperTextFontFamily}: var(--plasma-typo-body-s-font-family);
45
- ${_emotion.ratingTokens.helperTextFontSize}: var(--plasma-typo-body-s-font-size);
46
- ${_emotion.ratingTokens.helperTextFontStyle}: var(--plasma-typo-body-s-font-style);
47
- ${_emotion.ratingTokens.helperTextFontWeight}: var(--plasma-typo-body-s-font-weight);
48
- ${_emotion.ratingTokens.helperTextLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
49
- ${_emotion.ratingTokens.helperTextLineHeight}: var(--plasma-typo-body-s-line-height);
45
+ ${_emotion.ratingTokens.helperTextFontFamily}: ${_sdds_cs.bodyS.fontFamily};
46
+ ${_emotion.ratingTokens.helperTextFontSize}: ${_sdds_cs.bodyS.fontSize};
47
+ ${_emotion.ratingTokens.helperTextFontStyle}: ${_sdds_cs.bodyS.fontStyle};
48
+ ${_emotion.ratingTokens.helperTextFontWeight}: ${_sdds_cs.bodyS.fontWeight};
49
+ ${_emotion.ratingTokens.helperTextLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
50
+ ${_emotion.ratingTokens.helperTextLineHeight}: ${_sdds_cs.bodyS.lineHeight};
50
51
 
51
52
  ${_emotion.ratingTokens.contentGap}: 0.5rem;
52
53
  ${_emotion.ratingTokens.singleIconContentGap}: 0.25rem;
@@ -57,19 +58,19 @@ const config = {
57
58
  h4: (0, _emotion.css)`
58
59
  ${_emotion.ratingTokens.gap}: 0.25rem;
59
60
 
60
- ${_emotion.ratingTokens.fontFamily}: var(--plasma-typo-body-m-font-family);
61
- ${_emotion.ratingTokens.fontSize}: var(--plasma-typo-body-m-font-size);
62
- ${_emotion.ratingTokens.fontStyle}: var(--plasma-typo-body-m-font-style);
63
- ${_emotion.ratingTokens.fontWeight}: var(--plasma-typo-body-m-bold-font-weight);
64
- ${_emotion.ratingTokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);
65
- ${_emotion.ratingTokens.lineHeight}: var(--plasma-typo-body-m-line-height);
61
+ ${_emotion.ratingTokens.fontFamily}: ${_sdds_cs.bodyM.fontFamily};
62
+ ${_emotion.ratingTokens.fontSize}: ${_sdds_cs.bodyM.fontSize};
63
+ ${_emotion.ratingTokens.fontStyle}: ${_sdds_cs.bodyM.fontStyle};
64
+ ${_emotion.ratingTokens.fontWeight}: ${_sdds_cs.bodyMBold.fontWeight};
65
+ ${_emotion.ratingTokens.letterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
66
+ ${_emotion.ratingTokens.lineHeight}: ${_sdds_cs.bodyM.lineHeight};
66
67
 
67
- ${_emotion.ratingTokens.helperTextFontFamily}: var(--plasma-typo-body-s-font-family);
68
- ${_emotion.ratingTokens.helperTextFontSize}: var(--plasma-typo-body-s-font-size);
69
- ${_emotion.ratingTokens.helperTextFontStyle}: var(--plasma-typo-body-s-font-style);
70
- ${_emotion.ratingTokens.helperTextFontWeight}: var(--plasma-typo-body-s-font-weight);
71
- ${_emotion.ratingTokens.helperTextLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
72
- ${_emotion.ratingTokens.helperTextLineHeight}: var(--plasma-typo-body-s-line-height);
68
+ ${_emotion.ratingTokens.helperTextFontFamily}: ${_sdds_cs.bodyS.fontFamily};
69
+ ${_emotion.ratingTokens.helperTextFontSize}: ${_sdds_cs.bodyS.fontSize};
70
+ ${_emotion.ratingTokens.helperTextFontStyle}: ${_sdds_cs.bodyS.fontStyle};
71
+ ${_emotion.ratingTokens.helperTextFontWeight}: ${_sdds_cs.bodyS.fontWeight};
72
+ ${_emotion.ratingTokens.helperTextLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
73
+ ${_emotion.ratingTokens.helperTextLineHeight}: ${_sdds_cs.bodyS.lineHeight};
73
74
 
74
75
  ${_emotion.ratingTokens.contentGap}: 0.625rem;
75
76
  ${_emotion.ratingTokens.singleIconContentGap}: 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: {
@@ -17,14 +18,14 @@ const config = {
17
18
  variations: {
18
19
  view: {
19
20
  clear: (0, _emotion.css)`
20
- ${_emotion.segmentTokens.arrowColor}: var(--text-accent);
21
+ ${_emotion.segmentTokens.arrowColor}: ${_sdds_cs.textAccent};
21
22
  ${_emotion.segmentTokens.groupBackgroundColor}: transparent;
22
- ${_emotion.segmentTokens.outlineFocusColor}: var(--text-accent);
23
+ ${_emotion.segmentTokens.outlineFocusColor}: ${_sdds_cs.textAccent};
23
24
  `,
24
25
  filled: (0, _emotion.css)`
25
- ${_emotion.segmentTokens.arrowColor}: var(--text-accent);
26
+ ${_emotion.segmentTokens.arrowColor}: ${_sdds_cs.textAccent};
26
27
  ${_emotion.segmentTokens.groupBackgroundColor}: transparent;
27
- ${_emotion.segmentTokens.outlineFocusColor}: var(--text-accent);
28
+ ${_emotion.segmentTokens.outlineFocusColor}: ${_sdds_cs.textAccent};
28
29
  `
29
30
  },
30
31
  size: {
@@ -48,7 +49,7 @@ const config = {
48
49
  },
49
50
  filledBackground: {
50
51
  true: (0, _emotion.css)`
51
- ${_emotion.segmentTokens.groupFilledBackgroundColor}: var(--surface-solid-primary);
52
+ ${_emotion.segmentTokens.groupFilledBackgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
52
53
  `
53
54
  },
54
55
  orientation: {
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "config", {
8
8
  return config;
9
9
  }
10
10
  });
11
+ const _sdds_cs = require("@salutejs/sdds-themes/tokens/sdds_cs");
11
12
  const _emotion = require("@salutejs/plasma-new-hope/emotion");
12
13
  const config = {
13
14
  defaults: {
@@ -17,36 +18,36 @@ const config = {
17
18
  variations: {
18
19
  view: {
19
20
  default: (0, _emotion.css)`
20
- ${_emotion.segmentTokens.itemColor}: var(--text-accent);
21
+ ${_emotion.segmentTokens.itemColor}: ${_sdds_cs.textAccent};
21
22
  ${_emotion.segmentTokens.itemBackgroundColor}: transparent;
22
- ${_emotion.segmentTokens.itemColorHover}: var(--text-accent-minor);
23
+ ${_emotion.segmentTokens.itemColorHover}: ${_sdds_cs.textAccentMinor};
23
24
  ${_emotion.segmentTokens.itemBackgroundColorHover}: transparent;
24
- ${_emotion.segmentTokens.itemAdditionalColor}: var(--text-accent-minor);
25
- ${_emotion.segmentTokens.itemAdditionalColorHover}: var(--text-accent-minor);
26
- ${_emotion.segmentTokens.itemSelectedColor}: var(--text-primary);
27
- ${_emotion.segmentTokens.itemSelectedBackgroundColor}: var(--surface-solid-card);
28
- ${_emotion.segmentTokens.itemSelectedColorHover}: var(--text-primary);
29
- ${_emotion.segmentTokens.itemSelectedBackgroundColorHover}: var(--surface-solid-card);
30
- ${_emotion.segmentTokens.itemSelectedAdditionalColor}: var(--text-secondary);
31
- ${_emotion.segmentTokens.itemSelectedAdditionalColorHover}: var(--text-secondary);
25
+ ${_emotion.segmentTokens.itemAdditionalColor}: ${_sdds_cs.textAccentMinor};
26
+ ${_emotion.segmentTokens.itemAdditionalColorHover}: ${_sdds_cs.textAccentMinor};
27
+ ${_emotion.segmentTokens.itemSelectedColor}: ${_sdds_cs.textPrimary};
28
+ ${_emotion.segmentTokens.itemSelectedBackgroundColor}: ${_sdds_cs.surfaceSolidCard};
29
+ ${_emotion.segmentTokens.itemSelectedColorHover}: ${_sdds_cs.textPrimary};
30
+ ${_emotion.segmentTokens.itemSelectedBackgroundColorHover}: ${_sdds_cs.surfaceSolidCard};
31
+ ${_emotion.segmentTokens.itemSelectedAdditionalColor}: ${_sdds_cs.textSecondary};
32
+ ${_emotion.segmentTokens.itemSelectedAdditionalColorHover}: ${_sdds_cs.textSecondary};
32
33
 
33
- ${_emotion.segmentTokens.outlineFocusColor}: var(--surface-accent);
34
+ ${_emotion.segmentTokens.outlineFocusColor}: ${_sdds_cs.surfaceAccent};
34
35
  `,
35
36
  secondary: (0, _emotion.css)`
36
- ${_emotion.segmentTokens.itemColor}: var(--text-accent);
37
+ ${_emotion.segmentTokens.itemColor}: ${_sdds_cs.textAccent};
37
38
  ${_emotion.segmentTokens.itemBackgroundColor}: transparent;
38
- ${_emotion.segmentTokens.itemColorHover}: var(--text-accent-minor);
39
+ ${_emotion.segmentTokens.itemColorHover}: ${_sdds_cs.textAccentMinor};
39
40
  ${_emotion.segmentTokens.itemBackgroundColorHover}: transparent;
40
- ${_emotion.segmentTokens.itemAdditionalColor}: var(--text-accent-minor);
41
- ${_emotion.segmentTokens.itemAdditionalColorHover}: var(--text-accent-minor);
42
- ${_emotion.segmentTokens.itemSelectedColor}: var(--text-accent);
43
- ${_emotion.segmentTokens.itemSelectedBackgroundColor}: var(--surface-solid-card);
44
- ${_emotion.segmentTokens.itemSelectedColorHover}: var(--text-accent-minor);
45
- ${_emotion.segmentTokens.itemSelectedBackgroundColorHover}: var(--surface-solid-card);
46
- ${_emotion.segmentTokens.itemSelectedAdditionalColor}: var(--text-accent-minor);
47
- ${_emotion.segmentTokens.itemSelectedAdditionalColorHover}: var(--text-accent-minor);
41
+ ${_emotion.segmentTokens.itemAdditionalColor}: ${_sdds_cs.textAccentMinor};
42
+ ${_emotion.segmentTokens.itemAdditionalColorHover}: ${_sdds_cs.textAccentMinor};
43
+ ${_emotion.segmentTokens.itemSelectedColor}: ${_sdds_cs.textAccent};
44
+ ${_emotion.segmentTokens.itemSelectedBackgroundColor}: ${_sdds_cs.surfaceSolidCard};
45
+ ${_emotion.segmentTokens.itemSelectedColorHover}: ${_sdds_cs.textAccentMinor};
46
+ ${_emotion.segmentTokens.itemSelectedBackgroundColorHover}: ${_sdds_cs.surfaceSolidCard};
47
+ ${_emotion.segmentTokens.itemSelectedAdditionalColor}: ${_sdds_cs.textAccentMinor};
48
+ ${_emotion.segmentTokens.itemSelectedAdditionalColorHover}: ${_sdds_cs.textAccentMinor};
48
49
 
49
- ${_emotion.segmentTokens.outlineFocusColor}: var(--surface-accent);
50
+ ${_emotion.segmentTokens.outlineFocusColor}: ${_sdds_cs.surfaceAccent};
50
51
  `
51
52
  },
52
53
  size: {
@@ -60,12 +61,12 @@ const config = {
60
61
  ${_emotion.segmentTokens.itemIconMargin}: 0.25rem;
61
62
  ${_emotion.segmentTokens.itemMarginLeft}: 0rem;
62
63
 
63
- ${_emotion.segmentTokens.fontFamily}: var(--plasma-typo-body-s-font-family);
64
- ${_emotion.segmentTokens.fontSize}: var(--plasma-typo-body-s-font-size);
65
- ${_emotion.segmentTokens.fontStyle}: var(--plasma-typo-body-s-font-style);
66
- ${_emotion.segmentTokens.fontWeight}: var(--plasma-typo-body-s-bold-font-weight);
67
- ${_emotion.segmentTokens.letterSpacing}: var(--plasma-typo-body-s-letter-spacing);
68
- ${_emotion.segmentTokens.lineHeight}: var(--plasma-typo-body-s-line-height);
64
+ ${_emotion.segmentTokens.fontFamily}: ${_sdds_cs.bodyS.fontFamily};
65
+ ${_emotion.segmentTokens.fontSize}: ${_sdds_cs.bodyS.fontSize};
66
+ ${_emotion.segmentTokens.fontStyle}: ${_sdds_cs.bodyS.fontStyle};
67
+ ${_emotion.segmentTokens.fontWeight}: ${_sdds_cs.bodySBold.fontWeight};
68
+ ${_emotion.segmentTokens.letterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
69
+ ${_emotion.segmentTokens.lineHeight}: ${_sdds_cs.bodyS.lineHeight};
69
70
  `
70
71
  },
71
72
  disabled: {