@salutejs/plasma-web 1.642.0-dev.0 → 1.643.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 (198) hide show
  1. package/README.md +5 -5
  2. package/dist/css/cjs/components/Autocomplete/Autocomplete.clear.config.js +46 -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_jk4e9k.css +15 -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_2qywla.css +15 -0
  8. package/dist/css/cjs/components/Autocomplete/Autocomplete.css +30 -14
  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/DatePicker/DatePicker.clear.config.js +1 -1
  12. package/dist/css/cjs/components/DatePicker/DatePicker.clear.config.js.map +1 -1
  13. package/dist/css/cjs/components/DatePicker/DatePicker.clear.config_g58txx.css +13 -0
  14. package/dist/css/cjs/components/DatePicker/DatePicker.config.js +1 -1
  15. package/dist/css/cjs/components/DatePicker/DatePicker.config.js.map +1 -1
  16. package/dist/css/cjs/components/DatePicker/DatePicker.config_1x1qhas.css +13 -0
  17. package/dist/css/cjs/components/DatePicker/DatePicker.css +26 -26
  18. package/dist/css/cjs/components/DateTimePicker/DateTimePicker.clear.config.js +1 -1
  19. package/dist/css/cjs/components/DateTimePicker/DateTimePicker.clear.config.js.map +1 -1
  20. package/dist/css/cjs/components/DateTimePicker/DateTimePicker.clear.config_jrnhp9.css +13 -0
  21. package/dist/css/cjs/components/DateTimePicker/DateTimePicker.config.js +1 -1
  22. package/dist/css/cjs/components/DateTimePicker/DateTimePicker.config.js.map +1 -1
  23. package/dist/css/cjs/components/DateTimePicker/DateTimePicker.config_qgrdla.css +13 -0
  24. package/dist/css/cjs/components/DateTimePicker/DateTimePicker.css +26 -26
  25. package/dist/css/cjs/components/InformationWrapper/InformationWrapper.config.js +1 -1
  26. package/dist/css/cjs/components/InformationWrapper/InformationWrapper.config.js.map +1 -1
  27. package/dist/css/cjs/components/InformationWrapper/{InformationWrapper.config_1glkttm.css → InformationWrapper.config_1iwwe6b.css} +4 -4
  28. package/dist/css/cjs/components/InformationWrapper/InformationWrapper.css +12 -12
  29. package/dist/css/cjs/components/Mask/Mask.css +42 -42
  30. package/dist/css/cjs/components/Range/Range.clear.config.js +1 -1
  31. package/dist/css/cjs/components/Range/Range.clear.config.js.map +1 -1
  32. package/dist/css/{es/components/Range/Range.clear.config_3l5zfi.css → cjs/components/Range/Range.clear.config_1e79wsw.css} +5 -5
  33. package/dist/css/cjs/components/Range/Range.config.js +1 -1
  34. package/dist/css/cjs/components/Range/Range.config.js.map +1 -1
  35. package/dist/css/{es/components/Range/Range.config_1pj7ef.css → cjs/components/Range/Range.config_1frrfla.css} +5 -5
  36. package/dist/css/cjs/components/Range/Range.css +22 -22
  37. package/dist/css/cjs/components/Select/Select.clear.config.js +60 -0
  38. package/dist/css/cjs/components/Select/Select.clear.config.js.map +1 -0
  39. package/dist/css/cjs/components/Select/Select.clear.config_2jx2ka.css +24 -0
  40. package/dist/css/cjs/components/Select/Select.config.js +1 -1
  41. package/dist/css/cjs/components/Select/Select.config.js.map +1 -1
  42. package/dist/css/cjs/components/Select/Select.config_1lai1lv.css +24 -0
  43. package/dist/css/cjs/components/Select/Select.css +48 -23
  44. package/dist/css/cjs/components/Select/Select.js +8 -1
  45. package/dist/css/cjs/components/Select/Select.js.map +1 -1
  46. package/dist/css/cjs/components/TextArea/TextArea.clear.config.js +1 -1
  47. package/dist/css/cjs/components/TextArea/TextArea.clear.config.js.map +1 -1
  48. package/dist/css/{es/components/TextArea/TextArea.clear.config_1gcop6e.css → cjs/components/TextArea/TextArea.clear.config_m125ks.css} +5 -5
  49. package/dist/css/cjs/components/TextArea/TextArea.config.js +1 -1
  50. package/dist/css/cjs/components/TextArea/TextArea.config.js.map +1 -1
  51. package/dist/css/{es/components/TextArea/TextArea.config_su04cb.css → cjs/components/TextArea/TextArea.config_7tvodc.css} +5 -5
  52. package/dist/css/cjs/components/TextArea/TextArea.css +30 -30
  53. package/dist/css/cjs/components/TextField/TextField.clear.config.js +1 -1
  54. package/dist/css/cjs/components/TextField/TextField.clear.config.js.map +1 -1
  55. package/dist/css/cjs/components/TextField/TextField.clear.config_17n2wtf.css +22 -0
  56. package/dist/css/cjs/components/TextField/TextField.config.js +1 -1
  57. package/dist/css/cjs/components/TextField/TextField.config.js.map +1 -1
  58. package/dist/css/cjs/components/TextField/{TextField.config_gm1kei.css → TextField.config_qvxjx5.css} +5 -5
  59. package/dist/css/cjs/components/TimePicker/TimePicker.config.js +1 -1
  60. package/dist/css/cjs/components/TimePicker/TimePicker.config.js.map +1 -1
  61. package/dist/css/cjs/components/TimePicker/TimePicker.config_13kwqvi.css +10 -0
  62. package/dist/css/cjs/components/TimePicker/TimePicker.css +10 -10
  63. package/dist/css/cjs/index.css +258 -217
  64. package/dist/css/es/components/Autocomplete/Autocomplete.clear.config.js +42 -0
  65. package/dist/css/es/components/Autocomplete/Autocomplete.clear.config.js.map +1 -0
  66. package/dist/css/es/components/Autocomplete/Autocomplete.clear.config_jk4e9k.css +15 -0
  67. package/dist/css/es/components/Autocomplete/Autocomplete.config.js +1 -1
  68. package/dist/css/es/components/Autocomplete/Autocomplete.config.js.map +1 -1
  69. package/dist/css/es/components/Autocomplete/Autocomplete.config_2qywla.css +15 -0
  70. package/dist/css/es/components/Autocomplete/Autocomplete.css +30 -14
  71. package/dist/css/es/components/Autocomplete/Autocomplete.js +10 -3
  72. package/dist/css/es/components/Autocomplete/Autocomplete.js.map +1 -1
  73. package/dist/css/es/components/DatePicker/DatePicker.clear.config.js +1 -1
  74. package/dist/css/es/components/DatePicker/DatePicker.clear.config.js.map +1 -1
  75. package/dist/css/es/components/DatePicker/DatePicker.clear.config_g58txx.css +13 -0
  76. package/dist/css/es/components/DatePicker/DatePicker.config.js +1 -1
  77. package/dist/css/es/components/DatePicker/DatePicker.config.js.map +1 -1
  78. package/dist/css/es/components/DatePicker/DatePicker.config_1x1qhas.css +13 -0
  79. package/dist/css/es/components/DatePicker/DatePicker.css +26 -26
  80. package/dist/css/es/components/DateTimePicker/DateTimePicker.clear.config.js +1 -1
  81. package/dist/css/es/components/DateTimePicker/DateTimePicker.clear.config.js.map +1 -1
  82. package/dist/css/es/components/DateTimePicker/DateTimePicker.clear.config_jrnhp9.css +13 -0
  83. package/dist/css/es/components/DateTimePicker/DateTimePicker.config.js +1 -1
  84. package/dist/css/es/components/DateTimePicker/DateTimePicker.config.js.map +1 -1
  85. package/dist/css/es/components/DateTimePicker/DateTimePicker.config_qgrdla.css +13 -0
  86. package/dist/css/es/components/DateTimePicker/DateTimePicker.css +26 -26
  87. package/dist/css/es/components/InformationWrapper/InformationWrapper.config.js +1 -1
  88. package/dist/css/es/components/InformationWrapper/InformationWrapper.config.js.map +1 -1
  89. package/dist/css/es/components/InformationWrapper/{InformationWrapper.config_1glkttm.css → InformationWrapper.config_1iwwe6b.css} +4 -4
  90. package/dist/css/es/components/InformationWrapper/InformationWrapper.css +12 -12
  91. package/dist/css/es/components/Mask/Mask.css +42 -42
  92. package/dist/css/es/components/Range/Range.clear.config.js +1 -1
  93. package/dist/css/es/components/Range/Range.clear.config.js.map +1 -1
  94. package/dist/css/{cjs/components/Range/Range.clear.config_3l5zfi.css → es/components/Range/Range.clear.config_1e79wsw.css} +5 -5
  95. package/dist/css/es/components/Range/Range.config.js +1 -1
  96. package/dist/css/es/components/Range/Range.config.js.map +1 -1
  97. package/dist/css/{cjs/components/Range/Range.config_1pj7ef.css → es/components/Range/Range.config_1frrfla.css} +5 -5
  98. package/dist/css/es/components/Range/Range.css +22 -22
  99. package/dist/css/es/components/Select/Select.clear.config.js +56 -0
  100. package/dist/css/es/components/Select/Select.clear.config.js.map +1 -0
  101. package/dist/css/es/components/Select/Select.clear.config_2jx2ka.css +24 -0
  102. package/dist/css/es/components/Select/Select.config.js +1 -1
  103. package/dist/css/es/components/Select/Select.config.js.map +1 -1
  104. package/dist/css/es/components/Select/Select.config_1lai1lv.css +24 -0
  105. package/dist/css/es/components/Select/Select.css +48 -23
  106. package/dist/css/es/components/Select/Select.js +9 -2
  107. package/dist/css/es/components/Select/Select.js.map +1 -1
  108. package/dist/css/es/components/TextArea/TextArea.clear.config.js +1 -1
  109. package/dist/css/es/components/TextArea/TextArea.clear.config.js.map +1 -1
  110. package/dist/css/{cjs/components/TextArea/TextArea.clear.config_1gcop6e.css → es/components/TextArea/TextArea.clear.config_m125ks.css} +5 -5
  111. package/dist/css/es/components/TextArea/TextArea.config.js +1 -1
  112. package/dist/css/es/components/TextArea/TextArea.config.js.map +1 -1
  113. package/dist/css/{cjs/components/TextArea/TextArea.config_su04cb.css → es/components/TextArea/TextArea.config_7tvodc.css} +5 -5
  114. package/dist/css/es/components/TextArea/TextArea.css +30 -30
  115. package/dist/css/es/components/TextField/TextField.clear.config.js +1 -1
  116. package/dist/css/es/components/TextField/TextField.clear.config.js.map +1 -1
  117. package/dist/css/es/components/TextField/TextField.clear.config_17n2wtf.css +22 -0
  118. package/dist/css/es/components/TextField/TextField.config.js +1 -1
  119. package/dist/css/es/components/TextField/TextField.config.js.map +1 -1
  120. package/dist/css/es/components/TextField/{TextField.config_gm1kei.css → TextField.config_qvxjx5.css} +5 -5
  121. package/dist/css/es/components/TimePicker/TimePicker.config.js +1 -1
  122. package/dist/css/es/components/TimePicker/TimePicker.config.js.map +1 -1
  123. package/dist/css/es/components/TimePicker/TimePicker.config_13kwqvi.css +10 -0
  124. package/dist/css/es/components/TimePicker/TimePicker.css +10 -10
  125. package/dist/css/es/index.css +258 -217
  126. package/dist/styled-components/cjs/components/Autocomplete/Autocomplete.clear.config.js +636 -0
  127. package/dist/styled-components/cjs/components/Autocomplete/Autocomplete.config.js +33 -0
  128. package/dist/styled-components/cjs/components/Autocomplete/Autocomplete.js +14 -1
  129. package/dist/styled-components/cjs/components/DatePicker/DatePicker.clear.config.js +5 -0
  130. package/dist/styled-components/cjs/components/DatePicker/DatePicker.config.js +5 -0
  131. package/dist/styled-components/cjs/components/DateTimePicker/DateTimePicker.clear.config.js +5 -0
  132. package/dist/styled-components/cjs/components/DateTimePicker/DateTimePicker.config.js +5 -0
  133. package/dist/styled-components/cjs/components/InformationWrapper/InformationWrapper.config.js +4 -0
  134. package/dist/styled-components/cjs/components/Modal/Modal.js +195 -0
  135. package/dist/styled-components/cjs/components/Modal/ModalView.js +59 -0
  136. package/dist/styled-components/cjs/components/Modal/ModalsContext.js +113 -0
  137. package/dist/styled-components/cjs/components/Modal/index.js +6 -4
  138. package/dist/styled-components/cjs/components/Range/Range.clear.config.js +5 -0
  139. package/dist/styled-components/cjs/components/Range/Range.config.js +5 -0
  140. package/dist/styled-components/cjs/components/Select/Select.clear.config.js +1141 -0
  141. package/dist/styled-components/cjs/components/Select/Select.config.js +32 -0
  142. package/dist/styled-components/cjs/components/Select/Select.js +8 -1
  143. package/dist/styled-components/cjs/components/TextArea/TextArea.clear.config.js +5 -0
  144. package/dist/styled-components/cjs/components/TextArea/TextArea.config.js +5 -0
  145. package/dist/styled-components/cjs/components/TextField/TextField.clear.config.js +23 -3
  146. package/dist/styled-components/cjs/components/TextField/TextField.config.js +5 -0
  147. package/dist/styled-components/cjs/components/TimePicker/TimePicker.config.js +30 -0
  148. package/dist/styled-components/es/components/Autocomplete/Autocomplete.clear.config.js +626 -0
  149. package/dist/styled-components/es/components/Autocomplete/Autocomplete.config.js +33 -0
  150. package/dist/styled-components/es/components/Autocomplete/Autocomplete.js +9 -2
  151. package/dist/styled-components/es/components/DatePicker/DatePicker.clear.config.js +5 -0
  152. package/dist/styled-components/es/components/DatePicker/DatePicker.config.js +5 -0
  153. package/dist/styled-components/es/components/DateTimePicker/DateTimePicker.clear.config.js +5 -0
  154. package/dist/styled-components/es/components/DateTimePicker/DateTimePicker.config.js +5 -0
  155. package/dist/styled-components/es/components/InformationWrapper/InformationWrapper.config.js +4 -0
  156. package/dist/styled-components/es/components/Modal/Modal.js +142 -0
  157. package/dist/styled-components/es/components/Modal/ModalView.js +46 -0
  158. package/dist/styled-components/es/components/Modal/ModalsContext.js +51 -0
  159. package/dist/styled-components/es/components/Modal/index.js +3 -1
  160. package/dist/styled-components/es/components/Range/Range.clear.config.js +5 -0
  161. package/dist/styled-components/es/components/Range/Range.config.js +5 -0
  162. package/dist/styled-components/es/components/Select/Select.clear.config.js +1131 -0
  163. package/dist/styled-components/es/components/Select/Select.config.js +32 -0
  164. package/dist/styled-components/es/components/Select/Select.js +9 -2
  165. package/dist/styled-components/es/components/TextArea/TextArea.clear.config.js +5 -0
  166. package/dist/styled-components/es/components/TextArea/TextArea.config.js +5 -0
  167. package/dist/styled-components/es/components/TextField/TextField.clear.config.js +23 -3
  168. package/dist/styled-components/es/components/TextField/TextField.config.js +5 -0
  169. package/dist/styled-components/es/components/TimePicker/TimePicker.config.js +30 -0
  170. package/package.json +15 -15
  171. package/types/components/Autocomplete/Autocomplete.clear.config.d.ts +38 -0
  172. package/types/components/Autocomplete/Autocomplete.d.ts +2000 -10
  173. package/types/components/Calendar/Calendar.d.ts +3 -1
  174. package/types/components/DatePicker/DatePicker.d.ts +36 -36
  175. package/types/components/DateTimePicker/DateTimePicker.d.ts +8 -8
  176. package/types/components/Modal/Modal.d.ts +47 -0
  177. package/types/components/Modal/ModalView.d.ts +23 -0
  178. package/types/components/Modal/ModalsContext.d.ts +15 -0
  179. package/types/components/Modal/index.d.ts +4 -2
  180. package/types/components/Select/Select.clear.config.d.ts +52 -0
  181. package/types/components/Select/Select.d.ts +36 -10
  182. package/types/components/TimePicker/TimePicker.d.ts +2 -0
  183. package/dist/css/cjs/components/Autocomplete/Autocomplete.config_1cj8j7d.css +0 -15
  184. package/dist/css/cjs/components/DatePicker/DatePicker.clear.config_ohlkzl.css +0 -13
  185. package/dist/css/cjs/components/DatePicker/DatePicker.config_ijgbnd.css +0 -13
  186. package/dist/css/cjs/components/DateTimePicker/DateTimePicker.clear.config_rsi0jy.css +0 -13
  187. package/dist/css/cjs/components/DateTimePicker/DateTimePicker.config_1ffbh7q.css +0 -13
  188. package/dist/css/cjs/components/Select/Select.config_11p7bi0.css +0 -24
  189. package/dist/css/cjs/components/TextField/TextField.clear.config_1g82q62.css +0 -22
  190. package/dist/css/cjs/components/TimePicker/TimePicker.config_vm7h1j.css +0 -10
  191. package/dist/css/es/components/Autocomplete/Autocomplete.config_1cj8j7d.css +0 -15
  192. package/dist/css/es/components/DatePicker/DatePicker.clear.config_ohlkzl.css +0 -13
  193. package/dist/css/es/components/DatePicker/DatePicker.config_ijgbnd.css +0 -13
  194. package/dist/css/es/components/DateTimePicker/DateTimePicker.clear.config_rsi0jy.css +0 -13
  195. package/dist/css/es/components/DateTimePicker/DateTimePicker.config_1ffbh7q.css +0 -13
  196. package/dist/css/es/components/Select/Select.config_11p7bi0.css +0 -24
  197. package/dist/css/es/components/TextField/TextField.clear.config_1g82q62.css +0 -22
  198. package/dist/css/es/components/TimePicker/TimePicker.config_vm7h1j.css +0 -10
@@ -0,0 +1,1131 @@
1
+ import { css, selectTokens as tokens } from '@salutejs/plasma-new-hope/styled-components';
2
+ export const config = {
3
+ defaults: {
4
+ view: 'default',
5
+ size: 'm',
6
+ labelPlacement: 'outer',
7
+ chipView: 'default',
8
+ hintView: 'default',
9
+ hintSize: 'm'
10
+ },
11
+ variations: {
12
+ view: {
13
+ default: css`
14
+ ${tokens.textFieldColor}: var(--text-primary);
15
+
16
+ ${tokens.textFieldPlaceholderColor}: var(--text-secondary);
17
+ ${tokens.textFieldPlaceholderColorFocus}: var(--text-tertiary);
18
+
19
+ ${tokens.textFieldBackgroundColor}: transparent;
20
+ ${tokens.textFieldBackgroundColorFocus}: transparent;
21
+ ${tokens.textFieldTextBeforeColor}: var(--text-tertiary);
22
+ ${tokens.textFieldTextAfterColor}: var(--text-tertiary);
23
+ ${tokens.textFieldLabelColor}: var(--text-primary);
24
+ ${tokens.textFieldLeftHelperColor}: var(--text-secondary);
25
+ ${tokens.textFieldTitleCaptionColor}: var(--text-secondary);
26
+ ${tokens.textFieldFocusColor}: var(--text-accent);
27
+
28
+ ${tokens.textFieldContentSlotColor}: var(--text-secondary);
29
+ ${tokens.textFieldContentSlotColorHover}: var(--text-secondary-hover);
30
+ ${tokens.textFieldContentSlotColorActive}: var(--text-secondary-active);
31
+
32
+ ${tokens.textFieldIndicatorColor}: var(--surface-negative);
33
+ ${tokens.textFieldOptionalColor}: var(--text-tertiary);
34
+
35
+ ${tokens.textFieldBorderColor}: var(--outline-transparent-primary);
36
+ ${tokens.textFieldBorderColorHover}: var(--outline-transparent-primary-hover);
37
+ ${tokens.textFieldBorderColorFocus}: var(--outline-transparent-primary-active);
38
+ ${tokens.textFieldBackgroundColorHover}: transparent;
39
+ ${tokens.textFieldDividerColor}: var(--surface-transparent-tertiary);
40
+ ${tokens.textFieldDividerColorHover}: var(--text-secondary);
41
+ ${tokens.textFieldDividerColorFocus}: var(--surface-accent);
42
+ ${tokens.textFieldClearPlaceholderColor}: var(--text-secondary);
43
+ ${tokens.textFieldClearPlaceholderColorFocus}: var(--text-tertiary);
44
+
45
+ ${tokens.buttonColor}: var(--inverse-text-primary);
46
+ ${tokens.buttonColorHover}: var(--inverse-text-primary-hover);
47
+ ${tokens.buttonColorActive}: var(--inverse-text-primary-active);
48
+ ${tokens.buttonArrowColor}: var(--inverse-text-secondary);
49
+ ${tokens.buttonArrowColorHover}: var(--inverse-text-secondary-hover);
50
+ ${tokens.buttonArrowColorActive}: var(--inverse-text-secondary-hover);
51
+ ${tokens.buttonBackgroundColor}: var(--surface-solid-default);
52
+ ${tokens.buttonBackgroundColorHover}: var(--surface-solid-default-hover);
53
+ ${tokens.buttonBackgroundColorActive}: var(--surface-solid-default-hover);
54
+
55
+ ${tokens.disclosureIconColor}: var(--text-secondary);
56
+ ${tokens.disclosureIconColorHover}: var(--text-secondary-hover);
57
+ ${tokens.itemBackgroundHover}: var(--surface-transparent-secondary);
58
+ ${tokens.itemDisabledOpacity}: 0.4;
59
+ ${tokens.itemDisabledColor}: var(--text-primary);
60
+ ${tokens.textFieldHintIconColor}: var(--text-secondary);
61
+
62
+ ${tokens.dividerColor}: var(--surface-transparent-tertiary);
63
+
64
+ ${tokens.itemIconColor}: var(--text-accent);
65
+
66
+ ${tokens.checkboxFillColor}: var(--text-accent);
67
+ ${tokens.checkboxIconColor}: var(--on-dark-text-primary);
68
+ ${tokens.checkboxTriggerBorderCheckedColor}: transparent;
69
+ ${tokens.checkboxTriggerBorderColor}: var(--text-secondary);
70
+ `,
71
+ positive: css`
72
+ ${tokens.textFieldColor}: var(--text-positive);
73
+ ${tokens.textFieldColorFocus}: var(--text-primary);
74
+
75
+ ${tokens.textFieldPlaceholderColor}: var(--text-positive);
76
+ ${tokens.textFieldPlaceholderColorHover}: var(--text-secondary);
77
+ ${tokens.textFieldPlaceholderColorFocus}: var(--text-tertiary);
78
+
79
+ ${tokens.textFieldBackgroundColor}: transparent;
80
+ ${tokens.textFieldBackgroundColorFocus}: transparent;
81
+ ${tokens.textFieldTextBeforeColor}: var(--text-tertiary);
82
+ ${tokens.textFieldTextAfterColor}: var(--text-tertiary);
83
+ ${tokens.textFieldLabelColor}: var(--text-primary);
84
+ ${tokens.textFieldLeftHelperColor}: var(--text-positive);
85
+ ${tokens.textFieldTitleCaptionColor}: var(--text-secondary);
86
+ ${tokens.textFieldFocusColor}: var(--text-accent);
87
+
88
+ ${tokens.textFieldContentSlotColor}: var(--text-secondary);
89
+ ${tokens.textFieldContentSlotColorHover}: var(--text-secondary-hover);
90
+ ${tokens.textFieldContentSlotColorActive}: var(--text-secondary-active);
91
+
92
+ ${tokens.textFieldIndicatorColor}: var(--surface-negative);
93
+ ${tokens.textFieldOptionalColor}: var(--text-tertiary);
94
+
95
+ ${tokens.textFieldBorderColor}: var(--surface-positive);
96
+ ${tokens.textFieldBorderColorHover}: var(--surface-positive-hover);
97
+ ${tokens.textFieldBorderColorFocus}: var(--surface-positive-active);
98
+ ${tokens.textFieldBackgroundColorHover}: transparent;
99
+ ${tokens.textFieldDividerColor}: var(--surface-positive);
100
+ ${tokens.textFieldDividerColorHover}: var(--surface-positive);
101
+ ${tokens.textFieldDividerColorFocus}: var(--surface-accent);
102
+ ${tokens.textFieldClearPlaceholderColor}: var(--text-positive);
103
+ ${tokens.textFieldClearPlaceholderColorFocus}: var(--text-tertiary);
104
+
105
+ ${tokens.buttonColor}: var(--on-dark-text-primary);
106
+ ${tokens.buttonColorHover}: var(--on-dark-text-primary-hover);
107
+ ${tokens.buttonColorActive}: var(--on-dark-text-primary-active);
108
+ ${tokens.buttonArrowColor}: var(--on-dark-text-secondary);
109
+ ${tokens.buttonArrowColorHover}: var(--on-dark-text-secondary-hover);
110
+ ${tokens.buttonArrowColorActive}: var(--on-dark-text-secondary-hover);
111
+ ${tokens.buttonBackgroundColor}:var(--surface-positive);
112
+ ${tokens.buttonBackgroundColorHover}:var(--surface-positive-hover);
113
+ ${tokens.buttonBackgroundColorActive}:var(--surface-positive-active);
114
+
115
+ ${tokens.disclosureIconColor}: var(--text-secondary);
116
+ ${tokens.disclosureIconColorHover}: var(--text-secondary-hover);
117
+ ${tokens.itemBackgroundHover}: var(--surface-transparent-secondary);
118
+ ${tokens.itemDisabledOpacity}: 0.4;
119
+ ${tokens.itemDisabledColor}: var(--text-primary);
120
+ ${tokens.textFieldHintIconColor}: var(--text-secondary);
121
+
122
+ ${tokens.dividerColor}: var(--surface-transparent-tertiary);
123
+
124
+ ${tokens.itemIconColor}: var(--text-accent);
125
+
126
+ ${tokens.checkboxFillColor}: var(--text-accent);
127
+ ${tokens.checkboxIconColor}: var(--on-dark-text-primary);
128
+ ${tokens.checkboxTriggerBorderCheckedColor}: transparent;
129
+ ${tokens.checkboxTriggerBorderColor}: var(--text-secondary);
130
+ `,
131
+ warning: css`
132
+ ${tokens.textFieldColor}: var(--text-warning);
133
+ ${tokens.textFieldColorFocus}: var(--text-primary);
134
+
135
+ ${tokens.textFieldPlaceholderColor}: var(--text-warning);
136
+ ${tokens.textFieldPlaceholderColorHover}: var(--text-secondary);
137
+ ${tokens.textFieldPlaceholderColorFocus}: var(--text-tertiary);
138
+
139
+ ${tokens.textFieldBackgroundColor}: transparent;
140
+ ${tokens.textFieldBackgroundColorFocus}: transparent;
141
+ ${tokens.textFieldTextBeforeColor}: var(--text-tertiary);
142
+ ${tokens.textFieldTextAfterColor}: var(--text-tertiary);
143
+ ${tokens.textFieldLabelColor}: var(--text-primary);
144
+ ${tokens.textFieldLeftHelperColor}: var(--text-warning);
145
+ ${tokens.textFieldTitleCaptionColor}: var(--text-secondary);
146
+ ${tokens.textFieldFocusColor}: var(--text-accent);
147
+
148
+ ${tokens.textFieldContentSlotColor}: var(--text-secondary);
149
+ ${tokens.textFieldContentSlotColorHover}: var(--text-secondary-hover);
150
+ ${tokens.textFieldContentSlotColorActive}: var(--text-secondary-active);
151
+
152
+ ${tokens.textFieldIndicatorColor}: var(--surface-negative);
153
+ ${tokens.textFieldOptionalColor}: var(--text-tertiary);
154
+
155
+ ${tokens.textFieldBorderColor}: var(--surface-warning);
156
+ ${tokens.textFieldBorderColorHover}: var(--surface-warning-hover);
157
+ ${tokens.textFieldBorderColorFocus}: var(--surface-warning-active);
158
+ ${tokens.textFieldBackgroundColorHover}: transparent;
159
+ ${tokens.textFieldDividerColor}: var(--surface-warning);
160
+ ${tokens.textFieldDividerColorHover}: var(--surface-warning);
161
+ ${tokens.textFieldDividerColorFocus}: var(--surface-accent);
162
+ ${tokens.textFieldClearPlaceholderColor}: var(--text-warning);
163
+ ${tokens.textFieldClearPlaceholderColorFocus}: var(--text-tertiary);
164
+
165
+ ${tokens.buttonColor}: var(--on-dark-text-primary);
166
+ ${tokens.buttonColorHover}: var(--on-dark-text-primary-hover);
167
+ ${tokens.buttonColorActive}: var(--on-dark-text-primary-active);
168
+ ${tokens.buttonArrowColor}: var(--on-dark-text-secondary);
169
+ ${tokens.buttonArrowColorHover}: var(--on-dark-text-secondary-hover);
170
+ ${tokens.buttonArrowColorActive}: var(--on-dark-text-secondary-hover);
171
+ ${tokens.buttonBackgroundColor}:var(--surface-warning);
172
+ ${tokens.buttonBackgroundColorHover}:var(--surface-warning-hover);
173
+ ${tokens.buttonBackgroundColorActive}:var(--surface-warning-active);
174
+
175
+ ${tokens.disclosureIconColor}: var(--text-secondary);
176
+ ${tokens.disclosureIconColorHover}: var(--text-secondary-hover);
177
+ ${tokens.itemBackgroundHover}: var(--surface-transparent-secondary);
178
+ ${tokens.itemDisabledOpacity}: 0.4;
179
+ ${tokens.itemDisabledColor}: var(--text-primary);
180
+ ${tokens.textFieldHintIconColor}: var(--text-secondary);
181
+
182
+ ${tokens.dividerColor}: var(--surface-transparent-tertiary);
183
+
184
+ ${tokens.itemIconColor}: var(--text-accent);
185
+
186
+ ${tokens.checkboxFillColor}: var(--text-accent);
187
+ ${tokens.checkboxIconColor}: var(--on-dark-text-primary);
188
+ ${tokens.checkboxTriggerBorderCheckedColor}: transparent;
189
+ ${tokens.checkboxTriggerBorderColor}: var(--text-secondary);
190
+ `,
191
+ negative: css`
192
+ ${tokens.textFieldColor}: var(--text-negative);
193
+ ${tokens.textFieldColorFocus}: var(--text-primary);
194
+
195
+ ${tokens.textFieldPlaceholderColor}: var(--text-negative);
196
+ ${tokens.textFieldPlaceholderColorHover}: var(--text-secondary);
197
+ ${tokens.textFieldPlaceholderColorFocus}: var(--text-tertiary);
198
+
199
+ ${tokens.textFieldBackgroundColor}: transparent;
200
+ ${tokens.textFieldBackgroundColorFocus}: transparent;
201
+ ${tokens.textFieldTextBeforeColor}: var(--text-tertiary);
202
+ ${tokens.textFieldTextAfterColor}: var(--text-tertiary);
203
+ ${tokens.textFieldLabelColor}: var(--text-primary);
204
+ ${tokens.textFieldLeftHelperColor}: var(--text-negative);
205
+ ${tokens.textFieldTitleCaptionColor}: var(--text-secondary);
206
+ ${tokens.textFieldFocusColor}: var(--text-accent);
207
+
208
+ ${tokens.textFieldContentSlotColor}: var(--text-secondary);
209
+ ${tokens.textFieldContentSlotColorHover}: var(--text-secondary-hover);
210
+ ${tokens.textFieldContentSlotColorActive}: var(--text-secondary-active);
211
+
212
+ ${tokens.textFieldIndicatorColor}: var(--surface-negative);
213
+ ${tokens.textFieldOptionalColor}: var(--text-tertiary);
214
+
215
+ ${tokens.textFieldBorderColor}: var(--surface-negative);
216
+ ${tokens.textFieldBorderColorHover}: var(--surface-negative-hover);
217
+ ${tokens.textFieldBorderColorFocus}: var(--surface-negative-active);
218
+ ${tokens.textFieldBackgroundColorHover}: transparent;
219
+ ${tokens.textFieldDividerColor}: var(--surface-negative);
220
+ ${tokens.textFieldDividerColorHover}: var(--surface-negative);
221
+ ${tokens.textFieldDividerColorFocus}: var(--surface-accent);
222
+ ${tokens.textFieldClearPlaceholderColor}: var(--text-negative);
223
+ ${tokens.textFieldClearPlaceholderColorFocus}: var(--text-tertiary);
224
+
225
+ ${tokens.buttonColor}: var(--on-dark-text-primary);
226
+ ${tokens.buttonColorHover}: var(--on-dark-text-primary-hover);
227
+ ${tokens.buttonColorActive}: var(--on-dark-text-primary-active);
228
+ ${tokens.buttonArrowColor}: var(--on-dark-text-secondary);
229
+ ${tokens.buttonArrowColorHover}: var(--on-dark-text-secondary-hover);
230
+ ${tokens.buttonArrowColorActive}: var(--on-dark-text-secondary-hover);
231
+ ${tokens.buttonBackgroundColor}:var(--surface-negative);
232
+ ${tokens.buttonBackgroundColorHover}: var(--surface-negative-hover);
233
+ ${tokens.buttonBackgroundColorActive}:var(--surface-negative-active);
234
+
235
+ ${tokens.disclosureIconColor}: var(--text-secondary);
236
+ ${tokens.disclosureIconColorHover}: var(--text-secondary-hover);
237
+ ${tokens.itemBackgroundHover}: var(--surface-transparent-secondary);
238
+ ${tokens.itemDisabledOpacity}: 0.4;
239
+ ${tokens.itemDisabledColor}: var(--text-primary);
240
+ ${tokens.textFieldHintIconColor}: var(--text-secondary);
241
+
242
+ ${tokens.dividerColor}: var(--surface-transparent-tertiary);
243
+
244
+ ${tokens.itemIconColor}: var(--text-accent);
245
+
246
+ ${tokens.checkboxFillColor}: var(--text-accent);
247
+ ${tokens.checkboxIconColor}: var(--on-dark-text-primary);
248
+ ${tokens.checkboxTriggerBorderCheckedColor}: transparent;
249
+ ${tokens.checkboxTriggerBorderColor}: var(--text-secondary);
250
+ `,
251
+ accent: css`
252
+ ${tokens.textFieldBackgroundColor}: transparent;
253
+ ${tokens.textFieldBackgroundColorHover}: transparent;
254
+ ${tokens.textFieldBackgroundColorFocus}: transparent;
255
+ ${tokens.textFieldDividerColor}: var(--surface-transparent-tertiary);
256
+ ${tokens.textFieldDividerColorHover}: var(--text-secondary);
257
+ ${tokens.textFieldDividerColorFocus}: var(--surface-accent);
258
+ ${tokens.textFieldClearPlaceholderColor}: var(--text-secondary);
259
+ ${tokens.textFieldClearPlaceholderColorFocus}: var(--text-tertiary);
260
+ ${tokens.buttonColor}: var(--on-dark-text-primary);
261
+ ${tokens.buttonColorHover}: var(--on-dark-text-primary-hover);
262
+ ${tokens.buttonColorActive}: var(--on-dark-text-primary-active);
263
+ ${tokens.buttonArrowColor}: var(--on-dark-text-secondary);
264
+ ${tokens.buttonArrowColorHover}: var(--on-dark-text-secondary-hover);
265
+ ${tokens.buttonArrowColorActive}: var(--on-dark-text-secondary-hover);
266
+ ${tokens.buttonBackgroundColor}: var(--surface-accent);
267
+ ${tokens.buttonBackgroundColorHover}: var(--surface-accent-hover);
268
+ ${tokens.buttonBackgroundColorActive}: var(--surface-accent-active);
269
+
270
+ ${tokens.disclosureIconColor}: var(--text-secondary);
271
+ ${tokens.disclosureIconColorHover}: var(--text-secondary-hover);
272
+ ${tokens.itemBackgroundHover}: var(--surface-transparent-secondary);
273
+ ${tokens.itemDisabledOpacity}: 0.4;
274
+ ${tokens.itemDisabledColor}: var(--text-primary);
275
+
276
+ ${tokens.dividerColor}: var(--surface-transparent-tertiary);
277
+
278
+ ${tokens.itemIconColor}: var(--text-accent);
279
+
280
+ ${tokens.checkboxFillColor}: var(--text-accent);
281
+ ${tokens.checkboxIconColor}: var(--on-dark-text-primary);
282
+ ${tokens.checkboxTriggerBorderCheckedColor}: transparent;
283
+ ${tokens.checkboxTriggerBorderColor}: var(--text-secondary);
284
+ `,
285
+ secondary: css`
286
+ ${tokens.textFieldBackgroundColor}: transparent;
287
+ ${tokens.textFieldBackgroundColorHover}: transparent;
288
+ ${tokens.textFieldBackgroundColorFocus}: transparent;
289
+ ${tokens.textFieldDividerColor}: var(--surface-transparent-tertiary);
290
+ ${tokens.textFieldDividerColorHover}: var(--text-secondary);
291
+ ${tokens.textFieldDividerColorFocus}: var(--surface-accent);
292
+ ${tokens.textFieldClearPlaceholderColor}: var(--text-secondary);
293
+ ${tokens.textFieldClearPlaceholderColorFocus}: var(--text-tertiary);
294
+ ${tokens.buttonColor}: var(--text-primary);
295
+ ${tokens.buttonColorHover}: var(--text-primary-hover);
296
+ ${tokens.buttonColorActive}: var(--text-primary-active);
297
+ ${tokens.buttonArrowColor}: var(--text-secondary);
298
+ ${tokens.buttonArrowColorHover}: var(--text-secondary-hover);
299
+ ${tokens.buttonArrowColorActive}: var(--text-secondary-hover);
300
+ ${tokens.buttonBackgroundColor}: var(--surface-transparent-secondary);
301
+ ${tokens.buttonBackgroundColorHover}: var(--surface-transparent-secondary-hover);
302
+ ${tokens.buttonBackgroundColorActive}: var(--surface-transparent-secondary-active);
303
+
304
+ ${tokens.disclosureIconColor}: var(--text-secondary);
305
+ ${tokens.disclosureIconColorHover}: var(--text-secondary-hover);
306
+ ${tokens.itemBackgroundHover}: var(--surface-transparent-secondary);
307
+ ${tokens.itemDisabledOpacity}: 0.4;
308
+ ${tokens.itemDisabledColor}: var(--text-primary);
309
+
310
+ ${tokens.dividerColor}: var(--surface-transparent-tertiary);
311
+
312
+ ${tokens.itemIconColor}: var(--text-accent);
313
+
314
+ ${tokens.checkboxFillColor}: var(--text-accent);
315
+ ${tokens.checkboxIconColor}: var(--on-dark-text-primary);
316
+ ${tokens.checkboxTriggerBorderCheckedColor}: transparent;
317
+ ${tokens.checkboxTriggerBorderColor}: var(--text-secondary);
318
+ `,
319
+ clear: css`
320
+ ${tokens.textFieldBackgroundColor}: transparent;
321
+ ${tokens.textFieldBackgroundColorHover}: transparent;
322
+ ${tokens.textFieldBackgroundColorFocus}: transparent;
323
+ ${tokens.textFieldDividerColor}: var(--surface-transparent-tertiary);
324
+ ${tokens.textFieldDividerColorHover}: var(--text-secondary);
325
+ ${tokens.textFieldDividerColorFocus}: var(--surface-accent);
326
+ ${tokens.textFieldClearPlaceholderColor}: var(--text-secondary);
327
+ ${tokens.textFieldClearPlaceholderColorFocus}: var(--text-tertiary);
328
+ ${tokens.buttonColor}: var(--text-primary);
329
+ ${tokens.buttonColorHover}: var(--text-primary-hover);
330
+ ${tokens.buttonColorActive}: var(--text-primary-active);
331
+ ${tokens.buttonArrowColor}: var(--text-secondary);
332
+ ${tokens.buttonArrowColorHover}: var(--text-secondary-hover);
333
+ ${tokens.buttonArrowColorActive}: var(--text-secondary-active);
334
+ ${tokens.buttonBackgroundColor}: var(--surface-clear);
335
+ ${tokens.buttonBackgroundColorHover}: var(--surface-clear);
336
+ ${tokens.buttonBackgroundColorActive}: var(--surface-clear);
337
+
338
+ ${tokens.disclosureIconColor}: var(--text-secondary);
339
+ ${tokens.disclosureIconColorHover}: var(--text-secondary-hover);
340
+ ${tokens.itemBackgroundHover}: var(--surface-transparent-secondary);
341
+ ${tokens.itemDisabledOpacity}: 0.4;
342
+ ${tokens.itemDisabledColor}: var(--text-primary);
343
+
344
+ ${tokens.dividerColor}: var(--surface-transparent-tertiary);
345
+
346
+ ${tokens.itemIconColor}: var(--text-accent);
347
+
348
+ ${tokens.checkboxFillColor}: var(--text-accent);
349
+ ${tokens.checkboxIconColor}: var(--on-dark-text-primary);
350
+ ${tokens.checkboxTriggerBorderCheckedColor}: transparent;
351
+ ${tokens.checkboxTriggerBorderColor}: var(--text-secondary);
352
+ `,
353
+ dark: css`
354
+ ${tokens.textFieldBackgroundColor}: transparent;
355
+ ${tokens.textFieldBackgroundColorHover}: transparent;
356
+ ${tokens.textFieldBackgroundColorFocus}: transparent;
357
+ ${tokens.textFieldDividerColor}: var(--surface-transparent-tertiary);
358
+ ${tokens.textFieldDividerColorHover}: var(--text-secondary);
359
+ ${tokens.textFieldDividerColorFocus}: var(--surface-accent);
360
+ ${tokens.textFieldClearPlaceholderColor}: var(--text-secondary);
361
+ ${tokens.textFieldClearPlaceholderColorFocus}: var(--text-tertiary);
362
+ ${tokens.buttonColor}: var(--on-dark-text-primary);
363
+ ${tokens.buttonColorHover}: var(--on-dark-text-primary-hover);
364
+ ${tokens.buttonColorActive}: var(--on-dark-text-primary-active);
365
+ ${tokens.buttonArrowColor}: var(--on-dark-text-secondary);
366
+ ${tokens.buttonArrowColorHover}: var(--on-dark-text-secondary-hover);
367
+ ${tokens.buttonArrowColorActive}: var(--on-dark-text-secondary-active);
368
+ ${tokens.buttonBackgroundColor}:var(--on-light-surface-transparent-deep);
369
+ ${tokens.buttonBackgroundColorHover}:var(--on-light-surface-transparent-deep-hover);
370
+ ${tokens.buttonBackgroundColorActive}:var(--on-light-surface-transparent-deep-active);
371
+
372
+ ${tokens.disclosureIconColor}: var(--text-secondary);
373
+ ${tokens.disclosureIconColorHover}: var(--text-secondary-hover);
374
+ ${tokens.itemBackgroundHover}: var(--surface-transparent-secondary);
375
+ ${tokens.itemDisabledOpacity}: 0.4;
376
+ ${tokens.itemDisabledColor}: var(--text-primary);
377
+
378
+ ${tokens.dividerColor}: var(--surface-transparent-tertiary);
379
+
380
+ ${tokens.itemIconColor}: var(--text-accent);
381
+
382
+ ${tokens.checkboxFillColor}: var(--text-accent);
383
+ ${tokens.checkboxIconColor}: var(--on-dark-text-primary);
384
+ ${tokens.checkboxTriggerBorderCheckedColor}: transparent;
385
+ ${tokens.checkboxTriggerBorderColor}: var(--text-secondary);
386
+ `,
387
+ black: css`
388
+ ${tokens.textFieldBackgroundColor}: transparent;
389
+ ${tokens.textFieldBackgroundColorHover}: transparent;
390
+ ${tokens.textFieldBackgroundColorFocus}: transparent;
391
+ ${tokens.textFieldDividerColor}: var(--surface-transparent-tertiary);
392
+ ${tokens.textFieldDividerColorHover}: var(--text-secondary);
393
+ ${tokens.textFieldDividerColorFocus}: var(--surface-accent);
394
+ ${tokens.textFieldClearPlaceholderColor}: var(--text-secondary);
395
+ ${tokens.textFieldClearPlaceholderColorFocus}: var(--text-tertiary);
396
+ ${tokens.buttonColor}: var(--on-dark-text-primary);
397
+ ${tokens.buttonColorHover}: var(--on-dark-text-primary-hover);
398
+ ${tokens.buttonColorActive}: var(--on-dark-text-primary-active);
399
+ ${tokens.buttonArrowColor}: var(--on-dark-text-secondary);
400
+ ${tokens.buttonArrowColorHover}: var(--on-dark-text-secondary-hover);
401
+ ${tokens.buttonArrowColorActive}: var(--on-dark-text-secondary-active);
402
+ ${tokens.buttonBackgroundColor}:var(--on-light-surface-solid-default);
403
+ ${tokens.buttonBackgroundColorHover}:var(--on-light-surface-solid-default-hover);
404
+ ${tokens.buttonBackgroundColorActive}: var(--on-light-surface-solid-default-active);
405
+
406
+ ${tokens.disclosureIconColor}: var(--text-secondary);
407
+ ${tokens.disclosureIconColorHover}: var(--text-secondary-hover);
408
+ ${tokens.itemBackgroundHover}: var(--surface-transparent-secondary);
409
+ ${tokens.itemDisabledOpacity}: 0.4;
410
+ ${tokens.itemDisabledColor}: var(--text-primary);
411
+
412
+ ${tokens.dividerColor}: var(--surface-transparent-tertiary);
413
+
414
+ ${tokens.itemIconColor}: var(--text-accent);
415
+
416
+ ${tokens.checkboxFillColor}: var(--text-accent);
417
+ ${tokens.checkboxIconColor}: var(--on-dark-text-primary);
418
+ ${tokens.checkboxTriggerBorderCheckedColor}: transparent;
419
+ ${tokens.checkboxTriggerBorderColor}: var(--text-secondary);
420
+ `,
421
+ white: css`
422
+ ${tokens.textFieldBackgroundColor}: transparent;
423
+ ${tokens.textFieldBackgroundColorHover}: transparent;
424
+ ${tokens.textFieldBackgroundColorFocus}: transparent;
425
+ ${tokens.textFieldDividerColor}: var(--surface-transparent-tertiary);
426
+ ${tokens.textFieldDividerColorHover}: var(--text-secondary);
427
+ ${tokens.textFieldDividerColorFocus}: var(--surface-accent);
428
+ ${tokens.textFieldClearPlaceholderColor}: var(--text-secondary);
429
+ ${tokens.textFieldClearPlaceholderColorFocus}: var(--text-tertiary);
430
+ ${tokens.buttonColor}: var(--on-light-text-primary);
431
+ ${tokens.buttonColorHover}: var(--on-light-text-primary-hover);
432
+ ${tokens.buttonColorActive}: var(--on-light-text-primary-active);
433
+ ${tokens.buttonArrowColor}: var(--on-light-text-secondary);
434
+ ${tokens.buttonArrowColorHover}: var(--on-light-text-secondary-hover);
435
+ ${tokens.buttonArrowColorActive}: var(--on-light-text-secondary-active);
436
+ ${tokens.buttonBackgroundColor}:var(--on-dark-surface-solid-default);
437
+ ${tokens.buttonBackgroundColorHover}:var(--on-dark-surface-solid-default-hover);
438
+ ${tokens.buttonBackgroundColorActive}:var(--on-dark-surface-solid-default-active);
439
+
440
+ ${tokens.itemBackgroundHover}: var(--surface-transparent-secondary);
441
+ ${tokens.disclosureIconColor}: var(--text-secondary);
442
+ ${tokens.disclosureIconColorHover}: var(--text-secondary-hover);
443
+ ${tokens.itemDisabledOpacity}: 0.4;
444
+ ${tokens.itemDisabledColor}: var(--text-primary);
445
+
446
+ ${tokens.dividerColor}: var(--surface-transparent-tertiary);
447
+
448
+ ${tokens.itemIconColor}: var(--text-accent);
449
+
450
+ ${tokens.checkboxFillColor}: var(--text-accent);
451
+ ${tokens.checkboxIconColor}: var(--on-dark-text-primary);
452
+ ${tokens.checkboxTriggerBorderCheckedColor}: transparent;
453
+ ${tokens.checkboxTriggerBorderColor}: var(--text-secondary);
454
+ `
455
+ },
456
+ size: {
457
+ l: css`
458
+ ${tokens.textFieldHeight}: 3.5rem;
459
+ ${tokens.textFieldPadding}: 1.0625rem 0;
460
+ ${tokens.textFieldPaddingWithChips}: 0.375rem 0;
461
+ ${tokens.textFieldBorderRadius}: 0;
462
+ ${tokens.textFieldBorderWidth}: 0;
463
+
464
+ ${tokens.textFieldLeftContentMargin}: -0.0625rem 0.5rem -0.0625rem 0;
465
+ ${tokens.textFieldRightContentMargin}: -0.0625rem 0 -0.0625rem 0.75rem;
466
+ ${tokens.textFieldRightContentWithHintMargin}: -0.0625rem -0.438rem -0.0625rem 0.75rem;
467
+
468
+ ${tokens.textFieldContentRightWrapperGap}: 0.25rem;
469
+ ${tokens.textFieldContentRightWrapperMargin}: -0.438rem -0.438rem -0.438rem 0;
470
+
471
+ ${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0;
472
+ ${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem;
473
+
474
+ ${tokens.textFieldFontFamily}: var(--plasma-typo-body-l-font-family);
475
+ ${tokens.textFieldFontSize}: var(--plasma-typo-body-l-font-size);
476
+ ${tokens.textFieldFontStyle}: var(--plasma-typo-body-l-font-style);
477
+ ${tokens.textFieldFontWeight}: var(--plasma-typo-body-l-font-weight);
478
+ ${tokens.textFieldLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);
479
+ ${tokens.textFieldLineHeight}: var(--plasma-typo-body-l-line-height);
480
+
481
+ ${tokens.textFieldLabelOffset}: 0.75rem;
482
+ ${tokens.textFieldLabelFontFamily}: var(--plasma-typo-body-l-font-family);
483
+ ${tokens.textFieldLabelFontSize}: var(--plasma-typo-body-l-font-size);
484
+ ${tokens.textFieldLabelFontStyle}: var(--plasma-typo-body-l-font-style);
485
+ ${tokens.textFieldLabelFontWeight}: var(--plasma-typo-body-l-font-weight);
486
+ ${tokens.textFieldLabelLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);
487
+ ${tokens.textFieldLabelLineHeight}: var(--plasma-typo-body-l-line-height);
488
+ ${tokens.textFieldTitleCaptionMargin}: 0.375rem;
489
+ ${tokens.textFieldTitleCaptionFontFamily}: var(--plasma-typo-body-xs-font-family);
490
+ ${tokens.textFieldTitleCaptionFontSize}: var(--plasma-typo-body-xs-font-size);
491
+ ${tokens.textFieldTitleCaptionFontStyle}: var(--plasma-typo-body-xs-font-style);
492
+ ${tokens.textFieldTitleCaptionFontWeight}: var(--plasma-typo-body-xs-font-weight);
493
+ ${tokens.textFieldTitleCaptionLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
494
+ ${tokens.textFieldTitleCaptionLineHeight}: var(--plasma-typo-body-xs-line-height);
495
+
496
+ ${tokens.textFieldHintMargin}: -0.688rem -0.5rem;
497
+ ${tokens.textFieldHintTargetSize}: 2.375rem;
498
+ ${tokens.textFieldHintInnerLabelPlacementOffset}: 0.563rem -2.938rem auto auto;
499
+ ${tokens.textFieldClearHintInnerLabelPlacementOffset}: 0.563rem -2.188rem auto auto;
500
+
501
+ ${tokens.textFieldLeftHelperOffset}: 0.25rem 0 0 0;
502
+ ${tokens.textFieldLeftHelperFontFamily}: var(--plasma-typo-body-xs-font-family);
503
+ ${tokens.textFieldLeftHelperFontSize}: var(--plasma-typo-body-xs-font-size);
504
+ ${tokens.textFieldLeftHelperFontStyle}: var(--plasma-typo-body-xs-font-style);
505
+ ${tokens.textFieldLeftHelperFontWeight}: var(--plasma-typo-body-xs-font-weight);
506
+ ${tokens.textFieldLeftHelperLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
507
+ ${tokens.textFieldLeftHelperLineHeight}: var(--plasma-typo-body-xs-line-height);
508
+
509
+ ${tokens.textFieldLabelInnerPadding}: 0.5625rem 0 0.125rem 0;
510
+ ${tokens.textFieldContentLabelInnerPadding}: 1.5625rem 0 0.5625rem 0;
511
+
512
+ ${tokens.textFieldIndicatorSizeInner}: 0.5rem;
513
+ ${tokens.textFieldIndicatorSizeOuter}: 0.375rem;
514
+ ${tokens.textFieldIndicatorLabelPlacementInner}: 0 0 0 0;
515
+ ${tokens.textFieldIndicatorLabelPlacementOuter}: 0.5rem auto auto -0.75rem;
516
+ ${tokens.textFieldIndicatorLabelPlacementInnerRight}: 0 0 auto auto;
517
+ ${tokens.textFieldIndicatorLabelPlacementOuterRight}: 0.25rem -0.625rem auto auto;
518
+ ${tokens.textFieldClearIndicatorLabelPlacementInner}: 1.5rem auto auto -0.875rem;
519
+ ${tokens.textFieldClearIndicatorLabelPlacementInnerRight}: 1.5rem -0.875rem auto auto;
520
+ ${tokens.textFieldClearIndicatorHintInnerRight}: 1.5rem -2.488rem auto auto;
521
+
522
+ ${tokens.textFieldChipGap}: 0.25rem;
523
+ ${tokens.textFieldChipBorderRadius}: 0.5rem;
524
+ ${tokens.textFieldChipWidth}: auto;
525
+ ${tokens.textFieldChipHeight}: 2.75rem;
526
+ ${tokens.textFieldChipPadding}: 0 0.75rem 0 1rem;
527
+ ${tokens.textFieldChipClearContentMarginLeft}: 0.625rem;
528
+ ${tokens.textFieldChipClearContentMarginRight}: 0rem;
529
+ ${tokens.textFieldChipCloseIconSize}: 1.5rem;
530
+ ${tokens.textFieldChipFontFamily}: var(--plasma-typo-body-l-font-family);
531
+ ${tokens.textFieldChipFontSize}: var(--plasma-typo-body-l-font-size);
532
+ ${tokens.textFieldChipFontStyle}: var(--plasma-typo-body-l-font-style);
533
+ ${tokens.textFieldChipFontWeight}: var(--plasma-typo-body-l-font-weight);
534
+ ${tokens.textFieldChipLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);
535
+ ${tokens.textFieldChipLineHeight}: var(--plasma-typo-body-l-line-height);
536
+
537
+ ${tokens.buttonArrowMargin}: 0 -0.125rem 0 0.5rem;
538
+ ${tokens.targetHeight}: 3.5rem;
539
+ ${tokens.buttonPadding}: 1.5rem 0 1.5rem;
540
+
541
+ ${tokens.emptyStatePadding}: 1rem;
542
+ ${tokens.padding}: 0.125rem;
543
+ ${tokens.borderRadius}: 0.875rem;
544
+
545
+ ${tokens.itemHeight}: 1.5rem;
546
+ ${tokens.itemPadding}: 1rem 0.875rem;
547
+ ${tokens.itemPaddingTight}: 0.75rem 0.875rem;
548
+ ${tokens.itemBorderRadius}: 0.75rem;
549
+ ${tokens.itemIconMargin}: 0 0.5rem 0 0;
550
+ ${tokens.itemIconSize}: 1.5rem;
551
+ ${tokens.itemIconSizeTight}: 1.5rem;
552
+ ${tokens.itemGap}: 0.5rem;
553
+ ${tokens.itemTreeOffsetWidth}: 2rem;
554
+
555
+ ${tokens.cellPadding}: 0rem;
556
+ ${tokens.cellPaddingLeftContent}: 0rem;
557
+ ${tokens.cellPaddingContent}: 0rem;
558
+ ${tokens.cellPaddingRightContent}: 0rem;
559
+ ${tokens.cellTextboxGap}: 0.125rem;
560
+ ${tokens.cellGap}: 0.375rem;
561
+ ${tokens.cellTitleFontFamily}: var(--plasma-typo-body-l-font-family);
562
+ ${tokens.cellTitleFontSize}: var(--plasma-typo-body-l-font-size);
563
+ ${tokens.cellTitleFontStyle}: var(--plasma-typo-body-l-font-style);
564
+ ${tokens.cellTitleFontWeight}: var(--plasma-typo-body-l-font-weight);
565
+ ${tokens.cellTitleLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);
566
+ ${tokens.cellTitleLineHeight}: var(--plasma-typo-body-l-line-height);
567
+
568
+ ${tokens.fontFamily}: var(--plasma-typo-body-l-font-family);
569
+ ${tokens.fontSize}: var(--plasma-typo-body-l-font-size);
570
+ ${tokens.fontStyle}: var(--plasma-typo-body-l-font-style);
571
+ ${tokens.fontWeight}: var(--plasma-typo-body-l-font-weight);
572
+ ${tokens.fontLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);
573
+ ${tokens.fontLineHeight}: var(--plasma-typo-body-l-line-height);
574
+
575
+ ${tokens.checkboxTriggerSize}: 1.25rem;
576
+ ${tokens.checkboxTriggerSizeTight}: 1.25rem;
577
+ ${tokens.checkboxTriggerBorderRadius}: 0.375rem;
578
+ ${tokens.checkboxTriggerBorderRadiusTight}: 0.375rem;
579
+ ${tokens.checkboxTriggerBorderWidth}: 0.125rem;
580
+
581
+ ${tokens.indicatorSize}: 0.375rem;
582
+
583
+ ${tokens.dividerMarginTop}: 0.5rem;
584
+ ${tokens.dividerMarginRight}: 1rem;
585
+ ${tokens.dividerMarginBottom}: 0.5rem;
586
+ ${tokens.dividerMarginLeft}: 1rem;
587
+ ${tokens.dividerMarginTopTight}: 0.375rem;
588
+ ${tokens.dividerMarginBottomTight}: 0.375rem;
589
+ `,
590
+ m: css`
591
+ ${tokens.textFieldHeight}: 3rem;
592
+ ${tokens.textFieldPadding}: 0.875rem 0;
593
+ ${tokens.textFieldPaddingWithChips}: 0.375rem 0;
594
+ ${tokens.textFieldBorderRadius}: 0;
595
+ ${tokens.textFieldBorderWidth}: 0;
596
+
597
+ ${tokens.textFieldLeftContentMargin}: -0.125rem 0.375rem -0.125rem 0;
598
+ ${tokens.textFieldRightContentMargin}: -0.125rem 0 -0.125rem 0.75rem;
599
+ ${tokens.textFieldRightContentWithHintMargin}: -0.125rem -0.438rem -0.125rem 0.75rem;
600
+
601
+ ${tokens.textFieldContentRightWrapperGap}: 0.25rem;
602
+ ${tokens.textFieldContentRightWrapperMargin}: -0.438rem -0.438rem -0.438rem 0;
603
+
604
+ ${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0;
605
+ ${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem;
606
+
607
+ ${tokens.textFieldFontFamily}: var(--plasma-typo-body-m-font-family);
608
+ ${tokens.textFieldFontSize}: var(--plasma-typo-body-m-font-size);
609
+ ${tokens.textFieldFontStyle}: var(--plasma-typo-body-m-font-style);
610
+ ${tokens.textFieldFontWeight}: var(--plasma-typo-body-m-font-weight);
611
+ ${tokens.textFieldLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
612
+ ${tokens.textFieldLineHeight}: var(--plasma-typo-body-m-line-height);
613
+
614
+ ${tokens.textFieldLabelOffset}: 0.625rem;
615
+ ${tokens.textFieldLabelFontFamily}: var(--plasma-typo-body-m-font-family);
616
+ ${tokens.textFieldLabelFontSize}: var(--plasma-typo-body-m-font-size);
617
+ ${tokens.textFieldLabelFontStyle}: var(--plasma-typo-body-m-font-style);
618
+ ${tokens.textFieldLabelFontWeight}: var(--plasma-typo-body-m-font-weight);
619
+ ${tokens.textFieldLabelLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
620
+ ${tokens.textFieldLabelLineHeight}: var(--plasma-typo-body-m-line-height);
621
+ ${tokens.textFieldTitleCaptionMargin}: 0.3125rem;
622
+ ${tokens.textFieldTitleCaptionFontFamily}: var(--plasma-typo-body-xs-font-family);
623
+ ${tokens.textFieldTitleCaptionFontSize}: var(--plasma-typo-body-xs-font-size);
624
+ ${tokens.textFieldTitleCaptionFontStyle}: var(--plasma-typo-body-xs-font-style);
625
+ ${tokens.textFieldTitleCaptionFontWeight}: var(--plasma-typo-body-xs-font-weight);
626
+ ${tokens.textFieldTitleCaptionLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
627
+ ${tokens.textFieldTitleCaptionLineHeight}: var(--plasma-typo-body-xs-line-height);
628
+
629
+ ${tokens.textFieldHintMargin}: -0.688rem -0.5rem;
630
+ ${tokens.textFieldHintTargetSize}: 2.375rem;
631
+ ${tokens.textFieldHintInnerLabelPlacementOffset}: 0.312rem -2.813rem auto auto;
632
+ ${tokens.textFieldClearHintInnerLabelPlacementOffset}: 0.312rem -2.188rem auto auto;
633
+
634
+ ${tokens.textFieldLeftHelperOffset}: 0.25rem 0 0 0;
635
+ ${tokens.textFieldLeftHelperFontFamily}: var(--plasma-typo-body-xs-font-family);
636
+ ${tokens.textFieldLeftHelperFontSize}: var(--plasma-typo-body-xs-font-size);
637
+ ${tokens.textFieldLeftHelperFontStyle}: var(--plasma-typo-body-xs-font-style);
638
+ ${tokens.textFieldLeftHelperFontWeight}: var(--plasma-typo-body-xs-font-weight);
639
+ ${tokens.textFieldLeftHelperLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
640
+ ${tokens.textFieldLeftHelperLineHeight}: var(--plasma-typo-body-xs-line-height);
641
+
642
+ ${tokens.textFieldLabelInnerPadding}: 0.375rem 0 0.125rem 0;
643
+ ${tokens.textFieldContentLabelInnerPadding}: 1.375rem 0 0.375rem 0;
644
+
645
+ ${tokens.textFieldIndicatorSizeInner}: 0.5rem;
646
+ ${tokens.textFieldIndicatorSizeOuter}: 0.375rem;
647
+ ${tokens.textFieldIndicatorLabelPlacementInner}: 0 0 0 0;
648
+ ${tokens.textFieldIndicatorLabelPlacementOuter}: 0.375rem auto auto -0.75rem;
649
+ ${tokens.textFieldIndicatorLabelPlacementInnerRight}: 0 0 auto auto;
650
+ ${tokens.textFieldIndicatorLabelPlacementOuterRight}: 0.25rem -0.6875rem auto auto;
651
+ ${tokens.textFieldClearIndicatorLabelPlacementInner}: 1.25rem auto auto -0.875rem;
652
+ ${tokens.textFieldClearIndicatorLabelPlacementInnerRight}: 1.25rem -0.875rem auto auto;
653
+ ${tokens.textFieldClearIndicatorHintInnerRight}: 1.25rem -2.488rem auto auto;
654
+
655
+ ${tokens.textFieldChipGap}: 0.25rem;
656
+ ${tokens.textFieldChipBorderRadius}: 0.375rem;
657
+ ${tokens.textFieldChipWidth}: auto;
658
+ ${tokens.textFieldChipHeight}: 2.25rem;
659
+ ${tokens.textFieldChipPadding}: 0 0.625rem 0 0.875rem;
660
+ ${tokens.textFieldChipClearContentMarginLeft}: 0.5rem;
661
+ ${tokens.textFieldChipClearContentMarginRight}: 0rem;
662
+ ${tokens.textFieldChipCloseIconSize}: 1.25rem;
663
+ ${tokens.textFieldChipFontFamily}: var(--plasma-typo-body-m-font-family);
664
+ ${tokens.textFieldChipFontSize}: var(--plasma-typo-body-m-font-size);
665
+ ${tokens.textFieldChipFontStyle}: var(--plasma-typo-body-m-font-style);
666
+ ${tokens.textFieldChipFontWeight}: var(--plasma-typo-body-m-font-weight);
667
+ ${tokens.textFieldChipLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
668
+ ${tokens.textFieldChipLineHeight}: var(--plasma-typo-body-m-line-height);
669
+
670
+ ${tokens.buttonArrowMargin}: 0 -0.125rem 0 0.375rem;
671
+ ${tokens.targetHeight}: 3rem;
672
+ ${tokens.buttonPadding}: 1.25rem 0 1.25rem;
673
+
674
+ ${tokens.emptyStatePadding}: 0.875rem 1rem 0.875rem 1rem;
675
+ ${tokens.padding}: 0.125rem;
676
+ ${tokens.borderRadius}: 0.75rem;
677
+
678
+ ${tokens.itemHeight}: 1.5rem;
679
+ ${tokens.itemPadding}: 0.75rem 0.75rem;
680
+ ${tokens.itemPaddingTight}: 0.5rem 0.75rem;
681
+ ${tokens.itemBorderRadius}: 0.625rem;
682
+ ${tokens.itemIconMargin}: 0 0.375rem 0 0;
683
+ ${tokens.itemIconSize}: 1.5rem;
684
+ ${tokens.itemIconSizeTight}: 1.5rem;
685
+ ${tokens.itemGap}: 0.375rem;
686
+ ${tokens.itemTreeOffsetWidth}: 2rem;
687
+
688
+ ${tokens.cellPadding}: 0rem;
689
+ ${tokens.cellPaddingLeftContent}: 0rem;
690
+ ${tokens.cellPaddingContent}: 0rem;
691
+ ${tokens.cellPaddingRightContent}: 0rem;
692
+ ${tokens.cellTextboxGap}: 0.125rem;
693
+ ${tokens.cellGap}: 0.375rem;
694
+ ${tokens.cellTitleFontFamily}: var(--plasma-typo-body-m-font-family);
695
+ ${tokens.cellTitleFontSize}: var(--plasma-typo-body-m-font-size);
696
+ ${tokens.cellTitleFontStyle}: var(--plasma-typo-body-m-font-style);
697
+ ${tokens.cellTitleFontWeight}: var(--plasma-typo-body-m-font-weight);
698
+ ${tokens.cellTitleLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
699
+ ${tokens.cellTitleLineHeight}: var(--plasma-typo-body-m-line-height);
700
+
701
+ ${tokens.fontFamily}: var(--plasma-typo-body-m-font-family);
702
+ ${tokens.fontSize}: var(--plasma-typo-body-m-font-size);
703
+ ${tokens.fontStyle}: var(--plasma-typo-body-m-font-style);
704
+ ${tokens.fontWeight}: var(--plasma-typo-body-m-font-weight);
705
+ ${tokens.fontLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
706
+ ${tokens.fontLineHeight}: var(--plasma-typo-body-m-line-height);
707
+
708
+ ${tokens.checkboxTriggerSize}: 1.25rem;
709
+ ${tokens.checkboxTriggerSizeTight}: 1.25rem;
710
+ ${tokens.checkboxTriggerBorderRadius}: 0.375rem;
711
+ ${tokens.checkboxTriggerBorderRadiusTight}: 0.375rem;
712
+ ${tokens.checkboxTriggerBorderWidth}: 0.125rem;
713
+
714
+ ${tokens.indicatorSize}: 0.375rem;
715
+
716
+ ${tokens.dividerMarginTop}: 0.375rem;
717
+ ${tokens.dividerMarginRight}: 0.875rem;
718
+ ${tokens.dividerMarginBottom}: 0.375rem;
719
+ ${tokens.dividerMarginLeft}: 0.875rem;
720
+ ${tokens.dividerMarginTopTight}: 0.375rem;
721
+ ${tokens.dividerMarginBottomTight}: 0.375rem;
722
+ `,
723
+ s: css`
724
+ ${tokens.textFieldHeight}: 2.5rem;
725
+ ${tokens.textFieldPadding}: 0.6875rem 0;
726
+ ${tokens.textFieldPaddingWithChips}: 0.375rem 0;
727
+ ${tokens.textFieldBorderRadius}: 0;
728
+ ${tokens.textFieldBorderWidth}: 0;
729
+
730
+ ${tokens.textFieldLeftContentMargin}: -0.1875rem 0.25rem -0.1875rem 0;
731
+ ${tokens.textFieldRightContentMargin}: -0.1875rem 0 -0.1875rem 0.75rem;
732
+ ${tokens.textFieldRightContentWithHintMargin}: -0.1875rem -0.438rem -0.1875rem 0.75rem;
733
+
734
+ ${tokens.textFieldContentRightWrapperGap}: 0.25rem;
735
+ ${tokens.textFieldContentRightWrapperMargin}: -0.438rem -0.438rem -0.438rem 0;
736
+
737
+ ${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0;
738
+ ${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem;
739
+
740
+ ${tokens.textFieldFontFamily}: var(--plasma-typo-body-s-font-family);
741
+ ${tokens.textFieldFontSize}: var(--plasma-typo-body-s-font-size);
742
+ ${tokens.textFieldFontStyle}: var(--plasma-typo-body-s-font-style);
743
+ ${tokens.textFieldFontWeight}: var(--plasma-typo-body-s-font-weight);
744
+ ${tokens.textFieldLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
745
+ ${tokens.textFieldLineHeight}: var(--plasma-typo-body-s-line-height);
746
+
747
+ ${tokens.textFieldLabelOffset}: 0.5rem;
748
+ ${tokens.textFieldLabelFontFamily}: var(--plasma-typo-body-s-font-family);
749
+ ${tokens.textFieldLabelFontSize}: var(--plasma-typo-body-s-font-size);
750
+ ${tokens.textFieldLabelFontStyle}: var(--plasma-typo-body-s-font-style);
751
+ ${tokens.textFieldLabelFontWeight}: var(--plasma-typo-body-s-font-weight);
752
+ ${tokens.textFieldLabelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
753
+ ${tokens.textFieldLabelLineHeight}: var(--plasma-typo-body-s-line-height);
754
+ ${tokens.textFieldTitleCaptionMargin}: 0.1875rem;
755
+ ${tokens.textFieldTitleCaptionFontFamily}: var(--plasma-typo-body-xs-font-family);
756
+ ${tokens.textFieldTitleCaptionFontSize}: var(--plasma-typo-body-xs-font-size);
757
+ ${tokens.textFieldTitleCaptionFontStyle}: var(--plasma-typo-body-xs-font-style);
758
+ ${tokens.textFieldTitleCaptionFontWeight}: var(--plasma-typo-body-xs-font-weight);
759
+ ${tokens.textFieldTitleCaptionLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
760
+ ${tokens.textFieldTitleCaptionLineHeight}: var(--plasma-typo-body-xs-line-height);
761
+
762
+ ${tokens.textFieldHintMargin}: -0.688rem -0.5rem;
763
+ ${tokens.textFieldHintTargetSize}: 2.375rem;
764
+ ${tokens.textFieldHintInnerLabelPlacementOffset}: 0.062rem -2.688rem auto auto;
765
+ ${tokens.textFieldClearHintInnerLabelPlacementOffset}: 0.062rem -2.188rem auto auto;
766
+
767
+ ${tokens.textFieldLeftHelperOffset}: 0.25rem 0 0 0;
768
+ ${tokens.textFieldLeftHelperFontFamily}: var(--plasma-typo-body-xs-font-family);
769
+ ${tokens.textFieldLeftHelperFontSize}: var(--plasma-typo-body-xs-font-size);
770
+ ${tokens.textFieldLeftHelperFontStyle}: var(--plasma-typo-body-xs-font-style);
771
+ ${tokens.textFieldLeftHelperFontWeight}: var(--plasma-typo-body-xs-font-weight);
772
+ ${tokens.textFieldLeftHelperLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
773
+ ${tokens.textFieldLeftHelperLineHeight}: var(--plasma-typo-body-xs-line-height);
774
+
775
+ ${tokens.textFieldLabelInnerPadding}: 0.3125rem 0 0 0;
776
+ ${tokens.textFieldContentLabelInnerPadding}: 1.0625rem 0 0.3125rem 0;
777
+
778
+ ${tokens.textFieldIndicatorSizeInner}: 0.375rem;
779
+ ${tokens.textFieldIndicatorSizeOuter}: 0.375rem;
780
+ ${tokens.textFieldIndicatorLabelPlacementInner}: 0 0 0 0;
781
+ ${tokens.textFieldIndicatorLabelPlacementOuter}: 0.3125rem auto auto -0.6875rem;
782
+ ${tokens.textFieldIndicatorLabelPlacementInnerRight}: 0 0 auto auto;
783
+ ${tokens.textFieldIndicatorLabelPlacementOuterRight}: 0.25rem -0.625rem auto auto;
784
+ ${tokens.textFieldClearIndicatorLabelPlacementInner}: 1.063rem auto auto -0.75rem;
785
+ ${tokens.textFieldClearIndicatorLabelPlacementInnerRight}: 1.063rem -0.75rem auto auto;
786
+ ${tokens.textFieldClearIndicatorHintInnerRight}: 1.063rem -2.238rem auto auto;
787
+
788
+ ${tokens.textFieldChipGap}: 0.25rem;
789
+ ${tokens.textFieldChipBorderRadius}: 0.25rem;
790
+ ${tokens.textFieldChipWidth}: auto;
791
+ ${tokens.textFieldChipHeight}: 1.75rem;
792
+ ${tokens.textFieldChipPadding}: 0 0.5rem 0 0.75rem;
793
+ ${tokens.textFieldChipClearContentMarginLeft}: 0.375rem;
794
+ ${tokens.textFieldChipClearContentMarginRight}: 0rem;
795
+ ${tokens.textFieldChipCloseIconSize}: 1rem;
796
+ ${tokens.textFieldChipFontFamily}: var(--plasma-typo-body-s-font-family);
797
+ ${tokens.textFieldChipFontSize}: var(--plasma-typo-body-s-font-size);
798
+ ${tokens.textFieldChipFontStyle}: var(--plasma-typo-body-s-font-style);
799
+ ${tokens.textFieldChipFontWeight}: var(--plasma-typo-body-s-font-weight);
800
+ ${tokens.textFieldChipLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
801
+ ${tokens.textFieldChipLineHeight}: var(--plasma-typo-body-s-line-height);
802
+
803
+ ${tokens.buttonArrowMargin}: 0 -0.125rem 0 0.25rem;
804
+ ${tokens.targetHeight}: 2.5rem;
805
+ ${tokens.buttonPadding}: 1rem 0 1rem;
806
+
807
+ ${tokens.emptyStatePadding}: 0.625rem 0.875rem 0.625rem 0.875rem;
808
+ ${tokens.padding}: 0.125rem;
809
+ ${tokens.borderRadius}: 0.625rem;
810
+
811
+ ${tokens.itemHeight}: 1.5rem;
812
+ ${tokens.itemPadding}: 0.5rem 0.625rem;
813
+ ${tokens.itemPaddingTight}: 0.25rem 0.75rem;
814
+ ${tokens.itemBorderRadius}: 0.5rem;
815
+ ${tokens.itemIconSize}: 1.5rem;
816
+ ${tokens.itemIconSizeTight}: 1rem;
817
+ ${tokens.itemIconMargin}: 0 0.375rem 0 0;
818
+ ${tokens.itemGap}: 0.375rem;
819
+ ${tokens.itemTreeOffsetWidth}: 1.875rem;
820
+
821
+ ${tokens.cellPadding}: 0rem;
822
+ ${tokens.cellPaddingLeftContent}: 0rem;
823
+ ${tokens.cellPaddingContent}: 0rem;
824
+ ${tokens.cellPaddingRightContent}: 0rem;
825
+ ${tokens.cellTextboxGap}: 0.125rem;
826
+ ${tokens.cellGap}: 0.375rem;
827
+ ${tokens.cellTitleFontFamily}: var(--plasma-typo-body-s-font-family);
828
+ ${tokens.cellTitleFontSize}: var(--plasma-typo-body-s-font-size);
829
+ ${tokens.cellTitleFontStyle}: var(--plasma-typo-body-s-font-style);
830
+ ${tokens.cellTitleFontWeight}: var(--plasma-typo-body-s-font-weight);
831
+ ${tokens.cellTitleLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
832
+ ${tokens.cellTitleLineHeight}: var(--plasma-typo-body-s-line-height);
833
+
834
+ ${tokens.fontFamily}: var(--plasma-typo-body-s-font-family);
835
+ ${tokens.fontSize}: var(--plasma-typo-body-s-font-size);
836
+ ${tokens.fontStyle}: var(--plasma-typo-body-s-font-style);
837
+ ${tokens.fontWeight}: var(--plasma-typo-body-s-font-weight);
838
+ ${tokens.fontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
839
+ ${tokens.fontLineHeight}: var(--plasma-typo-body-s-line-height);
840
+
841
+ ${tokens.checkboxTriggerSize}: 1.25rem;
842
+ ${tokens.checkboxTriggerSizeTight}: 0.875rem;
843
+ ${tokens.checkboxTriggerBorderRadius}: 0.375rem;
844
+ ${tokens.checkboxTriggerBorderRadiusTight}: 0.25rem;
845
+ ${tokens.checkboxTriggerBorderWidth}: 0.125rem;
846
+
847
+ ${tokens.indicatorSize}: 0.375rem;
848
+
849
+ ${tokens.dividerMarginTop}: 0.375rem;
850
+ ${tokens.dividerMarginRight}: 0.75rem;
851
+ ${tokens.dividerMarginBottom}: 0.375rem;
852
+ ${tokens.dividerMarginLeft}: 0.75rem;
853
+ ${tokens.dividerMarginTopTight}: 0.25rem;
854
+ ${tokens.dividerMarginBottomTight}: 0.25rem;
855
+ `,
856
+ xs: css`
857
+ ${tokens.textFieldHeight}: 2rem;
858
+ ${tokens.textFieldPadding}: 0.5625rem 0;
859
+ ${tokens.textFieldPaddingWithChips}: 0.375rem 0;
860
+ ${tokens.textFieldBorderRadius}: 0;
861
+ ${tokens.textFieldBorderWidth}: 0;
862
+
863
+ ${tokens.textFieldLeftContentMargin}: -0.0625rem 0.25rem -0.0625rem 0;
864
+ ${tokens.textFieldRightContentMargin}: -0.0625rem 0 -0.0625rem 0.75rem;
865
+ ${tokens.textFieldRightContentWithHintMargin}: -0.0625rem -0.688rem -0.0625rem 0.75rem;
866
+
867
+ ${tokens.textFieldContentRightWrapperGap}: 0.25rem;
868
+ ${tokens.textFieldContentRightWrapperMargin}: -0.688rem -0.688rem -0.688rem 0;
869
+
870
+ ${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0;
871
+ ${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem;
872
+
873
+ ${tokens.textFieldFontFamily}: var(--plasma-typo-body-xs-font-family);
874
+ ${tokens.textFieldFontSize}: var(--plasma-typo-body-xs-font-size);
875
+ ${tokens.textFieldFontStyle}: var(--plasma-typo-body-xs-font-style);
876
+ ${tokens.textFieldFontWeight}: var(--plasma-typo-body-xs-font-weight);
877
+ ${tokens.textFieldLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
878
+ ${tokens.textFieldLineHeight}: var(--plasma-typo-body-xs-line-height);
879
+
880
+ ${tokens.textFieldLabelOffset}: 0.375rem;
881
+ ${tokens.textFieldLabelFontFamily}: var(--plasma-typo-body-xs-font-family);
882
+ ${tokens.textFieldLabelFontSize}: var(--plasma-typo-body-xs-font-size);
883
+ ${tokens.textFieldLabelFontStyle}: var(--plasma-typo-body-xs-font-style);
884
+ ${tokens.textFieldLabelFontWeight}: var(--plasma-typo-body-xs-font-weight);
885
+ ${tokens.textFieldLabelLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
886
+ ${tokens.textFieldLabelLineHeight}: var(--plasma-typo-body-xs-line-height);
887
+ ${tokens.textFieldTitleCaptionMargin}: 0;
888
+ ${tokens.textFieldTitleCaptionFontFamily}: var(--plasma-typo-body-xs-font-family);
889
+ ${tokens.textFieldTitleCaptionFontSize}: var(--plasma-typo-body-xs-font-size);
890
+ ${tokens.textFieldTitleCaptionFontStyle}: var(--plasma-typo-body-xs-font-style);
891
+ ${tokens.textFieldTitleCaptionFontWeight}: var(--plasma-typo-body-xs-font-weight);
892
+ ${tokens.textFieldTitleCaptionLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
893
+ ${tokens.textFieldTitleCaptionLineHeight}: var(--plasma-typo-body-xs-line-height);
894
+
895
+ ${tokens.textFieldHintMargin}: -0.75rem -0.625rem -0.75rem -0.5rem;
896
+ ${tokens.textFieldHintTargetSize}: 2.375rem;
897
+ ${tokens.textFieldHintInnerLabelPlacementOffset}: -0.188rem -2.1875rem auto auto;
898
+ ${tokens.textFieldClearHintInnerLabelPlacementOffset}: -0.188rem -1.938rem auto auto;
899
+
900
+ ${tokens.textFieldLeftHelperOffset}: 0.25rem 0 0 0;
901
+ ${tokens.textFieldLeftHelperFontFamily}: var(--plasma-typo-body-xs-font-family);
902
+ ${tokens.textFieldLeftHelperFontSize}: var(--plasma-typo-body-xs-font-size);
903
+ ${tokens.textFieldLeftHelperFontStyle}: var(--plasma-typo-body-xs-font-style);
904
+ ${tokens.textFieldLeftHelperFontWeight}: var(--plasma-typo-body-xs-font-weight);
905
+ ${tokens.textFieldLeftHelperLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
906
+ ${tokens.textFieldLeftHelperLineHeight}: var(--plasma-typo-body-xs-line-height);
907
+
908
+ ${tokens.textFieldLabelInnerPadding}: 0.3125rem 0 0 0;
909
+ ${tokens.textFieldContentLabelInnerPadding}: 1.0625rem 0 0.3125rem 0;
910
+
911
+ ${tokens.textFieldIndicatorSizeInner}: 0.375rem;
912
+ ${tokens.textFieldIndicatorSizeOuter}: 0.375rem;
913
+ ${tokens.textFieldIndicatorLabelPlacementInner}: 0 0 0 0;
914
+ ${tokens.textFieldIndicatorLabelPlacementOuter}: 0.25rem auto auto -0.625rem;
915
+ ${tokens.textFieldIndicatorLabelPlacementInnerRight}: 0 0 auto auto;
916
+ ${tokens.textFieldIndicatorLabelPlacementOuterRight}: 0.125rem -0.6875rem auto auto;
917
+ ${tokens.textFieldClearIndicatorLabelPlacementInner}: 0.813rem auto auto -0.625rem;
918
+ ${tokens.textFieldClearIndicatorLabelPlacementInnerRight}: 0.813rem -0.625rem auto auto;
919
+ ${tokens.textFieldClearIndicatorHintInnerRight}: 0.813rem -1.988rem auto auto;
920
+
921
+ ${tokens.textFieldChipGap}: 0.25rem;
922
+ ${tokens.textFieldChipBorderRadius}: 0.125rem;
923
+ ${tokens.textFieldChipWidth}: auto;
924
+ ${tokens.textFieldChipHeight}: 1.25rem;
925
+ ${tokens.textFieldChipPadding}: 0 0.375rem 0 0.625rem;
926
+ ${tokens.textFieldChipClearContentMarginLeft}: 0.25rem;
927
+ ${tokens.textFieldChipClearContentMarginRight}: 0rem;
928
+ ${tokens.textFieldChipCloseIconSize}: 0.75rem;
929
+ ${tokens.textFieldChipFontFamily}: var(--plasma-typo-body-xs-font-family);
930
+ ${tokens.textFieldChipFontSize}: var(--plasma-typo-body-xs-font-size);
931
+ ${tokens.textFieldChipFontStyle}: var(--plasma-typo-body-xs-font-style);
932
+ ${tokens.textFieldChipFontWeight}: var(--plasma-typo-body-xs-font-weight);
933
+ ${tokens.textFieldChipLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
934
+ ${tokens.textFieldChipLineHeight}: var(--plasma-typo-body-xs-line-height);
935
+
936
+ ${tokens.buttonArrowMargin}: 0 -0.125rem 0 0.25rem;
937
+ ${tokens.targetHeight}: 2rem;
938
+ ${tokens.buttonPadding}: 0.75rem 0 0.75rem;
939
+
940
+ ${tokens.emptyStatePadding}: 0.5rem 0.625rem 0.5rem 0.625rem;
941
+ ${tokens.padding}: 0.125rem;
942
+ ${tokens.borderRadius}: 0.5rem;
943
+
944
+ ${tokens.itemHeight}: 1rem;
945
+ ${tokens.itemPadding}: 0.5rem 0.375rem;
946
+ ${tokens.itemPaddingTight}: 0.25rem 0.375rem;
947
+ ${tokens.itemBorderRadius}: 0.375rem;
948
+ ${tokens.itemIconSize}: 1rem;
949
+ ${tokens.itemIconSizeTight}: 1rem;
950
+ ${tokens.itemIconMargin}: 0 0.25rem 0 0;
951
+ ${tokens.itemGap}: 0.25rem;
952
+ ${tokens.itemTreeOffsetWidth}: 1.25rem;
953
+
954
+ ${tokens.cellPadding}: 0rem;
955
+ ${tokens.cellPaddingLeftContent}: 0rem;
956
+ ${tokens.cellPaddingContent}: 0rem;
957
+ ${tokens.cellPaddingRightContent}: 0rem;
958
+ ${tokens.cellTextboxGap}: 0.125rem;
959
+ ${tokens.cellGap}: 0.25rem;
960
+ ${tokens.cellTitleFontFamily}: var(--plasma-typo-body-xs-font-family);
961
+ ${tokens.cellTitleFontSize}: var(--plasma-typo-body-xs-font-size);
962
+ ${tokens.cellTitleFontStyle}: var(--plasma-typo-body-xs-font-style);
963
+ ${tokens.cellTitleFontWeight}: var(--plasma-typo-body-xs-font-weight);
964
+ ${tokens.cellTitleLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
965
+ ${tokens.cellTitleLineHeight}: var(--plasma-typo-body-xs-line-height);
966
+
967
+ ${tokens.fontFamily}: var(--plasma-typo-body-xs-font-family);
968
+ ${tokens.fontSize}: var(--plasma-typo-body-xs-font-size);
969
+ ${tokens.fontStyle}: var(--plasma-typo-body-xs-font-style);
970
+ ${tokens.fontWeight}: var(--plasma-typo-body-xs-font-weight);
971
+ ${tokens.fontLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
972
+ ${tokens.fontLineHeight}: var(--plasma-typo-body-xs-line-height);
973
+
974
+ ${tokens.checkboxTriggerSize}: 0.875rem;
975
+ ${tokens.checkboxTriggerSizeTight}: 0.875rem;
976
+ ${tokens.checkboxTriggerBorderRadius}: 0.25rem;
977
+ ${tokens.checkboxTriggerBorderRadiusTight}: 0.25rem;
978
+ ${tokens.checkboxTriggerBorderWidth}: 0.125rem;
979
+
980
+ ${tokens.indicatorSize}: 0.375rem;
981
+
982
+ ${tokens.dividerMarginTop}: 0.25rem;
983
+ ${tokens.dividerMarginRight}: 0.5rem;
984
+ ${tokens.dividerMarginBottom}: 0.225rem;
985
+ ${tokens.dividerMarginLeft}: 0.5rem;
986
+ ${tokens.dividerMarginTopTight}: 0.125rem;
987
+ ${tokens.dividerMarginBottomTight}: 0.125rem;
988
+ `
989
+ },
990
+ labelPlacement: {
991
+ inner: css`
992
+ ${tokens.textFieldPlaceholderColor}: var(--text-secondary);
993
+ ${tokens.textFieldLabelInnerFontFamily}: var(--plasma-typo-body-xs-font-family);
994
+ ${tokens.textFieldLabelInnerFontSize}: var(--plasma-typo-body-xs-font-size);
995
+ ${tokens.textFieldLabelInnerFontStyle}: var(--plasma-typo-body-xs-font-style);
996
+ ${tokens.textFieldLabelInnerFontWeight}: var(--plasma-typo-body-xs-font-weight);
997
+ ${tokens.textFieldLabelInnerLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
998
+ ${tokens.textFieldLabelInnerLineHeight}: var(--plasma-typo-body-xs-line-height);
999
+ `,
1000
+ outer: css``
1001
+ },
1002
+ chipView: {
1003
+ default: css`
1004
+ ${tokens.textFieldChipColor}: var(--inverse-text-primary);
1005
+ ${tokens.textFieldChipColorHover}: var(--inverse-text-primary);
1006
+ ${tokens.textFieldChipBackground}: var(--surface-solid-default);
1007
+ ${tokens.textFieldChipBackgroundHover}: var(--surface-solid-default-hover);
1008
+ ${tokens.textFieldChipCloseIconColor}: var(--inverse-text-secondary);
1009
+ ${tokens.textFieldChipCloseIconColorReadonly}: var(--inverse-text-secondary);
1010
+ ${tokens.textFieldChipCloseIconColorHover}: var(--inverse-text-primary);
1011
+
1012
+ ${tokens.textFieldChipBackgroundReadOnly}: var(--surface-solid-default);
1013
+ ${tokens.textFieldChipColorReadOnly}: var(--inverse-text-primary);
1014
+ ${tokens.textFieldChipBackgroundReadOnlyHover}: var(--surface-solid-default);
1015
+ ${tokens.textFieldChipColorReadOnlyHover}: var(--inverse-text-primary);
1016
+ ${tokens.textFieldChipOpacityReadonly}: 1;
1017
+ `,
1018
+ secondary: css`
1019
+ ${tokens.textFieldChipColor}: var(--text-primary);
1020
+ ${tokens.textFieldChipColorHover}: var(--text-primary);
1021
+ ${tokens.textFieldChipBackground}: var(--surface-transparent-secondary);
1022
+ ${tokens.textFieldChipBackgroundHover}: var(--surface-transparent-secondary-hover);
1023
+ ${tokens.textFieldChipCloseIconColor}: var(--text-secondary);
1024
+ ${tokens.textFieldChipCloseIconColorHover}: var(--text-secondary-hover);
1025
+ ${tokens.textFieldChipCloseIconColorReadonly}: var(--text-secondary);
1026
+
1027
+ ${tokens.textFieldChipBackgroundReadOnly}: var(--surface-transparent-secondary);
1028
+ ${tokens.textFieldChipColorReadOnly}: var(--text-primary);
1029
+ ${tokens.textFieldChipBackgroundReadOnlyHover}: var(--surface-transparent-secondary);
1030
+ ${tokens.textFieldChipColorReadOnlyHover}: var(--text-primary);
1031
+ ${tokens.textFieldChipOpacityReadonly}: 1;
1032
+ `,
1033
+ accent: css`
1034
+ ${tokens.textFieldChipColor}: var(--on-dark-text-primary);
1035
+ ${tokens.textFieldChipColorHover}: var(--on-dark-text-primary);
1036
+ ${tokens.textFieldChipBackground}: var(--surface-accent);
1037
+ ${tokens.textFieldChipBackgroundHover}: var(--surface-accent-hover);
1038
+ ${tokens.textFieldChipCloseIconColor}: var(--on-dark-text-secondary);
1039
+ ${tokens.textFieldChipCloseIconColorReadonly}: var(--on-dark-text-secondary);
1040
+ ${tokens.textFieldChipCloseIconColorHover}: var(--on-dark-text-primary);
1041
+
1042
+ ${tokens.textFieldChipBackgroundReadOnly}: var(--surface-accent);
1043
+ ${tokens.textFieldChipColorReadOnly}: var(--on-dark-text-primary);
1044
+ ${tokens.textFieldChipBackgroundReadOnlyHover}: var(--surface-accent);
1045
+ ${tokens.textFieldChipColorReadOnlyHover}: var(--on-dark-text-primary);
1046
+ ${tokens.textFieldChipOpacityReadonly}: 1;
1047
+ `
1048
+ },
1049
+ hintView: {
1050
+ default: css`
1051
+ ${tokens.textFieldTooltipBackgroundColor}: var(--surface-solid-card-brightness);
1052
+ ${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));
1053
+ ${tokens.textFieldTooltipColor}: var(--text-primary);
1054
+ ${tokens.textFieldTooltipArrowBackground}: var(--surface-solid-card);
1055
+ `
1056
+ },
1057
+ hintSize: {
1058
+ m: css`
1059
+ ${tokens.textFieldTooltipPaddingTop}: 0.6875rem;
1060
+ ${tokens.textFieldTooltipPaddingRight}: 0.875rem;
1061
+ ${tokens.textFieldTooltipPaddingBottom}: 0.6875rem;
1062
+ ${tokens.textFieldTooltipPaddingLeft}: 0.875rem;
1063
+
1064
+ ${tokens.textFieldTooltipMinHeight}: 2.5rem;
1065
+ ${tokens.textFieldTooltipBorderRadius}: 0.625rem;
1066
+
1067
+ ${tokens.textFieldTooltipTextFontFamily}: var(--plasma-typo-body-s-font-family);
1068
+ ${tokens.textFieldTooltipTextFontSize}: var(--plasma-typo-body-s-font-size);
1069
+ ${tokens.textFieldTooltipTextFontStyle}: var(--plasma-typo-body-s-font-style);
1070
+ ${tokens.textFieldTooltipTextFontWeight}: var(--plasma-typo-body-s-font-weight);
1071
+ ${tokens.textFieldTooltipTextFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
1072
+ ${tokens.textFieldTooltipTextFontLineHeight}: var(--plasma-typo-body-s-line-height);
1073
+
1074
+ ${tokens.textFieldTooltipContentLeftMargin}: 0.375rem;
1075
+
1076
+ ${tokens.textFieldTooltipArrowMaskWidth}: 1.25rem;
1077
+ ${tokens.textFieldTooltipArrowMaskHeight}: 1.25rem;
1078
+ ${tokens.textFieldTooltipArrowMaskImage}: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMC4xNywxMS44M2wyMCwwYy01LjUyLDAgLTEwLDMuNTkgLTEwLDhjMCwtNC40MSAtNC40OCwtOCAtMTAsLTh6IiBmaWxsPSIjMTcxNzE3IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGlkPSJUYWlsIi8+Cjwvc3ZnPg==");
1079
+ ${tokens.textFieldTooltipArrowHeight}: 0.5rem;
1080
+ ${tokens.textFieldTooltipArrowEdgeMargin}: 0.625rem;
1081
+ `,
1082
+ s: css`
1083
+ ${tokens.textFieldTooltipPaddingTop}: 0.5rem;
1084
+ ${tokens.textFieldTooltipPaddingRight}: 0.75rem;
1085
+ ${tokens.textFieldTooltipPaddingBottom}: 0.5rem;
1086
+ ${tokens.textFieldTooltipPaddingLeft}: 0.75rem;
1087
+
1088
+ ${tokens.textFieldTooltipMinHeight}: 2rem;
1089
+ ${tokens.textFieldTooltipBorderRadius}: 0.5rem;
1090
+
1091
+ ${tokens.textFieldTooltipTextFontFamily}: var(--plasma-typo-body-xs-font-family);
1092
+ ${tokens.textFieldTooltipTextFontSize}: var(--plasma-typo-body-xs-font-size);
1093
+ ${tokens.textFieldTooltipTextFontStyle}: var(--plasma-typo-body-xs-font-style);
1094
+ ${tokens.textFieldTooltipTextFontWeight}: var(--plasma-typo-body-xs-font-weight);
1095
+ ${tokens.textFieldTooltipTextFontLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
1096
+ ${tokens.textFieldTooltipTextFontLineHeight}: var(--plasma-typo-body-xs-line-height);
1097
+
1098
+ ${tokens.textFieldTooltipContentLeftMargin}: 0.25rem;
1099
+
1100
+ ${tokens.textFieldTooltipArrowMaskWidth}: 1rem;
1101
+ ${tokens.textFieldTooltipArrowMaskHeight}: 1rem;
1102
+ ${tokens.textFieldTooltipArrowMaskImage}: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMCw5Ljg1bDE2LDBjLTQuNDEsMCAtOCwyLjY5IC04LDZjMCwtMy4zMSAtMy41OSwtNiAtOCwtNnoiIGZpbGw9IiMxNzE3MTciIGZpbGwtcnVsZT0iZXZlbm9kZCIgaWQ9IlRhaWwiLz4KPC9zdmc+");
1103
+ ${tokens.textFieldTooltipArrowHeight}: 0.375rem;
1104
+ ${tokens.textFieldTooltipArrowEdgeMargin}: 0.5625rem;
1105
+ `
1106
+ },
1107
+ disabled: {
1108
+ true: css`
1109
+ ${tokens.textFieldBackgroundColor}: transparent;
1110
+ ${tokens.textFieldBackgroundColorHover}: transparent;
1111
+ ${tokens.textFieldBackgroundColorFocus}: transparent;
1112
+ ${tokens.textFieldDisabledOpacity}: 0.4;
1113
+ `
1114
+ },
1115
+ readOnly: {
1116
+ true: css`
1117
+ ${tokens.textFieldDividerColorReadOnly}: var(--surface-transparent-primary);
1118
+ ${tokens.disclosureIconOpacityReadOnly}: 0.4;
1119
+ ${tokens.textFieldColorReadOnly}: var(--text-primary);
1120
+ ${tokens.textFieldBackgroundColorReadOnly}: transparent;
1121
+ ${tokens.textFieldBorderColorReadOnly}: var(--outline-read-only);
1122
+ ${tokens.textFieldPlaceholderColorReadOnly}: var(--text-secondary);
1123
+ ${tokens.textFieldLeftHelperColorReadOnly}: var(--text-secondary);
1124
+ ${tokens.textFieldTitleCaptionColorReadOnly}: var(--text-secondary);
1125
+ ${tokens.textFieldLabelColorReadOnly}: var(--text-primary);
1126
+ ${tokens.textFieldBorderColor}: transparent;
1127
+ ${tokens.textFieldBorderWidth}: 0;
1128
+ `
1129
+ }
1130
+ }
1131
+ };