@midas-ds/components 17.33.4 → 17.33.6

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 (104) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/accordion/index.js +1 -1
  3. package/assets/default.css +1 -1
  4. package/badge/index.js +1 -1
  5. package/breadcrumbs/index.js +1 -1
  6. package/button/index.js +1 -1
  7. package/calendar/index.js +1 -1
  8. package/card/index.js +1 -1
  9. package/character-counter/index.js +1 -1
  10. package/checkbox/index.js +1 -1
  11. package/chunks/{Button.module-0C2ArlRs.js → Button.module-CXkKBjuB.js} +0 -1
  12. package/chunks/{FeedbackStatusIcon-DvMDGBGL.js → FeedbackStatusIcon-Ba31xgcy.js} +1 -2
  13. package/chunks/{TextField.module-Bg4LNalb.js → TextField.module-B-5HJOZt.js} +0 -1
  14. package/chunks/{accordion-DRXQI8XG.js → accordion-BKnABSyU.js} +4 -5
  15. package/chunks/{badge-C4bXJmhn.js → badge-C5Sdu_uw.js} +1 -2
  16. package/chunks/{breadcrumbs-BGnyY3bO.js → breadcrumbs-BwYDyKWo.js} +1 -2
  17. package/chunks/{button-dpe6hXmI.js → button-S2AY4EEn.js} +4 -5
  18. package/chunks/{calendar-Bq2qqFIW.js → calendar-BOTC3DKx.js} +26 -27
  19. package/chunks/{card-C0S9Kyi2.js → card-mIB1NewO.js} +3 -4
  20. package/chunks/{character-counter-CSoVSrxZ.js → character-counter-IbkPoEcq.js} +0 -1
  21. package/chunks/{checkbox-BGxv1TyT.js → checkbox-CzH8BdsB.js} +38 -40
  22. package/chunks/{clear-button-DWtOkhCH.js → clear-button-CeQy0RdK.js} +2 -3
  23. package/chunks/{clsx-DAqHMl_k.js → clsx-BtGY0yFD.js} +1 -2
  24. package/chunks/{color-scheme-switch-D7EpvqTW.js → color-scheme-switch-BpmV-r9p.js} +28 -29
  25. package/chunks/{combobox-f4uuMJcb.js → combobox-DQ3d6pLc.js} +16 -18
  26. package/chunks/{date-field-BCfp9ZpN.js → date-field-DSBHnHdN.js} +16 -17
  27. package/chunks/{date-picker-DH8j2eU9.js → date-picker-CLizY8Vq.js} +39 -40
  28. package/chunks/{drop-zone-DNhEbH4w.js → drop-zone-BL3Z-Sbj.js} +1 -2
  29. package/chunks/{field-error-BHoPnRe4.js → field-error-C5ynuTRu.js} +2 -3
  30. package/chunks/{file-list-DT3zkJbO.js → file-list-etDe20pj.js} +9 -10
  31. package/chunks/{file-trigger-Dp5nH8oS.js → file-trigger-gOeeZzDP.js} +1 -2
  32. package/chunks/{grid-SIgkSK_-.js → grid-CFn_pqQX.js} +1 -2
  33. package/chunks/{heading-DcOjYrUM.js → heading-CIlMdywy.js} +1 -2
  34. package/chunks/{icons-UBHIX2oV.js → icons-a0WawN46.js} +1 -2
  35. package/chunks/{info-banner-DXjPEG69.js → info-banner-BKB7_CPh.js} +6 -7
  36. package/chunks/{label-2ac-zqbe.js → label-B5-Kmj4t.js} +8 -9
  37. package/chunks/{layout-BT-UgQne.js → layout-Cs8Oc8sf.js} +82 -83
  38. package/chunks/{link-B76JDA2N.js → link-CG_mHnLv.js} +2 -3
  39. package/chunks/{link-button-BeXxC22w.js → link-button-4xRbQqH2.js} +2 -3
  40. package/chunks/{list-box-BzBJX0nP.js → list-box-frfQGO1x.js} +5 -6
  41. package/chunks/{logo-DSJ1bUJZ.js → logo-Xe8PO0US.js} +2 -3
  42. package/chunks/{menu-DbQ98noD.js → menu-7gP2Sovj.js} +1 -2
  43. package/chunks/{modal-CzApHmjO.js → modal-BQrpnHT5.js} +15 -17
  44. package/chunks/{popover-B82BcP5n.js → popover-C7Ain5Qz.js} +1 -2
  45. package/chunks/{progress-bar-CJOm7oiN.js → progress-bar-DE7UoEWR.js} +9 -10
  46. package/chunks/{radio-DgFKSBa5.js → radio-DAB7WeIP.js} +17 -18
  47. package/chunks/{search-field-CpQnnJKa.js → search-field-BI1h0UBl.js} +23 -25
  48. package/chunks/{select-CdVW8cwA.js → select-BHpUGcW7.js} +38 -40
  49. package/chunks/{skeleton-R_3dS7Ro.js → skeleton-6y5HNJZp.js} +1 -2
  50. package/chunks/{spinner-CIjfJeGm.js → spinner-YKC-Vk3v.js} +2 -3
  51. package/chunks/{splitDataAttributes-_JTFOOIb.js → splitDataAttributes-ChyO_Kvc.js} +1 -2
  52. package/chunks/{stack-BAHKom_Q.js → stack-DKjRicm1.js} +1 -2
  53. package/chunks/{table-D02AQ0Xr.js → table-Fsf-jJip.js} +16 -17
  54. package/chunks/{tabs-CbcNTa7J.js → tabs-ZCpVhr_r.js} +2 -3
  55. package/chunks/{tag-BEawJnJm.js → tag-B1suqFhD.js} +2 -3
  56. package/chunks/{text-DnvD4Cjc.js → text-D7tnzTru.js} +1 -2
  57. package/chunks/textfield-C-lRIIil.js +110 -0
  58. package/chunks/time-field-1I6BMlaj.js +59 -0
  59. package/chunks/{toast-B8J42Yss.js → toast-DTqQhHFN.js} +13 -14
  60. package/chunks/{toggle-button-DD_bXanH.js → toggle-button-BVyG8F2K.js} +6 -7
  61. package/chunks/{tooltip-1GBTeMrm.js → tooltip-CR1uxtPd.js} +2 -4
  62. package/chunks/{useLocalizedStringFormatter-CeyBc0x0.js → useLocalizedStringFormatter-DhIAL1D7.js} +1 -2
  63. package/clear-button/index.js +1 -1
  64. package/color-scheme-switch/index.js +1 -1
  65. package/combobox/index.js +1 -1
  66. package/date-field/index.js +1 -1
  67. package/date-picker/index.js +1 -1
  68. package/drop-zone/index.js +1 -1
  69. package/field-error/index.js +1 -1
  70. package/file-list/index.js +1 -1
  71. package/file-trigger/index.js +1 -1
  72. package/grid/index.js +1 -1
  73. package/heading/index.js +1 -1
  74. package/icons/index.js +1 -1
  75. package/index.js +51 -53
  76. package/info-banner/index.js +1 -1
  77. package/label/index.js +1 -1
  78. package/layout/index.js +1 -1
  79. package/link/index.js +1 -1
  80. package/link-button/index.js +1 -1
  81. package/list-box/index.js +1 -1
  82. package/logo/index.js +1 -1
  83. package/menu/index.js +1 -1
  84. package/modal/index.js +1 -1
  85. package/package.json +2 -2
  86. package/popover/index.js +1 -1
  87. package/progress-bar/index.js +1 -1
  88. package/radio/index.js +1 -1
  89. package/search-field/index.js +1 -1
  90. package/select/index.js +1 -1
  91. package/skeleton/index.js +1 -1
  92. package/spinner/index.js +1 -1
  93. package/stack/index.js +1 -1
  94. package/table/index.js +1 -1
  95. package/tabs/index.js +1 -1
  96. package/tag/index.js +1 -1
  97. package/text/index.js +1 -1
  98. package/textfield/index.js +1 -1
  99. package/time-field/index.js +1 -1
  100. package/toast/index.js +1 -1
  101. package/toggle-button/index.js +1 -1
  102. package/tooltip/index.js +1 -1
  103. package/chunks/textfield-CeFppAMx.js +0 -113
  104. package/chunks/time-field-H-mXlxua.js +0 -60
@@ -1,11 +1,11 @@
1
1
  'use client';
2
- import { t as e } from "./clsx-DAqHMl_k.js";
3
- import { t } from "./useLocalizedStringFormatter-CeyBc0x0.js";
4
- import { n } from "./button-dpe6hXmI.js";
5
- import { n as r, t as i } from "./badge-C4bXJmhn.js";
6
- import { t as a } from "./grid-SIgkSK_-.js";
7
- import { n as o, t as s } from "./tooltip-1GBTeMrm.js";
8
- import { t as c } from "./logo-DSJ1bUJZ.js";
2
+ import { t as e } from "./grid-CFn_pqQX.js";
3
+ import { t } from "./clsx-BtGY0yFD.js";
4
+ import { n } from "./button-S2AY4EEn.js";
5
+ import { n as r, t as i } from "./tooltip-CR1uxtPd.js";
6
+ import { n as a, t as o } from "./badge-C5Sdu_uw.js";
7
+ import { t as s } from "./useLocalizedStringFormatter-DhIAL1D7.js";
8
+ import { t as c } from "./logo-Xe8PO0US.js";
9
9
  import * as l from "react";
10
10
  import { useEffect as u, useState as d } from "react";
11
11
  import { Link as f, RouterProvider as p } from "react-aria-components";
@@ -74,7 +74,7 @@ import '../assets/layout.css';var S = {
74
74
  let e = l.useContext(C);
75
75
  if (!e) throw Error("useLayoutContext must be used within a LayoutProvider");
76
76
  return e;
77
- }, E = ({ title: t, href: n, icon: a, active: c, hasBadge: l, onClick: p, target: m }) => {
77
+ }, E = ({ title: e, href: n, icon: s, active: c, hasBadge: l, onClick: p, target: m }) => {
78
78
  let { isCollapsed: _, setIsOpened: v, clientSideHref: y } = T(), b = y ? y(n) : n, [x, C] = d(!1);
79
79
  u(() => {
80
80
  if (typeof window < "u") {
@@ -84,30 +84,30 @@ import '../assets/layout.css';var S = {
84
84
  }, [c, b]);
85
85
  let w = () => {
86
86
  v?.(!1), p && p({
87
- title: t,
87
+ title: e,
88
88
  href: b
89
89
  });
90
90
  };
91
- return _ ? /* @__PURE__ */ g(o, { children: [/* @__PURE__ */ h(f, {
91
+ return _ ? /* @__PURE__ */ g(r, { children: [/* @__PURE__ */ h(f, {
92
92
  href: n,
93
- "aria-label": t,
94
- className: e(S.listLink, S.listLinkCollapsed, x && S.active),
93
+ "aria-label": e,
94
+ className: t(S.listLink, S.listLinkCollapsed, x && S.active),
95
95
  onPress: w,
96
96
  target: m,
97
- children: /* @__PURE__ */ g(i, { children: [/* @__PURE__ */ h(a, {
97
+ children: /* @__PURE__ */ g(o, { children: [/* @__PURE__ */ h(s, {
98
98
  size: 20,
99
- "aria-label": t
100
- }), l && /* @__PURE__ */ h(r, {})] })
101
- }), /* @__PURE__ */ h(s, {
99
+ "aria-label": e
100
+ }), l && /* @__PURE__ */ h(a, {})] })
101
+ }), /* @__PURE__ */ h(i, {
102
102
  placement: "right",
103
- children: t
103
+ children: e
104
104
  })] }) : /* @__PURE__ */ g(f, {
105
105
  href: n,
106
- "aria-label": t,
107
- className: e(S.listLink, x && S.active),
106
+ "aria-label": e,
107
+ className: t(S.listLink, x && S.active),
108
108
  onPress: w,
109
109
  target: m,
110
- children: [/* @__PURE__ */ g(i, { children: [/* @__PURE__ */ h(a, { size: 20 }), l && /* @__PURE__ */ h(r, {})] }), t]
110
+ children: [/* @__PURE__ */ g(o, { children: [/* @__PURE__ */ h(s, { size: 20 }), l && /* @__PURE__ */ h(a, {})] }), e]
111
111
  });
112
112
  }, D = {
113
113
  en: {
@@ -128,23 +128,23 @@ import '../assets/layout.css';var S = {
128
128
  bottomMenu: "Bottenmeny",
129
129
  skipToContent: "Hoppa till huvudinnehåll"
130
130
  }
131
- }, O = ({ onLinkClick: r }) => {
132
- let { items: i, app: a, isOpened: o, isCollapsed: s, setIsCollapsed: c, setIsOpened: u, clientSideRouter: d, clientSideHref: f, id: m } = T(), _ = t(D), b = ({ group: t }) => /* @__PURE__ */ h("ul", {
131
+ }, O = ({ onLinkClick: e }) => {
132
+ let { items: r, app: i, isOpened: a, isCollapsed: o, setIsCollapsed: c, setIsOpened: u, clientSideRouter: d, clientSideHref: f, id: m } = T(), _ = s(D), b = ({ group: n }) => /* @__PURE__ */ h("ul", {
133
133
  className: S.list,
134
- children: t.items.map((t, n) => /* @__PURE__ */ h("li", {
135
- className: e(S.listItem, s && S.listItemCollapsed),
136
- children: t.target === "_blank" || !d ? /* @__PURE__ */ h(E, {
137
- onClick: r,
138
- ...t
134
+ children: n.items.map((n, r) => /* @__PURE__ */ h("li", {
135
+ className: t(S.listItem, o && S.listItemCollapsed),
136
+ children: n.target === "_blank" || !d ? /* @__PURE__ */ h(E, {
137
+ onClick: e,
138
+ ...n
139
139
  }) : /* @__PURE__ */ h(p, {
140
140
  navigate: d,
141
141
  useHref: f,
142
142
  children: /* @__PURE__ */ h(E, {
143
- onClick: r,
144
- ...t
143
+ onClick: e,
144
+ ...n
145
145
  })
146
146
  })
147
- }, "link_" + n))
147
+ }, "link_" + r))
148
148
  });
149
149
  return l.useEffect(() => {
150
150
  let e = (e) => {
@@ -155,25 +155,25 @@ import '../assets/layout.css';var S = {
155
155
  };
156
156
  }, [u]), /* @__PURE__ */ g("aside", {
157
157
  id: m,
158
- className: e(S.sidebar, s && S.sidebarCollapsed, o && S.sidebarOpened),
158
+ className: t(S.sidebar, o && S.sidebarCollapsed, a && S.sidebarOpened),
159
159
  children: [/* @__PURE__ */ g("div", {
160
160
  className: S.sidebarHeader,
161
- children: [!s && /* @__PURE__ */ h("p", {
161
+ children: [!o && /* @__PURE__ */ h("p", {
162
162
  className: S.appName,
163
- children: a.name
163
+ children: i.name
164
164
  }), /* @__PURE__ */ h(n, {
165
165
  variant: "icon",
166
- "aria-label": s ? _.format("maximizeMenu") : _.format("minimizeMenu"),
167
- onPress: () => c(!s),
166
+ "aria-label": o ? _.format("maximizeMenu") : _.format("minimizeMenu"),
167
+ onPress: () => c(!o),
168
168
  className: S.collapseButton,
169
- children: h(s ? y : v, { size: 20 })
169
+ children: h(o ? y : v, { size: 20 })
170
170
  })]
171
171
  }), /* @__PURE__ */ h("nav", {
172
172
  className: S.sidebarNav,
173
173
  "aria-label": _.format("sidebarMenu"),
174
174
  children: /* @__PURE__ */ h("ul", {
175
175
  className: S.list,
176
- children: i.map((e, t) => /* @__PURE__ */ g("li", { children: [e.title && !s && /* @__PURE__ */ h("p", {
176
+ children: r.map((e, t) => /* @__PURE__ */ g("li", { children: [e.title && !o && /* @__PURE__ */ h("p", {
177
177
  className: S.listGroupTitle,
178
178
  children: e.title
179
179
  }), /* @__PURE__ */ h(b, { group: e })] }, "list_" + t))
@@ -181,9 +181,9 @@ import '../assets/layout.css';var S = {
181
181
  })]
182
182
  });
183
183
  }, k = () => {
184
- let { title: r, user: i, app: a, isOpened: o, setIsOpened: s, setIsCollapsed: l, headerChildren: u, variant: d, id: f } = T(), p = t(D);
184
+ let { title: e, user: r, app: i, isOpened: a, setIsOpened: o, setIsCollapsed: l, headerChildren: u, variant: d, id: f } = T(), p = s(D);
185
185
  return d === "external" ? /* @__PURE__ */ h("header", {
186
- className: e(S.header, S.headerExternal),
186
+ className: t(S.header, S.headerExternal),
187
187
  children: /* @__PURE__ */ g("div", {
188
188
  className: S.headerContentExternal,
189
189
  children: [/* @__PURE__ */ g("div", {
@@ -201,10 +201,10 @@ import '../assets/layout.css';var S = {
201
201
  }),
202
202
  /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("p", {
203
203
  className: S.userName,
204
- children: i.name
204
+ children: r.name
205
205
  }), /* @__PURE__ */ h("p", {
206
206
  className: S.userTitle,
207
- children: i.title
207
+ children: r.title
208
208
  })] })
209
209
  ]
210
210
  }), /* @__PURE__ */ h("div", {
@@ -214,7 +214,7 @@ import '../assets/layout.css';var S = {
214
214
  })
215
215
  }) : /* @__PURE__ */ g("header", {
216
216
  className: S.header,
217
- style: { borderTop: `solid 4px ${a.color ? a.color : x.brandPrimary}` },
217
+ style: { borderTop: `solid 4px ${i.color ? i.color : x.brandPrimary}` },
218
218
  children: [/* @__PURE__ */ g("div", {
219
219
  className: S.headerContent,
220
220
  children: [
@@ -225,15 +225,15 @@ import '../assets/layout.css';var S = {
225
225
  padding: !1
226
226
  })
227
227
  }),
228
- o !== void 0 && /* @__PURE__ */ h(n, {
228
+ a !== void 0 && /* @__PURE__ */ h(n, {
229
229
  variant: "icon",
230
230
  className: S.toggleButton,
231
- "aria-label": o ? p.format("closeMenu") : p.format("openMenu"),
231
+ "aria-label": a ? p.format("closeMenu") : p.format("openMenu"),
232
232
  "aria-controls": f,
233
233
  onPressStart: () => {
234
- l(!1), s?.(!0);
234
+ l(!1), o?.(!0);
235
235
  },
236
- children: h(o ? b : _, {
236
+ children: h(a ? b : _, {
237
237
  size: 20,
238
238
  "aria-hidden": "true"
239
239
  })
@@ -241,15 +241,15 @@ import '../assets/layout.css';var S = {
241
241
  /* @__PURE__ */ g("div", { children: [
242
242
  /* @__PURE__ */ h("p", {
243
243
  className: S.userName,
244
- children: i.name
244
+ children: r.name
245
245
  }),
246
246
  /* @__PURE__ */ h("p", {
247
247
  className: S.userTitle,
248
- children: i.title
248
+ children: r.title
249
249
  }),
250
250
  /* @__PURE__ */ h("p", {
251
251
  className: S.title,
252
- children: r
252
+ children: e
253
253
  })
254
254
  ] })
255
255
  ]
@@ -259,51 +259,51 @@ import '../assets/layout.css';var S = {
259
259
  })]
260
260
  });
261
261
  }, A = ({ id: e = "main:first-of-type" }) => {
262
- let r = () => {
262
+ let t = () => {
263
263
  let t = document.querySelector(e);
264
264
  t && (t.tabIndex = -1, t.focus(), setTimeout(() => t.removeAttribute("tabindex"), 1e3));
265
- }, i = t(D);
265
+ }, r = s(D);
266
266
  return /* @__PURE__ */ h(n, {
267
- onPress: r,
267
+ onPress: t,
268
268
  className: S.skipToContent,
269
- children: i.format("skipToContent")
269
+ children: r.format("skipToContent")
270
270
  });
271
271
  }, j = () => {
272
- let { isOpened: t, setIsOpened: n } = T();
273
- return t ? /* @__PURE__ */ h("div", {
274
- className: e(S.backdrop, S.backdropOpened),
272
+ let { isOpened: e, setIsOpened: n } = T();
273
+ return e ? /* @__PURE__ */ h("div", {
274
+ className: t(S.backdrop, S.backdropOpened),
275
275
  onClick: () => {
276
276
  n?.(!1);
277
277
  },
278
278
  "aria-hidden": !0
279
279
  }) : null;
280
280
  }, M = () => {
281
- let { items: n, clientSideRouter: r, clientSideHref: i } = T(), a = t(D), o = n?.[0]?.items;
281
+ let { items: e, clientSideRouter: n, clientSideHref: r } = T(), i = s(D), a = e?.[0]?.items;
282
282
  return /* @__PURE__ */ h("nav", {
283
283
  className: S.navbar,
284
- "aria-label": a.format("bottomMenu"),
285
- children: o && /* @__PURE__ */ h("ul", {
286
- className: e(S.navbarList),
287
- children: r ? /* @__PURE__ */ h(p, {
288
- navigate: r,
289
- useHref: i,
290
- children: /* @__PURE__ */ h(N, { items: o })
291
- }) : /* @__PURE__ */ h(N, { items: o })
284
+ "aria-label": i.format("bottomMenu"),
285
+ children: a && /* @__PURE__ */ h("ul", {
286
+ className: t(S.navbarList),
287
+ children: n ? /* @__PURE__ */ h(p, {
288
+ navigate: n,
289
+ useHref: r,
290
+ children: /* @__PURE__ */ h(N, { items: a })
291
+ }) : /* @__PURE__ */ h(N, { items: a })
292
292
  })
293
293
  });
294
- }, N = ({ items: t }) => /* @__PURE__ */ h(m, { children: t.map(({ href: t, active: n, icon: a, title: o, hasBadge: s }, c) => /* @__PURE__ */ h("li", { children: /* @__PURE__ */ g(f, {
295
- href: t,
296
- className: e(S.navbarItem),
294
+ }, N = ({ items: e }) => /* @__PURE__ */ h(m, { children: e.map(({ href: e, active: n, icon: r, title: i, hasBadge: s }, c) => /* @__PURE__ */ h("li", { children: /* @__PURE__ */ g(f, {
295
+ href: e,
296
+ className: t(S.navbarItem),
297
297
  "data-active": n,
298
298
  "aria-current": n && "page",
299
- children: [/* @__PURE__ */ g(i, { children: [/* @__PURE__ */ h(a, { size: 20 }), s && /* @__PURE__ */ h(r, {})] }), o]
300
- }) }, c)) }), P = ({ items: t, title: n, user: r, app: i, children: o, headerChildren: s, clientSideRouter: c, clientSideHref: u, variant: d, className: f, onSidebarLinkClick: p }) => {
299
+ children: [/* @__PURE__ */ g(o, { children: [/* @__PURE__ */ h(r, { size: 20 }), s && /* @__PURE__ */ h(a, {})] }), i]
300
+ }) }, c)) }), P = ({ items: n, title: r, user: i, app: a, children: o, headerChildren: s, clientSideRouter: c, clientSideHref: u, variant: d, className: f, onSidebarLinkClick: p }) => {
301
301
  let [m, _] = l.useState(!1), [v, y] = l.useState(!1), b = l.useId();
302
302
  return d === "external" ? /* @__PURE__ */ h(P.Provider, {
303
- items: t,
304
- title: n,
305
- user: r,
306
- app: i,
303
+ items: n,
304
+ title: r,
305
+ user: i,
306
+ app: a,
307
307
  clientSideRouter: c,
308
308
  clientSideHref: u,
309
309
  headerChildren: s,
@@ -312,7 +312,7 @@ import '../assets/layout.css';var S = {
312
312
  variant: d,
313
313
  id: b,
314
314
  children: /* @__PURE__ */ g("div", {
315
- className: e(S.baseLayout, f),
315
+ className: t(S.baseLayout, f),
316
316
  children: [
317
317
  /* @__PURE__ */ h(A, {}),
318
318
  /* @__PURE__ */ h(P.Header, {}),
@@ -320,7 +320,7 @@ import '../assets/layout.css';var S = {
320
320
  className: S.mainContent,
321
321
  children: [
322
322
  /* @__PURE__ */ h(P.Sidebar, { onLinkClick: p }),
323
- /* @__PURE__ */ h(a, { children: /* @__PURE__ */ h("main", {
323
+ /* @__PURE__ */ h(e, { children: /* @__PURE__ */ h("main", {
324
324
  className: S.main,
325
325
  children: /* @__PURE__ */ h("div", {
326
326
  className: S.app,
@@ -337,10 +337,10 @@ import '../assets/layout.css';var S = {
337
337
  ]
338
338
  })
339
339
  }) : /* @__PURE__ */ h(P.Provider, {
340
- items: t,
341
- title: n,
342
- user: r,
343
- app: i,
340
+ items: n,
341
+ title: r,
342
+ user: i,
343
+ app: a,
344
344
  clientSideRouter: c,
345
345
  clientSideHref: u,
346
346
  headerChildren: s,
@@ -351,7 +351,7 @@ import '../assets/layout.css';var S = {
351
351
  variant: d,
352
352
  id: b,
353
353
  children: /* @__PURE__ */ g("div", {
354
- className: e(S.baseLayout, f),
354
+ className: t(S.baseLayout, f),
355
355
  children: [
356
356
  /* @__PURE__ */ h(A, {}),
357
357
  /* @__PURE__ */ h(P.Header, {}),
@@ -359,7 +359,7 @@ import '../assets/layout.css';var S = {
359
359
  className: S.mainContent,
360
360
  children: [
361
361
  /* @__PURE__ */ h(P.Sidebar, { onLinkClick: p }),
362
- /* @__PURE__ */ h(a, { children: /* @__PURE__ */ h("main", {
362
+ /* @__PURE__ */ h(e, { children: /* @__PURE__ */ h("main", {
363
363
  className: S.main,
364
364
  children: /* @__PURE__ */ h("div", {
365
365
  className: S.app,
@@ -374,5 +374,4 @@ import '../assets/layout.css';var S = {
374
374
  });
375
375
  };
376
376
  P.Provider = w, P.Header = k, P.Sidebar = O, P.SidebarLink = E, P.Navbar = M, P.Backdrop = j;
377
- //#endregion
378
377
  export { E as a, O as i, M as n, k as r, P as t };
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- import { t as e } from "./clsx-DAqHMl_k.js";
3
- import { t } from "./useLocalizedStringFormatter-CeyBc0x0.js";
2
+ import { t as e } from "./clsx-BtGY0yFD.js";
3
+ import { t } from "./useLocalizedStringFormatter-DhIAL1D7.js";
4
4
  import { Link as n, RouterProvider as r } from "react-aria-components";
5
5
  import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
6
6
  import { ArrowDownToLine as s, ArrowRight as c, SquareArrowOutUpRight as l } from "lucide-react";
@@ -40,5 +40,4 @@ import '../assets/link.css';var d = {
40
40
  }), w.label && /* @__PURE__ */ a(u, { children: w.label })] }) : null]
41
41
  });
42
42
  }, m = ({ icon: e, ...t }) => /* @__PURE__ */ a(e, { ...t });
43
- //#endregion
44
43
  export { r as n, p as t };
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- import { t as e } from "./clsx-DAqHMl_k.js";
3
- import { t } from "./useLocalizedStringFormatter-CeyBc0x0.js";
2
+ import { t as e } from "./clsx-BtGY0yFD.js";
3
+ import { t } from "./useLocalizedStringFormatter-DhIAL1D7.js";
4
4
  import "react";
5
5
  import { Link as n, RouterProvider as r } from "react-aria-components";
6
6
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
@@ -40,5 +40,4 @@ import '../assets/link-button.css';var u = {
40
40
  ]
41
41
  });
42
42
  }, p = ({ icon: e, ...t }) => /* @__PURE__ */ i(e, { ...t });
43
- //#endregion
44
43
  export { r as n, f as t };
@@ -1,11 +1,11 @@
1
- import { t as e } from "./clsx-DAqHMl_k.js";
2
- import { t } from "./spinner-CIjfJeGm.js";
3
- import { t as n } from "./useLocalizedStringFormatter-CeyBc0x0.js";
4
- import { t as r } from "./text-DnvD4Cjc.js";
1
+ import { t as e } from "./clsx-BtGY0yFD.js";
2
+ import { t } from "./spinner-YKC-Vk3v.js";
3
+ import { t as n } from "./useLocalizedStringFormatter-DhIAL1D7.js";
4
+ import { t as r } from "./text-D7tnzTru.js";
5
5
  import "react";
6
6
  import { Header as i, ListBox as a, ListBoxItem as o, ListBoxLoadMoreItem as s, ListBoxSection as c, ListLayout as l, Popover as u, Virtualizer as d, composeRenderProps as f } from "react-aria-components";
7
7
  import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
8
- import '../assets/list-box.css';//#region src/list-box/SectionedListLayout.ts
8
+ import '../assets/list-box.css';// src/list-box/SectionedListLayout.ts
9
9
  var g = class extends l {
10
10
  getContentSize() {
11
11
  let e = this?.virtualizer?.collection.getKeys();
@@ -75,5 +75,4 @@ var g = class extends l {
75
75
  className: e(t, E.listBoxEmptyState),
76
76
  ...n
77
77
  });
78
- //#endregion
79
78
  export { x as a, v as c, S as i, T as n, b as o, w as r, y as s, D as t };
@@ -1,5 +1,5 @@
1
- import { t as e } from "./clsx-DAqHMl_k.js";
2
- import { t } from "./useLocalizedStringFormatter-CeyBc0x0.js";
1
+ import { t as e } from "./clsx-BtGY0yFD.js";
2
+ import { t } from "./useLocalizedStringFormatter-DhIAL1D7.js";
3
3
  import { createContext as n, useContext as r } from "react";
4
4
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
5
5
  import '../assets/logo.css';var o = {
@@ -89,5 +89,4 @@ import '../assets/logo.css';var o = {
89
89
  ]
90
90
  });
91
91
  };
92
- //#endregion
93
92
  export { c as n, l as t };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./clsx-DAqHMl_k.js";
1
+ import { t as e } from "./clsx-BtGY0yFD.js";
2
2
  import { Menu as t, MenuItem as n, MenuSection as r, MenuTrigger as i, Popover as a, Separator as o } from "react-aria-components";
3
3
  import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
4
4
  import { Check as u, ChevronRight as d } from "lucide-react";
@@ -44,5 +44,4 @@ import '../assets/menu.css';var f = {
44
44
  className: e(t, f.separator),
45
45
  ...n
46
46
  });
47
- //#endregion
48
47
  export { p as a, m as i, g as n, i as o, h as r, _ as t };
@@ -1,7 +1,7 @@
1
- import { t as e } from "./clsx-DAqHMl_k.js";
2
- import { t } from "./useLocalizedStringFormatter-CeyBc0x0.js";
3
- import { n } from "./button-dpe6hXmI.js";
4
- import { t as r } from "./heading-DcOjYrUM.js";
1
+ import { n as e } from "./button-S2AY4EEn.js";
2
+ import { t } from "./heading-CIlMdywy.js";
3
+ import { t as n } from "./useLocalizedStringFormatter-DhIAL1D7.js";
4
+ import { t as r } from "./clsx-BtGY0yFD.js";
5
5
  import { forwardRef as i, useCallback as a, useRef as o } from "react";
6
6
  import { Dialog as s, DialogTrigger as c, Modal as l, ModalOverlay as u, composeRenderProps as d } from "react-aria-components";
7
7
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
@@ -20,14 +20,13 @@ import '../assets/modal.css';var h = {
20
20
  }, _ = {
21
21
  modalOverlay: "_modalOverlay_gwg3f_1",
22
22
  "modal-fade": "_modal-fade_gwg3f_1"
23
- }, v = i(({ className: t, ...n }, r) => /* @__PURE__ */ f(u, {
24
- className: e(t, _.modalOverlay),
25
- ref: r,
26
- ...n
23
+ }, v = i(({ className: e, ...t }, n) => /* @__PURE__ */ f(u, {
24
+ className: r(e, _.modalOverlay),
25
+ ref: n,
26
+ ...t
27
27
  }));
28
28
  v.displayName = "ModalOverlay";
29
- //#endregion
30
- //#region src/modal/useStickyHeight.ts
29
+ // src/modal/useStickyHeight.ts
31
30
  var y = (e) => {
32
31
  let t = o(void 0);
33
32
  return a((n) => {
@@ -52,11 +51,11 @@ var y = (e) => {
52
51
  };
53
52
  t.addEventListener("focusin", n), e.current = () => t.removeEventListener("focusin", n);
54
53
  }, []);
55
- }, x = i(({ children: e, title: i, hideCloseButton: a = !1, footer: o, ...c }, u) => {
56
- let _ = t(g), x = y("--modal-header-height"), S = y("--modal-footer-height"), C = b();
54
+ }, x = i(({ children: r, title: i, hideCloseButton: a = !1, footer: o, ...c }, u) => {
55
+ let _ = n(g), x = y("--modal-header-height"), S = y("--modal-footer-height"), C = b();
57
56
  return /* @__PURE__ */ f(v, {
58
57
  ...c,
59
- children: d(e, (e) => /* @__PURE__ */ f(l, {
58
+ children: d(r, (n) => /* @__PURE__ */ f(l, {
60
59
  className: h.modal,
61
60
  ref: u,
62
61
  children: /* @__PURE__ */ p(s, {
@@ -68,13 +67,13 @@ var y = (e) => {
68
67
  ref: x,
69
68
  children: [/* @__PURE__ */ f("div", {
70
69
  className: h.modalTitle,
71
- children: i && /* @__PURE__ */ f(r, {
70
+ children: i && /* @__PURE__ */ f(t, {
72
71
  level: 3,
73
72
  elementType: "h2",
74
73
  slot: "title",
75
74
  children: i
76
75
  })
77
- }), !a && /* @__PURE__ */ f(n, {
76
+ }), !a && /* @__PURE__ */ f(e, {
78
77
  "aria-label": _.format("close"),
79
78
  className: h.closeButton,
80
79
  icon: m,
@@ -85,7 +84,7 @@ var y = (e) => {
85
84
  /* @__PURE__ */ f("div", {
86
85
  className: h.modalBody,
87
86
  tabIndex: -1,
88
- children: e
87
+ children: n
89
88
  }),
90
89
  o && /* @__PURE__ */ f("div", {
91
90
  className: h.modalFooter,
@@ -98,5 +97,4 @@ var y = (e) => {
98
97
  });
99
98
  });
100
99
  x.displayName = "Modal";
101
- //#endregion
102
100
  export { x as n, v as r, c as t };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./clsx-DAqHMl_k.js";
1
+ import { t as e } from "./clsx-BtGY0yFD.js";
2
2
  import { forwardRef as t } from "react";
3
3
  import { OverlayArrow as n, Popover as r, PopoverContext as i, composeRenderProps as a, useContextProps as o } from "react-aria-components";
4
4
  import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
@@ -23,5 +23,4 @@ import '../assets/popover.css';var u = {
23
23
  }), e] }))
24
24
  });
25
25
  });
26
- //#endregion
27
26
  export { d as t };
@@ -1,5 +1,5 @@
1
- import { t as e } from "./clsx-DAqHMl_k.js";
2
- import { t } from "./label-2ac-zqbe.js";
1
+ import { t as e } from "./label-B5-Kmj4t.js";
2
+ import { t } from "./clsx-BtGY0yFD.js";
3
3
  import "react";
4
4
  import { ProgressBar as n } from "react-aria-components";
5
5
  import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
@@ -18,23 +18,23 @@ import '../assets/progress-bar.css';var o = {
18
18
  circularIndeterminate: "_circularIndeterminate_15k4b_87"
19
19
  }, s = 8, c = 2 * Math.PI * s, l = c * .25, u = ({ label: u, labelProps: d, showValueLabel: f = !1, shape: p = "linear", small: m = !1, ...h }) => /* @__PURE__ */ i(n, {
20
20
  ...h,
21
- className: e(o.progressBar, h.className),
21
+ className: t(o.progressBar, h.className),
22
22
  children: ({ percentage: n, valueText: h, isIndeterminate: g }) => /* @__PURE__ */ a(r, { children: [
23
- u && /* @__PURE__ */ i(t, {
23
+ u && /* @__PURE__ */ i(e, {
24
24
  elementType: "span",
25
25
  ...d,
26
- className: e(d?.className, o.label),
26
+ className: t(d?.className, o.label),
27
27
  children: u
28
28
  }),
29
- f && /* @__PURE__ */ i(t, {
29
+ f && /* @__PURE__ */ i(e, {
30
30
  elementType: "span",
31
31
  ...d,
32
32
  id: u ? "" : d?.id,
33
- className: e(d?.className, o.value),
33
+ className: t(d?.className, o.value),
34
34
  children: h
35
35
  }),
36
36
  p === "circular" ? /* @__PURE__ */ a("svg", {
37
- className: e(o.circular, m && o.circularSmall),
37
+ className: t(o.circular, m && o.circularSmall),
38
38
  viewBox: "0 0 20 20",
39
39
  "aria-hidden": !0,
40
40
  children: [/* @__PURE__ */ i("circle", {
@@ -43,7 +43,7 @@ import '../assets/progress-bar.css';var o = {
43
43
  cy: 10,
44
44
  r: s
45
45
  }), /* @__PURE__ */ i("circle", {
46
- className: e(o.circularIndicator, g && o.circularIndeterminate),
46
+ className: t(o.circularIndicator, g && o.circularIndeterminate),
47
47
  cx: 10,
48
48
  cy: 10,
49
49
  r: s,
@@ -61,5 +61,4 @@ import '../assets/progress-bar.css';var o = {
61
61
  })
62
62
  ] })
63
63
  });
64
- //#endregion
65
64
  export { u as t };
@@ -1,11 +1,11 @@
1
- import { t as e } from "./clsx-DAqHMl_k.js";
2
- import { n as t, t as n } from "./label-2ac-zqbe.js";
3
- import { t as r } from "./text-DnvD4Cjc.js";
4
- import { t as i } from "./field-error-BHoPnRe4.js";
5
- import { t as a } from "./splitDataAttributes-_JTFOOIb.js";
1
+ import { t as e } from "./clsx-BtGY0yFD.js";
2
+ import { t } from "./splitDataAttributes-ChyO_Kvc.js";
3
+ import { n, t as r } from "./label-B5-Kmj4t.js";
4
+ import { t as i } from "./text-D7tnzTru.js";
5
+ import { t as a } from "./field-error-C5ynuTRu.js";
6
6
  import { Group as o, RadioButton as s, RadioField as c, RadioGroup as l, composeRenderProps as u } from "react-aria-components";
7
7
  import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
8
- import '../assets/radio.css';//#region src/radio/RadioField.tsx
8
+ import '../assets/radio.css';// src/radio/RadioField.tsx
9
9
  var m = (e) => /* @__PURE__ */ f(c, { ...e }), h = {
10
10
  radioGroup: "_radioGroup_1c5zi_1",
11
11
  wrap: "_wrap_1c5zi_12",
@@ -13,29 +13,29 @@ var m = (e) => /* @__PURE__ */ f(c, { ...e }), h = {
13
13
  }, g = ({ className: t, ...n }) => /* @__PURE__ */ f(s, {
14
14
  className: e(h.radioButton, t),
15
15
  ...n
16
- }), _ = ({ children: e, className: t, ...n }) => {
17
- let [r, i] = a(n);
16
+ }), _ = ({ children: e, className: n, ...r }) => {
17
+ let [i, a] = t(r);
18
18
  return /* @__PURE__ */ f(m, {
19
- ...i,
19
+ ...a,
20
20
  children: /* @__PURE__ */ f(g, {
21
- ...r,
22
- className: t,
21
+ ...i,
22
+ className: n,
23
23
  children: e
24
24
  })
25
25
  });
26
- }, v = ({ label: a, description: s, errorMessage: c, children: m, className: g, errorPosition: _ = "top", popover: v, ...y }) => /* @__PURE__ */ f(l, {
26
+ }, v = ({ label: t, description: s, errorMessage: c, children: m, className: g, errorPosition: _ = "top", popover: v, ...y }) => /* @__PURE__ */ f(l, {
27
27
  ...y,
28
28
  className: e(h.radioGroup, g),
29
29
  children: u(m, (e) => /* @__PURE__ */ p(d, { children: [
30
- /* @__PURE__ */ f(t, {
30
+ /* @__PURE__ */ f(n, {
31
31
  popover: v,
32
- children: a && /* @__PURE__ */ f(n, { children: a })
32
+ children: t && /* @__PURE__ */ f(r, { children: t })
33
33
  }),
34
- s && /* @__PURE__ */ f(r, {
34
+ s && /* @__PURE__ */ f(i, {
35
35
  slot: "description",
36
36
  children: s
37
37
  }),
38
- _ === "top" && /* @__PURE__ */ f(i, {
38
+ _ === "top" && /* @__PURE__ */ f(a, {
39
39
  "data-testid": "fieldError",
40
40
  children: c
41
41
  }),
@@ -43,11 +43,10 @@ var m = (e) => /* @__PURE__ */ f(c, { ...e }), h = {
43
43
  className: h.wrap,
44
44
  children: e
45
45
  }),
46
- _ === "bottom" && /* @__PURE__ */ f(i, {
46
+ _ === "bottom" && /* @__PURE__ */ f(a, {
47
47
  "data-testid": "fieldError",
48
48
  children: c
49
49
  })
50
50
  ] }))
51
51
  });
52
- //#endregion
53
52
  export { m as i, _ as n, g as r, v as t };