@baseline-ui/core 3.7.0 → 3.9.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 (326) 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.css +1 -1
  7. package/dist/AlertDialog.mjs +1 -1
  8. package/dist/AudioPlayer.css +1 -1
  9. package/dist/AudioPlayer.mjs +1 -1
  10. package/dist/Breadcrumbs.mjs +1 -1
  11. package/dist/ButtonSelect.css +1 -1
  12. package/dist/ButtonSelect.mjs +1 -1
  13. package/dist/Calendar.css +1 -1
  14. package/dist/Calendar.mjs +1 -1
  15. package/dist/Checkbox.mjs +1 -1
  16. package/dist/ColorInput.css +1 -1
  17. package/dist/ColorInput.mjs +1 -1
  18. package/dist/ColorSwatch.mjs +1 -1
  19. package/dist/ColorSwatchPicker.mjs +1 -1
  20. package/dist/ComboBox.css +1 -1
  21. package/dist/ComboBox.mjs +1 -1
  22. package/dist/DateField.css +1 -1
  23. package/dist/DateField.mjs +1 -1
  24. package/dist/Dialog.mjs +1 -1
  25. package/dist/Disclosure.mjs +1 -1
  26. package/dist/DomNodeRenderer.mjs +1 -1
  27. package/dist/Drawer.mjs +1 -1
  28. package/dist/Editor.css +1 -1
  29. package/dist/Editor.mjs +1 -1
  30. package/dist/FileInput.css +1 -1
  31. package/dist/FileInput.mjs +1 -1
  32. package/dist/FileList.css +1 -1
  33. package/dist/FileList.mjs +1 -1
  34. package/dist/FileUploader.css +1 -1
  35. package/dist/FileUploader.mjs +1 -1
  36. package/dist/FrameProvider.mjs +1 -1
  37. package/dist/FreehandCanvas.mjs +1 -1
  38. package/dist/GridList.mjs +1 -1
  39. package/dist/Group.mjs +1 -1
  40. package/dist/Icon.mjs +1 -1
  41. package/dist/Image.css +10 -0
  42. package/dist/Image.mjs +1 -0
  43. package/dist/ImageDropZone.mjs +1 -1
  44. package/dist/ImageGallery.css +1 -1
  45. package/dist/ImageGallery.mjs +1 -1
  46. package/dist/InlineAlert.mjs +1 -1
  47. package/dist/InlineToolbar.mjs +2 -2
  48. package/dist/Kbd.mjs +1 -1
  49. package/dist/Link.mjs +1 -1
  50. package/dist/ListBox.mjs +1 -1
  51. package/dist/Menu.mjs +1 -1
  52. package/dist/Modal.mjs +1 -1
  53. package/dist/NumberInput.css +1 -1
  54. package/dist/NumberInput.mjs +1 -1
  55. package/dist/Pagination.mjs +1 -1
  56. package/dist/Panel.mjs +1 -1
  57. package/dist/PointPicker.mjs +1 -1
  58. package/dist/Popover.mjs +1 -1
  59. package/dist/Portal.mjs +1 -1
  60. package/dist/Preview.mjs +1 -1
  61. package/dist/ProgressBar.css +1 -1
  62. package/dist/ProgressBar.mjs +1 -1
  63. package/dist/ProgressSpinner.mjs +1 -1
  64. package/dist/RadioGroup.css +1 -1
  65. package/dist/RadioGroup.mjs +1 -1
  66. package/dist/Reaction.mjs +1 -1
  67. package/dist/ScrollControlButton.mjs +1 -1
  68. package/dist/SearchInput.mjs +1 -1
  69. package/dist/Select.css +1 -1
  70. package/dist/Select.mjs +1 -1
  71. package/dist/Slider.css +1 -1
  72. package/dist/Slider.mjs +1 -1
  73. package/dist/Stepper.mjs +1 -1
  74. package/dist/Switch.css +1 -1
  75. package/dist/Switch.mjs +1 -1
  76. package/dist/Table.mjs +1 -1
  77. package/dist/Tabs.mjs +1 -1
  78. package/dist/Tag.mjs +1 -1
  79. package/dist/TagGroup.mjs +1 -1
  80. package/dist/TaggedPagination.mjs +1 -1
  81. package/dist/Text.mjs +1 -1
  82. package/dist/TextInput.css +1 -1
  83. package/dist/TextInput.mjs +1 -1
  84. package/dist/ThemeProvider.mjs +1 -1
  85. package/dist/TimeField.css +1 -1
  86. package/dist/TimeField.mjs +1 -1
  87. package/dist/Toast.mjs +1 -1
  88. package/dist/ToggleButton.mjs +1 -1
  89. package/dist/ToggleIconButton.mjs +1 -1
  90. package/dist/Toolbar.mjs +1 -1
  91. package/dist/Tooltip.mjs +1 -1
  92. package/dist/TreeView.css +1 -1
  93. package/dist/TreeView.mjs +1 -1
  94. package/dist/UNSAFE_ListBox.mjs +1 -1
  95. package/dist/Virtualizer.mjs +1 -1
  96. package/dist/chunk-25NW6ZEB.mjs +10 -0
  97. package/dist/chunk-2O4HB7UL.mjs +10 -0
  98. package/dist/{chunk-4QGZDJW4.mjs → chunk-2UDXAKWA.mjs} +1 -1
  99. package/dist/{chunk-ETM4MNG4.mjs → chunk-35AM4QEA.mjs} +1 -1
  100. package/dist/{chunk-XO7MAUFC.mjs → chunk-3COKCTB2.mjs} +2 -2
  101. package/dist/chunk-3JOOFCEF.mjs +10 -0
  102. package/dist/{chunk-4S4GGUSH.mjs → chunk-3PBFSDMT.mjs} +1 -1
  103. package/dist/{chunk-G5MSZV5O.mjs → chunk-3V4W6OGG.mjs} +1 -1
  104. package/dist/{chunk-CU6D2EA6.mjs → chunk-3ZX5CLZO.mjs} +1 -1
  105. package/dist/chunk-45EAFDOZ.mjs +10 -0
  106. package/dist/{chunk-IROFSPEN.mjs → chunk-4HOAPQDQ.mjs} +1 -1
  107. package/dist/{chunk-KHDWTXGG.mjs → chunk-4PZGQTXE.mjs} +1 -1
  108. package/dist/{chunk-B5VHU77N.mjs → chunk-54MWEZUP.mjs} +2 -2
  109. package/dist/chunk-5GZAORDK.mjs +10 -0
  110. package/dist/{chunk-BA5OA5DY.mjs → chunk-5LGYS5CZ.mjs} +1 -1
  111. package/dist/chunk-5MR5L5JZ.mjs +10 -0
  112. package/dist/{chunk-XAM3AXXK.mjs → chunk-64ZD4EKW.mjs} +1 -1
  113. package/dist/{chunk-YS3Z53YT.mjs → chunk-67QIBKUN.mjs} +1 -1
  114. package/dist/{chunk-YAI33K42.mjs → chunk-6CSP66NI.mjs} +1 -1
  115. package/dist/{chunk-LSPDPDB6.mjs → chunk-6HTOSJOJ.mjs} +1 -1
  116. package/dist/chunk-6LFOODXI.mjs +10 -0
  117. package/dist/chunk-6MTVNQKW.mjs +10 -0
  118. package/dist/{chunk-YNJD34U4.mjs → chunk-6NUHEJGL.mjs} +1 -1
  119. package/dist/{chunk-QIYZRQGP.mjs → chunk-6PBBHYCA.mjs} +1 -1
  120. package/dist/chunk-6RN7DKRF.mjs +10 -0
  121. package/dist/{chunk-S2XIFW52.mjs → chunk-7JE2SRIH.mjs} +2 -2
  122. package/dist/{chunk-I7LPPUZS.mjs → chunk-A455VRNY.mjs} +1 -1
  123. package/dist/{chunk-GQIS4QBN.mjs → chunk-A63HMTSM.mjs} +1 -1
  124. package/dist/chunk-AALXW5AP.mjs +10 -0
  125. package/dist/{chunk-5GW36EQJ.mjs → chunk-AC44TKUI.mjs} +1 -1
  126. package/dist/{chunk-QL7SC5BW.mjs → chunk-ADEALCJB.mjs} +1 -1
  127. package/dist/{chunk-SGZWUG3H.mjs → chunk-ALMW6S4I.mjs} +1 -1
  128. package/dist/{chunk-6DETJFO2.mjs → chunk-ARMWQYH2.mjs} +1 -1
  129. package/dist/chunk-B3W7VMJR.mjs +10 -0
  130. package/dist/{chunk-ZZ7YJ2FN.mjs → chunk-B5NICAFU.mjs} +1 -1
  131. package/dist/{chunk-Q6R75IOP.mjs → chunk-BFW26T6V.mjs} +1 -1
  132. package/dist/{chunk-EGLD5KVP.mjs → chunk-BK3RBPST.mjs} +1 -1
  133. package/dist/{chunk-TLU2GNUT.mjs → chunk-BPLTQDXX.mjs} +1 -1
  134. package/dist/{chunk-4WVW4KEK.mjs → chunk-BSFG32AL.mjs} +1 -1
  135. package/dist/{chunk-FJO6KCT5.mjs → chunk-C4XJOYAW.mjs} +1 -1
  136. package/dist/{chunk-UZ672WDX.mjs → chunk-CFDIUF4H.mjs} +1 -1
  137. package/dist/{chunk-6CEV43ZA.mjs → chunk-CHBF3XQ6.mjs} +1 -1
  138. package/dist/chunk-CIOPWCOS.mjs +10 -0
  139. package/dist/{chunk-UI2VBG26.mjs → chunk-CKUHFL5G.mjs} +1 -1
  140. package/dist/{chunk-GMALMQWI.mjs → chunk-D2NVLRIU.mjs} +1 -1
  141. package/dist/{chunk-JHA7DIPG.mjs → chunk-D6AOHRAV.mjs} +1 -1
  142. package/dist/chunk-DFMPVQM3.mjs +10 -0
  143. package/dist/{chunk-MHAPHPNN.mjs → chunk-DHZKZ3AV.mjs} +1 -1
  144. package/dist/{chunk-K5RYVERS.mjs → chunk-DLJHL4V7.mjs} +1 -1
  145. package/dist/{chunk-4Y4WKIL5.mjs → chunk-DOFT4BQH.mjs} +1 -1
  146. package/dist/{chunk-235S3EB7.mjs → chunk-DPFX25HC.mjs} +1 -1
  147. package/dist/{chunk-73UBSCJ2.mjs → chunk-DRQHSYY3.mjs} +1 -1
  148. package/dist/{chunk-AQTRFPF2.mjs → chunk-DV72V6NI.mjs} +1 -1
  149. package/dist/chunk-DZFNVFYT.mjs +10 -0
  150. package/dist/chunk-DZJTPX2G.mjs +10 -0
  151. package/dist/chunk-E2VXJPSE.mjs +10 -0
  152. package/dist/chunk-E3TD3EJQ.mjs +10 -0
  153. package/dist/{chunk-EFFODO2N.mjs → chunk-E6DZSC2G.mjs} +1 -1
  154. package/dist/{chunk-I7SMG6PT.mjs → chunk-EISLHUT5.mjs} +1 -1
  155. package/dist/chunk-ENUU2IVX.mjs +10 -0
  156. package/dist/{chunk-OQPYPKZV.mjs → chunk-ES3IQZSH.mjs} +1 -1
  157. package/dist/{chunk-KVIV5RTE.mjs → chunk-F3EOLTFM.mjs} +1 -1
  158. package/dist/chunk-F4YBUGLD.mjs +10 -0
  159. package/dist/{chunk-STMDFIUL.mjs → chunk-FDDB7QNQ.mjs} +1 -1
  160. package/dist/{chunk-Z4QTH4TB.mjs → chunk-FTV6OWMI.mjs} +1 -1
  161. package/dist/chunk-G76NJ3IU.mjs +10 -0
  162. package/dist/{chunk-INFMXVHD.mjs → chunk-GIUNLLWW.mjs} +1 -1
  163. package/dist/{chunk-UPCEZ32D.mjs → chunk-GLIN7JAI.mjs} +1 -1
  164. package/dist/{chunk-S4HLMIFK.mjs → chunk-GOCBU65X.mjs} +1 -1
  165. package/dist/{chunk-D4NW56YQ.mjs → chunk-GPT4DR4P.mjs} +1 -1
  166. package/dist/{chunk-BULEKXBD.mjs → chunk-GXQQZWIP.mjs} +1 -1
  167. package/dist/{chunk-GCBMNOA6.mjs → chunk-HNKEI45D.mjs} +1 -1
  168. package/dist/chunk-IBBDZQPO.mjs +10 -0
  169. package/dist/{chunk-F7WPMQ3P.mjs → chunk-IIBBR266.mjs} +1 -1
  170. package/dist/{chunk-MURSKAKT.mjs → chunk-INHZHYOF.mjs} +1 -1
  171. package/dist/{chunk-BGRGRUG4.mjs → chunk-IOHULFEP.mjs} +1 -1
  172. package/dist/{chunk-TUY23KMK.mjs → chunk-IVM5IBQS.mjs} +1 -1
  173. package/dist/{chunk-FX3THTOK.mjs → chunk-J7BCMF23.mjs} +1 -1
  174. package/dist/chunk-JB3UIJ3I.mjs +10 -0
  175. package/dist/{chunk-UFN2OAM2.mjs → chunk-JC22ELJM.mjs} +1 -1
  176. package/dist/chunk-JDDA4R2D.mjs +10 -0
  177. package/dist/{chunk-NO3DNA2U.mjs → chunk-JIGOXUY4.mjs} +1 -1
  178. package/dist/{chunk-KX7WG3L4.mjs → chunk-JOK6I52O.mjs} +1 -1
  179. package/dist/{chunk-6GV3YWV7.mjs → chunk-JTGVIAOK.mjs} +1 -1
  180. package/dist/chunk-JVD752FA.mjs +10 -0
  181. package/dist/{chunk-NT2MFIKD.mjs → chunk-JXJZIKEY.mjs} +1 -1
  182. package/dist/chunk-K276BGP2.mjs +10 -0
  183. package/dist/{chunk-TIGGKOJQ.mjs → chunk-KADD66HZ.mjs} +1 -1
  184. package/dist/{chunk-QAAOC64D.mjs → chunk-KBLJ34QI.mjs} +1 -1
  185. package/dist/{chunk-X3ACY7IY.mjs → chunk-KFJE5ZBK.mjs} +1 -1
  186. package/dist/{chunk-23WMOYTQ.mjs → chunk-KMSNBINF.mjs} +1 -1
  187. package/dist/{chunk-SZCVQU55.mjs → chunk-KMZ3YVPE.mjs} +1 -1
  188. package/dist/chunk-KOPAIJJU.mjs +10 -0
  189. package/dist/{chunk-C4WHTPLY.mjs → chunk-KRVEGSVY.mjs} +1 -1
  190. package/dist/{chunk-VPVF5N62.mjs → chunk-L5H5GE3H.mjs} +1 -1
  191. package/dist/{chunk-6TRBOQVN.mjs → chunk-L6ISOTLH.mjs} +1 -1
  192. package/dist/chunk-LHLY432N.mjs +10 -0
  193. package/dist/{chunk-2JGVUCP5.mjs → chunk-LN2NT32E.mjs} +1 -1
  194. package/dist/{chunk-B3EZOXNU.mjs → chunk-LRFFL765.mjs} +1 -1
  195. package/dist/{chunk-PCR5FD43.mjs → chunk-LXZOYBTL.mjs} +1 -1
  196. package/dist/chunk-LZEZW5RE.mjs +10 -0
  197. package/dist/{chunk-EGYIHFEQ.mjs → chunk-M7BCIQ2J.mjs} +1 -1
  198. package/dist/{chunk-2VOWBYNS.mjs → chunk-MPJXTZ6L.mjs} +1 -1
  199. package/dist/{chunk-SAATXQOW.mjs → chunk-MUQR2YER.mjs} +1 -1
  200. package/dist/{chunk-NUCSMH4S.mjs → chunk-N4NDPTX6.mjs} +1 -1
  201. package/dist/chunk-NN6HKMC4.mjs +10 -0
  202. package/dist/{chunk-KUDCYGII.mjs → chunk-NQVTVL24.mjs} +1 -1
  203. package/dist/chunk-NTUW55EB.mjs +10 -0
  204. package/dist/{chunk-6Z3GYFG5.mjs → chunk-NWYRVUTX.mjs} +1 -1
  205. package/dist/{chunk-RINS2TBF.mjs → chunk-NYNS3UDR.mjs} +1 -1
  206. package/dist/{chunk-MKHLBKSN.mjs → chunk-OAOIUNNG.mjs} +1 -1
  207. package/dist/{chunk-5USQ6HBY.mjs → chunk-OKEXEU3C.mjs} +1 -1
  208. package/dist/chunk-OMCGORTH.mjs +10 -0
  209. package/dist/{chunk-3IPRT57V.mjs → chunk-OO3ZVB2T.mjs} +2 -2
  210. package/dist/{chunk-TZGK36KC.mjs → chunk-OS6PVCFX.mjs} +1 -1
  211. package/dist/{chunk-EDMVODCD.mjs → chunk-P6LYION6.mjs} +1 -1
  212. package/dist/{chunk-3WKDIXCM.mjs → chunk-PJINRIA6.mjs} +1 -1
  213. package/dist/{chunk-6DYTFYPO.mjs → chunk-PLRUMLNB.mjs} +1 -1
  214. package/dist/{chunk-YF63IQQR.mjs → chunk-PQIDCA7P.mjs} +1 -1
  215. package/dist/{chunk-6Q5PNIYZ.mjs → chunk-PSUZMSD3.mjs} +1 -1
  216. package/dist/{chunk-VFO35ZLL.mjs → chunk-Q3FYMLAA.mjs} +1 -1
  217. package/dist/{chunk-Y2MIU76N.mjs → chunk-QSFRMY47.mjs} +1 -1
  218. package/dist/{chunk-HH4VLTF3.mjs → chunk-QVFGEXDU.mjs} +1 -1
  219. package/dist/{chunk-MBRNO6IW.mjs → chunk-R5JHN4X6.mjs} +1 -1
  220. package/dist/{chunk-NLVJYKSA.mjs → chunk-R7Y36JCO.mjs} +1 -1
  221. package/dist/chunk-RFCTQQMD.mjs +10 -0
  222. package/dist/{chunk-5ZC64ZG7.mjs → chunk-RXADOJLS.mjs} +1 -1
  223. package/dist/{chunk-PPHSLODC.mjs → chunk-SCJ3RG7B.mjs} +1 -1
  224. package/dist/chunk-SCUNJNIO.mjs +0 -0
  225. package/dist/{chunk-PMDRFB75.mjs → chunk-SI7LO2L4.mjs} +1 -1
  226. package/dist/{chunk-ZC5WXVNV.mjs → chunk-SY24O432.mjs} +1 -1
  227. package/dist/{chunk-KQOXSF4J.mjs → chunk-SYA6LAFU.mjs} +1 -1
  228. package/dist/{chunk-IIURKT24.mjs → chunk-SZNDCHMJ.mjs} +1 -1
  229. package/dist/{chunk-QUWRO3HT.mjs → chunk-TEQHGF4G.mjs} +1 -1
  230. package/dist/{chunk-TYKMNZJ4.mjs → chunk-TGLVJRZE.mjs} +1 -1
  231. package/dist/{chunk-GFBRKKX4.mjs → chunk-TN7FPPGM.mjs} +1 -1
  232. package/dist/chunk-TYOEGCPS.mjs +10 -0
  233. package/dist/{chunk-R6TFTLMV.mjs → chunk-U6M2GCPD.mjs} +1 -1
  234. package/dist/{chunk-6QQEK5I6.mjs → chunk-UBC32WQB.mjs} +1 -1
  235. package/dist/{chunk-P6V5EAYL.mjs → chunk-UCRJ3AR5.mjs} +1 -1
  236. package/dist/{chunk-BTPAZDGG.mjs → chunk-UI4SJCQU.mjs} +1 -1
  237. package/dist/{chunk-7SQRBY7N.mjs → chunk-UKBBSYRC.mjs} +1 -1
  238. package/dist/{chunk-IM3E5JL4.mjs → chunk-UPOQXYUI.mjs} +1 -1
  239. package/dist/{chunk-22MA6EYO.mjs → chunk-UQJB6AGO.mjs} +1 -1
  240. package/dist/{chunk-AI6WQPRX.mjs → chunk-UR42GQO4.mjs} +1 -1
  241. package/dist/{chunk-SXZP556C.mjs → chunk-V6DZG4PM.mjs} +1 -1
  242. package/dist/chunk-VEIBPZDL.mjs +10 -0
  243. package/dist/{chunk-LY2ZVEGJ.mjs → chunk-VKWXATZ3.mjs} +1 -1
  244. package/dist/{chunk-54ZKQAA3.mjs → chunk-VNJDCKLQ.mjs} +1 -1
  245. package/dist/{chunk-F3THHK5C.mjs → chunk-VPN55UVA.mjs} +1 -1
  246. package/dist/{chunk-QMV2O57M.mjs → chunk-VQ45RUYJ.mjs} +1 -1
  247. package/dist/chunk-VQHI3ZCW.mjs +10 -0
  248. package/dist/{chunk-BGQRLALS.mjs → chunk-VSGVHATE.mjs} +1 -1
  249. package/dist/{chunk-IMXJCV7G.mjs → chunk-VWSTMBQK.mjs} +1 -1
  250. package/dist/chunk-VYBJ36ZR.mjs +10 -0
  251. package/dist/{chunk-YDUKC7QS.mjs → chunk-W3YUV7IF.mjs} +1 -1
  252. package/dist/{chunk-4QBHQCCK.mjs → chunk-WAPBLICF.mjs} +1 -1
  253. package/dist/chunk-WBOFQ4BH.mjs +10 -0
  254. package/dist/{chunk-CIPPPD6E.mjs → chunk-WD2TPSZV.mjs} +1 -1
  255. package/dist/{chunk-TAT552A5.mjs → chunk-WID7IWNC.mjs} +1 -1
  256. package/dist/chunk-WSRXTVYB.mjs +10 -0
  257. package/dist/{chunk-O7IU5NHN.mjs → chunk-WXILHRBE.mjs} +1 -1
  258. package/dist/{chunk-4I7K4CCG.mjs → chunk-X34RHNLT.mjs} +1 -1
  259. package/dist/{chunk-XOS3JIQX.mjs → chunk-X6K4M542.mjs} +1 -1
  260. package/dist/chunk-XC5H4EVW.mjs +10 -0
  261. package/dist/chunk-XF65LVBQ.mjs +10 -0
  262. package/dist/{chunk-XVL2GXTB.mjs → chunk-XKNL5LSL.mjs} +2 -2
  263. package/dist/{chunk-4P247R4V.mjs → chunk-Y6PZKRST.mjs} +1 -1
  264. package/dist/{chunk-7YCV7MPI.mjs → chunk-YK3KAPIK.mjs} +2 -2
  265. package/dist/{chunk-OVJT5F2R.mjs → chunk-YQFS4UHL.mjs} +1 -1
  266. package/dist/{chunk-5YKRWGEJ.mjs → chunk-YSQ3YHJN.mjs} +2 -2
  267. package/dist/{chunk-VQ2K6Q3G.mjs → chunk-Z7JRM3NW.mjs} +2 -2
  268. package/dist/chunk-Z7UPVYL5.mjs +10 -0
  269. package/dist/{chunk-CBV6KXGO.mjs → chunk-ZRD2DMEX.mjs} +1 -1
  270. package/dist/hooks/useDevice.mjs +1 -1
  271. package/dist/hooks/useIntersectionObserver.mjs +1 -1
  272. package/dist/hooks/useLiveInteractionModality.mjs +1 -1
  273. package/dist/hooks/useLocalStorage.mjs +1 -1
  274. package/dist/hooks/useMutationObserver.mjs +1 -1
  275. package/dist/hooks/usePortalContainer.mjs +1 -1
  276. package/dist/hooks/usePreventFocus.mjs +1 -1
  277. package/dist/hooks/useResizeObserver.mjs +1 -1
  278. package/dist/hooks/useTextSelection.mjs +1 -1
  279. package/dist/index.css +1 -1
  280. package/dist/index.d.ts +280 -60
  281. package/dist/index.js +22 -22
  282. package/dist/index.mjs +1 -1
  283. package/dist/react-aria.mjs +1 -1
  284. package/dist/utils/dom.mjs +1 -1
  285. package/dist/utils/isInShadowDOM.mjs +1 -1
  286. package/dist/utils/keyboards.mjs +1 -1
  287. package/package.json +5 -5
  288. package/sbom.json +13 -13
  289. package/dist/chunk-2JRDTJWJ.mjs +0 -10
  290. package/dist/chunk-5EI2562M.mjs +0 -10
  291. package/dist/chunk-5ILCVLWY.mjs +0 -10
  292. package/dist/chunk-5W6G3ZUT.mjs +0 -10
  293. package/dist/chunk-7DCQF3EP.mjs +0 -10
  294. package/dist/chunk-BROSGYL3.mjs +0 -10
  295. package/dist/chunk-BSSLS6MF.mjs +0 -10
  296. package/dist/chunk-CD5KKXIM.mjs +0 -10
  297. package/dist/chunk-CY6W27WG.mjs +0 -10
  298. package/dist/chunk-DG5VNJOH.mjs +0 -10
  299. package/dist/chunk-F56P4EKI.mjs +0 -10
  300. package/dist/chunk-GJ6ZPLFR.mjs +0 -10
  301. package/dist/chunk-HTRO6BM5.mjs +0 -10
  302. package/dist/chunk-IN7BLI4M.mjs +0 -10
  303. package/dist/chunk-IVDIKT6F.mjs +0 -10
  304. package/dist/chunk-JXCL5CUV.mjs +0 -10
  305. package/dist/chunk-L45T2KGW.mjs +0 -10
  306. package/dist/chunk-LDWNE2JT.mjs +0 -10
  307. package/dist/chunk-M3R4ZM34.mjs +0 -10
  308. package/dist/chunk-MJPCLLDU.mjs +0 -10
  309. package/dist/chunk-MYT5CSGX.mjs +0 -10
  310. package/dist/chunk-NKC4MIX3.mjs +0 -10
  311. package/dist/chunk-NWWH62TU.mjs +0 -10
  312. package/dist/chunk-O6PPXOEX.mjs +0 -10
  313. package/dist/chunk-OPIPJTLG.mjs +0 -10
  314. package/dist/chunk-PG3WDHSK.mjs +0 -10
  315. package/dist/chunk-PR3CD3UC.mjs +0 -10
  316. package/dist/chunk-SBR5UAUY.mjs +0 -10
  317. package/dist/chunk-SD43KVTU.mjs +0 -10
  318. package/dist/chunk-SSWWJZRE.mjs +0 -10
  319. package/dist/chunk-SZTFMBPY.mjs +0 -10
  320. package/dist/chunk-TFBJ767L.mjs +0 -10
  321. package/dist/chunk-UCDGZFQ7.mjs +0 -10
  322. package/dist/chunk-VNWKXT3X.mjs +0 -10
  323. package/dist/chunk-XC2S3RLC.mjs +0 -10
  324. package/dist/chunk-YEIRJNEA.mjs +0 -10
  325. package/dist/chunk-YQKEP62C.mjs +0 -10
  326. package/dist/chunk-ZXN5VT4G.mjs +0 -10
package/dist/index.d.ts CHANGED
@@ -5996,11 +5996,9 @@ interface SharedProps {
5996
5996
  /** The `className` property assigned to the SVG element of the component. */
5997
5997
  className?: string;
5998
5998
  /**
5999
- * The `width` and `height` of the icon. This can be a string or a number. If
6000
- * you want to set the width and height to different values, you can pass
6001
- * `width` and `height` as separate props.
6002
- *
6003
- * @default "1em"
5999
+ * The `width` and `height` of the icon. This can be a string or a number.
6000
+ * When omitted, no `width` or `height` attribute is set and the SVG keeps any
6001
+ * `width` and `height` from the `svg` string.
6004
6002
  */
6005
6003
  size?: string | number;
6006
6004
  /** The style applicable to the SVG element of the component. */
@@ -6014,8 +6012,6 @@ interface IconComponentProps$1 extends SharedProps {
6014
6012
  * The SVG string of the icon to render. This is useful if you want to render
6015
6013
  * an icon that is not in the catalog of icons provided in the list above. You
6016
6014
  * can use the `createIcon` function to create an icon from an SVG string.
6017
- *
6018
- * @default undefined
6019
6015
  */
6020
6016
  svg: string;
6021
6017
  }
@@ -6764,10 +6760,9 @@ interface ModalContentProps extends Omit<AriaModalOverlayProps, "isDismissable"
6764
6760
  */
6765
6761
  children: React__default.ReactNode | ((props: OverlayTriggerState) => React__default.ReactNode);
6766
6762
  /**
6767
- * The container element for the modal. By default, the modal is rendered as a
6768
- * child of the body element.
6769
- *
6770
- * @default document.body
6763
+ * The container element for the modal. When omitted, the modal renders into
6764
+ * the container from the nearest `PortalContainerProvider`, then the one from
6765
+ * the nearest `FrameProvider`, and otherwise into the document body.
6771
6766
  */
6772
6767
  portalContainer?: HTMLElement;
6773
6768
  /**
@@ -6945,6 +6940,20 @@ interface PopoverContentProps extends Omit<AriaPopoverProps, "popoverRef" | "tri
6945
6940
  * @default "shift"
6946
6941
  */
6947
6942
  horizontalBoundaryBehavior?: HorizontalBoundaryBehavior;
6943
+ /**
6944
+ * The distance in pixels between the popover and its trigger along the main
6945
+ * axis. When `includeArrow` is set, the arrow's 8px is added on top.
6946
+ *
6947
+ * @default 2
6948
+ */
6949
+ offset?: number;
6950
+ /**
6951
+ * The minimum distance in pixels kept between the popover and the edge of its
6952
+ * boundary.
6953
+ *
6954
+ * @default 0
6955
+ */
6956
+ containerPadding?: number;
6948
6957
  }
6949
6958
  interface PopoverTriggerProps {
6950
6959
  /** The contents of the popover trigger. */
@@ -7091,6 +7100,12 @@ type MenuItem = MenuOption | MenuSection;
7091
7100
  type MenuPopoverProps = Pick<PopoverContentProps, "isNonModal" | "placement" | "shouldUpdatePosition" | "shouldFlip" | "boundaryElement" | "boundaryAxis" | "horizontalBoundaryBehavior" | "crossOffset" | "offset" | "portalContainer">;
7092
7101
  type MenuSelectionKeys = "selectionMode" | "selectedKeys" | "defaultSelectedKeys" | "onSelectionChange";
7093
7102
  interface MenuPropsBase extends MenuPopoverProps, Omit<MenuTriggerProps, "trigger">, CollectionOptionRenderProps<MenuOption, MenuItemRenderProps>, Omit<AriaMenuProps<MenuItem>, "children" | MenuSelectionKeys>, Omit<AriaMenuTriggerProps, "type" | "trigger"> {
7103
+ /**
7104
+ * The placement of the menu relative to its trigger.
7105
+ *
7106
+ * @default "bottom start"
7107
+ */
7108
+ placement?: Placement;
7094
7109
  /**
7095
7110
  * How the menu is opened from its trigger. With `"longPress"`, a long press
7096
7111
  * or `Alt` + `ArrowDown` / `ArrowUp` / `Enter` / `Space` opens the menu.
@@ -7224,6 +7239,20 @@ interface TooltipProps extends StylingProps, TooltipTriggerProps, AriaTooltipPro
7224
7239
  * @default document.body
7225
7240
  */
7226
7241
  portalContainer?: HTMLElement;
7242
+ /**
7243
+ * The distance in pixels between the tooltip and its trigger along the main
7244
+ * axis. Defaults to 2 when `includeArrow` is false.
7245
+ *
7246
+ * @default 12
7247
+ */
7248
+ offset?: number;
7249
+ /**
7250
+ * The minimum distance in pixels of the arrow from the edge of the tooltip. It
7251
+ * defaults to 0 when `includeArrow` is false.
7252
+ *
7253
+ * @default 8
7254
+ */
7255
+ arrowBoundaryOffset?: number;
7227
7256
  }
7228
7257
  interface FocusableProps extends FocusableOptions, StylingProps {
7229
7258
  /** The content of the focusable element. */
@@ -7387,7 +7416,9 @@ interface ColorInputProps extends OverlayTriggerProps$1, StylingProps, Pick<Colo
7387
7416
  * that is currently selected. If boolean, the label will be shown only when
7388
7417
  * the color is not `null`. If a function, the function will be called with
7389
7418
  * the current color and should return a string. If `false`, the label will
7390
- * not be shown.
7419
+ * not be shown, but the default trigger's accessible name still includes the
7420
+ * color name. A custom `renderTriggerButton` receives `colorName: false` and
7421
+ * is responsible for naming its trigger.
7391
7422
  *
7392
7423
  * @default true
7393
7424
  */
@@ -8273,6 +8304,14 @@ interface TagProps extends StylingProps {
8273
8304
  * @default "md"
8274
8305
  */
8275
8306
  size?: "sm" | "md";
8307
+ /**
8308
+ * The element the tag renders as. Use `span` to place a tag without
8309
+ * `onRemove` inside a button or other inline content, where a `div` is not
8310
+ * valid HTML. Has no effect inside a `TagGroup`.
8311
+ *
8312
+ * @default "div"
8313
+ */
8314
+ elementType?: "div" | "span";
8276
8315
  /**
8277
8316
  * An optional icon to display before the tag content.
8278
8317
  */
@@ -8427,6 +8466,12 @@ declare const AccordionItem: React__default.ForwardRefExoticComponent<AccordionI
8427
8466
 
8428
8467
  type SelectionMode = "single" | "multiple";
8429
8468
  interface SelectProps<M extends SelectionMode = SelectionMode> extends Omit<AriaSelectOptions<ListItem, M> & SelectStateOptions<ListItem, M> & PopoverContentProps, "validationState" | "items" | "children" | "isRequired" | "className" | "style" | "triggerRef" | "validate" | "validationBehavior" | "keyboardDelegate" | "state" | "overlayProps">, Pick<UNSAFE_ListBoxProps, "items" | "optionStyle" | "optionClassName" | "showSectionHeader">, Pick<ColorInputProps, "onTriggerPress">, StylingProps {
8469
+ /**
8470
+ * The placement of the popover relative to the trigger.
8471
+ *
8472
+ * @default "bottom start"
8473
+ */
8474
+ placement?: Placement;
8430
8475
  /**
8431
8476
  * The position of the label.
8432
8477
  *
@@ -8558,6 +8603,40 @@ interface AvatarProps extends StylingProps {
8558
8603
 
8559
8604
  declare const Avatar: React__default.ForwardRefExoticComponent<AvatarProps & React__default.RefAttributes<HTMLSpanElement>>;
8560
8605
 
8606
+ interface ImageProps extends Omit<React__default.ImgHTMLAttributes<HTMLImageElement>, "children" | "dangerouslySetInnerHTML"> {
8607
+ /** The URL of the image to display. */
8608
+ src: string;
8609
+ /**
8610
+ * The text alternative of the image. Pass an empty string when the image is
8611
+ * purely decorative.
8612
+ */
8613
+ alt: string;
8614
+ /**
8615
+ * How the image fills its container. `cover` crops the image to fill the
8616
+ * container; `contain` shows the whole image inside it.
8617
+ *
8618
+ * @default "cover"
8619
+ */
8620
+ fit?: "cover" | "contain";
8621
+ /**
8622
+ * When the browser loads the image. `lazy` defers it until the image is near
8623
+ * the viewport, which suits thumbnails in long lists; `eager` loads it right
8624
+ * away.
8625
+ *
8626
+ * @default "eager"
8627
+ */
8628
+ loading?: "lazy" | "eager";
8629
+ /**
8630
+ * Content rendered in place of the image when it fails to load or `src` is
8631
+ * empty. Without it, the browser's broken-image rendering stays. The
8632
+ * fallback replaces the `<img>`, so `alt`, `className`, `style` and the ref
8633
+ * do not apply to it; give a meaningful fallback its own accessible name.
8634
+ */
8635
+ fallback?: React__default.ReactNode;
8636
+ }
8637
+
8638
+ declare const Image: React__default.ForwardRefExoticComponent<ImageProps & React__default.RefAttributes<HTMLImageElement>>;
8639
+
8561
8640
  type ItemProps = React__default.ComponentProps<typeof _Item> & StylingProps & {
8562
8641
  key?: Key;
8563
8642
  icon?: React__default.FC<IconProps>;
@@ -8819,6 +8898,11 @@ interface FreehandCanvasProps extends StylingProps, AriaLabelingProps {
8819
8898
  value?: FreehandCanvasLine[];
8820
8899
  /** The label for the canvas. */
8821
8900
  label?: string;
8901
+ /**
8902
+ * The accessible name of the canvas. Without it, the canvas is named by
8903
+ * `label` or `aria-labelledby`, and by "Drawing canvas" when neither is set.
8904
+ */
8905
+ "aria-label"?: string;
8822
8906
  /**
8823
8907
  * Whether to enable history for undo/redo.
8824
8908
  *
@@ -8886,7 +8970,10 @@ declare const Text: React__default.ForwardRefExoticComponent<Omit<TextProps, "re
8886
8970
  interface SharedFileUploadProps extends StylingProps {
8887
8971
  /** Whether the component is disabled. */
8888
8972
  isDisabled?: boolean;
8889
- /** The description to display. */
8973
+ /**
8974
+ * Announced as the file input's description. It is visually hidden; render
8975
+ * any visible helper text yourself.
8976
+ */
8890
8977
  description?: string;
8891
8978
  /**
8892
8979
  * The accepted file types, passed through to the underlying
@@ -8922,9 +9009,11 @@ interface ImageDropZoneProps extends SharedFileUploadProps, Omit<DropOptions, "r
8922
9009
  */
8923
9010
  imageSrc?: string | File;
8924
9011
  /**
8925
- * The alt text to display for the image. This will be used as the `alt`
8926
- * attribute of the `<img>`. element. If no `imageAlt` is provided, the
8927
- * `label` will be used.
9012
+ * The alt text for the image, used as the `alt` attribute of the `<img>`
9013
+ * element. Without it the image renders with an empty `alt` and screen
9014
+ * readers skip it.
9015
+ *
9016
+ * @default ""
8928
9017
  */
8929
9018
  imageAlt?: string;
8930
9019
  /** The label to display for the picker button. */
@@ -9018,7 +9107,7 @@ interface PreviewProps extends StylingProps, AriaLabelingProps {
9018
9107
  * - "positive": Represents a positive accent color that doesn't change with
9019
9108
  * theme.
9020
9109
  *
9021
- * @default "theme"
9110
+ * @default "positive"
9022
9111
  */
9023
9112
  accent?: "theme" | "positive";
9024
9113
  }
@@ -10928,7 +11017,7 @@ interface ColorSwatchPickerProps extends StylingProps, Pick<RadioGroupProps, "op
10928
11017
 
10929
11018
  declare const ColorSwatchPicker: React__default.ForwardRefExoticComponent<ColorSwatchPickerProps & React__default.RefAttributes<HTMLDivElement>>;
10930
11019
 
10931
- 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>>;
11020
+ declare const TimeField: React__default.ForwardRefExoticComponent<StylingProps & Omit<Omit<TimeFieldStateOptions<TimeValue>, "locale"> & AriaTimeFieldProps<TimeValue>, "isRequired" | "validate" | "validationState" | "isInvalid"> & Pick<SharedInputProps, "label" | "variant" | "validationState" | "labelPosition"> & InputMessage & React__default.RefAttributes<HTMLDivElement>>;
10932
11021
 
10933
11022
  type TimeFieldProps = StylingProps & Omit<Omit<TimeFieldStateOptions, "locale"> & AriaTimeFieldProps<TimeValue>, "validationState" | "isInvalid" | "isRequired" | "validate"> & Pick<SharedInputProps, "variant" | "labelPosition" | "validationState" | "label"> & InputMessage;
10934
11023
 
@@ -11019,9 +11108,15 @@ interface TreeViewProps extends StylingProps, Omit<AriaLabelingProps, "aria-desc
11019
11108
  * triggered. If not provided, the secondary action will not be shown.
11020
11109
  */
11021
11110
  onSecondaryAction?: (key: Key$1) => void;
11022
- /** The icon to use for the primary action. */
11111
+ /**
11112
+ * The icon to use for the primary action. The action is a plain button, so
11113
+ * a `{ selected, unselected }` pair renders `unselected`.
11114
+ */
11023
11115
  primaryActionIcon?: ToggleIconButtonProps["icon"] | ((key: Key$1) => ToggleIconButtonProps["icon"]);
11024
- /** The icon to use for the secondary action. */
11116
+ /**
11117
+ * The icon to use for the secondary action. The action is a plain button,
11118
+ * so a `{ selected, unselected }` pair renders `unselected`.
11119
+ */
11025
11120
  secondaryActionIcon?: ToggleIconButtonProps["icon"] | ((key: Key$1) => ToggleIconButtonProps["icon"]);
11026
11121
  /** The aria label for the primary action. */
11027
11122
  primaryActionAriaLabel?: string | ((key: Key$1) => string);
@@ -11141,9 +11236,10 @@ interface PanelProps extends StylingProps {
11141
11236
  */
11142
11237
  maxSize?: PanelProps$1["maxSize"];
11143
11238
  /**
11144
- * Minimum allowed size for the panel, accepts value between 0 - 100
11239
+ * Minimum allowed size for the panel, accepts value between 0 - 100. When
11240
+ * omitted, the panel has no minimum size and can shrink to 0.
11145
11241
  *
11146
- * @default 10
11242
+ * @default 0
11147
11243
  */
11148
11244
  minSize?: PanelProps$1["minSize"];
11149
11245
  /** Called with current panel size on resize */
@@ -11273,7 +11369,7 @@ type DateFieldProps = StylingProps & Omit<Omit<DateFieldStateOptions, "locale">
11273
11369
  openCalendarLabel?: string;
11274
11370
  };
11275
11371
 
11276
- 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 & {
11372
+ declare const DateField: React__default.ForwardRefExoticComponent<StylingProps & Omit<Omit<DateFieldStateOptions<DateValue>, "locale"> & AriaDateFieldProps<DateValue>, "isRequired" | "validate" | "validationState" | "isInvalid" | "createCalendar"> & Pick<SharedInputProps, "label" | "variant" | "validationState" | "labelPosition"> & InputMessage & {
11277
11373
  pickerType?: DateFieldPickerType;
11278
11374
  openCalendarLabel?: string;
11279
11375
  } & React__default.RefAttributes<HTMLDivElement>>;
@@ -11339,13 +11435,21 @@ interface TaggedPaginationProps extends StylingProps, Pick<PaginationProps, "isD
11339
11435
  value?: number;
11340
11436
  /** The default value of the component. */
11341
11437
  defaultValue?: number;
11342
- /** The callback that is called when the value is changed. */
11438
+ /**
11439
+ * Called with the submitted text when a non-empty entry is submitted on
11440
+ * Enter or blur, unless it resolves to the current page. Unknown and
11441
+ * out-of-range entries are still reported.
11442
+ */
11343
11443
  onChange?: (value: number | string) => void;
11344
11444
  /** The callback that is called when the value is changed successfully. */
11345
11445
  onChangeSuccess?: (value: number) => void;
11346
11446
  /** The callback that is called when the input value is changed. */
11347
11447
  onInputChange?: (value: string) => void;
11348
- /** The description of the component. */
11448
+ /**
11449
+ * The description of the component.
11450
+ *
11451
+ * @default `${value} / ${maxValue}`, or the current page alone when `maxValue` is not finite
11452
+ */
11349
11453
  description?: string | ((value: number) => string);
11350
11454
  /**
11351
11455
  * The step of the component.
@@ -11429,7 +11533,32 @@ interface Description {
11429
11533
  label: string;
11430
11534
  icon: React__default.FC<IconProps>;
11431
11535
  }
11432
- type FloatingOptions = Pick<PopoverContentProps, "crossOffset" | "offset" | "placement"> & {
11536
+ type FloatingOptions = {
11537
+ /**
11538
+ * The placement of the display relative to the anchor.
11539
+ *
11540
+ * @default "bottom start"
11541
+ */
11542
+ placement?: Placement;
11543
+ /**
11544
+ * The distance in pixels between the display and the anchor along the main
11545
+ * axis.
11546
+ *
11547
+ * @default 0
11548
+ */
11549
+ offset?: number;
11550
+ /**
11551
+ * The distance in pixels between the display and the anchor along the cross
11552
+ * axis. With `anchorElement: "trailing"` it is 0.
11553
+ *
11554
+ * @default indicator width
11555
+ */
11556
+ crossOffset?: number;
11557
+ /**
11558
+ * The element the display is anchored to.
11559
+ *
11560
+ * @default "indicator"
11561
+ */
11433
11562
  anchorElement?: "indicator" | "trailing";
11434
11563
  };
11435
11564
  interface PointPickerDisplayProps extends StylingProps {
@@ -11785,6 +11914,16 @@ interface StepperProps extends StylingProps {
11785
11914
 
11786
11915
  declare const Stepper: React__default.ForwardRefExoticComponent<StepperProps & React__default.RefAttributes<HTMLOListElement>>;
11787
11916
 
11917
+ interface FileListItemTag {
11918
+ /** The tag text. */
11919
+ label: string;
11920
+ /**
11921
+ * The colour of the tag.
11922
+ *
11923
+ * @default "neutral"
11924
+ */
11925
+ variant?: TagVariant;
11926
+ }
11788
11927
  interface FileListItem {
11789
11928
  /** Stable identifier used to remove the item and as the listbox key. */
11790
11929
  id: string;
@@ -11792,42 +11931,88 @@ interface FileListItem {
11792
11931
  name: string;
11793
11932
  /**
11794
11933
  * Whether the item is currently uploading. When `true`, a spinner is
11795
- * rendered in place of the remove button.
11934
+ * rendered in place of the remove button. Shown in the `compact` variant
11935
+ * only.
11796
11936
  */
11797
11937
  isLoading?: boolean;
11798
11938
  /**
11799
11939
  * Primary error message. When set, the row is rendered in the error
11800
- * state with a red border and the message below the file name.
11940
+ * state with a red border and the message below the file name. Shown in
11941
+ * the `compact` variant only.
11801
11942
  */
11802
11943
  errorMessage?: React__default.ReactNode;
11803
11944
  /**
11804
11945
  * Optional secondary explanation rendered below `errorMessage` in the
11805
- * helper color.
11946
+ * helper color. Shown in the `compact` variant only.
11806
11947
  */
11807
11948
  errorExplanation?: React__default.ReactNode;
11949
+ /**
11950
+ * Secondary text rendered under the name and read as the item's accessible
11951
+ * description. Shown in the `expanded` and `grid` variants.
11952
+ */
11953
+ description?: string;
11954
+ /**
11955
+ * A status tag rendered at the end of the row and read as part of the
11956
+ * item's accessible description. Shown in the `expanded` variant, and
11957
+ * disabled with the item.
11958
+ */
11959
+ tag?: FileListItemTag;
11960
+ /**
11961
+ * A preview of the file, such as an `Image`, shown in place of the file
11962
+ * icon in the `grid` variant. An `Image` without a `fallback` shows the file
11963
+ * icon when it fails to load.
11964
+ */
11965
+ preview?: React__default.ReactNode;
11808
11966
  }
11809
11967
  interface FileListProps extends AriaLabelingProps {
11810
11968
  /** The className applied to the root element. */
11811
11969
  className?: string;
11812
11970
  /** The style applied to the root element. */
11813
11971
  style?: React__default.CSSProperties;
11972
+ /**
11973
+ * How the items are rendered.
11974
+ *
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,
11977
+ * the loading spinner and error messages.
11978
+ * - `expanded`: bordered cards with the name, `description` and `tag`.
11979
+ * Past about five rows the list scrolls.
11980
+ * - `grid`: preview tiles with the `preview`, name and `description`, up to
11981
+ * six per row. Past about two rows the grid scrolls.
11982
+ *
11983
+ * @default "compact"
11984
+ */
11985
+ variant?: "compact" | "expanded" | "grid";
11986
+ /**
11987
+ * A title rendered above the list that also labels it for assistive
11988
+ * technology.
11989
+ */
11990
+ label?: React__default.ReactNode;
11991
+ /**
11992
+ * Called with the `id` of the item the user picks by clicking it or
11993
+ * pressing Enter.
11994
+ */
11995
+ onAction?: (id: string) => void;
11814
11996
  /**
11815
11997
  * The items rendered in the list. Pass a stable reference (e.g. memoize
11816
11998
  * or hoist) when possible — every new array identity rebuilds the
11817
11999
  * underlying listbox collection.
11818
12000
  */
11819
12001
  items: FileListItem[];
11820
- /** Called when the user removes an item via the row button or Delete. */
12002
+ /**
12003
+ * Called when the user removes an item via the row button, Delete or
12004
+ * Backspace. Only the `compact` variant supports removal.
12005
+ */
11821
12006
  onRemove?: (id: string) => void;
11822
12007
  /**
11823
12008
  * Keys of items that should be disabled individually, or `"all"` to
11824
12009
  * disable every item. Disabled items cannot be removed via the row
11825
- * button or keyboard.
12010
+ * button or keyboard, or picked with `onAction`.
11826
12011
  */
11827
12012
  disabledKeys?: Iterable<string> | "all";
11828
12013
  /**
11829
12014
  * Overrides the accessible name of a file row while it is loading, and of
11830
- * its spinner.
12015
+ * its spinner. Used in the `compact` variant only.
11831
12016
  *
11832
12017
  * Message id: `bui.fileList.loading`. Defaults to `"Loading {fileName}"`.
11833
12018
  * A string is used as-is, with no placeholder substitution. To include
@@ -11839,7 +12024,7 @@ interface FileListProps extends AriaLabelingProps {
11839
12024
  }) => string);
11840
12025
  /**
11841
12026
  * Overrides the accessible name of a removable file row, telling keyboard
11842
- * users how to delete it.
12027
+ * users how to delete it. Used in the `compact` variant only.
11843
12028
  *
11844
12029
  * Message id: `bui.fileList.removeHint`. Defaults to
11845
12030
  * `"{fileName}, press Delete or Backspace to remove"`. A string is used
@@ -11858,25 +12043,41 @@ interface FileUploaderProps extends Omit<StylingProps, keyof BlockProps> {
11858
12043
  /**
11859
12044
  * The visual variant.
11860
12045
  *
11861
- * - `dropzone` (default): renders a drop area that accepts dragged and
11862
- * pasted files. Clicking anywhere in the area opens the file picker.
11863
- * - `button`: renders an `ActionButton` that opens the file picker. No
11864
- * drop target is rendered.
12046
+ * - `dropzone-box` (default): a filled drop area that accepts dragged and
12047
+ * pasted files. Clicking blank space in the area opens the file picker.
12048
+ * - `dropzone-inline`: the same drop area outlined with a dashed border and
12049
+ * rounded corners instead of a filled box.
12050
+ * - `dropzone-compact`: a one-line dashed bar with the upload icon, the
12051
+ * action text and the `description` side by side. The action text and the
12052
+ * description truncate with an ellipsis rather than wrap. The `children`
12053
+ * render below the bar, outside the drop area.
12054
+ * - `button`: an `ActionButton` that opens the file picker. No drop target
12055
+ * is rendered.
12056
+ * - `dropzone` (deprecated): an alias for `dropzone-box`, or for
12057
+ * `dropzone-inline` when `isInline` is set. Use one of the values above.
11865
12058
  *
11866
- * @default "dropzone"
12059
+ * @default "dropzone-box"
11867
12060
  */
11868
- variant?: "dropzone" | "button";
12061
+ variant?: "dropzone-box" | "dropzone-inline" | "dropzone-compact" | "button" | "dropzone";
11869
12062
  /**
11870
- * Whether the `dropzone` drop area is rendered inline — outlined with a
11871
- * dashed border and rounded corners — instead of as a plain filled box.
11872
- * Has no effect on the `button` variant.
12063
+ * Whether the drop area is rendered inline. Only honoured when `variant` is
12064
+ * omitted or the deprecated `"dropzone"`; any other `variant` ignores it.
11873
12065
  *
12066
+ * @deprecated Use `variant="dropzone-inline"`.
11874
12067
  * @default false
11875
12068
  */
11876
12069
  isInline?: boolean;
11877
12070
  /** Optional label rendered above the trigger. */
11878
12071
  label?: React__default.ReactNode;
11879
- /** Optional description rendered below the label. */
12072
+ /**
12073
+ * Optional description. The dropzone variants render it inside the drop
12074
+ * area, under the action text (beside it in `dropzone-compact`), where
12075
+ * clicking it opens the file picker; a link in it should be a Baseline
12076
+ * `Link`, since a native `<a>` also opens the picker. Keep it plain text in
12077
+ * `dropzone-compact`: it truncates there, so a link can be cut off while
12078
+ * still taking keyboard focus. The `button` variant renders it below the
12079
+ * label.
12080
+ */
11880
12081
  description?: React__default.ReactNode;
11881
12082
  /** Called when the user selects or drops new files. */
11882
12083
  onAdd?: (files: File[]) => void;
@@ -11909,12 +12110,26 @@ interface FileUploaderProps extends Omit<StylingProps, keyof BlockProps> {
11909
12110
  */
11910
12111
  buttonLabel?: string;
11911
12112
  /**
11912
- * The text rendered inside the clickable drop area in the `dropzone`
11913
- * variant.
12113
+ * The text rendered inside the clickable drop area in the dropzone
12114
+ * variants.
11914
12115
  *
11915
12116
  * @default "Drop files here or click to upload"
11916
12117
  */
11917
12118
  dropzoneLabel?: string;
12119
+ /**
12120
+ * Content offered alongside the drop area, typically a `FileList` of sample
12121
+ * files the user can pick instead of uploading one. In the `dropzone-box`
12122
+ * and `dropzone-inline` variants it renders inside the drop area, centered,
12123
+ * so a file dropped on it is still added; clicking blank space in the drop
12124
+ * area opens the file picker, and clicking an item, button or link does not.
12125
+ * Use Baseline components for anything clickable here: a native `<button>`,
12126
+ * `<a>` or `<input>` also opens the picker. Use the `grid` `FileList`
12127
+ * variant here; an `expanded` list shrinks to its widest card. The `button`
12128
+ * and `dropzone-compact` variants render it below the control. Disabling the
12129
+ * uploader disables a `FileList` passed here. To show samples outside the
12130
+ * drop area, render the `FileList` next to the uploader instead.
12131
+ */
12132
+ children?: React__default.ReactNode;
11918
12133
  }
11919
12134
 
11920
12135
  declare const FileUploader: React__default.ForwardRefExoticComponent<FileUploaderProps & React__default.RefAttributes<HTMLDivElement>>;
@@ -12090,11 +12305,14 @@ declare function useImage({ src, alt }: {
12090
12305
  *
12091
12306
  * @example
12092
12307
  * ```tsx
12093
- * const { state, push, undo, redo, pastStates, futureStates, canUndo, canRedo } = useUndoRedo({
12094
- * onAction: (state, action) => {
12095
- * // do something
12308
+ * const { state, push, undo, redo, pastStates, futureStates, canUndo, canRedo } = useUndoRedo(
12309
+ * { foo: "" },
12310
+ * {
12311
+ * onAction: (state, action) => {
12312
+ * // do something
12313
+ * },
12096
12314
  * },
12097
- * });
12315
+ * );
12098
12316
  *
12099
12317
  * // push a new state
12100
12318
  * push({ foo: "bar" });
@@ -12131,9 +12349,11 @@ declare const useUndoRedo: <T>(initialState: T | undefined, { isDisabled, onActi
12131
12349
  };
12132
12350
 
12133
12351
  /**
12134
- * This hook returns true if the component is being rendered for the first time.
12135
- * This is useful for avoiding side effects on the first render inside of
12136
- * useEffect.
12352
+ * This hook returns true during the component's first render and false on
12353
+ * every render after that. It does not trigger a re-render itself: the value
12354
+ * only changes once something else re-renders the component. This is useful
12355
+ * for skipping an effect on mount. Keep `isFirstRender` out of the effect's
12356
+ * dependencies, or its change to `false` re-runs the effect on the next render.
12137
12357
  *
12138
12358
  * @example
12139
12359
  * ```tsx
@@ -12141,14 +12361,11 @@ declare const useUndoRedo: <T>(initialState: T | undefined, { isDisabled, onActi
12141
12361
  *
12142
12362
  * useEffect(() => {
12143
12363
  * if (isFirstRender) return;
12144
- * // do something
12145
- * return () => {
12146
- * // do something on unmount
12147
- * };
12148
- * }, [isFirstRender]);
12364
+ * // runs when `value` changes, not on mount
12365
+ * }, [value]);
12149
12366
  * ```;
12150
12367
  *
12151
- * @returns Whether or not the component is being rendered for the first time
12368
+ * @returns Whether the component is being rendered for the first time
12152
12369
  */
12153
12370
  declare function useIsFirstRender(): boolean;
12154
12371
 
@@ -12412,6 +12629,9 @@ type SetValue<T> = Dispatch<SetStateAction<T>>;
12412
12629
  /**
12413
12630
  * A hook to persist a value to localStorage.
12414
12631
  *
12632
+ * The server render and hydration use `initialValue`; the stored value is read
12633
+ * right after hydration.
12634
+ *
12415
12635
  * @example
12416
12636
  * ```tsx
12417
12637
  * function MyComponent() {
@@ -12595,5 +12815,5 @@ declare namespace reactStately {
12595
12815
  export type { reactStately_Color as Color, reactStately_ListData as ListData, reactStately_TreeData as TreeData };
12596
12816
  }
12597
12817
 
12598
- export { Accordion, AccordionItem, ActionButton, ActionGroup, ActionGroupItem, ActionIconButton, Actionable, AlertDialog, AudioPlayer, Autocomplete, Avatar, Box, Breadcrumb, Breadcrumbs, ButtonSelect, Calendar, Cell, Checkbox, Code, ColorInput, ColorSwatch, ColorSwatchPicker, Column, ComboBox, DateField, DateFormat, DefaultListOption, DeviceProvider, DeviceProviderContext, Dialog, DialogTitle, Disclosure, DomNodeRenderer, Drawer, EMPTY_SELECTION_STATE, Editor, EditorCore, EditorProvider, FileInput, FileList$1 as FileList, FileUploader, FocusScope, Focusable, FrameProvider, FreehandCanvas, GlobalToastRegion, GridLayout, GridList, Group, I18nProvider, Icon, IconColorInput, IconColorInputButton, IconSelect, IconSlider, ImageDropZone, ImageGallery, InlineAlert, Kbd, Link, ListBox, ListLayout, LocaleAwareGridLayout, Markdown, Menu, MessageFormat, Modal, ModalClose, ModalContent, ModalTrigger, NumberFormat, NumberInput, Pagination, Panel, PanelGroup, PanelResizeHandle, PointPicker, PointPickerContent, PointPickerDisplay, Popover, PopoverContent, PopoverTrigger, Portal, PortalContainerProvider, Pressable, Preview, ProgressBar, ProgressSpinner, REACT_ARIA_INCOMPATIBLE_KEYS, RadioGroup, RangeCalendar, Reaction, Row, ScrollControlButton, SearchInput, Select, Separator, Size, Skeleton, Slider, StatusCard, Stepper, Switch, TabItem, Table, TableBody, TableHeader, TableLayout, Tabs, Tag, TagGroup, TaggedPagination, Text, TextInput, ThemeProvider, TimeField, ToastQueue, ToggleButton, ToggleIconButton, Toolbar, Tooltip, TreeView, UNSAFE_ListBox, reactAria as UNSAFE_aria, reactStately as UNSAFE_stately, VIRTUALIZER_LAYOUT_DEFAULT_OPTIONS, Virtualizer, VisuallyHidden, WaterfallLayout, announce, areColorsEqual, booleanOrObjectToConfig, calculateFontSizeToFitWidth, capitalize, clamp, classNames, cleanKeyFromGlobImport, clearAnnouncer, comparePoints, createMessageFormatter, defineMessages, destroyAnnouncer, devWarnOnce, directionVar, disableAnimations, docEnd, docStart, enableAnimations, filterDOMProps, filterTruthyValues, findFocusableElements, getAbsoluteBounds, getAbsolutePosition, getActiveElement, getPlainText as getDocPlainText, getHTMLElement, getOsSpecificKeyboardShortcutLabel, getOwnerDocument, getPlainText$1 as getPlainText, getSvgPathFromStroke, getTextDimensions, handleEditorShortcut, iconMap, invariant, isFocusableElement, isInIframe, isInShadowDOM, isInputThatOpensKeyboard, isInsideOverlayContent, isRect, isUrl, legacyMessageIdMap, lightenColor, mergeProps, mergeRefs, messageIds, onDropOrPaste, parseColor, safeSpreadProps, useCollator, useDateFormatter, useDevice, useDragAndDrop, useEditable, useEditor, useEditorContext, useFilter, useFocusRing, useFocusVisible, useFrameDimensions, useI18n, useId, useImage, useInteractionModality, useIntersectionObserver, useIsFirstRender, useKeyboard, useListData, useLiveInteractionModality, useLocalStorage, useLocale, useMutationObserver, useNumberFormatter, useObjectRef, usePointProximity, usePortalContainer, usePreventFocus, useResizeObserver, useTableDragAndDrop, useTextSelection, useUndoRedo, useUserPreferences };
12599
- export type { AccordionItemProps, AccordionProps, ActionButtonProps, ActionGroupProps, ActionIconButtonProps, ActionableProps, ActiveMarks, AlertDialogProps, AudioPlayerProps, AutocompleteProps, AvatarProps, BlockProps, BoundaryAxis, BoxProps, BreadcrumbProps, BreadcrumbsProps, ButtonSelectProps, CalendarHeaderVariant, CalendarProps, CalendarSize, CellProps, CheckboxProps, CodeProps, ColorInputProps, ColorPreset, ColorSwatchPickerProps, ColorSwatchProps, ColumnProps, ComboBoxProps, CommandArgs, CommandName, CreateMessageFormatterOptions, DateFieldPickerType, DateFieldProps, DateFormatProps, Device, DeviceProviderProps, DialogProps, DialogTitleProps, DisclosureProps, DomNodeRendererProps, DrawerProps, EditableProps, EditorCoreOptions, EditorHandle, EditorProps, EditorProviderProps, EditorState, EditorStyle, FileInputProps, FileListItem, FileListProps, FileUploaderProps, FocusableProps, FrameProviderProps, FreehandCanvasProps, GridListProps, GroupProps, HorizontalBoundaryBehavior, I18nProviderProps, I18nResult, IconColorInputProps, IconComponentProps$1 as IconComponentProps, IconProps, IconSelectProps, IconSliderProps, ImageDropZoneProps, ImageGalleryProps, ImperativePanelGroupHandle, ImperativePanelHandle, InlineAlertProps, IntersectionObserverOptions, KbdProps, Key, LinkProps, ListBoxProps, ListHandle$1 as ListHandle, ListOption, MarkName, MarkdownProps, MenuItem, MenuProps, MessageDescriptor, MessageFormatProps, MessageFormatter, MessageId, MessageIssue, MessageIssueCode, ModalContentProps, ModalProps, ModelPoint, ModelRange, NumberFormatProps, NumberInputProps, PaginationProps, PanelGroupProps, PanelProps, PanelResizeHandleProps, PointPickerContentProps, PointPickerDisplayProps, PointPickerProps, PopoverContentHandle, PopoverContentProps, PopoverProps, PopoverTriggerProps, PortalProps, PressEvent, PreviewProps, ProgressBarProps, ProgressSpinnerProps, RadioGroupProps, RangeCalendarProps, ReactAriaIncompatibleKey, ReactionProps, Rect, ResizeObserverOptions, RichTextEditorDoc, RichTextEditorInline, RichTextEditorLink, RichTextEditorMention, RichTextEditorMentionInput, RichTextEditorParagraph, RichTextEditorText, RowProps, SVGRProps, SafeDOMAttributes, ScrollControlButtonProps, SearchInputProps, SelectOptions, SelectProps, SelectionState, SeparatorProps, SetValue, SkeletonProps, SliderProps, StatusCardProps, StepperItem, StepperProps, StylingProps, SwitchProps, TabItemProps, TableBodyProps, TableHeaderProps, TableProps, TabsProps, TagGroupProps, TagProps, TagVariant, TaggedPaginationProps, TextInputProps, TextProps, TextSelectionProps, ThemeProviderProps, TimeFieldProps, ToastProps, ToggleButtonProps, ToggleIconButtonProps, ToolbarProps, TooltipProps, TreeItemRenderState, TreeListItem, TreeViewProps, UNSAFE_ListBoxProps, UseEditableOptions, UseEditorOptions, UseTableDragAndDropOptions, ValueMarkKey, VirtualizerProps };
12818
+ export { Accordion, AccordionItem, ActionButton, ActionGroup, ActionGroupItem, ActionIconButton, Actionable, AlertDialog, AudioPlayer, Autocomplete, Avatar, Box, Breadcrumb, Breadcrumbs, ButtonSelect, Calendar, Cell, Checkbox, Code, ColorInput, ColorSwatch, ColorSwatchPicker, Column, ComboBox, DateField, DateFormat, DefaultListOption, DeviceProvider, DeviceProviderContext, Dialog, DialogTitle, Disclosure, DomNodeRenderer, Drawer, EMPTY_SELECTION_STATE, Editor, EditorCore, EditorProvider, FileInput, FileList$1 as FileList, FileUploader, FocusScope, Focusable, FrameProvider, FreehandCanvas, GlobalToastRegion, GridLayout, GridList, Group, I18nProvider, Icon, IconColorInput, IconColorInputButton, IconSelect, IconSlider, Image, ImageDropZone, ImageGallery, InlineAlert, Kbd, Link, ListBox, ListLayout, LocaleAwareGridLayout, Markdown, Menu, MessageFormat, Modal, ModalClose, ModalContent, ModalTrigger, NumberFormat, NumberInput, Pagination, Panel, PanelGroup, PanelResizeHandle, PointPicker, PointPickerContent, PointPickerDisplay, Popover, PopoverContent, PopoverTrigger, Portal, PortalContainerProvider, Pressable, Preview, ProgressBar, ProgressSpinner, REACT_ARIA_INCOMPATIBLE_KEYS, RadioGroup, RangeCalendar, Reaction, Row, ScrollControlButton, SearchInput, Select, Separator, Size, Skeleton, Slider, StatusCard, Stepper, Switch, TabItem, Table, TableBody, TableHeader, TableLayout, Tabs, Tag, TagGroup, TaggedPagination, Text, TextInput, ThemeProvider, TimeField, ToastQueue, ToggleButton, ToggleIconButton, Toolbar, Tooltip, TreeView, UNSAFE_ListBox, reactAria as UNSAFE_aria, reactStately as UNSAFE_stately, VIRTUALIZER_LAYOUT_DEFAULT_OPTIONS, Virtualizer, VisuallyHidden, WaterfallLayout, announce, areColorsEqual, booleanOrObjectToConfig, calculateFontSizeToFitWidth, capitalize, clamp, classNames, cleanKeyFromGlobImport, clearAnnouncer, comparePoints, createMessageFormatter, defineMessages, destroyAnnouncer, devWarnOnce, directionVar, disableAnimations, docEnd, docStart, enableAnimations, filterDOMProps, filterTruthyValues, findFocusableElements, getAbsoluteBounds, getAbsolutePosition, getActiveElement, getPlainText as getDocPlainText, getHTMLElement, getOsSpecificKeyboardShortcutLabel, getOwnerDocument, getPlainText$1 as getPlainText, getSvgPathFromStroke, getTextDimensions, handleEditorShortcut, iconMap, invariant, isFocusableElement, isInIframe, isInShadowDOM, isInputThatOpensKeyboard, isInsideOverlayContent, isRect, isUrl, legacyMessageIdMap, lightenColor, mergeProps, mergeRefs, messageIds, onDropOrPaste, parseColor, safeSpreadProps, useCollator, useDateFormatter, useDevice, useDragAndDrop, useEditable, useEditor, useEditorContext, useFilter, useFocusRing, useFocusVisible, useFrameDimensions, useI18n, useId, useImage, useInteractionModality, useIntersectionObserver, useIsFirstRender, useKeyboard, useListData, useLiveInteractionModality, useLocalStorage, useLocale, useMutationObserver, useNumberFormatter, useObjectRef, usePointProximity, usePortalContainer, usePreventFocus, useResizeObserver, useTableDragAndDrop, useTextSelection, useUndoRedo, useUserPreferences };
12819
+ export type { AccordionItemProps, AccordionProps, ActionButtonProps, ActionGroupProps, ActionIconButtonProps, ActionableProps, ActiveMarks, AlertDialogProps, AudioPlayerProps, AutocompleteProps, AvatarProps, BlockProps, BoundaryAxis, BoxProps, BreadcrumbProps, BreadcrumbsProps, ButtonSelectProps, CalendarHeaderVariant, CalendarProps, CalendarSize, CellProps, CheckboxProps, CodeProps, ColorInputProps, ColorPreset, ColorSwatchPickerProps, ColorSwatchProps, ColumnProps, ComboBoxProps, CommandArgs, CommandName, CreateMessageFormatterOptions, DateFieldPickerType, DateFieldProps, DateFormatProps, Device, DeviceProviderProps, DialogProps, DialogTitleProps, DisclosureProps, DomNodeRendererProps, DrawerProps, EditableProps, EditorCoreOptions, EditorHandle, EditorProps, EditorProviderProps, EditorState, EditorStyle, FileInputProps, FileListItem, FileListItemTag, FileListProps, FileUploaderProps, FocusableProps, FrameProviderProps, FreehandCanvasProps, GridListProps, GroupProps, HorizontalBoundaryBehavior, I18nProviderProps, I18nResult, IconColorInputProps, IconComponentProps$1 as IconComponentProps, IconProps, IconSelectProps, IconSliderProps, ImageDropZoneProps, ImageGalleryProps, ImageProps, ImperativePanelGroupHandle, ImperativePanelHandle, InlineAlertProps, IntersectionObserverOptions, KbdProps, Key, LinkProps, ListBoxProps, ListHandle$1 as ListHandle, ListOption, MarkName, MarkdownProps, MenuItem, MenuProps, MessageDescriptor, MessageFormatProps, MessageFormatter, MessageId, MessageIssue, MessageIssueCode, ModalContentProps, ModalProps, ModelPoint, ModelRange, NumberFormatProps, NumberInputProps, PaginationProps, PanelGroupProps, PanelProps, PanelResizeHandleProps, PointPickerContentProps, PointPickerDisplayProps, PointPickerProps, PopoverContentHandle, PopoverContentProps, PopoverProps, PopoverTriggerProps, PortalProps, PressEvent, PreviewProps, ProgressBarProps, ProgressSpinnerProps, RadioGroupProps, RangeCalendarProps, ReactAriaIncompatibleKey, ReactionProps, Rect, ResizeObserverOptions, RichTextEditorDoc, RichTextEditorInline, RichTextEditorLink, RichTextEditorMention, RichTextEditorMentionInput, RichTextEditorParagraph, RichTextEditorText, RowProps, SVGRProps, SafeDOMAttributes, ScrollControlButtonProps, SearchInputProps, SelectOptions, SelectProps, SelectionState, SeparatorProps, SetValue, SkeletonProps, SliderProps, StatusCardProps, StepperItem, StepperProps, StylingProps, SwitchProps, TabItemProps, TableBodyProps, TableHeaderProps, TableProps, TabsProps, TagGroupProps, TagProps, TagVariant, TaggedPaginationProps, TextInputProps, TextProps, TextSelectionProps, ThemeProviderProps, TimeFieldProps, ToastProps, ToggleButtonProps, ToggleIconButtonProps, ToolbarProps, TooltipProps, TreeItemRenderState, TreeListItem, TreeViewProps, UNSAFE_ListBoxProps, UseEditableOptions, UseEditorOptions, UseTableDragAndDropOptions, ValueMarkKey, VirtualizerProps };