@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
@@ -1,3 +1,4 @@
1
+ import { bodyL, bodyM, bodyS, bodySBold, bodyXS, bodyXSBold, onDarkTextPrimary, textAccent, textSecondary } from '@salutejs/sdds-themes/tokens/sdds_cs';
1
2
  import { css, tableTokens as tokens } from '@salutejs/plasma-new-hope/emotion';
2
3
  export const config = {
3
4
  defaults: {
@@ -15,12 +16,12 @@ export const config = {
15
16
  },
16
17
  size: {
17
18
  l: css`
18
- ${tokens.fontFamily}: var(--plasma-typo-body-l-font-family);
19
- ${tokens.fontSize}: var(--plasma-typo-body-l-font-size);
20
- ${tokens.fontStyle}: var(--plasma-typo-body-l-font-style);
21
- ${tokens.fontWeight}: var(--plasma-typo-body-l-font-weight);
22
- ${tokens.letterSpacing}: var(--plasma-typo-body-l-letter-spacing);
23
- ${tokens.lineHeight}: var(--plasma-typo-body-l-line-height);
19
+ ${tokens.fontFamily}: ${bodyL.fontFamily};
20
+ ${tokens.fontSize}: ${bodyL.fontSize};
21
+ ${tokens.fontStyle}: ${bodyL.fontStyle};
22
+ ${tokens.fontWeight}: ${bodyL.fontWeight};
23
+ ${tokens.letterSpacing}: ${bodyL.letterSpacing};
24
+ ${tokens.lineHeight}: ${bodyL.lineHeight};
24
25
 
25
26
  ${tokens.headerRowHeight}: 3.125rem;
26
27
  ${tokens.rowHeight}: 3.125rem;
@@ -30,9 +31,9 @@ export const config = {
30
31
  ${tokens.checkboxTriggerBorderCheckedColor}: transparent;
31
32
  ${tokens.checkboxTriggerSize}: 1.25rem;
32
33
  ${tokens.checkboxTriggerBorderRadius}: 0.375rem;
33
- ${tokens.checkboxTriggerBorderColor}: var(--text-secondary);
34
- ${tokens.checkboxFillColor}: var(--text-accent);
35
- ${tokens.checkboxTriggerIconColor}: var(--on-dark-text-primary);
34
+ ${tokens.checkboxTriggerBorderColor}: ${textSecondary};
35
+ ${tokens.checkboxFillColor}: ${textAccent};
36
+ ${tokens.checkboxTriggerIconColor}: ${onDarkTextPrimary};
36
37
 
37
38
  ${tokens.editableCellIconGap}: 0.5rem;
38
39
  ${tokens.editableCellIconButtonWidth}: 3rem;
@@ -47,12 +48,12 @@ export const config = {
47
48
  ${tokens.filterDividerMargin}: 0.375rem 0.75rem;
48
49
 
49
50
  ${tokens.buttonHeight}: 2.5rem;
50
- ${tokens.buttonFontFamily}: var(--plasma-typo-body-s-font-family);
51
- ${tokens.buttonFontSize}: var(--plasma-typo-body-s-font-size);
52
- ${tokens.buttonFontStyle}: var(--plasma-typo-body-s-font-style);
53
- ${tokens.buttonFontWeight}: var(--plasma-typo-body-s-bold-font-weight);
54
- ${tokens.buttonLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
55
- ${tokens.buttonLineHeight}: var(--plasma-typo-body-s-line-height);
51
+ ${tokens.buttonFontFamily}: ${bodyS.fontFamily};
52
+ ${tokens.buttonFontSize}: ${bodyS.fontSize};
53
+ ${tokens.buttonFontStyle}: ${bodyS.fontStyle};
54
+ ${tokens.buttonFontWeight}: ${bodySBold.fontWeight};
55
+ ${tokens.buttonLetterSpacing}: ${bodyS.letterSpacing};
56
+ ${tokens.buttonLineHeight}: ${bodyS.lineHeight};
56
57
 
57
58
  ${tokens.selectPadding}: 0.125rem;
58
59
  ${tokens.selectBorderRadius}: 0.875rem;
@@ -62,12 +63,12 @@ export const config = {
62
63
  ${tokens.selectItemIconMargin}: 0 0.375rem 0 0;
63
64
  ${tokens.selectItemIconSize}: 1.5rem;
64
65
  ${tokens.selectCellPadding}: 0;
65
- ${tokens.selectCellTitleFontFamily}: var(--plasma-typo-body-m-font-family);
66
- ${tokens.selectCellTitleFontSize}: var(--plasma-typo-body-m-font-size);
67
- ${tokens.selectCellTitleFontStyle}: var(--plasma-typo-body-m-font-style);
68
- ${tokens.selectCellTitleFontWeight}: var(--plasma-typo-body-m-font-weight);
69
- ${tokens.selectCellTitleLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
70
- ${tokens.selectCellTitleLineHeight}: var(--plasma-typo-body-m-line-height);
66
+ ${tokens.selectCellTitleFontFamily}: ${bodyM.fontFamily};
67
+ ${tokens.selectCellTitleFontSize}: ${bodyM.fontSize};
68
+ ${tokens.selectCellTitleFontStyle}: ${bodyM.fontStyle};
69
+ ${tokens.selectCellTitleFontWeight}: ${bodyM.fontWeight};
70
+ ${tokens.selectCellTitleLetterSpacing}: ${bodyM.letterSpacing};
71
+ ${tokens.selectCellTitleLineHeight}: ${bodyM.lineHeight};
71
72
  ${tokens.selectCheckboxTriggerSize}: 1.25rem;
72
73
  ${tokens.selectCheckboxTriggerBorderRadius}: 0.375rem;
73
74
  ${tokens.selectCheckboxTriggerBorderWidth}: 0.125rem;
@@ -75,20 +76,20 @@ export const config = {
75
76
  ${tokens.selectControlPanelPadding}: 0.5rem 0.875rem;
76
77
  ${tokens.selectControlPanelGap}: 0.5rem;
77
78
 
78
- ${tokens.linkButtonFontFamily}: var(--plasma-typo-body-s-font-family);
79
- ${tokens.linkButtonFontSize}: var(--plasma-typo-body-s-font-size);
80
- ${tokens.linkButtonFontStyle}: var(--plasma-typo-body-s-font-style);
81
- ${tokens.linkButtonFontWeight}: var(--plasma-typo-body-s-bold-font-weight);
82
- ${tokens.linkButtonLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
83
- ${tokens.linkButtonLineHeight}: var(--plasma-typo-body-s-line-height);
79
+ ${tokens.linkButtonFontFamily}: ${bodyS.fontFamily};
80
+ ${tokens.linkButtonFontSize}: ${bodyS.fontSize};
81
+ ${tokens.linkButtonFontStyle}: ${bodyS.fontStyle};
82
+ ${tokens.linkButtonFontWeight}: ${bodySBold.fontWeight};
83
+ ${tokens.linkButtonLetterSpacing}: ${bodyS.letterSpacing};
84
+ ${tokens.linkButtonLineHeight}: ${bodyS.lineHeight};
84
85
  `,
85
86
  m: css`
86
- ${tokens.fontFamily}: var(--plasma-typo-body-m-font-family);
87
- ${tokens.fontSize}: var(--plasma-typo-body-m-font-size);
88
- ${tokens.fontStyle}: var(--plasma-typo-body-m-font-style);
89
- ${tokens.fontWeight}: var(--plasma-typo-body-m-font-weight);
90
- ${tokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);
91
- ${tokens.lineHeight}: var(--plasma-typo-body-m-line-height);
87
+ ${tokens.fontFamily}: ${bodyM.fontFamily};
88
+ ${tokens.fontSize}: ${bodyM.fontSize};
89
+ ${tokens.fontStyle}: ${bodyM.fontStyle};
90
+ ${tokens.fontWeight}: ${bodyM.fontWeight};
91
+ ${tokens.letterSpacing}: ${bodyM.letterSpacing};
92
+ ${tokens.lineHeight}: ${bodyM.lineHeight};
92
93
 
93
94
  ${tokens.headerRowHeight}: 2.75rem;
94
95
  ${tokens.rowHeight}: 2.75rem;
@@ -98,9 +99,9 @@ export const config = {
98
99
  ${tokens.checkboxTriggerBorderCheckedColor}: transparent;
99
100
  ${tokens.checkboxTriggerSize}: 1.25rem;
100
101
  ${tokens.checkboxTriggerBorderRadius}: 0.375rem;
101
- ${tokens.checkboxTriggerBorderColor}: var(--text-secondary);
102
- ${tokens.checkboxFillColor}: var(--text-accent);
103
- ${tokens.checkboxTriggerIconColor}: var(--on-dark-text-primary);
102
+ ${tokens.checkboxTriggerBorderColor}: ${textSecondary};
103
+ ${tokens.checkboxFillColor}: ${textAccent};
104
+ ${tokens.checkboxTriggerIconColor}: ${onDarkTextPrimary};
104
105
 
105
106
  ${tokens.editableCellIconGap}: 0.375rem;
106
107
  ${tokens.editableCellIconButtonWidth}: 2.5rem;
@@ -115,12 +116,12 @@ export const config = {
115
116
  ${tokens.filterDividerMargin}: 0.375rem 0.75rem;
116
117
 
117
118
  ${tokens.buttonHeight}: 2rem;
118
- ${tokens.buttonFontFamily}: var(--plasma-typo-body-xs-font-family);
119
- ${tokens.buttonFontSize}: var(--plasma-typo-body-xs-font-size);
120
- ${tokens.buttonFontStyle}: var(--plasma-typo-body-xs-font-style);
121
- ${tokens.buttonFontWeight}: var(--plasma-typo-body-xs-bold-font-weight);
122
- ${tokens.buttonLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
123
- ${tokens.buttonLineHeight}: var(--plasma-typo-body-xs-line-height);
119
+ ${tokens.buttonFontFamily}: ${bodyXS.fontFamily};
120
+ ${tokens.buttonFontSize}: ${bodyXS.fontSize};
121
+ ${tokens.buttonFontStyle}: ${bodyXS.fontStyle};
122
+ ${tokens.buttonFontWeight}: ${bodyXSBold.fontWeight};
123
+ ${tokens.buttonLetterSpacing}: ${bodyXS.letterSpacing};
124
+ ${tokens.buttonLineHeight}: ${bodyXS.lineHeight};
124
125
 
125
126
  ${tokens.selectPadding}: 0.125rem;
126
127
  ${tokens.selectBorderRadius}: 0.75rem;
@@ -130,12 +131,12 @@ export const config = {
130
131
  ${tokens.selectItemIconMargin}: 0 0.375rem 0 0;
131
132
  ${tokens.selectItemIconSize}: 1.5rem;
132
133
  ${tokens.selectCellPadding}: 0;
133
- ${tokens.selectCellTitleFontFamily}: var(--plasma-typo-body-s-font-family);
134
- ${tokens.selectCellTitleFontSize}: var(--plasma-typo-body-s-font-size);
135
- ${tokens.selectCellTitleFontStyle}: var(--plasma-typo-body-s-font-style);
136
- ${tokens.selectCellTitleFontWeight}: var(--plasma-typo-body-s-font-weight);
137
- ${tokens.selectCellTitleLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
138
- ${tokens.selectCellTitleLineHeight}: var(--plasma-typo-body-s-line-height);
134
+ ${tokens.selectCellTitleFontFamily}: ${bodyS.fontFamily};
135
+ ${tokens.selectCellTitleFontSize}: ${bodyS.fontSize};
136
+ ${tokens.selectCellTitleFontStyle}: ${bodyS.fontStyle};
137
+ ${tokens.selectCellTitleFontWeight}: ${bodyS.fontWeight};
138
+ ${tokens.selectCellTitleLetterSpacing}: ${bodyS.letterSpacing};
139
+ ${tokens.selectCellTitleLineHeight}: ${bodyS.lineHeight};
139
140
  ${tokens.selectCheckboxTriggerSize}: 1.25rem;
140
141
  ${tokens.selectCheckboxTriggerBorderRadius}: 0.375rem;
141
142
  ${tokens.selectCheckboxTriggerBorderWidth}: 0.125rem;
@@ -143,20 +144,20 @@ export const config = {
143
144
  ${tokens.selectControlPanelPadding}: 0.25rem 0.75rem;
144
145
  ${tokens.selectControlPanelGap}: 0.625rem;
145
146
 
146
- ${tokens.linkButtonFontFamily}: var(--plasma-typo-body-xs-font-family);
147
- ${tokens.linkButtonFontSize}: var(--plasma-typo-body-xs-font-size);
148
- ${tokens.linkButtonFontStyle}: var(--plasma-typo-body-xs-font-style);
149
- ${tokens.linkButtonFontWeight}: var(--plasma-typo-body-xs-bold-font-weight);
150
- ${tokens.linkButtonLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
151
- ${tokens.linkButtonLineHeight}: var(--plasma-typo-body-xs-line-height);
147
+ ${tokens.linkButtonFontFamily}: ${bodyXS.fontFamily};
148
+ ${tokens.linkButtonFontSize}: ${bodyXS.fontSize};
149
+ ${tokens.linkButtonFontStyle}: ${bodyXS.fontStyle};
150
+ ${tokens.linkButtonFontWeight}: ${bodyXSBold.fontWeight};
151
+ ${tokens.linkButtonLetterSpacing}: ${bodyXS.letterSpacing};
152
+ ${tokens.linkButtonLineHeight}: ${bodyXS.lineHeight};
152
153
  `,
153
154
  s: css`
154
- ${tokens.fontFamily}: var(--plasma-typo-body-s-font-family);
155
- ${tokens.fontSize}: var(--plasma-typo-body-s-font-size);
156
- ${tokens.fontStyle}: var(--plasma-typo-body-s-font-style);
157
- ${tokens.fontWeight}: var(--plasma-typo-body-s-font-weight);
158
- ${tokens.letterSpacing}: var(--plasma-typo-body-s-letter-spacing);
159
- ${tokens.lineHeight}: var(--plasma-typo-body-s-line-height);
155
+ ${tokens.fontFamily}: ${bodyS.fontFamily};
156
+ ${tokens.fontSize}: ${bodyS.fontSize};
157
+ ${tokens.fontStyle}: ${bodyS.fontStyle};
158
+ ${tokens.fontWeight}: ${bodyS.fontWeight};
159
+ ${tokens.letterSpacing}: ${bodyS.letterSpacing};
160
+ ${tokens.lineHeight}: ${bodyS.lineHeight};
160
161
 
161
162
  ${tokens.headerRowHeight}: 2.125rem;
162
163
  ${tokens.rowHeight}: 2.125rem;
@@ -166,9 +167,9 @@ export const config = {
166
167
  ${tokens.checkboxTriggerBorderCheckedColor}: transparent;
167
168
  ${tokens.checkboxTriggerSize}: 0.875rem;
168
169
  ${tokens.checkboxTriggerBorderRadius}: 0.25rem;
169
- ${tokens.checkboxTriggerBorderColor}: var(--text-secondary);
170
- ${tokens.checkboxFillColor}: var(--text-accent);
171
- ${tokens.checkboxTriggerIconColor}: var(--on-dark-text-primary);
170
+ ${tokens.checkboxTriggerBorderColor}: ${textSecondary};
171
+ ${tokens.checkboxFillColor}: ${textAccent};
172
+ ${tokens.checkboxTriggerIconColor}: ${onDarkTextPrimary};
172
173
 
173
174
  ${tokens.editableCellIconGap}: 0.25rem;
174
175
  ${tokens.editableCellIconButtonWidth}: 2rem;
@@ -183,12 +184,12 @@ export const config = {
183
184
  ${tokens.filterDividerMargin}: 0.25rem 0.5rem;
184
185
 
185
186
  ${tokens.buttonHeight}: 1.5rem;
186
- ${tokens.buttonFontFamily}: var(--plasma-typo-body-xs-font-family);
187
- ${tokens.buttonFontSize}: var(--plasma-typo-body-xs-font-size);
188
- ${tokens.buttonFontStyle}: var(--plasma-typo-body-xs-font-style);
189
- ${tokens.buttonFontWeight}: var(--plasma-typo-body-xs-bold-font-weight);
190
- ${tokens.buttonLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
191
- ${tokens.buttonLineHeight}: var(--plasma-typo-body-xs-line-height);
187
+ ${tokens.buttonFontFamily}: ${bodyXS.fontFamily};
188
+ ${tokens.buttonFontSize}: ${bodyXS.fontSize};
189
+ ${tokens.buttonFontStyle}: ${bodyXS.fontStyle};
190
+ ${tokens.buttonFontWeight}: ${bodyXSBold.fontWeight};
191
+ ${tokens.buttonLetterSpacing}: ${bodyXS.letterSpacing};
192
+ ${tokens.buttonLineHeight}: ${bodyXS.lineHeight};
192
193
 
193
194
  ${tokens.selectPadding}: 0.125rem;
194
195
  ${tokens.selectBorderRadius}: 0.625rem;
@@ -198,12 +199,12 @@ export const config = {
198
199
  ${tokens.selectItemIconMargin}: 0 0.25rem 0 0;
199
200
  ${tokens.selectItemIconSize}: 1rem;
200
201
  ${tokens.selectCellPadding}: 0;
201
- ${tokens.selectCellTitleFontFamily}: var(--plasma-typo-body-xs-font-family);
202
- ${tokens.selectCellTitleFontSize}: var(--plasma-typo-body-xs-font-size);
203
- ${tokens.selectCellTitleFontStyle}: var(--plasma-typo-body-xs-font-style);
204
- ${tokens.selectCellTitleFontWeight}: var(--plasma-typo-body-xs-font-weight);
205
- ${tokens.selectCellTitleLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
206
- ${tokens.selectCellTitleLineHeight}: var(--plasma-typo-body-xs-line-height);
202
+ ${tokens.selectCellTitleFontFamily}: ${bodyXS.fontFamily};
203
+ ${tokens.selectCellTitleFontSize}: ${bodyXS.fontSize};
204
+ ${tokens.selectCellTitleFontStyle}: ${bodyXS.fontStyle};
205
+ ${tokens.selectCellTitleFontWeight}: ${bodyXS.fontWeight};
206
+ ${tokens.selectCellTitleLetterSpacing}: ${bodyXS.letterSpacing};
207
+ ${tokens.selectCellTitleLineHeight}: ${bodyXS.lineHeight};
207
208
  ${tokens.selectCheckboxTriggerSize}: 0.875rem;
208
209
  ${tokens.selectCheckboxTriggerBorderRadius}: 0.25rem;
209
210
  ${tokens.selectCheckboxTriggerBorderWidth}: 0.125rem;
@@ -211,12 +212,12 @@ export const config = {
211
212
  ${tokens.selectControlPanelPadding}: 0.25rem 0.5rem;
212
213
  ${tokens.selectControlPanelGap}: 0.25rem;
213
214
 
214
- ${tokens.linkButtonFontFamily}: var(--plasma-typo-body-xs-font-family);
215
- ${tokens.linkButtonFontSize}: var(--plasma-typo-body-xs-font-size);
216
- ${tokens.linkButtonFontStyle}: var(--plasma-typo-body-xs-font-style);
217
- ${tokens.linkButtonFontWeight}: var(--plasma-typo-body-xs-bold-font-weight);
218
- ${tokens.linkButtonLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
219
- ${tokens.linkButtonLineHeight}: var(--plasma-typo-body-xs-line-height);
215
+ ${tokens.linkButtonFontFamily}: ${bodyXS.fontFamily};
216
+ ${tokens.linkButtonFontSize}: ${bodyXS.fontSize};
217
+ ${tokens.linkButtonFontStyle}: ${bodyXS.fontStyle};
218
+ ${tokens.linkButtonFontWeight}: ${bodyXSBold.fontWeight};
219
+ ${tokens.linkButtonLetterSpacing}: ${bodyXS.letterSpacing};
220
+ ${tokens.linkButtonLineHeight}: ${bodyXS.lineHeight};
220
221
  `
221
222
  }
222
223
  }
@@ -1,3 +1,4 @@
1
+ import { bodyM, bodyMBold, inverseTextPrimary, onDarkTextSecondary, surfaceAccent, surfaceSolidDefault, surfaceSolidDefaultHover, textAccent, textAccentActive, textAccentMinor, textPrimary, textSecondary, textSecondaryActive, textSecondaryHover, textTertiary } from '@salutejs/sdds-themes/tokens/sdds_cs';
1
2
  import { css, tabsTokens } from '@salutejs/plasma-new-hope/emotion';
2
3
  export const config = {
3
4
  defaults: {
@@ -7,109 +8,109 @@ export const config = {
7
8
  variations: {
8
9
  view: {
9
10
  clear: css`
10
- ${tabsTokens.itemColor}: var(--text-secondary);
11
- ${tabsTokens.itemValueColor}: var(--text-tertiary);
11
+ ${tabsTokens.itemColor}: ${textSecondary};
12
+ ${tabsTokens.itemValueColor}: ${textTertiary};
12
13
  ${tabsTokens.itemBackgroundColor}: transparent;
13
- ${tabsTokens.itemColorHover}: var(--text-secondary-hover);
14
- ${tabsTokens.itemValueColorHover}: var(--text-secondary);
15
- ${tabsTokens.itemColorActive}: var(--text-secondary-active);
16
- ${tabsTokens.itemValueColorActive}: var(--text-secondary);
14
+ ${tabsTokens.itemColorHover}: ${textSecondaryHover};
15
+ ${tabsTokens.itemValueColorHover}: ${textSecondary};
16
+ ${tabsTokens.itemColorActive}: ${textSecondaryActive};
17
+ ${tabsTokens.itemValueColorActive}: ${textSecondary};
17
18
  ${tabsTokens.itemBackgroundColorHover}: transparent;
18
- ${tabsTokens.itemSelectedColor}: var(--text-primary);
19
- ${tabsTokens.itemSelectedValueColor}: var(--text-secondary);
19
+ ${tabsTokens.itemSelectedColor}: ${textPrimary};
20
+ ${tabsTokens.itemSelectedValueColor}: ${textSecondary};
20
21
  ${tabsTokens.itemSelectedBackgroundColor}: transparent;
21
- ${tabsTokens.itemSelectedColorHover}: var(--text-primary);
22
- ${tabsTokens.itemSelectedValueColorHover}: var(--text-secondary);
22
+ ${tabsTokens.itemSelectedColorHover}: ${textPrimary};
23
+ ${tabsTokens.itemSelectedValueColorHover}: ${textSecondary};
23
24
  ${tabsTokens.itemSelectedBackgroundColorHover}: transparent;
24
25
  ${tabsTokens.itemBackgroundTransition}: background-color 0.3s ease-in-out;
25
26
 
26
- ${tabsTokens.outlineFocusColor}: var(--surface-accent);
27
+ ${tabsTokens.outlineFocusColor}: ${surfaceAccent};
27
28
 
28
29
  ${tabsTokens.itemSelectedDividerHeight}: 0rem;
29
- ${tabsTokens.itemSelectedDividerColor}: var(--surface-solid-default);
30
- ${tabsTokens.itemSelectedDividerColorHover}: var(--surface-solid-default-hover);
30
+ ${tabsTokens.itemSelectedDividerColor}: ${surfaceSolidDefault};
31
+ ${tabsTokens.itemSelectedDividerColorHover}: ${surfaceSolidDefaultHover};
31
32
 
32
33
  ${tabsTokens.itemCursor}: default;
33
34
  ${tabsTokens.itemCursorOverNotSelected}: pointer;
34
35
  `,
35
36
  secondary: css`
36
- ${tabsTokens.itemColor}: var(--text-primary);
37
- ${tabsTokens.itemValueColor}: var(--text-secondary);
37
+ ${tabsTokens.itemColor}: ${textPrimary};
38
+ ${tabsTokens.itemValueColor}: ${textSecondary};
38
39
  ${tabsTokens.itemBackgroundColor}: transparent;
39
- ${tabsTokens.itemColorHover}: var(--text-secondary-hover);
40
- ${tabsTokens.itemValueColorHover}: var(--text-secondary);
41
- ${tabsTokens.itemColorActive}: var(--text-secondary-active);
42
- ${tabsTokens.itemValueColorActive}: var(--text-secondary);
40
+ ${tabsTokens.itemColorHover}: ${textSecondaryHover};
41
+ ${tabsTokens.itemValueColorHover}: ${textSecondary};
42
+ ${tabsTokens.itemColorActive}: ${textSecondaryActive};
43
+ ${tabsTokens.itemValueColorActive}: ${textSecondary};
43
44
  ${tabsTokens.itemBackgroundColorHover}: transparent;
44
- ${tabsTokens.itemSelectedColor}: var(--text-primary);
45
- ${tabsTokens.itemSelectedValueColor}: var(--text-secondary);
45
+ ${tabsTokens.itemSelectedColor}: ${textPrimary};
46
+ ${tabsTokens.itemSelectedValueColor}: ${textSecondary};
46
47
  ${tabsTokens.itemSelectedBackgroundColor}: var(--surface-transparent-card);
47
- ${tabsTokens.itemSelectedColorHover}: var(--text-primary);
48
- ${tabsTokens.itemSelectedValueColorHover}: var(--text-secondary);
48
+ ${tabsTokens.itemSelectedColorHover}: ${textPrimary};
49
+ ${tabsTokens.itemSelectedValueColorHover}: ${textSecondary};
49
50
  ${tabsTokens.itemSelectedBackgroundColorHover}: var(--surface-transparent-card);
50
51
  ${tabsTokens.itemBackgroundTransition}: background-color 0.3s ease-in-out;
51
52
 
52
53
  ${tabsTokens.itemMarginLeftFilled}: 0.125rem;
53
54
 
54
- ${tabsTokens.outlineFocusColor}: var(--surface-accent);
55
+ ${tabsTokens.outlineFocusColor}: ${surfaceAccent};
55
56
 
56
57
  ${tabsTokens.itemSelectedDividerHeight}: 0rem;
57
- ${tabsTokens.itemSelectedDividerColor}: var(--surface-solid-default);
58
- ${tabsTokens.itemSelectedDividerColorHover}: var(--surface-solid-default-hover);
58
+ ${tabsTokens.itemSelectedDividerColor}: ${surfaceSolidDefault};
59
+ ${tabsTokens.itemSelectedDividerColorHover}: ${surfaceSolidDefaultHover};
59
60
 
60
61
  ${tabsTokens.itemCursor}: default;
61
62
  ${tabsTokens.itemCursorOverNotSelected}: pointer;
62
63
  `,
63
64
  divider: css`
64
- ${tabsTokens.itemColor}: var(--text-accent);
65
- ${tabsTokens.itemValueColor}: var(--text-secondary);
65
+ ${tabsTokens.itemColor}: ${textAccent};
66
+ ${tabsTokens.itemValueColor}: ${textSecondary};
66
67
  ${tabsTokens.itemBackgroundColor}: transparent;
67
- ${tabsTokens.itemColorHover}: var(--text-accent-minor);
68
- ${tabsTokens.itemValueColorHover}: var(--text-secondary);
69
- ${tabsTokens.itemColorActive}: var(--text-accent-active);
70
- ${tabsTokens.itemValueColorActive}: var(--text-secondary);
68
+ ${tabsTokens.itemColorHover}: ${textAccentMinor};
69
+ ${tabsTokens.itemValueColorHover}: ${textSecondary};
70
+ ${tabsTokens.itemColorActive}: ${textAccentActive};
71
+ ${tabsTokens.itemValueColorActive}: ${textSecondary};
71
72
  ${tabsTokens.itemBackgroundColorHover}: transparent;
72
- ${tabsTokens.itemSelectedColor}: var(--text-primary);
73
- ${tabsTokens.itemSelectedValueColor}: var(--text-secondary);
73
+ ${tabsTokens.itemSelectedColor}: ${textPrimary};
74
+ ${tabsTokens.itemSelectedValueColor}: ${textSecondary};
74
75
  ${tabsTokens.itemSelectedBackgroundColor}: transparent;
75
- ${tabsTokens.itemSelectedColorHover}: var(--text-primary);
76
- ${tabsTokens.itemSelectedValueColorHover}: var(--text-secondary);
76
+ ${tabsTokens.itemSelectedColorHover}: ${textPrimary};
77
+ ${tabsTokens.itemSelectedValueColorHover}: ${textSecondary};
77
78
  ${tabsTokens.itemSelectedBackgroundColorHover}: transparent;
78
79
  ${tabsTokens.itemBackgroundTransition}: background-color 0.3s ease-in-out;
79
80
 
80
- ${tabsTokens.outlineFocusColor}: var(--surface-accent);
81
+ ${tabsTokens.outlineFocusColor}: ${surfaceAccent};
81
82
 
82
83
  ${tabsTokens.itemSelectedDividerHeight}: 0.125rem;
83
- ${tabsTokens.itemSelectedDividerColor}: var(--surface-solid-default);
84
- ${tabsTokens.itemSelectedDividerColorHover}: var(--surface-solid-default-hover);
84
+ ${tabsTokens.itemSelectedDividerColor}: ${surfaceSolidDefault};
85
+ ${tabsTokens.itemSelectedDividerColorHover}: ${surfaceSolidDefaultHover};
85
86
 
86
87
  ${tabsTokens.itemCursor}: default;
87
88
  ${tabsTokens.itemCursorOverNotSelected}: pointer;
88
89
  `,
89
90
  default: css`
90
- ${tabsTokens.itemColor}: var(--text-primary);
91
- ${tabsTokens.itemValueColor}: var(--text-secondary);
91
+ ${tabsTokens.itemColor}: ${textPrimary};
92
+ ${tabsTokens.itemValueColor}: ${textSecondary};
92
93
  ${tabsTokens.itemBackgroundColor}: transparent;
93
- ${tabsTokens.itemColorHover}: var(--text-secondary-hover);
94
- ${tabsTokens.itemValueColorHover}: var(--text-secondary);
95
- ${tabsTokens.itemColorActive}: var(--text-secondary-active);
96
- ${tabsTokens.itemValueColorActive}: var(--text-secondary);
94
+ ${tabsTokens.itemColorHover}: ${textSecondaryHover};
95
+ ${tabsTokens.itemValueColorHover}: ${textSecondary};
96
+ ${tabsTokens.itemColorActive}: ${textSecondaryActive};
97
+ ${tabsTokens.itemValueColorActive}: ${textSecondary};
97
98
  ${tabsTokens.itemBackgroundColorHover}: transparent;
98
- ${tabsTokens.itemSelectedColor}: var(--inverse-text-primary);
99
- ${tabsTokens.itemSelectedValueColor}: var(--on-dark-text-secondary);
100
- ${tabsTokens.itemSelectedBackgroundColor}: var(--surface-solid-default);
101
- ${tabsTokens.itemSelectedColorHover}: var(--inverse-text-primary);
102
- ${tabsTokens.itemSelectedValueColorHover}: var(--on-dark-text-secondary);
103
- ${tabsTokens.itemSelectedBackgroundColorHover}: var(--surface-solid-default);
99
+ ${tabsTokens.itemSelectedColor}: ${inverseTextPrimary};
100
+ ${tabsTokens.itemSelectedValueColor}: ${onDarkTextSecondary};
101
+ ${tabsTokens.itemSelectedBackgroundColor}: ${surfaceSolidDefault};
102
+ ${tabsTokens.itemSelectedColorHover}: ${inverseTextPrimary};
103
+ ${tabsTokens.itemSelectedValueColorHover}: ${onDarkTextSecondary};
104
+ ${tabsTokens.itemSelectedBackgroundColorHover}: ${surfaceSolidDefault};
104
105
  ${tabsTokens.itemBackgroundTransition}: background-color 0.3s ease-in-out;
105
106
 
106
107
  ${tabsTokens.itemMarginLeftFilled}: 0.125rem;
107
108
 
108
- ${tabsTokens.outlineFocusColor}: var(--surface-accent);
109
+ ${tabsTokens.outlineFocusColor}: ${surfaceAccent};
109
110
 
110
111
  ${tabsTokens.itemSelectedDividerHeight}: 0rem;
111
- ${tabsTokens.itemSelectedDividerColor}: var(--surface-solid-default);
112
- ${tabsTokens.itemSelectedDividerColorHover}: var(--surface-solid-default-hover);
112
+ ${tabsTokens.itemSelectedDividerColor}: ${surfaceSolidDefault};
113
+ ${tabsTokens.itemSelectedDividerColorHover}: ${surfaceSolidDefaultHover};
113
114
 
114
115
  ${tabsTokens.itemCursor}: default;
115
116
  ${tabsTokens.itemCursorOverNotSelected}: pointer;
@@ -126,32 +127,32 @@ export const config = {
126
127
  ${tabsTokens.itemContentGap}: 0.25rem;
127
128
  ${tabsTokens.itemContentPadding}: 0.125rem;
128
129
 
129
- ${tabsTokens.fontFamily}: var(--plasma-typo-body-m-bold-font-family);
130
- ${tabsTokens.fontSize}: var(--plasma-typo-body-m-bold-font-size);
131
- ${tabsTokens.fontStyle}: var(--plasma-typo-body-m-bold-font-style);
132
- ${tabsTokens.fontWeight}: var(--plasma-typo-body-m-bold-font-weight);
133
- ${tabsTokens.letterSpacing}: var(--plasma-typo-body-m-bold-letter-spacing);
134
- ${tabsTokens.lineHeight}: var(--plasma-typo-body-m-bold-line-height);
130
+ ${tabsTokens.fontFamily}: ${bodyMBold.fontFamily};
131
+ ${tabsTokens.fontSize}: ${bodyMBold.fontSize};
132
+ ${tabsTokens.fontStyle}: ${bodyMBold.fontStyle};
133
+ ${tabsTokens.fontWeight}: ${bodyMBold.fontWeight};
134
+ ${tabsTokens.letterSpacing}: ${bodyMBold.letterSpacing};
135
+ ${tabsTokens.lineHeight}: ${bodyMBold.lineHeight};
135
136
 
136
- ${tabsTokens.valueFontFamily}: var(--plasma-typo-body-m-font-family);
137
- ${tabsTokens.valueFontSize}: var(--plasma-typo-body-m-font-size);
138
- ${tabsTokens.valueFontStyle}: var(--plasma-typo-body-m-font-style);
139
- ${tabsTokens.valueFontWeight}: var(--plasma-typo-body-m-font-weight);
140
- ${tabsTokens.valueLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
141
- ${tabsTokens.valueLineHeight}: var(--plasma-typo-body-m-line-height);
137
+ ${tabsTokens.valueFontFamily}: ${bodyM.fontFamily};
138
+ ${tabsTokens.valueFontSize}: ${bodyM.fontSize};
139
+ ${tabsTokens.valueFontStyle}: ${bodyM.fontStyle};
140
+ ${tabsTokens.valueFontWeight}: ${bodyM.fontWeight};
141
+ ${tabsTokens.valueLetterSpacing}: ${bodyM.letterSpacing};
142
+ ${tabsTokens.valueLineHeight}: ${bodyM.lineHeight};
142
143
 
143
144
  ${tabsTokens.actionContentMarginLeft}: 0.125rem;
144
145
  `
145
146
  },
146
147
  disabled: {
147
148
  true: css`
148
- ${tabsTokens.itemColor}: var(--text-secondary);
149
- ${tabsTokens.itemValueColor}: var(--text-secondary);
150
- ${tabsTokens.itemColorHover}: var(--text-secondary);
151
- ${tabsTokens.itemValueColorHover}: var(--text-secondary);
152
- ${tabsTokens.itemColorActive}: var(--text-secondary);
153
- ${tabsTokens.itemValueColorActive}: var(--text-secondary);
154
- ${tabsTokens.itemSelectedColor}: var(--text-secondary);
149
+ ${tabsTokens.itemColor}: ${textSecondary};
150
+ ${tabsTokens.itemValueColor}: ${textSecondary};
151
+ ${tabsTokens.itemColorHover}: ${textSecondary};
152
+ ${tabsTokens.itemValueColorHover}: ${textSecondary};
153
+ ${tabsTokens.itemColorActive}: ${textSecondary};
154
+ ${tabsTokens.itemValueColorActive}: ${textSecondary};
155
+ ${tabsTokens.itemSelectedColor}: ${textSecondary};
155
156
  ${tabsTokens.itemSelectedDividerColor}: none;
156
157
  ${tabsTokens.itemSelectedDividerColorHover}: none;
157
158
  `
@@ -1,3 +1,4 @@
1
+ import { outlineSolidPrimary, surfaceAccent, textAccent, textAccentActive, textAccentMinor, textSecondary, textSecondaryActive, textSecondaryHover } from '@salutejs/sdds-themes/tokens/sdds_cs';
1
2
  import { css, tabsTokens } from '@salutejs/plasma-new-hope/emotion';
2
3
  export const config = {
3
4
  defaults: {
@@ -7,36 +8,36 @@ export const config = {
7
8
  variations: {
8
9
  view: {
9
10
  clear: css`
10
- ${tabsTokens.arrowColor}: var(--text-secondary);
11
- ${tabsTokens.arrowColorHover}: var(--text-secondary-hover);
12
- ${tabsTokens.arrowColorActive}: var(---text-secondary-active);
11
+ ${tabsTokens.arrowColor}: ${textSecondary};
12
+ ${tabsTokens.arrowColorHover}: ${textSecondaryHover};
13
+ ${tabsTokens.arrowColorActive}: ${textSecondaryActive};
13
14
  ${tabsTokens.tabsBackgroundColor}: transparent;
14
- ${tabsTokens.outlineFocusColor}: var(--surface-accent);
15
+ ${tabsTokens.outlineFocusColor}: ${surfaceAccent};
15
16
 
16
17
  ${tabsTokens.tabsDividerHeight}: 0rem;
17
18
  ${tabsTokens.tabsDividerColor}: transparent;
18
19
  ${tabsTokens.tabsDividerBorderRadius}: 0rem;
19
20
  `,
20
21
  filled: css`
21
- ${tabsTokens.arrowColor}: var(--text-secondary);
22
- ${tabsTokens.arrowColorHover}: var(--text-secondary-hover);
23
- ${tabsTokens.arrowColorActive}: var(---text-secondary-active);
22
+ ${tabsTokens.arrowColor}: ${textSecondary};
23
+ ${tabsTokens.arrowColorHover}: ${textSecondaryHover};
24
+ ${tabsTokens.arrowColorActive}: ${textSecondaryActive};
24
25
  ${tabsTokens.tabsBackgroundColor}: var(--surface-transparent-primary);
25
- ${tabsTokens.outlineFocusColor}: var(--surface-accent);
26
+ ${tabsTokens.outlineFocusColor}: ${surfaceAccent};
26
27
 
27
28
  ${tabsTokens.tabsDividerHeight}: 0rem;
28
29
  ${tabsTokens.tabsDividerColor}: transparent;
29
30
  ${tabsTokens.tabsDividerBorderRadius}: 0rem;
30
31
  `,
31
32
  divider: css`
32
- ${tabsTokens.arrowColor}: var(--text-accent);
33
- ${tabsTokens.arrowColorHover}: var(--text-accent-minor);
34
- ${tabsTokens.arrowColorActive}: var(--text-accent-active);
33
+ ${tabsTokens.arrowColor}: ${textAccent};
34
+ ${tabsTokens.arrowColorHover}: ${textAccentMinor};
35
+ ${tabsTokens.arrowColorActive}: ${textAccentActive};
35
36
  ${tabsTokens.tabsBackgroundColor}: transparent;
36
- ${tabsTokens.outlineFocusColor}: var(--surface-accent);
37
+ ${tabsTokens.outlineFocusColor}: ${surfaceAccent};
37
38
 
38
39
  ${tabsTokens.tabsDividerHeight}: 0.0625rem;
39
- ${tabsTokens.tabsDividerColor}: var(--outline-solid-primary);
40
+ ${tabsTokens.tabsDividerColor}: ${outlineSolidPrimary};
40
41
  ${tabsTokens.tabsDividerBorderRadius}: 0.0625rem;
41
42
  `
42
43
  },
@@ -112,14 +113,14 @@ export const config = {
112
113
  },
113
114
  disabled: {
114
115
  true: css`
115
- ${tabsTokens.arrowColor}: var(--text-secondary);
116
- ${tabsTokens.itemColor}: var(--text-secondary);
117
- ${tabsTokens.itemValueColor}: var(--text-secondary);
118
- ${tabsTokens.itemColorHover}: var(--text-secondary);
119
- ${tabsTokens.itemValueColorHover}: var(--text-secondary);
120
- ${tabsTokens.itemColorActive}: var(--text-secondary);
121
- ${tabsTokens.itemValueColorActive}: var(--text-secondary);
122
- ${tabsTokens.itemSelectedColor}: var(--text-secondary);
116
+ ${tabsTokens.arrowColor}: ${textSecondary};
117
+ ${tabsTokens.itemColor}: ${textSecondary};
118
+ ${tabsTokens.itemValueColor}: ${textSecondary};
119
+ ${tabsTokens.itemColorHover}: ${textSecondary};
120
+ ${tabsTokens.itemValueColorHover}: ${textSecondary};
121
+ ${tabsTokens.itemColorActive}: ${textSecondary};
122
+ ${tabsTokens.itemValueColorActive}: ${textSecondary};
123
+ ${tabsTokens.itemSelectedColor}: ${textSecondary};
123
124
  ${tabsTokens.itemSelectedDividerColor}: none;
124
125
  ${tabsTokens.itemSelectedDividerColorHover}: none;
125
126
  ${tabsTokens.tabsDividerColor}: transparent;