@midas-ds/components 10.4.0 → 10.4.1

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 (171) hide show
  1. package/{AccordionItem-BcsoC78F.cjs → AccordionItem-D2QYNgZS.cjs} +1 -1
  2. package/{AccordionItem-BqsgiVWV.js → AccordionItem-oeN1Cc09.js} +4 -4
  3. package/{Breadcrumbs-D7eoibWk.js → Breadcrumbs-D8ad6xvL.js} +1 -1
  4. package/{Breadcrumbs-CfW5IuyE.cjs → Breadcrumbs-DkJIkGG5.cjs} +1 -1
  5. package/{Button-BXY5ZhqI.cjs → Button-Dq6ugqxT.cjs} +1 -1
  6. package/{Button-BZUo7vsZ.js → Button-DtSrCAf6.js} +1 -1
  7. package/Button.module-D-mPLRxe.js +14 -0
  8. package/Button.module-goCEz5qs.cjs +1 -0
  9. package/CHANGELOG.md +13 -0
  10. package/{Card-BaWSgtSF.js → Card-BzJ_OEe6.js} +1 -1
  11. package/{Card-Cc1TNPcQ.cjs → Card-cdL5669N.cjs} +1 -1
  12. package/{CheckboxGroup-CUA8_xSx.js → CheckboxGroup-CcTfzurp.js} +1 -1
  13. package/{CheckboxGroup-DmUOM0xl.cjs → CheckboxGroup-DWxQTABg.cjs} +1 -1
  14. package/ColorSchemeSwitch-owUryjYz.cjs +16 -0
  15. package/{ColorSchemeSwitch-Cwono7Ap.js → ColorSchemeSwitch-y8qKczjQ.js} +42 -41
  16. package/{ComboBox-HLIAbb2q.js → ComboBox-CZyP8Dfh.js} +2 -2
  17. package/{ComboBox-BBC7jhnm.cjs → ComboBox-Dg2xhkLC.cjs} +1 -1
  18. package/{DateField-B3VjOSde.cjs → DateField-1w5J_iyF.cjs} +1 -1
  19. package/{DateField-CnLEi7uX.js → DateField-BTROlenJ.js} +1 -1
  20. package/{DateRangePicker-BPlZ12r8.cjs → DateRangePicker-CX3830ZF.cjs} +3 -3
  21. package/{DateRangePicker-CFOoGvut.js → DateRangePicker-DmZP9laM.js} +52 -52
  22. package/{Dialog-SqciohRY.js → Dialog-0ZBhhPyd.js} +2 -2
  23. package/{Dialog-pSSy1zwf.cjs → Dialog-DnMwnqiC.cjs} +1 -1
  24. package/{Dropdown-CkBp70BH.js → Dropdown-BEAMfAxj.js} +18 -18
  25. package/Dropdown-By91MEV2.cjs +6 -0
  26. package/{FileUpload-B4rv-wke.js → FileUpload-DvQdIZ6k.js} +3 -3
  27. package/{FileUpload-BwMhyLjG.cjs → FileUpload-vf0oJd0K.cjs} +1 -1
  28. package/{InfoBanner-CVry6Y8i.cjs → InfoBanner-CzwbOdRG.cjs} +1 -1
  29. package/{InfoBanner-CBUoad7A.js → InfoBanner-yj90XVEP.js} +5 -5
  30. package/{Label-TVxwGZ-O.js → Label-D2GmP8_2.js} +2 -2
  31. package/{Label-CNmTN1YY.cjs → Label-E3LhQfNv.cjs} +1 -1
  32. package/{Layout-amz9BESl.js → Layout-BMNgqjXv.js} +96 -96
  33. package/Layout-Ri7XQHFp.cjs +16 -0
  34. package/Link-BCVI5W_i.js +59 -0
  35. package/Link-CVvnCOGP.cjs +6 -0
  36. package/LinkButton-B6AWNiRn.cjs +6 -0
  37. package/LinkButton-Cui-gvAk.js +69 -0
  38. package/{ProgressBar-BNCjpcv8.js → ProgressBar-Bpq-hyZa.js} +1 -1
  39. package/{ProgressBar-CcbxcWdT.cjs → ProgressBar-D4lOEhAh.cjs} +1 -1
  40. package/{Radio-CZYibh9r.js → Radio-BPcq9kW5.js} +1 -1
  41. package/{Radio-B2zfEFdq.cjs → Radio-CwNbUGah.cjs} +1 -1
  42. package/{RangeCalendar-B16b6tJD.js → RangeCalendar-6miAJVoO.js} +96 -100
  43. package/{RangeCalendar-C1LFeOVk.cjs → RangeCalendar-CAI1PRDo.cjs} +5 -5
  44. package/{SearchField-giwECmXS.js → SearchField-CDyD5iWr.js} +45 -45
  45. package/SearchField-DEoGi9xv.cjs +6 -0
  46. package/{Select-mwaAv20X.js → Select-B2wYDnAU.js} +5 -5
  47. package/{Select-DKey6CeS.cjs → Select-nRN944QZ.cjs} +1 -1
  48. package/Spinner-VSyPhiJ9.js +51 -0
  49. package/Spinner-vof0Y9Hh.cjs +6 -0
  50. package/{TabList-7VtCiXxX.cjs → TabList-CheXtBJm.cjs} +1 -1
  51. package/{TabList-CthsM5h6.js → TabList-D0qzIjSx.js} +84 -84
  52. package/{Table-DkvNp6xm.cjs → Table-DAhnYYIA.cjs} +7 -7
  53. package/{Table-BcQPvJT3.js → Table-zKvjzd9t.js} +28 -28
  54. package/{Tag-Bs8T2Ei7.js → Tag-BoqT5nbh.js} +30 -30
  55. package/{Tag-CFWZ2LQW.cjs → Tag-t-aJVo3W.cjs} +1 -1
  56. package/{TextArea-XJDfeXRs.cjs → TextArea-B5und61h.cjs} +1 -1
  57. package/{TextArea-DBNAVWqL.js → TextArea-Pxr-eLXe.js} +2 -2
  58. package/{Toast-l1bKo2oA.cjs → Toast-DdmSvNaO.cjs} +1 -1
  59. package/{Toast-DPPvPhrF.js → Toast-DfKiA5hp.js} +5 -5
  60. package/{ToggleButtonGroup-DH8IgR4G.cjs → ToggleButtonGroup-DZ_wo0qx.cjs} +1 -1
  61. package/{ToggleButtonGroup-HOWNWtQZ.js → ToggleButtonGroup-DhlfvYGg.js} +1 -1
  62. package/accordion/index.cjs +1 -1
  63. package/accordion/index.js +1 -1
  64. package/arrow-right-BGd86zzR.cjs +6 -0
  65. package/{arrow-right-Dg8sttFO.js → arrow-right-uemUGIg8.js} +5 -5
  66. package/assets/Button.css +1 -1
  67. package/assets/LinkButton.css +1 -1
  68. package/assets/TabList.css +1 -1
  69. package/assets/Tag.css +1 -1
  70. package/breadcrumbs/index.cjs +1 -1
  71. package/breadcrumbs/index.js +1 -1
  72. package/button/index.cjs +1 -1
  73. package/button/index.js +1 -1
  74. package/calendar/index.cjs +1 -1
  75. package/calendar/index.js +1 -1
  76. package/card/Card.d.ts +1 -1
  77. package/card/index.cjs +1 -1
  78. package/card/index.js +1 -1
  79. package/check-B0aKTFe5.cjs +6 -0
  80. package/check-B5h1DvDs.js +11 -0
  81. package/checkbox/index.cjs +1 -1
  82. package/checkbox/index.js +1 -1
  83. package/chevron-down-5hFlg_lR.cjs +6 -0
  84. package/chevron-down-DmZMdOiC.js +11 -0
  85. package/{circle-check-B9HYcH7Z.js → circle-check-BErh6TKu.js} +9 -9
  86. package/circle-check-OVUGxwp9.cjs +11 -0
  87. package/color-scheme-switch/index.cjs +1 -1
  88. package/color-scheme-switch/index.js +1 -1
  89. package/combobox/index.cjs +1 -1
  90. package/combobox/index.js +1 -1
  91. package/createLucideIcon-CTVXwe6i.cjs +21 -0
  92. package/createLucideIcon-XRdN60yz.js +94 -0
  93. package/date-field/index.cjs +1 -1
  94. package/date-field/index.js +1 -1
  95. package/date-picker/index.cjs +1 -1
  96. package/date-picker/index.js +1 -1
  97. package/dropdown/index.cjs +1 -1
  98. package/dropdown/index.js +1 -1
  99. package/file-upload/index.cjs +1 -1
  100. package/file-upload/index.js +1 -1
  101. package/index.cjs +1 -1
  102. package/index.js +29 -29
  103. package/{info-BZwphdye.js → info-CPK1vbOJ.js} +5 -5
  104. package/info-Dj6SyPex.cjs +6 -0
  105. package/info-banner/index.cjs +1 -1
  106. package/info-banner/index.js +1 -1
  107. package/label/index.cjs +1 -1
  108. package/label/index.js +1 -1
  109. package/layout/index.cjs +1 -1
  110. package/layout/index.js +1 -1
  111. package/link/Link.d.ts +1 -1
  112. package/link/index.cjs +1 -1
  113. package/link/index.js +1 -1
  114. package/link-button/LinkButton.d.ts +1 -1
  115. package/link-button/index.cjs +1 -1
  116. package/link-button/index.js +1 -1
  117. package/modal/index.cjs +1 -1
  118. package/modal/index.js +1 -1
  119. package/package.json +1 -1
  120. package/progress-bar/index.cjs +1 -1
  121. package/progress-bar/index.js +1 -1
  122. package/radio/index.cjs +1 -1
  123. package/radio/index.js +1 -1
  124. package/search-field/index.cjs +1 -1
  125. package/search-field/index.js +1 -1
  126. package/select/index.cjs +1 -1
  127. package/select/index.js +1 -1
  128. package/spinner/index.cjs +1 -1
  129. package/spinner/index.js +1 -1
  130. package/{square-arrow-out-up-right-BkyqV2PN.js → square-arrow-out-up-right-ok0A3Ovo.js} +4 -4
  131. package/square-arrow-out-up-right-xCFdJTzY.cjs +6 -0
  132. package/table/index.cjs +1 -1
  133. package/table/index.js +1 -1
  134. package/tabs/index.cjs +1 -1
  135. package/tabs/index.js +1 -1
  136. package/tag/index.cjs +1 -1
  137. package/tag/index.js +1 -1
  138. package/textfield/index.cjs +1 -1
  139. package/textfield/index.js +1 -1
  140. package/toast/index.cjs +1 -1
  141. package/toast/index.js +1 -1
  142. package/toggle-button/index.cjs +1 -1
  143. package/toggle-button/index.js +1 -1
  144. package/{triangle-alert-wxyxspAl.js → triangle-alert-B_qAPmWC.js} +5 -5
  145. package/triangle-alert-BviJNFjf.cjs +6 -0
  146. package/{x-JK7i-TQC.js → x-C2xUHAEl.js} +5 -5
  147. package/x-rV-nu490.cjs +6 -0
  148. package/Button.module-DEQtBYe5.cjs +0 -1
  149. package/Button.module-tti8HGxs.js +0 -14
  150. package/ColorSchemeSwitch-DDXdSzqg.cjs +0 -16
  151. package/Dropdown-DAsVShlt.cjs +0 -6
  152. package/Layout-Dw-oCqxd.cjs +0 -16
  153. package/Link-D92ftFi2.cjs +0 -6
  154. package/Link-DegonJfl.js +0 -59
  155. package/LinkButton-CckYzfJ8.js +0 -69
  156. package/LinkButton-DKZ4z6zu.cjs +0 -6
  157. package/SearchField-CML0kjtn.cjs +0 -6
  158. package/Spinner-CbJ6YAz-.js +0 -53
  159. package/Spinner-yHcy8YHC.cjs +0 -6
  160. package/arrow-right-QJ2gXPKQ.cjs +0 -6
  161. package/check-CLF6Yxza.js +0 -11
  162. package/check-D_KoootC.cjs +0 -6
  163. package/chevron-down-Cd1bkzXT.js +0 -13
  164. package/chevron-down-jl83cllc.cjs +0 -6
  165. package/circle-check-BGo8gML8.cjs +0 -11
  166. package/createLucideIcon-Cg_wkoIA.cjs +0 -21
  167. package/createLucideIcon-DeWljiyi.js +0 -79
  168. package/info-CIEIENo6.cjs +0 -6
  169. package/square-arrow-out-up-right-V4Gd08uI.cjs +0 -6
  170. package/triangle-alert-DJW8U7jL.cjs +0 -6
  171. package/x-H8Zrx8-x.cjs +0 -6
@@ -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";
5
+ import { B as E } from "./Button-DtSrCAf6.js";
6
+ import { $ as y } from "./Link-Bn8V3ZI0.js";
7
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";
8
+ import { a as L, B as M } from "./BadgeContainer-DM8TdyMT.js";
9
+ import { c as T } from "./createLucideIcon-XRdN60yz.js";
10
10
  import { $ as w } from "./usePress-DuR4pVsE.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-fEwCQXDv.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
  };
@@ -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-I1XA3OCl.cjs"),y=require("./createLucideIcon-CTVXwe6i.cjs"),T=require("./usePress-BooY_CAy.cjs"),f=require("./useLocalizedStringFormatter-BO2iZEL0.cjs"),H=require("./tokens-BghDnMdO.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;
@@ -0,0 +1,59 @@
1
+ import { jsx as t, jsxs as p, Fragment as h } from "react/jsx-runtime";
2
+ import { $ as u } from "./Link-Bn8V3ZI0.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", g = "_stretched_txq8j_71", n = {
18
+ link: A,
19
+ icon: L,
20
+ standalone: $,
21
+ stretched: g
22
+ }, D = ({
23
+ children: e,
24
+ standalone: r,
25
+ target: i,
26
+ stretched: s,
27
+ download: a,
28
+ icon: c,
29
+ className: d,
30
+ as: l,
31
+ ...m
32
+ }) => {
33
+ const _ = l || u, f = ({ ...o }) => c ? /* @__PURE__ */ t(c, { ...o }) : a ? /* @__PURE__ */ t(y, { ...o }) : i === "_blank" ? /* @__PURE__ */ t(j, { ...o }) : r ? /* @__PURE__ */ t(w, { ...o }) : null;
34
+ return /* @__PURE__ */ t(
35
+ _,
36
+ {
37
+ className: x(
38
+ n.link,
39
+ r && n.standalone,
40
+ s && n.stretched,
41
+ d
42
+ ),
43
+ ...m,
44
+ children: /* @__PURE__ */ p(h, { children: [
45
+ e,
46
+ /* @__PURE__ */ t(
47
+ f,
48
+ {
49
+ size: 16,
50
+ className: n.icon
51
+ }
52
+ )
53
+ ] })
54
+ }
55
+ );
56
+ };
57
+ export {
58
+ D as L
59
+ };
@@ -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",g="_icon_txq8j_50",m="_standalone_txq8j_54",R="_stretched_txq8j_71",e={link:L,icon:g,standalone:m,stretched:R},y=({children:s,standalone:r,target:o,stretched:i,download:a,icon:c,className:u,as:d,...l})=>{const x=d||h.$4f118338184dc1d9$export$a6c7ac8248d6e38a,_=({...t})=>c?n.jsx(c,{...t}):a?n.jsx(p,{...t}):o==="_blank"?n.jsx(k.SquareArrowOutUpRight,{...t}):r?n.jsx(w.ArrowRight,{...t}):null;return n.jsx(x,{className:j.clsx(e.link,r&&e.standalone,i&&e.stretched,u),...l,children:n.jsxs(n.Fragment,{children:[s,n.jsx(_,{size:16,className:e.icon})]})})};exports.Link=y;
@@ -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=$;
@@ -0,0 +1,69 @@
1
+ import { jsxs as p, jsx as r } from "react/jsx-runtime";
2
+ import { $ as u } from "./Link-Bn8V3ZI0.js";
3
+ import { c as k } from "./clsx-OuTLNxxd.js";
4
+ import { S as y } from "./square-arrow-out-up-right-ok0A3Ovo.js";
5
+ import { c as z } from "./createLucideIcon-XRdN60yz.js";
6
+ import { A as g } from "./arrow-right-uemUGIg8.js";
7
+ import './assets/LinkButton.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 h = [
14
+ ["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
15
+ ["path", { d: "M19 12H5", key: "x3x0zl" }]
16
+ ], B = z("arrow-left", h), w = "_linkButton_1klzp_4", L = "_secondary_1klzp_55", x = "_icon_1klzp_60", A = "_tertiary_1klzp_85", $ = "_danger_1klzp_102", N = "_iconBtn_1klzp_119", j = "_medium_1klzp_141", R = "_iconLeft_1klzp_146", S = "_fullwidth_1klzp_150", t = {
17
+ linkButton: w,
18
+ secondary: L,
19
+ icon: x,
20
+ tertiary: A,
21
+ danger: $,
22
+ iconBtn: N,
23
+ medium: j,
24
+ iconLeft: R,
25
+ fullwidth: S
26
+ }, U = ({
27
+ children: e,
28
+ variant: o,
29
+ fullwidth: s,
30
+ icon: c,
31
+ iconPlacement: i,
32
+ className: l,
33
+ as: _,
34
+ size: a = "large",
35
+ ...d
36
+ }) => {
37
+ const m = _ || u, f = ({ ...n }) => c ? /* @__PURE__ */ r(c, { ...n }) : n.target === "_blank" ? /* @__PURE__ */ r(y, { ...n }) : i === "left" ? /* @__PURE__ */ r(B, { ...n }) : /* @__PURE__ */ r(g, { ...n });
38
+ return /* @__PURE__ */ p(
39
+ m,
40
+ {
41
+ className: k(
42
+ t.linkButton,
43
+ o === "primary" && t.primary,
44
+ o === "secondary" && t.secondary,
45
+ o === "tertiary" && t.tertiary,
46
+ o === "danger" && t.danger,
47
+ o === "icon" && t.iconBtn,
48
+ a === "medium" && t.medium,
49
+ s && t.fullwidth,
50
+ i === "left" && t.iconLeft,
51
+ l
52
+ ),
53
+ ...d,
54
+ children: [
55
+ e,
56
+ /* @__PURE__ */ r(
57
+ f,
58
+ {
59
+ size: 20,
60
+ className: t.icon
61
+ }
62
+ )
63
+ ]
64
+ }
65
+ );
66
+ };
67
+ export {
68
+ U as L
69
+ };
@@ -1,6 +1,6 @@
1
1
  import { jsx as a, jsxs as d, Fragment as f } from "react/jsx-runtime";
2
2
  import { b as u } from "./Button-CFYdzG0H.js";
3
- import { L as m } from "./Label-TVxwGZ-O.js";
3
+ import { L as m } from "./Label-D2GmP8_2.js";
4
4
  import { c } from "./clsx-OuTLNxxd.js";
5
5
  import './assets/ProgressBar.css';const o = "_progressBar_1ekuq_4", N = "_label_1ekuq_12", v = "_value_1ekuq_17", h = "_bar_1ekuq_22", x = "_fill_1ekuq_28", s = {
6
6
  progressBar: o,
@@ -1 +1 @@
1
- "use strict";require('./assets/ProgressBar.css');const s=require("react/jsx-runtime"),x=require("./Button-DExMoP5f.cjs"),n=require("./Label-CNmTN1YY.cjs"),c=require("./clsx-C11secjj.cjs"),m="_progressBar_1ekuq_4",d="_label_1ekuq_12",q="_value_1ekuq_17",N="_bar_1ekuq_22",f="_fill_1ekuq_28",a={progressBar:m,label:d,value:q,bar:N,fill:f},j=({label:r,labelProps:e,showValueLabel:l=!1,...t})=>s.jsx(x.$0393f8ab869a0f1a$export$c17561cb55d4db30,{...t,className:c.clsx(a.progressBar,t.className),children:({percentage:i,valueText:u,isIndeterminate:_})=>s.jsxs(s.Fragment,{children:[r&&s.jsx(n.Label,{elementType:"span",...e,className:c.clsx(e==null?void 0:e.className,a.label),children:r}),l&&s.jsx(n.Label,{elementType:"span",...e,id:"",className:c.clsx(e==null?void 0:e.className,a.value),children:u}),s.jsx("div",{className:a.bar,children:s.jsx("div",{className:a.fill,style:{width:`${_?50:i}%`}})})]})});exports.ProgressBar=j;
1
+ "use strict";require('./assets/ProgressBar.css');const s=require("react/jsx-runtime"),x=require("./Button-DExMoP5f.cjs"),n=require("./Label-E3LhQfNv.cjs"),c=require("./clsx-C11secjj.cjs"),m="_progressBar_1ekuq_4",d="_label_1ekuq_12",q="_value_1ekuq_17",N="_bar_1ekuq_22",f="_fill_1ekuq_28",a={progressBar:m,label:d,value:q,bar:N,fill:f},j=({label:r,labelProps:e,showValueLabel:l=!1,...t})=>s.jsx(x.$0393f8ab869a0f1a$export$c17561cb55d4db30,{...t,className:c.clsx(a.progressBar,t.className),children:({percentage:i,valueText:u,isIndeterminate:_})=>s.jsxs(s.Fragment,{children:[r&&s.jsx(n.Label,{elementType:"span",...e,className:c.clsx(e==null?void 0:e.className,a.label),children:r}),l&&s.jsx(n.Label,{elementType:"span",...e,id:"",className:c.clsx(e==null?void 0:e.className,a.value),children:u}),s.jsx("div",{className:a.bar,children:s.jsx("div",{className:a.fill,style:{width:`${_?50:i}%`}})})]})});exports.ProgressBar=j;
@@ -20,7 +20,7 @@ import { $ as ne } from "./useHover-DQvJ3Y-W.js";
20
20
  import { $ as ce } from "./VisuallyHidden-CYfmTSCD.js";
21
21
  import { $ as fe } from "./useControlledState-u436Wbp1.js";
22
22
  import { c as L } from "./clsx-OuTLNxxd.js";
23
- import { a as ue, L as be } from "./Label-TVxwGZ-O.js";
23
+ import { a as ue, L as be } from "./Label-D2GmP8_2.js";
24
24
  import { T as $e } from "./Text-DlKqpvSa.js";
25
25
  import { F as E } from "./FieldError-B3YFj-an.js";
26
26
  import './assets/Radio.css';const N = /* @__PURE__ */ new WeakMap();