@tempoxyz/ds 0.2.2 → 0.2.5

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 (340) hide show
  1. package/dist/mobile/components/Button.d.ts +1 -1
  2. package/dist/mobile/components/Button.js +1 -1
  3. package/dist/mobile/components/Button.js.map +1 -1
  4. package/dist/mobile/components/IconButton.d.ts +1 -1
  5. package/dist/mobile/components/IconButton.js +1 -1
  6. package/dist/mobile/components/IconButton.js.map +1 -1
  7. package/dist/mobile/components/Spinner.d.ts +3 -3
  8. package/dist/mobile/components/Spinner.d.ts.map +1 -1
  9. package/dist/mobile/components/Spinner.js +3 -3
  10. package/dist/mobile/components/Spinner.js.map +1 -1
  11. package/dist/mobile/components/Toast.d.ts +1 -1
  12. package/dist/mobile/components/Toast.d.ts.map +1 -1
  13. package/dist/mobile/components/Toast.js +1 -1
  14. package/dist/mobile/components/Toast.js.map +1 -1
  15. package/dist/mobile/components/Toggle.d.ts +2 -2
  16. package/dist/mobile/components/Toggle.js +2 -2
  17. package/dist/mobile/components/Toggle.js.map +1 -1
  18. package/dist/mobile/vars.d.ts +24 -0
  19. package/dist/mobile/vars.d.ts.map +1 -1
  20. package/dist/mobile/vars.js +12 -0
  21. package/dist/mobile/vars.js.map +1 -1
  22. package/dist/mobile/zyzz.config.d.ts +96 -0
  23. package/dist/mobile/zyzz.config.d.ts.map +1 -1
  24. package/dist/web/components/Accordion.css +1 -1
  25. package/dist/web/components/Accordion.d.ts +7 -7
  26. package/dist/web/components/Accordion.js.map +1 -1
  27. package/dist/web/components/Accordion.js.zyzz.json +1 -1
  28. package/dist/web/components/AlertDialog.css +1 -1
  29. package/dist/web/components/AlertDialog.d.ts.map +1 -1
  30. package/dist/web/components/AlertDialog.js +1 -1
  31. package/dist/web/components/AlertDialog.js.map +1 -1
  32. package/dist/web/components/AlertDialog.js.zyzz.json +1 -1
  33. package/dist/web/components/Amount.js.zyzz.json +1 -1
  34. package/dist/web/components/AmountInput.css +1 -1
  35. package/dist/web/components/AmountInput.js +1 -1
  36. package/dist/web/components/AmountInput.js.map +1 -1
  37. package/dist/web/components/AmountInput.js.zyzz.json +1 -1
  38. package/dist/web/components/AppShell.css +1 -1
  39. package/dist/web/components/AppShell.d.ts +10 -10
  40. package/dist/web/components/AppShell.js.map +1 -1
  41. package/dist/web/components/AppShell.js.zyzz.json +1 -1
  42. package/dist/web/components/Autocomplete.js.zyzz.json +1 -1
  43. package/dist/web/components/Avatar.css +1 -1
  44. package/dist/web/components/Avatar.d.ts +3 -3
  45. package/dist/web/components/Avatar.js.map +1 -1
  46. package/dist/web/components/Avatar.js.zyzz.json +1 -1
  47. package/dist/web/components/Banner.css +1 -1
  48. package/dist/web/components/Banner.js +2 -2
  49. package/dist/web/components/Banner.js.map +1 -1
  50. package/dist/web/components/Banner.js.zyzz.json +1 -1
  51. package/dist/web/components/Breadcrumbs.css +1 -1
  52. package/dist/web/components/Breadcrumbs.d.ts +4 -4
  53. package/dist/web/components/Breadcrumbs.js.map +1 -1
  54. package/dist/web/components/Breadcrumbs.js.zyzz.json +1 -1
  55. package/dist/web/components/Button.css +1 -1
  56. package/dist/web/components/Button.d.ts +12 -11
  57. package/dist/web/components/Button.d.ts.map +1 -1
  58. package/dist/web/components/Button.js +2 -2
  59. package/dist/web/components/Button.js.map +1 -1
  60. package/dist/web/components/Button.js.zyzz.json +1 -1
  61. package/dist/web/components/Calendar.css +1 -1
  62. package/dist/web/components/Calendar.js.map +1 -1
  63. package/dist/web/components/Calendar.js.zyzz.json +1 -1
  64. package/dist/web/components/Callout.css +1 -1
  65. package/dist/web/components/Callout.d.ts +6 -6
  66. package/dist/web/components/Callout.js +1 -1
  67. package/dist/web/components/Callout.js.map +1 -1
  68. package/dist/web/components/Callout.js.zyzz.json +1 -1
  69. package/dist/web/components/Checkbox.css +1 -1
  70. package/dist/web/components/Checkbox.d.ts +8 -8
  71. package/dist/web/components/Checkbox.js.map +1 -1
  72. package/dist/web/components/Checkbox.js.zyzz.json +1 -1
  73. package/dist/web/components/CheckboxGroup.js.zyzz.json +1 -1
  74. package/dist/web/components/ChoiceGroup.css +1 -1
  75. package/dist/web/components/ChoiceGroup.d.ts +2 -2
  76. package/dist/web/components/ChoiceGroup.d.ts.map +1 -1
  77. package/dist/web/components/ChoiceGroup.js +2 -2
  78. package/dist/web/components/ChoiceGroup.js.map +1 -1
  79. package/dist/web/components/ChoiceGroup.js.zyzz.json +1 -1
  80. package/dist/web/components/Choicebox.css +1 -1
  81. package/dist/web/components/Choicebox.d.ts +4 -4
  82. package/dist/web/components/Choicebox.js +1 -1
  83. package/dist/web/components/Choicebox.js.map +1 -1
  84. package/dist/web/components/Choicebox.js.zyzz.json +1 -1
  85. package/dist/web/components/Combobox.css +1 -1
  86. package/dist/web/components/Combobox.js.map +1 -1
  87. package/dist/web/components/Combobox.js.zyzz.json +1 -1
  88. package/dist/web/components/Container.js.zyzz.json +1 -1
  89. package/dist/web/components/CopyButton.js.zyzz.json +1 -1
  90. package/dist/web/components/DatePicker.css +1 -1
  91. package/dist/web/components/DatePicker.d.ts +19 -19
  92. package/dist/web/components/DatePicker.d.ts.map +1 -1
  93. package/dist/web/components/DatePicker.js +2 -2
  94. package/dist/web/components/DatePicker.js.map +1 -1
  95. package/dist/web/components/DatePicker.js.zyzz.json +1 -1
  96. package/dist/web/components/Dialog.css +1 -1
  97. package/dist/web/components/Dialog.d.ts.map +1 -1
  98. package/dist/web/components/Dialog.js +1 -1
  99. package/dist/web/components/Dialog.js.map +1 -1
  100. package/dist/web/components/Dialog.js.zyzz.json +1 -1
  101. package/dist/web/components/Drawer.css +1 -1
  102. package/dist/web/components/Drawer.js.map +1 -1
  103. package/dist/web/components/Drawer.js.zyzz.json +1 -1
  104. package/dist/web/components/Empty.js.zyzz.json +1 -1
  105. package/dist/web/components/Field.css +1 -1
  106. package/dist/web/components/Field.js.map +1 -1
  107. package/dist/web/components/Field.js.zyzz.json +1 -1
  108. package/dist/web/components/Fieldset.js.zyzz.json +1 -1
  109. package/dist/web/components/Frame.css +1 -1
  110. package/dist/web/components/Frame.d.ts +27 -10
  111. package/dist/web/components/Frame.d.ts.map +1 -1
  112. package/dist/web/components/Frame.js +12 -5
  113. package/dist/web/components/Frame.js.map +1 -1
  114. package/dist/web/components/Frame.js.zyzz.json +1 -1
  115. package/dist/web/components/Gauge.css +1 -1
  116. package/dist/web/components/Gauge.js.map +1 -1
  117. package/dist/web/components/Gauge.js.zyzz.json +1 -1
  118. package/dist/web/components/Grid.js.zyzz.json +1 -1
  119. package/dist/web/components/Hex.css +1 -1
  120. package/dist/web/components/Hex.d.ts +5 -5
  121. package/dist/web/components/Hex.js +1 -1
  122. package/dist/web/components/Hex.js.map +1 -1
  123. package/dist/web/components/Hex.js.zyzz.json +1 -1
  124. package/dist/web/components/IconChip.css +1 -1
  125. package/dist/web/components/IconChip.d.ts +1 -1
  126. package/dist/web/components/IconChip.d.ts.map +1 -1
  127. package/dist/web/components/IconChip.js.map +1 -1
  128. package/dist/web/components/IconChip.js.zyzz.json +1 -1
  129. package/dist/web/components/Identicon.js.zyzz.json +1 -1
  130. package/dist/web/components/Inline.js.zyzz.json +1 -1
  131. package/dist/web/components/Input.css +1 -1
  132. package/dist/web/components/Input.js.map +1 -1
  133. package/dist/web/components/Input.js.zyzz.json +1 -1
  134. package/dist/web/components/Inset.js.zyzz.json +1 -1
  135. package/dist/web/components/Kbd.css +1 -1
  136. package/dist/web/components/Kbd.d.ts +1 -1
  137. package/dist/web/components/Kbd.js.map +1 -1
  138. package/dist/web/components/Kbd.js.zyzz.json +1 -1
  139. package/dist/web/components/LoadingDots.css +1 -1
  140. package/dist/web/components/LoadingDots.d.ts +2 -2
  141. package/dist/web/components/LoadingDots.js.map +1 -1
  142. package/dist/web/components/LoadingDots.js.zyzz.json +1 -1
  143. package/dist/web/components/Menu.css +1 -1
  144. package/dist/web/components/Menu.d.ts +11 -11
  145. package/dist/web/components/Menu.d.ts.map +1 -1
  146. package/dist/web/components/Menu.js +1 -1
  147. package/dist/web/components/Menu.js.map +1 -1
  148. package/dist/web/components/Menu.js.zyzz.json +1 -1
  149. package/dist/web/components/NumberField.css +1 -1
  150. package/dist/web/components/NumberField.js +1 -1
  151. package/dist/web/components/NumberField.js.map +1 -1
  152. package/dist/web/components/NumberField.js.zyzz.json +1 -1
  153. package/dist/web/components/OtpField.css +1 -1
  154. package/dist/web/components/OtpField.d.ts.map +1 -1
  155. package/dist/web/components/OtpField.js +1 -1
  156. package/dist/web/components/OtpField.js.map +1 -1
  157. package/dist/web/components/OtpField.js.zyzz.json +1 -1
  158. package/dist/web/components/Pagination.css +1 -1
  159. package/dist/web/components/Pagination.d.ts +12 -12
  160. package/dist/web/components/Pagination.js +1 -1
  161. package/dist/web/components/Pagination.js.map +1 -1
  162. package/dist/web/components/Pagination.js.zyzz.json +1 -1
  163. package/dist/web/components/Popover.css +1 -1
  164. package/dist/web/components/Popover.d.ts.map +1 -1
  165. package/dist/web/components/Popover.js +1 -1
  166. package/dist/web/components/Popover.js.map +1 -1
  167. package/dist/web/components/Popover.js.zyzz.json +1 -1
  168. package/dist/web/components/Progress.css +1 -1
  169. package/dist/web/components/Progress.js.map +1 -1
  170. package/dist/web/components/Progress.js.zyzz.json +1 -1
  171. package/dist/web/components/Qr.js.zyzz.json +1 -1
  172. package/dist/web/components/RadioGroup.css +1 -1
  173. package/dist/web/components/RadioGroup.d.ts +4 -4
  174. package/dist/web/components/RadioGroup.js.map +1 -1
  175. package/dist/web/components/RadioGroup.js.zyzz.json +1 -1
  176. package/dist/web/components/Rows.css +1 -1
  177. package/dist/web/components/Rows.d.ts +20 -9
  178. package/dist/web/components/Rows.d.ts.map +1 -1
  179. package/dist/web/components/Rows.js +6 -4
  180. package/dist/web/components/Rows.js.map +1 -1
  181. package/dist/web/components/Rows.js.zyzz.json +1 -1
  182. package/dist/web/components/SecretValue.css +1 -1
  183. package/dist/web/components/SecretValue.d.ts +4 -4
  184. package/dist/web/components/SecretValue.js +1 -1
  185. package/dist/web/components/SecretValue.js.map +1 -1
  186. package/dist/web/components/SecretValue.js.zyzz.json +1 -1
  187. package/dist/web/components/Select.css +1 -1
  188. package/dist/web/components/Select.js.map +1 -1
  189. package/dist/web/components/Select.js.zyzz.json +1 -1
  190. package/dist/web/components/Separator.js.zyzz.json +1 -1
  191. package/dist/web/components/SidebarMenu.css +1 -1
  192. package/dist/web/components/SidebarMenu.d.ts +11 -11
  193. package/dist/web/components/SidebarMenu.d.ts.map +1 -1
  194. package/dist/web/components/SidebarMenu.js +1 -1
  195. package/dist/web/components/SidebarMenu.js.map +1 -1
  196. package/dist/web/components/SidebarMenu.js.zyzz.json +1 -1
  197. package/dist/web/components/Skeleton.js.zyzz.json +1 -1
  198. package/dist/web/components/Slider.css +1 -1
  199. package/dist/web/components/Slider.d.ts.map +1 -1
  200. package/dist/web/components/Slider.js.map +1 -1
  201. package/dist/web/components/Slider.js.zyzz.json +1 -1
  202. package/dist/web/components/Snippet.css +1 -1
  203. package/dist/web/components/Snippet.d.ts +4 -4
  204. package/dist/web/components/Snippet.js +1 -1
  205. package/dist/web/components/Snippet.js.map +1 -1
  206. package/dist/web/components/Snippet.js.zyzz.json +1 -1
  207. package/dist/web/components/Spinner.js.zyzz.json +1 -1
  208. package/dist/web/components/SplitButton.css +1 -1
  209. package/dist/web/components/SplitButton.d.ts.map +1 -1
  210. package/dist/web/components/SplitButton.js +1 -1
  211. package/dist/web/components/SplitButton.js.map +1 -1
  212. package/dist/web/components/SplitButton.js.zyzz.json +1 -1
  213. package/dist/web/components/Stack.js.zyzz.json +1 -1
  214. package/dist/web/components/Stepper.css +1 -1
  215. package/dist/web/components/Stepper.d.ts +1 -1
  216. package/dist/web/components/Stepper.js.map +1 -1
  217. package/dist/web/components/Stepper.js.zyzz.json +1 -1
  218. package/dist/web/components/Surface.css +1 -1
  219. package/dist/web/components/Surface.d.ts +65 -47
  220. package/dist/web/components/Surface.d.ts.map +1 -1
  221. package/dist/web/components/Surface.js +3 -3
  222. package/dist/web/components/Surface.js.map +1 -1
  223. package/dist/web/components/Surface.js.zyzz.json +1 -1
  224. package/dist/web/components/Switch.css +1 -1
  225. package/dist/web/components/Switch.d.ts +14 -14
  226. package/dist/web/components/Switch.d.ts.map +1 -1
  227. package/dist/web/components/Switch.js.map +1 -1
  228. package/dist/web/components/Switch.js.zyzz.json +1 -1
  229. package/dist/web/components/Table.css +1 -1
  230. package/dist/web/components/Table.d.ts +4 -4
  231. package/dist/web/components/Table.js.map +1 -1
  232. package/dist/web/components/Table.js.zyzz.json +1 -1
  233. package/dist/web/components/Tabs.css +1 -1
  234. package/dist/web/components/Tabs.d.ts +14 -14
  235. package/dist/web/components/Tabs.js +1 -1
  236. package/dist/web/components/Tabs.js.map +1 -1
  237. package/dist/web/components/Tabs.js.zyzz.json +1 -1
  238. package/dist/web/components/Tag.css +1 -1
  239. package/dist/web/components/Tag.d.ts +10 -10
  240. package/dist/web/components/Tag.js +1 -1
  241. package/dist/web/components/Tag.js.map +1 -1
  242. package/dist/web/components/Tag.js.zyzz.json +1 -1
  243. package/dist/web/components/Textarea.css +1 -1
  244. package/dist/web/components/Textarea.d.ts +14 -14
  245. package/dist/web/components/Textarea.js.map +1 -1
  246. package/dist/web/components/Textarea.js.zyzz.json +1 -1
  247. package/dist/web/components/Toast.css +1 -1
  248. package/dist/web/components/Toast.d.ts.map +1 -1
  249. package/dist/web/components/Toast.js +2 -2
  250. package/dist/web/components/Toast.js.map +1 -1
  251. package/dist/web/components/Toast.js.zyzz.json +1 -1
  252. package/dist/web/components/Token.js.zyzz.json +1 -1
  253. package/dist/web/components/Tooltip.css +1 -1
  254. package/dist/web/components/Tooltip.d.ts.map +1 -1
  255. package/dist/web/components/Tooltip.js +1 -1
  256. package/dist/web/components/Tooltip.js.map +1 -1
  257. package/dist/web/components/Tooltip.js.zyzz.json +1 -1
  258. package/dist/web/components/internal/Field.css +1 -1
  259. package/dist/web/components/internal/Field.d.ts +7 -7
  260. package/dist/web/components/internal/Field.js.map +1 -1
  261. package/dist/web/components/internal/Field.js.zyzz.json +1 -1
  262. package/dist/web/components/internal/InputGroup.css +1 -1
  263. package/dist/web/components/internal/InputGroup.d.ts +23 -12
  264. package/dist/web/components/internal/InputGroup.d.ts.map +1 -1
  265. package/dist/web/components/internal/InputGroup.js +1 -1
  266. package/dist/web/components/internal/InputGroup.js.map +1 -1
  267. package/dist/web/components/internal/InputGroup.js.zyzz.json +1 -1
  268. package/dist/web/components/internal/Listbox.css +1 -1
  269. package/dist/web/components/internal/Listbox.d.ts +9 -9
  270. package/dist/web/components/internal/Listbox.d.ts.map +1 -1
  271. package/dist/web/components/internal/Listbox.js +1 -1
  272. package/dist/web/components/internal/Listbox.js.map +1 -1
  273. package/dist/web/components/internal/Listbox.js.zyzz.json +1 -1
  274. package/dist/web/index.js.zyzz.json +1 -1
  275. package/dist/web/vars.d.ts +91 -0
  276. package/dist/web/vars.d.ts.map +1 -1
  277. package/dist/web/vars.js.map +1 -1
  278. package/dist/web/vars.js.zyzz.json +1 -1
  279. package/dist/web/zyzz.config.d.ts +455 -0
  280. package/dist/web/zyzz.config.d.ts.map +1 -1
  281. package/dist/web/zyzz.config.js.zyzz.json +1 -1
  282. package/package.json +1 -1
  283. package/src/mobile/components/Button.tsx +1 -1
  284. package/src/mobile/components/IconButton.tsx +1 -1
  285. package/src/mobile/components/Spinner.tsx +3 -4
  286. package/src/mobile/components/Toast.tsx +1 -2
  287. package/src/mobile/components/Toggle.tsx +2 -2
  288. package/src/mobile/vars.ts +14 -0
  289. package/src/web/components/Accordion.tsx +8 -8
  290. package/src/web/components/AlertDialog.tsx +11 -8
  291. package/src/web/components/AmountInput.tsx +12 -12
  292. package/src/web/components/AppShell.tsx +23 -23
  293. package/src/web/components/Avatar.tsx +3 -3
  294. package/src/web/components/Banner.tsx +15 -15
  295. package/src/web/components/Breadcrumbs.tsx +4 -4
  296. package/src/web/components/Button.tsx +15 -12
  297. package/src/web/components/Calendar.tsx +5 -5
  298. package/src/web/components/Callout.tsx +15 -15
  299. package/src/web/components/Checkbox.tsx +9 -9
  300. package/src/web/components/ChoiceGroup.tsx +13 -14
  301. package/src/web/components/Choicebox.tsx +21 -21
  302. package/src/web/components/Combobox.tsx +3 -3
  303. package/src/web/components/DatePicker.tsx +24 -24
  304. package/src/web/components/Dialog.tsx +26 -17
  305. package/src/web/components/Drawer.tsx +6 -6
  306. package/src/web/components/Field.tsx +9 -9
  307. package/src/web/components/Frame.tsx +30 -9
  308. package/src/web/components/Gauge.tsx +1 -1
  309. package/src/web/components/Hex.tsx +5 -5
  310. package/src/web/components/IconChip.tsx +1 -2
  311. package/src/web/components/Input.tsx +10 -10
  312. package/src/web/components/Kbd.tsx +1 -1
  313. package/src/web/components/LoadingDots.tsx +4 -4
  314. package/src/web/components/Menu.tsx +15 -12
  315. package/src/web/components/NumberField.tsx +16 -16
  316. package/src/web/components/OtpField.tsx +14 -6
  317. package/src/web/components/Pagination.tsx +12 -12
  318. package/src/web/components/Popover.tsx +14 -11
  319. package/src/web/components/Progress.tsx +2 -2
  320. package/src/web/components/RadioGroup.tsx +11 -11
  321. package/src/web/components/Rows.tsx +35 -16
  322. package/src/web/components/SecretValue.tsx +4 -4
  323. package/src/web/components/Select.tsx +1 -1
  324. package/src/web/components/SidebarMenu.tsx +14 -15
  325. package/src/web/components/Slider.tsx +6 -7
  326. package/src/web/components/Snippet.tsx +8 -8
  327. package/src/web/components/SplitButton.tsx +17 -5
  328. package/src/web/components/Stepper.tsx +1 -1
  329. package/src/web/components/Surface.tsx +56 -50
  330. package/src/web/components/Switch.tsx +21 -23
  331. package/src/web/components/Table.tsx +4 -4
  332. package/src/web/components/Tabs.tsx +14 -14
  333. package/src/web/components/Tag.tsx +12 -12
  334. package/src/web/components/Textarea.tsx +14 -14
  335. package/src/web/components/Toast.tsx +23 -20
  336. package/src/web/components/Tooltip.tsx +12 -9
  337. package/src/web/components/internal/Field.ts +19 -19
  338. package/src/web/components/internal/InputGroup.ts +22 -13
  339. package/src/web/components/internal/Listbox.ts +17 -14
  340. package/src/web/vars.ts +81 -2
@@ -1,7 +1,7 @@
1
1
  import { useRender } from '@base-ui/react/use-render'
2
2
  import type { ComponentPropsWithRef } from 'react'
3
3
  import type * as zyzz from 'zyzz'
4
- import { variants } from '../zyzz.config.js'
4
+ import { variants, vars } from '../zyzz.config.js'
5
5
 
6
6
  /**
7
7
  * A card container that renders a `div` by default. Pass `render` to swap the element, such as a
@@ -11,7 +11,7 @@ import { variants } from '../zyzz.config.js'
11
11
  * - `size` sets the corner radius and padding together.
12
12
  * - Name the card with `Surface.Title`, which renders an `h2`, so headings keep the card navigable.
13
13
  * - A pressable surface should hold no other interactive controls, since nested targets conflict.
14
- * - A direct child `table` or `Rows` bleeds into the inline padding, so row fills reach the edges.
14
+ * - A direct child `table` or `Rows` bleeds into the padding, so row fills reach the edges.
15
15
  *
16
16
  * @example
17
17
  * <Surface>
@@ -123,18 +123,18 @@ namespace styles {
123
123
  // A trailing text button bleeds by its inline padding, so its label aligns with the content
124
124
  // edge, but never past the surface padding.
125
125
  '& > [data-variant="text"]:not([data-shape="icon"]):last-child': {
126
- marginInlineEnd: '-20px !custom',
126
+ marginInlineEnd: '-20',
127
127
  },
128
128
  '& > [data-variant="text"][data-size="small"]:not([data-shape="icon"]):last-child': {
129
- marginInlineEnd: '-12px !custom',
129
+ marginInlineEnd: '-12',
130
130
  },
131
131
  '& > [data-variant="text"][data-size="large"]:not([data-shape="icon"]):last-child': {
132
- marginInlineEnd: '-24px !custom',
132
+ marginInlineEnd: '-24',
133
133
  },
134
134
  '[data-surface-size="medium"] > & > [data-variant="text"]:is([data-size="medium"], [data-size="large"]):not([data-shape="icon"]):last-child':
135
- { marginInlineEnd: '-16px !custom' },
135
+ { marginInlineEnd: '-16' },
136
136
  '[data-surface-size="small"] > & > [data-variant="text"]:is([data-size="medium"], [data-size="large"]):not([data-shape="icon"]):last-child':
137
- { marginInlineEnd: '-12px !custom' },
137
+ { marginInlineEnd: '-12' },
138
138
  },
139
139
  },
140
140
  },
@@ -158,15 +158,15 @@ namespace styles {
158
158
  cursor: 'pointer',
159
159
  font: 'inherit !custom',
160
160
  outlineColor: 'transparent !custom',
161
- outlineOffset: '2px !custom',
161
+ outlineOffset: '2',
162
162
  outlineStyle: 'solid !custom',
163
- outlineWidth: '2px !custom',
163
+ outlineWidth: '2',
164
164
  padding: '0',
165
165
  textDecorationColor: 'transparent !custom',
166
166
  textDecorationLine: 'underline !custom',
167
167
  textDecorationThickness: '1px !custom',
168
168
  textUnderlineOffset: '4px !custom',
169
- transitionDuration: '160ms',
169
+ transitionDuration: '160',
170
170
  transitionProperty: 'color, outline-color, text-decoration-color',
171
171
  transitionTimingFunction: 'snappy',
172
172
  },
@@ -187,12 +187,12 @@ namespace styles {
187
187
  color: 'foreground',
188
188
  display: 'block',
189
189
  outlineColor: 'transparent !custom',
190
- outlineOffset: '0px !custom',
190
+ outlineOffset: '0',
191
191
  outlineStyle: 'solid !custom',
192
- outlineWidth: '2px !custom',
192
+ outlineWidth: '2',
193
193
  textAlign: 'start',
194
- transitionDuration: '160ms',
195
- transitionProperty: 'background-color, opacity, outline-color, outline-offset, transform',
194
+ transitionDuration: '160',
195
+ transitionProperty: 'background-color, opacity, outline-color, outline-offset, scale',
196
196
  transitionTimingFunction: 'snappy',
197
197
  typography: 'copy.14',
198
198
  selectors: {
@@ -207,11 +207,11 @@ namespace styles {
207
207
  },
208
208
  '&:is(button, a[href], [role="button"]):active:not(:disabled, [aria-disabled="true"])': {
209
209
  backgroundColor: 'gray.200',
210
- transform: 'scale(0.99) !custom',
210
+ scale: 'press',
211
211
  },
212
212
  '&:is(button, a[href], [role="button"]):focus-visible': {
213
213
  outlineColor: 'blue.700',
214
- outlineOffset: '2px !custom',
214
+ outlineOffset: '2',
215
215
  },
216
216
  // Edge-to-edge row fills would otherwise cross the rounded corners. A table clips rather
217
217
  // than hides its overflow, so a sticky header still sticks to the scrolling ancestor.
@@ -227,14 +227,14 @@ namespace styles {
227
227
  height: 'auto !custom',
228
228
  },
229
229
  '& > table[data-size="large"]:last-child:not(:has(> caption)) > tbody > tr:last-child > td':
230
- { paddingBlockStart: '18px !custom' },
230
+ { paddingBlockStart: '18' },
231
231
  '& > table[data-size="medium"]:last-child:not(:has(> caption)) > tbody > tr:last-child > td':
232
- { paddingBlockStart: '10px !custom' },
232
+ { paddingBlockStart: '10' },
233
233
  '& > table[data-size="small"]:last-child:not(:has(> caption)) > tbody > tr:last-child > td':
234
- { paddingBlockStart: '6px !custom' },
234
+ { paddingBlockStart: '6' },
235
235
  '&:disabled, &[aria-disabled="true"]': {
236
236
  cursor: 'default',
237
- opacity: '0.4 !custom',
237
+ opacity: 'disabled',
238
238
  pointerEvents: 'none',
239
239
  },
240
240
  },
@@ -242,7 +242,7 @@ namespace styles {
242
242
  transitionProperty: 'background-color, opacity, outline-color',
243
243
  selectors: {
244
244
  '&:is(button, a[href], [role="button"]):active:not(:disabled, [aria-disabled="true"])':
245
- { transform: 'none !custom' },
245
+ { scale: 'none !custom' },
246
246
  },
247
247
  },
248
248
  },
@@ -251,29 +251,31 @@ namespace styles {
251
251
  // Padding is one and a half times the radius, and they scale together. A direct child
252
252
  // table or Rows bleeds into the inline padding so fills reach the edges. Table cells at the
253
253
  // edges take back exactly the padding, so their text aligns with the content edge, while rows
254
- // keep their own side padding. Rows also take half the block padding, since each row brings
255
- // its own.
254
+ // keep their own side padding. Rows at the top or bottom edge take the full block padding,
255
+ // since each row brings its own, and take half beside other content.
256
256
  size: {
257
257
  large: {
258
258
  borderRadius: '16',
259
259
  padding: '24',
260
260
  selectors: {
261
- '& > table, & > [data-rows]': { marginInline: '-24px !custom' },
262
- '& > [data-rows]': { marginBlock: '-12px !custom' },
263
- '& > table': { width: 'calc(100% + 48px) !custom' },
261
+ '& > table, & > [data-rows]': { marginInline: '-24' },
262
+ '& > [data-rows]': { marginBlock: '-12' },
263
+ '& > [data-rows]:first-child': { marginBlockStart: '-24' },
264
+ '& > [data-rows]:last-child': { marginBlockEnd: '-24' },
265
+ '& > table': { width: `calc(100% + ${vars.spacing['48']}) !custom` },
264
266
  '& > table > caption, & > table tr > :first-child': {
265
- paddingInlineStart: '24px !custom',
267
+ paddingInlineStart: '24',
266
268
  },
267
- '& > table tr > :last-child': { paddingInlineEnd: '24px !custom' },
268
- '& > table:first-child:has(> thead)': { marginBlockStart: '-24px !custom' },
269
+ '& > table tr > :last-child': { paddingInlineEnd: '24' },
270
+ '& > table:first-child:has(> thead)': { marginBlockStart: '-24' },
269
271
  '& > table:first-child > thead > tr:first-child > th': {
270
- paddingBlockStart: '24px !custom',
272
+ paddingBlockStart: '24',
271
273
  },
272
274
  '& > table:last-child:not(:has(> caption))': {
273
- marginBlockEnd: '-24px !custom',
275
+ marginBlockEnd: '-24',
274
276
  },
275
277
  '& > table:last-child:not(:has(> caption)) > tbody > tr:last-child > td': {
276
- paddingBlockEnd: '24px !custom',
278
+ paddingBlockEnd: '24',
277
279
  },
278
280
  },
279
281
  },
@@ -281,22 +283,24 @@ namespace styles {
281
283
  borderRadius: '12',
282
284
  padding: '16',
283
285
  selectors: {
284
- '& > table, & > [data-rows]': { marginInline: '-16px !custom' },
285
- '& > [data-rows]': { marginBlock: '-8px !custom' },
286
- '& > table': { width: 'calc(100% + 32px) !custom' },
286
+ '& > table, & > [data-rows]': { marginInline: '-16' },
287
+ '& > [data-rows]': { marginBlock: '-8' },
288
+ '& > [data-rows]:first-child': { marginBlockStart: '-16' },
289
+ '& > [data-rows]:last-child': { marginBlockEnd: '-16' },
290
+ '& > table': { width: `calc(100% + ${vars.spacing['32']}) !custom` },
287
291
  '& > table > caption, & > table tr > :first-child': {
288
- paddingInlineStart: '16px !custom',
292
+ paddingInlineStart: '16',
289
293
  },
290
- '& > table tr > :last-child': { paddingInlineEnd: '16px !custom' },
291
- '& > table:first-child:has(> thead)': { marginBlockStart: '-16px !custom' },
294
+ '& > table tr > :last-child': { paddingInlineEnd: '16' },
295
+ '& > table:first-child:has(> thead)': { marginBlockStart: '-16' },
292
296
  '& > table:first-child > thead > tr:first-child > th': {
293
- paddingBlockStart: '16px !custom',
297
+ paddingBlockStart: '16',
294
298
  },
295
299
  '& > table:last-child:not(:has(> caption))': {
296
- marginBlockEnd: '-16px !custom',
300
+ marginBlockEnd: '-16',
297
301
  },
298
302
  '& > table:last-child:not(:has(> caption)) > tbody > tr:last-child > td': {
299
- paddingBlockEnd: '16px !custom',
303
+ paddingBlockEnd: '16',
300
304
  },
301
305
  },
302
306
  },
@@ -304,22 +308,24 @@ namespace styles {
304
308
  borderRadius: '8',
305
309
  padding: '12',
306
310
  selectors: {
307
- '& > table, & > [data-rows]': { marginInline: '-12px !custom' },
308
- '& > [data-rows]': { marginBlock: '-6px !custom' },
309
- '& > table': { width: 'calc(100% + 24px) !custom' },
311
+ '& > table, & > [data-rows]': { marginInline: '-12' },
312
+ '& > [data-rows]': { marginBlock: '-6' },
313
+ '& > [data-rows]:first-child': { marginBlockStart: '-12' },
314
+ '& > [data-rows]:last-child': { marginBlockEnd: '-12' },
315
+ '& > table': { width: `calc(100% + ${vars.spacing['24']}) !custom` },
310
316
  '& > table > caption, & > table tr > :first-child': {
311
- paddingInlineStart: '12px !custom',
317
+ paddingInlineStart: '12',
312
318
  },
313
- '& > table tr > :last-child': { paddingInlineEnd: '12px !custom' },
314
- '& > table:first-child:has(> thead)': { marginBlockStart: '-12px !custom' },
319
+ '& > table tr > :last-child': { paddingInlineEnd: '12' },
320
+ '& > table:first-child:has(> thead)': { marginBlockStart: '-12' },
315
321
  '& > table:first-child > thead > tr:first-child > th': {
316
- paddingBlockStart: '12px !custom',
322
+ paddingBlockStart: '12',
317
323
  },
318
324
  '& > table:last-child:not(:has(> caption))': {
319
- marginBlockEnd: '-12px !custom',
325
+ marginBlockEnd: '-12',
320
326
  },
321
327
  '& > table:last-child:not(:has(> caption)) > tbody > tr:last-child > td': {
322
- paddingBlockEnd: '12px !custom',
328
+ paddingBlockEnd: '12',
323
329
  },
324
330
  },
325
331
  },
@@ -84,7 +84,7 @@ namespace styles {
84
84
  flexShrink: '0 !custom',
85
85
  height: '24px !custom',
86
86
  // The thumb stretches its width while pressed, which a transform would distort.
87
- transitionDuration: '240ms',
87
+ transitionDuration: '240',
88
88
  transitionProperty: 'background-color, box-shadow, translate, width',
89
89
  transitionTimingFunction: 'overshoot',
90
90
  width: '24px !custom',
@@ -94,22 +94,18 @@ namespace styles {
94
94
  boxShadow: 'none !custom',
95
95
  translate: '22px 0 !custom',
96
96
  },
97
- '[data-size="large"] > &': { height: '30px !custom', width: '30px !custom' },
98
- '[data-size="large"] > &[data-checked]': { translate: '30px 0 !custom' },
99
- '[data-size="large"]:active:not([data-disabled]) > &': { width: '36px !custom' },
100
- '[data-size="large"]:active:not([data-disabled]) > &[data-checked]': {
101
- translate: '24px 0 !custom',
102
- },
97
+ '[data-size="large"] > &': { height: '30', width: '30' },
98
+ '[data-size="large"] > &[data-checked]': { translate: '30' },
99
+ '[data-size="large"]:active:not([data-disabled]) > &': { width: '36' },
100
+ '[data-size="large"]:active:not([data-disabled]) > &[data-checked]': { translate: '24' },
103
101
  '[data-size="medium"]:active:not([data-disabled]) > &': { width: '30px !custom' },
104
102
  '[data-size="medium"]:active:not([data-disabled]) > &[data-checked]': {
105
103
  translate: '16px 0 !custom',
106
104
  },
107
- '[data-size="small"] > &': { height: '20px !custom', width: '20px !custom' },
108
- '[data-size="small"] > &[data-checked]': { translate: '16px 0 !custom' },
109
- '[data-size="small"]:active:not([data-disabled]) > &': { width: '24px !custom' },
110
- '[data-size="small"]:active:not([data-disabled]) > &[data-checked]': {
111
- translate: '12px 0 !custom',
112
- },
105
+ '[data-size="small"] > &': { height: '20', width: '20' },
106
+ '[data-size="small"] > &[data-checked]': { translate: '16' },
107
+ '[data-size="small"]:active:not([data-disabled]) > &': { width: '24' },
108
+ '[data-size="small"]:active:not([data-disabled]) > &[data-checked]': { translate: '12' },
113
109
  },
114
110
  '@media (prefers-reduced-motion: reduce)': {
115
111
  transitionProperty: 'background-color, box-shadow',
@@ -129,24 +125,24 @@ namespace styles {
129
125
  display: 'inline-flex',
130
126
  flexShrink: '0 !custom',
131
127
  outlineColor: 'transparent !custom',
132
- outlineOffset: '0px !custom',
128
+ outlineOffset: '0',
133
129
  outlineStyle: 'solid !custom',
134
- outlineWidth: '2px !custom',
130
+ outlineWidth: '2',
135
131
  position: 'relative',
136
- transitionDuration: '160ms',
132
+ transitionDuration: '160',
137
133
  transitionProperty: 'background-color, opacity, outline-color, outline-offset',
138
134
  transitionTimingFunction: 'snappy',
139
135
  selectors: {
140
- '&::after': { content: '"" !custom', inset: '-8px !custom', position: 'absolute' },
141
- '&:focus-visible': { outlineColor: 'blue.700', outlineOffset: '2px !custom' },
136
+ '&::after': { content: '"" !custom', inset: '-8', position: 'absolute' },
137
+ '&:focus-visible': { outlineColor: 'blue.700', outlineOffset: '2' },
142
138
  '&:hover:not([data-disabled]):not([data-checked])': { backgroundColor: 'grayAlpha.300' },
143
139
  '&[data-checked]': { backgroundColor: 'foreground' },
144
- '&[data-checked]:hover:not([data-disabled])': { opacity: '0.86 !custom' },
145
- '&[data-disabled]': { cursor: 'default', opacity: '0.4 !custom' },
140
+ '&[data-checked]:hover:not([data-disabled])': { opacity: 'hover' },
141
+ '&[data-disabled]': { cursor: 'default', opacity: 'disabled' },
146
142
  '&[data-invalid]': {
147
143
  outlineColor: 'red.800',
148
144
  outlineStyle: 'solid !custom',
149
- outlineWidth: '1px !custom',
145
+ outlineWidth: '1',
150
146
  },
151
147
  '[data-variant="setting"] > &': {
152
148
  alignSelf: 'center !custom',
@@ -162,9 +158,11 @@ namespace styles {
162
158
  defaultVariants: { size: 'medium' },
163
159
  variants: {
164
160
  size: {
165
- large: { height: '38px !custom', padding: '4px !custom', width: '68px !custom' },
161
+ large: { height: '38', padding: '4', width: '68' },
162
+ // The track, thumb, and checked translation of each size add up exactly, so a size uses
163
+ // tokens or px throughout. Medium stays in px, since its 3px padding has no spacing step.
166
164
  medium: { height: '30px !custom', padding: '3px !custom', width: '52px !custom' },
167
- small: { height: '24px !custom', padding: '2px !custom', width: '40px !custom' },
165
+ small: { height: '24', padding: '2', width: '40' },
168
166
  },
169
167
  },
170
168
  },
@@ -282,17 +282,17 @@ namespace styles {
282
282
  selectors: {
283
283
  '& tbody tr': {
284
284
  outlineColor: 'transparent !custom',
285
- outlineOffset: '0px !custom',
285
+ outlineOffset: '0',
286
286
  outlineStyle: 'solid !custom',
287
- outlineWidth: '2px !custom',
288
- transitionDuration: '160ms',
287
+ outlineWidth: '2',
288
+ transitionDuration: '160',
289
289
  transitionProperty: 'background-color, outline-color, outline-offset',
290
290
  transitionTimingFunction: 'snappy',
291
291
  },
292
292
  '& tbody tr:hover': { backgroundColor: 'grayAlpha.100' },
293
293
  '& tbody tr:focus-visible': {
294
294
  outlineColor: 'blue.700',
295
- outlineOffset: '-2px !custom',
295
+ outlineOffset: '-2',
296
296
  },
297
297
  '& tbody tr:is([tabindex], [role="button"], [data-href]):hover': {
298
298
  cursor: 'pointer',
@@ -131,7 +131,7 @@ namespace styles {
131
131
  export const indicator = variants(
132
132
  {
133
133
  base: {
134
- backgroundColor: 'light-dark(white, rgb(255 255 255 / 0.16)) !custom',
134
+ backgroundColor: 'background.indicator',
135
135
  boxShadow: 'raised',
136
136
  height: 'var(--active-tab-height) !custom',
137
137
  insetBlockStart: '0',
@@ -140,7 +140,7 @@ namespace styles {
140
140
  position: 'absolute',
141
141
  translate: 'var(--active-tab-left) var(--active-tab-top) !custom',
142
142
  // The indicator matches each tab's size, so it transitions width and height with its position.
143
- transitionDuration: '240ms',
143
+ transitionDuration: '240',
144
144
  transitionProperty: 'height, translate, width',
145
145
  transitionTimingFunction: 'spring',
146
146
  width: 'var(--active-tab-width) !custom',
@@ -205,14 +205,14 @@ namespace styles {
205
205
  base: {
206
206
  marginBlockStart: '12',
207
207
  outlineColor: 'transparent !custom',
208
- outlineOffset: '0px !custom',
208
+ outlineOffset: '0',
209
209
  outlineStyle: 'solid !custom',
210
- outlineWidth: '2px !custom',
211
- transitionDuration: '160ms',
210
+ outlineWidth: '2',
211
+ transitionDuration: '160',
212
212
  transitionProperty: 'outline-color, outline-offset',
213
213
  transitionTimingFunction: 'snappy',
214
214
  selectors: {
215
- '&:focus-visible': { outlineColor: 'blue.700', outlineOffset: '2px !custom' },
215
+ '&:focus-visible': { outlineColor: 'blue.700', outlineOffset: '2' },
216
216
  },
217
217
  '@media (prefers-reduced-motion: reduce)': { transitionProperty: 'outline-color' },
218
218
  },
@@ -234,13 +234,13 @@ namespace styles {
234
234
  height: '100% !custom',
235
235
  justifyContent: 'center',
236
236
  outlineColor: 'transparent !custom',
237
- outlineOffset: '0px !custom',
237
+ outlineOffset: '0',
238
238
  outlineStyle: 'solid !custom',
239
- outlineWidth: '2px !custom',
239
+ outlineWidth: '2',
240
240
  paddingInline: '16',
241
241
  position: 'relative',
242
- transitionDuration: '160ms',
243
- transitionProperty: 'color, outline-color, outline-offset, transform',
242
+ transitionDuration: '160',
243
+ transitionProperty: 'color, outline-color, outline-offset, scale',
244
244
  transitionTimingFunction: 'snappy',
245
245
  // Weight overrides the typography token, so it stays after it.
246
246
  typography: 'button.14',
@@ -248,15 +248,15 @@ namespace styles {
248
248
  whiteSpace: 'nowrap',
249
249
  zIndex: '1 !custom',
250
250
  selectors: {
251
- '&:active:not([data-disabled])': { transform: 'scale(0.97) !custom' },
252
- '&:focus-visible': { outlineColor: 'blue.700', outlineOffset: '2px !custom' },
251
+ '&:active:not([data-disabled])': { scale: 'press' },
252
+ '&:focus-visible': { outlineColor: 'blue.700', outlineOffset: '2' },
253
253
  '&:hover:not([data-disabled])': { color: 'foreground' },
254
254
  '&[data-active]': { color: 'foreground' },
255
- '&[data-disabled]': { cursor: 'default', opacity: '0.4 !custom' },
255
+ '&[data-disabled]': { cursor: 'default', opacity: 'disabled' },
256
256
  },
257
257
  '@media (prefers-reduced-motion: reduce)': {
258
258
  transitionProperty: 'color, outline-color',
259
- selectors: { '&:active:not([data-disabled])': { transform: 'none !custom' } },
259
+ selectors: { '&:active:not([data-disabled])': { scale: 'none !custom' } },
260
260
  },
261
261
  },
262
262
  },
@@ -65,8 +65,8 @@ namespace styles {
65
65
  backgroundColor: 'currentColor !custom',
66
66
  borderRadius: 'full',
67
67
  flexShrink: '0 !custom',
68
- height: '6px !custom',
69
- width: '6px !custom',
68
+ height: '6',
69
+ width: '6',
70
70
  },
71
71
  { id: 'tds/web/tag/dot' },
72
72
  )
@@ -78,7 +78,7 @@ namespace styles {
78
78
  border: '1px solid !custom',
79
79
  borderColor: 'transparent !custom',
80
80
  boxSizing: 'border-box',
81
- columnGap: '6px !custom',
81
+ columnGap: '6',
82
82
  display: 'inline-flex',
83
83
  height: '24',
84
84
  paddingInline: '8',
@@ -90,26 +90,26 @@ namespace styles {
90
90
  '&:is(button, a)': {
91
91
  cursor: 'pointer',
92
92
  outlineColor: 'transparent !custom',
93
- outlineOffset: '0px !custom',
93
+ outlineOffset: '0',
94
94
  outlineStyle: 'solid !custom',
95
- outlineWidth: '2px !custom',
95
+ outlineWidth: '2',
96
96
  textDecoration: 'none !custom',
97
- transitionDuration: '160ms',
98
- transitionProperty: 'opacity, outline-color, outline-offset, transform',
97
+ transitionDuration: '160',
98
+ transitionProperty: 'opacity, outline-color, outline-offset, scale',
99
99
  transitionTimingFunction: 'snappy',
100
100
  },
101
- '&:is(button, a):active': { transform: 'scale(0.98) !custom' },
101
+ '&:is(button, a):active': { scale: 'press' },
102
102
  '&:is(button, a):focus-visible': {
103
103
  outlineColor: 'blue.700',
104
- outlineOffset: '2px !custom',
104
+ outlineOffset: '2',
105
105
  },
106
106
  '&:is(button, a):hover': { opacity: '0.8 !custom' },
107
- '&:is(button):disabled': { cursor: 'default', opacity: '0.4 !custom' },
107
+ '&:is(button):disabled': { cursor: 'default', opacity: 'disabled' },
108
108
  },
109
109
  '@media (prefers-reduced-motion: reduce)': {
110
110
  selectors: {
111
111
  '&:is(button, a)': { transitionProperty: 'opacity, outline-color' },
112
- '&:is(button, a):active': { transform: 'none !custom' },
112
+ '&:is(button, a):active': { scale: 'none !custom' },
113
113
  },
114
114
  },
115
115
  },
@@ -139,7 +139,7 @@ namespace styles {
139
139
  size: {
140
140
  large: { height: '32', paddingInline: '12', typography: 'label.14' },
141
141
  medium: {},
142
- small: { height: '20', paddingInline: '6px !custom' },
142
+ small: { height: '20', paddingInline: '6' },
143
143
  },
144
144
  variant: { outlined: {}, plain: {}, soft: {} },
145
145
  },
@@ -60,25 +60,25 @@ namespace styles {
60
60
  backgroundColor: 'grayAlpha.100',
61
61
  borderColor: 'transparent !custom',
62
62
  borderStyle: 'solid',
63
- borderWidth: '2px !custom',
63
+ borderWidth: '2',
64
64
  boxSizing: 'border-box',
65
65
  color: 'foreground',
66
66
  display: 'block',
67
67
  outlineColor: 'transparent !custom',
68
- outlineOffset: '2px !custom',
68
+ outlineOffset: '2',
69
69
  outlineStyle: 'solid !custom',
70
- outlineWidth: '2px !custom',
71
- transitionDuration: '160ms !custom',
70
+ outlineWidth: '2',
71
+ transitionDuration: '160',
72
72
  transitionProperty: 'background-color, border-color, opacity, outline-color !custom',
73
73
  transitionTimingFunction: 'snappy',
74
74
  width: '100% !custom',
75
75
  selectors: {
76
- '&:disabled': { opacity: '0.4 !custom' },
76
+ '&:disabled': { opacity: 'disabled' },
77
77
  '&:focus-visible': { outlineColor: 'blue.700' },
78
78
  '&:hover:not(:disabled)': { backgroundColor: 'grayAlpha.200' },
79
79
  '&::placeholder': {
80
80
  color: 'grayAlpha.900',
81
- transitionDuration: '160ms !custom',
81
+ transitionDuration: '160',
82
82
  transitionProperty: 'opacity !custom',
83
83
  transitionTimingFunction: 'snappy',
84
84
  },
@@ -94,13 +94,13 @@ namespace styles {
94
94
  },
95
95
  '&[data-variant="card"][data-size="large"]': { borderRadius: '16', padding: '24' },
96
96
  // The first line sits below the floating label, as in a stacked Input of the same size.
97
- '[data-variant="stacked"] > &': { gridArea: '1 / 1', paddingTop: '14px !custom' },
98
- '[data-variant="stacked"] > &[data-size="large"]': { paddingTop: '22px !custom' },
97
+ '[data-variant="stacked"] > &': { gridArea: '1 / 1', paddingTop: '14' },
98
+ '[data-variant="stacked"] > &[data-size="large"]': { paddingTop: '22' },
99
99
  // A small stacked field takes the medium size, as Input does.
100
100
  '[data-variant="stacked"] > &[data-size="small"]': {
101
101
  borderRadius: '12',
102
102
  paddingBottom: '8',
103
- paddingInline: '14px !custom',
103
+ paddingInline: '14',
104
104
  typography: 'copy.14',
105
105
  },
106
106
  '[data-variant="stacked"]:not([data-focused]) &::placeholder': { opacity: '0 !custom' },
@@ -125,20 +125,20 @@ namespace styles {
125
125
  size: {
126
126
  large: {
127
127
  borderRadius: '16',
128
- paddingBlock: '14px !custom',
129
- paddingInline: '18px !custom',
128
+ paddingBlock: '14',
129
+ paddingInline: '18',
130
130
  typography: 'copy.16',
131
131
  },
132
132
  medium: {
133
133
  borderRadius: '12',
134
134
  paddingBlock: '8',
135
- paddingInline: '14px !custom',
135
+ paddingInline: '14',
136
136
  typography: 'copy.14',
137
137
  },
138
138
  small: {
139
139
  borderRadius: '8',
140
140
  paddingBlock: '5px !custom',
141
- paddingInline: '10px !custom',
141
+ paddingInline: '10',
142
142
  typography: 'copy.13',
143
143
  },
144
144
  },
@@ -148,7 +148,7 @@ namespace styles {
148
148
  borderColor: 'grayAlpha.200',
149
149
  borderRadius: '12',
150
150
  borderStyle: 'solid',
151
- borderWidth: '1px !custom',
151
+ borderWidth: '1',
152
152
  padding: '16',
153
153
  selectors: {
154
154
  '&:hover:not(:disabled)': {