@midas-ds/components 10.2.0 → 10.3.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 (341) hide show
  1. package/{AccordionItem-Z_c9MpAM.cjs → AccordionItem-BGWiWjxA.cjs} +1 -1
  2. package/{AccordionItem-DZT76sWu.js → AccordionItem-ChHpW8EW.js} +11 -11
  3. package/{BadgeContainer-D3RtqcPF.js → BadgeContainer-DM8TdyMT.js} +4 -4
  4. package/{BadgeContainer-DeUgqGqb.cjs → BadgeContainer-I1XA3OCl.cjs} +1 -1
  5. package/{Breadcrumbs-CmZXtTiS.js → Breadcrumbs-CwDUNIqF.js} +34 -34
  6. package/{Breadcrumbs-Cx09jwZZ.cjs → Breadcrumbs-DtjJ1UmU.cjs} +1 -1
  7. package/{Button-iSiWjocA.cjs → Button-BoJl6JGM.cjs} +1 -1
  8. package/{Button-CbFRzRrF.js → Button-Csih3v23.js} +2 -2
  9. package/Button-DjBChs7s.js +340 -0
  10. package/Button-htW9qIsS.cjs +1 -0
  11. package/Button.module-DEQtBYe5.cjs +1 -0
  12. package/Button.module-tti8HGxs.js +14 -0
  13. package/CHANGELOG.md +20 -0
  14. package/Card-0G0mj9q5.cjs +1 -0
  15. package/{Card-CaKKKv9k.js → Card-yrtGzt70.js} +5 -5
  16. package/CharacterCounter-BL_nZHya.js +22 -0
  17. package/{CharacterCounter-CrY8QRuY.cjs → CharacterCounter-CHcTDHO-.cjs} +1 -1
  18. package/Checkbox-5HINZdGu.js +263 -0
  19. package/Checkbox-DqcPg5hz.cjs +1 -0
  20. package/CheckboxGroup-BBrSMuDY.cjs +1 -0
  21. package/CheckboxGroup-CLgixk2p.js +243 -0
  22. package/{Collection-Csx3L9gh.cjs → Collection-BIDsXNhi.cjs} +1 -1
  23. package/{Collection-C5ONNBqd.js → Collection-Brgjpkne.js} +4 -4
  24. package/{ColorSchemeSwitch-CbAWIJCg.js → ColorSchemeSwitch-BpzQ7g0b.js} +9 -9
  25. package/{ColorSchemeSwitch-JRrCyYVv.cjs → ColorSchemeSwitch-C-qWuqkU.cjs} +2 -2
  26. package/{ComboBox-BCaqPEIH.js → ComboBox-CVDyp2a-.js} +331 -327
  27. package/ComboBox-CWJUg9Xx.cjs +1 -0
  28. package/DateField-DeDhiYnW.cjs +1 -0
  29. package/DateField-DhU3q-rG.js +47 -0
  30. package/DateInputDivider-ADvOavHw.cjs +1 -0
  31. package/{DateInputDivider-Dx8n1Lxp.js → DateInputDivider-CF4xWsMT.js} +71 -75
  32. package/DateRangePicker-BsAHhy99.cjs +6 -0
  33. package/{DateRangePicker-BmBvwqo6.js → DateRangePicker-ziD1_k1W.js} +194 -194
  34. package/Dialog-B8GTYbvu.cjs +1 -0
  35. package/{Dialog-CwTEAujZ.cjs → Dialog-BOrYdX50.cjs} +1 -1
  36. package/{Dialog-Bxx8cBEq.js → Dialog-CXNu48AC.js} +25 -25
  37. package/{Dialog-CYxThuMl.js → Dialog-D14MbJ7o.js} +564 -540
  38. package/{DragAndDrop-HvycSrKY.cjs → DragAndDrop-DNth776R.cjs} +1 -1
  39. package/{DragAndDrop-CSwmPhxC.js → DragAndDrop-o3ruz_SR.js} +8 -8
  40. package/{Dropdown-CaGon9OR.cjs → Dropdown-CJ6My6EI.cjs} +1 -1
  41. package/{Dropdown-nkjzsVYX.js → Dropdown-Df58j43I.js} +2 -2
  42. package/FieldError-CAcjosk_.js +46 -0
  43. package/FieldError-CKBb2-mp.cjs +1 -0
  44. package/{FileUpload-DYRZ0M9F.cjs → FileUpload-CxCOtyB9.cjs} +2 -2
  45. package/{FileUpload-ULwcYDxs.js → FileUpload-D6qoEAjn.js} +149 -148
  46. package/FocusScope-5c9SVBcR.cjs +1 -0
  47. package/{FocusScope-DwIqdYpQ.js → FocusScope-CxkURfoc.js} +16 -16
  48. package/{Group-CeSsSQVC.js → Group-B6EslsHZ.js} +5 -5
  49. package/{Heading-BY5-QN4S.js → Heading-BFtiin0g.js} +7 -7
  50. package/{Heading-DoJAtYZf.cjs → Heading-mHhCbGjY.cjs} +1 -1
  51. package/{Hidden-B5ir3Lei.js → Hidden-C9KWUR7b.js} +2 -2
  52. package/{InfoBanner-CVIBFSWx.js → InfoBanner-BLM-TJJ6.js} +15 -14
  53. package/InfoBanner-C2kTIsrB.cjs +1 -0
  54. package/{Input-D8Ku_FQz.js → Input-BTzwcf72.js} +10 -10
  55. package/Label-7Ybb99CE.cjs +1 -0
  56. package/Label-BwJrdqEE.js +70 -0
  57. package/{Layout-BWeHHnqU.cjs → Layout-1g6bMH62.cjs} +2 -2
  58. package/{Layout-CCt_2L1k.js → Layout-Ey8flY7E.js} +9 -9
  59. package/{Link-DsnCtNeI.cjs → Link-B88l_oaE.cjs} +1 -1
  60. package/{Link-SHMbeyIP.cjs → Link-BQhauBuw.cjs} +1 -1
  61. package/{Link-uFowN4qv.js → Link-DX5BbBnn.js} +1 -1
  62. package/{Link-B-nus-FT.js → Link-yNO2-sqx.js} +17 -17
  63. package/LinkButton-CBpGLETx.cjs +6 -0
  64. package/LinkButton-o6uS1XsR.js +69 -0
  65. package/ListBox-DP9M4H6R.cjs +1 -0
  66. package/{ListBox-DOi_y_Lt.js → ListBox-GnVK_Pdq.js} +72 -73
  67. package/{ListBoxButton-CFeNhJhr.cjs → ListBoxButton-DPBrtXyv.cjs} +1 -1
  68. package/{ListBoxButton-O6zN3P4W.js → ListBoxButton-D_J3jlP0.js} +1 -1
  69. package/{ListBoxSection-DGCP6xpf.cjs → ListBoxSection-BGaigBnG.cjs} +1 -1
  70. package/{ListBoxSection-C1aLKL9p.js → ListBoxSection-C0BGnpB4.js} +9 -9
  71. package/{ListKeyboardDelegate-DNOzQ8nc.js → ListKeyboardDelegate-DNI8GQtX.js} +24 -15
  72. package/ListKeyboardDelegate-DTg9h4v6.cjs +1 -0
  73. package/{OverlayArrow-DorA4Rbr.js → OverlayArrow-CDLXPTew.js} +44 -44
  74. package/Popover-BGGXeD54.js +38 -0
  75. package/Popover-CqNWzPf-.cjs +1 -0
  76. package/{ProgressBar-gmAzSsrz.js → ProgressBar-DMSg-Prr.js} +2 -2
  77. package/ProgressBar-Jbg28j2a.cjs +1 -0
  78. package/Radio-BwqrdhQE.cjs +1 -0
  79. package/{Radio-_ukSkxPT.js → Radio-Cz29wPXd.js} +71 -71
  80. package/RangeCalendar-BehUaydF.cjs +11 -0
  81. package/{RangeCalendar-uXwoBL-O.js → RangeCalendar-RAlAHlNL.js} +25 -27
  82. package/{SearchField-6yBGiojX.cjs → SearchField-CxMwDeUM.cjs} +2 -2
  83. package/{SearchField-DYl2uo7o.js → SearchField-IlvZ3Kh6.js} +11 -11
  84. package/Select-2q1iSzAX.cjs +1 -0
  85. package/{Select-PvCqY7Lp.js → Select-BVQZtoi9.js} +232 -232
  86. package/{SelectionManager-6H88Cv6B.js → SelectionManager-B4ORduja.js} +26 -27
  87. package/SelectionManager-CwYux2h3.cjs +1 -0
  88. package/{Separator-LYnFqh4L.js → Separator-Cu9fYKUM.js} +19 -20
  89. package/Separator-DECIYLtZ.cjs +1 -0
  90. package/{Spinner-DAJtfxqJ.cjs → Spinner-P35rvvsl.cjs} +1 -1
  91. package/Table-B40CGLT-.cjs +16 -0
  92. package/{Table-B_N7wUmA.js → Table-F4oYBtUM.js} +69 -73
  93. package/{Tabs-Ct6D83aR.js → Tabs-B4oZJkZG.js} +39 -39
  94. package/{Tabs-Dtcl2oK2.cjs → Tabs-DA2qXhzb.cjs} +1 -1
  95. package/Tag-DPAGmcMK.cjs +1 -0
  96. package/{Tag-g6HN-YCv.js → Tag-Du7GvSv2.js} +151 -154
  97. package/Text-BoXuUVVH.js +15 -0
  98. package/{Text-BN-g1iWi.js → Text-jWWg0B20.js} +1 -1
  99. package/TextArea-C7JZ_pQd.cjs +1 -0
  100. package/TextArea-XeBCSyzl.js +191 -0
  101. package/TextField-BgNdhZi_.cjs +1 -0
  102. package/{TextField-DBaRuNj7.js → TextField-C-hTPukq.js} +16 -16
  103. package/Toast-AbDA1BOs.cjs +1 -0
  104. package/{Toast-CjpldAI8.js → Toast-Btg21Xge.js} +32 -31
  105. package/{ToggleButtonGroup-Ceh9_yBM.js → ToggleButtonGroup-B5yz1tm2.js} +7 -7
  106. package/{ToggleButtonGroup-BuU_6dYe.cjs → ToggleButtonGroup-BFDoj0P6.cjs} +1 -1
  107. package/{Tooltip-BAIjaYax.js → Tooltip-CMLs7WMw.js} +33 -33
  108. package/{Tooltip-CiWg4zIC.cjs → Tooltip-DeBuBKhS.cjs} +1 -1
  109. package/{VisuallyHidden-CtXvK_Tw.cjs → VisuallyHidden-CLWHbz2n.cjs} +1 -1
  110. package/{VisuallyHidden-D-4z1VgU.js → VisuallyHidden-ZCYf65q4.js} +8 -8
  111. package/accordion/index.cjs +1 -1
  112. package/accordion/index.js +1 -1
  113. package/{arrow-right-Cw48o2oW.cjs → arrow-right-QJ2gXPKQ.cjs} +1 -1
  114. package/assets/Button.css +1 -1
  115. package/assets/Label.css +1 -1
  116. package/assets/LinkButton.css +1 -1
  117. package/assets/Popover.css +1 -0
  118. package/badge/index.cjs +1 -1
  119. package/badge/index.js +1 -1
  120. package/breadcrumbs/index.cjs +1 -1
  121. package/breadcrumbs/index.js +1 -1
  122. package/button/index.cjs +1 -1
  123. package/button/index.js +1 -1
  124. package/calendar/index.cjs +1 -1
  125. package/calendar/index.js +1 -1
  126. package/card/index.cjs +1 -1
  127. package/card/index.js +1 -1
  128. package/character-counter/index.cjs +1 -1
  129. package/character-counter/index.js +1 -1
  130. package/{check-Dw9c62O4.cjs → check-D_KoootC.cjs} +1 -1
  131. package/checkbox/Checkbox.d.ts +2 -2
  132. package/checkbox/CheckboxGroup.d.ts +8 -8
  133. package/checkbox/CheckboxGroupFieldError.d.ts +8 -0
  134. package/checkbox/CheckboxGroupItem.d.ts +3 -0
  135. package/checkbox/CheckboxInner.d.ts +2 -0
  136. package/checkbox/SingleCheckbox.d.ts +3 -0
  137. package/checkbox/context.d.ts +3 -0
  138. package/checkbox/index.cjs +1 -1
  139. package/checkbox/index.d.ts +2 -1
  140. package/checkbox/index.js +2 -2
  141. package/checkbox/intl/translations.json.d.ts +35 -0
  142. package/checkbox/types.d.ts +14 -0
  143. package/checkbox/useSelectAll.d.ts +7 -0
  144. package/{chevron-down-C2E7aZ3N.cjs → chevron-down-jl83cllc.cjs} +1 -1
  145. package/{info-DkzVqB8I.js → circle-check-B9HYcH7Z.js} +4 -16
  146. package/{info-DlzSeKbc.cjs → circle-check-BGo8gML8.cjs} +2 -7
  147. package/color-scheme-switch/index.cjs +1 -1
  148. package/color-scheme-switch/index.js +1 -1
  149. package/combobox/ComboBox.d.ts +3 -1
  150. package/combobox/index.cjs +1 -1
  151. package/combobox/index.js +1 -1
  152. package/{context-B8cn10po.js → context-C81gPYvC.js} +11 -11
  153. package/{createLucideIcon-DAY4oS-S.cjs → createLucideIcon-Cg_wkoIA.cjs} +1 -1
  154. package/date-field/DateField.d.ts +3 -0
  155. package/date-field/index.cjs +1 -1
  156. package/date-field/index.js +2 -2
  157. package/date-picker/DatePicker.d.ts +3 -0
  158. package/date-picker/DateRangePicker.d.ts +3 -0
  159. package/date-picker/index.cjs +1 -1
  160. package/date-picker/index.js +1 -1
  161. package/dropdown/index.cjs +1 -1
  162. package/dropdown/index.js +1 -1
  163. package/field-error/index.cjs +1 -1
  164. package/field-error/index.js +1 -1
  165. package/file-upload/FileUpload.d.ts +3 -0
  166. package/file-upload/index.cjs +1 -1
  167. package/file-upload/index.js +1 -1
  168. package/{getScrollParent-Ru2U2LlM.js → getScrollParent-BhFcYrwL.js} +1 -1
  169. package/{getScrollParent-DuKmPmUa.cjs → getScrollParent-DDJu9WHU.cjs} +1 -1
  170. package/heading/index.cjs +1 -1
  171. package/heading/index.js +1 -1
  172. package/{index-BSMrH_Du.js → index-CGRFP4CC.js} +7 -7
  173. package/{index-D97L3EBk.cjs → index-Dsz3aiWt.cjs} +2 -2
  174. package/index.cjs +1 -1
  175. package/index.d.ts +1 -0
  176. package/index.js +80 -78
  177. package/inertValue-B3AFhVG4.cjs +1 -0
  178. package/info-BZwphdye.js +15 -0
  179. package/info-CIEIENo6.cjs +6 -0
  180. package/info-banner/index.cjs +1 -1
  181. package/info-banner/index.js +1 -1
  182. package/label/InfoPopover.d.ts +9 -0
  183. package/label/LabelWrapper.d.ts +11 -0
  184. package/label/index.cjs +1 -1
  185. package/label/index.d.ts +1 -0
  186. package/label/index.js +1 -1
  187. package/layout/index.cjs +1 -1
  188. package/layout/index.js +1 -1
  189. package/link/index.cjs +1 -1
  190. package/link/index.js +2 -2
  191. package/link-button/index.cjs +1 -1
  192. package/link-button/index.js +2 -2
  193. package/list-box/index.cjs +1 -1
  194. package/list-box/index.js +2 -2
  195. package/modal/index.cjs +1 -1
  196. package/modal/index.js +2 -2
  197. package/package.json +1 -1
  198. package/popover/Popover.d.ts +7 -0
  199. package/popover/index.cjs +1 -0
  200. package/popover/index.d.ts +1 -0
  201. package/popover/index.js +4 -0
  202. package/progress-bar/index.cjs +1 -1
  203. package/progress-bar/index.js +1 -1
  204. package/radio/Radio.d.ts +3 -0
  205. package/radio/index.cjs +1 -1
  206. package/radio/index.js +1 -1
  207. package/scrollIntoView-C8doLzDd.cjs +1 -0
  208. package/scrollIntoView-Hwb_aaNf.js +87 -0
  209. package/search-field/index.cjs +1 -1
  210. package/search-field/index.js +1 -1
  211. package/select/index.cjs +1 -1
  212. package/select/index.js +1 -1
  213. package/spinner/index.cjs +1 -1
  214. package/{square-arrow-out-up-right-BCAO2eJs.cjs → square-arrow-out-up-right-V4Gd08uI.cjs} +1 -1
  215. package/table/index.cjs +1 -1
  216. package/table/index.js +1 -1
  217. package/tabs/index.cjs +1 -1
  218. package/tabs/index.js +1 -1
  219. package/tag/index.cjs +1 -1
  220. package/tag/index.js +1 -1
  221. package/text/index.js +1 -1
  222. package/textfield/TextFieldBase.d.ts +2 -0
  223. package/textfield/index.cjs +1 -1
  224. package/textfield/index.js +1 -1
  225. package/toast/index.cjs +1 -1
  226. package/toast/index.js +1 -1
  227. package/toggle-button/index.cjs +1 -1
  228. package/toggle-button/index.js +1 -1
  229. package/tooltip/index.cjs +1 -1
  230. package/tooltip/index.js +1 -1
  231. package/{triangle-alert-C0lvfCYH.cjs → triangle-alert-DJW8U7jL.cjs} +1 -1
  232. package/{useButton-C-Lq7CNY.js → useButton-B8dB9sot.js} +6 -6
  233. package/{useButton-B1Fa-6qE.cjs → useButton-cpNi-fY4.cjs} +1 -1
  234. package/{useDateFormatter-g2maMTGH.cjs → useDateFormatter-CnxoJ4jF.cjs} +1 -1
  235. package/{useDateFormatter-C53Uxdli.js → useDateFormatter-EHm4auIg.js} +2 -2
  236. package/{useEvent-CjkbBniY.cjs → useEvent-DxBxMX2V.cjs} +1 -1
  237. package/{useEvent-Cyd2ZL0c.js → useEvent-IsD2Awnh.js} +1 -1
  238. package/useField-CXKYU74k.cjs +1 -0
  239. package/{useField-BPMAlIbU.js → useField-DvpGZkw_.js} +7 -7
  240. package/useFilter-BTgDWHVx.cjs +1 -0
  241. package/{useFilter-ChIbnALW.js → useFilter-CUq74PQ2.js} +1 -1
  242. package/{useFocusRing-BDGH3lpn.js → useFocusRing-XnR3cZjO.js} +1 -1
  243. package/useFocusable-C8uh8K4g.js +125 -0
  244. package/useFocusable-NUVSFcRC.cjs +1 -0
  245. package/{useFormValidation-R8hQIjWP.js → useFormValidation-BIGzfO9h.js} +5 -5
  246. package/{useHasTabbableChild-DsD9AJwE.js → useHasTabbableChild-C-1mZUQe.js} +2 -2
  247. package/useHasTabbableChild-DCBTulUQ.cjs +1 -0
  248. package/{useHighlightSelectionDescription-DFfcgbUj.js → useHighlightSelectionDescription-CnBDT86u.js} +14 -14
  249. package/useHighlightSelectionDescription-CzYucm61.cjs +1 -0
  250. package/{useHover-qRAon4nS.js → useHover-DjIHtjGN.js} +17 -17
  251. package/{useLabels-BZjoZA1Z.js → useLabels-BDwkBYbE.js} +1 -1
  252. package/{useListState-Ca2-uZMO.cjs → useListState-Bx8u4IFG.cjs} +1 -1
  253. package/{useListState-DFQ9d-uE.js → useListState-CrZFZffI.js} +7 -7
  254. package/useLocalizedStringFormatter-BKoxGZf1.js +96 -0
  255. package/useLocalizedStringFormatter-BsxLt89S.cjs +1 -0
  256. package/useLocalizedStringFormatter-D3JQyjb4.js +21 -0
  257. package/useLocalizedStringFormatter-ioacM-Yt.cjs +1 -0
  258. package/useObserveElement-MhzEsCkX.cjs +1 -0
  259. package/usePress-0AjDbW9R.cjs +7 -0
  260. package/{usePress-CUJ3pMOw.js → usePress-CNjmDzap.js} +48 -48
  261. package/{useSingleSelectListState-C-nB8cug.js → useSingleSelectListState-0AGHxvy3.js} +1 -1
  262. package/{useSingleSelectListState-MGNxUTum.cjs → useSingleSelectListState-Cl3KV5E1.cjs} +1 -1
  263. package/{useTextField-CtUDWsUl.cjs → useTextField--czJtyNd.cjs} +1 -1
  264. package/{useTextField-5OZQPyOW.js → useTextField-Cw-33OP_.js} +11 -11
  265. package/{useUpdateEffect-sk3kiVGz.cjs → useUpdateEffect-C5YQs_1w.cjs} +1 -1
  266. package/{utils-HNTsIwux.js → utils-DIMfEPAt.js} +10 -10
  267. package/{x-CvxiAZTW.cjs → x-H8Zrx8-x.cjs} +1 -1
  268. package/Button-DnhqHU01.cjs +0 -1
  269. package/Button-ZOQy9Ivu.js +0 -78
  270. package/Button.module-CMMhIrkn.js +0 -14
  271. package/Button.module-DO5s9hOk.cjs +0 -1
  272. package/Card-C0BFW3wJ.cjs +0 -1
  273. package/CharacterCounter-CPGdboVJ.js +0 -22
  274. package/Checkbox-CvFsn_FL.js +0 -380
  275. package/Checkbox-DSxGAJX2.cjs +0 -1
  276. package/CheckboxGroup-Bk9DPq4I.cjs +0 -1
  277. package/CheckboxGroup-Dij9zKlF.js +0 -54
  278. package/ComboBox-gveQKHU3.cjs +0 -1
  279. package/DateField-CAQlzuDD.js +0 -46
  280. package/DateField-deVVFwKA.cjs +0 -1
  281. package/DateInputDivider-DnUxETEC.cjs +0 -1
  282. package/DateRangePicker-BzfitoK0.cjs +0 -6
  283. package/Dialog-Bd5hK360.cjs +0 -1
  284. package/FieldError-BZw8UzBk.cjs +0 -1
  285. package/FieldError-CZikNDxX.js +0 -28
  286. package/FieldError-DqdfJ3fs.cjs +0 -1
  287. package/FieldError-Dv3bBEjh.js +0 -23
  288. package/FocusScope-NaPbvuuS.cjs +0 -1
  289. package/InfoBanner-BS-dAfzO.cjs +0 -1
  290. package/Label-C9ivwkAd.js +0 -21
  291. package/Label-CUV21CAv.cjs +0 -1
  292. package/Label-DkDOsmUF.js +0 -16
  293. package/Label-IMWAyoKb.cjs +0 -1
  294. package/LinkButton-CuBilDML.js +0 -69
  295. package/LinkButton-CymMrcGL.cjs +0 -6
  296. package/ListBox-CDOsQChA.cjs +0 -1
  297. package/ListKeyboardDelegate-BqMETvPv.cjs +0 -1
  298. package/LiveAnnouncer-B6177m92.js +0 -51
  299. package/LiveAnnouncer-CwEWPU8b.cjs +0 -1
  300. package/LocalizedStringFormatter-C0C54hjf.cjs +0 -1
  301. package/LocalizedStringFormatter-D-4Qyql0.js +0 -77
  302. package/NumberFormatter-DewVDY5w.cjs +0 -1
  303. package/NumberFormatter-DgOUVrge.js +0 -119
  304. package/PressResponder-C06O3Z5P.cjs +0 -1
  305. package/PressResponder-CVEg5kND.js +0 -33
  306. package/ProgressBar-Bkw9zavs.cjs +0 -1
  307. package/ProgressBar-CEX2WNoW.js +0 -77
  308. package/ProgressBar-Dqh3ftSP.cjs +0 -1
  309. package/Radio-CDKrvQe4.cjs +0 -1
  310. package/RangeCalendar-cbCKBPZv.cjs +0 -11
  311. package/Select-CpHjd1tp.cjs +0 -1
  312. package/SelectionManager-C5NGBzvz.cjs +0 -1
  313. package/Separator-nPra6kD-.cjs +0 -1
  314. package/Table-D9vNc_y-.cjs +0 -16
  315. package/Tag-CVFkzg3s.cjs +0 -1
  316. package/Text-B_H68Tvq.js +0 -15
  317. package/TextArea-DSiQ578a.js +0 -206
  318. package/TextArea-cVyGBRbL.cjs +0 -1
  319. package/TextField-B70CL2qz.cjs +0 -1
  320. package/Toast-DrkOGy4d.cjs +0 -1
  321. package/focusSafely-Bqfo_DH7.cjs +0 -1
  322. package/focusSafely-C48ucRUz.js +0 -56
  323. package/inertValue-BWmZ1afe.cjs +0 -1
  324. package/scrollIntoView-ClEACHUk.js +0 -57
  325. package/scrollIntoView-DRSoJp89.cjs +0 -1
  326. package/useCollator-C_ozeWLo.cjs +0 -1
  327. package/useCollator-CgZcHC8N.js +0 -11
  328. package/useDescription-CVKhFa3c.js +0 -32
  329. package/useDescription-DmQYSEES.cjs +0 -1
  330. package/useField-B1RU0GKs.cjs +0 -1
  331. package/useFilter-CtIwF2qW.cjs +0 -1
  332. package/useFocusable-CaedRTpB.js +0 -74
  333. package/useFocusable-CuPQ7Cm5.cjs +0 -1
  334. package/useHasTabbableChild-DgphNvnk.cjs +0 -1
  335. package/useHighlightSelectionDescription-BizKjvPU.cjs +0 -1
  336. package/useLabel-DDdAJ1JO.js +0 -23
  337. package/useLabel-m_S5xkHy.cjs +0 -1
  338. package/useLocalizedStringFormatter-D07YB2e1.js +0 -22
  339. package/useLocalizedStringFormatter-u9SJaOwk.cjs +0 -1
  340. package/useObserveElement-BzEr5D32.cjs +0 -1
  341. package/usePress-BFa6cT9o.cjs +0 -7
@@ -0,0 +1 @@
1
+ "use strict";const u=require("./useHover-_mv5J4_q.cjs"),T=require("./utils-BNtZbAib.cjs"),V=require("./useFocusable-NUVSFcRC.cjs"),N=require("react");class q{get currentNode(){return this._currentNode}set currentNode(e){if(!u.$d4ee10de306f2510$export$4282f70798064fe0(this.root,e))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");const t=[];let n=e,o=e;for(this._currentNode=e;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const i=n,a=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});t.push(a),a.currentNode=o,this._currentSetFor.add(a),n=o=i.host}else n=n.parentNode;const c=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});t.push(c),c.currentNode=o,this._currentSetFor.add(c),this._walkerStack=t}get doc(){return this._doc}firstChild(){let e=this.currentNode,t=this.nextNode();return u.$d4ee10de306f2510$export$4282f70798064fe0(e,t)?(t&&(this.currentNode=t),t):(this.currentNode=e,null)}lastChild(){let t=this._walkerStack[0].lastChild();return t&&(this.currentNode=t),t}nextNode(){const e=this._walkerStack[0].nextNode();if(e){if(e.shadowRoot){var t;let o;if(typeof this.filter=="function"?o=this.filter(e):!((t=this.filter)===null||t===void 0)&&t.acceptNode&&(o=this.filter.acceptNode(e)),o===NodeFilter.FILTER_ACCEPT)return this.currentNode=e,e;let c=this.nextNode();return c&&(this.currentNode=c),c}return e&&(this.currentNode=e),e}else if(this._walkerStack.length>1){this._walkerStack.shift();let n=this.nextNode();return n&&(this.currentNode=n),n}else return null}previousNode(){const e=this._walkerStack[0];if(e.currentNode===e.root){if(this._currentSetFor.has(e))if(this._currentSetFor.delete(e),this._walkerStack.length>1){this._walkerStack.shift();let o=this.previousNode();return o&&(this.currentNode=o),o}else return null;return null}const t=e.previousNode();if(t){if(t.shadowRoot){var n;let c;if(typeof this.filter=="function"?c=this.filter(t):!((n=this.filter)===null||n===void 0)&&n.acceptNode&&(c=this.filter.acceptNode(t)),c===NodeFilter.FILTER_ACCEPT)return t&&(this.currentNode=t),t;let i=this.lastChild();return i&&(this.currentNode=i),i}return t&&(this.currentNode=t),t}else if(this._walkerStack.length>1){this._walkerStack.shift();let o=this.previousNode();return o&&(this.currentNode=o),o}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}constructor(e,t,n,o){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=i=>{if(i.nodeType===Node.ELEMENT_NODE){const b=i.shadowRoot;if(b){const d=this._doc.createTreeWalker(b,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(d),NodeFilter.FILTER_ACCEPT}else{var a;if(typeof this.filter=="function")return this.filter(i);if(!((a=this.filter)===null||a===void 0)&&a.acceptNode)return this.filter.acceptNode(i);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=e,this.root=t,this.filter=o??null,this.whatToShow=n??NodeFilter.SHOW_ALL,this._currentNode=t,this._walkerStack.unshift(e.createTreeWalker(t,n,this._acceptNode));const c=t.shadowRoot;if(c){const i=this._doc.createTreeWalker(c,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(i)}}}function z(r,e,t,n){return u.$f4e2df6bd15f8569$export$98658e8c59125e6a()?new q(r,e,t,n):r.createTreeWalker(e,t,n)}function H(r){const e=u.$431fbd86ca7dc216$export$f21a1ffae260145a(r);if(!(r instanceof e.HTMLElement)&&!(r instanceof e.SVGElement))return!1;let{display:t,visibility:n}=r.style,o=t!=="none"&&n!=="hidden"&&n!=="collapse";if(o){const{getComputedStyle:c}=r.ownerDocument.defaultView;let{display:i,visibility:a}=c(r);o=i!=="none"&&a!=="hidden"&&a!=="collapse"}return o}function U(r,e){return!r.hasAttribute("hidden")&&!r.hasAttribute("data-react-aria-prevent-focus")&&(r.nodeName==="DETAILS"&&e&&e.nodeName!=="SUMMARY"?r.hasAttribute("open"):!0)}function K(r,e){return r.nodeName!=="#comment"&&H(r)&&U(r,e)&&(!r.parentElement||K(r.parentElement,r))}const A=N.createContext(null),F="react-aria-focus-scope-restore";let p=null;function G(r){let{children:e,contain:t,restoreFocus:n,autoFocus:o}=r,c=N.useRef(null),i=N.useRef(null),a=N.useRef([]),{parentNode:b}=N.useContext(A)||{},d=N.useMemo(()=>new L({scopeRef:a}),[a]);T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let s=b||v.root;if(v.getTreeNode(s.scopeRef)&&p&&!g(p,s.scopeRef)){let $=v.getTreeNode(p);$&&(s=$)}s.addChild(d),v.addNode(d)},[d,b]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let s=v.getTreeNode(a);s&&(s.contain=!!t)},[t]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{var s;let $=(s=c.current)===null||s===void 0?void 0:s.nextSibling,h=[],S=y=>y.stopPropagation();for(;$&&$!==i.current;)h.push($),$.addEventListener(F,S),$=$.nextSibling;return a.current=h,()=>{for(let y of h)y.removeEventListener(F,S)}},[e]),Q(a,n,t),B(a,t),X(a,n,t),Y(a,o),N.useEffect(()=>{const s=u.$d4ee10de306f2510$export$cd4e5573fbe2b576(u.$431fbd86ca7dc216$export$b204af158042fbac(a.current?a.current[0]:void 0));let $=null;if(E(s,a.current)){for(let h of v.traverse())h.scopeRef&&E(s,h.scopeRef.current)&&($=h);$===v.getTreeNode(a)&&(p=$.scopeRef)}},[a]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>()=>{var s,$,h;let S=(h=($=v.getTreeNode(a))===null||$===void 0||(s=$.parent)===null||s===void 0?void 0:s.scopeRef)!==null&&h!==void 0?h:null;(a===p||g(a,p))&&(!S||v.getTreeNode(S))&&(p=S),v.removeTreeNode(a)},[a]);let f=N.useMemo(()=>j(a),[]),l=N.useMemo(()=>({focusManager:f,parentNode:d}),[d,f]);return N.createElement(A.Provider,{value:l},N.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:c}),e,N.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function j(r){return{focusNext(e={}){let t=r.current,{from:n,tabbable:o,wrap:c,accept:i}=e;var a;let b=n||u.$d4ee10de306f2510$export$cd4e5573fbe2b576(u.$431fbd86ca7dc216$export$b204af158042fbac((a=t[0])!==null&&a!==void 0?a:void 0)),d=t[0].previousElementSibling,f=k(t),l=x(f,{tabbable:o,accept:i},t);l.currentNode=E(b,t)?b:d;let s=l.nextNode();return!s&&c&&(l.currentNode=d,s=l.nextNode()),s&&w(s,!0),s},focusPrevious(e={}){let t=r.current,{from:n,tabbable:o,wrap:c,accept:i}=e;var a;let b=n||u.$d4ee10de306f2510$export$cd4e5573fbe2b576(u.$431fbd86ca7dc216$export$b204af158042fbac((a=t[0])!==null&&a!==void 0?a:void 0)),d=t[t.length-1].nextElementSibling,f=k(t),l=x(f,{tabbable:o,accept:i},t);l.currentNode=E(b,t)?b:d;let s=l.previousNode();return!s&&c&&(l.currentNode=d,s=l.previousNode()),s&&w(s,!0),s},focusFirst(e={}){let t=r.current,{tabbable:n,accept:o}=e,c=k(t),i=x(c,{tabbable:n,accept:o},t);i.currentNode=t[0].previousElementSibling;let a=i.nextNode();return a&&w(a,!0),a},focusLast(e={}){let t=r.current,{tabbable:n,accept:o}=e,c=k(t),i=x(c,{tabbable:n,accept:o},t);i.currentNode=t[t.length-1].nextElementSibling;let a=i.previousNode();return a&&w(a,!0),a}}}function k(r){return r[0].parentElement}function _(r){let e=v.getTreeNode(p);for(;e&&e.scopeRef!==r;){if(e.contain)return!1;e=e.parent}return!0}function B(r,e){let t=N.useRef(void 0),n=N.useRef(void 0);T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let o=r.current;if(!e){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}const c=u.$431fbd86ca7dc216$export$b204af158042fbac(o?o[0]:void 0);let i=d=>{if(d.key!=="Tab"||d.altKey||d.ctrlKey||d.metaKey||!_(r)||d.isComposing)return;let f=u.$d4ee10de306f2510$export$cd4e5573fbe2b576(c),l=r.current;if(!l||!E(f,l))return;let s=k(l),$=x(s,{tabbable:!0},l);if(!f)return;$.currentNode=f;let h=d.shiftKey?$.previousNode():$.nextNode();h||($.currentNode=d.shiftKey?l[l.length-1].nextElementSibling:l[0].previousElementSibling,h=d.shiftKey?$.previousNode():$.nextNode()),d.preventDefault(),h&&w(h,!0)},a=d=>{(!p||g(p,r))&&E(u.$d4ee10de306f2510$export$e58f029f0fbfdb29(d),r.current)?(p=r,t.current=u.$d4ee10de306f2510$export$e58f029f0fbfdb29(d)):_(r)&&!m(u.$d4ee10de306f2510$export$e58f029f0fbfdb29(d),r)?t.current?t.current.focus():p&&p.current&&C(p.current):_(r)&&(t.current=u.$d4ee10de306f2510$export$e58f029f0fbfdb29(d))},b=d=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let f=u.$507fabe10e71c6fb$export$630ff653c5ada6a9(),l=(f==="virtual"||f===null)&&u.$c87311424ea30a05$export$a11b0059900ceec8()&&u.$c87311424ea30a05$export$6446a186d09e379e(),s=u.$d4ee10de306f2510$export$cd4e5573fbe2b576(c);if(!l&&s&&_(r)&&!m(s,r)){p=r;let h=u.$d4ee10de306f2510$export$e58f029f0fbfdb29(d);if(h&&h.isConnected){var $;t.current=h,($=t.current)===null||$===void 0||$.focus()}else p.current&&C(p.current)}})};return c.addEventListener("keydown",i,!1),c.addEventListener("focusin",a,!1),o==null||o.forEach(d=>d.addEventListener("focusin",a,!1)),o==null||o.forEach(d=>d.addEventListener("focusout",b,!1)),()=>{c.removeEventListener("keydown",i,!1),c.removeEventListener("focusin",a,!1),o==null||o.forEach(d=>d.removeEventListener("focusin",a,!1)),o==null||o.forEach(d=>d.removeEventListener("focusout",b,!1))}},[r,e]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function P(r){return m(r)}function E(r,e){return!r||!e?!1:e.some(t=>t.contains(r))}function m(r,e=null){if(r instanceof Element&&r.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:t}of v.traverse(v.getTreeNode(e)))if(t&&E(r,t.current))return!0;return!1}function J(r){return m(r,p)}function g(r,e){var t;let n=(t=v.getTreeNode(e))===null||t===void 0?void 0:t.parent;for(;n;){if(n.scopeRef===r)return!0;n=n.parent}return!1}function w(r,e=!1){if(r!=null&&!e)try{(0,V.$3ad3f6e1647bc98d$export$80f3e147d781571c)(r)}catch{}else if(r!=null)try{r.focus()}catch{}}function W(r,e=!0){let t=r[0].previousElementSibling,n=k(r),o=x(n,{tabbable:e},r);o.currentNode=t;let c=o.nextNode();return e&&!c&&(n=k(r),o=x(n,{tabbable:!1},r),o.currentNode=t,c=o.nextNode()),c}function C(r,e=!0){w(W(r,e))}function Y(r,e){const t=N.useRef(e);N.useEffect(()=>{if(t.current){p=r;const n=u.$431fbd86ca7dc216$export$b204af158042fbac(r.current?r.current[0]:void 0);!E(u.$d4ee10de306f2510$export$cd4e5573fbe2b576(n),p.current)&&r.current&&C(r.current)}t.current=!1},[r])}function Q(r,e,t){T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{if(e||t)return;let n=r.current;const o=u.$431fbd86ca7dc216$export$b204af158042fbac(n?n[0]:void 0);let c=i=>{let a=u.$d4ee10de306f2510$export$e58f029f0fbfdb29(i);E(a,r.current)?p=r:P(a)||(p=null)};return o.addEventListener("focusin",c,!1),n==null||n.forEach(i=>i.addEventListener("focusin",c,!1)),()=>{o.removeEventListener("focusin",c,!1),n==null||n.forEach(i=>i.removeEventListener("focusin",c,!1))}},[r,e,t])}function D(r){let e=v.getTreeNode(p);for(;e&&e.scopeRef!==r;){if(e.nodeToRestore)return!1;e=e.parent}return(e==null?void 0:e.scopeRef)===r}function X(r,e,t){const n=N.useRef(typeof document<"u"?u.$d4ee10de306f2510$export$cd4e5573fbe2b576(u.$431fbd86ca7dc216$export$b204af158042fbac(r.current?r.current[0]:void 0)):null);T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let o=r.current;const c=u.$431fbd86ca7dc216$export$b204af158042fbac(o?o[0]:void 0);if(!e||t)return;let i=()=>{(!p||g(p,r))&&E(u.$d4ee10de306f2510$export$cd4e5573fbe2b576(c),r.current)&&(p=r)};return c.addEventListener("focusin",i,!1),o==null||o.forEach(a=>a.addEventListener("focusin",i,!1)),()=>{c.removeEventListener("focusin",i,!1),o==null||o.forEach(a=>a.removeEventListener("focusin",i,!1))}},[r,t]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{const o=u.$431fbd86ca7dc216$export$b204af158042fbac(r.current?r.current[0]:void 0);if(!e)return;let c=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!_(r)||i.isComposing)return;let a=o.activeElement;if(!m(a,r)||!D(r))return;let b=v.getTreeNode(r);if(!b)return;let d=b.nodeToRestore,f=x(o.body,{tabbable:!0});f.currentNode=a;let l=i.shiftKey?f.previousNode():f.nextNode();if((!d||!d.isConnected||d===o.body)&&(d=void 0,b.nodeToRestore=void 0),(!l||!m(l,r))&&d){f.currentNode=d;do l=i.shiftKey?f.previousNode():f.nextNode();while(m(l,r));i.preventDefault(),i.stopPropagation(),l?w(l,!0):P(d)?w(d,!0):a.blur()}};return t||o.addEventListener("keydown",c,!0),()=>{t||o.removeEventListener("keydown",c,!0)}},[r,e,t]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{const o=u.$431fbd86ca7dc216$export$b204af158042fbac(r.current?r.current[0]:void 0);if(!e)return;let c=v.getTreeNode(r);if(c){var i;return c.nodeToRestore=(i=n.current)!==null&&i!==void 0?i:void 0,()=>{let a=v.getTreeNode(r);if(!a)return;let b=a.nodeToRestore,d=u.$d4ee10de306f2510$export$cd4e5573fbe2b576(o);if(e&&b&&(d&&m(d,r)||d===o.body&&D(r))){let f=v.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let l=f.getTreeNode(r);for(;l;){if(l.nodeToRestore&&l.nodeToRestore.isConnected){I(l.nodeToRestore);return}l=l.parent}for(l=f.getTreeNode(r);l;){if(l.scopeRef&&l.scopeRef.current&&v.getTreeNode(l.scopeRef)){let s=W(l.scopeRef.current,!0);I(s);return}l=l.parent}}})}}}},[r,e])}function I(r){r.dispatchEvent(new CustomEvent(F,{bubbles:!0,cancelable:!0}))&&w(r)}function x(r,e,t){let n=e!=null&&e.tabbable?u.$b4b717babfbb907b$export$bebd5a1431fec25d:u.$b4b717babfbb907b$export$4c063cf1350e6fed,o=(r==null?void 0:r.nodeType)===Node.ELEMENT_NODE?r:null,c=u.$431fbd86ca7dc216$export$b204af158042fbac(o),i=z(c,r||c,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var b;return!(e==null||(b=e.from)===null||b===void 0)&&b.contains(a)?NodeFilter.FILTER_REJECT:n(a)&&K(a)&&(!t||E(a,t))&&(!(e!=null&&e.accept)||e.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return e!=null&&e.from&&(i.currentNode=e.from),i}function Z(r,e={}){return{focusNext(t={}){let n=r.current;if(!n)return null;let{from:o,tabbable:c=e.tabbable,wrap:i=e.wrap,accept:a=e.accept}=t,b=o||u.$d4ee10de306f2510$export$cd4e5573fbe2b576(u.$431fbd86ca7dc216$export$b204af158042fbac(n)),d=x(n,{tabbable:c,accept:a});n.contains(b)&&(d.currentNode=b);let f=d.nextNode();return!f&&i&&(d.currentNode=n,f=d.nextNode()),f&&w(f,!0),f},focusPrevious(t=e){let n=r.current;if(!n)return null;let{from:o,tabbable:c=e.tabbable,wrap:i=e.wrap,accept:a=e.accept}=t,b=o||u.$d4ee10de306f2510$export$cd4e5573fbe2b576(u.$431fbd86ca7dc216$export$b204af158042fbac(n)),d=x(n,{tabbable:c,accept:a});if(n.contains(b))d.currentNode=b;else{let l=R(d);return l&&w(l,!0),l??null}let f=d.previousNode();if(!f&&i){d.currentNode=n;let l=R(d);if(!l)return null;f=l}return f&&w(f,!0),f??null},focusFirst(t=e){let n=r.current;if(!n)return null;let{tabbable:o=e.tabbable,accept:c=e.accept}=t,a=x(n,{tabbable:o,accept:c}).nextNode();return a&&w(a,!0),a},focusLast(t=e){let n=r.current;if(!n)return null;let{tabbable:o=e.tabbable,accept:c=e.accept}=t,i=x(n,{tabbable:o,accept:c}),a=R(i);return a&&w(a,!0),a??null}}}function R(r){let e,t;do t=r.lastChild(),t&&(e=t);while(t);return e}class M{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let o=this.fastMap.get(t??null);if(!o)return;let c=new L({scopeRef:e});o.addChild(c),c.parent=o,this.fastMap.set(e,c),n&&(c.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(e===null)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let c of this.traverse())c!==t&&t.nodeToRestore&&c.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&E(c.nodeToRestore,t.scopeRef.current)&&(c.nodeToRestore=t.nodeToRestore);let o=t.children;n&&(n.removeChild(t),o.size>0&&o.forEach(c=>n&&n.addChild(c))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(e.scopeRef!=null&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e;let t=new M;var n;for(let o of this.traverse())t.addTreeNode(o.scopeRef,(n=(e=o.parent)===null||e===void 0?void 0:e.scopeRef)!==null&&n!==void 0?n:null,o.nodeToRestore);return t}constructor(){this.fastMap=new Map,this.root=new L({scopeRef:null}),this.fastMap.set(null,this.root)}}class L{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let v=new M;exports.$9bf71ea28793e738$export$1258395f99bf9cbf=J;exports.$9bf71ea28793e738$export$20e40289641fbbb6=G;exports.$9bf71ea28793e738$export$2d6ec8fc375ceafa=x;exports.$9bf71ea28793e738$export$c5251b9e124bf29=Z;
@@ -1,6 +1,6 @@
1
- import { m as j, g as P, a as B, e as T, d as $, f as _, n as J, o as Y, p as Q, q as X, r as Z } from "./useHover-qRAon4nS.js";
2
- import { $ as m } from "./utils-HNTsIwux.js";
3
- import { a as O } from "./focusSafely-C48ucRUz.js";
1
+ import { m as j, g as P, a as B, e as T, d as $, f as _, n as J, o as Y, p as Q, q as X, r as Z } from "./useHover-DjIHtjGN.js";
2
+ import { $ as m } from "./utils-DIMfEPAt.js";
3
+ import { a as O } from "./useFocusable-C8uh8K4g.js";
4
4
  import F, { useRef as g, useContext as ee, useMemo as L, useEffect as q } from "react";
5
5
  class te {
6
6
  get currentNode() {
@@ -169,11 +169,11 @@ function he(r) {
169
169
  t
170
170
  ]), m(() => {
171
171
  var s;
172
- let b = (s = a.current) === null || s === void 0 ? void 0 : s.nextSibling, v = [], x = (C) => C.stopPropagation();
172
+ let b = (s = a.current) === null || s === void 0 ? void 0 : s.nextSibling, v = [], S = (C) => C.stopPropagation();
173
173
  for (; b && b !== l.current; )
174
- v.push(b), b.addEventListener(M, x), b = b.nextSibling;
174
+ v.push(b), b.addEventListener(M, S), b = b.nextSibling;
175
175
  return i.current = v, () => {
176
- for (let C of v) C.removeEventListener(M, x);
176
+ for (let C of v) C.removeEventListener(M, S);
177
177
  };
178
178
  }, [
179
179
  e
@@ -188,8 +188,8 @@ function he(r) {
188
188
  i
189
189
  ]), m(() => () => {
190
190
  var s, b, v;
191
- let x = (v = (b = N.getTreeNode(i)) === null || b === void 0 || (s = b.parent) === null || s === void 0 ? void 0 : s.scopeRef) !== null && v !== void 0 ? v : null;
192
- (i === h || R(i, h)) && (!x || N.getTreeNode(x)) && (h = x), N.removeTreeNode(i);
191
+ let S = (v = (b = N.getTreeNode(i)) === null || b === void 0 || (s = b.parent) === null || s === void 0 ? void 0 : s.scopeRef) !== null && v !== void 0 ? v : null;
192
+ (i === h || R(i, h)) && (!S || N.getTreeNode(S)) && (h = S), N.removeTreeNode(i);
193
193
  }, [
194
194
  i
195
195
  ]);
@@ -217,7 +217,7 @@ function ie(r) {
217
217
  focusNext(e = {}) {
218
218
  let t = r.current, { from: n, tabbable: o, wrap: a, accept: l } = e;
219
219
  var i;
220
- let f = n || T($((i = t[0]) !== null && i !== void 0 ? i : void 0)), u = t[0].previousElementSibling, d = S(t), c = w(d, {
220
+ let f = n || T($((i = t[0]) !== null && i !== void 0 ? i : void 0)), u = t[0].previousElementSibling, d = x(t), c = w(d, {
221
221
  tabbable: o,
222
222
  accept: l
223
223
  }, t);
@@ -228,7 +228,7 @@ function ie(r) {
228
228
  focusPrevious(e = {}) {
229
229
  let t = r.current, { from: n, tabbable: o, wrap: a, accept: l } = e;
230
230
  var i;
231
- let f = n || T($((i = t[0]) !== null && i !== void 0 ? i : void 0)), u = t[t.length - 1].nextElementSibling, d = S(t), c = w(d, {
231
+ let f = n || T($((i = t[0]) !== null && i !== void 0 ? i : void 0)), u = t[t.length - 1].nextElementSibling, d = x(t), c = w(d, {
232
232
  tabbable: o,
233
233
  accept: l
234
234
  }, t);
@@ -237,7 +237,7 @@ function ie(r) {
237
237
  return !s && a && (c.currentNode = u, s = c.previousNode()), s && p(s, !0), s;
238
238
  },
239
239
  focusFirst(e = {}) {
240
- let t = r.current, { tabbable: n, accept: o } = e, a = S(t), l = w(a, {
240
+ let t = r.current, { tabbable: n, accept: o } = e, a = x(t), l = w(a, {
241
241
  tabbable: n,
242
242
  accept: o
243
243
  }, t);
@@ -246,7 +246,7 @@ function ie(r) {
246
246
  return i && p(i, !0), i;
247
247
  },
248
248
  focusLast(e = {}) {
249
- let t = r.current, { tabbable: n, accept: o } = e, a = S(t), l = w(a, {
249
+ let t = r.current, { tabbable: n, accept: o } = e, a = x(t), l = w(a, {
250
250
  tabbable: n,
251
251
  accept: o
252
252
  }, t);
@@ -256,7 +256,7 @@ function ie(r) {
256
256
  }
257
257
  };
258
258
  }
259
- function S(r) {
259
+ function x(r) {
260
260
  return r[0].parentElement;
261
261
  }
262
262
  function y(r) {
@@ -280,7 +280,7 @@ function ae(r, e) {
280
280
  if (u.key !== "Tab" || u.altKey || u.ctrlKey || u.metaKey || !y(r) || u.isComposing) return;
281
281
  let d = T(a), c = r.current;
282
282
  if (!c || !E(d, c)) return;
283
- let s = S(c), b = w(s, {
283
+ let s = x(c), b = w(s, {
284
284
  tabbable: !0
285
285
  }, c);
286
286
  if (!d) return;
@@ -349,12 +349,12 @@ function p(r, e = !1) {
349
349
  }
350
350
  }
351
351
  function G(r, e = !0) {
352
- let t = r[0].previousElementSibling, n = S(r), o = w(n, {
352
+ let t = r[0].previousElementSibling, n = x(r), o = w(n, {
353
353
  tabbable: e
354
354
  }, r);
355
355
  o.currentNode = t;
356
356
  let a = o.nextNode();
357
- return e && !a && (n = S(r), o = w(n, {
357
+ return e && !a && (n = x(r), o = w(n, {
358
358
  tabbable: !1
359
359
  }, r), o.currentNode = t, a = o.nextNode()), a;
360
360
  }
@@ -1,8 +1,8 @@
1
- import { a as H, b as h, d as m } from "./utils-HNTsIwux.js";
1
+ import { a as H, b as h, c as m } from "./utils-DIMfEPAt.js";
2
2
  import x, { forwardRef as p, createContext as F } from "react";
3
- import { $ as P } from "./useHover-qRAon4nS.js";
4
- import { $ as _ } from "./useFocusRing-BDGH3lpn.js";
5
- const C = /* @__PURE__ */ F({}), I = /* @__PURE__ */ p(function(e, i) {
3
+ import { $ as P } from "./useHover-DjIHtjGN.js";
4
+ import { $ as _ } from "./useFocusRing-XnR3cZjO.js";
5
+ const C = /* @__PURE__ */ F({}), S = /* @__PURE__ */ p(function(e, i) {
6
6
  [e, i] = H(e, i, C);
7
7
  let { isDisabled: a, isInvalid: d, onHoverStart: f, onHoverChange: u, onHoverEnd: v, ...c } = e, { hoverProps: $, isHovered: s } = P({
8
8
  onHoverStart: f,
@@ -39,6 +39,6 @@ const C = /* @__PURE__ */ F({}), I = /* @__PURE__ */ p(function(e, i) {
39
39
  }, l.children);
40
40
  });
41
41
  export {
42
- I as $,
42
+ S as $,
43
43
  C as a
44
44
  };
@@ -1,9 +1,9 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
2
  import { c as l } from "./clsx-OuTLNxxd.js";
3
3
  import { $ as _ } from "./RSPContexts-BW2SEIqe.js";
4
- import { a as m } from "./utils-HNTsIwux.js";
4
+ import { a as m } from "./utils-DIMfEPAt.js";
5
5
  import i, { forwardRef as d } from "react";
6
- import './assets/Heading.css';const $ = /* @__PURE__ */ d(function(t, a) {
6
+ import './assets/Heading.css';const u = /* @__PURE__ */ d(function(t, a) {
7
7
  [t, a] = m(t, a, _);
8
8
  let { children: f, level: h = 3, className: s, ...o } = t, c = `h${h}`;
9
9
  return /* @__PURE__ */ i.createElement(c, {
@@ -11,13 +11,13 @@ import './assets/Heading.css';const $ = /* @__PURE__ */ d(function(t, a) {
11
11
  ref: a,
12
12
  className: s ?? "react-aria-Heading"
13
13
  }, f);
14
- }), u = "_h1_f2fu6_4", p = "_h2_f2fu6_5", x = "_h3_f2fu6_6", v = "_h4_f2fu6_7", b = "_h5_f2fu6_8", H = "_h6_f2fu6_9", e = {
15
- h1: u,
14
+ }), $ = "_h1_f2fu6_4", p = "_h2_f2fu6_5", x = "_h3_f2fu6_6", v = "_h4_f2fu6_7", H = "_h5_f2fu6_8", N = "_h6_f2fu6_9", e = {
15
+ h1: $,
16
16
  h2: p,
17
17
  h3: x,
18
18
  h4: v,
19
- h5: b,
20
- h6: H
19
+ h5: H,
20
+ h6: N
21
21
  }, w = ({
22
22
  children: r,
23
23
  className: t,
@@ -28,7 +28,7 @@ import './assets/Heading.css';const $ = /* @__PURE__ */ d(function(t, a) {
28
28
  }) => {
29
29
  const o = h && parseInt(h.split("h")[1]);
30
30
  return /* @__PURE__ */ n(
31
- $,
31
+ u,
32
32
  {
33
33
  level: o || f,
34
34
  className: l(
@@ -1 +1 @@
1
- "use strict";require('./assets/Heading.css');const o=require("react/jsx-runtime"),i=require("./clsx-C11secjj.cjs"),u=require("./RSPContexts-D8hmBfGm.cjs"),_=require("./utils-BNtZbAib.cjs"),f=require("react"),d=f.forwardRef(function(t,s){[t,s]=_.$64fa3d84918910a7$export$29f1550f4b0d4415(t,s,u.$4e85f108e88277b8$export$d688439359537581);let{children:c,level:a=3,className:n,...h}=t,l=`h${a}`;return f.createElement(l,{...h,ref:s,className:n??"react-aria-Heading"},c)}),$="_h1_f2fu6_4",x="_h2_f2fu6_5",m="_h3_f2fu6_6",q="_h4_f2fu6_7",v="_h5_f2fu6_8",b="_h6_f2fu6_9",e={h1:$,h2:x,h3:m,h4:q,h5:v,h6:b},g=({children:r,className:t,isExpressive:s=!1,level:c=3,elementType:a,...n})=>{const h=a&&parseInt(a.split("h")[1]);return o.jsx(d,{level:h||c,className:i.clsx([e.h1,e.h2,e.h3,e.h4,e.h5,e.h6][c-1],t),...s&&{"data-expressive":!0},...n,children:r})};exports.Heading=g;
1
+ "use strict";require('./assets/Heading.css');const o=require("react/jsx-runtime"),i=require("./clsx-C11secjj.cjs"),u=require("./RSPContexts-D8hmBfGm.cjs"),_=require("./utils-BNtZbAib.cjs"),f=require("react"),d=f.forwardRef(function(t,s){[t,s]=_.$64fa3d84918910a7$export$29f1550f4b0d4415(t,s,u.$4e85f108e88277b8$export$d688439359537581);let{children:c,level:h=3,className:n,...a}=t,l=`h${h}`;return f.createElement(l,{...a,ref:s,className:n??"react-aria-Heading"},c)}),$="_h1_f2fu6_4",x="_h2_f2fu6_5",m="_h3_f2fu6_6",q="_h4_f2fu6_7",v="_h5_f2fu6_8",g="_h6_f2fu6_9",e={h1:$,h2:x,h3:m,h4:q,h5:v,h6:g},H=({children:r,className:t,isExpressive:s=!1,level:c=3,elementType:h,...n})=>{const a=h&&parseInt(h.split("h")[1]);return o.jsx(d,{level:a||c,className:i.clsx([e.h1,e.h2,e.h3,e.h4,e.h5,e.h6][c-1],t),...s&&{"data-expressive":!0},...n,children:r})};exports.Heading=H;
@@ -24,11 +24,11 @@ function s(e) {
24
24
  let a = (n, d) => i(r) ? null : e(n, d);
25
25
  return a.displayName = e.displayName || e.name, l(a);
26
26
  }
27
- function b() {
27
+ function p() {
28
28
  return i(r);
29
29
  }
30
30
  export {
31
31
  s as $,
32
32
  f as a,
33
- b
33
+ p as b
34
34
  };
@@ -1,9 +1,10 @@
1
1
  import { jsxs as t, jsx as n } from "react/jsx-runtime";
2
- import * as g from "react";
3
- import { c as p } from "./clsx-OuTLNxxd.js";
4
- import { B as h } from "./Button-CbFRzRrF.js";
2
+ import * as p from "react";
3
+ import { c as g } from "./clsx-OuTLNxxd.js";
4
+ import { B as h } from "./Button-Csih3v23.js";
5
5
  import { T as _ } from "./triangle-alert-wxyxspAl.js";
6
- import { C as u, I as z, a as k } from "./info-DkzVqB8I.js";
6
+ import { C as u, a as z } from "./circle-check-B9HYcH7Z.js";
7
+ import { I as k } from "./info-BZwphdye.js";
7
8
  import { X as b } from "./x-JK7i-TQC.js";
8
9
  import './assets/InfoBanner.css';const x = '"../theme/tokens.css"', w = "_infoBanner_cszz3_4", B = "_success_cszz3_14", N = "_info_cszz3_4", I = "_important_cszz3_24", v = "_warning_cszz3_29", C = "_content_cszz3_38", S = "_heading_cszz3_44", j = "_text_cszz3_49", y = "_icon_cszz3_55", A = "_dismissable_cszz3_60", s = {
9
10
  tokens: x,
@@ -29,25 +30,25 @@ import './assets/InfoBanner.css';const x = '"../theme/tokens.css"', w = "_infoBa
29
30
  icon: y,
30
31
  dismissable: A
31
32
  }, T = {
32
- success: k,
33
- info: z,
33
+ success: z,
34
+ info: k,
34
35
  important: u,
35
36
  warning: _
36
- }, D = ({
37
+ }, F = ({
37
38
  title: r,
38
- message: i,
39
+ message: a,
39
40
  type: o,
40
41
  children: e,
41
42
  dismissable: c = !1,
42
43
  isDismissable: f = !1,
43
- ...a
44
+ ...i
44
45
  }) => {
45
- const d = T[o], [l, m] = g.useState(!0);
46
+ const d = T[o], [l, m] = p.useState(!0);
46
47
  return l ? /* @__PURE__ */ t(
47
48
  "div",
48
49
  {
49
- ...a,
50
- className: p(s.infoBanner, s[o], a.className),
50
+ ...i,
51
+ className: g(s.infoBanner, s[o], i.className),
51
52
  children: [
52
53
  /* @__PURE__ */ n(
53
54
  d,
@@ -60,7 +61,7 @@ import './assets/InfoBanner.css';const x = '"../theme/tokens.css"', w = "_infoBa
60
61
  /* @__PURE__ */ t("div", { className: s.content, children: [
61
62
  r && /* @__PURE__ */ n("strong", { className: s.heading, children: r }),
62
63
  /* @__PURE__ */ t("div", { className: s.text, children: [
63
- i,
64
+ a,
64
65
  e
65
66
  ] })
66
67
  ] }),
@@ -78,5 +79,5 @@ import './assets/InfoBanner.css';const x = '"../theme/tokens.css"', w = "_infoBa
78
79
  ) : null;
79
80
  };
80
81
  export {
81
- D as I
82
+ F as I
82
83
  };
@@ -0,0 +1 @@
1
+ "use strict";require('./assets/InfoBanner.css');const e=require("react/jsx-runtime"),g=require("react"),_=require("./clsx-C11secjj.cjs"),h=require("./Button-BoJl6JGM.cjs"),p=require("./triangle-alert-DJW8U7jL.cjs"),o=require("./circle-check-BGo8gML8.cjs"),m=require("./info-CIEIENo6.cjs"),k=require("./x-H8Zrx8-x.cjs");function z(n){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const s in n)if(s!=="default"){const c=Object.getOwnPropertyDescriptor(n,s);Object.defineProperty(r,s,c.get?c:{enumerable:!0,get:()=>n[s]})}}return r.default=n,Object.freeze(r)}const b=z(g),x='"../theme/tokens.css"',j="_infoBanner_cszz3_4",w="_success_cszz3_14",q="_info_cszz3_4",B="_important_cszz3_24",N="_warning_cszz3_29",v="_content_cszz3_38",y="_heading_cszz3_44",I="_text_cszz3_49",O="_icon_cszz3_55",S="_dismissable_cszz3_60",t={tokens:x,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--line-height-40":"1.375rem","--support-border-success":"light-dark(#008d3c, #008d3c)","--support-background-success":"light-dark(#d5f2d9, light-dark(#f2f2f2, #262626))","--support-border-info":"light-dark(#0066cc, #0066cc)","--support-background-info":"light-dark(#eaf2f6, light-dark(#f2f2f2, #262626))","--support-border-warning":"light-dark(#e62323, #e62323)","--support-background-warning":"light-dark(#ffdfdf, light-dark(#f2f2f2, #262626))","--support-border-important":"light-dark(#fdb813, #fdb813)","--support-background-important":"light-dark(#fff8e1, light-dark(#f2f2f2, #262626))",infoBanner:j,success:w,info:q,important:B,warning:N,content:v,heading:y,text:I,icon:O,dismissable:S},C={success:o.CircleCheck,info:m.Info,important:o.CircleAlert,warning:p.TriangleAlert},A=({title:n,message:r,type:s,children:c,dismissable:a=!1,isDismissable:l=!1,...i})=>{const f=C[s],[d,u]=b.useState(!0);return d?e.jsxs("div",{...i,className:_.clsx(t.infoBanner,t[s],i.className),children:[e.jsx(f,{size:20,"aria-hidden":!0,className:t.icon}),e.jsxs("div",{className:t.content,children:[n&&e.jsx("strong",{className:t.heading,children:n}),e.jsxs("div",{className:t.text,children:[r,c]})]}),(a||l)&&e.jsx("div",{className:t.dismissable,children:e.jsx(h.Button,{variant:"icon","aria-label":"Stäng",onPress:()=>u(!1),children:e.jsx(k.X,{size:20})})})]}):null};exports.InfoBanner=A;
@@ -1,22 +1,22 @@
1
- import { a as c, b as $, d as u } from "./utils-HNTsIwux.js";
2
- import { $ as l } from "./Hidden-B5ir3Lei.js";
1
+ import { a as c, b as $, c as u } from "./utils-DIMfEPAt.js";
2
+ import { $ as l } from "./Hidden-C9KWUR7b.js";
3
3
  import b, { createContext as v } from "react";
4
- import { $ as m } from "./useHover-qRAon4nS.js";
5
- import { $ as x } from "./useFocusRing-BDGH3lpn.js";
4
+ import { $ as m } from "./useHover-DjIHtjGN.js";
5
+ import { $ as x } from "./useFocusRing-XnR3cZjO.js";
6
6
  const H = /* @__PURE__ */ v({});
7
- let F = (o) => {
8
- let { onHoverStart: e, onHoverChange: a, onHoverEnd: t, ...d } = o;
9
- return d;
7
+ let F = (d) => {
8
+ let { onHoverStart: e, onHoverChange: a, onHoverEnd: t, ...o } = d;
9
+ return o;
10
10
  };
11
11
  const E = /* @__PURE__ */ l(function(e, a) {
12
12
  [e, a] = c(e, a, H);
13
- let { hoverProps: t, isHovered: d } = m(e), { isFocused: i, isFocusVisible: r, focusProps: f } = x({
13
+ let { hoverProps: t, isHovered: o } = m(e), { isFocused: i, isFocusVisible: r, focusProps: f } = x({
14
14
  isTextInput: !0,
15
15
  autoFocus: e.autoFocus
16
16
  }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", n = $({
17
17
  ...e,
18
18
  values: {
19
- isHovered: d,
19
+ isHovered: o,
20
20
  isFocused: i,
21
21
  isFocusVisible: r,
22
22
  isDisabled: e.disabled || !1,
@@ -30,7 +30,7 @@ const E = /* @__PURE__ */ l(function(e, a) {
30
30
  ref: a,
31
31
  "data-focused": i || void 0,
32
32
  "data-disabled": e.disabled || void 0,
33
- "data-hovered": d || void 0,
33
+ "data-hovered": o || void 0,
34
34
  "data-focus-visible": r || void 0,
35
35
  "data-invalid": s || void 0
36
36
  });
@@ -0,0 +1 @@
1
+ "use strict";require('./assets/Label.css');const t=require("react/jsx-runtime"),a=require("react"),b=require("./clsx-C11secjj.cjs"),u=require("./Button-htW9qIsS.cjs"),d=require("./Popover-CqNWzPf-.cjs"),f=require("./Button-BoJl6JGM.cjs"),v=require("./Dialog-B8GTYbvu.cjs"),g=require("./info-CIEIENo6.cjs");function x(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const s=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(r,o,s.get?s:{enumerable:!0,get:()=>e[o]})}}return r.default=e,Object.freeze(r)}const P=x(a),j="_labelBase_khdpe_4",_={labelBase:j},m="_labelPopover_1ici8_4",q="_labelPopoverTrigger_1ici8_10",p={labelPopover:m,labelPopoverTrigger:q},O=({children:e,"aria-label":r="Mer information"})=>{const[o,s]=a.useState(!1),n=a.useContext(c);return t.jsxs(v.$de32f1b87079253c$export$2e1e1122cf0cba88,{isOpen:o,onOpenChange:s,children:[t.jsx(f.Button,{variant:"icon",size:"medium",className:p.labelPopoverTrigger,"aria-label":r,id:n==null?void 0:n.popoverId,children:t.jsx(g.Info,{size:20})}),t.jsx(d.Popover,{children:e})]})},c=a.createContext(void 0),T=({children:e,popover:r})=>{const o=a.useId();return r?t.jsx(c.Provider,{value:{popoverId:o},children:t.jsxs("div",{className:p.labelPopover,children:[e,t.jsx(O,{...r})]})}):e},i="label",$=({children:e,className:r,elementType:o=i,...s})=>{const n={className:b.clsx(_.labelBase,r),elementType:o||i,...s},l=P.useContext(c);return t.jsx(u.$01b77f81d0f07f68$export$b04be29aa201d4f5,{...n,"aria-describedby":l==null?void 0:l.popoverId,children:e})};exports.Label=$;exports.LabelWrapper=T;
@@ -0,0 +1,70 @@
1
+ import { jsxs as c, jsx as r } from "react/jsx-runtime";
2
+ import * as m from "react";
3
+ import t from "react";
4
+ import { c as f } from "./clsx-OuTLNxxd.js";
5
+ import { d } from "./Button-DjBChs7s.js";
6
+ import { P as v } from "./Popover-BGGXeD54.js";
7
+ import { B as P } from "./Button-Csih3v23.js";
8
+ import { $ as u } from "./Dialog-D14MbJ7o.js";
9
+ import { I as _ } from "./info-BZwphdye.js";
10
+ import './assets/Label.css';const g = "_labelBase_khdpe_4", x = {
11
+ labelBase: g
12
+ }, I = "_labelPopover_1ici8_4", $ = "_labelPopoverTrigger_1ici8_10", b = {
13
+ labelPopover: I,
14
+ labelPopoverTrigger: $
15
+ }, T = ({
16
+ children: e,
17
+ "aria-label": o = "Mer information"
18
+ }) => {
19
+ const [a, l] = t.useState(!1), s = t.useContext(i);
20
+ return /* @__PURE__ */ c(
21
+ u,
22
+ {
23
+ isOpen: a,
24
+ onOpenChange: l,
25
+ children: [
26
+ /* @__PURE__ */ r(
27
+ P,
28
+ {
29
+ variant: "icon",
30
+ size: "medium",
31
+ className: b.labelPopoverTrigger,
32
+ "aria-label": o,
33
+ id: s == null ? void 0 : s.popoverId,
34
+ children: /* @__PURE__ */ r(_, { size: 20 })
35
+ }
36
+ ),
37
+ /* @__PURE__ */ r(v, { children: e })
38
+ ]
39
+ }
40
+ );
41
+ }, i = t.createContext(void 0), j = ({ children: e, popover: o }) => {
42
+ const a = t.useId();
43
+ return o ? /* @__PURE__ */ r(i.Provider, { value: { popoverId: a }, children: /* @__PURE__ */ c("div", { className: b.labelPopover, children: [
44
+ e,
45
+ /* @__PURE__ */ r(T, { ...o })
46
+ ] }) }) : e;
47
+ }, p = "label", z = ({
48
+ children: e,
49
+ className: o,
50
+ elementType: a = p,
51
+ ...l
52
+ }) => {
53
+ const s = {
54
+ className: f(x.labelBase, o),
55
+ elementType: a || p,
56
+ ...l
57
+ }, n = m.useContext(i);
58
+ return /* @__PURE__ */ r(
59
+ d,
60
+ {
61
+ ...s,
62
+ "aria-describedby": n == null ? void 0 : n.popoverId,
63
+ children: e
64
+ }
65
+ );
66
+ };
67
+ export {
68
+ z as L,
69
+ j as a
70
+ };
@@ -1,4 +1,4 @@
1
- "use strict";require('./assets/Layout.css');const e=require("react/jsx-runtime"),y=require("./GridItem-XgHmZWXY.cjs"),w=require("react"),m=require("./clsx-C11secjj.cjs"),k=require("./Button-iSiWjocA.cjs"),f=require("./Link-SHMbeyIP.cjs"),L=require("./Tooltip-CiWg4zIC.cjs"),u=require("./BadgeContainer-DeUgqGqb.cjs"),C=require("./createLucideIcon-DAY4oS-S.cjs"),B=require("./usePress-BFa6cT9o.cjs"),q=require("./tokens-p6pg1Cea.cjs"),N=require("./Logo-DT2_2O43.cjs"),O=require("./x-CvxiAZTW.cjs");function z(a){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const r in a)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(a,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>a[r]})}}return t.default=a,Object.freeze(t)}const _=z(w);/**
1
+ "use strict";require('./assets/Layout.css');const e=require("react/jsx-runtime"),y=require("./GridItem-XgHmZWXY.cjs"),q=require("react"),m=require("./clsx-C11secjj.cjs"),k=require("./Button-BoJl6JGM.cjs"),f=require("./Link-BQhauBuw.cjs"),L=require("./Tooltip-DeBuBKhS.cjs"),u=require("./BadgeContainer-I1XA3OCl.cjs"),C=require("./createLucideIcon-Cg_wkoIA.cjs"),B=require("./usePress-0AjDbW9R.cjs"),O=require("./tokens-p6pg1Cea.cjs"),N=require("./Logo-DT2_2O43.cjs"),$=require("./x-H8Zrx8-x.cjs");function z(a){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const r in a)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(a,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>a[r]})}}return t.default=a,Object.freeze(t)}const _=z(q);/**
2
2
  * @license lucide-react v0.453.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -13,4 +13,4 @@
13
13
  *
14
14
  * This source code is licensed under the ISC license.
15
15
  * See the LICENSE file in the root directory of this source tree.
16
- */const G=C.createLucideIcon("PanelLeftOpen",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]]),D="_baseLayout_12xoh_4",R="_mainContent_12xoh_13",W="_header_12xoh_18",A="_headerExternal_12xoh_29",F="_headerContent_12xoh_44",X="_logo_12xoh_63",J="_headerItems_12xoh_72",K="_toggleButton_12xoh_78",Q="_sidebar_12xoh_86",U="_main_12xoh_13",V="_app_12xoh_123",Y="_sidebarOpened_12xoh_132",Z="_sidebarHeader_12xoh_136",ee="_appName_12xoh_148",se="_collapseButton_12xoh_155",ae="_sidebarCollapsed_12xoh_164",te="_userName_12xoh_174",ne="_userTitle_12xoh_193",re="_title_12xoh_205",oe="_sidebarNav_12xoh_216",ie="_list_12xoh_222",le="_listGroupTitle_12xoh_229",ce="_listItem_12xoh_236",de="_listItemCollapsed_12xoh_241",xe="_listLink_12xoh_245",he="_listLinkCollapsed_12xoh_290",pe="_active_12xoh_295",me="_backdrop_12xoh_309",_e="_backdropOpened_12xoh_319",ue="_skipToContent_12xoh_337",be="_navbar_12xoh_351",je="_navbarList_12xoh_363",ve="_navbarItem_12xoh_385",Ne="_headerContentExternal_12xoh_425",fe="_logoExternalContainer_12xoh_433",ke="_logoExternal_12xoh_433",Ce="_logoExternalDesktop_12xoh_445",ge="_navbarWrapper_12xoh_454",s={baseLayout:D,mainContent:R,header:W,headerExternal:A,headerContent:F,logo:X,headerItems:J,toggleButton:K,sidebar:Q,main:U,app:V,sidebarOpened:Y,sidebarHeader:Z,appName:ee,collapseButton:se,sidebarCollapsed:ae,userName:te,userTitle:ne,title:re,sidebarNav:oe,list:ie,listGroupTitle:le,listItem:ce,listItemCollapsed:de,listLink:xe,listLinkCollapsed:he,active:pe,backdrop:me,backdropOpened:_e,skipToContent:ue,navbar:be,navbarList:je,navbarItem:ve,headerContentExternal:Ne,logoExternalContainer:fe,logoExternal:ke,logoExternalDesktop:Ce,navbarWrapper:ge},S=_.createContext(void 0),ye=({items:a,title:t,user:r,app:n,children:i,clientSideRouter:c,clientSideHref:o,headerChildren:x,isCollapsed:h,setIsCollapsed:d,isOpened:p,setIsOpened:b,variant:v})=>e.jsx(S.Provider,{value:{items:a,title:t,user:r,app:n,headerChildren:x,isCollapsed:h,setIsCollapsed:d,isOpened:p,setIsOpened:b,clientSideRouter:c,clientSideHref:o,variant:v},children:i}),j=()=>{const a=_.useContext(S);if(!a)throw new Error("useLayoutContext must be used within a LayoutProvider");return a},g=({title:a,href:t,icon:r,active:n,hasBadge:i})=>{const{isCollapsed:c,setIsOpened:o}=j(),[x,h]=_.useState(!1);return _.useEffect(()=>{typeof window<"u"&&h(n??window.location.pathname===t)},[n,t]),c?e.jsxs(L.TooltipTrigger,{children:[e.jsx(f.$4f118338184dc1d9$export$a6c7ac8248d6e38a,{href:t,"aria-label":a,className:m.clsx(s.listLink,s.listLinkCollapsed,x&&s.active),onPress:()=>o==null?void 0:o(!1),children:e.jsxs(u.BadgeContainer,{children:[e.jsx(r,{size:20,"aria-label":a}),i&&e.jsx(u.Badge,{})]})}),e.jsx(L.Tooltip,{placement:"right",children:a})]}):e.jsxs(f.$4f118338184dc1d9$export$a6c7ac8248d6e38a,{href:t,"aria-label":a,className:m.clsx(s.listLink,x&&s.active),onPress:()=>o==null?void 0:o(!1),children:[e.jsxs(u.BadgeContainer,{children:[e.jsx(r,{size:20}),i&&e.jsx(u.Badge,{})]}),a]})},T=()=>{const{items:a,app:t,isOpened:r,isCollapsed:n,setIsCollapsed:i,setIsOpened:c,clientSideRouter:o,clientSideHref:x}=j(),h=({group:d})=>e.jsx("ul",{className:s.list,children:d.items.map((p,b)=>e.jsx("li",{className:m.clsx(s.listItem,n&&s.listItemCollapsed),children:e.jsx(g,{...p})},"link_"+b))});return _.useEffect(()=>{const d=p=>{p.key==="Escape"&&c!==void 0&&c(!1)};return window.addEventListener("keydown",d),()=>{window.removeEventListener("keydown",d)}},[c]),e.jsxs("aside",{id:"midasMainMenu",className:m.clsx(s.sidebar,n&&s.sidebarCollapsed,r&&s.sidebarOpened),children:[e.jsxs("div",{className:s.sidebarHeader,children:[!n&&e.jsx("p",{className:s.appName,children:t.name}),e.jsx(k.Button,{variant:"icon","aria-label":n?"Maximera sidomenyn":"Minimera sidomenyn",onPress:()=>i(!n),className:s.collapseButton,children:n?e.jsx(G,{size:20}):e.jsx(M,{size:20})})]}),e.jsx("nav",{className:s.sidebarNav,"aria-label":"Sidomeny",children:e.jsx("ul",{className:s.list,children:a.map((d,p)=>e.jsxs("li",{children:[d.title&&!n&&e.jsx("p",{className:s.listGroupTitle,children:d.title}),o?e.jsx(B.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb,{navigate:o,useHref:x,children:e.jsx(h,{group:d})}):e.jsx(h,{group:d})]},"list_"+p))})})]})},$=()=>{const{title:a,user:t,app:r,isOpened:n,setIsOpened:i,setIsCollapsed:c,headerChildren:o,variant:x}=j();return x==="external"?e.jsx("header",{className:m.clsx(s.header,s.headerExternal),children:e.jsxs("div",{className:s.headerContentExternal,children:[e.jsxs("div",{className:s.logoExternalContainer,children:[e.jsx(N.Logo,{size:"x-small",padding:!1,className:s.logoExternal}),e.jsx(N.Logo,{size:"small",padding:!1,className:s.logoExternalDesktop}),e.jsxs("div",{children:[e.jsx("p",{className:s.userName,children:t.name}),e.jsx("p",{className:s.userTitle,children:t.title})]})]}),e.jsx("div",{className:s.headerItems,children:o})]})}):e.jsxs("header",{className:s.header,style:{borderTop:`solid 4px ${r.color?r.color:q.semantic.brandPrimary}`},children:[e.jsxs("div",{className:s.headerContent,children:[e.jsx("div",{className:s.logo,children:e.jsx(N.Logo,{size:"small",padding:!1})}),n!==void 0&&e.jsx(k.Button,{variant:"icon",className:s.toggleButton,"aria-label":n?"Stäng meny":"Öppna meny","aria-controls":"midasMainMenu",onPressStart:()=>{c(!1),i==null||i(!0)},children:n?e.jsx(O.X,{size:20,"aria-hidden":"true"}):e.jsx(H,{size:20,"aria-hidden":"true"})}),e.jsxs("div",{children:[e.jsx("p",{className:s.userName,children:t.name}),e.jsx("p",{className:s.userTitle,children:t.title}),e.jsx("p",{className:s.title,children:a})]})]}),e.jsx("div",{className:s.headerItems,children:o})]})},E=({id:a="#main:first-of-type"})=>{const t=()=>{const r=document.querySelector(a);r&&(r.tabIndex=-1,r.focus(),setTimeout(()=>r.removeAttribute("tabindex"),1e3))};return e.jsx(k.Button,{onPress:t,className:s.skipToContent,children:"Hoppa till huvudinnehåll"})},Le=()=>{const{isOpened:a,setIsOpened:t}=j();return a?e.jsx("div",{className:m.clsx(s.backdrop,s.backdropOpened),onClick:()=>{t==null||t(!1)},"aria-hidden":!0}):null},P=()=>{var i;const{items:a,clientSideRouter:t,clientSideHref:r}=j(),n=(i=a.at(0))==null?void 0:i.items;return e.jsx("nav",{className:s.navbar,"aria-label":"Bottenmeny",children:n&&e.jsx("ul",{className:m.clsx(s.navbarList),children:t?e.jsx(B.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb,{navigate:t,useHref:r,children:e.jsx(I,{items:n})}):e.jsx(I,{items:n})})})},I=({items:a})=>e.jsx(e.Fragment,{children:a.map(({href:t,active:r,icon:n,title:i,hasBadge:c},o)=>e.jsx("li",{children:e.jsxs(f.$4f118338184dc1d9$export$a6c7ac8248d6e38a,{href:t,className:m.clsx(s.navbarItem),"data-active":r,"aria-current":r&&"page",children:[e.jsxs(u.BadgeContainer,{children:[e.jsx(n,{size:20}),c&&e.jsx(u.Badge,{})]}),i]})},o))}),l=({items:a,title:t,user:r,app:n,children:i,headerChildren:c,clientSideRouter:o,clientSideHref:x,variant:h})=>{const[d,p]=_.useState(!1),[b,v]=_.useState(!1);return h==="external"?e.jsx(l.Provider,{items:a,title:t,user:r,app:n,clientSideRouter:o,clientSideHref:x,headerChildren:c,isCollapsed:d,setIsCollapsed:p,variant:h,children:e.jsxs("div",{className:s.baseLayout,children:[e.jsx(E,{}),e.jsx(l.Header,{}),e.jsxs("div",{className:s.mainContent,children:[e.jsx(l.Sidebar,{}),e.jsx(y.GridItem,{children:e.jsx("main",{className:s.main,children:e.jsx("div",{className:s.app,children:i})})}),e.jsx(l.Backdrop,{})]}),e.jsx("div",{className:s.navbarWrapper,children:e.jsx(l.Navbar,{})})]})}):e.jsx(l.Provider,{items:a,title:t,user:r,app:n,clientSideRouter:o,clientSideHref:x,headerChildren:c,isCollapsed:d,setIsCollapsed:p,isOpened:b,setIsOpened:v,variant:h,children:e.jsxs("div",{className:s.baseLayout,children:[e.jsx(E,{}),e.jsx(l.Header,{}),e.jsxs("div",{className:s.mainContent,children:[e.jsx(l.Sidebar,{}),e.jsx(y.GridItem,{children:e.jsx("main",{className:s.main,children:e.jsx("div",{className:s.app,children:i})})}),e.jsx(l.Backdrop,{})]})]})})};l.Provider=ye;l.Header=$;l.Sidebar=T;l.SidebarLink=g;l.Navbar=P;l.Backdrop=Le;exports.Header=$;exports.Layout=l;exports.Navbar=P;exports.Sidebar=T;exports.SidebarLink=g;
16
+ */const G=C.createLucideIcon("PanelLeftOpen",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]]),D="_baseLayout_12xoh_4",R="_mainContent_12xoh_13",W="_header_12xoh_18",A="_headerExternal_12xoh_29",F="_headerContent_12xoh_44",X="_logo_12xoh_63",J="_headerItems_12xoh_72",K="_toggleButton_12xoh_78",Q="_sidebar_12xoh_86",U="_main_12xoh_13",V="_app_12xoh_123",Y="_sidebarOpened_12xoh_132",Z="_sidebarHeader_12xoh_136",ee="_appName_12xoh_148",se="_collapseButton_12xoh_155",ae="_sidebarCollapsed_12xoh_164",te="_userName_12xoh_174",ne="_userTitle_12xoh_193",re="_title_12xoh_205",oe="_sidebarNav_12xoh_216",ie="_list_12xoh_222",le="_listGroupTitle_12xoh_229",ce="_listItem_12xoh_236",de="_listItemCollapsed_12xoh_241",xe="_listLink_12xoh_245",he="_listLinkCollapsed_12xoh_290",pe="_active_12xoh_295",me="_backdrop_12xoh_309",_e="_backdropOpened_12xoh_319",ue="_skipToContent_12xoh_337",be="_navbar_12xoh_351",je="_navbarList_12xoh_363",ve="_navbarItem_12xoh_385",Ne="_headerContentExternal_12xoh_425",fe="_logoExternalContainer_12xoh_433",ke="_logoExternal_12xoh_433",Ce="_logoExternalDesktop_12xoh_445",ge="_navbarWrapper_12xoh_454",s={baseLayout:D,mainContent:R,header:W,headerExternal:A,headerContent:F,logo:X,headerItems:J,toggleButton:K,sidebar:Q,main:U,app:V,sidebarOpened:Y,sidebarHeader:Z,appName:ee,collapseButton:se,sidebarCollapsed:ae,userName:te,userTitle:ne,title:re,sidebarNav:oe,list:ie,listGroupTitle:le,listItem:ce,listItemCollapsed:de,listLink:xe,listLinkCollapsed:he,active:pe,backdrop:me,backdropOpened:_e,skipToContent:ue,navbar:be,navbarList:je,navbarItem:ve,headerContentExternal:Ne,logoExternalContainer:fe,logoExternal:ke,logoExternalDesktop:Ce,navbarWrapper:ge},T=_.createContext(void 0),ye=({items:a,title:t,user:r,app:n,children:i,clientSideRouter:c,clientSideHref:o,headerChildren:x,isCollapsed:h,setIsCollapsed:d,isOpened:p,setIsOpened:b,variant:v})=>e.jsx(T.Provider,{value:{items:a,title:t,user:r,app:n,headerChildren:x,isCollapsed:h,setIsCollapsed:d,isOpened:p,setIsOpened:b,clientSideRouter:c,clientSideHref:o,variant:v},children:i}),j=()=>{const a=_.useContext(T);if(!a)throw new Error("useLayoutContext must be used within a LayoutProvider");return a},g=({title:a,href:t,icon:r,active:n,hasBadge:i})=>{const{isCollapsed:c,setIsOpened:o}=j(),[x,h]=_.useState(!1);return _.useEffect(()=>{typeof window<"u"&&h(n??window.location.pathname===t)},[n,t]),c?e.jsxs(L.TooltipTrigger,{children:[e.jsx(f.$4f118338184dc1d9$export$a6c7ac8248d6e38a,{href:t,"aria-label":a,className:m.clsx(s.listLink,s.listLinkCollapsed,x&&s.active),onPress:()=>o==null?void 0:o(!1),children:e.jsxs(u.BadgeContainer,{children:[e.jsx(r,{size:20,"aria-label":a}),i&&e.jsx(u.Badge,{})]})}),e.jsx(L.Tooltip,{placement:"right",children:a})]}):e.jsxs(f.$4f118338184dc1d9$export$a6c7ac8248d6e38a,{href:t,"aria-label":a,className:m.clsx(s.listLink,x&&s.active),onPress:()=>o==null?void 0:o(!1),children:[e.jsxs(u.BadgeContainer,{children:[e.jsx(r,{size:20}),i&&e.jsx(u.Badge,{})]}),a]})},S=()=>{const{items:a,app:t,isOpened:r,isCollapsed:n,setIsCollapsed:i,setIsOpened:c,clientSideRouter:o,clientSideHref:x}=j(),h=({group:d})=>e.jsx("ul",{className:s.list,children:d.items.map((p,b)=>e.jsx("li",{className:m.clsx(s.listItem,n&&s.listItemCollapsed),children:e.jsx(g,{...p})},"link_"+b))});return _.useEffect(()=>{const d=p=>{p.key==="Escape"&&c!==void 0&&c(!1)};return window.addEventListener("keydown",d),()=>{window.removeEventListener("keydown",d)}},[c]),e.jsxs("aside",{id:"midasMainMenu",className:m.clsx(s.sidebar,n&&s.sidebarCollapsed,r&&s.sidebarOpened),children:[e.jsxs("div",{className:s.sidebarHeader,children:[!n&&e.jsx("p",{className:s.appName,children:t.name}),e.jsx(k.Button,{variant:"icon","aria-label":n?"Maximera sidomenyn":"Minimera sidomenyn",onPress:()=>i(!n),className:s.collapseButton,children:n?e.jsx(G,{size:20}):e.jsx(M,{size:20})})]}),e.jsx("nav",{className:s.sidebarNav,"aria-label":"Sidomeny",children:e.jsx("ul",{className:s.list,children:a.map((d,p)=>e.jsxs("li",{children:[d.title&&!n&&e.jsx("p",{className:s.listGroupTitle,children:d.title}),o?e.jsx(B.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb,{navigate:o,useHref:x,children:e.jsx(h,{group:d})}):e.jsx(h,{group:d})]},"list_"+p))})})]})},P=()=>{const{title:a,user:t,app:r,isOpened:n,setIsOpened:i,setIsCollapsed:c,headerChildren:o,variant:x}=j();return x==="external"?e.jsx("header",{className:m.clsx(s.header,s.headerExternal),children:e.jsxs("div",{className:s.headerContentExternal,children:[e.jsxs("div",{className:s.logoExternalContainer,children:[e.jsx(N.Logo,{size:"x-small",padding:!1,className:s.logoExternal}),e.jsx(N.Logo,{size:"small",padding:!1,className:s.logoExternalDesktop}),e.jsxs("div",{children:[e.jsx("p",{className:s.userName,children:t.name}),e.jsx("p",{className:s.userTitle,children:t.title})]})]}),e.jsx("div",{className:s.headerItems,children:o})]})}):e.jsxs("header",{className:s.header,style:{borderTop:`solid 4px ${r.color?r.color:O.semantic.brandPrimary}`},children:[e.jsxs("div",{className:s.headerContent,children:[e.jsx("div",{className:s.logo,children:e.jsx(N.Logo,{size:"small",padding:!1})}),n!==void 0&&e.jsx(k.Button,{variant:"icon",className:s.toggleButton,"aria-label":n?"Stäng meny":"Öppna meny","aria-controls":"midasMainMenu",onPressStart:()=>{c(!1),i==null||i(!0)},children:n?e.jsx($.X,{size:20,"aria-hidden":"true"}):e.jsx(H,{size:20,"aria-hidden":"true"})}),e.jsxs("div",{children:[e.jsx("p",{className:s.userName,children:t.name}),e.jsx("p",{className:s.userTitle,children:t.title}),e.jsx("p",{className:s.title,children:a})]})]}),e.jsx("div",{className:s.headerItems,children:o})]})},E=({id:a="#main:first-of-type"})=>{const t=()=>{const r=document.querySelector(a);r&&(r.tabIndex=-1,r.focus(),setTimeout(()=>r.removeAttribute("tabindex"),1e3))};return e.jsx(k.Button,{onPress:t,className:s.skipToContent,children:"Hoppa till huvudinnehåll"})},Le=()=>{const{isOpened:a,setIsOpened:t}=j();return a?e.jsx("div",{className:m.clsx(s.backdrop,s.backdropOpened),onClick:()=>{t==null||t(!1)},"aria-hidden":!0}):null},w=()=>{var i;const{items:a,clientSideRouter:t,clientSideHref:r}=j(),n=(i=a.at(0))==null?void 0:i.items;return e.jsx("nav",{className:s.navbar,"aria-label":"Bottenmeny",children:n&&e.jsx("ul",{className:m.clsx(s.navbarList),children:t?e.jsx(B.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb,{navigate:t,useHref:r,children:e.jsx(I,{items:n})}):e.jsx(I,{items:n})})})},I=({items:a})=>e.jsx(e.Fragment,{children:a.map(({href:t,active:r,icon:n,title:i,hasBadge:c},o)=>e.jsx("li",{children:e.jsxs(f.$4f118338184dc1d9$export$a6c7ac8248d6e38a,{href:t,className:m.clsx(s.navbarItem),"data-active":r,"aria-current":r&&"page",children:[e.jsxs(u.BadgeContainer,{children:[e.jsx(n,{size:20}),c&&e.jsx(u.Badge,{})]}),i]})},o))}),l=({items:a,title:t,user:r,app:n,children:i,headerChildren:c,clientSideRouter:o,clientSideHref:x,variant:h})=>{const[d,p]=_.useState(!1),[b,v]=_.useState(!1);return h==="external"?e.jsx(l.Provider,{items:a,title:t,user:r,app:n,clientSideRouter:o,clientSideHref:x,headerChildren:c,isCollapsed:d,setIsCollapsed:p,variant:h,children:e.jsxs("div",{className:s.baseLayout,children:[e.jsx(E,{}),e.jsx(l.Header,{}),e.jsxs("div",{className:s.mainContent,children:[e.jsx(l.Sidebar,{}),e.jsx(y.GridItem,{children:e.jsx("main",{className:s.main,children:e.jsx("div",{className:s.app,children:i})})}),e.jsx(l.Backdrop,{})]}),e.jsx("div",{className:s.navbarWrapper,children:e.jsx(l.Navbar,{})})]})}):e.jsx(l.Provider,{items:a,title:t,user:r,app:n,clientSideRouter:o,clientSideHref:x,headerChildren:c,isCollapsed:d,setIsCollapsed:p,isOpened:b,setIsOpened:v,variant:h,children:e.jsxs("div",{className:s.baseLayout,children:[e.jsx(E,{}),e.jsx(l.Header,{}),e.jsxs("div",{className:s.mainContent,children:[e.jsx(l.Sidebar,{}),e.jsx(y.GridItem,{children:e.jsx("main",{className:s.main,children:e.jsx("div",{className:s.app,children:i})})}),e.jsx(l.Backdrop,{})]})]})})};l.Provider=ye;l.Header=P;l.Sidebar=S;l.SidebarLink=g;l.Navbar=w;l.Backdrop=Le;exports.Header=P;exports.Layout=l;exports.Navbar=w;exports.Sidebar=S;exports.SidebarLink=g;
@@ -2,22 +2,22 @@ import { jsx as e, jsxs as i, Fragment as P } from "react/jsx-runtime";
2
2
  import { G as E } from "./GridItem-DlbSdRmB.js";
3
3
  import * as u from "react";
4
4
  import { c as x } from "./clsx-OuTLNxxd.js";
5
- import { B as L } from "./Button-CbFRzRrF.js";
6
- import { $ as k } from "./Link-B-nus-FT.js";
7
- import { a as H, T as z } from "./Tooltip-BAIjaYax.js";
8
- import { a as C, B as y } from "./BadgeContainer-D3RtqcPF.js";
5
+ import { B as L } from "./Button-Csih3v23.js";
6
+ import { $ as k } from "./Link-yNO2-sqx.js";
7
+ import { a as H, T as z } from "./Tooltip-CMLs7WMw.js";
8
+ import { a as C, B as y } from "./BadgeContainer-DM8TdyMT.js";
9
9
  import { c as g } from "./createLucideIcon-DeWljiyi.js";
10
- import { $ as S } from "./usePress-CUJ3pMOw.js";
10
+ import { $ as S } from "./usePress-CNjmDzap.js";
11
11
  import { f as O } from "./tokens-xp-7KMK7.js";
12
12
  import { L as f } from "./Logo-BIrOEINM.js";
13
- import { X as $ } from "./x-JK7i-TQC.js";
13
+ import { X as M } from "./x-JK7i-TQC.js";
14
14
  import './assets/Layout.css';/**
15
15
  * @license lucide-react v0.453.0 - ISC
16
16
  *
17
17
  * This source code is licensed under the ISC license.
18
18
  * See the LICENSE file in the root directory of this source tree.
19
19
  */
20
- const M = g("Menu", [
20
+ const $ = g("Menu", [
21
21
  ["line", { x1: "4", x2: "20", y1: "12", y2: "12", key: "1e0a9i" }],
22
22
  ["line", { x1: "4", x2: "20", y1: "6", y2: "6", key: "1owob3" }],
23
23
  ["line", { x1: "4", x2: "20", y1: "18", y2: "18", key: "yk5zj1" }]
@@ -307,13 +307,13 @@ const D = g("PanelLeftOpen", [
307
307
  c(!1), l == null || l(!0);
308
308
  },
309
309
  children: s ? /* @__PURE__ */ e(
310
- $,
310
+ M,
311
311
  {
312
312
  size: 20,
313
313
  "aria-hidden": "true"
314
314
  }
315
315
  ) : /* @__PURE__ */ e(
316
- M,
316
+ $,
317
317
  {
318
318
  size: 20,
319
319
  "aria-hidden": "true"
@@ -1,4 +1,4 @@
1
- "use strict";require('./assets/Link.css');const n=require("react/jsx-runtime"),j=require("./Link-SHMbeyIP.cjs"),_=require("./clsx-C11secjj.cjs"),q=require("./createLucideIcon-DAY4oS-S.cjs"),k=require("./square-arrow-out-up-right-BCAO2eJs.cjs"),w=require("./arrow-right-Cw48o2oW.cjs");/**
1
+ "use strict";require('./assets/Link.css');const n=require("react/jsx-runtime"),j=require("./Link-BQhauBuw.cjs"),_=require("./clsx-C11secjj.cjs"),q=require("./createLucideIcon-Cg_wkoIA.cjs"),k=require("./square-arrow-out-up-right-V4Gd08uI.cjs"),w=require("./arrow-right-QJ2gXPKQ.cjs");/**
2
2
  * @license lucide-react v0.453.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1 +1 @@
1
- "use strict";const n=require("./utils-BNtZbAib.cjs"),x=require("react"),T=require("./filterDOMProps-BS2lrgFA.cjs"),f=require("./usePress-BFa6cT9o.cjs"),m=require("./useFocusable-CuPQ7Cm5.cjs"),F=require("./useHover-_mv5J4_q.cjs"),q=require("./useFocusRing-CbImDrwF.cjs");function E(s,e){let{elementType:d="a",onPress:c,onPressStart:u,onPressEnd:o,onClick:$,isDisabled:t,...b}=s,i={};d!=="a"&&(i={role:"link",tabIndex:t?void 0:0});let{focusableProps:l}=m.$f645667febf57a63$export$4c014de7c8940b4c(s,e),{pressProps:a,isPressed:p}=f.$f6c31cce2adf654f$export$45712eceda6fad21({onPress:c,onPressStart:u,onPressEnd:o,onClick:$,isDisabled:t,ref:e}),h=T.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(b,{labelable:!0}),D=n.$3ef42575df84b30b$export$9d1611c77c2fe928(l,a),v=f.$ea8dcbcb9ea1b556$export$9a302a45f65d0572(),C=f.$ea8dcbcb9ea1b556$export$7e924b3091a3bd18(s);return{isPressed:p,linkProps:n.$3ef42575df84b30b$export$9d1611c77c2fe928(h,C,{...D,...i,"aria-disabled":t||void 0,"aria-current":s["aria-current"],onClick:r=>{var P;(P=a.onClick)===null||P===void 0||P.call(a,r),!v.isNative&&r.currentTarget instanceof HTMLAnchorElement&&r.currentTarget.href&&!r.isDefaultPrevented()&&f.$ea8dcbcb9ea1b556$export$efa8c9099e530235(r.currentTarget,r)&&s.href&&(r.preventDefault(),v.open(r.currentTarget,r,s.href,s.routerOptions))}})}}const k=x.createContext(null),H=x.forwardRef(function(e,d){[e,d]=n.$64fa3d84918910a7$export$29f1550f4b0d4415(e,d,k);let c=e.href&&!e.isDisabled?"a":"span",{linkProps:u,isPressed:o}=E({...e,elementType:c},d),{hoverProps:$,isHovered:t}=F.$6179b936705e76d3$export$ae780daf29e6d456(e),{focusProps:b,isFocused:i,isFocusVisible:l}=q.$f7dceffc5ad7768b$export$4e328f61c538687f(),a=n.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-Link",values:{isCurrent:!!e["aria-current"],isDisabled:e.isDisabled||!1,isPressed:o,isHovered:t,isFocused:i,isFocusVisible:l}});return x.createElement(c,{ref:d,slot:e.slot||void 0,...n.$3ef42575df84b30b$export$9d1611c77c2fe928(a,u,$,b),"data-focused":i||void 0,"data-hovered":t||void 0,"data-pressed":o||void 0,"data-focus-visible":l||void 0,"data-current":!!e["aria-current"]||void 0,"data-disabled":e.isDisabled||void 0},a.children)});exports.$4f118338184dc1d9$export$a6c7ac8248d6e38a=H;exports.$4f118338184dc1d9$export$e2509388b49734e7=k;
1
+ "use strict";const n=require("./utils-BNtZbAib.cjs"),x=require("react"),T=require("./filterDOMProps-BS2lrgFA.cjs"),f=require("./usePress-0AjDbW9R.cjs"),m=require("./useFocusable-NUVSFcRC.cjs"),F=require("./useHover-_mv5J4_q.cjs"),q=require("./useFocusRing-CbImDrwF.cjs");function E(s,e){let{elementType:d="a",onPress:c,onPressStart:u,onPressEnd:o,onClick:$,isDisabled:t,...b}=s,i={};d!=="a"&&(i={role:"link",tabIndex:t?void 0:0});let{focusableProps:l}=m.$f645667febf57a63$export$4c014de7c8940b4c(s,e),{pressProps:a,isPressed:p}=f.$f6c31cce2adf654f$export$45712eceda6fad21({onPress:c,onPressStart:u,onPressEnd:o,onClick:$,isDisabled:t,ref:e}),h=T.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(b,{labelable:!0}),D=n.$3ef42575df84b30b$export$9d1611c77c2fe928(l,a),v=f.$ea8dcbcb9ea1b556$export$9a302a45f65d0572(),C=f.$ea8dcbcb9ea1b556$export$7e924b3091a3bd18(s);return{isPressed:p,linkProps:n.$3ef42575df84b30b$export$9d1611c77c2fe928(h,C,{...D,...i,"aria-disabled":t||void 0,"aria-current":s["aria-current"],onClick:r=>{var P;(P=a.onClick)===null||P===void 0||P.call(a,r),!v.isNative&&r.currentTarget instanceof HTMLAnchorElement&&r.currentTarget.href&&!r.isDefaultPrevented()&&f.$ea8dcbcb9ea1b556$export$efa8c9099e530235(r.currentTarget,r)&&s.href&&(r.preventDefault(),v.open(r.currentTarget,r,s.href,s.routerOptions))}})}}const k=x.createContext(null),H=x.forwardRef(function(e,d){[e,d]=n.$64fa3d84918910a7$export$29f1550f4b0d4415(e,d,k);let c=e.href&&!e.isDisabled?"a":"span",{linkProps:u,isPressed:o}=E({...e,elementType:c},d),{hoverProps:$,isHovered:t}=F.$6179b936705e76d3$export$ae780daf29e6d456(e),{focusProps:b,isFocused:i,isFocusVisible:l}=q.$f7dceffc5ad7768b$export$4e328f61c538687f(),a=n.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-Link",values:{isCurrent:!!e["aria-current"],isDisabled:e.isDisabled||!1,isPressed:o,isHovered:t,isFocused:i,isFocusVisible:l}});return x.createElement(c,{ref:d,slot:e.slot||void 0,...n.$3ef42575df84b30b$export$9d1611c77c2fe928(a,u,$,b),"data-focused":i||void 0,"data-hovered":t||void 0,"data-pressed":o||void 0,"data-focus-visible":l||void 0,"data-current":!!e["aria-current"]||void 0,"data-disabled":e.isDisabled||void 0},a.children)});exports.$4f118338184dc1d9$export$a6c7ac8248d6e38a=H;exports.$4f118338184dc1d9$export$e2509388b49734e7=k;
@@ -1,5 +1,5 @@
1
1
  import { jsx as t, jsxs as p, Fragment as h } from "react/jsx-runtime";
2
- import { $ as u } from "./Link-B-nus-FT.js";
2
+ import { $ as u } from "./Link-yNO2-sqx.js";
3
3
  import { c as x } from "./clsx-OuTLNxxd.js";
4
4
  import { c as k } from "./createLucideIcon-DeWljiyi.js";
5
5
  import { S as j } from "./square-arrow-out-up-right-BkyqV2PN.js";