@zyncat/ui 0.13.0 → 0.15.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 (440) hide show
  1. package/README.md +72 -13
  2. package/dist/alert.css +26 -33
  3. package/dist/alert.js +18 -17
  4. package/dist/alert.js.map +1 -1
  5. package/dist/avatar-group.js +2 -2
  6. package/dist/avatar-group.js.map +1 -1
  7. package/dist/avatar.css +51 -50
  8. package/dist/avatar.js +29 -7
  9. package/dist/avatar.js.map +1 -1
  10. package/dist/badge.css +30 -36
  11. package/dist/badge.js +1 -1
  12. package/dist/button.css +80 -96
  13. package/dist/button.js +1 -1
  14. package/dist/checkbox.css +27 -32
  15. package/dist/checkbox.js +2 -2
  16. package/dist/{chunk-RJFGWJ4W.js → chunk-3XRVPCIM.js} +6 -6
  17. package/dist/chunk-3XRVPCIM.js.map +1 -0
  18. package/dist/{chunk-M43IOM5C.js → chunk-5GBV45YD.js} +3 -3
  19. package/dist/{chunk-M43IOM5C.js.map → chunk-5GBV45YD.js.map} +1 -1
  20. package/dist/{chunk-45R4Z5XN.js → chunk-5VC3TUZ2.js} +4 -4
  21. package/dist/{chunk-45R4Z5XN.js.map → chunk-5VC3TUZ2.js.map} +1 -1
  22. package/dist/{chunk-A5WTZACK.js → chunk-5W5TKANX.js} +3 -3
  23. package/dist/{chunk-A5WTZACK.js.map → chunk-5W5TKANX.js.map} +1 -1
  24. package/dist/{chunk-AADAJL7D.js → chunk-5X3MJRIM.js} +8 -9
  25. package/dist/chunk-5X3MJRIM.js.map +1 -0
  26. package/dist/{chunk-TCUCYFT7.js → chunk-6SUHSSOK.js} +3 -3
  27. package/dist/{chunk-TCUCYFT7.js.map → chunk-6SUHSSOK.js.map} +1 -1
  28. package/dist/{chunk-DDRSMHN4.js → chunk-6X3G4GIM.js} +3 -3
  29. package/dist/{chunk-DDRSMHN4.js.map → chunk-6X3G4GIM.js.map} +1 -1
  30. package/dist/{chunk-TYHR4VNM.js → chunk-AREEMG47.js} +10 -8
  31. package/dist/chunk-AREEMG47.js.map +1 -0
  32. package/dist/{chunk-EF6RPXU7.js → chunk-BH4JFWXQ.js} +36 -31
  33. package/dist/chunk-BH4JFWXQ.js.map +1 -0
  34. package/dist/{chunk-TVYH4AN7.js → chunk-BTF6DAE3.js} +13 -13
  35. package/dist/chunk-BTF6DAE3.js.map +1 -0
  36. package/dist/{chunk-CF4QHO4N.js → chunk-CAXQJSIE.js} +10 -10
  37. package/dist/{chunk-CF4QHO4N.js.map → chunk-CAXQJSIE.js.map} +1 -1
  38. package/dist/{chunk-4C5RZXBT.js → chunk-CFRGQJ23.js} +8 -8
  39. package/dist/chunk-CFRGQJ23.js.map +1 -0
  40. package/dist/{chunk-IJS7TPGV.js → chunk-FEXUS4SV.js} +6 -5
  41. package/dist/chunk-FEXUS4SV.js.map +1 -0
  42. package/dist/{chunk-227ZW4V7.js → chunk-FLQVOSFC.js} +11 -11
  43. package/dist/chunk-FLQVOSFC.js.map +1 -0
  44. package/dist/{chunk-FONOS5RN.js → chunk-FVPNICF4.js} +11 -10
  45. package/dist/chunk-FVPNICF4.js.map +1 -0
  46. package/dist/{chunk-I45AU6KH.js → chunk-GGDAMIBH.js} +13 -7
  47. package/dist/chunk-GGDAMIBH.js.map +1 -0
  48. package/dist/{chunk-4BSHB7R3.js → chunk-GJTHWB6O.js} +9 -9
  49. package/dist/chunk-GJTHWB6O.js.map +1 -0
  50. package/dist/{chunk-EAI4POPB.js → chunk-GOLSYGRA.js} +45 -75
  51. package/dist/chunk-GOLSYGRA.js.map +1 -0
  52. package/dist/chunk-H3X2263Y.js +17 -0
  53. package/dist/chunk-H3X2263Y.js.map +1 -0
  54. package/dist/chunk-K45CWVHS.js +53 -0
  55. package/dist/chunk-K45CWVHS.js.map +1 -0
  56. package/dist/{chunk-JY6A2ZJZ.js → chunk-LNAV5E7S.js} +2 -2
  57. package/dist/{chunk-JY6A2ZJZ.js.map → chunk-LNAV5E7S.js.map} +1 -1
  58. package/dist/{chunk-TUTXXC3W.js → chunk-MDSRZ4QR.js} +3 -3
  59. package/dist/{chunk-TUTXXC3W.js.map → chunk-MDSRZ4QR.js.map} +1 -1
  60. package/dist/chunk-N2GJEO5Z.js +101 -0
  61. package/dist/chunk-N2GJEO5Z.js.map +1 -0
  62. package/dist/chunk-PU3QWBEL.js +39 -0
  63. package/dist/chunk-PU3QWBEL.js.map +1 -0
  64. package/dist/{chunk-43M6GQ4Q.js → chunk-PWQVSVXR.js} +51 -32
  65. package/dist/chunk-PWQVSVXR.js.map +1 -0
  66. package/dist/chunk-QGVFFT2B.js +14 -0
  67. package/dist/chunk-QGVFFT2B.js.map +1 -0
  68. package/dist/{chunk-5PZ43DCG.js → chunk-RBSHRRNO.js} +12 -13
  69. package/dist/chunk-RBSHRRNO.js.map +1 -0
  70. package/dist/{chunk-XNIYSAMJ.js → chunk-RW2A4M2Q.js} +14 -9
  71. package/dist/chunk-RW2A4M2Q.js.map +1 -0
  72. package/dist/{chunk-HY5MPISE.js → chunk-UYSXJ7MH.js} +9 -9
  73. package/dist/chunk-UYSXJ7MH.js.map +1 -0
  74. package/dist/chunk-VDOBLABP.js +38 -0
  75. package/dist/chunk-VDOBLABP.js.map +1 -0
  76. package/dist/chunk-VNVVG47J.js +12 -0
  77. package/dist/chunk-VNVVG47J.js.map +1 -0
  78. package/dist/{chunk-3MPF7FZV.js → chunk-WCWV5IX6.js} +3 -3
  79. package/dist/{chunk-3MPF7FZV.js.map → chunk-WCWV5IX6.js.map} +1 -1
  80. package/dist/{chunk-VAXCXZ53.js → chunk-WZUTBJC4.js} +5 -4
  81. package/dist/chunk-WZUTBJC4.js.map +1 -0
  82. package/dist/cli.js +137 -25
  83. package/dist/collapse.css +15 -30
  84. package/dist/collapse.js +1 -1
  85. package/dist/confetti.css +19 -12
  86. package/dist/confetti.js +7 -6
  87. package/dist/confetti.js.map +1 -1
  88. package/dist/count-badge.js +2 -2
  89. package/dist/date-field.js +20 -19
  90. package/dist/date-field.js.map +1 -1
  91. package/dist/date-picker.css +131 -154
  92. package/dist/date-range-field.js +55 -54
  93. package/dist/date-range-field.js.map +1 -1
  94. package/dist/datetime-field.js +24 -23
  95. package/dist/datetime-field.js.map +1 -1
  96. package/dist/dialog.css +31 -41
  97. package/dist/dialog.js +23 -22
  98. package/dist/dialog.js.map +1 -1
  99. package/dist/digit-strip.css +16 -16
  100. package/dist/dropdown.css +36 -27
  101. package/dist/dropdown.js +77 -40
  102. package/dist/dropdown.js.map +1 -1
  103. package/dist/emoji-picker.js +44 -45
  104. package/dist/emoji-picker.js.map +1 -1
  105. package/dist/facebook-feed.css +145 -148
  106. package/dist/facebook-feed.js +106 -102
  107. package/dist/facebook-feed.js.map +1 -1
  108. package/dist/flow-field.css +8 -4
  109. package/dist/flow-field.js +7 -6
  110. package/dist/flow-field.js.map +1 -1
  111. package/dist/glide.js +4 -3
  112. package/dist/icon.css +7 -10
  113. package/dist/input.css +76 -84
  114. package/dist/instagram-feed.css +65 -66
  115. package/dist/instagram-feed.js +61 -44
  116. package/dist/instagram-feed.js.map +1 -1
  117. package/dist/lens.css +42 -38
  118. package/dist/lens.js +17 -16
  119. package/dist/lens.js.map +1 -1
  120. package/dist/mcp.js +3 -2
  121. package/dist/menu-surface.css +54 -34
  122. package/dist/modal.css +2 -4
  123. package/dist/modal.js +12 -11
  124. package/dist/modal.js.map +1 -1
  125. package/dist/morphing-text.css +26 -16
  126. package/dist/morphing-text.js +14 -13
  127. package/dist/morphing-text.js.map +1 -1
  128. package/dist/motion-devtools.css +42 -68
  129. package/dist/motion-devtools.js +47 -39
  130. package/dist/motion-devtools.js.map +1 -1
  131. package/dist/motion-tokens.js +1 -1
  132. package/dist/multi-select.js +21 -16
  133. package/dist/multi-select.js.map +1 -1
  134. package/dist/number-field.js +14 -14
  135. package/dist/number-field.js.map +1 -1
  136. package/dist/odometer.css +22 -16
  137. package/dist/odometer.js +12 -11
  138. package/dist/odometer.js.map +1 -1
  139. package/dist/otp-field.js +3 -3
  140. package/dist/otp-field.js.map +1 -1
  141. package/dist/overlay.css +4 -9
  142. package/dist/pagination.css +10 -15
  143. package/dist/pagination.js +11 -10
  144. package/dist/pagination.js.map +1 -1
  145. package/dist/popover.css +13 -15
  146. package/dist/popover.js +10 -9
  147. package/dist/radio-group.css +60 -73
  148. package/dist/radio-group.js +30 -29
  149. package/dist/radio-group.js.map +1 -1
  150. package/dist/select.css +66 -75
  151. package/dist/select.js +19 -14
  152. package/dist/select.js.map +1 -1
  153. package/dist/sheet.css +12 -14
  154. package/dist/sheet.js +11 -10
  155. package/dist/status-badge.js +9 -9
  156. package/dist/status-badge.js.map +1 -1
  157. package/dist/styles.css +34 -34
  158. package/dist/support-rail.css +116 -100
  159. package/dist/support-rail.js +41 -40
  160. package/dist/support-rail.js.map +1 -1
  161. package/dist/table.css +76 -84
  162. package/dist/table.js +42 -41
  163. package/dist/table.js.map +1 -1
  164. package/dist/tabs.css +82 -90
  165. package/dist/tabs.js +23 -20
  166. package/dist/tabs.js.map +1 -1
  167. package/dist/tag.css +48 -53
  168. package/dist/tag.js +13 -12
  169. package/dist/tag.js.map +1 -1
  170. package/dist/text-field.js +5 -5
  171. package/dist/textarea.css +46 -49
  172. package/dist/textarea.js +16 -16
  173. package/dist/textarea.js.map +1 -1
  174. package/dist/theme.js +31 -15
  175. package/dist/theme.js.map +1 -1
  176. package/dist/tiktok.css +113 -117
  177. package/dist/tiktok.js +53 -52
  178. package/dist/tiktok.js.map +1 -1
  179. package/dist/time-field.js +26 -20
  180. package/dist/time-field.js.map +1 -1
  181. package/dist/toast-store.js +2 -1
  182. package/dist/toast.css +49 -65
  183. package/dist/toast.js +32 -26
  184. package/dist/toast.js.map +1 -1
  185. package/dist/toggle-tag.js +22 -13
  186. package/dist/toggle-tag.js.map +1 -1
  187. package/dist/toggle.css +26 -31
  188. package/dist/toggle.js +7 -7
  189. package/dist/toggle.js.map +1 -1
  190. package/dist/tooltip.css +16 -23
  191. package/dist/tooltip.js +117 -95
  192. package/dist/tooltip.js.map +1 -1
  193. package/dist/trigger.css +3 -3
  194. package/dist/types/components/composites/alert/Alert.d.ts +1 -2
  195. package/dist/types/components/composites/date-picker/TimeField.d.ts +1 -2
  196. package/dist/types/components/composites/date-picker/field-shell.d.ts +1 -1
  197. package/dist/types/components/composites/date-picker/time-core.d.ts +1 -2
  198. package/dist/types/components/composites/dropdown/Dropdown.d.ts +9 -1
  199. package/dist/types/components/composites/dropdown/types.d.ts +14 -0
  200. package/dist/types/components/composites/emoji-picker/EmojiPickerPanel.d.ts +1 -1
  201. package/dist/types/components/composites/emoji-picker/data.d.ts +2 -5
  202. package/dist/types/components/composites/emoji-picker/react/useEmojiPicker.d.ts +0 -11
  203. package/dist/types/components/composites/emoji-picker/types.d.ts +3 -8
  204. package/dist/types/components/composites/select/MultiSelect.d.ts +6 -1
  205. package/dist/types/components/composites/select/Select.d.ts +6 -1
  206. package/dist/types/components/composites/select/core/index.d.ts +1 -1
  207. package/dist/types/components/composites/select/core/menu.d.ts +3 -3
  208. package/dist/types/components/composites/select/core/panel.d.ts +3 -3
  209. package/dist/types/components/composites/tabs/Tabs.d.ts +7 -10
  210. package/dist/types/components/composites/toast/Toast.d.ts +1 -1
  211. package/dist/types/components/composites/tooltip/Tooltip.d.ts +9 -1
  212. package/dist/types/components/composites/tooltip/tooltip-store.d.ts +5 -6
  213. package/dist/types/components/dev/MotionDevtools.d.ts +3 -1
  214. package/dist/types/components/internal/hooks/use-host-election.d.ts +8 -0
  215. package/dist/types/components/internal/icon/Icon.d.ts +1 -3
  216. package/dist/types/components/internal/menu/highlight.d.ts +7 -0
  217. package/dist/types/components/internal/utils/activation.d.ts +0 -4
  218. package/dist/types/components/primitives/avatar/Avatar.d.ts +1 -1
  219. package/dist/types/components/primitives/button/Button.d.ts +1 -1
  220. package/dist/types/components/primitives/input/TextField.d.ts +1 -2
  221. package/dist/types/components/primitives/textarea/Textarea.d.ts +0 -1
  222. package/dist/types/shared-slot.d.ts +1 -0
  223. package/dist/types/tokens/component-styles.generated.d.ts +79 -151
  224. package/dist/types/tokens/motion-defaults.generated.d.ts +34 -0
  225. package/dist/types/tokens/motion-scale.d.ts +2 -2
  226. package/dist/types/tokens/motion-tokens.d.ts +7 -0
  227. package/dist/types/tokens/theme-sync.d.ts +3 -0
  228. package/dist/types/tokens/theme-tokens.generated.d.ts +669 -1105
  229. package/dist/typing-lines.css +17 -10
  230. package/dist/typing-lines.js +9 -8
  231. package/dist/typing-lines.js.map +1 -1
  232. package/dist/weight-field.css +31 -17
  233. package/dist/weight-field.js +4 -4
  234. package/dist/weight-field.js.map +1 -1
  235. package/dist/youtube.css +90 -96
  236. package/dist/youtube.js +87 -86
  237. package/dist/youtube.js.map +1 -1
  238. package/package.json +3 -1
  239. package/skills/zyncat-ui/SKILL.md +5 -3
  240. package/skills/zyncat-ui/references/components.md +4 -4
  241. package/skills/zyncat-ui/references/theming.md +105 -34
  242. package/src/components/composites/alert/Alert.tsx +9 -10
  243. package/src/components/composites/alert/alert.css +26 -33
  244. package/src/components/composites/date-picker/DateField.tsx +1 -1
  245. package/src/components/composites/date-picker/DateRangeField.tsx +1 -1
  246. package/src/components/composites/date-picker/DateTimeField.tsx +4 -4
  247. package/src/components/composites/date-picker/TimeField.tsx +8 -5
  248. package/src/components/composites/date-picker/calendar-panel.tsx +25 -20
  249. package/src/components/composites/date-picker/date-picker.css +131 -154
  250. package/src/components/composites/date-picker/field-shell.tsx +7 -7
  251. package/src/components/composites/date-picker/range-panel.tsx +34 -34
  252. package/src/components/composites/date-picker/time-core.tsx +4 -6
  253. package/src/components/composites/date-picker/use-day-focus.ts +1 -1
  254. package/src/components/composites/dialog/Dialog.tsx +11 -11
  255. package/src/components/composites/dialog/dialog.css +31 -41
  256. package/src/components/composites/dropdown/Dropdown.tsx +15 -2
  257. package/src/components/composites/dropdown/Dropdown.usage.md +7 -4
  258. package/src/components/composites/dropdown/dropdown.css +36 -27
  259. package/src/components/composites/dropdown/menu-panel.tsx +56 -27
  260. package/src/components/composites/dropdown/types.ts +28 -6
  261. package/src/components/composites/emoji-picker/EmojiPickerPanel.tsx +5 -4
  262. package/src/components/composites/emoji-picker/EmojiPickerPanel.usage.md +4 -4
  263. package/src/components/composites/emoji-picker/data.ts +2 -5
  264. package/src/components/composites/emoji-picker/dom.ts +6 -6
  265. package/src/components/composites/emoji-picker/react/category-bar.tsx +6 -6
  266. package/src/components/composites/emoji-picker/react/useEmojiPicker.ts +0 -11
  267. package/src/components/composites/emoji-picker/scaffold.ts +7 -7
  268. package/src/components/composites/emoji-picker/search.ts +0 -7
  269. package/src/components/composites/emoji-picker/styles.css +34 -34
  270. package/src/components/composites/emoji-picker/types.ts +3 -8
  271. package/src/components/composites/modal/Modal.tsx +2 -2
  272. package/src/components/composites/modal/modal.css +2 -4
  273. package/src/components/composites/pagination/Pagination.tsx +7 -7
  274. package/src/components/composites/pagination/pagination.css +10 -15
  275. package/src/components/composites/popover/Popover.tsx +2 -2
  276. package/src/components/composites/popover/popover.css +13 -15
  277. package/src/components/composites/select/MultiSelect.tsx +11 -2
  278. package/src/components/composites/select/MultiSelect.usage.md +2 -1
  279. package/src/components/composites/select/Select.tsx +10 -1
  280. package/src/components/composites/select/Select.usage.md +2 -1
  281. package/src/components/composites/select/core/index.ts +1 -1
  282. package/src/components/composites/select/core/menu.tsx +19 -4
  283. package/src/components/composites/select/core/panel.tsx +19 -15
  284. package/src/components/composites/select/core/trigger.tsx +5 -5
  285. package/src/components/composites/select/select.css +66 -75
  286. package/src/components/composites/sheet/Sheet.tsx +2 -2
  287. package/src/components/composites/sheet/sheet.css +12 -14
  288. package/src/components/composites/sheet/use-sheet-drag.ts +1 -1
  289. package/src/components/composites/table/Table.tsx +35 -35
  290. package/src/components/composites/table/table.css +76 -84
  291. package/src/components/composites/tabs/Tabs.tsx +20 -21
  292. package/src/components/composites/tabs/Tabs.usage.md +3 -2
  293. package/src/components/composites/tabs/tabs.css +82 -90
  294. package/src/components/composites/toast/Toast.tsx +23 -18
  295. package/src/components/composites/toast/toast-store.ts +8 -6
  296. package/src/components/composites/toast/toast.css +49 -65
  297. package/src/components/composites/tooltip/Tooltip.tsx +40 -19
  298. package/src/components/composites/tooltip/Tooltip.usage.md +9 -1
  299. package/src/components/composites/tooltip/tooltip-host.tsx +55 -23
  300. package/src/components/composites/tooltip/tooltip-store.ts +36 -53
  301. package/src/components/composites/tooltip/tooltip.css +16 -23
  302. package/src/components/compound/support-rail/SupportRail.tsx +33 -33
  303. package/src/components/compound/support-rail/support-rail.css +116 -100
  304. package/src/components/dev/MotionDevtools.tsx +28 -17
  305. package/src/components/dev/MotionDevtools.usage.md +2 -2
  306. package/src/components/dev/motion-devtools.css +42 -68
  307. package/src/components/dev/slowmo-engine.ts +16 -15
  308. package/src/components/expressive/confetti/Confetti.tsx +4 -4
  309. package/src/components/expressive/confetti/confetti.css +19 -12
  310. package/src/components/expressive/facebook-feed/chrome.tsx +2 -2
  311. package/src/components/expressive/facebook-feed/facebook-feed.css +145 -148
  312. package/src/components/expressive/facebook-feed/post.tsx +39 -39
  313. package/src/components/expressive/facebook-feed/reel.tsx +41 -37
  314. package/src/components/expressive/facebook-feed/story.tsx +27 -27
  315. package/src/components/expressive/flow-field/FlowField.tsx +4 -4
  316. package/src/components/expressive/flow-field/flow-field.css +8 -4
  317. package/src/components/expressive/instagram-feed/InstagramFeed.tsx +52 -44
  318. package/src/components/expressive/instagram-feed/instagram-feed.css +65 -66
  319. package/src/components/expressive/lens/Lens.tsx +14 -14
  320. package/src/components/expressive/lens/lens.css +42 -38
  321. package/src/components/expressive/morphing-text/MorphingText.tsx +12 -13
  322. package/src/components/expressive/morphing-text/morphing-text.css +26 -16
  323. package/src/components/expressive/odometer/Odometer.tsx +9 -9
  324. package/src/components/expressive/odometer/odometer.css +22 -16
  325. package/src/components/expressive/tiktok/TikTok.tsx +54 -54
  326. package/src/components/expressive/tiktok/tiktok.css +113 -117
  327. package/src/components/expressive/typing-lines/TypingLines.tsx +0 -0
  328. package/src/components/expressive/typing-lines/typing-lines.css +17 -10
  329. package/src/components/expressive/weight-field/WeightField.tsx +4 -4
  330. package/src/components/expressive/weight-field/weight-field.css +31 -17
  331. package/src/components/expressive/youtube/YouTube.tsx +4 -4
  332. package/src/components/expressive/youtube/glyphs.tsx +16 -16
  333. package/src/components/expressive/youtube/media.tsx +3 -3
  334. package/src/components/expressive/youtube/post.tsx +28 -28
  335. package/src/components/expressive/youtube/short.tsx +25 -25
  336. package/src/components/expressive/youtube/video.tsx +13 -13
  337. package/src/components/expressive/youtube/youtube.css +90 -96
  338. package/src/components/internal/glass/glass.css +19 -22
  339. package/src/components/internal/glass/glint.ts +3 -3
  340. package/src/components/internal/hooks/use-host-election.ts +46 -0
  341. package/src/components/internal/icon/Icon.tsx +1 -5
  342. package/src/components/internal/icon/IconSlot.tsx +1 -1
  343. package/src/components/internal/icon/icon.css +7 -10
  344. package/src/components/internal/menu/highlight.ts +12 -0
  345. package/src/components/internal/menu/menu-row.tsx +5 -5
  346. package/src/components/internal/menu/menu-surface.css +54 -34
  347. package/src/components/internal/overlay/layer.tsx +2 -1
  348. package/src/components/internal/overlay/modal.tsx +5 -4
  349. package/src/components/internal/overlay/overlay.css +4 -9
  350. package/src/components/internal/overlay/trigger.css +3 -3
  351. package/src/components/internal/utils/activation.ts +0 -4
  352. package/src/components/primitives/avatar/Avatar.tsx +24 -8
  353. package/src/components/primitives/avatar/AvatarGroup.tsx +4 -4
  354. package/src/components/primitives/avatar/avatar.css +51 -50
  355. package/src/components/primitives/badge/Badge.tsx +9 -9
  356. package/src/components/primitives/badge/StatusBadge.tsx +7 -7
  357. package/src/components/primitives/badge/badge.css +30 -36
  358. package/src/components/primitives/badge/digit-strip.css +16 -16
  359. package/src/components/primitives/badge/digit-strip.tsx +4 -4
  360. package/src/components/primitives/button/Button.tsx +8 -8
  361. package/src/components/primitives/button/button.css +80 -96
  362. package/src/components/primitives/checkbox/Checkbox.tsx +10 -4
  363. package/src/components/primitives/checkbox/check-glyph.tsx +5 -5
  364. package/src/components/primitives/checkbox/checkbox.css +27 -32
  365. package/src/components/primitives/collapse/Collapse.tsx +2 -2
  366. package/src/components/primitives/collapse/collapse.css +15 -30
  367. package/src/components/primitives/collapse/collapse.typecheck.tsx +1 -1
  368. package/src/components/primitives/input/NumberField.tsx +11 -11
  369. package/src/components/primitives/input/OtpField.tsx +3 -3
  370. package/src/components/primitives/input/TextField.tsx +9 -10
  371. package/src/components/primitives/input/field-chrome.tsx +6 -6
  372. package/src/components/primitives/input/input.css +76 -84
  373. package/src/components/primitives/radio-group/RadioGroup.tsx +23 -23
  374. package/src/components/primitives/radio-group/radio-group.css +60 -73
  375. package/src/components/primitives/tag/Tag.tsx +5 -5
  376. package/src/components/primitives/tag/ToggleTag.tsx +11 -6
  377. package/src/components/primitives/tag/tag.css +48 -53
  378. package/src/components/primitives/textarea/Textarea.tsx +13 -14
  379. package/src/components/primitives/textarea/textarea.css +46 -49
  380. package/src/components/primitives/toggle/Toggle.tsx +7 -7
  381. package/src/components/primitives/toggle/toggle.css +26 -31
  382. package/src/engine/animate.ts +2 -1
  383. package/src/engine/flip.ts +2 -1
  384. package/src/mcp/server.ts +3 -1
  385. package/src/motion/flip.ts +7 -8
  386. package/src/motion/glide.tsx +41 -26
  387. package/src/shared-slot.ts +10 -0
  388. package/src/styles.css +7 -15
  389. package/src/tokens/base.css +15 -0
  390. package/src/tokens/color.css +19 -59
  391. package/src/tokens/component-styles.generated.ts +79 -151
  392. package/src/tokens/dark.css +63 -0
  393. package/src/tokens/decisions.css +26 -0
  394. package/src/tokens/elevation.css +71 -21
  395. package/src/tokens/fonts.css +0 -2
  396. package/src/tokens/glass.css +15 -9
  397. package/src/tokens/motion-defaults.generated.ts +21 -0
  398. package/src/tokens/motion-scale.ts +2 -2
  399. package/src/tokens/motion-tokens.ts +65 -40
  400. package/src/tokens/motion-tokens.usage.md +5 -2
  401. package/src/tokens/motion.css +12 -22
  402. package/src/tokens/radius.css +10 -9
  403. package/src/tokens/semantic.css +57 -37
  404. package/src/tokens/spacing.css +5 -6
  405. package/src/tokens/theme-sync.tsx +15 -0
  406. package/src/tokens/theme-tokens.generated.ts +682 -1109
  407. package/src/tokens/theme.tsx +22 -16
  408. package/src/tokens/theme.usage.md +19 -13
  409. package/src/tokens/typography.css +16 -19
  410. package/tailwind.css +193 -0
  411. package/dist/chunk-227ZW4V7.js.map +0 -1
  412. package/dist/chunk-43M6GQ4Q.js.map +0 -1
  413. package/dist/chunk-4BSHB7R3.js.map +0 -1
  414. package/dist/chunk-4C5RZXBT.js.map +0 -1
  415. package/dist/chunk-5PZ43DCG.js.map +0 -1
  416. package/dist/chunk-7IZJERGA.js +0 -80
  417. package/dist/chunk-7IZJERGA.js.map +0 -1
  418. package/dist/chunk-AADAJL7D.js.map +0 -1
  419. package/dist/chunk-CNWTIMIP.js +0 -39
  420. package/dist/chunk-CNWTIMIP.js.map +0 -1
  421. package/dist/chunk-EAI4POPB.js.map +0 -1
  422. package/dist/chunk-EF6RPXU7.js.map +0 -1
  423. package/dist/chunk-FONOS5RN.js.map +0 -1
  424. package/dist/chunk-FQEHSKEI.js +0 -38
  425. package/dist/chunk-FQEHSKEI.js.map +0 -1
  426. package/dist/chunk-HY5MPISE.js.map +0 -1
  427. package/dist/chunk-I45AU6KH.js.map +0 -1
  428. package/dist/chunk-IJS7TPGV.js.map +0 -1
  429. package/dist/chunk-OWNMRMPN.js +0 -14
  430. package/dist/chunk-OWNMRMPN.js.map +0 -1
  431. package/dist/chunk-RJFGWJ4W.js.map +0 -1
  432. package/dist/chunk-TVYH4AN7.js.map +0 -1
  433. package/dist/chunk-TYHR4VNM.js.map +0 -1
  434. package/dist/chunk-VAXCXZ53.js.map +0 -1
  435. package/dist/chunk-XNIYSAMJ.js.map +0 -1
  436. package/dist/chunk-Y2YA7QRF.js +0 -17
  437. package/dist/chunk-Y2YA7QRF.js.map +0 -1
  438. package/src/tokens/avatar.css +0 -24
  439. package/src/tokens/icons.css +0 -11
  440. package/src/tokens/layers.css +0 -11
@@ -2,14 +2,13 @@ import './input.css';
2
2
  import type { CSSProperties, InputHTMLAttributes, ReactNode } from 'react';
3
3
  import type { DataAttributes } from '../../../dom-props';
4
4
  import { type FieldMessagingProps } from './field-chrome';
5
- /** The native <input> props TextField surfaces at the top level (the rest live in `htmlProps`). */
6
5
  type TextFieldNative = Pick<InputHTMLAttributes<HTMLInputElement>, 'placeholder' | 'value' | 'onChange' | 'disabled' | 'readOnly' | 'maxLength' | 'minLength' | 'hidden' | 'pattern' | 'onKeyDown'>;
7
6
  interface TextFieldOwnProps extends FieldMessagingProps, TextFieldNative {
8
7
  /** Leading icon - your own icon node (sized to the control). Decorative. */
9
8
  leadingIcon?: ReactNode;
10
9
  /** Show a clear button when there's a value. */
11
10
  clearable?: boolean;
12
- /** Control height: sm 28 - md 36 (default) - lg 40. */
11
+ /** Control height: sm 28px - md 32px (default) - lg 37px. */
13
12
  size?: 'sm' | 'md' | 'lg';
14
13
  /** Extra class(es) merged onto the field root. */
15
14
  className?: string;
@@ -2,7 +2,6 @@ import './textarea.css';
2
2
  import { type ChangeEventHandler, type CSSProperties, type ReactNode, type TextareaHTMLAttributes } from 'react';
3
3
  import type { DataAttributes } from '../../../dom-props';
4
4
  import { type FieldMessagingProps } from '../input/field-chrome';
5
- /** The native <textarea> props Textarea surfaces at the top level (the rest live in `htmlProps`). */
6
5
  type TextareaNative = Pick<TextareaHTMLAttributes<HTMLTextAreaElement>, 'placeholder' | 'disabled' | 'readOnly' | 'onKeyDown'>;
7
6
  interface TextareaOwnProps extends FieldMessagingProps, TextareaNative {
8
7
  /** Controlled text value. @default '' */
@@ -0,0 +1 @@
1
+ export declare function sharedSlot<T>(key: string, create: () => T): T;
@@ -8,255 +8,183 @@ import type { CSSProperties } from 'react';
8
8
  * Generated from the token and component CSS by `scripts/gen-theme.mjs` - `pnpm sync` rebuilds it.
9
9
  */
10
10
  export interface ConfettiStyle extends CSSProperties {
11
- /** `--confetti-paper-1`. Default: `oklch(0.53 0.2 288)`. */
11
+ /** `--confetti-paper-1` - The five papers a burst draws from; a slot set to a role follows the theme. Default: `oklch(0.53 0.2 288)`. */
12
12
  '--confetti-paper-1'?: string | number;
13
- /** `--confetti-paper-2`. Default: `var(--accent)`. */
13
+ /** `--confetti-paper-2` - The five papers a burst draws from; a slot set to a role follows the theme. Default: `var(--accent)`. */
14
14
  '--confetti-paper-2'?: string | number;
15
- /** `--confetti-paper-3`. Default: `oklch(0.78 0.115 62)`. */
15
+ /** `--confetti-paper-3` - The five papers a burst draws from; a slot set to a role follows the theme. Default: `oklch(0.78 0.115 62)`. */
16
16
  '--confetti-paper-3'?: string | number;
17
- /** `--confetti-paper-4`. Default: `oklch(0.67 0.18 12)`. */
17
+ /** `--confetti-paper-4` - The five papers a burst draws from; a slot set to a role follows the theme. Default: `oklch(0.67 0.18 12)`. */
18
18
  '--confetti-paper-4'?: string | number;
19
- /** `--confetti-paper-5`. Default: `var(--text-strong)`. */
19
+ /** `--confetti-paper-5` - The five papers a burst draws from; a slot set to a role follows the theme. Default: `var(--text-strong)`. */
20
20
  '--confetti-paper-5'?: string | number;
21
- /** `--confetti-weights`. Default: `1 1 1 1 0.45`. */
21
+ /** `--confetti-weights` - How often each paper appears - five weights, in slot order. Default: `1 1 1 1 0.45`. */
22
22
  '--confetti-weights'?: string | number;
23
- /** `--confetti-ink`. Default: `var(--text-strong)`. */
23
+ /** `--confetti-ink` - What the reverse side of a piece darkens toward. Default: `var(--text-strong)`. */
24
24
  '--confetti-ink'?: string | number;
25
- /** `--confetti-light`. Default: `var(--bg-surface)`. */
25
+ /** `--confetti-light` - What the glossy face of a piece brightens toward. Default: `var(--bg-surface)`. */
26
26
  '--confetti-light'?: string | number;
27
- /** `--confetti-shade`. Default: `42%`. */
27
+ /** `--confetti-shade` - How far the reverse side leans toward the ink. Default: `42%`. */
28
28
  '--confetti-shade'?: string | number;
29
- /** `--confetti-gloss`. Default: `66%`. */
29
+ /** `--confetti-gloss` - How far the glossy face leans toward the light. Default: `66%`. */
30
30
  '--confetti-gloss'?: string | number;
31
- /** `--confetti-layer`. Default: `var(--layer-toast)`. */
31
+ /** `--confetti-layer` - The z-index of a viewport-field burst. Default: `var(--layer-toast)`. */
32
32
  '--confetti-layer'?: string | number;
33
- /** `--confetti-reverse-1`. Default: `color-mix(in oklab, var(--confetti-ink) var(--confetti-shade), var(--confetti-paper-1))`. */
34
- '--confetti-reverse-1'?: string | number;
35
- /** `--confetti-reverse-2`. Default: `color-mix(in oklab, var(--confetti-ink) var(--confetti-shade), var(--confetti-paper-2))`. */
36
- '--confetti-reverse-2'?: string | number;
37
- /** `--confetti-reverse-3`. Default: `color-mix(in oklab, var(--confetti-ink) var(--confetti-shade), var(--confetti-paper-3))`. */
38
- '--confetti-reverse-3'?: string | number;
39
- /** `--confetti-reverse-4`. Default: `color-mix(in oklab, var(--confetti-ink) var(--confetti-shade), var(--confetti-paper-4))`. */
40
- '--confetti-reverse-4'?: string | number;
41
- /** `--confetti-reverse-5`. Default: `color-mix(in oklab, var(--confetti-ink) var(--confetti-shade), var(--confetti-paper-5))`. */
42
- '--confetti-reverse-5'?: string | number;
43
- /** `--confetti-sheen-1`. Default: `color-mix(in oklab, var(--confetti-light) var(--confetti-gloss), var(--confetti-paper-1))`. */
44
- '--confetti-sheen-1'?: string | number;
45
- /** `--confetti-sheen-2`. Default: `color-mix(in oklab, var(--confetti-light) var(--confetti-gloss), var(--confetti-paper-2))`. */
46
- '--confetti-sheen-2'?: string | number;
47
- /** `--confetti-sheen-3`. Default: `color-mix(in oklab, var(--confetti-light) var(--confetti-gloss), var(--confetti-paper-3))`. */
48
- '--confetti-sheen-3'?: string | number;
49
- /** `--confetti-sheen-4`. Default: `color-mix(in oklab, var(--confetti-light) var(--confetti-gloss), var(--confetti-paper-4))`. */
50
- '--confetti-sheen-4'?: string | number;
51
- /** `--confetti-sheen-5`. Default: `color-mix(in oklab, var(--confetti-light) var(--confetti-gloss), var(--confetti-paper-5))`. */
52
- '--confetti-sheen-5'?: string | number;
53
33
  }
54
34
  /** Inline styles for FlowField, including its `--flow-field-*` knobs. */
55
35
  export interface FlowFieldStyle extends CSSProperties {
56
- /** `--flow-field-ink`. Default: `var(--text-subtle)`. */
36
+ /** `--flow-field-ink` - The particle colour at rest - the ramp's cold end. Default: `var(--text-subtle)`. */
57
37
  '--flow-field-ink'?: string | number;
58
- /** `--flow-field-accent`. Default: `var(--accent)`. */
38
+ /** `--flow-field-accent` - The particle colour at full speed - the ramp's hot end. Default: `var(--accent)`. */
59
39
  '--flow-field-accent'?: string | number;
60
- /** `--flow-field-min-height`. Default: `var(--space-10)`. */
40
+ /** `--flow-field-min-height` - The field's minimum height before content sizes it. Default: `var(--space-10)`. */
61
41
  '--flow-field-min-height'?: string | number;
62
- /** `--flow-field-ramp-0`. Default: `var(--flow-field-ink)`. */
42
+ /** `--flow-field-ramp-0` - The twelve stops from ink to accent, sampled at the next measure; set all twelve for a ramp of your own. Default: `var(--flow-field-ink)`. */
63
43
  '--flow-field-ramp-0'?: string | number;
64
- /** `--flow-field-ramp-1`. Default: `color-mix(in oklab, var(--flow-field-accent) 9%, var(--flow-field-ink))`. */
44
+ /** `--flow-field-ramp-1` - The twelve stops from ink to accent, sampled at the next measure; set all twelve for a ramp of your own. Default: `color-mix(in oklab, var(--flow-field-accent) 9%, var(--flow-field-ink))`. */
65
45
  '--flow-field-ramp-1'?: string | number;
66
- /** `--flow-field-ramp-2`. Default: `color-mix(in oklab, var(--flow-field-accent) 18%, var(--flow-field-ink))`. */
46
+ /** `--flow-field-ramp-2` - The twelve stops from ink to accent, sampled at the next measure; set all twelve for a ramp of your own. Default: `color-mix(in oklab, var(--flow-field-accent) 18%, var(--flow-field-ink))`. */
67
47
  '--flow-field-ramp-2'?: string | number;
68
- /** `--flow-field-ramp-3`. Default: `color-mix(in oklab, var(--flow-field-accent) 27%, var(--flow-field-ink))`. */
48
+ /** `--flow-field-ramp-3` - The twelve stops from ink to accent, sampled at the next measure; set all twelve for a ramp of your own. Default: `color-mix(in oklab, var(--flow-field-accent) 27%, var(--flow-field-ink))`. */
69
49
  '--flow-field-ramp-3'?: string | number;
70
- /** `--flow-field-ramp-4`. Default: `color-mix(in oklab, var(--flow-field-accent) 36%, var(--flow-field-ink))`. */
50
+ /** `--flow-field-ramp-4` - The twelve stops from ink to accent, sampled at the next measure; set all twelve for a ramp of your own. Default: `color-mix(in oklab, var(--flow-field-accent) 36%, var(--flow-field-ink))`. */
71
51
  '--flow-field-ramp-4'?: string | number;
72
- /** `--flow-field-ramp-5`. Default: `color-mix(in oklab, var(--flow-field-accent) 45%, var(--flow-field-ink))`. */
52
+ /** `--flow-field-ramp-5` - The twelve stops from ink to accent, sampled at the next measure; set all twelve for a ramp of your own. Default: `color-mix(in oklab, var(--flow-field-accent) 45%, var(--flow-field-ink))`. */
73
53
  '--flow-field-ramp-5'?: string | number;
74
- /** `--flow-field-ramp-6`. Default: `color-mix(in oklab, var(--flow-field-accent) 55%, var(--flow-field-ink))`. */
54
+ /** `--flow-field-ramp-6` - The twelve stops from ink to accent, sampled at the next measure; set all twelve for a ramp of your own. Default: `color-mix(in oklab, var(--flow-field-accent) 55%, var(--flow-field-ink))`. */
75
55
  '--flow-field-ramp-6'?: string | number;
76
- /** `--flow-field-ramp-7`. Default: `color-mix(in oklab, var(--flow-field-accent) 64%, var(--flow-field-ink))`. */
56
+ /** `--flow-field-ramp-7` - The twelve stops from ink to accent, sampled at the next measure; set all twelve for a ramp of your own. Default: `color-mix(in oklab, var(--flow-field-accent) 64%, var(--flow-field-ink))`. */
77
57
  '--flow-field-ramp-7'?: string | number;
78
- /** `--flow-field-ramp-8`. Default: `color-mix(in oklab, var(--flow-field-accent) 73%, var(--flow-field-ink))`. */
58
+ /** `--flow-field-ramp-8` - The twelve stops from ink to accent, sampled at the next measure; set all twelve for a ramp of your own. Default: `color-mix(in oklab, var(--flow-field-accent) 73%, var(--flow-field-ink))`. */
79
59
  '--flow-field-ramp-8'?: string | number;
80
- /** `--flow-field-ramp-9`. Default: `color-mix(in oklab, var(--flow-field-accent) 82%, var(--flow-field-ink))`. */
60
+ /** `--flow-field-ramp-9` - The twelve stops from ink to accent, sampled at the next measure; set all twelve for a ramp of your own. Default: `color-mix(in oklab, var(--flow-field-accent) 82%, var(--flow-field-ink))`. */
81
61
  '--flow-field-ramp-9'?: string | number;
82
- /** `--flow-field-ramp-10`. Default: `color-mix(in oklab, var(--flow-field-accent) 91%, var(--flow-field-ink))`. */
62
+ /** `--flow-field-ramp-10` - The twelve stops from ink to accent, sampled at the next measure; set all twelve for a ramp of your own. Default: `color-mix(in oklab, var(--flow-field-accent) 91%, var(--flow-field-ink))`. */
83
63
  '--flow-field-ramp-10'?: string | number;
84
- /** `--flow-field-ramp-11`. Default: `var(--flow-field-accent)`. */
64
+ /** `--flow-field-ramp-11` - The twelve stops from ink to accent, sampled at the next measure; set all twelve for a ramp of your own. Default: `var(--flow-field-accent)`. */
85
65
  '--flow-field-ramp-11'?: string | number;
86
66
  }
87
67
  /** Inline styles for Lens, including its `--lens-*` knobs. */
88
68
  export interface LensStyle extends CSSProperties {
89
- /** `--lens-ink`. Default: `var(--text-strong)`. */
69
+ /** `--lens-ink` - The ink of the glass's edge, vignette and shadow. Default: `var(--text-strong)`. */
90
70
  '--lens-ink'?: string | number;
91
- /** `--lens-surface`. Default: `var(--bg-surface)`. */
71
+ /** `--lens-surface` - The surface behind the glass. Default: `var(--bg-surface)`. */
92
72
  '--lens-surface'?: string | number;
93
- /** `--lens-edge`. Default: `color-mix(in oklab, var(--lens-ink) 16%, transparent)`. */
94
- '--lens-edge'?: string | number;
95
- /** `--lens-highlight`. Default: `color-mix(in oklab, var(--bg-surface) 90%, transparent)`. */
96
- '--lens-highlight'?: string | number;
97
- /** `--lens-vignette-mid`. Default: `5%`. */
98
- '--lens-vignette-mid'?: string | number;
99
- /** `--lens-vignette-edge`. Default: `15%`. */
100
- '--lens-vignette-edge'?: string | number;
101
- /** `--lens-fringe-warm`. Default: `oklch(0.72 0.16 12 / 0.3)`. */
73
+ /** `--lens-fringe-warm` - The chromatic fringe on the warm edge of the glass. Default: `oklch(0.72 0.16 12 / 0.3)`. */
102
74
  '--lens-fringe-warm'?: string | number;
103
- /** `--lens-fringe-cool`. Default: `oklch(0.7 0.15 265 / 0.34)`. */
75
+ /** `--lens-fringe-cool` - The chromatic fringe on the cool edge of the glass. Default: `oklch(0.7 0.15 265 / 0.34)`. */
104
76
  '--lens-fringe-cool'?: string | number;
105
- /** `--lens-rim-start`. Default: `79%`. */
106
- '--lens-rim-start'?: string | number;
107
- /** `--lens-rim-end`. Default: `87%`. */
108
- '--lens-rim-end'?: string | number;
109
77
  }
110
78
  /** Inline styles for MorphingText, including its `--morphing-text-*` knobs. */
111
79
  export interface MorphingTextStyle extends CSSProperties {
112
- /** `--morphing-text-ink`. Default: `var(--text-strong)`. */
80
+ /** `--morphing-text-ink` - Letter ink. Default: `var(--text-strong)`. */
113
81
  '--morphing-text-ink'?: string | number;
114
- /** `--morphing-text-size`. Default: `var(--size-display-lg)`. */
82
+ /** `--morphing-text-size` - Letter size. Default: `var(--size-display-lg)`. */
115
83
  '--morphing-text-size'?: string | number;
116
- /** `--morphing-text-weight`. Default: `var(--weight-medium)`. */
84
+ /** `--morphing-text-weight` - Letter weight. Default: `var(--weight-medium)`. */
117
85
  '--morphing-text-weight'?: string | number;
118
- /** `--morphing-text-leading`. Default: `1.2`. */
86
+ /** `--morphing-text-leading` - Line height, unitless. Default: `1.2`. */
119
87
  '--morphing-text-leading'?: string | number;
120
- /** `--morphing-text-tracking`. Default: `var(--tracking-display)`. */
88
+ /** `--morphing-text-tracking` - Letter spacing. Default: `var(--tracking-display)`. */
121
89
  '--morphing-text-tracking'?: string | number;
122
- /** `--morphing-text-smear`. Default: `1`. */
90
+ /** `--morphing-text-smear` - How much letters blur on the way between words; 0 cuts clean. Default: `1`. */
123
91
  '--morphing-text-smear'?: string | number;
124
- /** `--morphing-text-rule-ink`. Default: `var(--text-strong)`. */
92
+ /** `--morphing-text-rule-ink` - The rule at rest. Default: `var(--text-strong)`. */
125
93
  '--morphing-text-rule-ink'?: string | number;
126
- /** `--morphing-text-rule-accent`. Default: `var(--accent)`. */
94
+ /** `--morphing-text-rule-accent` - The rule while a morph heats it. Default: `var(--accent)`. */
127
95
  '--morphing-text-rule-accent'?: string | number;
128
- /** `--morphing-text-rule-height`. Default: `1px`. */
96
+ /** `--morphing-text-rule-height` - The rule's thickness. Default: `1px`. */
129
97
  '--morphing-text-rule-height'?: string | number;
130
- /** `--morphing-text-rule-gap`. Default: `var(--space-3)`. */
98
+ /** `--morphing-text-rule-gap` - Space between the word and the rule. Default: `var(--space-3)`. */
131
99
  '--morphing-text-rule-gap'?: string | number;
132
- /** `--morphing-text-rule-rest`. Default: `0.1`. */
133
- '--morphing-text-rule-rest'?: string | number;
134
- /** `--morphing-text-rule-lift`. Default: `0.3`. */
135
- '--morphing-text-rule-lift'?: string | number;
136
100
  }
137
101
  /** Inline styles for Odometer, including its `--odometer-*` knobs. */
138
102
  export interface OdometerStyle extends CSSProperties {
139
- /** `--odometer-cell`. Default: `1em`. */
140
- '--odometer-cell'?: string | number;
141
- /** `--odometer-digit`. Default: `1ch`. */
142
- '--odometer-digit'?: string | number;
143
- /** `--odometer-gap`. Default: `0.02em`. */
103
+ /** `--odometer-gap` - Space between digit columns. Default: `0.02em`. */
144
104
  '--odometer-gap'?: string | number;
145
- /** `--odometer-ink`. Default: `var(--text-strong)`. */
105
+ /** `--odometer-ink` - Digit ink. Default: `var(--text-strong)`. */
146
106
  '--odometer-ink'?: string | number;
147
- /** `--odometer-accent`. Default: `var(--accent)`. */
107
+ /** `--odometer-accent` - The tint digits take while they roll fast. Default: `var(--accent)`. */
148
108
  '--odometer-accent'?: string | number;
149
- /** `--odometer-separator-ink`. Default: `var(--text-muted)`. */
109
+ /** `--odometer-separator-ink` - The thousands separator. Default: `var(--text-muted)`. */
150
110
  '--odometer-separator-ink'?: string | number;
151
- /** `--odometer-size`. Default: `var(--size-display)`. */
111
+ /** `--odometer-size` - Digit size. Default: `var(--size-display)`. */
152
112
  '--odometer-size'?: string | number;
153
- /** `--odometer-weight`. Default: `var(--weight-medium)`. */
113
+ /** `--odometer-weight` - Digit weight. Default: `var(--weight-medium)`. */
154
114
  '--odometer-weight'?: string | number;
155
115
  }
156
116
  /** Inline styles for TypingLines, including its `--typing-lines-*` knobs. */
157
117
  export interface TypingLinesStyle extends CSSProperties {
158
- /** `--typing-lines-ink`. Default: `var(--text-strong)`. */
118
+ /** `--typing-lines-ink` - Letter ink. Default: `var(--text-strong)`. */
159
119
  '--typing-lines-ink'?: string | number;
160
- /** `--typing-lines-caret-ink`. Default: `var(--accent)`. */
120
+ /** `--typing-lines-caret-ink` - The caret. Default: `var(--accent)`. */
161
121
  '--typing-lines-caret-ink'?: string | number;
162
- /** `--typing-lines-size`. Default: `var(--size-title)`. */
122
+ /** `--typing-lines-size` - Letter size. Default: `var(--size-title)`. */
163
123
  '--typing-lines-size'?: string | number;
164
- /** `--typing-lines-weight`. Default: `var(--weight-regular)`. */
124
+ /** `--typing-lines-weight` - Letter weight. Default: `var(--weight-regular)`. */
165
125
  '--typing-lines-weight'?: string | number;
166
- /** `--typing-lines-leading`. Default: `1.4`. */
126
+ /** `--typing-lines-leading` - Line height, unitless. Default: `1.4`. */
167
127
  '--typing-lines-leading'?: string | number;
168
- /** `--typing-lines-blink`. Default: `1080ms`. */
128
+ /** `--typing-lines-blink` - The caret's blink period. Default: `1080ms`. */
169
129
  '--typing-lines-blink'?: string | number;
170
- /** `--typing-lines-caret-gap`. Default: `0.12em`. */
130
+ /** `--typing-lines-caret-gap` - Space between the last glyph and the caret. Default: `0.12em`. */
171
131
  '--typing-lines-caret-gap'?: string | number;
172
132
  }
173
133
  /** Inline styles for WeightField, including its `--weight-field-*` knobs. */
174
134
  export interface WeightFieldStyle extends CSSProperties {
175
- /** `--weight-field-ink`. Default: `var(--text-strong)`. */
135
+ /** `--weight-field-ink` - Letter ink. Default: `var(--text-strong)`. */
176
136
  '--weight-field-ink'?: string | number;
177
- /** `--weight-field-size`. Default: `6rem`. */
137
+ /** `--weight-field-size` - Letter size. Default: `6rem`. */
178
138
  '--weight-field-size'?: string | number;
179
- /** `--weight-field-leading`. Default: `1`. */
139
+ /** `--weight-field-leading` - Line height, unitless. Default: `1`. */
180
140
  '--weight-field-leading'?: string | number;
181
- /** `--weight-field-align`. Default: `center`. */
141
+ /** `--weight-field-align` - Where the units sit on the line - center, start or end. Default: `center`. */
182
142
  '--weight-field-align'?: string | number;
183
- /** `--weight-field-pad`. Default: `var(--space-6) var(--space-4)`. */
143
+ /** `--weight-field-pad` - Padding around the field. Default: `var(--space-6) var(--space-4)`. */
184
144
  '--weight-field-pad'?: string | number;
185
- /** `--weight-field-tracking`. Default: `-0.05em`. */
145
+ /** `--weight-field-tracking` - Letter spacing. Default: `-0.05em`. */
186
146
  '--weight-field-tracking'?: string | number;
187
- /** `--weight-field-rest-weight`. Default: `300`. */
147
+ /** `--weight-field-rest-weight` - A unit's weight at rest. Default: `300`. */
188
148
  '--weight-field-rest-weight'?: string | number;
189
- /** `--weight-field-far-weight`. Default: `400`. */
149
+ /** `--weight-field-far-weight` - The weight two units from the pointer. Default: `400`. */
190
150
  '--weight-field-far-weight'?: string | number;
191
- /** `--weight-field-near-weight`. Default: `600`. */
151
+ /** `--weight-field-near-weight` - The weight next to the pointer. Default: `600`. */
192
152
  '--weight-field-near-weight'?: string | number;
193
- /** `--weight-field-peak-weight`. Default: `900`. */
153
+ /** `--weight-field-peak-weight` - The weight under the pointer. Default: `900`. */
194
154
  '--weight-field-peak-weight'?: string | number;
195
- /** `--weight-field-hover-padding`. Default: `calc(1em / 12)`. */
155
+ /** `--weight-field-hover-padding` - How much a unit widens under the pointer. Default: `calc(1em / 12)`. */
196
156
  '--weight-field-hover-padding'?: string | number;
197
- /** `--weight-field-stroke`. Default: `calc(1em * 125 / 6000)`. */
157
+ /** `--weight-field-stroke` - The text stroke every unit carries; the peak letter doubles it. Default: `calc(1em * 125 / 6000)`. */
198
158
  '--weight-field-stroke'?: string | number;
199
- /** `--weight-field-stroke-peak`. Default: `calc(var(--weight-field-stroke) * 2)`. */
200
- '--weight-field-stroke-peak'?: string | number;
201
- /** `--weight-field-duration`. Default: `400ms`. */
159
+ /** `--weight-field-duration` - How long a unit takes to settle at a new weight. Default: `400ms`. */
202
160
  '--weight-field-duration'?: string | number;
203
- /** `--weight-field-ease`. Default: `ease`. */
161
+ /** `--weight-field-ease` - The settle curve. Default: `ease`. */
204
162
  '--weight-field-ease'?: string | number;
205
- /** `--weight-field-ramp`. Default: `calc(var(--weight-field-duration) / var(--weight-field-speed))`. */
206
- '--weight-field-ramp'?: string | number;
207
163
  }
208
164
  /** Inline styles for SupportRail, including its `--support-rail-*` knobs. */
209
165
  export interface SupportRailStyle extends CSSProperties {
210
- /** `--support-rail-width`. Default: `318px`. */
166
+ /** `--support-rail-width` - Panel width; the rail never exceeds its container. Default: `318px`. */
211
167
  '--support-rail-width'?: string | number;
212
- /** `--support-rail-needle-width`. Default: `42px`. */
213
- '--support-rail-needle-width'?: string | number;
214
- /** `--support-rail-needle-height`. Default: `150px`. */
215
- '--support-rail-needle-height'?: string | number;
216
- /** `--support-rail-needle-duck`. Default: `0.55`. */
217
- '--support-rail-needle-duck'?: string | number;
218
- /** `--support-rail-needle-tracking`. Default: `0.22em`. */
219
- '--support-rail-needle-tracking'?: string | number;
220
- /** `--support-rail-caps-tracking`. Default: `0.13em`. */
221
- '--support-rail-caps-tracking'?: string | number;
222
- /** `--support-rail-grabber-width`. Default: `13px`. */
223
- '--support-rail-grabber-width'?: string | number;
224
- /** `--support-rail-grabber-pill`. Default: `34px`. */
225
- '--support-rail-grabber-pill'?: string | number;
226
- /** `--support-rail-live-size`. Default: `6px`. */
227
- '--support-rail-live-size'?: string | number;
228
- /** `--support-rail-live-reach`. Default: `2.6`. */
229
- '--support-rail-live-reach'?: string | number;
230
- /** `--support-rail-rule-width`. Default: `1.5px`. */
231
- '--support-rail-rule-width'?: string | number;
232
- /** `--support-rail-rule-height`. Default: `20px`. */
233
- '--support-rail-rule-height'?: string | number;
234
- /** `--support-rail-row-pad-block`. Default: `var(--space-4)`. */
168
+ /** `--support-rail-row-pad-block` - Row padding on the block axis - the density knob. Default: `var(--space-4)`. */
235
169
  '--support-rail-row-pad-block'?: string | number;
236
- /** `--support-rail-row-pad-inline`. Default: `var(--space-4)`. */
170
+ /** `--support-rail-row-pad-inline` - Row padding on the inline axis - the density knob. Default: `var(--space-4)`. */
237
171
  '--support-rail-row-pad-inline'?: string | number;
238
- /** `--support-rail-row-nudge`. Default: `5px`. */
239
- '--support-rail-row-nudge'?: string | number;
240
- /** `--support-rail-surface`. Default: `var(--bg-subtle)`. */
172
+ /** `--support-rail-surface` - The panel and the needle. Default: `var(--bg-subtle)`. */
241
173
  '--support-rail-surface'?: string | number;
242
- /** `--support-rail-surface-raised`. Default: `var(--bg-surface)`. */
174
+ /** `--support-rail-surface-raised` - The needle while hovered. Default: `var(--bg-surface)`. */
243
175
  '--support-rail-surface-raised'?: string | number;
244
- /** `--support-rail-line`. Default: `var(--border-default)`. */
176
+ /** `--support-rail-line` - The panel's edge and the needle's border. Default: `var(--border-default)`. */
245
177
  '--support-rail-line'?: string | number;
246
- /** `--support-rail-line-soft`. Default: `var(--border-subtle)`. */
178
+ /** `--support-rail-line-soft` - Row dividers and the grabber's edge. Default: `var(--border-subtle)`. */
247
179
  '--support-rail-line-soft'?: string | number;
248
- /** `--support-rail-accent`. Default: `var(--accent)`. */
180
+ /** `--support-rail-accent` - The needle's rule. Default: `var(--accent)`. */
249
181
  '--support-rail-accent'?: string | number;
250
- /** `--support-rail-live-color`. Default: `var(--success)`. */
182
+ /** `--support-rail-live-color` - The live dot and its pulse. Default: `var(--success)`. */
251
183
  '--support-rail-live-color'?: string | number;
252
- /** `--support-rail-radius`. Default: `var(--radius-2xl)`. */
184
+ /** `--support-rail-radius` - The needle's outer corners. Default: `var(--radius-2xl)`. */
253
185
  '--support-rail-radius'?: string | number;
254
- /** `--support-rail-open-duration`. Default: `calc(var(--duration-slower) * 1.4)`. */
186
+ /** `--support-rail-open-duration` - How long the panel takes to open. Default: `calc(var(--duration-slower) * 1.4)`. */
255
187
  '--support-rail-open-duration'?: string | number;
256
- /** `--support-rail-close-duration`. Default: `var(--duration-slower)`. */
188
+ /** `--support-rail-close-duration` - How long the panel takes to close. Default: `var(--duration-slower)`. */
257
189
  '--support-rail-close-duration'?: string | number;
258
- /** `--support-rail-needle-delay`. Default: `calc(var(--duration-slow) * 0.5)`. */
259
- '--support-rail-needle-delay'?: string | number;
260
- /** `--support-rail-stagger`. Default: `calc(var(--duration-fast) * 0.3)`. */
261
- '--support-rail-stagger'?: string | number;
262
190
  }
@@ -0,0 +1,34 @@
1
+ /**
2
+ * The motion tokens as numbers, for the readers that need a value before a stylesheet answers:
3
+ * durations in milliseconds, distances in pixels at a 16px root, easings as cubic-bezier points.
4
+ *
5
+ * Generated from the token and component CSS by `scripts/gen-theme.mjs` - `pnpm sync` rebuilds it.
6
+ */
7
+ export declare const motionDefaults: {
8
+ duration: {
9
+ fast: number;
10
+ base: number;
11
+ slow: number;
12
+ slower: number;
13
+ slowest: number;
14
+ spin: number;
15
+ pulse: number;
16
+ };
17
+ ease: {
18
+ standard: [number, number, number, number];
19
+ entrance: [number, number, number, number];
20
+ exit: [number, number, number, number];
21
+ spring: [number, number, number, number];
22
+ glide: [number, number, number, number];
23
+ };
24
+ distance: {
25
+ sm: number;
26
+ md: number;
27
+ lg: number;
28
+ };
29
+ scale: {
30
+ panel: number;
31
+ floating: number;
32
+ chip: number;
33
+ };
34
+ };
@@ -11,8 +11,8 @@ export type DurationToken = 'fast' | 'base' | 'slow' | 'slower' | 'slowest';
11
11
  * - `entrance` cubic-bezier(0.16, 1, 0.3, 1) - hard deceleration; content arriving on screen.
12
12
  * - `exit` cubic-bezier(0.4, 0, 1, 1) - accelerates away; content leaving (pair with a faster duration).
13
13
  * - `spring` cubic-bezier(0.34, 1.4, 0.5, 1) - overshoots then settles; playful confirmations.
14
- * - `glide` cubic-bezier(0.55, 0, 0.15, 1) - symmetric in-out travel; a persistent element moving
15
- * between positions, never enter/exit. */
14
+ * - `glide` cubic-bezier(0.32, 0.55, 0, 1) - fast out, soft landing; a persistent element moving to a
15
+ * new target, never enter/exit. */
16
16
  export type EaseToken = 'standard' | 'entrance' | 'exit' | 'spring' | 'glide';
17
17
  export type DistanceToken = 'sm' | 'md' | 'lg';
18
18
  export type ScaleToken = 'panel' | 'floating' | 'chip';
@@ -21,8 +21,15 @@ export interface MotionTokens {
21
21
  exit: MotionTransition;
22
22
  layout: MotionTransition;
23
23
  settle: MotionTransition;
24
+ glide: MotionTransition;
24
25
  };
25
26
  reduced: boolean;
26
27
  }
27
28
  export declare const UIMotion: MotionTokens;
29
+ /**
30
+ * Re-reads the motion tokens into `UIMotion` in place, so every held reference sees the new values. Runs on
31
+ * a `data-theme` change, a `prefers-reduced-motion` flip and after `ZyncatTheme` renders; call it yourself
32
+ * after injecting a stylesheet that retimes the `--duration-*` tokens.
33
+ */
34
+ export declare function refreshMotionTokens(): MotionTokens;
28
35
  export default UIMotion;
@@ -0,0 +1,3 @@
1
+ export declare function ThemeSync({ css }: {
2
+ css: string;
3
+ }): null;