@midas-ds/components 10.2.0 → 10.3.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 (341) hide show
  1. package/{AccordionItem-Z_c9MpAM.cjs → AccordionItem-BGWiWjxA.cjs} +1 -1
  2. package/{AccordionItem-DZT76sWu.js → AccordionItem-ChHpW8EW.js} +11 -11
  3. package/{BadgeContainer-D3RtqcPF.js → BadgeContainer-DM8TdyMT.js} +4 -4
  4. package/{BadgeContainer-DeUgqGqb.cjs → BadgeContainer-I1XA3OCl.cjs} +1 -1
  5. package/{Breadcrumbs-CmZXtTiS.js → Breadcrumbs-CwDUNIqF.js} +34 -34
  6. package/{Breadcrumbs-Cx09jwZZ.cjs → Breadcrumbs-DtjJ1UmU.cjs} +1 -1
  7. package/{Button-iSiWjocA.cjs → Button-BoJl6JGM.cjs} +1 -1
  8. package/{Button-CbFRzRrF.js → Button-Csih3v23.js} +2 -2
  9. package/Button-DjBChs7s.js +340 -0
  10. package/Button-htW9qIsS.cjs +1 -0
  11. package/Button.module-DEQtBYe5.cjs +1 -0
  12. package/Button.module-tti8HGxs.js +14 -0
  13. package/CHANGELOG.md +20 -0
  14. package/Card-0G0mj9q5.cjs +1 -0
  15. package/{Card-CaKKKv9k.js → Card-yrtGzt70.js} +5 -5
  16. package/CharacterCounter-BL_nZHya.js +22 -0
  17. package/{CharacterCounter-CrY8QRuY.cjs → CharacterCounter-CHcTDHO-.cjs} +1 -1
  18. package/Checkbox-5HINZdGu.js +263 -0
  19. package/Checkbox-DqcPg5hz.cjs +1 -0
  20. package/CheckboxGroup-BBrSMuDY.cjs +1 -0
  21. package/CheckboxGroup-CLgixk2p.js +243 -0
  22. package/{Collection-Csx3L9gh.cjs → Collection-BIDsXNhi.cjs} +1 -1
  23. package/{Collection-C5ONNBqd.js → Collection-Brgjpkne.js} +4 -4
  24. package/{ColorSchemeSwitch-CbAWIJCg.js → ColorSchemeSwitch-BpzQ7g0b.js} +9 -9
  25. package/{ColorSchemeSwitch-JRrCyYVv.cjs → ColorSchemeSwitch-C-qWuqkU.cjs} +2 -2
  26. package/{ComboBox-BCaqPEIH.js → ComboBox-CVDyp2a-.js} +331 -327
  27. package/ComboBox-CWJUg9Xx.cjs +1 -0
  28. package/DateField-DeDhiYnW.cjs +1 -0
  29. package/DateField-DhU3q-rG.js +47 -0
  30. package/DateInputDivider-ADvOavHw.cjs +1 -0
  31. package/{DateInputDivider-Dx8n1Lxp.js → DateInputDivider-CF4xWsMT.js} +71 -75
  32. package/DateRangePicker-BsAHhy99.cjs +6 -0
  33. package/{DateRangePicker-BmBvwqo6.js → DateRangePicker-ziD1_k1W.js} +194 -194
  34. package/Dialog-B8GTYbvu.cjs +1 -0
  35. package/{Dialog-CwTEAujZ.cjs → Dialog-BOrYdX50.cjs} +1 -1
  36. package/{Dialog-Bxx8cBEq.js → Dialog-CXNu48AC.js} +25 -25
  37. package/{Dialog-CYxThuMl.js → Dialog-D14MbJ7o.js} +564 -540
  38. package/{DragAndDrop-HvycSrKY.cjs → DragAndDrop-DNth776R.cjs} +1 -1
  39. package/{DragAndDrop-CSwmPhxC.js → DragAndDrop-o3ruz_SR.js} +8 -8
  40. package/{Dropdown-CaGon9OR.cjs → Dropdown-CJ6My6EI.cjs} +1 -1
  41. package/{Dropdown-nkjzsVYX.js → Dropdown-Df58j43I.js} +2 -2
  42. package/FieldError-CAcjosk_.js +46 -0
  43. package/FieldError-CKBb2-mp.cjs +1 -0
  44. package/{FileUpload-DYRZ0M9F.cjs → FileUpload-CxCOtyB9.cjs} +2 -2
  45. package/{FileUpload-ULwcYDxs.js → FileUpload-D6qoEAjn.js} +149 -148
  46. package/FocusScope-5c9SVBcR.cjs +1 -0
  47. package/{FocusScope-DwIqdYpQ.js → FocusScope-CxkURfoc.js} +16 -16
  48. package/{Group-CeSsSQVC.js → Group-B6EslsHZ.js} +5 -5
  49. package/{Heading-BY5-QN4S.js → Heading-BFtiin0g.js} +7 -7
  50. package/{Heading-DoJAtYZf.cjs → Heading-mHhCbGjY.cjs} +1 -1
  51. package/{Hidden-B5ir3Lei.js → Hidden-C9KWUR7b.js} +2 -2
  52. package/{InfoBanner-CVIBFSWx.js → InfoBanner-BLM-TJJ6.js} +15 -14
  53. package/InfoBanner-C2kTIsrB.cjs +1 -0
  54. package/{Input-D8Ku_FQz.js → Input-BTzwcf72.js} +10 -10
  55. package/Label-7Ybb99CE.cjs +1 -0
  56. package/Label-BwJrdqEE.js +70 -0
  57. package/{Layout-BWeHHnqU.cjs → Layout-1g6bMH62.cjs} +2 -2
  58. package/{Layout-CCt_2L1k.js → Layout-Ey8flY7E.js} +9 -9
  59. package/{Link-DsnCtNeI.cjs → Link-B88l_oaE.cjs} +1 -1
  60. package/{Link-SHMbeyIP.cjs → Link-BQhauBuw.cjs} +1 -1
  61. package/{Link-uFowN4qv.js → Link-DX5BbBnn.js} +1 -1
  62. package/{Link-B-nus-FT.js → Link-yNO2-sqx.js} +17 -17
  63. package/LinkButton-CBpGLETx.cjs +6 -0
  64. package/LinkButton-o6uS1XsR.js +69 -0
  65. package/ListBox-DP9M4H6R.cjs +1 -0
  66. package/{ListBox-DOi_y_Lt.js → ListBox-GnVK_Pdq.js} +72 -73
  67. package/{ListBoxButton-CFeNhJhr.cjs → ListBoxButton-DPBrtXyv.cjs} +1 -1
  68. package/{ListBoxButton-O6zN3P4W.js → ListBoxButton-D_J3jlP0.js} +1 -1
  69. package/{ListBoxSection-DGCP6xpf.cjs → ListBoxSection-BGaigBnG.cjs} +1 -1
  70. package/{ListBoxSection-C1aLKL9p.js → ListBoxSection-C0BGnpB4.js} +9 -9
  71. package/{ListKeyboardDelegate-DNOzQ8nc.js → ListKeyboardDelegate-DNI8GQtX.js} +24 -15
  72. package/ListKeyboardDelegate-DTg9h4v6.cjs +1 -0
  73. package/{OverlayArrow-DorA4Rbr.js → OverlayArrow-CDLXPTew.js} +44 -44
  74. package/Popover-BGGXeD54.js +38 -0
  75. package/Popover-CqNWzPf-.cjs +1 -0
  76. package/{ProgressBar-gmAzSsrz.js → ProgressBar-DMSg-Prr.js} +2 -2
  77. package/ProgressBar-Jbg28j2a.cjs +1 -0
  78. package/Radio-BwqrdhQE.cjs +1 -0
  79. package/{Radio-_ukSkxPT.js → Radio-Cz29wPXd.js} +71 -71
  80. package/RangeCalendar-BehUaydF.cjs +11 -0
  81. package/{RangeCalendar-uXwoBL-O.js → RangeCalendar-RAlAHlNL.js} +25 -27
  82. package/{SearchField-6yBGiojX.cjs → SearchField-CxMwDeUM.cjs} +2 -2
  83. package/{SearchField-DYl2uo7o.js → SearchField-IlvZ3Kh6.js} +11 -11
  84. package/Select-2q1iSzAX.cjs +1 -0
  85. package/{Select-PvCqY7Lp.js → Select-BVQZtoi9.js} +232 -232
  86. package/{SelectionManager-6H88Cv6B.js → SelectionManager-B4ORduja.js} +26 -27
  87. package/SelectionManager-CwYux2h3.cjs +1 -0
  88. package/{Separator-LYnFqh4L.js → Separator-Cu9fYKUM.js} +19 -20
  89. package/Separator-DECIYLtZ.cjs +1 -0
  90. package/{Spinner-DAJtfxqJ.cjs → Spinner-P35rvvsl.cjs} +1 -1
  91. package/Table-B40CGLT-.cjs +16 -0
  92. package/{Table-B_N7wUmA.js → Table-F4oYBtUM.js} +69 -73
  93. package/{Tabs-Ct6D83aR.js → Tabs-B4oZJkZG.js} +39 -39
  94. package/{Tabs-Dtcl2oK2.cjs → Tabs-DA2qXhzb.cjs} +1 -1
  95. package/Tag-DPAGmcMK.cjs +1 -0
  96. package/{Tag-g6HN-YCv.js → Tag-Du7GvSv2.js} +151 -154
  97. package/Text-BoXuUVVH.js +15 -0
  98. package/{Text-BN-g1iWi.js → Text-jWWg0B20.js} +1 -1
  99. package/TextArea-C7JZ_pQd.cjs +1 -0
  100. package/TextArea-XeBCSyzl.js +191 -0
  101. package/TextField-BgNdhZi_.cjs +1 -0
  102. package/{TextField-DBaRuNj7.js → TextField-C-hTPukq.js} +16 -16
  103. package/Toast-AbDA1BOs.cjs +1 -0
  104. package/{Toast-CjpldAI8.js → Toast-Btg21Xge.js} +32 -31
  105. package/{ToggleButtonGroup-Ceh9_yBM.js → ToggleButtonGroup-B5yz1tm2.js} +7 -7
  106. package/{ToggleButtonGroup-BuU_6dYe.cjs → ToggleButtonGroup-BFDoj0P6.cjs} +1 -1
  107. package/{Tooltip-BAIjaYax.js → Tooltip-CMLs7WMw.js} +33 -33
  108. package/{Tooltip-CiWg4zIC.cjs → Tooltip-DeBuBKhS.cjs} +1 -1
  109. package/{VisuallyHidden-CtXvK_Tw.cjs → VisuallyHidden-CLWHbz2n.cjs} +1 -1
  110. package/{VisuallyHidden-D-4z1VgU.js → VisuallyHidden-ZCYf65q4.js} +8 -8
  111. package/accordion/index.cjs +1 -1
  112. package/accordion/index.js +1 -1
  113. package/{arrow-right-Cw48o2oW.cjs → arrow-right-QJ2gXPKQ.cjs} +1 -1
  114. package/assets/Button.css +1 -1
  115. package/assets/Label.css +1 -1
  116. package/assets/LinkButton.css +1 -1
  117. package/assets/Popover.css +1 -0
  118. package/badge/index.cjs +1 -1
  119. package/badge/index.js +1 -1
  120. package/breadcrumbs/index.cjs +1 -1
  121. package/breadcrumbs/index.js +1 -1
  122. package/button/index.cjs +1 -1
  123. package/button/index.js +1 -1
  124. package/calendar/index.cjs +1 -1
  125. package/calendar/index.js +1 -1
  126. package/card/index.cjs +1 -1
  127. package/card/index.js +1 -1
  128. package/character-counter/index.cjs +1 -1
  129. package/character-counter/index.js +1 -1
  130. package/{check-Dw9c62O4.cjs → check-D_KoootC.cjs} +1 -1
  131. package/checkbox/Checkbox.d.ts +2 -2
  132. package/checkbox/CheckboxGroup.d.ts +8 -8
  133. package/checkbox/CheckboxGroupFieldError.d.ts +8 -0
  134. package/checkbox/CheckboxGroupItem.d.ts +3 -0
  135. package/checkbox/CheckboxInner.d.ts +2 -0
  136. package/checkbox/SingleCheckbox.d.ts +3 -0
  137. package/checkbox/context.d.ts +3 -0
  138. package/checkbox/index.cjs +1 -1
  139. package/checkbox/index.d.ts +2 -1
  140. package/checkbox/index.js +2 -2
  141. package/checkbox/intl/translations.json.d.ts +35 -0
  142. package/checkbox/types.d.ts +14 -0
  143. package/checkbox/useSelectAll.d.ts +7 -0
  144. package/{chevron-down-C2E7aZ3N.cjs → chevron-down-jl83cllc.cjs} +1 -1
  145. package/{info-DkzVqB8I.js → circle-check-B9HYcH7Z.js} +4 -16
  146. package/{info-DlzSeKbc.cjs → circle-check-BGo8gML8.cjs} +2 -7
  147. package/color-scheme-switch/index.cjs +1 -1
  148. package/color-scheme-switch/index.js +1 -1
  149. package/combobox/ComboBox.d.ts +3 -1
  150. package/combobox/index.cjs +1 -1
  151. package/combobox/index.js +1 -1
  152. package/{context-B8cn10po.js → context-C81gPYvC.js} +11 -11
  153. package/{createLucideIcon-DAY4oS-S.cjs → createLucideIcon-Cg_wkoIA.cjs} +1 -1
  154. package/date-field/DateField.d.ts +3 -0
  155. package/date-field/index.cjs +1 -1
  156. package/date-field/index.js +2 -2
  157. package/date-picker/DatePicker.d.ts +3 -0
  158. package/date-picker/DateRangePicker.d.ts +3 -0
  159. package/date-picker/index.cjs +1 -1
  160. package/date-picker/index.js +1 -1
  161. package/dropdown/index.cjs +1 -1
  162. package/dropdown/index.js +1 -1
  163. package/field-error/index.cjs +1 -1
  164. package/field-error/index.js +1 -1
  165. package/file-upload/FileUpload.d.ts +3 -0
  166. package/file-upload/index.cjs +1 -1
  167. package/file-upload/index.js +1 -1
  168. package/{getScrollParent-Ru2U2LlM.js → getScrollParent-BhFcYrwL.js} +1 -1
  169. package/{getScrollParent-DuKmPmUa.cjs → getScrollParent-DDJu9WHU.cjs} +1 -1
  170. package/heading/index.cjs +1 -1
  171. package/heading/index.js +1 -1
  172. package/{index-BSMrH_Du.js → index-CGRFP4CC.js} +7 -7
  173. package/{index-D97L3EBk.cjs → index-Dsz3aiWt.cjs} +2 -2
  174. package/index.cjs +1 -1
  175. package/index.d.ts +1 -0
  176. package/index.js +80 -78
  177. package/inertValue-B3AFhVG4.cjs +1 -0
  178. package/info-BZwphdye.js +15 -0
  179. package/info-CIEIENo6.cjs +6 -0
  180. package/info-banner/index.cjs +1 -1
  181. package/info-banner/index.js +1 -1
  182. package/label/InfoPopover.d.ts +9 -0
  183. package/label/LabelWrapper.d.ts +11 -0
  184. package/label/index.cjs +1 -1
  185. package/label/index.d.ts +1 -0
  186. package/label/index.js +1 -1
  187. package/layout/index.cjs +1 -1
  188. package/layout/index.js +1 -1
  189. package/link/index.cjs +1 -1
  190. package/link/index.js +2 -2
  191. package/link-button/index.cjs +1 -1
  192. package/link-button/index.js +2 -2
  193. package/list-box/index.cjs +1 -1
  194. package/list-box/index.js +2 -2
  195. package/modal/index.cjs +1 -1
  196. package/modal/index.js +2 -2
  197. package/package.json +1 -1
  198. package/popover/Popover.d.ts +7 -0
  199. package/popover/index.cjs +1 -0
  200. package/popover/index.d.ts +1 -0
  201. package/popover/index.js +4 -0
  202. package/progress-bar/index.cjs +1 -1
  203. package/progress-bar/index.js +1 -1
  204. package/radio/Radio.d.ts +3 -0
  205. package/radio/index.cjs +1 -1
  206. package/radio/index.js +1 -1
  207. package/scrollIntoView-C8doLzDd.cjs +1 -0
  208. package/scrollIntoView-Hwb_aaNf.js +87 -0
  209. package/search-field/index.cjs +1 -1
  210. package/search-field/index.js +1 -1
  211. package/select/index.cjs +1 -1
  212. package/select/index.js +1 -1
  213. package/spinner/index.cjs +1 -1
  214. package/{square-arrow-out-up-right-BCAO2eJs.cjs → square-arrow-out-up-right-V4Gd08uI.cjs} +1 -1
  215. package/table/index.cjs +1 -1
  216. package/table/index.js +1 -1
  217. package/tabs/index.cjs +1 -1
  218. package/tabs/index.js +1 -1
  219. package/tag/index.cjs +1 -1
  220. package/tag/index.js +1 -1
  221. package/text/index.js +1 -1
  222. package/textfield/TextFieldBase.d.ts +2 -0
  223. package/textfield/index.cjs +1 -1
  224. package/textfield/index.js +1 -1
  225. package/toast/index.cjs +1 -1
  226. package/toast/index.js +1 -1
  227. package/toggle-button/index.cjs +1 -1
  228. package/toggle-button/index.js +1 -1
  229. package/tooltip/index.cjs +1 -1
  230. package/tooltip/index.js +1 -1
  231. package/{triangle-alert-C0lvfCYH.cjs → triangle-alert-DJW8U7jL.cjs} +1 -1
  232. package/{useButton-C-Lq7CNY.js → useButton-B8dB9sot.js} +6 -6
  233. package/{useButton-B1Fa-6qE.cjs → useButton-cpNi-fY4.cjs} +1 -1
  234. package/{useDateFormatter-g2maMTGH.cjs → useDateFormatter-CnxoJ4jF.cjs} +1 -1
  235. package/{useDateFormatter-C53Uxdli.js → useDateFormatter-EHm4auIg.js} +2 -2
  236. package/{useEvent-CjkbBniY.cjs → useEvent-DxBxMX2V.cjs} +1 -1
  237. package/{useEvent-Cyd2ZL0c.js → useEvent-IsD2Awnh.js} +1 -1
  238. package/useField-CXKYU74k.cjs +1 -0
  239. package/{useField-BPMAlIbU.js → useField-DvpGZkw_.js} +7 -7
  240. package/useFilter-BTgDWHVx.cjs +1 -0
  241. package/{useFilter-ChIbnALW.js → useFilter-CUq74PQ2.js} +1 -1
  242. package/{useFocusRing-BDGH3lpn.js → useFocusRing-XnR3cZjO.js} +1 -1
  243. package/useFocusable-C8uh8K4g.js +125 -0
  244. package/useFocusable-NUVSFcRC.cjs +1 -0
  245. package/{useFormValidation-R8hQIjWP.js → useFormValidation-BIGzfO9h.js} +5 -5
  246. package/{useHasTabbableChild-DsD9AJwE.js → useHasTabbableChild-C-1mZUQe.js} +2 -2
  247. package/useHasTabbableChild-DCBTulUQ.cjs +1 -0
  248. package/{useHighlightSelectionDescription-DFfcgbUj.js → useHighlightSelectionDescription-CnBDT86u.js} +14 -14
  249. package/useHighlightSelectionDescription-CzYucm61.cjs +1 -0
  250. package/{useHover-qRAon4nS.js → useHover-DjIHtjGN.js} +17 -17
  251. package/{useLabels-BZjoZA1Z.js → useLabels-BDwkBYbE.js} +1 -1
  252. package/{useListState-Ca2-uZMO.cjs → useListState-Bx8u4IFG.cjs} +1 -1
  253. package/{useListState-DFQ9d-uE.js → useListState-CrZFZffI.js} +7 -7
  254. package/useLocalizedStringFormatter-BKoxGZf1.js +96 -0
  255. package/useLocalizedStringFormatter-BsxLt89S.cjs +1 -0
  256. package/useLocalizedStringFormatter-D3JQyjb4.js +21 -0
  257. package/useLocalizedStringFormatter-ioacM-Yt.cjs +1 -0
  258. package/useObserveElement-MhzEsCkX.cjs +1 -0
  259. package/usePress-0AjDbW9R.cjs +7 -0
  260. package/{usePress-CUJ3pMOw.js → usePress-CNjmDzap.js} +48 -48
  261. package/{useSingleSelectListState-C-nB8cug.js → useSingleSelectListState-0AGHxvy3.js} +1 -1
  262. package/{useSingleSelectListState-MGNxUTum.cjs → useSingleSelectListState-Cl3KV5E1.cjs} +1 -1
  263. package/{useTextField-CtUDWsUl.cjs → useTextField--czJtyNd.cjs} +1 -1
  264. package/{useTextField-5OZQPyOW.js → useTextField-Cw-33OP_.js} +11 -11
  265. package/{useUpdateEffect-sk3kiVGz.cjs → useUpdateEffect-C5YQs_1w.cjs} +1 -1
  266. package/{utils-HNTsIwux.js → utils-DIMfEPAt.js} +10 -10
  267. package/{x-CvxiAZTW.cjs → x-H8Zrx8-x.cjs} +1 -1
  268. package/Button-DnhqHU01.cjs +0 -1
  269. package/Button-ZOQy9Ivu.js +0 -78
  270. package/Button.module-CMMhIrkn.js +0 -14
  271. package/Button.module-DO5s9hOk.cjs +0 -1
  272. package/Card-C0BFW3wJ.cjs +0 -1
  273. package/CharacterCounter-CPGdboVJ.js +0 -22
  274. package/Checkbox-CvFsn_FL.js +0 -380
  275. package/Checkbox-DSxGAJX2.cjs +0 -1
  276. package/CheckboxGroup-Bk9DPq4I.cjs +0 -1
  277. package/CheckboxGroup-Dij9zKlF.js +0 -54
  278. package/ComboBox-gveQKHU3.cjs +0 -1
  279. package/DateField-CAQlzuDD.js +0 -46
  280. package/DateField-deVVFwKA.cjs +0 -1
  281. package/DateInputDivider-DnUxETEC.cjs +0 -1
  282. package/DateRangePicker-BzfitoK0.cjs +0 -6
  283. package/Dialog-Bd5hK360.cjs +0 -1
  284. package/FieldError-BZw8UzBk.cjs +0 -1
  285. package/FieldError-CZikNDxX.js +0 -28
  286. package/FieldError-DqdfJ3fs.cjs +0 -1
  287. package/FieldError-Dv3bBEjh.js +0 -23
  288. package/FocusScope-NaPbvuuS.cjs +0 -1
  289. package/InfoBanner-BS-dAfzO.cjs +0 -1
  290. package/Label-C9ivwkAd.js +0 -21
  291. package/Label-CUV21CAv.cjs +0 -1
  292. package/Label-DkDOsmUF.js +0 -16
  293. package/Label-IMWAyoKb.cjs +0 -1
  294. package/LinkButton-CuBilDML.js +0 -69
  295. package/LinkButton-CymMrcGL.cjs +0 -6
  296. package/ListBox-CDOsQChA.cjs +0 -1
  297. package/ListKeyboardDelegate-BqMETvPv.cjs +0 -1
  298. package/LiveAnnouncer-B6177m92.js +0 -51
  299. package/LiveAnnouncer-CwEWPU8b.cjs +0 -1
  300. package/LocalizedStringFormatter-C0C54hjf.cjs +0 -1
  301. package/LocalizedStringFormatter-D-4Qyql0.js +0 -77
  302. package/NumberFormatter-DewVDY5w.cjs +0 -1
  303. package/NumberFormatter-DgOUVrge.js +0 -119
  304. package/PressResponder-C06O3Z5P.cjs +0 -1
  305. package/PressResponder-CVEg5kND.js +0 -33
  306. package/ProgressBar-Bkw9zavs.cjs +0 -1
  307. package/ProgressBar-CEX2WNoW.js +0 -77
  308. package/ProgressBar-Dqh3ftSP.cjs +0 -1
  309. package/Radio-CDKrvQe4.cjs +0 -1
  310. package/RangeCalendar-cbCKBPZv.cjs +0 -11
  311. package/Select-CpHjd1tp.cjs +0 -1
  312. package/SelectionManager-C5NGBzvz.cjs +0 -1
  313. package/Separator-nPra6kD-.cjs +0 -1
  314. package/Table-D9vNc_y-.cjs +0 -16
  315. package/Tag-CVFkzg3s.cjs +0 -1
  316. package/Text-B_H68Tvq.js +0 -15
  317. package/TextArea-DSiQ578a.js +0 -206
  318. package/TextArea-cVyGBRbL.cjs +0 -1
  319. package/TextField-B70CL2qz.cjs +0 -1
  320. package/Toast-DrkOGy4d.cjs +0 -1
  321. package/focusSafely-Bqfo_DH7.cjs +0 -1
  322. package/focusSafely-C48ucRUz.js +0 -56
  323. package/inertValue-BWmZ1afe.cjs +0 -1
  324. package/scrollIntoView-ClEACHUk.js +0 -57
  325. package/scrollIntoView-DRSoJp89.cjs +0 -1
  326. package/useCollator-C_ozeWLo.cjs +0 -1
  327. package/useCollator-CgZcHC8N.js +0 -11
  328. package/useDescription-CVKhFa3c.js +0 -32
  329. package/useDescription-DmQYSEES.cjs +0 -1
  330. package/useField-B1RU0GKs.cjs +0 -1
  331. package/useFilter-CtIwF2qW.cjs +0 -1
  332. package/useFocusable-CaedRTpB.js +0 -74
  333. package/useFocusable-CuPQ7Cm5.cjs +0 -1
  334. package/useHasTabbableChild-DgphNvnk.cjs +0 -1
  335. package/useHighlightSelectionDescription-BizKjvPU.cjs +0 -1
  336. package/useLabel-DDdAJ1JO.js +0 -23
  337. package/useLabel-m_S5xkHy.cjs +0 -1
  338. package/useLocalizedStringFormatter-D07YB2e1.js +0 -22
  339. package/useLocalizedStringFormatter-u9SJaOwk.cjs +0 -1
  340. package/useObserveElement-BzEr5D32.cjs +0 -1
  341. package/usePress-BFa6cT9o.cjs +0 -7
@@ -1,22 +1,22 @@
1
- import { jsxs as N, jsx as m } from "react/jsx-runtime";
2
- import { g as $, $ as ye, n as Te, a as ze, e as uu, f as Se, b as Pe, k as Ke, d as H } from "./utils-HNTsIwux.js";
3
- import { a as Ie } from "./Text-B_H68Tvq.js";
1
+ import { jsxs as N, jsx as b } from "react/jsx-runtime";
2
+ import { f as g, $ as ye, n as Te, a as ze, l as uu, d as Se, b as Pe, j as Ke, c as H } from "./utils-DIMfEPAt.js";
3
+ import { $ as Ie } from "./Text-BoXuUVVH.js";
4
4
  import { $ as eu } from "./filterDOMProps-D6KHYVBX.js";
5
- import { $ as je } from "./useLabels-BZjoZA1Z.js";
6
- import { D as Ve, u as we, x as Le, l as Re, $ as Oe, q as Ne } from "./useHover-qRAon4nS.js";
5
+ import { $ as je } from "./useLabels-BDwkBYbE.js";
6
+ import { D as Ve, t as we, x as Le, l as Re, $ as Oe, q as Ne } from "./useHover-DjIHtjGN.js";
7
7
  import * as Ze from "react";
8
8
  import A, { useState as tu, useEffect as ru, useRef as U, forwardRef as au, createContext as Ue } from "react";
9
- import { $ as qe } from "./useDescription-CVKhFa3c.js";
10
- import { $ as nu } from "./useLocalizedStringFormatter-D07YB2e1.js";
11
- import { $ as He } from "./useButton-C-Lq7CNY.js";
12
- import { $ as Me } from "./useFocusRing-BDGH3lpn.js";
13
- import { $ as Ge } from "./VisuallyHidden-D-4z1VgU.js";
14
- import { a as _e } from "./Input-D8Ku_FQz.js";
15
- import { $ as Xe } from "./PressResponder-CVEg5kND.js";
16
- import { B as ou } from "./Button-CbFRzRrF.js";
17
- import { L as Ye } from "./Label-C9ivwkAd.js";
18
- import { T as M } from "./Text-BN-g1iWi.js";
19
- import { X as We } from "./x-JK7i-TQC.js";
9
+ import { a as qe } from "./scrollIntoView-Hwb_aaNf.js";
10
+ import { b as nu } from "./useLocalizedStringFormatter-BKoxGZf1.js";
11
+ import { $ as He } from "./useButton-B8dB9sot.js";
12
+ import { $ as Me } from "./useFocusRing-XnR3cZjO.js";
13
+ import { $ as Ge } from "./VisuallyHidden-ZCYf65q4.js";
14
+ import { a as _e } from "./Input-BTzwcf72.js";
15
+ import { q as Xe } from "./Dialog-D14MbJ7o.js";
16
+ import { B as ou } from "./Button-Csih3v23.js";
17
+ import { a as Ye, L as We } from "./Label-BwJrdqEE.js";
18
+ import { T as M } from "./Text-jWWg0B20.js";
19
+ import { X as Je } from "./x-JK7i-TQC.js";
20
20
  import './assets/FileUpload.css';var C = /* @__PURE__ */ function(u) {
21
21
  return u[u.none = 0] = "none", u[u.cancel = 0] = "cancel", u[u.move = 1] = "move", u[u.copy = 2] = "copy", u[u.link = 4] = "link", u[u.all = 7] = "all", u;
22
22
  }({});
@@ -27,8 +27,8 @@ const iu = {
27
27
  linkMove: 5,
28
28
  all: 7,
29
29
  uninitialized: 7
30
- }, Je = q(iu);
31
- Je[7] = "all";
30
+ }, Qe = q(iu);
31
+ Qe[7] = "all";
32
32
  q(C);
33
33
  const lu = {
34
34
  none: "cancel",
@@ -41,35 +41,35 @@ function q(u) {
41
41
  for (let a in u) e[u[a]] = a;
42
42
  return e;
43
43
  }
44
- const Qe = /* @__PURE__ */ new Set([
44
+ const u4 = /* @__PURE__ */ new Set([
45
45
  "text/plain",
46
46
  "text/uri-list",
47
47
  "text/html"
48
- ]), j = "application/vnd.react-aria.items+json", V = "application/octet-stream", u4 = Symbol();
49
- function e4(u) {
48
+ ]), j = "application/vnd.react-aria.items+json", V = "application/octet-stream", e4 = Symbol();
49
+ function t4(u) {
50
50
  return u || (u = "virtual"), u === "pointer" && (u = "virtual"), u === "virtual" && typeof window < "u" && "ontouchstart" in window && (u = "touch"), u;
51
51
  }
52
- function t4() {
53
- return e4(Ve());
52
+ function r4() {
53
+ return t4(Ve());
54
54
  }
55
55
  function G(u, e) {
56
56
  let a = /* @__PURE__ */ new Map(), n = !1, o = [];
57
57
  for (let t of e) {
58
58
  let d = Object.keys(t);
59
59
  d.length > 1 && (n = !0);
60
- let D = {};
61
- for (let B of d) {
62
- let c = a.get(B);
63
- c ? n = !0 : (c = [], a.set(B, c));
64
- let i = t[B];
65
- D[B] = i, c.push(i);
60
+ let c = {};
61
+ for (let D of d) {
62
+ let B = a.get(D);
63
+ B ? n = !0 : (B = [], a.set(D, B));
64
+ let i = t[D];
65
+ c[D] = i, B.push(i);
66
66
  }
67
- o.push(D);
67
+ o.push(c);
68
68
  }
69
- for (let [t, d] of a) if (Qe.has(t)) {
70
- let D = d.join(`
69
+ for (let [t, d] of a) if (u4.has(t)) {
70
+ let c = d.join(`
71
71
  `);
72
- u.items.add(D, t);
72
+ u.items.add(c, t);
73
73
  } else
74
74
  u.items.add(d[0], t);
75
75
  if (n) {
@@ -79,7 +79,7 @@ function G(u, e) {
79
79
  }
80
80
  class K {
81
81
  has(e) {
82
- return this.includesUnknownTypes || e === u4 && this.types.has(V) ? !0 : typeof e == "string" && this.types.has(e);
82
+ return this.includesUnknownTypes || e === e4 && this.types.has(V) ? !0 : typeof e == "string" && this.types.has(e);
83
83
  }
84
84
  constructor(e) {
85
85
  this.types = /* @__PURE__ */ new Set();
@@ -122,7 +122,7 @@ function du(u) {
122
122
  }
123
123
  return e;
124
124
  }
125
- function r4(u) {
125
+ function a4(u) {
126
126
  return typeof u.text == "function" ? u.text() : new Promise((e, a) => {
127
127
  let n = new FileReader();
128
128
  n.onload = () => {
@@ -136,7 +136,7 @@ function Z(u) {
136
136
  kind: "file",
137
137
  type: u.type || V,
138
138
  name: u.name,
139
- getText: () => r4(u),
139
+ getText: () => a4(u),
140
140
  getFile: () => Promise.resolve(u)
141
141
  };
142
142
  }
@@ -144,10 +144,10 @@ function cu(u) {
144
144
  return {
145
145
  kind: "directory",
146
146
  name: u.name,
147
- getEntries: () => a4(u)
147
+ getEntries: () => n4(u)
148
148
  };
149
149
  }
150
- async function* a4(u) {
150
+ async function* n4(u) {
151
151
  let e = u.createReader(), a;
152
152
  do {
153
153
  a = await new Promise((n, o) => {
@@ -155,27 +155,27 @@ async function* a4(u) {
155
155
  });
156
156
  for (let n of a)
157
157
  if (n.isFile) {
158
- let o = await n4(n);
158
+ let o = await o4(n);
159
159
  yield Z(o);
160
160
  } else n.isDirectory && (yield cu(n));
161
161
  } while (a.length > 0);
162
162
  }
163
- function n4(u) {
163
+ function o4(u) {
164
164
  return new Promise((e, a) => u.file(e, a));
165
165
  }
166
166
  let pu = {
167
167
  draggingKeys: /* @__PURE__ */ new Set()
168
168
  };
169
- function o4(u) {
169
+ function i4(u) {
170
170
  pu = u;
171
171
  }
172
172
  let _ = C.none, X = /* @__PURE__ */ new Map(), Y = null, W = /* @__PURE__ */ new Set();
173
- function i4(u) {
173
+ function l4(u) {
174
174
  return X.set(u.element, u), () => {
175
175
  X.delete(u.element);
176
176
  };
177
177
  }
178
- function l4() {
178
+ function d4() {
179
179
  let [u, e] = tu(Y);
180
180
  return ru(() => {
181
181
  let a = () => e(Y);
@@ -1650,19 +1650,19 @@ Mu = {
1650
1650
  "zh-CN": qu,
1651
1651
  "zh-TW": Hu
1652
1652
  };
1653
- function d4(u) {
1653
+ function c4(u) {
1654
1654
  return u && u.__esModule ? u.default : u;
1655
1655
  }
1656
- const c4 = {
1656
+ const p4 = {
1657
1657
  keyboard: "dropDescriptionKeyboard",
1658
1658
  touch: "dropDescriptionTouch",
1659
1659
  virtual: "dropDescriptionVirtual"
1660
1660
  };
1661
- function p4() {
1662
- let u = nu(d4(Mu), "@react-aria/dnd"), e = t4(), a = l4();
1661
+ function s4() {
1662
+ let u = nu(c4(Mu), "@react-aria/dnd"), e = r4(), a = d4();
1663
1663
  return {
1664
1664
  dropProps: {
1665
- ...qe(a ? u.format(c4[e]) : ""),
1665
+ ...qe(a ? u.format(p4[e]) : ""),
1666
1666
  // Mobile Safari does not properly bubble click events on elements except links or inputs
1667
1667
  // unless there is an onclick handler bound directly to the element itself. By adding this
1668
1668
  // handler, React will take care of adding that for us, and we are able to handle document
@@ -1673,8 +1673,8 @@ function p4() {
1673
1673
  }
1674
1674
  };
1675
1675
  }
1676
- const s4 = 800;
1677
- function D4(u) {
1676
+ const D4 = 800;
1677
+ function B4(u) {
1678
1678
  let { hasDropButton: e, isDisabled: a } = u, [n, o] = tu(!1), t = U({
1679
1679
  x: 0,
1680
1680
  y: 0,
@@ -1691,7 +1691,7 @@ function D4(u) {
1691
1691
  y: r.clientY - l.y
1692
1692
  });
1693
1693
  }
1694
- }, D = (r) => {
1694
+ }, c = (r) => {
1695
1695
  if (o(!1), typeof u.onDropExit == "function") {
1696
1696
  let l = r.currentTarget.getBoundingClientRect();
1697
1697
  u.onDropExit({
@@ -1700,7 +1700,7 @@ function D4(u) {
1700
1700
  y: r.clientY - l.y
1701
1701
  });
1702
1702
  }
1703
- }, B = (r) => {
1703
+ }, D = (r) => {
1704
1704
  r.preventDefault(), r.stopPropagation();
1705
1705
  let l = J(r);
1706
1706
  if (r.clientX === t.x && r.clientY === t.y && l === t.allowedOperations) {
@@ -1708,20 +1708,20 @@ function D4(u) {
1708
1708
  return;
1709
1709
  }
1710
1710
  t.x = r.clientX, t.y = r.clientY;
1711
- let g = t.dropEffect;
1711
+ let k = t.dropEffect;
1712
1712
  if (l !== t.allowedOperations) {
1713
1713
  let p = R(l), s = p[0];
1714
1714
  if (typeof u.getDropOperation == "function") {
1715
- let b = new K(r.dataTransfer);
1716
- s = I(l, u.getDropOperation(b, p));
1715
+ let $ = new K(r.dataTransfer);
1716
+ s = I(l, u.getDropOperation($, p));
1717
1717
  }
1718
1718
  t.dropEffect = L[s] || "none";
1719
1719
  }
1720
1720
  if (typeof u.getDropOperationForPoint == "function") {
1721
- let p = new K(r.dataTransfer), s = r.currentTarget.getBoundingClientRect(), b = I(l, u.getDropOperationForPoint(p, R(l), t.x - s.x, t.y - s.y));
1722
- t.dropEffect = L[b] || "none";
1721
+ let p = new K(r.dataTransfer), s = r.currentTarget.getBoundingClientRect(), $ = I(l, u.getDropOperationForPoint(p, R(l), t.x - s.x, t.y - s.y));
1722
+ t.dropEffect = L[$] || "none";
1723
1723
  }
1724
- if (t.allowedOperations = l, r.dataTransfer.dropEffect = t.dropEffect, t.dropEffect === "none" && g !== "none" ? D(r) : t.dropEffect !== "none" && g === "none" && d(r), typeof u.onDropMove == "function" && t.dropEffect !== "none") {
1724
+ if (t.allowedOperations = l, r.dataTransfer.dropEffect = t.dropEffect, t.dropEffect === "none" && k !== "none" ? c(r) : t.dropEffect !== "none" && k === "none" && d(r), typeof u.onDropMove == "function" && t.dropEffect !== "none") {
1725
1725
  let p = r.currentTarget.getBoundingClientRect();
1726
1726
  u.onDropMove({
1727
1727
  type: "dropmove",
@@ -1737,58 +1737,58 @@ function D4(u) {
1737
1737
  x: t.x - s.x,
1738
1738
  y: t.y - s.y
1739
1739
  });
1740
- }, s4);
1740
+ }, D4);
1741
1741
  }
1742
- }, c = (r) => {
1742
+ }, B = (r) => {
1743
1743
  if (r.preventDefault(), r.stopPropagation(), t.dragOverElements.add(r.target), t.dragOverElements.size > 1) return;
1744
- let l = J(r), g = R(l), p = g[0];
1744
+ let l = J(r), k = R(l), p = k[0];
1745
1745
  if (typeof u.getDropOperation == "function") {
1746
1746
  let s = new K(r.dataTransfer);
1747
- p = I(l, u.getDropOperation(s, g));
1747
+ p = I(l, u.getDropOperation(s, k));
1748
1748
  }
1749
1749
  if (typeof u.getDropOperationForPoint == "function") {
1750
- let s = new K(r.dataTransfer), b = r.currentTarget.getBoundingClientRect();
1751
- p = I(l, u.getDropOperationForPoint(s, g, r.clientX - b.x, r.clientY - b.y));
1750
+ let s = new K(r.dataTransfer), $ = r.currentTarget.getBoundingClientRect();
1751
+ p = I(l, u.getDropOperationForPoint(s, k, r.clientX - $.x, r.clientY - $.y));
1752
1752
  }
1753
1753
  t.x = r.clientX, t.y = r.clientY, t.allowedOperations = l, t.dropEffect = L[p] || "none", r.dataTransfer.dropEffect = t.dropEffect, p !== "cancel" && d(r);
1754
1754
  }, i = (r) => {
1755
1755
  r.preventDefault(), r.stopPropagation(), t.dragOverElements.delete(r.target);
1756
1756
  for (let l of t.dragOverElements) r.currentTarget.contains(l) || t.dragOverElements.delete(l);
1757
- t.dragOverElements.size > 0 || (t.dropEffect !== "none" && D(r), clearTimeout(t.dropActivateTimer));
1757
+ t.dragOverElements.size > 0 || (t.dropEffect !== "none" && c(r), clearTimeout(t.dropActivateTimer));
1758
1758
  }, E = (r) => {
1759
1759
  if (r.preventDefault(), r.stopPropagation(), t.dropEffect, typeof u.onDrop == "function") {
1760
- let g = lu[t.dropEffect], p = du(r.dataTransfer), s = r.currentTarget.getBoundingClientRect(), b = {
1760
+ let k = lu[t.dropEffect], p = du(r.dataTransfer), s = r.currentTarget.getBoundingClientRect(), $ = {
1761
1761
  type: "drop",
1762
1762
  x: r.clientX - s.x,
1763
1763
  y: r.clientY - s.y,
1764
1764
  items: p,
1765
- dropOperation: g
1765
+ dropOperation: k
1766
1766
  };
1767
- u.onDrop(b);
1767
+ u.onDrop($);
1768
1768
  }
1769
1769
  let l = {
1770
1770
  ...pu
1771
1771
  };
1772
- t.dragOverElements.clear(), D(r), clearTimeout(t.dropActivateTimer), l.draggingCollectionRef == null || o4(l);
1773
- }, x = $((r) => {
1772
+ t.dragOverElements.clear(), c(r), clearTimeout(t.dropActivateTimer), l.draggingCollectionRef == null || i4(l);
1773
+ }, m = g((r) => {
1774
1774
  typeof u.onDropEnter == "function" && u.onDropEnter(r);
1775
- }), k = $((r) => {
1775
+ }), x = g((r) => {
1776
1776
  typeof u.onDropExit == "function" && u.onDropExit(r);
1777
- }), y = $((r) => {
1777
+ }), y = g((r) => {
1778
1778
  typeof u.onDropActivate == "function" && u.onDropActivate(r);
1779
- }), S = $((r) => {
1779
+ }), S = g((r) => {
1780
1780
  typeof u.onDrop == "function" && u.onDrop(r);
1781
- }), T = $((r, l) => u.getDropOperation ? u.getDropOperation(r, l) : l[0]), { ref: z } = u;
1781
+ }), T = g((r, l) => u.getDropOperation ? u.getDropOperation(r, l) : l[0]), { ref: z } = u;
1782
1782
  ye(() => {
1783
1783
  if (!(a || !z.current))
1784
- return i4({
1784
+ return l4({
1785
1785
  element: z.current,
1786
1786
  getDropOperation: T,
1787
1787
  onDropEnter(r) {
1788
- o(!0), x(r);
1788
+ o(!0), m(r);
1789
1789
  },
1790
1790
  onDropExit(r) {
1791
- o(!1), k(r);
1791
+ o(!1), x(r);
1792
1792
  },
1793
1793
  onDrop: S,
1794
1794
  onDropActivate: y
@@ -1797,12 +1797,12 @@ function D4(u) {
1797
1797
  a,
1798
1798
  z,
1799
1799
  T,
1800
+ m,
1800
1801
  x,
1801
- k,
1802
1802
  S,
1803
1803
  y
1804
1804
  ]);
1805
- let { dropProps: P } = p4();
1805
+ let { dropProps: P } = s4();
1806
1806
  return a ? {
1807
1807
  dropProps: {},
1808
1808
  dropButtonProps: {
@@ -1812,8 +1812,8 @@ function D4(u) {
1812
1812
  } : {
1813
1813
  dropProps: {
1814
1814
  ...!e && P,
1815
- onDragEnter: c,
1816
- onDragOver: B,
1815
+ onDragEnter: B,
1816
+ onDragOver: D,
1817
1817
  onDragLeave: i,
1818
1818
  onDrop: E
1819
1819
  },
@@ -1853,29 +1853,29 @@ function F(u, e) {
1853
1853
  a.handlers.delete(e), a.handlers.size === 0 && (document.removeEventListener(u, a.listener), O.delete(u));
1854
1854
  };
1855
1855
  }
1856
- function B4(u) {
1856
+ function C4(u) {
1857
1857
  let { isDisabled: e } = u, a = U(!1), { focusProps: n } = Re({
1858
1858
  onFocusChange: (i) => {
1859
1859
  a.current = i;
1860
1860
  }
1861
- }), o = $((i) => {
1861
+ }), o = g((i) => {
1862
1862
  a.current && u.getItems && i.preventDefault();
1863
- }), t = $((i) => {
1863
+ }), t = g((i) => {
1864
1864
  if (!(!a.current || !u.getItems) && (i.preventDefault(), i.clipboardData)) {
1865
1865
  var E;
1866
1866
  G(i.clipboardData, u.getItems({
1867
1867
  action: "copy"
1868
1868
  })), (E = u.onCopy) === null || E === void 0 || E.call(u);
1869
1869
  }
1870
- }), d = $((i) => {
1870
+ }), d = g((i) => {
1871
1871
  a.current && u.onCut && u.getItems && i.preventDefault();
1872
- }), D = $((i) => {
1872
+ }), c = g((i) => {
1873
1873
  !a.current || !u.onCut || !u.getItems || (i.preventDefault(), i.clipboardData && (G(i.clipboardData, u.getItems({
1874
1874
  action: "cut"
1875
1875
  })), u.onCut()));
1876
- }), B = $((i) => {
1876
+ }), D = g((i) => {
1877
1877
  a.current && u.onPaste && i.preventDefault();
1878
- }), c = $((i) => {
1878
+ }), B = g((i) => {
1879
1879
  if (!(!a.current || !u.onPaste) && (i.preventDefault(), i.clipboardData)) {
1880
1880
  let E = du(i.clipboardData);
1881
1881
  u.onPaste(E);
@@ -1883,15 +1883,15 @@ function B4(u) {
1883
1883
  });
1884
1884
  return ru(() => {
1885
1885
  if (!e)
1886
- return Te(F("beforecopy", o), F("copy", t), F("beforecut", d), F("cut", D), F("beforepaste", B), F("paste", c));
1886
+ return Te(F("beforecopy", o), F("copy", t), F("beforecut", d), F("cut", c), F("beforepaste", D), F("paste", B));
1887
1887
  }, [
1888
1888
  e,
1889
1889
  o,
1890
1890
  t,
1891
1891
  d,
1892
+ c,
1892
1893
  D,
1893
- B,
1894
- c
1894
+ B
1895
1895
  ]), {
1896
1896
  clipboardProps: n
1897
1897
  };
@@ -2171,29 +2171,29 @@ ve = {
2171
2171
  "zh-CN": he,
2172
2172
  "zh-TW": Fe
2173
2173
  };
2174
- function C4(u) {
2174
+ function E4(u) {
2175
2175
  return u && u.__esModule ? u.default : u;
2176
2176
  }
2177
- const E4 = /* @__PURE__ */ Ue(null), x4 = /* @__PURE__ */ au(function(e, a) {
2177
+ const x4 = /* @__PURE__ */ Ue(null), b4 = /* @__PURE__ */ au(function(e, a) {
2178
2178
  let { isDisabled: n = !1 } = e;
2179
- [e, a] = ze(e, a, E4);
2180
- let o = uu(a), t = U(null), { dropProps: d, dropButtonProps: D, isDropTarget: B } = D4({
2179
+ [e, a] = ze(e, a, x4);
2180
+ let o = uu(a), t = U(null), { dropProps: d, dropButtonProps: c, isDropTarget: D } = B4({
2181
2181
  ...e,
2182
2182
  ref: t,
2183
2183
  hasDropButton: !0
2184
- }), { buttonProps: c } = He(D || {}, t), { hoverProps: i, isHovered: E } = Oe(e), { focusProps: x, isFocused: k, isFocusVisible: y } = Me(), S = nu(C4(ve), "react-aria-components"), T = Se(), z = e["aria-label"] || S.format("dropzoneLabel"), P = e["aria-labelledby"], r = [
2184
+ }), { buttonProps: B } = He(c || {}, t), { hoverProps: i, isHovered: E } = Oe(e), { focusProps: m, isFocused: x, isFocusVisible: y } = Me(), S = nu(E4(ve), "react-aria-components"), T = Se(), z = e["aria-label"] || S.format("dropzoneLabel"), P = e["aria-labelledby"], r = [
2185
2185
  T,
2186
2186
  P
2187
2187
  ].filter(Boolean).join(" "), l = je({
2188
2188
  "aria-label": z,
2189
2189
  "aria-labelledby": r
2190
- }), { clipboardProps: g } = B4({
2190
+ }), { clipboardProps: k } = C4({
2191
2191
  isDisabled: n,
2192
- onPaste: (b) => {
2192
+ onPaste: ($) => {
2193
2193
  var f;
2194
2194
  return (f = e.onDrop) === null || f === void 0 ? void 0 : f.call(e, {
2195
2195
  type: "drop",
2196
- items: b,
2196
+ items: $,
2197
2197
  x: 0,
2198
2198
  y: 0,
2199
2199
  dropOperation: "copy"
@@ -2203,9 +2203,9 @@ const E4 = /* @__PURE__ */ Ue(null), x4 = /* @__PURE__ */ au(function(e, a) {
2203
2203
  ...e,
2204
2204
  values: {
2205
2205
  isHovered: E,
2206
- isFocused: k,
2206
+ isFocused: x,
2207
2207
  isFocusVisible: y,
2208
- isDropTarget: B,
2208
+ isDropTarget: D,
2209
2209
  isDisabled: n
2210
2210
  },
2211
2211
  defaultClassName: "react-aria-DropZone"
@@ -2225,9 +2225,9 @@ const E4 = /* @__PURE__ */ Ue(null), x4 = /* @__PURE__ */ au(function(e, a) {
2225
2225
  ...p,
2226
2226
  slot: e.slot || void 0,
2227
2227
  ref: o,
2228
- onClick: (b) => {
2228
+ onClick: ($) => {
2229
2229
  var f;
2230
- let h = b.target;
2230
+ let h = $.target;
2231
2231
  for (; h && (!((f = o.current) === null || f === void 0) && f.contains(h)) && !Ne(h); ) {
2232
2232
  if (h === o.current) {
2233
2233
  var w;
@@ -2238,22 +2238,22 @@ const E4 = /* @__PURE__ */ Ue(null), x4 = /* @__PURE__ */ au(function(e, a) {
2238
2238
  }
2239
2239
  },
2240
2240
  "data-hovered": E || void 0,
2241
- "data-focused": k || void 0,
2241
+ "data-focused": x || void 0,
2242
2242
  "data-focus-visible": y || void 0,
2243
- "data-drop-target": B || void 0,
2243
+ "data-drop-target": D || void 0,
2244
2244
  "data-disabled": n || void 0
2245
2245
  }, /* @__PURE__ */ A.createElement(Ge, null, /* @__PURE__ */ A.createElement("button", {
2246
- ...H(c, x, g, l),
2246
+ ...H(B, m, k, l),
2247
2247
  ref: t
2248
2248
  })), p.children));
2249
- }), b4 = /* @__PURE__ */ au(function(e, a) {
2250
- let { onSelect: n, acceptedFileTypes: o, allowsMultiple: t, defaultCamera: d, children: D, acceptDirectory: B, ...c } = e, i = uu(a), E = eu(c);
2249
+ }), m4 = /* @__PURE__ */ au(function(e, a) {
2250
+ let { onSelect: n, acceptedFileTypes: o, allowsMultiple: t, defaultCamera: d, children: c, acceptDirectory: D, ...B } = e, i = uu(a), E = eu(B);
2251
2251
  return /* @__PURE__ */ A.createElement(A.Fragment, null, /* @__PURE__ */ A.createElement(Xe, {
2252
2252
  onPress: () => {
2253
- var x, k;
2254
- !((x = i.current) === null || x === void 0) && x.value && (i.current.value = ""), (k = i.current) === null || k === void 0 || k.click();
2253
+ var m, x;
2254
+ !((m = i.current) === null || m === void 0) && m.value && (i.current.value = ""), (x = i.current) === null || x === void 0 || x.click();
2255
2255
  }
2256
- }, D), /* @__PURE__ */ A.createElement(_e, {
2256
+ }, c), /* @__PURE__ */ A.createElement(_e, {
2257
2257
  ...E,
2258
2258
  type: "file",
2259
2259
  ref: i,
@@ -2261,38 +2261,39 @@ const E4 = /* @__PURE__ */ Ue(null), x4 = /* @__PURE__ */ au(function(e, a) {
2261
2261
  display: "none"
2262
2262
  },
2263
2263
  accept: o == null ? void 0 : o.toString(),
2264
- onChange: (x) => n == null ? void 0 : n(x.target.files),
2264
+ onChange: (m) => n == null ? void 0 : n(m.target.files),
2265
2265
  capture: d,
2266
2266
  multiple: t,
2267
2267
  // @ts-expect-error
2268
- webkitdirectory: B ? "" : void 0
2268
+ webkitdirectory: D ? "" : void 0
2269
2269
  }));
2270
- }), m4 = "_box_sqne2_4", $4 = "_list_sqne2_28", g4 = "_container_sqne2_38", k4 = "_dropzone_sqne2_61", A4 = "_input_sqne2_75", v = {
2271
- box: m4,
2272
- list: $4,
2273
- container: g4,
2274
- dropzone: k4,
2275
- input: A4
2276
- }, Z4 = ({
2270
+ }), $4 = "_box_sqne2_4", g4 = "_list_sqne2_28", k4 = "_container_sqne2_38", A4 = "_dropzone_sqne2_61", f4 = "_input_sqne2_75", v = {
2271
+ box: $4,
2272
+ list: g4,
2273
+ container: k4,
2274
+ dropzone: A4,
2275
+ input: f4
2276
+ }, U4 = ({
2277
2277
  allowsMultiple: u,
2278
2278
  label: e,
2279
2279
  description: a,
2280
2280
  dropzone: n,
2281
- ...o
2281
+ popover: o,
2282
+ ...t
2282
2283
  }) => {
2283
- const [t, d] = Ze.useState(null), D = (c) => {
2284
- d(c !== null ? Array.from(c) : []);
2285
- }, B = async (c) => {
2286
- const i = c.items.filter((x) => x.kind === "file").map((x) => x.getFile()), E = await Promise.all(i);
2287
- d(E);
2284
+ const [d, c] = Ze.useState(null), D = (i) => {
2285
+ c(i !== null ? Array.from(i) : []);
2286
+ }, B = async (i) => {
2287
+ const E = i.items.filter((x) => x.kind === "file").map((x) => x.getFile()), m = await Promise.all(E);
2288
+ c(m);
2288
2289
  };
2289
2290
  return n ? /* @__PURE__ */ N("div", { className: v.container, children: [
2290
- /* @__PURE__ */ m(
2291
- x4,
2291
+ /* @__PURE__ */ b(
2292
+ b4,
2292
2293
  {
2293
2294
  onDrop: B,
2294
2295
  className: v.dropzone,
2295
- children: /* @__PURE__ */ m(
2296
+ children: /* @__PURE__ */ b(
2296
2297
  M,
2297
2298
  {
2298
2299
  slot: "description",
@@ -2302,23 +2303,23 @@ const E4 = /* @__PURE__ */ Ue(null), x4 = /* @__PURE__ */ au(function(e, a) {
2302
2303
  )
2303
2304
  }
2304
2305
  ),
2305
- t && /* @__PURE__ */ m(
2306
+ d && /* @__PURE__ */ b(
2306
2307
  Q,
2307
2308
  {
2308
- files: t,
2309
- setFiles: d
2309
+ files: d,
2310
+ setFiles: c
2310
2311
  }
2311
2312
  )
2312
2313
  ] }) : /* @__PURE__ */ N("div", { className: v.container, children: [
2313
- e && /* @__PURE__ */ m(Ye, { children: e }),
2314
- a && /* @__PURE__ */ m(M, { slot: "description", children: a }),
2315
- /* @__PURE__ */ m(
2316
- b4,
2314
+ /* @__PURE__ */ b(Ye, { popover: o, children: e && /* @__PURE__ */ b(We, { children: e }) }),
2315
+ a && /* @__PURE__ */ b(M, { slot: "description", children: a }),
2316
+ /* @__PURE__ */ b(
2317
+ m4,
2317
2318
  {
2318
2319
  allowsMultiple: u,
2319
- onSelect: (c) => D(c),
2320
- ...o,
2321
- children: /* @__PURE__ */ m(
2320
+ onSelect: (i) => D(i),
2321
+ ...t,
2322
+ children: /* @__PURE__ */ b(
2322
2323
  ou,
2323
2324
  {
2324
2325
  variant: "secondary",
@@ -2329,11 +2330,11 @@ const E4 = /* @__PURE__ */ Ue(null), x4 = /* @__PURE__ */ au(function(e, a) {
2329
2330
  )
2330
2331
  }
2331
2332
  ),
2332
- t && /* @__PURE__ */ m(
2333
+ d && /* @__PURE__ */ b(
2333
2334
  Q,
2334
2335
  {
2335
- files: t,
2336
- setFiles: d
2336
+ files: d,
2337
+ setFiles: c
2337
2338
  }
2338
2339
  )
2339
2340
  ] });
@@ -2341,20 +2342,20 @@ const E4 = /* @__PURE__ */ Ue(null), x4 = /* @__PURE__ */ au(function(e, a) {
2341
2342
  const a = (n) => {
2342
2343
  e(u == null ? void 0 : u.filter((o, t) => t !== n));
2343
2344
  };
2344
- return /* @__PURE__ */ m("ul", { className: v.list, children: u.map((n, o) => /* @__PURE__ */ N(
2345
+ return /* @__PURE__ */ b("ul", { className: v.list, children: u.map((n, o) => /* @__PURE__ */ N(
2345
2346
  "li",
2346
2347
  {
2347
2348
  className: v.box,
2348
2349
  children: [
2349
- /* @__PURE__ */ m("span", { children: n.name }),
2350
- /* @__PURE__ */ m(
2350
+ /* @__PURE__ */ b("span", { children: n.name }),
2351
+ /* @__PURE__ */ b(
2351
2352
  ou,
2352
2353
  {
2353
2354
  variant: "icon",
2354
2355
  size: "medium",
2355
2356
  onPress: () => a(o),
2356
- children: /* @__PURE__ */ m(
2357
- We,
2357
+ children: /* @__PURE__ */ b(
2358
+ Je,
2358
2359
  {
2359
2360
  size: 20,
2360
2361
  "aria-hidden": !0
@@ -2368,5 +2369,5 @@ const E4 = /* @__PURE__ */ Ue(null), x4 = /* @__PURE__ */ au(function(e, a) {
2368
2369
  )) });
2369
2370
  };
2370
2371
  export {
2371
- Z4 as F
2372
+ U4 as F
2372
2373
  };