@midas-ds/components 10.4.0 → 11.0.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 (277) hide show
  1. package/{AccordionItem-BqsgiVWV.js → AccordionItem-BtDoammf.js} +7 -7
  2. package/{AccordionItem-BcsoC78F.cjs → AccordionItem-D2QYNgZS.cjs} +1 -1
  3. package/{BadgeContainer-DM8TdyMT.js → BadgeContainer-CKBIZWsc.js} +13 -13
  4. package/BadgeContainer-DWVHS5dn.cjs +1 -0
  5. package/{Breadcrumbs-D7eoibWk.js → Breadcrumbs-BBzSV4SK.js} +4 -4
  6. package/{Breadcrumbs-CfW5IuyE.cjs → Breadcrumbs-CFUryOhf.cjs} +1 -1
  7. package/{Button-BZUo7vsZ.js → Button-BjMaGya2.js} +2 -2
  8. package/{Button-CFYdzG0H.js → Button-CepQFEit.js} +4 -4
  9. package/{Button-BXY5ZhqI.cjs → Button-Dq6ugqxT.cjs} +1 -1
  10. package/Button.module-D-mPLRxe.js +14 -0
  11. package/Button.module-goCEz5qs.cjs +1 -0
  12. package/CHANGELOG.md +36 -0
  13. package/{Card-BaWSgtSF.js → Card-BRs1FKX5.js} +4 -4
  14. package/{Card-Cc1TNPcQ.cjs → Card-cdL5669N.cjs} +1 -1
  15. package/{CharacterCounter-cLhqPZlk.js → CharacterCounter-DpBDwvLw.js} +2 -2
  16. package/{Checkbox-LuUwTZ3W.js → Checkbox-EB_SCBEo.js} +3 -3
  17. package/{CheckboxGroup-CUA8_xSx.js → CheckboxGroup-CC9QGMuE.js} +7 -8
  18. package/CheckboxGroup-DhQX10rP.cjs +1 -0
  19. package/{Collection--62xKPm9.js → Collection-D2jVTmDW.js} +1 -1
  20. package/{ColorSchemeSwitch-Cwono7Ap.js → ColorSchemeSwitch-Cnyb9EKC.js} +42 -41
  21. package/ColorSchemeSwitch-owUryjYz.cjs +16 -0
  22. package/ComboBox-CiCB2e4W.cjs +1 -0
  23. package/{ComboBox-HLIAbb2q.js → ComboBox-Dnk8JMQ6.js} +65 -66
  24. package/{DateField-CnLEi7uX.js → DateField-BAS2v9aI.js} +4 -4
  25. package/{DateField-B3VjOSde.cjs → DateField-DleDM0Sy.cjs} +1 -1
  26. package/{DateInputDivider-Bi5N-C0c.js → DateInputDivider-B3oE1_tB.js} +39 -38
  27. package/DateInputDivider-ToFY-yjB.cjs +1 -0
  28. package/{DateRangePicker-CFOoGvut.js → DateRangePicker-Blej-jD0.js} +71 -72
  29. package/DateRangePicker-CYXWnCTq.cjs +6 -0
  30. package/{Dialog-pSSy1zwf.cjs → Dialog-B3R3WtL5.cjs} +1 -1
  31. package/{Dialog-SqciohRY.js → Dialog-BkUw6PlA.js} +7 -7
  32. package/{Dialog-CtVrVuMr.js → Dialog-DKHo0W9B.js} +443 -468
  33. package/Dialog-DtHk3eXI.cjs +1 -0
  34. package/{DragAndDrop-BoEd260f.cjs → DragAndDrop-CSg60YQE.cjs} +1 -1
  35. package/{DragAndDrop-DkSTL28C.js → DragAndDrop-DOXLfJaA.js} +1 -1
  36. package/Dropdown-CYakzdJg.cjs +6 -0
  37. package/{Dropdown-CkBp70BH.js → Dropdown-D6WCi_Ll.js} +19 -19
  38. package/FieldError-Bv3Q6ZP-.cjs +1 -0
  39. package/FieldError-CDCvUjK5.js +46 -0
  40. package/{FileUpload-B4rv-wke.js → FileUpload-BokzdXVc.js} +448 -562
  41. package/{FileUpload-BwMhyLjG.cjs → FileUpload-Bz9md5zc.cjs} +2 -2
  42. package/{FocusScope-D_hwN_TJ.js → FocusScope-BCsrRPqD.js} +1 -1
  43. package/{Group-CpkUzEAs.js → Group-B0vQfHDy.js} +1 -1
  44. package/{Heading-NxtGri2i.js → Heading-D2y_kiC0.js} +1 -1
  45. package/{InfoBanner-CVry6Y8i.cjs → InfoBanner-CzwbOdRG.cjs} +1 -1
  46. package/{InfoBanner-CBUoad7A.js → InfoBanner-D05poAe3.js} +5 -5
  47. package/{Input-LnjmFI1x.js → Input-n-Z20KbW.js} +1 -1
  48. package/{Label-TVxwGZ-O.js → Label-JLgFEbP9.js} +5 -5
  49. package/{Label-CNmTN1YY.cjs → Label-VO6CAFux.cjs} +1 -1
  50. package/Layout-BwLxIwtY.cjs +16 -0
  51. package/{Layout-amz9BESl.js → Layout-CcADAhds.js} +98 -98
  52. package/{Link-Bn8V3ZI0.js → Link-CibH8uRY.js} +3 -3
  53. package/Link-ESjrl63P.cjs +6 -0
  54. package/Link-ovwNVMfg.js +60 -0
  55. package/LinkButton-B6AWNiRn.cjs +6 -0
  56. package/LinkButton-BkZULm2a.js +69 -0
  57. package/{ListBox-BCz5-23H.cjs → ListBox-B0E1hdEt.cjs} +1 -1
  58. package/{ListBox-C-isJIHL.js → ListBox-CsxDGpCA.js} +11 -11
  59. package/{ListBoxButton-DNm3gvcT.cjs → ListBoxButton-BsuHFd_O.cjs} +1 -1
  60. package/{ListBoxButton-C_krklY0.js → ListBoxButton-DawRfuny.js} +1 -1
  61. package/{ListBoxSection-CfQZoURJ.cjs → ListBoxSection-C-Rz358T.cjs} +1 -1
  62. package/{ListBoxSection-BVR2xtOH.js → ListBoxSection-Cc2cx0_S.js} +6 -6
  63. package/{ListKeyboardDelegate-CY6t6y1t.js → ListKeyboardDelegate-C-sPNj0f.js} +2 -2
  64. package/{ListKeyboardDelegate-CPsZ7D83.cjs → ListKeyboardDelegate-ZKBk2IId.cjs} +1 -1
  65. package/{OverlayArrow-CfhSYL46.js → OverlayArrow-DB_aVTVM.js} +1 -1
  66. package/Popover--r4Zr4mO.cjs +1 -0
  67. package/{Popover-C8VY1YKi.js → Popover-DypW9ift.js} +13 -13
  68. package/PressResponder-4jE_HLu3.cjs +1 -0
  69. package/PressResponder-C3APAKsz.js +34 -0
  70. package/{ProgressBar-BNCjpcv8.js → ProgressBar-CFgcqHTR.js} +2 -2
  71. package/{ProgressBar-CcbxcWdT.cjs → ProgressBar-CJFNiudl.cjs} +1 -1
  72. package/Radio-CMH6pTWD.cjs +1 -0
  73. package/{Radio-CZYibh9r.js → Radio-DUBSD0kQ.js} +19 -20
  74. package/{RangeCalendar-B16b6tJD.js → RangeCalendar-BCruEq9d.js} +106 -109
  75. package/RangeCalendar-BY82hPRu.cjs +11 -0
  76. package/SearchField-QFyuaT-K.cjs +6 -0
  77. package/{SearchField-giwECmXS.js → SearchField-nwlyszwt.js} +47 -47
  78. package/Select-C5i-rIDh.cjs +1 -0
  79. package/{Select-mwaAv20X.js → Select-DKME5lZp.js} +107 -108
  80. package/SelectionManager-BJjqIWtf.cjs +1 -0
  81. package/{SelectionManager-zsWy3vsd.js → SelectionManager-BubxiIKu.js} +25 -24
  82. package/{Separator-Dn5LYN5I.js → Separator-CEZ5y7tZ.js} +4 -4
  83. package/{Separator-CxF-3jhR.cjs → Separator-DPLEx950.cjs} +1 -1
  84. package/Spinner-VSyPhiJ9.js +51 -0
  85. package/Spinner-vof0Y9Hh.cjs +6 -0
  86. package/{TabList-7VtCiXxX.cjs → TabList-BkSWzbDG.cjs} +1 -1
  87. package/{TabList-CthsM5h6.js → TabList-QApx8qRC.js} +90 -90
  88. package/{Table-BcQPvJT3.js → Table-B5Aine4F.js} +55 -54
  89. package/Table-DGYC-sDq.cjs +16 -0
  90. package/{Tag-Bs8T2Ei7.js → Tag-Byva_Xuy.js} +136 -135
  91. package/Tag-bYq-wf5D.cjs +1 -0
  92. package/{Text-DlKqpvSa.js → Text-BPcfhYQ9.js} +1 -1
  93. package/{Text-92cPh38G.js → Text-DcZqSUN9.js} +3 -3
  94. package/{TextArea-DBNAVWqL.js → TextArea-BhmdgD1w.js} +8 -8
  95. package/{TextArea-XJDfeXRs.cjs → TextArea-CY_tzBAJ.cjs} +1 -1
  96. package/{TextField-BdK9KEQ5.cjs → TextField-BAX93sq7.cjs} +1 -1
  97. package/{TextField-ByDJkig9.js → TextField-Dma22dnD.js} +19 -19
  98. package/{Toast-DPPvPhrF.js → Toast-CWt_mNIg.js} +5 -5
  99. package/{Toast-l1bKo2oA.cjs → Toast-DdmSvNaO.cjs} +1 -1
  100. package/{ToggleButtonGroup-DH8IgR4G.cjs → ToggleButtonGroup-DZ_wo0qx.cjs} +1 -1
  101. package/{ToggleButtonGroup-HOWNWtQZ.js → ToggleButtonGroup-HjvaTYD4.js} +4 -4
  102. package/{Tooltip-5mLWn_wO.js → Tooltip-DjNc93tV.js} +3 -3
  103. package/accordion/index.cjs +1 -1
  104. package/accordion/index.js +1 -1
  105. package/arrow-right-BGd86zzR.cjs +6 -0
  106. package/{arrow-right-Dg8sttFO.js → arrow-right-uemUGIg8.js} +5 -5
  107. package/assets/BadgeContainer.css +1 -1
  108. package/assets/Button.css +1 -1
  109. package/assets/FileUpload.css +1 -1
  110. package/assets/LinkButton.css +1 -1
  111. package/assets/Popover.css +1 -1
  112. package/assets/TabList.css +1 -1
  113. package/assets/Tag.css +1 -1
  114. package/badge/index.cjs +1 -1
  115. package/badge/index.js +1 -1
  116. package/breadcrumbs/index.cjs +1 -1
  117. package/breadcrumbs/index.js +1 -1
  118. package/button/index.cjs +1 -1
  119. package/button/index.js +1 -1
  120. package/calendar/index.cjs +1 -1
  121. package/calendar/index.js +1 -1
  122. package/card/Card.d.ts +1 -1
  123. package/card/index.cjs +1 -1
  124. package/card/index.js +1 -1
  125. package/character-counter/index.js +1 -1
  126. package/check-B0aKTFe5.cjs +6 -0
  127. package/check-B5h1DvDs.js +11 -0
  128. package/checkbox/index.cjs +1 -1
  129. package/checkbox/index.js +2 -2
  130. package/chevron-down-5hFlg_lR.cjs +6 -0
  131. package/chevron-down-DmZMdOiC.js +11 -0
  132. package/{circle-check-B9HYcH7Z.js → circle-check-BErh6TKu.js} +9 -9
  133. package/circle-check-OVUGxwp9.cjs +11 -0
  134. package/color-scheme-switch/index.cjs +1 -1
  135. package/color-scheme-switch/index.js +1 -1
  136. package/combobox/index.cjs +1 -1
  137. package/combobox/index.js +1 -1
  138. package/createLucideIcon-CTVXwe6i.cjs +21 -0
  139. package/createLucideIcon-XRdN60yz.js +94 -0
  140. package/date-field/index.cjs +1 -1
  141. package/date-field/index.js +2 -2
  142. package/date-picker/index.cjs +1 -1
  143. package/date-picker/index.js +1 -1
  144. package/dropdown/index.cjs +1 -1
  145. package/dropdown/index.js +1 -1
  146. package/field-error/index.cjs +1 -1
  147. package/field-error/index.js +1 -1
  148. package/file-upload/FileUpload.d.ts +3 -14
  149. package/file-upload/index.cjs +1 -1
  150. package/file-upload/index.d.ts +1 -1
  151. package/file-upload/index.js +3 -2
  152. package/{getScrollParent-CsZ9ciml.cjs → getScrollParent-DuKmPmUa.cjs} +1 -1
  153. package/{getScrollParent-CT_L9LUr.js → getScrollParent-Ru2U2LlM.js} +1 -1
  154. package/heading/index.js +1 -1
  155. package/index.cjs +1 -1
  156. package/index.js +97 -96
  157. package/{info-BZwphdye.js → info-CPK1vbOJ.js} +5 -5
  158. package/info-Dj6SyPex.cjs +6 -0
  159. package/info-banner/index.cjs +1 -1
  160. package/info-banner/index.js +1 -1
  161. package/label/index.cjs +1 -1
  162. package/label/index.js +1 -1
  163. package/layout/index.cjs +1 -1
  164. package/layout/index.js +1 -1
  165. package/link/Link.d.ts +1 -1
  166. package/link/index.cjs +1 -1
  167. package/link/index.js +2 -2
  168. package/link-button/LinkButton.d.ts +1 -1
  169. package/link-button/index.cjs +1 -1
  170. package/link-button/index.js +2 -2
  171. package/list-box/index.cjs +1 -1
  172. package/list-box/index.js +2 -2
  173. package/modal/index.cjs +1 -1
  174. package/modal/index.js +2 -2
  175. package/package.json +1 -1
  176. package/popover/index.cjs +1 -1
  177. package/popover/index.js +1 -1
  178. package/progress-bar/index.cjs +1 -1
  179. package/progress-bar/index.js +1 -1
  180. package/radio/index.cjs +1 -1
  181. package/radio/index.js +1 -1
  182. package/scrollIntoView-ClEACHUk.js +57 -0
  183. package/scrollIntoView-DRSoJp89.cjs +1 -0
  184. package/search-field/index.cjs +1 -1
  185. package/search-field/index.js +1 -1
  186. package/select/index.cjs +1 -1
  187. package/select/index.js +1 -1
  188. package/spinner/index.cjs +1 -1
  189. package/spinner/index.js +1 -1
  190. package/{square-arrow-out-up-right-BkyqV2PN.js → square-arrow-out-up-right-ok0A3Ovo.js} +4 -4
  191. package/square-arrow-out-up-right-xCFdJTzY.cjs +6 -0
  192. package/table/index.cjs +1 -1
  193. package/table/index.js +1 -1
  194. package/tabs/index.cjs +1 -1
  195. package/tabs/index.js +1 -1
  196. package/tag/index.cjs +1 -1
  197. package/tag/index.js +1 -1
  198. package/text/index.js +1 -1
  199. package/textfield/index.cjs +1 -1
  200. package/textfield/index.js +1 -1
  201. package/theme/index.cjs +1 -1
  202. package/theme/index.d.ts +1 -0
  203. package/theme/index.js +2 -2
  204. package/theme/tokens.d.ts +1 -0
  205. package/toast/index.cjs +1 -1
  206. package/toast/index.js +1 -1
  207. package/toggle-button/index.cjs +1 -1
  208. package/toggle-button/index.js +1 -1
  209. package/{tokens-BghDnMdO.cjs → tokens-BF-dPard.cjs} +1 -1
  210. package/{tokens-fEwCQXDv.js → tokens-r1r3wC04.js} +4 -3
  211. package/tooltip/index.js +1 -1
  212. package/{triangle-alert-wxyxspAl.js → triangle-alert-B_qAPmWC.js} +5 -5
  213. package/triangle-alert-BviJNFjf.cjs +6 -0
  214. package/{useButton-1-Jf-oHj.js → useButton-BoIV3kDJ.js} +5 -5
  215. package/{useDateFormatter-BVCkxVdw.js → useDateFormatter-C7BJgoDR.js} +1 -1
  216. package/useDescription-CPo72trh.cjs +1 -0
  217. package/useDescription-DYfKjGGU.js +32 -0
  218. package/{useField-BEBXv5Mh.js → useField-CefQB81E.js} +1 -1
  219. package/{useFilter-e2oIVF_O.cjs → useFilter-BhM2yVO3.cjs} +1 -1
  220. package/{useFilter-CousKe2K.js → useFilter-DginflOU.js} +1 -1
  221. package/{useFocusable-ChPA2Jc7.js → useFocusable-BjE42axF.js} +7 -7
  222. package/{useHasTabbableChild-BE81d_ab.js → useHasTabbableChild-DP62kzkG.js} +1 -1
  223. package/{useHighlightSelectionDescription-BfR_vGOe.cjs → useHighlightSelectionDescription-DmbDkFGY.cjs} +1 -1
  224. package/{useHighlightSelectionDescription-D73hrkmn.js → useHighlightSelectionDescription-xr_16pKd.js} +2 -2
  225. package/{useListState-CebsX_1d.js → useListState-DNB7JWoj.js} +1 -1
  226. package/{useListState-DymkJGDF.cjs → useListState-wLau6fXo.cjs} +1 -1
  227. package/{usePress-DuR4pVsE.js → usePress-BW47IcyU.js} +34 -34
  228. package/{useSingleSelectListState-BLXvGjLI.js → useSingleSelectListState-B0OMoHd_.js} +1 -1
  229. package/{useSingleSelectListState-BPhlCU26.cjs → useSingleSelectListState-DlO5H9N-.cjs} +1 -1
  230. package/{useTextField-C-sUypsx.js → useTextField-DjxayZsV.js} +2 -2
  231. package/{utils-DJhAJHk_.js → utils-KLjWgdLR.js} +5 -5
  232. package/{x-JK7i-TQC.js → x-C2xUHAEl.js} +5 -5
  233. package/x-rV-nu490.cjs +6 -0
  234. package/BadgeContainer-I1XA3OCl.cjs +0 -1
  235. package/Button.module-DEQtBYe5.cjs +0 -1
  236. package/Button.module-tti8HGxs.js +0 -14
  237. package/CheckboxGroup-DmUOM0xl.cjs +0 -1
  238. package/ColorSchemeSwitch-DDXdSzqg.cjs +0 -16
  239. package/ComboBox-BBC7jhnm.cjs +0 -1
  240. package/DateInputDivider-3BvwXXa9.cjs +0 -1
  241. package/DateRangePicker-BPlZ12r8.cjs +0 -6
  242. package/Dialog-CSnN6baf.cjs +0 -1
  243. package/Dropdown-DAsVShlt.cjs +0 -6
  244. package/FieldError-B3YFj-an.js +0 -23
  245. package/FieldError-BbR-29BM.js +0 -28
  246. package/FieldError-MVsU-Mgw.cjs +0 -1
  247. package/FieldError-bRTpchvr.cjs +0 -1
  248. package/Layout-Dw-oCqxd.cjs +0 -16
  249. package/Link-D92ftFi2.cjs +0 -6
  250. package/Link-DegonJfl.js +0 -59
  251. package/LinkButton-CckYzfJ8.js +0 -69
  252. package/LinkButton-DKZ4z6zu.cjs +0 -6
  253. package/Popover-CnAsw3wI.cjs +0 -1
  254. package/Radio-B2zfEFdq.cjs +0 -1
  255. package/RangeCalendar-C1LFeOVk.cjs +0 -11
  256. package/SearchField-CML0kjtn.cjs +0 -6
  257. package/Select-DKey6CeS.cjs +0 -1
  258. package/SelectionManager-D0jYUYcy.cjs +0 -1
  259. package/Spinner-CbJ6YAz-.js +0 -53
  260. package/Spinner-yHcy8YHC.cjs +0 -6
  261. package/Table-DkvNp6xm.cjs +0 -16
  262. package/Tag-CFWZ2LQW.cjs +0 -1
  263. package/arrow-right-QJ2gXPKQ.cjs +0 -6
  264. package/check-CLF6Yxza.js +0 -11
  265. package/check-D_KoootC.cjs +0 -6
  266. package/chevron-down-Cd1bkzXT.js +0 -13
  267. package/chevron-down-jl83cllc.cjs +0 -6
  268. package/circle-check-BGo8gML8.cjs +0 -11
  269. package/createLucideIcon-Cg_wkoIA.cjs +0 -21
  270. package/createLucideIcon-DeWljiyi.js +0 -79
  271. package/file-upload/intl/translations.json.d.ts +0 -17
  272. package/info-CIEIENo6.cjs +0 -6
  273. package/scrollIntoView-BLnsPvFA.js +0 -87
  274. package/scrollIntoView-joIyo-Jt.cjs +0 -1
  275. package/square-arrow-out-up-right-V4Gd08uI.cjs +0 -6
  276. package/triangle-alert-DJW8U7jL.cjs +0 -6
  277. package/x-H8Zrx8-x.cjs +0 -6
@@ -1,11 +1,11 @@
1
1
  import { jsxs as t, jsx as n } from "react/jsx-runtime";
2
2
  import * as p from "react";
3
3
  import { c as h } from "./clsx-OuTLNxxd.js";
4
- import { B as _ } from "./Button-BZUo7vsZ.js";
5
- import { T as u } from "./triangle-alert-wxyxspAl.js";
6
- import { C as z, a as k } from "./circle-check-B9HYcH7Z.js";
7
- import { I as b } from "./info-BZwphdye.js";
8
- import { X as x } from "./x-JK7i-TQC.js";
4
+ import { B as _ } from "./Button-BjMaGya2.js";
5
+ import { T as u } from "./triangle-alert-B_qAPmWC.js";
6
+ import { C as z, a as k } from "./circle-check-BErh6TKu.js";
7
+ import { I as b } from "./info-CPK1vbOJ.js";
8
+ import { X as x } from "./x-C2xUHAEl.js";
9
9
  import { u as w } from "./useLocalizedStringFormatter-N0AyjzbM.js";
10
10
  import './assets/InfoBanner.css';const v = '"../theme/tokens.css"', B = "_infoBanner_cszz3_4", N = "_success_cszz3_14", I = "_info_cszz3_4", C = "_important_cszz3_24", S = "_warning_cszz3_29", j = "_content_cszz3_38", y = "_heading_cszz3_44", A = "_text_cszz3_49", T = "_icon_cszz3_55", F = "_dismissable_cszz3_60", s = {
11
11
  tokens: v,
@@ -1,4 +1,4 @@
1
- import { $ as c, a as $ } from "./utils-DJhAJHk_.js";
1
+ import { $ as c, a as $ } from "./utils-KLjWgdLR.js";
2
2
  import { $ as u } from "./Hidden-C9KWUR7b.js";
3
3
  import l, { createContext as b } from "react";
4
4
  import { $ as v } from "./useHover-DQvJ3Y-W.js";
@@ -2,11 +2,11 @@ import { jsxs as c, jsx as r } from "react/jsx-runtime";
2
2
  import * as f from "react";
3
3
  import n from "react";
4
4
  import { c as b } from "./clsx-OuTLNxxd.js";
5
- import { d } from "./Button-CFYdzG0H.js";
6
- import { P as v } from "./Popover-C8VY1YKi.js";
7
- import { B as u } from "./Button-BZUo7vsZ.js";
8
- import { $ as P } from "./Dialog-CtVrVuMr.js";
9
- import { I as g } from "./info-BZwphdye.js";
5
+ import { d } from "./Button-CepQFEit.js";
6
+ import { P as v } from "./Popover-DypW9ift.js";
7
+ import { B as u } from "./Button-BjMaGya2.js";
8
+ import { $ as P } from "./Dialog-DKHo0W9B.js";
9
+ import { I as g } from "./info-CPK1vbOJ.js";
10
10
  import { u as _ } from "./useLocalizedStringFormatter-N0AyjzbM.js";
11
11
  import './assets/Label.css';const I = "_labelBase_khdpe_4", x = {
12
12
  labelBase: I
@@ -1 +1 @@
1
- "use strict";require('./assets/Label.css');const t=require("react/jsx-runtime"),l=require("react"),p=require("./clsx-C11secjj.cjs"),b=require("./Button-DExMoP5f.cjs"),f=require("./Popover-CnAsw3wI.cjs"),d=require("./Button-BXY5ZhqI.cjs"),v=require("./Dialog-CSnN6baf.cjs"),g=require("./info-CIEIENo6.cjs"),m=require("./useLocalizedStringFormatter-BO2iZEL0.cjs");function x(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}return o.default=e,Object.freeze(o)}const P=x(l),j="_labelBase_khdpe_4",_={labelBase:j},I="_labelPopover_1ici8_4",q="_labelPopoverTrigger_1ici8_10",u={labelPopover:I,labelPopoverTrigger:q},L={moreInfo:"More info"},O={moreInfo:"Mer information"},T={en:L,sv:O},$=({children:e,"aria-label":o})=>{const[r,s]=l.useState(!1),n=l.useContext(c),a=m.useLocalizedStringFormatter(T);return t.jsxs(v.$de32f1b87079253c$export$2e1e1122cf0cba88,{isOpen:r,onOpenChange:s,children:[t.jsx(d.Button,{variant:"icon",size:"medium",className:u.labelPopoverTrigger,"aria-label":o||a.format("moreInfo"),id:n==null?void 0:n.popoverId,children:t.jsx(g.Info,{size:20})}),t.jsx(f.Popover,{children:e})]})},c=l.createContext(void 0),y=({children:e,popover:o})=>{const r=l.useId();return o?t.jsx(c.Provider,{value:{popoverId:r},children:t.jsxs("div",{className:u.labelPopover,children:[e,t.jsx($,{...o})]})}):e},i="label",B=({children:e,className:o,elementType:r=i,...s})=>{const n={className:p.clsx(_.labelBase,o),elementType:r||i,...s},a=P.useContext(c);return t.jsx(b.$01b77f81d0f07f68$export$b04be29aa201d4f5,{...n,"aria-describedby":a==null?void 0:a.popoverId,children:e})};exports.Label=B;exports.LabelWrapper=y;
1
+ "use strict";require('./assets/Label.css');const t=require("react/jsx-runtime"),l=require("react"),p=require("./clsx-C11secjj.cjs"),b=require("./Button-DExMoP5f.cjs"),f=require("./Popover--r4Zr4mO.cjs"),d=require("./Button-Dq6ugqxT.cjs"),v=require("./Dialog-DtHk3eXI.cjs"),g=require("./info-Dj6SyPex.cjs"),m=require("./useLocalizedStringFormatter-BO2iZEL0.cjs");function x(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}return o.default=e,Object.freeze(o)}const P=x(l),j="_labelBase_khdpe_4",_={labelBase:j},I="_labelPopover_1ici8_4",q="_labelPopoverTrigger_1ici8_10",u={labelPopover:I,labelPopoverTrigger:q},L={moreInfo:"More info"},O={moreInfo:"Mer information"},T={en:L,sv:O},$=({children:e,"aria-label":o})=>{const[r,s]=l.useState(!1),n=l.useContext(c),a=m.useLocalizedStringFormatter(T);return t.jsxs(v.$de32f1b87079253c$export$2e1e1122cf0cba88,{isOpen:r,onOpenChange:s,children:[t.jsx(d.Button,{variant:"icon",size:"medium",className:u.labelPopoverTrigger,"aria-label":o||a.format("moreInfo"),id:n==null?void 0:n.popoverId,children:t.jsx(g.Info,{size:20})}),t.jsx(f.Popover,{children:e})]})},c=l.createContext(void 0),y=({children:e,popover:o})=>{const r=l.useId();return o?t.jsx(c.Provider,{value:{popoverId:r},children:t.jsxs("div",{className:u.labelPopover,children:[e,t.jsx($,{...o})]})}):e},i="label",B=({children:e,className:o,elementType:r=i,...s})=>{const n={className:p.clsx(_.labelBase,o),elementType:r||i,...s},a=P.useContext(c);return t.jsx(b.$01b77f81d0f07f68$export$b04be29aa201d4f5,{...n,"aria-describedby":a==null?void 0:a.popoverId,children:e})};exports.Label=B;exports.LabelWrapper=y;
@@ -0,0 +1,16 @@
1
+ "use strict";require('./assets/Layout.css');const e=require("react/jsx-runtime"),E=require("./GridItem-XgHmZWXY.cjs"),O=require("react"),h=require("./clsx-C11secjj.cjs"),L=require("./Button-Dq6ugqxT.cjs"),C=require("./Link-CidjjqHb.cjs"),I=require("./Tooltip-pN5W3IK6.cjs"),j=require("./BadgeContainer-DWVHS5dn.cjs"),y=require("./createLucideIcon-CTVXwe6i.cjs"),T=require("./usePress-BooY_CAy.cjs"),f=require("./useLocalizedStringFormatter-BO2iZEL0.cjs"),H=require("./tokens-BF-dPard.cjs"),k=require("./Logo-BpH0HC91.cjs"),G=require("./x-rV-nu490.cjs");function D(a){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const o in a)if(o!=="default"){const n=Object.getOwnPropertyDescriptor(a,o);Object.defineProperty(t,o,n.get?n:{enumerable:!0,get:()=>a[o]})}}return t.default=a,Object.freeze(t)}const _=D(O);/**
2
+ * @license lucide-react v0.525.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const F=[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]],R=y.createLucideIcon("menu",F);/**
7
+ * @license lucide-react v0.525.0 - ISC
8
+ *
9
+ * This source code is licensed under the ISC license.
10
+ * See the LICENSE file in the root directory of this source tree.
11
+ */const W=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]],A=y.createLucideIcon("panel-left-close",W);/**
12
+ * @license lucide-react v0.525.0 - ISC
13
+ *
14
+ * This source code is licensed under the ISC license.
15
+ * See the LICENSE file in the root directory of this source tree.
16
+ */const X=[["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"}]],J=y.createLucideIcon("panel-left-open",X),K="_baseLayout_12xoh_4",Q="_mainContent_12xoh_13",U="_header_12xoh_18",V="_headerExternal_12xoh_29",Y="_headerContent_12xoh_44",Z="_logo_12xoh_63",ee="_headerItems_12xoh_72",se="_toggleButton_12xoh_78",ae="_sidebar_12xoh_86",te="_main_12xoh_13",ne="_app_12xoh_123",oe="_sidebarOpened_12xoh_132",re="_sidebarHeader_12xoh_136",ie="_appName_12xoh_148",le="_collapseButton_12xoh_155",ce="_sidebarCollapsed_12xoh_164",de="_userName_12xoh_174",xe="_userTitle_12xoh_193",me="_title_12xoh_205",ue="_sidebarNav_12xoh_216",he="_list_12xoh_222",pe="_listGroupTitle_12xoh_229",_e="_listItem_12xoh_236",be="_listItemCollapsed_12xoh_241",je="_listLink_12xoh_245",ve="_listLinkCollapsed_12xoh_290",Ne="_active_12xoh_295",fe="_backdrop_12xoh_309",ge="_backdropOpened_12xoh_319",ke="_skipToContent_12xoh_337",Ce="_navbar_12xoh_351",Le="_navbarList_12xoh_363",ye="_navbarItem_12xoh_385",Me="_headerContentExternal_12xoh_425",Se="_logoExternalContainer_12xoh_433",Ee="_logoExternal_12xoh_433",Ie="_logoExternalDesktop_12xoh_445",ze="_navbarWrapper_12xoh_454",s={baseLayout:K,mainContent:Q,header:U,headerExternal:V,headerContent:Y,logo:Z,headerItems:ee,toggleButton:se,sidebar:ae,main:te,app:ne,sidebarOpened:oe,sidebarHeader:re,appName:ie,collapseButton:le,sidebarCollapsed:ce,userName:de,userTitle:xe,title:me,sidebarNav:ue,list:he,listGroupTitle:pe,listItem:_e,listItemCollapsed:be,listLink:je,listLinkCollapsed:ve,active:Ne,backdrop:fe,backdropOpened:ge,skipToContent:ke,navbar:Ce,navbarList:Le,navbarItem:ye,headerContentExternal:Me,logoExternalContainer:Se,logoExternal:Ee,logoExternalDesktop:Ie,navbarWrapper:ze},$=_.createContext(void 0),Be=({items:a,title:t,user:o,app:n,children:r,clientSideRouter:l,clientSideHref:i,headerChildren:x,isCollapsed:m,setIsCollapsed:u,isOpened:b,setIsOpened:d,variant:p,id:v})=>e.jsx($.Provider,{value:{items:a,title:t,user:o,app:n,headerChildren:x,isCollapsed:m,setIsCollapsed:u,isOpened:b,setIsOpened:d,clientSideRouter:l,clientSideHref:i,variant:p,id:v},children:r}),N=()=>{const a=_.useContext($);if(!a)throw new Error("useLayoutContext must be used within a LayoutProvider");return a},M=({title:a,href:t,icon:o,active:n,hasBadge:r})=>{const{isCollapsed:l,setIsOpened:i}=N(),[x,m]=_.useState(!1);return _.useEffect(()=>{typeof window<"u"&&m(n??window.location.pathname===t)},[n,t]),l?e.jsxs(I.TooltipTrigger,{children:[e.jsx(C.$4f118338184dc1d9$export$a6c7ac8248d6e38a,{href:t,"aria-label":a,className:h.clsx(s.listLink,s.listLinkCollapsed,x&&s.active),onPress:()=>i==null?void 0:i(!1),children:e.jsxs(j.BadgeContainer,{children:[e.jsx(o,{size:20,"aria-label":a}),r&&e.jsx(j.Badge,{})]})}),e.jsx(I.Tooltip,{placement:"right",children:a})]}):e.jsxs(C.$4f118338184dc1d9$export$a6c7ac8248d6e38a,{href:t,"aria-label":a,className:h.clsx(s.listLink,x&&s.active),onPress:()=>i==null?void 0:i(!1),children:[e.jsxs(j.BadgeContainer,{children:[e.jsx(o,{size:20}),r&&e.jsx(j.Badge,{})]}),a]})},Te={closeMenu:"Close menu",openMenu:"Open menu",maximizeMenu:"Maximize menu",minimizeMenu:"Minimize menu",sidebarMenu:"Sidebar menu",bottomMenu:"Bottom menu",skipToContent:"Skip to main content"},$e={closeMenu:"Stäng meny",openMenu:"Öppna meny",maximizeMenu:"Maximera meny",minimizeMenu:"Minimera meny",sidebarMenu:"Sidomeny",bottomMenu:"Bottenmeny",skipToContent:"Hoppa till huvudinnehåll"},g={en:Te,sv:$e},q=()=>{const{items:a,app:t,isOpened:o,isCollapsed:n,setIsCollapsed:r,setIsOpened:l,clientSideRouter:i,clientSideHref:x,id:m}=N(),u=f.useLocalizedStringFormatter(g),b=({group:d})=>e.jsx("ul",{className:s.list,children:d.items.map((p,v)=>e.jsx("li",{className:h.clsx(s.listItem,n&&s.listItemCollapsed),children:e.jsx(M,{...p})},"link_"+v))});return _.useEffect(()=>{const d=p=>{p.key==="Escape"&&l!==void 0&&l(!1)};return window.addEventListener("keydown",d),()=>{window.removeEventListener("keydown",d)}},[l]),e.jsxs("aside",{id:m,className:h.clsx(s.sidebar,n&&s.sidebarCollapsed,o&&s.sidebarOpened),children:[e.jsxs("div",{className:s.sidebarHeader,children:[!n&&e.jsx("p",{className:s.appName,children:t.name}),e.jsx(L.Button,{variant:"icon","aria-label":n?u.format("maximizeMenu"):u.format("minimizeMenu"),onPress:()=>r(!n),className:s.collapseButton,children:n?e.jsx(J,{size:20}):e.jsx(A,{size:20})})]}),e.jsx("nav",{className:s.sidebarNav,"aria-label":u.format("sidebarMenu"),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}),i?e.jsx(T.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb,{navigate:i,useHref:x,children:e.jsx(b,{group:d})}):e.jsx(b,{group:d})]},"list_"+p))})})]})},w=()=>{const{title:a,user:t,app:o,isOpened:n,setIsOpened:r,setIsCollapsed:l,headerChildren:i,variant:x,id:m}=N(),u=f.useLocalizedStringFormatter(g);return x==="external"?e.jsx("header",{className:h.clsx(s.header,s.headerExternal),children:e.jsxs("div",{className:s.headerContentExternal,children:[e.jsxs("div",{className:s.logoExternalContainer,children:[e.jsx(k.Logo,{size:"x-small",padding:!1,className:s.logoExternal}),e.jsx(k.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:i})]})}):e.jsxs("header",{className:s.header,style:{borderTop:`solid 4px ${o.color?o.color:H.semantic.brandPrimary}`},children:[e.jsxs("div",{className:s.headerContent,children:[e.jsx("div",{className:s.logo,children:e.jsx(k.Logo,{size:"small",padding:!1})}),n!==void 0&&e.jsx(L.Button,{variant:"icon",className:s.toggleButton,"aria-label":n?u.format("closeMenu"):u.format("openMenu"),"aria-controls":m,onPressStart:()=>{l(!1),r==null||r(!0)},children:n?e.jsx(G.X,{size:20,"aria-hidden":"true"}):e.jsx(R,{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:i})]})},z=({id:a="#main:first-of-type"})=>{const t=()=>{const n=document.querySelector(a);n&&(n.tabIndex=-1,n.focus(),setTimeout(()=>n.removeAttribute("tabindex"),1e3))},o=f.useLocalizedStringFormatter(g);return e.jsx(L.Button,{onPress:t,className:s.skipToContent,children:o.format("skipToContent")})},qe=()=>{const{isOpened:a,setIsOpened:t}=N();return a?e.jsx("div",{className:h.clsx(s.backdrop,s.backdropOpened),onClick:()=>{t==null||t(!1)},"aria-hidden":!0}):null},P=()=>{var l;const{items:a,clientSideRouter:t,clientSideHref:o}=N(),n=f.useLocalizedStringFormatter(g),r=(l=a.at(0))==null?void 0:l.items;return e.jsx("nav",{className:s.navbar,"aria-label":n.format("bottomMenu"),children:r&&e.jsx("ul",{className:h.clsx(s.navbarList),children:t?e.jsx(T.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb,{navigate:t,useHref:o,children:e.jsx(B,{items:r})}):e.jsx(B,{items:r})})})},B=({items:a})=>e.jsx(e.Fragment,{children:a.map(({href:t,active:o,icon:n,title:r,hasBadge:l},i)=>e.jsx("li",{children:e.jsxs(C.$4f118338184dc1d9$export$a6c7ac8248d6e38a,{href:t,className:h.clsx(s.navbarItem),"data-active":o,"aria-current":o&&"page",children:[e.jsxs(j.BadgeContainer,{children:[e.jsx(n,{size:20}),l&&e.jsx(j.Badge,{})]}),r]})},i))}),c=({items:a,title:t,user:o,app:n,children:r,headerChildren:l,clientSideRouter:i,clientSideHref:x,variant:m,className:u})=>{const[b,d]=_.useState(!1),[p,v]=_.useState(!1),S=_.useId();return m==="external"?e.jsx(c.Provider,{items:a,title:t,user:o,app:n,clientSideRouter:i,clientSideHref:x,headerChildren:l,isCollapsed:b,setIsCollapsed:d,variant:m,id:S,children:e.jsxs("div",{className:h.clsx(s.baseLayout,u),children:[e.jsx(z,{}),e.jsx(c.Header,{}),e.jsxs("div",{className:s.mainContent,children:[e.jsx(c.Sidebar,{}),e.jsx(E.GridItem,{children:e.jsx("main",{className:s.main,children:e.jsx("div",{className:s.app,children:r})})}),e.jsx(c.Backdrop,{})]}),e.jsx("div",{className:s.navbarWrapper,children:e.jsx(c.Navbar,{})})]})}):e.jsx(c.Provider,{items:a,title:t,user:o,app:n,clientSideRouter:i,clientSideHref:x,headerChildren:l,isCollapsed:b,setIsCollapsed:d,isOpened:p,setIsOpened:v,variant:m,id:S,children:e.jsxs("div",{className:h.clsx(s.baseLayout,u),children:[e.jsx(z,{}),e.jsx(c.Header,{}),e.jsxs("div",{className:s.mainContent,children:[e.jsx(c.Sidebar,{}),e.jsx(E.GridItem,{children:e.jsx("main",{className:s.main,children:e.jsx("div",{className:s.app,children:r})})}),e.jsx(c.Backdrop,{})]})]})})};c.Provider=Be;c.Header=w;c.Sidebar=q;c.SidebarLink=M;c.Navbar=P;c.Backdrop=qe;exports.Header=w;exports.Layout=c;exports.Navbar=P;exports.Sidebar=q;exports.SidebarLink=M;
@@ -1,91 +1,91 @@
1
1
  import { jsx as e, jsxs as l, Fragment as O } from "react/jsx-runtime";
2
- import { G as z } from "./GridItem-DlbSdRmB.js";
2
+ import { G as S } from "./GridItem-DlbSdRmB.js";
3
3
  import * as b from "react";
4
4
  import { c as u } from "./clsx-OuTLNxxd.js";
5
- import { B as M } from "./Button-BZUo7vsZ.js";
6
- import { $ as g } from "./Link-Bn8V3ZI0.js";
7
- import { a as $, T as G } from "./Tooltip-5mLWn_wO.js";
8
- import { a as L, B as E } from "./BadgeContainer-DM8TdyMT.js";
9
- import { c as T } from "./createLucideIcon-DeWljiyi.js";
10
- import { $ as w } from "./usePress-DuR4pVsE.js";
5
+ import { B as E } from "./Button-BjMaGya2.js";
6
+ import { $ as y } from "./Link-CibH8uRY.js";
7
+ import { a as $, T as G } from "./Tooltip-DjNc93tV.js";
8
+ import { a as L, B as M } from "./BadgeContainer-CKBIZWsc.js";
9
+ import { c as T } from "./createLucideIcon-XRdN60yz.js";
10
+ import { $ as w } from "./usePress-BW47IcyU.js";
11
11
  import { u as k } from "./useLocalizedStringFormatter-N0AyjzbM.js";
12
- import { f as D } from "./tokens-fEwCQXDv.js";
13
- import { L as y } from "./Logo-ME4ffCue.js";
14
- import { X as W } from "./x-JK7i-TQC.js";
12
+ import { f as j } from "./tokens-r1r3wC04.js";
13
+ import { L as g } from "./Logo-ME4ffCue.js";
14
+ import { X as D } from "./x-C2xUHAEl.js";
15
15
  import './assets/Layout.css';/**
16
- * @license lucide-react v0.453.0 - ISC
16
+ * @license lucide-react v0.525.0 - ISC
17
17
  *
18
18
  * This source code is licensed under the ISC license.
19
19
  * See the LICENSE file in the root directory of this source tree.
20
20
  */
21
- const j = T("Menu", [
22
- ["line", { x1: "4", x2: "20", y1: "12", y2: "12", key: "1e0a9i" }],
23
- ["line", { x1: "4", x2: "20", y1: "6", y2: "6", key: "1owob3" }],
24
- ["line", { x1: "4", x2: "20", y1: "18", y2: "18", key: "yk5zj1" }]
25
- ]);
21
+ const W = [
22
+ ["path", { d: "M4 12h16", key: "1lakjw" }],
23
+ ["path", { d: "M4 18h16", key: "19g7jn" }],
24
+ ["path", { d: "M4 6h16", key: "1o0s65" }]
25
+ ], q = T("menu", W);
26
26
  /**
27
- * @license lucide-react v0.453.0 - ISC
27
+ * @license lucide-react v0.525.0 - ISC
28
28
  *
29
29
  * This source code is licensed under the ISC license.
30
30
  * See the LICENSE file in the root directory of this source tree.
31
31
  */
32
- const q = T("PanelLeftClose", [
32
+ const A = [
33
33
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
34
34
  ["path", { d: "M9 3v18", key: "fh3hqa" }],
35
35
  ["path", { d: "m16 15-3-3 3-3", key: "14y99z" }]
36
- ]);
36
+ ], F = T("panel-left-close", A);
37
37
  /**
38
- * @license lucide-react v0.453.0 - ISC
38
+ * @license lucide-react v0.525.0 - ISC
39
39
  *
40
40
  * This source code is licensed under the ISC license.
41
41
  * See the LICENSE file in the root directory of this source tree.
42
42
  */
43
- const A = T("PanelLeftOpen", [
43
+ const R = [
44
44
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
45
45
  ["path", { d: "M9 3v18", key: "fh3hqa" }],
46
46
  ["path", { d: "m14 9 3 3-3 3", key: "8010ee" }]
47
- ]), F = "_baseLayout_12xoh_4", R = "_mainContent_12xoh_13", X = "_header_12xoh_18", J = "_headerExternal_12xoh_29", K = "_headerContent_12xoh_44", Q = "_logo_12xoh_63", U = "_headerItems_12xoh_72", V = "_toggleButton_12xoh_78", Y = "_sidebar_12xoh_86", Z = "_main_12xoh_13", ee = "_app_12xoh_123", ae = "_sidebarOpened_12xoh_132", te = "_sidebarHeader_12xoh_136", ne = "_appName_12xoh_148", se = "_collapseButton_12xoh_155", oe = "_sidebarCollapsed_12xoh_164", ie = "_userName_12xoh_174", re = "_userTitle_12xoh_193", le = "_title_12xoh_205", de = "_sidebarNav_12xoh_216", ce = "_list_12xoh_222", me = "_listGroupTitle_12xoh_229", pe = "_listItem_12xoh_236", he = "_listItemCollapsed_12xoh_241", _e = "_listLink_12xoh_245", ue = "_listLinkCollapsed_12xoh_290", xe = "_active_12xoh_295", be = "_backdrop_12xoh_309", ve = "_backdropOpened_12xoh_319", fe = "_skipToContent_12xoh_337", Ne = "_navbar_12xoh_351", ke = "_navbarList_12xoh_363", Ce = "_navbarItem_12xoh_385", ye = "_headerContentExternal_12xoh_425", ge = "_logoExternalContainer_12xoh_433", Le = "_logoExternal_12xoh_433", Ee = "_logoExternalDesktop_12xoh_445", Me = "_navbarWrapper_12xoh_454", a = {
48
- baseLayout: F,
49
- mainContent: R,
50
- header: X,
51
- headerExternal: J,
52
- headerContent: K,
53
- logo: Q,
54
- headerItems: U,
55
- toggleButton: V,
56
- sidebar: Y,
57
- main: Z,
58
- app: ee,
59
- sidebarOpened: ae,
60
- sidebarHeader: te,
61
- appName: ne,
62
- collapseButton: se,
63
- sidebarCollapsed: oe,
64
- userName: ie,
65
- userTitle: re,
66
- title: le,
67
- sidebarNav: de,
68
- list: ce,
69
- listGroupTitle: me,
70
- listItem: pe,
71
- listItemCollapsed: he,
72
- listLink: _e,
73
- listLinkCollapsed: ue,
74
- active: xe,
75
- backdrop: be,
76
- backdropOpened: ve,
77
- skipToContent: fe,
78
- navbar: Ne,
79
- navbarList: ke,
80
- navbarItem: Ce,
81
- headerContentExternal: ye,
82
- logoExternalContainer: ge,
83
- logoExternal: Le,
84
- logoExternalDesktop: Ee,
85
- navbarWrapper: Me
47
+ ], X = T("panel-left-open", R), J = "_baseLayout_12xoh_4", K = "_mainContent_12xoh_13", Q = "_header_12xoh_18", U = "_headerExternal_12xoh_29", V = "_headerContent_12xoh_44", Y = "_logo_12xoh_63", Z = "_headerItems_12xoh_72", ee = "_toggleButton_12xoh_78", ae = "_sidebar_12xoh_86", te = "_main_12xoh_13", ne = "_app_12xoh_123", se = "_sidebarOpened_12xoh_132", oe = "_sidebarHeader_12xoh_136", ie = "_appName_12xoh_148", re = "_collapseButton_12xoh_155", le = "_sidebarCollapsed_12xoh_164", de = "_userName_12xoh_174", ce = "_userTitle_12xoh_193", me = "_title_12xoh_205", pe = "_sidebarNav_12xoh_216", he = "_list_12xoh_222", _e = "_listGroupTitle_12xoh_229", ue = "_listItem_12xoh_236", xe = "_listItemCollapsed_12xoh_241", be = "_listLink_12xoh_245", ve = "_listLinkCollapsed_12xoh_290", fe = "_active_12xoh_295", Ne = "_backdrop_12xoh_309", ke = "_backdropOpened_12xoh_319", Ce = "_skipToContent_12xoh_337", ge = "_navbar_12xoh_351", ye = "_navbarList_12xoh_363", Le = "_navbarItem_12xoh_385", Me = "_headerContentExternal_12xoh_425", Ee = "_logoExternalContainer_12xoh_433", Te = "_logoExternal_12xoh_433", Ie = "_logoExternalDesktop_12xoh_445", Se = "_navbarWrapper_12xoh_454", a = {
48
+ baseLayout: J,
49
+ mainContent: K,
50
+ header: Q,
51
+ headerExternal: U,
52
+ headerContent: V,
53
+ logo: Y,
54
+ headerItems: Z,
55
+ toggleButton: ee,
56
+ sidebar: ae,
57
+ main: te,
58
+ app: ne,
59
+ sidebarOpened: se,
60
+ sidebarHeader: oe,
61
+ appName: ie,
62
+ collapseButton: re,
63
+ sidebarCollapsed: le,
64
+ userName: de,
65
+ userTitle: ce,
66
+ title: me,
67
+ sidebarNav: pe,
68
+ list: he,
69
+ listGroupTitle: _e,
70
+ listItem: ue,
71
+ listItemCollapsed: xe,
72
+ listLink: be,
73
+ listLinkCollapsed: ve,
74
+ active: fe,
75
+ backdrop: Ne,
76
+ backdropOpened: ke,
77
+ skipToContent: Ce,
78
+ navbar: ge,
79
+ navbarList: ye,
80
+ navbarItem: Le,
81
+ headerContentExternal: Me,
82
+ logoExternalContainer: Ee,
83
+ logoExternal: Te,
84
+ logoExternalDesktop: Ie,
85
+ navbarWrapper: Se
86
86
  }, P = b.createContext(
87
87
  void 0
88
- ), Te = ({
88
+ ), ze = ({
89
89
  items: s,
90
90
  title: n,
91
91
  user: o,
@@ -137,7 +137,7 @@ const A = T("PanelLeftOpen", [
137
137
  typeof window < "u" && h(t ?? window.location.pathname === n);
138
138
  }, [t, n]), d ? /* @__PURE__ */ l($, { children: [
139
139
  /* @__PURE__ */ e(
140
- g,
140
+ y,
141
141
  {
142
142
  href: n,
143
143
  "aria-label": s,
@@ -155,13 +155,13 @@ const A = T("PanelLeftOpen", [
155
155
  "aria-label": s
156
156
  }
157
157
  ),
158
- i && /* @__PURE__ */ e(E, {})
158
+ i && /* @__PURE__ */ e(M, {})
159
159
  ] })
160
160
  }
161
161
  ),
162
162
  /* @__PURE__ */ e(G, { placement: "right", children: s })
163
163
  ] }) : /* @__PURE__ */ l(
164
- g,
164
+ y,
165
165
  {
166
166
  href: n,
167
167
  "aria-label": s,
@@ -170,13 +170,13 @@ const A = T("PanelLeftOpen", [
170
170
  children: [
171
171
  /* @__PURE__ */ l(L, { children: [
172
172
  /* @__PURE__ */ e(o, { size: 20 }),
173
- i && /* @__PURE__ */ e(E, {})
173
+ i && /* @__PURE__ */ e(M, {})
174
174
  ] }),
175
175
  s
176
176
  ]
177
177
  }
178
178
  );
179
- }, Ie = {
179
+ }, Be = {
180
180
  closeMenu: "Close menu",
181
181
  openMenu: "Open menu",
182
182
  maximizeMenu: "Maximize menu",
@@ -184,7 +184,7 @@ const A = T("PanelLeftOpen", [
184
184
  sidebarMenu: "Sidebar menu",
185
185
  bottomMenu: "Bottom menu",
186
186
  skipToContent: "Skip to main content"
187
- }, ze = {
187
+ }, we = {
188
188
  closeMenu: "Stäng meny",
189
189
  openMenu: "Öppna meny",
190
190
  maximizeMenu: "Maximera meny",
@@ -193,9 +193,9 @@ const A = T("PanelLeftOpen", [
193
193
  bottomMenu: "Bottenmeny",
194
194
  skipToContent: "Hoppa till huvudinnehåll"
195
195
  }, C = {
196
- en: Ie,
197
- sv: ze
198
- }, Se = () => {
196
+ en: Be,
197
+ sv: we
198
+ }, Pe = () => {
199
199
  const {
200
200
  items: s,
201
201
  app: n,
@@ -237,13 +237,13 @@ const A = T("PanelLeftOpen", [
237
237
  /* @__PURE__ */ l("div", { className: a.sidebarHeader, children: [
238
238
  !t && /* @__PURE__ */ e("p", { className: a.appName, children: n.name }),
239
239
  /* @__PURE__ */ e(
240
- M,
240
+ E,
241
241
  {
242
242
  variant: "icon",
243
243
  "aria-label": t ? _.format("maximizeMenu") : _.format("minimizeMenu"),
244
244
  onPress: () => i(!t),
245
245
  className: a.collapseButton,
246
- children: t ? /* @__PURE__ */ e(A, { size: 20 }) : /* @__PURE__ */ e(q, { size: 20 })
246
+ children: t ? /* @__PURE__ */ e(X, { size: 20 }) : /* @__PURE__ */ e(F, { size: 20 })
247
247
  }
248
248
  )
249
249
  ] }),
@@ -268,7 +268,7 @@ const A = T("PanelLeftOpen", [
268
268
  ]
269
269
  }
270
270
  );
271
- }, Be = () => {
271
+ }, He = () => {
272
272
  const {
273
273
  title: s,
274
274
  user: n,
@@ -283,7 +283,7 @@ const A = T("PanelLeftOpen", [
283
283
  return p === "external" ? /* @__PURE__ */ e("header", { className: u(a.header, a.headerExternal), children: /* @__PURE__ */ l("div", { className: a.headerContentExternal, children: [
284
284
  /* @__PURE__ */ l("div", { className: a.logoExternalContainer, children: [
285
285
  /* @__PURE__ */ e(
286
- y,
286
+ g,
287
287
  {
288
288
  size: "x-small",
289
289
  padding: !1,
@@ -291,7 +291,7 @@ const A = T("PanelLeftOpen", [
291
291
  }
292
292
  ),
293
293
  /* @__PURE__ */ e(
294
- y,
294
+ g,
295
295
  {
296
296
  size: "small",
297
297
  padding: !1,
@@ -309,19 +309,19 @@ const A = T("PanelLeftOpen", [
309
309
  {
310
310
  className: a.header,
311
311
  style: {
312
- borderTop: `solid 4px ${o.color ? o.color : D.brandPrimary}`
312
+ borderTop: `solid 4px ${o.color ? o.color : j.brandPrimary}`
313
313
  },
314
314
  children: [
315
315
  /* @__PURE__ */ l("div", { className: a.headerContent, children: [
316
316
  /* @__PURE__ */ e("div", { className: a.logo, children: /* @__PURE__ */ e(
317
- y,
317
+ g,
318
318
  {
319
319
  size: "small",
320
320
  padding: !1
321
321
  }
322
322
  ) }),
323
323
  t !== void 0 && /* @__PURE__ */ e(
324
- M,
324
+ E,
325
325
  {
326
326
  variant: "icon",
327
327
  className: a.toggleButton,
@@ -331,13 +331,13 @@ const A = T("PanelLeftOpen", [
331
331
  d(!1), i == null || i(!0);
332
332
  },
333
333
  children: t ? /* @__PURE__ */ e(
334
- W,
334
+ D,
335
335
  {
336
336
  size: 20,
337
337
  "aria-hidden": "true"
338
338
  }
339
339
  ) : /* @__PURE__ */ e(
340
- j,
340
+ q,
341
341
  {
342
342
  size: 20,
343
343
  "aria-hidden": "true"
@@ -355,7 +355,7 @@ const A = T("PanelLeftOpen", [
355
355
  ]
356
356
  }
357
357
  );
358
- }, S = ({
358
+ }, z = ({
359
359
  id: s = "#main:first-of-type"
360
360
  }) => {
361
361
  const n = () => {
@@ -363,14 +363,14 @@ const A = T("PanelLeftOpen", [
363
363
  t && (t.tabIndex = -1, t.focus(), setTimeout(() => t.removeAttribute("tabindex"), 1e3));
364
364
  }, o = k(C);
365
365
  return /* @__PURE__ */ e(
366
- M,
366
+ E,
367
367
  {
368
368
  onPress: n,
369
369
  className: a.skipToContent,
370
370
  children: o.format("skipToContent")
371
371
  }
372
372
  );
373
- }, we = () => {
373
+ }, Oe = () => {
374
374
  const { isOpened: s, setIsOpened: n } = N();
375
375
  return s ? /* @__PURE__ */ e(
376
376
  "div",
@@ -382,7 +382,7 @@ const A = T("PanelLeftOpen", [
382
382
  "aria-hidden": !0
383
383
  }
384
384
  ) : null;
385
- }, Pe = () => {
385
+ }, $e = () => {
386
386
  var d;
387
387
  const { items: s, clientSideRouter: n, clientSideHref: o } = N(), t = k(C), i = (d = s.at(0)) == null ? void 0 : d.items;
388
388
  return /* @__PURE__ */ e(
@@ -403,7 +403,7 @@ const A = T("PanelLeftOpen", [
403
403
  }, B = ({
404
404
  items: s
405
405
  }) => /* @__PURE__ */ e(O, { children: s.map(({ href: n, active: o, icon: t, title: i, hasBadge: d }, r) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ l(
406
- g,
406
+ y,
407
407
  {
408
408
  href: n,
409
409
  className: u(a.navbarItem),
@@ -412,7 +412,7 @@ const A = T("PanelLeftOpen", [
412
412
  children: [
413
413
  /* @__PURE__ */ l(L, { children: [
414
414
  /* @__PURE__ */ e(t, { size: 20 }),
415
- d && /* @__PURE__ */ e(E, {})
415
+ d && /* @__PURE__ */ e(M, {})
416
416
  ] }),
417
417
  i
418
418
  ]
@@ -445,11 +445,11 @@ const A = T("PanelLeftOpen", [
445
445
  variant: h,
446
446
  id: I,
447
447
  children: /* @__PURE__ */ l("div", { className: u(a.baseLayout, _), children: [
448
- /* @__PURE__ */ e(S, {}),
448
+ /* @__PURE__ */ e(z, {}),
449
449
  /* @__PURE__ */ e(c.Header, {}),
450
450
  /* @__PURE__ */ l("div", { className: a.mainContent, children: [
451
451
  /* @__PURE__ */ e(c.Sidebar, {}),
452
- /* @__PURE__ */ e(z, { children: /* @__PURE__ */ e("main", { className: a.main, children: /* @__PURE__ */ e("div", { className: a.app, children: i }) }) }),
452
+ /* @__PURE__ */ e(S, { children: /* @__PURE__ */ e("main", { className: a.main, children: /* @__PURE__ */ e("div", { className: a.app, children: i }) }) }),
453
453
  /* @__PURE__ */ e(c.Backdrop, {})
454
454
  ] }),
455
455
  /* @__PURE__ */ e("div", { className: a.navbarWrapper, children: /* @__PURE__ */ e(c.Navbar, {}) })
@@ -472,27 +472,27 @@ const A = T("PanelLeftOpen", [
472
472
  variant: h,
473
473
  id: I,
474
474
  children: /* @__PURE__ */ l("div", { className: u(a.baseLayout, _), children: [
475
- /* @__PURE__ */ e(S, {}),
475
+ /* @__PURE__ */ e(z, {}),
476
476
  /* @__PURE__ */ e(c.Header, {}),
477
477
  /* @__PURE__ */ l("div", { className: a.mainContent, children: [
478
478
  /* @__PURE__ */ e(c.Sidebar, {}),
479
- /* @__PURE__ */ e(z, { children: /* @__PURE__ */ e("main", { className: a.main, children: /* @__PURE__ */ e("div", { className: a.app, children: i }) }) }),
479
+ /* @__PURE__ */ e(S, { children: /* @__PURE__ */ e("main", { className: a.main, children: /* @__PURE__ */ e("div", { className: a.app, children: i }) }) }),
480
480
  /* @__PURE__ */ e(c.Backdrop, {})
481
481
  ] })
482
482
  ] })
483
483
  }
484
484
  );
485
485
  };
486
- c.Provider = Te;
487
- c.Header = Be;
488
- c.Sidebar = Se;
486
+ c.Provider = ze;
487
+ c.Header = He;
488
+ c.Sidebar = Pe;
489
489
  c.SidebarLink = H;
490
- c.Navbar = Pe;
491
- c.Backdrop = we;
490
+ c.Navbar = $e;
491
+ c.Backdrop = Oe;
492
492
  export {
493
- Be as H,
493
+ He as H,
494
494
  c as L,
495
- Pe as N,
496
- Se as S,
495
+ $e as N,
496
+ Pe as S,
497
497
  H as a
498
498
  };
@@ -1,9 +1,9 @@
1
- import { $ as v, a as h } from "./utils-DJhAJHk_.js";
1
+ import { $ as v, a as h } from "./utils-KLjWgdLR.js";
2
2
  import C, { forwardRef as D, createContext as T } from "react";
3
3
  import { a as b } from "./mergeProps-C1U1OIeJ.js";
4
4
  import { $ as E } from "./filterDOMProps-D6KHYVBX.js";
5
- import { a as F, b as H, c as g, d as y } from "./usePress-DuR4pVsE.js";
6
- import { $ as L } from "./useFocusable-ChPA2Jc7.js";
5
+ import { b as F, c as H, d as g, e as y } from "./usePress-BW47IcyU.js";
6
+ import { a as L } from "./useFocusable-BjE42axF.js";
7
7
  import { $ as _ } from "./useHover-DQvJ3Y-W.js";
8
8
  import { $ as S } from "./useFocusRing-DOfBqnUN.js";
9
9
  function V(s, e) {
@@ -0,0 +1,6 @@
1
+ "use strict";require('./assets/Link.css');const n=require("react/jsx-runtime"),h=require("./Link-CidjjqHb.cjs"),j=require("./clsx-C11secjj.cjs"),q=require("./createLucideIcon-CTVXwe6i.cjs"),k=require("./square-arrow-out-up-right-xCFdJTzY.cjs"),w=require("./arrow-right-BGd86zzR.cjs");/**
2
+ * @license lucide-react v0.525.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const f=[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]],p=q.createLucideIcon("arrow-down-to-line",f),L="_link_txq8j_4",m="_icon_txq8j_50",R="_standalone_txq8j_54",g="_stretched_txq8j_71",t={link:L,icon:m,standalone:R,stretched:g},y=({children:o,standalone:r,target:c,stretched:i,download:a,icon:s,className:u,as:d,...l})=>{const x=d||h.$4f118338184dc1d9$export$a6c7ac8248d6e38a,_=({...e})=>s?n.jsx(s,{...e}):a?n.jsx(p,{...e}):c==="_blank"?n.jsx(k.SquareArrowOutUpRight,{...e}):r?n.jsx(w.ArrowRight,{...e}):null;return n.jsx(x,{className:j.clsx(t.link,r&&t.standalone,i&&t.stretched,u),...l,target:c,children:n.jsxs(n.Fragment,{children:[o,n.jsx(_,{size:16,className:t.icon})]})})};exports.Link=y;
@@ -0,0 +1,60 @@
1
+ import { jsx as o, jsxs as p, Fragment as h } from "react/jsx-runtime";
2
+ import { $ as u } from "./Link-CibH8uRY.js";
3
+ import { c as x } from "./clsx-OuTLNxxd.js";
4
+ import { c as k } from "./createLucideIcon-XRdN60yz.js";
5
+ import { S as j } from "./square-arrow-out-up-right-ok0A3Ovo.js";
6
+ import { A as w } from "./arrow-right-uemUGIg8.js";
7
+ import './assets/Link.css';/**
8
+ * @license lucide-react v0.525.0 - ISC
9
+ *
10
+ * This source code is licensed under the ISC license.
11
+ * See the LICENSE file in the root directory of this source tree.
12
+ */
13
+ const q = [
14
+ ["path", { d: "M12 17V3", key: "1cwfxf" }],
15
+ ["path", { d: "m6 11 6 6 6-6", key: "12ii2o" }],
16
+ ["path", { d: "M19 21H5", key: "150jfl" }]
17
+ ], y = k("arrow-down-to-line", q), A = "_link_txq8j_4", L = "_icon_txq8j_50", $ = "_standalone_txq8j_54", N = "_stretched_txq8j_71", n = {
18
+ link: A,
19
+ icon: L,
20
+ standalone: $,
21
+ stretched: N
22
+ }, D = ({
23
+ children: i,
24
+ standalone: r,
25
+ target: c,
26
+ stretched: s,
27
+ download: a,
28
+ icon: e,
29
+ className: d,
30
+ as: l,
31
+ ...m
32
+ }) => {
33
+ const _ = l || u, f = ({ ...t }) => e ? /* @__PURE__ */ o(e, { ...t }) : a ? /* @__PURE__ */ o(y, { ...t }) : c === "_blank" ? /* @__PURE__ */ o(j, { ...t }) : r ? /* @__PURE__ */ o(w, { ...t }) : null;
34
+ return /* @__PURE__ */ o(
35
+ _,
36
+ {
37
+ className: x(
38
+ n.link,
39
+ r && n.standalone,
40
+ s && n.stretched,
41
+ d
42
+ ),
43
+ ...m,
44
+ target: c,
45
+ children: /* @__PURE__ */ p(h, { children: [
46
+ i,
47
+ /* @__PURE__ */ o(
48
+ f,
49
+ {
50
+ size: 16,
51
+ className: n.icon
52
+ }
53
+ )
54
+ ] })
55
+ }
56
+ );
57
+ };
58
+ export {
59
+ D as L
60
+ };
@@ -0,0 +1,6 @@
1
+ "use strict";require('./assets/LinkButton.css');const n=require("react/jsx-runtime"),f=require("./Link-CidjjqHb.cjs"),p=require("./clsx-C11secjj.cjs"),m=require("./square-arrow-out-up-right-xCFdJTzY.cjs"),y=require("./createLucideIcon-CTVXwe6i.cjs"),x=require("./arrow-right-BGd86zzR.cjs");/**
2
+ * @license lucide-react v0.525.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const g=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],h=y.createLucideIcon("arrow-left",g),z="_linkButton_1klzp_4",w="_secondary_1klzp_55",B="_icon_1klzp_60",L="_tertiary_1klzp_85",q="_danger_1klzp_102",j="_iconBtn_1klzp_119",R="_medium_1klzp_141",A="_iconLeft_1klzp_146",N="_fullwidth_1klzp_150",t={linkButton:z,secondary:w,icon:B,tertiary:L,danger:q,iconBtn:j,medium:R,iconLeft:A,fullwidth:N},$=({children:i,variant:e,fullwidth:s,icon:o,iconPlacement:c,className:u,as:l,size:_="large",...d})=>{const a=l||f.$4f118338184dc1d9$export$a6c7ac8248d6e38a,k=({...r})=>o?n.jsx(o,{...r}):r.target==="_blank"?n.jsx(m.SquareArrowOutUpRight,{...r}):c==="left"?n.jsx(h,{...r}):n.jsx(x.ArrowRight,{...r});return n.jsxs(a,{className:p.clsx(t.linkButton,e==="primary"&&t.primary,e==="secondary"&&t.secondary,e==="tertiary"&&t.tertiary,e==="danger"&&t.danger,e==="icon"&&t.iconBtn,_==="medium"&&t.medium,s&&t.fullwidth,c==="left"&&t.iconLeft,u),...d,children:[i,n.jsx(k,{size:20,className:t.icon})]})};exports.LinkButton=$;