@midas-ds/components 10.3.0 → 10.4.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 (363) hide show
  1. package/AccordionItem-BcsoC78F.cjs +1 -0
  2. package/{AccordionItem-ChHpW8EW.js → AccordionItem-BqsgiVWV.js} +38 -36
  3. package/Breadcrumbs-CfW5IuyE.cjs +1 -0
  4. package/{Breadcrumbs-CwDUNIqF.js → Breadcrumbs-D7eoibWk.js} +77 -65
  5. package/{Button-BoJl6JGM.cjs → Button-BXY5ZhqI.cjs} +1 -1
  6. package/{Button-Csih3v23.js → Button-BZUo7vsZ.js} +1 -1
  7. package/{Button-DjBChs7s.js → Button-CFYdzG0H.js} +24 -23
  8. package/Button-DExMoP5f.cjs +1 -0
  9. package/CHANGELOG.md +28 -0
  10. package/{Card-yrtGzt70.js → Card-BaWSgtSF.js} +3 -3
  11. package/{Card-0G0mj9q5.cjs → Card-Cc1TNPcQ.cjs} +1 -1
  12. package/{CharacterCounter-CHcTDHO-.cjs → CharacterCounter-DSFBv3Rw.cjs} +1 -1
  13. package/{CharacterCounter-BL_nZHya.js → CharacterCounter-cLhqPZlk.js} +4 -4
  14. package/Checkbox-Co3h0hur.cjs +1 -0
  15. package/{Checkbox-5HINZdGu.js → Checkbox-LuUwTZ3W.js} +69 -68
  16. package/CheckboxGroup-CUA8_xSx.js +160 -0
  17. package/CheckboxGroup-DmUOM0xl.cjs +1 -0
  18. package/{Collection-Brgjpkne.js → Collection--62xKPm9.js} +17 -16
  19. package/Collection-BtBX5IMY.cjs +1 -0
  20. package/{ColorSchemeSwitch-BpzQ7g0b.js → ColorSchemeSwitch-Cwono7Ap.js} +51 -35
  21. package/ColorSchemeSwitch-DDXdSzqg.cjs +16 -0
  22. package/ComboBox-BBC7jhnm.cjs +1 -0
  23. package/{ComboBox-CVDyp2a-.js → ComboBox-HLIAbb2q.js} +309 -298
  24. package/{DateField-DeDhiYnW.cjs → DateField-B3VjOSde.cjs} +1 -1
  25. package/{DateField-DhU3q-rG.js → DateField-CnLEi7uX.js} +4 -4
  26. package/DateInputDivider-3BvwXXa9.cjs +1 -0
  27. package/{DateInputDivider-CF4xWsMT.js → DateInputDivider-Bi5N-C0c.js} +90 -86
  28. package/DateRangePicker-BPlZ12r8.cjs +6 -0
  29. package/{DateRangePicker-ziD1_k1W.js → DateRangePicker-CFOoGvut.js} +86 -83
  30. package/Dialog-CSnN6baf.cjs +1 -0
  31. package/{Dialog-D14MbJ7o.js → Dialog-CtVrVuMr.js} +101 -98
  32. package/Dialog-SqciohRY.js +221 -0
  33. package/Dialog-pSSy1zwf.cjs +1 -0
  34. package/DragAndDrop-BoEd260f.cjs +1 -0
  35. package/{DragAndDrop-o3ruz_SR.js → DragAndDrop-DkSTL28C.js} +2 -2
  36. package/{Dropdown-Df58j43I.js → Dropdown-CkBp70BH.js} +2 -2
  37. package/{Dropdown-CJ6My6EI.cjs → Dropdown-DAsVShlt.cjs} +1 -1
  38. package/FieldError-B3YFj-an.js +23 -0
  39. package/FieldError-BbR-29BM.js +28 -0
  40. package/FieldError-MVsU-Mgw.cjs +1 -0
  41. package/FieldError-bRTpchvr.cjs +1 -0
  42. package/{FileUpload-D6qoEAjn.js → FileUpload-B4rv-wke.js} +496 -475
  43. package/{FileUpload-CxCOtyB9.cjs → FileUpload-BwMhyLjG.cjs} +2 -2
  44. package/{FocusScope-CxkURfoc.js → FocusScope-D_hwN_TJ.js} +25 -24
  45. package/FocusScope-vcXLOQiu.cjs +1 -0
  46. package/Group-CpkUzEAs.js +45 -0
  47. package/Group-DOpbdoAi.cjs +1 -0
  48. package/{Heading-mHhCbGjY.cjs → Heading-CKTR4sOz.cjs} +1 -1
  49. package/{Heading-BFtiin0g.js → Heading-NxtGri2i.js} +1 -1
  50. package/{InfoBanner-BLM-TJJ6.js → InfoBanner-CBUoad7A.js} +47 -39
  51. package/InfoBanner-CVry6Y8i.cjs +1 -0
  52. package/{Input-BTzwcf72.js → Input-LnjmFI1x.js} +13 -12
  53. package/Input-MJji5hhq.cjs +1 -0
  54. package/Label-CNmTN1YY.cjs +1 -0
  55. package/Label-TVxwGZ-O.js +78 -0
  56. package/Layout-Dw-oCqxd.cjs +16 -0
  57. package/Layout-amz9BESl.js +498 -0
  58. package/{Link-yNO2-sqx.js → Link-Bn8V3ZI0.js} +8 -7
  59. package/Link-CidjjqHb.cjs +1 -0
  60. package/{Link-B88l_oaE.cjs → Link-D92ftFi2.cjs} +1 -1
  61. package/{Link-DX5BbBnn.js → Link-DegonJfl.js} +1 -1
  62. package/{LinkButton-o6uS1XsR.js → LinkButton-CckYzfJ8.js} +1 -1
  63. package/{LinkButton-CBpGLETx.cjs → LinkButton-DKZ4z6zu.cjs} +1 -1
  64. package/ListBox-BCz5-23H.cjs +1 -0
  65. package/{ListBox-GnVK_Pdq.js → ListBox-C-isJIHL.js} +101 -99
  66. package/{ListBoxButton-D_J3jlP0.js → ListBoxButton-C_krklY0.js} +1 -1
  67. package/{ListBoxButton-DPBrtXyv.cjs → ListBoxButton-DNm3gvcT.cjs} +1 -1
  68. package/{ListBoxSection-C0BGnpB4.js → ListBoxSection-BVR2xtOH.js} +9 -9
  69. package/ListBoxSection-CfQZoURJ.cjs +1 -0
  70. package/{ListKeyboardDelegate-DTg9h4v6.cjs → ListKeyboardDelegate-CPsZ7D83.cjs} +1 -1
  71. package/{ListKeyboardDelegate-DNI8GQtX.js → ListKeyboardDelegate-CY6t6y1t.js} +3 -3
  72. package/LocalizedStringFormatter-C0C54hjf.cjs +1 -0
  73. package/LocalizedStringFormatter-D-4Qyql0.js +77 -0
  74. package/Logo-BpH0HC91.cjs +1 -0
  75. package/{Logo-BIrOEINM.js → Logo-ME4ffCue.js} +34 -26
  76. package/{OverlayArrow-CDLXPTew.js → OverlayArrow-CfhSYL46.js} +57 -56
  77. package/OverlayArrow-DpZ1FqOd.cjs +1 -0
  78. package/{Popover-BGGXeD54.js → Popover-C8VY1YKi.js} +2 -2
  79. package/{Popover-CqNWzPf-.cjs → Popover-CnAsw3wI.cjs} +1 -1
  80. package/{ProgressBar-DMSg-Prr.js → ProgressBar-BNCjpcv8.js} +2 -2
  81. package/{ProgressBar-Jbg28j2a.cjs → ProgressBar-CcbxcWdT.cjs} +1 -1
  82. package/Radio-B2zfEFdq.cjs +1 -0
  83. package/{Radio-Cz29wPXd.js → Radio-CZYibh9r.js} +50 -47
  84. package/{RangeCalendar-RAlAHlNL.js → RangeCalendar-B16b6tJD.js} +304 -293
  85. package/RangeCalendar-C1LFeOVk.cjs +11 -0
  86. package/SSRProvider-40TXmsUG.js +50 -0
  87. package/SSRProvider-Bc-sMhsT.cjs +1 -0
  88. package/SearchField-CML0kjtn.cjs +6 -0
  89. package/{SearchField-IlvZ3Kh6.js → SearchField-giwECmXS.js} +175 -166
  90. package/Select-DKey6CeS.cjs +1 -0
  91. package/Select-mwaAv20X.js +665 -0
  92. package/SelectionManager-D0jYUYcy.cjs +1 -0
  93. package/{SelectionManager-B4ORduja.js → SelectionManager-zsWy3vsd.js} +91 -90
  94. package/{Separator-DECIYLtZ.cjs → Separator-CxF-3jhR.cjs} +1 -1
  95. package/{Separator-Cu9fYKUM.js → Separator-Dn5LYN5I.js} +4 -4
  96. package/Spinner-CbJ6YAz-.js +53 -0
  97. package/Spinner-yHcy8YHC.cjs +6 -0
  98. package/TabList-7VtCiXxX.cjs +1 -0
  99. package/TabList-CthsM5h6.js +435 -0
  100. package/{Table-F4oYBtUM.js → Table-BcQPvJT3.js} +46 -44
  101. package/Table-DkvNp6xm.cjs +16 -0
  102. package/{Tag-Du7GvSv2.js → Tag-Bs8T2Ei7.js} +131 -129
  103. package/Tag-CFWZ2LQW.cjs +1 -0
  104. package/Text-92cPh38G.js +15 -0
  105. package/{Text-B2K-BJKQ.cjs → Text-CfcjRtke.cjs} +1 -1
  106. package/{Text-3MNwRMpI.cjs → Text-DBHWi5gA.cjs} +1 -1
  107. package/{Text-jWWg0B20.js → Text-DlKqpvSa.js} +1 -1
  108. package/TextArea-DBNAVWqL.js +119 -0
  109. package/TextArea-XJDfeXRs.cjs +1 -0
  110. package/TextField-BdK9KEQ5.cjs +1 -0
  111. package/{TextField-C-hTPukq.js → TextField-ByDJkig9.js} +23 -22
  112. package/{Toast-Btg21Xge.js → Toast-DPPvPhrF.js} +75 -68
  113. package/Toast-l1bKo2oA.cjs +1 -0
  114. package/ToggleButtonGroup-DH8IgR4G.cjs +1 -0
  115. package/{ToggleButtonGroup-B5yz1tm2.js → ToggleButtonGroup-HOWNWtQZ.js} +46 -45
  116. package/{Tooltip-CMLs7WMw.js → Tooltip-5mLWn_wO.js} +29 -27
  117. package/Tooltip-pN5W3IK6.cjs +1 -0
  118. package/{VisuallyHidden-ZCYf65q4.js → VisuallyHidden-CYfmTSCD.js} +2 -2
  119. package/VisuallyHidden-Doyzl0F7.cjs +1 -0
  120. package/accordion/index.cjs +1 -1
  121. package/accordion/index.js +1 -1
  122. package/assets/Checkbox.css +1 -1
  123. package/assets/FileUpload.css +1 -1
  124. package/assets/RangeCalendar.css +1 -1
  125. package/assets/SearchField.css +1 -1
  126. package/assets/Spinner.css +1 -1
  127. package/assets/TabList.css +1 -0
  128. package/breadcrumbs/Breadcrumbs.d.ts +11 -7
  129. package/breadcrumbs/index.cjs +1 -1
  130. package/breadcrumbs/index.d.ts +1 -1
  131. package/breadcrumbs/index.js +1 -1
  132. package/button/index.cjs +1 -1
  133. package/button/index.js +1 -1
  134. package/calendar/CalendarGrid.d.ts +1 -0
  135. package/calendar/index.cjs +1 -1
  136. package/calendar/index.js +1 -1
  137. package/card/index.cjs +1 -1
  138. package/card/index.js +1 -1
  139. package/character-counter/index.cjs +1 -1
  140. package/character-counter/index.js +1 -1
  141. package/checkbox/Checkbox.d.ts +3 -1
  142. package/checkbox/index.cjs +1 -1
  143. package/checkbox/index.js +2 -2
  144. package/checkbox/intl/translations.json.d.ts +2 -30
  145. package/checkbox/types.d.ts +3 -1
  146. package/color-scheme-switch/ColorSchemeSwitch.d.ts +1 -0
  147. package/color-scheme-switch/index.cjs +1 -1
  148. package/color-scheme-switch/index.js +1 -1
  149. package/color-scheme-switch/intl/translations.json.d.ts +15 -0
  150. package/combobox/index.cjs +1 -1
  151. package/combobox/index.js +1 -1
  152. package/combobox/intl/translations.json.d.ts +11 -0
  153. package/{context-C81gPYvC.js → context-CGNJ3grH.js} +1 -1
  154. package/context-Df3XbgBG.cjs +1 -0
  155. package/date-field/index.cjs +1 -1
  156. package/date-field/index.js +2 -2
  157. package/date-picker/index.cjs +1 -1
  158. package/date-picker/index.js +1 -1
  159. package/dropdown/index.cjs +1 -1
  160. package/dropdown/index.js +1 -1
  161. package/field-error/index.cjs +1 -1
  162. package/field-error/index.js +1 -1
  163. package/file-upload/FileUpload.d.ts +1 -0
  164. package/file-upload/index.cjs +1 -1
  165. package/file-upload/index.js +1 -1
  166. package/file-upload/intl/translations.json.d.ts +17 -0
  167. package/{getScrollParent-BhFcYrwL.js → getScrollParent-CT_L9LUr.js} +1 -1
  168. package/{getScrollParent-DDJu9WHU.cjs → getScrollParent-CsZ9ciml.cjs} +1 -1
  169. package/heading/index.cjs +1 -1
  170. package/heading/index.js +1 -1
  171. package/index.cjs +1 -1
  172. package/index.js +100 -97
  173. package/info-banner/index.cjs +1 -1
  174. package/info-banner/index.js +1 -1
  175. package/info-banner/intl/translations.json.d.ts +11 -0
  176. package/label/index.cjs +1 -1
  177. package/label/index.js +1 -1
  178. package/label/intl/translations.json.d.ts +11 -0
  179. package/layout/Layout.d.ts +1 -0
  180. package/layout/context/LayoutContext.d.ts +1 -0
  181. package/layout/index.cjs +1 -1
  182. package/layout/index.js +1 -1
  183. package/layout/intl/translations.json.d.ts +23 -0
  184. package/link/index.cjs +1 -1
  185. package/link/index.js +2 -2
  186. package/link-button/index.cjs +1 -1
  187. package/link-button/index.js +2 -2
  188. package/list-box/index.cjs +1 -1
  189. package/list-box/index.js +2 -2
  190. package/logo/index.cjs +1 -1
  191. package/logo/index.js +1 -1
  192. package/logo/intl/translations.json.d.ts +11 -0
  193. package/mergeProps-B5KXZAI3.cjs +1 -0
  194. package/mergeProps-C1U1OIeJ.js +115 -0
  195. package/modal/index.cjs +1 -1
  196. package/modal/index.js +2 -2
  197. package/modal/intl/translations.json.d.ts +11 -0
  198. package/package.json +1 -1
  199. package/popover/index.cjs +1 -1
  200. package/popover/index.js +1 -1
  201. package/progress-bar/index.cjs +1 -1
  202. package/progress-bar/index.js +1 -1
  203. package/radio/Radio.d.ts +1 -4
  204. package/radio/index.cjs +1 -1
  205. package/radio/index.js +1 -1
  206. package/{scrollIntoView-Hwb_aaNf.js → scrollIntoView-BLnsPvFA.js} +1 -1
  207. package/scrollIntoView-joIyo-Jt.cjs +1 -0
  208. package/search-field/index.cjs +1 -1
  209. package/search-field/index.js +1 -1
  210. package/search-field/intl/translations.json.d.ts +11 -0
  211. package/select/index.cjs +1 -1
  212. package/select/index.js +1 -1
  213. package/select/intl/translations.json.d.ts +17 -0
  214. package/spinner/Spinner.d.ts +1 -0
  215. package/spinner/index.cjs +1 -1
  216. package/spinner/index.js +1 -1
  217. package/spinner/intl/translations.json.d.ts +11 -0
  218. package/table/index.cjs +1 -1
  219. package/table/index.js +1 -1
  220. package/tabs/Tab.d.ts +4 -0
  221. package/tabs/TabList.d.ts +3 -0
  222. package/tabs/TabPanel.d.ts +4 -0
  223. package/tabs/Tabs.d.ts +11 -5
  224. package/tabs/index.cjs +1 -1
  225. package/tabs/index.d.ts +3 -0
  226. package/tabs/index.js +5 -2
  227. package/tag/index.cjs +1 -1
  228. package/tag/index.js +1 -1
  229. package/text/index.cjs +1 -1
  230. package/text/index.js +1 -1
  231. package/textfield/index.cjs +1 -1
  232. package/textfield/index.js +1 -1
  233. package/textfield/intl/translations.json.d.ts +0 -72
  234. package/theme/index.cjs +1 -1
  235. package/theme/index.d.ts +5 -0
  236. package/theme/index.js +2 -2
  237. package/theme/tokens.d.ts +5 -0
  238. package/toast/Toast.d.ts +5 -2
  239. package/toast/index.cjs +1 -1
  240. package/toast/index.js +1 -1
  241. package/toggle-button/index.cjs +1 -1
  242. package/toggle-button/index.js +1 -1
  243. package/{tokens-p6pg1Cea.cjs → tokens-BghDnMdO.cjs} +1 -1
  244. package/{tokens-xp-7KMK7.js → tokens-fEwCQXDv.js} +16 -11
  245. package/tooltip/index.cjs +1 -1
  246. package/tooltip/index.js +1 -1
  247. package/{useButton-B8dB9sot.js → useButton-1-Jf-oHj.js} +3 -3
  248. package/useButton-D60q0SQw.cjs +1 -0
  249. package/{useDateFormatter-CnxoJ4jF.cjs → useDateFormatter-BJBt0jk_.cjs} +1 -1
  250. package/{useDateFormatter-EHm4auIg.js → useDateFormatter-BVCkxVdw.js} +2 -2
  251. package/{useEvent-IsD2Awnh.js → useEvent-CigwyJOw.js} +3 -3
  252. package/useEvent-DPxMu-X9.cjs +1 -0
  253. package/{useField-DvpGZkw_.js → useField-BEBXv5Mh.js} +4 -4
  254. package/useField-D1UkzeaI.cjs +1 -0
  255. package/{useFilter-CUq74PQ2.js → useFilter-CousKe2K.js} +1 -1
  256. package/{useFilter-BTgDWHVx.cjs → useFilter-e2oIVF_O.cjs} +1 -1
  257. package/useFocusRing-B-A1OLhU.cjs +1 -0
  258. package/useFocusRing-DOfBqnUN.js +33 -0
  259. package/useFocusWithin-CG8mAt2D.cjs +1 -0
  260. package/useFocusWithin-T1ifEM_s.js +54 -0
  261. package/{useFocusable-C8uh8K4g.js → useFocusable-ChPA2Jc7.js} +20 -18
  262. package/useFocusable-D7I1ujkW.cjs +1 -0
  263. package/useFormValidation-BlFGdPZB.cjs +1 -0
  264. package/{useFormValidation-BIGzfO9h.js → useFormValidation-BzzruZKm.js} +2 -2
  265. package/{useHasTabbableChild-C-1mZUQe.js → useHasTabbableChild-BE81d_ab.js} +2 -2
  266. package/useHasTabbableChild-CoQRpNbC.cjs +1 -0
  267. package/useHighlightSelectionDescription-BfR_vGOe.cjs +1 -0
  268. package/{useHighlightSelectionDescription-CnBDT86u.js → useHighlightSelectionDescription-D73hrkmn.js} +5 -5
  269. package/useHover-BE_XKZKe.cjs +1 -0
  270. package/useHover-DQvJ3Y-W.js +262 -0
  271. package/useLabels-CSU0kbtJ.cjs +1 -0
  272. package/{useLabels-BDwkBYbE.js → useLabels-LrKQiY11.js} +1 -1
  273. package/{useListState-CrZFZffI.js → useListState-CebsX_1d.js} +1 -1
  274. package/{useListState-Bx8u4IFG.cjs → useListState-DymkJGDF.cjs} +1 -1
  275. package/useLocalizedStringFormatter-BO2iZEL0.cjs +1 -0
  276. package/useLocalizedStringFormatter-BiX5BTlb.cjs +1 -0
  277. package/useLocalizedStringFormatter-CL9MUZ8A.js +22 -0
  278. package/useLocalizedStringFormatter-N0AyjzbM.js +25 -0
  279. package/usePress-BooY_CAy.cjs +7 -0
  280. package/{usePress-CNjmDzap.js → usePress-DuR4pVsE.js} +129 -128
  281. package/{useSingleSelectListState-0AGHxvy3.js → useSingleSelectListState-BLXvGjLI.js} +1 -1
  282. package/{useSingleSelectListState-Cl3KV5E1.cjs → useSingleSelectListState-BPhlCU26.cjs} +1 -1
  283. package/{useTextField-Cw-33OP_.js → useTextField-C-sUypsx.js} +8 -8
  284. package/useTextField-DnRrCg5o.cjs +1 -0
  285. package/utils/intl/useLocalizedStringFormatter.d.ts +2 -0
  286. package/utils-CoCR_Fce.js +234 -0
  287. package/utils-DHNZrQmj.cjs +1 -0
  288. package/utils-DJhAJHk_.js +152 -0
  289. package/utils-Dvdohqm9.cjs +1 -0
  290. package/AccordionItem-BGWiWjxA.cjs +0 -1
  291. package/Breadcrumbs-DtjJ1UmU.cjs +0 -1
  292. package/Button-htW9qIsS.cjs +0 -1
  293. package/Checkbox-DqcPg5hz.cjs +0 -1
  294. package/CheckboxGroup-BBrSMuDY.cjs +0 -1
  295. package/CheckboxGroup-CLgixk2p.js +0 -243
  296. package/Collection-BIDsXNhi.cjs +0 -1
  297. package/ColorSchemeSwitch-C-qWuqkU.cjs +0 -16
  298. package/ComboBox-CWJUg9Xx.cjs +0 -1
  299. package/DateInputDivider-ADvOavHw.cjs +0 -1
  300. package/DateRangePicker-BsAHhy99.cjs +0 -6
  301. package/Dialog-B8GTYbvu.cjs +0 -1
  302. package/Dialog-BOrYdX50.cjs +0 -1
  303. package/Dialog-CXNu48AC.js +0 -208
  304. package/DragAndDrop-DNth776R.cjs +0 -1
  305. package/FieldError-CAcjosk_.js +0 -46
  306. package/FieldError-CKBb2-mp.cjs +0 -1
  307. package/FocusScope-5c9SVBcR.cjs +0 -1
  308. package/Group-B6EslsHZ.js +0 -44
  309. package/Group-CgiqQHH1.cjs +0 -1
  310. package/InfoBanner-C2kTIsrB.cjs +0 -1
  311. package/Input-DKSAYvsw.cjs +0 -1
  312. package/Label-7Ybb99CE.cjs +0 -1
  313. package/Label-BwJrdqEE.js +0 -70
  314. package/Layout-1g6bMH62.cjs +0 -16
  315. package/Layout-Ey8flY7E.js +0 -468
  316. package/Link-BQhauBuw.cjs +0 -1
  317. package/ListBox-DP9M4H6R.cjs +0 -1
  318. package/ListBoxSection-BGaigBnG.cjs +0 -1
  319. package/Logo-DT2_2O43.cjs +0 -1
  320. package/OverlayArrow-D75k-EMl.cjs +0 -1
  321. package/Radio-BwqrdhQE.cjs +0 -1
  322. package/RangeCalendar-BehUaydF.cjs +0 -11
  323. package/SearchField-CxMwDeUM.cjs +0 -6
  324. package/Select-2q1iSzAX.cjs +0 -1
  325. package/Select-BVQZtoi9.js +0 -646
  326. package/SelectionManager-CwYux2h3.cjs +0 -1
  327. package/Spinner-D31SXm-U.js +0 -41
  328. package/Spinner-P35rvvsl.cjs +0 -6
  329. package/Table-B40CGLT-.cjs +0 -16
  330. package/Tabs-B4oZJkZG.js +0 -404
  331. package/Tabs-DA2qXhzb.cjs +0 -1
  332. package/Tag-DPAGmcMK.cjs +0 -1
  333. package/Text-BoXuUVVH.js +0 -15
  334. package/TextArea-C7JZ_pQd.cjs +0 -1
  335. package/TextArea-XeBCSyzl.js +0 -191
  336. package/TextField-BgNdhZi_.cjs +0 -1
  337. package/Toast-AbDA1BOs.cjs +0 -1
  338. package/ToggleButtonGroup-BFDoj0P6.cjs +0 -1
  339. package/Tooltip-DeBuBKhS.cjs +0 -1
  340. package/VisuallyHidden-CLWHbz2n.cjs +0 -1
  341. package/assets/Tabs.css +0 -1
  342. package/context-DjwhtgxQ.cjs +0 -1
  343. package/scrollIntoView-C8doLzDd.cjs +0 -1
  344. package/useButton-cpNi-fY4.cjs +0 -1
  345. package/useEvent-DxBxMX2V.cjs +0 -1
  346. package/useField-CXKYU74k.cjs +0 -1
  347. package/useFocusRing-CbImDrwF.cjs +0 -1
  348. package/useFocusRing-XnR3cZjO.js +0 -82
  349. package/useFocusable-NUVSFcRC.cjs +0 -1
  350. package/useFormValidation-ClximP89.cjs +0 -1
  351. package/useHasTabbableChild-DCBTulUQ.cjs +0 -1
  352. package/useHighlightSelectionDescription-CzYucm61.cjs +0 -1
  353. package/useHover-DjIHtjGN.js +0 -490
  354. package/useHover-_mv5J4_q.cjs +0 -1
  355. package/useLabels-BLOfc6Y-.cjs +0 -1
  356. package/useLocalizedStringFormatter-BKoxGZf1.js +0 -96
  357. package/useLocalizedStringFormatter-BsxLt89S.cjs +0 -1
  358. package/useLocalizedStringFormatter-D3JQyjb4.js +0 -21
  359. package/useLocalizedStringFormatter-ioacM-Yt.cjs +0 -1
  360. package/usePress-0AjDbW9R.cjs +0 -7
  361. package/useTextField--czJtyNd.cjs +0 -1
  362. package/utils-BNtZbAib.cjs +0 -1
  363. package/utils-DIMfEPAt.js +0 -308
@@ -1,36 +1,40 @@
1
- import { jsxs as ae, jsx as v } from "react/jsx-runtime";
2
- import X, { useRef as E, useMemo as ee, useEffect as pe, useState as Q, useCallback as re, forwardRef as ru, createContext as he } from "react";
3
- import { f as se, b as fe, e as ve, $ as su } from "./Button-DjBChs7s.js";
4
- import { n as $u, c as Ce, a as bu, g as au, h as Cu, i as xu, b as mu, j as hu } from "./utils-DIMfEPAt.js";
5
- import { $ as fu, F as xe } from "./FieldError-CAcjosk_.js";
6
- import { $ as vu } from "./Form-CXcEMuBf.js";
7
- import { a as Ae } from "./Group-B6EslsHZ.js";
8
- import { $ as Be, a as Au } from "./Input-BTzwcf72.js";
9
- import { c as Bu, d as Eu, e as Ee, f as Tu } from "./ListBox-GnVK_Pdq.js";
10
- import { o as Du, h as Fu, i as yu, m as Su } from "./Dialog-D14MbJ7o.js";
11
- import { $ as Te } from "./Text-BoXuUVVH.js";
12
- import { b as Lu, c as gu } from "./Collection-Brgjpkne.js";
13
- import { $ as ku } from "./filterDOMProps-D6KHYVBX.js";
14
- import { a as Pu, g as Ku } from "./OverlayArrow-CDLXPTew.js";
15
- import { $ as Ou } from "./useFilter-CUq74PQ2.js";
16
- import { d as Iu, $ as Ru } from "./useFormValidation-BIGzfO9h.js";
17
- import { e as Gu, f as De, h as Vu } from "./SelectionManager-B4ORduja.js";
18
- import { $ as zu } from "./useSingleSelectListState-0AGHxvy3.js";
19
- import { b as Mu } from "./useListState-CrZFZffI.js";
20
- import { $ as wu } from "./useControlledState-u436Wbp1.js";
21
- import { C as $e, e as ju, d as Nu } from "./useHover-DjIHtjGN.js";
22
- import { b as Uu } from "./usePress-CNjmDzap.js";
23
- import { $ as me } from "./useLabels-BDwkBYbE.js";
1
+ import { jsxs as be, jsx as f } from "react/jsx-runtime";
2
+ import X, { useRef as T, useMemo as ee, useEffect as pe, useState as Q, useCallback as se, forwardRef as su, createContext as he } from "react";
3
+ import { f as re, c as fe, e as ve, $ as ru } from "./Button-CFYdzG0H.js";
4
+ import { $ as $u, b as au, c as bu, d as Cu, a as mu, e as xu } from "./utils-DJhAJHk_.js";
5
+ import { $ as hu } from "./FieldError-BbR-29BM.js";
6
+ import { $ as fu } from "./Form-CXcEMuBf.js";
7
+ import { a as Ae } from "./Group-CpkUzEAs.js";
8
+ import { $ as Be, a as vu } from "./Input-LnjmFI1x.js";
9
+ import { c as Au, d as Bu, e as Ee, f as Eu } from "./ListBox-C-isJIHL.js";
10
+ import { o as Tu, h as Du, i as Fu, m as yu } from "./Dialog-CtVrVuMr.js";
11
+ import { a as Te } from "./Text-92cPh38G.js";
12
+ import { b as Lu, c as Su } from "./Collection--62xKPm9.js";
13
+ import { $ as gu } from "./filterDOMProps-D6KHYVBX.js";
14
+ import { a as ku, g as Pu } from "./OverlayArrow-CfhSYL46.js";
15
+ import { $ as Ku } from "./useFilter-CousKe2K.js";
16
+ import { d as Ou, $ as Iu } from "./useFormValidation-BzzruZKm.js";
17
+ import { e as Ru, f as De, h as wu } from "./SelectionManager-zsWy3vsd.js";
18
+ import { $ as Gu } from "./useSingleSelectListState-BLXvGjLI.js";
19
+ import { b as zu } from "./useListState-CebsX_1d.js";
20
+ import { $ as Vu } from "./useControlledState-u436Wbp1.js";
21
+ import { e as Mu, a as Ce } from "./mergeProps-C1U1OIeJ.js";
22
+ import { c as ju, b as Nu } from "./utils-CoCR_Fce.js";
23
+ import { b as Uu } from "./usePress-DuR4pVsE.js";
24
+ import { $ as me } from "./useLabels-LrKQiY11.js";
24
25
  import { $ as qu } from "./useUpdateEffect-CCDx8D4X.js";
25
- import { a as Wu } from "./Separator-Cu9fYKUM.js";
26
- import { a as Xu } from "./ListKeyboardDelegate-DNI8GQtX.js";
27
- import { b as Zu } from "./useLocalizedStringFormatter-BKoxGZf1.js";
28
- import { $ as Hu } from "./useTextField-Cw-33OP_.js";
29
- import { c as be } from "./clsx-OuTLNxxd.js";
30
- import { a as Ju, L as Yu } from "./Label-BwJrdqEE.js";
31
- import { T as _u } from "./Text-jWWg0B20.js";
32
- import { b as Qu, L as en, a as un, c as nn } from "./ListBoxSection-C0BGnpB4.js";
26
+ import { o as $e } from "./useHover-DQvJ3Y-W.js";
27
+ import { a as Wu } from "./Separator-Dn5LYN5I.js";
28
+ import { a as Xu } from "./ListKeyboardDelegate-CY6t6y1t.js";
29
+ import { $ as Zu } from "./useLocalizedStringFormatter-CL9MUZ8A.js";
30
+ import { $ as Hu } from "./useTextField-C-sUypsx.js";
31
+ import { c as ae } from "./clsx-OuTLNxxd.js";
32
+ import { a as Ju, L as Yu } from "./Label-TVxwGZ-O.js";
33
+ import { T as _u } from "./Text-DlKqpvSa.js";
34
+ import { F as xe } from "./FieldError-B3YFj-an.js";
35
+ import { b as Qu, L as en, a as un, c as nn } from "./ListBoxSection-BVR2xtOH.js";
33
36
  import { C as on } from "./chevron-down-Cd1bkzXT.js";
37
+ import { u as tn } from "./useLocalizedStringFormatter-N0AyjzbM.js";
34
38
  import './assets/ComboBox.css';var Fe = {};
35
39
  Fe = {
36
40
  buttonLabel: "عرض المقترحات",
@@ -71,8 +75,8 @@ ye = {
71
75
  listboxLabel: "Предложения",
72
76
  selectedAnnouncement: (e) => `${e.optionText}, избрани`
73
77
  };
74
- var Se = {};
75
- Se = {
78
+ var Le = {};
79
+ Le = {
76
80
  buttonLabel: "Zobrazit doporučení",
77
81
  countAnnouncement: (e, u) => `K dispozici ${u.plural(e.optionCount, {
78
82
  one: () => `je ${u.number(e.optionCount)} možnost`,
@@ -91,8 +95,8 @@ Se = {
91
95
  listboxLabel: "Návrhy",
92
96
  selectedAnnouncement: (e) => `${e.optionText}, vybráno`
93
97
  };
94
- var Le = {};
95
- Le = {
98
+ var Se = {};
99
+ Se = {
96
100
  buttonLabel: "Vis forslag",
97
101
  countAnnouncement: (e, u) => `${u.plural(e.optionCount, {
98
102
  one: () => `${u.number(e.optionCount)} mulighed tilgængelig`,
@@ -251,8 +255,8 @@ Re = {
251
255
  listboxLabel: "Suggestions",
252
256
  selectedAnnouncement: (e) => `${e.optionText}, sélectionné`
253
257
  };
254
- var Ge = {};
255
- Ge = {
258
+ var we = {};
259
+ we = {
256
260
  buttonLabel: "הצג הצעות",
257
261
  countAnnouncement: (e, u) => `${u.plural(e.optionCount, {
258
262
  one: () => `אפשרות ${u.number(e.optionCount)}`,
@@ -271,8 +275,8 @@ Ge = {
271
275
  listboxLabel: "הצעות",
272
276
  selectedAnnouncement: (e) => `${e.optionText}, נבחר`
273
277
  };
274
- var Ve = {};
275
- Ve = {
278
+ var Ge = {};
279
+ Ge = {
276
280
  buttonLabel: "Prikaži prijedloge",
277
281
  countAnnouncement: (e, u) => `Dostupno još: ${u.plural(e.optionCount, {
278
282
  one: () => `${u.number(e.optionCount)} opcija`,
@@ -311,8 +315,8 @@ ze = {
311
315
  listboxLabel: "Javaslatok",
312
316
  selectedAnnouncement: (e) => `${e.optionText}, kijelölve`
313
317
  };
314
- var Me = {};
315
- Me = {
318
+ var Ve = {};
319
+ Ve = {
316
320
  buttonLabel: "Mostra suggerimenti",
317
321
  countAnnouncement: (e, u) => `${u.plural(e.optionCount, {
318
322
  one: () => `${u.number(e.optionCount)} opzione disponibile`,
@@ -331,8 +335,8 @@ Me = {
331
335
  listboxLabel: "Suggerimenti",
332
336
  selectedAnnouncement: (e) => `${e.optionText}, selezionato`
333
337
  };
334
- var we = {};
335
- we = {
338
+ var Me = {};
339
+ Me = {
336
340
  buttonLabel: "候補を表示",
337
341
  countAnnouncement: (e, u) => `${u.plural(e.optionCount, {
338
342
  one: () => `${u.number(e.optionCount)} 個のオプション`,
@@ -715,8 +719,8 @@ var iu = {};
715
719
  iu = {
716
720
  "ar-AE": Fe,
717
721
  "bg-BG": ye,
718
- "cs-CZ": Se,
719
- "da-DK": Le,
722
+ "cs-CZ": Le,
723
+ "da-DK": Se,
720
724
  "de-DE": ge,
721
725
  "el-GR": ke,
722
726
  "en-US": Pe,
@@ -724,11 +728,11 @@ iu = {
724
728
  "et-EE": Oe,
725
729
  "fi-FI": Ie,
726
730
  "fr-FR": Re,
727
- "he-IL": Ge,
728
- "hr-HR": Ve,
731
+ "he-IL": we,
732
+ "hr-HR": Ge,
729
733
  "hu-HU": ze,
730
- "it-IT": Me,
731
- "ja-JP": we,
734
+ "it-IT": Ve,
735
+ "ja-JP": Me,
732
736
  "ko-KR": je,
733
737
  "lt-LT": Ne,
734
738
  "lv-LV": Ue,
@@ -748,36 +752,36 @@ iu = {
748
752
  "zh-CN": tu,
749
753
  "zh-TW": lu
750
754
  };
751
- function tn(e) {
755
+ function ln(e) {
752
756
  return e && e.__esModule ? e.default : e;
753
757
  }
754
- function ln(e, u) {
755
- let { buttonRef: i, popoverRef: b, inputRef: t, listBoxRef: d, keyboardDelegate: A, layoutDelegate: a, shouldFocusWrap: x, isReadOnly: D, isDisabled: g } = e, m = E(null);
756
- i = i ?? m;
757
- let B = Zu(tn(iu), "@react-aria/combobox"), { menuTriggerProps: h, menuProps: S } = Du({
758
+ function cn(e, u) {
759
+ let { buttonRef: i, popoverRef: a, inputRef: t, listBoxRef: d, keyboardDelegate: v, layoutDelegate: b, shouldFocusWrap: m, isReadOnly: F, isDisabled: g } = e, x = T(null);
760
+ i = i ?? x;
761
+ let A = Zu(ln(iu), "@react-aria/combobox"), { menuTriggerProps: B, menuProps: E } = Tu({
758
762
  type: "listbox",
759
- isDisabled: g || D
763
+ isDisabled: g || F
760
764
  }, u, i);
761
- Bu.set(u, {
762
- id: S.id
765
+ Au.set(u, {
766
+ id: E.id
763
767
  });
764
- let { collection: f } = u, { disabledKeys: L } = u.selectionManager, l = ee(() => A || new Xu({
765
- collection: f,
766
- disabledKeys: L,
768
+ let { collection: h } = u, { disabledKeys: S } = u.selectionManager, l = ee(() => v || new Xu({
769
+ collection: h,
770
+ disabledKeys: S,
767
771
  ref: d,
768
- layoutDelegate: a
772
+ layoutDelegate: b
769
773
  }), [
770
- A,
771
- a,
772
- f,
773
- L,
774
+ v,
775
+ b,
776
+ h,
777
+ S,
774
778
  d
775
- ]), { collectionProps: V } = Gu({
779
+ ]), { collectionProps: G } = Ru({
776
780
  selectionManager: u.selectionManager,
777
781
  keyboardDelegate: l,
778
782
  disallowTypeAhead: !0,
779
783
  disallowEmptySelection: !0,
780
- shouldFocusWrap: x,
784
+ shouldFocusWrap: m,
781
785
  ref: t,
782
786
  // Prevent item scroll behavior from being applied here, should be handled in the user's Popover + ListBox component
783
787
  isVirtualized: !0
@@ -811,21 +815,21 @@ function ln(e, u) {
811
815
  }
812
816
  }, z = (n) => {
813
817
  var c;
814
- let p = (i == null ? void 0 : i.current) && i.current === n.relatedTarget, O = (c = b.current) === null || c === void 0 ? void 0 : c.contains(n.relatedTarget);
818
+ let p = (i == null ? void 0 : i.current) && i.current === n.relatedTarget, O = (c = a.current) === null || c === void 0 ? void 0 : c.contains(n.relatedTarget);
815
819
  p || O || (e.onBlur && e.onBlur(n), u.setFocused(!1));
816
820
  }, N = (n) => {
817
821
  u.isFocused || (e.onFocus && e.onFocus(n), u.setFocused(!0));
818
- }, { isInvalid: U, validationErrors: r, validationDetails: q } = u.displayValidation, { labelProps: F, inputProps: y, descriptionProps: Z, errorMessageProps: oe } = Hu({
822
+ }, { isInvalid: U, validationErrors: s, validationDetails: q } = u.displayValidation, { labelProps: y, inputProps: L, descriptionProps: Z, errorMessageProps: oe } = Hu({
819
823
  ...e,
820
824
  onChange: u.setInputValue,
821
- onKeyDown: D ? e.onKeyDown : $u(u.isOpen && V.onKeyDown, ne, e.onKeyDown),
825
+ onKeyDown: F ? e.onKeyDown : Mu(u.isOpen && G.onKeyDown, ne, e.onKeyDown),
822
826
  onBlur: z,
823
827
  value: u.inputValue,
824
828
  onFocus: N,
825
829
  autoComplete: "off",
826
830
  validate: void 0,
827
- [Iu]: u
828
- }, t), M = (n) => {
831
+ [Ou]: u
832
+ }, t), V = (n) => {
829
833
  if (n.pointerType === "touch") {
830
834
  var c;
831
835
  (c = t.current) === null || c === void 0 || c.focus(), u.toggle(null, "manual");
@@ -835,16 +839,16 @@ function ln(e, u) {
835
839
  var c;
836
840
  (c = t.current) === null || c === void 0 || c.focus(), u.toggle(n.pointerType === "keyboard" || n.pointerType === "virtual" ? "first" : null, "manual");
837
841
  }
838
- }, s = me({
839
- id: h.id,
840
- "aria-label": B.format("buttonLabel"),
841
- "aria-labelledby": e["aria-labelledby"] || F.id
842
+ }, r = me({
843
+ id: B.id,
844
+ "aria-label": A.format("buttonLabel"),
845
+ "aria-labelledby": e["aria-labelledby"] || y.id
842
846
  }), k = me({
843
- id: S.id,
844
- "aria-label": B.format("listboxLabel"),
845
- "aria-labelledby": e["aria-labelledby"] || F.id
846
- }), I = E(0), w = (n) => {
847
- if (g || D) return;
847
+ id: E.id,
848
+ "aria-label": A.format("listboxLabel"),
849
+ "aria-labelledby": e["aria-labelledby"] || y.id
850
+ }), I = T(0), M = (n) => {
851
+ if (g || F) return;
848
852
  if (n.timeStamp - I.current < 500) {
849
853
  var c;
850
854
  n.preventDefault(), (c = t.current) === null || c === void 0 || c.focus();
@@ -855,86 +859,86 @@ function ln(e, u) {
855
859
  var ce;
856
860
  n.preventDefault(), (ce = t.current) === null || ce === void 0 || ce.focus(), u.toggle(null, "manual"), I.current = n.timeStamp;
857
861
  }
858
- }, T = u.selectionManager.focusedKey != null && u.isOpen ? u.collection.getItem(u.selectionManager.focusedKey) : void 0;
862
+ }, D = u.selectionManager.focusedKey != null && u.isOpen ? u.collection.getItem(u.selectionManager.focusedKey) : void 0;
859
863
  var P;
860
- let R = (P = T == null ? void 0 : T.parentKey) !== null && P !== void 0 ? P : null;
864
+ let R = (P = D == null ? void 0 : D.parentKey) !== null && P !== void 0 ? P : null;
861
865
  var j;
862
- let G = (j = u.selectionManager.focusedKey) !== null && j !== void 0 ? j : null, J = E(R), Y = E(G);
866
+ let w = (j = u.selectionManager.focusedKey) !== null && j !== void 0 ? j : null, J = T(R), Y = T(w);
863
867
  pe(() => {
864
- if ($e() && T != null && G != null && G !== Y.current) {
865
- let c = u.selectionManager.isSelected(G), p = R != null ? u.collection.getItem(R) : null, O = (p == null ? void 0 : p["aria-label"]) || (typeof (p == null ? void 0 : p.rendered) == "string" ? p.rendered : "") || "";
868
+ if ($e() && D != null && w != null && w !== Y.current) {
869
+ let c = u.selectionManager.isSelected(w), p = R != null ? u.collection.getItem(R) : null, O = (p == null ? void 0 : p["aria-label"]) || (typeof (p == null ? void 0 : p.rendered) == "string" ? p.rendered : "") || "";
866
870
  var n;
867
- let ie = B.format("focusAnnouncement", {
871
+ let ie = A.format("focusAnnouncement", {
868
872
  isGroupChange: (n = p && R !== J.current) !== null && n !== void 0 ? n : !1,
869
873
  groupTitle: O,
870
874
  groupCount: p ? [
871
875
  ...De(p, u.collection)
872
876
  ].length : 0,
873
- optionText: T["aria-label"] || T.textValue || "",
877
+ optionText: D["aria-label"] || D.textValue || "",
874
878
  isSelected: c
875
879
  });
876
- se(ie);
880
+ re(ie);
877
881
  }
878
- J.current = R, Y.current = G;
882
+ J.current = R, Y.current = w;
879
883
  });
880
- let K = Wu(u.collection), _ = E(K), te = E(u.isOpen);
884
+ let K = Wu(u.collection), _ = T(K), te = T(u.isOpen);
881
885
  pe(() => {
882
886
  let n = u.isOpen !== te.current && (u.selectionManager.focusedKey == null || $e());
883
887
  if (u.isOpen && (n || K !== _.current)) {
884
- let c = B.format("countAnnouncement", {
888
+ let c = A.format("countAnnouncement", {
885
889
  optionCount: K
886
890
  });
887
- se(c);
891
+ re(c);
888
892
  }
889
893
  _.current = K, te.current = u.isOpen;
890
894
  });
891
- let le = E(u.selectedKey);
895
+ let le = T(u.selectedKey);
892
896
  return pe(() => {
893
897
  if ($e() && u.isFocused && u.selectedItem && u.selectedKey !== le.current) {
894
- let n = u.selectedItem["aria-label"] || u.selectedItem.textValue || "", c = B.format("selectedAnnouncement", {
898
+ let n = u.selectedItem["aria-label"] || u.selectedItem.textValue || "", c = A.format("selectedAnnouncement", {
895
899
  optionText: n
896
900
  });
897
- se(c);
901
+ re(c);
898
902
  }
899
903
  le.current = u.selectedKey;
900
904
  }), pe(() => {
901
- if (u.isOpen) return Fu([
905
+ if (u.isOpen) return Du([
902
906
  t.current,
903
- b.current
907
+ a.current
904
908
  ].filter((n) => n != null));
905
909
  }, [
906
910
  u.isOpen,
907
911
  t,
908
- b
912
+ a
909
913
  ]), qu(() => {
910
- !T && t.current && ju(Nu(t.current)) === t.current && Vu(t.current, null);
914
+ !D && t.current && ju(Nu(t.current)) === t.current && wu(t.current, null);
911
915
  }, [
912
- T
916
+ D
913
917
  ]), {
914
- labelProps: F,
918
+ labelProps: y,
915
919
  buttonProps: {
916
- ...h,
917
- ...s,
920
+ ...B,
921
+ ...r,
918
922
  excludeFromTabOrder: !0,
919
923
  preventFocusOnPress: !0,
920
- onPress: M,
924
+ onPress: V,
921
925
  onPressStart: H,
922
- isDisabled: g || D
926
+ isDisabled: g || F
923
927
  },
924
- inputProps: Ce(y, {
928
+ inputProps: Ce(L, {
925
929
  role: "combobox",
926
- "aria-expanded": h["aria-expanded"],
927
- "aria-controls": u.isOpen ? S.id : void 0,
930
+ "aria-expanded": B["aria-expanded"],
931
+ "aria-controls": u.isOpen ? E.id : void 0,
928
932
  // TODO: readd proper logic for completionMode = complete (aria-autocomplete: both)
929
933
  "aria-autocomplete": "list",
930
- "aria-activedescendant": T ? Eu(u, T.key) : void 0,
931
- onTouchEnd: w,
934
+ "aria-activedescendant": D ? Bu(u, D.key) : void 0,
935
+ onTouchEnd: M,
932
936
  // This disable's iOS's autocorrect suggestions, since the combo box provides its own suggestions.
933
937
  autoCorrect: "off",
934
938
  // This disable's the macOS Safari spell check auto corrections.
935
939
  spellCheck: "false"
936
940
  }),
937
- listBoxProps: Ce(S, k, {
941
+ listBoxProps: Ce(E, k, {
938
942
  autoFocus: u.focusStrategy || !0,
939
943
  shouldUseVirtualFocus: !0,
940
944
  shouldSelectOnPressUp: !0,
@@ -944,193 +948,193 @@ function ln(e, u) {
944
948
  descriptionProps: Z,
945
949
  errorMessageProps: oe,
946
950
  isInvalid: U,
947
- validationErrors: r,
951
+ validationErrors: s,
948
952
  validationDetails: q
949
953
  };
950
954
  }
951
- function cn(e) {
955
+ function pn(e) {
952
956
  var u;
953
- let { defaultFilter: i, menuTrigger: b = "input", allowsEmptyCollection: t = !1, allowsCustomValue: d, shouldCloseOnBlur: A = !0 } = e, [a, x] = Q(!1), [D, g] = Q(!1), [m, B] = Q(null), h = (o) => {
954
- e.onSelectionChange && e.onSelectionChange(o), o === l && (G(), P());
957
+ let { defaultFilter: i, menuTrigger: a = "input", allowsEmptyCollection: t = !1, allowsCustomValue: d, shouldCloseOnBlur: v = !0 } = e, [b, m] = Q(!1), [F, g] = Q(!1), [x, A] = Q(null), B = (o) => {
958
+ e.onSelectionChange && e.onSelectionChange(o), o === l && (w(), P());
955
959
  };
956
- var S;
957
- let { collection: f, selectionManager: L, selectedKey: l, setSelectedKey: V, selectedItem: ue, disabledKeys: ne } = zu({
960
+ var E;
961
+ let { collection: h, selectionManager: S, selectedKey: l, setSelectedKey: G, selectedItem: ue, disabledKeys: ne } = Gu({
958
962
  ...e,
959
- onSelectionChange: h,
960
- items: (S = e.items) !== null && S !== void 0 ? S : e.defaultItems
963
+ onSelectionChange: B,
964
+ items: (E = e.items) !== null && E !== void 0 ? E : e.defaultItems
961
965
  }), z = e.defaultInputValue;
962
966
  if (z == null) {
963
967
  var N, U;
964
- l == null ? z = "" : z = (U = (N = f.getItem(l)) === null || N === void 0 ? void 0 : N.textValue) !== null && U !== void 0 ? U : "";
968
+ l == null ? z = "" : z = (U = (N = h.getItem(l)) === null || N === void 0 ? void 0 : N.textValue) !== null && U !== void 0 ? U : "";
965
969
  }
966
- let [r, q] = wu(e.inputValue, z, e.onInputChange), F = f, y = ee(() => (
970
+ let [s, q] = Vu(e.inputValue, z, e.onInputChange), y = h, L = ee(() => (
967
971
  // No default filter if items are controlled.
968
- e.items != null || !i ? f : pn(f, r, i)
972
+ e.items != null || !i ? h : dn(h, s, i)
969
973
  ), [
970
- f,
971
- r,
974
+ h,
975
+ s,
972
976
  i,
973
977
  e.items
974
- ]), [Z, oe] = Q(y), M = E("focus"), s = Pu({
978
+ ]), [Z, oe] = Q(L), V = T("focus"), r = ku({
975
979
  ...e,
976
980
  onOpenChange: (o) => {
977
- e.onOpenChange && e.onOpenChange(o, o ? M.current : void 0), L.setFocused(o), o || L.setFocusedKey(null);
981
+ e.onOpenChange && e.onOpenChange(o, o ? V.current : void 0), S.setFocused(o), o || S.setFocusedKey(null);
978
982
  },
979
983
  isOpen: void 0,
980
984
  defaultOpen: void 0
981
985
  }), k = (o = null, $) => {
982
- let C = $ === "manual" || $ === "focus" && b === "focus";
983
- (t || y.size > 0 || C && F.size > 0 || e.items) && (C && !s.isOpen && e.items === void 0 && x(!0), M.current = $, B(o), s.open());
986
+ let C = $ === "manual" || $ === "focus" && a === "focus";
987
+ (t || L.size > 0 || C && y.size > 0 || e.items) && (C && !r.isOpen && e.items === void 0 && m(!0), V.current = $, A(o), r.open());
984
988
  }, I = (o = null, $) => {
985
- let C = $ === "manual" || $ === "focus" && b === "focus";
986
- !(t || y.size > 0 || C && F.size > 0 || e.items) && !s.isOpen || (C && !s.isOpen && e.items === void 0 && x(!0), s.isOpen || (M.current = $), T(o));
987
- }, w = re(() => {
988
- oe(a ? F : y);
989
+ let C = $ === "manual" || $ === "focus" && a === "focus";
990
+ !(t || L.size > 0 || C && y.size > 0 || e.items) && !r.isOpen || (C && !r.isOpen && e.items === void 0 && m(!0), r.isOpen || (V.current = $), D(o));
991
+ }, M = se(() => {
992
+ oe(b ? y : L);
989
993
  }, [
990
- a,
991
- F,
992
- y
993
- ]), T = re((o = null) => {
994
- s.isOpen && w(), B(o), s.toggle();
994
+ b,
995
+ y,
996
+ L
997
+ ]), D = se((o = null) => {
998
+ r.isOpen && M(), A(o), r.toggle();
995
999
  }, [
996
- s,
997
- w
998
- ]), P = re(() => {
999
- s.isOpen && (w(), s.close());
1000
+ r,
1001
+ M
1002
+ ]), P = se(() => {
1003
+ r.isOpen && (M(), r.close());
1000
1004
  }, [
1001
- s,
1002
- w
1003
- ]), [R, j] = Q(r), G = () => {
1005
+ r,
1006
+ M
1007
+ ]), [R, j] = Q(s), w = () => {
1004
1008
  var o, $;
1005
- let C = l != null && ($ = (o = f.getItem(l)) === null || o === void 0 ? void 0 : o.textValue) !== null && $ !== void 0 ? $ : "";
1009
+ let C = l != null && ($ = (o = h.getItem(l)) === null || o === void 0 ? void 0 : o.textValue) !== null && $ !== void 0 ? $ : "";
1006
1010
  j(C), q(C);
1007
1011
  };
1008
1012
  var J, Y;
1009
- let K = E((Y = (J = e.selectedKey) !== null && J !== void 0 ? J : e.defaultSelectedKey) !== null && Y !== void 0 ? Y : null);
1013
+ let K = T((Y = (J = e.selectedKey) !== null && J !== void 0 ? J : e.defaultSelectedKey) !== null && Y !== void 0 ? Y : null);
1010
1014
  var _;
1011
- let te = E(l != null && (_ = (u = f.getItem(l)) === null || u === void 0 ? void 0 : u.textValue) !== null && _ !== void 0 ? _ : "");
1015
+ let te = T(l != null && (_ = (u = h.getItem(l)) === null || u === void 0 ? void 0 : u.textValue) !== null && _ !== void 0 ? _ : "");
1012
1016
  pe(() => {
1013
1017
  var o;
1014
- D && (y.size > 0 || t) && !s.isOpen && r !== R && b !== "manual" && k(null, "input"), !a && !t && s.isOpen && y.size === 0 && P(), l != null && l !== K.current && P(), r !== R && (L.setFocusedKey(null), x(!1), r === "" && (e.inputValue === void 0 || e.selectedKey === void 0) && V(null)), l !== K.current && (e.inputValue === void 0 || e.selectedKey === void 0) ? G() : R !== r && j(r);
1018
+ F && (L.size > 0 || t) && !r.isOpen && s !== R && a !== "manual" && k(null, "input"), !b && !t && r.isOpen && L.size === 0 && P(), l != null && l !== K.current && P(), s !== R && (S.setFocusedKey(null), m(!1), s === "" && (e.inputValue === void 0 || e.selectedKey === void 0) && G(null)), l !== K.current && (e.inputValue === void 0 || e.selectedKey === void 0) ? w() : R !== s && j(s);
1015
1019
  var $;
1016
- let C = l != null && ($ = (o = f.getItem(l)) === null || o === void 0 ? void 0 : o.textValue) !== null && $ !== void 0 ? $ : "";
1017
- !D && l != null && e.inputValue === void 0 && l === K.current && te.current !== C && (j(C), q(C)), K.current = l, te.current = C;
1020
+ let C = l != null && ($ = (o = h.getItem(l)) === null || o === void 0 ? void 0 : o.textValue) !== null && $ !== void 0 ? $ : "";
1021
+ !F && l != null && e.inputValue === void 0 && l === K.current && te.current !== C && (j(C), q(C)), K.current = l, te.current = C;
1018
1022
  });
1019
- let le = Ru({
1023
+ let le = Iu({
1020
1024
  ...e,
1021
1025
  value: ee(() => ({
1022
- inputValue: r,
1026
+ inputValue: s,
1023
1027
  selectedKey: l
1024
1028
  }), [
1025
- r,
1029
+ s,
1026
1030
  l
1027
1031
  ])
1028
1032
  }), n = () => {
1029
1033
  d && l == null ? c() : p();
1030
1034
  }, c = () => {
1031
- K.current = null, V(null), P();
1035
+ K.current = null, G(null), P();
1032
1036
  }, p = () => {
1033
1037
  if (e.selectedKey !== void 0 && e.inputValue !== void 0) {
1034
1038
  var o, $;
1035
1039
  (o = e.onSelectionChange) === null || o === void 0 || o.call(e, l);
1036
1040
  var C;
1037
- let du = l != null && (C = ($ = f.getItem(l)) === null || $ === void 0 ? void 0 : $.textValue) !== null && C !== void 0 ? C : "";
1041
+ let du = l != null && (C = ($ = h.getItem(l)) === null || $ === void 0 ? void 0 : $.textValue) !== null && C !== void 0 ? C : "";
1038
1042
  j(du), P();
1039
1043
  } else
1040
- G(), P();
1044
+ w(), P();
1041
1045
  };
1042
1046
  const O = () => {
1043
1047
  if (d) {
1044
1048
  var o, $;
1045
- const C = l != null && ($ = (o = f.getItem(l)) === null || o === void 0 ? void 0 : o.textValue) !== null && $ !== void 0 ? $ : "";
1046
- r === C ? p() : c();
1049
+ const C = l != null && ($ = (o = h.getItem(l)) === null || o === void 0 ? void 0 : o.textValue) !== null && $ !== void 0 ? $ : "";
1050
+ s === C ? p() : c();
1047
1051
  } else
1048
1052
  p();
1049
1053
  };
1050
1054
  let ie = () => {
1051
- s.isOpen && L.focusedKey != null ? l === L.focusedKey ? p() : V(L.focusedKey) : O();
1052
- }, de = E(r), ce = (o) => {
1053
- o ? (de.current = r, b === "focus" && !e.isReadOnly && k(null, "focus")) : (A && O(), r !== de.current && le.commitValidation()), g(o);
1054
- }, pu = ee(() => s.isOpen ? a ? F : y : Z, [
1055
- s.isOpen,
1056
- F,
1055
+ r.isOpen && S.focusedKey != null ? l === S.focusedKey ? p() : G(S.focusedKey) : O();
1056
+ }, de = T(s), ce = (o) => {
1057
+ o ? (de.current = s, a === "focus" && !e.isReadOnly && k(null, "focus")) : (v && O(), s !== de.current && le.commitValidation()), g(o);
1058
+ }, pu = ee(() => r.isOpen ? b ? y : L : Z, [
1059
+ r.isOpen,
1057
1060
  y,
1058
- a,
1061
+ L,
1062
+ b,
1059
1063
  Z
1060
1064
  ]);
1061
1065
  return {
1062
1066
  ...le,
1063
- ...s,
1064
- focusStrategy: m,
1067
+ ...r,
1068
+ focusStrategy: x,
1065
1069
  toggle: I,
1066
1070
  open: k,
1067
1071
  close: O,
1068
- selectionManager: L,
1072
+ selectionManager: S,
1069
1073
  selectedKey: l,
1070
- setSelectedKey: V,
1074
+ setSelectedKey: G,
1071
1075
  disabledKeys: ne,
1072
- isFocused: D,
1076
+ isFocused: F,
1073
1077
  setFocused: ce,
1074
1078
  selectedItem: ue,
1075
1079
  collection: pu,
1076
- inputValue: r,
1080
+ inputValue: s,
1077
1081
  setInputValue: q,
1078
1082
  commit: ie,
1079
1083
  revert: n
1080
1084
  };
1081
1085
  }
1082
- function pn(e, u, i) {
1083
- return new Mu(cu(e, e, u, i));
1086
+ function dn(e, u, i) {
1087
+ return new zu(cu(e, e, u, i));
1084
1088
  }
1085
- function cu(e, u, i, b) {
1089
+ function cu(e, u, i, a) {
1086
1090
  let t = [];
1087
1091
  for (let d of u)
1088
1092
  if (d.type === "section" && d.hasChildNodes) {
1089
- let A = cu(e, De(d, e), i, b);
1093
+ let v = cu(e, De(d, e), i, a);
1090
1094
  [
1091
- ...A
1092
- ].some((a) => a.type === "item") && t.push({
1095
+ ...v
1096
+ ].some((b) => b.type === "item") && t.push({
1093
1097
  ...d,
1094
- childNodes: A
1098
+ childNodes: v
1095
1099
  });
1096
- } else d.type === "item" && b(d.textValue, i) ? t.push({
1100
+ } else d.type === "item" && a(d.textValue, i) ? t.push({
1097
1101
  ...d
1098
1102
  }) : d.type !== "item" && t.push({
1099
1103
  ...d
1100
1104
  });
1101
1105
  return t;
1102
1106
  }
1103
- const dn = /* @__PURE__ */ he(null), rn = /* @__PURE__ */ he(null), sn = /* @__PURE__ */ ru(function(u, i) {
1104
- [u, i] = bu(u, i, dn);
1105
- let { children: b, isDisabled: t = !1, isInvalid: d = !1, isRequired: A = !1 } = u, a = ee(() => {
1106
- var x;
1107
+ const sn = /* @__PURE__ */ he(null), rn = /* @__PURE__ */ he(null), $n = /* @__PURE__ */ su(function(u, i) {
1108
+ [u, i] = $u(u, i, sn);
1109
+ let { children: a, isDisabled: t = !1, isInvalid: d = !1, isRequired: v = !1 } = u, b = ee(() => {
1110
+ var m;
1107
1111
  return /* @__PURE__ */ X.createElement(Ee.Provider, {
1108
1112
  value: {
1109
- items: (x = u.items) !== null && x !== void 0 ? x : u.defaultItems
1113
+ items: (m = u.items) !== null && m !== void 0 ? m : u.defaultItems
1110
1114
  }
1111
- }, typeof b == "function" ? b({
1115
+ }, typeof a == "function" ? a({
1112
1116
  isOpen: !1,
1113
1117
  isDisabled: t,
1114
1118
  isInvalid: d,
1115
- isRequired: A,
1119
+ isRequired: v,
1116
1120
  defaultChildren: null
1117
- }) : b);
1121
+ }) : a);
1118
1122
  }, [
1119
- b,
1123
+ a,
1120
1124
  t,
1121
1125
  d,
1122
- A,
1126
+ v,
1123
1127
  u.items,
1124
1128
  u.defaultItems
1125
1129
  ]);
1126
1130
  return /* @__PURE__ */ X.createElement(Lu, {
1127
- content: a
1128
- }, (x) => /* @__PURE__ */ X.createElement(bn, {
1131
+ content: b
1132
+ }, (m) => /* @__PURE__ */ X.createElement(bn, {
1129
1133
  props: u,
1130
- collection: x,
1134
+ collection: m,
1131
1135
  comboBoxRef: i
1132
1136
  }));
1133
- }), $n = [
1137
+ }), an = [
1134
1138
  fe,
1135
1139
  ve,
1136
1140
  Be,
@@ -1138,118 +1142,118 @@ const dn = /* @__PURE__ */ he(null), rn = /* @__PURE__ */ he(null), sn = /* @__P
1138
1142
  Te
1139
1143
  ];
1140
1144
  function bn({ props: e, collection: u, comboBoxRef: i }) {
1141
- let { name: b, formValue: t = "key", allowsCustomValue: d } = e;
1145
+ let { name: a, formValue: t = "key", allowsCustomValue: d } = e;
1142
1146
  d && (t = "text");
1143
- let { validationBehavior: A } = au(vu) || {};
1144
- var a, x;
1145
- let D = (x = (a = e.validationBehavior) !== null && a !== void 0 ? a : A) !== null && x !== void 0 ? x : "native", { contains: g } = Ou({
1147
+ let { validationBehavior: v } = au(fu) || {};
1148
+ var b, m;
1149
+ let F = (m = (b = e.validationBehavior) !== null && b !== void 0 ? b : v) !== null && m !== void 0 ? m : "native", { contains: g } = Ku({
1146
1150
  sensitivity: "base"
1147
- }), m = cn({
1151
+ }), x = pn({
1148
1152
  defaultFilter: e.defaultFilter || g,
1149
1153
  ...e,
1150
1154
  // If props.items isn't provided, rely on collection filtering (aka listbox.items is provided or defaultItems provided to Combobox)
1151
1155
  items: e.items,
1152
1156
  children: void 0,
1153
1157
  collection: u,
1154
- validationBehavior: D
1155
- }), B = E(null), h = E(null), S = E(null), f = E(null), [L, l] = Cu(!e["aria-label"] && !e["aria-labelledby"]), { buttonProps: V, inputProps: ue, listBoxProps: ne, labelProps: z, descriptionProps: N, errorMessageProps: U, ...r } = ln({
1156
- ...xu(e),
1158
+ validationBehavior: F
1159
+ }), A = T(null), B = T(null), E = T(null), h = T(null), [S, l] = bu(!e["aria-label"] && !e["aria-labelledby"]), { buttonProps: G, inputProps: ue, listBoxProps: ne, labelProps: z, descriptionProps: N, errorMessageProps: U, ...s } = cn({
1160
+ ...Cu(e),
1157
1161
  label: l,
1158
- inputRef: h,
1159
- buttonRef: B,
1160
- listBoxRef: S,
1161
- popoverRef: f,
1162
- name: t === "text" ? b : void 0,
1163
- validationBehavior: D
1164
- }, m), [q, F] = Q(null), y = re(() => {
1165
- if (h.current) {
1166
- var s;
1167
- let k = (s = B.current) === null || s === void 0 ? void 0 : s.getBoundingClientRect(), I = h.current.getBoundingClientRect(), w = k ? Math.min(k.left, I.left) : I.left, T = k ? Math.max(k.right, I.right) : I.right;
1168
- F(T - w + "px");
1162
+ inputRef: B,
1163
+ buttonRef: A,
1164
+ listBoxRef: E,
1165
+ popoverRef: h,
1166
+ name: t === "text" ? a : void 0,
1167
+ validationBehavior: F
1168
+ }, x), [q, y] = Q(null), L = se(() => {
1169
+ if (B.current) {
1170
+ var r;
1171
+ let k = (r = A.current) === null || r === void 0 ? void 0 : r.getBoundingClientRect(), I = B.current.getBoundingClientRect(), M = k ? Math.min(k.left, I.left) : I.left, D = k ? Math.max(k.right, I.right) : I.right;
1172
+ y(D - M + "px");
1169
1173
  }
1170
1174
  }, [
1175
+ A,
1171
1176
  B,
1172
- h,
1173
- F
1177
+ y
1174
1178
  ]);
1175
- Ku({
1176
- ref: h,
1177
- onResize: y
1179
+ Pu({
1180
+ ref: B,
1181
+ onResize: L
1178
1182
  });
1179
1183
  let Z = ee(() => ({
1180
- isOpen: m.isOpen,
1184
+ isOpen: x.isOpen,
1181
1185
  isDisabled: e.isDisabled || !1,
1182
- isInvalid: r.isInvalid || !1,
1186
+ isInvalid: s.isInvalid || !1,
1183
1187
  isRequired: e.isRequired || !1
1184
1188
  }), [
1185
- m.isOpen,
1189
+ x.isOpen,
1186
1190
  e.isDisabled,
1187
- r.isInvalid,
1191
+ s.isInvalid,
1188
1192
  e.isRequired
1189
1193
  ]), oe = mu({
1190
1194
  ...e,
1191
1195
  values: Z,
1192
1196
  defaultClassName: "react-aria-ComboBox"
1193
- }), M = ku(e);
1194
- delete M.id;
1197
+ }), V = gu(e);
1198
+ delete V.id;
1195
1199
  var H;
1196
- return /* @__PURE__ */ X.createElement(hu, {
1200
+ return /* @__PURE__ */ X.createElement(xu, {
1197
1201
  values: [
1198
1202
  [
1199
1203
  rn,
1200
- m
1204
+ x
1201
1205
  ],
1202
1206
  [
1203
1207
  fe,
1204
1208
  {
1205
1209
  ...z,
1206
- ref: L
1210
+ ref: S
1207
1211
  }
1208
1212
  ],
1209
1213
  [
1210
1214
  ve,
1211
1215
  {
1212
- ...V,
1213
- ref: B,
1214
- isPressed: m.isOpen
1216
+ ...G,
1217
+ ref: A,
1218
+ isPressed: x.isOpen
1215
1219
  }
1216
1220
  ],
1217
1221
  [
1218
1222
  Be,
1219
1223
  {
1220
1224
  ...ue,
1221
- ref: h
1225
+ ref: B
1222
1226
  }
1223
1227
  ],
1224
1228
  [
1225
- yu,
1226
- m
1229
+ Fu,
1230
+ x
1227
1231
  ],
1228
1232
  [
1229
- Su,
1233
+ yu,
1230
1234
  {
1231
- ref: f,
1232
- triggerRef: h,
1233
- scrollRef: S,
1235
+ ref: h,
1236
+ triggerRef: B,
1237
+ scrollRef: E,
1234
1238
  placement: "bottom start",
1235
1239
  isNonModal: !0,
1236
1240
  trigger: "ComboBox",
1237
1241
  style: {
1238
1242
  "--trigger-width": q
1239
1243
  },
1240
- clearContexts: $n
1244
+ clearContexts: an
1241
1245
  }
1242
1246
  ],
1243
1247
  [
1244
1248
  Ee,
1245
1249
  {
1246
1250
  ...ne,
1247
- ref: S
1251
+ ref: E
1248
1252
  }
1249
1253
  ],
1250
1254
  [
1251
- Tu,
1252
- m
1255
+ Eu,
1256
+ x
1253
1257
  ],
1254
1258
  [
1255
1259
  Te,
@@ -1263,88 +1267,95 @@ function bn({ props: e, collection: u, comboBoxRef: i }) {
1263
1267
  [
1264
1268
  Ae,
1265
1269
  {
1266
- isInvalid: r.isInvalid,
1270
+ isInvalid: s.isInvalid,
1267
1271
  isDisabled: e.isDisabled || !1
1268
1272
  }
1269
1273
  ],
1270
1274
  [
1271
- fu,
1272
- r
1275
+ hu,
1276
+ s
1273
1277
  ]
1274
1278
  ]
1275
1279
  }, /* @__PURE__ */ X.createElement("div", {
1276
- ...M,
1280
+ ...V,
1277
1281
  ...oe,
1278
1282
  ref: i,
1279
1283
  slot: e.slot || void 0,
1280
- "data-focused": m.isFocused || void 0,
1281
- "data-open": m.isOpen || void 0,
1284
+ "data-focused": x.isFocused || void 0,
1285
+ "data-open": x.isOpen || void 0,
1282
1286
  "data-disabled": e.isDisabled || void 0,
1283
- "data-invalid": r.isInvalid || void 0,
1287
+ "data-invalid": s.isInvalid || void 0,
1284
1288
  "data-required": e.isRequired || void 0
1285
- }), b && t === "key" && /* @__PURE__ */ X.createElement("input", {
1289
+ }), a && t === "key" && /* @__PURE__ */ X.createElement("input", {
1286
1290
  type: "hidden",
1287
- name: b,
1288
- value: (H = m.selectedKey) !== null && H !== void 0 ? H : ""
1291
+ name: a,
1292
+ value: (H = x.selectedKey) !== null && H !== void 0 ? H : ""
1289
1293
  }));
1290
1294
  }
1291
- const an = "_combobox_zftmk_4", Cn = "_inputField_zftmk_9", xn = "_medium_zftmk_27", mn = "_wrap_zftmk_67", hn = "_button_zftmk_73", fn = "_icon_zftmk_105", W = {
1292
- combobox: an,
1293
- inputField: Cn,
1295
+ const Cn = "_combobox_zftmk_4", mn = "_inputField_zftmk_9", xn = "_medium_zftmk_27", hn = "_wrap_zftmk_67", fn = "_button_zftmk_73", vn = "_icon_zftmk_105", W = {
1296
+ combobox: Cn,
1297
+ inputField: mn,
1294
1298
  medium: xn,
1295
- wrap: mn,
1296
- button: hn,
1297
- icon: fn
1299
+ wrap: hn,
1300
+ button: fn,
1301
+ icon: vn
1302
+ }, An = {
1303
+ showList: "Show list"
1304
+ }, Bn = {
1305
+ showList: "Visa lista"
1306
+ }, En = {
1307
+ en: An,
1308
+ sv: Bn
1298
1309
  };
1299
- function uo({
1310
+ function so({
1300
1311
  label: e,
1301
1312
  description: u,
1302
1313
  errorMessage: i,
1303
- children: b,
1314
+ children: a,
1304
1315
  items: t,
1305
1316
  className: d,
1306
- errorPosition: A = "top",
1307
- size: a = "large",
1308
- popover: x,
1309
- ...D
1317
+ errorPosition: v = "top",
1318
+ size: b = "large",
1319
+ popover: m,
1320
+ ...F
1310
1321
  }) {
1311
- const g = X.useRef(null), m = (B) => {
1312
- var h;
1313
- B.currentTarget.value && ((h = g.current) == null || h.select());
1322
+ const g = X.useRef(null), x = tn(En), A = (B) => {
1323
+ var E;
1324
+ B.currentTarget.value && ((E = g.current) == null || E.select());
1314
1325
  };
1315
- return /* @__PURE__ */ ae(
1316
- sn,
1326
+ return /* @__PURE__ */ be(
1327
+ $n,
1317
1328
  {
1318
- className: be(W.combobox, d),
1319
- ...D,
1329
+ className: ae(W.combobox, d),
1330
+ ...F,
1320
1331
  children: [
1321
- /* @__PURE__ */ v(Ju, { popover: x, children: e && /* @__PURE__ */ v(Yu, { children: e }) }),
1322
- u && /* @__PURE__ */ v(_u, { slot: "description", children: u }),
1323
- A === "top" && /* @__PURE__ */ v(xe, { "data-testid": "fieldError", children: i }),
1324
- /* @__PURE__ */ ae("div", { className: W.wrap, children: [
1325
- /* @__PURE__ */ v(
1326
- Au,
1332
+ /* @__PURE__ */ f(Ju, { popover: m, children: e && /* @__PURE__ */ f(Yu, { children: e }) }),
1333
+ u && /* @__PURE__ */ f(_u, { slot: "description", children: u }),
1334
+ v === "top" && /* @__PURE__ */ f(xe, { "data-testid": "fieldError", children: i }),
1335
+ /* @__PURE__ */ be("div", { className: W.wrap, children: [
1336
+ /* @__PURE__ */ f(
1337
+ vu,
1327
1338
  {
1328
- className: be(W.inputField, {
1329
- [W.medium]: a === "medium"
1339
+ className: ae(W.inputField, {
1340
+ [W.medium]: b === "medium"
1330
1341
  }),
1331
- onMouseUp: m,
1342
+ onMouseUp: A,
1332
1343
  ref: g
1333
1344
  }
1334
1345
  ),
1335
- /* @__PURE__ */ v(
1336
- su,
1346
+ /* @__PURE__ */ f(
1347
+ ru,
1337
1348
  {
1338
- className: be(W.button, {
1339
- [W.medium]: a === "medium"
1349
+ className: ae(W.button, {
1350
+ [W.medium]: b === "medium"
1340
1351
  }),
1341
- "aria-label": "Visa lista",
1342
- children: /* @__PURE__ */ v(
1352
+ "aria-label": x.format("showList"),
1353
+ children: /* @__PURE__ */ f(
1343
1354
  "div",
1344
1355
  {
1345
1356
  className: W.icon,
1346
1357
  "aria-hidden": "true",
1347
- children: /* @__PURE__ */ v(
1358
+ children: /* @__PURE__ */ f(
1348
1359
  on,
1349
1360
  {
1350
1361
  size: 20,
@@ -1356,24 +1367,24 @@ function uo({
1356
1367
  }
1357
1368
  )
1358
1369
  ] }),
1359
- A === "bottom" && /* @__PURE__ */ v(xe, { "data-testid": "fieldError", children: i }),
1360
- /* @__PURE__ */ v(Qu, { children: /* @__PURE__ */ v(en, { items: t, children: b }) })
1370
+ v === "bottom" && /* @__PURE__ */ f(xe, { "data-testid": "fieldError", children: i }),
1371
+ /* @__PURE__ */ f(Qu, { children: /* @__PURE__ */ f(en, { items: t, children: a }) })
1361
1372
  ]
1362
1373
  }
1363
1374
  );
1364
1375
  }
1365
- function vn(e) {
1366
- return /* @__PURE__ */ v(un, { ...e });
1376
+ function Tn(e) {
1377
+ return /* @__PURE__ */ f(un, { ...e });
1367
1378
  }
1368
- function An(e) {
1369
- return /* @__PURE__ */ v(nn, { ...e, children: /* @__PURE__ */ v(gu, { items: e.children, children: (u) => /* @__PURE__ */ v(vn, { children: u.name }, u.id) }) });
1379
+ function Dn(e) {
1380
+ return /* @__PURE__ */ f(nn, { ...e, children: /* @__PURE__ */ f(Su, { items: e.children, children: (u) => /* @__PURE__ */ f(Tn, { children: u.name }, u.id) }) });
1370
1381
  }
1371
- function no(e) {
1372
- return /* @__PURE__ */ v(An, { ...e });
1382
+ function ro(e) {
1383
+ return /* @__PURE__ */ f(Dn, { ...e });
1373
1384
  }
1374
1385
  export {
1375
- uo as C,
1376
- vn as a,
1377
- An as b,
1378
- no as c
1386
+ so as C,
1387
+ Tn as a,
1388
+ Dn as b,
1389
+ ro as c
1379
1390
  };