@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
@@ -1,3 +1,4 @@
1
+ import { bodyM, bodyS, bodyXS, outlineAccent, outlineSolidPrimary, outlineSolidPrimaryHover, surfaceClear, surfaceNegative, surfaceSolidCard, surfaceSolidCardActive, surfaceSolidCardBrightness, surfaceSolidPrimary, textAccent, textAccentActive, textAccentMinor, textNegative, textNegativeActive, textNegativeHover, textPrimary, textPrimaryHover, textSecondary, textSecondaryActive, textSecondaryHover, textTertiary } from '@salutejs/sdds-themes/tokens/sdds_cs';
1
2
  import { css, textFieldTokens as tokens } from '@salutejs/plasma-new-hope/emotion';
2
3
  export const config = {
3
4
  defaults: {
@@ -8,90 +9,90 @@ export const config = {
8
9
  variations: {
9
10
  view: {
10
11
  default: css`
11
- ${tokens.color}: var(--text-primary);
12
- ${tokens.backgroundColor}: var(--surface-solid-card);
13
- ${tokens.backgroundColorFocus}: var(--surface-solid-card-active);
14
- ${tokens.caretColor}: var(--text-accent);
15
- ${tokens.placeholderColor}: var(--text-secondary);
16
- ${tokens.placeholderColorFocus}: var(--text-tertiary);
17
- ${tokens.textBeforeColor}: var(--text-secondary);
18
- ${tokens.textAfterColor}: var(--text-secondary);
19
- ${tokens.labelColor}: var(--text-primary);
20
- ${tokens.leftHelperColor}: var(--text-secondary);
21
- ${tokens.rightHelperColor}: var(--text-secondary);
22
- ${tokens.titleCaptionColor}: var(--text-secondary);
23
- ${tokens.hintIconColor}: var(--text-secondary);
24
-
25
- ${tokens.contentSlotColor}: var(--text-secondary);
26
- ${tokens.contentSlotColorHover}: var(--text-secondary-hover);
27
- ${tokens.contentSlotColorActive}: var(--text-secondary-active);
28
- ${tokens.contentSlotRightColor}: var(--text-accent);
29
- ${tokens.contentSlotRightColorHover}: var(--text-accent-minor);
30
- ${tokens.contentSlotRightColorActive}: var(--text-accent-active);
31
-
32
- ${tokens.chipCloseIconColor}: var(--text-secondary);
33
- ${tokens.chipCloseIconColorReadonly}: var(--text-secondary);
34
- ${tokens.chipCloseIconColorHover}: var(--text-primary);
35
- ${tokens.chipColor}: var(--text-primary);
12
+ ${tokens.color}: ${textPrimary};
13
+ ${tokens.backgroundColor}: ${surfaceSolidCard};
14
+ ${tokens.backgroundColorFocus}: ${surfaceSolidCardActive};
15
+ ${tokens.caretColor}: ${textAccent};
16
+ ${tokens.placeholderColor}: ${textSecondary};
17
+ ${tokens.placeholderColorFocus}: ${textTertiary};
18
+ ${tokens.textBeforeColor}: ${textSecondary};
19
+ ${tokens.textAfterColor}: ${textSecondary};
20
+ ${tokens.labelColor}: ${textPrimary};
21
+ ${tokens.leftHelperColor}: ${textSecondary};
22
+ ${tokens.rightHelperColor}: ${textSecondary};
23
+ ${tokens.titleCaptionColor}: ${textSecondary};
24
+ ${tokens.hintIconColor}: ${textSecondary};
25
+
26
+ ${tokens.contentSlotColor}: ${textSecondary};
27
+ ${tokens.contentSlotColorHover}: ${textSecondaryHover};
28
+ ${tokens.contentSlotColorActive}: ${textSecondaryActive};
29
+ ${tokens.contentSlotRightColor}: ${textAccent};
30
+ ${tokens.contentSlotRightColorHover}: ${textAccentMinor};
31
+ ${tokens.contentSlotRightColorActive}: ${textAccentActive};
32
+
33
+ ${tokens.chipCloseIconColor}: ${textSecondary};
34
+ ${tokens.chipCloseIconColorReadonly}: ${textSecondary};
35
+ ${tokens.chipCloseIconColorHover}: ${textPrimary};
36
+ ${tokens.chipColor}: ${textPrimary};
36
37
  ${tokens.chipBackground}: var(--surface-transparent-secondary);
37
- ${tokens.chipColorHover}: var(--text-primary-hover);
38
+ ${tokens.chipColorHover}: ${textPrimaryHover};
38
39
  ${tokens.chipBackgroundHover}: var(--surface-transparent-secondary-hover);
39
- ${tokens.chipColorActive}: var(--text-primary);
40
+ ${tokens.chipColorActive}: ${textPrimary};
40
41
  ${tokens.chipBackgroundActive}: var(--surface-transparent-secondary-active);
41
42
  ${tokens.chipBackgroundReadOnly}: var(--surface-transparent-secondary);
42
- ${tokens.chipColorReadOnly}: var(--text-primary);
43
+ ${tokens.chipColorReadOnly}: ${textPrimary};
43
44
  ${tokens.chipBackgroundReadOnlyHover}: var(--surface-transparent-secondary);
44
- ${tokens.chipColorReadOnlyHover}: var(--text-primary);
45
+ ${tokens.chipColorReadOnlyHover}: ${textPrimary};
45
46
  ${tokens.chipOpacityReadonly}: 0.72;
46
47
 
47
- ${tokens.focusColor}: var(--text-accent);
48
- ${tokens.borderColor}: var(--outline-solid-primary);
49
- ${tokens.borderColorFocus}: var(--outline-accent);
50
- ${tokens.borderColorHover}: var(--outline-solid-primary-hover);
51
- ${tokens.indicatorColor}: var(--surface-negative);
52
- ${tokens.optionalColor}: var(--text-tertiary);
48
+ ${tokens.focusColor}: ${textAccent};
49
+ ${tokens.borderColor}: ${outlineSolidPrimary};
50
+ ${tokens.borderColorFocus}: ${outlineAccent};
51
+ ${tokens.borderColorHover}: ${outlineSolidPrimaryHover};
52
+ ${tokens.indicatorColor}: ${surfaceNegative};
53
+ ${tokens.optionalColor}: ${textTertiary};
53
54
  `,
54
55
  negative: css`
55
- ${tokens.color}: var(--text-primary);
56
- ${tokens.backgroundColor}: var(--surface-solid-card);
57
- ${tokens.backgroundColorFocus}: var(--surface-solid-card-active);
58
- ${tokens.caretColor}: var(--text-accent);
59
- ${tokens.placeholderColor}: var(--text-secondary);
60
- ${tokens.placeholderColorFocus}: var(--text-tertiary);
61
- ${tokens.textBeforeColor}: var(--text-secondary);
62
- ${tokens.textAfterColor}: var(--text-secondary);
63
- ${tokens.labelColor}: var(--text-primary);
64
- ${tokens.leftHelperColor}: var(--text-negative);
65
- ${tokens.rightHelperColor}: var(--text-negative);
66
- ${tokens.titleCaptionColor}: var(--text-secondary);
67
- ${tokens.hintIconColor}: var(--text-secondary);
68
-
69
- ${tokens.contentSlotColor}: var(--text-negative);
70
- ${tokens.contentSlotColorHover}: var(--text-negative-hover);
71
- ${tokens.contentSlotColorActive}: var(--text-negative-active);
72
- ${tokens.contentSlotRightColor}: var(--text-accent);
73
- ${tokens.contentSlotRightColorHover}: var(--text-accent-minor);
74
- ${tokens.contentSlotRightColorActive}: var(--text-accent-active);
75
-
76
- ${tokens.chipCloseIconColor}: var(--text-secondary);
77
- ${tokens.chipCloseIconColorReadonly}: var(--text-secondary);
78
- ${tokens.chipCloseIconColorHover}: var(--text-primary);
79
- ${tokens.chipColor}: var(--text-primary);
56
+ ${tokens.color}: ${textPrimary};
57
+ ${tokens.backgroundColor}: ${surfaceSolidCard};
58
+ ${tokens.backgroundColorFocus}: ${surfaceSolidCardActive};
59
+ ${tokens.caretColor}: ${textAccent};
60
+ ${tokens.placeholderColor}: ${textSecondary};
61
+ ${tokens.placeholderColorFocus}: ${textTertiary};
62
+ ${tokens.textBeforeColor}: ${textSecondary};
63
+ ${tokens.textAfterColor}: ${textSecondary};
64
+ ${tokens.labelColor}: ${textPrimary};
65
+ ${tokens.leftHelperColor}: ${textNegative};
66
+ ${tokens.rightHelperColor}: ${textNegative};
67
+ ${tokens.titleCaptionColor}: ${textSecondary};
68
+ ${tokens.hintIconColor}: ${textSecondary};
69
+
70
+ ${tokens.contentSlotColor}: ${textNegative};
71
+ ${tokens.contentSlotColorHover}: ${textNegativeHover};
72
+ ${tokens.contentSlotColorActive}: ${textNegativeActive};
73
+ ${tokens.contentSlotRightColor}: ${textAccent};
74
+ ${tokens.contentSlotRightColorHover}: ${textAccentMinor};
75
+ ${tokens.contentSlotRightColorActive}: ${textAccentActive};
76
+
77
+ ${tokens.chipCloseIconColor}: ${textSecondary};
78
+ ${tokens.chipCloseIconColorReadonly}: ${textSecondary};
79
+ ${tokens.chipCloseIconColorHover}: ${textPrimary};
80
+ ${tokens.chipColor}: ${textPrimary};
80
81
  ${tokens.chipBackground}: var(--surface-transparent-secondary);
81
- ${tokens.chipColorHover}: var(--text-primary);
82
+ ${tokens.chipColorHover}: ${textPrimary};
82
83
  ${tokens.chipBackgroundHover}: var(--surface-transparent-secondary-hover);
83
- ${tokens.chipColorActive}: var(--text-primary);
84
+ ${tokens.chipColorActive}: ${textPrimary};
84
85
  ${tokens.chipBackgroundActive}: var(--surface-transparent-secondary-active);
85
86
  ${tokens.chipBackgroundReadOnly}: var(--surface-transparent-secondary);
86
- ${tokens.chipColorReadOnly}: var(--text-primary);
87
+ ${tokens.chipColorReadOnly}: ${textPrimary};
87
88
  ${tokens.chipBackgroundReadOnlyHover}: var(--surface-transparent-secondary);
88
- ${tokens.chipColorReadOnlyHover}: var(--text-primary);
89
+ ${tokens.chipColorReadOnlyHover}: ${textPrimary};
89
90
  ${tokens.chipOpacityReadonly}: 0.72;
90
91
 
91
- ${tokens.borderColor}: var(--text-negative);
92
- ${tokens.focusColor}: var(--text-negative);
93
- ${tokens.indicatorColor}: var(--surface-negative);
94
- ${tokens.optionalColor}: var(--text-tertiary);
92
+ ${tokens.borderColor}: ${textNegative};
93
+ ${tokens.focusColor}: ${textNegative};
94
+ ${tokens.indicatorColor}: ${surfaceNegative};
95
+ ${tokens.optionalColor}: ${textTertiary};
95
96
  `
96
97
  },
97
98
  size: {
@@ -112,40 +113,40 @@ export const config = {
112
113
  ${tokens.textBeforeMargin}: 0 0.25rem 0 0;
113
114
  ${tokens.textAfterMargin}: 0 0 0 0.25rem;
114
115
 
115
- ${tokens.fontFamily}: var(--plasma-typo-body-m-font-family);
116
- ${tokens.fontSize}: var(--plasma-typo-body-m-font-size);
117
- ${tokens.fontStyle}: var(--plasma-typo-body-m-font-style);
118
- ${tokens.fontWeight}: var(--plasma-typo-body-m-font-weight);
119
- ${tokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);
120
- ${tokens.lineHeight}: var(--plasma-typo-body-m-line-height);
116
+ ${tokens.fontFamily}: ${bodyM.fontFamily};
117
+ ${tokens.fontSize}: ${bodyM.fontSize};
118
+ ${tokens.fontStyle}: ${bodyM.fontStyle};
119
+ ${tokens.fontWeight}: ${bodyM.fontWeight};
120
+ ${tokens.letterSpacing}: ${bodyM.letterSpacing};
121
+ ${tokens.lineHeight}: ${bodyM.lineHeight};
121
122
 
122
123
  ${tokens.labelOffset}: 0.5rem;
123
- ${tokens.labelFontFamily}: var(--plasma-typo-body-s-font-family);
124
- ${tokens.labelFontSize}: var(--plasma-typo-body-s-font-size);
125
- ${tokens.labelFontStyle}: var(--plasma-typo-body-s-font-style);
126
- ${tokens.labelFontWeight}: var(--plasma-typo-body-s-font-weight);
127
- ${tokens.labelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
128
- ${tokens.labelLineHeight}: var(--plasma-typo-body-s-line-height);
124
+ ${tokens.labelFontFamily}: ${bodyS.fontFamily};
125
+ ${tokens.labelFontSize}: ${bodyS.fontSize};
126
+ ${tokens.labelFontStyle}: ${bodyS.fontStyle};
127
+ ${tokens.labelFontWeight}: ${bodyS.fontWeight};
128
+ ${tokens.labelLetterSpacing}: ${bodyS.letterSpacing};
129
+ ${tokens.labelLineHeight}: ${bodyS.lineHeight};
129
130
 
130
131
  ${tokens.hintMargin}: -0.688rem -0.5rem;
131
132
  ${tokens.hintTargetSize}: 2.375rem;
132
133
  ${tokens.hintInnerLabelPlacementOffset}: 0.312rem -2.813rem auto auto;
133
134
 
134
135
  ${tokens.titleCaptionInnerLabelOffset}: 0.25rem;
135
- ${tokens.titleCaptionFontFamily}: var(--plasma-typo-body-xs-font-family);
136
- ${tokens.titleCaptionFontSize}: var(--plasma-typo-body-xs-font-size);
137
- ${tokens.titleCaptionFontStyle}: var(--plasma-typo-body-xs-font-style);
138
- ${tokens.titleCaptionFontWeight}: var(--plasma-typo-body-xs-font-weight);
139
- ${tokens.titleCaptionLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
140
- ${tokens.titleCaptionLineHeight}: var(--plasma-typo-body-xs-line-height);
141
-
142
- ${tokens.leftHelperPadding}: 0.25rem;
143
- ${tokens.leftHelperFontFamily}: var(--plasma-typo-body-s-font-family);
144
- ${tokens.leftHelperFontSize}: var(--plasma-typo-body-s-font-size);
145
- ${tokens.leftHelperFontStyle}: var(--plasma-typo-body-s-font-style);
146
- ${tokens.leftHelperFontWeight}: var(--plasma-typo-body-s-font-weight);
147
- ${tokens.leftHelperLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
148
- ${tokens.leftHelperLineHeight}: var(--plasma-typo-body-s-line-height);
136
+ ${tokens.titleCaptionFontFamily}: ${bodyXS.fontFamily};
137
+ ${tokens.titleCaptionFontSize}: ${bodyXS.fontSize};
138
+ ${tokens.titleCaptionFontStyle}: ${bodyXS.fontStyle};
139
+ ${tokens.titleCaptionFontWeight}: ${bodyXS.fontWeight};
140
+ ${tokens.titleCaptionLetterSpacing}: ${bodyXS.letterSpacing};
141
+ ${tokens.titleCaptionLineHeight}: ${bodyXS.lineHeight};
142
+
143
+ ${tokens.leftHelperOffset}: 0.25rem;
144
+ ${tokens.leftHelperFontFamily}: ${bodyS.fontFamily};
145
+ ${tokens.leftHelperFontSize}: ${bodyS.fontSize};
146
+ ${tokens.leftHelperFontStyle}: ${bodyS.fontStyle};
147
+ ${tokens.leftHelperFontWeight}: ${bodyS.fontWeight};
148
+ ${tokens.leftHelperLetterSpacing}: ${bodyS.letterSpacing};
149
+ ${tokens.leftHelperLineHeight}: ${bodyS.lineHeight};
149
150
 
150
151
  ${tokens.labelInnerPadding}: 0.375rem 0 0.125rem 0;
151
152
  ${tokens.contentLabelInnerPadding}: 1.375rem 0 0.375rem 0;
@@ -158,12 +159,12 @@ export const config = {
158
159
  ${tokens.chipClearContentMarginLeft}: 0.5rem;
159
160
  ${tokens.chipClearContentMarginRight}: 0rem;
160
161
  ${tokens.chipCloseIconSize}: 1.25rem;
161
- ${tokens.chipFontFamily}: var(--plasma-typo-body-m-font-family);
162
- ${tokens.chipFontSize}: var(--plasma-typo-body-m-font-size);
163
- ${tokens.chipFontStyle}: var(--plasma-typo-body-m-font-style);
164
- ${tokens.chipFontWeight}: var(--plasma-typo-body-m-font-weight);
165
- ${tokens.chipLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
166
- ${tokens.chipLineHeight}: var(--plasma-typo-body-m-line-height);
162
+ ${tokens.chipFontFamily}: ${bodyM.fontFamily};
163
+ ${tokens.chipFontSize}: ${bodyM.fontSize};
164
+ ${tokens.chipFontStyle}: ${bodyM.fontStyle};
165
+ ${tokens.chipFontWeight}: ${bodyM.fontWeight};
166
+ ${tokens.chipLetterSpacing}: ${bodyM.letterSpacing};
167
+ ${tokens.chipLineHeight}: ${bodyM.lineHeight};
167
168
 
168
169
  ${tokens.indicatorSizeInner}: 0.5rem;
169
170
  ${tokens.indicatorSizeOuter}: 0.375rem;
@@ -185,48 +186,48 @@ export const config = {
185
186
  ${tokens.textBeforeMargin}: 0 0.25rem 0 0;
186
187
  ${tokens.textAfterMargin}: 0 0 0 0.25rem;
187
188
 
188
- ${tokens.fontFamily}: var(--plasma-typo-body-m-font-family);
189
- ${tokens.fontSize}: var(--plasma-typo-body-m-font-size);
190
- ${tokens.fontStyle}: var(--plasma-typo-body-m-font-style);
191
- ${tokens.fontWeight}: var(--plasma-typo-body-m-font-weight);
192
- ${tokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);
193
- ${tokens.lineHeight}: var(--plasma-typo-body-m-line-height);
189
+ ${tokens.fontFamily}: ${bodyM.fontFamily};
190
+ ${tokens.fontSize}: ${bodyM.fontSize};
191
+ ${tokens.fontStyle}: ${bodyM.fontStyle};
192
+ ${tokens.fontWeight}: ${bodyM.fontWeight};
193
+ ${tokens.letterSpacing}: ${bodyM.letterSpacing};
194
+ ${tokens.lineHeight}: ${bodyM.lineHeight};
194
195
 
195
196
  ${tokens.labelOffset}: 0.5rem;
196
- ${tokens.labelFontFamily}: var(--plasma-typo-body-s-font-family);
197
- ${tokens.labelFontSize}: var(--plasma-typo-body-s-font-size);
198
- ${tokens.labelFontStyle}: var(--plasma-typo-body-s-font-style);
199
- ${tokens.labelFontWeight}: var(--plasma-typo-body-s-font-weight);
200
- ${tokens.labelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
201
- ${tokens.labelLineHeight}: var(--plasma-typo-body-s-line-height);
197
+ ${tokens.labelFontFamily}: ${bodyS.fontFamily};
198
+ ${tokens.labelFontSize}: ${bodyS.fontSize};
199
+ ${tokens.labelFontStyle}: ${bodyS.fontStyle};
200
+ ${tokens.labelFontWeight}: ${bodyS.fontWeight};
201
+ ${tokens.labelLetterSpacing}: ${bodyS.letterSpacing};
202
+ ${tokens.labelLineHeight}: ${bodyS.lineHeight};
202
203
 
203
204
  ${tokens.hintMargin}: -0.688rem -0.5rem;
204
205
  ${tokens.hintTargetSize}: 2.375rem;
205
206
  ${tokens.hintInnerLabelPlacementOffset}: 0.563rem -2.938rem auto auto;
206
207
 
207
208
  ${tokens.titleCaptionInnerLabelOffset}: 0.25rem;
208
- ${tokens.titleCaptionFontFamily}: var(--plasma-typo-body-xs-font-family);
209
- ${tokens.titleCaptionFontSize}: var(--plasma-typo-body-xs-font-size);
210
- ${tokens.titleCaptionFontStyle}: var(--plasma-typo-body-xs-font-style);
211
- ${tokens.titleCaptionFontWeight}: var(--plasma-typo-body-xs-font-weight);
212
- ${tokens.titleCaptionLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
213
- ${tokens.titleCaptionLineHeight}: var(--plasma-typo-body-xs-line-height);
214
-
215
- ${tokens.leftHelperPadding}: 0.25rem 0 0 0;
216
- ${tokens.leftHelperFontFamily}: var(--plasma-typo-body-s-font-family);
217
- ${tokens.leftHelperFontSize}: var(--plasma-typo-body-s-font-size);
218
- ${tokens.leftHelperFontStyle}: var(--plasma-typo-body-s-font-style);
219
- ${tokens.leftHelperFontWeight}: var(--plasma-typo-body-s-font-weight);
220
- ${tokens.leftHelperLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
221
- ${tokens.leftHelperLineHeight}: var(--plasma-typo-body-s-line-height);
209
+ ${tokens.titleCaptionFontFamily}: ${bodyXS.fontFamily};
210
+ ${tokens.titleCaptionFontSize}: ${bodyXS.fontSize};
211
+ ${tokens.titleCaptionFontStyle}: ${bodyXS.fontStyle};
212
+ ${tokens.titleCaptionFontWeight}: ${bodyXS.fontWeight};
213
+ ${tokens.titleCaptionLetterSpacing}: ${bodyXS.letterSpacing};
214
+ ${tokens.titleCaptionLineHeight}: ${bodyXS.lineHeight};
215
+
216
+ ${tokens.leftHelperOffset}: 0.25rem 0 0 0;
217
+ ${tokens.leftHelperFontFamily}: ${bodyS.fontFamily};
218
+ ${tokens.leftHelperFontSize}: ${bodyS.fontSize};
219
+ ${tokens.leftHelperFontStyle}: ${bodyS.fontStyle};
220
+ ${tokens.leftHelperFontWeight}: ${bodyS.fontWeight};
221
+ ${tokens.leftHelperLetterSpacing}: ${bodyS.letterSpacing};
222
+ ${tokens.leftHelperLineHeight}: ${bodyS.lineHeight};
222
223
 
223
224
  ${tokens.rightHelperOffset}: 0.25rem 0 0 0.25rem;
224
- ${tokens.rightHelperFontFamily}: var(--plasma-typo-body-s-font-family);
225
- ${tokens.rightHelperFontSize}: var(--plasma-typo-body-s-font-size);
226
- ${tokens.rightHelperFontStyle}: var(--plasma-typo-body-s-font-style);
227
- ${tokens.rightHelperFontWeight}: var(--plasma-typo-body-s-font-weight);
228
- ${tokens.rightHelperLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
229
- ${tokens.rightHelperLineHeight}: var(--plasma-typo-body-s-line-height);
225
+ ${tokens.rightHelperFontFamily}: ${bodyS.fontFamily};
226
+ ${tokens.rightHelperFontSize}: ${bodyS.fontSize};
227
+ ${tokens.rightHelperFontStyle}: ${bodyS.fontStyle};
228
+ ${tokens.rightHelperFontWeight}: ${bodyS.fontWeight};
229
+ ${tokens.rightHelperLetterSpacing}: ${bodyS.letterSpacing};
230
+ ${tokens.rightHelperLineHeight}: ${bodyS.lineHeight};
230
231
 
231
232
  ${tokens.labelInnerPadding}: 0.3125rem 0 0 0;
232
233
  ${tokens.contentLabelInnerPadding}: 1.0625rem 0 0.3125rem 0;
@@ -239,12 +240,12 @@ export const config = {
239
240
  ${tokens.chipClearContentMarginLeft}: 0.375rem;
240
241
  ${tokens.chipClearContentMarginRight}: 0rem;
241
242
  ${tokens.chipCloseIconSize}: 1rem;
242
- ${tokens.chipFontFamily}: var(--plasma-typo-body-s-font-family);
243
- ${tokens.chipFontSize}: var(--plasma-typo-body-s-font-size);
244
- ${tokens.chipFontStyle}: var(--plasma-typo-body-s-font-style);
245
- ${tokens.chipFontWeight}: var(--plasma-typo-body-s-font-weight);
246
- ${tokens.chipLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
247
- ${tokens.chipLineHeight}: var(--plasma-typo-body-s-line-height);
243
+ ${tokens.chipFontFamily}: ${bodyS.fontFamily};
244
+ ${tokens.chipFontSize}: ${bodyS.fontSize};
245
+ ${tokens.chipFontStyle}: ${bodyS.fontStyle};
246
+ ${tokens.chipFontWeight}: ${bodyS.fontWeight};
247
+ ${tokens.chipLetterSpacing}: ${bodyS.letterSpacing};
248
+ ${tokens.chipLineHeight}: ${bodyS.lineHeight};
248
249
 
249
250
  ${tokens.indicatorSizeInner}: 0.375rem;
250
251
  ${tokens.indicatorSizeOuter}: 0.375rem;
@@ -259,10 +260,10 @@ export const config = {
259
260
  },
260
261
  hintView: {
261
262
  default: css`
262
- ${tokens.tooltipBackgroundColor}: var(--surface-solid-card-brightness);
263
+ ${tokens.tooltipBackgroundColor}: ${surfaceSolidCardBrightness};
263
264
  ${tokens.tooltipBoxShadow}: var(--shadow-down-hard-m, 0px 4px 12px 0px rgba(0, 0, 0, 0.16),0px 1px 4px 0px rgba(0, 0, 0, 0.08));
264
- ${tokens.tooltipColor}: var(--text-primary);
265
- ${tokens.tooltipArrowBackground}: var(--surface-solid-card-brightness);
265
+ ${tokens.tooltipColor}: ${textPrimary};
266
+ ${tokens.tooltipArrowBackground}: ${surfaceSolidCardBrightness};
266
267
  `
267
268
  },
268
269
  hintSize: {
@@ -275,12 +276,12 @@ export const config = {
275
276
  ${tokens.tooltipMinHeight}: 2.5rem;
276
277
  ${tokens.tooltipBorderRadius}: 0.625rem;
277
278
 
278
- ${tokens.tooltipTextFontFamily}: var(--plasma-typo-body-s-font-family);
279
- ${tokens.tooltipTextFontSize}: var(--plasma-typo-body-s-font-size);
280
- ${tokens.tooltipTextFontStyle}: var(--plasma-typo-body-s-font-style);
281
- ${tokens.tooltipTextFontWeight}: var(--plasma-typo-body-s-font-weight);
282
- ${tokens.tooltipTextFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
283
- ${tokens.tooltipTextFontLineHeight}: var(--plasma-typo-body-s-line-height);
279
+ ${tokens.tooltipTextFontFamily}: ${bodyS.fontFamily};
280
+ ${tokens.tooltipTextFontSize}: ${bodyS.fontSize};
281
+ ${tokens.tooltipTextFontStyle}: ${bodyS.fontStyle};
282
+ ${tokens.tooltipTextFontWeight}: ${bodyS.fontWeight};
283
+ ${tokens.tooltipTextFontLetterSpacing}: ${bodyS.letterSpacing};
284
+ ${tokens.tooltipTextFontLineHeight}: ${bodyS.lineHeight};
284
285
 
285
286
  ${tokens.tooltipContentLeftMargin}: 0.375rem;
286
287
 
@@ -299,12 +300,12 @@ export const config = {
299
300
  ${tokens.tooltipMinHeight}: 2rem;
300
301
  ${tokens.tooltipBorderRadius}: 0.5rem;
301
302
 
302
- ${tokens.tooltipTextFontFamily}: var(--plasma-typo-body-xs-font-family);
303
- ${tokens.tooltipTextFontSize}: var(--plasma-typo-body-xs-font-size);
304
- ${tokens.tooltipTextFontStyle}: var(--plasma-typo-body-xs-font-style);
305
- ${tokens.tooltipTextFontWeight}: var(--plasma-typo-body-xs-font-weight);
306
- ${tokens.tooltipTextFontLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
307
- ${tokens.tooltipTextFontLineHeight}: var(--plasma-typo-body-xs-line-height);
303
+ ${tokens.tooltipTextFontFamily}: ${bodyXS.fontFamily};
304
+ ${tokens.tooltipTextFontSize}: ${bodyXS.fontSize};
305
+ ${tokens.tooltipTextFontStyle}: ${bodyXS.fontStyle};
306
+ ${tokens.tooltipTextFontWeight}: ${bodyXS.fontWeight};
307
+ ${tokens.tooltipTextFontLetterSpacing}: ${bodyXS.letterSpacing};
308
+ ${tokens.tooltipTextFontLineHeight}: ${bodyXS.lineHeight};
308
309
 
309
310
  ${tokens.tooltipContentLeftMargin}: 0.25rem;
310
311
 
@@ -318,24 +319,24 @@ export const config = {
318
319
  disabled: {
319
320
  true: css`
320
321
  ${tokens.disabledOpacity}: 1;
321
- ${tokens.backgroundColor}: var(--surface-solid-primary);
322
- ${tokens.backgroundColorFocus}: var(--surface-solid-primary);
323
- ${tokens.borderColor}: var(--surface-solid-primary);
324
- ${tokens.borderColorHover}: var(--surface-solid-primary);
325
- ${tokens.borderColorFocus}: var(--surface-solid-primary);
326
- ${tokens.color}: var(--text-secondary);
322
+ ${tokens.backgroundColor}: ${surfaceSolidPrimary};
323
+ ${tokens.backgroundColorFocus}: ${surfaceSolidPrimary};
324
+ ${tokens.borderColor}: ${surfaceSolidPrimary};
325
+ ${tokens.borderColorHover}: ${surfaceSolidPrimary};
326
+ ${tokens.borderColorFocus}: ${surfaceSolidPrimary};
327
+ ${tokens.color}: ${textSecondary};
327
328
  `
328
329
  },
329
330
  readOnly: {
330
331
  true: css`
331
332
  ${tokens.readOnlyOpacity}: 1;
332
- ${tokens.colorReadOnly}: var(--text-primary);
333
- ${tokens.backgroundColorReadOnly}: var(--surface-clear);
334
- ${tokens.placeholderColorReadOnly}: var(--text-secondary);
335
- ${tokens.leftHelperColorReadOnly}: var(--text-secondary);
336
- ${tokens.rightHelperColorReadOnly}: var(--text-secondary);
337
- ${tokens.titleCaptionColorReadOnly}: var(--text-secondary);
338
- ${tokens.labelColorReadOnly}: var(--text-secondary);
333
+ ${tokens.colorReadOnly}: ${textPrimary};
334
+ ${tokens.backgroundColorReadOnly}: ${surfaceClear};
335
+ ${tokens.placeholderColorReadOnly}: ${textSecondary};
336
+ ${tokens.leftHelperColorReadOnly}: ${textSecondary};
337
+ ${tokens.rightHelperColorReadOnly}: ${textSecondary};
338
+ ${tokens.titleCaptionColorReadOnly}: ${textSecondary};
339
+ ${tokens.labelColorReadOnly}: ${textSecondary};
339
340
  ${tokens.contentSlotRightOpacityReadOnly}: 0.4;
340
341
  ${tokens.borderColor}: transparent;
341
342
  ${tokens.borderWidth}: 0;