@baseline-ui/core 3.9.1 → 3.10.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 (319) hide show
  1. package/dist/Accordion.mjs +1 -1
  2. package/dist/ActionButton.mjs +1 -1
  3. package/dist/ActionGroup.mjs +1 -1
  4. package/dist/ActionIconButton.mjs +1 -1
  5. package/dist/Actionable.mjs +1 -1
  6. package/dist/AlertDialog.mjs +1 -1
  7. package/dist/AudioPlayer.mjs +1 -1
  8. package/dist/Breadcrumbs.mjs +1 -1
  9. package/dist/ButtonSelect.mjs +1 -1
  10. package/dist/Calendar.mjs +1 -1
  11. package/dist/Checkbox.mjs +1 -1
  12. package/dist/ColorInput.mjs +1 -1
  13. package/dist/ColorSwatch.mjs +1 -1
  14. package/dist/ColorSwatchPicker.mjs +1 -1
  15. package/dist/ComboBox.mjs +1 -1
  16. package/dist/DateField.mjs +1 -1
  17. package/dist/Dialog.mjs +1 -1
  18. package/dist/Disclosure.mjs +1 -1
  19. package/dist/DomNodeRenderer.mjs +1 -1
  20. package/dist/Drawer.mjs +1 -1
  21. package/dist/Editor.mjs +1 -1
  22. package/dist/FileInput.mjs +1 -1
  23. package/dist/FileList.css +1 -1
  24. package/dist/FileList.mjs +1 -1
  25. package/dist/FileUploader.mjs +1 -1
  26. package/dist/FrameProvider.mjs +1 -1
  27. package/dist/FreehandCanvas.mjs +1 -1
  28. package/dist/GridList.mjs +1 -1
  29. package/dist/Group.mjs +1 -1
  30. package/dist/Icon.mjs +1 -1
  31. package/dist/Image.mjs +1 -1
  32. package/dist/ImageDropZone.mjs +1 -1
  33. package/dist/ImageGallery.mjs +1 -1
  34. package/dist/InlineAlert.mjs +1 -1
  35. package/dist/InlineToolbar.mjs +2 -2
  36. package/dist/Kbd.mjs +1 -1
  37. package/dist/Link.mjs +1 -1
  38. package/dist/ListBox.mjs +1 -1
  39. package/dist/Markdown.css +1 -1
  40. package/dist/Markdown.mjs +1 -1
  41. package/dist/Menu.mjs +1 -1
  42. package/dist/MessageFormat.mjs +1 -1
  43. package/dist/Modal.mjs +1 -1
  44. package/dist/NumberInput.mjs +1 -1
  45. package/dist/Pagination.mjs +1 -1
  46. package/dist/Panel.mjs +1 -1
  47. package/dist/PointPicker.mjs +1 -1
  48. package/dist/Popover.mjs +1 -1
  49. package/dist/Portal.mjs +1 -1
  50. package/dist/Preview.mjs +1 -1
  51. package/dist/ProgressBar.mjs +1 -1
  52. package/dist/ProgressSpinner.mjs +1 -1
  53. package/dist/RadioGroup.css +1 -1
  54. package/dist/RadioGroup.mjs +1 -1
  55. package/dist/Reaction.mjs +1 -1
  56. package/dist/ScrollControlButton.css +1 -1
  57. package/dist/ScrollControlButton.mjs +1 -1
  58. package/dist/SearchInput.mjs +1 -1
  59. package/dist/Select.mjs +1 -1
  60. package/dist/Slider.mjs +1 -1
  61. package/dist/Stepper.mjs +1 -1
  62. package/dist/Switch.mjs +1 -1
  63. package/dist/Table.mjs +1 -1
  64. package/dist/Tabs.mjs +1 -1
  65. package/dist/Tag.mjs +1 -1
  66. package/dist/TagGroup.mjs +1 -1
  67. package/dist/TaggedPagination.mjs +1 -1
  68. package/dist/Text.mjs +1 -1
  69. package/dist/TextInput.mjs +1 -1
  70. package/dist/ThemeProvider.mjs +1 -1
  71. package/dist/TimeField.mjs +1 -1
  72. package/dist/Toast.mjs +1 -1
  73. package/dist/ToggleButton.mjs +1 -1
  74. package/dist/ToggleIconButton.mjs +1 -1
  75. package/dist/Toolbar.mjs +1 -1
  76. package/dist/Tooltip.mjs +1 -1
  77. package/dist/TreeView.mjs +1 -1
  78. package/dist/UNSAFE_ListBox.mjs +1 -1
  79. package/dist/Virtualizer.mjs +1 -1
  80. package/dist/{chunk-E3TD3EJQ.mjs → chunk-23OLSA2X.mjs} +2 -2
  81. package/dist/{chunk-X6K4M542.mjs → chunk-24WOG72O.mjs} +2 -2
  82. package/dist/{chunk-YK3KAPIK.mjs → chunk-2CFMM7MZ.mjs} +2 -2
  83. package/dist/{chunk-WSRXTVYB.mjs → chunk-2KRVQJDA.mjs} +2 -2
  84. package/dist/{chunk-SCJ3RG7B.mjs → chunk-2MNK24YJ.mjs} +1 -1
  85. package/dist/{chunk-3PBFSDMT.mjs → chunk-2PTLJDIT.mjs} +1 -1
  86. package/dist/{chunk-YSQ3YHJN.mjs → chunk-2TMQUHHU.mjs} +1 -1
  87. package/dist/chunk-3A7ZISTE.mjs +10 -0
  88. package/dist/{chunk-DOFT4BQH.mjs → chunk-3EFE2WAJ.mjs} +1 -1
  89. package/dist/{chunk-CKUHFL5G.mjs → chunk-3HJAQJWA.mjs} +1 -1
  90. package/dist/chunk-3IHIKAT4.mjs +10 -0
  91. package/dist/chunk-3JHXI33A.mjs +10 -0
  92. package/dist/chunk-3K6XNSYE.mjs +10 -0
  93. package/dist/chunk-3LS73XVI.mjs +10 -0
  94. package/dist/chunk-3P25UGHE.mjs +10 -0
  95. package/dist/{chunk-BFW26T6V.mjs → chunk-43U6RZ5C.mjs} +2 -2
  96. package/dist/{chunk-54MWEZUP.mjs → chunk-46UWKP7W.mjs} +1 -1
  97. package/dist/chunk-4CMATAQ2.mjs +10 -0
  98. package/dist/{chunk-F3EOLTFM.mjs → chunk-4FN6UAXD.mjs} +1 -1
  99. package/dist/{chunk-NWYRVUTX.mjs → chunk-4Y5IKZSW.mjs} +1 -1
  100. package/dist/{chunk-26YOMQXV.mjs → chunk-5B6263RO.mjs} +13 -13
  101. package/dist/{chunk-WAPBLICF.mjs → chunk-5NVCSLXT.mjs} +1 -1
  102. package/dist/{chunk-OBEPT4LR.mjs → chunk-5YV74V36.mjs} +1 -1
  103. package/dist/{chunk-VWSTMBQK.mjs → chunk-64Y62MDR.mjs} +2 -2
  104. package/dist/{chunk-IVM5IBQS.mjs → chunk-6DVKR25T.mjs} +1 -1
  105. package/dist/{chunk-ADEALCJB.mjs → chunk-6IK2TDLH.mjs} +2 -2
  106. package/dist/{chunk-ES3IQZSH.mjs → chunk-6V7S5IG5.mjs} +2 -2
  107. package/dist/chunk-6VKIT2PF.mjs +10 -0
  108. package/dist/{chunk-OGIKNHLU.mjs → chunk-7EOAYPSZ.mjs} +2 -2
  109. package/dist/{chunk-LZEZW5RE.mjs → chunk-7LQTLZJ5.mjs} +2 -2
  110. package/dist/{chunk-IOHULFEP.mjs → chunk-A4PXU7GU.mjs} +2 -2
  111. package/dist/chunk-A52PIXOO.mjs +10 -0
  112. package/dist/chunk-AANAI2XF.mjs +10 -0
  113. package/dist/{chunk-UQJB6AGO.mjs → chunk-AB7LDKP2.mjs} +1 -1
  114. package/dist/{chunk-BPLTQDXX.mjs → chunk-ACHYZYVA.mjs} +2 -2
  115. package/dist/{chunk-JB3UIJ3I.mjs → chunk-AFJ3QV2Q.mjs} +2 -2
  116. package/dist/{chunk-NQVTVL24.mjs → chunk-AIG23SN5.mjs} +2 -2
  117. package/dist/chunk-ASIKCQC6.mjs +10 -0
  118. package/dist/{chunk-WGZUNJGH.mjs → chunk-AU3GNNEG.mjs} +2 -2
  119. package/dist/{chunk-45EAFDOZ.mjs → chunk-AYBI4SQV.mjs} +1 -1
  120. package/dist/chunk-BJHDL2HH.mjs +10 -0
  121. package/dist/chunk-BNWDQ4KX.mjs +10 -0
  122. package/dist/{chunk-QSFRMY47.mjs → chunk-BPXZ6J5G.mjs} +1 -1
  123. package/dist/{chunk-2UDXAKWA.mjs → chunk-C6TD53KY.mjs} +2 -2
  124. package/dist/chunk-CBQO7JUC.mjs +11 -0
  125. package/dist/{chunk-LN2NT32E.mjs → chunk-CE2W5D44.mjs} +1 -1
  126. package/dist/{chunk-UR42GQO4.mjs → chunk-CEUVH4UZ.mjs} +1 -1
  127. package/dist/chunk-CGBI7OB5.mjs +10 -0
  128. package/dist/chunk-CMM5JW7L.mjs +10 -0
  129. package/dist/chunk-CPX5CB4L.mjs +10 -0
  130. package/dist/{chunk-HMAVZPRE.mjs → chunk-CRNJAQPI.mjs} +1 -1
  131. package/dist/chunk-DIMNDTFC.mjs +10 -0
  132. package/dist/{chunk-KADD66HZ.mjs → chunk-DNZMQ7EA.mjs} +2 -2
  133. package/dist/{chunk-RFCTQQMD.mjs → chunk-DP76DMVO.mjs} +1 -1
  134. package/dist/{chunk-DZFNVFYT.mjs → chunk-EGSNIMDP.mjs} +1 -1
  135. package/dist/chunk-EHIGJYGW.mjs +10 -0
  136. package/dist/{chunk-U6M2GCPD.mjs → chunk-EJGGWOY5.mjs} +1 -1
  137. package/dist/chunk-EKRT3PPK.mjs +10 -0
  138. package/dist/{chunk-FDDB7QNQ.mjs → chunk-ELW6SXDM.mjs} +1 -1
  139. package/dist/{chunk-YQFS4UHL.mjs → chunk-EPWWEFTP.mjs} +1 -1
  140. package/dist/{chunk-VDUFLHKK.mjs → chunk-EYKQGC4O.mjs} +2 -2
  141. package/dist/{chunk-PLRUMLNB.mjs → chunk-FFPJBDWH.mjs} +1 -1
  142. package/dist/{chunk-KFJE5ZBK.mjs → chunk-G2IYZES5.mjs} +1 -1
  143. package/dist/chunk-G2RVM2KB.mjs +10 -0
  144. package/dist/{chunk-AALXW5AP.mjs → chunk-GAKWWL3Y.mjs} +1 -1
  145. package/dist/chunk-GHKMHXQ3.mjs +10 -0
  146. package/dist/{chunk-VYBJ36ZR.mjs → chunk-GJVQMTGA.mjs} +1 -1
  147. package/dist/chunk-GKPZBTRE.mjs +10 -0
  148. package/dist/{chunk-TN7FPPGM.mjs → chunk-GZTF5YE3.mjs} +1 -1
  149. package/dist/{chunk-RXADOJLS.mjs → chunk-HI56YXPJ.mjs} +2 -2
  150. package/dist/{chunk-R7Y36JCO.mjs → chunk-HOG4QRLG.mjs} +1 -1
  151. package/dist/chunk-HOV7MM7M.mjs +10 -0
  152. package/dist/{chunk-XKNL5LSL.mjs → chunk-HOZPCWCF.mjs} +2 -2
  153. package/dist/{chunk-IBBDZQPO.mjs → chunk-HVSDXCZP.mjs} +2 -2
  154. package/dist/{chunk-64ZD4EKW.mjs → chunk-I4F5NJUI.mjs} +1 -1
  155. package/dist/{chunk-DLJHL4V7.mjs → chunk-I5YPTKMM.mjs} +2 -2
  156. package/dist/chunk-IHCKLMWD.mjs +10 -0
  157. package/dist/chunk-IIYP5UE7.mjs +10 -0
  158. package/dist/{chunk-A2B2LTRA.mjs → chunk-IQ3Z6ZO2.mjs} +1 -1
  159. package/dist/{chunk-3COKCTB2.mjs → chunk-J4T6TE7V.mjs} +2 -2
  160. package/dist/{chunk-OS6PVCFX.mjs → chunk-JANI446W.mjs} +1 -1
  161. package/dist/{chunk-KSWXLIZH.mjs → chunk-JGKBJHX2.mjs} +1 -1
  162. package/dist/chunk-JQSZFPWJ.mjs +10 -0
  163. package/dist/{chunk-IDIZSV2Y.mjs → chunk-JYWJE6L5.mjs} +2 -2
  164. package/dist/{chunk-ARMWQYH2.mjs → chunk-KDNT54DP.mjs} +2 -2
  165. package/dist/{chunk-KMSNBINF.mjs → chunk-L42WN3AP.mjs} +2 -2
  166. package/dist/{chunk-SY24O432.mjs → chunk-L4MQCPRT.mjs} +3 -3
  167. package/dist/chunk-L7GYT3MC.mjs +10 -0
  168. package/dist/{chunk-6CSP66NI.mjs → chunk-LGE4377M.mjs} +1 -1
  169. package/dist/chunk-LJAVEZ2H.mjs +10 -0
  170. package/dist/{chunk-JDDA4R2D.mjs → chunk-LJM26E7W.mjs} +1 -1
  171. package/dist/chunk-LNEOOIXS.mjs +10 -0
  172. package/dist/{chunk-VSGVHATE.mjs → chunk-LPHX7UMQ.mjs} +1 -1
  173. package/dist/{chunk-L6ISOTLH.mjs → chunk-LZOXWIAS.mjs} +2 -2
  174. package/dist/{chunk-W3YUV7IF.mjs → chunk-M3NJURGR.mjs} +1 -1
  175. package/dist/{chunk-IIBBR266.mjs → chunk-MMLAKHLR.mjs} +3 -3
  176. package/dist/{chunk-Z7JRM3NW.mjs → chunk-MQCTOCK2.mjs} +2 -2
  177. package/dist/{chunk-X34RHNLT.mjs → chunk-NIAMDJYU.mjs} +2 -2
  178. package/dist/{chunk-WD2TPSZV.mjs → chunk-NIGOM3FD.mjs} +1 -1
  179. package/dist/{chunk-6NUHEJGL.mjs → chunk-NOTKA3RL.mjs} +1 -1
  180. package/dist/chunk-NYH6JQMA.mjs +10 -0
  181. package/dist/{chunk-SZNDCHMJ.mjs → chunk-OFEX3RHY.mjs} +1 -1
  182. package/dist/{chunk-GLIN7JAI.mjs → chunk-OJIOLYTM.mjs} +1 -1
  183. package/dist/chunk-OWXMAVXI.mjs +10 -0
  184. package/dist/chunk-OY57K37D.mjs +10 -0
  185. package/dist/{chunk-OO3ZVB2T.mjs → chunk-OYE6VSTU.mjs} +2 -2
  186. package/dist/{chunk-GIUNLLWW.mjs → chunk-P3RRGPNM.mjs} +2 -2
  187. package/dist/{chunk-GPT4DR4P.mjs → chunk-PGDGNOYE.mjs} +1 -1
  188. package/dist/{chunk-DPFX25HC.mjs → chunk-PITIJLE3.mjs} +1 -1
  189. package/dist/{chunk-RSKKEGJZ.mjs → chunk-PPGEEMZ2.mjs} +2 -2
  190. package/dist/{chunk-UKBBSYRC.mjs → chunk-PTL6NSYA.mjs} +2 -2
  191. package/dist/chunk-PV4E7XDP.mjs +10 -0
  192. package/dist/chunk-PZBJGZ57.mjs +10 -0
  193. package/dist/chunk-Q5SN5AQT.mjs +10 -0
  194. package/dist/{chunk-EISLHUT5.mjs → chunk-Q7BJGV4I.mjs} +1 -1
  195. package/dist/{chunk-R5JHN4X6.mjs → chunk-QDMG3P5Z.mjs} +1 -1
  196. package/dist/{chunk-RE7ZGPOY.mjs → chunk-QMFL5BMI.mjs} +1 -1
  197. package/dist/{chunk-JTGVIAOK.mjs → chunk-QMP72J5L.mjs} +1 -1
  198. package/dist/chunk-QMSBDXK6.mjs +10 -0
  199. package/dist/{chunk-JIGOXUY4.mjs → chunk-QPWBJW2X.mjs} +1 -1
  200. package/dist/{chunk-67QIBKUN.mjs → chunk-QRLUWOGW.mjs} +1 -1
  201. package/dist/{chunk-FTV6OWMI.mjs → chunk-QSNYILCF.mjs} +2 -2
  202. package/dist/chunk-QVXIFV7W.mjs +10 -0
  203. package/dist/{chunk-M7BCIQ2J.mjs → chunk-QYU7CWJD.mjs} +1 -1
  204. package/dist/{chunk-JC22ELJM.mjs → chunk-RGWXVYDG.mjs} +1 -1
  205. package/dist/{chunk-N4NDPTX6.mjs → chunk-RKPWFZB4.mjs} +1 -1
  206. package/dist/chunk-RM64ROGL.mjs +10 -0
  207. package/dist/{chunk-CIOPWCOS.mjs → chunk-RPV3UUIN.mjs} +2 -2
  208. package/dist/chunk-RS7TRDRM.mjs +10 -0
  209. package/dist/{chunk-CHBF3XQ6.mjs → chunk-S2MA4MRM.mjs} +1 -1
  210. package/dist/chunk-S3LWWMMQ.mjs +10 -0
  211. package/dist/{chunk-WID7IWNC.mjs → chunk-SL5Q4NLV.mjs} +1 -1
  212. package/dist/{chunk-A63HMTSM.mjs → chunk-SMPF53W4.mjs} +1 -1
  213. package/dist/{chunk-5MR5L5JZ.mjs → chunk-SQPWV3OX.mjs} +2 -2
  214. package/dist/chunk-ST3TDAOP.mjs +10 -0
  215. package/dist/{chunk-ENUU2IVX.mjs → chunk-SUJD4QFW.mjs} +1 -1
  216. package/dist/{chunk-OKEXEU3C.mjs → chunk-T7K4WI76.mjs} +1 -1
  217. package/dist/{chunk-DFMPVQM3.mjs → chunk-TJDL7HT5.mjs} +2 -2
  218. package/dist/{chunk-SI7LO2L4.mjs → chunk-TK33MBDB.mjs} +1 -1
  219. package/dist/{chunk-BK3RBPST.mjs → chunk-TLUB6FCT.mjs} +1 -1
  220. package/dist/{chunk-UBC32WQB.mjs → chunk-TMGB4HZ7.mjs} +1 -1
  221. package/dist/{chunk-ALMW6S4I.mjs → chunk-TQMBJFQC.mjs} +2 -2
  222. package/dist/{chunk-E6DZSC2G.mjs → chunk-TUSG5ZRW.mjs} +2 -2
  223. package/dist/{chunk-D2NVLRIU.mjs → chunk-TZSRU3GG.mjs} +1 -1
  224. package/dist/{chunk-WXILHRBE.mjs → chunk-U5XI3CZD.mjs} +1 -1
  225. package/dist/chunk-U6W7D7TT.mjs +10 -0
  226. package/dist/chunk-UC6WAEPH.mjs +10 -0
  227. package/dist/{chunk-TGLVJRZE.mjs → chunk-UXAMVDQ4.mjs} +1 -1
  228. package/dist/chunk-V2C4UDOC.mjs +10 -0
  229. package/dist/{chunk-5LGYS5CZ.mjs → chunk-V3DTS6FF.mjs} +1 -1
  230. package/dist/{chunk-AC44TKUI.mjs → chunk-V6ZIMZ53.mjs} +1 -1
  231. package/dist/{chunk-B5NICAFU.mjs → chunk-VGBHKFW7.mjs} +1 -1
  232. package/dist/{chunk-BSFG32AL.mjs → chunk-VOWLLVPD.mjs} +2 -2
  233. package/dist/chunk-W4DOEGYH.mjs +10 -0
  234. package/dist/chunk-WJBURR7M.mjs +10 -0
  235. package/dist/{chunk-MUQR2YER.mjs → chunk-WN4QRMX6.mjs} +2 -2
  236. package/dist/chunk-WSDEMATI.mjs +10 -0
  237. package/dist/{chunk-UPOQXYUI.mjs → chunk-XDORZSJQ.mjs} +1 -1
  238. package/dist/{chunk-6HTOSJOJ.mjs → chunk-Y5LEKSMM.mjs} +1 -1
  239. package/dist/{chunk-3JOOFCEF.mjs → chunk-YI5VNFT4.mjs} +2 -2
  240. package/dist/{chunk-PQIDCA7P.mjs → chunk-YYOOJMQZ.mjs} +1 -1
  241. package/dist/chunk-ZNZBHN2V.mjs +10 -0
  242. package/dist/chunk-ZOCNDYUQ.mjs +10 -0
  243. package/dist/{chunk-E2VXJPSE.mjs → chunk-ZRPR4V5U.mjs} +1 -1
  244. package/dist/chunk-ZY3ZKJVD.mjs +10 -0
  245. package/dist/{chunk-4PZGQTXE.mjs → chunk-ZZGRLSEK.mjs} +2 -2
  246. package/dist/hooks/useCommitEffect.mjs +1 -0
  247. package/dist/hooks/useDevice.mjs +1 -1
  248. package/dist/hooks/useI18n.mjs +1 -1
  249. package/dist/hooks/useIntersectionObserver.mjs +1 -1
  250. package/dist/hooks/useLiveInteractionModality.mjs +1 -1
  251. package/dist/hooks/useLocalStorage.mjs +1 -1
  252. package/dist/hooks/useMedia.mjs +1 -1
  253. package/dist/hooks/useMutationObserver.mjs +1 -1
  254. package/dist/hooks/usePortalContainer.mjs +1 -1
  255. package/dist/hooks/usePreventFocus.mjs +1 -1
  256. package/dist/hooks/useResizeObserver.mjs +1 -1
  257. package/dist/hooks/useTextSelection.mjs +1 -1
  258. package/dist/hooks/useUndoRedo.mjs +1 -1
  259. package/dist/index.css +1 -1
  260. package/dist/index.d.ts +116 -40
  261. package/dist/index.js +22 -22
  262. package/dist/index.mjs +1 -1
  263. package/dist/react-aria.mjs +1 -1
  264. package/dist/utils/dom.mjs +1 -1
  265. package/dist/utils/isInShadowDOM.mjs +1 -1
  266. package/dist/utils/keyboards.mjs +1 -1
  267. package/dist/utils/objects.mjs +1 -1
  268. package/package.json +4 -4
  269. package/sbom.json +6 -6
  270. package/dist/chunk-2SKD7TKS.mjs +0 -10
  271. package/dist/chunk-35AM4QEA.mjs +0 -10
  272. package/dist/chunk-3V4W6OGG.mjs +0 -10
  273. package/dist/chunk-4HOAPQDQ.mjs +0 -10
  274. package/dist/chunk-5GZAORDK.mjs +0 -10
  275. package/dist/chunk-6PBBHYCA.mjs +0 -10
  276. package/dist/chunk-B3W7VMJR.mjs +0 -10
  277. package/dist/chunk-C4XJOYAW.mjs +0 -10
  278. package/dist/chunk-CR66GYHT.mjs +0 -10
  279. package/dist/chunk-D6AOHRAV.mjs +0 -10
  280. package/dist/chunk-DHZKZ3AV.mjs +0 -10
  281. package/dist/chunk-DRQHSYY3.mjs +0 -10
  282. package/dist/chunk-DZJTPX2G.mjs +0 -10
  283. package/dist/chunk-F4YBUGLD.mjs +0 -10
  284. package/dist/chunk-G76NJ3IU.mjs +0 -10
  285. package/dist/chunk-H2SJLW7T.mjs +0 -10
  286. package/dist/chunk-HNKEI45D.mjs +0 -10
  287. package/dist/chunk-INHZHYOF.mjs +0 -10
  288. package/dist/chunk-J7BCMF23.mjs +0 -10
  289. package/dist/chunk-JXJZIKEY.mjs +0 -10
  290. package/dist/chunk-K276BGP2.mjs +0 -10
  291. package/dist/chunk-KBLJ34QI.mjs +0 -10
  292. package/dist/chunk-KMZ3YVPE.mjs +0 -10
  293. package/dist/chunk-L5H5GE3H.mjs +0 -10
  294. package/dist/chunk-LHLY432N.mjs +0 -10
  295. package/dist/chunk-LXZOYBTL.mjs +0 -10
  296. package/dist/chunk-MPJXTZ6L.mjs +0 -10
  297. package/dist/chunk-MZIQ27JP.mjs +0 -10
  298. package/dist/chunk-NN6HKMC4.mjs +0 -10
  299. package/dist/chunk-NYNS3UDR.mjs +0 -10
  300. package/dist/chunk-OAOIUNNG.mjs +0 -10
  301. package/dist/chunk-OMCGORTH.mjs +0 -10
  302. package/dist/chunk-PJINRIA6.mjs +0 -10
  303. package/dist/chunk-PSUZMSD3.mjs +0 -10
  304. package/dist/chunk-Q3FYMLAA.mjs +0 -10
  305. package/dist/chunk-QKNNMY2Q.mjs +0 -10
  306. package/dist/chunk-QVFGEXDU.mjs +0 -10
  307. package/dist/chunk-SJRYJGTL.mjs +0 -10
  308. package/dist/chunk-SYA6LAFU.mjs +0 -10
  309. package/dist/chunk-TEQHGF4G.mjs +0 -10
  310. package/dist/chunk-UCRJ3AR5.mjs +0 -10
  311. package/dist/chunk-UI4SJCQU.mjs +0 -10
  312. package/dist/chunk-V6DZG4PM.mjs +0 -11
  313. package/dist/chunk-VKWXATZ3.mjs +0 -10
  314. package/dist/chunk-VNJDCKLQ.mjs +0 -10
  315. package/dist/chunk-VQ45RUYJ.mjs +0 -10
  316. package/dist/chunk-VQHI3ZCW.mjs +0 -10
  317. package/dist/chunk-XC5H4EVW.mjs +0 -10
  318. package/dist/chunk-Z2PHVVX4.mjs +0 -10
  319. package/dist/chunk-Z7UPVYL5.mjs +0 -10
package/dist/index.d.ts CHANGED
@@ -6240,17 +6240,18 @@ declare function getAbsolutePosition(element: HTMLElement, coordinates?: {
6240
6240
 
6241
6241
  /**
6242
6242
  * This function takes a list of [x, y] coordinates representing a stroke and
6243
- * returns a SVG path string.
6243
+ * returns a SVG path string. Returns an empty string for fewer than four
6244
+ * points.
6244
6245
  *
6245
6246
  * @example
6246
6247
  * ```ts
6247
- * const stroke = [[0, 0], [1, 1], [2, 2]];
6248
+ * const stroke = [[0, 0], [1, 1], [2, 2], [3, 3]];
6248
6249
  * const path = getSvgPathFromStroke(stroke);
6249
- * // path === "M0,0Q0.5,0.5,1,1Q1.5,1.5,2,2Z"
6250
+ * // path === "M0.00,0.00 Q1.00,1.00 1.50,1.50 T2.50,2.50 Z"
6250
6251
  * ```;
6251
6252
  *
6252
6253
  * @param stroke The stroke to convert to an SVG path
6253
- * @param closed Wether to close the path
6254
+ * @param closed Whether to close the path
6254
6255
  */
6255
6256
  declare function getSvgPathFromStroke(stroke: number[][], closed?: boolean): string;
6256
6257
 
@@ -6268,7 +6269,8 @@ declare function filterTruthyValues<T extends Record<string, unknown>>(obj: T):
6268
6269
  /**
6269
6270
  * This function converts a boolean or an object to a config object. If the
6270
6271
  * value is a boolean, the defaults will be returned. If the value is an object,
6271
- * the defaults will be merged with the value.
6272
+ * the defaults will be merged with the value; a key set to `undefined` keeps
6273
+ * its default.
6272
6274
  *
6273
6275
  * @template T - A type that extends Record<string, unknown>.
6274
6276
  * @param {boolean | Partial<T>} value - The value to convert.
@@ -7612,9 +7614,16 @@ interface NumberInputProps extends StylingProps, Omit<AriaNumberFieldProps, "val
7612
7614
  * @default true
7613
7615
  */
7614
7616
  showStepper?: boolean;
7615
- /** The description to display below the input. */
7617
+ /**
7618
+ * The description to display below the input. Hidden while an
7619
+ * `errorMessage` is shown.
7620
+ */
7616
7621
  description?: string;
7617
- /** The error message to display when the input is in an error state. */
7622
+ /**
7623
+ * The error message to display below the input, in place of the
7624
+ * `description`. Shown whenever it is set; it does not put the input in the
7625
+ * error state, so set `isInvalid` for that.
7626
+ */
7618
7627
  errorMessage?: string;
7619
7628
  }
7620
7629
 
@@ -7666,7 +7675,11 @@ interface SwitchProps extends Omit<AriaSwitchProps, "children" | "isRequired" |
7666
7675
  label?: React__default.ReactNode;
7667
7676
  /** Helper text shown below the label and announced as its accessible description. */
7668
7677
  description?: string;
7669
- /** The position of the label. */
7678
+ /**
7679
+ * The position of the label.
7680
+ *
7681
+ * @default "top"
7682
+ */
7670
7683
  labelPosition?: "top" | "left";
7671
7684
  /** The status label to display next to the switch. */
7672
7685
  statusLabel?: {
@@ -7839,11 +7852,21 @@ interface SharedInputProps extends StylingProps, Pick<AriaTextFieldProps, "isRea
7839
7852
  }
7840
7853
 
7841
7854
  interface InputMessage {
7842
- /** The description to display below the input. */
7855
+ /**
7856
+ * The description to display below the input. Hidden while an `errorMessage`
7857
+ * or `warningMessage` is shown.
7858
+ */
7843
7859
  description?: string;
7844
- /** The error message to display when the input is in an error state. */
7860
+ /**
7861
+ * The error message to display below the input, in place of the `description`
7862
+ * and `warningMessage`. Setting it also puts the input in the error state.
7863
+ */
7845
7864
  errorMessage?: string;
7846
- /** The warning message to display when the input is in a warning state. */
7865
+ /**
7866
+ * The warning message to display below the input, in place of the
7867
+ * `description`. An `errorMessage` takes precedence over it. `FileInput`
7868
+ * shows it only while `validationState` is `"warning"`.
7869
+ */
7847
7870
  warningMessage?: string;
7848
7871
  }
7849
7872
  interface TextInputBaseProps extends StylingProps, InputMessage, Pick<SharedInputProps, "validationState" | "variant" | "labelPosition"> {
@@ -7965,7 +7988,11 @@ declare const ProgressBar: React__default.ForwardRefExoticComponent<ProgressBarP
7965
7988
  declare const TextInput: React__default.ForwardRefExoticComponent<TextInputProps & React__default.RefAttributes<HTMLInputElement>>;
7966
7989
 
7967
7990
  interface ReactionProps extends Omit<AriaSwitchProps & ToggleProps, "validationState" | "isRequired" | "children" | "isInvalid" | "validationBehavior" | "validate" | "aria-errormessage" | "onClick" | "onPress" | "onPressStart" | "onPressEnd" | "onPressUp" | "onPressChange">, StylingProps {
7968
- /** The size of the reaction. */
7991
+ /**
7992
+ * The size of the reaction.
7993
+ *
7994
+ * @default "md"
7995
+ */
7969
7996
  size?: "sm" | "md";
7970
7997
  /** The number of reactions. */
7971
7998
  count: number;
@@ -8025,7 +8052,11 @@ declare const ToggleButton: React__default.ForwardRefExoticComponent<ToggleButto
8025
8052
  type CalendarSize = "xs" | "sm";
8026
8053
  type CalendarHeaderVariant = "title" | "selectMonth" | "selectMonthAndYear";
8027
8054
  interface CalendarBaseProps {
8028
- /** The size of the calendar. */
8055
+ /**
8056
+ * The size of the calendar.
8057
+ *
8058
+ * @default "sm"
8059
+ */
8029
8060
  size?: CalendarSize;
8030
8061
  /** Optional title displayed above the calendar (e.g. "Date"). Shows a calendar icon and separator. */
8031
8062
  title?: string;
@@ -8731,7 +8762,10 @@ interface InlineAlertProps extends StylingProps {
8731
8762
  */
8732
8763
  closeLabel?: string;
8733
8764
  /**
8734
- * The arrangement of the variable.
8765
+ * How the title, description and action button are laid out: `single` keeps
8766
+ * them on one row, `multi` and `compact` stack the title above the
8767
+ * description, and `compact` also places the action button below the
8768
+ * message.
8735
8769
  *
8736
8770
  * @default "single"
8737
8771
  * @typedef {"single" | "multi" | "compact"} Arrangement
@@ -8979,11 +9013,21 @@ interface SharedFileUploadProps extends StylingProps {
8979
9013
  * The accepted file types, passed through to the underlying
8980
9014
  * `<input type="file">` `accept` attribute — a comma-separated list of MIME
8981
9015
  * types and/or extensions (e.g. `"image/png,image/jpeg"` or `"image/*"`).
9016
+ * Dropped, pasted and selected files are all checked against it; a file that
9017
+ * does not match calls `onFileTypeError` and is not used. A file the browser
9018
+ * reports no MIME type for matches any MIME token, so its name is only
9019
+ * checked when `accept` lists extensions alone.
9020
+ *
9021
+ * @default "image/*"
8982
9022
  */
8983
9023
  accept?: string;
8984
9024
  /** The name of the input. */
8985
9025
  name?: string;
8986
- /** The callback function that is fired when the value changes. */
9026
+ /**
9027
+ * The `change` event of the file input, fired when the user picks a file in
9028
+ * the file dialog. It does not fire for a drop, a paste or a clear; use
9029
+ * `onValueChange` for every change of the image.
9030
+ */
8987
9031
  onChange?: (event: React__default.ChangeEvent<HTMLInputElement>) => void;
8988
9032
  /**
8989
9033
  * The callback function that is fired when the value changes and the value is
@@ -9004,8 +9048,9 @@ interface ImageDropZoneProps extends SharedFileUploadProps, Omit<DropOptions, "r
9004
9048
  defaultImageSrc?: string | File;
9005
9049
  /**
9006
9050
  * The image to display. This will be used as the `src` attribute of the
9007
- * `<img>` element and will not be able to be changed from within the
9008
- * component. Basically, this makes the component controlled.
9051
+ * `<img>` element and makes the component controlled: picking, dropping,
9052
+ * pasting or clearing an image calls `onValueChange`, and the shown image
9053
+ * changes only when you update `imageSrc`.
9009
9054
  */
9010
9055
  imageSrc?: string | File;
9011
9056
  /**
@@ -9025,7 +9070,11 @@ interface ImageDropZoneProps extends SharedFileUploadProps, Omit<DropOptions, "r
9025
9070
  * @default true
9026
9071
  */
9027
9072
  includeCheckeredBackground?: boolean;
9028
- /** Whether the component is inlined. */
9073
+ /**
9074
+ * Whether the component is inlined.
9075
+ *
9076
+ * @default true
9077
+ */
9029
9078
  isInline?: boolean;
9030
9079
  /** The class name to apply to the picker button. */
9031
9080
  pickerButtonClassName?: string;
@@ -9182,10 +9231,10 @@ declare const RadioGroup: React__default.ForwardRefExoticComponent<RadioGroupPro
9182
9231
 
9183
9232
  interface MessageFormatProps {
9184
9233
  /**
9185
- * By default `<MessageFormat>` will render the formatted string into a
9186
- * `<React.Fragment>`. If you need to customize rendering, you can either wrap
9187
- * it with another React element (recommended), specify a different tagName
9188
- * (e.g., 'div')
9234
+ * The element to render the formatted string into, e.g. `"div"` or `"span"`.
9235
+ * By default it renders into a `<React.Fragment>`.
9236
+ *
9237
+ * @default React.Fragment
9189
9238
  */
9190
9239
  elementType?: React__default.ElementType | "div" | "span";
9191
9240
  /**
@@ -10571,12 +10620,14 @@ interface ImageGalleryProps extends StylingProps, Omit<UNSAFE_ListBoxProps, "ite
10571
10620
  /**
10572
10621
  * The width of the images.
10573
10622
  *
10623
+ * @deprecated Use `imageDimensions` instead.
10574
10624
  * @default "sm"
10575
10625
  */
10576
10626
  imageWidth?: number | "sm" | "md";
10577
10627
  /**
10578
10628
  * The aspect ratio of the images.
10579
10629
  *
10630
+ * @deprecated Use `imageDimensions` instead.
10580
10631
  * @default 3 / 4
10581
10632
  */
10582
10633
  aspectRatio?: number;
@@ -10608,7 +10659,7 @@ interface ImageGalleryProps extends StylingProps, Omit<UNSAFE_ListBoxProps, "ite
10608
10659
  /**
10609
10660
  * The dimensions of the image.
10610
10661
  *
10611
- * @default { width: imageWidth, aspectRatio }
10662
+ * @default { width: "sm", aspectRatio: 3 / 4 }
10612
10663
  */
10613
10664
  imageDimensions?: Dimension | ((item: Item, options: {
10614
10665
  isSelected: boolean;
@@ -10998,7 +11049,10 @@ interface ColorSwatchPickerProps extends StylingProps, Pick<RadioGroupProps, "op
10998
11049
  * either is written, so `"#FF0000"` or `"red"` selects a `"#ff0000"` item.
10999
11050
  */
11000
11051
  value?: string;
11001
- /** A function that is called when the selected item changes. */
11052
+ /**
11053
+ * A function that is called when the selected item changes. It receives
11054
+ * `undefined` when the user presses the selected swatch again to clear it.
11055
+ */
11002
11056
  onChange?: (value?: string) => void;
11003
11057
  /** The default value of the picker. Matched to an item like `value`. */
11004
11058
  defaultValue?: string;
@@ -11017,7 +11071,7 @@ interface ColorSwatchPickerProps extends StylingProps, Pick<RadioGroupProps, "op
11017
11071
 
11018
11072
  declare const ColorSwatchPicker: React__default.ForwardRefExoticComponent<ColorSwatchPickerProps & React__default.RefAttributes<HTMLDivElement>>;
11019
11073
 
11020
- declare const TimeField: React__default.ForwardRefExoticComponent<StylingProps & Omit<Omit<TimeFieldStateOptions<TimeValue>, "locale"> & AriaTimeFieldProps<TimeValue>, "validationState" | "isRequired" | "validate" | "isInvalid"> & Pick<SharedInputProps, "label" | "variant" | "validationState" | "labelPosition"> & InputMessage & React__default.RefAttributes<HTMLDivElement>>;
11074
+ declare const TimeField: React__default.ForwardRefExoticComponent<StylingProps & Omit<Omit<TimeFieldStateOptions<TimeValue>, "locale"> & AriaTimeFieldProps<TimeValue>, "validationState" | "isRequired" | "validate" | "isInvalid"> & Pick<SharedInputProps, "label" | "validationState" | "variant" | "labelPosition"> & InputMessage & React__default.RefAttributes<HTMLDivElement>>;
11021
11075
 
11022
11076
  type TimeFieldProps = StylingProps & Omit<Omit<TimeFieldStateOptions, "locale"> & AriaTimeFieldProps<TimeValue>, "validationState" | "isInvalid" | "isRequired" | "validate"> & Pick<SharedInputProps, "variant" | "labelPosition" | "validationState" | "label"> & InputMessage;
11023
11077
 
@@ -11248,7 +11302,11 @@ interface PanelProps extends StylingProps {
11248
11302
  interface PanelGroupProps extends StylingProps {
11249
11303
  /** Content comprising `Panel` and `PanelResizeHandle` */
11250
11304
  children: ReactNode;
11251
- /** Orientation of the layout */
11305
+ /**
11306
+ * Orientation of the layout
11307
+ *
11308
+ * @default "horizontal"
11309
+ */
11252
11310
  direction?: "horizontal" | "vertical";
11253
11311
  /**
11254
11312
  * Called with a map of panel id to size (percentage) when group layout
@@ -11274,6 +11332,11 @@ interface ImperativePanelGroupHandle {
11274
11332
  setLayout?: (layout: Record<string, number>) => void;
11275
11333
  }
11276
11334
  interface ImperativePanelHandle {
11335
+ /**
11336
+ * Resizes the panel. A number is a size in pixels; pass a string with a
11337
+ * unit, such as `"30%"`, for a percentage. This differs from the size props,
11338
+ * where a number is a percentage.
11339
+ */
11277
11340
  resize?: PanelImperativeHandle["resize"];
11278
11341
  }
11279
11342
 
@@ -11303,7 +11366,11 @@ declare const GlobalToastRegion: React__default.ForwardRefExoticComponent<Global
11303
11366
  interface FrameProviderProps extends BlockProps {
11304
11367
  /** The children of the FrameProvider */
11305
11368
  children: React__default.ReactNode;
11306
- /** The container inside which all the overlays should be confined to */
11369
+ /**
11370
+ * The container inside which all the overlays should be confined to. It must
11371
+ * be positioned (not `position: static`). Without it, the document body is
11372
+ * used and overlays are not contained.
11373
+ */
11307
11374
  container?: HTMLElement | null;
11308
11375
  /** The container inside which all the portals should be confined to */
11309
11376
  portalContainer?: HTMLElement | null;
@@ -11369,7 +11436,7 @@ type DateFieldProps = StylingProps & Omit<Omit<DateFieldStateOptions, "locale">
11369
11436
  openCalendarLabel?: string;
11370
11437
  };
11371
11438
 
11372
- declare const DateField: React__default.ForwardRefExoticComponent<StylingProps & Omit<Omit<DateFieldStateOptions<DateValue>, "locale"> & AriaDateFieldProps<DateValue>, "validationState" | "isRequired" | "validate" | "isInvalid" | "createCalendar"> & Pick<SharedInputProps, "label" | "variant" | "validationState" | "labelPosition"> & InputMessage & {
11439
+ declare const DateField: React__default.ForwardRefExoticComponent<StylingProps & Omit<Omit<DateFieldStateOptions<DateValue>, "locale"> & AriaDateFieldProps<DateValue>, "validationState" | "isRequired" | "validate" | "isInvalid" | "createCalendar"> & Pick<SharedInputProps, "label" | "validationState" | "variant" | "labelPosition"> & InputMessage & {
11373
11440
  pickerType?: DateFieldPickerType;
11374
11441
  openCalendarLabel?: string;
11375
11442
  } & React__default.RefAttributes<HTMLDivElement>>;
@@ -11768,8 +11835,10 @@ interface KbdProps extends Omit<StylingProps, "data-block-id" | "data-block-clas
11768
11835
  */
11769
11836
  children: string;
11770
11837
  /**
11771
- * Whether to use symbols for modifier keys (e.g., "⌘" instead of "Cmd"). Only
11772
- * applies when the shortcut contains modifiers like Ctrl, Alt, Shift.
11838
+ * Whether to show modifier keys as symbols (e.g., "⌘" instead of "Cmd"). Only
11839
+ * applies on macOS; other platforms show the shortcut as written. `Ctrl`,
11840
+ * `Alt`, `Shift` and `Space` become symbols when another key follows them,
11841
+ * `Enter` anywhere.
11773
11842
  *
11774
11843
  * @default false
11775
11844
  */
@@ -11839,7 +11908,10 @@ interface StepperItem {
11839
11908
  key: Key;
11840
11909
  /** Step title. Omit for indicator-only steps. */
11841
11910
  title?: string;
11842
- /** Step description. Only rendered when variant="expanded". */
11911
+ /**
11912
+ * Step description. Only rendered when variant="expanded" and the step has a
11913
+ * `title`.
11914
+ */
11843
11915
  description?: string;
11844
11916
  /** Disable this specific step (cannot be selected). */
11845
11917
  isDisabled?: boolean;
@@ -11948,7 +12020,7 @@ interface FileListItem {
11948
12020
  errorExplanation?: React__default.ReactNode;
11949
12021
  /**
11950
12022
  * Secondary text rendered under the name and read as the item's accessible
11951
- * description. Shown in the `expanded` and `grid` variants.
12023
+ * description. Shown in every variant.
11952
12024
  */
11953
12025
  description?: string;
11954
12026
  /**
@@ -11972,8 +12044,8 @@ interface FileListProps extends AriaLabelingProps {
11972
12044
  /**
11973
12045
  * How the items are rendered.
11974
12046
  *
11975
- * - `compact` (default): divided rows with a file icon and name, for files
11976
- * the user has added. The only variant that renders the remove button,
12047
+ * - `compact` (default): divided rows with a file icon, name and
12048
+ * `description`, for files the user has added. The only variant that renders the remove button,
11977
12049
  * the loading spinner and error messages.
11978
12050
  * - `expanded`: bordered cards with the name, `description` and `tag`.
11979
12051
  * Past about five rows the list scrolls.
@@ -12609,13 +12681,17 @@ declare const defineMessages: <T extends Record<string, MessageDescriptor>>(mess
12609
12681
  *
12610
12682
  * @example
12611
12683
  * ```tsx
12612
- * const targetRef = React.useRef<HTMLDivElement>(null);
12684
+ * function Example() {
12685
+ * // Hold the element in state: a ref's `current` is still null during the
12686
+ * // first render, so the hook would not observe until something re-renders.
12687
+ * const [target, setTarget] = React.useState<HTMLDivElement | null>(null);
12613
12688
  *
12614
- * useMutationObserver(targetRef.current, { attributes: true }, (mutations) => {
12615
- * console.log(mutations);
12616
- * // do something with the mutations
12617
- * // ...
12618
- * });
12689
+ * useMutationObserver(target, { attributes: true }, (mutations) => {
12690
+ * console.log(mutations);
12691
+ * });
12692
+ *
12693
+ * return <div ref={setTarget} />;
12694
+ * }
12619
12695
  * ```;
12620
12696
  *
12621
12697
  * @param target The element to observe for changes.