@midas-ds/components 14.0.0 → 14.1.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 (290) hide show
  1. package/AccordionItem-CAi-XFOc.js +343 -0
  2. package/AccordionItem-tWS22wDv.cjs +1 -0
  3. package/{Breadcrumbs-DpUPChG9.cjs → Breadcrumbs-BBDGxc68.cjs} +1 -1
  4. package/{Breadcrumbs-CV3rVTjR.js → Breadcrumbs-BenPNv8Z.js} +4 -4
  5. package/Button-1sEX8jKn.cjs +1 -0
  6. package/{Button-xc8A29pm.cjs → Button-BEWKXjlP.cjs} +1 -1
  7. package/{Button-CRIYvCRM.js → Button-CF97piBl.js} +1 -1
  8. package/{Button-B6lxIKPk.js → Button-CGe3Nyos.js} +121 -115
  9. package/CHANGELOG.md +26 -0
  10. package/{Card-CfosvMF5.js → Card-DJ8E5Rzd.js} +3 -3
  11. package/{Card-D2E3gviQ.cjs → Card-Db9xdzJ0.cjs} +1 -1
  12. package/{CharacterCounter-C-PFKoGg.cjs → CharacterCounter-CTpQ12f7.cjs} +1 -1
  13. package/{CharacterCounter-DpFONstE.js → CharacterCounter-gbDGfize.js} +2 -2
  14. package/Checkbox-BgrLxY6P.cjs +1 -0
  15. package/{Checkbox-Cr3MmHPE.js → Checkbox-CdN1D5pD.js} +94 -90
  16. package/{CheckboxGroup-DEY3JDEL.js → CheckboxGroup-B1b-6bKq.js} +7 -7
  17. package/{CheckboxGroup-f9Oa1MhQ.cjs → CheckboxGroup-BfZyy5yU.cjs} +1 -1
  18. package/{Collection-j_iWeuZo.js → Collection-BkxwF21i.js} +205 -213
  19. package/Collection-vGO6v3_U.cjs +1 -0
  20. package/{ColorSchemeSwitch-Cur7zN5_.cjs → ColorSchemeSwitch-BOooU0iy.cjs} +1 -1
  21. package/{ColorSchemeSwitch-ChFSNntp.js → ColorSchemeSwitch-KjnsdbDr.js} +2 -2
  22. package/{ComboBox-D7eKe-M5.js → ComboBox-D1ZSZ6m-.js} +254 -246
  23. package/ComboBox-Dztk_jtC.cjs +1 -0
  24. package/{DateField-BszKZodr.cjs → DateField-BogEOseq.cjs} +1 -1
  25. package/{DateField-xyhyDy7u.js → DateField-lsr_1fw4.js} +4 -4
  26. package/{DateInputDivider-2Wf2hlXA.js → DateInputDivider-CRv3YuXd.js} +191 -188
  27. package/DateInputDivider-CYqm6PZP.cjs +1 -0
  28. package/{DateRangePicker-YwKi0ukr.js → DateRangePicker-5k1swaEt.js} +119 -115
  29. package/DateRangePicker-CgNXWOT6.cjs +6 -0
  30. package/Dialog-B1N4Ndyx.js +256 -0
  31. package/{Dialog-DOyFzvUa.js → Dialog-BUAp30Wc.js} +712 -694
  32. package/Dialog-BgSxz1JW.cjs +1 -0
  33. package/Dialog-PrnV8KTh.cjs +6 -0
  34. package/{DragAndDrop-DQ_6tl6K.cjs → DragAndDrop-Cs-V-9ak.cjs} +1 -1
  35. package/{DragAndDrop-DPRU3Y0Y.js → DragAndDrop-DF0VoPJw.js} +1 -1
  36. package/{Dropdown-5rmvcHD_.cjs → Dropdown-DBFLb8Tl.cjs} +1 -1
  37. package/{Dropdown-uC9wc8vd.js → Dropdown-DaARa89l.js} +2 -2
  38. package/{FieldError-C4WBoCRc.cjs → FieldError-Cimgm8qD.cjs} +1 -1
  39. package/{FieldError-C4kD4yJZ.js → FieldError-l3xULRa0.js} +3 -3
  40. package/{FileUpload-01wGpykv.js → FileUpload-CN0HNJ_Y.js} +9 -9
  41. package/{FileUpload-CTbh7Gic.cjs → FileUpload-DHmsupSe.cjs} +1 -1
  42. package/Group-B0Wj9pI8.cjs +1 -0
  43. package/Group-BAd7alBM.js +46 -0
  44. package/{Heading-CEx2LJyM.js → Heading-CCoGfKQ8.js} +9 -9
  45. package/{Heading-CUShN98j.cjs → Heading-x7y3xadc.cjs} +1 -1
  46. package/{InfoBanner-CRSz8DK2.js → InfoBanner-BW3vy9mc.js} +1 -1
  47. package/{InfoBanner-D_pNj1J2.cjs → InfoBanner-_M_rGQiu.cjs} +1 -1
  48. package/{Input-CCuE9Sc5.cjs → Input-Bda0PCu5.cjs} +1 -1
  49. package/{Input-CkTOajNJ.js → Input-CQzv-D9g.js} +3 -3
  50. package/{Label-CV9p0K2n.js → Label-BGMXsSFb.js} +4 -4
  51. package/{Label-CkIRTC0_.cjs → Label-CNTODOFg.cjs} +1 -1
  52. package/Layout-BrEuHajQ.cjs +16 -0
  53. package/{Layout-IeVrHpT0.js → Layout-JL9l-y7w.js} +62 -63
  54. package/{Link-BFvUN5Sq.js → Link-BudFjYrw.js} +1 -1
  55. package/{Link-D2K7bDd3.cjs → Link-BvUSTIip.cjs} +1 -1
  56. package/{Link-a3Ymcnoa.cjs → Link-DRU6Qzia.cjs} +1 -1
  57. package/{Link-B9CQXWzE.js → Link-l-nMP-Zd.js} +5 -5
  58. package/{LinkButton-BCn5gR10.cjs → LinkButton-DGdnbTgR.cjs} +1 -1
  59. package/{LinkButton-DN3J1Agu.js → LinkButton-DP9W-E32.js} +1 -1
  60. package/ListBox-TGCxrXIJ.cjs +1 -0
  61. package/{ListBox-2eEa1l0M.js → ListBox-mOCZvKD4.js} +187 -176
  62. package/{ListBoxLoadMoreItem-IcGb_XwN.js → ListBoxLoadMoreItem-CLdTe6-z.js} +3 -3
  63. package/{ListBoxLoadMoreItem-BBE3OF4J.cjs → ListBoxLoadMoreItem-UX0jFQN4.cjs} +1 -1
  64. package/ListBoxSection-BNBHosou.cjs +1 -0
  65. package/{ListBoxSection-dksiACMZ.js → ListBoxSection-D_kTkvgG.js} +139 -140
  66. package/{ListKeyboardDelegate-Dyu4eFtP.js → ListKeyboardDelegate-BHnZMUhW.js} +36 -40
  67. package/ListKeyboardDelegate-CLRlDto7.cjs +1 -0
  68. package/{OverlayArrow-Bh_G2tJ3.js → OverlayArrow-CjGslX2c.js} +2 -2
  69. package/{OverlayArrow-DJ4nNscD.cjs → OverlayArrow-bcrb_syE.cjs} +1 -1
  70. package/{Popover-D7_IfJ3o.js → Popover-CZFi2YGz.js} +2 -2
  71. package/{Popover-BI2Koco0.cjs → Popover-uYTWBGHa.cjs} +1 -1
  72. package/{PressResponder-DUhG97jJ.js → PressResponder-BMj6Zvbn.js} +3 -3
  73. package/{PressResponder-AXK2I_yx.cjs → PressResponder-ChvCuOue.cjs} +1 -1
  74. package/{ProgressBar-B-TOuoAC.cjs → ProgressBar-BGemuJIq.cjs} +1 -1
  75. package/{ProgressBar-B0WEQkyq.js → ProgressBar-DhRmckYM.js} +2 -2
  76. package/{RSPContexts-BW2SEIqe.js → RSPContexts-B0lEq7qq.js} +5 -3
  77. package/RSPContexts-XUvspq3j.cjs +1 -0
  78. package/Radio-Bp_31Z59.js +340 -0
  79. package/Radio-D3RGVrEd.cjs +1 -0
  80. package/{RangeCalendar-D5TMu8GI.js → RangeCalendar-9C96gMvy.js} +58 -58
  81. package/{RangeCalendar-B6zKSDju.cjs → RangeCalendar-ChfmP_ql.cjs} +2 -2
  82. package/{SearchField-wojUSY2S.js → SearchField-DrEdzWAy.js} +3 -3
  83. package/{SearchField-DnBBlPT7.cjs → SearchField-JaDXLq5W.cjs} +1 -1
  84. package/Select-BCUH-Z7q.cjs +1 -0
  85. package/Select-CpPE78Ke.js +676 -0
  86. package/SelectionIndicator-BiSN1toV.cjs +1 -0
  87. package/{FocusScope-8ILtcq9W.js → SelectionIndicator-ant6jeC1.js} +256 -165
  88. package/SelectionManager-C469yQeD.js +1063 -0
  89. package/SelectionManager-uFYC4wpu.cjs +1 -0
  90. package/{Separator--4b7vckr.js → Separator-B6l5qSpR.js} +2 -2
  91. package/{Separator-COlhRmJF.js → Separator-BWAnBMVN.js} +4 -4
  92. package/{Separator-DcbM84B8.cjs → Separator-DbhmtwDa.cjs} +1 -1
  93. package/{Separator-BQkxEZC9.cjs → Separator-J0pLW4BN.cjs} +1 -1
  94. package/Spinner-D6Fcu_Dp.js +54 -0
  95. package/Spinner-DIapnvIz.cjs +6 -0
  96. package/TabList-C0tRVI6Q.cjs +1 -0
  97. package/TabList-DmkxO7MM.js +394 -0
  98. package/Table-BLqjyYKk.cjs +16 -0
  99. package/{Table-cCSOrPkK.js → Table-CyWZO9uf.js} +707 -703
  100. package/Tag-DJqYiBLR.js +774 -0
  101. package/Tag-FDHGu_WP.cjs +1 -0
  102. package/{Text-CkhG15SU.cjs → Text-0wXj3J8E.cjs} +1 -1
  103. package/{Text-BQe1I4-r.js → Text-BBFWBNAH.js} +1 -1
  104. package/{Text-CkhZTTV5.cjs → Text-D5OSv6Uv.cjs} +1 -1
  105. package/{Text-BpERRete.js → Text-bqP9NeVg.js} +1 -1
  106. package/{TextArea-B5TsyJxa.cjs → TextArea-CZxwvBcS.cjs} +1 -1
  107. package/{TextArea-Cado2arG.js → TextArea-CrY7P18c.js} +8 -8
  108. package/{TextField-5AI6T1ol.js → TextField-BWea-IT-.js} +10 -10
  109. package/TextField-DsN-kBfh.cjs +1 -0
  110. package/{Toast-Cs-Uvf1p.cjs → Toast-DUZ5jfG1.cjs} +1 -1
  111. package/{Toast-CgXRE33Y.js → Toast-Di3h8A14.js} +12 -12
  112. package/{ToggleButtonGroup-SKGgfFs4.js → ToggleButtonGroup-Bh4hP6Lk.js} +82 -78
  113. package/ToggleButtonGroup-D7r34GCt.cjs +1 -0
  114. package/{Tooltip-txk48Qof.js → Tooltip-CUdmOznK.js} +4 -4
  115. package/{Tooltip-BrupFzaI.cjs → Tooltip-D-ATlbIM.cjs} +1 -1
  116. package/{VisuallyHidden-Awup6QxT.cjs → VisuallyHidden-BMelU6B0.cjs} +1 -1
  117. package/{VisuallyHidden-D2ZXHTJs.js → VisuallyHidden-DuW70K-5.js} +1 -1
  118. package/accordion/index.cjs +1 -1
  119. package/accordion/index.js +1 -1
  120. package/assets/AccordionItem.css +1 -1
  121. package/assets/RangeCalendar.css +1 -1
  122. package/assets/Spinner.css +1 -1
  123. package/assets/TabList.css +1 -1
  124. package/assets/default.css +1 -1
  125. package/breadcrumbs/index.cjs +1 -1
  126. package/breadcrumbs/index.js +1 -1
  127. package/button/index.cjs +1 -1
  128. package/button/index.js +1 -1
  129. package/calendar/index.cjs +1 -1
  130. package/calendar/index.js +1 -1
  131. package/card/index.cjs +1 -1
  132. package/card/index.js +1 -1
  133. package/character-counter/index.cjs +1 -1
  134. package/character-counter/index.js +1 -1
  135. package/checkbox/index.cjs +1 -1
  136. package/checkbox/index.js +2 -2
  137. package/color-scheme-switch/index.cjs +1 -1
  138. package/color-scheme-switch/index.js +1 -1
  139. package/combobox/index.cjs +1 -1
  140. package/combobox/index.js +1 -1
  141. package/date-field/index.cjs +1 -1
  142. package/date-field/index.js +2 -2
  143. package/date-picker/index.cjs +1 -1
  144. package/date-picker/index.js +1 -1
  145. package/dropdown/index.cjs +1 -1
  146. package/dropdown/index.js +1 -1
  147. package/field-error/index.cjs +1 -1
  148. package/field-error/index.js +1 -1
  149. package/file-upload/index.cjs +1 -1
  150. package/file-upload/index.js +1 -1
  151. package/{getScrollParent-Ru2U2LlM.js → getScrollParent-DFCzfqHG.js} +1 -1
  152. package/{getScrollParent-DuKmPmUa.cjs → getScrollParent-DjULaF_q.cjs} +1 -1
  153. package/heading/index.cjs +1 -1
  154. package/heading/index.js +1 -1
  155. package/index.cjs +1 -1
  156. package/index.js +42 -42
  157. package/info-banner/index.cjs +1 -1
  158. package/info-banner/index.js +1 -1
  159. package/label/index.cjs +1 -1
  160. package/label/index.js +1 -1
  161. package/layout/index.cjs +1 -1
  162. package/layout/index.js +1 -1
  163. package/link/index.cjs +1 -1
  164. package/link/index.js +2 -2
  165. package/link-button/index.cjs +1 -1
  166. package/link-button/index.js +2 -2
  167. package/list-box/index.cjs +1 -1
  168. package/list-box/index.js +2 -2
  169. package/menu/index.cjs +1 -1
  170. package/menu/index.js +2 -2
  171. package/modal/index.cjs +1 -1
  172. package/modal/index.js +2 -2
  173. package/package.json +4 -4
  174. package/popover/index.cjs +1 -1
  175. package/popover/index.js +1 -1
  176. package/progress-bar/index.cjs +1 -1
  177. package/progress-bar/index.js +1 -1
  178. package/radio/index.cjs +1 -1
  179. package/radio/index.js +1 -1
  180. package/scrollIntoView-BVI21Y4-.js +65 -0
  181. package/scrollIntoView-BueMOyGp.cjs +1 -0
  182. package/search-field/index.cjs +1 -1
  183. package/search-field/index.js +1 -1
  184. package/select/index.cjs +1 -1
  185. package/select/index.js +1 -1
  186. package/select/types.d.ts +1 -1
  187. package/select/useMultiSelect.d.ts +2 -2
  188. package/spinner/Spinner.d.ts +5 -1
  189. package/spinner/index.cjs +1 -1
  190. package/spinner/index.js +1 -1
  191. package/table/index.cjs +1 -1
  192. package/table/index.js +1 -1
  193. package/tabs/Tabs.d.ts +2 -9
  194. package/tabs/index.cjs +1 -1
  195. package/tabs/index.d.ts +0 -1
  196. package/tabs/index.js +1 -1
  197. package/tag/index.cjs +1 -1
  198. package/tag/index.js +1 -1
  199. package/text/index.cjs +1 -1
  200. package/text/index.js +1 -1
  201. package/textfield/TextArea.d.ts +3 -2
  202. package/textfield/TextField.d.ts +3 -2
  203. package/textfield/index.cjs +1 -1
  204. package/textfield/index.js +1 -1
  205. package/toast/index.cjs +1 -1
  206. package/toast/index.js +1 -1
  207. package/toggle-button/index.cjs +1 -1
  208. package/toggle-button/index.js +1 -1
  209. package/tooltip/index.cjs +1 -1
  210. package/tooltip/index.js +1 -1
  211. package/{useButton-Bh3duhYL.cjs → useButton-C0r5nrqs.cjs} +1 -1
  212. package/{useButton-A-VOfwuT.js → useButton-CRgN6aZf.js} +2 -2
  213. package/useDateFormatter-BrrFo4nY.cjs +1 -0
  214. package/{useDateFormatter-CxlJTAki.js → useDateFormatter-Bs5A6Xtu.js} +353 -322
  215. package/{useField-sSWPm-He.js → useField-BhJ9dM2g.js} +1 -1
  216. package/{useField-CY4OYE5a.cjs → useField-DvszkIMx.cjs} +1 -1
  217. package/{useFilter-DHcouDzv.js → useFilter-BdUU-HQZ.js} +1 -1
  218. package/{useFilter-DlZLqsJD.cjs → useFilter-R2IPvbS8.cjs} +1 -1
  219. package/{useFocusRing-Cig5Y0l-.cjs → useFocusRing-C-XVcAE5.cjs} +1 -1
  220. package/{useFocusRing-Copf_tx8.js → useFocusRing-CcxI7nbg.js} +2 -2
  221. package/{useFocusWithin-BKopz9sr.js → useFocusWithin-DhXBuB2O.js} +1 -1
  222. package/{useFocusWithin-TryC2Kkw.cjs → useFocusWithin-GBjoTL5o.cjs} +1 -1
  223. package/{useFocusable-CCh54GIw.js → useFocusable-BJj-Bkig.js} +3 -3
  224. package/{useFocusable-DhdAtEw8.cjs → useFocusable-M4se1KJt.cjs} +1 -1
  225. package/{useFormValidation-DdIIVZ5j.js → useFormValidation-By7G-T7y.js} +1 -1
  226. package/{useFormValidation-BJNizNDf.cjs → useFormValidation-DV2Ioblb.cjs} +1 -1
  227. package/useHasTabbableChild-CIZGg_iG.cjs +1 -0
  228. package/{useHasTabbableChild-BbgOpdGQ.js → useHasTabbableChild-CnpSoDuJ.js} +1 -1
  229. package/{useHighlightSelectionDescription-D6F-YO6b.cjs → useHighlightSelectionDescription-CBZfyrhy.cjs} +1 -1
  230. package/{useHighlightSelectionDescription-BL_02EKv.js → useHighlightSelectionDescription-DPiqOr_Z.js} +2 -2
  231. package/{useHover-eU40luVI.cjs → useHover-DULSfLuK.cjs} +1 -1
  232. package/{useHover-zCCNtF6g.js → useHover-DkC5FyNd.js} +4 -4
  233. package/{useListState-BdC308Sq.cjs → useListState-DBawAMhF.cjs} +1 -1
  234. package/{useListState-D2yPZrFZ.js → useListState-PZF3ahpk.js} +1 -1
  235. package/{usePress-4yZ5a87p.js → usePress-BqQIhkNY.js} +43 -43
  236. package/usePress-DmU79HEg.cjs +7 -0
  237. package/{useSingleSelectListState-lyai-bC_.js → useSingleSelectListState-BLRBEJC7.js} +1 -1
  238. package/{useSingleSelectListState-b_SPhYG4.cjs → useSingleSelectListState-CNETmoj5.cjs} +1 -1
  239. package/{useTextField-DjxrmW7d.js → useTextField-B8pM0p6X.js} +4 -4
  240. package/{useTextField-DUEQl6sr.cjs → useTextField-CiWV3eeD.cjs} +1 -1
  241. package/utils/types.d.ts +5 -0
  242. package/utils-CtICjCYt.cjs +1 -0
  243. package/{utils-BMBoiyL7.js → utils-D2iKpxcZ.js} +43 -39
  244. package/utils-DRIRjPUS.cjs +1 -0
  245. package/{utils-CrT5PVBA.js → utils-Dxh86KaB.js} +19 -17
  246. package/AccordionItem-BJw5IKe0.js +0 -334
  247. package/AccordionItem-DhMimhYo.cjs +0 -1
  248. package/Button-BTX5G3le.cjs +0 -1
  249. package/Checkbox-D-CFY6QF.cjs +0 -1
  250. package/Collection-DaZzboRu.cjs +0 -1
  251. package/ComboBox-C4NybZ32.cjs +0 -1
  252. package/DateInputDivider-BgXKFwB0.cjs +0 -1
  253. package/DateRangePicker-DTPkr3hX.cjs +0 -6
  254. package/Dialog-DLnopN3Z.js +0 -237
  255. package/Dialog-DNu42oLH.cjs +0 -1
  256. package/Dialog-w6EBWT__.cjs +0 -1
  257. package/FocusScope-Dv0F-mG2.cjs +0 -1
  258. package/Group-C2hEIsGV.js +0 -45
  259. package/Group-cuyk9Hsy.cjs +0 -1
  260. package/Layout-CVnlO10z.cjs +0 -16
  261. package/ListBox-Bx9M5vqb.cjs +0 -1
  262. package/ListBoxSection-kujY2gUl.cjs +0 -1
  263. package/ListKeyboardDelegate-DJDPir-w.cjs +0 -1
  264. package/RSPContexts-D8hmBfGm.cjs +0 -1
  265. package/Radio-D6KNkSA2.js +0 -333
  266. package/Radio-DsVsutMH.cjs +0 -1
  267. package/Select-D9h_RQ2k.cjs +0 -1
  268. package/Select-Dc6y8gPR.js +0 -654
  269. package/SelectionManager-D-4ThfPZ.js +0 -1043
  270. package/SelectionManager-FYrDfe5v.cjs +0 -1
  271. package/Spinner-CTha503N.js +0 -47
  272. package/Spinner-DKQ9_SQB.cjs +0 -6
  273. package/TabList-BhC96APe.cjs +0 -1
  274. package/TabList-P5HnizZt.js +0 -393
  275. package/Table-BB8Ag5_3.cjs +0 -16
  276. package/Tag-D2vh0KRD.js +0 -765
  277. package/Tag-D32MGLjS.cjs +0 -1
  278. package/TextField-4xfAzdBI.cjs +0 -1
  279. package/ToggleButtonGroup-CiX2eXB8.cjs +0 -1
  280. package/scrollIntoView-ClEACHUk.js +0 -57
  281. package/scrollIntoView-DRSoJp89.cjs +0 -1
  282. package/useDateFormatter-D0bVjgIb.cjs +0 -1
  283. package/useHasTabbableChild-wH3RCjTd.cjs +0 -1
  284. package/useObserveElement-BdI4zgd7.js +0 -27
  285. package/useObserveElement-BzEr5D32.cjs +0 -1
  286. package/usePress-Dj3t18Pf.cjs +0 -7
  287. package/utils-I-LGXGYH.cjs +0 -1
  288. package/utils-cBvgilDa.cjs +0 -1
  289. package/variables-B3KEYyhW.cjs +0 -1
  290. package/variables-DzXcMW2k.js +0 -5
@@ -1,33 +1,34 @@
1
- import { $ as J, a as ue, b as fe, c as $e, d as be, e as pe, f as ge, g as K, h as ve } from "./Collection-j_iWeuZo.js";
2
- import { $ as Q, b as X, a as V, f as Y, g as me, d as he } from "./utils-BMBoiyL7.js";
3
- import { $ as N, a as xe, b as Pe, c as Z, d as De } from "./DragAndDrop-DPRU3Y0Y.js";
4
- import { $ as ye, a as Se, b as ke, c as Ee } from "./Separator-COlhRmJF.js";
5
- import { b as Me, $ as Fe, c as we } from "./ListKeyboardDelegate-Dyu4eFtP.js";
6
- import { $ as Be } from "./Text-BpERRete.js";
7
- import { c as ee, a as E, b as j, e as He } from "./mergeProps-Ct8m5-xW.js";
8
- import { $ as H } from "./filterDOMProps-wsa9OcNI.js";
1
+ import { $ as J, a as ue, b as fe, c as $e, d as be, e as pe, f as ve, g as K, h as ge } from "./Collection-BkxwF21i.js";
2
+ import { $ as Q, b as X, a as I, f as Y, g as me, d as he } from "./utils-D2iKpxcZ.js";
3
+ import { $ as N, a as xe, b as Pe, c as Z, d as De } from "./DragAndDrop-DF0VoPJw.js";
4
+ import { $ as ye, a as Se, b as Ee, c as ke } from "./Separator-BWAnBMVN.js";
5
+ import { b as Be } from "./RSPContexts-B0lEq7qq.js";
6
+ import { a as Me, b as Fe, c as we } from "./SelectionIndicator-ant6jeC1.js";
7
+ import { $ as Le } from "./Text-bqP9NeVg.js";
8
+ import { c as ee, a as k, b as j, e as He } from "./mergeProps-Ct8m5-xW.js";
9
+ import { $ as L } from "./filterDOMProps-wsa9OcNI.js";
9
10
  import { $ as Ie } from "./inertValue-B7loUihk.js";
10
- import n, { forwardRef as oe, createContext as te, useContext as x, useEffect as ae, useRef as T, useMemo as re } from "react";
11
- import { d as Ve } from "./usePress-4yZ5a87p.js";
12
- import { h as Le, i as Oe, $ as le, a as G } from "./useHover-zCCNtF6g.js";
13
- import { d as _e } from "./SelectionManager-D-4ThfPZ.js";
14
- import { $ as Ae } from "./useFocusWithin-BKopz9sr.js";
15
- import { a as Ce } from "./Button-B6lxIKPk.js";
16
- import { a as Te, $ as Ne } from "./useListState-D2yPZrFZ.js";
17
- import { $ as Ue } from "./context-Dl_saGB6.js";
18
- import { $ as ze } from "./useFocusRing-Copf_tx8.js";
19
- import { a as Ke } from "./FocusScope-8ILtcq9W.js";
11
+ import d, { forwardRef as oe, createContext as te, useContext as x, useEffect as ae, useRef as C, useMemo as re } from "react";
12
+ import { d as Ve } from "./usePress-BqQIhkNY.js";
13
+ import { h as _e, i as Ae, $ as le, a as G } from "./useHover-DkC5FyNd.js";
14
+ import { d as Te } from "./SelectionManager-C469yQeD.js";
15
+ import { $ as Oe } from "./useFocusWithin-DhXBuB2O.js";
16
+ import { a as Ce } from "./Button-CGe3Nyos.js";
17
+ import { a as Ne, $ as Ue } from "./useListState-PZF3ahpk.js";
18
+ import { $ as ze } from "./context-Dl_saGB6.js";
19
+ import { $ as Ke, a as Re } from "./ListKeyboardDelegate-BHnZMUhW.js";
20
+ import { $ as We } from "./useFocusRing-CcxI7nbg.js";
20
21
  const R = /* @__PURE__ */ new WeakMap();
21
- function Re(t) {
22
+ function qe(t) {
22
23
  return typeof t == "string" ? t.replace(/\s*/g, "") : "" + t;
23
24
  }
24
- function We(t, e) {
25
+ function je(t, e) {
25
26
  let r = R.get(t);
26
27
  if (!r) throw new Error("Unknown list");
27
- return `${r.id}-option-${Re(e)}`;
28
+ return `${r.id}-option-${qe(e)}`;
28
29
  }
29
- function qe(t, e, r) {
30
- let o = H(t, {
30
+ function Ge(t, e, r) {
31
+ let o = L(t, {
31
32
  labelable: !0
32
33
  }), l = t.selectionBehavior || "toggle", i = t.linkBehavior || (l === "replace" ? "action" : "override");
33
34
  l === "toggle" && i === "action" && (i = "override");
@@ -38,7 +39,7 @@ function qe(t, e, r) {
38
39
  collection: e.collection,
39
40
  disabledKeys: e.disabledKeys,
40
41
  linkBehavior: i
41
- }), { focusWithinProps: d } = Ae({
42
+ }), { focusWithinProps: n } = Oe({
42
43
  onFocusWithin: t.onFocus,
43
44
  onBlurWithin: t.onBlur,
44
45
  onFocusWithinChange: t.onFocusChange
@@ -50,9 +51,11 @@ function qe(t, e, r) {
50
51
  shouldFocusOnHover: t.shouldFocusOnHover,
51
52
  isVirtualized: t.isVirtualized,
52
53
  onAction: t.onAction,
53
- linkBehavior: i
54
+ linkBehavior: i,
55
+ // @ts-ignore
56
+ UNSTABLE_itemBehavior: t.UNSTABLE_itemBehavior
54
57
  });
55
- let { labelProps: f, fieldProps: c } = Ce({
58
+ let { labelProps: f, fieldProps: u } = Ce({
56
59
  ...t,
57
60
  id: s,
58
61
  // listbox is not an HTML input element so it
@@ -61,84 +64,86 @@ function qe(t, e, r) {
61
64
  });
62
65
  return {
63
66
  labelProps: f,
64
- listBoxProps: E(o, d, e.selectionManager.selectionMode === "multiple" ? {
67
+ listBoxProps: k(o, n, e.selectionManager.selectionMode === "multiple" ? {
65
68
  "aria-multiselectable": "true"
66
69
  } : {}, {
67
70
  role: "listbox",
68
- ...E(c, a)
71
+ ...k(u, a)
69
72
  })
70
73
  };
71
74
  }
72
- function je(t, e, r) {
75
+ function Je(t, e, r) {
73
76
  var o, l;
74
77
  let { key: i } = t, a = R.get(e);
75
- var d;
76
- let s = (d = t.isDisabled) !== null && d !== void 0 ? d : e.selectionManager.isDisabled(i);
78
+ var n;
79
+ let s = (n = t.isDisabled) !== null && n !== void 0 ? n : e.selectionManager.isDisabled(i);
77
80
  var f;
78
- let c = (f = t.isSelected) !== null && f !== void 0 ? f : e.selectionManager.isSelected(i);
81
+ let u = (f = t.isSelected) !== null && f !== void 0 ? f : e.selectionManager.isSelected(i);
79
82
  var b;
80
- let u = (b = t.shouldSelectOnPressUp) !== null && b !== void 0 ? b : a == null ? void 0 : a.shouldSelectOnPressUp;
83
+ let c = (b = t.shouldSelectOnPressUp) !== null && b !== void 0 ? b : a == null ? void 0 : a.shouldSelectOnPressUp;
81
84
  var m;
82
- let g = (m = t.shouldFocusOnHover) !== null && m !== void 0 ? m : a == null ? void 0 : a.shouldFocusOnHover;
83
- var v;
84
- let p = (v = t.shouldUseVirtualFocus) !== null && v !== void 0 ? v : a == null ? void 0 : a.shouldUseVirtualFocus;
85
+ let v = (m = t.shouldFocusOnHover) !== null && m !== void 0 ? m : a == null ? void 0 : a.shouldFocusOnHover;
86
+ var g;
87
+ let p = (g = t.shouldUseVirtualFocus) !== null && g !== void 0 ? g : a == null ? void 0 : a.shouldUseVirtualFocus;
85
88
  var P;
86
- let k = (P = t.isVirtualized) !== null && P !== void 0 ? P : a == null ? void 0 : a.isVirtualized, M = j(), D = j(), y = {
89
+ let E = (P = t.isVirtualized) !== null && P !== void 0 ? P : a == null ? void 0 : a.isVirtualized, B = j(), D = j(), y = {
87
90
  role: "option",
88
91
  "aria-disabled": s || void 0,
89
- "aria-selected": e.selectionManager.selectionMode !== "none" ? c : void 0
92
+ "aria-selected": e.selectionManager.selectionMode !== "none" ? u : void 0
90
93
  };
91
- Le() && Oe() || (y["aria-label"] = t["aria-label"], y["aria-labelledby"] = M, y["aria-describedby"] = D);
94
+ _e() && Ae() || (y["aria-label"] = t["aria-label"], y["aria-labelledby"] = B, y["aria-describedby"] = D);
92
95
  let $ = e.collection.getItem(i);
93
- if (k) {
96
+ if (E) {
94
97
  let h = Number($ == null ? void 0 : $.index);
95
98
  y["aria-posinset"] = Number.isNaN(h) ? void 0 : h + 1, y["aria-setsize"] = Se(e.collection);
96
99
  }
97
- let O = a != null && a.onAction ? () => {
100
+ let _ = a != null && a.onAction ? () => {
98
101
  var h;
99
102
  return a == null || (h = a.onAction) === null || h === void 0 ? void 0 : h.call(a, i);
100
- } : void 0, F = We(e, i), { itemProps: S, isPressed: w, isFocused: B, hasAction: _, allowsSelection: A } = _e({
103
+ } : void 0, M = je(e, i), { itemProps: S, isPressed: F, isFocused: w, hasAction: A, allowsSelection: T } = Te({
101
104
  selectionManager: e.selectionManager,
102
105
  key: i,
103
106
  ref: r,
104
- shouldSelectOnPressUp: u,
105
- allowsDifferentPressOrigin: u && g,
106
- isVirtualized: k,
107
+ shouldSelectOnPressUp: c,
108
+ allowsDifferentPressOrigin: c && v,
109
+ isVirtualized: E,
107
110
  shouldUseVirtualFocus: p,
108
111
  isDisabled: s,
109
- onAction: O || !($ == null || (o = $.props) === null || o === void 0) && o.onAction ? He($ == null || (l = $.props) === null || l === void 0 ? void 0 : l.onAction, O) : void 0,
112
+ onAction: _ || !($ == null || (o = $.props) === null || o === void 0) && o.onAction ? He($ == null || (l = $.props) === null || l === void 0 ? void 0 : l.onAction, _) : void 0,
110
113
  linkBehavior: a == null ? void 0 : a.linkBehavior,
111
- id: F
114
+ // @ts-ignore
115
+ UNSTABLE_itemBehavior: a == null ? void 0 : a.UNSTABLE_itemBehavior,
116
+ id: M
112
117
  }), { hoverProps: U } = le({
113
- isDisabled: s || !g,
118
+ isDisabled: s || !v,
114
119
  onHoverStart() {
115
120
  G() || (e.selectionManager.setFocused(!0), e.selectionManager.setFocusedKey(i));
116
121
  }
117
- }), I = H($ == null ? void 0 : $.props);
118
- delete I.id;
119
- let C = Ve($ == null ? void 0 : $.props);
122
+ }), H = L($ == null ? void 0 : $.props);
123
+ delete H.id;
124
+ let O = Ve($ == null ? void 0 : $.props);
120
125
  return {
121
126
  optionProps: {
122
127
  ...y,
123
- ...E(I, S, U, C),
124
- id: F
128
+ ...k(H, S, U, O),
129
+ id: M
125
130
  },
126
131
  labelProps: {
127
- id: M
132
+ id: B
128
133
  },
129
134
  descriptionProps: {
130
135
  id: D
131
136
  },
132
- isFocused: B,
133
- isFocusVisible: B && e.selectionManager.isFocused && G(),
134
- isSelected: c,
137
+ isFocused: w,
138
+ isFocusVisible: w && e.selectionManager.isFocused && G(),
139
+ isSelected: u,
135
140
  isDisabled: s,
136
- isPressed: w,
137
- allowsSelection: A,
138
- hasAction: _
141
+ isPressed: F,
142
+ allowsSelection: T,
143
+ hasAction: A
139
144
  };
140
145
  }
141
- function Ge(t) {
146
+ function Qe(t) {
142
147
  let { heading: e, "aria-label": r } = t, o = ee();
143
148
  return {
144
149
  itemProps: {
@@ -158,86 +163,86 @@ function Ge(t) {
158
163
  }
159
164
  };
160
165
  }
161
- const ie = /* @__PURE__ */ te(null), L = /* @__PURE__ */ te(null), ho = /* @__PURE__ */ oe(function(e, r) {
166
+ const ie = /* @__PURE__ */ te(null), V = /* @__PURE__ */ te(null), Do = /* @__PURE__ */ oe(function(e, r) {
162
167
  [e, r] = Q(e, r, ie);
163
- let o = x(L);
164
- return o ? /* @__PURE__ */ n.createElement(de, {
168
+ let o = x(V);
169
+ return o ? /* @__PURE__ */ d.createElement(de, {
165
170
  state: o,
166
171
  props: e,
167
172
  listBoxRef: r
168
- }) : /* @__PURE__ */ n.createElement(fe, {
169
- content: /* @__PURE__ */ n.createElement($e, e)
170
- }, (l) => /* @__PURE__ */ n.createElement(Je, {
173
+ }) : /* @__PURE__ */ d.createElement(fe, {
174
+ content: /* @__PURE__ */ d.createElement($e, e)
175
+ }, (l) => /* @__PURE__ */ d.createElement(Xe, {
171
176
  props: e,
172
177
  listBoxRef: r,
173
178
  collection: l
174
179
  }));
175
180
  });
176
- function Je({ props: t, listBoxRef: e, collection: r }) {
181
+ function Xe({ props: t, listBoxRef: e, collection: r }) {
177
182
  t = {
178
183
  ...t,
179
184
  collection: r,
180
185
  children: null,
181
186
  items: null
182
187
  };
183
- let { layoutDelegate: o } = x(K), l = Ne({
188
+ let { layoutDelegate: o } = x(K), l = Ue({
184
189
  ...t,
185
190
  layoutDelegate: o
186
191
  });
187
- return /* @__PURE__ */ n.createElement(de, {
192
+ return /* @__PURE__ */ d.createElement(de, {
188
193
  state: l,
189
194
  props: t,
190
195
  listBoxRef: e
191
196
  });
192
197
  }
193
198
  function de({ state: t, props: e, listBoxRef: r }) {
194
- [e, r] = Q(e, r, Me);
195
- let { dragAndDropHooks: o, layout: l = "stack", orientation: i = "vertical", filter: a } = e, d = Te(t, a), { collection: s, selectionManager: f } = d, c = !!(o != null && o.useDraggableCollectionState), b = !!(o != null && o.useDroppableCollectionState), { direction: u } = Ue(), { disabledBehavior: m, disabledKeys: g } = f, v = Fe({
199
+ [e, r] = Q(e, r, Be);
200
+ let { dragAndDropHooks: o, layout: l = "stack", orientation: i = "vertical", filter: a } = e, n = Ne(t, a), { collection: s, selectionManager: f } = n, u = !!(o != null && o.useDraggableCollectionState), b = !!(o != null && o.useDroppableCollectionState), { direction: c } = ze(), { disabledBehavior: m, disabledKeys: v } = f, g = Ke({
196
201
  usage: "search",
197
202
  sensitivity: "base"
198
- }), { isVirtualized: p, layoutDelegate: P, dropTargetDelegate: k, CollectionRoot: M } = x(K), D = re(() => e.keyboardDelegate || new we({
203
+ }), { isVirtualized: p, layoutDelegate: P, dropTargetDelegate: E, CollectionRoot: B } = x(K), D = re(() => e.keyboardDelegate || new Re({
199
204
  collection: s,
200
- collator: v,
205
+ collator: g,
201
206
  ref: r,
202
- disabledKeys: g,
207
+ disabledKeys: v,
203
208
  disabledBehavior: m,
204
209
  layout: l,
205
210
  orientation: i,
206
- direction: u,
211
+ direction: c,
207
212
  layoutDelegate: P
208
213
  }), [
209
214
  s,
210
- v,
215
+ g,
211
216
  r,
212
217
  m,
213
- g,
218
+ v,
214
219
  i,
215
- u,
220
+ c,
216
221
  e.keyboardDelegate,
217
222
  l,
218
223
  P
219
- ]), { listBoxProps: y } = qe({
224
+ ]), { listBoxProps: y } = Ge({
220
225
  ...e,
221
- shouldSelectOnPressUp: c || e.shouldSelectOnPressUp,
226
+ shouldSelectOnPressUp: u || e.shouldSelectOnPressUp,
222
227
  keyboardDelegate: D,
223
228
  isVirtualized: p
224
- }, d, r), $ = T(c), O = T(b);
229
+ }, n, r), $ = C(u), _ = C(b);
225
230
  ae(() => {
226
- process.env.NODE_ENV !== "production" && ($.current !== c && console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."), O.current !== b && console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."));
231
+ process.env.NODE_ENV !== "production" && ($.current !== u && console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."), _.current !== b && console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."));
227
232
  }, [
228
- c,
233
+ u,
229
234
  b
230
235
  ]);
231
- let F, S, w, B = !1, _ = null, A = T(null);
232
- if (c && o) {
233
- F = o.useDraggableCollectionState({
236
+ let M, S, F, w = !1, A = null, T = C(null);
237
+ if (u && o) {
238
+ M = o.useDraggableCollectionState({
234
239
  collection: s,
235
240
  selectionManager: f,
236
- preview: o.renderDragPreview ? A : void 0
237
- }), o.useDraggableCollection({}, F, r);
241
+ preview: o.renderDragPreview ? T : void 0
242
+ }), o.useDraggableCollection({}, M, r);
238
243
  let z = o.DragPreview;
239
- _ = o.renderDragPreview ? /* @__PURE__ */ n.createElement(z, {
240
- ref: A
244
+ A = o.renderDragPreview ? /* @__PURE__ */ d.createElement(z, {
245
+ ref: T
241
246
  }, o.renderDragPreview) : null;
242
247
  }
243
248
  if (b && o) {
@@ -245,72 +250,72 @@ function de({ state: t, props: e, listBoxRef: r }) {
245
250
  collection: s,
246
251
  selectionManager: f
247
252
  });
248
- let z = o.dropTargetDelegate || k || new o.ListDropTargetDelegate(s, r, {
253
+ let z = o.dropTargetDelegate || E || new o.ListDropTargetDelegate(s, r, {
249
254
  orientation: i,
250
255
  layout: l,
251
- direction: u
256
+ direction: c
252
257
  });
253
- w = o.useDroppableCollection({
258
+ F = o.useDroppableCollection({
254
259
  keyboardDelegate: D,
255
260
  dropTargetDelegate: z
256
- }, S, r), B = S.isDropTarget({
261
+ }, S, r), w = S.isDropTarget({
257
262
  type: "root"
258
263
  });
259
264
  }
260
- let { focusProps: U, isFocused: I, isFocusVisible: C } = ze(), h = d.collection.size === 0, W = {
261
- isDropTarget: B,
265
+ let { focusProps: U, isFocused: H, isFocusVisible: O } = We(), h = n.collection.size === 0, W = {
266
+ isDropTarget: w,
262
267
  isEmpty: h,
263
- isFocused: I,
264
- isFocusVisible: C,
268
+ isFocused: H,
269
+ isFocusVisible: O,
265
270
  layout: e.layout || "stack",
266
- state: d
267
- }, se = V({
271
+ state: n
272
+ }, se = I({
268
273
  className: e.className,
269
274
  style: e.style,
270
275
  defaultClassName: "react-aria-ListBox",
271
276
  values: W
272
277
  }), q = null;
273
- h && e.renderEmptyState && (q = /* @__PURE__ */ n.createElement("div", {
278
+ h && e.renderEmptyState && (q = /* @__PURE__ */ d.createElement("div", {
274
279
  // eslint-disable-next-line
275
280
  role: "option",
276
281
  style: {
277
282
  display: "contents"
278
283
  }
279
284
  }, e.renderEmptyState(W)));
280
- let ce = H(e, {
285
+ let ce = L(e, {
281
286
  global: !0
282
287
  });
283
- return /* @__PURE__ */ n.createElement(Ke, null, /* @__PURE__ */ n.createElement("div", {
284
- ...E(ce, se, y, U, w == null ? void 0 : w.collectionProps),
288
+ return /* @__PURE__ */ d.createElement(Fe, null, /* @__PURE__ */ d.createElement("div", {
289
+ ...k(ce, se, y, U, F == null ? void 0 : F.collectionProps),
285
290
  ref: r,
286
291
  slot: e.slot || void 0,
287
292
  onScroll: e.onScroll,
288
- "data-drop-target": B || void 0,
293
+ "data-drop-target": w || void 0,
289
294
  "data-empty": h || void 0,
290
- "data-focused": I || void 0,
291
- "data-focus-visible": C || void 0,
295
+ "data-focused": H || void 0,
296
+ "data-focus-visible": O || void 0,
292
297
  "data-layout": e.layout || "stack",
293
298
  "data-orientation": e.orientation || "vertical"
294
- }, /* @__PURE__ */ n.createElement(Y, {
299
+ }, /* @__PURE__ */ d.createElement(Y, {
295
300
  values: [
296
301
  [
297
302
  ie,
298
303
  e
299
304
  ],
300
305
  [
301
- L,
302
- d
306
+ V,
307
+ n
303
308
  ],
304
309
  [
305
310
  N,
306
311
  {
307
312
  dragAndDropHooks: o,
308
- dragState: F,
313
+ dragState: M,
309
314
  dropState: S
310
315
  }
311
316
  ],
312
317
  [
313
- ke,
318
+ Ee,
314
319
  {
315
320
  elementType: "div"
316
321
  }
@@ -318,65 +323,65 @@ function de({ state: t, props: e, listBoxRef: r }) {
318
323
  [
319
324
  Pe,
320
325
  {
321
- render: Qe
326
+ render: Ye
322
327
  }
323
328
  ],
324
329
  [
325
- ve,
330
+ ge,
326
331
  {
327
332
  name: "ListBoxSection",
328
333
  render: ne
329
334
  }
330
335
  ]
331
336
  ]
332
- }, /* @__PURE__ */ n.createElement(M, {
337
+ }, /* @__PURE__ */ d.createElement(we, null, /* @__PURE__ */ d.createElement(B, {
333
338
  collection: s,
334
339
  scrollRef: r,
335
340
  persistedKeys: De(f, o, S),
336
341
  renderDropIndicator: Z(o, S)
337
- })), q, _));
342
+ }))), q, A));
338
343
  }
339
344
  function ne(t, e, r, o = "react-aria-ListBoxSection") {
340
- let l = x(L), { dragAndDropHooks: i, dropState: a } = x(N), { CollectionBranch: d } = x(K), [s, f] = he();
341
- var c;
342
- let { headingProps: b, groupProps: u } = Ge({
345
+ let l = x(V), { dragAndDropHooks: i, dropState: a } = x(N), { CollectionBranch: n } = x(K), [s, f] = he();
346
+ var u;
347
+ let { headingProps: b, groupProps: c } = Qe({
343
348
  heading: f,
344
- "aria-label": (c = t["aria-label"]) !== null && c !== void 0 ? c : void 0
345
- }), m = V({
349
+ "aria-label": (u = t["aria-label"]) !== null && u !== void 0 ? u : void 0
350
+ }), m = I({
346
351
  defaultClassName: o,
347
352
  className: t.className,
348
353
  style: t.style,
349
354
  values: {}
350
- }), g = H(t, {
355
+ }), v = L(t, {
351
356
  global: !0
352
357
  });
353
- return delete g.id, /* @__PURE__ */ n.createElement("section", {
354
- ...E(g, m, u),
358
+ return delete v.id, /* @__PURE__ */ d.createElement("section", {
359
+ ...k(v, m, c),
355
360
  ref: e
356
- }, /* @__PURE__ */ n.createElement(Ee.Provider, {
361
+ }, /* @__PURE__ */ d.createElement(ke.Provider, {
357
362
  value: {
358
363
  ...b,
359
364
  ref: s
360
365
  }
361
- }, /* @__PURE__ */ n.createElement(d, {
366
+ }, /* @__PURE__ */ d.createElement(n, {
362
367
  collection: l.collection,
363
368
  parent: r,
364
369
  renderDropIndicator: Z(i, a)
365
370
  })));
366
371
  }
367
- const xo = /* @__PURE__ */ ue(pe, ne), Po = /* @__PURE__ */ J(be, function(e, r, o) {
368
- let l = X(r), i = x(L), { dragAndDropHooks: a, dragState: d, dropState: s } = x(N), { optionProps: f, labelProps: c, descriptionProps: b, ...u } = je({
372
+ const yo = /* @__PURE__ */ ue(pe, ne), So = /* @__PURE__ */ J(be, function(e, r, o) {
373
+ let l = X(r), i = x(V), { dragAndDropHooks: a, dragState: n, dropState: s } = x(N), { optionProps: f, labelProps: u, descriptionProps: b, ...c } = Je({
369
374
  key: o.key,
370
375
  "aria-label": e == null ? void 0 : e["aria-label"]
371
- }, i, l), { hoverProps: m, isHovered: g } = le({
372
- isDisabled: !u.allowsSelection && !u.hasAction,
376
+ }, i, l), { hoverProps: m, isHovered: v } = le({
377
+ isDisabled: !c.allowsSelection && !c.hasAction,
373
378
  onHoverStart: o.props.onHoverStart,
374
379
  onHoverChange: o.props.onHoverChange,
375
380
  onHoverEnd: o.props.onHoverEnd
376
- }), v = null;
377
- d && a && (v = a.useDraggableItem({
381
+ }), g = null;
382
+ n && a && (g = a.useDraggableItem({
378
383
  key: o.key
379
- }, d));
384
+ }, n));
380
385
  let p = null;
381
386
  s && a && (p = a.useDroppableItem({
382
387
  target: {
@@ -385,17 +390,17 @@ const xo = /* @__PURE__ */ ue(pe, ne), Po = /* @__PURE__ */ J(be, function(e, r,
385
390
  dropPosition: "on"
386
391
  }
387
392
  }, s, l));
388
- let P = d && d.isDragging(o.key), k = V({
393
+ let P = n && n.isDragging(o.key), E = I({
389
394
  ...e,
390
395
  id: void 0,
391
396
  children: e.children,
392
397
  defaultClassName: "react-aria-ListBoxItem",
393
398
  values: {
394
- ...u,
395
- isHovered: g,
399
+ ...c,
400
+ isHovered: v,
396
401
  selectionMode: i.selectionManager.selectionMode,
397
402
  selectionBehavior: i.selectionManager.selectionBehavior,
398
- allowsDragging: !!d,
403
+ allowsDragging: !!n,
399
404
  isDragging: P,
400
405
  isDropTarget: p == null ? void 0 : p.isDropTarget
401
406
  }
@@ -405,56 +410,62 @@ const xo = /* @__PURE__ */ ue(pe, ne), Po = /* @__PURE__ */ J(be, function(e, r,
405
410
  }, [
406
411
  o.textValue
407
412
  ]);
408
- let M = e.href ? "a" : "div", D = H(e, {
413
+ let B = e.href ? "a" : "div", D = L(e, {
409
414
  global: !0
410
415
  });
411
- return delete D.id, delete D.onClick, /* @__PURE__ */ n.createElement(M, {
412
- ...E(D, k, f, m, v == null ? void 0 : v.dragProps, p == null ? void 0 : p.dropProps),
416
+ return delete D.id, delete D.onClick, /* @__PURE__ */ d.createElement(B, {
417
+ ...k(D, E, f, m, g == null ? void 0 : g.dragProps, p == null ? void 0 : p.dropProps),
413
418
  ref: l,
414
- "data-allows-dragging": !!d || void 0,
415
- "data-selected": u.isSelected || void 0,
416
- "data-disabled": u.isDisabled || void 0,
417
- "data-hovered": g || void 0,
418
- "data-focused": u.isFocused || void 0,
419
- "data-focus-visible": u.isFocusVisible || void 0,
420
- "data-pressed": u.isPressed || void 0,
419
+ "data-allows-dragging": !!n || void 0,
420
+ "data-selected": c.isSelected || void 0,
421
+ "data-disabled": c.isDisabled || void 0,
422
+ "data-hovered": v || void 0,
423
+ "data-focused": c.isFocused || void 0,
424
+ "data-focus-visible": c.isFocusVisible || void 0,
425
+ "data-pressed": c.isPressed || void 0,
421
426
  "data-dragging": P || void 0,
422
427
  "data-drop-target": (p == null ? void 0 : p.isDropTarget) || void 0,
423
428
  "data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode
424
- }, /* @__PURE__ */ n.createElement(Y, {
429
+ }, /* @__PURE__ */ d.createElement(Y, {
425
430
  values: [
426
431
  [
427
- Be,
432
+ Le,
428
433
  {
429
434
  slots: {
430
- [me]: c,
431
- label: c,
435
+ [me]: u,
436
+ label: u,
432
437
  description: b
433
438
  }
434
439
  }
440
+ ],
441
+ [
442
+ Me,
443
+ {
444
+ isSelected: c.isSelected
445
+ }
435
446
  ]
436
447
  ]
437
- }, k.children));
448
+ }, E.children));
438
449
  });
439
- function Qe(t, e) {
450
+ function Ye(t, e) {
440
451
  e = X(e);
441
452
  let { dragAndDropHooks: r, dropState: o } = x(N), { dropIndicatorProps: l, isHidden: i, isDropTarget: a } = r.useDropIndicator(t, o, e);
442
- return i ? null : /* @__PURE__ */ n.createElement(Ye, {
453
+ return i ? null : /* @__PURE__ */ d.createElement(eo, {
443
454
  ...t,
444
455
  dropIndicatorProps: l,
445
456
  isDropTarget: a,
446
457
  ref: e
447
458
  });
448
459
  }
449
- function Xe(t, e) {
450
- let { dropIndicatorProps: r, isDropTarget: o, ...l } = t, i = V({
460
+ function Ze(t, e) {
461
+ let { dropIndicatorProps: r, isDropTarget: o, ...l } = t, i = I({
451
462
  ...l,
452
463
  defaultClassName: "react-aria-DropIndicator",
453
464
  values: {
454
465
  isDropTarget: o
455
466
  }
456
467
  });
457
- return /* @__PURE__ */ n.createElement("div", {
468
+ return /* @__PURE__ */ d.createElement("div", {
458
469
  ...r,
459
470
  ...i,
460
471
  // eslint-disable-next-line
@@ -463,36 +474,36 @@ function Xe(t, e) {
463
474
  "data-drop-target": o || void 0
464
475
  });
465
476
  }
466
- const Ye = /* @__PURE__ */ oe(Xe), Do = J(ge, function(e, r, o) {
467
- let l = x(L), { isLoading: i, onLoadMore: a, scrollOffset: d, ...s } = e, f = T(null), c = re(() => ({
477
+ const eo = /* @__PURE__ */ oe(Ze), Eo = J(ve, function(e, r, o) {
478
+ let l = x(V), { isLoading: i, onLoadMore: a, scrollOffset: n, ...s } = e, f = C(null), u = re(() => ({
468
479
  onLoadMore: a,
469
480
  collection: l == null ? void 0 : l.collection,
470
481
  sentinelRef: f,
471
- scrollOffset: d
482
+ scrollOffset: n
472
483
  }), [
473
484
  a,
474
- d,
485
+ n,
475
486
  l == null ? void 0 : l.collection
476
487
  ]);
477
- xe(c, f);
478
- let b = V({
488
+ xe(u, f);
489
+ let b = I({
479
490
  ...s,
480
491
  id: void 0,
481
492
  children: o.rendered,
482
493
  defaultClassName: "react-aria-ListBoxLoadingIndicator",
483
494
  values: null
484
- }), u = {
495
+ }), c = {
485
496
  // For Android talkback
486
497
  tabIndex: -1
487
498
  };
488
- return /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("div", {
499
+ return /* @__PURE__ */ d.createElement(d.Fragment, null, /* @__PURE__ */ d.createElement("div", {
489
500
  style: {
490
501
  position: "relative",
491
502
  width: 0,
492
503
  height: 0
493
504
  },
494
505
  inert: Ie(!0)
495
- }, /* @__PURE__ */ n.createElement("div", {
506
+ }, /* @__PURE__ */ d.createElement("div", {
496
507
  "data-testid": "loadMoreSentinel",
497
508
  ref: f,
498
509
  style: {
@@ -500,10 +511,10 @@ const Ye = /* @__PURE__ */ oe(Xe), Do = J(ge, function(e, r, o) {
500
511
  height: 1,
501
512
  width: 1
502
513
  }
503
- })), i && b.children && /* @__PURE__ */ n.createElement("div", {
504
- ...E(H(e, {
514
+ })), i && b.children && /* @__PURE__ */ d.createElement("div", {
515
+ ...k(L(e, {
505
516
  global: !0
506
- }), u),
517
+ }), c),
507
518
  ...b,
508
519
  // aria-selected isn't needed here since this option is not selectable.
509
520
  // eslint-disable-next-line jsx-a11y/role-has-required-aria-props
@@ -512,12 +523,12 @@ const Ye = /* @__PURE__ */ oe(Xe), Do = J(ge, function(e, r, o) {
512
523
  }, b.children));
513
524
  });
514
525
  export {
515
- Do as $,
516
- ho as a,
517
- Po as b,
518
- xo as c,
526
+ Eo as $,
527
+ Do as a,
528
+ So as b,
529
+ yo as c,
519
530
  R as d,
520
- We as e,
531
+ je as e,
521
532
  ie as f,
522
- L as g
533
+ V as g
523
534
  };