@auldrant/ui 0.8.1 → 0.9.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.
@@ -1,269 +1,482 @@
1
- import { jsx as l, jsxs as m, Fragment as V } from "preact/jsx-runtime";
2
- import { useId as v } from "preact/hooks";
3
- import { signal as A, useSignal as $, effect as J } from "@preact/signals";
4
- import { h as T, toChildArray as Q } from "preact";
5
- function b(...t) {
1
+ import { jsx as r, jsxs as m, Fragment as se } from "preact/jsx-runtime";
2
+ import { useId as x, useRef as P, useEffect as A } from "preact/hooks";
3
+ import { signal as K, useSignal as E, effect as le } from "@preact/signals";
4
+ import { h as M, toChildArray as re } from "preact";
5
+ function v(...t) {
6
6
  return t.filter(Boolean).join(" ");
7
7
  }
8
- function g(...t) {
8
+ function L(...t) {
9
9
  return t.filter(Boolean).join(" ") || void 0;
10
10
  }
11
- const X = "_button_4gn7y_1 _focus-ring_4u8pk_3 _disabled_4u8pk_8", Y = {
12
- button: X
13
- }, O = (t) => {
14
- const { label: e, onClick: s, type: n = "button", disabled: r, class: o } = t;
15
- return /* @__PURE__ */ l("button", { type: n, class: b(Y.button, o), onClick: s, disabled: r, children: e });
16
- }, ee = "_card_awzw5_1", te = {
17
- card: ee
18
- }, ut = (t) => {
11
+ const ae = "_button_4gn7y_1 _focus-ring_4u8pk_3 _disabled_4u8pk_8", oe = {
12
+ button: ae
13
+ }, G = (t) => {
14
+ const { label: e, onClick: s, type: n = "button", disabled: l, class: a } = t;
15
+ return /* @__PURE__ */ r("button", { type: n, class: v(oe.button, a), onClick: s, disabled: l, children: e });
16
+ }, ce = "_card_awzw5_1", ie = {
17
+ card: ce
18
+ }, Et = (t) => {
19
19
  const { children: e, class: s } = t;
20
- return /* @__PURE__ */ l("div", { class: b(te.card, s), children: e });
21
- }, se = "_field_17xwz_1", ne = "_input_17xwz_8 _check-input_4u8pk_32 _focus-ring_4u8pk_3 _disabled_4u8pk_8", re = "_error_17xwz_12 _field-error_4u8pk_36", L = {
22
- field: se,
23
- input: ne,
24
- error: re
25
- }, _t = (t) => {
26
- const { label: e, name: s, checked: n, required: r, disabled: o, error: a, onChange: c, class: i } = t, p = v(), h = `${p}-error`;
27
- return /* @__PURE__ */ m("div", { class: b(L.field, i), children: [
28
- /* @__PURE__ */ l(
20
+ return /* @__PURE__ */ r("div", { class: v(ie.card, s), children: e });
21
+ }, de = "_field_17xwz_1", ue = "_input_17xwz_8 _check-input_4u8pk_32 _focus-ring_4u8pk_3 _disabled_4u8pk_8", _e = "_error_17xwz_12 _field-error_4u8pk_36", T = {
22
+ field: de,
23
+ input: ue,
24
+ error: _e
25
+ }, Dt = (t) => {
26
+ const { label: e, name: s, checked: n, required: l, disabled: a, error: o, onChange: c, class: i } = t, h = x(), p = `${h}-error`;
27
+ return /* @__PURE__ */ m("div", { class: v(T.field, i), children: [
28
+ /* @__PURE__ */ r(
29
29
  "input",
30
30
  {
31
- id: p,
32
- class: L.input,
31
+ id: h,
32
+ class: T.input,
33
33
  type: "checkbox",
34
34
  name: s,
35
35
  checked: n,
36
- required: r,
37
- disabled: o,
38
- "aria-invalid": !!a || void 0,
39
- "aria-describedby": g(a && h),
40
- onChange: c && ((u) => c(u.target.checked))
36
+ required: l,
37
+ disabled: a,
38
+ "aria-invalid": !!o || void 0,
39
+ "aria-describedby": L(o && p),
40
+ onChange: c && ((_) => c(_.target.checked))
41
41
  }
42
42
  ),
43
- /* @__PURE__ */ l("label", { for: p, children: e }),
44
- a && /* @__PURE__ */ l("p", { id: h, class: L.error, role: "alert", children: a })
43
+ /* @__PURE__ */ r("label", { for: h, children: e }),
44
+ o && /* @__PURE__ */ r("p", { id: p, class: T.error, role: "alert", children: o })
45
45
  ] });
46
- }, le = "_link_7wgic_1 _link_4u8pk_22 _focus-ring_4u8pk_3", ae = {
47
- link: le
48
- }, pt = (t) => {
49
- const { href: e, fileName: s, label: n, class: r } = t;
50
- return /* @__PURE__ */ l("a", { href: e, download: s, class: b(ae.link, r), children: n });
51
- }, oe = "_form_jr324_1", ce = "_actions_jr324_6", ie = "_status_jr324_13", j = {
52
- form: oe,
53
- actions: ce,
54
- status: ie
55
- }, ht = (t) => {
46
+ }, pe = "_dialog_1lxj9_1", he = "_panel_1lxj9_14", fe = "_header_1lxj9_23", me = "_title_1lxj9_30", be = "_close_1lxj9_35 _focus-ring_4u8pk_3", ve = "_body_1lxj9_51", ke = "_message_1lxj9_56", ge = "_footer_1lxj9_60", ye = "_action_1lxj9_67 _focus-ring_4u8pk_3 _disabled_4u8pk_8", we = "_primary_1lxj9_82", y = {
47
+ dialog: pe,
48
+ panel: he,
49
+ header: fe,
50
+ title: me,
51
+ close: be,
52
+ body: ve,
53
+ message: ke,
54
+ footer: ge,
55
+ action: ye,
56
+ primary: we
57
+ }, R = {
58
+ cancel: "Cancel",
59
+ cancelDescription: "Dismiss this dialog",
60
+ closeDescription: "Close this dialog"
61
+ };
62
+ function xe(t) {
63
+ const e = t.split("+"), s = e.at(-1) ?? "", n = e.slice(0, -1).map((l) => l.toLowerCase());
64
+ return {
65
+ key: s.toLowerCase(),
66
+ ctrl: n.includes("ctrl"),
67
+ shift: n.includes("shift"),
68
+ alt: n.includes("alt")
69
+ };
70
+ }
71
+ function z(t) {
72
+ return `(${t})`;
73
+ }
74
+ const Y = (t) => {
75
+ const {
76
+ open: e,
77
+ title: s,
78
+ alert: n,
79
+ onDismiss: l,
80
+ onBackdropClick: a,
81
+ message: o,
82
+ defaultAction: c,
83
+ actions: i,
84
+ cancelLabel: h,
85
+ onCancel: p,
86
+ focusCancel: _,
87
+ children: f,
88
+ class: d
89
+ } = t, b = P(null), g = P(null), $ = P(null), C = x();
90
+ A(() => {
91
+ const u = b.current;
92
+ u && (e && !u.open ? (u.showModal(), _ && $.current ? $.current.focus() : g.current && g.current.focus()) : !e && u.open && u.close());
93
+ }, [e, _]), A(() => {
94
+ const u = b.current;
95
+ if (!u)
96
+ return;
97
+ const k = (I) => {
98
+ I.preventDefault(), l();
99
+ };
100
+ return u.addEventListener("cancel", k), () => u.removeEventListener("cancel", k);
101
+ }, [l]), A(() => {
102
+ const u = b.current;
103
+ if (!u || !e)
104
+ return;
105
+ const k = [...i ?? [], ...c ? [c] : []];
106
+ if (k.length === 0)
107
+ return;
108
+ const I = k.map((w) => ({
109
+ parsed: xe(w.shortcut),
110
+ handler: w.onClick
111
+ })), N = (w) => {
112
+ for (const { parsed: S, handler: ne } of I)
113
+ if (w.key.toLowerCase() === S.key && w.ctrlKey === S.ctrl && w.shiftKey === S.shift && w.altKey === S.alt) {
114
+ w.preventDefault(), ne();
115
+ return;
116
+ }
117
+ };
118
+ return u.addEventListener("keydown", N), () => u.removeEventListener("keydown", N);
119
+ }, [e, i, c]), A(() => {
120
+ const u = b.current;
121
+ if (!u || !e || !a)
122
+ return;
123
+ const k = (I) => {
124
+ I.target === u && a();
125
+ };
126
+ return u.addEventListener("click", k), () => u.removeEventListener("click", k);
127
+ }, [e, a]);
128
+ const q = c || p || i && i.length > 0;
129
+ return /* @__PURE__ */ r(
130
+ "dialog",
131
+ {
132
+ ref: b,
133
+ class: v(y.dialog, d),
134
+ "aria-labelledby": C,
135
+ role: n ? "alertdialog" : void 0,
136
+ children: /* @__PURE__ */ m("div", { class: y.panel, children: [
137
+ /* @__PURE__ */ m("header", { class: y.header, children: [
138
+ /* @__PURE__ */ r("h2", { id: C, class: y.title, children: s }),
139
+ !n && /* @__PURE__ */ r(
140
+ "button",
141
+ {
142
+ type: "button",
143
+ class: y.close,
144
+ title: R.closeDescription,
145
+ onClick: l,
146
+ children: "×"
147
+ }
148
+ )
149
+ ] }),
150
+ /* @__PURE__ */ m("div", { class: y.body, children: [
151
+ o && /* @__PURE__ */ r("p", { class: y.message, children: o }),
152
+ f
153
+ ] }),
154
+ q && /* @__PURE__ */ m("footer", { class: y.footer, children: [
155
+ i?.map((u) => /* @__PURE__ */ m(
156
+ "button",
157
+ {
158
+ type: "button",
159
+ class: y.action,
160
+ title: u.description,
161
+ onClick: u.onClick,
162
+ children: [
163
+ u.label,
164
+ " ",
165
+ z(u.shortcut)
166
+ ]
167
+ },
168
+ u.label
169
+ )),
170
+ c && /* @__PURE__ */ m(
171
+ "button",
172
+ {
173
+ ref: g,
174
+ type: "button",
175
+ class: v(y.action, y.primary),
176
+ title: c.description,
177
+ onClick: c.onClick,
178
+ children: [
179
+ c.label,
180
+ " ",
181
+ z(c.shortcut)
182
+ ]
183
+ }
184
+ ),
185
+ p && /* @__PURE__ */ m(
186
+ "button",
187
+ {
188
+ ref: $,
189
+ type: "button",
190
+ class: y.action,
191
+ title: R.cancelDescription,
192
+ onClick: p,
193
+ children: [
194
+ h ?? R.cancel,
195
+ " ",
196
+ z("Esc")
197
+ ]
198
+ }
199
+ )
200
+ ] })
201
+ ] })
202
+ }
203
+ );
204
+ }, St = (t) => {
205
+ const {
206
+ open: e,
207
+ title: s,
208
+ onClose: n,
209
+ message: l,
210
+ defaultAction: a,
211
+ actions: o,
212
+ children: c,
213
+ class: i
214
+ } = t;
215
+ return /* @__PURE__ */ r(
216
+ Y,
217
+ {
218
+ open: e,
219
+ title: s,
220
+ onDismiss: n,
221
+ onBackdropClick: n,
222
+ message: l,
223
+ defaultAction: a,
224
+ actions: o,
225
+ class: i,
226
+ children: c
227
+ }
228
+ );
229
+ }, $e = "_link_7wgic_1 _link_4u8pk_22 _focus-ring_4u8pk_3", Ce = {
230
+ link: $e
231
+ }, At = (t) => {
232
+ const { href: e, fileName: s, label: n, class: l } = t;
233
+ return /* @__PURE__ */ r("a", { href: e, download: s, class: v(Ce.link, l), children: n });
234
+ }, Ie = "_form_jr324_1", Le = "_actions_jr324_6", Ne = "_status_jr324_13", H = {
235
+ form: Ie,
236
+ actions: Le,
237
+ status: Ne
238
+ }, Bt = (t) => {
56
239
  const {
57
240
  onSubmit: e,
58
241
  submitLabel: s = "Submit",
59
242
  resetLabel: n,
60
- status: r,
61
- children: o,
62
- class: a
243
+ status: l,
244
+ children: a,
245
+ class: o
63
246
  } = t;
64
247
  return /* @__PURE__ */ m(
65
248
  "form",
66
249
  {
67
- class: b(j.form, a),
250
+ class: v(H.form, o),
68
251
  onSubmit: (c) => {
69
252
  c.preventDefault();
70
253
  const i = new FormData(c.currentTarget);
71
254
  e(i);
72
255
  },
73
256
  children: [
74
- o,
75
- /* @__PURE__ */ m("div", { class: j.actions, children: [
76
- /* @__PURE__ */ l(O, { type: "submit", label: s }),
77
- n && /* @__PURE__ */ l(O, { type: "reset", label: n })
257
+ a,
258
+ /* @__PURE__ */ m("div", { class: H.actions, children: [
259
+ /* @__PURE__ */ r(G, { type: "submit", label: s }),
260
+ n && /* @__PURE__ */ r(G, { type: "reset", label: n })
78
261
  ] }),
79
- r && /* @__PURE__ */ l("output", { class: j.status, children: r })
262
+ l && /* @__PURE__ */ r("output", { class: H.status, children: l })
80
263
  ]
81
264
  }
82
265
  );
83
- }, de = "_field_7l9ux_1", ue = "_label_7l9ux_8", _e = "_required_7l9ux_12", pe = "_error_7l9ux_16 _field-error_4u8pk_36", S = {
84
- field: de,
85
- label: ue,
86
- required: _e,
87
- error: pe
88
- }, x = (t) => {
89
- const { for: e, label: s, required: n, error: r, errorId: o, children: a, class: c } = t;
90
- return /* @__PURE__ */ m("div", { class: b(S.field, c), children: [
91
- /* @__PURE__ */ m("label", { class: S.label, for: e, children: [
266
+ }, je = "_field_7l9ux_1", Ee = "_label_7l9ux_8", De = "_required_7l9ux_12", Se = "_error_7l9ux_16 _field-error_4u8pk_36", B = {
267
+ field: je,
268
+ label: Ee,
269
+ required: De,
270
+ error: Se
271
+ }, D = (t) => {
272
+ const { for: e, label: s, required: n, error: l, errorId: a, children: o, class: c } = t;
273
+ return /* @__PURE__ */ m("div", { class: v(B.field, c), children: [
274
+ /* @__PURE__ */ m("label", { class: B.label, for: e, children: [
92
275
  s,
93
276
  ":",
94
- n && /* @__PURE__ */ m("span", { class: S.required, "aria-hidden": "true", children: [
277
+ n && /* @__PURE__ */ m("span", { class: B.required, "aria-hidden": "true", children: [
95
278
  " ",
96
279
  "*"
97
280
  ] })
98
281
  ] }),
99
- a,
100
- r && /* @__PURE__ */ l("p", { id: o, class: S.error, role: "alert", children: r })
282
+ o,
283
+ l && /* @__PURE__ */ r("p", { id: a, class: B.error, role: "alert", children: l })
101
284
  ] });
102
- }, he = "_input_1j10x_1 _text-input_4u8pk_13 _focus-ring_4u8pk_3 _disabled_4u8pk_8", me = {
103
- input: he
104
- }, be = {
285
+ }, Ae = "_input_1j10x_1 _text-input_4u8pk_13 _focus-ring_4u8pk_3 _disabled_4u8pk_8", Be = {
286
+ input: Ae
287
+ }, qe = {
105
288
  email: "email",
106
289
  tel: "tel",
107
290
  url: "url"
108
- }, mt = (t) => {
291
+ }, qt = (t) => {
109
292
  const {
110
293
  label: e,
111
294
  name: s,
112
295
  type: n = "text",
113
- value: r,
114
- placeholder: o,
115
- maxLength: a,
296
+ value: l,
297
+ placeholder: a,
298
+ maxLength: o,
116
299
  autocomplete: c,
117
300
  readOnly: i,
118
- pattern: p,
119
- required: h,
120
- disabled: u,
121
- error: _,
301
+ pattern: h,
302
+ required: p,
303
+ disabled: _,
304
+ error: f,
122
305
  onInput: d,
123
- class: f
124
- } = t, k = v(), y = `${k}-error`;
125
- return /* @__PURE__ */ l(
126
- x,
306
+ class: b
307
+ } = t, g = x(), $ = `${g}-error`;
308
+ return /* @__PURE__ */ r(
309
+ D,
127
310
  {
128
311
  label: e,
129
- for: k,
130
- required: h,
131
- error: _,
132
- errorId: y,
133
- class: f,
134
- children: /* @__PURE__ */ l(
312
+ for: g,
313
+ required: p,
314
+ error: f,
315
+ errorId: $,
316
+ class: b,
317
+ children: /* @__PURE__ */ r(
135
318
  "input",
136
319
  {
137
- id: k,
138
- class: me.input,
320
+ id: g,
321
+ class: Be.input,
139
322
  type: n,
140
323
  name: s,
141
- value: r,
142
- placeholder: o,
143
- maxLength: a,
144
- autoComplete: c ?? be[n],
324
+ value: l,
325
+ placeholder: a,
326
+ maxLength: o,
327
+ autoComplete: c ?? qe[n],
145
328
  readOnly: i,
146
- pattern: p,
147
- required: h,
148
- disabled: u,
149
- "aria-invalid": !!_ || void 0,
150
- "aria-describedby": g(_ && y),
329
+ pattern: h,
330
+ required: p,
331
+ disabled: _,
332
+ "aria-invalid": !!f || void 0,
333
+ "aria-describedby": L(f && $),
151
334
  onInput: d && ((C) => d(C.target.value))
152
335
  }
153
336
  )
154
337
  }
155
338
  );
156
- }, P = A(window.location.pathname), G = A(window.location.hash.slice(1));
157
- function fe(t) {
339
+ }, U = K(window.location.pathname), ee = K(window.location.hash.slice(1));
340
+ function Pe(t) {
158
341
  const e = t.indexOf("#");
159
342
  let s = "", n = t;
160
343
  e >= 0 && (s = t.slice(e + 1), n = t.slice(0, e));
161
- const r = n.indexOf("?");
162
- let o = "", a = n;
163
- return r >= 0 && (o = n.slice(r), a = n.slice(0, r)), { pathname: a || "/", search: o, hash: s };
344
+ const l = n.indexOf("?");
345
+ let a = "", o = n;
346
+ return l >= 0 && (a = n.slice(l), o = n.slice(0, l)), { pathname: o || "/", search: a, hash: s };
164
347
  }
165
- function ve(t, e) {
166
- const { pathname: s, search: n, hash: r } = fe(t), o = s + n + (r ? `#${r}` : "");
167
- e?.replace ? history.replaceState(null, "", o) : history.pushState(null, "", o), P.value = s, G.value = r;
348
+ function Te(t, e) {
349
+ const { pathname: s, search: n, hash: l } = Pe(t), a = s + n + (l ? `#${l}` : "");
350
+ e?.replace ? history.replaceState(null, "", a) : history.pushState(null, "", a), U.value = s, ee.value = l;
168
351
  }
169
352
  window.addEventListener("popstate", () => {
170
- P.value = window.location.pathname, G.value = window.location.hash.slice(1);
353
+ U.value = window.location.pathname, ee.value = window.location.hash.slice(1);
171
354
  });
172
- const ke = "_link_7wgic_1 _link_4u8pk_22 _focus-ring_4u8pk_3", H = {
173
- link: ke
355
+ const Re = "_link_7wgic_1 _link_4u8pk_22 _focus-ring_4u8pk_3", W = {
356
+ link: Re
174
357
  };
175
- function ge(t) {
358
+ function ze(t) {
176
359
  try {
177
360
  return new URL(t, window.location.href).origin !== window.location.origin;
178
361
  } catch {
179
362
  return !1;
180
363
  }
181
364
  }
182
- const bt = (t) => {
183
- const { href: e, children: s, external: n, class: r } = t;
184
- return n ?? ge(e) ? /* @__PURE__ */ l("a", { href: e, class: b(H.link, r), rel: "noopener noreferrer", children: s }) : /* @__PURE__ */ l(
365
+ const Pt = (t) => {
366
+ const { href: e, children: s, external: n, class: l } = t;
367
+ return n ?? ze(e) ? /* @__PURE__ */ r("a", { href: e, class: v(W.link, l), rel: "noopener noreferrer", children: s }) : /* @__PURE__ */ r(
185
368
  "a",
186
369
  {
187
370
  href: e,
188
- class: b(H.link, r),
189
- onClick: (a) => {
190
- a.preventDefault(), ve(e);
371
+ class: v(W.link, l),
372
+ onClick: (o) => {
373
+ o.preventDefault(), Te(e);
191
374
  },
192
375
  children: s
193
376
  }
194
377
  );
195
- }, ye = "_nav_778nl_1", we = "_title_778nl_6", D = {
196
- nav: ye,
197
- title: we
198
- }, ft = (t) => {
199
- const { title: e, children: s, class: n } = t, r = v();
200
- return /* @__PURE__ */ m("nav", { class: b(D.nav, n), "aria-labelledby": e ? r : void 0, children: [
201
- e && /* @__PURE__ */ l("h2", { id: r, class: D.title, children: e }),
378
+ }, Tt = (t) => {
379
+ const {
380
+ open: e,
381
+ title: s,
382
+ onCancel: n,
383
+ cancelLabel: l,
384
+ message: a,
385
+ defaultAction: o,
386
+ actions: c,
387
+ focusCancel: i,
388
+ children: h,
389
+ class: p
390
+ } = t;
391
+ return /* @__PURE__ */ r(
392
+ Y,
393
+ {
394
+ open: e,
395
+ title: s,
396
+ alert: !0,
397
+ onDismiss: n,
398
+ onCancel: n,
399
+ cancelLabel: l,
400
+ message: a,
401
+ defaultAction: o,
402
+ actions: c,
403
+ focusCancel: i,
404
+ class: p,
405
+ children: h
406
+ }
407
+ );
408
+ }, He = "_nav_778nl_1", Oe = "_title_778nl_6", Z = {
409
+ nav: He,
410
+ title: Oe
411
+ }, Rt = (t) => {
412
+ const { title: e, children: s, class: n } = t, l = x();
413
+ return /* @__PURE__ */ m("nav", { class: v(Z.nav, n), "aria-labelledby": e ? l : void 0, children: [
414
+ e && /* @__PURE__ */ r("h2", { id: l, class: Z.title, children: e }),
202
415
  s
203
416
  ] });
204
- }, $e = "_input_1j10x_1 _text-input_4u8pk_13 _focus-ring_4u8pk_3 _disabled_4u8pk_8", xe = {
205
- input: $e
206
- }, vt = (t) => {
417
+ }, Fe = "_input_1j10x_1 _text-input_4u8pk_13 _focus-ring_4u8pk_3 _disabled_4u8pk_8", Me = {
418
+ input: Fe
419
+ }, zt = (t) => {
207
420
  const {
208
421
  label: e,
209
422
  name: s,
210
423
  min: n,
211
- max: r,
212
- step: o,
213
- value: a,
424
+ max: l,
425
+ step: a,
426
+ value: o,
214
427
  placeholder: c,
215
428
  required: i,
216
- disabled: p,
217
- error: h,
218
- onInput: u,
219
- class: _
220
- } = t, d = v(), f = `${d}-error`;
221
- return /* @__PURE__ */ l(
222
- x,
429
+ disabled: h,
430
+ error: p,
431
+ onInput: _,
432
+ class: f
433
+ } = t, d = x(), b = `${d}-error`;
434
+ return /* @__PURE__ */ r(
435
+ D,
223
436
  {
224
437
  label: e,
225
438
  for: d,
226
439
  required: i,
227
- error: h,
228
- errorId: f,
229
- class: _,
230
- children: /* @__PURE__ */ l(
440
+ error: p,
441
+ errorId: b,
442
+ class: f,
443
+ children: /* @__PURE__ */ r(
231
444
  "input",
232
445
  {
233
446
  id: d,
234
- class: xe.input,
447
+ class: Me.input,
235
448
  type: "number",
236
449
  name: s,
237
450
  min: n,
238
- max: r,
239
- step: o,
240
- value: a,
451
+ max: l,
452
+ step: a,
453
+ value: o,
241
454
  placeholder: c,
242
455
  required: i,
243
- disabled: p,
244
- "aria-invalid": !!h || void 0,
245
- "aria-describedby": g(h && f),
246
- onInput: u && ((k) => u(k.target.valueAsNumber))
456
+ disabled: h,
457
+ "aria-invalid": !!p || void 0,
458
+ "aria-describedby": L(p && b),
459
+ onInput: _ && ((g) => _(g.target.valueAsNumber))
247
460
  }
248
461
  )
249
462
  }
250
463
  );
251
- }, Ce = "_wrapper_16zfv_1", Ie = "_input_16zfv_5 _text-input_4u8pk_13 _focus-ring_4u8pk_3 _disabled_4u8pk_8", Ne = "_toggle_16zfv_11 _focus-ring_4u8pk_3 _disabled_4u8pk_8", q = {
252
- wrapper: Ce,
253
- input: Ie,
254
- toggle: Ne
464
+ }, Ke = "_wrapper_16zfv_1", Ue = "_input_16zfv_5 _text-input_4u8pk_13 _focus-ring_4u8pk_3 _disabled_4u8pk_8", Ge = "_toggle_16zfv_11 _focus-ring_4u8pk_3 _disabled_4u8pk_8", O = {
465
+ wrapper: Ke,
466
+ input: Ue,
467
+ toggle: Ge
255
468
  };
256
- const Se = (...t) => t.filter((e, s, n) => !!e && e.trim() !== "" && n.indexOf(e) === s).join(" ").trim();
257
- const F = (t) => t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
258
- const Le = (t) => t.replace(
469
+ const We = (...t) => t.filter((e, s, n) => !!e && e.trim() !== "" && n.indexOf(e) === s).join(" ").trim();
470
+ const V = (t) => t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
471
+ const Ze = (t) => t.replace(
259
472
  /^([A-Z])|[\s-_]+(\w)/g,
260
473
  (e, s, n) => n ? n.toUpperCase() : s.toLowerCase()
261
474
  );
262
- const R = (t) => {
263
- const e = Le(t);
475
+ const J = (t) => {
476
+ const e = Ze(t);
264
477
  return e.charAt(0).toUpperCase() + e.slice(1);
265
478
  };
266
- var je = {
479
+ var Ve = {
267
480
  xmlns: "http://www.w3.org/2000/svg",
268
481
  width: 24,
269
482
  height: 24,
@@ -274,53 +487,53 @@ var je = {
274
487
  "stroke-linecap": "round",
275
488
  "stroke-linejoin": "round"
276
489
  };
277
- const qe = (t) => {
490
+ const Je = (t) => {
278
491
  for (const e in t)
279
492
  if (e.startsWith("aria-") || e === "role" || e === "title")
280
493
  return !0;
281
494
  return !1;
282
495
  };
283
- const Ee = ({
496
+ const Qe = ({
284
497
  color: t = "currentColor",
285
498
  size: e = 24,
286
499
  strokeWidth: s = 2,
287
500
  absoluteStrokeWidth: n,
288
- children: r,
289
- iconNode: o,
290
- class: a = "",
501
+ children: l,
502
+ iconNode: a,
503
+ class: o = "",
291
504
  ...c
292
- }) => T(
505
+ }) => M(
293
506
  "svg",
294
507
  {
295
- ...je,
508
+ ...Ve,
296
509
  width: String(e),
297
510
  height: e,
298
511
  stroke: t,
299
512
  "stroke-width": n ? Number(s) * 24 / Number(e) : s,
300
- class: ["lucide", a].join(" "),
301
- ...!r && !qe(c) && { "aria-hidden": "true" },
513
+ class: ["lucide", o].join(" "),
514
+ ...!l && !Je(c) && { "aria-hidden": "true" },
302
515
  ...c
303
516
  },
304
- [...o.map(([i, p]) => T(i, p)), ...Q(r)]
517
+ [...a.map(([i, h]) => M(i, h)), ...re(l)]
305
518
  );
306
- const W = (t, e) => {
307
- const s = ({ class: n = "", className: r = "", children: o, ...a }) => T(
308
- Ee,
519
+ const te = (t, e) => {
520
+ const s = ({ class: n = "", className: l = "", children: a, ...o }) => M(
521
+ Qe,
309
522
  {
310
- ...a,
523
+ ...o,
311
524
  iconNode: e,
312
- class: Se(
313
- `lucide-${F(R(t))}`,
314
- `lucide-${F(t)}`,
525
+ class: We(
526
+ `lucide-${V(J(t))}`,
527
+ `lucide-${V(t)}`,
315
528
  n,
316
- r
529
+ l
317
530
  )
318
531
  },
319
- o
532
+ a
320
533
  );
321
- return s.displayName = R(t), s;
534
+ return s.displayName = J(t), s;
322
535
  };
323
- const Te = W("eye-off", [
536
+ const Xe = te("eye-off", [
324
537
  [
325
538
  "path",
326
539
  {
@@ -338,7 +551,7 @@ const Te = W("eye-off", [
338
551
  ],
339
552
  ["path", { d: "m2 2 20 20", key: "1ooewy" }]
340
553
  ]);
341
- const Ae = W("eye", [
554
+ const Ye = te("eye", [
342
555
  [
343
556
  "path",
344
557
  {
@@ -347,296 +560,306 @@ const Ae = W("eye", [
347
560
  }
348
561
  ],
349
562
  ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
350
- ]), Pe = {
563
+ ]), et = {
351
564
  current: "current-password",
352
565
  new: "new-password"
353
- }, kt = (t) => {
566
+ }, Ht = (t) => {
354
567
  const {
355
568
  label: e,
356
569
  name: s,
357
570
  purpose: n,
358
- value: r,
359
- placeholder: o,
360
- required: a,
571
+ value: l,
572
+ placeholder: a,
573
+ required: o,
361
574
  disabled: c,
362
575
  error: i,
363
- onInput: p,
364
- class: h
365
- } = t, u = v(), _ = `${u}-error`, d = $(!1);
366
- return /* @__PURE__ */ l(
367
- x,
576
+ onInput: h,
577
+ class: p
578
+ } = t, _ = x(), f = `${_}-error`, d = E(!1);
579
+ return /* @__PURE__ */ r(
580
+ D,
368
581
  {
369
582
  label: e,
370
- for: u,
371
- required: a,
583
+ for: _,
584
+ required: o,
372
585
  error: i,
373
- errorId: _,
374
- class: h,
375
- children: /* @__PURE__ */ m("div", { class: q.wrapper, children: [
376
- /* @__PURE__ */ l(
586
+ errorId: f,
587
+ class: p,
588
+ children: /* @__PURE__ */ m("div", { class: O.wrapper, children: [
589
+ /* @__PURE__ */ r(
377
590
  "input",
378
591
  {
379
- id: u,
380
- class: q.input,
592
+ id: _,
593
+ class: O.input,
381
594
  type: d.value ? "text" : "password",
382
595
  name: s,
383
- value: r,
384
- placeholder: o,
385
- autoComplete: Pe[n],
386
- required: a,
596
+ value: l,
597
+ placeholder: a,
598
+ autoComplete: et[n],
599
+ required: o,
387
600
  disabled: c,
388
601
  "aria-invalid": !!i || void 0,
389
- "aria-describedby": g(i && _),
390
- onInput: p && ((f) => p(f.target.value))
602
+ "aria-describedby": L(i && f),
603
+ onInput: h && ((b) => h(b.target.value))
391
604
  }
392
605
  ),
393
- /* @__PURE__ */ l(
606
+ /* @__PURE__ */ r(
394
607
  "button",
395
608
  {
396
609
  type: "button",
397
- class: q.toggle,
610
+ class: O.toggle,
398
611
  disabled: c,
399
612
  "aria-label": d.value ? "Hide password" : "Show password",
400
613
  onClick: () => {
401
614
  d.value = !d.value;
402
615
  },
403
- children: d.value ? /* @__PURE__ */ l(Te, { size: "1em" }) : /* @__PURE__ */ l(Ae, { size: "1em" })
616
+ children: d.value ? /* @__PURE__ */ r(Xe, { size: "1em" }) : /* @__PURE__ */ r(Ye, { size: "1em" })
404
617
  }
405
618
  )
406
619
  ] })
407
620
  }
408
621
  );
409
- }, ze = "_fieldset_lymkd_1", Be = "_legend_lymkd_6", Oe = "_option_lymkd_11", He = "_input_lymkd_19 _check-input_4u8pk_32 _focus-ring_4u8pk_3", De = "_error_lymkd_23 _field-error_4u8pk_36", w = {
410
- fieldset: ze,
411
- legend: Be,
412
- option: Oe,
413
- input: He,
414
- error: De
415
- }, gt = (t) => {
622
+ }, tt = "_fieldset_lymkd_1", nt = "_legend_lymkd_6", st = "_option_lymkd_11", lt = "_input_lymkd_19 _check-input_4u8pk_32 _focus-ring_4u8pk_3", rt = "_error_lymkd_23 _field-error_4u8pk_36", j = {
623
+ fieldset: tt,
624
+ legend: nt,
625
+ option: st,
626
+ input: lt,
627
+ error: rt
628
+ }, Ot = (t) => {
416
629
  const {
417
630
  legend: e,
418
631
  name: s,
419
632
  options: n,
420
- value: r,
421
- required: o,
422
- disabled: a,
633
+ value: l,
634
+ required: a,
635
+ disabled: o,
423
636
  error: c,
424
637
  onChange: i,
425
- class: p
426
- } = t, h = v(), u = `${h}-error`;
638
+ class: h
639
+ } = t, p = x(), _ = `${p}-error`;
427
640
  return /* @__PURE__ */ m(
428
641
  "fieldset",
429
642
  {
430
- class: b(w.fieldset, p),
643
+ class: v(j.fieldset, h),
431
644
  "aria-invalid": !!c || void 0,
432
- "aria-describedby": g(c && u),
645
+ "aria-describedby": L(c && _),
433
646
  children: [
434
- /* @__PURE__ */ l("legend", { class: w.legend, children: e }),
435
- n.map((_) => {
436
- const d = `${h}-${_.value}`;
437
- return /* @__PURE__ */ m("div", { class: w.option, children: [
438
- /* @__PURE__ */ l(
647
+ /* @__PURE__ */ r("legend", { class: j.legend, children: e }),
648
+ n.map((f) => {
649
+ const d = `${p}-${f.value}`;
650
+ return /* @__PURE__ */ m("div", { class: j.option, children: [
651
+ /* @__PURE__ */ r(
439
652
  "input",
440
653
  {
441
654
  id: d,
442
- class: w.input,
655
+ class: j.input,
443
656
  type: "radio",
444
657
  name: s,
445
- value: _.value,
446
- checked: r === _.value,
447
- required: o,
448
- disabled: a,
449
- onChange: i && (() => i(_.value))
658
+ value: f.value,
659
+ checked: l === f.value,
660
+ required: a,
661
+ disabled: o,
662
+ onChange: i && (() => i(f.value))
450
663
  }
451
664
  ),
452
- /* @__PURE__ */ l("label", { for: d, children: _.label })
453
- ] }, _.value);
665
+ /* @__PURE__ */ r("label", { for: d, children: f.label })
666
+ ] }, f.value);
454
667
  }),
455
- c && /* @__PURE__ */ l("p", { id: u, class: w.error, role: "alert", children: c })
668
+ c && /* @__PURE__ */ r("p", { id: _, class: j.error, role: "alert", children: c })
456
669
  ]
457
670
  }
458
671
  );
459
- }, yt = (t) => {
460
- const { path: e, children: s } = t, n = P.value;
672
+ }, Ft = (t) => {
673
+ const { path: e, children: s } = t, n = U.value;
461
674
  if (e.endsWith("/*")) {
462
- const r = e.slice(0, -1);
463
- if (!n.startsWith(r) && n !== r.slice(0, -1))
675
+ const l = e.slice(0, -1);
676
+ if (!n.startsWith(l) && n !== l.slice(0, -1))
464
677
  return null;
465
678
  } else if (n !== e)
466
679
  return null;
467
- return /* @__PURE__ */ l(V, { children: s });
468
- }, Fe = "_section_4nogy_1", Re = {
469
- section: Fe
470
- }, wt = (t) => {
471
- const { title: e, level: s = 2, children: n, class: r } = t, o = v(), a = `h${s}`;
472
- return /* @__PURE__ */ m("section", { class: b(Re.section, r), "aria-labelledby": o, children: [
473
- /* @__PURE__ */ l(a, { id: o, children: e }),
680
+ return /* @__PURE__ */ r(se, { children: s });
681
+ }, at = "_section_4nogy_1", ot = {
682
+ section: at
683
+ }, Mt = (t) => {
684
+ const { title: e, level: s = 2, children: n, class: l } = t, a = x(), o = `h${s}`;
685
+ return /* @__PURE__ */ m("section", { class: v(ot.section, l), "aria-labelledby": a, children: [
686
+ /* @__PURE__ */ r(o, { id: a, children: e }),
474
687
  n
475
688
  ] });
476
- }, Me = "_select_1cxnx_1 _text-input_4u8pk_13 _focus-ring_4u8pk_3 _disabled_4u8pk_8", Ue = {
477
- select: Me
478
- }, Ge = (t) => "options" in t, $t = (t) => {
689
+ }, ct = "_select_1cxnx_1 _text-input_4u8pk_13 _focus-ring_4u8pk_3 _disabled_4u8pk_8", it = {
690
+ select: ct
691
+ }, dt = (t) => "options" in t, Kt = (t) => {
479
692
  const {
480
693
  label: e,
481
694
  name: s,
482
695
  value: n,
483
- placeholder: r,
484
- options: o,
485
- required: a,
696
+ placeholder: l,
697
+ options: a,
698
+ required: o,
486
699
  disabled: c,
487
700
  error: i,
488
- onChange: p,
489
- class: h
490
- } = t, u = v(), _ = `${u}-error`;
491
- return /* @__PURE__ */ l(
492
- x,
701
+ onChange: h,
702
+ class: p
703
+ } = t, _ = x(), f = `${_}-error`;
704
+ return /* @__PURE__ */ r(
705
+ D,
493
706
  {
494
707
  label: e,
495
- for: u,
496
- required: a,
708
+ for: _,
709
+ required: o,
497
710
  error: i,
498
- errorId: _,
499
- class: h,
711
+ errorId: f,
712
+ class: p,
500
713
  children: /* @__PURE__ */ m(
501
714
  "select",
502
715
  {
503
- id: u,
504
- class: Ue.select,
716
+ id: _,
717
+ class: it.select,
505
718
  name: s,
506
719
  value: n,
507
- required: a,
720
+ required: o,
508
721
  disabled: c,
509
722
  "aria-invalid": !!i || void 0,
510
- "aria-describedby": g(i && _),
511
- onChange: p && ((d) => p(d.target.value)),
723
+ "aria-describedby": L(i && f),
724
+ onChange: h && ((d) => h(d.target.value)),
512
725
  children: [
513
- r && /* @__PURE__ */ l("option", { value: "", disabled: !0, children: r }),
514
- o.map(
515
- (d) => Ge(d) ? /* @__PURE__ */ l("optgroup", { label: d.label, children: d.options.map((f) => /* @__PURE__ */ l("option", { value: f.value, children: f.label }, f.value)) }, d.label) : /* @__PURE__ */ l("option", { value: d.value, children: d.label }, d.value)
726
+ l && /* @__PURE__ */ r("option", { value: "", disabled: !0, children: l }),
727
+ a.map(
728
+ (d) => dt(d) ? /* @__PURE__ */ r("optgroup", { label: d.label, children: d.options.map((b) => /* @__PURE__ */ r("option", { value: b.value, children: b.label }, b.value)) }, d.label) : /* @__PURE__ */ r("option", { value: d.value, children: d.label }, d.value)
516
729
  )
517
730
  ]
518
731
  }
519
732
  )
520
733
  }
521
734
  );
522
- }, We = "_skip_xbsul_1 _focus-ring_4u8pk_3", Ze = {
523
- skip: We
524
- }, xt = (t) => {
735
+ }, ut = "_skip_xbsul_1 _focus-ring_4u8pk_3", _t = {
736
+ skip: ut
737
+ }, Ut = (t) => {
525
738
  const { target: e = "#main", label: s = "Skip to main content", class: n } = t;
526
- return /* @__PURE__ */ l("a", { href: e, class: b(Ze.skip, n), children: s });
527
- }, Ke = "_table_dls60_1", Ve = "_caption_dls60_6", M = {
528
- table: Ke,
529
- caption: Ve
530
- }, Ct = (t) => {
531
- const { caption: e, headers: s, data: n, class: r } = t;
532
- return /* @__PURE__ */ m("table", { class: b(M.table, r), children: [
533
- /* @__PURE__ */ l("caption", { class: M.caption, children: e }),
534
- /* @__PURE__ */ l("thead", { children: /* @__PURE__ */ l("tr", { children: s.map((o, a) => /* @__PURE__ */ l("th", { scope: "col", children: o }, `${o}-${a}`)) }) }),
535
- /* @__PURE__ */ l("tbody", { children: n.map((o, a) => /* @__PURE__ */ l("tr", { children: o.map((c, i) => /* @__PURE__ */ l("td", { children: c }, `${s[i]}-${a}-${i}`)) }, a)) })
739
+ return /* @__PURE__ */ r("a", { href: e, class: v(_t.skip, n), children: s });
740
+ }, pt = "_table_dls60_1", ht = "_caption_dls60_6", Q = {
741
+ table: pt,
742
+ caption: ht
743
+ }, Gt = (t) => {
744
+ const { caption: e, headers: s, data: n, class: l } = t;
745
+ return /* @__PURE__ */ m("table", { class: v(Q.table, l), children: [
746
+ /* @__PURE__ */ r("caption", { class: Q.caption, children: e }),
747
+ /* @__PURE__ */ r("thead", { children: /* @__PURE__ */ r("tr", { children: s.map((a, o) => /* @__PURE__ */ r("th", { scope: "col", children: a }, `${a}-${o}`)) }) }),
748
+ /* @__PURE__ */ r("tbody", { children: n.map((a, o) => /* @__PURE__ */ r("tr", { children: a.map((c, i) => /* @__PURE__ */ r("td", { children: c }, `${s[i]}-${o}-${i}`)) }, o)) })
536
749
  ] });
537
- }, Je = "_hidden_19nib_1 _visually-hidden_4u8pk_42", Qe = {
538
- hidden: Je
539
- }, Xe = (t) => {
750
+ }, ft = "_hidden_19nib_1 _visually-hidden_4u8pk_42", mt = {
751
+ hidden: ft
752
+ }, bt = (t) => {
540
753
  const { children: e } = t;
541
- return /* @__PURE__ */ l("span", { class: Qe.hidden, children: e });
542
- }, Ye = "_wrapper_1kyv1_1", et = "_textarea_1kyv1_6 _text-input_4u8pk_13 _focus-ring_4u8pk_3 _disabled_4u8pk_8", tt = "_counter_1kyv1_11", E = {
543
- wrapper: Ye,
544
- textarea: et,
545
- counter: tt
546
- }, U = [75, 90, 100], st = 10;
547
- function nt(t) {
548
- for (let e = U.length - 1; e >= 0; e--) {
549
- const s = U[e];
754
+ return /* @__PURE__ */ r("span", { class: mt.hidden, children: e });
755
+ }, vt = "_wrapper_1kyv1_1", kt = "_textarea_1kyv1_6 _text-input_4u8pk_13 _focus-ring_4u8pk_3 _disabled_4u8pk_8", gt = "_counter_1kyv1_11", F = {
756
+ wrapper: vt,
757
+ textarea: kt,
758
+ counter: gt
759
+ }, X = [75, 90, 100], yt = 10;
760
+ function wt(t) {
761
+ for (let e = X.length - 1; e >= 0; e--) {
762
+ const s = X[e];
550
763
  if (s !== void 0 && t >= s)
551
764
  return s;
552
765
  }
553
766
  return 0;
554
767
  }
555
- const It = (t) => {
768
+ const Wt = (t) => {
556
769
  const {
557
770
  label: e,
558
771
  name: s,
559
772
  maxChars: n,
560
- value: r,
561
- placeholder: o,
562
- required: a,
773
+ value: l,
774
+ placeholder: a,
775
+ required: o,
563
776
  disabled: c,
564
777
  error: i,
565
- onInput: p,
566
- class: h
567
- } = t, u = v(), _ = `${u}-error`, d = `${u}-counter`, f = $(r?.length ?? 0), k = $(""), y = $(0), C = $(!1);
568
- return /* @__PURE__ */ l(
569
- x,
778
+ onInput: h,
779
+ class: p
780
+ } = t, _ = x(), f = `${_}-error`, d = `${_}-counter`, b = E(l?.length ?? 0), g = E(""), $ = E(0), C = E(!1);
781
+ return /* @__PURE__ */ r(
782
+ D,
570
783
  {
571
784
  label: e,
572
- for: u,
573
- required: a,
785
+ for: _,
786
+ required: o,
574
787
  error: i,
575
- errorId: _,
576
- class: h,
577
- children: /* @__PURE__ */ m("div", { class: E.wrapper, children: [
578
- /* @__PURE__ */ l(
788
+ errorId: f,
789
+ class: p,
790
+ children: /* @__PURE__ */ m("div", { class: F.wrapper, children: [
791
+ /* @__PURE__ */ r(
579
792
  "textarea",
580
793
  {
581
- id: u,
582
- class: E.textarea,
794
+ id: _,
795
+ class: F.textarea,
583
796
  name: s,
584
797
  maxLength: n,
585
- placeholder: o,
586
- required: a,
798
+ placeholder: a,
799
+ required: o,
587
800
  disabled: c,
588
801
  "aria-invalid": !!i || void 0,
589
- "aria-describedby": g(i && _, d),
590
- onInput: (Z) => {
591
- const I = Z.target.value;
592
- f.value = I.length;
593
- const N = n - I.length, K = I.length / n * 100, z = nt(K), B = !C.value && N <= st && N > 0;
594
- (z > y.value || B) && (k.value = `${N} character${N === 1 ? "" : "s"} remaining`, y.value = z, B && (C.value = !0)), p?.(I);
802
+ "aria-describedby": L(i && f, d),
803
+ onInput: (q) => {
804
+ const u = q.target.value;
805
+ b.value = u.length;
806
+ const k = n - u.length, I = u.length / n * 100, N = wt(I), w = !C.value && k <= yt && k > 0;
807
+ (N > $.value || w) && (g.value = `${k} character${k === 1 ? "" : "s"} remaining`, $.value = N, w && (C.value = !0)), h?.(u);
595
808
  },
596
- children: r
809
+ children: l
597
810
  }
598
811
  ),
599
- /* @__PURE__ */ m("span", { id: d, class: E.counter, children: [
600
- f,
812
+ /* @__PURE__ */ m("span", { id: d, class: F.counter, children: [
813
+ b,
601
814
  " / ",
602
815
  n
603
816
  ] }),
604
- /* @__PURE__ */ l(Xe, { children: /* @__PURE__ */ l("span", { "aria-live": "polite", children: k }) })
817
+ /* @__PURE__ */ r(bt, { children: /* @__PURE__ */ r("span", { "aria-live": "polite", children: g }) })
605
818
  ] })
606
819
  }
607
820
  );
608
- }, rt = "_theme_1x47p_11", lt = {
609
- theme: rt
610
- }, Nt = (t) => {
821
+ }, xt = "_theme_1x47p_11", $t = {
822
+ theme: xt
823
+ }, Zt = {
824
+ blue: "aui-blue",
825
+ purple: "aui-purple",
826
+ teal: "aui-teal",
827
+ red: "aui-red",
828
+ orange: "aui-orange",
829
+ yellow: "aui-yellow"
830
+ }, Vt = (t) => {
611
831
  const { children: e, class: s } = t;
612
- return /* @__PURE__ */ l("div", { class: b(lt.theme, s), children: e });
613
- }, at = A(document.title);
614
- J(() => {
615
- document.title = at.value;
832
+ return /* @__PURE__ */ r("div", { class: v($t.theme, s), children: e });
833
+ }, Ct = K(document.title);
834
+ le(() => {
835
+ document.title = Ct.value;
616
836
  });
617
837
  export {
618
- O as Button,
619
- ut as Card,
620
- _t as Checkbox,
621
- pt as DownloadLink,
622
- ht as Form,
623
- mt as Input,
624
- bt as Link,
625
- ft as Nav,
626
- vt as NumberInput,
627
- kt as PasswordInput,
628
- gt as RadioGroup,
629
- yt as Route,
630
- wt as Section,
631
- $t as Select,
632
- xt as SkipLink,
633
- Ct as Table,
634
- It as Textarea,
635
- Nt as Theme,
636
- Xe as VisuallyHidden,
637
- b as cx,
638
- G as hash,
639
- P as location,
640
- ve as navigate,
641
- at as title
838
+ G as Button,
839
+ Et as Card,
840
+ Dt as Checkbox,
841
+ St as Dialog,
842
+ At as DownloadLink,
843
+ Bt as Form,
844
+ qt as Input,
845
+ Pt as Link,
846
+ Tt as Modal,
847
+ Rt as Nav,
848
+ zt as NumberInput,
849
+ Zt as Palette,
850
+ Ht as PasswordInput,
851
+ Ot as RadioGroup,
852
+ Ft as Route,
853
+ Mt as Section,
854
+ Kt as Select,
855
+ Ut as SkipLink,
856
+ Gt as Table,
857
+ Wt as Textarea,
858
+ Vt as Theme,
859
+ bt as VisuallyHidden,
860
+ v as cx,
861
+ ee as hash,
862
+ U as location,
863
+ Te as navigate,
864
+ Ct as title
642
865
  };