@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,31 +18,31 @@ const config = {
17
18
  variations: {
18
19
  view: {
19
20
  divider: (0, _emotion.css)`
20
- ${_emotion.tabsTokens.itemColor}: var(--text-accent);
21
- ${_emotion.tabsTokens.itemValueColor}: var(--text-secondary);
21
+ ${_emotion.tabsTokens.itemColor}: ${_sdds_cs.textAccent};
22
+ ${_emotion.tabsTokens.itemValueColor}: ${_sdds_cs.textSecondary};
22
23
  ${_emotion.tabsTokens.itemBackgroundColor}: transparent;
23
- ${_emotion.tabsTokens.itemColorHover}: var(--text-accent-minor);
24
- ${_emotion.tabsTokens.itemValueColorHover}: var(--text-secondary);
25
- ${_emotion.tabsTokens.itemColorActive}: var(--text-accent-active);
26
- ${_emotion.tabsTokens.itemValueColorActive}: var(--text-secondary);
24
+ ${_emotion.tabsTokens.itemColorHover}: ${_sdds_cs.textAccentMinor};
25
+ ${_emotion.tabsTokens.itemValueColorHover}: ${_sdds_cs.textSecondary};
26
+ ${_emotion.tabsTokens.itemColorActive}: ${_sdds_cs.textAccentActive};
27
+ ${_emotion.tabsTokens.itemValueColorActive}: ${_sdds_cs.textSecondary};
27
28
  ${_emotion.tabsTokens.itemBackgroundColorHover}: transparent;
28
- ${_emotion.tabsTokens.itemSelectedColor}: var(--text-primary);
29
- ${_emotion.tabsTokens.itemSelectedValueColor}: var(--text-secondary);
29
+ ${_emotion.tabsTokens.itemSelectedColor}: ${_sdds_cs.textPrimary};
30
+ ${_emotion.tabsTokens.itemSelectedValueColor}: ${_sdds_cs.textSecondary};
30
31
  ${_emotion.tabsTokens.itemSelectedBackgroundColor}: transparent;
31
- ${_emotion.tabsTokens.itemSelectedColorHover}: var(--text-primary);
32
- ${_emotion.tabsTokens.itemSelectedValueColorHover}: var(--text-secondary);
32
+ ${_emotion.tabsTokens.itemSelectedColorHover}: ${_sdds_cs.textPrimary};
33
+ ${_emotion.tabsTokens.itemSelectedValueColorHover}: ${_sdds_cs.textSecondary};
33
34
  ${_emotion.tabsTokens.itemSelectedBackgroundColorHover}: transparent;
34
35
  ${_emotion.tabsTokens.itemBackgroundTransition}: background-color 0.3s ease-in-out;
35
36
 
36
37
  ${_emotion.tabsTokens.itemPaddingClear}: 0;
37
38
  ${_emotion.tabsTokens.itemContentPaddingClear}: 0;
38
39
 
39
- ${_emotion.tabsTokens.outlineFocusColor}: var(--surface-accent);
40
+ ${_emotion.tabsTokens.outlineFocusColor}: ${_sdds_cs.surfaceAccent};
40
41
 
41
42
  ${_emotion.tabsTokens.itemSelectedDividerWidth}: 0.125rem;
42
43
  ${_emotion.tabsTokens.itemSelectedDividerHeight}: 0.125rem;
43
- ${_emotion.tabsTokens.itemSelectedDividerColor}: var(--surface-solid-default);
44
- ${_emotion.tabsTokens.itemSelectedDividerColorHover}: var(--text-primary);
44
+ ${_emotion.tabsTokens.itemSelectedDividerColor}: ${_sdds_cs.surfaceSolidDefault};
45
+ ${_emotion.tabsTokens.itemSelectedDividerColorHover}: ${_sdds_cs.textPrimary};
45
46
 
46
47
  ${_emotion.tabsTokens.itemCursor}: default;
47
48
  ${_emotion.tabsTokens.itemCursorOverNotSelected}: pointer;
@@ -59,32 +60,32 @@ const config = {
59
60
  ${_emotion.tabsTokens.itemContentGap}: 0.25rem;
60
61
  ${_emotion.tabsTokens.itemContentPadding}: 0.125rem;
61
62
 
62
- ${_emotion.tabsTokens.fontFamily}: var(--plasma-typo-body-m-bold-font-family);
63
- ${_emotion.tabsTokens.fontSize}: var(--plasma-typo-body-m-bold-font-size);
64
- ${_emotion.tabsTokens.fontStyle}: var(--plasma-typo-body-m-bold-font-style);
65
- ${_emotion.tabsTokens.fontWeight}: var(--plasma-typo-body-m-bold-font-weight);
66
- ${_emotion.tabsTokens.letterSpacing}: var(--plasma-typo-body-m-bold-letter-spacing);
67
- ${_emotion.tabsTokens.lineHeight}: var(--plasma-typo-body-m-bold-line-height);
63
+ ${_emotion.tabsTokens.fontFamily}: ${_sdds_cs.bodyMBold.fontFamily};
64
+ ${_emotion.tabsTokens.fontSize}: ${_sdds_cs.bodyMBold.fontSize};
65
+ ${_emotion.tabsTokens.fontStyle}: ${_sdds_cs.bodyMBold.fontStyle};
66
+ ${_emotion.tabsTokens.fontWeight}: ${_sdds_cs.bodyMBold.fontWeight};
67
+ ${_emotion.tabsTokens.letterSpacing}: ${_sdds_cs.bodyMBold.letterSpacing};
68
+ ${_emotion.tabsTokens.lineHeight}: ${_sdds_cs.bodyMBold.lineHeight};
68
69
 
69
- ${_emotion.tabsTokens.valueFontFamily}: var(--plasma-typo-body-m-font-family);
70
- ${_emotion.tabsTokens.valueFontSize}: var(--plasma-typo-body-m-font-size);
71
- ${_emotion.tabsTokens.valueFontStyle}: var(--plasma-typo-body-m-font-style);
72
- ${_emotion.tabsTokens.valueFontWeight}: var(--plasma-typo-body-m-font-weight);
73
- ${_emotion.tabsTokens.valueLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
74
- ${_emotion.tabsTokens.valueLineHeight}: var(--plasma-typo-body-m-line-height);
70
+ ${_emotion.tabsTokens.valueFontFamily}: ${_sdds_cs.bodyM.fontFamily};
71
+ ${_emotion.tabsTokens.valueFontSize}: ${_sdds_cs.bodyM.fontSize};
72
+ ${_emotion.tabsTokens.valueFontStyle}: ${_sdds_cs.bodyM.fontStyle};
73
+ ${_emotion.tabsTokens.valueFontWeight}: ${_sdds_cs.bodyM.fontWeight};
74
+ ${_emotion.tabsTokens.valueLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
75
+ ${_emotion.tabsTokens.valueLineHeight}: ${_sdds_cs.bodyM.lineHeight};
75
76
 
76
77
  ${_emotion.tabsTokens.actionContentMarginLeft}: 0.25rem;
77
78
  `
78
79
  },
79
80
  disabled: {
80
81
  true: (0, _emotion.css)`
81
- ${_emotion.tabsTokens.itemColor}: var(--text-secondary);
82
- ${_emotion.tabsTokens.itemValueColor}: var(--text-secondary);
83
- ${_emotion.tabsTokens.itemColorHover}: var(--text-secondary);
84
- ${_emotion.tabsTokens.itemValueColorHover}: var(--text-secondary);
85
- ${_emotion.tabsTokens.itemColorActive}: var(--text-secondary);
86
- ${_emotion.tabsTokens.itemValueColorActive}: var(--text-secondary);
87
- ${_emotion.tabsTokens.itemSelectedColor}: var(--text-secondary);
82
+ ${_emotion.tabsTokens.itemColor}: ${_sdds_cs.textSecondary};
83
+ ${_emotion.tabsTokens.itemValueColor}: ${_sdds_cs.textSecondary};
84
+ ${_emotion.tabsTokens.itemColorHover}: ${_sdds_cs.textSecondary};
85
+ ${_emotion.tabsTokens.itemValueColorHover}: ${_sdds_cs.textSecondary};
86
+ ${_emotion.tabsTokens.itemColorActive}: ${_sdds_cs.textSecondary};
87
+ ${_emotion.tabsTokens.itemValueColorActive}: ${_sdds_cs.textSecondary};
88
+ ${_emotion.tabsTokens.itemSelectedColor}: ${_sdds_cs.textSecondary};
88
89
  ${_emotion.tabsTokens.itemSelectedDividerColor}: none;
89
90
  ${_emotion.tabsTokens.itemSelectedDividerColorHover}: none;
90
91
  `
@@ -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,15 +18,15 @@ const config = {
17
18
  variations: {
18
19
  view: {
19
20
  divider: (0, _emotion.css)`
20
- ${_emotion.tabsTokens.arrowColor}: var(--text-accent);
21
- ${_emotion.tabsTokens.arrowColorHover}: var(--text-accent-minor);
22
- ${_emotion.tabsTokens.arrowColorActive}: var(--text-accent-active);
21
+ ${_emotion.tabsTokens.arrowColor}: ${_sdds_cs.textAccent};
22
+ ${_emotion.tabsTokens.arrowColorHover}: ${_sdds_cs.textAccentMinor};
23
+ ${_emotion.tabsTokens.arrowColorActive}: ${_sdds_cs.textAccentActive};
23
24
  ${_emotion.tabsTokens.tabsBackgroundColor}: transparent;
24
- ${_emotion.tabsTokens.outlineFocusColor}: var(--surface-accent);
25
+ ${_emotion.tabsTokens.outlineFocusColor}: ${_sdds_cs.surfaceAccent};
25
26
 
26
27
  ${_emotion.tabsTokens.tabsDividerWidth}: 0.0625rem;
27
28
  ${_emotion.tabsTokens.tabsDividerHeight}: 0.0625rem;
28
- ${_emotion.tabsTokens.tabsDividerColor}: var(--outline-solid-primary);
29
+ ${_emotion.tabsTokens.tabsDividerColor}: ${_sdds_cs.outlineSolidPrimary};
29
30
  ${_emotion.tabsTokens.tabsDividerBorderRadius}: 0.0625rem;
30
31
  `
31
32
  },
@@ -45,14 +46,14 @@ const config = {
45
46
  },
46
47
  disabled: {
47
48
  true: (0, _emotion.css)`
48
- ${_emotion.tabsTokens.arrowColor}: var(--text-secondary);
49
- ${_emotion.tabsTokens.itemColor}: var(--text-secondary);
50
- ${_emotion.tabsTokens.itemValueColor}: var(--text-secondary);
51
- ${_emotion.tabsTokens.itemColorHover}: var(--text-secondary);
52
- ${_emotion.tabsTokens.itemValueColorHover}: var(--text-secondary);
53
- ${_emotion.tabsTokens.itemColorActive}: var(--text-secondary);
54
- ${_emotion.tabsTokens.itemValueColorActive}: var(--text-secondary);
55
- ${_emotion.tabsTokens.itemSelectedColor}: var(--text-secondary);
49
+ ${_emotion.tabsTokens.arrowColor}: ${_sdds_cs.textSecondary};
50
+ ${_emotion.tabsTokens.itemColor}: ${_sdds_cs.textSecondary};
51
+ ${_emotion.tabsTokens.itemValueColor}: ${_sdds_cs.textSecondary};
52
+ ${_emotion.tabsTokens.itemColorHover}: ${_sdds_cs.textSecondary};
53
+ ${_emotion.tabsTokens.itemValueColorHover}: ${_sdds_cs.textSecondary};
54
+ ${_emotion.tabsTokens.itemColorActive}: ${_sdds_cs.textSecondary};
55
+ ${_emotion.tabsTokens.itemValueColorActive}: ${_sdds_cs.textSecondary};
56
+ ${_emotion.tabsTokens.itemSelectedColor}: ${_sdds_cs.textSecondary};
56
57
  ${_emotion.tabsTokens.itemSelectedDividerColor}: none;
57
58
  ${_emotion.tabsTokens.itemSelectedDividerColorHover}: none;
58
59
  ${_emotion.tabsTokens.tabsDividerColor}: transparent;
@@ -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: {
@@ -26,35 +27,35 @@ const config = {
26
27
  ${_emotion.textAreaTokens.backgroundColorActive}: transparent;
27
28
  ${_emotion.textAreaTokens.backgroundColorFocus}: transparent;
28
29
 
29
- ${_emotion.textAreaTokens.inputColor}: var(--text-primary);
30
- ${_emotion.textAreaTokens.inputColorFocus}: var(--text-primary);
31
- ${_emotion.textAreaTokens.inputCaretColor}: var(--text-accent);
30
+ ${_emotion.textAreaTokens.inputColor}: ${_sdds_cs.textPrimary};
31
+ ${_emotion.textAreaTokens.inputColorFocus}: ${_sdds_cs.textPrimary};
32
+ ${_emotion.textAreaTokens.inputCaretColor}: ${_sdds_cs.textAccent};
32
33
 
33
- ${_emotion.textAreaTokens.placeholderColor}: var(--text-secondary);
34
- ${_emotion.textAreaTokens.placeholderColorFocus}: var(--text-secondary);
34
+ ${_emotion.textAreaTokens.placeholderColor}: ${_sdds_cs.textSecondary};
35
+ ${_emotion.textAreaTokens.placeholderColorFocus}: ${_sdds_cs.textSecondary};
35
36
 
36
- ${_emotion.textAreaTokens.leftHelperColor}: var(--text-secondary);
37
- ${_emotion.textAreaTokens.rightHelperColor}: var(--text-secondary);
37
+ ${_emotion.textAreaTokens.leftHelperColor}: ${_sdds_cs.textSecondary};
38
+ ${_emotion.textAreaTokens.rightHelperColor}: ${_sdds_cs.textSecondary};
38
39
 
39
- ${_emotion.textAreaTokens.rightContentColor}: var(--text-accent);
40
- ${_emotion.textAreaTokens.rightContentColorHover}: var(--text-accent-hover);
41
- ${_emotion.textAreaTokens.rightContentColorActive}: var(--text-accent-active);
40
+ ${_emotion.textAreaTokens.rightContentColor}: ${_sdds_cs.textAccent};
41
+ ${_emotion.textAreaTokens.rightContentColorHover}: ${_sdds_cs.textAccentHover};
42
+ ${_emotion.textAreaTokens.rightContentColorActive}: ${_sdds_cs.textAccentActive};
42
43
 
43
- ${_emotion.textAreaTokens.indicatorColor}: var(--text-negative);
44
- ${_emotion.textAreaTokens.optionalColor}: var(--text-secondary);
44
+ ${_emotion.textAreaTokens.indicatorColor}: ${_sdds_cs.textNegative};
45
+ ${_emotion.textAreaTokens.optionalColor}: ${_sdds_cs.textSecondary};
45
46
 
46
- ${_emotion.textAreaTokens.scrollbarThumbBackgroundColor}: var(--surface-solid-default);
47
- ${_emotion.textAreaTokens.scrollbarThumbBackgroundColorHover}: var(--surface-solid-default-hover);
48
- ${_emotion.textAreaTokens.scrollbarThumbBackgroundColorActive}: var(--surface-solid-default-active);
49
- ${_emotion.textAreaTokens.scrollbarTrackBackgroundColor}: var(--surface-solid-primary);
50
- ${_emotion.textAreaTokens.scrollbarTrackBackgroundColorActive}: var(--surface-solid-primary-active);
51
- ${_emotion.textAreaTokens.scrollbarTrackBackgroundColorHover}: var(--surface-solid-primary-hover);
47
+ ${_emotion.textAreaTokens.scrollbarThumbBackgroundColor}: ${_sdds_cs.surfaceSolidDefault};
48
+ ${_emotion.textAreaTokens.scrollbarThumbBackgroundColorHover}: ${_sdds_cs.surfaceSolidDefaultHover};
49
+ ${_emotion.textAreaTokens.scrollbarThumbBackgroundColorActive}: ${_sdds_cs.surfaceSolidDefaultActive};
50
+ ${_emotion.textAreaTokens.scrollbarTrackBackgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
51
+ ${_emotion.textAreaTokens.scrollbarTrackBackgroundColorActive}: ${_sdds_cs.surfaceSolidPrimaryActive};
52
+ ${_emotion.textAreaTokens.scrollbarTrackBackgroundColorHover}: ${_sdds_cs.surfaceSolidPrimaryHover};
52
53
 
53
- ${_emotion.textAreaTokens.dividerColor}: var(--outline-solid-primary);
54
- ${_emotion.textAreaTokens.dividerColorHover}: var(--text-secondary);
55
- ${_emotion.textAreaTokens.dividerColorFocus}: var(--surface-accent);
56
- ${_emotion.textAreaTokens.titleCaptionColor}: var(--text-secondary);
57
- ${_emotion.textAreaTokens.hintIconColor}: var(--text-secondary);
54
+ ${_emotion.textAreaTokens.dividerColor}: ${_sdds_cs.outlineSolidPrimary};
55
+ ${_emotion.textAreaTokens.dividerColorHover}: ${_sdds_cs.textSecondary};
56
+ ${_emotion.textAreaTokens.dividerColorFocus}: ${_sdds_cs.surfaceAccent};
57
+ ${_emotion.textAreaTokens.titleCaptionColor}: ${_sdds_cs.textSecondary};
58
+ ${_emotion.textAreaTokens.hintIconColor}: ${_sdds_cs.textSecondary};
58
59
  `,
59
60
  /**
60
61
  * @deprecated
@@ -67,32 +68,32 @@ const config = {
67
68
  ${_emotion.textAreaTokens.backgroundColorHover}: transparent;
68
69
  ${_emotion.textAreaTokens.backgroundColorActive}: transparent;
69
70
  ${_emotion.textAreaTokens.backgroundColorFocus}: transparent;
70
- ${_emotion.textAreaTokens.inputColor}: var(--text-primary);
71
- ${_emotion.textAreaTokens.inputColorFocus}: var(--text-primary);
72
- ${_emotion.textAreaTokens.inputCaretColor}: var(--text-accent);
73
- ${_emotion.textAreaTokens.placeholderColor}: var(--text-secondary);
74
- ${_emotion.textAreaTokens.placeholderColorFocus}: var(--text-secondary);
75
-
76
- ${_emotion.textAreaTokens.leftHelperColor}: var(--text-secondary);
77
- ${_emotion.textAreaTokens.rightHelperColor}: var(--text-secondary);
78
- ${_emotion.textAreaTokens.indicatorColor}: var(--text-negative);
79
- ${_emotion.textAreaTokens.optionalColor}: var(--text-secondary);
80
- ${_emotion.textAreaTokens.rightContentColor}: var(--text-accent);
81
- ${_emotion.textAreaTokens.rightContentColorHover}: var(--text-accent-hover);
82
- ${_emotion.textAreaTokens.rightContentColorActive}: var(--text-accent-active);
83
-
84
- ${_emotion.textAreaTokens.scrollbarThumbBackgroundColor}: var(--surface-solid-default);
85
- ${_emotion.textAreaTokens.scrollbarThumbBackgroundColorHover}: var(--surface-solid-default-hover);
86
- ${_emotion.textAreaTokens.scrollbarThumbBackgroundColorActive}: var(--surface-solid-default-active);
87
- ${_emotion.textAreaTokens.scrollbarTrackBackgroundColor}: var(--surface-solid-primary);
88
- ${_emotion.textAreaTokens.scrollbarTrackBackgroundColorActive}: var(--surface-solid-primary-active);
89
- ${_emotion.textAreaTokens.scrollbarTrackBackgroundColorHover}: var(--surface-solid-primary-hover);
90
-
91
- ${_emotion.textAreaTokens.dividerColor}: var(--outline-solid-primary);
92
- ${_emotion.textAreaTokens.dividerColorHover}: var(--text-secondary);
93
- ${_emotion.textAreaTokens.dividerColorFocus}: var(--surface-accent);
94
- ${_emotion.textAreaTokens.titleCaptionColor}: var(--text-secondary);
95
- ${_emotion.textAreaTokens.hintIconColor}: var(--text-secondary);
71
+ ${_emotion.textAreaTokens.inputColor}: ${_sdds_cs.textPrimary};
72
+ ${_emotion.textAreaTokens.inputColorFocus}: ${_sdds_cs.textPrimary};
73
+ ${_emotion.textAreaTokens.inputCaretColor}: ${_sdds_cs.textAccent};
74
+ ${_emotion.textAreaTokens.placeholderColor}: ${_sdds_cs.textSecondary};
75
+ ${_emotion.textAreaTokens.placeholderColorFocus}: ${_sdds_cs.textSecondary};
76
+
77
+ ${_emotion.textAreaTokens.leftHelperColor}: ${_sdds_cs.textSecondary};
78
+ ${_emotion.textAreaTokens.rightHelperColor}: ${_sdds_cs.textSecondary};
79
+ ${_emotion.textAreaTokens.indicatorColor}: ${_sdds_cs.textNegative};
80
+ ${_emotion.textAreaTokens.optionalColor}: ${_sdds_cs.textSecondary};
81
+ ${_emotion.textAreaTokens.rightContentColor}: ${_sdds_cs.textAccent};
82
+ ${_emotion.textAreaTokens.rightContentColorHover}: ${_sdds_cs.textAccentHover};
83
+ ${_emotion.textAreaTokens.rightContentColorActive}: ${_sdds_cs.textAccentActive};
84
+
85
+ ${_emotion.textAreaTokens.scrollbarThumbBackgroundColor}: ${_sdds_cs.surfaceSolidDefault};
86
+ ${_emotion.textAreaTokens.scrollbarThumbBackgroundColorHover}: ${_sdds_cs.surfaceSolidDefaultHover};
87
+ ${_emotion.textAreaTokens.scrollbarThumbBackgroundColorActive}: ${_sdds_cs.surfaceSolidDefaultActive};
88
+ ${_emotion.textAreaTokens.scrollbarTrackBackgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
89
+ ${_emotion.textAreaTokens.scrollbarTrackBackgroundColorActive}: ${_sdds_cs.surfaceSolidPrimaryActive};
90
+ ${_emotion.textAreaTokens.scrollbarTrackBackgroundColorHover}: ${_sdds_cs.surfaceSolidPrimaryHover};
91
+
92
+ ${_emotion.textAreaTokens.dividerColor}: ${_sdds_cs.outlineSolidPrimary};
93
+ ${_emotion.textAreaTokens.dividerColorHover}: ${_sdds_cs.textSecondary};
94
+ ${_emotion.textAreaTokens.dividerColorFocus}: ${_sdds_cs.surfaceAccent};
95
+ ${_emotion.textAreaTokens.titleCaptionColor}: ${_sdds_cs.textSecondary};
96
+ ${_emotion.textAreaTokens.hintIconColor}: ${_sdds_cs.textSecondary};
96
97
  `,
97
98
  negative: (0, _emotion.css)`
98
99
  ${_emotion.textAreaTokens.borderColor}: transparent;
@@ -103,35 +104,35 @@ const config = {
103
104
  ${_emotion.textAreaTokens.backgroundColorActive}: transparent;
104
105
  ${_emotion.textAreaTokens.backgroundColorFocus}: transparent;
105
106
 
106
- ${_emotion.textAreaTokens.inputColor}: var(--text-primary);
107
- ${_emotion.textAreaTokens.inputColorFocus}: var(--text-primary);
108
- ${_emotion.textAreaTokens.inputCaretColor}: var(--text-negative);
107
+ ${_emotion.textAreaTokens.inputColor}: ${_sdds_cs.textPrimary};
108
+ ${_emotion.textAreaTokens.inputColorFocus}: ${_sdds_cs.textPrimary};
109
+ ${_emotion.textAreaTokens.inputCaretColor}: ${_sdds_cs.textNegative};
109
110
 
110
- ${_emotion.textAreaTokens.placeholderColor}: var(--text-secondary);
111
- ${_emotion.textAreaTokens.placeholderColorFocus}: var(--text-secondary);
111
+ ${_emotion.textAreaTokens.placeholderColor}: ${_sdds_cs.textSecondary};
112
+ ${_emotion.textAreaTokens.placeholderColorFocus}: ${_sdds_cs.textSecondary};
112
113
 
113
- ${_emotion.textAreaTokens.leftHelperColor}: var(--text-negative);
114
- ${_emotion.textAreaTokens.rightHelperColor}: var(--text-secondary);
114
+ ${_emotion.textAreaTokens.leftHelperColor}: ${_sdds_cs.textNegative};
115
+ ${_emotion.textAreaTokens.rightHelperColor}: ${_sdds_cs.textSecondary};
115
116
 
116
- ${_emotion.textAreaTokens.rightContentColor}: var(--text-accent);
117
- ${_emotion.textAreaTokens.rightContentColorHover}: var(--text-accent-hover);
118
- ${_emotion.textAreaTokens.rightContentColorActive}: var(--text-accent-active);
117
+ ${_emotion.textAreaTokens.rightContentColor}: ${_sdds_cs.textAccent};
118
+ ${_emotion.textAreaTokens.rightContentColorHover}: ${_sdds_cs.textAccentHover};
119
+ ${_emotion.textAreaTokens.rightContentColorActive}: ${_sdds_cs.textAccentActive};
119
120
 
120
- ${_emotion.textAreaTokens.indicatorColor}: var(--text-negative);
121
- ${_emotion.textAreaTokens.optionalColor}: var(--text-secondary);
121
+ ${_emotion.textAreaTokens.indicatorColor}: ${_sdds_cs.textNegative};
122
+ ${_emotion.textAreaTokens.optionalColor}: ${_sdds_cs.textSecondary};
122
123
 
123
- ${_emotion.textAreaTokens.scrollbarThumbBackgroundColor}: var(--surface-solid-default);
124
- ${_emotion.textAreaTokens.scrollbarThumbBackgroundColorHover}: var(--surface-solid-default-hover);
125
- ${_emotion.textAreaTokens.scrollbarThumbBackgroundColorActive}: var(--surface-solid-default-active);
126
- ${_emotion.textAreaTokens.scrollbarTrackBackgroundColor}: var(--surface-solid-primary);
127
- ${_emotion.textAreaTokens.scrollbarTrackBackgroundColorActive}: var(--surface-solid-primary-active);
128
- ${_emotion.textAreaTokens.scrollbarTrackBackgroundColorHover}: var(--surface-solid-primary-hover);
124
+ ${_emotion.textAreaTokens.scrollbarThumbBackgroundColor}: ${_sdds_cs.surfaceSolidDefault};
125
+ ${_emotion.textAreaTokens.scrollbarThumbBackgroundColorHover}: ${_sdds_cs.surfaceSolidDefaultHover};
126
+ ${_emotion.textAreaTokens.scrollbarThumbBackgroundColorActive}: ${_sdds_cs.surfaceSolidDefaultActive};
127
+ ${_emotion.textAreaTokens.scrollbarTrackBackgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
128
+ ${_emotion.textAreaTokens.scrollbarTrackBackgroundColorActive}: ${_sdds_cs.surfaceSolidPrimaryActive};
129
+ ${_emotion.textAreaTokens.scrollbarTrackBackgroundColorHover}: ${_sdds_cs.surfaceSolidPrimaryHover};
129
130
 
130
- ${_emotion.textAreaTokens.dividerColor}: var(--outline-negative);
131
- ${_emotion.textAreaTokens.dividerColorHover}: var(--outline-negative-hover);
131
+ ${_emotion.textAreaTokens.dividerColor}: ${_sdds_cs.outlineNegative};
132
+ ${_emotion.textAreaTokens.dividerColorHover}: ${_sdds_cs.outlineNegativeHover};
132
133
  ${_emotion.textAreaTokens.dividerColorFocus}: var(--outline-negative-focus);
133
- ${_emotion.textAreaTokens.titleCaptionColor}: var(--text-secondary);
134
- ${_emotion.textAreaTokens.hintIconColor}: var(--text-secondary);
134
+ ${_emotion.textAreaTokens.titleCaptionColor}: ${_sdds_cs.textSecondary};
135
+ ${_emotion.textAreaTokens.hintIconColor}: ${_sdds_cs.textSecondary};
135
136
  `
136
137
  },
137
138
  size: {
@@ -162,30 +163,30 @@ const config = {
162
163
 
163
164
  ${_emotion.textAreaTokens.labelMarginBottom}: 0.25rem;
164
165
 
165
- ${_emotion.textAreaTokens.labelOuterFontSize}: var(--plasma-typo-body-s-font-size);
166
- ${_emotion.textAreaTokens.labelInnerFontFamily}: var(--plasma-typo-body-s-font-family);
167
- ${_emotion.textAreaTokens.labelInnerFontSize}: var(--plasma-typo-body-s-font-size);
168
- ${_emotion.textAreaTokens.labelInnerFontStyle}: var(--plasma-typo-body-s-font-style);
169
- ${_emotion.textAreaTokens.labelInnerFontWeight}: var(--plasma-typo-body-s-font-weight);
170
- ${_emotion.textAreaTokens.labelInnerLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
171
- ${_emotion.textAreaTokens.labelInnerLineHeight}: var(--plasma-typo-body-s-line-height);
166
+ ${_emotion.textAreaTokens.labelOuterFontSize}: ${_sdds_cs.bodyS.fontSize};
167
+ ${_emotion.textAreaTokens.labelInnerFontFamily}: ${_sdds_cs.bodyS.fontFamily};
168
+ ${_emotion.textAreaTokens.labelInnerFontSize}: ${_sdds_cs.bodyS.fontSize};
169
+ ${_emotion.textAreaTokens.labelInnerFontStyle}: ${_sdds_cs.bodyS.fontStyle};
170
+ ${_emotion.textAreaTokens.labelInnerFontWeight}: ${_sdds_cs.bodyS.fontWeight};
171
+ ${_emotion.textAreaTokens.labelInnerLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
172
+ ${_emotion.textAreaTokens.labelInnerLineHeight}: ${_sdds_cs.bodyS.lineHeight};
172
173
 
173
174
  ${_emotion.textAreaTokens.labelInnerTop}: 0.375rem;
174
175
  ${_emotion.textAreaTokens.labelInnerMarginBottom}: 0.125rem;
175
176
 
176
- ${_emotion.textAreaTokens.inputFontFamily}: var(--plasma-typo-body-m-font-family);
177
- ${_emotion.textAreaTokens.inputFontSize}: var(--plasma-typo-body-m-font-size);
178
- ${_emotion.textAreaTokens.inputFontStyle}: var(--plasma-typo-body-m-font-style);
179
- ${_emotion.textAreaTokens.inputFontWeight}: var(--plasma-typo-body-m-font-weight);
180
- ${_emotion.textAreaTokens.inputLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
181
- ${_emotion.textAreaTokens.inputLineHeight}: var(--plasma-typo-body-m-line-height);
177
+ ${_emotion.textAreaTokens.inputFontFamily}: ${_sdds_cs.bodyM.fontFamily};
178
+ ${_emotion.textAreaTokens.inputFontSize}: ${_sdds_cs.bodyM.fontSize};
179
+ ${_emotion.textAreaTokens.inputFontStyle}: ${_sdds_cs.bodyM.fontStyle};
180
+ ${_emotion.textAreaTokens.inputFontWeight}: ${_sdds_cs.bodyM.fontWeight};
181
+ ${_emotion.textAreaTokens.inputLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
182
+ ${_emotion.textAreaTokens.inputLineHeight}: ${_sdds_cs.bodyM.lineHeight};
182
183
 
183
- ${_emotion.textAreaTokens.helpersFontFamily}: var(--plasma-typo-body-s-font-family);
184
- ${_emotion.textAreaTokens.helpersFontSize}: var(--plasma-typo-body-s-font-size);
185
- ${_emotion.textAreaTokens.helpersFontStyle}: var(--plasma-typo-body-s-font-style);
186
- ${_emotion.textAreaTokens.helpersFontWeight}: var(--plasma-typo-body-s-font-weight);
187
- ${_emotion.textAreaTokens.helpersLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
188
- ${_emotion.textAreaTokens.helpersLineHeight}: var(--plasma-typo-body-s-line-height);
184
+ ${_emotion.textAreaTokens.helpersFontFamily}: ${_sdds_cs.bodyS.fontFamily};
185
+ ${_emotion.textAreaTokens.helpersFontSize}: ${_sdds_cs.bodyS.fontSize};
186
+ ${_emotion.textAreaTokens.helpersFontStyle}: ${_sdds_cs.bodyS.fontStyle};
187
+ ${_emotion.textAreaTokens.helpersFontWeight}: ${_sdds_cs.bodyS.fontWeight};
188
+ ${_emotion.textAreaTokens.helpersLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
189
+ ${_emotion.textAreaTokens.helpersLineHeight}: ${_sdds_cs.bodyS.lineHeight};
189
190
 
190
191
  ${_emotion.textAreaTokens.indicatorSizeInner}: 0.375rem;
191
192
  ${_emotion.textAreaTokens.indicatorSizeOuter}: 0.375rem;
@@ -203,21 +204,21 @@ const config = {
203
204
  ${_emotion.textAreaTokens.hintInnerLabelPlacementOffset}: -0.751rem -2rem auto auto;
204
205
 
205
206
  ${_emotion.textAreaTokens.titleCaptionInnerLabelOffset}: 0.25rem;
206
- ${_emotion.textAreaTokens.titleCaptionFontFamily}: var(--plasma-typo-body-xs-font-family);
207
- ${_emotion.textAreaTokens.titleCaptionFontSize}: var(--plasma-typo-body-xs-font-size);
208
- ${_emotion.textAreaTokens.titleCaptionFontStyle}: var(--plasma-typo-body-xs-font-style);
209
- ${_emotion.textAreaTokens.titleCaptionFontWeight}: var(--plasma-typo-body-xs-font-weight);
210
- ${_emotion.textAreaTokens.titleCaptionLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
211
- ${_emotion.textAreaTokens.titleCaptionLineHeight}: var(--plasma-typo-body-xs-line-height);
207
+ ${_emotion.textAreaTokens.titleCaptionFontFamily}: ${_sdds_cs.bodyXS.fontFamily};
208
+ ${_emotion.textAreaTokens.titleCaptionFontSize}: ${_sdds_cs.bodyXS.fontSize};
209
+ ${_emotion.textAreaTokens.titleCaptionFontStyle}: ${_sdds_cs.bodyXS.fontStyle};
210
+ ${_emotion.textAreaTokens.titleCaptionFontWeight}: ${_sdds_cs.bodyXS.fontWeight};
211
+ ${_emotion.textAreaTokens.titleCaptionLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
212
+ ${_emotion.textAreaTokens.titleCaptionLineHeight}: ${_sdds_cs.bodyXS.lineHeight};
212
213
  `
213
214
  },
214
215
  hintView: {
215
216
  // TODO: заменить тень на токен https://github.com/salute-developers/plasma/issues/1131
216
217
  default: (0, _emotion.css)`
217
- ${_emotion.textAreaTokens.tooltipBackgroundColor}: var(--surface-solid-card-brightness);
218
+ ${_emotion.textAreaTokens.tooltipBackgroundColor}: ${_sdds_cs.surfaceSolidCardBrightness};
218
219
  ${_emotion.textAreaTokens.tooltipBoxShadow}: 0px 4px 12px 0px rgba(0, 0, 0, 0.16), 0px 1px 4px 0px rgba(0, 0, 0, 0.08);
219
- ${_emotion.textAreaTokens.tooltipColor}: var(--text-primary);
220
- ${_emotion.textAreaTokens.tooltipArrowBackground}: var(--surface-solid-card-brightness);
220
+ ${_emotion.textAreaTokens.tooltipColor}: ${_sdds_cs.textPrimary};
221
+ ${_emotion.textAreaTokens.tooltipArrowBackground}: ${_sdds_cs.surfaceSolidCardBrightness};
221
222
  `
222
223
  },
223
224
  hintSize: {
@@ -232,12 +233,12 @@ const config = {
232
233
  ${_emotion.textAreaTokens.tooltipMinHeight}: 2.5rem;
233
234
  ${_emotion.textAreaTokens.tooltipBorderRadius}: 0.625rem;
234
235
 
235
- ${_emotion.textAreaTokens.tooltipTextFontFamily}: var(--plasma-typo-body-s-font-family);
236
- ${_emotion.textAreaTokens.tooltipTextFontSize}: var(--plasma-typo-body-s-font-size);
237
- ${_emotion.textAreaTokens.tooltipTextFontStyle}: var(--plasma-typo-body-s-font-style);
238
- ${_emotion.textAreaTokens.tooltipTextFontWeight}: var(--plasma-typo-body-s-font-weight);
239
- ${_emotion.textAreaTokens.tooltipTextFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
240
- ${_emotion.textAreaTokens.tooltipTextFontLineHeight}: var(--plasma-typo-body-s-line-height);
236
+ ${_emotion.textAreaTokens.tooltipTextFontFamily}: ${_sdds_cs.bodyS.fontFamily};
237
+ ${_emotion.textAreaTokens.tooltipTextFontSize}: ${_sdds_cs.bodyS.fontSize};
238
+ ${_emotion.textAreaTokens.tooltipTextFontStyle}: ${_sdds_cs.bodyS.fontStyle};
239
+ ${_emotion.textAreaTokens.tooltipTextFontWeight}: ${_sdds_cs.bodyS.fontWeight};
240
+ ${_emotion.textAreaTokens.tooltipTextFontLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
241
+ ${_emotion.textAreaTokens.tooltipTextFontLineHeight}: ${_sdds_cs.bodyS.lineHeight};
241
242
 
242
243
  ${_emotion.textAreaTokens.tooltipContentLeftMargin}: 0.375rem;
243
244
 
@@ -257,12 +258,12 @@ const config = {
257
258
  ${_emotion.textAreaTokens.tooltipMinHeight}: 2rem;
258
259
  ${_emotion.textAreaTokens.tooltipBorderRadius}: 0.5rem;
259
260
 
260
- ${_emotion.textAreaTokens.tooltipTextFontFamily}: var(--plasma-typo-body-xs-font-family);
261
- ${_emotion.textAreaTokens.tooltipTextFontSize}: var(--plasma-typo-body-xs-font-size);
262
- ${_emotion.textAreaTokens.tooltipTextFontStyle}: var(--plasma-typo-body-xs-font-style);
263
- ${_emotion.textAreaTokens.tooltipTextFontWeight}: var(--plasma-typo-body-xs-font-weight);
264
- ${_emotion.textAreaTokens.tooltipTextFontLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
265
- ${_emotion.textAreaTokens.tooltipTextFontLineHeight}: var(--plasma-typo-body-xs-line-height);
261
+ ${_emotion.textAreaTokens.tooltipTextFontFamily}: ${_sdds_cs.bodyXS.fontFamily};
262
+ ${_emotion.textAreaTokens.tooltipTextFontSize}: ${_sdds_cs.bodyXS.fontSize};
263
+ ${_emotion.textAreaTokens.tooltipTextFontStyle}: ${_sdds_cs.bodyXS.fontStyle};
264
+ ${_emotion.textAreaTokens.tooltipTextFontWeight}: ${_sdds_cs.bodyXS.fontWeight};
265
+ ${_emotion.textAreaTokens.tooltipTextFontLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
266
+ ${_emotion.textAreaTokens.tooltipTextFontLineHeight}: ${_sdds_cs.bodyXS.lineHeight};
266
267
 
267
268
  ${_emotion.textAreaTokens.tooltipContentLeftMargin}: 0.25rem;
268
269
 
@@ -278,32 +279,32 @@ const config = {
278
279
  disabled: {
279
280
  true: (0, _emotion.css)`
280
281
  ${_emotion.textAreaTokens.disabledOpacity}: 1;
281
- ${_emotion.textAreaTokens.backgroundColor}: var(--surface-solid-primary);
282
- ${_emotion.textAreaTokens.borderColor}: var(--surface-solid-primary);
283
- ${_emotion.textAreaTokens.borderColorHover}: var(--surface-solid-primary);
284
- ${_emotion.textAreaTokens.borderColorFocus}: var(--surface-solid-primary);
285
- ${_emotion.textAreaTokens.inputColor}: var(--text-secondary);
286
- ${_emotion.textAreaTokens.inputColorFocus}: var(--text-secondary);
287
- ${_emotion.textAreaTokens.placeholderColorFocus}: var(--text-secondary);
288
- ${_emotion.textAreaTokens.labelOuterColor}: var(--text-primary);
289
- ${_emotion.textAreaTokens.inputColorDisabled}: var(--text-secondary);
282
+ ${_emotion.textAreaTokens.backgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
283
+ ${_emotion.textAreaTokens.borderColor}: ${_sdds_cs.surfaceSolidPrimary};
284
+ ${_emotion.textAreaTokens.borderColorHover}: ${_sdds_cs.surfaceSolidPrimary};
285
+ ${_emotion.textAreaTokens.borderColorFocus}: ${_sdds_cs.surfaceSolidPrimary};
286
+ ${_emotion.textAreaTokens.inputColor}: ${_sdds_cs.textSecondary};
287
+ ${_emotion.textAreaTokens.inputColorFocus}: ${_sdds_cs.textSecondary};
288
+ ${_emotion.textAreaTokens.placeholderColorFocus}: ${_sdds_cs.textSecondary};
289
+ ${_emotion.textAreaTokens.labelOuterColor}: ${_sdds_cs.textPrimary};
290
+ ${_emotion.textAreaTokens.inputColorDisabled}: ${_sdds_cs.textSecondary};
290
291
  `
291
292
  },
292
293
  readOnly: {
293
294
  true: (0, _emotion.css)`
294
295
  ${_emotion.textAreaTokens.readOnlyOpacity}: 0.1;
295
- ${_emotion.textAreaTokens.labelOuterColor}: var(--text-secondary);
296
- ${_emotion.textAreaTokens.inputColorReadOnly}: var(--text-primary);
296
+ ${_emotion.textAreaTokens.labelOuterColor}: ${_sdds_cs.textSecondary};
297
+ ${_emotion.textAreaTokens.inputColorReadOnly}: ${_sdds_cs.textPrimary};
297
298
  ${_emotion.textAreaTokens.dividerColorReadOnly}: var(--surface-transparent-primary);
298
299
  ${_emotion.textAreaTokens.contentSlotRightOpacityReadOnly}: 0.4;
299
- ${_emotion.textAreaTokens.backgroundColor}: var(--surface-clear);
300
- ${_emotion.textAreaTokens.borderColor}: var(--surface-clear);
301
- ${_emotion.textAreaTokens.borderColorHover}: var(--surface-clear);
302
- ${_emotion.textAreaTokens.borderColorFocus}: var(--surface-clear);
303
- ${_emotion.textAreaTokens.inputColor}: var(--text-primary);
304
- ${_emotion.textAreaTokens.inputColorFocus}: var(--text-primary);
305
- ${_emotion.textAreaTokens.placeholderColorFocus}: var(--text-secondary);
306
- ${_emotion.textAreaTokens.labelOuterColor}: var(--text-secondary);
300
+ ${_emotion.textAreaTokens.backgroundColor}: ${_sdds_cs.surfaceClear};
301
+ ${_emotion.textAreaTokens.borderColor}: ${_sdds_cs.surfaceClear};
302
+ ${_emotion.textAreaTokens.borderColorHover}: ${_sdds_cs.surfaceClear};
303
+ ${_emotion.textAreaTokens.borderColorFocus}: ${_sdds_cs.surfaceClear};
304
+ ${_emotion.textAreaTokens.inputColor}: ${_sdds_cs.textPrimary};
305
+ ${_emotion.textAreaTokens.inputColorFocus}: ${_sdds_cs.textPrimary};
306
+ ${_emotion.textAreaTokens.placeholderColorFocus}: ${_sdds_cs.textSecondary};
307
+ ${_emotion.textAreaTokens.labelOuterColor}: ${_sdds_cs.textSecondary};
307
308
  `
308
309
  }
309
310
  }