@midas-ds/components 13.0.1 → 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 (409) hide show
  1. package/AccordionItem-CAi-XFOc.js +343 -0
  2. package/AccordionItem-tWS22wDv.cjs +1 -0
  3. package/BadgeContainer-BZl6mSeb.cjs +1 -0
  4. package/{BadgeContainer-iNNgJKD9.js → BadgeContainer-DilMiV6u.js} +9 -9
  5. package/{Breadcrumbs-BQLxFZVm.cjs → Breadcrumbs-BBDGxc68.cjs} +1 -1
  6. package/{Breadcrumbs-C6B4fyk3.js → Breadcrumbs-BenPNv8Z.js} +15 -15
  7. package/Button-1sEX8jKn.cjs +1 -0
  8. package/{Button-D_tRdPW9.cjs → Button-BEWKXjlP.cjs} +1 -1
  9. package/{Button-CUMHt7MG.js → Button-CF97piBl.js} +10 -4
  10. package/{Button-DD5_S-tD.js → Button-CGe3Nyos.js} +122 -116
  11. package/Button.module-COONZqNU.cjs +1 -0
  12. package/Button.module-Cm0H98vy.js +14 -0
  13. package/{ButtonGroup-zx-9mxbJ.cjs → ButtonGroup-BpvDDECt.cjs} +1 -1
  14. package/{ButtonGroup-DC8925jD.js → ButtonGroup-Swh2E6Es.js} +1 -1
  15. package/CHANGELOG.md +59 -0
  16. package/Card-DJ8E5Rzd.js +131 -0
  17. package/Card-Db9xdzJ0.cjs +1 -0
  18. package/{CharacterCounter-CnRv-iUP.cjs → CharacterCounter-CTpQ12f7.cjs} +1 -1
  19. package/{CharacterCounter-DT7A0wWP.js → CharacterCounter-gbDGfize.js} +8 -8
  20. package/Checkbox-BgrLxY6P.cjs +1 -0
  21. package/{Checkbox-DTuryJdM.js → Checkbox-CdN1D5pD.js} +91 -87
  22. package/{CheckboxGroup-BmFdy-K6.js → CheckboxGroup-B1b-6bKq.js} +12 -12
  23. package/{CheckboxGroup-LrqCwPET.cjs → CheckboxGroup-BfZyy5yU.cjs} +1 -1
  24. package/{Collection-B0_WAieZ.js → Collection-BkxwF21i.js} +205 -213
  25. package/Collection-vGO6v3_U.cjs +1 -0
  26. package/{ColorSchemeSwitch-D5juAHPc.cjs → ColorSchemeSwitch-BOooU0iy.cjs} +3 -3
  27. package/{ColorSchemeSwitch-CgZfgCG4.js → ColorSchemeSwitch-KjnsdbDr.js} +10 -10
  28. package/{ComboBox-B2btGwWe.js → ComboBox-D1ZSZ6m-.js} +286 -278
  29. package/ComboBox-Dztk_jtC.cjs +1 -0
  30. package/DateField-BogEOseq.cjs +1 -0
  31. package/DateField-lsr_1fw4.js +47 -0
  32. package/{DateInputDivider-LxS0Kw1H.js → DateInputDivider-CRv3YuXd.js} +199 -196
  33. package/DateInputDivider-CYqm6PZP.cjs +1 -0
  34. package/{DateRangePicker-BmPPDZIF.js → DateRangePicker-5k1swaEt.js} +123 -119
  35. package/DateRangePicker-CgNXWOT6.cjs +6 -0
  36. package/Dialog-B1N4Ndyx.js +256 -0
  37. package/{Dialog-COeUapMW.js → Dialog-BUAp30Wc.js} +710 -692
  38. package/Dialog-BgSxz1JW.cjs +1 -0
  39. package/Dialog-PrnV8KTh.cjs +6 -0
  40. package/{DragAndDrop-Dw8JZmrn.cjs → DragAndDrop-Cs-V-9ak.cjs} +1 -1
  41. package/{DragAndDrop-PrUJv--B.js → DragAndDrop-DF0VoPJw.js} +2 -2
  42. package/{Dropdown-C_W6Sizy.cjs → Dropdown-DBFLb8Tl.cjs} +2 -2
  43. package/{Dropdown-CGQbf7OT.js → Dropdown-DaARa89l.js} +8 -8
  44. package/FieldError-Cimgm8qD.cjs +1 -0
  45. package/FieldError-l3xULRa0.js +48 -0
  46. package/{FileUpload-D2gnQKdn.js → FileUpload-CN0HNJ_Y.js} +14 -14
  47. package/{FileUpload-D3RaARDV.cjs → FileUpload-DHmsupSe.cjs} +1 -1
  48. package/{Grid-BmX6arAO.js → Grid-0XOQPryP.js} +2 -2
  49. package/{Grid-Bn1bCTH8.cjs → Grid-B6G4PWn5.cjs} +1 -1
  50. package/{GridItem-luVsL9lu.cjs → GridItem-BZ8eOXMB.cjs} +1 -1
  51. package/{GridItem-BtO9kCX9.js → GridItem-YtIpL5V2.js} +1 -1
  52. package/Group-B0Wj9pI8.cjs +1 -0
  53. package/Group-BAd7alBM.js +46 -0
  54. package/Heading-CCoGfKQ8.js +48 -0
  55. package/Heading-x7y3xadc.cjs +1 -0
  56. package/{Hidden-C9KWUR7b.js → Hidden-B5ir3Lei.js} +2 -2
  57. package/InfoBanner-BW3vy9mc.js +72 -0
  58. package/InfoBanner-_M_rGQiu.cjs +1 -0
  59. package/{Input-CzMx2mfl.cjs → Input-Bda0PCu5.cjs} +1 -1
  60. package/{Input-BLVRv0FK.js → Input-CQzv-D9g.js} +9 -9
  61. package/{Label-1N6ddn5w.js → Label-BGMXsSFb.js} +15 -15
  62. package/Label-CNTODOFg.cjs +1 -0
  63. package/Layout-BrEuHajQ.cjs +16 -0
  64. package/{Layout-B-A-s7B0.js → Layout-JL9l-y7w.js} +144 -145
  65. package/{Link-lO-Ke97K.js → Link-BudFjYrw.js} +22 -22
  66. package/Link-BvUSTIip.cjs +6 -0
  67. package/{Link-wM7cVPlS.cjs → Link-DRU6Qzia.cjs} +1 -1
  68. package/{Link-CbFSuEI1.js → Link-l-nMP-Zd.js} +10 -10
  69. package/LinkButton-DGdnbTgR.cjs +6 -0
  70. package/LinkButton-DP9W-E32.js +69 -0
  71. package/ListBox-TGCxrXIJ.cjs +1 -0
  72. package/ListBox-mOCZvKD4.js +534 -0
  73. package/{ListBoxLoadMoreItem-C4jnDcYH.js → ListBoxLoadMoreItem-CLdTe6-z.js} +5 -5
  74. package/{ListBoxLoadMoreItem-3jGpi90m.cjs → ListBoxLoadMoreItem-UX0jFQN4.cjs} +1 -1
  75. package/ListBoxSection-BNBHosou.cjs +1 -0
  76. package/{ListBoxSection-D7BcbjUt.js → ListBoxSection-D_kTkvgG.js} +139 -140
  77. package/{ListKeyboardDelegate-CVxkAn5D.js → ListKeyboardDelegate-BHnZMUhW.js} +36 -40
  78. package/ListKeyboardDelegate-CLRlDto7.cjs +1 -0
  79. package/{Logo-CFjZc5u2.cjs → Logo-4tRnV4Su.cjs} +1 -1
  80. package/{Logo-DkagDdKQ.js → Logo-DLlt576_.js} +17 -17
  81. package/{OverlayArrow-CvNuu3e3.js → OverlayArrow-CjGslX2c.js} +4 -4
  82. package/{OverlayArrow-ByH6lM-H.cjs → OverlayArrow-bcrb_syE.cjs} +1 -1
  83. package/{Popover-Bf5YH53o.js → Popover-CZFi2YGz.js} +13 -13
  84. package/Popover-uYTWBGHa.cjs +1 -0
  85. package/{PressResponder-CxVtArtP.js → PressResponder-BMj6Zvbn.js} +9 -9
  86. package/PressResponder-ChvCuOue.cjs +1 -0
  87. package/ProgressBar-BGemuJIq.cjs +1 -0
  88. package/ProgressBar-DhRmckYM.js +53 -0
  89. package/{RSPContexts-BW2SEIqe.js → RSPContexts-B0lEq7qq.js} +5 -3
  90. package/RSPContexts-XUvspq3j.cjs +1 -0
  91. package/Radio-Bp_31Z59.js +340 -0
  92. package/Radio-D3RGVrEd.cjs +1 -0
  93. package/{RangeCalendar-Bi9jc61A.js → RangeCalendar-9C96gMvy.js} +146 -145
  94. package/RangeCalendar-ChfmP_ql.cjs +6 -0
  95. package/{SSRProvider-40TXmsUG.js → SSRProvider-D8lZ0o6A.js} +5 -5
  96. package/{SSRProvider-Bc-sMhsT.cjs → SSRProvider-DZRLwxPS.cjs} +1 -1
  97. package/{SearchField-BevjTbcW.js → SearchField-DrEdzWAy.js} +44 -44
  98. package/SearchField-JaDXLq5W.cjs +6 -0
  99. package/Select-BCUH-Z7q.cjs +1 -0
  100. package/{Select-CEwJo1BT.js → Select-CpPE78Ke.js} +210 -188
  101. package/SelectionIndicator-BiSN1toV.cjs +1 -0
  102. package/{FocusScope-Bj40Ir-g.js → SelectionIndicator-ant6jeC1.js} +256 -165
  103. package/SelectionManager-C469yQeD.js +1063 -0
  104. package/SelectionManager-uFYC4wpu.cjs +1 -0
  105. package/{Separator-Bj24aGrT.js → Separator-B6l5qSpR.js} +28 -28
  106. package/{Separator-CM0KPvsX.js → Separator-BWAnBMVN.js} +5 -5
  107. package/Separator-DbhmtwDa.cjs +1 -0
  108. package/{Separator-Dgin8BNW.cjs → Separator-J0pLW4BN.cjs} +1 -1
  109. package/Skeleton-8onymGEG.cjs +1 -0
  110. package/Skeleton-BjTEGRpe.js +35 -0
  111. package/Spinner-D6Fcu_Dp.js +54 -0
  112. package/Spinner-DIapnvIz.cjs +6 -0
  113. package/TabList-C0tRVI6Q.cjs +1 -0
  114. package/TabList-DmkxO7MM.js +394 -0
  115. package/Table-BLqjyYKk.cjs +16 -0
  116. package/{Table-BzJktg2G.js → Table-CyWZO9uf.js} +710 -706
  117. package/Tag-DJqYiBLR.js +774 -0
  118. package/Tag-FDHGu_WP.cjs +1 -0
  119. package/{Text-BtPiT2P1.cjs → Text-0wXj3J8E.cjs} +1 -1
  120. package/Text-BBFWBNAH.js +32 -0
  121. package/{Text-BAFsaON-.cjs → Text-D5OSv6Uv.cjs} +1 -1
  122. package/{Text-Be7WIOwv.js → Text-bqP9NeVg.js} +3 -3
  123. package/TextArea-CZxwvBcS.cjs +1 -0
  124. package/TextArea-CrY7P18c.js +125 -0
  125. package/{TextField-_UY8CXtW.js → TextField-BWea-IT-.js} +26 -26
  126. package/TextField-DsN-kBfh.cjs +1 -0
  127. package/TextField.module-C03d0VY9.js +13 -0
  128. package/TextField.module-DmRrFHra.cjs +1 -0
  129. package/{Toast-Cs0CEbRr.cjs → Toast-DUZ5jfG1.cjs} +1 -1
  130. package/{Toast-B74PMVL9.js → Toast-Di3h8A14.js} +101 -101
  131. package/{ToggleButtonGroup-CwHPu7w5.js → ToggleButtonGroup-Bh4hP6Lk.js} +83 -79
  132. package/ToggleButtonGroup-D7r34GCt.cjs +1 -0
  133. package/{Tooltip-BHAtsp9k.js → Tooltip-CUdmOznK.js} +13 -13
  134. package/{Tooltip-CZa9n5sT.cjs → Tooltip-D-ATlbIM.cjs} +1 -1
  135. package/{VisuallyHidden-EjrqodVh.cjs → VisuallyHidden-BMelU6B0.cjs} +1 -1
  136. package/{VisuallyHidden-CGEtjAP7.js → VisuallyHidden-DuW70K-5.js} +8 -8
  137. package/accordion/Accordion.d.ts +0 -1
  138. package/accordion/index.cjs +1 -1
  139. package/accordion/index.js +2 -3
  140. package/assets/AccordionItem.css +1 -1
  141. package/assets/Button.css +1 -1
  142. package/assets/Card.css +1 -1
  143. package/assets/Checkbox.css +1 -1
  144. package/assets/ComboBox.css +1 -1
  145. package/assets/DateField.css +1 -1
  146. package/assets/DateInputDivider.css +1 -1
  147. package/assets/DateRangePicker.css +1 -1
  148. package/assets/Dialog.css +1 -1
  149. package/assets/Dropdown.css +1 -1
  150. package/assets/FieldError.css +1 -1
  151. package/assets/Heading.css +1 -1
  152. package/assets/InfoBanner.css +1 -1
  153. package/assets/Label.css +1 -1
  154. package/assets/Layout.css +1 -1
  155. package/assets/Link.css +1 -1
  156. package/assets/LinkButton.css +1 -1
  157. package/assets/ListBoxSection.css +1 -1
  158. package/assets/Logo.css +1 -1
  159. package/assets/Popover.css +1 -1
  160. package/assets/ProgressBar.css +1 -1
  161. package/assets/Radio.css +1 -1
  162. package/assets/RangeCalendar.css +1 -1
  163. package/assets/SearchField.css +1 -1
  164. package/assets/Select.css +1 -1
  165. package/assets/Separator.css +1 -1
  166. package/assets/Skeleton.css +1 -1
  167. package/assets/Spinner.css +1 -1
  168. package/assets/TabList.css +1 -1
  169. package/assets/Text.css +1 -1
  170. package/assets/TextField.css +1 -1
  171. package/assets/Toast.css +1 -1
  172. package/assets/Tooltip.css +1 -1
  173. package/assets/default.css +1 -1
  174. package/badge/index.cjs +1 -1
  175. package/badge/index.js +1 -1
  176. package/breadcrumbs/index.cjs +1 -1
  177. package/breadcrumbs/index.js +1 -1
  178. package/button/index.cjs +1 -1
  179. package/button/index.js +2 -2
  180. package/calendar/index.cjs +1 -1
  181. package/calendar/index.js +1 -1
  182. package/card/index.cjs +1 -1
  183. package/card/index.js +1 -1
  184. package/character-counter/index.cjs +1 -1
  185. package/character-counter/index.js +1 -1
  186. package/checkbox/index.cjs +1 -1
  187. package/checkbox/index.js +2 -2
  188. package/clsx-DKOfLqne.cjs +1 -0
  189. package/clsx-jbLnTBqA.js +11 -0
  190. package/color-scheme-switch/index.cjs +1 -1
  191. package/color-scheme-switch/index.js +1 -1
  192. package/combobox/index.cjs +1 -1
  193. package/combobox/index.js +1 -1
  194. package/{context-CGNJ3grH.js → context-Dl_saGB6.js} +11 -11
  195. package/{context-Df3XbgBG.cjs → context-UOrD6Zxk.cjs} +1 -1
  196. package/date-field/index.cjs +1 -1
  197. package/date-field/index.js +2 -2
  198. package/date-picker/index.cjs +1 -1
  199. package/date-picker/index.js +1 -1
  200. package/dropdown/index.cjs +1 -1
  201. package/dropdown/index.js +1 -1
  202. package/field-error/index.cjs +1 -1
  203. package/field-error/index.js +1 -1
  204. package/file-upload/index.cjs +1 -1
  205. package/file-upload/index.js +1 -1
  206. package/{getScrollParent-Ru2U2LlM.js → getScrollParent-DFCzfqHG.js} +1 -1
  207. package/{getScrollParent-DuKmPmUa.cjs → getScrollParent-DjULaF_q.cjs} +1 -1
  208. package/grid/index.cjs +1 -1
  209. package/grid/index.js +2 -2
  210. package/heading/Heading.d.ts +6 -0
  211. package/heading/index.cjs +1 -1
  212. package/heading/index.js +1 -1
  213. package/{index-BLPblar-.js → index-DEx4upZl.js} +19 -19
  214. package/{index-DSFSh2sC.cjs → index-hURPlN0u.cjs} +2 -2
  215. package/index.cjs +1 -1
  216. package/index.js +126 -127
  217. package/inertValue-BWmZ1afe.cjs +1 -0
  218. package/info-banner/index.cjs +1 -1
  219. package/info-banner/index.js +1 -1
  220. package/label/index.cjs +1 -1
  221. package/label/index.js +1 -1
  222. package/layout/index.cjs +1 -1
  223. package/layout/index.js +1 -1
  224. package/link/index.cjs +1 -1
  225. package/link/index.js +2 -2
  226. package/link-button/index.cjs +1 -1
  227. package/link-button/index.js +2 -2
  228. package/list-box/index.cjs +1 -1
  229. package/list-box/index.js +2 -2
  230. package/logo/index.cjs +1 -1
  231. package/logo/index.js +1 -1
  232. package/menu/index.cjs +1 -1
  233. package/menu/index.js +2 -2
  234. package/{mergeProps-BSsN7Bgk.js → mergeProps-Ct8m5-xW.js} +1 -1
  235. package/{mergeProps-JhcJ7uJL.cjs → mergeProps-Du5A8xi8.cjs} +1 -1
  236. package/modal/Dialog.d.ts +16 -3
  237. package/modal/index.cjs +1 -1
  238. package/modal/index.d.ts +1 -1
  239. package/modal/index.js +2 -2
  240. package/package.json +4 -4
  241. package/popover/index.cjs +1 -1
  242. package/popover/index.js +1 -1
  243. package/progress-bar/index.cjs +1 -1
  244. package/progress-bar/index.js +1 -1
  245. package/radio/index.cjs +1 -1
  246. package/radio/index.js +1 -1
  247. package/scrollIntoView-BVI21Y4-.js +65 -0
  248. package/scrollIntoView-BueMOyGp.cjs +1 -0
  249. package/search-field/index.cjs +1 -1
  250. package/search-field/index.js +1 -1
  251. package/select/index.cjs +1 -1
  252. package/select/index.js +1 -1
  253. package/select/types.d.ts +1 -1
  254. package/select/useMultiSelect.d.ts +2 -2
  255. package/skeleton/index.cjs +1 -1
  256. package/skeleton/index.js +1 -1
  257. package/spinner/Spinner.d.ts +5 -1
  258. package/spinner/index.cjs +1 -1
  259. package/spinner/index.js +1 -1
  260. package/table/index.cjs +1 -1
  261. package/table/index.js +1 -1
  262. package/tabs/Tabs.d.ts +2 -9
  263. package/tabs/index.cjs +1 -1
  264. package/tabs/index.d.ts +0 -1
  265. package/tabs/index.js +1 -1
  266. package/tag/index.cjs +1 -1
  267. package/tag/index.js +1 -1
  268. package/text/index.cjs +1 -1
  269. package/text/index.js +1 -1
  270. package/textfield/TextArea.d.ts +3 -2
  271. package/textfield/TextField.d.ts +3 -2
  272. package/textfield/index.cjs +1 -1
  273. package/textfield/index.js +1 -1
  274. package/toast/index.cjs +1 -1
  275. package/toast/index.js +1 -1
  276. package/toggle-button/index.cjs +1 -1
  277. package/toggle-button/index.js +1 -1
  278. package/tooltip/index.cjs +1 -1
  279. package/tooltip/index.js +1 -1
  280. package/{useButton-R8-i3HLC.cjs → useButton-C0r5nrqs.cjs} +1 -1
  281. package/{useButton-D6iUB8cN.js → useButton-CRgN6aZf.js} +3 -3
  282. package/useDateFormatter-BrrFo4nY.cjs +1 -0
  283. package/{useDateFormatter-BJ1ZyaH1.js → useDateFormatter-Bs5A6Xtu.js} +353 -322
  284. package/{useDescription-BMuiAqI5.cjs → useDescription-6BYtQxe6.cjs} +1 -1
  285. package/{useDescription-BLmIkYCq.js → useDescription-BFwQx7Rp.js} +1 -1
  286. package/useEvent-C125NAue.cjs +1 -0
  287. package/{useEvent-DpBHTuHJ.js → useEvent-smuTnX4G.js} +1 -1
  288. package/{useField-BMegM8fA.js → useField-BhJ9dM2g.js} +2 -2
  289. package/{useField-DyeD7MLj.cjs → useField-DvszkIMx.cjs} +1 -1
  290. package/{useFilter-BFnSe_Eq.js → useFilter-BdUU-HQZ.js} +1 -1
  291. package/{useFilter-aoggM85n.cjs → useFilter-R2IPvbS8.cjs} +1 -1
  292. package/{useFocusRing-BcbYske2.cjs → useFocusRing-C-XVcAE5.cjs} +1 -1
  293. package/{useFocusRing-DMo8ctYV.js → useFocusRing-CcxI7nbg.js} +2 -2
  294. package/{useFocusWithin-ClMkhYcq.js → useFocusWithin-DhXBuB2O.js} +1 -1
  295. package/{useFocusWithin-DTnk0e8a.cjs → useFocusWithin-GBjoTL5o.cjs} +1 -1
  296. package/{useFocusable-DXlMChFC.js → useFocusable-BJj-Bkig.js} +14 -14
  297. package/{useFocusable-CsG-IPuC.cjs → useFocusable-M4se1KJt.cjs} +1 -1
  298. package/{useFormValidation-L0UHvOsP.js → useFormValidation-By7G-T7y.js} +2 -2
  299. package/{useFormValidation-BQIRxgbU.cjs → useFormValidation-DV2Ioblb.cjs} +1 -1
  300. package/useHasTabbableChild-CIZGg_iG.cjs +1 -0
  301. package/{useHasTabbableChild-BDaxMsGu.js → useHasTabbableChild-CnpSoDuJ.js} +2 -2
  302. package/{useHighlightSelectionDescription-CQaG611l.cjs → useHighlightSelectionDescription-CBZfyrhy.cjs} +1 -1
  303. package/{useHighlightSelectionDescription-BkEv9Jye.js → useHighlightSelectionDescription-DPiqOr_Z.js} +5 -5
  304. package/{useHover-DGAmG7jt.cjs → useHover-DULSfLuK.cjs} +1 -1
  305. package/{useHover-D6bNIkU0.js → useHover-DkC5FyNd.js} +5 -5
  306. package/{useLabels-CvUk-yS3.cjs → useLabels-B5pmat1S.cjs} +1 -1
  307. package/{useLabels-Kmq5JCp_.js → useLabels-D24on06F.js} +1 -1
  308. package/{useListState-D2IEg6_e.cjs → useListState-DBawAMhF.cjs} +1 -1
  309. package/{useListState-pixYqSLl.js → useListState-PZF3ahpk.js} +1 -1
  310. package/{useLocalizedStringFormatter-BO2iZEL0.cjs → useLocalizedStringFormatter-BSac43NO.cjs} +1 -1
  311. package/useLocalizedStringFormatter-CHAo1AyN.cjs +1 -0
  312. package/{useLocalizedStringFormatter-CL9MUZ8A.js → useLocalizedStringFormatter-CSEh15AZ.js} +1 -1
  313. package/{useLocalizedStringFormatter-N0AyjzbM.js → useLocalizedStringFormatter-aOhh7wdl.js} +1 -1
  314. package/{usePress-DMUpU0GU.js → usePress-BqQIhkNY.js} +54 -54
  315. package/usePress-DmU79HEg.cjs +7 -0
  316. package/{useSingleSelectListState-BlvpP8y-.js → useSingleSelectListState-BLRBEJC7.js} +1 -1
  317. package/{useSingleSelectListState-CwWK_Dx2.cjs → useSingleSelectListState-CNETmoj5.cjs} +1 -1
  318. package/{useTextField-BC5X_AO_.js → useTextField-B8pM0p6X.js} +7 -7
  319. package/{useTextField-Cxpfu0U3.cjs → useTextField-CiWV3eeD.cjs} +1 -1
  320. package/useToggleState-DaxmInOW.cjs +1 -0
  321. package/{useUpdateEffect-C5YQs_1w.cjs → useUpdateEffect-sk3kiVGz.cjs} +1 -1
  322. package/utils/clsx.d.ts +8 -0
  323. package/utils/types.d.ts +5 -0
  324. package/utils-CtICjCYt.cjs +1 -0
  325. package/{utils-Cpcjg55U.js → utils-D2iKpxcZ.js} +47 -43
  326. package/utils-DRIRjPUS.cjs +1 -0
  327. package/{utils-DFIwp4PB.js → utils-Dxh86KaB.js} +20 -18
  328. package/AccordionItem-Bq8nUKg4.cjs +0 -1
  329. package/AccordionItem-D2Y0gJZB.js +0 -335
  330. package/BadgeContainer-su0iCJKy.cjs +0 -1
  331. package/Button-CMIbSc4-.cjs +0 -1
  332. package/Button.module-BT9wZenr.cjs +0 -1
  333. package/Button.module-CGIVvzVm.js +0 -14
  334. package/Card-D2UbrhDW.js +0 -131
  335. package/Card-UolcSL5O.cjs +0 -1
  336. package/Checkbox-dtZfsSfx.cjs +0 -1
  337. package/Collection-BvWp2xBd.cjs +0 -1
  338. package/ComboBox-uMsVrOYu.cjs +0 -1
  339. package/DateField-B5dlDwdH.cjs +0 -1
  340. package/DateField-CEpRn4wR.js +0 -47
  341. package/DateInputDivider-BnSo_Aox.cjs +0 -1
  342. package/DateRangePicker-It4M98bT.cjs +0 -6
  343. package/Dialog-B1HuzqOX.js +0 -240
  344. package/Dialog-DR6nEqMT.cjs +0 -1
  345. package/Dialog-doGnVsJJ.cjs +0 -1
  346. package/FieldError-Cornph2A.cjs +0 -1
  347. package/FieldError-DdvFyIf4.js +0 -48
  348. package/FocusScope-Uy3DiY0-.cjs +0 -1
  349. package/Group-BKYGeOBr.cjs +0 -1
  350. package/Group-C73mD_-i.js +0 -45
  351. package/Heading-BQlmb5Tm.js +0 -46
  352. package/Heading-D3FR_KXb.cjs +0 -1
  353. package/InfoBanner-C82hcpzj.cjs +0 -1
  354. package/InfoBanner-Dz_0wVSa.js +0 -83
  355. package/Label-06gf6yKQ.cjs +0 -1
  356. package/Layout-DlE30BHE.cjs +0 -16
  357. package/Link-ePZ3nrAW.cjs +0 -6
  358. package/LinkButton-CJyZh3BS.js +0 -69
  359. package/LinkButton-Cw73pOM2.cjs +0 -6
  360. package/ListBox-ICZKGluC.cjs +0 -1
  361. package/ListBox-LncMQt6I.js +0 -523
  362. package/ListBoxSection-BeDwnVZx.cjs +0 -1
  363. package/ListKeyboardDelegate-C_X1wLkh.cjs +0 -1
  364. package/Popover-DIq3kp6B.cjs +0 -1
  365. package/PressResponder-DbnYqwGB.cjs +0 -1
  366. package/ProgressBar-DRhXkSE6.js +0 -53
  367. package/ProgressBar-i7almbvK.cjs +0 -1
  368. package/RSPContexts-D8hmBfGm.cjs +0 -1
  369. package/Radio-BpQoJB8e.cjs +0 -1
  370. package/Radio-D4wUZfW9.js +0 -333
  371. package/RangeCalendar-KcJooXYf.cjs +0 -6
  372. package/SearchField-BA-X9dzb.cjs +0 -6
  373. package/Select-1QuVY4f5.cjs +0 -1
  374. package/SelectionManager-Bq-Gw1UT.js +0 -1043
  375. package/SelectionManager-BtbHoHpA.cjs +0 -1
  376. package/Separator-Cfv2pbWf.cjs +0 -1
  377. package/Skeleton-Iovq135_.js +0 -35
  378. package/Skeleton-MaBUPqhT.cjs +0 -1
  379. package/Spinner-BZ7i01Kt.js +0 -47
  380. package/Spinner-DxWDMW6e.cjs +0 -6
  381. package/TabList-3fErCDyP.cjs +0 -1
  382. package/TabList-CXaxruLg.js +0 -397
  383. package/Table-Dyqa6_rE.cjs +0 -16
  384. package/Tag-BYUPXbhG.js +0 -765
  385. package/Tag-BweDKw1v.cjs +0 -1
  386. package/Text-CmlsaWMA.js +0 -32
  387. package/TextArea-B4BZUoJp.cjs +0 -1
  388. package/TextArea-Df1fR5R4.js +0 -124
  389. package/TextField-Bm5916AD.cjs +0 -1
  390. package/TextField.module-CH39P8ZE.js +0 -13
  391. package/TextField.module-gJ-ruFra.cjs +0 -1
  392. package/ToggleButtonGroup-DY9S3USc.cjs +0 -1
  393. package/inertValue-B3AFhVG4.cjs +0 -1
  394. package/scrollIntoView-ClEACHUk.js +0 -57
  395. package/scrollIntoView-DRSoJp89.cjs +0 -1
  396. package/useDateFormatter-2B0vgHc-.cjs +0 -1
  397. package/useEvent-3ZO5TPSH.cjs +0 -1
  398. package/useHasTabbableChild-CJcLnolh.cjs +0 -1
  399. package/useLocalizedStringFormatter-BiX5BTlb.cjs +0 -1
  400. package/useObserveElement-BdI4zgd7.js +0 -27
  401. package/useObserveElement-MhzEsCkX.cjs +0 -1
  402. package/usePress-CicXV7UO.cjs +0 -7
  403. package/useToggleState-SqDyNfRi.cjs +0 -1
  404. package/utils/storybook.d.ts +0 -5
  405. package/utils/test.d.ts +0 -11
  406. package/utils-CMHKYKlz.cjs +0 -1
  407. package/utils-__vrf9VZ.cjs +0 -1
  408. package/variables-B3KEYyhW.cjs +0 -1
  409. package/variables-DzXcMW2k.js +0 -5
@@ -1,39 +1,40 @@
1
1
  import { jsxs as xe, jsx as A } from "react/jsx-runtime";
2
2
  import _, { useRef as y, useMemo as J, useEffect as ce, useState as z, useCallback as de, forwardRef as bu, createContext as Ee } from "react";
3
- import { f as ae, b as De, e as Te, $ as Cu } from "./Button-DD5_S-tD.js";
4
- import { $ as mu, c as xu, d as hu, e as fu, a as vu, f as Au } from "./utils-Cpcjg55U.js";
5
- import { $ as Bu, F as he } from "./FieldError-DdvFyIf4.js";
3
+ import { f as ae, b as Te, e as De, $ as Cu } from "./Button-CGe3Nyos.js";
4
+ import { $ as mu, c as xu, d as hu, e as fu, a as vu, f as Au } from "./utils-D2iKpxcZ.js";
5
+ import { $ as Bu, F as he } from "./FieldError-l3xULRa0.js";
6
6
  import { $ as Eu } from "./Form-CXcEMuBf.js";
7
- import { $ as ye } from "./Group-C73mD_-i.js";
8
- import { $ as Fe, a as Du } from "./Input-BLVRv0FK.js";
9
- import { d as Tu, e as yu, f as Se, g as Fu } from "./ListBox-LncMQt6I.js";
10
- import { p as Su, h as Lu, i as gu, n as ku } from "./Dialog-COeUapMW.js";
11
- import { $ as Le } from "./Text-Be7WIOwv.js";
12
- import { b as Ku, c as Pu } from "./Collection-B0_WAieZ.js";
13
- import { $ as Iu } from "./filterDOMProps-wsa9OcNI.js";
14
- import { a as Ou, g as Ru } from "./OverlayArrow-CvNuu3e3.js";
15
- import { $ as Vu } from "./useFilter-BFnSe_Eq.js";
16
- import { d as wu, $ as Gu } from "./useFormValidation-L0UHvOsP.js";
17
- import { e as Mu, f as ge, h as ju } from "./SelectionManager-Bq-Gw1UT.js";
18
- import { $ as zu } from "./useSingleSelectListState-BlvpP8y-.js";
19
- import { b as Nu } from "./useListState-pixYqSLl.js";
7
+ import { $ as ye } from "./Group-BAd7alBM.js";
8
+ import { $ as Fe, a as Tu } from "./Input-CQzv-D9g.js";
9
+ import { d as Du, e as yu, f as Se, g as Fu } from "./ListBox-mOCZvKD4.js";
10
+ import { p as Su, h as Lu, i as gu, n as ku } from "./Dialog-BUAp30Wc.js";
11
+ import { $ as Le } from "./Text-bqP9NeVg.js";
12
+ import { b as Ku, c as Pu } from "./Collection-BkxwF21i.js";
13
+ import { $ as Ou } from "./filterDOMProps-wsa9OcNI.js";
14
+ import { a as Iu, g as Ru } from "./OverlayArrow-CjGslX2c.js";
15
+ import { $ as Vu } from "./useFilter-BdUU-HQZ.js";
16
+ import { d as ju, $ as wu } from "./useFormValidation-By7G-T7y.js";
17
+ import { e as Gu, f as ge, i as Mu } from "./SelectionManager-C469yQeD.js";
18
+ import { $ as zu } from "./useSingleSelectListState-BLRBEJC7.js";
19
+ import { b as Nu } from "./useListState-PZF3ahpk.js";
20
20
  import { $ as Uu } from "./useControlledState-u436Wbp1.js";
21
- import { e as qu, a as fe } from "./mergeProps-BSsN7Bgk.js";
22
- import { c as Wu, b as _u } from "./utils-DFIwp4PB.js";
23
- import { c as Xu } from "./usePress-DMUpU0GU.js";
24
- import { $ as ve } from "./useLabels-Kmq5JCp_.js";
21
+ import { e as qu, a as fe } from "./mergeProps-Ct8m5-xW.js";
22
+ import { c as Wu, b as _u } from "./utils-Dxh86KaB.js";
23
+ import { c as Xu } from "./usePress-BqQIhkNY.js";
24
+ import { $ as ve } from "./useLabels-D24on06F.js";
25
25
  import { $ as Zu } from "./useUpdateEffect-CCDx8D4X.js";
26
- import { o as be } from "./useHover-D6bNIkU0.js";
27
- import { a as Hu } from "./Separator-CM0KPvsX.js";
28
- import { c as Ju } from "./ListKeyboardDelegate-CVxkAn5D.js";
29
- import { $ as Yu } from "./useLocalizedStringFormatter-CL9MUZ8A.js";
30
- import { $ as Qu } from "./useTextField-BC5X_AO_.js";
31
- import { c as Ce } from "./clsx-OuTLNxxd.js";
32
- import { a as en, L as un } from "./Label-1N6ddn5w.js";
33
- import { T as Ae } from "./Text-CmlsaWMA.js";
34
- import { b as nn, L as on, a as tn, c as ln } from "./ListBoxSection-D7BcbjUt.js";
35
- import { C as cn } from "./chevron-down-DmZMdOiC.js";
36
- import { u as pn } from "./useLocalizedStringFormatter-N0AyjzbM.js";
26
+ import { o as be } from "./useHover-DkC5FyNd.js";
27
+ import { $ as Hu } from "./useEvent-smuTnX4G.js";
28
+ import { a as Ju } from "./Separator-BWAnBMVN.js";
29
+ import { a as Yu } from "./ListKeyboardDelegate-BHnZMUhW.js";
30
+ import { $ as Qu } from "./useLocalizedStringFormatter-CSEh15AZ.js";
31
+ import { $ as en } from "./useTextField-B8pM0p6X.js";
32
+ import { c as Ce } from "./clsx-jbLnTBqA.js";
33
+ import { a as un, L as nn } from "./Label-BGMXsSFb.js";
34
+ import { T as Ae } from "./Text-BBFWBNAH.js";
35
+ import { b as on, L as tn, a as ln, c as cn } from "./ListBoxSection-D_kTkvgG.js";
36
+ import { C as pn } from "./chevron-down-DmZMdOiC.js";
37
+ import { u as dn } from "./useLocalizedStringFormatter-aOhh7wdl.js";
37
38
  import './assets/ComboBox.css';var ke = {};
38
39
  ke = {
39
40
  buttonLabel: "عرض المقترحات",
@@ -94,8 +95,8 @@ Pe = {
94
95
  listboxLabel: "Návrhy",
95
96
  selectedAnnouncement: (e) => `${e.optionText}, vybráno`
96
97
  };
97
- var Ie = {};
98
- Ie = {
98
+ var Oe = {};
99
+ Oe = {
99
100
  buttonLabel: "Vis forslag",
100
101
  countAnnouncement: (e, u) => `${u.plural(e.optionCount, {
101
102
  one: () => `${u.number(e.optionCount)} mulighed tilgængelig`,
@@ -114,8 +115,8 @@ Ie = {
114
115
  listboxLabel: "Forslag",
115
116
  selectedAnnouncement: (e) => `${e.optionText}, valgt`
116
117
  };
117
- var Oe = {};
118
- Oe = {
118
+ var Ie = {};
119
+ Ie = {
119
120
  buttonLabel: "Empfehlungen anzeigen",
120
121
  countAnnouncement: (e, u) => `${u.plural(e.optionCount, {
121
122
  one: () => `${u.number(e.optionCount)} Option`,
@@ -174,8 +175,8 @@ Ve = {
174
175
  buttonLabel: "Show suggestions",
175
176
  listboxLabel: "Suggestions"
176
177
  };
177
- var we = {};
178
- we = {
178
+ var je = {};
179
+ je = {
179
180
  buttonLabel: "Mostrar sugerencias",
180
181
  countAnnouncement: (e, u) => `${u.plural(e.optionCount, {
181
182
  one: () => `${u.number(e.optionCount)} opción`,
@@ -194,8 +195,8 @@ we = {
194
195
  listboxLabel: "Sugerencias",
195
196
  selectedAnnouncement: (e) => `${e.optionText}, seleccionado`
196
197
  };
197
- var Ge = {};
198
- Ge = {
198
+ var we = {};
199
+ we = {
199
200
  buttonLabel: "Kuva soovitused",
200
201
  countAnnouncement: (e, u) => `${u.plural(e.optionCount, {
201
202
  one: () => `${u.number(e.optionCount)} valik`,
@@ -214,8 +215,8 @@ Ge = {
214
215
  listboxLabel: "Soovitused",
215
216
  selectedAnnouncement: (e) => `${e.optionText}, valitud`
216
217
  };
217
- var Me = {};
218
- Me = {
218
+ var Ge = {};
219
+ Ge = {
219
220
  buttonLabel: "Näytä ehdotukset",
220
221
  countAnnouncement: (e, u) => `${u.plural(e.optionCount, {
221
222
  one: () => `${u.number(e.optionCount)} vaihtoehto`,
@@ -234,8 +235,8 @@ Me = {
234
235
  listboxLabel: "Ehdotukset",
235
236
  selectedAnnouncement: (e) => `${e.optionText}, valittu`
236
237
  };
237
- var je = {};
238
- je = {
238
+ var Me = {};
239
+ Me = {
239
240
  buttonLabel: "Afficher les suggestions",
240
241
  countAnnouncement: (e, u) => `${u.plural(e.optionCount, {
241
242
  one: () => `${u.number(e.optionCount)} option`,
@@ -694,8 +695,8 @@ du = {
694
695
  listboxLabel: "建议",
695
696
  selectedAnnouncement: (e) => `${e.optionText}, 已选择`
696
697
  };
697
- var su = {};
698
- su = {
698
+ var ru = {};
699
+ ru = {
699
700
  buttonLabel: "顯示建議",
700
701
  countAnnouncement: (e, u) => `${u.plural(e.optionCount, {
701
702
  one: () => `${u.number(e.optionCount)} 選項`,
@@ -714,19 +715,19 @@ su = {
714
715
  listboxLabel: "建議",
715
716
  selectedAnnouncement: (e) => `${e.optionText}, 已選取`
716
717
  };
717
- var ru = {};
718
- ru = {
718
+ var su = {};
719
+ su = {
719
720
  "ar-AE": ke,
720
721
  "bg-BG": Ke,
721
722
  "cs-CZ": Pe,
722
- "da-DK": Ie,
723
- "de-DE": Oe,
723
+ "da-DK": Oe,
724
+ "de-DE": Ie,
724
725
  "el-GR": Re,
725
726
  "en-US": Ve,
726
- "es-ES": we,
727
- "et-EE": Ge,
728
- "fi-FI": Me,
729
- "fr-FR": je,
727
+ "es-ES": je,
728
+ "et-EE": we,
729
+ "fi-FI": Ge,
730
+ "fr-FR": Me,
730
731
  "he-IL": ze,
731
732
  "hr-HR": Ne,
732
733
  "hu-HU": Ue,
@@ -749,39 +750,39 @@ ru = {
749
750
  "tr-TR": cu,
750
751
  "uk-UA": pu,
751
752
  "zh-CN": du,
752
- "zh-TW": su
753
+ "zh-TW": ru
753
754
  };
754
- function dn(e) {
755
+ function rn(e) {
755
756
  return e && e.__esModule ? e.default : e;
756
757
  }
757
758
  function sn(e, u) {
758
- let { buttonRef: l, popoverRef: p, inputRef: o, listBoxRef: s, keyboardDelegate: B, layoutDelegate: b, shouldFocusWrap: x, isReadOnly: F, isDisabled: g } = e, h = y(null);
759
- l = l ?? h;
760
- let E = Yu(dn(ru), "@react-aria/combobox"), { menuTriggerProps: D, menuProps: T } = Su({
759
+ let { buttonRef: i, popoverRef: p, inputRef: t, listBoxRef: d, keyboardDelegate: B, layoutDelegate: b, shouldFocusWrap: x, isReadOnly: F, isDisabled: g } = e, h = y(null);
760
+ i = i ?? h;
761
+ let E = Qu(rn(su), "@react-aria/combobox"), { menuTriggerProps: T, menuProps: D } = Su({
761
762
  type: "listbox",
762
763
  isDisabled: g || F
763
- }, u, l);
764
- Tu.set(u, {
765
- id: T.id
764
+ }, u, i);
765
+ Du.set(u, {
766
+ id: D.id
766
767
  });
767
- let { collection: f } = u, { disabledKeys: S } = u.selectionManager, i = J(() => B || new Ju({
768
+ let { collection: f } = u, { disabledKeys: S } = u.selectionManager, c = J(() => B || new Yu({
768
769
  collection: f,
769
770
  disabledKeys: S,
770
- ref: s,
771
+ ref: d,
771
772
  layoutDelegate: b
772
773
  }), [
773
774
  B,
774
775
  b,
775
776
  f,
776
777
  S,
777
- s
778
- ]), { collectionProps: R } = Mu({
778
+ d
779
+ ]), { collectionProps: R } = Gu({
779
780
  selectionManager: u.selectionManager,
780
- keyboardDelegate: i,
781
+ keyboardDelegate: c,
781
782
  disallowTypeAhead: !0,
782
783
  disallowEmptySelection: !0,
783
784
  shouldFocusWrap: x,
784
- ref: o,
785
+ ref: t,
785
786
  // Prevent item scroll behavior from being applied here, should be handled in the user's Popover + ListBox component
786
787
  isVirtualized: !0
787
788
  }), Y = Xu(), Q = (n) => {
@@ -789,14 +790,18 @@ function sn(e, u) {
789
790
  switch (n.key) {
790
791
  case "Enter":
791
792
  case "Tab":
792
- if (u.isOpen && n.key === "Enter" && n.preventDefault(), u.isOpen && s.current && u.selectionManager.focusedKey != null && u.selectionManager.isLink(u.selectionManager.focusedKey)) {
793
- let c = s.current.querySelector(`[data-key="${CSS.escape(u.selectionManager.focusedKey.toString())}"]`);
794
- if (n.key === "Enter" && c instanceof HTMLAnchorElement) {
795
- let d = u.collection.getItem(u.selectionManager.focusedKey);
796
- d && Y.open(c, n, d.props.href, d.props.routerOptions);
793
+ if (u.isOpen && n.key === "Enter" && n.preventDefault(), u.isOpen && d.current && u.selectionManager.focusedKey != null) {
794
+ let o = u.collection.getItem(u.selectionManager.focusedKey);
795
+ if (o != null && o.props.href) {
796
+ let r = d.current.querySelector(`[data-key="${CSS.escape(u.selectionManager.focusedKey.toString())}"]`);
797
+ n.key === "Enter" && r instanceof HTMLAnchorElement && Y.open(r, n, o.props.href, o.props.routerOptions), u.close();
798
+ break;
799
+ } else if (o != null && o.props.onAction) {
800
+ o.props.onAction(), u.close();
801
+ break;
797
802
  }
798
- u.close();
799
- } else u.commit();
803
+ }
804
+ u.commit();
800
805
  break;
801
806
  case "Escape":
802
807
  (u.selectedKey !== null || u.inputValue === "" || e.allowsCustomValue) && n.continuePropagation(), u.revert();
@@ -813,12 +818,12 @@ function sn(e, u) {
813
818
  break;
814
819
  }
815
820
  }, a = (n) => {
816
- var c;
817
- let d = (l == null ? void 0 : l.current) && l.current === n.relatedTarget, M = (c = p.current) === null || c === void 0 ? void 0 : c.contains(n.relatedTarget);
818
- d || M || (e.onBlur && e.onBlur(n), u.setFocused(!1));
821
+ var o;
822
+ let r = (i == null ? void 0 : i.current) && i.current === n.relatedTarget, G = (o = p.current) === null || o === void 0 ? void 0 : o.contains(n.relatedTarget);
823
+ r || G || (e.onBlur && e.onBlur(n), u.setFocused(!1));
819
824
  }, N = (n) => {
820
825
  u.isFocused || (e.onFocus && e.onFocus(n), u.setFocused(!0));
821
- }, { isInvalid: ee, validationErrors: P, validationDetails: k } = u.displayValidation, { labelProps: v, inputProps: X, descriptionProps: ue, errorMessageProps: U } = Qu({
826
+ }, { isInvalid: ee, validationErrors: P, validationDetails: k } = u.displayValidation, { labelProps: v, inputProps: X, descriptionProps: ue, errorMessageProps: U } = en({
822
827
  ...e,
823
828
  onChange: u.setInputValue,
824
829
  onKeyDown: F ? e.onKeyDown : qu(u.isOpen && R.onKeyDown, Q, e.onKeyDown),
@@ -828,107 +833,109 @@ function sn(e, u) {
828
833
  onFocus: N,
829
834
  autoComplete: "off",
830
835
  validate: void 0,
831
- [wu]: u
832
- }, o), ne = (n) => {
836
+ [ju]: u
837
+ }, t), ne = (n) => {
833
838
  if (n.pointerType === "touch") {
834
- var c;
835
- (c = o.current) === null || c === void 0 || c.focus(), u.toggle(null, "manual");
839
+ var o;
840
+ (o = t.current) === null || o === void 0 || o.focus(), u.toggle(null, "manual");
836
841
  }
837
- }, r = (n) => {
842
+ }, s = (n) => {
838
843
  if (n.pointerType !== "touch") {
839
- var c;
840
- (c = o.current) === null || c === void 0 || c.focus(), u.toggle(n.pointerType === "keyboard" || n.pointerType === "virtual" ? "first" : null, "manual");
844
+ var o;
845
+ (o = t.current) === null || o === void 0 || o.focus(), u.toggle(n.pointerType === "keyboard" || n.pointerType === "virtual" ? "first" : null, "manual");
841
846
  }
842
- }, I = ve({
843
- id: D.id,
847
+ }, O = ve({
848
+ id: T.id,
844
849
  "aria-label": E.format("buttonLabel"),
845
850
  "aria-labelledby": e["aria-labelledby"] || v.id
846
851
  }), V = ve({
847
- id: T.id,
852
+ id: D.id,
848
853
  "aria-label": E.format("listboxLabel"),
849
854
  "aria-labelledby": e["aria-labelledby"] || v.id
850
855
  }), L = y(0), oe = (n) => {
851
856
  if (g || F) return;
852
857
  if (n.timeStamp - L.current < 500) {
853
- var c;
854
- n.preventDefault(), (c = o.current) === null || c === void 0 || c.focus();
858
+ var o;
859
+ n.preventDefault(), (o = t.current) === null || o === void 0 || o.focus();
855
860
  return;
856
861
  }
857
- let d = n.target.getBoundingClientRect(), M = n.changedTouches[0], H = Math.ceil(d.left + 0.5 * d.width), se = Math.ceil(d.top + 0.5 * d.height);
858
- if (M.clientX === H && M.clientY === se) {
862
+ let r = n.target.getBoundingClientRect(), G = n.changedTouches[0], H = Math.ceil(r.left + 0.5 * r.width), re = Math.ceil(r.top + 0.5 * r.height);
863
+ if (G.clientX === H && G.clientY === re) {
859
864
  var ie;
860
- n.preventDefault(), (ie = o.current) === null || ie === void 0 || ie.focus(), u.toggle(null, "manual"), L.current = n.timeStamp;
865
+ n.preventDefault(), (ie = t.current) === null || ie === void 0 || ie.focus(), u.toggle(null, "manual"), L.current = n.timeStamp;
861
866
  }
862
867
  }, C = u.selectionManager.focusedKey != null && u.isOpen ? u.collection.getItem(u.selectionManager.focusedKey) : void 0;
863
868
  var q;
864
869
  let K = (q = C == null ? void 0 : C.parentKey) !== null && q !== void 0 ? q : null;
865
870
  var W;
866
- let O = (W = u.selectionManager.focusedKey) !== null && W !== void 0 ? W : null, Z = y(K), w = y(O);
871
+ let I = (W = u.selectionManager.focusedKey) !== null && W !== void 0 ? W : null, Z = y(K), j = y(I);
867
872
  ce(() => {
868
- if (be() && C != null && O != null && O !== w.current) {
869
- let c = u.selectionManager.isSelected(O), d = K != null ? u.collection.getItem(K) : null, M = (d == null ? void 0 : d["aria-label"]) || (typeof (d == null ? void 0 : d.rendered) == "string" ? d.rendered : "") || "";
873
+ if (be() && C != null && I != null && I !== j.current) {
874
+ let o = u.selectionManager.isSelected(I), r = K != null ? u.collection.getItem(K) : null, G = (r == null ? void 0 : r["aria-label"]) || (typeof (r == null ? void 0 : r.rendered) == "string" ? r.rendered : "") || "";
870
875
  var n;
871
876
  let H = E.format("focusAnnouncement", {
872
- isGroupChange: (n = d && K !== Z.current) !== null && n !== void 0 ? n : !1,
873
- groupTitle: M,
874
- groupCount: d ? [
875
- ...ge(d, u.collection)
877
+ isGroupChange: (n = r && K !== Z.current) !== null && n !== void 0 ? n : !1,
878
+ groupTitle: G,
879
+ groupCount: r ? [
880
+ ...ge(r, u.collection)
876
881
  ].length : 0,
877
882
  optionText: C["aria-label"] || C.textValue || "",
878
- isSelected: c
883
+ isSelected: o
879
884
  });
880
885
  ae(H);
881
886
  }
882
- Z.current = K, w.current = O;
887
+ Z.current = K, j.current = I;
883
888
  });
884
- let G = Hu(u.collection), te = y(G), le = y(u.isOpen);
889
+ let w = Ju(u.collection), te = y(w), le = y(u.isOpen);
885
890
  ce(() => {
886
891
  let n = u.isOpen !== le.current && (u.selectionManager.focusedKey == null || be());
887
- if (u.isOpen && (n || G !== te.current)) {
888
- let c = E.format("countAnnouncement", {
889
- optionCount: G
892
+ if (u.isOpen && (n || w !== te.current)) {
893
+ let o = E.format("countAnnouncement", {
894
+ optionCount: w
890
895
  });
891
- ae(c);
896
+ ae(o);
892
897
  }
893
- te.current = G, le.current = u.isOpen;
898
+ te.current = w, le.current = u.isOpen;
894
899
  });
895
900
  let pe = y(u.selectedKey);
896
901
  return ce(() => {
897
902
  if (be() && u.isFocused && u.selectedItem && u.selectedKey !== pe.current) {
898
- let n = u.selectedItem["aria-label"] || u.selectedItem.textValue || "", c = E.format("selectedAnnouncement", {
903
+ let n = u.selectedItem["aria-label"] || u.selectedItem.textValue || "", o = E.format("selectedAnnouncement", {
899
904
  optionText: n
900
905
  });
901
- ae(c);
906
+ ae(o);
902
907
  }
903
908
  pe.current = u.selectedKey;
904
909
  }), ce(() => {
905
910
  if (u.isOpen) return Lu([
906
- o.current,
911
+ t.current,
907
912
  p.current
908
913
  ].filter((n) => n != null));
909
914
  }, [
910
915
  u.isOpen,
911
- o,
916
+ t,
912
917
  p
913
918
  ]), Zu(() => {
914
- !C && o.current && Wu(_u(o.current)) === o.current && ju(o.current, null);
919
+ !C && t.current && Wu(_u(t.current)) === t.current && Mu(t.current, null);
915
920
  }, [
916
921
  C
917
- ]), {
922
+ ]), Hu(d, "react-aria-item-action", u.isOpen ? () => {
923
+ u.close();
924
+ } : void 0), {
918
925
  labelProps: v,
919
926
  buttonProps: {
920
- ...D,
921
- ...I,
927
+ ...T,
928
+ ...O,
922
929
  excludeFromTabOrder: !0,
923
930
  preventFocusOnPress: !0,
924
931
  onPress: ne,
925
- onPressStart: r,
932
+ onPressStart: s,
926
933
  isDisabled: g || F
927
934
  },
928
935
  inputProps: fe(X, {
929
936
  role: "combobox",
930
- "aria-expanded": D["aria-expanded"],
931
- "aria-controls": u.isOpen ? T.id : void 0,
937
+ "aria-expanded": T["aria-expanded"],
938
+ "aria-controls": u.isOpen ? D.id : void 0,
932
939
  // TODO: readd proper logic for completionMode = complete (aria-autocomplete: both)
933
940
  "aria-autocomplete": "list",
934
941
  "aria-activedescendant": C ? yu(u, C.key) : void 0,
@@ -938,12 +945,13 @@ function sn(e, u) {
938
945
  // This disable's the macOS Safari spell check auto corrections.
939
946
  spellCheck: "false"
940
947
  }),
941
- listBoxProps: fe(T, V, {
948
+ listBoxProps: fe(D, V, {
942
949
  autoFocus: u.focusStrategy || !0,
943
950
  shouldUseVirtualFocus: !0,
944
951
  shouldSelectOnPressUp: !0,
945
952
  shouldFocusOnHover: !0,
946
- linkBehavior: "selection"
953
+ linkBehavior: "selection",
954
+ UNSTABLE_itemBehavior: "action"
947
955
  }),
948
956
  descriptionProps: ue,
949
957
  errorMessageProps: U,
@@ -952,168 +960,168 @@ function sn(e, u) {
952
960
  validationDetails: k
953
961
  };
954
962
  }
955
- function rn(e) {
963
+ function $n(e) {
956
964
  var u;
957
- let { defaultFilter: l, menuTrigger: p = "input", allowsEmptyCollection: o = !1, allowsCustomValue: s, shouldCloseOnBlur: B = !0 } = e, [b, x] = z(!1), [F, g] = z(!1), [h, E] = z(null), D = (t) => {
958
- e.onSelectionChange && e.onSelectionChange(t), t === i && (W(), C());
965
+ let { defaultFilter: i, menuTrigger: p = "input", allowsEmptyCollection: t = !1, allowsCustomValue: d, shouldCloseOnBlur: B = !0 } = e, [b, x] = z(!1), [F, g] = z(!1), [h, E] = z(null), T = (l) => {
966
+ e.onSelectionChange && e.onSelectionChange(l), l === c && (W(), C());
959
967
  };
960
- var T;
961
- let { collection: f, selectionManager: S, selectedKey: i, setSelectedKey: R, selectedItem: Y, disabledKeys: Q } = zu({
968
+ var D;
969
+ let { collection: f, selectionManager: S, selectedKey: c, setSelectedKey: R, selectedItem: Y, disabledKeys: Q } = zu({
962
970
  ...e,
963
- onSelectionChange: D,
964
- items: (T = e.items) !== null && T !== void 0 ? T : e.defaultItems
965
- }), [a, N] = Uu(e.inputValue, Be(e.defaultInputValue, i, f) || "", e.onInputChange), [ee] = z(i), [P] = z(a), k = f, v = J(() => (
971
+ onSelectionChange: T,
972
+ items: (D = e.items) !== null && D !== void 0 ? D : e.defaultItems
973
+ }), [a, N] = Uu(e.inputValue, Be(e.defaultInputValue, c, f) || "", e.onInputChange), [ee] = z(c), [P] = z(a), k = f, v = J(() => (
966
974
  // No default filter if items are controlled.
967
- e.items != null || !l ? f : $n(f, a, l)
975
+ e.items != null || !i ? f : an(f, a, i)
968
976
  ), [
969
977
  f,
970
978
  a,
971
- l,
979
+ i,
972
980
  e.items
973
- ]), [X, ue] = z(v), U = y("focus"), r = Ou({
981
+ ]), [X, ue] = z(v), U = y("focus"), s = Iu({
974
982
  ...e,
975
- onOpenChange: (t) => {
976
- e.onOpenChange && e.onOpenChange(t, t ? U.current : void 0), S.setFocused(t), t || S.setFocusedKey(null);
983
+ onOpenChange: (l) => {
984
+ e.onOpenChange && e.onOpenChange(l, l ? U.current : void 0), S.setFocused(l), l || S.setFocusedKey(null);
977
985
  },
978
986
  isOpen: void 0,
979
987
  defaultOpen: void 0
980
- }), I = (t = null, $) => {
988
+ }), O = (l = null, $) => {
981
989
  let m = $ === "manual" || $ === "focus" && p === "focus";
982
- (o || v.size > 0 || m && k.size > 0 || e.items) && (m && !r.isOpen && e.items === void 0 && x(!0), U.current = $, E(t), r.open());
983
- }, V = (t = null, $) => {
990
+ (t || v.size > 0 || m && k.size > 0 || e.items) && (m && !s.isOpen && e.items === void 0 && x(!0), U.current = $, E(l), s.open());
991
+ }, V = (l = null, $) => {
984
992
  let m = $ === "manual" || $ === "focus" && p === "focus";
985
- !(o || v.size > 0 || m && k.size > 0 || e.items) && !r.isOpen || (m && !r.isOpen && e.items === void 0 && x(!0), r.isOpen || (U.current = $), oe(t));
993
+ !(t || v.size > 0 || m && k.size > 0 || e.items) && !s.isOpen || (m && !s.isOpen && e.items === void 0 && x(!0), s.isOpen || (U.current = $), oe(l));
986
994
  }, L = de(() => {
987
995
  ue(b ? k : v);
988
996
  }, [
989
997
  b,
990
998
  k,
991
999
  v
992
- ]), oe = de((t = null) => {
993
- r.isOpen && L(), E(t), r.toggle();
1000
+ ]), oe = de((l = null) => {
1001
+ s.isOpen && L(), E(l), s.toggle();
994
1002
  }, [
995
- r,
1003
+ s,
996
1004
  L
997
1005
  ]), C = de(() => {
998
- r.isOpen && (L(), r.close());
1006
+ s.isOpen && (L(), s.close());
999
1007
  }, [
1000
- r,
1008
+ s,
1001
1009
  L
1002
1010
  ]), [q, K] = z(a), W = () => {
1003
- var t, $;
1004
- let m = i != null && ($ = (t = f.getItem(i)) === null || t === void 0 ? void 0 : t.textValue) !== null && $ !== void 0 ? $ : "";
1011
+ var l, $;
1012
+ let m = c != null && ($ = (l = f.getItem(c)) === null || l === void 0 ? void 0 : l.textValue) !== null && $ !== void 0 ? $ : "";
1005
1013
  K(m), N(m);
1006
1014
  };
1007
- var O, Z;
1008
- let w = y((Z = (O = e.selectedKey) !== null && O !== void 0 ? O : e.defaultSelectedKey) !== null && Z !== void 0 ? Z : null);
1009
- var G;
1010
- let te = y(i != null && (G = (u = f.getItem(i)) === null || u === void 0 ? void 0 : u.textValue) !== null && G !== void 0 ? G : "");
1015
+ var I, Z;
1016
+ let j = y((Z = (I = e.selectedKey) !== null && I !== void 0 ? I : e.defaultSelectedKey) !== null && Z !== void 0 ? Z : null);
1017
+ var w;
1018
+ let te = y(c != null && (w = (u = f.getItem(c)) === null || u === void 0 ? void 0 : u.textValue) !== null && w !== void 0 ? w : "");
1011
1019
  ce(() => {
1012
- var t;
1013
- F && (v.size > 0 || o) && !r.isOpen && a !== q && p !== "manual" && I(null, "input"), !b && !o && r.isOpen && v.size === 0 && C(), i != null && i !== w.current && C(), a !== q && (S.setFocusedKey(null), x(!1), a === "" && (e.inputValue === void 0 || e.selectedKey === void 0) && R(null)), i !== w.current && (e.inputValue === void 0 || e.selectedKey === void 0) ? W() : q !== a && K(a);
1020
+ var l;
1021
+ F && (v.size > 0 || t) && !s.isOpen && a !== q && p !== "manual" && O(null, "input"), !b && !t && s.isOpen && v.size === 0 && C(), c != null && c !== j.current && C(), a !== q && (S.setFocusedKey(null), x(!1), a === "" && (e.inputValue === void 0 || e.selectedKey === void 0) && R(null)), c !== j.current && (e.inputValue === void 0 || e.selectedKey === void 0) ? W() : q !== a && K(a);
1014
1022
  var $;
1015
- let m = i != null && ($ = (t = f.getItem(i)) === null || t === void 0 ? void 0 : t.textValue) !== null && $ !== void 0 ? $ : "";
1016
- !F && i != null && e.inputValue === void 0 && i === w.current && te.current !== m && (K(m), N(m)), w.current = i, te.current = m;
1023
+ let m = c != null && ($ = (l = f.getItem(c)) === null || l === void 0 ? void 0 : l.textValue) !== null && $ !== void 0 ? $ : "";
1024
+ !F && c != null && e.inputValue === void 0 && c === j.current && te.current !== m && (K(m), N(m)), j.current = c, te.current = m;
1017
1025
  });
1018
- let le = Gu({
1026
+ let le = wu({
1019
1027
  ...e,
1020
1028
  value: J(() => ({
1021
1029
  inputValue: a,
1022
- selectedKey: i
1030
+ selectedKey: c
1023
1031
  }), [
1024
1032
  a,
1025
- i
1033
+ c
1026
1034
  ])
1027
1035
  }), pe = () => {
1028
- s && i == null ? n() : c();
1036
+ d && c == null ? n() : o();
1029
1037
  }, n = () => {
1030
- w.current = null, R(null), C();
1031
- }, c = () => {
1038
+ j.current = null, R(null), C();
1039
+ }, o = () => {
1032
1040
  if (e.selectedKey !== void 0 && e.inputValue !== void 0) {
1033
- var t, $;
1034
- (t = e.onSelectionChange) === null || t === void 0 || t.call(e, i);
1041
+ var l, $;
1042
+ (l = e.onSelectionChange) === null || l === void 0 || l.call(e, c);
1035
1043
  var m;
1036
- let au = i != null && (m = ($ = f.getItem(i)) === null || $ === void 0 ? void 0 : $.textValue) !== null && m !== void 0 ? m : "";
1044
+ let au = c != null && (m = ($ = f.getItem(c)) === null || $ === void 0 ? void 0 : $.textValue) !== null && m !== void 0 ? m : "";
1037
1045
  K(au), C();
1038
1046
  } else
1039
1047
  W(), C();
1040
1048
  };
1041
- const d = () => {
1042
- if (s) {
1043
- var t, $;
1044
- const m = i != null && ($ = (t = f.getItem(i)) === null || t === void 0 ? void 0 : t.textValue) !== null && $ !== void 0 ? $ : "";
1045
- a === m ? c() : n();
1049
+ const r = () => {
1050
+ if (d) {
1051
+ var l, $;
1052
+ const m = c != null && ($ = (l = f.getItem(c)) === null || l === void 0 ? void 0 : l.textValue) !== null && $ !== void 0 ? $ : "";
1053
+ a === m ? o() : n();
1046
1054
  } else
1047
- c();
1055
+ o();
1048
1056
  };
1049
- let M = () => {
1050
- r.isOpen && S.focusedKey != null ? i === S.focusedKey ? c() : R(S.focusedKey) : d();
1051
- }, H = y(a), se = (t) => {
1052
- t ? (H.current = a, p === "focus" && !e.isReadOnly && I(null, "focus")) : (B && d(), a !== H.current && le.commitValidation()), g(t);
1053
- }, ie = J(() => r.isOpen ? b ? k : v : X, [
1054
- r.isOpen,
1057
+ let G = () => {
1058
+ s.isOpen && S.focusedKey != null ? c === S.focusedKey ? o() : R(S.focusedKey) : r();
1059
+ }, H = y(a), re = (l) => {
1060
+ l ? (H.current = a, p === "focus" && !e.isReadOnly && O(null, "focus")) : (B && r(), a !== H.current && le.commitValidation()), g(l);
1061
+ }, ie = J(() => s.isOpen ? b ? k : v : X, [
1062
+ s.isOpen,
1055
1063
  k,
1056
1064
  v,
1057
1065
  b,
1058
1066
  X
1059
1067
  ]);
1060
- var re;
1061
- let me = (re = e.defaultSelectedKey) !== null && re !== void 0 ? re : ee;
1068
+ var se;
1069
+ let me = (se = e.defaultSelectedKey) !== null && se !== void 0 ? se : ee;
1062
1070
  var $e;
1063
1071
  return {
1064
1072
  ...le,
1065
- ...r,
1073
+ ...s,
1066
1074
  focusStrategy: h,
1067
1075
  toggle: V,
1068
- open: I,
1069
- close: d,
1076
+ open: O,
1077
+ close: r,
1070
1078
  selectionManager: S,
1071
- selectedKey: i,
1079
+ selectedKey: c,
1072
1080
  defaultSelectedKey: me,
1073
1081
  setSelectedKey: R,
1074
1082
  disabledKeys: Q,
1075
1083
  isFocused: F,
1076
- setFocused: se,
1084
+ setFocused: re,
1077
1085
  selectedItem: Y,
1078
1086
  collection: ie,
1079
1087
  inputValue: a,
1080
1088
  defaultInputValue: ($e = Be(e.defaultInputValue, me, f)) !== null && $e !== void 0 ? $e : P,
1081
1089
  setInputValue: N,
1082
- commit: M,
1090
+ commit: G,
1083
1091
  revert: pe
1084
1092
  };
1085
1093
  }
1086
- function $n(e, u, l) {
1087
- return new Nu($u(e, e, u, l));
1094
+ function an(e, u, i) {
1095
+ return new Nu($u(e, e, u, i));
1088
1096
  }
1089
- function $u(e, u, l, p) {
1090
- let o = [];
1091
- for (let s of u)
1092
- if (s.type === "section" && s.hasChildNodes) {
1093
- let B = $u(e, ge(s, e), l, p);
1097
+ function $u(e, u, i, p) {
1098
+ let t = [];
1099
+ for (let d of u)
1100
+ if (d.type === "section" && d.hasChildNodes) {
1101
+ let B = $u(e, ge(d, e), i, p);
1094
1102
  [
1095
1103
  ...B
1096
- ].some((b) => b.type === "item") && o.push({
1097
- ...s,
1104
+ ].some((b) => b.type === "item") && t.push({
1105
+ ...d,
1098
1106
  childNodes: B
1099
1107
  });
1100
- } else s.type === "item" && p(s.textValue, l) ? o.push({
1101
- ...s
1102
- }) : s.type !== "item" && o.push({
1103
- ...s
1108
+ } else d.type === "item" && p(d.textValue, i) ? t.push({
1109
+ ...d
1110
+ }) : d.type !== "item" && t.push({
1111
+ ...d
1104
1112
  });
1105
- return o;
1113
+ return t;
1106
1114
  }
1107
- function Be(e, u, l) {
1115
+ function Be(e, u, i) {
1108
1116
  if (e == null) {
1109
- var p, o;
1110
- if (u != null) return (o = (p = l.getItem(u)) === null || p === void 0 ? void 0 : p.textValue) !== null && o !== void 0 ? o : "";
1117
+ var p, t;
1118
+ if (u != null) return (t = (p = i.getItem(u)) === null || p === void 0 ? void 0 : p.textValue) !== null && t !== void 0 ? t : "";
1111
1119
  }
1112
1120
  return e;
1113
1121
  }
1114
- const an = /* @__PURE__ */ Ee(null), bn = /* @__PURE__ */ Ee(null), Cn = /* @__PURE__ */ bu(function(u, l) {
1115
- [u, l] = mu(u, l, an);
1116
- let { children: p, isDisabled: o = !1, isInvalid: s = !1, isRequired: B = !1 } = u, b = J(() => {
1122
+ const bn = /* @__PURE__ */ Ee(null), Cn = /* @__PURE__ */ Ee(null), mn = /* @__PURE__ */ bu(function(u, i) {
1123
+ [u, i] = mu(u, i, bn);
1124
+ let { children: p, isDisabled: t = !1, isInvalid: d = !1, isRequired: B = !1 } = u, b = J(() => {
1117
1125
  var x;
1118
1126
  return /* @__PURE__ */ _.createElement(Se.Provider, {
1119
1127
  value: {
@@ -1121,41 +1129,41 @@ const an = /* @__PURE__ */ Ee(null), bn = /* @__PURE__ */ Ee(null), Cn = /* @__P
1121
1129
  }
1122
1130
  }, typeof p == "function" ? p({
1123
1131
  isOpen: !1,
1124
- isDisabled: o,
1125
- isInvalid: s,
1132
+ isDisabled: t,
1133
+ isInvalid: d,
1126
1134
  isRequired: B,
1127
1135
  defaultChildren: null
1128
1136
  }) : p);
1129
1137
  }, [
1130
1138
  p,
1131
- o,
1132
- s,
1139
+ t,
1140
+ d,
1133
1141
  B,
1134
1142
  u.items,
1135
1143
  u.defaultItems
1136
1144
  ]);
1137
1145
  return /* @__PURE__ */ _.createElement(Ku, {
1138
1146
  content: b
1139
- }, (x) => /* @__PURE__ */ _.createElement(xn, {
1147
+ }, (x) => /* @__PURE__ */ _.createElement(hn, {
1140
1148
  props: u,
1141
1149
  collection: x,
1142
- comboBoxRef: l
1150
+ comboBoxRef: i
1143
1151
  }));
1144
- }), mn = [
1145
- De,
1152
+ }), xn = [
1146
1153
  Te,
1154
+ De,
1147
1155
  Fe,
1148
1156
  ye,
1149
1157
  Le
1150
1158
  ];
1151
- function xn({ props: e, collection: u, comboBoxRef: l }) {
1152
- let { name: p, formValue: o = "key", allowsCustomValue: s } = e;
1153
- s && (o = "text");
1159
+ function hn({ props: e, collection: u, comboBoxRef: i }) {
1160
+ let { name: p, formValue: t = "key", allowsCustomValue: d } = e;
1161
+ d && (t = "text");
1154
1162
  let { validationBehavior: B } = xu(Eu) || {};
1155
1163
  var b, x;
1156
1164
  let F = (x = (b = e.validationBehavior) !== null && b !== void 0 ? b : B) !== null && x !== void 0 ? x : "native", { contains: g } = Vu({
1157
1165
  sensitivity: "base"
1158
- }), h = rn({
1166
+ }), h = $n({
1159
1167
  defaultFilter: e.defaultFilter || g,
1160
1168
  ...e,
1161
1169
  // If props.items isn't provided, rely on collection filtering (aka listbox.items is provided or defaultItems provided to Combobox)
@@ -1163,28 +1171,28 @@ function xn({ props: e, collection: u, comboBoxRef: l }) {
1163
1171
  children: void 0,
1164
1172
  collection: u,
1165
1173
  validationBehavior: F
1166
- }), E = y(null), D = y(null), T = y(null), f = y(null), [S, i] = hu(!e["aria-label"] && !e["aria-labelledby"]), { buttonProps: R, inputProps: Y, listBoxProps: Q, labelProps: a, descriptionProps: N, errorMessageProps: ee, ...P } = sn({
1174
+ }), E = y(null), T = y(null), D = y(null), f = y(null), [S, c] = hu(!e["aria-label"] && !e["aria-labelledby"]), { buttonProps: R, inputProps: Y, listBoxProps: Q, labelProps: a, descriptionProps: N, errorMessageProps: ee, ...P } = sn({
1167
1175
  ...fu(e),
1168
- label: i,
1169
- inputRef: D,
1176
+ label: c,
1177
+ inputRef: T,
1170
1178
  buttonRef: E,
1171
- listBoxRef: T,
1179
+ listBoxRef: D,
1172
1180
  popoverRef: f,
1173
- name: o === "text" ? p : void 0,
1181
+ name: t === "text" ? p : void 0,
1174
1182
  validationBehavior: F
1175
1183
  }, h), [k, v] = z(null), X = de(() => {
1176
- if (D.current) {
1177
- var I;
1178
- let V = (I = E.current) === null || I === void 0 ? void 0 : I.getBoundingClientRect(), L = D.current.getBoundingClientRect(), oe = V ? Math.min(V.left, L.left) : L.left, C = V ? Math.max(V.right, L.right) : L.right;
1184
+ if (T.current) {
1185
+ var O;
1186
+ let V = (O = E.current) === null || O === void 0 ? void 0 : O.getBoundingClientRect(), L = T.current.getBoundingClientRect(), oe = V ? Math.min(V.left, L.left) : L.left, C = V ? Math.max(V.right, L.right) : L.right;
1179
1187
  v(C - oe + "px");
1180
1188
  }
1181
1189
  }, [
1182
1190
  E,
1183
- D,
1191
+ T,
1184
1192
  v
1185
1193
  ]);
1186
1194
  Ru({
1187
- ref: D,
1195
+ ref: T,
1188
1196
  onResize: X
1189
1197
  });
1190
1198
  let ue = J(() => ({
@@ -1201,26 +1209,26 @@ function xn({ props: e, collection: u, comboBoxRef: l }) {
1201
1209
  ...e,
1202
1210
  values: ue,
1203
1211
  defaultClassName: "react-aria-ComboBox"
1204
- }), ne = Iu(e, {
1212
+ }), ne = Ou(e, {
1205
1213
  global: !0
1206
1214
  });
1207
1215
  delete ne.id;
1208
- var r;
1216
+ var s;
1209
1217
  return /* @__PURE__ */ _.createElement(Au, {
1210
1218
  values: [
1211
1219
  [
1212
- bn,
1220
+ Cn,
1213
1221
  h
1214
1222
  ],
1215
1223
  [
1216
- De,
1224
+ Te,
1217
1225
  {
1218
1226
  ...a,
1219
1227
  ref: S
1220
1228
  }
1221
1229
  ],
1222
1230
  [
1223
- Te,
1231
+ De,
1224
1232
  {
1225
1233
  ...R,
1226
1234
  ref: E,
@@ -1231,7 +1239,7 @@ function xn({ props: e, collection: u, comboBoxRef: l }) {
1231
1239
  Fe,
1232
1240
  {
1233
1241
  ...Y,
1234
- ref: D
1242
+ ref: T
1235
1243
  }
1236
1244
  ],
1237
1245
  [
@@ -1242,22 +1250,22 @@ function xn({ props: e, collection: u, comboBoxRef: l }) {
1242
1250
  ku,
1243
1251
  {
1244
1252
  ref: f,
1245
- triggerRef: D,
1246
- scrollRef: T,
1253
+ triggerRef: T,
1254
+ scrollRef: D,
1247
1255
  placement: "bottom start",
1248
1256
  isNonModal: !0,
1249
1257
  trigger: "ComboBox",
1250
1258
  style: {
1251
1259
  "--trigger-width": k
1252
1260
  },
1253
- clearContexts: mn
1261
+ clearContexts: xn
1254
1262
  }
1255
1263
  ],
1256
1264
  [
1257
1265
  Se,
1258
1266
  {
1259
1267
  ...Q,
1260
- ref: T
1268
+ ref: D
1261
1269
  }
1262
1270
  ],
1263
1271
  [
@@ -1288,63 +1296,63 @@ function xn({ props: e, collection: u, comboBoxRef: l }) {
1288
1296
  }, /* @__PURE__ */ _.createElement("div", {
1289
1297
  ...ne,
1290
1298
  ...U,
1291
- ref: l,
1299
+ ref: i,
1292
1300
  slot: e.slot || void 0,
1293
1301
  "data-focused": h.isFocused || void 0,
1294
1302
  "data-open": h.isOpen || void 0,
1295
1303
  "data-disabled": e.isDisabled || void 0,
1296
1304
  "data-invalid": P.isInvalid || void 0,
1297
1305
  "data-required": e.isRequired || void 0
1298
- }), p && o === "key" && /* @__PURE__ */ _.createElement("input", {
1306
+ }), p && t === "key" && /* @__PURE__ */ _.createElement("input", {
1299
1307
  type: "hidden",
1300
1308
  name: p,
1301
1309
  form: e.form,
1302
- value: (r = h.selectedKey) !== null && r !== void 0 ? r : ""
1310
+ value: (s = h.selectedKey) !== null && s !== void 0 ? s : ""
1303
1311
  }));
1304
1312
  }
1305
- const hn = "_combobox_18sk0_1", fn = "_inputField_18sk0_6", vn = "_medium_18sk0_24", An = "_wrap_18sk0_64", Bn = "_button_18sk0_70", En = "_icon_18sk0_102", Dn = "_emptyState_18sk0_108", j = {
1306
- combobox: hn,
1307
- inputField: fn,
1308
- medium: vn,
1309
- wrap: An,
1310
- button: Bn,
1311
- icon: En,
1313
+ const fn = "_combobox_j6di5_1", vn = "_inputField_j6di5_6", An = "_medium_j6di5_28", Bn = "_wrap_j6di5_68", En = "_button_j6di5_74", Tn = "_icon_j6di5_106", Dn = "_emptyState_j6di5_112", M = {
1314
+ combobox: fn,
1315
+ inputField: vn,
1316
+ medium: An,
1317
+ wrap: Bn,
1318
+ button: En,
1319
+ icon: Tn,
1312
1320
  emptyState: Dn
1313
- }, Tn = { showList: "Show list", noResultsFound: "No results found" }, yn = { showList: "Visa lista", noResultsFound: "Inga träffar" }, Fn = {
1314
- en: Tn,
1315
- sv: yn
1321
+ }, yn = { showList: "Show list", noResultsFound: "No results found" }, Fn = { showList: "Visa lista", noResultsFound: "Inga träffar" }, Sn = {
1322
+ en: yn,
1323
+ sv: Fn
1316
1324
  };
1317
- function $o({
1325
+ function bo({
1318
1326
  label: e,
1319
1327
  description: u,
1320
- errorMessage: l,
1328
+ errorMessage: i,
1321
1329
  children: p,
1322
- items: o,
1323
- className: s,
1330
+ items: t,
1331
+ className: d,
1324
1332
  errorPosition: B = "top",
1325
1333
  size: b = "large",
1326
1334
  popover: x,
1327
1335
  ...F
1328
1336
  }) {
1329
- const g = _.useRef(null), h = pn(Fn), E = (D) => {
1330
- var T;
1331
- D.currentTarget.value && ((T = g.current) == null || T.select());
1337
+ const g = _.useRef(null), h = dn(Sn), E = (T) => {
1338
+ var D;
1339
+ T.currentTarget.value && ((D = g.current) == null || D.select());
1332
1340
  };
1333
1341
  return /* @__PURE__ */ xe(
1334
- Cn,
1342
+ mn,
1335
1343
  {
1336
- className: Ce(j.combobox, s),
1344
+ className: Ce(M.combobox, d),
1337
1345
  ...F,
1338
1346
  children: [
1339
- /* @__PURE__ */ A(en, { popover: x, children: e && /* @__PURE__ */ A(un, { children: e }) }),
1347
+ /* @__PURE__ */ A(un, { popover: x, children: e && /* @__PURE__ */ A(nn, { children: e }) }),
1340
1348
  u && /* @__PURE__ */ A(Ae, { slot: "description", children: u }),
1341
- B === "top" && /* @__PURE__ */ A(he, { "data-testid": "fieldError", children: l }),
1342
- /* @__PURE__ */ xe("div", { className: j.wrap, children: [
1349
+ B === "top" && /* @__PURE__ */ A(he, { "data-testid": "fieldError", children: i }),
1350
+ /* @__PURE__ */ xe("div", { className: M.wrap, children: [
1343
1351
  /* @__PURE__ */ A(
1344
- Du,
1352
+ Tu,
1345
1353
  {
1346
- className: Ce(j.inputField, {
1347
- [j.medium]: b === "medium"
1354
+ className: Ce(M.inputField, {
1355
+ [M.medium]: b === "medium"
1348
1356
  }),
1349
1357
  onMouseUp: E,
1350
1358
  ref: g
@@ -1353,17 +1361,17 @@ function $o({
1353
1361
  /* @__PURE__ */ A(
1354
1362
  Cu,
1355
1363
  {
1356
- className: Ce(j.button, {
1357
- [j.medium]: b === "medium"
1364
+ className: Ce(M.button, {
1365
+ [M.medium]: b === "medium"
1358
1366
  }),
1359
1367
  "aria-label": h.format("showList"),
1360
1368
  children: /* @__PURE__ */ A(
1361
1369
  "div",
1362
1370
  {
1363
- className: j.icon,
1371
+ className: M.icon,
1364
1372
  "aria-hidden": "true",
1365
1373
  children: /* @__PURE__ */ A(
1366
- cn,
1374
+ pn,
1367
1375
  {
1368
1376
  size: 20,
1369
1377
  "aria-hidden": !0
@@ -1374,12 +1382,12 @@ function $o({
1374
1382
  }
1375
1383
  )
1376
1384
  ] }),
1377
- B === "bottom" && /* @__PURE__ */ A(he, { "data-testid": "fieldError", children: l }),
1378
- /* @__PURE__ */ A(nn, { children: /* @__PURE__ */ A(
1379
- on,
1385
+ B === "bottom" && /* @__PURE__ */ A(he, { "data-testid": "fieldError", children: i }),
1386
+ /* @__PURE__ */ A(on, { children: /* @__PURE__ */ A(
1387
+ tn,
1380
1388
  {
1381
- items: o,
1382
- renderEmptyState: () => /* @__PURE__ */ A(Ae, { className: j.emptyState, children: h.format("noResultsFound") }),
1389
+ items: t,
1390
+ renderEmptyState: () => /* @__PURE__ */ A(Ae, { className: M.emptyState, children: h.format("noResultsFound") }),
1383
1391
  children: p
1384
1392
  }
1385
1393
  ) })
@@ -1387,14 +1395,14 @@ function $o({
1387
1395
  }
1388
1396
  );
1389
1397
  }
1390
- function Sn(e) {
1391
- return /* @__PURE__ */ A(tn, { ...e });
1398
+ function Ln(e) {
1399
+ return /* @__PURE__ */ A(ln, { ...e });
1392
1400
  }
1393
- function ao(e) {
1394
- return /* @__PURE__ */ A(ln, { ...e, children: /* @__PURE__ */ A(Pu, { items: e.children, children: (u) => /* @__PURE__ */ A(Sn, { children: u.name }, u.id) }) });
1401
+ function Co(e) {
1402
+ return /* @__PURE__ */ A(cn, { ...e, children: /* @__PURE__ */ A(Pu, { items: e.children, children: (u) => /* @__PURE__ */ A(Ln, { children: u.name }, u.id) }) });
1395
1403
  }
1396
1404
  export {
1397
- $o as C,
1398
- Sn as a,
1399
- ao as b
1405
+ bo as C,
1406
+ Ln as a,
1407
+ Co as b
1400
1408
  };