@jfrader/ui 0.5.1 → 0.7.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 (336) hide show
  1. package/README.md +28 -7
  2. package/dist/{accordion-DLul6vIl.js → accordion-D6myONB9.js} +36 -35
  3. package/dist/accordion.js +1 -1
  4. package/dist/activity-rings-Uszvwqdl.js +528 -0
  5. package/dist/activity-rings.js +2 -0
  6. package/dist/{alert-DS_einpy.js → alert-Bhj-qSMs.js} +15 -14
  7. package/dist/alert.js +1 -1
  8. package/dist/{announcement-bar-Dlbq5-9D.js → announcement-bar-B5J33QUh.js} +132 -131
  9. package/dist/announcement-bar.js +1 -1
  10. package/dist/{avatar-group-M1opAQEG.js → avatar-group-BlMLNw4J.js} +10 -9
  11. package/dist/avatar-group.js +1 -1
  12. package/dist/avatar-sPxDqFiZ.js +133 -0
  13. package/dist/avatar.js +1 -1
  14. package/dist/{badge-CjM5Agqk.js → badge-CfhTcA-Z.js} +10 -9
  15. package/dist/badge.js +1 -1
  16. package/dist/billing-toggle-CgC7yxxo.js +349 -0
  17. package/dist/billing-toggle.js +2 -0
  18. package/dist/{bottom-sheet-DjZOPq4k.js → bottom-sheet-BFQKO0Wo.js} +282 -264
  19. package/dist/bottom-sheet.js +1 -1
  20. package/dist/{breadcrumbs-BDK_LiwH.js → breadcrumbs-CG3akw-b.js} +19 -18
  21. package/dist/breadcrumbs.js +1 -1
  22. package/dist/{button-NLY0h6EJ.js → button-C6OV0C7J.js} +14 -13
  23. package/dist/button-group-B9wP2ddS.js +611 -0
  24. package/dist/button-group.js +2 -0
  25. package/dist/button.js +1 -1
  26. package/dist/calendar-Bg6D2sul.js +377 -0
  27. package/dist/calendar.js +1 -1
  28. package/dist/calendar.utils-azmB4Ej7.js +79 -0
  29. package/dist/card-C008OQCp.js +164 -0
  30. package/dist/card.js +1 -1
  31. package/dist/{carousel-B7OrvD6J.js → carousel-lTH4Foke.js} +13 -12
  32. package/dist/carousel.js +1 -1
  33. package/dist/chat-thread-DkB-WMWJ.js +864 -0
  34. package/dist/chat-thread.js +2 -0
  35. package/dist/{checkbox-DKSzExj2.js → checkbox-CClE61GV.js} +9 -8
  36. package/dist/checkbox.js +1 -1
  37. package/dist/{chip-group-DjQ0_6Y9.js → chip-group-BZUX9KPF.js} +17 -16
  38. package/dist/chip-group.js +1 -1
  39. package/dist/{choice-control-5kJkLXgv.js → choice-control-BsWOZPc9.js} +1 -1
  40. package/dist/{code-block-B5we2lZa.js → code-block-CYP89_6h.js} +35 -34
  41. package/dist/code-block.js +1 -1
  42. package/dist/{combobox-DFFqOBCi.js → combobox-D2Oc-co7.js} +21 -20
  43. package/dist/combobox.js +1 -1
  44. package/dist/command-palette-BrT1n9bb.js +394 -0
  45. package/dist/command-palette.js +1 -1
  46. package/dist/comment-thread-DXfqgRNI.js +772 -0
  47. package/dist/comment-thread.js +1 -1
  48. package/dist/{container-BOaSptJa.js → container-BxtwJSSD.js} +3 -2
  49. package/dist/container.js +1 -1
  50. package/dist/{context-menu-__1c2Dk9.js → context-menu-I4i0LRpm.js} +52 -51
  51. package/dist/context-menu.js +1 -1
  52. package/dist/{copy-button-DCSLcYS-.js → copy-button-C0p_qrgf.js} +4 -4
  53. package/dist/copy-button.js +1 -1
  54. package/dist/{countdown-Dp_TD1VP.js → countdown-EcpV6rXy.js} +18 -17
  55. package/dist/countdown.js +1 -1
  56. package/dist/css-BYJhdGh-.js +2 -0
  57. package/dist/{date-picker-BiPN7yeK.js → date-picker-D-bn-iHs.js} +14 -13
  58. package/dist/date-picker.js +1 -1
  59. package/dist/date-range-picker-rXcZsI1Y.js +589 -0
  60. package/dist/date-range-picker.js +1 -1
  61. package/dist/dialog-CR1xdkrC.js +222 -0
  62. package/dist/dialog.js +1 -1
  63. package/dist/{divider-Cp7aNbhM.js → divider-zOJzkcHh.js} +7 -6
  64. package/dist/divider.js +1 -1
  65. package/dist/drawer-CceaEhCr.js +590 -0
  66. package/dist/drawer.js +1 -1
  67. package/dist/emblem-DnXmpZCh.js +166 -0
  68. package/dist/emblem.js +2 -0
  69. package/dist/{empty-state-CDgrjPPf.js → empty-state-DO0ApylK.js} +2 -1
  70. package/dist/empty-state.js +1 -1
  71. package/dist/{expandable-card-rUATve0o.js → expandable-card-W97vjix9.js} +52 -51
  72. package/dist/expandable-card.js +1 -1
  73. package/dist/{expanding-search-BxOwtdwt.js → expanding-search-Bb2_YfNx.js} +16 -15
  74. package/dist/expanding-search.js +1 -1
  75. package/dist/{field-anatomy-COVdNpf5.js → field-anatomy-BDIP42MI.js} +2 -1
  76. package/dist/{file-dropzone-BuXm3Tea.js → file-dropzone-Bi5ikRIz.js} +14 -13
  77. package/dist/file-dropzone.js +1 -1
  78. package/dist/{filter-toolbar-Cy5Hqur-.js → filter-toolbar-QRnC4S_H.js} +33 -32
  79. package/dist/filter-toolbar.js +1 -1
  80. package/dist/{flex-Dh-_J5-U.js → flex-CS7eMRcK.js} +2 -2
  81. package/dist/flex.js +1 -1
  82. package/dist/game-card-Oeu74giK.js +194 -0
  83. package/dist/game-card.js +2 -0
  84. package/dist/{hold-to-confirm-DjB2EVjM.js → hold-to-confirm-CVBA0wNT.js} +18 -17
  85. package/dist/hold-to-confirm.js +1 -1
  86. package/dist/{hover-card-CoMJKg1g.js → hover-card-Dgu2CwMD.js} +20 -19
  87. package/dist/hover-card.js +1 -1
  88. package/dist/{icon-wrapper-stN8sD7R.js → icon-wrapper-C-zMD0uL.js} +1 -1
  89. package/dist/{image-compare-BxY8Ykzt.js → image-compare-Ln2UUqTU.js} +20 -19
  90. package/dist/image-compare.js +1 -1
  91. package/dist/in-view-title-BUZCMqge.js +225 -0
  92. package/dist/in-view-title.js +2 -0
  93. package/dist/index.js +102 -83
  94. package/dist/initials-DEdwNe9_.js +18 -0
  95. package/dist/{inline-edit-C0eeml65.js → inline-edit-D-pR2RPC.js} +22 -21
  96. package/dist/inline-edit.js +1 -1
  97. package/dist/{input-control-DmMuAuPS.js → input-control-B6HVBgwl.js} +1 -1
  98. package/dist/{json-viewer-DgWqyU75.js → json-viewer-Dro3WrjS.js} +31 -30
  99. package/dist/json-viewer.js +1 -1
  100. package/dist/{kbd-C3ACoMoE.js → kbd-BI_9qzYr.js} +2 -1
  101. package/dist/kbd.js +1 -1
  102. package/dist/keycap-keyboard-Cdx-OAS1.js +311 -0
  103. package/dist/keycap-keyboard.js +2 -0
  104. package/dist/{layout-style-Cbd1Vilw.js → layout-style-BE0gSqrH.js} +1 -1
  105. package/dist/lightbox-gallery-D0YaSTut.js +777 -0
  106. package/dist/lightbox-gallery.js +2 -0
  107. package/dist/link-unfurl-CReyIjyy.js +695 -0
  108. package/dist/link-unfurl.js +2 -0
  109. package/dist/{listbox-style-WX-RASp1.js → listbox-style-DNOxAulu.js} +1 -1
  110. package/dist/{loading-ring-B8-30Dl1.js → loading-ring-D0lGrK8z.js} +1 -1
  111. package/dist/locale-switcher-DTkySKsM.js +375 -0
  112. package/dist/locale-switcher.js +2 -0
  113. package/dist/{mention-input-sq61si9L.js → mention-input-BjjAbJCf.js} +6 -6
  114. package/dist/mention-input.js +1 -1
  115. package/dist/{menu-DDKgmK2F.js → menu-CVzpsyXn.js} +113 -96
  116. package/dist/menu.js +1 -1
  117. package/dist/{metric-card--lVTz5Wn.js → metric-card-BnFssTXj.js} +12 -11
  118. package/dist/metric-card.js +1 -1
  119. package/dist/{multi-select-DG1BCFX7.js → multi-select-B3puEVo0.js} +67 -66
  120. package/dist/multi-select.js +1 -1
  121. package/dist/{navigation-CC26JDr-.js → navigation-C_JD43gA.js} +41 -40
  122. package/dist/navigation.js +1 -1
  123. package/dist/next.js +65 -0
  124. package/dist/now-playing-DjVm1Phm.js +439 -0
  125. package/dist/now-playing.js +2 -0
  126. package/dist/overlay-motion-Cr77ihn2.js +90 -0
  127. package/dist/{overlay-portal-C4JZFq2M.js → overlay-portal-C9igMHnC.js} +1 -1
  128. package/dist/{pagination-BfkeWbmP.js → pagination-Dkh4bJQh.js} +10 -9
  129. package/dist/pagination.js +1 -1
  130. package/dist/{password-field-03pWRkuY.js → password-field-Da58GP1g.js} +4 -4
  131. package/dist/password-field.js +1 -1
  132. package/dist/photo-grid-Dtl17D74.js +830 -0
  133. package/dist/photo-grid.js +2 -0
  134. package/dist/{pill-BaS-uIbn.js → pill-Dd7pog19.js} +10 -9
  135. package/dist/pill.js +1 -1
  136. package/dist/{popover-CErIw2q3.js → popover-CUMOcMtj.js} +5 -4
  137. package/dist/popover.js +1 -1
  138. package/dist/presence-spring-4zwtUDQN.js +12 -0
  139. package/dist/{progress-DAQkfhPd.js → progress-Bcuz3Ob4.js} +11 -10
  140. package/dist/progress.js +1 -1
  141. package/dist/{radio-cards-Cu9cBssN.js → radio-cards-FkAhESb5.js} +35 -34
  142. package/dist/radio-cards.js +1 -1
  143. package/dist/{radio-group-TIK0-iPX.js → radio-group-DItMf2YM.js} +18 -17
  144. package/dist/radio-group.js +1 -1
  145. package/dist/{resizable-panels-DUpQEpwG.js → resizable-panels-61h9hA3B.js} +13 -12
  146. package/dist/resizable-panels.js +1 -1
  147. package/dist/{scroll-area-CcZyiSOQ.js → scroll-area-B8KkCPOM.js} +16 -15
  148. package/dist/scroll-area.js +1 -1
  149. package/dist/{search-field-DMvho0KQ.js → search-field-CbsajaZb.js} +93 -92
  150. package/dist/search-field.js +1 -1
  151. package/dist/{segmented-control-8ZUGnsZm.js → segmented-control-DCh-4ca-.js} +26 -25
  152. package/dist/segmented-control.js +1 -1
  153. package/dist/{select-D5rhJ8gi.js → select-SrcQqZjo.js} +27 -26
  154. package/dist/select.js +1 -1
  155. package/dist/sheet-stack-DYX1SGSB.js +820 -0
  156. package/dist/sheet-stack.js +2 -0
  157. package/dist/shortcut-recorder-VgTQdjjn.js +688 -0
  158. package/dist/shortcut-recorder.js +2 -0
  159. package/dist/{signature-pad-_bTeguN9.js → signature-pad-khL2yhQI.js} +15 -14
  160. package/dist/signature-pad.js +1 -1
  161. package/dist/{skeleton-XQQDkCHd.js → skeleton-LJsQsveI.js} +9 -8
  162. package/dist/skeleton.js +1 -1
  163. package/dist/slider-DjAnGmlC.js +535 -0
  164. package/dist/slider.js +1 -1
  165. package/dist/{sortable-data-table-CYKT_Ng7.js → sortable-data-table-Bpitup_d.js} +29 -28
  166. package/dist/sortable-data-table.js +1 -1
  167. package/dist/{spinner-DtxvDPdM.js → spinner-CvzajSg9.js} +11 -10
  168. package/dist/spinner.js +1 -1
  169. package/dist/{split-button-BCw4zZom.js → split-button-Bu41f2AY.js} +20 -19
  170. package/dist/split-button.js +1 -1
  171. package/dist/{stack-DC3IbtWk.js → stack-Bac4sJeI.js} +2 -2
  172. package/dist/stack.js +1 -1
  173. package/dist/{stepper-CruHbXxX.js → stepper-C8Ncavbr.js} +22 -21
  174. package/dist/stepper.js +1 -1
  175. package/dist/stretch-refresh-OrnTEj7P.js +349 -0
  176. package/dist/stretch-refresh.js +2 -0
  177. package/dist/{surface-DZ4d-2aL.js → surface-C69kwSuk.js} +13 -3
  178. package/dist/{swipe-actions-CBuJREU1.js → swipe-actions-1H5UOZKE.js} +26 -25
  179. package/dist/swipe-actions.js +1 -1
  180. package/dist/{switch-C1WrKrf-.js → switch-79-hkQqg.js} +15 -14
  181. package/dist/switch.js +1 -1
  182. package/dist/sx-BJXJ2xJK.js +23 -0
  183. package/dist/{tabs-XluwRjgg.js → tabs-Bb5-noYE.js} +43 -42
  184. package/dist/tabs.js +1 -1
  185. package/dist/{tag-input-DSRCyrX2.js → tag-input-BQaueKEb.js} +5 -5
  186. package/dist/tag-input.js +1 -1
  187. package/dist/{text-field-hU72iSVS.js → text-field-D0VP7b4P.js} +3 -3
  188. package/dist/text-field.js +1 -1
  189. package/dist/{textarea-3k4Y0QQ3.js → textarea-D1YwEPmn.js} +3 -3
  190. package/dist/textarea.js +1 -1
  191. package/dist/theme-provider-BvcY-iJu.js +20 -0
  192. package/dist/theme-root-BrYVcTzt.js +163 -0
  193. package/dist/theme-root.js +1 -1
  194. package/dist/theme-scope-DGWy4H0C.js +62 -0
  195. package/dist/{theme-switch-C505TtU8.js → theme-switch-CP42mVDb.js} +12 -11
  196. package/dist/theme-switch.js +1 -1
  197. package/dist/thread-parts-Cpktor6D.js +683 -0
  198. package/dist/{time-picker-CPlhW0tr.js → time-picker-Tnd-JBLC.js} +16 -15
  199. package/dist/time-picker.js +1 -1
  200. package/dist/{timeline-B0uAAVfT.js → timeline-BcF46lG9.js} +22 -21
  201. package/dist/timeline.js +1 -1
  202. package/dist/{toast-B7wo3sX1.js → toast-CSAbl5yK.js} +12 -11
  203. package/dist/{toast-stack-B40VpS4M.js → toast-stack-BCR4Cu7V.js} +10 -9
  204. package/dist/toast-stack.js +1 -1
  205. package/dist/toast.js +1 -1
  206. package/dist/{toggle-group-B2fpFZwV.js → toggle-group-C7ye1v4s.js} +23 -22
  207. package/dist/toggle-group.js +1 -1
  208. package/dist/{tooltip-BvgVTCTN.js → tooltip-IajLwdUb.js} +48 -39
  209. package/dist/tooltip.js +1 -1
  210. package/dist/{tree-view-j8qLqkb_.js → tree-view-CoW4oJIZ.js} +15 -14
  211. package/dist/tree-view.js +1 -1
  212. package/dist/{trigger-style-B1KVC8O1.js → trigger-style-CtOrdPk4.js} +1 -1
  213. package/dist/types/components/activity-rings/activity-rings.d.ts +113 -0
  214. package/dist/types/components/activity-rings/index.d.ts +2 -0
  215. package/dist/types/components/avatar-group/avatar-group.d.ts +3 -3
  216. package/dist/types/components/billing-toggle/billing-toggle.d.ts +57 -0
  217. package/dist/types/components/billing-toggle/index.d.ts +2 -0
  218. package/dist/types/components/button/button.d.ts +7 -7
  219. package/dist/types/components/button-group/button-group.d.ts +72 -0
  220. package/dist/types/components/button-group/index.d.ts +2 -0
  221. package/dist/types/components/card/card.d.ts +7 -1
  222. package/dist/types/components/chat-thread/chat-thread.d.ts +130 -0
  223. package/dist/types/components/chat-thread/index.d.ts +2 -0
  224. package/dist/types/components/chip-group/chip-group.d.ts +2 -2
  225. package/dist/types/components/combobox/combobox.d.ts +2 -2
  226. package/dist/types/components/command-palette/command-palette.d.ts +1 -1
  227. package/dist/types/components/comment-thread/comment-thread.d.ts +7 -7
  228. package/dist/types/components/copy-button/copy-button.d.ts +6 -6
  229. package/dist/types/components/countdown/countdown.d.ts +2 -2
  230. package/dist/types/components/dialog/dialog.d.ts +18 -20
  231. package/dist/types/components/drawer/drawer.d.ts +7 -1
  232. package/dist/types/components/emblem/emblem.d.ts +59 -0
  233. package/dist/types/components/emblem/index.d.ts +2 -0
  234. package/dist/types/components/empty-state/empty-state.d.ts +2 -2
  235. package/dist/types/components/file-dropzone/file-dropzone.d.ts +3 -4
  236. package/dist/types/components/filter-toolbar/filter-toolbar.d.ts +2 -2
  237. package/dist/types/components/game-card/card-frame.d.ts +16 -0
  238. package/dist/types/components/game-card/decks.d.ts +27 -0
  239. package/dist/types/components/game-card/game-card.d.ts +37 -0
  240. package/dist/types/components/game-card/index.d.ts +4 -0
  241. package/dist/types/components/hold-to-confirm/hold-to-confirm.d.ts +1 -1
  242. package/dist/types/components/hover-card/hover-card.d.ts +5 -5
  243. package/dist/types/components/in-view-title/in-view-title.d.ts +23 -0
  244. package/dist/types/components/in-view-title/index.d.ts +1 -0
  245. package/dist/types/components/inline-edit/inline-edit.d.ts +6 -6
  246. package/dist/types/components/json-viewer/json-viewer.d.ts +7 -9
  247. package/dist/types/components/keycap-keyboard/index.d.ts +2 -0
  248. package/dist/types/components/keycap-keyboard/keycap-keyboard.d.ts +32 -0
  249. package/dist/types/components/lightbox-gallery/index.d.ts +2 -0
  250. package/dist/types/components/lightbox-gallery/lightbox-gallery.d.ts +74 -0
  251. package/dist/types/components/link-unfurl/index.d.ts +2 -0
  252. package/dist/types/components/link-unfurl/link-unfurl.d.ts +104 -0
  253. package/dist/types/components/locale-switcher/index.d.ts +2 -0
  254. package/dist/types/components/locale-switcher/locale-switcher.d.ts +64 -0
  255. package/dist/types/components/mention-input/mention-input.d.ts +7 -7
  256. package/dist/types/components/menu/menu.d.ts +29 -5
  257. package/dist/types/components/metric-card/metric-card.d.ts +2 -2
  258. package/dist/types/components/navigation/navigation.d.ts +1 -1
  259. package/dist/types/components/next/emotion-registry.d.ts +14 -0
  260. package/dist/types/components/next/index.d.ts +2 -0
  261. package/dist/types/components/next/registry.d.ts +21 -0
  262. package/dist/types/components/now-playing/index.d.ts +1 -0
  263. package/dist/types/components/now-playing/now-playing.d.ts +88 -0
  264. package/dist/types/components/password-field/password-field.d.ts +1 -1
  265. package/dist/types/components/photo-grid/index.d.ts +2 -0
  266. package/dist/types/components/photo-grid/photo-grid.d.ts +82 -0
  267. package/dist/types/components/progress/progress.d.ts +1 -1
  268. package/dist/types/components/select/select.d.ts +1 -1
  269. package/dist/types/components/sheet-stack/index.d.ts +2 -0
  270. package/dist/types/components/sheet-stack/sheet-stack.d.ts +81 -0
  271. package/dist/types/components/shortcut-recorder/index.d.ts +2 -0
  272. package/dist/types/components/shortcut-recorder/shortcut-recorder.d.ts +117 -0
  273. package/dist/types/components/signature-pad/signature-pad.d.ts +2 -2
  274. package/dist/types/components/split-button/split-button.d.ts +3 -4
  275. package/dist/types/components/stretch-refresh/index.d.ts +1 -0
  276. package/dist/types/components/stretch-refresh/stretch-refresh.d.ts +49 -0
  277. package/dist/types/components/swipe-actions/swipe-actions.d.ts +1 -2
  278. package/dist/types/components/tag-input/tag-input.d.ts +2 -3
  279. package/dist/types/components/theme-root/index.d.ts +1 -0
  280. package/dist/types/components/theme-root/theme-root.d.ts +10 -3
  281. package/dist/types/components/theme-switch/theme-switch.d.ts +3 -3
  282. package/dist/types/components/{comment-thread → thread}/thread-parts.d.ts +7 -2
  283. package/dist/types/components/time-picker/time-picker.d.ts +2 -2
  284. package/dist/types/components/timeline/timeline.d.ts +4 -4
  285. package/dist/types/components/toast/toast.d.ts +3 -3
  286. package/dist/types/components/tooltip/tooltip.d.ts +8 -1
  287. package/dist/types/components/tree-view/tree-view.d.ts +4 -3
  288. package/dist/types/components/typewriter-terminal/index.d.ts +2 -0
  289. package/dist/types/components/typewriter-terminal/typewriter-terminal.d.ts +87 -0
  290. package/dist/types/components/usage-meter/usage-meter.d.ts +6 -16
  291. package/dist/types/components/usage-meter/usage-model.d.ts +30 -0
  292. package/dist/types/components/user-menu/index.d.ts +2 -0
  293. package/dist/types/components/user-menu/user-menu.d.ts +118 -0
  294. package/dist/types/index.d.ts +18 -1
  295. package/dist/types/overlay/exit-motion.d.ts +24 -0
  296. package/dist/types/overlay/presence-spring.d.ts +12 -0
  297. package/dist/types/overlay/use-native-dialog.d.ts +10 -1
  298. package/dist/types/styling/create-theme.d.ts +24 -0
  299. package/dist/types/styling/css.d.ts +1 -1
  300. package/dist/types/styling/motion-timings.d.ts +5 -0
  301. package/dist/types/styling/overlay-motion.d.ts +95 -0
  302. package/dist/types/styling/surface.d.ts +7 -0
  303. package/dist/types/styling/sx.d.ts +1 -1
  304. package/dist/types/styling/theme-scope.d.ts +29 -3
  305. package/dist/types/styling/theme.d.ts +15 -0
  306. package/dist/types/utils/initials.d.ts +2 -0
  307. package/dist/typewriter-terminal-BUEsMzo3.js +588 -0
  308. package/dist/typewriter-terminal.js +2 -0
  309. package/dist/{usage-meter-qyQ3rYVv.js → usage-meter-CYvlB6l3.js} +165 -175
  310. package/dist/usage-meter.js +1 -1
  311. package/dist/usage-model-C0fS47w4.js +32 -0
  312. package/dist/use-native-dialog-FB0p7lkg.js +93 -0
  313. package/dist/use-scroll-lock-40gXwwAy.js +23 -0
  314. package/dist/user-menu-MctRu_Lh.js +757 -0
  315. package/dist/user-menu.js +2 -0
  316. package/dist/{visually-hidden-BJdvqqvn.js → visually-hidden-DgVO3NaB.js} +1 -1
  317. package/package.json +87 -5
  318. package/dist/avatar-CaGJHy1N.js +0 -145
  319. package/dist/calendar-BzJdv_SZ.js +0 -449
  320. package/dist/card-Ca4KQKYQ.js +0 -154
  321. package/dist/command-palette-BmQu2w4H.js +0 -391
  322. package/dist/comment-thread-ASaXDcGo.js +0 -1410
  323. package/dist/date-range-picker-DQpUeKqV.js +0 -570
  324. package/dist/dialog-BX1zYMs-.js +0 -219
  325. package/dist/drawer-DsASTiP-.js +0 -553
  326. package/dist/elastic-slider-BG6K019r.js +0 -395
  327. package/dist/elastic-slider.js +0 -2
  328. package/dist/slider-DVG6-Awh.js +0 -308
  329. package/dist/sx-Dx9JUKp5.js +0 -23
  330. package/dist/theme-root-Bs1U3uPA.js +0 -46
  331. package/dist/theme-scope-t7nAKc2c.js +0 -27
  332. package/dist/types/components/elastic-slider/elastic-slider.d.ts +0 -53
  333. package/dist/types/components/elastic-slider/index.d.ts +0 -1
  334. package/dist/use-native-dialog-DWpIUVO1.js +0 -84
  335. package/dist/use-slider-interaction-ChL-208h.js +0 -234
  336. /package/dist/types/components/{comment-thread → thread}/thread-core.d.ts +0 -0
@@ -0,0 +1,104 @@
1
+ import { type ComponentPropsWithoutRef, type ComponentPropsWithRef, type ReactNode } from 'react';
2
+ import { type Interpolation, type Theme } from '../../styling/css';
3
+ import { type SxProps } from '../../styling/sx';
4
+ export type LinkUnfurlPreviewStatus = 'pending' | 'ready' | 'none' | 'error';
5
+ export interface LinkUnfurlPreview {
6
+ /** Identifies the link from the `onPreviewRequest` context. */
7
+ linkId: string;
8
+ /** Identifies the request being answered. Other request ids are ignored. */
9
+ requestId: string;
10
+ url: string;
11
+ status: LinkUnfurlPreviewStatus;
12
+ site?: string;
13
+ title?: string;
14
+ description?: ReactNode;
15
+ /** Shows a preview image. Describe it with `alt`, or use `''` if it adds no information. */
16
+ image?: {
17
+ src: string;
18
+ alt: string;
19
+ };
20
+ /** Decorative site icon URL. */
21
+ favicon?: string;
22
+ /** Shown instead of `labels.noPreview` when the status is `error`. */
23
+ error?: string;
24
+ }
25
+ export interface LinkUnfurlPreviewRequestContext {
26
+ linkId: string;
27
+ requestId: string;
28
+ signal: AbortSignal;
29
+ }
30
+ export interface LinkUnfurlSuggestion {
31
+ url: string;
32
+ label: string;
33
+ }
34
+ export interface LinkUnfurlMessage {
35
+ text: string;
36
+ previews: LinkUnfurlPreview[];
37
+ }
38
+ export interface LinkUnfurlLabels {
39
+ send: string;
40
+ expand: string;
41
+ collapse: string;
42
+ remove: string;
43
+ retry: string;
44
+ pending: string;
45
+ noPreview: string;
46
+ sent: string;
47
+ error: string;
48
+ /** Keyboard description read with the field. */
49
+ hint: string;
50
+ }
51
+ interface SlotStyle {
52
+ className?: string;
53
+ css?: Interpolation<Theme>;
54
+ }
55
+ type PartProps<E extends 'div' | 'a' | 'img' | 'p' | 'button'> = Omit<ComponentPropsWithoutRef<E>, 'children' | 'id' | 'className' | 'dangerouslySetInnerHTML'> & SlotStyle;
56
+ export interface LinkUnfurlSlotProps {
57
+ field?: Omit<ComponentPropsWithRef<'textarea'>, 'children' | 'id' | 'value' | 'defaultValue' | 'readOnly' | 'className' | 'dangerouslySetInnerHTML'> & SlotStyle;
58
+ lane?: PartProps<'div'>;
59
+ /** Styles the preview item. Animation and drag handlers are reserved for its layout animation. */
60
+ chip?: Omit<PartProps<'div'>, 'onAnimationStart' | 'onDrag' | 'onDragStart' | 'onDragEnd'>;
61
+ card?: Omit<PartProps<'div'>, 'hidden' | 'inert'>;
62
+ title?: Omit<PartProps<'a'>, 'href'>;
63
+ image?: Omit<PartProps<'img'>, 'src' | 'alt'>;
64
+ controls?: PartProps<'div'>;
65
+ send?: Omit<PartProps<'button'>, 'type' | 'disabled'>;
66
+ status?: Omit<PartProps<'div'>, 'role' | 'aria-live' | 'aria-atomic'>;
67
+ error?: Omit<PartProps<'p'>, 'role'>;
68
+ }
69
+ export interface LinkUnfurlProps extends Omit<ComponentPropsWithRef<'div'>, 'children' | 'defaultValue' | 'onChange'>, SxProps {
70
+ /** Labels the message field. */
71
+ label: string;
72
+ /** Controls the draft text. */
73
+ value?: string;
74
+ /** Sets the initial uncontrolled text. Defaults to `''`. */
75
+ defaultValue?: string;
76
+ /** Requests new draft text. Controlled text changes only when `value` updates. */
77
+ onValueChange?: (text: string) => void;
78
+ /** Supplies preview records matching the current link and request ids. Defaults to `[]`. */
79
+ previews?: LinkUnfurlPreview[];
80
+ /** Requests metadata after user actions. Fetch in your app and use the supplied abort signal. */
81
+ onPreviewRequest?: (url: string, context: LinkUnfurlPreviewRequestContext) => void;
82
+ /** Controls which link ids have open previews, independently of `value`. */
83
+ expanded?: string[];
84
+ /** Sets the initially open link ids. Defaults to `[]`. */
85
+ defaultExpanded?: string[];
86
+ /** Requests open link ids. Controlled previews change only when `expanded` updates. */
87
+ onExpandedChange?: (ids: string[]) => void;
88
+ /** Adds buttons that insert URLs at the selection. Defaults to `[]`. */
89
+ suggestions?: LinkUnfurlSuggestion[];
90
+ /** Enables sending. A returned promise keeps the composer pending until it settles. */
91
+ onSend?: (message: LinkUnfurlMessage) => void | Promise<unknown>;
92
+ /** Replaces the default English labels and keyboard hint. */
93
+ labels?: Partial<LinkUnfurlLabels>;
94
+ /** Locale for the joined status announcements. */
95
+ locale?: Intl.LocalesArgument;
96
+ /** Sets animation behavior. Defaults to `'auto'`, respecting reduced motion. `'none'` disables animation. */
97
+ motion?: 'auto' | 'none';
98
+ slotProps?: LinkUnfurlSlotProps;
99
+ }
100
+ export declare function LinkUnfurl({ ref, label, value: valueProp, defaultValue, onValueChange, previews, onPreviewRequest, expanded: expandedProp, defaultExpanded, onExpandedChange, suggestions, onSend, labels: labelsProp, locale, motion: motionMode, slotProps, className, sx, ...rest }: LinkUnfurlProps): import("@emotion/react/jsx-runtime").JSX.Element;
101
+ export declare namespace LinkUnfurl {
102
+ var displayName: string;
103
+ }
104
+ export {};
@@ -0,0 +1,2 @@
1
+ export { LocaleSwitcher } from './locale-switcher';
2
+ export type { LocaleSwitcherLinkProps, LocaleSwitcherOption, LocaleSwitcherProps, LocaleSwitcherSize, LocaleSwitcherSlotProps, LocaleSwitcherVariant, } from './locale-switcher';
@@ -0,0 +1,64 @@
1
+ import { type ComponentPropsWithoutRef, type ComponentPropsWithRef, type ReactNode } from 'react';
2
+ import { type Placement } from '@floating-ui/react';
3
+ import { type Interpolation, type Theme } from '../../styling/css';
4
+ import { type SxProps } from '../../styling/sx';
5
+ export type LocaleSwitcherVariant = 'menu' | 'swap' | 'inline' | 'segmented';
6
+ export type LocaleSwitcherSize = 'sm' | 'md' | 'lg';
7
+ /** Spread these props onto the link returned by an option's `render` callback. */
8
+ export interface LocaleSwitcherLinkProps extends Omit<ComponentPropsWithRef<'a'>, 'href' | 'children'> {
9
+ href: string;
10
+ children: ReactNode;
11
+ 'data-ui': string;
12
+ }
13
+ export interface LocaleSwitcherOption {
14
+ value: string;
15
+ /** Labels the language with its native name, such as "Español" or "English". */
16
+ label: ReactNode;
17
+ /** Names the option for assistive technology when `label` is a short code, such as "ES". */
18
+ ariaLabel?: string;
19
+ /** Sets the label and linked page's BCP 47 language tag through `lang` and `hreflang`. */
20
+ lang?: string;
21
+ href: string;
22
+ /** Replaces the native `<a>` with a router link. Spread every supplied prop onto it. */
23
+ render?: (props: LocaleSwitcherLinkProps) => ReactNode;
24
+ }
25
+ type SlotStyle = {
26
+ className?: string;
27
+ css?: Interpolation<Theme>;
28
+ };
29
+ export interface LocaleSwitcherSlotProps {
30
+ /** Menu variant's trigger button. */
31
+ trigger?: Omit<ComponentPropsWithoutRef<'button'>, 'children' | 'className' | 'aria-labelledby'> & SlotStyle;
32
+ /** Menu variant's popup. */
33
+ content?: Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'className'> & SlotStyle;
34
+ /** Styles every option: menu items, the swap link, inline links, and the current label. */
35
+ option?: SlotStyle;
36
+ }
37
+ export interface LocaleSwitcherProps extends Omit<ComponentPropsWithRef<'nav'>, 'children'>, SxProps {
38
+ options: readonly LocaleSwitcherOption[];
39
+ /** Identifies the current language option. */
40
+ value: string;
41
+ /** Sets the link layout. Defaults to `'menu'`. */
42
+ variant?: LocaleSwitcherVariant;
43
+ /** Sets the text and menu trigger size. Defaults to `'md'`. */
44
+ size?: LocaleSwitcherSize;
45
+ /** Names the menu trigger's action, such as "Change language". Read before the current label. */
46
+ triggerLabel?: string;
47
+ /** Names the navigation landmark in the inline and segmented variants. */
48
+ label?: string;
49
+ /** Shows a decorative icon before the menu's current label. Defaults to a globe. `null` removes it. */
50
+ icon?: ReactNode;
51
+ /** Controls whether the menu is open. */
52
+ open?: boolean;
53
+ /** Sets the menu's initial uncontrolled open state. */
54
+ defaultOpen?: boolean;
55
+ /** Requests a menu open-state change. */
56
+ onOpenChange?: (open: boolean) => void;
57
+ placement?: Placement;
58
+ slotProps?: LocaleSwitcherSlotProps;
59
+ }
60
+ export declare function LocaleSwitcher({ ref, options, value, variant, size, triggerLabel, label, icon, open, defaultOpen, onOpenChange, placement, slotProps, className, sx, ...rest }: LocaleSwitcherProps): import("@emotion/react/jsx-runtime").JSX.Element;
61
+ export declare namespace LocaleSwitcher {
62
+ var displayName: string;
63
+ }
64
+ export {};
@@ -9,7 +9,7 @@ export interface Mention {
9
9
  readonly start: number;
10
10
  readonly end: number;
11
11
  }
12
- /** Ranges are immutable UTF-16 half-open offsets, matching native textarea selection. */
12
+ /** Immutable UTF-16 `[start,end)` offsets, matching textarea selection. */
13
13
  export interface MentionValue {
14
14
  readonly text: string;
15
15
  readonly mentions: readonly Mention[];
@@ -73,13 +73,13 @@ export interface MentionInputProps extends Omit<ComponentPropsWithRef<'textarea'
73
73
  slotProps?: Partial<Record<Part, FieldPartProps>>;
74
74
  }
75
75
  export declare function mentionText(kind: MentionKind, label: string): string;
76
- /** Invalid metadata is omitted; plain text is always preserved. The caller owns storage escaping. */
76
+ /** Omits invalid metadata and keeps plain text. The caller handles storage escaping. */
77
77
  export declare function serializeMentions(value: MentionValue, format?: (mention: Mention) => string): string;
78
- /** Native multiline textbox in a combobox semantic wrapper with virtual focus.
79
- * Enter/Tab commit; Space edits;
80
- * Shift+Tab leaves, Home/End edit, Escape dismisses. Pair input/mirror metric overrides.
81
- * Native text undo is best-effort across engines; stale metadata is deliberately dropped.
82
- * Intended for message-sized documents, not rich-text editing. */
78
+ /** Write a message and mention people with @ or channels with #.
79
+ * The textarea keeps multiline semantics and DOM focus inside a combobox wrapper.
80
+ * Enter/Tab insert a result; Space edits; Shift+Tab leaves; Home/End move the caret; Escape dismisses.
81
+ * Pair input/mirror metric overrides. Native text undo depends on the browser; stale metadata is dropped.
82
+ * Use for message-sized documents, not rich-text editing. */
83
83
  export declare function MentionInput({ ref, actionsRef, value: valueProp, defaultValue, onValueChange, open: openProp, defaultOpen, onOpenChange, people, channels, onMentionAdd, onSubmit, submitOnEnter, label, description, error, size, minRows, maxRows, maxSuggestions, placement, locale, messages, renderSuggestion, slotProps, className, sx, id, dir, required, disabled, readOnly, onChange, onInput, onKeyDown, onSelect, onFocus, onBlur, onScroll, onCompositionStart, onCompositionEnd, 'aria-labelledby': labelledBy, 'aria-describedby': describedBy, 'aria-invalid': invalid, ...rest }: MentionInputProps): import("@emotion/react/jsx-runtime").JSX.Element;
84
84
  export declare namespace MentionInput {
85
85
  var displayName: string;
@@ -1,4 +1,4 @@
1
- import { type ComponentPropsWithRef, type CSSProperties, type HTMLProps, type MutableRefObject, type ReactNode } from 'react';
1
+ import { type ComponentPropsWithRef, type CSSProperties, type HTMLAttributes, type HTMLProps, type MutableRefObject, type ReactNode, type RefCallback } from 'react';
2
2
  import { type Placement, type UseInteractionsReturn } from '@floating-ui/react';
3
3
  import { type Interpolation, type SerializedStyles, type Theme } from '../../styling/css';
4
4
  import { type SxProps } from '../../styling/sx';
@@ -54,12 +54,21 @@ export interface MenuPartIdentity {
54
54
  marker: string;
55
55
  styles?: Interpolation<Theme>;
56
56
  }
57
- /** Item behavior a family may change: the part name in usage errors, the item role and whether
58
- * selection closes the menu. */
57
+ /** Props a menu item's `render` callback spreads onto the element it returns. */
58
+ export interface MenuItemRenderProps extends HTMLAttributes<HTMLElement> {
59
+ ref: RefCallback<HTMLElement> | null;
60
+ 'data-ui': string;
61
+ }
62
+ /** Item behavior a family may change: the part name in usage errors, the item role, whether
63
+ * selection closes the menu, `busy` (an item that stays focusable and navigable but ignores
64
+ * activation, exposed as aria-busy and aria-disabled) and `render`, which replaces the native
65
+ * button (e.g. with an <a href>). */
59
66
  export interface MenuItemPartBehavior {
60
67
  part?: string;
61
- itemRole?: 'menuitem' | 'menuitemcheckbox';
68
+ itemRole?: 'menuitem' | 'menuitemcheckbox' | 'menuitemradio';
62
69
  closeOnSelect?: boolean;
70
+ busy?: boolean;
71
+ render?: (props: MenuItemRenderProps) => ReactNode;
63
72
  }
64
73
  export declare function useMenuContext(family: string, part: string): MenuContextValue;
65
74
  /**
@@ -67,12 +76,18 @@ export declare function useMenuContext(family: string, part: string): MenuContex
67
76
  * `preventDefault()` vetoes the internal request (open, toggle, navigation).
68
77
  */
69
78
  export declare function consumerHandlersFirst(props: HTMLProps<Element>, getProps: (userProps: HTMLProps<Element>) => Record<string, unknown>): Record<string, unknown>;
79
+ export declare const joinIds: (...ids: Array<string | undefined>) => string | undefined;
70
80
  /** Own styles of a menu item, for families that layer their own item styles on top. */
71
81
  export declare const menuItemStyles: SerializedStyles[];
72
82
  /** Own styles of a menu separator. */
73
83
  export declare const menuSeparatorStyles: SerializedStyles;
74
84
  /** Command tones for families whose items carry one (SplitButton, ContextMenu). */
75
85
  export declare const menuItemToneStyles: Record<MenuItemTone, SerializedStyles>;
86
+ /**
87
+ * Returns focus to a closed overlay's trigger, unless the trigger left the document or became
88
+ * inert (its owner is being removed) or something else already holds focus.
89
+ */
90
+ export declare function restoreTriggerFocus(trigger: HTMLElement | null): void;
76
91
  /** The shared menu controller (state, positioning, navigation, dismissal, focus return). */
77
92
  export declare function MenuController(props: MenuControllerProps): import("@emotion/react/jsx-runtime").JSX.Element;
78
93
  declare function MenuRoot(props: MenuProps): import("@emotion/react/jsx-runtime").JSX.Element;
@@ -81,8 +96,17 @@ declare function MenuTrigger(props: MenuTriggerProps): import("@emotion/react/js
81
96
  export declare function MenuContentPart({ family, marker, styles, ref, style, children, className, sx, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, defaultLabelledBy, ...rest }: MenuContentProps & MenuPartIdentity & {
82
97
  defaultLabelledBy?: string;
83
98
  }): import("@emotion/react/jsx-runtime").JSX.Element | null;
99
+ /**
100
+ * The menu's item collection: items rendered inside register with its list navigation and
101
+ * typeahead, and layers opened inside nest under the menu. Families that build their own surface
102
+ * around the menu element (UserMenu) render it inside the element carrying the floating props.
103
+ */
104
+ export declare function MenuCollection({ family, children }: {
105
+ family: string;
106
+ children?: ReactNode;
107
+ }): import("@emotion/react/jsx-runtime").JSX.Element;
84
108
  declare function MenuContent(props: MenuContentProps): import("@emotion/react/jsx-runtime").JSX.Element;
85
- export declare function MenuItemPart({ family, marker, styles, ref, onSelect, disabled, part, itemRole, closeOnSelect, onClick, className, sx, ...rest }: MenuItemProps & MenuPartIdentity & MenuItemPartBehavior): import("@emotion/react/jsx-runtime").JSX.Element;
109
+ export declare function MenuItemPart({ family, marker, styles, ref, onSelect, disabled, part, itemRole, closeOnSelect, busy, render, onClick, onKeyDown, className, sx, ...rest }: MenuItemProps & MenuPartIdentity & MenuItemPartBehavior): import("@emotion/react/jsx-runtime").JSX.Element;
86
110
  declare function MenuItem(props: MenuItemProps): import("@emotion/react/jsx-runtime").JSX.Element;
87
111
  export declare function MenuSeparatorPart({ marker, styles, ref, className, sx, ...props }: MenuSeparatorProps & Omit<MenuPartIdentity, 'family'>): import("@emotion/react/jsx-runtime").JSX.Element;
88
112
  declare function MenuSeparator(props: MenuSeparatorProps): import("@emotion/react/jsx-runtime").JSX.Element;
@@ -16,7 +16,7 @@ export interface MetricCardProps extends Omit<ComponentPropsWithRef<'div'>, 'chi
16
16
  description?: ReactNode;
17
17
  headingLevel?: CardHeadingLevel;
18
18
  variant?: CardVariant;
19
- /** Pin the locale for matching server and client output. */
19
+ /** Set locale to match server and client output. */
20
20
  locale?: Intl.LocalesArgument;
21
21
  /** Percent values are fractions; currency formatting requires a currency code. Invalid options throw. */
22
22
  formatOptions?: Intl.NumberFormatOptions;
@@ -30,7 +30,7 @@ export interface MetricCardProps extends Omit<ComponentPropsWithRef<'div'>, 'chi
30
30
  missingValueLabel?: string;
31
31
  slotProps?: MetricCardSlotProps;
32
32
  }
33
- /** Read-only heading and numeric summary; Tab skips it. No live region or animated value copies. */
33
+ /** Show a heading and number. Read-only; Tab skips it. No live region or value animation. */
34
34
  export declare function MetricCard({ ref, label, value, description, headingLevel, variant, locale, formatOptions, unitLabel, delta, deltaFormatOptions, deltaTone, deltaDescription, loading, missingValueLabel, slotProps, className, sx, role, 'aria-labelledby': labelledBy, 'aria-describedby': describedBy, 'aria-busy': busy, ...rest }: MetricCardProps): import("@emotion/react/jsx-runtime").JSX.Element;
35
35
  export declare namespace MetricCard {
36
36
  var displayName: string;
@@ -16,7 +16,7 @@ export interface NavigationItemProps extends AnchorHTMLAttributes<HTMLElement>,
16
16
  /** Marks the current page (aria-current="page"). */
17
17
  active?: boolean;
18
18
  disabled?: boolean;
19
- /** Decorative leading icon, hidden from assistive tech. */
19
+ /** Leading icon, hidden from assistive technology. */
20
20
  icon?: ReactNode;
21
21
  }
22
22
  declare function NavigationRoot({ ref, label, className, sx, ...rest }: NavigationProps): import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,14 @@
1
+ import { type ReactNode } from 'react';
2
+ export interface EmotionRegistryProps {
3
+ /** Sets the Emotion class name prefix and `data-emotion` cache key. Defaults to `'css'`. */
4
+ cacheKey?: string;
5
+ children?: ReactNode;
6
+ }
7
+ /**
8
+ * Shares one Emotion cache and emits new styles on each App Router server render pass.
9
+ * Without it, Emotion inserts inline `<style>` nodes during SSR that cause hydration mismatches.
10
+ */
11
+ export declare function EmotionRegistry({ cacheKey, children }: EmotionRegistryProps): import("@emotion/react/jsx-runtime").JSX.Element;
12
+ export declare namespace EmotionRegistry {
13
+ var displayName: string;
14
+ }
@@ -0,0 +1,2 @@
1
+ export { EmotionRegistry } from './emotion-registry';
2
+ export type { EmotionRegistryProps } from './emotion-registry';
@@ -0,0 +1,21 @@
1
+ import { type EmotionCache } from '@emotion/cache';
2
+ export interface PendingStyle {
3
+ name: string;
4
+ isGlobal: boolean;
5
+ }
6
+ export interface CollectedStyles {
7
+ globals: {
8
+ name: string;
9
+ styles: string;
10
+ }[];
11
+ names: string[];
12
+ styles: string;
13
+ }
14
+ export interface EmotionRegistryCache {
15
+ cache: EmotionCache;
16
+ /** Returns the styles inserted since the previous call and forgets them. */
17
+ flush: () => PendingStyle[];
18
+ }
19
+ export declare function createEmotionRegistry(key: string): EmotionRegistryCache;
20
+ /** Splits flushed styles into one payload per global and one shared payload for scoped rules. */
21
+ export declare function collectStyles(pending: readonly PendingStyle[], inserted: EmotionCache['inserted']): CollectedStyles;
@@ -0,0 +1 @@
1
+ export { NowPlaying, NowPlayingLevels, type NowPlayingProps, type NowPlayingTrack, type NowPlayingLabels, type NowPlayingSlotProps, type NowPlayingLevelsProps, } from './now-playing';
@@ -0,0 +1,88 @@
1
+ import { type ComponentPropsWithRef, type ReactNode } from 'react';
2
+ import { type Interpolation, type Theme } from '../../styling/css';
3
+ import { type SxProps } from '../../styling/sx';
4
+ import { type ButtonProps } from '../button';
5
+ import { type SliderProps } from '../slider';
6
+ export interface NowPlayingTrack {
7
+ id: string;
8
+ title: string;
9
+ artist: string;
10
+ duration: number | null;
11
+ artwork?: string;
12
+ artworkAlt?: string;
13
+ }
14
+ type Part<T extends 'div' | 'span' | 'img'> = ComponentPropsWithRef<T> & {
15
+ css?: Interpolation<Theme>;
16
+ };
17
+ export interface NowPlayingSlotProps {
18
+ mini?: Part<'div'>;
19
+ full?: Part<'div'>;
20
+ artwork?: Part<'img'>;
21
+ title?: Part<'span'>;
22
+ artist?: Part<'span'>;
23
+ expand?: Omit<ButtonProps, 'sx' | 'render'>;
24
+ collapse?: Omit<ButtonProps, 'sx' | 'render'>;
25
+ seek?: Omit<Extract<SliderProps, {
26
+ type?: 'single';
27
+ }>, 'sx' | 'type' | 'value' | 'defaultValue' | 'onValueChange' | 'label' | 'dir' | 'min' | 'max' | 'step' | 'largeStep' | 'locale' | 'formatValue' | 'formatOptions' | 'showValue'>;
28
+ waveform?: Part<'div'>;
29
+ controls?: Part<'div'>;
30
+ status?: Part<'span'>;
31
+ error?: Part<'div'>;
32
+ }
33
+ export interface NowPlayingLabels {
34
+ play: string;
35
+ pause: string;
36
+ previous: string;
37
+ next: string;
38
+ expand: string;
39
+ collapse: string;
40
+ seek: string;
41
+ empty: string;
42
+ unavailable: string;
43
+ busy: string;
44
+ playing: string;
45
+ paused: string;
46
+ position: (elapsed: string, duration: string) => string;
47
+ }
48
+ export interface NowPlayingProps extends Omit<ComponentPropsWithRef<'section'>, 'defaultValue' | 'children' | 'onChange'>, SxProps {
49
+ tracks: readonly NowPlayingTrack[];
50
+ value?: number;
51
+ defaultValue?: number;
52
+ onValueChange?: (index: number) => void;
53
+ playing?: boolean;
54
+ defaultPlaying?: boolean;
55
+ onPlayingChange?: (playing: boolean) => void;
56
+ open?: boolean;
57
+ defaultOpen?: boolean;
58
+ onOpenChange?: (open: boolean) => void;
59
+ position?: number;
60
+ defaultPosition?: number;
61
+ onPositionChange?: (seconds: number) => void;
62
+ busy?: boolean;
63
+ error?: ReactNode;
64
+ waveform?: readonly number[];
65
+ label?: string;
66
+ labels?: Partial<NowPlayingLabels>;
67
+ locale?: Intl.LocalesArgument;
68
+ /**
69
+ * Seconds per arrow step. Duration must be a whole number of steps.
70
+ * A step that does not divide it is rounded to the nearest one that does (180s with 7 → 180/26).
71
+ * Defaults to the largest step of at most one second that divides the duration.
72
+ */
73
+ seekStep?: number;
74
+ seekLargeStep?: number;
75
+ slotProps?: NowPlayingSlotProps;
76
+ }
77
+ export interface NowPlayingLevelsProps extends ComponentPropsWithRef<'span'>, SxProps {
78
+ playing?: boolean;
79
+ }
80
+ export declare function NowPlayingLevels({ ref, playing: playingProp, className, sx, ...rest }: NowPlayingLevelsProps): import("@emotion/react/jsx-runtime").JSX.Element;
81
+ export declare namespace NowPlayingLevels {
82
+ var displayName: string;
83
+ }
84
+ declare function NowPlayingRoot({ ref, tracks, value, defaultValue, onValueChange, playing, defaultPlaying, onPlayingChange, open, defaultOpen, onOpenChange, position, defaultPosition, onPositionChange, busy, error, waveform, label, labels: labelsProp, locale, seekStep, seekLargeStep, slotProps, className, sx, onKeyDown, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, 'aria-describedby': ariaDescribedBy, ...rest }: NowPlayingProps): import("@emotion/react/jsx-runtime").JSX.Element;
85
+ export declare const NowPlaying: typeof NowPlayingRoot & {
86
+ Levels: typeof NowPlayingLevels;
87
+ };
88
+ export {};
@@ -24,7 +24,7 @@ export interface PasswordFieldProps extends Omit<ComponentPropsWithRef<'input'>,
24
24
  error?: ReactNode;
25
25
  size?: PasswordFieldSize;
26
26
  messages?: Partial<PasswordFieldMessages>;
27
- /** Replaces the built-in eye; rendered decoratively inside the toggle. */
27
+ /** Replaces the eye icon inside the toggle; hidden from assistive technology. */
28
28
  revealIcon?: (revealed: boolean) => ReactNode;
29
29
  slotProps?: PasswordFieldSlotProps;
30
30
  }
@@ -0,0 +1,2 @@
1
+ export { PhotoGrid } from './photo-grid';
2
+ export type { PhotoGridProps, PhotoGridPhoto, PhotoGridLabels, PhotoGridSlotProps } from './photo-grid';
@@ -0,0 +1,82 @@
1
+ import { type ComponentPropsWithRef, type ReactNode } from 'react';
2
+ import { type Interpolation, type Theme } from '../../styling/css';
3
+ import { type SxProps } from '../../styling/sx';
4
+ export interface PhotoGridPhoto {
5
+ id: string;
6
+ src: string;
7
+ srcSet?: string;
8
+ sizes?: string;
9
+ alt: string;
10
+ width: number;
11
+ height: number;
12
+ title: string;
13
+ detail?: ReactNode;
14
+ }
15
+ type Slot<Tag extends keyof React.JSX.IntrinsicElements> = Omit<ComponentPropsWithRef<Tag>, 'children'> & {
16
+ css?: Interpolation<Theme>;
17
+ };
18
+ type ActionSlot = Omit<Slot<'button'>, 'type' | 'disabled' | 'aria-pressed'>;
19
+ export interface PhotoGridSlotProps {
20
+ header?: Slot<'header'>;
21
+ title?: Slot<'h2'>;
22
+ density?: Slot<'div'>;
23
+ list?: Slot<'ul'>;
24
+ item?: Slot<'li'>;
25
+ photo?: ActionSlot;
26
+ favorite?: ActionSlot;
27
+ viewer?: Omit<Slot<'dialog'>, 'open'>;
28
+ stage?: Slot<'div'>;
29
+ filmstrip?: Omit<Slot<'input'>, 'type' | 'value' | 'defaultValue' | 'min' | 'max' | 'step' | 'disabled'>;
30
+ controls?: Slot<'div'>;
31
+ status?: Slot<'div'>;
32
+ }
33
+ export interface PhotoGridLabels {
34
+ larger: string;
35
+ smaller: string;
36
+ density: string;
37
+ empty: string;
38
+ unavailable: string;
39
+ imageUnavailable: string;
40
+ close: string;
41
+ previous: string;
42
+ next: string;
43
+ filmstrip: string;
44
+ zoomIn: string;
45
+ zoomOut: string;
46
+ resetZoom: string;
47
+ panLeft: string;
48
+ panRight: string;
49
+ panUp: string;
50
+ panDown: string;
51
+ favorite: (title: string, favorite: boolean) => string;
52
+ openPhoto: (title: string, alt: string, favorite: boolean) => string;
53
+ position: (position: string, total: string, title: string) => string;
54
+ columns: (columns: string) => string;
55
+ }
56
+ export interface PhotoGridProps extends Omit<ComponentPropsWithRef<'div'>, 'children' | 'defaultValue'>, SxProps {
57
+ photos: readonly PhotoGridPhoto[];
58
+ title: string;
59
+ /** Preferred columns. Narrow containers reduce effective columns without changing this axis. */
60
+ densitySteps?: readonly number[];
61
+ density?: number;
62
+ defaultDensity?: number;
63
+ onDensityChange?: (columns: number) => void;
64
+ favorites?: readonly string[];
65
+ defaultFavorites?: readonly string[];
66
+ onFavoritesChange?: (ids: string[]) => void;
67
+ onFavoriteChange?: (id: string, favorite: boolean) => void;
68
+ value?: string | null;
69
+ defaultValue?: string | null;
70
+ onValueChange?: (id: string | null) => void;
71
+ open?: boolean;
72
+ defaultOpen?: boolean;
73
+ onOpenChange?: (open: boolean) => void;
74
+ labels?: Partial<PhotoGridLabels>;
75
+ locale?: Intl.LocalesArgument;
76
+ slotProps?: PhotoGridSlotProps;
77
+ }
78
+ export declare function PhotoGrid({ ref, photos, title, densitySteps, density: densityProp, defaultDensity, onDensityChange, favorites: favoritesProp, defaultFavorites, onFavoritesChange, onFavoriteChange, value: valueProp, defaultValue, onValueChange, open: openProp, defaultOpen, onOpenChange, labels: labelOverrides, locale, slotProps, className, sx, onKeyDown, ...rest }: PhotoGridProps): import("@emotion/react/jsx-runtime").JSX.Element;
79
+ export declare namespace PhotoGrid {
80
+ var displayName: string;
81
+ }
82
+ export {};
@@ -11,7 +11,7 @@ export interface ProgressProps extends Omit<ComponentPropsWithRef<'div'>, 'child
11
11
  max?: number;
12
12
  /** Accessible name, rendered visually hidden. */
13
13
  label?: ReactNode;
14
- /** Human-readable value for assistive tech (aria-valuetext). */
14
+ /** Value text for assistive technology (aria-valuetext). */
15
15
  getValueLabel?: (value: number, max: number) => string;
16
16
  slotProps?: {
17
17
  indicator?: ProgressPartProps;
@@ -11,7 +11,7 @@ export interface SelectProps {
11
11
  onOpenChange?: (open: boolean) => void;
12
12
  placement?: Placement;
13
13
  disabled?: boolean;
14
- /** Renders a hidden input so the value takes part in native form submission. */
14
+ /** Adds a hidden input to submit the value with a native form. */
15
15
  name?: string;
16
16
  children?: ReactNode;
17
17
  }
@@ -0,0 +1,2 @@
1
+ export { SheetStack, useSheetStack } from './sheet-stack';
2
+ export type { SheetStackActions, SheetStackBackProps, SheetStackCloseProps, SheetStackContentProps, SheetStackDescriptionProps, SheetStackFooterProps, SheetStackHeadingLevel, SheetStackProps, SheetStackTitleProps, SheetStackTriggerProps, SheetStackVariant, } from './sheet-stack';
@@ -0,0 +1,81 @@
1
+ import { type ComponentPropsWithRef, type ReactNode } from 'react';
2
+ import { type SxProps } from '../../styling/sx';
3
+ export type SheetStackVariant = 'auto' | 'sheet' | 'dialog';
4
+ export type SheetStackHeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
5
+ export interface SheetStackProps {
6
+ /** Controls the open panel keys, bottom first. */
7
+ value?: readonly string[];
8
+ /** Sets the initial uncontrolled stack, bottom first. Defaults to `[]`. */
9
+ defaultValue?: readonly string[];
10
+ /** Requests a changed ordered stack. Controlled panels change only when `value` updates. */
11
+ onValueChange?: (value: string[]) => void;
12
+ /** Sets the layout. Defaults to `'auto'`: a sheet below `breakpoint`, a centered dialog at or above it. */
13
+ variant?: SheetStackVariant;
14
+ /** Sets the layer width in CSS pixels where `'auto'` switches to a dialog. Defaults to the `sheetStackBreakpoint` token. */
15
+ breakpoint?: number;
16
+ /** Draws inside the nearest positioned ancestor. Modality stays document-wide, without a page scroll lock. Defaults to `false`. */
17
+ contained?: boolean;
18
+ children: ReactNode;
19
+ }
20
+ export interface SheetStackTriggerProps extends ComponentPropsWithRef<'button'>, SxProps {
21
+ /** Opens this panel key. An open key removes the panels above it. */
22
+ value: string;
23
+ }
24
+ export interface SheetStackContentProps extends Omit<ComponentPropsWithRef<'div'>, 'onCancel'>, SxProps {
25
+ /** Identifies this panel. Keep the key stable and unique within the stack. */
26
+ value: string;
27
+ /** Allows Escape, backdrop, and drag dismissal. Defaults to `true`. When `false`, Back and Close still work. */
28
+ dismissible?: boolean;
29
+ /** Receives Escape, backdrop, or drag dismissal requests while this panel is on top. Call `preventDefault()` to keep it open. */
30
+ onCancel?: (event: Event) => void;
31
+ /** Includes `Description` in the accessible description. Defaults to `true`. Use `false` for structured content. */
32
+ withDescription?: boolean;
33
+ }
34
+ export interface SheetStackTitleProps extends ComponentPropsWithRef<'h2'>, SxProps {
35
+ /** Sets the heading level. Defaults to `2`. */
36
+ level?: SheetStackHeadingLevel;
37
+ }
38
+ export interface SheetStackDescriptionProps extends ComponentPropsWithRef<'p'>, SxProps {
39
+ }
40
+ export interface SheetStackFooterProps extends ComponentPropsWithRef<'div'>, SxProps {
41
+ }
42
+ export interface SheetStackBackProps extends Omit<ComponentPropsWithRef<'button'>, 'aria-label'>, SxProps {
43
+ /** Names the Back button for assistive technology. Supply a localized name, such as "Back to Settings". */
44
+ label: string;
45
+ }
46
+ export interface SheetStackCloseProps extends Omit<ComponentPropsWithRef<'button'>, 'aria-label'>, SxProps {
47
+ /** Names the Close button for assistive technology. Supply a localized name, such as "Close all". */
48
+ label: string;
49
+ }
50
+ export interface SheetStackActions {
51
+ /** The open keys, bottom first. */
52
+ value: readonly string[];
53
+ /** Requests opening `key` on top. An open key removes the panels above it. */
54
+ push: (key: string) => void;
55
+ /** Requests closing the top panel. Does nothing on an empty stack. */
56
+ pop: () => void;
57
+ /** Requests removing the panels above an open `key`. A closed key is ignored with a development warning. */
58
+ popTo: (key: string) => void;
59
+ /** Requests closing every panel. Does nothing on an empty stack. */
60
+ close: () => void;
61
+ }
62
+ /** Returns the stack's state and actions. Throws outside `<SheetStack>`. */
63
+ export declare function useSheetStack(): SheetStackActions;
64
+ declare function SheetStackRoot({ value: valueProp, defaultValue, onValueChange, variant, breakpoint, contained, children, }: SheetStackProps): import("@emotion/react/jsx-runtime").JSX.Element;
65
+ declare function SheetStackTrigger({ ref, value, onClick, className, sx, ...rest }: SheetStackTriggerProps): import("@emotion/react/jsx-runtime").JSX.Element;
66
+ declare function SheetStackContent({ ref, value, className, sx, ...props }: SheetStackContentProps): import("react").ReactPortal | null;
67
+ declare function SheetStackTitle({ ref, level, className, sx, children, ...props }: SheetStackTitleProps): import("@emotion/react/jsx-runtime").JSX.Element | null;
68
+ declare function SheetStackDescription({ ref, className, sx, children, ...props }: SheetStackDescriptionProps): import("@emotion/react/jsx-runtime").JSX.Element | null;
69
+ declare function SheetStackFooter({ ref, className, sx, ...props }: SheetStackFooterProps): import("@emotion/react/jsx-runtime").JSX.Element;
70
+ declare function SheetStackBack({ ref, label, onClick, className, sx, children, ...rest }: SheetStackBackProps): import("@emotion/react/jsx-runtime").JSX.Element;
71
+ declare function SheetStackClose({ ref, label, onClick, className, sx, children, ...rest }: SheetStackCloseProps): import("@emotion/react/jsx-runtime").JSX.Element;
72
+ export declare const SheetStack: typeof SheetStackRoot & {
73
+ Trigger: typeof SheetStackTrigger;
74
+ Content: typeof SheetStackContent;
75
+ Title: typeof SheetStackTitle;
76
+ Description: typeof SheetStackDescription;
77
+ Footer: typeof SheetStackFooter;
78
+ Back: typeof SheetStackBack;
79
+ Close: typeof SheetStackClose;
80
+ };
81
+ export {};