@midas-ds/components 11.2.0 → 12.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 (465) hide show
  1. package/AccordionItem-C9dBt-tQ.js +335 -0
  2. package/AccordionItem-SOfjXh3V.cjs +1 -0
  3. package/BadgeContainer-iNNgJKD9.js +37 -0
  4. package/{BadgeContainer-DWVHS5dn.cjs → BadgeContainer-su0iCJKy.cjs} +1 -1
  5. package/Breadcrumbs-BAHJMPsu.js +271 -0
  6. package/Breadcrumbs-DUcHHI_2.cjs +1 -0
  7. package/Button-CMIbSc4-.cjs +1 -0
  8. package/{Button-CepQFEit.js → Button-DD5_S-tD.js} +154 -160
  9. package/{Button-BjMaGya2.js → Button-DYcmg49Z.js} +2 -2
  10. package/{Button-Dq6ugqxT.cjs → Button-DrL5Jv-s.cjs} +1 -1
  11. package/Button.module-BNLcvARn.cjs +1 -0
  12. package/Button.module-Bax2YU6N.js +14 -0
  13. package/ButtonGroup-ClYTgaRc.cjs +1 -0
  14. package/{ButtonGroup-DvVvear6.js → ButtonGroup-WZZDPu9Z.js} +1 -1
  15. package/CHANGELOG.md +114 -0
  16. package/Card-BDDyGAMA.js +131 -0
  17. package/Card-mj5lCIR4.cjs +1 -0
  18. package/{CharacterCounter-DSFBv3Rw.cjs → CharacterCounter-CnRv-iUP.cjs} +1 -1
  19. package/{CharacterCounter-DpBDwvLw.js → CharacterCounter-DT7A0wWP.js} +8 -8
  20. package/Checkbox-BtM2rFh9.js +278 -0
  21. package/Checkbox-CvdIG43J.cjs +1 -0
  22. package/CheckboxGroup-C94as9Xt.cjs +1 -0
  23. package/CheckboxGroup-CjcDYBRk.js +157 -0
  24. package/Collection-B0_WAieZ.js +625 -0
  25. package/Collection-BvWp2xBd.cjs +1 -0
  26. package/{ColorSchemeSwitch-PiEHptw1.js → ColorSchemeSwitch-C4PMYeD5.js} +17 -25
  27. package/{ColorSchemeSwitch-owUryjYz.cjs → ColorSchemeSwitch-CKcoGZM1.cjs} +1 -1
  28. package/ComboBox-B2EmfOyr.cjs +1 -0
  29. package/{ComboBox-DfJ_aJrf.js → ComboBox-BWXJZyOR.js} +522 -511
  30. package/DateField-CcQJYDLD.js +47 -0
  31. package/DateField-IpCiF81R.cjs +1 -0
  32. package/{DateInputDivider-BmvqW1Hk.js → DateInputDivider-CXkUdlzc.js} +936 -839
  33. package/DateInputDivider-Cf5GZHlM.cjs +1 -0
  34. package/DateRangePicker-B2BJO1KC.js +889 -0
  35. package/DateRangePicker-Dfwe9RhJ.cjs +6 -0
  36. package/Dialog-B8swxl24.js +1643 -0
  37. package/Dialog-DR6nEqMT.cjs +1 -0
  38. package/Dialog-DgJobm71.cjs +1 -0
  39. package/Dialog-P3frHOdq.js +240 -0
  40. package/DragAndDrop-Dw8JZmrn.cjs +1 -0
  41. package/DragAndDrop-PrUJv--B.js +75 -0
  42. package/{Dropdown-Cpc2EszJ.js → Dropdown-CIvWpN3v.js} +33 -32
  43. package/Dropdown-DJ2vWAqk.cjs +6 -0
  44. package/FieldError-Cornph2A.cjs +1 -0
  45. package/{FieldError-CDCvUjK5.js → FieldError-DdvFyIf4.js} +16 -14
  46. package/{FileUpload-BokzdXVc.js → FileUpload-D2gnQKdn.js} +76 -74
  47. package/{FileUpload-Bz9md5zc.cjs → FileUpload-D3RaARDV.cjs} +2 -2
  48. package/{FocusScope-DMsfA3bj.js → FocusScope-Bj40Ir-g.js} +192 -195
  49. package/FocusScope-Uy3DiY0-.cjs +1 -0
  50. package/Grid-WbEkSCGh.cjs +1 -0
  51. package/{Grid--OhtgCo6.js → Grid-s8ovKDi8.js} +6 -9
  52. package/GridItem-CIVF1fRW.cjs +1 -0
  53. package/GridItem-D3FZyyO-.js +243 -0
  54. package/{Group-DOpbdoAi.cjs → Group-BKYGeOBr.cjs} +1 -1
  55. package/{Group-B0vQfHDy.js → Group-C73mD_-i.js} +6 -6
  56. package/Heading-BQlmb5Tm.js +46 -0
  57. package/Heading-D3FR_KXb.cjs +1 -0
  58. package/InfoBanner-CqjnTYaa.cjs +1 -0
  59. package/InfoBanner-CrA8MS3v.js +83 -0
  60. package/{Input-n-Z20KbW.js → Input-BLVRv0FK.js} +4 -4
  61. package/{Input-MJji5hhq.cjs → Input-CzMx2mfl.cjs} +1 -1
  62. package/{Label-endv1fkJ.js → Label-BG7G0iyG.js} +23 -27
  63. package/Label-C00qz3kQ.cjs +1 -0
  64. package/Layout-Bta_Cpq_.cjs +16 -0
  65. package/Layout-CG-Qxr_1.js +482 -0
  66. package/{Link-ovwNVMfg.js → Link-BtxKZ0h3.js} +16 -16
  67. package/Link-Bx6avHVl.cjs +6 -0
  68. package/Link-CbFSuEI1.js +73 -0
  69. package/Link-wM7cVPlS.cjs +1 -0
  70. package/LinkButton-BvXu6vAH.cjs +6 -0
  71. package/LinkButton-D3EnZ65v.js +69 -0
  72. package/ListBox-ICZKGluC.cjs +1 -0
  73. package/ListBox-LncMQt6I.js +523 -0
  74. package/ListBoxLoadMoreItem-Ceo73a2q.cjs +1 -0
  75. package/ListBoxLoadMoreItem-W11V-Lef.js +41 -0
  76. package/ListBoxSection-BCPv9H50.js +1085 -0
  77. package/ListBoxSection-Dx75ZinL.cjs +1 -0
  78. package/{ListKeyboardDelegate-CHki611g.js → ListKeyboardDelegate-CVxkAn5D.js} +13 -9
  79. package/ListKeyboardDelegate-C_X1wLkh.cjs +1 -0
  80. package/{Logo-BpH0HC91.cjs → Logo-CFjZc5u2.cjs} +1 -1
  81. package/{Logo-ME4ffCue.js → Logo-DkagDdKQ.js} +14 -18
  82. package/OverlayArrow-ByH6lM-H.cjs +1 -0
  83. package/OverlayArrow-CvNuu3e3.js +519 -0
  84. package/{Popover-BDvKByTT.cjs → Popover-Bi5yJEoE.cjs} +1 -1
  85. package/{Popover-Tniqbaes.js → Popover-CyEVqpJ6.js} +11 -11
  86. package/{PressResponder-C3APAKsz.js → PressResponder-CxVtArtP.js} +4 -4
  87. package/{PressResponder-4jE_HLu3.cjs → PressResponder-DbnYqwGB.cjs} +1 -1
  88. package/ProgressBar-CdXHEJh6.js +53 -0
  89. package/ProgressBar-CjuHokVZ.cjs +1 -0
  90. package/Radio-Bll-7H8O.cjs +1 -0
  91. package/Radio-DoWx2AE1.js +333 -0
  92. package/RangeCalendar-A4WQIG7P.cjs +6 -0
  93. package/{RangeCalendar-BCruEq9d.js → RangeCalendar-D7eFVAPP.js} +637 -629
  94. package/{SearchField-QFyuaT-K.cjs → SearchField-BbrUZpQm.cjs} +2 -2
  95. package/{SearchField-nwlyszwt.js → SearchField-F2FKgYds.js} +27 -31
  96. package/Select-BnbDXwgD.cjs +1 -0
  97. package/Select-Dpi3LhbI.js +654 -0
  98. package/{SelectionManager-BKrZ_mMO.js → SelectionManager-Bq-Gw1UT.js} +291 -282
  99. package/SelectionManager-BtbHoHpA.cjs +1 -0
  100. package/Separator-CM0KPvsX.js +105 -0
  101. package/Separator-Cfv2pbWf.cjs +1 -0
  102. package/Separator-DH-5wu9X.js +77 -0
  103. package/Separator-Dgin8BNW.cjs +1 -0
  104. package/Skeleton-BpYj25p8.js +37 -0
  105. package/Skeleton-DMOxEwnd.cjs +1 -0
  106. package/Spinner-D1UBuLy4.cjs +6 -0
  107. package/Spinner-DTKb_LAA.js +47 -0
  108. package/TabList-D4WwgQY3.cjs +1 -0
  109. package/TabList-D9tl2s85.js +397 -0
  110. package/Table-C6k3PiiC.cjs +16 -0
  111. package/{Table-DGTwyh7U.js → Table-CkN3y69S.js} +883 -804
  112. package/Tag-7dHEMQum.cjs +1 -0
  113. package/Tag-BUJ20HHw.js +765 -0
  114. package/Text-BAFsaON-.cjs +1 -0
  115. package/{Text-DcZqSUN9.js → Text-Be7WIOwv.js} +1 -1
  116. package/{Text-CfcjRtke.cjs → Text-BtPiT2P1.cjs} +1 -1
  117. package/Text-CmlsaWMA.js +32 -0
  118. package/TextArea-BCikUXaD.cjs +1 -0
  119. package/TextArea-h5_oBQH1.js +125 -0
  120. package/TextField-Bm5916AD.cjs +1 -0
  121. package/TextField-_UY8CXtW.js +134 -0
  122. package/TextField.module-C9Zm9unF.js +13 -0
  123. package/TextField.module-GTQtNO0r.cjs +1 -0
  124. package/{Toast-CWt_mNIg.js → Toast-BBkWczCk.js} +234 -253
  125. package/Toast-DclaxvZM.cjs +1 -0
  126. package/ToggleButtonGroup-BGG64PK1.js +214 -0
  127. package/ToggleButtonGroup-Da330GRT.cjs +1 -0
  128. package/Tooltip-BHAtsp9k.js +281 -0
  129. package/Tooltip-CZa9n5sT.cjs +1 -0
  130. package/{VisuallyHidden-CYfmTSCD.js → VisuallyHidden-CGEtjAP7.js} +2 -2
  131. package/{VisuallyHidden-Doyzl0F7.cjs → VisuallyHidden-EjrqodVh.cjs} +1 -1
  132. package/accordion/Accordion.d.ts +8 -2
  133. package/accordion/AccordionContext.d.ts +4 -0
  134. package/accordion/AccordionItem.d.ts +6 -4
  135. package/accordion/index.cjs +1 -1
  136. package/accordion/index.js +1 -1
  137. package/assets/AccordionItem.css +1 -1
  138. package/assets/BadgeContainer.css +1 -1
  139. package/assets/Breadcrumbs.css +1 -1
  140. package/assets/Button.css +1 -1
  141. package/assets/ButtonGroup.css +1 -1
  142. package/assets/Card.css +1 -1
  143. package/assets/CharacterCounter.css +1 -1
  144. package/assets/Checkbox.css +1 -1
  145. package/assets/ComboBox.css +1 -1
  146. package/assets/DateField.css +1 -1
  147. package/assets/DateInputDivider.css +1 -1
  148. package/assets/DateRangePicker.css +1 -1
  149. package/assets/Dialog.css +1 -1
  150. package/assets/Dropdown.css +1 -1
  151. package/assets/FieldError.css +1 -1
  152. package/assets/FileUpload.css +1 -1
  153. package/assets/GridItem.css +1 -1
  154. package/assets/Heading.css +1 -1
  155. package/assets/InfoBanner.css +1 -1
  156. package/assets/Label.css +1 -1
  157. package/assets/Layout.css +1 -1
  158. package/assets/Link.css +1 -1
  159. package/assets/LinkButton.css +1 -1
  160. package/assets/ListBoxSection.css +1 -1
  161. package/assets/Logo.css +1 -1
  162. package/assets/Popover.css +1 -1
  163. package/assets/ProgressBar.css +1 -1
  164. package/assets/Radio.css +1 -1
  165. package/assets/RangeCalendar.css +1 -1
  166. package/assets/SearchField.css +1 -1
  167. package/assets/Select.css +1 -1
  168. package/assets/Separator.css +1 -0
  169. package/assets/Skeleton.css +1 -1
  170. package/assets/Spinner.css +1 -1
  171. package/assets/TabList.css +1 -1
  172. package/assets/Table.css +1 -1
  173. package/assets/Tag.css +1 -1
  174. package/assets/Text.css +1 -1
  175. package/assets/TextField.css +1 -1
  176. package/assets/Toast.css +1 -1
  177. package/assets/ToggleButtonGroup.css +1 -1
  178. package/assets/Tooltip.css +1 -1
  179. package/assets/theme.css +1 -0
  180. package/assets/variables.css +1 -0
  181. package/badge/index.cjs +1 -1
  182. package/badge/index.js +1 -1
  183. package/breadcrumbs/Breadcrumbs.d.ts +0 -2
  184. package/breadcrumbs/index.cjs +1 -1
  185. package/breadcrumbs/index.js +1 -1
  186. package/button/index.cjs +1 -1
  187. package/button/index.js +2 -2
  188. package/calendar/index.cjs +1 -1
  189. package/calendar/index.js +1 -1
  190. package/card/index.cjs +1 -1
  191. package/card/index.js +1 -1
  192. package/character-counter/index.cjs +1 -1
  193. package/character-counter/index.js +1 -1
  194. package/checkbox/index.cjs +1 -1
  195. package/checkbox/index.js +2 -2
  196. package/chevron-right-0-sUFBiR.cjs +6 -0
  197. package/chevron-right-BYYHEJjK.js +11 -0
  198. package/color-scheme-switch/index.cjs +1 -1
  199. package/color-scheme-switch/index.js +1 -1
  200. package/combobox/ComboBox.d.ts +0 -4
  201. package/combobox/index.cjs +1 -1
  202. package/combobox/index.d.ts +1 -2
  203. package/combobox/index.js +2 -3
  204. package/combobox/intl/translations.json.d.ts +4 -2
  205. package/combobox/types.d.ts +0 -13
  206. package/common/icon-map.d.ts +6 -0
  207. package/common/types.d.ts +8 -0
  208. package/date-field/index.cjs +1 -1
  209. package/date-field/index.js +2 -2
  210. package/date-picker/index.cjs +1 -1
  211. package/date-picker/index.js +1 -1
  212. package/dropdown/Dropdown.d.ts +25 -1
  213. package/dropdown/index.cjs +1 -1
  214. package/dropdown/index.js +1 -1
  215. package/field-error/index.cjs +1 -1
  216. package/field-error/index.js +1 -1
  217. package/file-upload/index.cjs +1 -1
  218. package/file-upload/index.js +1 -1
  219. package/filterDOMProps-RRlKPKX0.cjs +1 -0
  220. package/filterDOMProps-wsa9OcNI.js +65 -0
  221. package/grid/Grid.d.ts +0 -8
  222. package/grid/GridItem.d.ts +0 -8
  223. package/grid/index.cjs +1 -1
  224. package/grid/index.d.ts +2 -2
  225. package/grid/index.js +4 -6
  226. package/heading/index.cjs +1 -1
  227. package/heading/index.js +1 -1
  228. package/icon-map-9XcghDra.cjs +11 -0
  229. package/icon-map-uS87FT_Q.js +43 -0
  230. package/{index-CGRFP4CC.js → index-BLPblar-.js} +34 -31
  231. package/index-DSFSh2sC.cjs +17 -0
  232. package/index.cjs +1 -1
  233. package/index.d.ts +2 -0
  234. package/index.js +133 -121
  235. package/info-banner/InfoBanner.d.ts +18 -10
  236. package/info-banner/index.cjs +1 -1
  237. package/info-banner/index.js +1 -1
  238. package/label/index.cjs +1 -1
  239. package/label/index.js +1 -1
  240. package/layout/index.cjs +1 -1
  241. package/layout/index.js +1 -1
  242. package/link/index.cjs +1 -1
  243. package/link/index.js +2 -2
  244. package/link-button/index.cjs +1 -1
  245. package/link-button/index.js +2 -2
  246. package/list-box/ListBoxLoadMoreItem.d.ts +4 -0
  247. package/list-box/index.cjs +1 -1
  248. package/list-box/index.d.ts +1 -0
  249. package/list-box/index.js +6 -5
  250. package/list-box/intl/translations.json.d.ts +11 -0
  251. package/logo/index.cjs +1 -1
  252. package/logo/index.js +1 -1
  253. package/menu/Menu.d.ts +13 -0
  254. package/menu/MenuItem.d.ts +5 -0
  255. package/menu/MenuPopover.d.ts +3 -0
  256. package/menu/MenuSection.d.ts +3 -0
  257. package/menu/Separator.d.ts +3 -0
  258. package/menu/index.cjs +1 -0
  259. package/menu/index.d.ts +5 -0
  260. package/menu/index.js +8 -0
  261. package/{mergeProps-C1U1OIeJ.js → mergeProps-BSsN7Bgk.js} +36 -34
  262. package/mergeProps-JhcJ7uJL.cjs +1 -0
  263. package/modal/index.cjs +1 -1
  264. package/modal/index.js +2 -2
  265. package/package.json +9 -4
  266. package/popover/index.cjs +1 -1
  267. package/popover/index.js +1 -1
  268. package/progress-bar/index.cjs +1 -1
  269. package/progress-bar/index.js +1 -1
  270. package/radio/index.cjs +1 -1
  271. package/radio/index.js +1 -1
  272. package/search-field/index.cjs +1 -1
  273. package/search-field/index.js +1 -1
  274. package/select/Select.d.ts +1 -1
  275. package/select/index.cjs +1 -1
  276. package/select/index.d.ts +1 -1
  277. package/select/index.js +1 -1
  278. package/select/types.d.ts +1 -13
  279. package/skeleton/index.cjs +1 -1
  280. package/skeleton/index.js +1 -1
  281. package/spinner/index.cjs +1 -1
  282. package/spinner/index.js +1 -1
  283. package/table/Table.d.ts +7 -12
  284. package/table/index.cjs +1 -1
  285. package/table/index.js +1 -1
  286. package/tabs/Tabs.d.ts +0 -12
  287. package/tabs/index.cjs +1 -1
  288. package/tabs/index.js +1 -1
  289. package/tag/Tag.d.ts +2 -1
  290. package/tag/index.cjs +1 -1
  291. package/tag/index.js +1 -1
  292. package/text/index.cjs +1 -1
  293. package/text/index.js +1 -1
  294. package/textfield/Input.d.ts +7 -2
  295. package/textfield/PasswordField.d.ts +1 -1
  296. package/textfield/index.cjs +1 -1
  297. package/textfield/index.js +1 -1
  298. package/theme/generated-object.d.ts +384 -0
  299. package/theme/generated-tokens.d.ts +334 -0
  300. package/theme/index.cjs +1 -1
  301. package/theme/index.d.ts +39 -12
  302. package/theme/index.js +4037 -13
  303. package/theme/tokens.d.ts +65 -18
  304. package/toast/Toast.d.ts +2 -1
  305. package/toast/index.cjs +1 -1
  306. package/toast/index.js +1 -1
  307. package/toggle-button/index.cjs +1 -1
  308. package/toggle-button/index.js +1 -1
  309. package/tokens-B3FfJ-rY.cjs +1 -0
  310. package/{tokens-CqvelUoA.js → tokens-B9ooUP4g.js} +69 -32
  311. package/tooltip/index.cjs +1 -1
  312. package/tooltip/index.js +1 -1
  313. package/useButton-D6iUB8cN.js +56 -0
  314. package/useButton-R8-i3HLC.cjs +1 -0
  315. package/useDateFormatter-2B0vgHc-.cjs +1 -0
  316. package/{useDateFormatter-C7BJgoDR.js → useDateFormatter-BJ1ZyaH1.js} +431 -407
  317. package/{useDescription-DYfKjGGU.js → useDescription-BLmIkYCq.js} +1 -1
  318. package/{useDescription-CPo72trh.cjs → useDescription-BMuiAqI5.cjs} +1 -1
  319. package/{useEvent-DPxMu-X9.cjs → useEvent-3ZO5TPSH.cjs} +1 -1
  320. package/{useEvent-CigwyJOw.js → useEvent-DpBHTuHJ.js} +1 -1
  321. package/{useField-CefQB81E.js → useField-BMegM8fA.js} +2 -2
  322. package/{useField-D1UkzeaI.cjs → useField-DyeD7MLj.cjs} +1 -1
  323. package/{useFilter-DsOxD9JB.js → useFilter-BFnSe_Eq.js} +1 -1
  324. package/{useFilter-BhM2yVO3.cjs → useFilter-aoggM85n.cjs} +1 -1
  325. package/{useFocusRing-B-A1OLhU.cjs → useFocusRing-BcbYske2.cjs} +1 -1
  326. package/{useFocusRing-DOfBqnUN.js → useFocusRing-DMo8ctYV.js} +2 -2
  327. package/{useFocusWithin-T1ifEM_s.js → useFocusWithin-ClMkhYcq.js} +1 -1
  328. package/{useFocusWithin-CG8mAt2D.cjs → useFocusWithin-DTnk0e8a.cjs} +1 -1
  329. package/{useFocusable-D7I1ujkW.cjs → useFocusable-CsG-IPuC.cjs} +1 -1
  330. package/{useFocusable-BjE42axF.js → useFocusable-DXlMChFC.js} +4 -4
  331. package/useFormValidation-BQIRxgbU.cjs +1 -0
  332. package/useFormValidation-L0UHvOsP.js +217 -0
  333. package/{useHasTabbableChild-BgEe5J35.js → useHasTabbableChild-BDaxMsGu.js} +2 -2
  334. package/{useHasTabbableChild-CoQRpNbC.cjs → useHasTabbableChild-CJcLnolh.cjs} +1 -1
  335. package/{useHighlightSelectionDescription-xr_16pKd.js → useHighlightSelectionDescription-BkEv9Jye.js} +4 -4
  336. package/{useHighlightSelectionDescription-DmbDkFGY.cjs → useHighlightSelectionDescription-CQaG611l.cjs} +1 -1
  337. package/{useHover-DQvJ3Y-W.js → useHover-D6bNIkU0.js} +76 -74
  338. package/useHover-DGAmG7jt.cjs +1 -0
  339. package/{useLabels-CSU0kbtJ.cjs → useLabels-CvUk-yS3.cjs} +1 -1
  340. package/{useLabels-LrKQiY11.js → useLabels-Kmq5JCp_.js} +1 -1
  341. package/useListState-D2IEg6_e.cjs +1 -0
  342. package/{useListState-B3c3xcNW.js → useListState-pixYqSLl.js} +43 -42
  343. package/usePress-CicXV7UO.cjs +7 -0
  344. package/{usePress-BW47IcyU.js → usePress-DMUpU0GU.js} +153 -149
  345. package/{useSingleSelectListState-DdBsBWKG.js → useSingleSelectListState-BlvpP8y-.js} +1 -1
  346. package/{useSingleSelectListState-DlO5H9N-.cjs → useSingleSelectListState-CwWK_Dx2.cjs} +1 -1
  347. package/{useTextField-DjxayZsV.js → useTextField-BC5X_AO_.js} +30 -27
  348. package/useTextField-Cxpfu0U3.cjs +1 -0
  349. package/useToggleState-BVOqL4hI.js +21 -0
  350. package/useToggleState-SqDyNfRi.cjs +1 -0
  351. package/utils/types.d.ts +4 -0
  352. package/{utils-DHNZrQmj.cjs → utils-CMHKYKlz.cjs} +1 -1
  353. package/{utils-KLjWgdLR.js → utils-Cpcjg55U.js} +1 -1
  354. package/utils-DFIwp4PB.js +262 -0
  355. package/utils-__vrf9VZ.cjs +1 -0
  356. package/AccordionItem-BPOQqTkQ.js +0 -323
  357. package/AccordionItem-CS-QKqrU.cjs +0 -1
  358. package/BadgeContainer-CKBIZWsc.js +0 -37
  359. package/Breadcrumbs-BBzSV4SK.js +0 -262
  360. package/Breadcrumbs-CFUryOhf.cjs +0 -1
  361. package/Button-DExMoP5f.cjs +0 -1
  362. package/Button.module-D-mPLRxe.js +0 -14
  363. package/Button.module-goCEz5qs.cjs +0 -1
  364. package/ButtonGroup-DUqW5dzM.cjs +0 -1
  365. package/Card-BRs1FKX5.js +0 -131
  366. package/Card-cdL5669N.cjs +0 -1
  367. package/Checkbox-Co3h0hur.cjs +0 -1
  368. package/Checkbox-EB_SCBEo.js +0 -264
  369. package/CheckboxGroup-CT_eqERw.cjs +0 -1
  370. package/CheckboxGroup-DvrN1oyw.js +0 -159
  371. package/Collection-BtBX5IMY.cjs +0 -1
  372. package/Collection-D2jVTmDW.js +0 -577
  373. package/ComboBox-D_jh7TKo.cjs +0 -1
  374. package/DateField-BURrxhil.cjs +0 -1
  375. package/DateField-DKCbEonm.js +0 -47
  376. package/DateInputDivider-ToFY-yjB.cjs +0 -1
  377. package/DateRangePicker-B5vx9onl.js +0 -870
  378. package/DateRangePicker-DkIAEIIj.cjs +0 -6
  379. package/Dialog-CxHiZorC.cjs +0 -1
  380. package/Dialog-D5c_dUnB.js +0 -1611
  381. package/Dialog-DtHk3eXI.cjs +0 -1
  382. package/Dialog-DuGcBeNN.js +0 -212
  383. package/DragAndDrop-CSg60YQE.cjs +0 -1
  384. package/DragAndDrop-DOXLfJaA.js +0 -60
  385. package/Dropdown-CYakzdJg.cjs +0 -6
  386. package/FieldError-Bv3Q6ZP-.cjs +0 -1
  387. package/FocusScope-vcXLOQiu.cjs +0 -1
  388. package/Grid-DVQtOcu9.cjs +0 -1
  389. package/GridItem-DlbSdRmB.js +0 -246
  390. package/GridItem-XgHmZWXY.cjs +0 -1
  391. package/Heading-CKTR4sOz.cjs +0 -1
  392. package/Heading-D2y_kiC0.js +0 -46
  393. package/InfoBanner-CzwbOdRG.cjs +0 -1
  394. package/InfoBanner-D05poAe3.js +0 -91
  395. package/Label-ChjDdBlv.cjs +0 -1
  396. package/Layout-D0E1fOgZ.cjs +0 -16
  397. package/Layout-DtyhUz-G.js +0 -498
  398. package/Link-CibH8uRY.js +0 -72
  399. package/Link-CidjjqHb.cjs +0 -1
  400. package/Link-ESjrl63P.cjs +0 -6
  401. package/LinkButton-B6AWNiRn.cjs +0 -6
  402. package/LinkButton-BkZULm2a.js +0 -69
  403. package/ListBox-B0E1hdEt.cjs +0 -1
  404. package/ListBox-Djy7244v.js +0 -531
  405. package/ListBoxButton-CIqNRR3y.cjs +0 -1
  406. package/ListBoxButton-sqirI6I4.js +0 -15
  407. package/ListBoxSection-BYJccE4T.cjs +0 -1
  408. package/ListBoxSection-Cicbu8pS.js +0 -1058
  409. package/ListKeyboardDelegate-ZKBk2IId.cjs +0 -1
  410. package/OverlayArrow-DB_aVTVM.js +0 -507
  411. package/OverlayArrow-DpZ1FqOd.cjs +0 -1
  412. package/ProgressBar-ClysdvqU.cjs +0 -1
  413. package/ProgressBar-DTn23Zkr.js +0 -53
  414. package/Radio-CCN3o3s-.js +0 -313
  415. package/Radio-Cz0vLIBw.cjs +0 -1
  416. package/RangeCalendar-BY82hPRu.cjs +0 -11
  417. package/Select-MwvnbChP.js +0 -664
  418. package/Select-lhIwwJL7.cjs +0 -1
  419. package/SelectionManager-BJjqIWtf.cjs +0 -1
  420. package/Separator-DPLEx950.cjs +0 -1
  421. package/Separator-DvvVAypT.js +0 -59
  422. package/Skeleton-BAwbfKBW.cjs +0 -1
  423. package/Skeleton-BePDRmrO.js +0 -40
  424. package/Spinner-VSyPhiJ9.js +0 -51
  425. package/Spinner-vof0Y9Hh.cjs +0 -6
  426. package/TabList-CWMlbijV.cjs +0 -1
  427. package/TabList-VpTv_Xff.js +0 -435
  428. package/Table-DGYC-sDq.cjs +0 -16
  429. package/Tag-bYq-wf5D.cjs +0 -1
  430. package/Tag-rI-NhuT0.js +0 -748
  431. package/Text-BPcfhYQ9.js +0 -32
  432. package/Text-DBHWi5gA.cjs +0 -1
  433. package/TextArea-CrEALC58.js +0 -119
  434. package/TextArea-DJKHFKuI.cjs +0 -1
  435. package/TextField-BAX93sq7.cjs +0 -1
  436. package/TextField-Dma22dnD.js +0 -120
  437. package/TextField.module-BcpPBWnD.js +0 -13
  438. package/TextField.module-Dw5Rtn9y.cjs +0 -1
  439. package/Toast-DdmSvNaO.cjs +0 -1
  440. package/ToggleButtonGroup-98z8Dw8-.js +0 -211
  441. package/ToggleButtonGroup-DZ_wo0qx.cjs +0 -1
  442. package/Tooltip-DjNc93tV.js +0 -285
  443. package/Tooltip-pN5W3IK6.cjs +0 -1
  444. package/circle-check-BErh6TKu.js +0 -26
  445. package/circle-check-OVUGxwp9.cjs +0 -11
  446. package/filterDOMProps-BS2lrgFA.cjs +0 -1
  447. package/filterDOMProps-D6KHYVBX.js +0 -24
  448. package/index-Dsz3aiWt.cjs +0 -17
  449. package/mergeProps-B5KXZAI3.cjs +0 -1
  450. package/tokens-5PzK5zK7.cjs +0 -1
  451. package/triangle-alert-B_qAPmWC.js +0 -21
  452. package/triangle-alert-BviJNFjf.cjs +0 -6
  453. package/useButton-BoIV3kDJ.js +0 -47
  454. package/useButton-D60q0SQw.cjs +0 -1
  455. package/useDateFormatter-BJBt0jk_.cjs +0 -1
  456. package/useFormValidation-BlFGdPZB.cjs +0 -1
  457. package/useFormValidation-BzzruZKm.js +0 -215
  458. package/useHover-BE_XKZKe.cjs +0 -1
  459. package/useListState-wLau6fXo.cjs +0 -1
  460. package/usePress-BooY_CAy.cjs +0 -7
  461. package/useTextField-DnRrCg5o.cjs +0 -1
  462. package/useToggleState-Bz5rAf4C.js +0 -18
  463. package/useToggleState-DoIkSQdj.cjs +0 -1
  464. package/utils-CoCR_Fce.js +0 -234
  465. package/utils-Dvdohqm9.cjs +0 -1
@@ -0,0 +1,6 @@
1
+ "use strict";require('./assets/LinkButton.css');const n=require("react/jsx-runtime"),w=require("./Link-wM7cVPlS.cjs"),f=require("./clsx-C11secjj.cjs"),y=require("./square-arrow-out-up-right-xCFdJTzY.cjs"),x=require("./createLucideIcon-CTVXwe6i.cjs"),g=require("./arrow-right-BGd86zzR.cjs");/**
2
+ * @license lucide-react v0.525.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const h=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],k=x.createLucideIcon("arrow-left",h),B="_linkButton_11cmw_4",L="_secondary_11cmw_55",q="_icon_11cmw_60",j="_tertiary_11cmw_85",p="_danger_11cmw_102",R="_iconBtn_11cmw_119",A="_medium_11cmw_141",N="_iconLeft_11cmw_146",$="_fullwidth_11cmw_150",t={linkButton:B,secondary:L,icon:q,tertiary:j,danger:p,iconBtn:R,medium:A,iconLeft:N,fullwidth:$},z=({children:i,variant:c,fullwidth:s,icon:r,iconPlacement:o,className:u,as:_,size:d="large",...a})=>{const l=_||w.$4f118338184dc1d9$export$a6c7ac8248d6e38a,m=({...e})=>r?n.jsx(r,{...e}):e.target==="_blank"?n.jsx(y.SquareArrowOutUpRight,{...e}):o==="left"?n.jsx(k,{...e}):n.jsx(g.ArrowRight,{...e});return n.jsxs(l,{className:f.clsx(t.linkButton,c==="primary"&&t.primary,c==="secondary"&&t.secondary,c==="tertiary"&&t.tertiary,c==="danger"&&t.danger,c==="icon"&&t.iconBtn,d==="medium"&&t.medium,s&&t.fullwidth,o==="left"&&t.iconLeft,u),...a,children:[i,n.jsx(m,{size:20,className:t.icon})]})};exports.LinkButton=z;
@@ -0,0 +1,69 @@
1
+ import { jsxs as u, jsx as c } from "react/jsx-runtime";
2
+ import { $ as w } from "./Link-CbFSuEI1.js";
3
+ import { c as y } from "./clsx-OuTLNxxd.js";
4
+ import { S as p } from "./square-arrow-out-up-right-ok0A3Ovo.js";
5
+ import { c as g } from "./createLucideIcon-XRdN60yz.js";
6
+ import { A as h } from "./arrow-right-uemUGIg8.js";
7
+ import './assets/LinkButton.css';/**
8
+ * @license lucide-react v0.525.0 - ISC
9
+ *
10
+ * This source code is licensed under the ISC license.
11
+ * See the LICENSE file in the root directory of this source tree.
12
+ */
13
+ const B = [
14
+ ["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
15
+ ["path", { d: "M19 12H5", key: "x3x0zl" }]
16
+ ], k = g("arrow-left", B), L = "_linkButton_11cmw_4", x = "_secondary_11cmw_55", A = "_icon_11cmw_60", $ = "_tertiary_11cmw_85", N = "_danger_11cmw_102", j = "_iconBtn_11cmw_119", z = "_medium_11cmw_141", R = "_iconLeft_11cmw_146", S = "_fullwidth_11cmw_150", t = {
17
+ linkButton: L,
18
+ secondary: x,
19
+ icon: A,
20
+ tertiary: $,
21
+ danger: N,
22
+ iconBtn: j,
23
+ medium: z,
24
+ iconLeft: R,
25
+ fullwidth: S
26
+ }, U = ({
27
+ children: e,
28
+ variant: o,
29
+ fullwidth: m,
30
+ icon: r,
31
+ iconPlacement: i,
32
+ className: s,
33
+ as: _,
34
+ size: a = "large",
35
+ ...d
36
+ }) => {
37
+ const l = _ || w, f = ({ ...n }) => r ? /* @__PURE__ */ c(r, { ...n }) : n.target === "_blank" ? /* @__PURE__ */ c(p, { ...n }) : i === "left" ? /* @__PURE__ */ c(k, { ...n }) : /* @__PURE__ */ c(h, { ...n });
38
+ return /* @__PURE__ */ u(
39
+ l,
40
+ {
41
+ className: y(
42
+ t.linkButton,
43
+ o === "primary" && t.primary,
44
+ o === "secondary" && t.secondary,
45
+ o === "tertiary" && t.tertiary,
46
+ o === "danger" && t.danger,
47
+ o === "icon" && t.iconBtn,
48
+ a === "medium" && t.medium,
49
+ m && t.fullwidth,
50
+ i === "left" && t.iconLeft,
51
+ s
52
+ ),
53
+ ...d,
54
+ children: [
55
+ e,
56
+ /* @__PURE__ */ c(
57
+ f,
58
+ {
59
+ size: 20,
60
+ className: t.icon
61
+ }
62
+ )
63
+ ]
64
+ }
65
+ );
66
+ };
67
+ export {
68
+ U as L
69
+ };
@@ -0,0 +1 @@
1
+ "use strict";const x=require("./Collection-BvWp2xBd.cjs"),g=require("./utils-CMHKYKlz.cjs"),k=require("./DragAndDrop-Dw8JZmrn.cjs"),N=require("./Separator-Dgin8BNW.cjs"),K=require("./ListKeyboardDelegate-C_X1wLkh.cjs"),oe=require("./Text-BtPiT2P1.cjs"),v=require("./mergeProps-JhcJ7uJL.cjs"),V=require("./filterDOMProps-RRlKPKX0.cjs"),te=require("./inertValue-B3AFhVG4.cjs"),r=require("react"),re=require("./usePress-CicXV7UO.cjs"),L=require("./useHover-DGAmG7jt.cjs"),ae=require("./SelectionManager-BtbHoHpA.cjs"),de=require("./useFocusWithin-DTnk0e8a.cjs"),le=require("./Button-CMIbSc4-.cjs"),J=require("./useListState-D2IEg6_e.cjs"),ie=require("./context-Df3XbgBG.cjs"),ne=require("./useFocusRing-BcbYske2.cjs"),ce=require("./FocusScope-Uy3DiY0-.cjs"),U=new WeakMap;function se(t){return typeof t=="string"?t.replace(/\s*/g,""):""+t}function Q(t,e){let d=U.get(t);if(!d)throw new Error("Unknown list");return`${d.id}-option-${se(e)}`}function ue(t,e,d){let o=V.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(t,{labelable:!0}),l=t.selectionBehavior||"toggle",i=t.linkBehavior||(l==="replace"?"action":"override");l==="toggle"&&i==="action"&&(i="override");let{listProps:a}=N.$982254629710d113$export$b95089534ab7c1fd({...t,ref:d,selectionManager:e.selectionManager,collection:e.collection,disabledKeys:e.disabledKeys,linkBehavior:i}),{focusWithinProps:n}=de.$9ab94262bd0047c7$export$420e68273165f4ec({onFocusWithin:t.onFocus,onBlurWithin:t.onBlur,onFocusWithinChange:t.onFocusChange}),c=v.$bdb11010cef70236$export$f680877a34711e37(t.id);U.set(e,{id:c,shouldUseVirtualFocus:t.shouldUseVirtualFocus,shouldSelectOnPressUp:t.shouldSelectOnPressUp,shouldFocusOnHover:t.shouldFocusOnHover,isVirtualized:t.isVirtualized,onAction:t.onAction,linkBehavior:i});let{labelProps:f,fieldProps:s}=le.$d191a55c9702f145$export$8467354a121f1b9f({...t,id:c,labelElementType:"span"});return{labelProps:f,listBoxProps:v.$3ef42575df84b30b$export$9d1611c77c2fe928(o,n,e.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...v.$3ef42575df84b30b$export$9d1611c77c2fe928(s,a)})}}function fe(t,e,d){var o,l;let{key:i}=t,a=U.get(e);var n;let c=(n=t.isDisabled)!==null&&n!==void 0?n:e.selectionManager.isDisabled(i);var f;let s=(f=t.isSelected)!==null&&f!==void 0?f:e.selectionManager.isSelected(i);var b;let u=(b=t.shouldSelectOnPressUp)!==null&&b!==void 0?b:a==null?void 0:a.shouldSelectOnPressUp;var P;let h=(P=t.shouldFocusOnHover)!==null&&P!==void 0?P:a==null?void 0:a.shouldFocusOnHover;var D;let p=(D=t.shouldUseVirtualFocus)!==null&&D!==void 0?D:a==null?void 0:a.shouldUseVirtualFocus;var y;let F=(y=t.isVirtualized)!==null&&y!==void 0?y:a==null?void 0:a.isVirtualized,C=v.$bdb11010cef70236$export$b4cc09c592e8fdb8(),S=v.$bdb11010cef70236$export$b4cc09c592e8fdb8(),M={role:"option","aria-disabled":c||void 0,"aria-selected":e.selectionManager.selectionMode!=="none"?s:void 0};L.$c87311424ea30a05$export$9ac100e40613ea10()&&L.$c87311424ea30a05$export$78551043582a6a98()||(M["aria-label"]=t["aria-label"],M["aria-labelledby"]=C,M["aria-describedby"]=S);let $=e.collection.getItem(i);if(F){let m=Number($==null?void 0:$.index);M["aria-posinset"]=Number.isNaN(m)?void 0:m+1,M["aria-setsize"]=N.$453cc9f0df89c0a5$export$77d5aafae4e095b2(e.collection)}let A=a!=null&&a.onAction?()=>{var m;return a==null||(m=a.onAction)===null||m===void 0?void 0:m.call(a,i)}:void 0,w=Q(e,i),{itemProps:E,isPressed:B,isFocused:H,hasAction:T,allowsSelection:_}=ae.$880e95eb8b93ba9a$export$ecf600387e221c37({selectionManager:e.selectionManager,key:i,ref:d,shouldSelectOnPressUp:u,allowsDifferentPressOrigin:u&&h,isVirtualized:F,shouldUseVirtualFocus:p,isDisabled:c,onAction:A||!($==null||(o=$.props)===null||o===void 0)&&o.onAction?v.$ff5963eb1fccf552$export$e08e3b67e392101e($==null||(l=$.props)===null||l===void 0?void 0:l.onAction,A):void 0,linkBehavior:a==null?void 0:a.linkBehavior,id:w}),{hoverProps:z}=L.$6179b936705e76d3$export$ae780daf29e6d456({isDisabled:c||!h,onHoverStart(){L.$507fabe10e71c6fb$export$b9b3dfddab17db27()||(e.selectionManager.setFocused(!0),e.selectionManager.setFocusedKey(i))}}),O=V.$65484d02dcb7eb3e$export$457c3d6518dd4c6f($==null?void 0:$.props);delete O.id;let q=re.$ea8dcbcb9ea1b556$export$7e924b3091a3bd18($==null?void 0:$.props);return{optionProps:{...M,...v.$3ef42575df84b30b$export$9d1611c77c2fe928(O,E,z,q),id:w},labelProps:{id:C},descriptionProps:{id:S},isFocused:H,isFocusVisible:H&&e.selectionManager.isFocused&&L.$507fabe10e71c6fb$export$b9b3dfddab17db27(),isSelected:s,isDisabled:c,isPressed:B,allowsSelection:_,hasAction:T}}function $e(t){let{heading:e,"aria-label":d}=t,o=v.$bdb11010cef70236$export$f680877a34711e37();return{itemProps:{role:"presentation"},headingProps:e?{id:o,role:"presentation"}:{},groupProps:{role:"group","aria-label":d,"aria-labelledby":e?o:void 0}}}const W=r.createContext(null),I=r.createContext(null),be=r.forwardRef(function(e,d){[e,d]=g.$64fa3d84918910a7$export$29f1550f4b0d4415(e,d,W);let o=r.useContext(I);return o?r.createElement(X,{state:o,props:e,listBoxRef:d}):r.createElement(x.$e1995378a142960e$export$bf788dd355e3a401,{content:r.createElement(x.$e1995378a142960e$export$fb8073518f34e6ec,e)},l=>r.createElement(pe,{props:e,listBoxRef:d,collection:l}))});function pe({props:t,listBoxRef:e,collection:d}){t={...t,collection:d,children:null,items:null};let{layoutDelegate:o}=r.useContext(x.$7135fc7d473fd974$export$4feb769f8ddf26c5),l=J.$e72dd72e1c76a225$export$2f645645f7bca764({...t,layoutDelegate:o});return r.createElement(X,{state:l,props:t,listBoxRef:e})}function X({state:t,props:e,listBoxRef:d}){[e,d]=g.$64fa3d84918910a7$export$29f1550f4b0d4415(e,d,K.$8e6cc465cc68f603$export$b0d3ecf7112093a7);let{dragAndDropHooks:o,layout:l="stack",orientation:i="vertical",filter:a}=e,n=J.$e72dd72e1c76a225$export$ba9d38c0f1bf2b36(t,a),{collection:c,selectionManager:f}=n,s=!!(o!=null&&o.useDraggableCollectionState),b=!!(o!=null&&o.useDroppableCollectionState),{direction:u}=ie.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),{disabledBehavior:P,disabledKeys:h}=f,D=K.$325a3faab7a68acd$export$a16aca283550c30d({usage:"search",sensitivity:"base"}),{isVirtualized:p,layoutDelegate:y,dropTargetDelegate:F,CollectionRoot:C}=r.useContext(x.$7135fc7d473fd974$export$4feb769f8ddf26c5),S=r.useMemo(()=>e.keyboardDelegate||new K.$2a25aae57d74318e$export$a05409b8bb224a5a({collection:c,collator:D,ref:d,disabledKeys:h,disabledBehavior:P,layout:l,orientation:i,direction:u,layoutDelegate:y}),[c,D,d,P,h,i,u,e.keyboardDelegate,l,y]),{listBoxProps:M}=ue({...e,shouldSelectOnPressUp:s||e.shouldSelectOnPressUp,keyboardDelegate:S,isVirtualized:p},n,d),$=r.useRef(s),A=r.useRef(b);r.useEffect(()=>{process.env.NODE_ENV!=="production"&&($.current!==s&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),A.current!==b&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."))},[s,b]);let w,E,B,H=!1,T=null,_=r.useRef(null);if(s&&o){w=o.useDraggableCollectionState({collection:c,selectionManager:f,preview:o.renderDragPreview?_:void 0}),o.useDraggableCollection({},w,d);let R=o.DragPreview;T=o.renderDragPreview?r.createElement(R,{ref:_},o.renderDragPreview):null}if(b&&o){E=o.useDroppableCollectionState({collection:c,selectionManager:f});let R=o.dropTargetDelegate||F||new o.ListDropTargetDelegate(c,d,{orientation:i,layout:l,direction:u});B=o.useDroppableCollection({keyboardDelegate:S,dropTargetDelegate:R},E,d),H=E.isDropTarget({type:"root"})}let{focusProps:z,isFocused:O,isFocusVisible:q}=ne.$f7dceffc5ad7768b$export$4e328f61c538687f(),m=n.collection.size===0,j={isDropTarget:H,isEmpty:m,isFocused:O,isFocusVisible:q,layout:e.layout||"stack",state:n},Z=g.$64fa3d84918910a7$export$4d86445c2cf5e3({className:e.className,style:e.style,defaultClassName:"react-aria-ListBox",values:j}),G=null;m&&e.renderEmptyState&&(G=r.createElement("div",{role:"option",style:{display:"contents"}},e.renderEmptyState(j)));let ee=V.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0});return r.createElement(ce.$9bf71ea28793e738$export$20e40289641fbbb6,null,r.createElement("div",{...v.$3ef42575df84b30b$export$9d1611c77c2fe928(ee,Z,M,z,B==null?void 0:B.collectionProps),ref:d,slot:e.slot||void 0,onScroll:e.onScroll,"data-drop-target":H||void 0,"data-empty":m||void 0,"data-focused":O||void 0,"data-focus-visible":q||void 0,"data-layout":e.layout||"stack","data-orientation":e.orientation||"vertical"},r.createElement(g.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[W,e],[I,n],[k.$612b8eb6cb90e02d$export$d188a835a7bc5783,{dragAndDropHooks:o,dragState:w,dropState:E}],[N.$431f98aba6844401$export$6615d83f6de245ce,{elementType:"div"}],[k.$612b8eb6cb90e02d$export$f55761759794cf55,{render:xe}],[x.$7135fc7d473fd974$export$d40e14dec8b060a8,{name:"ListBoxSection",render:Y}]]},r.createElement(C,{collection:c,scrollRef:d,persistedKeys:k.$612b8eb6cb90e02d$export$d1e8e3fbb7461f6(f,o,E),renderDropIndicator:k.$612b8eb6cb90e02d$export$971707d8a129a1f7(o,E)})),G,T))}function Y(t,e,d,o="react-aria-ListBoxSection"){let l=r.useContext(I),{dragAndDropHooks:i,dropState:a}=r.useContext(k.$612b8eb6cb90e02d$export$d188a835a7bc5783),{CollectionBranch:n}=r.useContext(x.$7135fc7d473fd974$export$4feb769f8ddf26c5),[c,f]=g.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8();var s;let{headingProps:b,groupProps:u}=$e({heading:f,"aria-label":(s=t["aria-label"])!==null&&s!==void 0?s:void 0}),P=g.$64fa3d84918910a7$export$4d86445c2cf5e3({defaultClassName:o,className:t.className,style:t.style,values:{}}),h=V.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(t,{global:!0});return delete h.id,r.createElement("section",{...v.$3ef42575df84b30b$export$9d1611c77c2fe928(h,P,u),ref:e},r.createElement(N.$72a5793c14baf454$export$e0e4026c12a8bdbb.Provider,{value:{...b,ref:c}},r.createElement(n,{collection:l.collection,parent:d,renderDropIndicator:k.$612b8eb6cb90e02d$export$971707d8a129a1f7(i,a)})))}const ge=x.$e1995378a142960e$export$e953bb1cd0f19726(x.$23b9f4fcf0fe224b$export$437f11dc9b403b78,Y),ve=x.$e1995378a142960e$export$18af5c7a9e9b3664(x.$23b9f4fcf0fe224b$export$fd11f34e1d07f134,function(e,d,o){let l=g.$df56164dff5785e2$export$4338b53315abf666(d),i=r.useContext(I),{dragAndDropHooks:a,dragState:n,dropState:c}=r.useContext(k.$612b8eb6cb90e02d$export$d188a835a7bc5783),{optionProps:f,labelProps:s,descriptionProps:b,...u}=fe({key:o.key,"aria-label":e==null?void 0:e["aria-label"]},i,l),{hoverProps:P,isHovered:h}=L.$6179b936705e76d3$export$ae780daf29e6d456({isDisabled:!u.allowsSelection&&!u.hasAction,onHoverStart:o.props.onHoverStart,onHoverChange:o.props.onHoverChange,onHoverEnd:o.props.onHoverEnd}),D=null;n&&a&&(D=a.useDraggableItem({key:o.key},n));let p=null;c&&a&&(p=a.useDroppableItem({target:{type:"item",key:o.key,dropPosition:"on"}},c,l));let y=n&&n.isDragging(o.key),F=g.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,id:void 0,children:e.children,defaultClassName:"react-aria-ListBoxItem",values:{...u,isHovered:h,selectionMode:i.selectionManager.selectionMode,selectionBehavior:i.selectionManager.selectionBehavior,allowsDragging:!!n,isDragging:y,isDropTarget:p==null?void 0:p.isDropTarget}});r.useEffect(()=>{!o.textValue&&process.env.NODE_ENV!=="production"&&console.warn("A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.")},[o.textValue]);let C=e.href?"a":"div",S=V.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0});return delete S.id,delete S.onClick,r.createElement(C,{...v.$3ef42575df84b30b$export$9d1611c77c2fe928(S,F,f,P,D==null?void 0:D.dragProps,p==null?void 0:p.dropProps),ref:l,"data-allows-dragging":!!n||void 0,"data-selected":u.isSelected||void 0,"data-disabled":u.isDisabled||void 0,"data-hovered":h||void 0,"data-focused":u.isFocused||void 0,"data-focus-visible":u.isFocusVisible||void 0,"data-pressed":u.isPressed||void 0,"data-dragging":y||void 0,"data-drop-target":(p==null?void 0:p.isDropTarget)||void 0,"data-selection-mode":i.selectionManager.selectionMode==="none"?void 0:i.selectionManager.selectionMode},r.createElement(g.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[oe.$514c0188e459b4c0$export$9afb8bc826b033ea,{slots:{[g.$64fa3d84918910a7$export$c62b8e45d58ddad9]:s,label:s,description:b}}]]},F.children))});function xe(t,e){e=g.$df56164dff5785e2$export$4338b53315abf666(e);let{dragAndDropHooks:d,dropState:o}=r.useContext(k.$612b8eb6cb90e02d$export$d188a835a7bc5783),{dropIndicatorProps:l,isHidden:i,isDropTarget:a}=d.useDropIndicator(t,o,e);return i?null:r.createElement(De,{...t,dropIndicatorProps:l,isDropTarget:a,ref:e})}function he(t,e){let{dropIndicatorProps:d,isDropTarget:o,...l}=t,i=g.$64fa3d84918910a7$export$4d86445c2cf5e3({...l,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:o}});return r.createElement("div",{...d,...i,role:"option",ref:e,"data-drop-target":o||void 0})}const De=r.forwardRef(he),Pe=x.$e1995378a142960e$export$18af5c7a9e9b3664(x.$23b9f4fcf0fe224b$export$8258a0665a675899,function(e,d,o){let l=r.useContext(I),{isLoading:i,onLoadMore:a,scrollOffset:n,...c}=e,f=r.useRef(null),s=r.useMemo(()=>({onLoadMore:a,collection:l==null?void 0:l.collection,sentinelRef:f,scrollOffset:n}),[a,n,l==null?void 0:l.collection]);k.$a5fa973c1850dd36$export$ccaea96c28e8b9e7(s,f);let b=g.$64fa3d84918910a7$export$4d86445c2cf5e3({...c,id:void 0,children:o.rendered,defaultClassName:"react-aria-ListBoxLoadingIndicator",values:null}),u={tabIndex:-1};return r.createElement(r.Fragment,null,r.createElement("div",{style:{position:"relative",width:0,height:0},inert:te.$cdc5a6778b766db2$export$a9d04c5684123369(!0)},r.createElement("div",{"data-testid":"loadMoreSentinel",ref:f,style:{position:"absolute",height:1,width:1}})),i&&b.children&&r.createElement("div",{...v.$3ef42575df84b30b$export$9d1611c77c2fe928(V.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0}),u),...b,role:"option",ref:d},b.children))});exports.$b1f0cad8af73213b$export$3585ede4d035bf14=U;exports.$b1f0cad8af73213b$export$9145995848b05025=Q;exports.$eed445e0843c11d0$export$41f133550aa26f48=be;exports.$eed445e0843c11d0$export$7c5906fe4f1f2af2=I;exports.$eed445e0843c11d0$export$7ff8f37d2d81a48d=W;exports.$eed445e0843c11d0$export$8e6d031a08cf56a1=Pe;exports.$eed445e0843c11d0$export$a11e76429ed99b4=ve;exports.$eed445e0843c11d0$export$dca12b0bb56e4fc=ge;
@@ -0,0 +1,523 @@
1
+ import { $ as J, a as ue, b as fe, c as pe, d as be, e as $e, f as ge, g as K, h as ve } from "./Collection-B0_WAieZ.js";
2
+ import { $ as Q, b as X, a as V, f as Y, g as me, d as he } from "./utils-Cpcjg55U.js";
3
+ import { $ as N, a as xe, b as Pe, c as Z, d as De } from "./DragAndDrop-PrUJv--B.js";
4
+ import { $ as ye, a as Se, b as ke, c as Ee } from "./Separator-CM0KPvsX.js";
5
+ import { b as Me, $ as Fe, c as we } from "./ListKeyboardDelegate-CVxkAn5D.js";
6
+ import { $ as Be } from "./Text-Be7WIOwv.js";
7
+ import { c as ee, a as E, b as j, e as He } from "./mergeProps-BSsN7Bgk.js";
8
+ import { $ as H } from "./filterDOMProps-wsa9OcNI.js";
9
+ 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-DMUpU0GU.js";
12
+ import { h as Le, i as Oe, $ as le, a as G } from "./useHover-D6bNIkU0.js";
13
+ import { d as _e } from "./SelectionManager-Bq-Gw1UT.js";
14
+ import { $ as Ae } from "./useFocusWithin-ClMkhYcq.js";
15
+ import { a as Ce } from "./Button-DD5_S-tD.js";
16
+ import { a as Te, $ as Ne } from "./useListState-pixYqSLl.js";
17
+ import { $ as Ue } from "./context-CGNJ3grH.js";
18
+ import { $ as ze } from "./useFocusRing-DMo8ctYV.js";
19
+ import { a as Ke } from "./FocusScope-Bj40Ir-g.js";
20
+ const R = /* @__PURE__ */ new WeakMap();
21
+ function Re(t) {
22
+ return typeof t == "string" ? t.replace(/\s*/g, "") : "" + t;
23
+ }
24
+ function We(t, e) {
25
+ let r = R.get(t);
26
+ if (!r) throw new Error("Unknown list");
27
+ return `${r.id}-option-${Re(e)}`;
28
+ }
29
+ function qe(t, e, r) {
30
+ let o = H(t, {
31
+ labelable: !0
32
+ }), l = t.selectionBehavior || "toggle", i = t.linkBehavior || (l === "replace" ? "action" : "override");
33
+ l === "toggle" && i === "action" && (i = "override");
34
+ let { listProps: a } = ye({
35
+ ...t,
36
+ ref: r,
37
+ selectionManager: e.selectionManager,
38
+ collection: e.collection,
39
+ disabledKeys: e.disabledKeys,
40
+ linkBehavior: i
41
+ }), { focusWithinProps: d } = Ae({
42
+ onFocusWithin: t.onFocus,
43
+ onBlurWithin: t.onBlur,
44
+ onFocusWithinChange: t.onFocusChange
45
+ }), s = ee(t.id);
46
+ R.set(e, {
47
+ id: s,
48
+ shouldUseVirtualFocus: t.shouldUseVirtualFocus,
49
+ shouldSelectOnPressUp: t.shouldSelectOnPressUp,
50
+ shouldFocusOnHover: t.shouldFocusOnHover,
51
+ isVirtualized: t.isVirtualized,
52
+ onAction: t.onAction,
53
+ linkBehavior: i
54
+ });
55
+ let { labelProps: f, fieldProps: c } = Ce({
56
+ ...t,
57
+ id: s,
58
+ // listbox is not an HTML input element so it
59
+ // shouldn't be labeled by a <label> element.
60
+ labelElementType: "span"
61
+ });
62
+ return {
63
+ labelProps: f,
64
+ listBoxProps: E(o, d, e.selectionManager.selectionMode === "multiple" ? {
65
+ "aria-multiselectable": "true"
66
+ } : {}, {
67
+ role: "listbox",
68
+ ...E(c, a)
69
+ })
70
+ };
71
+ }
72
+ function je(t, e, r) {
73
+ var o, l;
74
+ 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);
77
+ var f;
78
+ let c = (f = t.isSelected) !== null && f !== void 0 ? f : e.selectionManager.isSelected(i);
79
+ var b;
80
+ let u = (b = t.shouldSelectOnPressUp) !== null && b !== void 0 ? b : a == null ? void 0 : a.shouldSelectOnPressUp;
81
+ var m;
82
+ let g = (m = t.shouldFocusOnHover) !== null && m !== void 0 ? m : a == null ? void 0 : a.shouldFocusOnHover;
83
+ var v;
84
+ let $ = (v = t.shouldUseVirtualFocus) !== null && v !== void 0 ? v : a == null ? void 0 : a.shouldUseVirtualFocus;
85
+ var P;
86
+ let k = (P = t.isVirtualized) !== null && P !== void 0 ? P : a == null ? void 0 : a.isVirtualized, M = j(), D = j(), y = {
87
+ role: "option",
88
+ "aria-disabled": s || void 0,
89
+ "aria-selected": e.selectionManager.selectionMode !== "none" ? c : void 0
90
+ };
91
+ Le() && Oe() || (y["aria-label"] = t["aria-label"], y["aria-labelledby"] = M, y["aria-describedby"] = D);
92
+ let p = e.collection.getItem(i);
93
+ if (k) {
94
+ let h = Number(p == null ? void 0 : p.index);
95
+ y["aria-posinset"] = Number.isNaN(h) ? void 0 : h + 1, y["aria-setsize"] = Se(e.collection);
96
+ }
97
+ let O = a != null && a.onAction ? () => {
98
+ var h;
99
+ 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({
101
+ selectionManager: e.selectionManager,
102
+ key: i,
103
+ ref: r,
104
+ shouldSelectOnPressUp: u,
105
+ allowsDifferentPressOrigin: u && g,
106
+ isVirtualized: k,
107
+ shouldUseVirtualFocus: $,
108
+ isDisabled: s,
109
+ onAction: O || !(p == null || (o = p.props) === null || o === void 0) && o.onAction ? He(p == null || (l = p.props) === null || l === void 0 ? void 0 : l.onAction, O) : void 0,
110
+ linkBehavior: a == null ? void 0 : a.linkBehavior,
111
+ id: F
112
+ }), { hoverProps: U } = le({
113
+ isDisabled: s || !g,
114
+ onHoverStart() {
115
+ G() || (e.selectionManager.setFocused(!0), e.selectionManager.setFocusedKey(i));
116
+ }
117
+ }), I = H(p == null ? void 0 : p.props);
118
+ delete I.id;
119
+ let C = Ve(p == null ? void 0 : p.props);
120
+ return {
121
+ optionProps: {
122
+ ...y,
123
+ ...E(I, S, U, C),
124
+ id: F
125
+ },
126
+ labelProps: {
127
+ id: M
128
+ },
129
+ descriptionProps: {
130
+ id: D
131
+ },
132
+ isFocused: B,
133
+ isFocusVisible: B && e.selectionManager.isFocused && G(),
134
+ isSelected: c,
135
+ isDisabled: s,
136
+ isPressed: w,
137
+ allowsSelection: A,
138
+ hasAction: _
139
+ };
140
+ }
141
+ function Ge(t) {
142
+ let { heading: e, "aria-label": r } = t, o = ee();
143
+ return {
144
+ itemProps: {
145
+ role: "presentation"
146
+ },
147
+ headingProps: e ? {
148
+ // Techincally, listbox cannot contain headings according to ARIA.
149
+ // We hide the heading from assistive technology, using role="presentation",
150
+ // and only use it as a visual label for the nested group.
151
+ id: o,
152
+ role: "presentation"
153
+ } : {},
154
+ groupProps: {
155
+ role: "group",
156
+ "aria-label": r,
157
+ "aria-labelledby": e ? o : void 0
158
+ }
159
+ };
160
+ }
161
+ const ie = /* @__PURE__ */ te(null), L = /* @__PURE__ */ te(null), ho = /* @__PURE__ */ oe(function(e, r) {
162
+ [e, r] = Q(e, r, ie);
163
+ let o = x(L);
164
+ return o ? /* @__PURE__ */ n.createElement(de, {
165
+ state: o,
166
+ props: e,
167
+ listBoxRef: r
168
+ }) : /* @__PURE__ */ n.createElement(fe, {
169
+ content: /* @__PURE__ */ n.createElement(pe, e)
170
+ }, (l) => /* @__PURE__ */ n.createElement(Je, {
171
+ props: e,
172
+ listBoxRef: r,
173
+ collection: l
174
+ }));
175
+ });
176
+ function Je({ props: t, listBoxRef: e, collection: r }) {
177
+ t = {
178
+ ...t,
179
+ collection: r,
180
+ children: null,
181
+ items: null
182
+ };
183
+ let { layoutDelegate: o } = x(K), l = Ne({
184
+ ...t,
185
+ layoutDelegate: o
186
+ });
187
+ return /* @__PURE__ */ n.createElement(de, {
188
+ state: l,
189
+ props: t,
190
+ listBoxRef: e
191
+ });
192
+ }
193
+ 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({
196
+ usage: "search",
197
+ sensitivity: "base"
198
+ }), { isVirtualized: $, layoutDelegate: P, dropTargetDelegate: k, CollectionRoot: M } = x(K), D = re(() => e.keyboardDelegate || new we({
199
+ collection: s,
200
+ collator: v,
201
+ ref: r,
202
+ disabledKeys: g,
203
+ disabledBehavior: m,
204
+ layout: l,
205
+ orientation: i,
206
+ direction: u,
207
+ layoutDelegate: P
208
+ }), [
209
+ s,
210
+ v,
211
+ r,
212
+ m,
213
+ g,
214
+ i,
215
+ u,
216
+ e.keyboardDelegate,
217
+ l,
218
+ P
219
+ ]), { listBoxProps: y } = qe({
220
+ ...e,
221
+ shouldSelectOnPressUp: c || e.shouldSelectOnPressUp,
222
+ keyboardDelegate: D,
223
+ isVirtualized: $
224
+ }, d, r), p = T(c), O = T(b);
225
+ ae(() => {
226
+ process.env.NODE_ENV !== "production" && (p.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."));
227
+ }, [
228
+ c,
229
+ b
230
+ ]);
231
+ let F, S, w, B = !1, _ = null, A = T(null);
232
+ if (c && o) {
233
+ F = o.useDraggableCollectionState({
234
+ collection: s,
235
+ selectionManager: f,
236
+ preview: o.renderDragPreview ? A : void 0
237
+ }), o.useDraggableCollection({}, F, r);
238
+ let z = o.DragPreview;
239
+ _ = o.renderDragPreview ? /* @__PURE__ */ n.createElement(z, {
240
+ ref: A
241
+ }, o.renderDragPreview) : null;
242
+ }
243
+ if (b && o) {
244
+ S = o.useDroppableCollectionState({
245
+ collection: s,
246
+ selectionManager: f
247
+ });
248
+ let z = o.dropTargetDelegate || k || new o.ListDropTargetDelegate(s, r, {
249
+ orientation: i,
250
+ layout: l,
251
+ direction: u
252
+ });
253
+ w = o.useDroppableCollection({
254
+ keyboardDelegate: D,
255
+ dropTargetDelegate: z
256
+ }, S, r), B = S.isDropTarget({
257
+ type: "root"
258
+ });
259
+ }
260
+ let { focusProps: U, isFocused: I, isFocusVisible: C } = ze(), h = d.collection.size === 0, W = {
261
+ isDropTarget: B,
262
+ isEmpty: h,
263
+ isFocused: I,
264
+ isFocusVisible: C,
265
+ layout: e.layout || "stack",
266
+ state: d
267
+ }, se = V({
268
+ className: e.className,
269
+ style: e.style,
270
+ defaultClassName: "react-aria-ListBox",
271
+ values: W
272
+ }), q = null;
273
+ h && e.renderEmptyState && (q = /* @__PURE__ */ n.createElement("div", {
274
+ // eslint-disable-next-line
275
+ role: "option",
276
+ style: {
277
+ display: "contents"
278
+ }
279
+ }, e.renderEmptyState(W)));
280
+ let ce = H(e, {
281
+ global: !0
282
+ });
283
+ return /* @__PURE__ */ n.createElement(Ke, null, /* @__PURE__ */ n.createElement("div", {
284
+ ...E(ce, se, y, U, w == null ? void 0 : w.collectionProps),
285
+ ref: r,
286
+ slot: e.slot || void 0,
287
+ onScroll: e.onScroll,
288
+ "data-drop-target": B || void 0,
289
+ "data-empty": h || void 0,
290
+ "data-focused": I || void 0,
291
+ "data-focus-visible": C || void 0,
292
+ "data-layout": e.layout || "stack",
293
+ "data-orientation": e.orientation || "vertical"
294
+ }, /* @__PURE__ */ n.createElement(Y, {
295
+ values: [
296
+ [
297
+ ie,
298
+ e
299
+ ],
300
+ [
301
+ L,
302
+ d
303
+ ],
304
+ [
305
+ N,
306
+ {
307
+ dragAndDropHooks: o,
308
+ dragState: F,
309
+ dropState: S
310
+ }
311
+ ],
312
+ [
313
+ ke,
314
+ {
315
+ elementType: "div"
316
+ }
317
+ ],
318
+ [
319
+ Pe,
320
+ {
321
+ render: Qe
322
+ }
323
+ ],
324
+ [
325
+ ve,
326
+ {
327
+ name: "ListBoxSection",
328
+ render: ne
329
+ }
330
+ ]
331
+ ]
332
+ }, /* @__PURE__ */ n.createElement(M, {
333
+ collection: s,
334
+ scrollRef: r,
335
+ persistedKeys: De(f, o, S),
336
+ renderDropIndicator: Z(o, S)
337
+ })), q, _));
338
+ }
339
+ 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({
343
+ heading: f,
344
+ "aria-label": (c = t["aria-label"]) !== null && c !== void 0 ? c : void 0
345
+ }), m = V({
346
+ defaultClassName: o,
347
+ className: t.className,
348
+ style: t.style,
349
+ values: {}
350
+ }), g = H(t, {
351
+ global: !0
352
+ });
353
+ return delete g.id, /* @__PURE__ */ n.createElement("section", {
354
+ ...E(g, m, u),
355
+ ref: e
356
+ }, /* @__PURE__ */ n.createElement(Ee.Provider, {
357
+ value: {
358
+ ...b,
359
+ ref: s
360
+ }
361
+ }, /* @__PURE__ */ n.createElement(d, {
362
+ collection: l.collection,
363
+ parent: r,
364
+ renderDropIndicator: Z(i, a)
365
+ })));
366
+ }
367
+ const xo = /* @__PURE__ */ ue($e, 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({
369
+ key: o.key,
370
+ "aria-label": e == null ? void 0 : e["aria-label"]
371
+ }, i, l), { hoverProps: m, isHovered: g } = le({
372
+ isDisabled: !u.allowsSelection && !u.hasAction,
373
+ onHoverStart: o.props.onHoverStart,
374
+ onHoverChange: o.props.onHoverChange,
375
+ onHoverEnd: o.props.onHoverEnd
376
+ }), v = null;
377
+ d && a && (v = a.useDraggableItem({
378
+ key: o.key
379
+ }, d));
380
+ let $ = null;
381
+ s && a && ($ = a.useDroppableItem({
382
+ target: {
383
+ type: "item",
384
+ key: o.key,
385
+ dropPosition: "on"
386
+ }
387
+ }, s, l));
388
+ let P = d && d.isDragging(o.key), k = V({
389
+ ...e,
390
+ id: void 0,
391
+ children: e.children,
392
+ defaultClassName: "react-aria-ListBoxItem",
393
+ values: {
394
+ ...u,
395
+ isHovered: g,
396
+ selectionMode: i.selectionManager.selectionMode,
397
+ selectionBehavior: i.selectionManager.selectionBehavior,
398
+ allowsDragging: !!d,
399
+ isDragging: P,
400
+ isDropTarget: $ == null ? void 0 : $.isDropTarget
401
+ }
402
+ });
403
+ ae(() => {
404
+ !o.textValue && process.env.NODE_ENV !== "production" && console.warn("A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.");
405
+ }, [
406
+ o.textValue
407
+ ]);
408
+ let M = e.href ? "a" : "div", D = H(e, {
409
+ global: !0
410
+ });
411
+ return delete D.id, delete D.onClick, /* @__PURE__ */ n.createElement(M, {
412
+ ...E(D, k, f, m, v == null ? void 0 : v.dragProps, $ == null ? void 0 : $.dropProps),
413
+ 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,
421
+ "data-dragging": P || void 0,
422
+ "data-drop-target": ($ == null ? void 0 : $.isDropTarget) || void 0,
423
+ "data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode
424
+ }, /* @__PURE__ */ n.createElement(Y, {
425
+ values: [
426
+ [
427
+ Be,
428
+ {
429
+ slots: {
430
+ [me]: c,
431
+ label: c,
432
+ description: b
433
+ }
434
+ }
435
+ ]
436
+ ]
437
+ }, k.children));
438
+ });
439
+ function Qe(t, e) {
440
+ e = X(e);
441
+ 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, {
443
+ ...t,
444
+ dropIndicatorProps: l,
445
+ isDropTarget: a,
446
+ ref: e
447
+ });
448
+ }
449
+ function Xe(t, e) {
450
+ let { dropIndicatorProps: r, isDropTarget: o, ...l } = t, i = V({
451
+ ...l,
452
+ defaultClassName: "react-aria-DropIndicator",
453
+ values: {
454
+ isDropTarget: o
455
+ }
456
+ });
457
+ return /* @__PURE__ */ n.createElement("div", {
458
+ ...r,
459
+ ...i,
460
+ // eslint-disable-next-line
461
+ role: "option",
462
+ ref: e,
463
+ "data-drop-target": o || void 0
464
+ });
465
+ }
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(() => ({
468
+ onLoadMore: a,
469
+ collection: l == null ? void 0 : l.collection,
470
+ sentinelRef: f,
471
+ scrollOffset: d
472
+ }), [
473
+ a,
474
+ d,
475
+ l == null ? void 0 : l.collection
476
+ ]);
477
+ xe(c, f);
478
+ let b = V({
479
+ ...s,
480
+ id: void 0,
481
+ children: o.rendered,
482
+ defaultClassName: "react-aria-ListBoxLoadingIndicator",
483
+ values: null
484
+ }), u = {
485
+ // For Android talkback
486
+ tabIndex: -1
487
+ };
488
+ return /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("div", {
489
+ style: {
490
+ position: "relative",
491
+ width: 0,
492
+ height: 0
493
+ },
494
+ inert: Ie(!0)
495
+ }, /* @__PURE__ */ n.createElement("div", {
496
+ "data-testid": "loadMoreSentinel",
497
+ ref: f,
498
+ style: {
499
+ position: "absolute",
500
+ height: 1,
501
+ width: 1
502
+ }
503
+ })), i && b.children && /* @__PURE__ */ n.createElement("div", {
504
+ ...E(H(e, {
505
+ global: !0
506
+ }), u),
507
+ ...b,
508
+ // aria-selected isn't needed here since this option is not selectable.
509
+ // eslint-disable-next-line jsx-a11y/role-has-required-aria-props
510
+ role: "option",
511
+ ref: r
512
+ }, b.children));
513
+ });
514
+ export {
515
+ Do as $,
516
+ ho as a,
517
+ Po as b,
518
+ xo as c,
519
+ R as d,
520
+ We as e,
521
+ ie as f,
522
+ L as g
523
+ };
@@ -0,0 +1 @@
1
+ "use strict";const t=require("react/jsx-runtime"),r=require("./clsx-C11secjj.cjs"),n=require("./ListBoxSection-Dx75ZinL.cjs"),c=require("./ListBox-ICZKGluC.cjs"),l=require("./Spinner-D1UBuLy4.cjs"),d=require("./useLocalizedStringFormatter-BO2iZEL0.cjs"),x=({className:s,children:e,...o})=>t.jsx("button",{type:"button",className:r.clsx(n.styles.listBoxItem,n.styles.listBoxButton,s),...o,children:e}),u={"loading...":"Loading..."},m={"loading...":"Laddar..."},L={en:u,sv:m},B=({className:s,children:e,isLoading:o,...i})=>{const a=d.useLocalizedStringFormatter(L);return t.jsx(c.$eed445e0843c11d0$export$8e6d031a08cf56a1,{className:r.clsx(n.styles.listBoxLoadMoreItem,s),isLoading:o,...i,children:e||t.jsxs(t.Fragment,{children:[t.jsx(l.Spinner,{small:!0}),t.jsx("span",{"aria-hidden":!0,children:a.format("loading...")})]})})};exports.ListBoxButton=x;exports.ListBoxLoadMoreItem=B;
@@ -0,0 +1,41 @@
1
+ import { jsx as t, jsxs as m, Fragment as d } from "react/jsx-runtime";
2
+ import { c as e } from "./clsx-OuTLNxxd.js";
3
+ import { s as a } from "./ListBoxSection-BCPv9H50.js";
4
+ import { $ as c } from "./ListBox-LncMQt6I.js";
5
+ import { S as l } from "./Spinner-DTKb_LAA.js";
6
+ import { u as p } from "./useLocalizedStringFormatter-N0AyjzbM.js";
7
+ const S = ({ className: o, children: s, ...r }) => /* @__PURE__ */ t(
8
+ "button",
9
+ {
10
+ type: "button",
11
+ className: e(a.listBoxItem, a.listBoxButton, o),
12
+ ...r,
13
+ children: s
14
+ }
15
+ ), x = { "loading...": "Loading..." }, u = { "loading...": "Laddar..." }, f = {
16
+ en: x,
17
+ sv: u
18
+ }, b = ({
19
+ className: o,
20
+ children: s,
21
+ isLoading: r,
22
+ ...n
23
+ }) => {
24
+ const i = p(f);
25
+ return /* @__PURE__ */ t(
26
+ c,
27
+ {
28
+ className: e(a.listBoxLoadMoreItem, o),
29
+ isLoading: r,
30
+ ...n,
31
+ children: s || /* @__PURE__ */ m(d, { children: [
32
+ /* @__PURE__ */ t(l, { small: !0 }),
33
+ /* @__PURE__ */ t("span", { "aria-hidden": !0, children: i.format("loading...") })
34
+ ] })
35
+ }
36
+ );
37
+ };
38
+ export {
39
+ S as L,
40
+ b as a
41
+ };