@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 { bodyM, bodyMBold, bodyS, bodySBold, bodyXS, bodyXSBold, onDarkTextPrimary, onLightTextAccentMinor, surfaceAccent, surfaceAccentActive, surfaceAccentHover, surfaceClear, surfaceSolidPrimary, surfaceSolidPrimaryActive, surfaceSolidPrimaryHover, surfaceTransparentAccent, textAccent, textAccentActive, textAccentMinor, textNegative, textPrimary, textSecondary, textSecondaryActive, textSecondaryHover } from '@salutejs/sdds-themes/tokens/sdds_cs';
1
2
  import { css, attachTokens } from '@salutejs/plasma-new-hope/emotion';
2
3
  export const config = {
3
4
  defaults: {
@@ -9,135 +10,135 @@ export const config = {
9
10
  variations: {
10
11
  view: {
11
12
  accent: css`
12
- ${attachTokens.buttonColor}: var(--on-dark-text-primary);
13
- ${attachTokens.buttonValueColor}: var(--on-light-text-accent-minor);
14
- ${attachTokens.buttonBackgroundColor}: var(--surface-accent);
13
+ ${attachTokens.buttonColor}: ${onDarkTextPrimary};
14
+ ${attachTokens.buttonValueColor}: ${onLightTextAccentMinor};
15
+ ${attachTokens.buttonBackgroundColor}: ${surfaceAccent};
15
16
  ${attachTokens.buttonLoadingBackgroundColor}: var(${attachTokens.buttonBackgroundColor});
16
- ${attachTokens.buttonColorHover}: var(--on-dark-text-primary);
17
- ${attachTokens.buttonBackgroundColorHover}: var(--surface-accent-hover);
18
- ${attachTokens.buttonColorActive}: var(--on-dark-text-primary);
19
- ${attachTokens.buttonBackgroundColorActive}: var(--surface-accent-active);
17
+ ${attachTokens.buttonColorHover}: ${onDarkTextPrimary};
18
+ ${attachTokens.buttonBackgroundColorHover}: ${surfaceAccentHover};
19
+ ${attachTokens.buttonColorActive}: ${onDarkTextPrimary};
20
+ ${attachTokens.buttonBackgroundColorActive}: ${surfaceAccentActive};
20
21
 
21
22
  ${attachTokens.buttonDisabledOpacity}: 0.4;
22
- ${attachTokens.buttonFocusColor}: var(--surface-accent);
23
+ ${attachTokens.buttonFocusColor}: ${surfaceAccent};
23
24
 
24
- ${attachTokens.cellColor}: var(--text-primary);
25
- ${attachTokens.cellLabelColor}: var(--text-secondary);
26
- ${attachTokens.cellTitleColor}: var(--text-primary);
27
- ${attachTokens.cellSubtitleColor}: var(--text-secondary);
25
+ ${attachTokens.cellColor}: ${textPrimary};
26
+ ${attachTokens.cellLabelColor}: ${textSecondary};
27
+ ${attachTokens.cellTitleColor}: ${textPrimary};
28
+ ${attachTokens.cellSubtitleColor}: ${textSecondary};
28
29
  ${attachTokens.cellBackgroundColor}: transparent;
29
30
 
30
- ${attachTokens.iconButtonColor}: var(--on-dark-text-primary);
31
- ${attachTokens.iconButtonBackgroundColor}: var(--surface-accent);
31
+ ${attachTokens.iconButtonColor}: ${onDarkTextPrimary};
32
+ ${attachTokens.iconButtonBackgroundColor}: ${surfaceAccent};
32
33
  ${attachTokens.iconButtonLoadingBackgroundColor}: var(${attachTokens.iconButtonBackgroundColor});
33
- ${attachTokens.iconButtonColorHover}: var(--on-dark-text-primary);
34
- ${attachTokens.iconButtonBackgroundColorHover}: var(--surface-accent-hover);
35
- ${attachTokens.iconButtonColorActive}: var(--on-dark-text-primary);
36
- ${attachTokens.iconButtonBackgroundColorActive}: var(--surface-accent-active);
34
+ ${attachTokens.iconButtonColorHover}: ${onDarkTextPrimary};
35
+ ${attachTokens.iconButtonBackgroundColorHover}: ${surfaceAccentHover};
36
+ ${attachTokens.iconButtonColorActive}: ${onDarkTextPrimary};
37
+ ${attachTokens.iconButtonBackgroundColorActive}: ${surfaceAccentActive};
37
38
 
38
39
  ${attachTokens.iconButtonDisabledOpacity}: 0.4;
39
- ${attachTokens.iconButtonFocusColor}: var(--surface-accent);
40
+ ${attachTokens.iconButtonFocusColor}: ${surfaceAccent};
40
41
 
41
- ${attachTokens.iconButtonCancelColor}: var(--text-secondary);
42
- ${attachTokens.iconButtonCancelBackgroundColor}: var(--surface-clear);
42
+ ${attachTokens.iconButtonCancelColor}: ${textSecondary};
43
+ ${attachTokens.iconButtonCancelBackgroundColor}: ${surfaceClear};
43
44
  ${attachTokens.iconButtonCancelLoadingBackgroundColor}: var(${attachTokens.iconButtonCancelBackgroundColor});
44
- ${attachTokens.iconButtonCancelColorHover}: var(--text-secondary-hover);
45
- ${attachTokens.iconButtonCancelBackgroundColorHover}: var(--surface-clear);
46
- ${attachTokens.iconButtonCancelColorActive}: var(--text-secondary-active);
47
- ${attachTokens.iconButtonCancelBackgroundColorActive}: var(--surface-clear);
45
+ ${attachTokens.iconButtonCancelColorHover}: ${textSecondaryHover};
46
+ ${attachTokens.iconButtonCancelBackgroundColorHover}: ${surfaceClear};
47
+ ${attachTokens.iconButtonCancelColorActive}: ${textSecondaryActive};
48
+ ${attachTokens.iconButtonCancelBackgroundColorActive}: ${surfaceClear};
48
49
 
49
50
  ${attachTokens.iconButtonCancelDisabledOpacity}: 0.4;
50
- ${attachTokens.iconButtonCancelFocusColor}: var(--surface-accent);
51
+ ${attachTokens.iconButtonCancelFocusColor}: ${surfaceAccent};
51
52
  `,
52
53
  secondary: css`
53
- ${attachTokens.buttonColor}: var(--text-accent);
54
- ${attachTokens.buttonValueColor}: var(--text-secondary);
55
- ${attachTokens.buttonBackgroundColor}: var(--surface-solid-primary);
54
+ ${attachTokens.buttonColor}: ${textAccent};
55
+ ${attachTokens.buttonValueColor}: ${textSecondary};
56
+ ${attachTokens.buttonBackgroundColor}: ${surfaceSolidPrimary};
56
57
  ${attachTokens.buttonLoadingBackgroundColor}: var(${attachTokens.buttonBackgroundColor});
57
- ${attachTokens.buttonColorHover}: var(--text-accent-minor);
58
- ${attachTokens.buttonBackgroundColorHover}: var(--surface-solid-primary-hover);
59
- ${attachTokens.buttonColorActive}: var(--text-accent-active);
60
- ${attachTokens.buttonBackgroundColorActive}: var(--surface-solid-primary-active);
58
+ ${attachTokens.buttonColorHover}: ${textAccentMinor};
59
+ ${attachTokens.buttonBackgroundColorHover}: ${surfaceSolidPrimaryHover};
60
+ ${attachTokens.buttonColorActive}: ${textAccentActive};
61
+ ${attachTokens.buttonBackgroundColorActive}: ${surfaceSolidPrimaryActive};
61
62
 
62
63
  ${attachTokens.buttonDisabledOpacity}: 0.4;
63
- ${attachTokens.buttonFocusColor}: var(--surface-accent);
64
+ ${attachTokens.buttonFocusColor}: ${surfaceAccent};
64
65
 
65
- ${attachTokens.cellColor}: var(--text-primary);
66
- ${attachTokens.cellLabelColor}: var(--text-secondary);
67
- ${attachTokens.cellTitleColor}: var(--text-primary);
68
- ${attachTokens.cellSubtitleColor}: var(--text-secondary);
66
+ ${attachTokens.cellColor}: ${textPrimary};
67
+ ${attachTokens.cellLabelColor}: ${textSecondary};
68
+ ${attachTokens.cellTitleColor}: ${textPrimary};
69
+ ${attachTokens.cellSubtitleColor}: ${textSecondary};
69
70
  ${attachTokens.cellBackgroundColor}: transparent;
70
71
 
71
- ${attachTokens.iconButtonColor}: var(--text-accent);
72
- ${attachTokens.iconButtonBackgroundColor}: var(--surface-solid-primary);
72
+ ${attachTokens.iconButtonColor}: ${textAccent};
73
+ ${attachTokens.iconButtonBackgroundColor}: ${surfaceSolidPrimary};
73
74
  ${attachTokens.iconButtonLoadingBackgroundColor}: var(${attachTokens.iconButtonBackgroundColor});
74
- ${attachTokens.iconButtonColorHover}: var(--text-accent-minor);
75
- ${attachTokens.iconButtonBackgroundColorHover}: var(--surface-solid-primary-hover);
76
- ${attachTokens.iconButtonColorActive}: var(--text-accent-minor);
77
- ${attachTokens.iconButtonBackgroundColorActive}: var(--surface-solid-primary-active);
75
+ ${attachTokens.iconButtonColorHover}: ${textAccentMinor};
76
+ ${attachTokens.iconButtonBackgroundColorHover}: ${surfaceSolidPrimaryHover};
77
+ ${attachTokens.iconButtonColorActive}: ${textAccentMinor};
78
+ ${attachTokens.iconButtonBackgroundColorActive}: ${surfaceSolidPrimaryActive};
78
79
 
79
80
  ${attachTokens.iconButtonDisabledOpacity}: 0.4;
80
- ${attachTokens.iconButtonFocusColor}: var(--surface-accent);
81
+ ${attachTokens.iconButtonFocusColor}: ${surfaceAccent};
81
82
 
82
- ${attachTokens.iconButtonCancelColor}: var(--text-secondary);
83
- ${attachTokens.iconButtonCancelBackgroundColor}: var(--surface-clear);
83
+ ${attachTokens.iconButtonCancelColor}: ${textSecondary};
84
+ ${attachTokens.iconButtonCancelBackgroundColor}: ${surfaceClear};
84
85
  ${attachTokens.iconButtonCancelLoadingBackgroundColor}: var(${attachTokens.iconButtonCancelBackgroundColor});
85
- ${attachTokens.iconButtonCancelColorHover}: var(--text-secondary-hover);
86
- ${attachTokens.iconButtonCancelBackgroundColorHover}: var(--surface-clear);
87
- ${attachTokens.iconButtonCancelColorActive}: var(--text-secondary-active);
88
- ${attachTokens.iconButtonCancelBackgroundColorActive}: var(--surface-clear);
86
+ ${attachTokens.iconButtonCancelColorHover}: ${textSecondaryHover};
87
+ ${attachTokens.iconButtonCancelBackgroundColorHover}: ${surfaceClear};
88
+ ${attachTokens.iconButtonCancelColorActive}: ${textSecondaryActive};
89
+ ${attachTokens.iconButtonCancelBackgroundColorActive}: ${surfaceClear};
89
90
 
90
91
  ${attachTokens.iconButtonCancelDisabledOpacity}: 0.4;
91
- ${attachTokens.iconButtonCancelFocusColor}: var(--surface-accent);
92
+ ${attachTokens.iconButtonCancelFocusColor}: ${surfaceAccent};
92
93
  `,
93
94
  clear: css`
94
- ${attachTokens.buttonColor}: var(--text-accent);
95
- ${attachTokens.buttonValueColor}: var(--text-accent-minor);
96
- ${attachTokens.buttonBackgroundColor}: var(--surface-clear);
97
- ${attachTokens.buttonLoadingBackgroundColor}: var(--surface-transparent-accent);
98
- ${attachTokens.buttonColorHover}: var(--text-accent-minor);
99
- ${attachTokens.buttonBackgroundColorHover}: var(--surface-transparent-accent);
100
- ${attachTokens.buttonColorActive}: var(--text-accent-active);
101
- ${attachTokens.buttonBackgroundColorActive}: var(--surface-clear);
95
+ ${attachTokens.buttonColor}: ${textAccent};
96
+ ${attachTokens.buttonValueColor}: ${textAccentMinor};
97
+ ${attachTokens.buttonBackgroundColor}: ${surfaceClear};
98
+ ${attachTokens.buttonLoadingBackgroundColor}: ${surfaceTransparentAccent};
99
+ ${attachTokens.buttonColorHover}: ${textAccentMinor};
100
+ ${attachTokens.buttonBackgroundColorHover}: ${surfaceTransparentAccent};
101
+ ${attachTokens.buttonColorActive}: ${textAccentActive};
102
+ ${attachTokens.buttonBackgroundColorActive}: ${surfaceClear};
102
103
 
103
104
  ${attachTokens.buttonDisabledOpacity}: 0.4;
104
- ${attachTokens.buttonFocusColor}: var(--surface-accent);
105
+ ${attachTokens.buttonFocusColor}: ${surfaceAccent};
105
106
 
106
- ${attachTokens.cellColor}: var(--text-primary);
107
- ${attachTokens.cellLabelColor}: var(--text-secondary);
108
- ${attachTokens.cellTitleColor}: var(--text-primary);
109
- ${attachTokens.cellSubtitleColor}: var(--text-secondary);
107
+ ${attachTokens.cellColor}: ${textPrimary};
108
+ ${attachTokens.cellLabelColor}: ${textSecondary};
109
+ ${attachTokens.cellTitleColor}: ${textPrimary};
110
+ ${attachTokens.cellSubtitleColor}: ${textSecondary};
110
111
  ${attachTokens.cellBackgroundColor}: transparent;
111
112
 
112
- ${attachTokens.iconButtonColor}: var(--text-accent);
113
- ${attachTokens.iconButtonBackgroundColor}: var(--surface-clear);
114
- ${attachTokens.iconButtonLoadingBackgroundColor}: var(--surface-transparent-accent);
115
- ${attachTokens.iconButtonColorHover}: var(--text-accent-minor);
116
- ${attachTokens.iconButtonBackgroundColorHover}: var(--surface-transparent-accent);
117
- ${attachTokens.iconButtonColorActive}: var(--text-accent-active);
118
- ${attachTokens.iconButtonBackgroundColorActive}: var(--surface-clear);
113
+ ${attachTokens.iconButtonColor}: ${textAccent};
114
+ ${attachTokens.iconButtonBackgroundColor}: ${surfaceClear};
115
+ ${attachTokens.iconButtonLoadingBackgroundColor}: ${surfaceTransparentAccent};
116
+ ${attachTokens.iconButtonColorHover}: ${textAccentMinor};
117
+ ${attachTokens.iconButtonBackgroundColorHover}: ${surfaceTransparentAccent};
118
+ ${attachTokens.iconButtonColorActive}: ${textAccentActive};
119
+ ${attachTokens.iconButtonBackgroundColorActive}: ${surfaceClear};
119
120
 
120
121
  ${attachTokens.iconButtonDisabledOpacity}: 0.4;
121
- ${attachTokens.iconButtonFocusColor}: var(--surface-accent);
122
+ ${attachTokens.iconButtonFocusColor}: ${surfaceAccent};
122
123
 
123
- ${attachTokens.iconButtonCancelColor}: var(--text-secondary);
124
- ${attachTokens.iconButtonCancelBackgroundColor}: var(--surface-clear);
124
+ ${attachTokens.iconButtonCancelColor}: ${textSecondary};
125
+ ${attachTokens.iconButtonCancelBackgroundColor}: ${surfaceClear};
125
126
  ${attachTokens.iconButtonCancelLoadingBackgroundColor}: var(${attachTokens.iconButtonCancelBackgroundColor});
126
- ${attachTokens.iconButtonCancelColorHover}: var(--text-secondary-hover);
127
- ${attachTokens.iconButtonCancelBackgroundColorHover}: var(--surface-clear);
128
- ${attachTokens.iconButtonCancelColorActive}: var(--text-secondary-active);
129
- ${attachTokens.iconButtonCancelBackgroundColorActive}: var(--surface-clear);
127
+ ${attachTokens.iconButtonCancelColorHover}: ${textSecondaryHover};
128
+ ${attachTokens.iconButtonCancelBackgroundColorHover}: ${surfaceClear};
129
+ ${attachTokens.iconButtonCancelColorActive}: ${textSecondaryActive};
130
+ ${attachTokens.iconButtonCancelBackgroundColorActive}: ${surfaceClear};
130
131
 
131
132
  ${attachTokens.iconButtonCancelDisabledOpacity}: 0.4;
132
- ${attachTokens.iconButtonCancelFocusColor}: var(--surface-accent);
133
+ ${attachTokens.iconButtonCancelFocusColor}: ${surfaceAccent};
133
134
  `
134
135
  },
135
136
  helperTextView: {
136
137
  default: css`
137
- ${attachTokens.helperTextColor}: var(--text-secondary);
138
+ ${attachTokens.helperTextColor}: ${textSecondary};
138
139
  `,
139
140
  negative: css`
140
- ${attachTokens.helperTextColor}: var(--text-negative);
141
+ ${attachTokens.helperTextColor}: ${textNegative};
141
142
  `
142
143
  },
143
144
  size: {
@@ -151,12 +152,12 @@ export const config = {
151
152
  ${attachTokens.buttonWidth}: 11.25rem;
152
153
  ${attachTokens.buttonPadding}: 1rem;
153
154
  ${attachTokens.buttonRadius}: 0.625rem;
154
- ${attachTokens.buttonFontFamily}: var(--plasma-typo-body-m-font-family);
155
- ${attachTokens.buttonFontSize}: var(--plasma-typo-body-m-font-size);
156
- ${attachTokens.buttonFontStyle}: var(--plasma-typo-body-m-font-style);
157
- ${attachTokens.buttonFontWeight}: var(--plasma-typo-body-m-bold-font-weight);
158
- ${attachTokens.buttonLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
159
- ${attachTokens.buttonLineHeight}: var(--plasma-typo-body-m-line-height);
155
+ ${attachTokens.buttonFontFamily}: ${bodyM.fontFamily};
156
+ ${attachTokens.buttonFontSize}: ${bodyM.fontSize};
157
+ ${attachTokens.buttonFontStyle}: ${bodyM.fontStyle};
158
+ ${attachTokens.buttonFontWeight}: ${bodyMBold.fontWeight};
159
+ ${attachTokens.buttonLetterSpacing}: ${bodyM.letterSpacing};
160
+ ${attachTokens.buttonLineHeight}: ${bodyM.lineHeight};
160
161
 
161
162
  ${attachTokens.buttonSpinnerSize}: 1.375rem;
162
163
  ${attachTokens.buttonSpinnerColor}: inherit;
@@ -175,37 +176,37 @@ export const config = {
175
176
  ${attachTokens.cellTextboxGap}: 0.125rem;
176
177
  ${attachTokens.cellGap}: 0.375rem;
177
178
 
178
- ${attachTokens.cellLabelFontFamily}: var(--plasma-typo-body-s-font-family);
179
- ${attachTokens.cellLabelFontSize}: var(--plasma-typo-body-s-font-size);
180
- ${attachTokens.cellLabelFontStyle}: var(--plasma-typo-body-s-font-style);
181
- ${attachTokens.cellLabelFontWeight}: var(--plasma-typo-body-s-font-weight);
182
- ${attachTokens.cellLabelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
183
- ${attachTokens.cellLabelLineHeight}: var(--plasma-typo-body-s-line-height);
184
-
185
- ${attachTokens.cellTitleFontFamily}: var(--plasma-typo-body-m-font-family);
186
- ${attachTokens.cellTitleFontSize}: var(--plasma-typo-body-m-font-size);
187
- ${attachTokens.cellTitleFontStyle}: var(--plasma-typo-body-m-font-style);
188
- ${attachTokens.cellTitleFontWeight}: var(--plasma-typo-body-m-font-weight);
189
- ${attachTokens.cellTitleLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
190
- ${attachTokens.cellTitleLineHeight}: var(--plasma-typo-body-m-line-height);
191
-
192
- ${attachTokens.cellSubtitleFontFamily}: var(--plasma-typo-body-s-font-family);
193
- ${attachTokens.cellSubtitleFontSize}: var(--plasma-typo-body-s-font-size);
194
- ${attachTokens.cellSubtitleFontStyle}: var(--plasma-typo-body-s-font-style);
195
- ${attachTokens.cellSubtitleFontWeight}: var(--plasma-typo-body-s-font-weight);
196
- ${attachTokens.cellSubtitleLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
197
- ${attachTokens.cellSubtitleLineHeight}: var(--plasma-typo-body-s-line-height);
179
+ ${attachTokens.cellLabelFontFamily}: ${bodyS.fontFamily};
180
+ ${attachTokens.cellLabelFontSize}: ${bodyS.fontSize};
181
+ ${attachTokens.cellLabelFontStyle}: ${bodyS.fontStyle};
182
+ ${attachTokens.cellLabelFontWeight}: ${bodyS.fontWeight};
183
+ ${attachTokens.cellLabelLetterSpacing}: ${bodyS.letterSpacing};
184
+ ${attachTokens.cellLabelLineHeight}: ${bodyS.lineHeight};
185
+
186
+ ${attachTokens.cellTitleFontFamily}: ${bodyM.fontFamily};
187
+ ${attachTokens.cellTitleFontSize}: ${bodyM.fontSize};
188
+ ${attachTokens.cellTitleFontStyle}: ${bodyM.fontStyle};
189
+ ${attachTokens.cellTitleFontWeight}: ${bodyM.fontWeight};
190
+ ${attachTokens.cellTitleLetterSpacing}: ${bodyM.letterSpacing};
191
+ ${attachTokens.cellTitleLineHeight}: ${bodyM.lineHeight};
192
+
193
+ ${attachTokens.cellSubtitleFontFamily}: ${bodyS.fontFamily};
194
+ ${attachTokens.cellSubtitleFontSize}: ${bodyS.fontSize};
195
+ ${attachTokens.cellSubtitleFontStyle}: ${bodyS.fontStyle};
196
+ ${attachTokens.cellSubtitleFontWeight}: ${bodyS.fontWeight};
197
+ ${attachTokens.cellSubtitleLetterSpacing}: ${bodyS.letterSpacing};
198
+ ${attachTokens.cellSubtitleLineHeight}: ${bodyS.lineHeight};
198
199
 
199
200
  ${attachTokens.iconButtonHeight}: 2.5rem;
200
201
  ${attachTokens.iconButtonWidth}: 2.5rem;
201
202
  ${attachTokens.iconButtonPadding}: 1rem;
202
203
  ${attachTokens.iconButtonRadius}: 0.625rem;
203
- ${attachTokens.iconButtonFontFamily}: var(--plasma-typo-body-s-font-family);
204
- ${attachTokens.iconButtonFontSize}: var(--plasma-typo-body-s-font-size);
205
- ${attachTokens.iconButtonFontStyle}: var(--plasma-typo-body-s-font-style);
206
- ${attachTokens.iconButtonFontWeight}: var(--plasma-typo-body-s-bold-font-weight);
207
- ${attachTokens.iconButtonLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
208
- ${attachTokens.iconButtonLineHeight}: var(--plasma-typo-body-s-line-height);
204
+ ${attachTokens.iconButtonFontFamily}: ${bodyS.fontFamily};
205
+ ${attachTokens.iconButtonFontSize}: ${bodyS.fontSize};
206
+ ${attachTokens.iconButtonFontStyle}: ${bodyS.fontStyle};
207
+ ${attachTokens.iconButtonFontWeight}: ${bodySBold.fontWeight};
208
+ ${attachTokens.iconButtonLetterSpacing}: ${bodyS.letterSpacing};
209
+ ${attachTokens.iconButtonLineHeight}: ${bodyS.lineHeight};
209
210
 
210
211
  ${attachTokens.iconButtonSpinnerSize}: 1.375rem;
211
212
  ${attachTokens.iconButtonSpinnerColor}: inherit;
@@ -214,12 +215,12 @@ export const config = {
214
215
  ${attachTokens.iconButtonCancelWidth}: 2rem;
215
216
  ${attachTokens.iconButtonCancelPadding}: 0.75rem;
216
217
  ${attachTokens.iconButtonCancelRadius}: 0.5rem;
217
- ${attachTokens.iconButtonCancelFontFamily}: var(--plasma-typo-body-xs-font-family);
218
- ${attachTokens.iconButtonCancelFontSize}: var(--plasma-typo-body-xs-font-size);
219
- ${attachTokens.iconButtonCancelFontStyle}: var(--plasma-typo-body-xs-font-style);
220
- ${attachTokens.iconButtonCancelFontWeight}: var(--plasma-typo-body-xs-bold-font-weight);
221
- ${attachTokens.iconButtonCancelLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
222
- ${attachTokens.iconButtonCancelLineHeight}: var(--plasma-typo-body-xs-line-height);
218
+ ${attachTokens.iconButtonCancelFontFamily}: ${bodyXS.fontFamily};
219
+ ${attachTokens.iconButtonCancelFontSize}: ${bodyXS.fontSize};
220
+ ${attachTokens.iconButtonCancelFontStyle}: ${bodyXS.fontStyle};
221
+ ${attachTokens.iconButtonCancelFontWeight}: ${bodyXSBold.fontWeight};
222
+ ${attachTokens.iconButtonCancelLetterSpacing}: ${bodyXS.letterSpacing};
223
+ ${attachTokens.iconButtonCancelLineHeight}: ${bodyXS.lineHeight};
223
224
 
224
225
  ${attachTokens.iconButtonCancelSpinnerSize}: 1rem;
225
226
  ${attachTokens.iconButtonCancelSpinnerColor}: inherit;