@midas-ds/components 10.2.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 (440) hide show
  1. package/AccordionItem-BcsoC78F.cjs +1 -0
  2. package/{AccordionItem-DZT76sWu.js → AccordionItem-BqsgiVWV.js} +43 -41
  3. package/{BadgeContainer-D3RtqcPF.js → BadgeContainer-DM8TdyMT.js} +4 -4
  4. package/{BadgeContainer-DeUgqGqb.cjs → BadgeContainer-I1XA3OCl.cjs} +1 -1
  5. package/Breadcrumbs-CfW5IuyE.cjs +1 -0
  6. package/{Breadcrumbs-CmZXtTiS.js → Breadcrumbs-D7eoibWk.js} +85 -73
  7. package/{Button-iSiWjocA.cjs → Button-BXY5ZhqI.cjs} +1 -1
  8. package/{Button-CbFRzRrF.js → Button-BZUo7vsZ.js} +2 -2
  9. package/Button-CFYdzG0H.js +341 -0
  10. package/Button-DExMoP5f.cjs +1 -0
  11. package/Button.module-DEQtBYe5.cjs +1 -0
  12. package/Button.module-tti8HGxs.js +14 -0
  13. package/CHANGELOG.md +48 -0
  14. package/{Card-CaKKKv9k.js → Card-BaWSgtSF.js} +5 -5
  15. package/Card-Cc1TNPcQ.cjs +1 -0
  16. package/{CharacterCounter-CrY8QRuY.cjs → CharacterCounter-DSFBv3Rw.cjs} +1 -1
  17. package/CharacterCounter-cLhqPZlk.js +22 -0
  18. package/Checkbox-Co3h0hur.cjs +1 -0
  19. package/Checkbox-LuUwTZ3W.js +264 -0
  20. package/CheckboxGroup-CUA8_xSx.js +160 -0
  21. package/CheckboxGroup-DmUOM0xl.cjs +1 -0
  22. package/{Collection-C5ONNBqd.js → Collection--62xKPm9.js} +19 -18
  23. package/Collection-BtBX5IMY.cjs +1 -0
  24. package/{ColorSchemeSwitch-CbAWIJCg.js → ColorSchemeSwitch-Cwono7Ap.js} +48 -32
  25. package/ColorSchemeSwitch-DDXdSzqg.cjs +16 -0
  26. package/ComboBox-BBC7jhnm.cjs +1 -0
  27. package/{ComboBox-BCaqPEIH.js → ComboBox-HLIAbb2q.js} +360 -345
  28. package/DateField-B3VjOSde.cjs +1 -0
  29. package/DateField-CnLEi7uX.js +47 -0
  30. package/DateInputDivider-3BvwXXa9.cjs +1 -0
  31. package/{DateInputDivider-Dx8n1Lxp.js → DateInputDivider-Bi5N-C0c.js} +73 -73
  32. package/DateRangePicker-BPlZ12r8.cjs +6 -0
  33. package/{DateRangePicker-BmBvwqo6.js → DateRangePicker-CFOoGvut.js} +192 -189
  34. package/Dialog-CSnN6baf.cjs +1 -0
  35. package/{Dialog-CYxThuMl.js → Dialog-CtVrVuMr.js} +565 -538
  36. package/Dialog-SqciohRY.js +221 -0
  37. package/Dialog-pSSy1zwf.cjs +1 -0
  38. package/DragAndDrop-BoEd260f.cjs +1 -0
  39. package/{DragAndDrop-CSwmPhxC.js → DragAndDrop-DkSTL28C.js} +8 -8
  40. package/{Dropdown-nkjzsVYX.js → Dropdown-CkBp70BH.js} +2 -2
  41. package/{Dropdown-CaGon9OR.cjs → Dropdown-DAsVShlt.cjs} +1 -1
  42. package/FieldError-B3YFj-an.js +23 -0
  43. package/{FieldError-CZikNDxX.js → FieldError-BbR-29BM.js} +8 -8
  44. package/{FieldError-DqdfJ3fs.cjs → FieldError-MVsU-Mgw.cjs} +1 -1
  45. package/{FieldError-BZw8UzBk.cjs → FieldError-bRTpchvr.cjs} +1 -1
  46. package/{FileUpload-ULwcYDxs.js → FileUpload-B4rv-wke.js} +502 -480
  47. package/{FileUpload-DYRZ0M9F.cjs → FileUpload-BwMhyLjG.cjs} +2 -2
  48. package/{FocusScope-DwIqdYpQ.js → FocusScope-D_hwN_TJ.js} +38 -37
  49. package/FocusScope-vcXLOQiu.cjs +1 -0
  50. package/Group-CpkUzEAs.js +45 -0
  51. package/Group-DOpbdoAi.cjs +1 -0
  52. package/Heading-CKTR4sOz.cjs +1 -0
  53. package/{Heading-BY5-QN4S.js → Heading-NxtGri2i.js} +7 -7
  54. package/{Hidden-B5ir3Lei.js → Hidden-C9KWUR7b.js} +2 -2
  55. package/{InfoBanner-CVIBFSWx.js → InfoBanner-CBUoad7A.js} +45 -36
  56. package/InfoBanner-CVry6Y8i.cjs +1 -0
  57. package/Input-LnjmFI1x.js +42 -0
  58. package/Input-MJji5hhq.cjs +1 -0
  59. package/Label-CNmTN1YY.cjs +1 -0
  60. package/Label-TVxwGZ-O.js +78 -0
  61. package/Layout-Dw-oCqxd.cjs +16 -0
  62. package/Layout-amz9BESl.js +498 -0
  63. package/{Link-B-nus-FT.js → Link-Bn8V3ZI0.js} +20 -19
  64. package/Link-CidjjqHb.cjs +1 -0
  65. package/{Link-DsnCtNeI.cjs → Link-D92ftFi2.cjs} +1 -1
  66. package/{Link-uFowN4qv.js → Link-DegonJfl.js} +1 -1
  67. package/LinkButton-CckYzfJ8.js +69 -0
  68. package/LinkButton-DKZ4z6zu.cjs +6 -0
  69. package/ListBox-BCz5-23H.cjs +1 -0
  70. package/{ListBox-DOi_y_Lt.js → ListBox-C-isJIHL.js} +56 -55
  71. package/{ListBoxButton-O6zN3P4W.js → ListBoxButton-C_krklY0.js} +1 -1
  72. package/{ListBoxButton-CFeNhJhr.cjs → ListBoxButton-DNm3gvcT.cjs} +1 -1
  73. package/{ListBoxSection-C1aLKL9p.js → ListBoxSection-BVR2xtOH.js} +9 -9
  74. package/ListBoxSection-CfQZoURJ.cjs +1 -0
  75. package/ListKeyboardDelegate-CPsZ7D83.cjs +1 -0
  76. package/{ListKeyboardDelegate-DNOzQ8nc.js → ListKeyboardDelegate-CY6t6y1t.js} +24 -15
  77. package/Logo-BpH0HC91.cjs +1 -0
  78. package/{Logo-BIrOEINM.js → Logo-ME4ffCue.js} +34 -26
  79. package/{OverlayArrow-DorA4Rbr.js → OverlayArrow-CfhSYL46.js} +28 -27
  80. package/OverlayArrow-DpZ1FqOd.cjs +1 -0
  81. package/Popover-C8VY1YKi.js +38 -0
  82. package/Popover-CnAsw3wI.cjs +1 -0
  83. package/{ProgressBar-gmAzSsrz.js → ProgressBar-BNCjpcv8.js} +2 -2
  84. package/ProgressBar-CcbxcWdT.cjs +1 -0
  85. package/Radio-B2zfEFdq.cjs +1 -0
  86. package/{Radio-_ukSkxPT.js → Radio-CZYibh9r.js} +81 -78
  87. package/{RangeCalendar-uXwoBL-O.js → RangeCalendar-B16b6tJD.js} +303 -294
  88. package/RangeCalendar-C1LFeOVk.cjs +11 -0
  89. package/SSRProvider-40TXmsUG.js +50 -0
  90. package/SSRProvider-Bc-sMhsT.cjs +1 -0
  91. package/SearchField-CML0kjtn.cjs +6 -0
  92. package/{SearchField-DYl2uo7o.js → SearchField-giwECmXS.js} +175 -166
  93. package/Select-DKey6CeS.cjs +1 -0
  94. package/Select-mwaAv20X.js +665 -0
  95. package/SelectionManager-D0jYUYcy.cjs +1 -0
  96. package/{SelectionManager-6H88Cv6B.js → SelectionManager-zsWy3vsd.js} +86 -86
  97. package/Separator-CxF-3jhR.cjs +1 -0
  98. package/{Separator-LYnFqh4L.js → Separator-Dn5LYN5I.js} +19 -20
  99. package/Spinner-CbJ6YAz-.js +53 -0
  100. package/Spinner-yHcy8YHC.cjs +6 -0
  101. package/TabList-7VtCiXxX.cjs +1 -0
  102. package/TabList-CthsM5h6.js +435 -0
  103. package/{Table-B_N7wUmA.js → Table-BcQPvJT3.js} +67 -69
  104. package/Table-DkvNp6xm.cjs +16 -0
  105. package/{Tag-g6HN-YCv.js → Tag-Bs8T2Ei7.js} +140 -141
  106. package/Tag-CFWZ2LQW.cjs +1 -0
  107. package/{Text-B_H68Tvq.js → Text-92cPh38G.js} +3 -3
  108. package/{Text-B2K-BJKQ.cjs → Text-CfcjRtke.cjs} +1 -1
  109. package/{Text-3MNwRMpI.cjs → Text-DBHWi5gA.cjs} +1 -1
  110. package/{Text-BN-g1iWi.js → Text-DlKqpvSa.js} +1 -1
  111. package/TextArea-DBNAVWqL.js +119 -0
  112. package/TextArea-XJDfeXRs.cjs +1 -0
  113. package/TextField-BdK9KEQ5.cjs +1 -0
  114. package/{TextField-DBaRuNj7.js → TextField-ByDJkig9.js} +22 -21
  115. package/{Toast-CjpldAI8.js → Toast-DPPvPhrF.js} +95 -87
  116. package/Toast-l1bKo2oA.cjs +1 -0
  117. package/ToggleButtonGroup-DH8IgR4G.cjs +1 -0
  118. package/{ToggleButtonGroup-Ceh9_yBM.js → ToggleButtonGroup-HOWNWtQZ.js} +47 -46
  119. package/{Tooltip-BAIjaYax.js → Tooltip-5mLWn_wO.js} +53 -51
  120. package/Tooltip-pN5W3IK6.cjs +1 -0
  121. package/{VisuallyHidden-D-4z1VgU.js → VisuallyHidden-CYfmTSCD.js} +8 -8
  122. package/VisuallyHidden-Doyzl0F7.cjs +1 -0
  123. package/accordion/index.cjs +1 -1
  124. package/accordion/index.js +1 -1
  125. package/{arrow-right-Cw48o2oW.cjs → arrow-right-QJ2gXPKQ.cjs} +1 -1
  126. package/assets/Button.css +1 -1
  127. package/assets/Checkbox.css +1 -1
  128. package/assets/FileUpload.css +1 -1
  129. package/assets/Label.css +1 -1
  130. package/assets/LinkButton.css +1 -1
  131. package/assets/Popover.css +1 -0
  132. package/assets/RangeCalendar.css +1 -1
  133. package/assets/SearchField.css +1 -1
  134. package/assets/Spinner.css +1 -1
  135. package/assets/TabList.css +1 -0
  136. package/badge/index.cjs +1 -1
  137. package/badge/index.js +1 -1
  138. package/breadcrumbs/Breadcrumbs.d.ts +11 -7
  139. package/breadcrumbs/index.cjs +1 -1
  140. package/breadcrumbs/index.d.ts +1 -1
  141. package/breadcrumbs/index.js +1 -1
  142. package/button/index.cjs +1 -1
  143. package/button/index.js +1 -1
  144. package/calendar/CalendarGrid.d.ts +1 -0
  145. package/calendar/index.cjs +1 -1
  146. package/calendar/index.js +1 -1
  147. package/card/index.cjs +1 -1
  148. package/card/index.js +1 -1
  149. package/character-counter/index.cjs +1 -1
  150. package/character-counter/index.js +1 -1
  151. package/{check-Dw9c62O4.cjs → check-D_KoootC.cjs} +1 -1
  152. package/checkbox/Checkbox.d.ts +4 -2
  153. package/checkbox/CheckboxGroup.d.ts +8 -8
  154. package/checkbox/CheckboxGroupFieldError.d.ts +8 -0
  155. package/checkbox/CheckboxGroupItem.d.ts +3 -0
  156. package/checkbox/CheckboxInner.d.ts +2 -0
  157. package/checkbox/SingleCheckbox.d.ts +3 -0
  158. package/checkbox/context.d.ts +3 -0
  159. package/checkbox/index.cjs +1 -1
  160. package/checkbox/index.d.ts +2 -1
  161. package/checkbox/index.js +2 -2
  162. package/checkbox/intl/translations.json.d.ts +7 -0
  163. package/checkbox/types.d.ts +16 -0
  164. package/checkbox/useSelectAll.d.ts +7 -0
  165. package/{chevron-down-C2E7aZ3N.cjs → chevron-down-jl83cllc.cjs} +1 -1
  166. package/{info-DkzVqB8I.js → circle-check-B9HYcH7Z.js} +4 -16
  167. package/{info-DlzSeKbc.cjs → circle-check-BGo8gML8.cjs} +2 -7
  168. package/color-scheme-switch/ColorSchemeSwitch.d.ts +1 -0
  169. package/color-scheme-switch/index.cjs +1 -1
  170. package/color-scheme-switch/index.js +1 -1
  171. package/color-scheme-switch/intl/translations.json.d.ts +15 -0
  172. package/combobox/ComboBox.d.ts +3 -1
  173. package/combobox/index.cjs +1 -1
  174. package/combobox/index.js +1 -1
  175. package/combobox/intl/translations.json.d.ts +11 -0
  176. package/{context-B8cn10po.js → context-CGNJ3grH.js} +11 -11
  177. package/context-Df3XbgBG.cjs +1 -0
  178. package/{createLucideIcon-DAY4oS-S.cjs → createLucideIcon-Cg_wkoIA.cjs} +1 -1
  179. package/date-field/DateField.d.ts +3 -0
  180. package/date-field/index.cjs +1 -1
  181. package/date-field/index.js +2 -2
  182. package/date-picker/DatePicker.d.ts +3 -0
  183. package/date-picker/DateRangePicker.d.ts +3 -0
  184. package/date-picker/index.cjs +1 -1
  185. package/date-picker/index.js +1 -1
  186. package/dropdown/index.cjs +1 -1
  187. package/dropdown/index.js +1 -1
  188. package/field-error/index.cjs +1 -1
  189. package/field-error/index.js +1 -1
  190. package/file-upload/FileUpload.d.ts +4 -0
  191. package/file-upload/index.cjs +1 -1
  192. package/file-upload/index.js +1 -1
  193. package/file-upload/intl/translations.json.d.ts +17 -0
  194. package/{getScrollParent-Ru2U2LlM.js → getScrollParent-CT_L9LUr.js} +1 -1
  195. package/{getScrollParent-DuKmPmUa.cjs → getScrollParent-CsZ9ciml.cjs} +1 -1
  196. package/heading/index.cjs +1 -1
  197. package/heading/index.js +1 -1
  198. package/{index-BSMrH_Du.js → index-CGRFP4CC.js} +7 -7
  199. package/{index-D97L3EBk.cjs → index-Dsz3aiWt.cjs} +2 -2
  200. package/index.cjs +1 -1
  201. package/index.d.ts +1 -0
  202. package/index.js +105 -100
  203. package/inertValue-B3AFhVG4.cjs +1 -0
  204. package/info-BZwphdye.js +15 -0
  205. package/info-CIEIENo6.cjs +6 -0
  206. package/info-banner/index.cjs +1 -1
  207. package/info-banner/index.js +1 -1
  208. package/info-banner/intl/translations.json.d.ts +11 -0
  209. package/label/InfoPopover.d.ts +9 -0
  210. package/label/LabelWrapper.d.ts +11 -0
  211. package/label/index.cjs +1 -1
  212. package/label/index.d.ts +1 -0
  213. package/label/index.js +1 -1
  214. package/label/intl/translations.json.d.ts +11 -0
  215. package/layout/Layout.d.ts +1 -0
  216. package/layout/context/LayoutContext.d.ts +1 -0
  217. package/layout/index.cjs +1 -1
  218. package/layout/index.js +1 -1
  219. package/layout/intl/translations.json.d.ts +23 -0
  220. package/link/index.cjs +1 -1
  221. package/link/index.js +2 -2
  222. package/link-button/index.cjs +1 -1
  223. package/link-button/index.js +2 -2
  224. package/list-box/index.cjs +1 -1
  225. package/list-box/index.js +2 -2
  226. package/logo/index.cjs +1 -1
  227. package/logo/index.js +1 -1
  228. package/logo/intl/translations.json.d.ts +11 -0
  229. package/mergeProps-B5KXZAI3.cjs +1 -0
  230. package/mergeProps-C1U1OIeJ.js +115 -0
  231. package/modal/index.cjs +1 -1
  232. package/modal/index.js +2 -2
  233. package/modal/intl/translations.json.d.ts +11 -0
  234. package/package.json +1 -1
  235. package/popover/Popover.d.ts +7 -0
  236. package/popover/index.cjs +1 -0
  237. package/popover/index.d.ts +1 -0
  238. package/popover/index.js +4 -0
  239. package/progress-bar/index.cjs +1 -1
  240. package/progress-bar/index.js +1 -1
  241. package/radio/Radio.d.ts +4 -4
  242. package/radio/index.cjs +1 -1
  243. package/radio/index.js +1 -1
  244. package/scrollIntoView-BLnsPvFA.js +87 -0
  245. package/scrollIntoView-joIyo-Jt.cjs +1 -0
  246. package/search-field/index.cjs +1 -1
  247. package/search-field/index.js +1 -1
  248. package/search-field/intl/translations.json.d.ts +11 -0
  249. package/select/index.cjs +1 -1
  250. package/select/index.js +1 -1
  251. package/select/intl/translations.json.d.ts +17 -0
  252. package/spinner/Spinner.d.ts +1 -0
  253. package/spinner/index.cjs +1 -1
  254. package/spinner/index.js +1 -1
  255. package/spinner/intl/translations.json.d.ts +11 -0
  256. package/{square-arrow-out-up-right-BCAO2eJs.cjs → square-arrow-out-up-right-V4Gd08uI.cjs} +1 -1
  257. package/table/index.cjs +1 -1
  258. package/table/index.js +1 -1
  259. package/tabs/Tab.d.ts +4 -0
  260. package/tabs/TabList.d.ts +3 -0
  261. package/tabs/TabPanel.d.ts +4 -0
  262. package/tabs/Tabs.d.ts +11 -5
  263. package/tabs/index.cjs +1 -1
  264. package/tabs/index.d.ts +3 -0
  265. package/tabs/index.js +5 -2
  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/TextFieldBase.d.ts +2 -0
  271. package/textfield/index.cjs +1 -1
  272. package/textfield/index.js +1 -1
  273. package/textfield/intl/translations.json.d.ts +0 -72
  274. package/theme/index.cjs +1 -1
  275. package/theme/index.d.ts +5 -0
  276. package/theme/index.js +2 -2
  277. package/theme/tokens.d.ts +5 -0
  278. package/toast/Toast.d.ts +5 -2
  279. package/toast/index.cjs +1 -1
  280. package/toast/index.js +1 -1
  281. package/toggle-button/index.cjs +1 -1
  282. package/toggle-button/index.js +1 -1
  283. package/{tokens-p6pg1Cea.cjs → tokens-BghDnMdO.cjs} +1 -1
  284. package/{tokens-xp-7KMK7.js → tokens-fEwCQXDv.js} +16 -11
  285. package/tooltip/index.cjs +1 -1
  286. package/tooltip/index.js +1 -1
  287. package/{triangle-alert-C0lvfCYH.cjs → triangle-alert-DJW8U7jL.cjs} +1 -1
  288. package/{useButton-C-Lq7CNY.js → useButton-1-Jf-oHj.js} +6 -6
  289. package/useButton-D60q0SQw.cjs +1 -0
  290. package/{useDateFormatter-g2maMTGH.cjs → useDateFormatter-BJBt0jk_.cjs} +1 -1
  291. package/{useDateFormatter-C53Uxdli.js → useDateFormatter-BVCkxVdw.js} +2 -2
  292. package/{useEvent-Cyd2ZL0c.js → useEvent-CigwyJOw.js} +3 -3
  293. package/useEvent-DPxMu-X9.cjs +1 -0
  294. package/{useField-BPMAlIbU.js → useField-BEBXv5Mh.js} +7 -7
  295. package/useField-D1UkzeaI.cjs +1 -0
  296. package/{useFilter-ChIbnALW.js → useFilter-CousKe2K.js} +1 -1
  297. package/useFilter-e2oIVF_O.cjs +1 -0
  298. package/useFocusRing-B-A1OLhU.cjs +1 -0
  299. package/useFocusRing-DOfBqnUN.js +33 -0
  300. package/useFocusWithin-CG8mAt2D.cjs +1 -0
  301. package/useFocusWithin-T1ifEM_s.js +54 -0
  302. package/useFocusable-ChPA2Jc7.js +127 -0
  303. package/useFocusable-D7I1ujkW.cjs +1 -0
  304. package/useFormValidation-BlFGdPZB.cjs +1 -0
  305. package/{useFormValidation-R8hQIjWP.js → useFormValidation-BzzruZKm.js} +5 -5
  306. package/{useHasTabbableChild-DsD9AJwE.js → useHasTabbableChild-BE81d_ab.js} +2 -2
  307. package/useHasTabbableChild-CoQRpNbC.cjs +1 -0
  308. package/useHighlightSelectionDescription-BfR_vGOe.cjs +1 -0
  309. package/{useHighlightSelectionDescription-DFfcgbUj.js → useHighlightSelectionDescription-D73hrkmn.js} +14 -14
  310. package/useHover-BE_XKZKe.cjs +1 -0
  311. package/useHover-DQvJ3Y-W.js +262 -0
  312. package/useLabels-CSU0kbtJ.cjs +1 -0
  313. package/{useLabels-BZjoZA1Z.js → useLabels-LrKQiY11.js} +1 -1
  314. package/{useListState-DFQ9d-uE.js → useListState-CebsX_1d.js} +7 -7
  315. package/{useListState-Ca2-uZMO.cjs → useListState-DymkJGDF.cjs} +1 -1
  316. package/useLocalizedStringFormatter-BO2iZEL0.cjs +1 -0
  317. package/useLocalizedStringFormatter-BiX5BTlb.cjs +1 -0
  318. package/{useLocalizedStringFormatter-D07YB2e1.js → useLocalizedStringFormatter-CL9MUZ8A.js} +1 -1
  319. package/useLocalizedStringFormatter-N0AyjzbM.js +25 -0
  320. package/useObserveElement-MhzEsCkX.cjs +1 -0
  321. package/usePress-BooY_CAy.cjs +7 -0
  322. package/{usePress-CUJ3pMOw.js → usePress-DuR4pVsE.js} +154 -153
  323. package/{useSingleSelectListState-C-nB8cug.js → useSingleSelectListState-BLXvGjLI.js} +1 -1
  324. package/{useSingleSelectListState-MGNxUTum.cjs → useSingleSelectListState-BPhlCU26.cjs} +1 -1
  325. package/{useTextField-5OZQPyOW.js → useTextField-C-sUypsx.js} +14 -14
  326. package/useTextField-DnRrCg5o.cjs +1 -0
  327. package/{useUpdateEffect-sk3kiVGz.cjs → useUpdateEffect-C5YQs_1w.cjs} +1 -1
  328. package/utils/intl/useLocalizedStringFormatter.d.ts +2 -0
  329. package/utils-CoCR_Fce.js +234 -0
  330. package/utils-DHNZrQmj.cjs +1 -0
  331. package/utils-DJhAJHk_.js +152 -0
  332. package/utils-Dvdohqm9.cjs +1 -0
  333. package/{x-CvxiAZTW.cjs → x-H8Zrx8-x.cjs} +1 -1
  334. package/AccordionItem-Z_c9MpAM.cjs +0 -1
  335. package/Breadcrumbs-Cx09jwZZ.cjs +0 -1
  336. package/Button-DnhqHU01.cjs +0 -1
  337. package/Button-ZOQy9Ivu.js +0 -78
  338. package/Button.module-CMMhIrkn.js +0 -14
  339. package/Button.module-DO5s9hOk.cjs +0 -1
  340. package/Card-C0BFW3wJ.cjs +0 -1
  341. package/CharacterCounter-CPGdboVJ.js +0 -22
  342. package/Checkbox-CvFsn_FL.js +0 -380
  343. package/Checkbox-DSxGAJX2.cjs +0 -1
  344. package/CheckboxGroup-Bk9DPq4I.cjs +0 -1
  345. package/CheckboxGroup-Dij9zKlF.js +0 -54
  346. package/Collection-Csx3L9gh.cjs +0 -1
  347. package/ColorSchemeSwitch-JRrCyYVv.cjs +0 -16
  348. package/ComboBox-gveQKHU3.cjs +0 -1
  349. package/DateField-CAQlzuDD.js +0 -46
  350. package/DateField-deVVFwKA.cjs +0 -1
  351. package/DateInputDivider-DnUxETEC.cjs +0 -1
  352. package/DateRangePicker-BzfitoK0.cjs +0 -6
  353. package/Dialog-Bd5hK360.cjs +0 -1
  354. package/Dialog-Bxx8cBEq.js +0 -208
  355. package/Dialog-CwTEAujZ.cjs +0 -1
  356. package/DragAndDrop-HvycSrKY.cjs +0 -1
  357. package/FieldError-Dv3bBEjh.js +0 -23
  358. package/FocusScope-NaPbvuuS.cjs +0 -1
  359. package/Group-CeSsSQVC.js +0 -44
  360. package/Group-CgiqQHH1.cjs +0 -1
  361. package/Heading-DoJAtYZf.cjs +0 -1
  362. package/InfoBanner-BS-dAfzO.cjs +0 -1
  363. package/Input-D8Ku_FQz.js +0 -41
  364. package/Input-DKSAYvsw.cjs +0 -1
  365. package/Label-C9ivwkAd.js +0 -21
  366. package/Label-CUV21CAv.cjs +0 -1
  367. package/Label-DkDOsmUF.js +0 -16
  368. package/Label-IMWAyoKb.cjs +0 -1
  369. package/Layout-BWeHHnqU.cjs +0 -16
  370. package/Layout-CCt_2L1k.js +0 -468
  371. package/Link-SHMbeyIP.cjs +0 -1
  372. package/LinkButton-CuBilDML.js +0 -69
  373. package/LinkButton-CymMrcGL.cjs +0 -6
  374. package/ListBox-CDOsQChA.cjs +0 -1
  375. package/ListBoxSection-DGCP6xpf.cjs +0 -1
  376. package/ListKeyboardDelegate-BqMETvPv.cjs +0 -1
  377. package/LiveAnnouncer-B6177m92.js +0 -51
  378. package/LiveAnnouncer-CwEWPU8b.cjs +0 -1
  379. package/Logo-DT2_2O43.cjs +0 -1
  380. package/NumberFormatter-DewVDY5w.cjs +0 -1
  381. package/NumberFormatter-DgOUVrge.js +0 -119
  382. package/OverlayArrow-D75k-EMl.cjs +0 -1
  383. package/PressResponder-C06O3Z5P.cjs +0 -1
  384. package/PressResponder-CVEg5kND.js +0 -33
  385. package/ProgressBar-Bkw9zavs.cjs +0 -1
  386. package/ProgressBar-CEX2WNoW.js +0 -77
  387. package/ProgressBar-Dqh3ftSP.cjs +0 -1
  388. package/Radio-CDKrvQe4.cjs +0 -1
  389. package/RangeCalendar-cbCKBPZv.cjs +0 -11
  390. package/SearchField-6yBGiojX.cjs +0 -6
  391. package/Select-CpHjd1tp.cjs +0 -1
  392. package/Select-PvCqY7Lp.js +0 -646
  393. package/SelectionManager-C5NGBzvz.cjs +0 -1
  394. package/Separator-nPra6kD-.cjs +0 -1
  395. package/Spinner-D31SXm-U.js +0 -41
  396. package/Spinner-DAJtfxqJ.cjs +0 -6
  397. package/Table-D9vNc_y-.cjs +0 -16
  398. package/Tabs-Ct6D83aR.js +0 -404
  399. package/Tabs-Dtcl2oK2.cjs +0 -1
  400. package/Tag-CVFkzg3s.cjs +0 -1
  401. package/TextArea-DSiQ578a.js +0 -206
  402. package/TextArea-cVyGBRbL.cjs +0 -1
  403. package/TextField-B70CL2qz.cjs +0 -1
  404. package/Toast-DrkOGy4d.cjs +0 -1
  405. package/ToggleButtonGroup-BuU_6dYe.cjs +0 -1
  406. package/Tooltip-CiWg4zIC.cjs +0 -1
  407. package/VisuallyHidden-CtXvK_Tw.cjs +0 -1
  408. package/assets/Tabs.css +0 -1
  409. package/context-DjwhtgxQ.cjs +0 -1
  410. package/focusSafely-Bqfo_DH7.cjs +0 -1
  411. package/focusSafely-C48ucRUz.js +0 -56
  412. package/inertValue-BWmZ1afe.cjs +0 -1
  413. package/scrollIntoView-ClEACHUk.js +0 -57
  414. package/scrollIntoView-DRSoJp89.cjs +0 -1
  415. package/useButton-B1Fa-6qE.cjs +0 -1
  416. package/useCollator-C_ozeWLo.cjs +0 -1
  417. package/useCollator-CgZcHC8N.js +0 -11
  418. package/useDescription-CVKhFa3c.js +0 -32
  419. package/useDescription-DmQYSEES.cjs +0 -1
  420. package/useEvent-CjkbBniY.cjs +0 -1
  421. package/useField-B1RU0GKs.cjs +0 -1
  422. package/useFilter-CtIwF2qW.cjs +0 -1
  423. package/useFocusRing-BDGH3lpn.js +0 -82
  424. package/useFocusRing-CbImDrwF.cjs +0 -1
  425. package/useFocusable-CaedRTpB.js +0 -74
  426. package/useFocusable-CuPQ7Cm5.cjs +0 -1
  427. package/useFormValidation-ClximP89.cjs +0 -1
  428. package/useHasTabbableChild-DgphNvnk.cjs +0 -1
  429. package/useHighlightSelectionDescription-BizKjvPU.cjs +0 -1
  430. package/useHover-_mv5J4_q.cjs +0 -1
  431. package/useHover-qRAon4nS.js +0 -490
  432. package/useLabel-DDdAJ1JO.js +0 -23
  433. package/useLabel-m_S5xkHy.cjs +0 -1
  434. package/useLabels-BLOfc6Y-.cjs +0 -1
  435. package/useLocalizedStringFormatter-u9SJaOwk.cjs +0 -1
  436. package/useObserveElement-BzEr5D32.cjs +0 -1
  437. package/usePress-BFa6cT9o.cjs +0 -7
  438. package/useTextField-CtUDWsUl.cjs +0 -1
  439. package/utils-BNtZbAib.cjs +0 -1
  440. package/utils-HNTsIwux.js +0 -308
@@ -0,0 +1 @@
1
+ "use strict";require('./assets/Logo.css');const c=require("react/jsx-runtime"),h=require("./clsx-C11secjj.cjs"),v=require("./useLocalizedStringFormatter-BO2iZEL0.cjs"),i="_container_1sx1z_4",x="_noPadding_1sx1z_9",g="_logo_1sx1z_13",m="_primary_1sx1z_18",p="_dark_1sx1z_22",M="_xSmall_1sx1z_26",Z="_small_1sx1z_30",u="_large_1sx1z_34",l={container:i,noPadding:x,logo:g,primary:m,dark:p,xSmall:M,small:Z,large:u},j={logotype:"Logotype of the Swedish Migration Agency"},_={logotype:"Migrationsverkets logotyp"},f={en:j,sv:_},y=({primary:o=!0,size:s="medium",padding:t=!0,className:n,...d})=>{const e=h.clsx(l.logo,o?l.primary:l.dark,s==="x-small"&&l.xSmall,s==="medium"&&l.medium,s==="large"&&l.large,s==="small"&&l.small),a=v.useLocalizedStringFormatter(f),r=()=>s==="x-small"?c.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 92",className:e,role:"img","aria-hidden":"false",focusable:"false","aria-label":a.format("logotype"),children:c.jsx("path",{d:"M99.99,91.69c-1.84-1.11-4.05-4.55-4.05-9.46V9.15c0-4.79,1.96-7.25,3.81-8.85h-14.75l-33.91,65.47L12.41.3H0c1.6,1.59,3.93,3.07,3.93,8.23v75.55c0,3.56-2.21,6.51-3.81,7.61h16.34c-1.72-1.22-3.93-4.18-3.93-7.98V25.97l36.24,61.42,33.04-63.26v58.96c0,5.53-2.21,7.61-3.81,8.6h21.99Z"})}):c.jsxs("svg",{role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 40",className:e,"aria-hidden":"false",focusable:"false","aria-label":a.format("logotype"),children:[c.jsx("path",{d:"M97.78,21.61c-7.48-9.73-20.06-16.03-34.32-16.03-13.07,0-24.86,5.27-32.46,13.65,6.56-5.83,15.64-9.44,25.66-9.44,11.37,0,21.52,4.56,28.18,11.83h12.94Z"}),c.jsx("path",{d:"M90.45,12.58C70.67-1.51,41.26,2.77,27.49,21.61h-12.23C30.56-2.89,68.29-7.47,90.45,12.58h0Z"}),c.jsx("path",{d:"M11.89,37.13c-.22-.13-.48-.53-.48-1.11v-8.58c0-.56.23-.85.45-1.04h-1.73l-3.98,7.69-4.54-7.69H.15c.19.19.46.36.46.97v8.87c0,.42-.26.76-.45.89h1.92c-.2-.14-.46-.49-.46-.94v-6.78l4.25,7.21,3.88-7.43v6.92c0,.65-.26.89-.45,1.01h2.58Z"}),c.jsx("path",{d:"M15.81,26.86c0-.45-.36-.81-.81-.81s-.81.36-.81.81.36.81.81.81.81-.36.81-.81h0ZM16.22,37.13c-.3-.23-.45-.5-.45-1.07v-6.4h-1.98c.37.19.49.58.49,1.17v5.23c0,.48-.09.79-.46,1.07h2.39Z",fillRule:"evenodd"}),c.jsx("path",{d:"M24.52,30.97c-.04-.33-.17-.68-.37-.95h-1.36c-.29-.26-.87-.58-1.96-.58-1.53,0-2.8.92-2.8,2.58,0,1.02.52,1.86,1.31,2.26-.43.37-1.38.98-1.38,1.61,0,.71.79.99,1.38,1.1-.88.26-1.67.82-1.67,1.59,0,1.14,1.73,1.41,2.64,1.41,1.54,0,3.91-.78,3.91-2.64,0-1.21-1.23-1.49-2.22-1.5-2.42-.06-2.51-.2-2.51-.56,0-.2.42-.68.55-.81.23.03.48.06.71.06,1.76,0,2.93-.94,2.93-2.7,0-.48-.14-.91-.29-1.11.12-.04.25-.04.37-.04.27,0,.55.12.76.27h0ZM22.27,32.21c0,.79-.37,1.61-1.36,1.61-1.07,0-1.47-1.21-1.47-2.09,0-.95.5-1.57,1.31-1.57,1.2,0,1.51,1.25,1.51,2.05h0ZM22.89,37.92c0,.76-.82,1.31-1.93,1.31-.59,0-1.7-.3-1.69-1.15,0-.45.26-.74.59-.99l1.96.04c.5.01,1.07.1,1.07.79h0Z",fillRule:"evenodd"}),c.jsx("path",{d:"M30.11,31.22l-.23-1.63c-.2-.1-.43-.14-.65-.14-.85,0-1.46.68-1.79,1.37v-1.15h-1.96c.45.27.48.76.48,1.14v5.19c0,.58-.1.89-.45,1.14h2.35c-.36-.29-.42-.63-.42-1.12v-4.27c.22-.58.78-1.04,1.43-1.04.46,0,.97.26,1.24.52h0Z"}),c.jsx("path",{d:"M36.87,37.13c-.37-.33-.43-.59-.43-1.25v-3.89c0-2.21-1.43-2.55-2.8-2.55-.61,0-1.67.22-2.03.42-.2.4-.3,1.24-.4,1.67.46-.56,1.27-1.37,2.39-1.37,1.18,0,1.36.82,1.36,1.7v.39l-2.21.76c-1.04.36-1.87,1.08-1.87,2.26,0,1.31.88,2.08,2.15,2.08.87,0,1.46-.43,1.93-.94v.72h1.92ZM34.95,35.62c-.26.32-.74.85-1.37.85-.75,0-1.18-.79-1.18-1.54,0-.71.35-1.15.89-1.37l1.66-.63v2.7h0Z",fillRule:"evenodd"}),c.jsx("path",{d:"M42.58,36.15c-.29.27-.71.46-1.11.46-.87,0-1.07-.98-1.07-1.66v-4.51h.85c.43,0,.94.13,1.33.35l-.17-1.12h-2v-1.76c-.68.95-1.54,1.96-2.58,2.54h1.1v4.43c0,1.43.32,2.47,1.95,2.47.48,0,.98-.1,1.38-.36.14-.25.25-.55.33-.82h0Z"}),c.jsx("path",{d:"M45.63,26.86c0-.45-.36-.81-.81-.81s-.81.36-.81.81.36.81.81.81.81-.36.81-.81h0ZM46.04,37.13c-.3-.23-.45-.5-.45-1.07v-6.4h-1.98c.37.19.49.58.49,1.17v5.23c0,.48-.09.79-.46,1.07h2.39Z",fillRule:"evenodd"}),c.jsx("path",{d:"M54.96,33.37c0-2.06-1.3-3.95-3.5-3.95s-3.84,1.76-3.84,4.01c0,2.06,1.28,3.95,3.49,3.95s3.85-1.76,3.85-4.01h0ZM53.43,34.04c0,1.27-.52,2.57-1.86,2.57-1.79,0-2.42-2.44-2.42-3.86,0-1.21.48-2.57,1.87-2.57,1.79,0,2.41,2.44,2.41,3.86h0Z",fillRule:"evenodd"}),c.jsx("path",{d:"M63.37,37.13c-.27-.22-.45-.42-.45-1.11v-3.94c0-1.63-.39-2.64-2.18-2.64-1.01,0-1.79.56-2.38,1.12v-.91h-1.98c.3.17.49.46.49,1.05v5.33c0,.59-.14.88-.48,1.08h2.39c-.23-.23-.43-.37-.43-1.17v-4.4c.32-.45,1.07-1.24,1.85-1.24,1.01,0,1.23,1.01,1.23,1.8v3.95c0,.74-.26.87-.46,1.05h2.39Z"}),c.jsx("path",{d:"M69.79,35.2c0-2.21-3.42-2.71-3.42-4.07,0-.75.71-.98,1.34-.98s1.33.29,1.74.81l-.07-1.18c-.46-.17-1.11-.35-1.69-.35-1.44,0-2.68.63-2.68,1.89,0,2.36,3.46,2.68,3.46,4.25,0,.79-.62,1.05-1.31,1.05-1.01,0-1.86-.46-2.52-1.21v.1c0,.4-.03.99.3,1.27.53.43,1.53.56,2.18.56,1.36,0,2.67-.62,2.67-2.15h0Z",fillRule:"evenodd"}),c.jsx("path",{d:"M77.98,29.66h-1.43c.13.1.11.56-.19,1.33l-1.86,4.72-1.87-4.7c-.26-.65-.32-1.15-.16-1.34h-2.06c.19.1.49.85.82,1.67l2.31,5.8h1.31l2.35-5.97c.32-.81.56-1.36.78-1.5h0Z"}),c.jsx("path",{d:"M84.91,33.54v-.23c0-1.92-.62-3.88-2.88-3.88s-3.56,2.02-3.56,4.11,1.41,3.81,3.58,3.81c.78,0,1.62-.17,2.13-.45.32-.35.49-.79.59-1.27-.69.5-1.41.84-2.31.84-1.49,0-2.35-1.57-2.38-2.88l4.83-.04h0ZM83.34,32.88c-1.1.09-2.16.1-3.27.1.01-.78.29-2.83,1.7-2.83,1.33,0,1.57,1.72,1.57,2.73h0Z",fillRule:"evenodd"}),c.jsx("path",{d:"M90.95,31.22l-.23-1.63c-.2-.1-.43-.14-.65-.14-.85,0-1.46.68-1.79,1.37v-1.15h-1.96c.45.27.48.76.48,1.14v5.19c0,.58-.1.89-.45,1.14h2.35c-.36-.29-.42-.63-.42-1.12v-4.27c.22-.58.78-1.04,1.43-1.04.46,0,.97.26,1.24.52h0Z"}),c.jsx("path",{d:"M99.79,37.16c-2.26-.37-2.49-4.04-4.7-4.04l2.62-2.8c.22-.23.5-.48.75-.66h-1.77c.14.14.13.39-.13.66l-2.65,2.83v-7.07h-1.98c.33.2.49.56.49,1.01v9.01c0,.58-.22.81-.46,1.02h2.35c-.26-.25-.4-.49-.4-1.02v-2.57c.27,0,.62.13.82.26,1.28.82,1.95,3.11,2.67,3.45.14.07.94.1,1.14.1.45,0,.84-.03,1.25-.19h0Z"}),c.jsx("path",{d:"M106.3,33.54v-.23c0-1.92-.62-3.88-2.88-3.88s-3.56,2.02-3.56,4.11,1.41,3.81,3.58,3.81c.78,0,1.62-.17,2.13-.45.32-.35.49-.79.59-1.27-.69.5-1.41.84-2.31.84-1.49,0-2.35-1.57-2.38-2.88l4.83-.04h0ZM104.73,32.88c-1.1.09-2.16.1-3.27.1.01-.78.29-2.83,1.7-2.83,1.33,0,1.57,1.72,1.57,2.73h0Z",fillRule:"evenodd"}),c.jsx("path",{d:"M111.85,36.15c-.29.27-.71.46-1.11.46-.86,0-1.07-.98-1.07-1.66v-4.51h.85c.43,0,.94.13,1.33.35l-.17-1.12h-2v-1.76c-.68.95-1.54,1.96-2.58,2.54h1.1v4.43c0,1.43.32,2.47,1.95,2.47.48,0,.98-.1,1.38-.36.14-.25.25-.55.33-.82h0Z"})]});return c.jsx("div",{className:h.clsx(l.container,t===!1&&l.noPadding,n),...d,children:c.jsx(r,{})})};exports.Logo=y;
@@ -1,29 +1,37 @@
1
- import { jsx as c, jsxs as r } from "react/jsx-runtime";
2
- import { c as e } from "./clsx-OuTLNxxd.js";
3
- import './assets/Logo.css';const n = "_container_1sx1z_4", i = "_noPadding_1sx1z_9", m = "_logo_1sx1z_13", p = "_primary_1sx1z_18", M = "_dark_1sx1z_22", Z = "_xSmall_1sx1z_26", g = "_small_1sx1z_30", _ = "_large_1sx1z_34", l = {
4
- container: n,
5
- noPadding: i,
6
- logo: m,
7
- primary: p,
8
- dark: M,
9
- xSmall: Z,
10
- small: g,
11
- large: _
12
- }, u = ({
1
+ import { jsx as c, jsxs as v } from "react/jsx-runtime";
2
+ import { c as o } from "./clsx-OuTLNxxd.js";
3
+ import { u as i } from "./useLocalizedStringFormatter-N0AyjzbM.js";
4
+ import './assets/Logo.css';const m = "_container_1sx1z_4", p = "_noPadding_1sx1z_9", g = "_logo_1sx1z_13", M = "_primary_1sx1z_18", Z = "_dark_1sx1z_22", _ = "_xSmall_1sx1z_26", f = "_small_1sx1z_30", x = "_large_1sx1z_34", l = {
5
+ container: m,
6
+ noPadding: p,
7
+ logo: g,
8
+ primary: M,
9
+ dark: Z,
10
+ xSmall: _,
11
+ small: f,
12
+ large: x
13
+ }, u = {
14
+ logotype: "Logotype of the Swedish Migration Agency"
15
+ }, y = {
16
+ logotype: "Migrationsverkets logotyp"
17
+ }, w = {
18
+ en: u,
19
+ sv: y
20
+ }, z = ({
13
21
  primary: s = !0,
14
22
  size: a = "medium",
15
- padding: d = !0,
16
- className: o,
17
- ...t
23
+ padding: t = !0,
24
+ className: d,
25
+ ...n
18
26
  }) => {
19
- const h = e(
27
+ const h = o(
20
28
  l.logo,
21
29
  s ? l.primary : l.dark,
22
30
  a === "x-small" && l.xSmall,
23
31
  a === "medium" && l.medium,
24
32
  a === "large" && l.large,
25
33
  a === "small" && l.small
26
- ), v = () => a === "x-small" ? /* @__PURE__ */ c(
34
+ ), e = i(w), r = () => a === "x-small" ? /* @__PURE__ */ c(
27
35
  "svg",
28
36
  {
29
37
  xmlns: "http://www.w3.org/2000/svg",
@@ -32,10 +40,10 @@ import './assets/Logo.css';const n = "_container_1sx1z_4", i = "_noPadding_1sx1z
32
40
  role: "img",
33
41
  "aria-hidden": "false",
34
42
  focusable: "false",
35
- "aria-label": "Migrationsverkets logotyp",
43
+ "aria-label": e.format("logotype"),
36
44
  children: /* @__PURE__ */ c("path", { d: "M99.99,91.69c-1.84-1.11-4.05-4.55-4.05-9.46V9.15c0-4.79,1.96-7.25,3.81-8.85h-14.75l-33.91,65.47L12.41.3H0c1.6,1.59,3.93,3.07,3.93,8.23v75.55c0,3.56-2.21,6.51-3.81,7.61h16.34c-1.72-1.22-3.93-4.18-3.93-7.98V25.97l36.24,61.42,33.04-63.26v58.96c0,5.53-2.21,7.61-3.81,8.6h21.99Z" })
37
45
  }
38
- ) : /* @__PURE__ */ r(
46
+ ) : /* @__PURE__ */ v(
39
47
  "svg",
40
48
  {
41
49
  role: "img",
@@ -44,7 +52,7 @@ import './assets/Logo.css';const n = "_container_1sx1z_4", i = "_noPadding_1sx1z
44
52
  className: h,
45
53
  "aria-hidden": "false",
46
54
  focusable: "false",
47
- "aria-label": "Migrationsverkets logotyp",
55
+ "aria-label": e.format("logotype"),
48
56
  children: [
49
57
  /* @__PURE__ */ c("path", { d: "M97.78,21.61c-7.48-9.73-20.06-16.03-34.32-16.03-13.07,0-24.86,5.27-32.46,13.65,6.56-5.83,15.64-9.44,25.66-9.44,11.37,0,21.52,4.56,28.18,11.83h12.94Z" }),
50
58
  /* @__PURE__ */ c("path", { d: "M90.45,12.58C70.67-1.51,41.26,2.77,27.49,21.61h-12.23C30.56-2.89,68.29-7.47,90.45,12.58h0Z" }),
@@ -118,16 +126,16 @@ import './assets/Logo.css';const n = "_container_1sx1z_4", i = "_noPadding_1sx1z
118
126
  return /* @__PURE__ */ c(
119
127
  "div",
120
128
  {
121
- className: e(
129
+ className: o(
122
130
  l.container,
123
- d === !1 && l.noPadding,
124
- o
131
+ t === !1 && l.noPadding,
132
+ d
125
133
  ),
126
- ...t,
127
- children: /* @__PURE__ */ c(v, {})
134
+ ...n,
135
+ children: /* @__PURE__ */ c(r, {})
128
136
  }
129
137
  );
130
138
  };
131
139
  export {
132
- u as L
140
+ z as L
133
141
  };
@@ -1,10 +1,11 @@
1
- import { $ as Y, a as ue, b as pe } from "./utils-HNTsIwux.js";
2
- import { flushSync as me } from "react-dom";
3
- import ve, { useEffect as K, useState as Q, useCallback as F, useRef as W, useContext as $e, createContext as re, forwardRef as ge } from "react";
4
- import { v as he } from "./useHover-qRAon4nS.js";
1
+ import { $ as Y } from "./mergeProps-C1U1OIeJ.js";
2
+ import { flushSync as ue } from "react-dom";
3
+ import pe, { useEffect as K, useState as Q, useCallback as F, useRef as W, useContext as me, createContext as re, forwardRef as ve } from "react";
4
+ import { i as $e } from "./useHover-DQvJ3Y-W.js";
5
5
  import { $ as q } from "./number-BE8InLgI.js";
6
- import { $ as be } from "./context-B8cn10po.js";
7
- import { $ as xe } from "./useControlledState-u436Wbp1.js";
6
+ import { $ as ge } from "./context-CGNJ3grH.js";
7
+ import { $ as he } from "./useControlledState-u436Wbp1.js";
8
+ import { $ as be, a as xe } from "./utils-DJhAJHk_.js";
8
9
  import { $ as we } from "./filterDOMProps-D6KHYVBX.js";
9
10
  function Ee() {
10
11
  return typeof window.ResizeObserver < "u";
@@ -33,7 +34,7 @@ function D(t) {
33
34
  l
34
35
  ]);
35
36
  }
36
- function Ue(t, e = !0) {
37
+ function Ge(t, e = !0) {
37
38
  let [l, n] = Q(!0), o = l && e;
38
39
  return Y(() => {
39
40
  if (o && t.current && "getAnimations" in t.current)
@@ -43,7 +44,7 @@ function Ue(t, e = !0) {
43
44
  o
44
45
  ]), ie(t, o, F(() => n(!1), [])), o;
45
46
  }
46
- function Ge(t, e) {
47
+ function qe(t, e) {
47
48
  let [l, n] = Q(e ? "open" : "closed");
48
49
  switch (l) {
49
50
  case "open":
@@ -73,7 +74,7 @@ function ie(t, e, l) {
73
74
  }
74
75
  let o = !1;
75
76
  return Promise.all(n.map((r) => r.finished)).then(() => {
76
- o || me(() => {
77
+ o || ue(() => {
77
78
  l();
78
79
  });
79
80
  }).catch(() => {
@@ -121,7 +122,7 @@ function V(t) {
121
122
  l = ($ = P == null ? void 0 : P.height) !== null && $ !== void 0 ? $ : o, i.top = d.scrollTop || t.scrollTop, i.left = d.scrollLeft || t.scrollLeft, P && (r = P.offsetTop, c = P.offsetLeft);
122
123
  } else
123
124
  ({ width: e, height: l, top: r, left: c } = B(t)), i.top = t.scrollTop, i.left = t.scrollLeft, n = e, o = l;
124
- if (he() && (t.tagName === "BODY" || t.tagName === "HTML") && f) {
125
+ if ($e() && (t.tagName === "BODY" || t.tagName === "HTML") && f) {
125
126
  i.top = 0, i.left = 0;
126
127
  var p;
127
128
  r = (p = P == null ? void 0 : P.pageTop) !== null && p !== void 0 ? p : 0;
@@ -302,8 +303,8 @@ function He(t) {
302
303
  ]);
303
304
  }
304
305
  let x = typeof document < "u" ? window.visualViewport : null;
305
- function qe(t) {
306
- let { direction: e } = be(), { arrowSize: l = 0, targetRef: n, overlayRef: o, scrollRef: r = o, placement: c = "bottom", containerPadding: i = 12, shouldFlip: g = !0, boundaryElement: f = typeof document < "u" ? document.body : null, offset: u = 0, crossOffset: $ = 0, shouldUpdatePosition: p = !0, isOpen: a = !0, onClose: d, maxHeight: h, arrowBoundaryOffset: s = 0 } = t, [m, v] = Q(null), E = [
306
+ function Je(t) {
307
+ let { direction: e } = ge(), { arrowSize: l = 0, targetRef: n, overlayRef: o, scrollRef: r = o, placement: c = "bottom", containerPadding: i = 12, shouldFlip: g = !0, boundaryElement: f = typeof document < "u" ? document.body : null, offset: u = 0, crossOffset: $ = 0, shouldUpdatePosition: p = !0, isOpen: a = !0, onClose: d, maxHeight: h, arrowBoundaryOffset: s = 0 } = t, [m, v] = Q(null), E = [
307
308
  p,
308
309
  c,
309
310
  o.current,
@@ -436,12 +437,12 @@ function Ae(t, e) {
436
437
  return e === "rtl" ? t.replace("start", "right").replace("end", "left") : t.replace("start", "left").replace("end", "right");
437
438
  }
438
439
  const Ie = /* @__PURE__ */ re({});
439
- function Je() {
440
+ function Ke() {
440
441
  var t;
441
- return (t = $e(Ie)) !== null && t !== void 0 ? t : {};
442
+ return (t = me(Ie)) !== null && t !== void 0 ? t : {};
442
443
  }
443
- function Ke(t) {
444
- let [e, l] = xe(t.isOpen, t.defaultOpen || !1, t.onOpenChange);
444
+ function Qe(t) {
445
+ let [e, l] = he(t.isOpen, t.defaultOpen || !1, t.onOpenChange);
445
446
  const n = F(() => {
446
447
  l(!0);
447
448
  }, [
@@ -466,14 +467,14 @@ function Ke(t) {
466
467
  }
467
468
  const Me = /* @__PURE__ */ re({
468
469
  placement: "bottom"
469
- }), Qe = /* @__PURE__ */ ge(function(e, l) {
470
- [e, l] = ue(e, l, Me);
470
+ }), We = /* @__PURE__ */ ve(function(e, l) {
471
+ [e, l] = be(e, l, Me);
471
472
  let n = e.placement, o = {
472
473
  position: "absolute",
473
474
  transform: n === "top" || n === "bottom" ? "translateX(-50%)" : "translateY(-50%)"
474
475
  };
475
476
  n != null && (o[n] = "100%");
476
- let r = pe({
477
+ let r = xe({
477
478
  ...e,
478
479
  defaultClassName: "react-aria-OverlayArrow",
479
480
  values: {
@@ -482,7 +483,7 @@ const Me = /* @__PURE__ */ re({
482
483
  });
483
484
  r.style && Object.keys(r.style).forEach((i) => r.style[i] === void 0 && delete r.style[i]);
484
485
  let c = we(e);
485
- return /* @__PURE__ */ ve.createElement("div", {
486
+ return /* @__PURE__ */ pe.createElement("div", {
486
487
  ...c,
487
488
  ...r,
488
489
  style: {
@@ -494,13 +495,13 @@ const Me = /* @__PURE__ */ re({
494
495
  });
495
496
  });
496
497
  export {
497
- Ke as $,
498
- Ge as a,
499
- Ue as b,
500
- Je as c,
501
- qe as d,
502
- Me as e,
503
- Qe as f,
498
+ We as $,
499
+ Qe as a,
500
+ qe as b,
501
+ Ge as c,
502
+ Ke as d,
503
+ Je as e,
504
+ Me as f,
504
505
  D as g,
505
506
  ze as h
506
507
  };
@@ -0,0 +1 @@
1
+ "use strict";const B=require("./mergeProps-B5KXZAI3.cjs"),fe=require("react-dom"),w=require("react"),ue=require("./useHover-BE_XKZKe.cjs"),G=require("./number-E0x3H9cL.cjs"),pe=require("./context-Df3XbgBG.cjs"),$e=require("./useControlledState-D0L6S_5r.cjs"),Q=require("./utils-DHNZrQmj.cjs"),me=require("./filterDOMProps-BS2lrgFA.cjs");function ve(){return typeof window.ResizeObserver<"u"}function J(t){const{ref:e,box:l,onResize:n}=t;w.useEffect(()=>{let o=e==null?void 0:e.current;if(o)if(ve()){const r=new window.ResizeObserver(c=>{c.length&&n()});return r.observe(o,{box:l}),()=>{o&&r.unobserve(o)}}else return window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)}},[n,e,l])}function ge(t,e=!0){let[l,n]=w.useState(!0),o=l&&e;return B.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{if(o&&t.current&&"getAnimations"in t.current)for(let r of t.current.getAnimations())r instanceof CSSTransition&&r.cancel()},[t,o]),le(t,o,w.useCallback(()=>n(!1),[])),o}function be(t,e){let[l,n]=w.useState(e?"open":"closed");switch(l){case"open":e||n("exiting");break;case"closed":case"exiting":e&&n("open");break}let o=l==="exiting";return le(t,o,w.useCallback(()=>{n(r=>r==="exiting"?"closed":r)},[])),o}function le(t,e,l){B.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{if(e&&t.current){if(!("getAnimations"in t.current)){l();return}let n=t.current.getAnimations();if(n.length===0){l();return}let o=!1;return Promise.all(n.map(r=>r.finished)).then(()=>{o||fe.flushSync(()=>{l()})}).catch(()=>{}),()=>{o=!0}}},[t,e,l])}const M={top:"top",bottom:"top",left:"left",right:"left"},X={top:"bottom",bottom:"top",left:"right",right:"left"},he={top:"left",left:"top"},K={top:"height",left:"width"},ne={width:"totalWidth",height:"totalHeight"},Y={};let P=typeof document<"u"?window.visualViewport:null;function W(t){let e=0,l=0,n=0,o=0,r=0,c=0,i={};var g;let d=((g=P==null?void 0:P.scale)!==null&&g!==void 0?g:1)>1;if(t.tagName==="BODY"){let f=document.documentElement;n=f.clientWidth,o=f.clientHeight;var u;e=(u=P==null?void 0:P.width)!==null&&u!==void 0?u:n;var v;l=(v=P==null?void 0:P.height)!==null&&v!==void 0?v:o,i.top=f.scrollTop||t.scrollTop,i.left=f.scrollLeft||t.scrollLeft,P&&(r=P.offsetTop,c=P.offsetLeft)}else({width:e,height:l,top:r,left:c}=q(t)),i.top=t.scrollTop,i.left=t.scrollLeft,n=e,o=l;if(ue.$c87311424ea30a05$export$78551043582a6a98()&&(t.tagName==="BODY"||t.tagName==="HTML")&&d){i.top=0,i.left=0;var p;r=(p=P==null?void 0:P.pageTop)!==null&&p!==void 0?p:0;var a;c=(a=P==null?void 0:P.pageLeft)!==null&&a!==void 0?a:0}return{width:e,height:l,totalWidth:n,totalHeight:o,scroll:i,top:r,left:c}}function xe(t){return{top:t.scrollTop,left:t.scrollLeft,width:t.scrollWidth,height:t.scrollHeight}}function D(t,e,l,n,o,r,c){var i;let g=(i=o.scroll[t])!==null&&i!==void 0?i:0,d=n[K[t]],u=n.scroll[M[t]]+r,v=d+n.scroll[M[t]]-r,p=e-g+c[t]-n[M[t]],a=e-g+l+c[t]-n[M[t]];return p<u?u-p:a>v?Math.max(v-a,u-p):0}function we(t){let e=window.getComputedStyle(t);return{top:parseInt(e.marginTop,10)||0,bottom:parseInt(e.marginBottom,10)||0,left:parseInt(e.marginLeft,10)||0,right:parseInt(e.marginRight,10)||0}}function V(t){if(Y[t])return Y[t];let[e,l]=t.split(" "),n=M[e]||"right",o=he[n];M[l]||(l="center");let r=K[n],c=K[o];return Y[t]={placement:e,crossPlacement:l,axis:n,crossAxis:o,size:r,crossSize:c},Y[t]}function U(t,e,l,n,o,r,c,i,g,d){let{placement:u,crossPlacement:v,axis:p,crossAxis:a,size:f,crossSize:b}=n,s={};var $;s[a]=($=t[a])!==null&&$!==void 0?$:0;var m,C,T,S;v==="center"?s[a]+=(((m=t[b])!==null&&m!==void 0?m:0)-((C=l[b])!==null&&C!==void 0?C:0))/2:v!==a&&(s[a]+=((T=t[b])!==null&&T!==void 0?T:0)-((S=l[b])!==null&&S!==void 0?S:0)),s[a]+=r;const h=t[a]-l[b]+g+d,y=t[a]+t[b]-g-d;if(s[a]=G.$9446cca9a3875146$export$7d15b64cf5a3a4c4(s[a],h,y),u===p){const A=i?c[f]:e[ne[f]];s[X[p]]=Math.floor(A-t[p]+o)}else s[p]=Math.floor(t[p]+t[f]+o);return s}function Ee(t,e,l,n,o,r,c,i){const g=n?l.height:e[ne.height];var d;let u=t.top!=null?l.top+t.top:l.top+(g-((d=t.bottom)!==null&&d!==void 0?d:0)-c);var v,p,a,f,b,s;let $=i!=="top"?Math.max(0,e.height+e.top+((v=e.scroll.top)!==null&&v!==void 0?v:0)-u-(((p=o.top)!==null&&p!==void 0?p:0)+((a=o.bottom)!==null&&a!==void 0?a:0)+r)):Math.max(0,u+c-(e.top+((f=e.scroll.top)!==null&&f!==void 0?f:0))-(((b=o.top)!==null&&b!==void 0?b:0)+((s=o.bottom)!==null&&s!==void 0?s:0)+r));return Math.min(e.height-r*2,$)}function ee(t,e,l,n,o,r){let{placement:c,axis:i,size:g}=r;var d,u;if(c===i)return Math.max(0,l[i]-t[i]-((d=t.scroll[i])!==null&&d!==void 0?d:0)+e[i]-((u=n[i])!==null&&u!==void 0?u:0)-n[X[i]]-o);var v;return Math.max(0,t[g]+t[i]+t.scroll[i]-e[i]-l[i]-l[g]-((v=n[i])!==null&&v!==void 0?v:0)-n[X[i]]-o)}function Ce(t,e,l,n,o,r,c,i,g,d,u,v,p,a,f,b){let s=V(t),{size:$,crossAxis:m,crossSize:C,placement:T,crossPlacement:S}=s,h=U(e,i,l,s,u,v,d,p,f,b),y=u,A=ee(i,d,e,o,r+u,s);if(c&&n[$]>A){let j=V(`${X[T]} ${S}`),de=U(e,i,l,j,u,v,d,p,f,b);ee(i,d,e,o,r+u,j)>A&&(s=j,h=de,y=u)}let z="bottom";s.axis==="top"?s.placement==="top"?z="top":s.placement==="bottom"&&(z="bottom"):s.crossAxis==="top"&&(s.crossPlacement==="top"?z="bottom":s.crossPlacement==="bottom"&&(z="top"));let E=D(m,h[m],l[C],i,g,r,d);h[m]+=E;let R=Ee(h,i,d,p,o,r,l.height,z);a&&a<R&&(R=a),l.height=Math.min(l.height,R),h=U(e,i,l,s,y,v,d,p,f,b),E=D(m,h[m],l[C],i,g,r,d),h[m]+=E;let H={},O=e[m]+.5*e[C]-h[m]-o[M[m]];const _=f/2+b;var k,N,I,L;const F=M[m]==="left"?((k=o.left)!==null&&k!==void 0?k:0)+((N=o.right)!==null&&N!==void 0?N:0):((I=o.top)!==null&&I!==void 0?I:0)+((L=o.bottom)!==null&&L!==void 0?L:0),Z=l[C]-F-f/2-b,ae=e[m]+f/2-(h[m]+o[M[m]]),ce=e[m]+e[C]-f/2-(h[m]+o[M[m]]),se=G.$9446cca9a3875146$export$7d15b64cf5a3a4c4(O,ae,ce);return H[m]=G.$9446cca9a3875146$export$7d15b64cf5a3a4c4(se,_,Z),{position:h,maxHeight:R,arrowOffsetLeft:H.left,arrowOffsetTop:H.top,placement:s.placement}}function Pe(t){let{placement:e,targetNode:l,overlayNode:n,scrollNode:o,padding:r,shouldFlip:c,boundaryElement:i,offset:g,crossOffset:d,maxHeight:u,arrowSize:v=0,arrowBoundaryOffset:p=0}=t,a=n instanceof HTMLElement?Se(n):document.documentElement,f=a===document.documentElement;const b=window.getComputedStyle(a).position;let s=!!b&&b!=="static",$=f?q(l):te(l,a);if(!f){let{marginTop:H,marginLeft:O}=window.getComputedStyle(l);$.top+=parseInt(H,10)||0,$.left+=parseInt(O,10)||0}let m=q(n),C=we(n);var T,S;m.width+=((T=C.left)!==null&&T!==void 0?T:0)+((S=C.right)!==null&&S!==void 0?S:0);var h,y;m.height+=((h=C.top)!==null&&h!==void 0?h:0)+((y=C.bottom)!==null&&y!==void 0?y:0);let A=xe(o),z=W(i),E=W(a),R=i.tagName==="BODY"?q(a):te(a,i);return a.tagName==="HTML"&&i.tagName==="BODY"&&(E.scroll.top=0,E.scroll.left=0),Ce(e,$,m,A,C,r,c,z,E,R,g,d,s,u,v,p)}function q(t){let{top:e,left:l,width:n,height:o}=t.getBoundingClientRect(),{scrollTop:r,scrollLeft:c,clientTop:i,clientLeft:g}=document.documentElement;return{top:e+r-i,left:l+c-g,width:n,height:o}}function te(t,e){let l=window.getComputedStyle(t),n;if(l.position==="fixed"){let{top:o,left:r,width:c,height:i}=t.getBoundingClientRect();n={top:o,left:r,width:c,height:i}}else{n=q(t);let o=q(e),r=window.getComputedStyle(e);o.top+=(parseInt(r.borderTopWidth,10)||0)-e.scrollTop,o.left+=(parseInt(r.borderLeftWidth,10)||0)-e.scrollLeft,n.top-=o.top,n.left-=o.left}return n.top-=parseInt(l.marginTop,10)||0,n.left-=parseInt(l.marginLeft,10)||0,n}function Se(t){let e=t.offsetParent;if(e&&e===document.body&&window.getComputedStyle(e).position==="static"&&!oe(e)&&(e=document.documentElement),e==null)for(e=t.parentElement;e&&!oe(e);)e=e.parentElement;return e||document.documentElement}function oe(t){let e=window.getComputedStyle(t);return e.transform!=="none"||/transform|perspective/.test(e.willChange)||e.filter!=="none"||e.contain==="paint"||"backdropFilter"in e&&e.backdropFilter!=="none"||"WebkitBackdropFilter"in e&&e.WebkitBackdropFilter!=="none"}const re=new WeakMap;function Le(t){let{triggerRef:e,isOpen:l,onClose:n}=t;w.useEffect(()=>{if(!l||n===null)return;let o=r=>{let c=r.target;if(!e.current||c instanceof Node&&!c.contains(e.current)||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement)return;let i=n||re.get(e.current);i&&i()};return window.addEventListener("scroll",o,!0),()=>{window.removeEventListener("scroll",o,!0)}},[l,n,e])}let x=typeof document<"u"?window.visualViewport:null;function Re(t){let{direction:e}=pe.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),{arrowSize:l=0,targetRef:n,overlayRef:o,scrollRef:r=o,placement:c="bottom",containerPadding:i=12,shouldFlip:g=!0,boundaryElement:d=typeof document<"u"?document.body:null,offset:u=0,crossOffset:v=0,shouldUpdatePosition:p=!0,isOpen:a=!0,onClose:f,maxHeight:b,arrowBoundaryOffset:s=0}=t,[$,m]=w.useState(null),C=[p,c,o.current,n.current,r.current,i,g,d,u,v,a,e,b,s,l],T=w.useRef(x==null?void 0:x.scale);w.useEffect(()=>{a&&(T.current=x==null?void 0:x.scale)},[a]);let S=w.useCallback(()=>{if(p===!1||!a||!o.current||!n.current||!d||(x==null?void 0:x.scale)!==T.current)return;let E=null;if(r.current&&r.current.contains(document.activeElement)){var R;let L=(R=document.activeElement)===null||R===void 0?void 0:R.getBoundingClientRect(),F=r.current.getBoundingClientRect();var H;if(E={type:"top",offset:((H=L==null?void 0:L.top)!==null&&H!==void 0?H:0)-F.top},E.offset>F.height/2){E.type="bottom";var O;E.offset=((O=L==null?void 0:L.bottom)!==null&&O!==void 0?O:0)-F.bottom}}let _=o.current;if(!b&&o.current){var k;_.style.top="0px",_.style.bottom="";var N;_.style.maxHeight=((N=(k=window.visualViewport)===null||k===void 0?void 0:k.height)!==null&&N!==void 0?N:window.innerHeight)+"px"}let I=Pe({placement:He(c,e),overlayNode:o.current,targetNode:n.current,scrollNode:r.current||o.current,padding:i,shouldFlip:g,boundaryElement:d,offset:u,crossOffset:v,maxHeight:b,arrowSize:l,arrowBoundaryOffset:s});if(I.position){if(_.style.top="",_.style.bottom="",_.style.left="",_.style.right="",Object.keys(I.position).forEach(L=>_.style[L]=I.position[L]+"px"),_.style.maxHeight=I.maxHeight!=null?I.maxHeight+"px":"",E&&document.activeElement&&r.current){let L=document.activeElement.getBoundingClientRect(),F=r.current.getBoundingClientRect(),Z=L[E.type]-F[E.type];r.current.scrollTop+=Z-E.offset}m(I)}},C);B.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(S,C),Te(S),J({ref:o,onResize:S}),J({ref:n,onResize:S});let h=w.useRef(!1);B.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let E,R=()=>{h.current=!0,clearTimeout(E),E=setTimeout(()=>{h.current=!1},500),S()},H=()=>{h.current&&R()};return x==null||x.addEventListener("resize",R),x==null||x.addEventListener("scroll",H),()=>{x==null||x.removeEventListener("resize",R),x==null||x.removeEventListener("scroll",H)}},[S]);let y=w.useCallback(()=>{h.current||f==null||f()},[f,h]);Le({triggerRef:n,isOpen:a,onClose:f&&y});var A,z;return{overlayProps:{style:{position:"absolute",zIndex:1e5,...$==null?void 0:$.position,maxHeight:(A=$==null?void 0:$.maxHeight)!==null&&A!==void 0?A:"100vh"}},placement:(z=$==null?void 0:$.placement)!==null&&z!==void 0?z:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:$==null?void 0:$.arrowOffsetLeft,top:$==null?void 0:$.arrowOffsetTop}},updatePosition:S}}function Te(t){B.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>(window.addEventListener("resize",t,!1),()=>{window.removeEventListener("resize",t,!1)}),[t])}function He(t,e){return e==="rtl"?t.replace("start","right").replace("end","left"):t.replace("start","left").replace("end","right")}const ze=w.createContext({});function _e(){var t;return(t=w.useContext(ze))!==null&&t!==void 0?t:{}}function ye(t){let[e,l]=$e.$458b0a5536c1a7cf$export$40bfa8c7b0832715(t.isOpen,t.defaultOpen||!1,t.onOpenChange);const n=w.useCallback(()=>{l(!0)},[l]),o=w.useCallback(()=>{l(!1)},[l]),r=w.useCallback(()=>{l(!e)},[l,e]);return{isOpen:e,setOpen:l,open:n,close:o,toggle:r}}const ie=w.createContext({placement:"bottom"}),Ae=w.forwardRef(function(e,l){[e,l]=Q.$64fa3d84918910a7$export$29f1550f4b0d4415(e,l,ie);let n=e.placement,o={position:"absolute",transform:n==="top"||n==="bottom"?"translateX(-50%)":"translateY(-50%)"};n!=null&&(o[n]="100%");let r=Q.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-OverlayArrow",values:{placement:n}});r.style&&Object.keys(r.style).forEach(i=>r.style[i]===void 0&&delete r.style[i]);let c=me.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e);return w.createElement("div",{...c,...r,style:{...o,...r.style},ref:l,"data-placement":n})});exports.$2a41e45df1593e64$export$d39e1813b3bdd0e1=Re;exports.$44f671af83e7d9e0$export$2de4954e8ae13b9f=ie;exports.$44f671af83e7d9e0$export$746d02f47f4d381=Ae;exports.$96b38030c423d352$export$9fc1347d4195ccb3=_e;exports.$9daab02d461809db$export$683480f191c0e3ea=J;exports.$d3f049242431219c$export$45fda7c47f93fd48=be;exports.$d3f049242431219c$export$6d3443f2c48bfc20=ge;exports.$dd149f63282afbbf$export$f6211563215e3b37=re;exports.$fc909762b330b746$export$61c6a8c84e605fb6=ye;
@@ -0,0 +1,38 @@
1
+ import { jsxs as t, jsx as o } from "react/jsx-runtime";
2
+ import { c as f } from "./clsx-OuTLNxxd.js";
3
+ import { $ as c } from "./OverlayArrow-CfhSYL46.js";
4
+ import { a as i } from "./Dialog-CtVrVuMr.js";
5
+ import './assets/Popover.css';const m = "_popover_8b5s3_4", d = "_arrow_8b5s3_18", r = {
6
+ popover: m,
7
+ arrow: d
8
+ };
9
+ function v({
10
+ children: e,
11
+ className: s,
12
+ offset: p = 4,
13
+ ...a
14
+ }) {
15
+ return /* @__PURE__ */ t(
16
+ i,
17
+ {
18
+ ...a,
19
+ offset: p,
20
+ className: f(r.popover, s),
21
+ children: [
22
+ /* @__PURE__ */ o(c, { className: r.arrow, children: /* @__PURE__ */ o(
23
+ "svg",
24
+ {
25
+ width: 8,
26
+ height: 8,
27
+ viewBox: "0 0 8 8",
28
+ children: /* @__PURE__ */ o("path", { d: "M0 0 L4 4 L8 0" })
29
+ }
30
+ ) }),
31
+ e
32
+ ]
33
+ }
34
+ );
35
+ }
36
+ export {
37
+ v as P
38
+ };
@@ -0,0 +1 @@
1
+ "use strict";require('./assets/Popover.css');const r=require("react/jsx-runtime"),i=require("./clsx-C11secjj.cjs"),n=require("./OverlayArrow-DpZ1FqOd.cjs"),a=require("./Dialog-CSnN6baf.cjs"),p="_popover_8b5s3_4",l="_arrow_8b5s3_18",e={popover:p,arrow:l};function x({children:o,className:s,offset:t=4,...c}){return r.jsxs(a.$07b14b47974efb58$export$5b6b19405a83ff9d,{...c,offset:t,className:i.clsx(e.popover,s),children:[r.jsx(n.$44f671af83e7d9e0$export$746d02f47f4d381,{className:e.arrow,children:r.jsx("svg",{width:8,height:8,viewBox:"0 0 8 8",children:r.jsx("path",{d:"M0 0 L4 4 L8 0"})})}),o]})}exports.Popover=x;
@@ -1,6 +1,6 @@
1
1
  import { jsx as a, jsxs as d, Fragment as f } from "react/jsx-runtime";
2
- import { a as u } from "./ProgressBar-CEX2WNoW.js";
3
- import { L as m } from "./Label-C9ivwkAd.js";
2
+ import { b as u } from "./Button-CFYdzG0H.js";
3
+ import { L as m } from "./Label-TVxwGZ-O.js";
4
4
  import { c } from "./clsx-OuTLNxxd.js";
5
5
  import './assets/ProgressBar.css';const o = "_progressBar_1ekuq_4", N = "_label_1ekuq_12", v = "_value_1ekuq_17", h = "_bar_1ekuq_22", x = "_fill_1ekuq_28", s = {
6
6
  progressBar: o,
@@ -0,0 +1 @@
1
+ "use strict";require('./assets/ProgressBar.css');const s=require("react/jsx-runtime"),x=require("./Button-DExMoP5f.cjs"),n=require("./Label-CNmTN1YY.cjs"),c=require("./clsx-C11secjj.cjs"),m="_progressBar_1ekuq_4",d="_label_1ekuq_12",q="_value_1ekuq_17",N="_bar_1ekuq_22",f="_fill_1ekuq_28",a={progressBar:m,label:d,value:q,bar:N,fill:f},j=({label:r,labelProps:e,showValueLabel:l=!1,...t})=>s.jsx(x.$0393f8ab869a0f1a$export$c17561cb55d4db30,{...t,className:c.clsx(a.progressBar,t.className),children:({percentage:i,valueText:u,isIndeterminate:_})=>s.jsxs(s.Fragment,{children:[r&&s.jsx(n.Label,{elementType:"span",...e,className:c.clsx(e==null?void 0:e.className,a.label),children:r}),l&&s.jsx(n.Label,{elementType:"span",...e,id:"",className:c.clsx(e==null?void 0:e.className,a.value),children:u}),s.jsx("div",{className:a.bar,children:s.jsx("div",{className:a.fill,style:{width:`${_?50:i}%`}})})]})});exports.ProgressBar=j;
@@ -0,0 +1 @@
1
+ "use strict";require('./assets/Radio.css');const y=require("react/jsx-runtime"),L=require("./Group-DOpbdoAi.cjs"),v=require("./utils-DHNZrQmj.cjs"),N=require("./FieldError-MVsU-Mgw.cjs"),j=require("./Form-BuOomA4T.cjs"),k=require("./Button-DExMoP5f.cjs"),T=require("./Text-CfcjRtke.cjs"),V=require("./mergeProps-B5KXZAI3.cjs"),B=require("./filterDOMProps-BS2lrgFA.cjs"),o=require("react"),w=require("./useFormValidation-BlFGdPZB.cjs"),E=require("./usePress-BooY_CAy.cjs"),W=require("./useFocusable-D7I1ujkW.cjs"),A=require("./FocusScope-vcXLOQiu.cjs"),H=require("./useFocusWithin-CG8mAt2D.cjs"),K=require("./useField-D1UkzeaI.cjs"),U=require("./context-Df3XbgBG.cjs"),z=require("./useFocusRing-B-A1OLhU.cjs"),J=require("./useHover-BE_XKZKe.cjs"),Q=require("./VisuallyHidden-Doyzl0F7.cjs"),X=require("./useControlledState-D0L6S_5r.cjs"),S=require("./clsx-C11secjj.cjs"),M=require("./Label-CNmTN1YY.cjs"),Y=require("./Text-DBHWi5gA.cjs"),C=require("./FieldError-bRTpchvr.cjs"),O=new WeakMap;function Z(a,e,d){let{value:l,children:s,"aria-label":r,"aria-labelledby":t}=a;const i=a.isDisabled||e.isDisabled;let b=s!=null,f=r!=null||t!=null;!b&&!f&&process.env.NODE_ENV!=="production"&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let n=e.selectedValue===l,P=D=>{D.stopPropagation(),e.setSelectedValue(l)},{pressProps:h,isPressed:R}=E.$f6c31cce2adf654f$export$45712eceda6fad21({isDisabled:i}),{pressProps:m,isPressed:p}=E.$f6c31cce2adf654f$export$45712eceda6fad21({isDisabled:i,onPress(){var D;e.setSelectedValue(l),(D=d.current)===null||D===void 0||D.focus()}}),{focusableProps:I}=W.$f645667febf57a63$export$4c014de7c8940b4c(V.$3ef42575df84b30b$export$9d1611c77c2fe928(a,{onFocus:()=>e.setLastFocusedValue(l)}),d),F=V.$3ef42575df84b30b$export$9d1611c77c2fe928(h,I),g=B.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(a,{labelable:!0}),x=-1;e.selectedValue!=null?e.selectedValue===l&&(x=0):(e.lastFocusedValue===l||e.lastFocusedValue==null)&&(x=0),i&&(x=void 0);let{name:$,descriptionId:c,errorMessageId:q,validationBehavior:u}=O.get(e);return w.$99facab73266f662$export$5add1d006293d136(d,e.selectedValue,e.setSelectedValue),w.$e93e671b31057976$export$b8473d3665f3a75a({validationBehavior:u},e,d),{labelProps:V.$3ef42575df84b30b$export$9d1611c77c2fe928(m,{onClick:D=>D.preventDefault()}),inputProps:V.$3ef42575df84b30b$export$9d1611c77c2fe928(g,{...F,type:"radio",name:$,tabIndex:x,disabled:i,required:e.isRequired&&u==="native",checked:n,value:l,onChange:P,"aria-describedby":[a["aria-describedby"],e.isInvalid?q:null,c].filter(Boolean).join(" ")||void 0}),isDisabled:i,isSelected:n,isPressed:R||p}}function ee(a,e){let{name:d,isReadOnly:l,isRequired:s,isDisabled:r,orientation:t="vertical",validationBehavior:i="aria"}=a,{direction:b}=U.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),{isInvalid:f,validationErrors:n,validationDetails:P}=e.displayValidation,{labelProps:h,fieldProps:R,descriptionProps:m,errorMessageProps:p}=K.$2baaea4c71418dea$export$294aa081a6c6f55d({...a,labelElementType:"span",isInvalid:e.isInvalid,errorMessage:a.errorMessage||n}),I=B.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(a,{labelable:!0}),{focusWithinProps:F}=H.$9ab94262bd0047c7$export$420e68273165f4ec({onBlurWithin($){var c;(c=a.onBlur)===null||c===void 0||c.call(a,$),e.selectedValue||e.setLastFocusedValue(null)},onFocusWithin:a.onFocus,onFocusWithinChange:a.onFocusChange}),g=$=>{let c;switch($.key){case"ArrowRight":b==="rtl"&&t!=="vertical"?c="prev":c="next";break;case"ArrowLeft":b==="rtl"&&t!=="vertical"?c="next":c="prev";break;case"ArrowDown":c="next";break;case"ArrowUp":c="prev";break;default:return}$.preventDefault();let q=A.$9bf71ea28793e738$export$2d6ec8fc375ceafa($.currentTarget,{from:$.target}),u;c==="next"?(u=q.nextNode(),u||(q.currentNode=$.currentTarget,u=q.firstChild())):(u=q.previousNode(),u||(q.currentNode=$.currentTarget,u=q.lastChild())),u&&(u.focus(),e.setSelectedValue(u.value))},x=V.$bdb11010cef70236$export$f680877a34711e37(d);return O.set(e,{name:x,descriptionId:m.id,errorMessageId:p.id,validationBehavior:i}),{radioGroupProps:V.$3ef42575df84b30b$export$9d1611c77c2fe928(I,{role:"radiogroup",onKeyDown:g,"aria-invalid":e.isInvalid||void 0,"aria-errormessage":a["aria-errormessage"],"aria-readonly":l||void 0,"aria-required":s||void 0,"aria-disabled":r||void 0,"aria-orientation":t,...R,...F}),labelProps:h,descriptionProps:m,errorMessageProps:p,isInvalid:f,validationErrors:n,validationDetails:P}}let ae=Math.round(Math.random()*1e10),ie=0;function de(a){let e=o.useMemo(()=>a.name||`radio-group-${ae}-${++ie}`,[a.name]);var d;let[l,s]=X.$458b0a5536c1a7cf$export$40bfa8c7b0832715(a.value,(d=a.defaultValue)!==null&&d!==void 0?d:null,a.onChange),[r,t]=o.useState(null),i=w.$e5be200c675c3b3a$export$fc1a364ae1f3ff10({...a,value:l}),b=n=>{!a.isReadOnly&&!a.isDisabled&&(s(n),i.commitValidation())},f=i.displayValidation.isInvalid;return{...i,name:e,selectedValue:l,setSelectedValue:b,lastFocusedValue:r,setLastFocusedValue:t,isDisabled:a.isDisabled||!1,isReadOnly:a.isReadOnly||!1,isRequired:a.isRequired||!1,validationState:a.validationState||(f?"invalid":null),isInvalid:f}}const re=o.createContext(null),le=o.createContext(null),G=o.createContext(null),te=o.forwardRef(function(e,d){[e,d]=v.$64fa3d84918910a7$export$29f1550f4b0d4415(e,d,re);let{validationBehavior:l}=v.$64fa3d84918910a7$export$fabf2dc03a41866e(j.$d3e0e05bdfcf66bd$export$c24727297075ec6a)||{};var s,r;let t=(r=(s=e.validationBehavior)!==null&&s!==void 0?s:l)!==null&&r!==void 0?r:"native",i=de({...e,validationBehavior:t}),[b,f]=v.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!e["aria-label"]&&!e["aria-labelledby"]),{radioGroupProps:n,labelProps:P,descriptionProps:h,errorMessageProps:R,...m}=ee({...e,label:f,validationBehavior:t},i),p=v.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,values:{orientation:e.orientation||"vertical",isDisabled:i.isDisabled,isReadOnly:i.isReadOnly,isRequired:i.isRequired,isInvalid:i.isInvalid,state:i},defaultClassName:"react-aria-RadioGroup"});return o.createElement("div",{...n,...p,ref:d,slot:e.slot||void 0,"data-orientation":e.orientation||"vertical","data-invalid":i.isInvalid||void 0,"data-disabled":i.isDisabled||void 0,"data-readonly":i.isReadOnly||void 0,"data-required":i.isRequired||void 0},o.createElement(v.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[G,i],[k.$01b77f81d0f07f68$export$75b6ee27786ba447,{...P,ref:b,elementType:"span"}],[T.$514c0188e459b4c0$export$9afb8bc826b033ea,{slots:{description:h,errorMessage:R}}],[N.$ee014567cb39d3f0$export$ff05c3ac10437e03,m]]},p.children))}),oe=o.forwardRef(function(e,d){let{inputRef:l=null,...s}=e;[e,d]=v.$64fa3d84918910a7$export$29f1550f4b0d4415(s,d,le);let r=o.useContext(G),t=v.$df56164dff5785e2$export$4338b53315abf666(o.useMemo(()=>v.$5dc95899b306f630$export$c9058316764c140e(l,e.inputRef!==void 0?e.inputRef:null),[l,e.inputRef])),{labelProps:i,inputProps:b,isSelected:f,isDisabled:n,isPressed:P}=Z({...v.$64fa3d84918910a7$export$ef03459518577ad4(e),children:typeof e.children=="function"?!0:e.children},r,t),{isFocused:h,isFocusVisible:R,focusProps:m}=z.$f7dceffc5ad7768b$export$4e328f61c538687f(),p=n||r.isReadOnly,{hoverProps:I,isHovered:F}=J.$6179b936705e76d3$export$ae780daf29e6d456({...e,isDisabled:p}),g=v.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-Radio",values:{isSelected:f,isPressed:P,isHovered:F,isFocused:h,isFocusVisible:R,isDisabled:n,isReadOnly:r.isReadOnly,isInvalid:r.isInvalid,isRequired:r.isRequired}}),x=B.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e);return delete x.id,o.createElement("label",{...V.$3ef42575df84b30b$export$9d1611c77c2fe928(x,i,I,g),ref:d,"data-selected":f||void 0,"data-pressed":P||void 0,"data-hovered":F||void 0,"data-focused":h||void 0,"data-focus-visible":R||void 0,"data-disabled":n||void 0,"data-readonly":r.isReadOnly||void 0,"data-invalid":r.isInvalid||void 0,"data-required":r.isRequired||void 0},o.createElement(Q.$5c3e21d68f1c4674$export$439d29a4e110a164,{elementType:"span"},o.createElement("input",{...V.$3ef42575df84b30b$export$9d1611c77c2fe928(b,m),ref:t})),g.children)}),se="_radioGroup_i4hw0_4",ne="_wrap_i4hw0_15",ce="_radio_i4hw0_4",_={radioGroup:se,wrap:ne,radio:ce},ue=({label:a,description:e,errorMessage:d,children:l,className:s,errorPosition:r="top",popover:t,...i})=>y.jsxs(te,{...i,className:S.clsx(_.radioGroup,s),children:[y.jsx(M.LabelWrapper,{popover:t,children:a&&y.jsx(M.Label,{children:a})}),e&&y.jsx(Y.Text,{slot:"description",children:e}),r==="top"&&y.jsx(C.FieldError,{"data-testid":"fieldError",children:d}),y.jsx(L.$a049562f99e7db0e$export$eb2fcfdbd7ba97d4,{className:_.wrap,children:l}),r==="bottom"&&y.jsx(C.FieldError,{"data-testid":"fieldError",children:d})]}),fe=({className:a,...e})=>y.jsx(oe,{className:S.clsx(_.radio,a),...e});exports.Radio=fe;exports.RadioGroup=ue;