@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.
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: {
@@ -19,65 +20,65 @@ const config = {
19
20
  variations: {
20
21
  view: {
21
22
  default: (0, _emotion.css)`
22
- ${_emotion.timePickerTokens.background}: var(--surface-solid-card);
23
- ${_emotion.timePickerTokens.backgroundError}: var(--surface-solid-card);
24
- ${_emotion.timePickerTokens.backgroundSuccess}: var(--surface-solid-card);
23
+ ${_emotion.timePickerTokens.background}: ${_sdds_cs.surfaceSolidCard};
24
+ ${_emotion.timePickerTokens.backgroundError}: ${_sdds_cs.surfaceSolidCard};
25
+ ${_emotion.timePickerTokens.backgroundSuccess}: ${_sdds_cs.surfaceSolidCard};
25
26
 
26
- ${_emotion.timePickerTokens.labelColor}: var(--text-primary);
27
+ ${_emotion.timePickerTokens.labelColor}: ${_sdds_cs.textPrimary};
27
28
 
28
- ${_emotion.timePickerTokens.textFieldColor}: var(--text-primary);
29
- ${_emotion.timePickerTokens.textFieldPlaceholderColor}: var(--text-secondary);
30
- ${_emotion.timePickerTokens.textFieldPlaceholderColorFocus}: var(--text-tertiary);
31
- ${_emotion.timePickerTokens.textFieldCaretColor}: var(--text-accent);
29
+ ${_emotion.timePickerTokens.textFieldColor}: ${_sdds_cs.textPrimary};
30
+ ${_emotion.timePickerTokens.textFieldPlaceholderColor}: ${_sdds_cs.textSecondary};
31
+ ${_emotion.timePickerTokens.textFieldPlaceholderColorFocus}: ${_sdds_cs.textTertiary};
32
+ ${_emotion.timePickerTokens.textFieldCaretColor}: ${_sdds_cs.textAccent};
32
33
 
33
- ${_emotion.timePickerTokens.indicatorColor}: var(--surface-negative);
34
+ ${_emotion.timePickerTokens.indicatorColor}: ${_sdds_cs.surfaceNegative};
34
35
 
35
- ${_emotion.timePickerTokens.timePickerShadow}: var(--shadow-down-soft-s);
36
+ ${_emotion.timePickerTokens.timePickerShadow}: ${_sdds_cs.shadowDownSoftS};
36
37
 
37
- ${_emotion.timePickerTokens.textFieldBackgroundColor}: var(--surface-solid-card);
38
- ${_emotion.timePickerTokens.textFieldBackgroundColorHover}: var(--surface-solid-card);
39
- ${_emotion.timePickerTokens.textFieldBackgroundColorFocus}: var(--surface-solid-card);
38
+ ${_emotion.timePickerTokens.textFieldBackgroundColor}: ${_sdds_cs.surfaceSolidCard};
39
+ ${_emotion.timePickerTokens.textFieldBackgroundColorHover}: ${_sdds_cs.surfaceSolidCard};
40
+ ${_emotion.timePickerTokens.textFieldBackgroundColorFocus}: ${_sdds_cs.surfaceSolidCard};
40
41
  ${_emotion.timePickerTokens.textFieldBackgroundErrorColor}: var--surface-solid-card);
41
42
  ${_emotion.timePickerTokens.textFieldBackgroundErrorColorFocus}: var--surface-solid-card);
42
- ${_emotion.timePickerTokens.textFieldBackgroundSuccessColor}: var(--surface-solid-card);
43
- ${_emotion.timePickerTokens.textFieldBackgroundSuccessColorFocus}: var(--surface-solid-card);
43
+ ${_emotion.timePickerTokens.textFieldBackgroundSuccessColor}: ${_sdds_cs.surfaceSolidCard};
44
+ ${_emotion.timePickerTokens.textFieldBackgroundSuccessColorFocus}: ${_sdds_cs.surfaceSolidCard};
44
45
 
45
- ${_emotion.timePickerTokens.borderColor}: var(--outline-solid-primary);
46
- ${_emotion.timePickerTokens.borderColorFocus}: var(--outline-accent);
47
- ${_emotion.timePickerTokens.borderColorHover}: var(--outline-solid-primary-hover);
46
+ ${_emotion.timePickerTokens.borderColor}: ${_sdds_cs.outlineSolidPrimary};
47
+ ${_emotion.timePickerTokens.borderColorFocus}: ${_sdds_cs.outlineAccent};
48
+ ${_emotion.timePickerTokens.borderColorHover}: ${_sdds_cs.outlineSolidPrimaryHover};
48
49
 
49
- ${_emotion.timePickerTokens.textFieldBorderColorError}: var(--text-negative);
50
- ${_emotion.timePickerTokens.textFieldBorderColorErrorFocus}: var(--text-negative);
51
- ${_emotion.timePickerTokens.textFieldBorderColorErrorHover}: var(--text-negative);
50
+ ${_emotion.timePickerTokens.textFieldBorderColorError}: ${_sdds_cs.textNegative};
51
+ ${_emotion.timePickerTokens.textFieldBorderColorErrorFocus}: ${_sdds_cs.textNegative};
52
+ ${_emotion.timePickerTokens.textFieldBorderColorErrorHover}: ${_sdds_cs.textNegative};
52
53
 
53
- ${_emotion.timePickerTokens.textFieldBorderColorSuccess}: var(--text-negative);
54
- ${_emotion.timePickerTokens.textFieldBorderColorSuccessFocus}: var(--text-negative);
55
- ${_emotion.timePickerTokens.textFieldBorderColorSuccessHover}: var(--text-negative);
54
+ ${_emotion.timePickerTokens.textFieldBorderColorSuccess}: ${_sdds_cs.textNegative};
55
+ ${_emotion.timePickerTokens.textFieldBorderColorSuccessFocus}: ${_sdds_cs.textNegative};
56
+ ${_emotion.timePickerTokens.textFieldBorderColorSuccessHover}: ${_sdds_cs.textNegative};
56
57
 
57
- ${_emotion.timePickerTokens.textFieldContentSlotColor}: var(--text-secondary);
58
- ${_emotion.timePickerTokens.textFieldContentSlotColorHover}: var(--text-secondary-hover);
59
- ${_emotion.timePickerTokens.textFieldContentSlotColorActive}: var(--text-secondary-active);
58
+ ${_emotion.timePickerTokens.textFieldContentSlotColor}: ${_sdds_cs.textSecondary};
59
+ ${_emotion.timePickerTokens.textFieldContentSlotColorHover}: ${_sdds_cs.textSecondaryHover};
60
+ ${_emotion.timePickerTokens.textFieldContentSlotColorActive}: ${_sdds_cs.textSecondaryActive};
60
61
 
61
- ${_emotion.timePickerTokens.textFieldContentRightSlotColor}: var(--text-accent);
62
- ${_emotion.timePickerTokens.textFieldContentRightSlotColorHover}: var(--text-accent-minor);
63
- ${_emotion.timePickerTokens.textFieldContentSlotRightOpacityReadOnly}: var(--text-accent-active);
62
+ ${_emotion.timePickerTokens.textFieldContentRightSlotColor}: ${_sdds_cs.textAccent};
63
+ ${_emotion.timePickerTokens.textFieldContentRightSlotColorHover}: ${_sdds_cs.textAccentMinor};
64
+ ${_emotion.timePickerTokens.textFieldContentSlotRightOpacityReadOnly}: ${_sdds_cs.textAccentActive};
64
65
 
65
- ${_emotion.timePickerTokens.textFieldTextBeforeColor}: var(--text-tertiary);
66
- ${_emotion.timePickerTokens.textFieldTextAfterColor}: var(--text-tertiary);
66
+ ${_emotion.timePickerTokens.textFieldTextBeforeColor}: ${_sdds_cs.textTertiary};
67
+ ${_emotion.timePickerTokens.textFieldTextAfterColor}: ${_sdds_cs.textTertiary};
67
68
 
68
- ${_emotion.timePickerTokens.textFieldPlaceholderColorFocus}: var(--text-tertiary);
69
+ ${_emotion.timePickerTokens.textFieldPlaceholderColorFocus}: ${_sdds_cs.textTertiary};
69
70
 
70
- ${_emotion.timePickerTokens.timePickerBackground}: var(--surface-solid-card);
71
- ${_emotion.timePickerTokens.itemBackgroundHover}: var(--surface-solid-secondary);
72
- ${_emotion.timePickerTokens.itemBackgroundActive}: var(--surface-solid-secondary);
73
- ${_emotion.timePickerTokens.itemFocusColor}: var(--surface-accent);
71
+ ${_emotion.timePickerTokens.timePickerBackground}: ${_sdds_cs.surfaceSolidCard};
72
+ ${_emotion.timePickerTokens.itemBackgroundHover}: ${_sdds_cs.surfaceSolidSecondary};
73
+ ${_emotion.timePickerTokens.itemBackgroundActive}: ${_sdds_cs.surfaceSolidSecondary};
74
+ ${_emotion.timePickerTokens.itemFocusColor}: ${_sdds_cs.surfaceAccent};
74
75
 
75
- ${_emotion.timePickerTokens.scrollbarColor}: var(--surface-solid-tertiary);
76
+ ${_emotion.timePickerTokens.scrollbarColor}: ${_sdds_cs.surfaceSolidTertiary};
76
77
  ${_emotion.timePickerTokens.scrollbarTrackColor}: var(--surface-transparent-primary);
77
78
 
78
- ${_emotion.timePickerTokens.leftHelperColor}: var(--text-secondary);
79
- ${_emotion.timePickerTokens.leftHelperColorError}: var(--text-negative);
80
- ${_emotion.timePickerTokens.leftHelperColorSuccess}: var(--text-positive);
79
+ ${_emotion.timePickerTokens.leftHelperColor}: ${_sdds_cs.textSecondary};
80
+ ${_emotion.timePickerTokens.leftHelperColorError}: ${_sdds_cs.textNegative};
81
+ ${_emotion.timePickerTokens.leftHelperColorSuccess}: ${_sdds_cs.textPositive};
81
82
  `
82
83
  },
83
84
  size: {
@@ -87,12 +88,12 @@ const config = {
87
88
 
88
89
  ${_emotion.timePickerTokens.labelOffset}: 0.5rem;
89
90
 
90
- ${_emotion.timePickerTokens.labelFontFamily}: var(--plasma-typo-body-s-font-family);
91
- ${_emotion.timePickerTokens.labelFontStyle}: var(--plasma-typo-body-s-font-style);
92
- ${_emotion.timePickerTokens.labelFontSize}: var(--plasma-typo-body-s-font-size);
93
- ${_emotion.timePickerTokens.labelFontWeight}: var(--plasma-typo-body-s-font-weight);
94
- ${_emotion.timePickerTokens.labelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
95
- ${_emotion.timePickerTokens.labelLineHeight}: var(--plasma-typo-body-s-line-height);
91
+ ${_emotion.timePickerTokens.labelFontFamily}: ${_sdds_cs.bodyS.fontFamily};
92
+ ${_emotion.timePickerTokens.labelFontStyle}: ${_sdds_cs.bodyS.fontStyle};
93
+ ${_emotion.timePickerTokens.labelFontSize}: ${_sdds_cs.bodyS.fontSize};
94
+ ${_emotion.timePickerTokens.labelFontWeight}: ${_sdds_cs.bodyS.fontWeight};
95
+ ${_emotion.timePickerTokens.labelLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
96
+ ${_emotion.timePickerTokens.labelLineHeight}: ${_sdds_cs.bodyS.lineHeight};
96
97
  ${_emotion.timePickerTokens.textFieldBorderWidth}: 0.0625rem;
97
98
 
98
99
  ${_emotion.timePickerTokens.indicatorSize}: 0.375rem;
@@ -106,12 +107,12 @@ const config = {
106
107
  ${_emotion.timePickerTokens.textFieldBorderWidth}: 0.125rem;
107
108
  ${_emotion.timePickerTokens.textFieldBorderRadius}: 0.75rem;
108
109
  ${_emotion.timePickerTokens.textFieldPadding}: 0.55rem 0.75rem;
109
- ${_emotion.timePickerTokens.textFieldFontFamily}: var(--plasma-typo-body-m-font-family);
110
- ${_emotion.timePickerTokens.textFieldFontStyle}: var(--plasma-typo-body-m-font-style);
111
- ${_emotion.timePickerTokens.textFieldFontSize}: var(--plasma-typo-body-m-font-size);
112
- ${_emotion.timePickerTokens.textFieldFontWeight}: var(--plasma-typo-body-m-font-weight);
113
- ${_emotion.timePickerTokens.textFieldLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
114
- ${_emotion.timePickerTokens.textFieldLineHeight}: var(--plasma-typo-body-m-line-height);
110
+ ${_emotion.timePickerTokens.textFieldFontFamily}: ${_sdds_cs.bodyM.fontFamily};
111
+ ${_emotion.timePickerTokens.textFieldFontStyle}: ${_sdds_cs.bodyM.fontStyle};
112
+ ${_emotion.timePickerTokens.textFieldFontSize}: ${_sdds_cs.bodyM.fontSize};
113
+ ${_emotion.timePickerTokens.textFieldFontWeight}: ${_sdds_cs.bodyM.fontWeight};
114
+ ${_emotion.timePickerTokens.textFieldLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
115
+ ${_emotion.timePickerTokens.textFieldLineHeight}: ${_sdds_cs.bodyM.lineHeight};
115
116
 
116
117
  ${_emotion.timePickerTokens.textFieldLeftContentMargin}: 0 0.5rem 0 0rem;
117
118
  ${_emotion.timePickerTokens.textFieldRightContentMargin}: 0 0rem 0 0.75rem;
@@ -124,24 +125,24 @@ const config = {
124
125
 
125
126
  ${_emotion.timePickerTokens.columnHeight}: 19rem;
126
127
 
127
- ${_emotion.timePickerTokens.itemFontFamily}: var(--plasma-typo-body-m-font-family);
128
- ${_emotion.timePickerTokens.itemFontSize}: var(--plasma-typo-body-m-font-size);
129
- ${_emotion.timePickerTokens.itemFontStyle}: var(--plasma-typo-body-m-font-style);
130
- ${_emotion.timePickerTokens.itemFontWeight}: var(--plasma-typo-body-m-font-weight);
131
- ${_emotion.timePickerTokens.itemLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
132
- ${_emotion.timePickerTokens.itemLineHeight}: var(--plasma-typo-body-m-line-height);
128
+ ${_emotion.timePickerTokens.itemFontFamily}: ${_sdds_cs.bodyM.fontFamily};
129
+ ${_emotion.timePickerTokens.itemFontSize}: ${_sdds_cs.bodyM.fontSize};
130
+ ${_emotion.timePickerTokens.itemFontStyle}: ${_sdds_cs.bodyM.fontStyle};
131
+ ${_emotion.timePickerTokens.itemFontWeight}: ${_sdds_cs.bodyM.fontWeight};
132
+ ${_emotion.timePickerTokens.itemLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
133
+ ${_emotion.timePickerTokens.itemLineHeight}: ${_sdds_cs.bodyM.lineHeight};
133
134
 
134
135
  ${_emotion.timePickerTokens.itemHeight}: 2.5rem;
135
136
  ${_emotion.timePickerTokens.itemBorderRadius}: 0.5rem;
136
137
  ${_emotion.timePickerTokens.itemPadding}: 0rem;
137
138
 
138
139
  ${_emotion.timePickerTokens.leftHelperOffset}: 0.25rem 0 0 0;
139
- ${_emotion.timePickerTokens.leftHelperFontFamily}: var(--plasma-typo-body-xs-font-family);
140
- ${_emotion.timePickerTokens.leftHelperFontStyle}: var(--plasma-typo-body-xs-font-style);
141
- ${_emotion.timePickerTokens.leftHelperFontSize}: var(--plasma-typo-body-xs-font-size);
142
- ${_emotion.timePickerTokens.leftHelperFontWeight}: var(--plasma-typo-body-xs-font-weight);
143
- ${_emotion.timePickerTokens.leftHelperLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
144
- ${_emotion.timePickerTokens.leftHelperLineHeight}: var(--plasma-typo-body-xs-line-height);
140
+ ${_emotion.timePickerTokens.leftHelperFontFamily}: ${_sdds_cs.bodyXS.fontFamily};
141
+ ${_emotion.timePickerTokens.leftHelperFontStyle}: ${_sdds_cs.bodyXS.fontStyle};
142
+ ${_emotion.timePickerTokens.leftHelperFontSize}: ${_sdds_cs.bodyXS.fontSize};
143
+ ${_emotion.timePickerTokens.leftHelperFontWeight}: ${_sdds_cs.bodyXS.fontWeight};
144
+ ${_emotion.timePickerTokens.leftHelperLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
145
+ ${_emotion.timePickerTokens.leftHelperLineHeight}: ${_sdds_cs.bodyXS.lineHeight};
145
146
 
146
147
  ${_emotion.timePickerTokens.scrollbarWidth}: 0.125rem;
147
148
  ${_emotion.timePickerTokens.scrollbarMargin}: 0.25rem;
@@ -151,31 +152,31 @@ const config = {
151
152
  true: (0, _emotion.css)`
152
153
  ${_emotion.timePickerTokens.disabledOpacity}: 1;
153
154
 
154
- ${_emotion.timePickerTokens.textFieldColor}: var(--text-secondary);
155
+ ${_emotion.timePickerTokens.textFieldColor}: ${_sdds_cs.textSecondary};
155
156
 
156
- ${_emotion.timePickerTokens.textFieldBackgroundColor}: var(--surface-solid-primary);
157
- ${_emotion.timePickerTokens.textFieldBackgroundColorFocus}: var(--surface-solid-primary);
157
+ ${_emotion.timePickerTokens.textFieldBackgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
158
+ ${_emotion.timePickerTokens.textFieldBackgroundColorFocus}: ${_sdds_cs.surfaceSolidPrimary};
158
159
 
159
- ${_emotion.timePickerTokens.textFieldBorderColor}: var(--surface-solid-primary);
160
- ${_emotion.timePickerTokens.textFieldBorderColorHover}: var(--surface-solid-primary);
161
- ${_emotion.timePickerTokens.textFieldBorderColorFocus}: var(--surface-solid-primary);
160
+ ${_emotion.timePickerTokens.textFieldBorderColor}: ${_sdds_cs.surfaceSolidPrimary};
161
+ ${_emotion.timePickerTokens.textFieldBorderColorHover}: ${_sdds_cs.surfaceSolidPrimary};
162
+ ${_emotion.timePickerTokens.textFieldBorderColorFocus}: ${_sdds_cs.surfaceSolidPrimary};
162
163
  `
163
164
  },
164
165
  readonly: {
165
166
  true: (0, _emotion.css)`
166
- ${_emotion.timePickerTokens.labelColorReadOnly}: var(--text-secondary);
167
- ${_emotion.timePickerTokens.leftHelperColorReadOnly}: var(--text-secondary);
167
+ ${_emotion.timePickerTokens.labelColorReadOnly}: ${_sdds_cs.textSecondary};
168
+ ${_emotion.timePickerTokens.leftHelperColorReadOnly}: ${_sdds_cs.textSecondary};
168
169
 
169
- ${_emotion.timePickerTokens.textFieldColorReadOnly}: var(--text-primary);
170
- ${_emotion.timePickerTokens.textFieldPlaceholderColorReadOnly}: var(--text-secondary);
170
+ ${_emotion.timePickerTokens.textFieldColorReadOnly}: ${_sdds_cs.textPrimary};
171
+ ${_emotion.timePickerTokens.textFieldPlaceholderColorReadOnly}: ${_sdds_cs.textSecondary};
171
172
 
172
- ${_emotion.timePickerTokens.textFieldContentSlotColorHover}: var(--text-secondary);
173
- ${_emotion.timePickerTokens.textFieldContentSlotColorActive}: var(--text-secondary);
173
+ ${_emotion.timePickerTokens.textFieldContentSlotColorHover}: ${_sdds_cs.textSecondary};
174
+ ${_emotion.timePickerTokens.textFieldContentSlotColorActive}: ${_sdds_cs.textSecondary};
174
175
 
175
176
  ${_emotion.timePickerTokens.textFieldBorderWidth}: 0;
176
177
  ${_emotion.timePickerTokens.textFieldBorderColor}: transparent;
177
178
 
178
- ${_emotion.timePickerTokens.textFieldBackgroundColorReadOnly}: var(--surface-clear);
179
+ ${_emotion.timePickerTokens.textFieldBackgroundColorReadOnly}: ${_sdds_cs.surfaceClear};
179
180
  ${_emotion.timePickerTokens.textFieldContentSlotRightOpacityReadOnly}: 0.4;
180
181
  `
181
182
  }
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "config", {
8
8
  return config;
9
9
  }
10
10
  });
11
+ const _sdds_cs = require("@salutejs/sdds-themes/tokens/sdds_cs");
11
12
  const _emotion = require("@salutejs/plasma-new-hope/emotion");
12
13
  const config = {
13
14
  defaults: {
@@ -18,31 +19,31 @@ const config = {
18
19
  variations: {
19
20
  view: {
20
21
  default: (0, _emotion.css)`
21
- ${_emotion.toastTokens.color}: var(--text-primary);
22
- ${_emotion.toastTokens.background}: var(--surface-solid-card-brightness);
22
+ ${_emotion.toastTokens.color}: ${_sdds_cs.textPrimary};
23
+ ${_emotion.toastTokens.background}: ${_sdds_cs.surfaceSolidCardBrightness};
23
24
 
24
- ${_emotion.toastTokens.closeIconColor}: var(--text-accent);
25
- ${_emotion.toastTokens.closeIconColorOnHover}: var(--text-accent-minor);
25
+ ${_emotion.toastTokens.closeIconColor}: ${_sdds_cs.textAccent};
26
+ ${_emotion.toastTokens.closeIconColorOnHover}: ${_sdds_cs.textAccentMinor};
26
27
  `,
27
28
  /**
28
29
  * @deprecated
29
30
  * светлый и темный фон регулировать через `view` компонента `ViewContainer`
30
31
  */ dark: (0, _emotion.css)`
31
- ${_emotion.toastTokens.color}: var(--on-dark-text-primary);
32
- ${_emotion.toastTokens.background}: var(--on-dark-surface-solid-primary-brightness);
32
+ ${_emotion.toastTokens.color}: ${_sdds_cs.onDarkTextPrimary};
33
+ ${_emotion.toastTokens.background}: ${_sdds_cs.onDarkSurfaceSolidPrimaryBrightness};
33
34
 
34
- ${_emotion.toastTokens.closeIconColor}: var(--on-dark-text-accent);
35
- ${_emotion.toastTokens.closeIconColorOnHover}: var(--on-dark-text-accent-minor);
35
+ ${_emotion.toastTokens.closeIconColor}: ${_sdds_cs.onDarkTextAccent};
36
+ ${_emotion.toastTokens.closeIconColorOnHover}: ${_sdds_cs.onDarkTextAccentMinor};
36
37
  `,
37
38
  /**
38
39
  * @deprecated
39
40
  * светлый и темный фон регулировать через `view` компонента `ViewContainer`
40
41
  */ light: (0, _emotion.css)`
41
- ${_emotion.toastTokens.color}: var(--on-light-text-primary);
42
- ${_emotion.toastTokens.background}: var(--on-light-surface-solid-primary-brightness);
42
+ ${_emotion.toastTokens.color}: ${_sdds_cs.onLightTextPrimary};
43
+ ${_emotion.toastTokens.background}: ${_sdds_cs.onLightSurfaceSolidPrimaryBrightness};
43
44
 
44
- ${_emotion.toastTokens.closeIconColor}: var(--on-light-text-accent);
45
- ${_emotion.toastTokens.closeIconColorOnHover}: var(--on-light-text-accent-minor);
45
+ ${_emotion.toastTokens.closeIconColor}: ${_sdds_cs.onLightTextAccent};
46
+ ${_emotion.toastTokens.closeIconColorOnHover}: ${_sdds_cs.onLightTextAccentMinor};
46
47
  `
47
48
  },
48
49
  size: {
@@ -51,12 +52,12 @@ const config = {
51
52
  ${_emotion.toastTokens.maxWidth}: calc(100vw - 5rem);
52
53
  ${_emotion.toastTokens.padding}: 0.5rem 0.75rem;
53
54
 
54
- ${_emotion.toastTokens.fontFamily}: var(--plasma-typo-body-m-font-family);
55
- ${_emotion.toastTokens.fontSize}: var(--plasma-typo-body-m-font-size);
56
- ${_emotion.toastTokens.fontStyle}: var(--plasma-typo-body-m-font-style);
57
- ${_emotion.toastTokens.fontWeight}: var(--plasma-typo-body-m-font-weight);
58
- ${_emotion.toastTokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);
59
- ${_emotion.toastTokens.lineHeight}: var(--plasma-typo-body-m-line-height);
55
+ ${_emotion.toastTokens.fontFamily}: ${_sdds_cs.bodyM.fontFamily};
56
+ ${_emotion.toastTokens.fontSize}: ${_sdds_cs.bodyM.fontSize};
57
+ ${_emotion.toastTokens.fontStyle}: ${_sdds_cs.bodyM.fontStyle};
58
+ ${_emotion.toastTokens.fontWeight}: ${_sdds_cs.bodyM.fontWeight};
59
+ ${_emotion.toastTokens.letterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
60
+ ${_emotion.toastTokens.lineHeight}: ${_sdds_cs.bodyM.lineHeight};
60
61
 
61
62
  ${_emotion.toastTokens.contentLeftMargin}: -0.0625rem 0.5rem -0.0625rem 0rem;
62
63
  ${_emotion.toastTokens.closeIconMargin}: -0.0625rem 0.125rem -0.0625rem 0.75rem;
@@ -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,11 +18,11 @@ const config = {
17
18
  variations: {
18
19
  view: {
19
20
  default: (0, _emotion.css)`
20
- ${_emotion.toastNewTokens.color}: var(--text-primary);
21
- ${_emotion.toastNewTokens.background}: var(--surface-solid-card-brightness);
21
+ ${_emotion.toastNewTokens.color}: ${_sdds_cs.textPrimary};
22
+ ${_emotion.toastNewTokens.background}: ${_sdds_cs.surfaceSolidCardBrightness};
22
23
 
23
- ${_emotion.toastNewTokens.closeIconColor}: var(--text-accent);
24
- ${_emotion.toastNewTokens.closeIconColorOnHover}: var(--text-accent-minor);
24
+ ${_emotion.toastNewTokens.closeIconColor}: ${_sdds_cs.textAccent};
25
+ ${_emotion.toastNewTokens.closeIconColorOnHover}: ${_sdds_cs.textAccentMinor};
25
26
  `
26
27
  },
27
28
  size: {
@@ -34,12 +35,12 @@ const config = {
34
35
  ${_emotion.toastNewTokens.closeIconMargin}: -0.0625rem 0.125rem -0.0625rem 0.75rem;
35
36
  ${_emotion.toastNewTokens.contentLeftMargin}: -0.0625rem 0.5rem -0.0625rem 0rem;
36
37
 
37
- ${_emotion.toastNewTokens.fontFamily}: var(--plasma-typo-body-m-font-family);
38
- ${_emotion.toastNewTokens.fontSize}: var(--plasma-typo-body-m-font-size);
39
- ${_emotion.toastNewTokens.fontStyle}: var(--plasma-typo-body-m-font-style);
40
- ${_emotion.toastNewTokens.fontWeight}: var(--plasma-typo-body-m-font-weight);
41
- ${_emotion.toastNewTokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);
42
- ${_emotion.toastNewTokens.lineHeight}: var(--plasma-typo-body-m-line-height);
38
+ ${_emotion.toastNewTokens.fontFamily}: ${_sdds_cs.bodyM.fontFamily};
39
+ ${_emotion.toastNewTokens.fontSize}: ${_sdds_cs.bodyM.fontSize};
40
+ ${_emotion.toastNewTokens.fontStyle}: ${_sdds_cs.bodyM.fontStyle};
41
+ ${_emotion.toastNewTokens.fontWeight}: ${_sdds_cs.bodyM.fontWeight};
42
+ ${_emotion.toastNewTokens.letterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
43
+ ${_emotion.toastNewTokens.lineHeight}: ${_sdds_cs.bodyM.lineHeight};
43
44
  `
44
45
  },
45
46
  pilled: {
@@ -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: {
@@ -25,12 +26,12 @@ const config = {
25
26
  ${_emotion.tooltipTokens.minHeight}: 2rem;
26
27
  ${_emotion.tooltipTokens.borderRadius}: 0.5rem;
27
28
 
28
- ${_emotion.tooltipTokens.textFontFamily}: var(--plasma-typo-body-s-font-family);
29
- ${_emotion.tooltipTokens.textFontSize}: var(--plasma-typo-body-s-font-size);
30
- ${_emotion.tooltipTokens.textFontStyle}: var(--plasma-typo-body-s-font-style);
31
- ${_emotion.tooltipTokens.textFontWeight}: var(--plasma-typo-body-s-font-weight);
32
- ${_emotion.tooltipTokens.textFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
33
- ${_emotion.tooltipTokens.textFontLineHeight}: var(--plasma-typo-body-s-line-height);
29
+ ${_emotion.tooltipTokens.textFontFamily}: ${_sdds_cs.bodyS.fontFamily};
30
+ ${_emotion.tooltipTokens.textFontSize}: ${_sdds_cs.bodyS.fontSize};
31
+ ${_emotion.tooltipTokens.textFontStyle}: ${_sdds_cs.bodyS.fontStyle};
32
+ ${_emotion.tooltipTokens.textFontWeight}: ${_sdds_cs.bodyS.fontWeight};
33
+ ${_emotion.tooltipTokens.textFontLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
34
+ ${_emotion.tooltipTokens.textFontLineHeight}: ${_sdds_cs.bodyS.lineHeight};
34
35
 
35
36
  ${_emotion.tooltipTokens.contentLeftMargin}: 0.25rem;
36
37
 
@@ -44,16 +45,16 @@ const config = {
44
45
  view: {
45
46
  // TODO заменить тень на токен https://github.com/salute-developers/plasma/issues/1131
46
47
  default: (0, _emotion.css)`
47
- ${_emotion.tooltipTokens.backgroundColor}: var(--inverse-surface-solid-card);
48
- ${_emotion.tooltipTokens.arrowBackground}: var(--inverse-surface-solid-card);
48
+ ${_emotion.tooltipTokens.backgroundColor}: ${_sdds_cs.inverseSurfaceSolidCard};
49
+ ${_emotion.tooltipTokens.arrowBackground}: ${_sdds_cs.inverseSurfaceSolidCard};
49
50
  ${_emotion.tooltipTokens.boxShadow}: 0px 4px 12px 0px rgba(0, 0, 0, 0.16),0px 1px 4px 0px rgba(0, 0, 0, 0.08);
50
- ${_emotion.tooltipTokens.color}: var(--inverse-text-primary);
51
+ ${_emotion.tooltipTokens.color}: ${_sdds_cs.inverseTextPrimary};
51
52
  `,
52
53
  secondary: (0, _emotion.css)`
53
- ${_emotion.tooltipTokens.backgroundColor}: var(--on-dark-surface-solid-secondary);
54
- ${_emotion.tooltipTokens.arrowBackground}: var(--on-dark-surface-solid-secondary);
54
+ ${_emotion.tooltipTokens.backgroundColor}: ${_sdds_cs.onDarkSurfaceSolidSecondary};
55
+ ${_emotion.tooltipTokens.arrowBackground}: ${_sdds_cs.onDarkSurfaceSolidSecondary};
55
56
  ${_emotion.tooltipTokens.boxShadow}: 0px 4px 12px 0px rgba(0, 0, 0, 0.16),0px 1px 4px 0px rgba(0, 0, 0, 0.08);
56
- ${_emotion.tooltipTokens.color}: var(--inverse-text-primary);
57
+ ${_emotion.tooltipTokens.color}: ${_sdds_cs.inverseTextPrimary};
57
58
  `
58
59
  }
59
60
  }
@@ -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,7 +18,7 @@ const config = {
17
18
  variations: {
18
19
  view: {
19
20
  default: (0, _emotion.css)`
20
- ${_emotion.tourTokens.tailColor}: var(--surface-solid-card);
21
+ ${_emotion.tourTokens.tailColor}: ${_sdds_cs.surfaceSolidCard};
21
22
  ${_emotion.tourTokens.overlayColor}: rgba(0, 0, 0, 0.45);
22
23
  `
23
24
  },
@@ -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,23 +18,23 @@ const config = {
17
18
  variations: {
18
19
  view: {
19
20
  default: (0, _emotion.css)`
20
- ${_emotion.treeTokens.iconFolderColor}: var(--text-primary);
21
- ${_emotion.treeTokens.arrowColor}: var(--text-accent);
22
- ${_emotion.treeTokens.arrowColorHover}: var(--text-accent-minor);
23
- ${_emotion.treeTokens.arrowColorActive}: var(--text-accent-active);
24
- ${_emotion.treeTokens.color}: var(--text-primary);
25
- ${_emotion.treeTokens.colorSelected}: var(--text-primary);
26
- ${_emotion.treeTokens.itemBackgroundColorSelected}: var(--surface-solid-primary);
21
+ ${_emotion.treeTokens.iconFolderColor}: ${_sdds_cs.textPrimary};
22
+ ${_emotion.treeTokens.arrowColor}: ${_sdds_cs.textAccent};
23
+ ${_emotion.treeTokens.arrowColorHover}: ${_sdds_cs.textAccentMinor};
24
+ ${_emotion.treeTokens.arrowColorActive}: ${_sdds_cs.textAccentActive};
25
+ ${_emotion.treeTokens.color}: ${_sdds_cs.textPrimary};
26
+ ${_emotion.treeTokens.colorSelected}: ${_sdds_cs.textPrimary};
27
+ ${_emotion.treeTokens.itemBackgroundColorSelected}: ${_sdds_cs.surfaceSolidPrimary};
27
28
  ${_emotion.treeTokens.itemBackgroundColorPrimary}: transparent;
28
- ${_emotion.treeTokens.itemBackgroundColorHover}: var(--surface-transparent-accent);
29
- ${_emotion.treeTokens.itemBackgroundColorActive}: var(--surface-solid-primary-active);
30
- ${_emotion.treeTokens.checkboxBorderColor}: var(--text-accent);
31
- ${_emotion.treeTokens.checkboxBackgroundColor}: var(--text-accent);
29
+ ${_emotion.treeTokens.itemBackgroundColorHover}: ${_sdds_cs.surfaceTransparentAccent};
30
+ ${_emotion.treeTokens.itemBackgroundColorActive}: ${_sdds_cs.surfaceSolidPrimaryActive};
31
+ ${_emotion.treeTokens.checkboxBorderColor}: ${_sdds_cs.textAccent};
32
+ ${_emotion.treeTokens.checkboxBackgroundColor}: ${_sdds_cs.textAccent};
32
33
  ${_emotion.treeTokens.itemDisabledOpacity}: 1;
33
- ${_emotion.treeTokens.itemDisabledBorderColor}: var(--text-secondary);
34
- ${_emotion.treeTokens.itemDisabledColor}: var(--text-secondary);
35
- ${_emotion.treeTokens.itemDraggableBorderColor}: var(--surface-positive);
36
- ${_emotion.treeTokens.itemDraggableLineColor}: var(--surface-solid-default);
34
+ ${_emotion.treeTokens.itemDisabledBorderColor}: ${_sdds_cs.textSecondary};
35
+ ${_emotion.treeTokens.itemDisabledColor}: ${_sdds_cs.textSecondary};
36
+ ${_emotion.treeTokens.itemDraggableBorderColor}: ${_sdds_cs.surfacePositive};
37
+ ${_emotion.treeTokens.itemDraggableLineColor}: ${_sdds_cs.surfaceSolidDefault};
37
38
  `
38
39
  },
39
40
  size: {
@@ -61,12 +62,12 @@ const config = {
61
62
  ${_emotion.treeTokens.checkboxInnerSize}: 1.25rem;
62
63
  ${_emotion.treeTokens.checkboxBorderRadius}: 0.375rem;
63
64
 
64
- ${_emotion.treeTokens.fontFamily}: var(--plasma-typo-body-m-font-family);
65
- ${_emotion.treeTokens.fontSize}: var(--plasma-typo-body-m-font-size);
66
- ${_emotion.treeTokens.fontStyle}: var(--plasma-typo-body-m-font-style);
67
- ${_emotion.treeTokens.fontWeight}: var(--plasma-typo-body-m-font-weight);
68
- ${_emotion.treeTokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);
69
- ${_emotion.treeTokens.lineHeight}: var(--plasma-typo-body-m-line-height);
65
+ ${_emotion.treeTokens.fontFamily}: ${_sdds_cs.bodyM.fontFamily};
66
+ ${_emotion.treeTokens.fontSize}: ${_sdds_cs.bodyM.fontSize};
67
+ ${_emotion.treeTokens.fontStyle}: ${_sdds_cs.bodyM.fontStyle};
68
+ ${_emotion.treeTokens.fontWeight}: ${_sdds_cs.bodyM.fontWeight};
69
+ ${_emotion.treeTokens.letterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
70
+ ${_emotion.treeTokens.lineHeight}: ${_sdds_cs.bodyM.lineHeight};
70
71
  `
71
72
  }
72
73
  }
@@ -25,6 +25,7 @@ _export(exports, {
25
25
  return configXXS;
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 configL = {
30
31
  defaults: {
@@ -33,14 +34,14 @@ const configL = {
33
34
  variations: {
34
35
  size: {
35
36
  l: (0, _emotion.css)`
36
- ${_emotion.typographyTokens.typoFontFamily}: var(--plasma-typo-body-l-font-family);
37
- ${_emotion.typographyTokens.typoFontSize}: var(--plasma-typo-body-l-font-size);
38
- ${_emotion.typographyTokens.typoFontStyle}: var(--plasma-typo-body-l-font-style);
39
- ${_emotion.typographyTokens.typoFontWeight}: var(--plasma-typo-body-l-font-weight);
40
- ${_emotion.typographyTokens.typoFontWeightBold}: var(--plasma-typo-body-l-bold-font-weight);
41
- ${_emotion.typographyTokens.typoFontWeightMedium}: var(--plasma-typo-body-l-medium-font-weight);
42
- ${_emotion.typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);
43
- ${_emotion.typographyTokens.typoFontLineHeight}: var(--plasma-typo-body-l-line-height);
37
+ ${_emotion.typographyTokens.typoFontFamily}: ${_sdds_cs.bodyL.fontFamily};
38
+ ${_emotion.typographyTokens.typoFontSize}: ${_sdds_cs.bodyL.fontSize};
39
+ ${_emotion.typographyTokens.typoFontStyle}: ${_sdds_cs.bodyL.fontStyle};
40
+ ${_emotion.typographyTokens.typoFontWeight}: ${_sdds_cs.bodyL.fontWeight};
41
+ ${_emotion.typographyTokens.typoFontWeightBold}: ${_sdds_cs.bodyLBold.fontWeight};
42
+ ${_emotion.typographyTokens.typoFontWeightMedium}: ${_sdds_cs.bodyLMedium.fontWeight};
43
+ ${_emotion.typographyTokens.typoFontLetterSpacing}: ${_sdds_cs.bodyL.letterSpacing};
44
+ ${_emotion.typographyTokens.typoFontLineHeight}: ${_sdds_cs.bodyL.lineHeight};
44
45
  `
45
46
  }
46
47
  }
@@ -52,14 +53,14 @@ const configM = {
52
53
  variations: {
53
54
  size: {
54
55
  m: (0, _emotion.css)`
55
- ${_emotion.typographyTokens.typoFontFamily}: var(--plasma-typo-body-m-font-family);
56
- ${_emotion.typographyTokens.typoFontSize}: var(--plasma-typo-body-m-font-size);
57
- ${_emotion.typographyTokens.typoFontStyle}: var(--plasma-typo-body-m-font-style);
58
- ${_emotion.typographyTokens.typoFontWeight}: var(--plasma-typo-body-m-font-weight);
59
- ${_emotion.typographyTokens.typoFontWeightBold}: var(--plasma-typo-body-m-bold-font-weight);
60
- ${_emotion.typographyTokens.typoFontWeightMedium}: var(--plasma-typo-body-m-medium-font-weight);
61
- ${_emotion.typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
62
- ${_emotion.typographyTokens.typoFontLineHeight}: var(--plasma-typo-body-m-line-height);
56
+ ${_emotion.typographyTokens.typoFontFamily}: ${_sdds_cs.bodyM.fontFamily};
57
+ ${_emotion.typographyTokens.typoFontSize}: ${_sdds_cs.bodyM.fontSize};
58
+ ${_emotion.typographyTokens.typoFontStyle}: ${_sdds_cs.bodyM.fontStyle};
59
+ ${_emotion.typographyTokens.typoFontWeight}: ${_sdds_cs.bodyM.fontWeight};
60
+ ${_emotion.typographyTokens.typoFontWeightBold}: ${_sdds_cs.bodyMBold.fontWeight};
61
+ ${_emotion.typographyTokens.typoFontWeightMedium}: ${_sdds_cs.bodyMMedium.fontWeight};
62
+ ${_emotion.typographyTokens.typoFontLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
63
+ ${_emotion.typographyTokens.typoFontLineHeight}: ${_sdds_cs.bodyM.lineHeight};
63
64
  `
64
65
  }
65
66
  }
@@ -71,14 +72,14 @@ const configS = {
71
72
  variations: {
72
73
  size: {
73
74
  s: (0, _emotion.css)`
74
- ${_emotion.typographyTokens.typoFontFamily}: var(--plasma-typo-body-s-font-family);
75
- ${_emotion.typographyTokens.typoFontSize}: var(--plasma-typo-body-s-font-size);
76
- ${_emotion.typographyTokens.typoFontStyle}: var(--plasma-typo-body-s-font-style);
77
- ${_emotion.typographyTokens.typoFontWeight}: var(--plasma-typo-body-s-font-weight);
78
- ${_emotion.typographyTokens.typoFontWeightBold}: var(--plasma-typo-body-s-bold-font-weight);
79
- ${_emotion.typographyTokens.typoFontWeightMedium}: var(--plasma-typo-body-s-medium-font-weight);
80
- ${_emotion.typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
81
- ${_emotion.typographyTokens.typoFontLineHeight}: var(--plasma-typo-body-s-line-height);
75
+ ${_emotion.typographyTokens.typoFontFamily}: ${_sdds_cs.bodyS.fontFamily};
76
+ ${_emotion.typographyTokens.typoFontSize}: ${_sdds_cs.bodyS.fontSize};
77
+ ${_emotion.typographyTokens.typoFontStyle}: ${_sdds_cs.bodyS.fontStyle};
78
+ ${_emotion.typographyTokens.typoFontWeight}: ${_sdds_cs.bodyS.fontWeight};
79
+ ${_emotion.typographyTokens.typoFontWeightBold}: ${_sdds_cs.bodySBold.fontWeight};
80
+ ${_emotion.typographyTokens.typoFontWeightMedium}: ${_sdds_cs.bodySMedium.fontWeight};
81
+ ${_emotion.typographyTokens.typoFontLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
82
+ ${_emotion.typographyTokens.typoFontLineHeight}: ${_sdds_cs.bodyS.lineHeight};
82
83
  `
83
84
  }
84
85
  }
@@ -90,14 +91,14 @@ const configXS = {
90
91
  variations: {
91
92
  size: {
92
93
  xs: (0, _emotion.css)`
93
- ${_emotion.typographyTokens.typoFontFamily}: var(--plasma-typo-body-xs-font-family);
94
- ${_emotion.typographyTokens.typoFontSize}: var(--plasma-typo-body-xs-font-size);
95
- ${_emotion.typographyTokens.typoFontStyle}: var(--plasma-typo-body-xs-font-style);
96
- ${_emotion.typographyTokens.typoFontWeight}: var(--plasma-typo-body-xs-font-weight);
97
- ${_emotion.typographyTokens.typoFontWeightBold}: var(--plasma-typo-body-xs-bold-font-weight);
98
- ${_emotion.typographyTokens.typoFontWeightMedium}: var(--plasma-typo-body-xs-medium-font-weight);
99
- ${_emotion.typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
100
- ${_emotion.typographyTokens.typoFontLineHeight}: var(--plasma-typo-body-xs-line-height);
94
+ ${_emotion.typographyTokens.typoFontFamily}: ${_sdds_cs.bodyXS.fontFamily};
95
+ ${_emotion.typographyTokens.typoFontSize}: ${_sdds_cs.bodyXS.fontSize};
96
+ ${_emotion.typographyTokens.typoFontStyle}: ${_sdds_cs.bodyXS.fontStyle};
97
+ ${_emotion.typographyTokens.typoFontWeight}: ${_sdds_cs.bodyXS.fontWeight};
98
+ ${_emotion.typographyTokens.typoFontWeightBold}: ${_sdds_cs.bodyXSBold.fontWeight};
99
+ ${_emotion.typographyTokens.typoFontWeightMedium}: ${_sdds_cs.bodyXSMedium.fontWeight};
100
+ ${_emotion.typographyTokens.typoFontLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
101
+ ${_emotion.typographyTokens.typoFontLineHeight}: ${_sdds_cs.bodyXS.lineHeight};
101
102
  `
102
103
  }
103
104
  }
@@ -109,14 +110,14 @@ const configXXS = {
109
110
  variations: {
110
111
  size: {
111
112
  xxs: (0, _emotion.css)`
112
- ${_emotion.typographyTokens.typoFontFamily}: var(--plasma-typo-body-xxs-font-family);
113
- ${_emotion.typographyTokens.typoFontSize}: var(--plasma-typo-body-xxs-font-size);
114
- ${_emotion.typographyTokens.typoFontStyle}: var(--plasma-typo-body-xxs-font-style);
115
- ${_emotion.typographyTokens.typoFontWeight}: var(--plasma-typo-body-xxs-font-weight);
116
- ${_emotion.typographyTokens.typoFontWeightBold}: var(--plasma-typo-body-xxs-bold-font-weight);
117
- ${_emotion.typographyTokens.typoFontWeightMedium}: var(--plasma-typo-body-xxs-medium-font-weight);
118
- ${_emotion.typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-body-xxs-letter-spacing);
119
- ${_emotion.typographyTokens.typoFontLineHeight}: var(--plasma-typo-body-xxs-line-height);
113
+ ${_emotion.typographyTokens.typoFontFamily}: ${_sdds_cs.bodyXXS.fontFamily};
114
+ ${_emotion.typographyTokens.typoFontSize}: ${_sdds_cs.bodyXXS.fontSize};
115
+ ${_emotion.typographyTokens.typoFontStyle}: ${_sdds_cs.bodyXXS.fontStyle};
116
+ ${_emotion.typographyTokens.typoFontWeight}: ${_sdds_cs.bodyXXS.fontWeight};
117
+ ${_emotion.typographyTokens.typoFontWeightBold}: ${_sdds_cs.bodyXXSBold.fontWeight};
118
+ ${_emotion.typographyTokens.typoFontWeightMedium}: ${_sdds_cs.bodyXXSMedium.fontWeight};
119
+ ${_emotion.typographyTokens.typoFontLetterSpacing}: ${_sdds_cs.bodyXXS.letterSpacing};
120
+ ${_emotion.typographyTokens.typoFontLineHeight}: ${_sdds_cs.bodyXXS.lineHeight};
120
121
  `
121
122
  }
122
123
  }