@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: {
@@ -18,114 +19,114 @@ const config = {
18
19
  variations: {
19
20
  view: {
20
21
  default: (0, _emotion.css)`
21
- ${_emotion.textAreaTokens.borderColor}: var(--outline-solid-primary);
22
- ${_emotion.textAreaTokens.borderColorHover}: var(--outline-solid-primary-hover);
23
- ${_emotion.textAreaTokens.borderColorFocus}: var(--outline-accent);
24
- ${_emotion.textAreaTokens.backgroundColor}: var(--surface-solid-card);
25
- ${_emotion.textAreaTokens.backgroundColorHover}: var(--surface-solid-card-hover);
26
- ${_emotion.textAreaTokens.backgroundColorActive}: var(--surface-solid-card-active);
27
- ${_emotion.textAreaTokens.backgroundColorFocus}: var(--surface-solid-card);
28
-
29
- ${_emotion.textAreaTokens.inputColor}: var(--text-primary);
30
- ${_emotion.textAreaTokens.inputColorFocus}: var(--text-primary);
31
- ${_emotion.textAreaTokens.inputCaretColor}: var(--text-accent);
32
-
33
- ${_emotion.textAreaTokens.placeholderColor}: var(--text-secondary);
34
- ${_emotion.textAreaTokens.placeholderColorFocus}: var(--text-secondary);
35
-
36
- ${_emotion.textAreaTokens.leftHelperColor}: var(--text-secondary);
37
- ${_emotion.textAreaTokens.rightHelperColor}: var(--text-secondary);
38
-
39
- ${_emotion.textAreaTokens.rightContentColor}: var(--text-accent);
40
-
41
- ${_emotion.textAreaTokens.indicatorColor}: var(--text-negative);
42
- ${_emotion.textAreaTokens.optionalColor}: var(--text-secondary);
43
-
44
- ${_emotion.textAreaTokens.scrollbarThumbBackgroundColor}: var(--surface-solid-default);
45
- ${_emotion.textAreaTokens.scrollbarThumbBackgroundColorHover}: var(--surface-solid-default-hover);
46
- ${_emotion.textAreaTokens.scrollbarThumbBackgroundColorActive}: var(--surface-solid-default-active);
47
- ${_emotion.textAreaTokens.scrollbarTrackBackgroundColor}: var(--surface-solid-primary);
48
- ${_emotion.textAreaTokens.scrollbarTrackBackgroundColorActive}: var(--surface-solid-primary-active);
49
- ${_emotion.textAreaTokens.scrollbarTrackBackgroundColorHover}: var(--surface-solid-primary-hover);
50
-
51
- ${_emotion.textAreaTokens.dividerColor}: var(--outline-solid-primary);
52
- ${_emotion.textAreaTokens.dividerColorHover}: var(--text-secondary);
53
- ${_emotion.textAreaTokens.dividerColorFocus}: var(--surface-accent);
54
- ${_emotion.textAreaTokens.titleCaptionColor}: var(--text-secondary);
55
- ${_emotion.textAreaTokens.hintIconColor}: var(--text-secondary);
22
+ ${_emotion.textAreaTokens.borderColor}: ${_sdds_cs.outlineSolidPrimary};
23
+ ${_emotion.textAreaTokens.borderColorHover}: ${_sdds_cs.outlineSolidPrimaryHover};
24
+ ${_emotion.textAreaTokens.borderColorFocus}: ${_sdds_cs.outlineAccent};
25
+ ${_emotion.textAreaTokens.backgroundColor}: ${_sdds_cs.surfaceSolidCard};
26
+ ${_emotion.textAreaTokens.backgroundColorHover}: ${_sdds_cs.surfaceSolidCardHover};
27
+ ${_emotion.textAreaTokens.backgroundColorActive}: ${_sdds_cs.surfaceSolidCardActive};
28
+ ${_emotion.textAreaTokens.backgroundColorFocus}: ${_sdds_cs.surfaceSolidCard};
29
+
30
+ ${_emotion.textAreaTokens.inputColor}: ${_sdds_cs.textPrimary};
31
+ ${_emotion.textAreaTokens.inputColorFocus}: ${_sdds_cs.textPrimary};
32
+ ${_emotion.textAreaTokens.inputCaretColor}: ${_sdds_cs.textAccent};
33
+
34
+ ${_emotion.textAreaTokens.placeholderColor}: ${_sdds_cs.textSecondary};
35
+ ${_emotion.textAreaTokens.placeholderColorFocus}: ${_sdds_cs.textSecondary};
36
+
37
+ ${_emotion.textAreaTokens.leftHelperColor}: ${_sdds_cs.textSecondary};
38
+ ${_emotion.textAreaTokens.rightHelperColor}: ${_sdds_cs.textSecondary};
39
+
40
+ ${_emotion.textAreaTokens.rightContentColor}: ${_sdds_cs.textAccent};
41
+
42
+ ${_emotion.textAreaTokens.indicatorColor}: ${_sdds_cs.textNegative};
43
+ ${_emotion.textAreaTokens.optionalColor}: ${_sdds_cs.textSecondary};
44
+
45
+ ${_emotion.textAreaTokens.scrollbarThumbBackgroundColor}: ${_sdds_cs.surfaceSolidDefault};
46
+ ${_emotion.textAreaTokens.scrollbarThumbBackgroundColorHover}: ${_sdds_cs.surfaceSolidDefaultHover};
47
+ ${_emotion.textAreaTokens.scrollbarThumbBackgroundColorActive}: ${_sdds_cs.surfaceSolidDefaultActive};
48
+ ${_emotion.textAreaTokens.scrollbarTrackBackgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
49
+ ${_emotion.textAreaTokens.scrollbarTrackBackgroundColorActive}: ${_sdds_cs.surfaceSolidPrimaryActive};
50
+ ${_emotion.textAreaTokens.scrollbarTrackBackgroundColorHover}: ${_sdds_cs.surfaceSolidPrimaryHover};
51
+
52
+ ${_emotion.textAreaTokens.dividerColor}: ${_sdds_cs.outlineSolidPrimary};
53
+ ${_emotion.textAreaTokens.dividerColorHover}: ${_sdds_cs.textSecondary};
54
+ ${_emotion.textAreaTokens.dividerColorFocus}: ${_sdds_cs.surfaceAccent};
55
+ ${_emotion.textAreaTokens.titleCaptionColor}: ${_sdds_cs.textSecondary};
56
+ ${_emotion.textAreaTokens.hintIconColor}: ${_sdds_cs.textSecondary};
56
57
  `,
57
58
  /**
58
59
  * @deprecated
59
60
  * использовать `default`
60
61
  */ primary: (0, _emotion.css)`
61
- ${_emotion.textAreaTokens.borderColor}: var(--outline-solid-primary);
62
- ${_emotion.textAreaTokens.borderColorHover}: var(--outline-solid-primary-hover);
63
- ${_emotion.textAreaTokens.borderColorFocus}: var(--outline-accent);
64
- ${_emotion.textAreaTokens.backgroundColor}: var(--surface-solid-card);
65
- ${_emotion.textAreaTokens.backgroundColorHover}: var(--surface-solid-card-hover);
66
- ${_emotion.textAreaTokens.backgroundColorActive}: var(--surface-solid-card-active);
67
- ${_emotion.textAreaTokens.backgroundColorFocus}: var(--surface-solid-card);
68
- ${_emotion.textAreaTokens.inputColor}: var(--text-primary);
69
- ${_emotion.textAreaTokens.inputColorFocus}: var(--text-primary);
70
- ${_emotion.textAreaTokens.inputCaretColor}: var(--text-accent);
71
- ${_emotion.textAreaTokens.placeholderColor}: var(--text-secondary);
72
- ${_emotion.textAreaTokens.placeholderColorFocus}: var(--text-secondary);
73
-
74
- ${_emotion.textAreaTokens.leftHelperColor}: var(--text-secondary);
75
- ${_emotion.textAreaTokens.rightHelperColor}: var(--text-secondary);
76
- ${_emotion.textAreaTokens.indicatorColor}: var(--text-negative);
77
- ${_emotion.textAreaTokens.optionalColor}: var(--text-secondary);
78
- ${_emotion.textAreaTokens.rightContentColor}: var(--text-accent);
79
-
80
- ${_emotion.textAreaTokens.scrollbarThumbBackgroundColor}: var(--surface-solid-default);
81
- ${_emotion.textAreaTokens.scrollbarThumbBackgroundColorHover}: var(--surface-solid-default-hover);
82
- ${_emotion.textAreaTokens.scrollbarThumbBackgroundColorActive}: var(--surface-solid-default-active);
83
- ${_emotion.textAreaTokens.scrollbarTrackBackgroundColor}: var(--surface-solid-primary);
84
- ${_emotion.textAreaTokens.scrollbarTrackBackgroundColorActive}: var(--surface-solid-primary-active);
85
- ${_emotion.textAreaTokens.scrollbarTrackBackgroundColorHover}: var(--surface-solid-primary-hover);
86
-
87
- ${_emotion.textAreaTokens.dividerColor}: var(--outline-solid-primary);
88
- ${_emotion.textAreaTokens.dividerColorHover}: var(--text-secondary);
89
- ${_emotion.textAreaTokens.dividerColorFocus}: var(--surface-accent);
90
- ${_emotion.textAreaTokens.titleCaptionColor}: var(--text-secondary);
91
- ${_emotion.textAreaTokens.hintIconColor}: var(--text-secondary);
62
+ ${_emotion.textAreaTokens.borderColor}: ${_sdds_cs.outlineSolidPrimary};
63
+ ${_emotion.textAreaTokens.borderColorHover}: ${_sdds_cs.outlineSolidPrimaryHover};
64
+ ${_emotion.textAreaTokens.borderColorFocus}: ${_sdds_cs.outlineAccent};
65
+ ${_emotion.textAreaTokens.backgroundColor}: ${_sdds_cs.surfaceSolidCard};
66
+ ${_emotion.textAreaTokens.backgroundColorHover}: ${_sdds_cs.surfaceSolidCardHover};
67
+ ${_emotion.textAreaTokens.backgroundColorActive}: ${_sdds_cs.surfaceSolidCardActive};
68
+ ${_emotion.textAreaTokens.backgroundColorFocus}: ${_sdds_cs.surfaceSolidCard};
69
+ ${_emotion.textAreaTokens.inputColor}: ${_sdds_cs.textPrimary};
70
+ ${_emotion.textAreaTokens.inputColorFocus}: ${_sdds_cs.textPrimary};
71
+ ${_emotion.textAreaTokens.inputCaretColor}: ${_sdds_cs.textAccent};
72
+ ${_emotion.textAreaTokens.placeholderColor}: ${_sdds_cs.textSecondary};
73
+ ${_emotion.textAreaTokens.placeholderColorFocus}: ${_sdds_cs.textSecondary};
74
+
75
+ ${_emotion.textAreaTokens.leftHelperColor}: ${_sdds_cs.textSecondary};
76
+ ${_emotion.textAreaTokens.rightHelperColor}: ${_sdds_cs.textSecondary};
77
+ ${_emotion.textAreaTokens.indicatorColor}: ${_sdds_cs.textNegative};
78
+ ${_emotion.textAreaTokens.optionalColor}: ${_sdds_cs.textSecondary};
79
+ ${_emotion.textAreaTokens.rightContentColor}: ${_sdds_cs.textAccent};
80
+
81
+ ${_emotion.textAreaTokens.scrollbarThumbBackgroundColor}: ${_sdds_cs.surfaceSolidDefault};
82
+ ${_emotion.textAreaTokens.scrollbarThumbBackgroundColorHover}: ${_sdds_cs.surfaceSolidDefaultHover};
83
+ ${_emotion.textAreaTokens.scrollbarThumbBackgroundColorActive}: ${_sdds_cs.surfaceSolidDefaultActive};
84
+ ${_emotion.textAreaTokens.scrollbarTrackBackgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
85
+ ${_emotion.textAreaTokens.scrollbarTrackBackgroundColorActive}: ${_sdds_cs.surfaceSolidPrimaryActive};
86
+ ${_emotion.textAreaTokens.scrollbarTrackBackgroundColorHover}: ${_sdds_cs.surfaceSolidPrimaryHover};
87
+
88
+ ${_emotion.textAreaTokens.dividerColor}: ${_sdds_cs.outlineSolidPrimary};
89
+ ${_emotion.textAreaTokens.dividerColorHover}: ${_sdds_cs.textSecondary};
90
+ ${_emotion.textAreaTokens.dividerColorFocus}: ${_sdds_cs.surfaceAccent};
91
+ ${_emotion.textAreaTokens.titleCaptionColor}: ${_sdds_cs.textSecondary};
92
+ ${_emotion.textAreaTokens.hintIconColor}: ${_sdds_cs.textSecondary};
92
93
  `,
93
94
  negative: (0, _emotion.css)`
94
- ${_emotion.textAreaTokens.borderColor}: var(--text-negative);
95
- ${_emotion.textAreaTokens.borderColorHover}: var(--text-negative-hover);
96
- ${_emotion.textAreaTokens.borderColorFocus}: var(--outline-accent);
97
- ${_emotion.textAreaTokens.backgroundColor}: var(--surface-solid-card);
98
- ${_emotion.textAreaTokens.backgroundColorHover}: var(--surface-solid-card-hover);
99
- ${_emotion.textAreaTokens.backgroundColorActive}: var(--surface-solid-card-active);
100
- ${_emotion.textAreaTokens.backgroundColorFocus}: var(--surface-solid-card);
101
-
102
- ${_emotion.textAreaTokens.inputColor}: var(--text-primary);
103
- ${_emotion.textAreaTokens.inputColorFocus}: var(--text-primary);
104
- ${_emotion.textAreaTokens.inputCaretColor}: var(--text-negative);
105
-
106
- ${_emotion.textAreaTokens.placeholderColor}: var(--text-secondary);
107
- ${_emotion.textAreaTokens.placeholderColorFocus}: var(--text-secondary);
108
-
109
- ${_emotion.textAreaTokens.leftHelperColor}: var(--text-negative);
110
- ${_emotion.textAreaTokens.rightHelperColor}: var(--text-secondary);
111
-
112
- ${_emotion.textAreaTokens.rightContentColor}: var(--text-accent);
113
-
114
- ${_emotion.textAreaTokens.indicatorColor}: var(--text-negative);
115
- ${_emotion.textAreaTokens.optionalColor}: var(--text-secondary);
116
-
117
- ${_emotion.textAreaTokens.scrollbarThumbBackgroundColor}: var(--surface-solid-default);
118
- ${_emotion.textAreaTokens.scrollbarThumbBackgroundColorHover}: var(--surface-solid-default-hover);
119
- ${_emotion.textAreaTokens.scrollbarThumbBackgroundColorActive}: var(--surface-solid-default-active);
120
- ${_emotion.textAreaTokens.scrollbarTrackBackgroundColor}: var(--surface-solid-primary);
121
- ${_emotion.textAreaTokens.scrollbarTrackBackgroundColorActive}: var(--surface-solid-primary-active);
122
- ${_emotion.textAreaTokens.scrollbarTrackBackgroundColorHover}: var(--surface-solid-primary-hover);
123
-
124
- ${_emotion.textAreaTokens.dividerColor}: var(--outline-negative);
125
- ${_emotion.textAreaTokens.dividerColorHover}: var(--outline-negative-hover);
95
+ ${_emotion.textAreaTokens.borderColor}: ${_sdds_cs.textNegative};
96
+ ${_emotion.textAreaTokens.borderColorHover}: ${_sdds_cs.textNegativeHover};
97
+ ${_emotion.textAreaTokens.borderColorFocus}: ${_sdds_cs.outlineAccent};
98
+ ${_emotion.textAreaTokens.backgroundColor}: ${_sdds_cs.surfaceSolidCard};
99
+ ${_emotion.textAreaTokens.backgroundColorHover}: ${_sdds_cs.surfaceSolidCardHover};
100
+ ${_emotion.textAreaTokens.backgroundColorActive}: ${_sdds_cs.surfaceSolidCardActive};
101
+ ${_emotion.textAreaTokens.backgroundColorFocus}: ${_sdds_cs.surfaceSolidCard};
102
+
103
+ ${_emotion.textAreaTokens.inputColor}: ${_sdds_cs.textPrimary};
104
+ ${_emotion.textAreaTokens.inputColorFocus}: ${_sdds_cs.textPrimary};
105
+ ${_emotion.textAreaTokens.inputCaretColor}: ${_sdds_cs.textNegative};
106
+
107
+ ${_emotion.textAreaTokens.placeholderColor}: ${_sdds_cs.textSecondary};
108
+ ${_emotion.textAreaTokens.placeholderColorFocus}: ${_sdds_cs.textSecondary};
109
+
110
+ ${_emotion.textAreaTokens.leftHelperColor}: ${_sdds_cs.textNegative};
111
+ ${_emotion.textAreaTokens.rightHelperColor}: ${_sdds_cs.textSecondary};
112
+
113
+ ${_emotion.textAreaTokens.rightContentColor}: ${_sdds_cs.textAccent};
114
+
115
+ ${_emotion.textAreaTokens.indicatorColor}: ${_sdds_cs.textNegative};
116
+ ${_emotion.textAreaTokens.optionalColor}: ${_sdds_cs.textSecondary};
117
+
118
+ ${_emotion.textAreaTokens.scrollbarThumbBackgroundColor}: ${_sdds_cs.surfaceSolidDefault};
119
+ ${_emotion.textAreaTokens.scrollbarThumbBackgroundColorHover}: ${_sdds_cs.surfaceSolidDefaultHover};
120
+ ${_emotion.textAreaTokens.scrollbarThumbBackgroundColorActive}: ${_sdds_cs.surfaceSolidDefaultActive};
121
+ ${_emotion.textAreaTokens.scrollbarTrackBackgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
122
+ ${_emotion.textAreaTokens.scrollbarTrackBackgroundColorActive}: ${_sdds_cs.surfaceSolidPrimaryActive};
123
+ ${_emotion.textAreaTokens.scrollbarTrackBackgroundColorHover}: ${_sdds_cs.surfaceSolidPrimaryHover};
124
+
125
+ ${_emotion.textAreaTokens.dividerColor}: ${_sdds_cs.outlineNegative};
126
+ ${_emotion.textAreaTokens.dividerColorHover}: ${_sdds_cs.outlineNegativeHover};
126
127
  ${_emotion.textAreaTokens.dividerColorFocus}: var(--outline-negative-focus);
127
- ${_emotion.textAreaTokens.titleCaptionColor}: var(--text-secondary);
128
- ${_emotion.textAreaTokens.hintIconColor}: var(--text-secondary);
128
+ ${_emotion.textAreaTokens.titleCaptionColor}: ${_sdds_cs.textSecondary};
129
+ ${_emotion.textAreaTokens.hintIconColor}: ${_sdds_cs.textSecondary};
129
130
  `
130
131
  },
131
132
  size: {
@@ -154,27 +155,27 @@ const config = {
154
155
 
155
156
  ${_emotion.textAreaTokens.labelMarginBottom}: 0.5rem;
156
157
 
157
- ${_emotion.textAreaTokens.labelOuterFontSize}: var(--plasma-typo-body-s-font-size);
158
- ${_emotion.textAreaTokens.labelInnerFontFamily}: var(--plasma-typo-body-s-font-family);
159
- ${_emotion.textAreaTokens.labelInnerFontSize}: var(--plasma-typo-body-s-font-size);
160
- ${_emotion.textAreaTokens.labelInnerFontStyle}: var(--plasma-typo-body-s-font-style);
161
- ${_emotion.textAreaTokens.labelInnerFontWeight}: var(--plasma-typo-body-s-font-weight);
162
- ${_emotion.textAreaTokens.labelInnerLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
163
- ${_emotion.textAreaTokens.labelInnerLineHeight}: var(--plasma-typo-body-s-line-height);
158
+ ${_emotion.textAreaTokens.labelOuterFontSize}: ${_sdds_cs.bodyS.fontSize};
159
+ ${_emotion.textAreaTokens.labelInnerFontFamily}: ${_sdds_cs.bodyS.fontFamily};
160
+ ${_emotion.textAreaTokens.labelInnerFontSize}: ${_sdds_cs.bodyS.fontSize};
161
+ ${_emotion.textAreaTokens.labelInnerFontStyle}: ${_sdds_cs.bodyS.fontStyle};
162
+ ${_emotion.textAreaTokens.labelInnerFontWeight}: ${_sdds_cs.bodyS.fontWeight};
163
+ ${_emotion.textAreaTokens.labelInnerLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
164
+ ${_emotion.textAreaTokens.labelInnerLineHeight}: ${_sdds_cs.bodyS.lineHeight};
164
165
  ${_emotion.textAreaTokens.labelInnerTop}: 0.375rem;
165
166
  ${_emotion.textAreaTokens.labelInnerMarginBottom}: 0.125rem;
166
- ${_emotion.textAreaTokens.inputFontFamily}: var(--plasma-typo-body-m-font-family);
167
- ${_emotion.textAreaTokens.inputFontSize}: var(--plasma-typo-body-m-font-size);
168
- ${_emotion.textAreaTokens.inputFontStyle}: var(--plasma-typo-body-m-font-style);
169
- ${_emotion.textAreaTokens.inputFontWeight}: var(--plasma-typo-body-m-font-weight);
170
- ${_emotion.textAreaTokens.inputLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
171
- ${_emotion.textAreaTokens.inputLineHeight}: var(--plasma-typo-body-m-line-height);
172
- ${_emotion.textAreaTokens.helpersFontFamily}: var(--plasma-typo-body-s-font-family);
173
- ${_emotion.textAreaTokens.helpersFontSize}: var(--plasma-typo-body-s-font-size);
174
- ${_emotion.textAreaTokens.helpersFontStyle}: var(--plasma-typo-body-s-font-style);
175
- ${_emotion.textAreaTokens.helpersFontWeight}: var(--plasma-typo-body-s-font-weight);
176
- ${_emotion.textAreaTokens.helpersLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
177
- ${_emotion.textAreaTokens.helpersLineHeight}: var(--plasma-typo-body-s-line-height);
167
+ ${_emotion.textAreaTokens.inputFontFamily}: ${_sdds_cs.bodyM.fontFamily};
168
+ ${_emotion.textAreaTokens.inputFontSize}: ${_sdds_cs.bodyM.fontSize};
169
+ ${_emotion.textAreaTokens.inputFontStyle}: ${_sdds_cs.bodyM.fontStyle};
170
+ ${_emotion.textAreaTokens.inputFontWeight}: ${_sdds_cs.bodyM.fontWeight};
171
+ ${_emotion.textAreaTokens.inputLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
172
+ ${_emotion.textAreaTokens.inputLineHeight}: ${_sdds_cs.bodyM.lineHeight};
173
+ ${_emotion.textAreaTokens.helpersFontFamily}: ${_sdds_cs.bodyS.fontFamily};
174
+ ${_emotion.textAreaTokens.helpersFontSize}: ${_sdds_cs.bodyS.fontSize};
175
+ ${_emotion.textAreaTokens.helpersFontStyle}: ${_sdds_cs.bodyS.fontStyle};
176
+ ${_emotion.textAreaTokens.helpersFontWeight}: ${_sdds_cs.bodyS.fontWeight};
177
+ ${_emotion.textAreaTokens.helpersLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
178
+ ${_emotion.textAreaTokens.helpersLineHeight}: ${_sdds_cs.bodyS.lineHeight};
178
179
 
179
180
  ${_emotion.textAreaTokens.indicatorSizeInner}: 0.375rem;
180
181
  ${_emotion.textAreaTokens.indicatorSizeOuter}: 0.375rem;
@@ -192,21 +193,21 @@ const config = {
192
193
  ${_emotion.textAreaTokens.hintInnerLabelPlacementOffset}: -0.751rem -2rem auto auto;
193
194
 
194
195
  ${_emotion.textAreaTokens.titleCaptionInnerLabelOffset}: 0.25rem;
195
- ${_emotion.textAreaTokens.titleCaptionFontFamily}: var(--plasma-typo-body-xs-font-family);
196
- ${_emotion.textAreaTokens.titleCaptionFontSize}: var(--plasma-typo-body-xs-font-size);
197
- ${_emotion.textAreaTokens.titleCaptionFontStyle}: var(--plasma-typo-body-xs-font-style);
198
- ${_emotion.textAreaTokens.titleCaptionFontWeight}: var(--plasma-typo-body-xs-font-weight);
199
- ${_emotion.textAreaTokens.titleCaptionLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
200
- ${_emotion.textAreaTokens.titleCaptionLineHeight}: var(--plasma-typo-body-xs-line-height);
196
+ ${_emotion.textAreaTokens.titleCaptionFontFamily}: ${_sdds_cs.bodyXS.fontFamily};
197
+ ${_emotion.textAreaTokens.titleCaptionFontSize}: ${_sdds_cs.bodyXS.fontSize};
198
+ ${_emotion.textAreaTokens.titleCaptionFontStyle}: ${_sdds_cs.bodyXS.fontStyle};
199
+ ${_emotion.textAreaTokens.titleCaptionFontWeight}: ${_sdds_cs.bodyXS.fontWeight};
200
+ ${_emotion.textAreaTokens.titleCaptionLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
201
+ ${_emotion.textAreaTokens.titleCaptionLineHeight}: ${_sdds_cs.bodyXS.lineHeight};
201
202
  `
202
203
  },
203
204
  hintView: {
204
205
  // TODO: заменить тень на токен https://github.com/salute-developers/plasma/issues/1131
205
206
  default: (0, _emotion.css)`
206
- ${_emotion.textAreaTokens.tooltipBackgroundColor}: var(--surface-solid-card-brightness);
207
+ ${_emotion.textAreaTokens.tooltipBackgroundColor}: ${_sdds_cs.surfaceSolidCardBrightness};
207
208
  ${_emotion.textAreaTokens.tooltipBoxShadow}: 0px 4px 12px 0px rgba(0, 0, 0, 0.16), 0px 1px 4px 0px rgba(0, 0, 0, 0.08);
208
- ${_emotion.textAreaTokens.tooltipColor}: var(--text-primary);
209
- ${_emotion.textAreaTokens.tooltipArrowBackground}: var(--surface-solid-card-brightness);
209
+ ${_emotion.textAreaTokens.tooltipColor}: ${_sdds_cs.textPrimary};
210
+ ${_emotion.textAreaTokens.tooltipArrowBackground}: ${_sdds_cs.surfaceSolidCardBrightness};
210
211
  `
211
212
  },
212
213
  hintSize: {
@@ -221,12 +222,12 @@ const config = {
221
222
  ${_emotion.textAreaTokens.tooltipMinHeight}: 2.5rem;
222
223
  ${_emotion.textAreaTokens.tooltipBorderRadius}: 0.625rem;
223
224
 
224
- ${_emotion.textAreaTokens.tooltipTextFontFamily}: var(--plasma-typo-body-s-font-family);
225
- ${_emotion.textAreaTokens.tooltipTextFontSize}: var(--plasma-typo-body-s-font-size);
226
- ${_emotion.textAreaTokens.tooltipTextFontStyle}: var(--plasma-typo-body-s-font-style);
227
- ${_emotion.textAreaTokens.tooltipTextFontWeight}: var(--plasma-typo-body-s-font-weight);
228
- ${_emotion.textAreaTokens.tooltipTextFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
229
- ${_emotion.textAreaTokens.tooltipTextFontLineHeight}: var(--plasma-typo-body-s-line-height);
225
+ ${_emotion.textAreaTokens.tooltipTextFontFamily}: ${_sdds_cs.bodyS.fontFamily};
226
+ ${_emotion.textAreaTokens.tooltipTextFontSize}: ${_sdds_cs.bodyS.fontSize};
227
+ ${_emotion.textAreaTokens.tooltipTextFontStyle}: ${_sdds_cs.bodyS.fontStyle};
228
+ ${_emotion.textAreaTokens.tooltipTextFontWeight}: ${_sdds_cs.bodyS.fontWeight};
229
+ ${_emotion.textAreaTokens.tooltipTextFontLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
230
+ ${_emotion.textAreaTokens.tooltipTextFontLineHeight}: ${_sdds_cs.bodyS.lineHeight};
230
231
 
231
232
  ${_emotion.textAreaTokens.tooltipContentLeftMargin}: 0.375rem;
232
233
 
@@ -246,12 +247,12 @@ const config = {
246
247
  ${_emotion.textAreaTokens.tooltipMinHeight}: 2rem;
247
248
  ${_emotion.textAreaTokens.tooltipBorderRadius}: 0.5rem;
248
249
 
249
- ${_emotion.textAreaTokens.tooltipTextFontFamily}: var(--plasma-typo-body-xs-font-family);
250
- ${_emotion.textAreaTokens.tooltipTextFontSize}: var(--plasma-typo-body-xs-font-size);
251
- ${_emotion.textAreaTokens.tooltipTextFontStyle}: var(--plasma-typo-body-xs-font-style);
252
- ${_emotion.textAreaTokens.tooltipTextFontWeight}: var(--plasma-typo-body-xs-font-weight);
253
- ${_emotion.textAreaTokens.tooltipTextFontLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
254
- ${_emotion.textAreaTokens.tooltipTextFontLineHeight}: var(--plasma-typo-body-xs-line-height);
250
+ ${_emotion.textAreaTokens.tooltipTextFontFamily}: ${_sdds_cs.bodyXS.fontFamily};
251
+ ${_emotion.textAreaTokens.tooltipTextFontSize}: ${_sdds_cs.bodyXS.fontSize};
252
+ ${_emotion.textAreaTokens.tooltipTextFontStyle}: ${_sdds_cs.bodyXS.fontStyle};
253
+ ${_emotion.textAreaTokens.tooltipTextFontWeight}: ${_sdds_cs.bodyXS.fontWeight};
254
+ ${_emotion.textAreaTokens.tooltipTextFontLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
255
+ ${_emotion.textAreaTokens.tooltipTextFontLineHeight}: ${_sdds_cs.bodyXS.lineHeight};
255
256
 
256
257
  ${_emotion.textAreaTokens.tooltipContentLeftMargin}: 0.25rem;
257
258
 
@@ -267,32 +268,32 @@ const config = {
267
268
  disabled: {
268
269
  true: (0, _emotion.css)`
269
270
  ${_emotion.textAreaTokens.disabledOpacity}: 1;
270
- ${_emotion.textAreaTokens.backgroundColor}: var(--surface-solid-primary);
271
- ${_emotion.textAreaTokens.borderColor}: var(--surface-solid-primary);
272
- ${_emotion.textAreaTokens.borderColorHover}: var(--surface-solid-primary);
273
- ${_emotion.textAreaTokens.borderColorFocus}: var(--surface-solid-primary);
274
- ${_emotion.textAreaTokens.inputColor}: var(--text-secondary);
275
- ${_emotion.textAreaTokens.inputColorFocus}: var(--text-secondary);
276
- ${_emotion.textAreaTokens.placeholderColorFocus}: var(--text-secondary);
277
- ${_emotion.textAreaTokens.labelOuterColor}: var(--text-primary);
278
- ${_emotion.textAreaTokens.inputColorDisabled}: var(--text-secondary);
271
+ ${_emotion.textAreaTokens.backgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
272
+ ${_emotion.textAreaTokens.borderColor}: ${_sdds_cs.surfaceSolidPrimary};
273
+ ${_emotion.textAreaTokens.borderColorHover}: ${_sdds_cs.surfaceSolidPrimary};
274
+ ${_emotion.textAreaTokens.borderColorFocus}: ${_sdds_cs.surfaceSolidPrimary};
275
+ ${_emotion.textAreaTokens.inputColor}: ${_sdds_cs.textSecondary};
276
+ ${_emotion.textAreaTokens.inputColorFocus}: ${_sdds_cs.textSecondary};
277
+ ${_emotion.textAreaTokens.placeholderColorFocus}: ${_sdds_cs.textSecondary};
278
+ ${_emotion.textAreaTokens.labelOuterColor}: ${_sdds_cs.textPrimary};
279
+ ${_emotion.textAreaTokens.inputColorDisabled}: ${_sdds_cs.textSecondary};
279
280
  `
280
281
  },
281
282
  readOnly: {
282
283
  true: (0, _emotion.css)`
283
284
  ${_emotion.textAreaTokens.readOnlyOpacity}: 0.1;
284
- ${_emotion.textAreaTokens.labelOuterColor}: var(--text-secondary);
285
- ${_emotion.textAreaTokens.inputColorReadOnly}: var(--text-primary);
285
+ ${_emotion.textAreaTokens.labelOuterColor}: ${_sdds_cs.textSecondary};
286
+ ${_emotion.textAreaTokens.inputColorReadOnly}: ${_sdds_cs.textPrimary};
286
287
  ${_emotion.textAreaTokens.dividerColorReadOnly}: var(--surface-transparent-primary);
287
288
  ${_emotion.textAreaTokens.contentSlotRightOpacityReadOnly}: 0.4;
288
- ${_emotion.textAreaTokens.backgroundColor}: var(--surface-clear);
289
- ${_emotion.textAreaTokens.borderColor}: var(--surface-clear);
290
- ${_emotion.textAreaTokens.borderColorHover}: var(--surface-clear);
291
- ${_emotion.textAreaTokens.borderColorFocus}: var(--surface-clear);
292
- ${_emotion.textAreaTokens.inputColor}: var(--text-primary);
293
- ${_emotion.textAreaTokens.inputColorFocus}: var(--text-primary);
294
- ${_emotion.textAreaTokens.placeholderColorFocus}: var(--text-secondary);
295
- ${_emotion.textAreaTokens.labelOuterColor}: var(--text-secondary);
289
+ ${_emotion.textAreaTokens.backgroundColor}: ${_sdds_cs.surfaceClear};
290
+ ${_emotion.textAreaTokens.borderColor}: ${_sdds_cs.surfaceClear};
291
+ ${_emotion.textAreaTokens.borderColorHover}: ${_sdds_cs.surfaceClear};
292
+ ${_emotion.textAreaTokens.borderColorFocus}: ${_sdds_cs.surfaceClear};
293
+ ${_emotion.textAreaTokens.inputColor}: ${_sdds_cs.textPrimary};
294
+ ${_emotion.textAreaTokens.inputColorFocus}: ${_sdds_cs.textPrimary};
295
+ ${_emotion.textAreaTokens.placeholderColorFocus}: ${_sdds_cs.textSecondary};
296
+ ${_emotion.textAreaTokens.labelOuterColor}: ${_sdds_cs.textSecondary};
296
297
  `
297
298
  }
298
299
  }