@salutejs/sdds-insol-next 0.366.0-dev.0 → 0.367.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 (142) hide show
  1. package/README.md +5 -5
  2. package/dist/css/cjs/components/Autocomplete/Autocomplete.clear.config.js +47 -0
  3. package/dist/css/cjs/components/Autocomplete/Autocomplete.clear.config.js.map +1 -0
  4. package/dist/css/cjs/components/Autocomplete/Autocomplete.clear.config_1lob3jd.css +16 -0
  5. package/dist/css/cjs/components/Autocomplete/Autocomplete.config.js +1 -1
  6. package/dist/css/cjs/components/Autocomplete/Autocomplete.config.js.map +1 -1
  7. package/dist/css/cjs/components/Autocomplete/Autocomplete.config_1hsdofs.css +16 -0
  8. package/dist/css/cjs/components/Autocomplete/Autocomplete.css +32 -15
  9. package/dist/css/cjs/components/Autocomplete/Autocomplete.js +10 -1
  10. package/dist/css/cjs/components/Autocomplete/Autocomplete.js.map +1 -1
  11. package/dist/css/cjs/components/Combobox/Combobox.css +32 -15
  12. package/dist/css/cjs/components/DatePicker/DatePicker.config.js +1 -1
  13. package/dist/css/cjs/components/DatePicker/DatePicker.config.js.map +1 -1
  14. package/dist/css/{es/components/DatePicker/DatePicker.config_a7346s.css → cjs/components/DatePicker/DatePicker.config_1bxflp9.css} +5 -5
  15. package/dist/css/cjs/components/DatePicker/DatePicker.css +13 -13
  16. package/dist/css/cjs/components/DateTimePicker/DateTimePicker.config.js +1 -1
  17. package/dist/css/cjs/components/DateTimePicker/DateTimePicker.config.js.map +1 -1
  18. package/dist/css/cjs/components/DateTimePicker/DateTimePicker.config_1j0dy2p.css +13 -0
  19. package/dist/css/cjs/components/DateTimePicker/DateTimePicker.css +13 -13
  20. package/dist/css/cjs/components/InformationWrapper/InformationWrapper.config.js +1 -1
  21. package/dist/css/cjs/components/InformationWrapper/InformationWrapper.config.js.map +1 -1
  22. package/dist/css/{es/components/InformationWrapper/InformationWrapper.config_1b7c841.css → cjs/components/InformationWrapper/InformationWrapper.config_cynysc.css} +4 -4
  23. package/dist/css/cjs/components/InformationWrapper/InformationWrapper.css +12 -12
  24. package/dist/css/cjs/components/Mask/Mask.css +21 -21
  25. package/dist/css/cjs/components/Range/Range.config.js +1 -1
  26. package/dist/css/cjs/components/Range/Range.config.js.map +1 -1
  27. package/dist/css/{es/components/Range/Range.config_jt7qw.css → cjs/components/Range/Range.config_195jydw.css} +5 -5
  28. package/dist/css/cjs/components/Range/Range.css +11 -11
  29. package/dist/css/cjs/components/Select/Select.clear.config.js +62 -0
  30. package/dist/css/cjs/components/Select/Select.clear.config.js.map +1 -0
  31. package/dist/css/cjs/components/Select/Select.clear.config_1imkwer.css +25 -0
  32. package/dist/css/cjs/components/Select/Select.config.js +1 -1
  33. package/dist/css/cjs/components/Select/Select.config.js.map +1 -1
  34. package/dist/css/cjs/components/Select/Select.config_1p0f1l7.css +25 -0
  35. package/dist/css/cjs/components/Select/Select.css +82 -39
  36. package/dist/css/cjs/components/Select/Select.js +8 -1
  37. package/dist/css/cjs/components/Select/Select.js.map +1 -1
  38. package/dist/css/cjs/components/TextArea/TextArea.config.js +1 -1
  39. package/dist/css/cjs/components/TextArea/TextArea.config.js.map +1 -1
  40. package/dist/css/{es/components/TextArea/TextArea.config_1depb95.css → cjs/components/TextArea/TextArea.config_98w4ef.css} +5 -5
  41. package/dist/css/cjs/components/TextArea/TextArea.css +13 -13
  42. package/dist/css/cjs/components/TextField/TextField.config.js +1 -1
  43. package/dist/css/cjs/components/TextField/TextField.config.js.map +1 -1
  44. package/dist/css/{es/components/TextField/TextField.config_7wygvn.css → cjs/components/TextField/TextField.config_1jic2ze.css} +5 -5
  45. package/dist/css/cjs/components/TimePicker/TimePicker.config.js +1 -1
  46. package/dist/css/cjs/components/TimePicker/TimePicker.config.js.map +1 -1
  47. package/dist/css/cjs/components/TimePicker/TimePicker.config_1w8va3b.css +11 -0
  48. package/dist/css/cjs/components/TimePicker/TimePicker.css +11 -11
  49. package/dist/css/cjs/index.css +183 -140
  50. package/dist/css/es/components/Autocomplete/Autocomplete.clear.config.js +43 -0
  51. package/dist/css/es/components/Autocomplete/Autocomplete.clear.config.js.map +1 -0
  52. package/dist/css/es/components/Autocomplete/Autocomplete.clear.config_1lob3jd.css +16 -0
  53. package/dist/css/es/components/Autocomplete/Autocomplete.config.js +1 -1
  54. package/dist/css/es/components/Autocomplete/Autocomplete.config.js.map +1 -1
  55. package/dist/css/es/components/Autocomplete/Autocomplete.config_1hsdofs.css +16 -0
  56. package/dist/css/es/components/Autocomplete/Autocomplete.css +32 -15
  57. package/dist/css/es/components/Autocomplete/Autocomplete.js +12 -5
  58. package/dist/css/es/components/Autocomplete/Autocomplete.js.map +1 -1
  59. package/dist/css/es/components/Combobox/Combobox.css +32 -15
  60. package/dist/css/es/components/DatePicker/DatePicker.config.js +1 -1
  61. package/dist/css/es/components/DatePicker/DatePicker.config.js.map +1 -1
  62. package/dist/css/{cjs/components/DatePicker/DatePicker.config_a7346s.css → es/components/DatePicker/DatePicker.config_1bxflp9.css} +5 -5
  63. package/dist/css/es/components/DatePicker/DatePicker.css +13 -13
  64. package/dist/css/es/components/DateTimePicker/DateTimePicker.config.js +1 -1
  65. package/dist/css/es/components/DateTimePicker/DateTimePicker.config.js.map +1 -1
  66. package/dist/css/es/components/DateTimePicker/DateTimePicker.config_1j0dy2p.css +13 -0
  67. package/dist/css/es/components/DateTimePicker/DateTimePicker.css +13 -13
  68. package/dist/css/es/components/InformationWrapper/InformationWrapper.config.js +1 -1
  69. package/dist/css/es/components/InformationWrapper/InformationWrapper.config.js.map +1 -1
  70. package/dist/css/{cjs/components/InformationWrapper/InformationWrapper.config_1b7c841.css → es/components/InformationWrapper/InformationWrapper.config_cynysc.css} +4 -4
  71. package/dist/css/es/components/InformationWrapper/InformationWrapper.css +12 -12
  72. package/dist/css/es/components/Mask/Mask.css +21 -21
  73. package/dist/css/es/components/Range/Range.config.js +1 -1
  74. package/dist/css/es/components/Range/Range.config.js.map +1 -1
  75. package/dist/css/{cjs/components/Range/Range.config_jt7qw.css → es/components/Range/Range.config_195jydw.css} +5 -5
  76. package/dist/css/es/components/Range/Range.css +11 -11
  77. package/dist/css/es/components/Select/Select.clear.config.js +58 -0
  78. package/dist/css/es/components/Select/Select.clear.config.js.map +1 -0
  79. package/dist/css/es/components/Select/Select.clear.config_1imkwer.css +25 -0
  80. package/dist/css/es/components/Select/Select.config.js +1 -1
  81. package/dist/css/es/components/Select/Select.config.js.map +1 -1
  82. package/dist/css/es/components/Select/Select.config_1p0f1l7.css +25 -0
  83. package/dist/css/es/components/Select/Select.css +82 -39
  84. package/dist/css/es/components/Select/Select.js +11 -4
  85. package/dist/css/es/components/Select/Select.js.map +1 -1
  86. package/dist/css/es/components/TextArea/TextArea.config.js +1 -1
  87. package/dist/css/es/components/TextArea/TextArea.config.js.map +1 -1
  88. package/dist/css/{cjs/components/TextArea/TextArea.config_1depb95.css → es/components/TextArea/TextArea.config_98w4ef.css} +5 -5
  89. package/dist/css/es/components/TextArea/TextArea.css +13 -13
  90. package/dist/css/es/components/TextField/TextField.config.js +1 -1
  91. package/dist/css/es/components/TextField/TextField.config.js.map +1 -1
  92. package/dist/css/{cjs/components/TextField/TextField.config_7wygvn.css → es/components/TextField/TextField.config_1jic2ze.css} +5 -5
  93. package/dist/css/es/components/TimePicker/TimePicker.config.js +1 -1
  94. package/dist/css/es/components/TimePicker/TimePicker.config.js.map +1 -1
  95. package/dist/css/es/components/TimePicker/TimePicker.config_1w8va3b.css +11 -0
  96. package/dist/css/es/components/TimePicker/TimePicker.css +11 -11
  97. package/dist/css/es/index.css +183 -140
  98. package/dist/styled-components/cjs/components/Autocomplete/Autocomplete.clear.config.js +677 -0
  99. package/dist/styled-components/cjs/components/Autocomplete/Autocomplete.config.js +41 -0
  100. package/dist/styled-components/cjs/components/Autocomplete/Autocomplete.js +14 -1
  101. package/dist/styled-components/cjs/components/DatePicker/DatePicker.config.js +5 -0
  102. package/dist/styled-components/cjs/components/DateTimePicker/DateTimePicker.config.js +5 -0
  103. package/dist/styled-components/cjs/components/InformationWrapper/InformationWrapper.config.js +4 -0
  104. package/dist/styled-components/cjs/components/Range/Range.config.js +5 -0
  105. package/dist/styled-components/cjs/components/Select/Select.clear.config.js +1446 -0
  106. package/dist/styled-components/cjs/components/Select/Select.config.js +45 -0
  107. package/dist/styled-components/cjs/components/Select/Select.js +8 -1
  108. package/dist/styled-components/cjs/components/TextArea/TextArea.config.js +5 -0
  109. package/dist/styled-components/cjs/components/TextField/TextField.clear.config.js +5 -0
  110. package/dist/styled-components/cjs/components/TextField/TextField.config.js +5 -0
  111. package/dist/styled-components/cjs/components/TimePicker/TimePicker.config.js +38 -0
  112. package/dist/styled-components/es/components/Autocomplete/Autocomplete.clear.config.js +667 -0
  113. package/dist/styled-components/es/components/Autocomplete/Autocomplete.config.js +41 -0
  114. package/dist/styled-components/es/components/Autocomplete/Autocomplete.js +9 -2
  115. package/dist/styled-components/es/components/DatePicker/DatePicker.config.js +5 -0
  116. package/dist/styled-components/es/components/DateTimePicker/DateTimePicker.config.js +5 -0
  117. package/dist/styled-components/es/components/InformationWrapper/InformationWrapper.config.js +4 -0
  118. package/dist/styled-components/es/components/Range/Range.config.js +5 -0
  119. package/dist/styled-components/es/components/Select/Select.clear.config.js +1436 -0
  120. package/dist/styled-components/es/components/Select/Select.config.js +45 -0
  121. package/dist/styled-components/es/components/Select/Select.js +9 -2
  122. package/dist/styled-components/es/components/TextArea/TextArea.config.js +5 -0
  123. package/dist/styled-components/es/components/TextField/TextField.clear.config.js +5 -0
  124. package/dist/styled-components/es/components/TextField/TextField.config.js +5 -0
  125. package/dist/styled-components/es/components/TimePicker/TimePicker.config.js +38 -0
  126. package/package.json +11 -11
  127. package/types/components/Autocomplete/Autocomplete.clear.config.d.ts +39 -0
  128. package/types/components/Autocomplete/Autocomplete.d.ts +2017 -10
  129. package/types/components/Calendar/Calendar.d.ts +3 -1
  130. package/types/components/DatePicker/DatePicker.d.ts +18 -18
  131. package/types/components/DateTimePicker/DateTimePicker.d.ts +2 -2
  132. package/types/components/Select/Select.clear.config.d.ts +54 -0
  133. package/types/components/Select/Select.d.ts +36 -10
  134. package/types/components/TimePicker/TimePicker.d.ts +2 -0
  135. package/dist/css/cjs/components/Autocomplete/Autocomplete.config_1u059qo.css +0 -16
  136. package/dist/css/cjs/components/DateTimePicker/DateTimePicker.config_1nmd04a.css +0 -13
  137. package/dist/css/cjs/components/Select/Select.config_s0i2sc.css +0 -25
  138. package/dist/css/cjs/components/TimePicker/TimePicker.config_3tnh00.css +0 -11
  139. package/dist/css/es/components/Autocomplete/Autocomplete.config_1u059qo.css +0 -16
  140. package/dist/css/es/components/DateTimePicker/DateTimePicker.config_1nmd04a.css +0 -13
  141. package/dist/css/es/components/Select/Select.config_s0i2sc.css +0 -25
  142. package/dist/css/es/components/TimePicker/TimePicker.config_3tnh00.css +0 -11
@@ -0,0 +1,1436 @@
1
+ import { css, selectTokens as tokens } from '@salutejs/plasma-new-hope/styled-components';
2
+ import { bodyL, bodyM, bodyS, bodyXS, inverseTextAccent, inverseTextAccentHover, inverseTextPrimary, onDarkSurfaceSolidDefault, onDarkSurfaceSolidDefaultActive, onDarkSurfaceSolidDefaultHover, onDarkTextAccent, onDarkTextAccentActive, onDarkTextAccentHover, onDarkTextPrimary, onDarkTextSecondary, onDarkTextSecondaryHover, onLightSurfaceSolidDefault, onLightSurfaceSolidDefaultActive, onLightSurfaceSolidDefaultHover, onLightSurfaceTransparentDeep, onLightSurfaceTransparentDeepActive, onLightSurfaceTransparentDeepHover, onLightTextAccent, onLightTextAccentActive, onLightTextAccentHover, onLightTextPrimary, outlineAccentMinor, outlineAccentMinorActive, outlineAccentMinorHover, outlineNegative, outlineNegativeActive, outlineNegativeHover, outlinePositive, outlinePositiveActive, outlinePositiveHover, outlineSolidSecondary, outlineTransparentPrimary, outlineTransparentPrimaryHover, outlineTransparentSecondary, outlineWarning, outlineWarningActive, outlineWarningHover, surfaceAccent, surfaceAccentActive, surfaceAccentHover, surfaceClear, surfaceNegative, surfaceNegativeActive, surfaceNegativeHover, surfacePositive, surfacePositiveActive, surfacePositiveHover, surfaceSolidCard, surfaceSolidCardBrightness, surfaceSolidDefault, surfaceSolidDefaultHover, surfaceSolidSecondary, surfaceTransparentPrimary, surfaceTransparentSecondary, surfaceTransparentSecondaryActive, surfaceTransparentSecondaryHover, surfaceTransparentTertiary, surfaceWarning, surfaceWarningActive, surfaceWarningHover, textAccent, textAccentActive, textAccentHover, textNegative, textPositive, textPrimary, textSecondary, textSecondaryActive, textSecondaryHover, textTertiary, textWarning } from '@salutejs/sdds-themes/tokens/sdds_insol_next';
3
+ export const config = {
4
+ defaults: {
5
+ view: 'default',
6
+ size: 'm',
7
+ labelPlacement: 'outer',
8
+ chipView: 'default',
9
+ _checkboxAppearance: 'default',
10
+ hintView: 'default',
11
+ hintSize: 'm'
12
+ },
13
+ variations: {
14
+ view: {
15
+ default: css`
16
+ ${tokens.textFieldColor}: ${textPrimary};
17
+
18
+ ${tokens.textFieldPlaceholderColor}: ${textSecondary};
19
+ ${tokens.textFieldPlaceholderColorFocus}: ${textTertiary};
20
+
21
+ ${tokens.textFieldBackgroundColor}: transparent;
22
+ ${tokens.textFieldBackgroundColorFocus}: transparent;
23
+ ${tokens.textFieldTextBeforeColor}: ${textTertiary};
24
+ ${tokens.textFieldTextAfterColor}: ${textTertiary};
25
+ ${tokens.textFieldLabelColor}: ${textPrimary};
26
+ ${tokens.textFieldLeftHelperColor}: ${textSecondary};
27
+ ${tokens.textFieldTitleCaptionColor}: ${textSecondary};
28
+ ${tokens.textFieldFocusColor}: ${textAccent};
29
+
30
+ ${tokens.textFieldContentSlotColor}: ${textSecondary};
31
+ ${tokens.textFieldContentSlotColorHover}: ${textSecondaryHover};
32
+ ${tokens.textFieldContentSlotColorActive}: ${textSecondaryActive};
33
+
34
+ ${tokens.textFieldIndicatorColor}: ${surfaceNegative};
35
+ ${tokens.textFieldOptionalColor}: ${textTertiary};
36
+
37
+ ${tokens.textFieldBorderColor}: ${outlineTransparentPrimary};
38
+ ${tokens.textFieldBorderColorFocus}: ${outlineSolidSecondary};
39
+ ${tokens.textFieldBackgroundColorHover}: transparent;
40
+ ${tokens.textFieldDividerColor}: ${surfaceTransparentTertiary};
41
+ ${tokens.textFieldDividerColorHover}: ${textSecondary};
42
+ ${tokens.textFieldDividerColorFocus}: ${surfaceAccent};
43
+ ${tokens.textFieldClearPlaceholderColor}: ${textSecondary};
44
+ ${tokens.textFieldClearPlaceholderColorFocus}: ${textTertiary};
45
+ ${tokens.textFieldBorderColorHover}: ${outlineTransparentPrimaryHover};
46
+
47
+ ${tokens.textFieldBoxShadow}: inset 0 0 0 0 transparent;
48
+ ${tokens.textFieldBoxShadowSecondary}: 0 0 0 0.25rem #E8EEF2;
49
+
50
+ ${tokens.buttonColor}: ${inverseTextPrimary};
51
+ ${tokens.buttonColorHover}: ${inverseTextPrimary};
52
+ ${tokens.buttonColorActive}: ${inverseTextPrimary};
53
+ ${tokens.buttonArrowColor}: ${inverseTextAccent};
54
+ ${tokens.buttonArrowColorHover}: ${inverseTextAccentHover};
55
+ ${tokens.buttonArrowColorActive}: ${inverseTextAccentHover};
56
+ ${tokens.buttonBackgroundColor}: ${surfaceSolidDefault};
57
+ ${tokens.buttonBackgroundColorHover}: ${surfaceSolidDefaultHover};
58
+ ${tokens.buttonBackgroundColorActive}: ${surfaceSolidDefaultHover};
59
+
60
+ ${tokens.disclosureIconColor}: ${textAccent};
61
+ ${tokens.disclosureIconColorHover}: ${textAccentHover};
62
+
63
+ ${tokens.disclosureNestedIconColor}: ${textSecondary};
64
+ ${tokens.disclosureNestedIconColorHover}: ${textSecondaryHover};
65
+
66
+ ${tokens.itemBackgroundHover}: ${surfaceTransparentSecondary};
67
+ ${tokens.itemDisabledOpacity}: 0.4;
68
+ ${tokens.itemDisabledColor}: ${textPrimary};
69
+
70
+ ${tokens.textFieldHintIconColor}: ${textSecondary};
71
+
72
+ ${tokens.dividerColor}: ${surfaceTransparentTertiary};
73
+
74
+ ${tokens.itemIconColor}: ${textAccent};
75
+
76
+ ${tokens.checkboxFillColor}: ${surfaceAccent};
77
+ ${tokens.checkboxIconColor}: ${onDarkTextPrimary};
78
+ ${tokens.checkboxTriggerBorderCheckedColor}: ${surfaceClear};
79
+ ${tokens.checkboxTriggerBorderColor}: ${outlineTransparentSecondary};
80
+ `,
81
+ positive: css`
82
+ ${tokens.textFieldColor}: ${textPrimary};
83
+
84
+ ${tokens.textFieldPlaceholderColor}: ${textSecondary};
85
+ ${tokens.textFieldPlaceholderColorFocus}: ${textTertiary};
86
+
87
+ ${tokens.textFieldBackgroundColor}: transparent;
88
+ ${tokens.textFieldBackgroundColorFocus}: transparent;
89
+ ${tokens.textFieldTextBeforeColor}: ${textTertiary};
90
+ ${tokens.textFieldTextAfterColor}: ${textTertiary};
91
+ ${tokens.textFieldLabelColor}: ${textPrimary};
92
+ ${tokens.textFieldLeftHelperColor}: ${textPositive};
93
+ ${tokens.textFieldTitleCaptionColor}: ${textSecondary};
94
+ ${tokens.textFieldFocusColor}: ${textAccent};
95
+
96
+ ${tokens.textFieldContentSlotColor}: ${textSecondary};
97
+ ${tokens.textFieldContentSlotColorHover}: ${textSecondaryHover};
98
+ ${tokens.textFieldContentSlotColorActive}: ${textSecondaryActive};
99
+
100
+ ${tokens.textFieldIndicatorColor}: ${surfaceNegative};
101
+ ${tokens.textFieldOptionalColor}: ${textTertiary};
102
+
103
+ ${tokens.textFieldBorderColor}: ${outlinePositive};
104
+ ${tokens.textFieldBorderColorFocus}: ${outlinePositiveActive};
105
+ ${tokens.textFieldBackgroundColorHover}: transparent;
106
+ ${tokens.textFieldDividerColor}: ${surfacePositive};
107
+ ${tokens.textFieldDividerColorHover}: ${surfacePositive};
108
+ ${tokens.textFieldDividerColorFocus}: ${surfaceAccent};
109
+ ${tokens.textFieldClearPlaceholderColor}: ${textSecondary};
110
+ ${tokens.textFieldClearPlaceholderColorFocus}: ${textTertiary};
111
+ ${tokens.textFieldBorderColorHover}: ${outlinePositiveHover};
112
+
113
+ ${tokens.textFieldBoxShadow}: inset 0 0 0 0 transparent;
114
+ ${tokens.textFieldBoxShadowSecondary}: 0 0 0 0.25rem #E8EEF2;
115
+
116
+ ${tokens.buttonColor}: ${onDarkTextPrimary};
117
+ ${tokens.buttonColorHover}: ${onDarkTextPrimary};
118
+ ${tokens.buttonColorActive}: ${onDarkTextPrimary};
119
+ ${tokens.buttonArrowColor}: ${onDarkTextSecondary};
120
+ ${tokens.buttonArrowColorHover}: ${onDarkTextSecondaryHover};
121
+ ${tokens.buttonArrowColorActive}: ${onDarkTextSecondaryHover};
122
+ ${tokens.buttonBackgroundColor}:${surfacePositive};
123
+ ${tokens.buttonBackgroundColorHover}:${surfacePositiveHover};
124
+ ${tokens.buttonBackgroundColorActive}:${surfacePositiveActive};
125
+
126
+ ${tokens.disclosureIconColor}: ${textSecondary};
127
+ ${tokens.disclosureIconColorHover}: ${textSecondaryHover};
128
+
129
+ ${tokens.itemBackgroundHover}: ${surfaceTransparentSecondary};
130
+ ${tokens.itemDisabledOpacity}: 0.4;
131
+ ${tokens.itemDisabledColor}: ${textPrimary};
132
+
133
+ ${tokens.textFieldHintIconColor}: ${textSecondary};
134
+
135
+ ${tokens.dividerColor}: ${surfaceTransparentTertiary};
136
+
137
+ ${tokens.itemIconColor}: ${textAccent};
138
+
139
+ ${tokens.checkboxFillColor}: ${surfaceAccent};
140
+ ${tokens.checkboxIconColor}: ${onDarkTextPrimary};
141
+ ${tokens.checkboxTriggerBorderCheckedColor}: ${surfaceClear};
142
+ ${tokens.checkboxTriggerBorderColor}: ${outlineTransparentSecondary};
143
+ `,
144
+ warning: css`
145
+ ${tokens.textFieldColor}: ${textPrimary};
146
+
147
+ ${tokens.textFieldPlaceholderColor}: ${textSecondary};
148
+ ${tokens.textFieldPlaceholderColorFocus}: ${textTertiary};
149
+
150
+ ${tokens.textFieldBackgroundColor}: transparent;
151
+ ${tokens.textFieldBackgroundColorFocus}: transparent;
152
+ ${tokens.textFieldTextBeforeColor}: ${textTertiary};
153
+ ${tokens.textFieldTextAfterColor}: ${textTertiary};
154
+ ${tokens.textFieldLabelColor}: ${textPrimary};
155
+ ${tokens.textFieldLeftHelperColor}: ${textWarning};
156
+ ${tokens.textFieldTitleCaptionColor}: ${textSecondary};
157
+ ${tokens.textFieldFocusColor}: ${textAccent};
158
+
159
+ ${tokens.textFieldContentSlotColor}: ${textSecondary};
160
+ ${tokens.textFieldContentSlotColorHover}: ${textSecondaryHover};
161
+ ${tokens.textFieldContentSlotColorActive}: ${textSecondaryActive};
162
+
163
+ ${tokens.textFieldIndicatorColor}: ${surfaceNegative};
164
+ ${tokens.textFieldOptionalColor}: ${textTertiary};
165
+
166
+ ${tokens.textFieldBorderColor}: ${outlineWarning};
167
+ ${tokens.textFieldBorderColorFocus}: ${outlineWarningActive};
168
+ ${tokens.textFieldBackgroundColorHover}: transparent;
169
+ ${tokens.textFieldDividerColor}: ${surfaceWarning};
170
+ ${tokens.textFieldDividerColorHover}: ${surfaceWarning};
171
+ ${tokens.textFieldDividerColorFocus}: ${surfaceAccent};
172
+ ${tokens.textFieldClearPlaceholderColor}: ${textSecondary};
173
+ ${tokens.textFieldClearPlaceholderColorFocus}: ${textTertiary};
174
+ ${tokens.textFieldBorderColorHover}: ${outlineWarningHover};
175
+
176
+ ${tokens.textFieldBoxShadow}: inset 0 0 0 0 transparent;
177
+ ${tokens.textFieldBoxShadowSecondary}: 0 0 0 0.25rem #E8EEF2;
178
+
179
+ ${tokens.buttonColor}: ${onDarkTextPrimary};
180
+ ${tokens.buttonColorHover}: ${onDarkTextPrimary};
181
+ ${tokens.buttonColorActive}: ${onDarkTextPrimary};
182
+ ${tokens.buttonArrowColor}: ${onDarkTextSecondary};
183
+ ${tokens.buttonArrowColorHover}: ${onDarkTextSecondaryHover};
184
+ ${tokens.buttonArrowColorActive}: ${onDarkTextSecondaryHover};
185
+ ${tokens.buttonBackgroundColor}:${surfaceWarning};
186
+ ${tokens.buttonBackgroundColorHover}:${surfaceWarningHover};
187
+ ${tokens.buttonBackgroundColorActive}:${surfaceWarningActive};
188
+
189
+ ${tokens.disclosureIconColor}: ${textSecondary};
190
+ ${tokens.disclosureIconColorHover}: ${textSecondaryHover};
191
+
192
+ ${tokens.itemBackgroundHover}: ${surfaceTransparentSecondary};
193
+ ${tokens.itemDisabledOpacity}: 0.4;
194
+ ${tokens.itemDisabledColor}: ${textPrimary};
195
+
196
+ ${tokens.textFieldHintIconColor}: ${textSecondary};
197
+
198
+ ${tokens.dividerColor}: ${surfaceTransparentTertiary};
199
+
200
+ ${tokens.itemIconColor}: ${textAccent};
201
+
202
+ ${tokens.checkboxFillColor}: ${surfaceAccent};
203
+ ${tokens.checkboxIconColor}: ${onDarkTextPrimary};
204
+ ${tokens.checkboxTriggerBorderCheckedColor}: ${surfaceClear};
205
+ ${tokens.checkboxTriggerBorderColor}: ${outlineTransparentSecondary};
206
+ `,
207
+ negative: css`
208
+ ${tokens.textFieldColor}: ${textPrimary};
209
+
210
+ ${tokens.textFieldPlaceholderColor}: ${textSecondary};
211
+ ${tokens.textFieldPlaceholderColorFocus}: ${textTertiary};
212
+
213
+ ${tokens.textFieldBackgroundColor}: transparent;
214
+ ${tokens.textFieldBackgroundColorFocus}: transparent;
215
+ ${tokens.textFieldTextBeforeColor}: ${textTertiary};
216
+ ${tokens.textFieldTextAfterColor}: ${textTertiary};
217
+ ${tokens.textFieldLabelColor}: ${textPrimary};
218
+ ${tokens.textFieldLeftHelperColor}: ${textNegative};
219
+ ${tokens.textFieldTitleCaptionColor}: ${textSecondary};
220
+ ${tokens.textFieldFocusColor}: ${textAccent};
221
+
222
+ ${tokens.textFieldContentSlotColor}: ${textSecondary};
223
+ ${tokens.textFieldContentSlotColorHover}: ${textSecondaryHover};
224
+ ${tokens.textFieldContentSlotColorActive}: ${textSecondaryActive};
225
+
226
+ ${tokens.textFieldIndicatorColor}: ${surfaceNegative};
227
+ ${tokens.textFieldOptionalColor}: ${textTertiary};
228
+
229
+ ${tokens.textFieldBorderColor}: ${outlineNegative};
230
+ ${tokens.textFieldBorderColorFocus}: ${outlineNegativeActive};
231
+ ${tokens.textFieldBackgroundColorHover}: transparent;
232
+ ${tokens.textFieldDividerColor}: ${surfaceNegative};
233
+ ${tokens.textFieldDividerColorHover}: ${surfaceNegative};
234
+ ${tokens.textFieldDividerColorFocus}: ${surfaceAccent};
235
+ ${tokens.textFieldClearPlaceholderColor}: ${textSecondary};
236
+ ${tokens.textFieldClearPlaceholderColorFocus}: ${textTertiary};
237
+ ${tokens.textFieldBorderColorHover}: ${outlineNegativeHover};
238
+
239
+ ${tokens.textFieldBoxShadow}: inset 0 0 0 0 transparent;
240
+ ${tokens.textFieldBoxShadowSecondary}: 0 0 0 0.25rem #E8EEF2;
241
+
242
+ ${tokens.buttonColor}: ${onDarkTextPrimary};
243
+ ${tokens.buttonColorHover}: ${onDarkTextPrimary};
244
+ ${tokens.buttonColorActive}: ${onDarkTextPrimary};
245
+ ${tokens.buttonArrowColor}: ${onDarkTextSecondary};
246
+ ${tokens.buttonArrowColorHover}: ${onDarkTextSecondaryHover};
247
+ ${tokens.buttonArrowColorActive}: ${onDarkTextSecondaryHover};
248
+ ${tokens.buttonBackgroundColor}:${surfaceNegative};
249
+ ${tokens.buttonBackgroundColorHover}: ${surfaceNegativeHover};
250
+ ${tokens.buttonBackgroundColorActive}:${surfaceNegativeActive};
251
+
252
+ ${tokens.disclosureIconColor}: ${textSecondary};
253
+ ${tokens.disclosureIconColorHover}: ${textSecondaryHover};
254
+
255
+ ${tokens.itemBackgroundHover}: ${surfaceTransparentSecondary};
256
+ ${tokens.itemDisabledOpacity}: 0.4;
257
+ ${tokens.itemDisabledColor}: ${textPrimary};
258
+
259
+ ${tokens.textFieldHintIconColor}: ${textSecondary};
260
+
261
+ ${tokens.dividerColor}: ${surfaceTransparentTertiary};
262
+
263
+ ${tokens.itemIconColor}: ${textAccent};
264
+
265
+ ${tokens.checkboxFillColor}: ${surfaceAccent};
266
+ ${tokens.checkboxIconColor}: ${onDarkTextPrimary};
267
+ ${tokens.checkboxTriggerBorderCheckedColor}: ${surfaceClear};
268
+ ${tokens.checkboxTriggerBorderColor}: ${outlineTransparentSecondary};
269
+ `,
270
+ accent: css`
271
+ ${tokens.textFieldColor}: ${textAccent};
272
+
273
+ ${tokens.textFieldPlaceholderColor}: ${textSecondary};
274
+ ${tokens.textFieldPlaceholderColorFocus}: ${textSecondary};
275
+
276
+ ${tokens.textFieldBackgroundColor}: transparent;
277
+ ${tokens.textFieldBackgroundColorFocus}: transparent;
278
+ ${tokens.textFieldTextBeforeColor}: ${textTertiary};
279
+ ${tokens.textFieldTextAfterColor}: ${textTertiary};
280
+ ${tokens.textFieldLabelColor}: ${textPrimary};
281
+ ${tokens.textFieldLeftHelperColor}: ${textAccent};
282
+ ${tokens.textFieldTitleCaptionColor}: ${textSecondary};
283
+ ${tokens.textFieldFocusColor}: ${textAccent};
284
+
285
+ ${tokens.textFieldBorderColor}: ${outlineAccentMinor};
286
+ ${tokens.textFieldBorderColorFocus}: ${outlineAccentMinorActive};
287
+ ${tokens.textFieldBackgroundColorHover}: transparent;
288
+ ${tokens.textFieldDividerColor}: ${surfaceTransparentTertiary};
289
+ ${tokens.textFieldDividerColorHover}: ${textSecondary};
290
+ ${tokens.textFieldDividerColorFocus}: ${surfaceAccent};
291
+ ${tokens.textFieldClearPlaceholderColor}: ${textSecondary};
292
+ ${tokens.textFieldClearPlaceholderColorFocus}: ${textTertiary};
293
+ ${tokens.textFieldBorderColorHover}: ${outlineAccentMinorHover};
294
+
295
+ ${tokens.textFieldBoxShadow}: inset 0 0 0 0 transparent;
296
+ ${tokens.textFieldBoxShadowSecondary}: 0 0 0 0.25rem #E8EEF2;
297
+
298
+ ${tokens.buttonColor}: ${onDarkTextPrimary};
299
+ ${tokens.buttonColorHover}: ${onDarkTextPrimary};
300
+ ${tokens.buttonColorActive}: ${onDarkTextPrimary};
301
+ ${tokens.buttonArrowColor}: ${onDarkTextSecondary};
302
+ ${tokens.buttonArrowColorHover}: ${onDarkTextSecondaryHover};
303
+ ${tokens.buttonArrowColorActive}: ${onDarkTextSecondaryHover};
304
+ ${tokens.buttonBackgroundColor}: ${surfaceAccent};
305
+ ${tokens.buttonBackgroundColorHover}: ${surfaceAccentHover};
306
+ ${tokens.buttonBackgroundColorActive}: ${surfaceAccentActive};
307
+
308
+ ${tokens.disclosureIconColor}: ${textSecondary};
309
+ ${tokens.disclosureIconColorHover}: ${textSecondaryHover};
310
+ ${tokens.itemBackgroundHover}: ${surfaceTransparentSecondary};
311
+ ${tokens.itemDisabledOpacity}: 0.4;
312
+ ${tokens.itemDisabledColor}: ${textPrimary};
313
+
314
+ ${tokens.dividerColor}: ${surfaceTransparentTertiary};
315
+
316
+ ${tokens.itemIconColor}: ${textAccent};
317
+
318
+ ${tokens.checkboxFillColor}: ${surfaceAccent};
319
+ ${tokens.checkboxIconColor}: ${onDarkTextPrimary};
320
+ ${tokens.checkboxTriggerBorderCheckedColor}: ${surfaceClear};
321
+ ${tokens.checkboxTriggerBorderColor}: ${outlineTransparentSecondary};
322
+ `,
323
+ secondary: css`
324
+ ${tokens.textFieldColor}: ${textSecondary};
325
+
326
+ ${tokens.textFieldPlaceholderColor}: ${textSecondary};
327
+ ${tokens.textFieldPlaceholderColorFocus}: ${textSecondary};
328
+
329
+ ${tokens.textFieldBackgroundColor}: transparent;
330
+ ${tokens.textFieldBackgroundColorFocus}: transparent;
331
+ ${tokens.textFieldTextBeforeColor}: ${textTertiary};
332
+ ${tokens.textFieldTextAfterColor}: ${textTertiary};
333
+ ${tokens.textFieldLabelColor}: ${textPrimary};
334
+ ${tokens.textFieldLeftHelperColor}: color-mix(in oklab, ${textSecondary} 70%, transparent);
335
+ ${tokens.textFieldTitleCaptionColor}: ${textSecondary};
336
+ ${tokens.textFieldFocusColor}: ${textSecondary};
337
+
338
+ ${tokens.textFieldBorderColor}: ${outlineTransparentPrimary};
339
+ ${tokens.textFieldBorderColorFocus}: ${outlineSolidSecondary};
340
+ ${tokens.textFieldBackgroundColorHover}: transparent;
341
+ ${tokens.textFieldDividerColor}: ${surfaceTransparentTertiary};
342
+ ${tokens.textFieldDividerColorHover}: ${textSecondary};
343
+ ${tokens.textFieldDividerColorFocus}: ${surfaceAccent};
344
+ ${tokens.textFieldClearPlaceholderColor}: ${textSecondary};
345
+ ${tokens.textFieldClearPlaceholderColorFocus}: ${textTertiary};
346
+ ${tokens.textFieldBorderColorHover}: ${outlineTransparentPrimaryHover};
347
+
348
+ ${tokens.textFieldBoxShadow}: inset 0 0 0 0 transparent;
349
+ ${tokens.textFieldBoxShadowSecondary}: 0 0 0 0.25rem #E8EEF2;
350
+
351
+ ${tokens.buttonColor}: ${textPrimary};
352
+ ${tokens.buttonColorHover}: ${textPrimary};
353
+ ${tokens.buttonColorActive}: ${textPrimary};
354
+ ${tokens.buttonArrowColor}: ${textAccent};
355
+ ${tokens.buttonArrowColorHover}: ${textAccentHover};
356
+ ${tokens.buttonArrowColorActive}: ${textAccentHover};
357
+ ${tokens.buttonBackgroundColor}: ${surfaceTransparentSecondary};
358
+ ${tokens.buttonBackgroundColorHover}: ${surfaceTransparentSecondaryHover};
359
+ ${tokens.buttonBackgroundColorActive}: ${surfaceTransparentSecondaryActive};
360
+
361
+ ${tokens.disclosureIconColor}: ${textSecondary};
362
+ ${tokens.disclosureIconColorHover}: ${textSecondaryHover};
363
+ ${tokens.itemBackgroundHover}: ${surfaceTransparentSecondary};
364
+ ${tokens.itemDisabledOpacity}: 0.4;
365
+ ${tokens.itemDisabledColor}: ${textPrimary};
366
+
367
+ ${tokens.dividerColor}: ${surfaceTransparentTertiary};
368
+
369
+ ${tokens.itemIconColor}: ${textAccent};
370
+
371
+ ${tokens.checkboxFillColor}: ${surfaceAccent};
372
+ ${tokens.checkboxIconColor}: ${onDarkTextPrimary};
373
+ ${tokens.checkboxTriggerBorderCheckedColor}: ${surfaceClear};
374
+ ${tokens.checkboxTriggerBorderColor}: ${outlineTransparentSecondary};
375
+ `,
376
+ clear: css`
377
+ ${tokens.textFieldColor}: ${textPrimary};
378
+
379
+ ${tokens.textFieldPlaceholderColor}: ${textSecondary};
380
+ ${tokens.textFieldPlaceholderColorFocus}: ${textSecondary};
381
+
382
+ ${tokens.textFieldBackgroundColor}: transparent;
383
+ ${tokens.textFieldBackgroundColorFocus}: transparent;
384
+ ${tokens.textFieldTextBeforeColor}: ${textTertiary};
385
+ ${tokens.textFieldTextAfterColor}: ${textTertiary};
386
+ ${tokens.textFieldLabelColor}: ${textPrimary};
387
+ ${tokens.textFieldLeftHelperColor}: ${textSecondary};
388
+ ${tokens.textFieldTitleCaptionColor}: ${textSecondary};
389
+ ${tokens.textFieldFocusColor}: ${textAccent};
390
+
391
+ ${tokens.textFieldBorderColor}: ${outlineTransparentPrimary};
392
+ ${tokens.textFieldBorderColorFocus}: ${outlineSolidSecondary};
393
+ ${tokens.textFieldBackgroundColorHover}: transparent;
394
+ ${tokens.textFieldDividerColor}: ${surfaceTransparentTertiary};
395
+ ${tokens.textFieldDividerColorHover}: ${textSecondary};
396
+ ${tokens.textFieldDividerColorFocus}: ${surfaceAccent};
397
+ ${tokens.textFieldClearPlaceholderColor}: ${textSecondary};
398
+ ${tokens.textFieldClearPlaceholderColorFocus}: ${textTertiary};
399
+ ${tokens.textFieldBorderColorHover}: ${outlineTransparentPrimaryHover};
400
+
401
+ ${tokens.textFieldBoxShadow}: inset 0 0 0 0 transparent;
402
+ ${tokens.textFieldBoxShadowSecondary}: 0 0 0 0.25rem #E8EEF2;
403
+
404
+ ${tokens.buttonColor}: ${textPrimary};
405
+ ${tokens.buttonColorHover}: ${textPrimary};
406
+ ${tokens.buttonColorActive}: ${textPrimary};
407
+ ${tokens.buttonArrowColor}: ${textAccent};
408
+ ${tokens.buttonArrowColorHover}: ${textAccentHover};
409
+ ${tokens.buttonArrowColorActive}: ${textAccentActive};
410
+ ${tokens.buttonBackgroundColor}: ${surfaceClear};
411
+ ${tokens.buttonBackgroundColorHover}: ${surfaceClear};
412
+ ${tokens.buttonBackgroundColorActive}: ${surfaceClear};
413
+
414
+ ${tokens.disclosureIconColor}: ${textSecondary};
415
+ ${tokens.disclosureIconColorHover}: ${textSecondaryHover};
416
+ ${tokens.itemBackgroundHover}: ${surfaceTransparentSecondary};
417
+ ${tokens.itemDisabledOpacity}: 0.4;
418
+ ${tokens.itemDisabledColor}: ${textPrimary};
419
+
420
+ ${tokens.dividerColor}: ${surfaceTransparentTertiary};
421
+
422
+ ${tokens.itemIconColor}: ${textAccent};
423
+
424
+ ${tokens.checkboxFillColor}: ${surfaceAccent};
425
+ ${tokens.checkboxIconColor}: ${onDarkTextPrimary};
426
+ ${tokens.checkboxTriggerBorderCheckedColor}: ${surfaceClear};
427
+ ${tokens.checkboxTriggerBorderColor}: ${outlineTransparentSecondary};
428
+ `,
429
+ dark: css`
430
+ ${tokens.textFieldColor}: ${textPrimary};
431
+
432
+ ${tokens.textFieldPlaceholderColor}: ${textSecondary};
433
+ ${tokens.textFieldPlaceholderColorFocus}: ${textSecondary};
434
+
435
+ ${tokens.textFieldBackgroundColor}: transparent;
436
+ ${tokens.textFieldBackgroundColorFocus}: transparent;
437
+ ${tokens.textFieldTextBeforeColor}: ${textTertiary};
438
+ ${tokens.textFieldTextAfterColor}: ${textTertiary};
439
+ ${tokens.textFieldLabelColor}: ${textPrimary};
440
+ ${tokens.textFieldLeftHelperColor}: ${textSecondary};
441
+ ${tokens.textFieldTitleCaptionColor}: ${textSecondary};
442
+ ${tokens.textFieldFocusColor}: ${textAccent};
443
+
444
+ ${tokens.textFieldBorderColor}: ${outlineTransparentPrimary};
445
+ ${tokens.textFieldBorderColorFocus}: ${outlineSolidSecondary};
446
+ ${tokens.textFieldBackgroundColorHover}: transparent;
447
+ ${tokens.textFieldDividerColor}: ${surfaceTransparentTertiary};
448
+ ${tokens.textFieldDividerColorHover}: ${textSecondary};
449
+ ${tokens.textFieldDividerColorFocus}: ${surfaceAccent};
450
+ ${tokens.textFieldClearPlaceholderColor}: ${textSecondary};
451
+ ${tokens.textFieldClearPlaceholderColorFocus}: ${textTertiary};
452
+ ${tokens.textFieldBorderColorHover}: ${outlineTransparentPrimaryHover};
453
+
454
+ ${tokens.textFieldBoxShadow}: inset 0 0 0 0 transparent;
455
+ ${tokens.textFieldBoxShadowSecondary}: 0 0 0 0.25rem #E8EEF2;
456
+
457
+ ${tokens.buttonColor}: ${onDarkTextPrimary};
458
+ ${tokens.buttonColorHover}: ${onDarkTextPrimary};
459
+ ${tokens.buttonColorActive}: ${onDarkTextPrimary};
460
+ ${tokens.buttonArrowColor}: ${onDarkTextAccent};
461
+ ${tokens.buttonArrowColorHover}: ${onDarkTextAccentHover};
462
+ ${tokens.buttonArrowColorActive}: ${onDarkTextAccentActive};
463
+ ${tokens.buttonBackgroundColor}:${onLightSurfaceTransparentDeep};
464
+ ${tokens.buttonBackgroundColorHover}:${onLightSurfaceTransparentDeepHover};
465
+ ${tokens.buttonBackgroundColorActive}:${onLightSurfaceTransparentDeepActive};
466
+
467
+ ${tokens.disclosureIconColor}: ${textSecondary};
468
+ ${tokens.disclosureIconColorHover}: ${textSecondaryHover};
469
+ ${tokens.itemBackgroundHover}: ${surfaceTransparentSecondary};
470
+ ${tokens.itemDisabledOpacity}: 0.4;
471
+ ${tokens.itemDisabledColor}: ${textPrimary};
472
+
473
+ ${tokens.dividerColor}: ${surfaceTransparentTertiary};
474
+
475
+ ${tokens.itemIconColor}: ${textAccent};
476
+
477
+ ${tokens.checkboxFillColor}: ${surfaceAccent};
478
+ ${tokens.checkboxIconColor}: ${onDarkTextPrimary};
479
+ ${tokens.checkboxTriggerBorderCheckedColor}: ${surfaceClear};
480
+ ${tokens.checkboxTriggerBorderColor}: ${outlineTransparentSecondary};
481
+ `,
482
+ black: css`
483
+ ${tokens.textFieldColor}: ${textPrimary};
484
+
485
+ ${tokens.textFieldPlaceholderColor}: ${textSecondary};
486
+ ${tokens.textFieldPlaceholderColorFocus}: ${textSecondary};
487
+
488
+ ${tokens.textFieldBackgroundColor}: transparent;
489
+ ${tokens.textFieldBackgroundColorFocus}: transparent;
490
+ ${tokens.textFieldTextBeforeColor}: ${textTertiary};
491
+ ${tokens.textFieldTextAfterColor}: ${textTertiary};
492
+ ${tokens.textFieldLabelColor}: ${textPrimary};
493
+ ${tokens.textFieldLeftHelperColor}: ${textSecondary};
494
+ ${tokens.textFieldTitleCaptionColor}: ${textSecondary};
495
+ ${tokens.textFieldFocusColor}: ${textAccent};
496
+
497
+ ${tokens.textFieldBorderColor}: ${outlineTransparentPrimary};
498
+ ${tokens.textFieldBorderColorFocus}: ${outlineSolidSecondary};
499
+ ${tokens.textFieldBackgroundColorHover}: transparent;
500
+ ${tokens.textFieldDividerColor}: ${surfaceTransparentTertiary};
501
+ ${tokens.textFieldDividerColorHover}: ${textSecondary};
502
+ ${tokens.textFieldDividerColorFocus}: ${surfaceAccent};
503
+ ${tokens.textFieldClearPlaceholderColor}: ${textSecondary};
504
+ ${tokens.textFieldClearPlaceholderColorFocus}: ${textTertiary};
505
+ ${tokens.textFieldBorderColorHover}: ${outlineTransparentPrimaryHover};
506
+
507
+ ${tokens.textFieldBoxShadow}: inset 0 0 0 0 transparent;
508
+ ${tokens.textFieldBoxShadowSecondary}: 0 0 0 0.25rem #E8EEF2;
509
+
510
+ ${tokens.buttonColor}: ${onDarkTextPrimary};
511
+ ${tokens.buttonColorHover}: ${onDarkTextPrimary};
512
+ ${tokens.buttonColorActive}: ${onDarkTextPrimary};
513
+ ${tokens.buttonArrowColor}: ${onDarkTextAccent};
514
+ ${tokens.buttonArrowColorHover}: ${onDarkTextAccentHover};
515
+ ${tokens.buttonArrowColorActive}: ${onDarkTextAccentActive};
516
+ ${tokens.buttonBackgroundColor}:${onLightSurfaceSolidDefault};
517
+ ${tokens.buttonBackgroundColorHover}:${onLightSurfaceSolidDefaultHover};
518
+ ${tokens.buttonBackgroundColorActive}: ${onLightSurfaceSolidDefaultActive};
519
+
520
+ ${tokens.disclosureIconColor}: ${textSecondary};
521
+ ${tokens.disclosureIconColorHover}: ${textSecondaryHover};
522
+ ${tokens.itemBackgroundHover}: ${surfaceTransparentSecondary};
523
+ ${tokens.itemDisabledOpacity}: 0.4;
524
+ ${tokens.itemDisabledColor}: ${textPrimary};
525
+
526
+ ${tokens.dividerColor}: ${surfaceTransparentTertiary};
527
+
528
+ ${tokens.itemIconColor}: ${textAccent};
529
+
530
+ ${tokens.checkboxFillColor}: ${surfaceAccent};
531
+ ${tokens.checkboxIconColor}: ${onDarkTextPrimary};
532
+ ${tokens.checkboxTriggerBorderCheckedColor}: ${surfaceClear};
533
+ ${tokens.checkboxTriggerBorderColor}: ${outlineTransparentSecondary};
534
+ `,
535
+ white: css`
536
+ ${tokens.textFieldColor}: ${textPrimary};
537
+
538
+ ${tokens.textFieldPlaceholderColor}: ${textSecondary};
539
+ ${tokens.textFieldPlaceholderColorFocus}: ${textSecondary};
540
+
541
+ ${tokens.textFieldBackgroundColor}: transparent;
542
+ ${tokens.textFieldBackgroundColorFocus}: transparent;
543
+ ${tokens.textFieldTextBeforeColor}: ${textTertiary};
544
+ ${tokens.textFieldTextAfterColor}: ${textTertiary};
545
+ ${tokens.textFieldLabelColor}: ${textPrimary};
546
+ ${tokens.textFieldLeftHelperColor}: ${textSecondary};
547
+ ${tokens.textFieldTitleCaptionColor}: ${textSecondary};
548
+ ${tokens.textFieldFocusColor}: ${textAccent};
549
+
550
+ ${tokens.textFieldBorderColor}: ${outlineTransparentPrimary};
551
+ ${tokens.textFieldBorderColorFocus}: ${outlineSolidSecondary};
552
+ ${tokens.textFieldBackgroundColorHover}: transparent;
553
+ ${tokens.textFieldDividerColor}: ${surfaceTransparentTertiary};
554
+ ${tokens.textFieldDividerColorHover}: ${textSecondary};
555
+ ${tokens.textFieldDividerColorFocus}: ${surfaceAccent};
556
+ ${tokens.textFieldClearPlaceholderColor}: ${textSecondary};
557
+ ${tokens.textFieldClearPlaceholderColorFocus}: ${textTertiary};
558
+ ${tokens.textFieldBorderColorHover}: ${outlineTransparentPrimaryHover};
559
+
560
+ ${tokens.textFieldBoxShadow}: inset 0 0 0 0 transparent;
561
+ ${tokens.textFieldBoxShadowSecondary}: 0 0 0 0.25rem #E8EEF2;
562
+
563
+ ${tokens.buttonColor}: ${onLightTextPrimary};
564
+ ${tokens.buttonColorHover}: ${onLightTextPrimary};
565
+ ${tokens.buttonColorActive}: ${onLightTextPrimary};
566
+ ${tokens.buttonArrowColor}: ${onLightTextAccent};
567
+ ${tokens.buttonArrowColorHover}: ${onLightTextAccentHover};
568
+ ${tokens.buttonArrowColorActive}: ${onLightTextAccentActive};
569
+ ${tokens.buttonBackgroundColor}:${onDarkSurfaceSolidDefault};
570
+ ${tokens.buttonBackgroundColorHover}:${onDarkSurfaceSolidDefaultHover};
571
+ ${tokens.buttonBackgroundColorActive}:${onDarkSurfaceSolidDefaultActive};
572
+
573
+ ${tokens.itemBackgroundHover}: ${surfaceTransparentSecondary};
574
+ ${tokens.disclosureIconColor}: ${textSecondary};
575
+ ${tokens.disclosureIconColorHover}: ${textSecondaryHover};
576
+ ${tokens.itemDisabledOpacity}: 0.4;
577
+ ${tokens.itemDisabledColor}: ${textPrimary};
578
+
579
+ ${tokens.dividerColor}: ${surfaceTransparentTertiary};
580
+
581
+ ${tokens.itemIconColor}: ${textAccent};
582
+
583
+ ${tokens.checkboxFillColor}: ${surfaceAccent};
584
+ ${tokens.checkboxIconColor}: ${onDarkTextPrimary};
585
+ ${tokens.checkboxTriggerBorderCheckedColor}: ${surfaceClear};
586
+ ${tokens.checkboxTriggerBorderColor}: ${outlineTransparentSecondary};
587
+ `
588
+ },
589
+ size: {
590
+ xl: css`
591
+ ${tokens.textFieldHeight}: 4rem;
592
+ ${tokens.textFieldPadding}: 1.375rem 0;
593
+ ${tokens.textFieldPaddingWithChips}: 0.375rem 0;
594
+ ${tokens.textFieldBorderRadius}: 0;
595
+ ${tokens.textFieldBorderWidth}: 0;
596
+
597
+ ${tokens.textFieldLeftContentMargin}: -0.125rem 0.625rem -0.125rem 0rem;
598
+ ${tokens.textFieldRightContentMargin}: -0.125rem 0rem -0.125rem 0.75rem;
599
+
600
+ ${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0;
601
+ ${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem;
602
+
603
+ ${tokens.textFieldFontFamily}: ${bodyL.fontFamily};
604
+ ${tokens.textFieldFontSize}: ${bodyL.fontSize};
605
+ ${tokens.textFieldFontStyle}: ${bodyL.fontStyle};
606
+ ${tokens.textFieldFontWeight}: ${bodyL.fontWeight};
607
+ ${tokens.textFieldLetterSpacing}: ${bodyL.letterSpacing};
608
+ ${tokens.textFieldLineHeight}: ${bodyL.lineHeight};
609
+
610
+ ${tokens.textFieldLabelOffset}: 0.75rem;
611
+ ${tokens.textFieldLabelFontFamily}: ${bodyL.fontFamily};
612
+ ${tokens.textFieldLabelFontSize}: ${bodyL.fontSize};
613
+ ${tokens.textFieldLabelFontStyle}: ${bodyL.fontStyle};
614
+ ${tokens.textFieldLabelFontWeight}: ${bodyL.fontWeight};
615
+ ${tokens.textFieldLabelLetterSpacing}: ${bodyL.letterSpacing};
616
+ ${tokens.textFieldLabelLineHeight}: ${bodyL.lineHeight};
617
+ ${tokens.textFieldTitleCaptionMargin}: 0.375rem;
618
+ ${tokens.textFieldTitleCaptionFontFamily}: ${bodyXS.fontFamily};
619
+ ${tokens.textFieldTitleCaptionFontSize}: ${bodyXS.fontSize};
620
+ ${tokens.textFieldTitleCaptionFontStyle}: ${bodyXS.fontStyle};
621
+ ${tokens.textFieldTitleCaptionFontWeight}: ${bodyXS.fontWeight};
622
+ ${tokens.textFieldTitleCaptionLetterSpacing}: ${bodyXS.letterSpacing};
623
+ ${tokens.textFieldTitleCaptionLineHeight}: ${bodyXS.lineHeight};
624
+
625
+ ${tokens.textFieldLabelInnerFontFamily}: ${bodyXS.fontFamily};
626
+ ${tokens.textFieldLabelInnerFontSize}: ${bodyXS.fontSize};
627
+ ${tokens.textFieldLabelInnerFontStyle}: ${bodyXS.fontStyle};
628
+ ${tokens.textFieldLabelInnerFontWeight}: ${bodyXS.fontWeight};
629
+ ${tokens.textFieldLabelInnerLetterSpacing}: ${bodyXS.letterSpacing};
630
+ ${tokens.textFieldLabelInnerLineHeight}: ${bodyXS.lineHeight};
631
+
632
+ ${tokens.textFieldLeftHelperOffset}: 0.25rem 0 0 0;
633
+ ${tokens.textFieldLeftHelperFontFamily}: ${bodyXS.fontFamily};
634
+ ${tokens.textFieldLeftHelperFontSize}: ${bodyXS.fontSize};
635
+ ${tokens.textFieldLeftHelperFontStyle}: ${bodyXS.fontStyle};
636
+ ${tokens.textFieldLeftHelperFontWeight}: ${bodyXS.fontWeight};
637
+ ${tokens.textFieldLeftHelperLetterSpacing}: ${bodyXS.letterSpacing};
638
+ ${tokens.textFieldLeftHelperLineHeight}: ${bodyXS.lineHeight};
639
+
640
+ ${tokens.textFieldLabelInnerPadding}: 0.8125rem 0 0.125rem 0;
641
+ ${tokens.textFieldContentLabelInnerPadding}: 1.8125rem 0 0.8125rem 0;
642
+
643
+ ${tokens.textFieldIndicatorSizeInner}: 0.5rem;
644
+ ${tokens.textFieldIndicatorSizeOuter}: 0.375rem;
645
+ ${tokens.textFieldIndicatorLabelPlacementInner}: 0 0 0 0;
646
+ ${tokens.textFieldIndicatorLabelPlacementOuter}: 0.5rem auto auto -0.75rem;
647
+ ${tokens.textFieldIndicatorLabelPlacementInnerRight}: 0 0 auto auto;
648
+ ${tokens.textFieldIndicatorLabelPlacementOuterRight}: 0.25rem -0.625rem auto auto;
649
+ ${tokens.textFieldClearIndicatorLabelPlacementInner}: 1.75rem auto auto -0.875rem;
650
+ ${tokens.textFieldClearIndicatorLabelPlacementInnerRight}: 1.75rem -0.875rem auto auto;
651
+ ${tokens.textFieldClearIndicatorHintInnerRight}: 1.75rem -2.488rem auto auto;
652
+
653
+ ${tokens.textFieldHintMargin}: -0.688rem -0.5rem;
654
+ ${tokens.textFieldHintTargetSize}: 2.375rem;
655
+ ${tokens.textFieldHintInnerLabelPlacementOffset}: 0.82rem -2.938rem auto auto;
656
+ ${tokens.textFieldClearHintInnerLabelPlacementOffset}: 0.82rem -2.063rem auto auto;
657
+ ${tokens.textFieldClearIndicatorHintInnerRight}: 1.75rem -2.488rem auto auto;
658
+
659
+ ${tokens.textFieldChipGap}: 0.125rem;
660
+ ${tokens.textFieldChipBorderRadius}: 0.625rem;
661
+ ${tokens.textFieldChipWidth}: auto;
662
+ ${tokens.textFieldChipHeight}: 3.25rem;
663
+ ${tokens.textFieldChipPadding}: 0 0.75rem 0 1rem;
664
+ ${tokens.textFieldChipClearContentMarginLeft}: 0.625rem;
665
+ ${tokens.textFieldChipClearContentMarginRight}: 0rem;
666
+ ${tokens.textFieldChipCloseIconSize}: 1.5rem;
667
+ ${tokens.textFieldChipFontFamily}: ${bodyL.fontFamily};
668
+ ${tokens.textFieldChipFontSize}: ${bodyL.fontSize};
669
+ ${tokens.textFieldChipFontStyle}: ${bodyL.fontStyle};
670
+ ${tokens.textFieldChipFontWeight}: ${bodyL.fontWeight};
671
+ ${tokens.textFieldChipLetterSpacing}: ${bodyL.letterSpacing};
672
+ ${tokens.textFieldChipLineHeight}: ${bodyL.lineHeight};
673
+
674
+ ${tokens.buttonArrowMargin}: 0 -0.125rem 0 0.5rem;
675
+ ${tokens.targetHeight}: 4rem;
676
+ ${tokens.buttonPadding}: 1.625rem 0 1.75rem;
677
+
678
+ ${tokens.emptyStatePadding}: 1.375rem 1.125rem;
679
+ ${tokens.padding}: 0.125rem;
680
+ ${tokens.margin}: 0.375rem;
681
+ ${tokens.borderRadius}: 1rem;
682
+
683
+ ${tokens.itemHeight}: 1.5rem;
684
+ ${tokens.itemPadding}: 1.25rem 1.125rem;
685
+ ${tokens.itemPaddingTight}: 1rem 1.125rem;
686
+ ${tokens.itemBorderRadius}: 0.875rem;
687
+ ${tokens.itemIconMargin}: 0 0.625rem 0 0;
688
+ ${tokens.itemIconSize}: 1.5rem;
689
+ ${tokens.itemIconSizeTight}: 1.5rem;
690
+ ${tokens.itemGap}: 0.5rem;
691
+ ${tokens.itemTreeOffsetWidth}: 2rem;
692
+
693
+ ${tokens.cellPadding}: 0rem;
694
+ ${tokens.cellPaddingLeftContent}: 0rem;
695
+ ${tokens.cellPaddingContent}: 0rem;
696
+ ${tokens.cellPaddingRightContent}: 0rem;
697
+ ${tokens.cellTextboxGap}: 0.125rem;
698
+ ${tokens.cellGap}: 0.375rem;
699
+ ${tokens.cellTitleFontFamily}: ${bodyL.fontFamily};
700
+ ${tokens.cellTitleFontSize}: ${bodyL.fontSize};
701
+ ${tokens.cellTitleFontStyle}: ${bodyL.fontStyle};
702
+ ${tokens.cellTitleFontWeight}: ${bodyL.fontWeight};
703
+ ${tokens.cellTitleLetterSpacing}: ${bodyL.letterSpacing};
704
+ ${tokens.cellTitleLineHeight}: ${bodyL.lineHeight};
705
+
706
+ ${tokens.fontFamily}: ${bodyL.fontFamily};
707
+ ${tokens.fontSize}: ${bodyL.fontSize};
708
+ ${tokens.fontStyle}: ${bodyL.fontStyle};
709
+ ${tokens.fontWeight}: ${bodyL.fontWeight};
710
+ ${tokens.fontLetterSpacing}: ${bodyL.letterSpacing};
711
+ ${tokens.fontLineHeight}: ${bodyL.lineHeight};
712
+
713
+ ${tokens.checkboxTriggerSize}: 1.25rem;
714
+ ${tokens.checkboxTriggerSizeTight}: 1.25rem;
715
+ ${tokens.checkboxTriggerBorderRadius}: 0.375rem;
716
+ ${tokens.checkboxTriggerBorderRadiusTight}: 0.3125rem;
717
+ ${tokens.checkboxTriggerBorderWidth}: 0.063rem;
718
+
719
+ ${tokens.indicatorSize}: 0.375rem;
720
+
721
+ ${tokens.disclosureIconSize}: 1.5rem;
722
+ ${tokens.disclosureIconMargin}: 0 0 0 0.625rem;
723
+
724
+ ${tokens.dividerMarginTop}: 0.5rem;
725
+ ${tokens.dividerMarginRight}: 1rem;
726
+ ${tokens.dividerMarginBottom}: 0.5rem;
727
+ ${tokens.dividerMarginLeft}: 1rem;
728
+ ${tokens.dividerMarginTopTight}: 0.375rem;
729
+ ${tokens.dividerMarginBottomTight}: 0.375rem;
730
+ `,
731
+ l: css`
732
+ ${tokens.textFieldHeight}: 3.5rem;
733
+ ${tokens.textFieldPadding}: 1rem 0;
734
+ ${tokens.textFieldPaddingWithChips}: 0.375rem 0;
735
+ ${tokens.textFieldBorderRadius}: 0;
736
+ ${tokens.textFieldBorderWidth}: 0;
737
+
738
+ ${tokens.textFieldLeftContentMargin}: -0.0625rem 0.625rem -0.0625rem 0rem;
739
+ ${tokens.textFieldRightContentMargin}: -0.0625rem 0rem -0.0625rem 0.75rem;
740
+
741
+ ${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0;
742
+ ${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem;
743
+
744
+ ${tokens.textFieldFontFamily}: ${bodyL.fontFamily};
745
+ ${tokens.textFieldFontSize}: ${bodyL.fontSize};
746
+ ${tokens.textFieldFontStyle}: ${bodyL.fontStyle};
747
+ ${tokens.textFieldFontWeight}: ${bodyL.fontWeight};
748
+ ${tokens.textFieldLetterSpacing}: ${bodyL.letterSpacing};
749
+ ${tokens.textFieldLineHeight}: ${bodyL.lineHeight};
750
+
751
+ ${tokens.textFieldLabelOffset}: 0.75rem;
752
+ ${tokens.textFieldLabelFontFamily}: ${bodyL.fontFamily};
753
+ ${tokens.textFieldLabelFontSize}: ${bodyL.fontSize};
754
+ ${tokens.textFieldLabelFontStyle}: ${bodyL.fontStyle};
755
+ ${tokens.textFieldLabelFontWeight}: ${bodyL.fontWeight};
756
+ ${tokens.textFieldLabelLetterSpacing}: ${bodyL.letterSpacing};
757
+ ${tokens.textFieldLabelLineHeight}: ${bodyL.lineHeight};
758
+ ${tokens.textFieldTitleCaptionMargin}: 0.375rem;
759
+ ${tokens.textFieldTitleCaptionFontFamily}: ${bodyXS.fontFamily};
760
+ ${tokens.textFieldTitleCaptionFontSize}: ${bodyXS.fontSize};
761
+ ${tokens.textFieldTitleCaptionFontStyle}: ${bodyXS.fontStyle};
762
+ ${tokens.textFieldTitleCaptionFontWeight}: ${bodyXS.fontWeight};
763
+ ${tokens.textFieldTitleCaptionLetterSpacing}: ${bodyXS.letterSpacing};
764
+ ${tokens.textFieldTitleCaptionLineHeight}: ${bodyXS.lineHeight};
765
+
766
+ ${tokens.textFieldLabelInnerFontFamily}: ${bodyXS.fontFamily};
767
+ ${tokens.textFieldLabelInnerFontSize}: ${bodyXS.fontSize};
768
+ ${tokens.textFieldLabelInnerFontStyle}: ${bodyXS.fontStyle};
769
+ ${tokens.textFieldLabelInnerFontWeight}: ${bodyXS.fontWeight};
770
+ ${tokens.textFieldLabelInnerLetterSpacing}: ${bodyXS.letterSpacing};
771
+ ${tokens.textFieldLabelInnerLineHeight}: ${bodyXS.lineHeight};
772
+
773
+ ${tokens.textFieldLeftHelperOffset}: 0.25rem 0 0 0;
774
+ ${tokens.textFieldLeftHelperFontFamily}: ${bodyXS.fontFamily};
775
+ ${tokens.textFieldLeftHelperFontSize}: ${bodyXS.fontSize};
776
+ ${tokens.textFieldLeftHelperFontStyle}: ${bodyXS.fontStyle};
777
+ ${tokens.textFieldLeftHelperFontWeight}: ${bodyXS.fontWeight};
778
+ ${tokens.textFieldLeftHelperLetterSpacing}: ${bodyXS.letterSpacing};
779
+ ${tokens.textFieldLeftHelperLineHeight}: ${bodyXS.lineHeight};
780
+
781
+ ${tokens.textFieldLabelInnerPadding}: 0.5625rem 0 0.125rem 0;
782
+ ${tokens.textFieldContentLabelInnerPadding}: 1.5625rem 0 0.5625rem 0;
783
+
784
+ ${tokens.textFieldIndicatorSizeInner}: 0.5rem;
785
+ ${tokens.textFieldIndicatorSizeOuter}: 0.375rem;
786
+ ${tokens.textFieldIndicatorLabelPlacementInner}: 0 0 0 0;
787
+ ${tokens.textFieldIndicatorLabelPlacementOuter}: 0.375rem auto auto -0.75rem;
788
+ ${tokens.textFieldIndicatorLabelPlacementInnerRight}: 0 0 auto auto;
789
+ ${tokens.textFieldIndicatorLabelPlacementOuterRight}: 0.25rem -0.625rem auto auto;
790
+ ${tokens.textFieldClearIndicatorLabelPlacementInner}: 1.5rem auto auto -0.875rem;
791
+ ${tokens.textFieldClearIndicatorLabelPlacementInnerRight}: 1.5rem -0.875rem auto auto;
792
+ ${tokens.textFieldClearIndicatorHintInnerRight}: 1.5rem -2.25rem auto auto;
793
+
794
+ ${tokens.textFieldHintMargin}: -0.688rem -0.5rem;
795
+ ${tokens.textFieldHintTargetSize}: 2.375rem;
796
+ ${tokens.textFieldHintInnerLabelPlacementOffset}: 0.563rem -2.938rem auto auto;
797
+ ${tokens.textFieldClearHintInnerLabelPlacementOffset}: 0.563rem -2.188rem auto auto;
798
+ ${tokens.textFieldClearIndicatorHintInnerRight}: 1.5rem -2.488rem auto auto;
799
+
800
+ ${tokens.textFieldChipGap}: 0.125rem;
801
+ ${tokens.textFieldChipBorderRadius}: 0.5rem;
802
+ ${tokens.textFieldChipWidth}: auto;
803
+ ${tokens.textFieldChipHeight}: 2.75rem;
804
+ ${tokens.textFieldChipPadding}: 0 0.75rem 0 1rem;
805
+ ${tokens.textFieldChipClearContentMarginLeft}: 0.625rem;
806
+ ${tokens.textFieldChipClearContentMarginRight}: 0rem;
807
+ ${tokens.textFieldChipCloseIconSize}: 1.25rem;
808
+ ${tokens.textFieldChipFontFamily}: ${bodyL.fontFamily};
809
+ ${tokens.textFieldChipFontSize}: ${bodyL.fontSize};
810
+ ${tokens.textFieldChipFontStyle}: ${bodyL.fontStyle};
811
+ ${tokens.textFieldChipFontWeight}: ${bodyL.fontWeight};
812
+ ${tokens.textFieldChipLetterSpacing}: ${bodyL.letterSpacing};
813
+ ${tokens.textFieldChipLineHeight}: ${bodyL.lineHeight};
814
+
815
+ ${tokens.buttonArrowMargin}: 0 -0.125rem 0 0.5rem;
816
+ ${tokens.targetHeight}: 3.5rem;
817
+ ${tokens.buttonPadding}: 1.375rem 0 1.375rem;
818
+
819
+ ${tokens.emptyStatePadding}: 1rem;
820
+ ${tokens.padding}: 0.125rem;
821
+ ${tokens.margin}: 0.375rem;
822
+ ${tokens.borderRadius}: 0.875rem;
823
+
824
+ ${tokens.itemHeight}: 1.5rem;
825
+ ${tokens.itemPadding}: 1rem;
826
+ ${tokens.itemPaddingTight}: 0.75rem 1rem;
827
+ ${tokens.itemBorderRadius}: 0.75rem;
828
+ ${tokens.itemIconMargin}: 0 0.625rem 0 0;
829
+ ${tokens.itemIconSize}: 1.5rem;
830
+ ${tokens.itemIconSizeTight}: 1.5rem;
831
+ ${tokens.itemGap}: 0.5rem;
832
+ ${tokens.itemTreeOffsetWidth}: 2rem;
833
+
834
+ ${tokens.cellPadding}: 0rem;
835
+ ${tokens.cellPaddingLeftContent}: 0rem;
836
+ ${tokens.cellPaddingContent}: 0rem;
837
+ ${tokens.cellPaddingRightContent}: 0rem;
838
+ ${tokens.cellTextboxGap}: 0.125rem;
839
+ ${tokens.cellGap}: 0.375rem;
840
+ ${tokens.cellTitleFontFamily}: ${bodyL.fontFamily};
841
+ ${tokens.cellTitleFontSize}: ${bodyL.fontSize};
842
+ ${tokens.cellTitleFontStyle}: ${bodyL.fontStyle};
843
+ ${tokens.cellTitleFontWeight}: ${bodyL.fontWeight};
844
+ ${tokens.cellTitleLetterSpacing}: ${bodyL.letterSpacing};
845
+ ${tokens.cellTitleLineHeight}: ${bodyL.lineHeight};
846
+
847
+ ${tokens.fontFamily}: ${bodyL.fontFamily};
848
+ ${tokens.fontSize}: ${bodyL.fontSize};
849
+ ${tokens.fontStyle}: ${bodyL.fontStyle};
850
+ ${tokens.fontWeight}: ${bodyL.fontWeight};
851
+ ${tokens.fontLetterSpacing}: ${bodyL.letterSpacing};
852
+ ${tokens.fontLineHeight}: ${bodyL.lineHeight};
853
+
854
+ ${tokens.checkboxTriggerSize}: 1.25rem;
855
+ ${tokens.checkboxTriggerSizeTight}: 1.25rem;
856
+ ${tokens.checkboxTriggerBorderRadius}: 0.375rem;
857
+ ${tokens.checkboxTriggerBorderRadiusTight}: 0.375rem;
858
+ ${tokens.checkboxTriggerBorderWidth}: 0.063rem;
859
+
860
+ ${tokens.indicatorSize}: 0.375rem;
861
+
862
+ ${tokens.disclosureIconSize}: 1.5rem;
863
+ ${tokens.disclosureIconMargin}: 0 0 0 0.625rem;
864
+
865
+ ${tokens.dividerMarginTop}: 0.5rem;
866
+ ${tokens.dividerMarginRight}: 1rem;
867
+ ${tokens.dividerMarginBottom}: 0.5rem;
868
+ ${tokens.dividerMarginLeft}: 1rem;
869
+ ${tokens.dividerMarginTopTight}: 0.375rem;
870
+ ${tokens.dividerMarginBottomTight}: 0.375rem;
871
+ `,
872
+ m: css`
873
+ ${tokens.textFieldHeight}: 3rem;
874
+ ${tokens.textFieldPadding}: 0.875rem 0;
875
+ ${tokens.textFieldPaddingWithChips}: 0.375rem 0;
876
+ ${tokens.textFieldBorderRadius}: 0;
877
+ ${tokens.textFieldBorderWidth}: 0;
878
+
879
+ ${tokens.textFieldLeftContentMargin}: -0.125rem 0.625rem -0.125rem 0rem;
880
+ ${tokens.textFieldRightContentMargin}: -0.125rem 0rem -0.125rem 0.75rem;
881
+
882
+ ${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0;
883
+ ${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem;
884
+
885
+ ${tokens.textFieldFontFamily}: ${bodyM.fontFamily};
886
+ ${tokens.textFieldFontSize}: ${bodyM.fontSize};
887
+ ${tokens.textFieldFontStyle}: ${bodyM.fontStyle};
888
+ ${tokens.textFieldFontWeight}: ${bodyM.fontWeight};
889
+ ${tokens.textFieldLetterSpacing}: ${bodyM.letterSpacing};
890
+ ${tokens.textFieldLineHeight}: ${bodyM.lineHeight};
891
+
892
+ ${tokens.textFieldLabelOffset}: 0.625rem;
893
+ ${tokens.textFieldLabelFontFamily}: ${bodyM.fontFamily};
894
+ ${tokens.textFieldLabelFontSize}: ${bodyM.fontSize};
895
+ ${tokens.textFieldLabelFontStyle}: ${bodyM.fontStyle};
896
+ ${tokens.textFieldLabelFontWeight}: ${bodyM.fontWeight};
897
+ ${tokens.textFieldLabelLetterSpacing}: ${bodyM.letterSpacing};
898
+ ${tokens.textFieldLabelLineHeight}: ${bodyM.lineHeight};
899
+ ${tokens.textFieldTitleCaptionMargin}: 0.3125rem;
900
+ ${tokens.textFieldTitleCaptionFontFamily}: ${bodyXS.fontFamily};
901
+ ${tokens.textFieldTitleCaptionFontSize}: ${bodyXS.fontSize};
902
+ ${tokens.textFieldTitleCaptionFontStyle}: ${bodyXS.fontStyle};
903
+ ${tokens.textFieldTitleCaptionFontWeight}: ${bodyXS.fontWeight};
904
+ ${tokens.textFieldTitleCaptionLetterSpacing}: ${bodyXS.letterSpacing};
905
+ ${tokens.textFieldTitleCaptionLineHeight}: ${bodyXS.lineHeight};
906
+
907
+ ${tokens.textFieldLabelInnerFontFamily}: ${bodyXS.fontFamily};
908
+ ${tokens.textFieldLabelInnerFontSize}: ${bodyXS.fontSize};
909
+ ${tokens.textFieldLabelInnerFontStyle}: ${bodyXS.fontStyle};
910
+ ${tokens.textFieldLabelInnerFontWeight}: ${bodyXS.fontWeight};
911
+ ${tokens.textFieldLabelInnerLetterSpacing}: ${bodyXS.letterSpacing};
912
+ ${tokens.textFieldLabelInnerLineHeight}: ${bodyXS.lineHeight};
913
+
914
+ ${tokens.textFieldLeftHelperOffset}: 0.25rem 0 0 0;
915
+ ${tokens.textFieldLeftHelperFontFamily}: ${bodyXS.fontFamily};
916
+ ${tokens.textFieldLeftHelperFontSize}: ${bodyXS.fontSize};
917
+ ${tokens.textFieldLeftHelperFontStyle}: ${bodyXS.fontStyle};
918
+ ${tokens.textFieldLeftHelperFontWeight}: ${bodyXS.fontWeight};
919
+ ${tokens.textFieldLeftHelperLetterSpacing}: ${bodyXS.letterSpacing};
920
+ ${tokens.textFieldLeftHelperLineHeight}: ${bodyXS.lineHeight};
921
+
922
+ ${tokens.textFieldLabelInnerPadding}: 0.375rem 0 0.125rem 0;
923
+ ${tokens.textFieldContentLabelInnerPadding}: 1.375rem 0 0.375rem 0;
924
+
925
+ ${tokens.textFieldIndicatorSizeInner}: 0.5rem;
926
+ ${tokens.textFieldIndicatorSizeOuter}: 0.375rem;
927
+ ${tokens.textFieldIndicatorLabelPlacementInner}: 0 0 0 0;
928
+ ${tokens.textFieldIndicatorLabelPlacementOuter}: 0.375rem auto auto -0.75rem;
929
+ ${tokens.textFieldIndicatorLabelPlacementInnerRight}: 0 0 auto auto;
930
+ ${tokens.textFieldIndicatorLabelPlacementOuterRight}: 0.25rem -0.6875rem auto auto;
931
+ ${tokens.textFieldClearIndicatorLabelPlacementInner}: 1.25rem auto auto -0.875rem;
932
+ ${tokens.textFieldClearIndicatorLabelPlacementInnerRight}: 1.25rem -0.875rem auto auto;
933
+ ${tokens.textFieldClearIndicatorHintInnerRight}: 1.25rem -2.25rem auto auto;
934
+
935
+ ${tokens.textFieldHintMargin}: -0.688rem -0.5rem;
936
+ ${tokens.textFieldHintTargetSize}: 2.375rem;
937
+ ${tokens.textFieldHintInnerLabelPlacementOffset}: 0.312rem -2.813rem auto auto;
938
+ ${tokens.textFieldClearHintInnerLabelPlacementOffset}: 0.312rem -2.188rem auto auto;
939
+ ${tokens.textFieldClearIndicatorHintInnerRight}: 1.25rem -2.488rem auto auto;
940
+
941
+ ${tokens.textFieldChipGap}: 0.125rem;
942
+ ${tokens.textFieldChipBorderRadius}: 0.375rem;
943
+ ${tokens.textFieldChipWidth}: auto;
944
+ ${tokens.textFieldChipHeight}: 2.25rem;
945
+ ${tokens.textFieldChipPadding}: 0 0.625rem 0 0.875rem;
946
+ ${tokens.textFieldChipClearContentMarginLeft}: 0.5rem;
947
+ ${tokens.textFieldChipClearContentMarginRight}: 0rem;
948
+ ${tokens.textFieldChipCloseIconSize}: 1rem;
949
+ ${tokens.textFieldChipFontFamily}: ${bodyM.fontFamily};
950
+ ${tokens.textFieldChipFontSize}: ${bodyM.fontSize};
951
+ ${tokens.textFieldChipFontStyle}: ${bodyM.fontStyle};
952
+ ${tokens.textFieldChipFontWeight}: ${bodyM.fontWeight};
953
+ ${tokens.textFieldChipLetterSpacing}: ${bodyM.letterSpacing};
954
+ ${tokens.textFieldChipLineHeight}: ${bodyM.lineHeight};
955
+
956
+ ${tokens.buttonArrowMargin}: 0 -0.125rem 0 0.375rem;
957
+ ${tokens.targetHeight}: 3rem;
958
+ ${tokens.buttonPadding}: 1.25rem 0 1.25rem;
959
+
960
+ ${tokens.emptyStatePadding}: 0.875rem 1rem 0.875rem 1rem;
961
+ ${tokens.padding}: 0.125rem;
962
+ ${tokens.margin}: 0.25rem;
963
+ ${tokens.borderRadius}: 0.75rem;
964
+
965
+ ${tokens.itemHeight}: 1.5rem;
966
+ ${tokens.itemPadding}: 0.875rem;
967
+ ${tokens.itemPaddingTight}: 0.625rem 0.875rem;
968
+ ${tokens.itemBorderRadius}: 0.625rem;
969
+ ${tokens.itemIconMargin}: 0 0.625rem 0 0;
970
+ ${tokens.itemIconSize}: 1.25rem;
971
+ ${tokens.itemIconSizeTight}: 1.25rem;
972
+ ${tokens.itemGap}: 0.375rem;
973
+ ${tokens.itemTreeOffsetWidth}: 2rem;
974
+
975
+ ${tokens.cellPadding}: 0rem;
976
+ ${tokens.cellPaddingLeftContent}: 0rem;
977
+ ${tokens.cellPaddingContent}: 0rem;
978
+ ${tokens.cellPaddingRightContent}: 0rem;
979
+ ${tokens.cellTextboxGap}: 0.125rem;
980
+ ${tokens.cellGap}: 0.375rem;
981
+ ${tokens.cellTitleFontFamily}: ${bodyM.fontFamily};
982
+ ${tokens.cellTitleFontSize}: ${bodyM.fontSize};
983
+ ${tokens.cellTitleFontStyle}: ${bodyM.fontStyle};
984
+ ${tokens.cellTitleFontWeight}: ${bodyM.fontWeight};
985
+ ${tokens.cellTitleLetterSpacing}: ${bodyM.letterSpacing};
986
+ ${tokens.cellTitleLineHeight}: ${bodyM.lineHeight};
987
+
988
+ ${tokens.fontFamily}: ${bodyM.fontFamily};
989
+ ${tokens.fontSize}: ${bodyM.fontSize};
990
+ ${tokens.fontStyle}: ${bodyM.fontStyle};
991
+ ${tokens.fontWeight}: ${bodyM.fontWeight};
992
+ ${tokens.fontLetterSpacing}: ${bodyM.letterSpacing};
993
+ ${tokens.fontLineHeight}: ${bodyM.lineHeight};
994
+
995
+ ${tokens.checkboxTriggerSize}: 1.25rem;
996
+ ${tokens.checkboxTriggerSizeTight}: 1.25rem;
997
+ ${tokens.checkboxTriggerBorderRadius}: 0.375rem;
998
+ ${tokens.checkboxTriggerBorderRadiusTight}: 0.375rem;
999
+ ${tokens.checkboxTriggerBorderWidth}: 0.063rem;
1000
+
1001
+ ${tokens.indicatorSize}: 0.375rem;
1002
+
1003
+ ${tokens.disclosureIconSize}: 1.5rem;
1004
+ ${tokens.disclosureIconMargin}: 0 0 0 0.625rem;
1005
+
1006
+ ${tokens.dividerMarginTop}: 0.375rem;
1007
+ ${tokens.dividerMarginRight}: 0.875rem;
1008
+ ${tokens.dividerMarginBottom}: 0.375rem;
1009
+ ${tokens.dividerMarginLeft}: 0.875rem;
1010
+ ${tokens.dividerMarginTopTight}: 0.375rem;
1011
+ ${tokens.dividerMarginBottomTight}: 0.375rem;
1012
+ `,
1013
+ s: css`
1014
+ ${tokens.textFieldHeight}: 2.5rem;
1015
+ ${tokens.textFieldPadding}: 0.75rem 0;
1016
+ ${tokens.textFieldPaddingWithChips}: 0.375rem 0;
1017
+ ${tokens.textFieldBorderRadius}: 0;
1018
+ ${tokens.textFieldBorderWidth}: 0;
1019
+
1020
+ ${tokens.textFieldLeftContentMargin}: -0.1875rem 0.5rem -0.1875rem 0rem;
1021
+ ${tokens.textFieldRightContentMargin}: -0.1875rem 0rem -0.1875rem 0.75rem;
1022
+
1023
+ ${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0;
1024
+ ${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem;
1025
+
1026
+ ${tokens.textFieldFontFamily}: ${bodyS.fontFamily};
1027
+ ${tokens.textFieldFontSize}: ${bodyS.fontSize};
1028
+ ${tokens.textFieldFontStyle}: ${bodyS.fontStyle};
1029
+ ${tokens.textFieldFontWeight}: ${bodyS.fontWeight};
1030
+ ${tokens.textFieldLetterSpacing}: ${bodyS.letterSpacing};
1031
+ ${tokens.textFieldLineHeight}: ${bodyS.lineHeight};
1032
+
1033
+ ${tokens.textFieldLabelOffset}: 0.5rem;
1034
+ ${tokens.textFieldLabelFontFamily}: ${bodyS.fontFamily};
1035
+ ${tokens.textFieldLabelFontSize}: ${bodyS.fontSize};
1036
+ ${tokens.textFieldLabelFontStyle}: ${bodyS.fontStyle};
1037
+ ${tokens.textFieldLabelFontWeight}: ${bodyS.fontWeight};
1038
+ ${tokens.textFieldLabelLetterSpacing}: ${bodyS.letterSpacing};
1039
+ ${tokens.textFieldLabelLineHeight}: ${bodyS.lineHeight};
1040
+ ${tokens.textFieldTitleCaptionMargin}: 0.1875rem;
1041
+ ${tokens.textFieldTitleCaptionFontFamily}: ${bodyXS.fontFamily};
1042
+ ${tokens.textFieldTitleCaptionFontSize}: ${bodyXS.fontSize};
1043
+ ${tokens.textFieldTitleCaptionFontStyle}: ${bodyXS.fontStyle};
1044
+ ${tokens.textFieldTitleCaptionFontWeight}: ${bodyXS.fontWeight};
1045
+ ${tokens.textFieldTitleCaptionLetterSpacing}: ${bodyXS.letterSpacing};
1046
+ ${tokens.textFieldTitleCaptionLineHeight}: ${bodyXS.lineHeight};
1047
+
1048
+ ${tokens.textFieldLabelInnerFontFamily}: ${bodyXS.fontFamily};
1049
+ ${tokens.textFieldLabelInnerFontSize}: ${bodyXS.fontSize};
1050
+ ${tokens.textFieldLabelInnerFontStyle}: ${bodyXS.fontStyle};
1051
+ ${tokens.textFieldLabelInnerFontWeight}: ${bodyXS.fontWeight};
1052
+ ${tokens.textFieldLabelInnerLetterSpacing}: ${bodyXS.letterSpacing};
1053
+ ${tokens.textFieldLabelInnerLineHeight}: ${bodyXS.lineHeight};
1054
+
1055
+ ${tokens.textFieldLeftHelperOffset}: 0.25rem 0 0 0;
1056
+ ${tokens.textFieldLeftHelperFontFamily}: ${bodyXS.fontFamily};
1057
+ ${tokens.textFieldLeftHelperFontSize}: ${bodyXS.fontSize};
1058
+ ${tokens.textFieldLeftHelperFontStyle}: ${bodyXS.fontStyle};
1059
+ ${tokens.textFieldLeftHelperFontWeight}: ${bodyXS.fontWeight};
1060
+ ${tokens.textFieldLeftHelperLetterSpacing}: ${bodyXS.letterSpacing};
1061
+ ${tokens.textFieldLeftHelperLineHeight}: ${bodyXS.lineHeight};
1062
+
1063
+ ${tokens.textFieldLabelInnerPadding}: 0.25rem 0 0 0;
1064
+ ${tokens.textFieldContentLabelInnerPadding}: 1.125rem 0 0.25rem 0;
1065
+
1066
+ ${tokens.textFieldIndicatorSizeInner}: 0.375rem;
1067
+ ${tokens.textFieldIndicatorSizeOuter}: 0.375rem;
1068
+ ${tokens.textFieldIndicatorLabelPlacementInner}: 0 0 0 0;
1069
+ ${tokens.textFieldIndicatorLabelPlacementOuter}: 0.3125rem auto auto -0.6875rem;
1070
+ ${tokens.textFieldIndicatorLabelPlacementInnerRight}: 0 0 auto auto;
1071
+ ${tokens.textFieldIndicatorLabelPlacementOuterRight}: 0.25rem -0.625rem auto auto;
1072
+ ${tokens.textFieldClearIndicatorLabelPlacementInner}: 1.063rem auto auto -0.75rem;
1073
+ ${tokens.textFieldClearIndicatorLabelPlacementInnerRight}: 1.063rem -0.75rem auto auto;
1074
+ ${tokens.textFieldClearIndicatorHintInnerRight}: 1.063rem -2.125rem auto auto;
1075
+
1076
+ ${tokens.textFieldHintCustomIconTargetSize}:1rem;
1077
+ ${tokens.textFieldHintMargin}: -0.688rem -0.5rem;
1078
+ ${tokens.textFieldHintMargin}: -0.688rem -0.5rem;
1079
+ ${tokens.textFieldHintTargetSize}: 2.375rem;
1080
+ ${tokens.textFieldHintInnerLabelPlacementOffset}: 0.062rem -2.1875rem auto auto;
1081
+ ${tokens.textFieldClearHintInnerLabelPlacementOffset}: 0.062rem -1.938rem auto auto;
1082
+ ${tokens.textFieldClearIndicatorHintInnerRight}: 1.063rem -1.988rem auto auto;
1083
+
1084
+ ${tokens.textFieldChipGap}: 0.125rem;
1085
+ ${tokens.textFieldChipBorderRadius}: 0.25rem;
1086
+ ${tokens.textFieldChipWidth}: auto;
1087
+ ${tokens.textFieldChipHeight}: 1.75rem;
1088
+ ${tokens.textFieldChipPadding}: 0 0.5rem 0 0.75rem;
1089
+ ${tokens.textFieldChipClearContentMarginLeft}: 0.375rem;
1090
+ ${tokens.textFieldChipClearContentMarginRight}: 0rem;
1091
+ ${tokens.textFieldChipCloseIconSize}: 1rem;
1092
+ ${tokens.textFieldChipFontFamily}: ${bodyS.fontFamily};
1093
+ ${tokens.textFieldChipFontSize}: ${bodyS.fontSize};
1094
+ ${tokens.textFieldChipFontStyle}: ${bodyS.fontStyle};
1095
+ ${tokens.textFieldChipFontWeight}: ${bodyS.fontWeight};
1096
+ ${tokens.textFieldChipLetterSpacing}: ${bodyS.letterSpacing};
1097
+ ${tokens.textFieldChipLineHeight}: ${bodyS.lineHeight};
1098
+
1099
+ ${tokens.buttonArrowMargin}: 0 -0.125rem 0 0.25rem;
1100
+ ${tokens.targetHeight}: 2.5rem;
1101
+ ${tokens.buttonPadding}: 1rem 0 1rem;
1102
+
1103
+ ${tokens.emptyStatePadding}: 0.625rem 0.875rem 0.625rem 0.875rem;
1104
+ ${tokens.padding}: 0.125rem;
1105
+ ${tokens.margin}: 0.25rem;
1106
+ ${tokens.borderRadius}: 0.625rem;
1107
+
1108
+ ${tokens.itemHeight}: 1rem;
1109
+ ${tokens.itemPadding}: 0.75rem 0.625rem;
1110
+ ${tokens.itemPaddingTight}: 0.5rem 0.625rem;
1111
+ ${tokens.itemBorderRadius}: 0.5rem;
1112
+ ${tokens.itemIconSize}: 1rem;
1113
+ ${tokens.itemIconSizeTight}: 1rem;
1114
+ ${tokens.itemIconMargin}: 0 0.5rem 0 0;
1115
+ ${tokens.itemGap}: 0.375rem;
1116
+ ${tokens.itemTreeOffsetWidth}: 1.875rem;
1117
+
1118
+ ${tokens.cellPadding}: 0rem;
1119
+ ${tokens.cellPaddingLeftContent}: 0rem;
1120
+ ${tokens.cellPaddingContent}: 0rem;
1121
+ ${tokens.cellPaddingRightContent}: 0rem;
1122
+ ${tokens.cellTextboxGap}: 0.125rem;
1123
+ ${tokens.cellGap}: 0.375rem;
1124
+ ${tokens.cellTitleFontFamily}: ${bodyS.fontFamily};
1125
+ ${tokens.cellTitleFontSize}: ${bodyS.fontSize};
1126
+ ${tokens.cellTitleFontStyle}: ${bodyS.fontStyle};
1127
+ ${tokens.cellTitleFontWeight}: ${bodyS.fontWeight};
1128
+ ${tokens.cellTitleLetterSpacing}: ${bodyS.letterSpacing};
1129
+ ${tokens.cellTitleLineHeight}: ${bodyS.lineHeight};
1130
+
1131
+ ${tokens.fontFamily}: ${bodyS.fontFamily};
1132
+ ${tokens.fontSize}: ${bodyS.fontSize};
1133
+ ${tokens.fontStyle}: ${bodyS.fontStyle};
1134
+ ${tokens.fontWeight}: ${bodyS.fontWeight};
1135
+ ${tokens.fontLetterSpacing}: ${bodyS.letterSpacing};
1136
+ ${tokens.fontLineHeight}: ${bodyS.lineHeight};
1137
+
1138
+ ${tokens.checkboxTriggerSize}: 1.25rem;
1139
+ ${tokens.checkboxTriggerSizeTight}: 0.875rem;
1140
+ ${tokens.checkboxTriggerBorderRadius}: 0.375rem;
1141
+ ${tokens.checkboxTriggerBorderRadiusTight}: 0.25rem;
1142
+ ${tokens.checkboxTriggerBorderWidth}: 0.063rem;
1143
+
1144
+ ${tokens.indicatorSize}: 0.375rem;
1145
+
1146
+ ${tokens.disclosureIconSize}: 1.5rem;
1147
+ ${tokens.disclosureIconMargin}: 0 0 0 0.625rem;
1148
+ ${tokens.disclosureIconMargin}: 0 0 0 0.5rem;
1149
+
1150
+ ${tokens.dividerMarginTop}: 0.375rem;
1151
+ ${tokens.dividerMarginRight}: 0.75rem;
1152
+ ${tokens.dividerMarginBottom}: 0.375rem;
1153
+ ${tokens.dividerMarginLeft}: 0.75rem;
1154
+ ${tokens.dividerMarginTopTight}: 0.25rem;
1155
+ ${tokens.dividerMarginBottomTight}: 0.25rem;
1156
+ `,
1157
+ xs: css`
1158
+ ${tokens.textFieldHeight}: 2rem;
1159
+ ${tokens.textFieldPadding}: 0.5rem 0;
1160
+ ${tokens.textFieldPaddingWithChips}: 0.375rem 0;
1161
+ ${tokens.textFieldBorderRadius}: 0;
1162
+ ${tokens.textFieldBorderWidth}: 0;
1163
+
1164
+ ${tokens.textFieldLeftContentMargin}: -0.0625rem 0.375rem -0.0625rem 0rem;
1165
+ ${tokens.textFieldRightContentMargin}: -0.0625rem 0rem -0.0625rem 0.625rem;
1166
+
1167
+ ${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0;
1168
+ ${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem;
1169
+
1170
+ ${tokens.textFieldFontFamily}: ${bodyXS.fontFamily};
1171
+ ${tokens.textFieldFontSize}: ${bodyXS.fontSize};
1172
+ ${tokens.textFieldFontStyle}: ${bodyXS.fontStyle};
1173
+ ${tokens.textFieldFontWeight}: ${bodyXS.fontWeight};
1174
+ ${tokens.textFieldLetterSpacing}: ${bodyXS.letterSpacing};
1175
+ ${tokens.textFieldLineHeight}: ${bodyXS.lineHeight};
1176
+
1177
+ ${tokens.textFieldLabelOffset}: 0.375rem;
1178
+ ${tokens.textFieldLabelFontFamily}: ${bodyXS.fontFamily};
1179
+ ${tokens.textFieldLabelFontSize}: ${bodyXS.fontSize};
1180
+ ${tokens.textFieldLabelFontStyle}: ${bodyXS.fontStyle};
1181
+ ${tokens.textFieldLabelFontWeight}: ${bodyXS.fontWeight};
1182
+ ${tokens.textFieldLabelLetterSpacing}: ${bodyXS.letterSpacing};
1183
+ ${tokens.textFieldLabelLineHeight}: ${bodyXS.lineHeight};
1184
+ ${tokens.textFieldTitleCaptionMargin}: 0;
1185
+ ${tokens.textFieldTitleCaptionFontFamily}: ${bodyXS.fontFamily};
1186
+ ${tokens.textFieldTitleCaptionFontSize}: ${bodyXS.fontSize};
1187
+ ${tokens.textFieldTitleCaptionFontStyle}: ${bodyXS.fontStyle};
1188
+ ${tokens.textFieldTitleCaptionFontWeight}: ${bodyXS.fontWeight};
1189
+ ${tokens.textFieldTitleCaptionLetterSpacing}: ${bodyXS.letterSpacing};
1190
+ ${tokens.textFieldTitleCaptionLineHeight}: ${bodyXS.lineHeight};
1191
+
1192
+ ${tokens.textFieldLabelInnerFontFamily}: ${bodyXS.fontFamily};
1193
+ ${tokens.textFieldLabelInnerFontSize}: ${bodyXS.fontSize};
1194
+ ${tokens.textFieldLabelInnerFontStyle}: ${bodyXS.fontStyle};
1195
+ ${tokens.textFieldLabelInnerFontWeight}: ${bodyXS.fontWeight};
1196
+ ${tokens.textFieldLabelInnerLetterSpacing}: ${bodyXS.letterSpacing};
1197
+ ${tokens.textFieldLabelInnerLineHeight}: ${bodyXS.lineHeight};
1198
+
1199
+ ${tokens.textFieldLeftHelperOffset}: 0.25rem 0 0 0;
1200
+ ${tokens.textFieldLeftHelperFontFamily}: ${bodyXS.fontFamily};
1201
+ ${tokens.textFieldLeftHelperFontSize}: ${bodyXS.fontSize};
1202
+ ${tokens.textFieldLeftHelperFontStyle}: ${bodyXS.fontStyle};
1203
+ ${tokens.textFieldLeftHelperFontWeight}: ${bodyXS.fontWeight};
1204
+ ${tokens.textFieldLeftHelperLetterSpacing}: ${bodyXS.letterSpacing};
1205
+ ${tokens.textFieldLeftHelperLineHeight}: ${bodyXS.lineHeight};
1206
+
1207
+ ${tokens.textFieldLabelInnerPadding}: 0.3125rem 0 0 0;
1208
+ ${tokens.textFieldContentLabelInnerPadding}: 1.0625rem 0 0.3125rem 0;
1209
+
1210
+ ${tokens.textFieldIndicatorSizeInner}: 0.375rem;
1211
+ ${tokens.textFieldIndicatorSizeOuter}: 0.375rem;
1212
+ ${tokens.textFieldIndicatorLabelPlacementInner}: 0 0 0 0;
1213
+ ${tokens.textFieldIndicatorLabelPlacementOuter}: 0.25rem auto auto -0.625rem;
1214
+ ${tokens.textFieldIndicatorLabelPlacementInnerRight}: 0 0 auto auto;
1215
+ ${tokens.textFieldIndicatorLabelPlacementOuterRight}: 0.125rem -0.6875rem auto auto;
1216
+ ${tokens.textFieldClearIndicatorLabelPlacementInner}: 0.813rem auto auto -0.625rem;
1217
+ ${tokens.textFieldClearIndicatorLabelPlacementInnerRight}: 0.813rem -0.625rem auto auto;
1218
+ ${tokens.textFieldClearIndicatorHintInnerRight}: 0.813rem -1.875rem auto auto;
1219
+
1220
+ ${tokens.textFieldHintMargin}: -0.75rem -0.625rem -0.75rem -0.5rem;
1221
+ ${tokens.textFieldHintTargetSize}: 2.375rem;
1222
+ ${tokens.textFieldHintInnerLabelPlacementOffset}: -0.188rem -2.1875rem auto auto;
1223
+ ${tokens.textFieldClearHintInnerLabelPlacementOffset}: -0.188rem -1.938rem auto auto;
1224
+ ${tokens.textFieldClearIndicatorHintInnerRight}: 0.813rem -1.988rem auto auto;
1225
+
1226
+ ${tokens.textFieldChipGap}: 0.125rem;
1227
+ ${tokens.textFieldChipBorderRadius}: 0.125rem;
1228
+ ${tokens.textFieldChipWidth}: auto;
1229
+ ${tokens.textFieldChipHeight}: 1.25rem;
1230
+ ${tokens.textFieldChipPadding}: 0 0.375rem 0 0.625rem;
1231
+ ${tokens.textFieldChipClearContentMarginLeft}: 0.25rem;
1232
+ ${tokens.textFieldChipClearContentMarginRight}: 0rem;
1233
+ ${tokens.textFieldChipCloseIconSize}: 0.75rem;
1234
+ ${tokens.textFieldChipFontFamily}: ${bodyXS.fontFamily};
1235
+ ${tokens.textFieldChipFontSize}: ${bodyXS.fontSize};
1236
+ ${tokens.textFieldChipFontStyle}: ${bodyXS.fontStyle};
1237
+ ${tokens.textFieldChipFontWeight}: ${bodyXS.fontWeight};
1238
+ ${tokens.textFieldChipLetterSpacing}: ${bodyXS.letterSpacing};
1239
+ ${tokens.textFieldChipLineHeight}: ${bodyXS.lineHeight};
1240
+
1241
+ ${tokens.buttonArrowMargin}: 0 -0.125rem 0 0.25rem;
1242
+ ${tokens.targetHeight}: 2rem;
1243
+ ${tokens.buttonPadding}: 0.75rem 0 0.75rem;
1244
+
1245
+ ${tokens.emptyStatePadding}: 0.5rem 0.625rem 0.5rem 0.625rem;
1246
+ ${tokens.padding}: 0.125rem;
1247
+ ${tokens.margin}: 0.125rem;
1248
+ ${tokens.borderRadius}: 0.5rem;
1249
+
1250
+ ${tokens.itemHeight}: 1rem;
1251
+ ${tokens.itemPadding}: 0.5rem;
1252
+ ${tokens.itemPaddingTight}: 0.25rem 0.5rem;
1253
+ ${tokens.itemBorderRadius}: 0.375rem;
1254
+ ${tokens.itemIconSize}: 1rem;
1255
+ ${tokens.itemIconSizeTight}: 1rem;
1256
+ ${tokens.itemIconMargin}: 0 0.375rem 0 0;
1257
+ ${tokens.itemGap}: 0.25rem;
1258
+ ${tokens.itemTreeOffsetWidth}: 1.25rem;
1259
+
1260
+ ${tokens.cellPadding}: 0rem;
1261
+ ${tokens.cellPaddingLeftContent}: 0rem;
1262
+ ${tokens.cellPaddingContent}: 0rem;
1263
+ ${tokens.cellPaddingRightContent}: 0rem;
1264
+ ${tokens.cellTextboxGap}: 0.125rem;
1265
+ ${tokens.cellGap}: 0.25rem;
1266
+ ${tokens.cellTitleFontFamily}: ${bodyXS.fontFamily};
1267
+ ${tokens.cellTitleFontSize}: ${bodyXS.fontSize};
1268
+ ${tokens.cellTitleFontStyle}: ${bodyXS.fontStyle};
1269
+ ${tokens.cellTitleFontWeight}: ${bodyXS.fontWeight};
1270
+ ${tokens.cellTitleLetterSpacing}: ${bodyXS.letterSpacing};
1271
+ ${tokens.cellTitleLineHeight}: ${bodyXS.lineHeight};
1272
+
1273
+ ${tokens.fontFamily}: ${bodyXS.fontFamily};
1274
+ ${tokens.fontSize}: ${bodyXS.fontSize};
1275
+ ${tokens.fontStyle}: ${bodyXS.fontStyle};
1276
+ ${tokens.fontWeight}: ${bodyXS.fontWeight};
1277
+ ${tokens.fontLetterSpacing}: ${bodyXS.letterSpacing};
1278
+ ${tokens.fontLineHeight}: ${bodyXS.lineHeight};
1279
+
1280
+ ${tokens.checkboxTriggerSize}: 0.875rem;
1281
+ ${tokens.checkboxTriggerSizeTight}: 0.875rem;
1282
+ ${tokens.checkboxTriggerBorderRadius}: 0.25rem;
1283
+ ${tokens.checkboxTriggerBorderRadiusTight}: 0.25rem;
1284
+ ${tokens.checkboxTriggerBorderWidth}: 0.063rem;
1285
+
1286
+ ${tokens.indicatorSize}: 0.375rem;
1287
+
1288
+ ${tokens.disclosureIconSize}: 1rem;
1289
+ ${tokens.disclosureIconMargin}: 0 0 0 0.375rem;
1290
+
1291
+ ${tokens.dividerMarginTop}: 0.25rem;
1292
+ ${tokens.dividerMarginRight}: 0.5rem;
1293
+ ${tokens.dividerMarginBottom}: 0.225rem;
1294
+ ${tokens.dividerMarginLeft}: 0.5rem;
1295
+ ${tokens.dividerMarginTopTight}: 0.125rem;
1296
+ ${tokens.dividerMarginBottomTight}: 0.125rem;
1297
+ `
1298
+ },
1299
+ labelPlacement: {
1300
+ inner: css`
1301
+ ${tokens.textFieldPlaceholderColor}: ${textSecondary};
1302
+ `,
1303
+ outer: css``
1304
+ },
1305
+ chipView: {
1306
+ default: css`
1307
+ ${tokens.textFieldChipColor}: ${inverseTextPrimary};
1308
+ ${tokens.textFieldChipColorHover}: ${inverseTextPrimary};
1309
+ ${tokens.textFieldChipBackground}: ${surfaceSolidDefault};
1310
+ ${tokens.textFieldChipBackgroundHover}: ${surfaceSolidDefaultHover};
1311
+ ${tokens.textFieldChipCloseIconColor}: ${onDarkTextSecondary};
1312
+ ${tokens.textFieldChipCloseIconColorReadonly}: ${onDarkTextSecondary};
1313
+ ${tokens.textFieldChipCloseIconColorHover}: ${onDarkTextPrimary};
1314
+
1315
+ ${tokens.textFieldChipBackgroundReadOnly}: ${surfaceSolidDefault};
1316
+ ${tokens.textFieldChipColorReadOnly}: ${inverseTextPrimary};
1317
+ ${tokens.textFieldChipBackgroundReadOnlyHover}: ${surfaceSolidDefault};
1318
+ ${tokens.textFieldChipColorReadOnlyHover}: ${inverseTextPrimary};
1319
+ ${tokens.textFieldChipOpacityReadonly}: 1;
1320
+ `,
1321
+ secondary: css`
1322
+ ${tokens.textFieldChipColor}: ${textPrimary};
1323
+ ${tokens.textFieldChipColorHover}: ${textPrimary};
1324
+ ${tokens.textFieldChipBackground}: ${surfaceTransparentSecondary};
1325
+ ${tokens.textFieldChipBackgroundHover}: ${surfaceTransparentSecondaryHover};
1326
+ ${tokens.textFieldChipCloseIconColor}: ${textSecondary};
1327
+ ${tokens.textFieldChipCloseIconColorHover}: ${textSecondaryHover};
1328
+ ${tokens.textFieldChipCloseIconColorReadonly}: ${textSecondary};
1329
+
1330
+ ${tokens.textFieldChipBackgroundReadOnly}: ${surfaceTransparentSecondary};
1331
+ ${tokens.textFieldChipColorReadOnly}: ${textPrimary};
1332
+ ${tokens.textFieldChipBackgroundReadOnlyHover}: ${surfaceTransparentSecondary};
1333
+ ${tokens.textFieldChipColorReadOnlyHover}: ${textPrimary};
1334
+ ${tokens.textFieldChipOpacityReadonly}: 1;
1335
+ `,
1336
+ accent: css`
1337
+ ${tokens.textFieldChipColor}: ${onDarkTextPrimary};
1338
+ ${tokens.textFieldChipColorHover}: ${onDarkTextPrimary};
1339
+ ${tokens.textFieldChipBackground}: ${surfaceAccent};
1340
+ ${tokens.textFieldChipBackgroundHover}: ${surfaceAccentHover};
1341
+ ${tokens.textFieldChipCloseIconColor}: ${onDarkTextSecondary};
1342
+ ${tokens.textFieldChipCloseIconColorReadonly}: ${onDarkTextSecondary};
1343
+ ${tokens.textFieldChipCloseIconColorHover}: ${onDarkTextPrimary};
1344
+
1345
+ ${tokens.textFieldChipBackgroundReadOnly}: ${surfaceAccent};
1346
+ ${tokens.textFieldChipColorReadOnly}: ${onDarkTextPrimary};
1347
+ ${tokens.textFieldChipBackgroundReadOnlyHover}: ${surfaceAccent};
1348
+ ${tokens.textFieldChipColorReadOnlyHover}: ${onDarkTextPrimary};
1349
+ ${tokens.textFieldChipOpacityReadonly}: 1;
1350
+ `
1351
+ },
1352
+ hintView: {
1353
+ default: css`
1354
+ ${tokens.textFieldTooltipBackgroundColor}: ${surfaceSolidCardBrightness};
1355
+ ${tokens.textFieldTooltipBoxShadow}: 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));
1356
+ ${tokens.textFieldTooltipColor}: ${textPrimary};
1357
+ ${tokens.textFieldTooltipArrowBackground}: ${surfaceSolidCard};
1358
+ `
1359
+ },
1360
+ hintSize: {
1361
+ m: css`
1362
+ ${tokens.textFieldTooltipPaddingTop}: 0.6875rem;
1363
+ ${tokens.textFieldTooltipPaddingRight}: 0.875rem;
1364
+ ${tokens.textFieldTooltipPaddingBottom}: 0.6875rem;
1365
+ ${tokens.textFieldTooltipPaddingLeft}: 0.875rem;
1366
+
1367
+ ${tokens.textFieldTooltipMinHeight}: 2.5rem;
1368
+ ${tokens.textFieldTooltipBorderRadius}: 0.625rem;
1369
+
1370
+ ${tokens.textFieldTooltipTextFontFamily}: ${bodyS.fontFamily};
1371
+ ${tokens.textFieldTooltipTextFontSize}: ${bodyS.fontSize};
1372
+ ${tokens.textFieldTooltipTextFontStyle}: ${bodyS.fontStyle};
1373
+ ${tokens.textFieldTooltipTextFontWeight}: ${bodyS.fontWeight};
1374
+ ${tokens.textFieldTooltipTextFontLetterSpacing}: ${bodyS.letterSpacing};
1375
+ ${tokens.textFieldTooltipTextFontLineHeight}: ${bodyS.lineHeight};
1376
+
1377
+ ${tokens.textFieldTooltipContentLeftMargin}: 0.375rem;
1378
+
1379
+ ${tokens.textFieldTooltipArrowMaskWidth}: 1.25rem;
1380
+ ${tokens.textFieldTooltipArrowMaskHeight}: 1.25rem;
1381
+ ${tokens.textFieldTooltipArrowMaskImage}: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMC4xNywxMS44M2wyMCwwYy01LjUyLDAgLTEwLDMuNTkgLTEwLDhjMCwtNC40MSAtNC40OCwtOCAtMTAsLTh6IiBmaWxsPSIjMTcxNzE3IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGlkPSJUYWlsIi8+Cjwvc3ZnPg==");
1382
+ ${tokens.textFieldTooltipArrowHeight}: 0.5rem;
1383
+ ${tokens.textFieldTooltipArrowEdgeMargin}: 0.625rem;
1384
+ `,
1385
+ s: css`
1386
+ ${tokens.textFieldTooltipPaddingTop}: 0.5rem;
1387
+ ${tokens.textFieldTooltipPaddingRight}: 0.75rem;
1388
+ ${tokens.textFieldTooltipPaddingBottom}: 0.5rem;
1389
+ ${tokens.textFieldTooltipPaddingLeft}: 0.75rem;
1390
+
1391
+ ${tokens.textFieldTooltipMinHeight}: 2rem;
1392
+ ${tokens.textFieldTooltipBorderRadius}: 0.5rem;
1393
+
1394
+ ${tokens.textFieldTooltipTextFontFamily}: ${bodyXS.fontFamily};
1395
+ ${tokens.textFieldTooltipTextFontSize}: ${bodyXS.fontSize};
1396
+ ${tokens.textFieldTooltipTextFontStyle}: ${bodyXS.fontStyle};
1397
+ ${tokens.textFieldTooltipTextFontWeight}: ${bodyXS.fontWeight};
1398
+ ${tokens.textFieldTooltipTextFontLetterSpacing}: ${bodyXS.letterSpacing};
1399
+ ${tokens.textFieldTooltipTextFontLineHeight}: ${bodyXS.lineHeight};
1400
+
1401
+ ${tokens.textFieldTooltipContentLeftMargin}: 0.25rem;
1402
+
1403
+ ${tokens.textFieldTooltipArrowMaskWidth}: 1rem;
1404
+ ${tokens.textFieldTooltipArrowMaskHeight}: 1rem;
1405
+ ${tokens.textFieldTooltipArrowMaskImage}: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMCw5Ljg1bDE2LDBjLTQuNDEsMCAtOCwyLjY5IC04LDZjMCwtMy4zMSAtMy41OSwtNiAtOCwtNnoiIGZpbGw9IiMxNzE3MTciIGZpbGwtcnVsZT0iZXZlbm9kZCIgaWQ9IlRhaWwiLz4KPC9zdmc+");
1406
+ ${tokens.textFieldTooltipArrowHeight}: 0.375rem;
1407
+ ${tokens.textFieldTooltipArrowEdgeMargin}: 0.5625rem;
1408
+ `
1409
+ },
1410
+ disabled: {
1411
+ true: css`
1412
+ ${tokens.textFieldBackgroundColor}: transparent;
1413
+ ${tokens.textFieldBackgroundColorFocus}: transparent;
1414
+ ${tokens.textFieldBackgroundColorHover}: transparent;
1415
+ ${tokens.textFieldDisabledOpacity}: 0.4;
1416
+ ${tokens.textFieldDisabledBackgroundOpacity}: 1;
1417
+ ${tokens.textFieldDisabledInnerContentOpacity}: 0.4;
1418
+ `
1419
+ },
1420
+ readOnly: {
1421
+ true: css`
1422
+ ${tokens.textFieldDividerColorReadOnly}: ${surfaceTransparentPrimary};
1423
+ ${tokens.disclosureIconOpacityReadOnly}: 0.4;
1424
+ ${tokens.textFieldColorReadOnly}: ${textPrimary};
1425
+ ${tokens.textFieldBackgroundColorReadOnly}: transparent;
1426
+ ${tokens.textFieldBackgroundColor}: ${surfaceSolidSecondary};
1427
+ ${tokens.textFieldPlaceholderColorReadOnly}: ${textSecondary};
1428
+ ${tokens.textFieldLeftHelperColorReadOnly}: ${textSecondary};
1429
+ ${tokens.textFieldTitleCaptionColorReadOnly}: ${textSecondary};
1430
+ ${tokens.textFieldLabelColorReadOnly}: ${textPrimary};
1431
+ ${tokens.textFieldBorderColor}: transparent;
1432
+ ${tokens.textFieldBorderWidth}: 0;
1433
+ `
1434
+ }
1435
+ }
1436
+ };