@base-framework/ui 1.0.249 → 1.0.251

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,11 +1,11 @@
1
- import { Div as n, H5 as G, P as b, I as m, Li as V, Span as i, Ul as U, Button as f, OnState as x, Label as q, Form as K, H2 as D, Header as I, Footer as L, A as H, H3 as Q, Checkbox as X, Input as w, Img as Z, Nav as ee, UseParent as R, Time as te, Dialog as se } from "@base-framework/atoms";
2
- import { Atom as c, Component as y, Html as P, Dom as oe, base as ne, Data as $, Builder as Y, Jot as C, Events as le, DateTime as A } from "@base-framework/base";
3
- import { P as k, b as re, R as ae } from "./range-calendar-k0B4ZWJq.js";
1
+ import { Div as n, H5 as G, P as b, I as m, Li as U, Span as a, Ul as V, Button as f, OnState as x, Label as R, Form as K, H2 as D, Header as I, Footer as L, A as q, H3 as Q, Checkbox as X, Input as w, Img as Z, Nav as ee, UseParent as H, Time as te, Dialog as se } from "@base-framework/atoms";
2
+ import { Atom as c, Component as v, Html as F, Dom as oe, base as ne, Data as $, Builder as Y, Jot as C, DateTime as A } from "@base-framework/base";
3
+ import { P as k, b as le, R as re } from "./range-calendar-k0B4ZWJq.js";
4
4
  import { B as h, I as p } from "./buttons-Cm9etaEG.js";
5
- import { Icons as u } from "./icons.es.js";
6
- import { Timer as ie, List as ce, DynamicTime as de } from "@base-framework/organisms";
7
- import { a as v } from "./veil-D4dRxILB.js";
8
- import { F } from "./format-DnofNaaz.js";
5
+ import { Icons as d } from "./icons.es.js";
6
+ import { Timer as ie, List as ae, DynamicTime as ce } from "@base-framework/organisms";
7
+ import { a as y } from "./veil-D4dRxILB.js";
8
+ import { F as P } from "./format-DnofNaaz.js";
9
9
  const M = {
10
10
  info: {
11
11
  borderColor: "border-blue-500",
@@ -34,18 +34,18 @@ const M = {
34
34
  }
35
35
  }, ue = (e, t) => n({ class: `flex items-center justify-center h-6 w-6 mr-3 ${t}` }, [
36
36
  m({ html: e })
37
- ]), he = (e) => G({ class: "font-semibold" }, e), fe = (e) => b({ class: "text-sm text-muted-foreground" }, e), yt = c(({ title: e, description: t, icon: s, type: o = "default" }) => {
38
- const { borderColor: l, bgColor: r, iconColor: a } = M[o] || M.default;
37
+ ]), de = (e) => G({ class: "font-semibold" }, e), he = (e) => b({ class: "text-sm text-muted-foreground" }, e), yt = c(({ title: e, description: t, icon: s, type: o = "default" }) => {
38
+ const { borderColor: l, bgColor: r, iconColor: i } = M[o] || M.default;
39
39
  return n({ class: `flex items-start p-4 border rounded-lg ${r} ${l}` }, [
40
40
  // Icon and content
41
- s && ue(s, a),
41
+ s && ue(s, i),
42
42
  n({ class: "flex flex-col" }, [
43
- he(e),
44
- fe(t)
43
+ de(e),
44
+ he(t)
45
45
  ])
46
46
  ]);
47
47
  });
48
- class me extends y {
48
+ class fe extends v {
49
49
  /**
50
50
  * This will declare the props for the compiler.
51
51
  *
@@ -63,25 +63,25 @@ class me extends y {
63
63
  this.prepareDestroy(), this.removeContext();
64
64
  const t = this.panel, s = this.removingClass;
65
65
  if (!s) {
66
- P.removeElement(t);
66
+ F.removeElement(t);
67
67
  return;
68
68
  }
69
- oe.addClass(t, s), ne.on("animationend", t, (o) => P.removeElement(t));
69
+ oe.addClass(t, s), ne.on("animationend", t, (o) => F.removeElement(t));
70
70
  }
71
71
  }
72
- const pe = (e) => i({ class: "ml-auto text-xs tracking-widest opacity-60" }, e), ge = (e) => i({ class: "flex w-4 h-4", html: e }), be = (e) => i({ class: "flex-auto" }, e), xe = (e, t) => V({
72
+ const me = (e) => a({ class: "ml-auto text-xs tracking-widest opacity-60" }, e), pe = (e) => a({ class: "flex w-4 h-4", html: e }), ge = (e) => a({ class: "flex-auto" }, e), be = (e, t) => U({
73
73
  class: "relative flex cursor-pointer hover:bg-muted/50 select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
74
74
  click: () => t(e)
75
75
  }, [
76
- e.icon && ge(e.icon),
77
- be(e.label),
78
- e.shortcut && pe(e.shortcut)
79
- ]), we = (e, t) => U({ class: "grid gap-2" }, [
80
- e.map((s) => xe(s, t))
81
- ]), ve = (e) => n({ class: "w-full z-10" }, [
76
+ e.icon && pe(e.icon),
77
+ ge(e.label),
78
+ e.shortcut && me(e.shortcut)
79
+ ]), xe = (e, t) => V({ class: "grid gap-2" }, [
80
+ e.map((s) => be(s, t))
81
+ ]), we = (e) => n({ class: "w-full z-10" }, [
82
82
  n({
83
83
  class: "max-h-60 border rounded-md overflow-y-auto p-1 grid gap-2 divide-y divide-border",
84
- for: ["groups", (t) => we(t, e)]
84
+ for: ["groups", (t) => xe(t, e)]
85
85
  })
86
86
  ]), ye = ({ label: e, icon: t, toggleDropdown: s }) => f({
87
87
  cache: "button",
@@ -90,9 +90,9 @@ const pe = (e) => i({ class: "ml-auto text-xs tracking-widest opacity-60" }, e),
90
90
  focus:outline-none transition duration-150 ease-in-out`,
91
91
  click: s
92
92
  }, [
93
- e && i(e),
93
+ e && a(e),
94
94
  t && m({ html: t })
95
- ]), Ce = ({ onSelect: e }) => n([
95
+ ]), ve = ({ onSelect: e }) => n([
96
96
  x(
97
97
  "open",
98
98
  (t, s, o) => t ? new k({
@@ -100,11 +100,11 @@ const pe = (e) => i({ class: "ml-auto text-xs tracking-widest opacity-60" }, e),
100
100
  parent: o,
101
101
  button: o.button
102
102
  }, [
103
- ve(e)
103
+ we(e)
104
104
  ]) : null
105
105
  )
106
106
  ]);
107
- class Ct extends y {
107
+ class vt extends v {
108
108
  /**
109
109
  * This will declare the props for the compiler.
110
110
  *
@@ -163,18 +163,18 @@ class Ct extends y {
163
163
  icon: this.icon,
164
164
  toggleDropdown: this.toggleDropdown.bind(this)
165
165
  }),
166
- Ce({ onSelect: this.handleSelect.bind(this) })
166
+ ve({ onSelect: this.handleSelect.bind(this) })
167
167
  ]);
168
168
  }
169
169
  }
170
- const ke = c((e, t) => n({ ...e, class: "flex flex-auto flex-col space-y-2" }, t)), Se = c((e, t) => q({ ...e, class: "flex auto text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70" }, t)), De = c((e, t) => b({ ...e, class: "text-sm text-muted-foreground italic" }, t)), Ie = c((e, t) => b({ ...e, class: "text-sm text-destructive" }, t)), $e = (e) => e.tag === "input" || e.tag === "select" || e.tag === "textarea", _ = (e, t, s) => e.map((o) => (o.children && o.children.length > 0 && (o.children = _(o.children, t, s)), o.required && $e(o) ? {
170
+ const Ce = c((e, t) => n({ ...e, class: "flex flex-auto flex-col space-y-2" }, t)), ke = c((e, t) => R({ ...e, class: "flex auto text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70" }, t)), Se = c((e, t) => b({ ...e, class: "text-sm text-muted-foreground italic" }, t)), De = c((e, t) => b({ ...e, class: "text-sm text-destructive" }, t)), Ie = (e) => e.tag === "input" || e.tag === "select" || e.tag === "textarea", _ = (e, t, s) => e.map((o) => (o.children && o.children.length > 0 && (o.children = _(o.children, t, s)), o.required && Ie(o) ? {
171
171
  ...o,
172
172
  aria: {
173
173
  invalid: ["hasError"]
174
174
  },
175
175
  invalid: s,
176
176
  input: t
177
- } : o)), Te = c((e, t) => {
177
+ } : o)), $e = c((e, t) => {
178
178
  const l = _(t, (r) => {
179
179
  r.target.checkValidity() && e.setError(null);
180
180
  }, (r) => {
@@ -184,7 +184,7 @@ const ke = c((e, t) => n({ ...e, class: "flex flex-auto flex-col space-y-2" }, t
184
184
  ...e,
185
185
  class: "w-full"
186
186
  }, l);
187
- }), kt = v(
187
+ }), Ct = y(
188
188
  {
189
189
  /**
190
190
  * The initial state of the FormField.
@@ -209,38 +209,38 @@ const ke = c((e, t) => n({ ...e, class: "flex flex-auto flex-col space-y-2" }, t
209
209
  this.state.error = r, this.state.hasError = !!r;
210
210
  };
211
211
  return n({ class: "flex flex-auto space-y-4" }, [
212
- ke([
213
- Se({ htmlFor: t }, s),
214
- Te({
212
+ Ce([
213
+ ke({ htmlFor: t }, s),
214
+ $e({
215
215
  id: t,
216
216
  name: e,
217
217
  value: this.state.value,
218
218
  setError: l
219
219
  }, this.children),
220
- o && De({ id: this.getId("description") }, o),
221
- n({ onState: ["error", (r) => r && Ie(r)] })
220
+ o && Se({ id: this.getId("description") }, o),
221
+ n({ onState: ["error", (r) => r && De(r)] })
222
222
  ])
223
223
  ]);
224
224
  }
225
225
  }
226
- ), Be = (e, t, s = null) => {
226
+ ), Te = (e, t, s = null) => {
227
227
  e.target.checkValidity() && (e.preventDefault(), s && s(e, t));
228
228
  }, W = c(
229
- (e, t) => K({ ...e, submit: (s, o) => Be(s, o, e.submit), class: `w-full ${e.class ?? ""}` }, t)
230
- ), St = c((e, t) => n({ ...e, class: `space-y-6 p-4 md:p-6 divide-y ${e.class || ""}` }, t)), Dt = c((e, t = []) => n({ class: "space-y-3 py-4" }, [
229
+ (e, t) => K({ ...e, submit: (s, o) => Te(s, o, e.submit), class: `w-full ${e.class ?? ""}` }, t)
230
+ ), kt = c((e, t) => n({ ...e, class: `space-y-6 p-4 md:p-6 divide-y ${e.class || ""}` }, t)), St = c((e, t = []) => n({ class: "space-y-3 py-4" }, [
231
231
  e.title && D({ class: "font-semibold" }, e.title),
232
232
  ...t
233
- ])), It = (e, t) => n({ class: "flex justify-between" }, [
234
- i({ class: "text-muted-foreground" }, e),
235
- i(t)
236
- ]), $t = (e, t) => n({ class: "flex" }, [
237
- i({ class: "text-muted-foreground mr-8 w-24 truncate text-nowrap" }, e),
238
- i(t)
239
- ]), Ae = ({ title: e, description: t, back: s, icon: o, options: l = [] }) => I({ class: "modal-header bg-background/80 backdrop-blur-md sticky flex flex-none items-center py-4 px-6 z-10" }, [
233
+ ])), Dt = (e, t) => n({ class: "flex justify-between" }, [
234
+ a({ class: "text-muted-foreground" }, e),
235
+ a(t)
236
+ ]), It = (e, t) => n({ class: "flex" }, [
237
+ a({ class: "text-muted-foreground mr-8 w-24 truncate text-nowrap" }, e),
238
+ a(t)
239
+ ]), Be = ({ title: e, description: t, back: s, icon: o, options: l = [] }) => I({ class: "modal-header bg-background/80 backdrop-blur-md sticky flex flex-none items-center py-4 px-6 z-10" }, [
240
240
  /**
241
241
  * Back Button
242
242
  */
243
- s && h({ variant: "icon", icon: u.arrows.left, class: "mr-2 p-0 flex sm:hidden", click: (r, a) => a.close() }),
243
+ s && h({ variant: "icon", icon: d.arrows.left, class: "mr-2 p-0 flex sm:hidden", click: (r, i) => i.close() }),
244
244
  /**
245
245
  * Icon
246
246
  */
@@ -255,7 +255,7 @@ const ke = c((e, t) => n({ ...e, class: "flex flex-auto flex-col space-y-2" }, t
255
255
  ]),
256
256
  ...l
257
257
  ])
258
- ]), Le = c((e, t) => n({
258
+ ]), Ae = c((e, t) => n({
259
259
  popover: "manual",
260
260
  class: `modal m-auto top-0 right-0 bottom-0 left-0 fixed z-20 grid w-full h-full max-h-screen gap-2 lg:border bg-background text-foreground shadow-xl break-words p-0 ${e.class}`,
261
261
  click: (s, o) => {
@@ -263,12 +263,12 @@ const ke = c((e, t) => n({ ...e, class: "flex flex-auto flex-col space-y-2" }, t
263
263
  }
264
264
  }, [
265
265
  W({ class: "modal-content relative bg-background z-[1] flex flex-auto flex-col space-y-4", submit: (s, o) => e.onSubmit && e.onSubmit(o) }, [
266
- Ae(e),
266
+ Be(e),
267
267
  n({ class: "modal-body flex flex-grow flex-col overflow-y-auto py-0 px-6 z-0" }, t),
268
268
  L({ class: "modal-footer sticky bg-background/80 backdrop-blur-md flex flex-none justify-between py-4 px-6 z-10" }, e.buttons)
269
269
  ])
270
- ])), Pe = (e) => Y.render(e, app.root);
271
- class Tt extends y {
270
+ ])), Le = (e) => Y.render(e, app.root);
271
+ class $t extends v {
272
272
  /**
273
273
  * This will declare the props for the compiler.
274
274
  *
@@ -284,7 +284,7 @@ class Tt extends y {
284
284
  */
285
285
  render() {
286
286
  const t = this.getMainClass(), s = this.title || "", o = this.description || null;
287
- return Le(
287
+ return Ae(
288
288
  {
289
289
  class: t,
290
290
  title: s,
@@ -399,7 +399,7 @@ class Tt extends y {
399
399
  * @returns {void}
400
400
  */
401
401
  open() {
402
- Pe(this), this.showModal();
402
+ Le(this), this.showModal();
403
403
  }
404
404
  /**
405
405
  * This will destroy the modal.
@@ -456,16 +456,16 @@ const z = {
456
456
  }
457
457
  }, Fe = (e) => I({ class: "flex justify-center" }, [
458
458
  Q({ class: "text-lg font-bold mb-0" }, e)
459
- ]), Me = c(({ href: e, class: t }, s) => H({
459
+ ]), Pe = c(({ href: e, class: t }, s) => q({
460
460
  class: `pullRightIn bg-popover text-popover-foreground relative flex flex-auto flex-col justify-start shadow-lg pointer-events-auto p-4 border rounded-md min-w-[340px] max-w-[450px] mt-4 ${t}`,
461
461
  href: e,
462
462
  role: "alert"
463
- }, s)), ze = c(({ close: e, class: t }, s) => n({
463
+ }, s)), Me = c(({ close: e, class: t }, s) => n({
464
464
  class: `pullRightIn bg-popover text-popover-foreground relative flex flex-auto flex-col justify-start shadow-lg pointer-events-auto p-4 border rounded-md min-w-[340px] max-w-[450px] mt-4 ${t}`,
465
465
  click: () => e(),
466
466
  role: "alert"
467
467
  }, s));
468
- class Ne extends me {
468
+ class ze extends fe {
469
469
  /**
470
470
  * This will declare the props for the compiler.
471
471
  *
@@ -489,10 +489,10 @@ class Ne extends me {
489
489
  */
490
490
  render() {
491
491
  const { bgColor: t, borderColor: s, iconColor: o } = this.getTypeStyles(), l = this.href || null, r = this.getChildren(o);
492
- return l ? Me({
492
+ return l ? Pe({
493
493
  href: l,
494
494
  class: `${t} ${s}`
495
- }, r) : ze({
495
+ }, r) : Me({
496
496
  close: this.close.bind(this),
497
497
  class: `${t} ${s}`
498
498
  }, r);
@@ -549,7 +549,7 @@ class Ne extends me {
549
549
  h({
550
550
  class: "absolute top-[12px] right-[12px]",
551
551
  variant: "icon",
552
- icon: u.x,
552
+ icon: d.x,
553
553
  click: this.close.bind(this)
554
554
  })
555
555
  ];
@@ -564,8 +564,8 @@ class Ne extends me {
564
564
  t && t.stopPropagation(), this.duration !== "infinite" && this.timer.stop(), this.onClick && this.onClick(), this.destroy();
565
565
  }
566
566
  }
567
- let Ee = 0;
568
- class Bt extends y {
567
+ let Ne = 0;
568
+ class Tt extends v {
569
569
  /**
570
570
  * This will render the component.
571
571
  *
@@ -573,11 +573,11 @@ class Bt extends y {
573
573
  */
574
574
  render() {
575
575
  return n({ class: "notification-container pointer-events-none inset-auto bg-transparent backdrop:bg-transparent overflow-visible fixed bottom-[80px] right-0 z-50 p-5", popover: "manual" }, [
576
- new ce({
576
+ new ae({
577
577
  cache: "list",
578
578
  key: "id",
579
579
  role: "list",
580
- rowItem: (t) => new Ne(t)
580
+ rowItem: (t) => new ze(t)
581
581
  })
582
582
  ]);
583
583
  }
@@ -588,7 +588,7 @@ class Bt extends y {
588
588
  * @returns {void}
589
589
  */
590
590
  addNotice(t = {}) {
591
- t.id = Ee++, t.callBack = () => this.removeNotice(t), this.list.append([t]), this.panel.hidePopover(), this.panel.showPopover();
591
+ t.id = Ne++, t.callBack = () => this.removeNotice(t), this.list.append([t]), this.panel.hidePopover(), this.panel.showPopover();
592
592
  }
593
593
  /**
594
594
  * This will remove a notification.
@@ -605,12 +605,12 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
605
605
  onState: ["method", { active: e }],
606
606
  dataSet: ["method", ["state", e, "active"]],
607
607
  click: (o, { state: l }) => {
608
- l.method = e, localStorage.setItem("theme", e), e === "system" && localStorage.removeItem("theme"), je(e);
608
+ l.method = e, localStorage.setItem("theme", e), e === "system" && localStorage.removeItem("theme"), Ee(e);
609
609
  }
610
610
  }, [
611
611
  p(s),
612
- i(t)
613
- ])), je = (e) => {
612
+ a(t)
613
+ ])), Ee = (e) => {
614
614
  var o;
615
615
  const t = document.documentElement;
616
616
  if (e === "system" && (e = (o = globalThis.matchMedia) != null && o.call(globalThis, "(prefers-color-scheme: dark)").matches ? "dark" : "light"), N && !N("(prefers-color-scheme: " + e + ")").matches) {
@@ -619,7 +619,7 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
619
619
  }
620
620
  const s = e === "light" ? "dark" : "light";
621
621
  t.classList.remove(s);
622
- }, At = C(
622
+ }, Bt = C(
623
623
  {
624
624
  /**
625
625
  * This will render the component.
@@ -629,9 +629,9 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
629
629
  render() {
630
630
  return n({ class: "flex flex-auto flex-col" }, [
631
631
  n({ class: "grid grid-cols-3 gap-4" }, [
632
- T({ label: "System", value: "system", icon: u.adjustments.horizontal }),
633
- T({ label: "Light", value: "light", icon: u.sun }),
634
- T({ label: "Dark", value: "dark", icon: u.moon })
632
+ T({ label: "System", value: "system", icon: d.adjustments.horizontal }),
633
+ T({ label: "Light", value: "light", icon: d.sun }),
634
+ T({ label: "Dark", value: "dark", icon: d.moon })
635
635
  ])
636
636
  ]);
637
637
  },
@@ -646,7 +646,7 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
646
646
  };
647
647
  }
648
648
  }
649
- ), Lt = v(
649
+ ), At = y(
650
650
  {
651
651
  /**
652
652
  * The initial state of the Toggle.
@@ -691,7 +691,7 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
691
691
  bind: this.bind,
692
692
  required: this.required
693
693
  }),
694
- i({
694
+ a({
695
695
  class: "absolute h-5 w-5 bg-background rounded-full shadow-md transform transition-transform",
696
696
  onState: ["active", { "translate-x-[22px]": !0, "translate-x-[2px]": !1 }]
697
697
  })
@@ -708,8 +708,8 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
708
708
  OFFLINE: "bg-gray-500",
709
709
  BUSY: "bg-red-500",
710
710
  AWAY: "bg-yellow-500"
711
- }, Oe = (e = "") => (e = e.toUpperCase(), g[e] || g.OFFLINE), Pt = (e) => n({
712
- class: `absolute bottom-0 right-0 w-3 h-3 border-2 rounded-full ${Oe(e)}`
711
+ }, je = (e = "") => (e = e.toUpperCase(), g[e] || g.OFFLINE), Lt = (e) => n({
712
+ class: `absolute bottom-0 right-0 w-3 h-3 border-2 rounded-full ${je(e)}`
713
713
  }), Ft = ({ propName: e = "status" } = {}) => n({
714
714
  class: "absolute bottom-0 right-0 w-3 h-3 border-2 rounded-full",
715
715
  onSet: [e, {
@@ -718,7 +718,7 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
718
718
  [g.BUSY]: S.BUSY,
719
719
  [g.AWAY]: S.AWAY
720
720
  }]
721
- }), Mt = C(
721
+ }), Pt = C(
722
722
  {
723
723
  /**
724
724
  * Get the initial state for the component.
@@ -738,9 +738,16 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
738
738
  */
739
739
  openFileBrowse() {
740
740
  const e = this.input;
741
- e && (e.value = "", le.trigger("click", e, {
742
- bubbles: !1
743
- }));
741
+ e && (e.value = "", e.click());
742
+ },
743
+ /**
744
+ * Get the URL for the uploaded file.
745
+ *
746
+ * @param {File} file - The file to get the URL for.
747
+ * @returns {string} The object URL for the file.
748
+ */
749
+ getFileUrl(e) {
750
+ return this.url && URL.revokeObjectURL(this.url), this.url = URL.createObjectURL(e);
744
751
  },
745
752
  /**
746
753
  * Render the component.
@@ -764,7 +771,7 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
764
771
  change: (s) => {
765
772
  var l;
766
773
  const o = (l = s.target.files) == null ? void 0 : l[0];
767
- o && t && (t(o, this.parent), this.src = URL.createObjectURL(o), this.state.loaded = !0);
774
+ o && t && (this.state.loaded = !1, t(o, this.parent), this.src = this.getFileUrl(o), this.state.loaded = !0);
768
775
  }
769
776
  }),
770
777
  x(
@@ -772,34 +779,34 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
772
779
  (s) => s ? Z({
773
780
  // @ts-ignore
774
781
  src: this.src,
775
- class: "absolute inset-0 w-full h-full object-cover rounded-full pointer-events-none"
776
- }) : q({
782
+ class: "absolute inset-0 w-full h-full object-cover rounded-full"
783
+ }) : R({
777
784
  htmlFor: e,
778
- class: "z-10 flex flex-col items-center justify-center text-sm text-muted-foreground pointer-events-none group-hover:text-primary"
785
+ class: "z-10 flex flex-col items-center justify-center text-sm text-muted-foreground group-hover:text-primary"
779
786
  }, [
780
- p(u.upload),
787
+ p(d.upload),
781
788
  n("Upload logo")
782
789
  ])
783
790
  )
784
791
  ]);
785
792
  }
786
793
  }
787
- ), Ve = (e, t) => H(
794
+ ), Oe = (e, t) => q(
788
795
  {
789
796
  href: e,
790
797
  "aria-current": t === "Breadcrumb" && "page",
791
798
  // Only set aria-current on the last item
792
799
  class: "text-muted-foreground font-medium hover:text-foreground"
793
800
  },
794
- [i(t)]
801
+ [a(t)]
795
802
  ), Ue = () => p({
796
803
  class: "mx-3 text-muted-foreground",
797
804
  "aria-hidden": !0,
798
805
  size: "xs"
799
- }, u.chevron.single.right), qe = (e) => n({ class: "flex items-center" }, [
800
- e.href ? Ve(e.href, e.label) : i(e.label),
806
+ }, d.chevron.single.right), Ve = (e) => n({ class: "flex items-center" }, [
807
+ e.href ? Oe(e.href, e.label) : a(e.label),
801
808
  e.separator && Ue()
802
- ]), zt = C(
809
+ ]), Mt = C(
803
810
  {
804
811
  /**
805
812
  * Set initial data
@@ -828,7 +835,7 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
828
835
  n({
829
836
  role: "list",
830
837
  class: "flex items-center",
831
- for: ["items", (t, s) => qe({
838
+ for: ["items", (t, s) => Ve({
832
839
  href: t.href,
833
840
  label: t.label,
834
841
  separator: s < e
@@ -847,8 +854,8 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
847
854
  "2xl": "h-16 w-16",
848
855
  "3xl": "h-24 w-24",
849
856
  default: "h-4 w-4"
850
- }, He = (e) => E[e] || E.default, Re = ({ index: e, size: t }) => n({ class: `${t} rounded-full bg-muted cursor-pointer` }, [
851
- i({
857
+ }, Re = (e) => E[e] || E.default, qe = ({ index: e, size: t }) => n({ class: `${t} rounded-full bg-muted cursor-pointer` }, [
858
+ a({
852
859
  class: "block w-full h-full rounded-full transition-colors",
853
860
  onSet: ["activeIndex", {
854
861
  "bg-primary": e,
@@ -858,10 +865,10 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
858
865
  o.activeIndex = e, l && l(e);
859
866
  }
860
867
  })
861
- ]), Ye = (e, t) => Array.from({ length: e }, (s, o) => Re({
868
+ ]), He = (e, t) => Array.from({ length: e }, (s, o) => qe({
862
869
  index: o,
863
870
  size: t
864
- })), Nt = C(
871
+ })), zt = C(
865
872
  {
866
873
  /**
867
874
  * Defines component data (props).
@@ -883,7 +890,7 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
883
890
  * @returns {object}
884
891
  */
885
892
  render() {
886
- const e = this.gap || "gap-2", t = He(this.size || "sm"), s = Ye(this.data.count, t);
893
+ const e = this.gap || "gap-2", t = Re(this.size || "sm"), s = He(this.data.count, t);
887
894
  return n(
888
895
  { class: "flex justify-center items-center py-2" },
889
896
  [
@@ -892,26 +899,26 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
892
899
  );
893
900
  }
894
901
  }
895
- ), _e = ({ toggleDropdown: e }) => f(
902
+ ), Ye = ({ toggleDropdown: e }) => f(
896
903
  {
897
904
  cache: "button",
898
905
  class: "relative z-[2] inline-flex items-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 border border-input bg-background hover:bg-muted h-10 px-4 py-2 justify-between",
899
906
  click: e
900
907
  },
901
908
  [
902
- i({ onState: ["selectedLabel", (t) => t || "Select item..."] }),
903
- m({ html: u.chevron.upDown })
909
+ a({ onState: ["selectedLabel", (t) => t || "Select item..."] }),
910
+ m({ html: d.chevron.upDown })
904
911
  ]
905
- ), We = (e, t, s) => V({
912
+ ), _e = (e, t, s) => U({
906
913
  class: "flex flex-auto items-center cursor-pointer p-2 hover:bg-muted/50 rounded-sm",
907
914
  click: () => t(e),
908
915
  onState: [s, "selectedValue", { "bg-secondary": e.value }]
909
916
  }, [
910
- e.icon && i({ class: "mr-2 flex items-baseline" }, [p({ size: "xs" }, e.icon)]),
911
- i({ class: "text-base font-normal" }, e.label)
912
- ]), Je = (e, t) => n({ class: "w-full border rounded-md" }, [
913
- U({ class: "max-h-60 overflow-y-auto p-2 grid gap-1", for: ["items", (s) => We(s, e, t)] })
914
- ]), Ge = ({ onSelect: e, state: t }) => n({ class: "flex flex-auto flex-col" }, [
917
+ e.icon && a({ class: "mr-2 flex items-baseline" }, [p({ size: "xs" }, e.icon)]),
918
+ a({ class: "text-base font-normal" }, e.label)
919
+ ]), We = (e, t) => n({ class: "w-full border rounded-md" }, [
920
+ V({ class: "max-h-60 overflow-y-auto p-2 grid gap-1", for: ["items", (s) => _e(s, e, t)] })
921
+ ]), Je = ({ onSelect: e, state: t }) => n({ class: "flex flex-auto flex-col" }, [
915
922
  x(
916
923
  "open",
917
924
  (s, o, l) => s ? new k({
@@ -919,10 +926,10 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
919
926
  parent: l,
920
927
  button: l.button
921
928
  }, [
922
- Je(e, t)
929
+ We(e, t)
923
930
  ]) : null
924
931
  )
925
- ]), Et = C(
932
+ ]), Nt = C(
926
933
  {
927
934
  /**
928
935
  * This will set up the data.
@@ -1003,8 +1010,8 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
1003
1010
  const e = this.class || "", t = this.maxWidth || "max-w-[250px]", s = this.width || "w-full";
1004
1011
  return n({ class: `relative ${s} flex flex-auto flex-col ${t} ${e}` }, [
1005
1012
  // @ts-ignore
1006
- _e({ toggleDropdown: this.toggleDropdown.bind(this) }),
1007
- Ge({
1013
+ Ye({ toggleDropdown: this.toggleDropdown.bind(this) }),
1014
+ Je({
1008
1015
  // @ts-ignore
1009
1016
  state: this.state,
1010
1017
  // @ts-ignore
@@ -1030,20 +1037,20 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
1030
1037
  click: t,
1031
1038
  icon: e,
1032
1039
  "aria-label": s
1033
- }), Ke = ({ click: e }) => J({
1034
- icon: u.circleMinus,
1040
+ }), Ge = ({ click: e }) => J({
1041
+ icon: d.circleMinus,
1035
1042
  click: e,
1036
1043
  ariaLabel: "Decrement"
1037
- }), Qe = ({ click: e }) => J({
1038
- icon: u.circlePlus,
1044
+ }), Ke = ({ click: e }) => J({
1045
+ icon: d.circlePlus,
1039
1046
  click: e,
1040
1047
  ariaLabel: "Increment"
1041
- }), Xe = ({ bind: e, min: t, max: s, readonly: o = !1 }) => R(({ state: l }) => w({
1048
+ }), Qe = ({ bind: e, min: t, max: s, readonly: o = !1 }) => H(({ state: l }) => w({
1042
1049
  value: ["[[count]]", l],
1043
1050
  bind: e,
1044
- blur: (r, { state: a }) => {
1045
- let d = parseInt(r.target.value, 10);
1046
- isNaN(d) && (d = t ?? 0), t !== void 0 && (d = Math.max(d, t)), s !== void 0 && (d = Math.min(d, s)), a.count = d;
1051
+ blur: (r, { state: i }) => {
1052
+ let u = parseInt(r.target.value, 10);
1053
+ isNaN(u) && (u = t ?? 0), t !== void 0 && (u = Math.max(u, t)), s !== void 0 && (u = Math.min(u, s)), i.count = u;
1047
1054
  },
1048
1055
  class: "flex flex-auto text-lg font-medium bg-transparent text-center border min-w-0",
1049
1056
  readonly: o,
@@ -1051,7 +1058,7 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
1051
1058
  max: s,
1052
1059
  type: "number",
1053
1060
  "aria-label": "Counter"
1054
- })), jt = v(
1061
+ })), Et = y(
1055
1062
  {
1056
1063
  /**
1057
1064
  * Initial state for the counter component.
@@ -1074,32 +1081,32 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
1074
1081
  render() {
1075
1082
  const e = this.class ?? "";
1076
1083
  return n({ class: `flex flex-auto items-center justify-between space-x-4 p-4 ${e}` }, [
1077
- Ke({ click: () => this.state.decrement("count") }),
1078
- Xe({
1084
+ Ge({ click: () => this.state.decrement("count") }),
1085
+ Qe({
1079
1086
  bind: this.bind,
1080
1087
  readonly: this.readonly,
1081
1088
  min: this.min,
1082
1089
  max: this.max
1083
1090
  }),
1084
- Qe({ click: () => this.state.increment("count") })
1091
+ Ke({ click: () => this.state.increment("count") })
1085
1092
  ]);
1086
1093
  }
1087
1094
  }
1088
- ), Ze = ({ bind: e, required: t }) => w({
1095
+ ), Xe = ({ bind: e, required: t }) => w({
1089
1096
  cache: "input",
1090
1097
  class: "opacity-0 absolute top-0 left-0 w-full h-full pointer-events-none",
1091
1098
  bind: e,
1092
1099
  required: t
1093
- }), et = ({ bind: e, required: t, toggleOpen: s }) => f({
1100
+ }), Ze = ({ bind: e, required: t, toggleOpen: s }) => f({
1094
1101
  class: "relative flex items-center gap-2 w-full justify-between border border-input bg-background hover:bg-muted rounded-md h-10 px-4 py-2",
1095
1102
  click: s
1096
1103
  }, [
1097
- Ze({ bind: e, required: t }),
1098
- i({
1104
+ Xe({ bind: e, required: t }),
1105
+ a({
1099
1106
  onState: ["selectedDate", (o) => o ? A.format("standard", o) : "Pick a date"]
1100
1107
  }),
1101
- m({ html: u.calendar.days })
1102
- ]), tt = ({ handleDateSelect: e, blockPriorDates: t }) => x(
1108
+ m({ html: d.calendar.days })
1109
+ ]), et = ({ handleDateSelect: e, blockPriorDates: t }) => x(
1103
1110
  "open",
1104
1111
  (s, o, l) => s ? new k({
1105
1112
  cache: "dropdown",
@@ -1107,13 +1114,13 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
1107
1114
  button: l.panel,
1108
1115
  size: "fit"
1109
1116
  }, [
1110
- new re({
1117
+ new le({
1111
1118
  selectedDate: l.state.selectedDate,
1112
1119
  selectedCallBack: e,
1113
1120
  blockPriorDates: t
1114
1121
  })
1115
1122
  ]) : null
1116
- ), Ot = v(
1123
+ ), jt = y(
1117
1124
  {
1118
1125
  /**
1119
1126
  * The initial state of the DatePicker.
@@ -1145,35 +1152,35 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
1145
1152
  this.state.selectedDate = s, this.state.open = !1, this.input.value = s, typeof this.onChange == "function" && this.onChange(s);
1146
1153
  };
1147
1154
  return n({ class: "relative w-full max-w-[320px]" }, [
1148
- et({
1155
+ Ze({
1149
1156
  toggleOpen: e,
1150
1157
  bind: this.bind,
1151
1158
  required: this.required
1152
1159
  }),
1153
- tt({
1160
+ et({
1154
1161
  handleDateSelect: t,
1155
1162
  blockPriorDates: this.blockPriorDates || !1
1156
1163
  })
1157
1164
  ]);
1158
1165
  }
1159
1166
  }
1160
- ), st = ({ bind: e, required: t }) => w({
1167
+ ), tt = ({ bind: e, required: t }) => w({
1161
1168
  cache: "input",
1162
1169
  class: "opacity-0 absolute top-0 left-0 w-full h-full pointer-events-none",
1163
1170
  bind: e,
1164
1171
  required: t
1165
- }), ot = ({ bind: e, required: t, toggleOpen: s }) => f({
1172
+ }), st = ({ bind: e, required: t, toggleOpen: s }) => f({
1166
1173
  class: "relative flex items-center gap-2 w-full justify-between border border-input bg-background hover:bg-muted rounded-md h-10 px-4 py-2",
1167
1174
  click: s
1168
1175
  }, [
1169
- st({ bind: e, required: t }),
1170
- R(({ state: o }) => [
1171
- i(F.date(["[[start]]", o], "Start Date")),
1172
- i(" - "),
1173
- i(F.date(["[[end]]", o], "End Date"))
1176
+ tt({ bind: e, required: t }),
1177
+ H(({ state: o }) => [
1178
+ a(P.date(["[[start]]", o], "Start Date")),
1179
+ a(" - "),
1180
+ a(P.date(["[[end]]", o], "End Date"))
1174
1181
  ]),
1175
- m({ html: u.calendar.days })
1176
- ]), nt = ({ handleDateSelect: e, blockPriorDates: t }) => x(
1182
+ m({ html: d.calendar.days })
1183
+ ]), ot = ({ handleDateSelect: e, blockPriorDates: t }) => x(
1177
1184
  "open",
1178
1185
  (s, o, l) => s ? new k({
1179
1186
  cache: "dropdown",
@@ -1181,14 +1188,14 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
1181
1188
  button: l.panel,
1182
1189
  size: "xl"
1183
1190
  }, [
1184
- new ae({
1191
+ new re({
1185
1192
  startDate: l.state.start,
1186
1193
  endDate: l.state.end,
1187
1194
  onRangeSelect: e,
1188
1195
  blockPriorDates: t
1189
1196
  })
1190
1197
  ]) : null
1191
- ), Vt = v(
1198
+ ), Ot = y(
1192
1199
  {
1193
1200
  /**
1194
1201
  * The initial state of the DateRangePicker.
@@ -1224,12 +1231,12 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
1224
1231
  this.state.start = s, this.state.end = o, this.state.open = !1, this.input.value = `${s}-${o}`, typeof this.onChange == "function" && this.onChange({ start: s, end: o }, this.parent);
1225
1232
  };
1226
1233
  return n({ class: "relative w-full max-w-[320px]" }, [
1227
- ot({
1234
+ st({
1228
1235
  toggleOpen: e,
1229
1236
  bind: this.bind,
1230
1237
  required: this.required
1231
1238
  }),
1232
- nt({
1239
+ ot({
1233
1240
  handleDateSelect: t,
1234
1241
  blockPriorDates: this.blockPriorDates || !1
1235
1242
  })
@@ -1237,7 +1244,7 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
1237
1244
  }
1238
1245
  }
1239
1246
  ), Ut = ({ dateTime: e = "", remoteTimeZone: t = "America/Denver", filter: s = null }) => te([
1240
- new de({
1247
+ new ce({
1241
1248
  dateTime: e,
1242
1249
  filter: s || ((o) => {
1243
1250
  const l = A.getLocalTime(o, !0, !1, t);
@@ -1245,7 +1252,7 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
1245
1252
  })
1246
1253
  })
1247
1254
  ]);
1248
- function lt({ bind: e, required: t }) {
1255
+ function nt({ bind: e, required: t }) {
1249
1256
  return w({
1250
1257
  cache: "input",
1251
1258
  class: "opacity-0 absolute top-0 left-0 w-full h-full pointer-events-none",
@@ -1253,18 +1260,18 @@ function lt({ bind: e, required: t }) {
1253
1260
  required: t
1254
1261
  });
1255
1262
  }
1256
- function rt({ bind: e, required: t, toggleOpen: s }) {
1263
+ function lt({ bind: e, required: t, toggleOpen: s }) {
1257
1264
  return f(
1258
1265
  {
1259
1266
  class: "relative flex items-center gap-2 w-full justify-between border border-input bg-background hover:bg-muted rounded-md h-10 px-4 py-2",
1260
1267
  click: s
1261
1268
  },
1262
1269
  [
1263
- lt({ bind: e, required: t }),
1264
- i({
1270
+ nt({ bind: e, required: t }),
1271
+ a({
1265
1272
  onState: ["selectedTime", (o) => o || "Pick a time"]
1266
1273
  }),
1267
- m({ html: u.clock })
1274
+ m({ html: d.clock })
1268
1275
  ]
1269
1276
  );
1270
1277
  }
@@ -1272,17 +1279,17 @@ function B({ items: e, handleTimeSelect: t, state: s, stateValue: o, pad: l = !1
1272
1279
  return n(
1273
1280
  { class: "flex flex-col max-h-[200px] overflow-y-auto" },
1274
1281
  e.map((r) => {
1275
- let a = l ? r.toString().padStart(2, "0") : r.toString();
1282
+ let i = l ? r.toString().padStart(2, "0") : r.toString();
1276
1283
  return f({
1277
- text: a,
1284
+ text: i,
1278
1285
  class: "hover:bg-muted/50 rounded-md px-2 py-1",
1279
- click: () => t({ [o]: a }),
1280
- onState: [s, o, { "bg-muted": a }]
1286
+ click: () => t({ [o]: i }),
1287
+ onState: [s, o, { "bg-muted": i }]
1281
1288
  });
1282
1289
  })
1283
1290
  );
1284
1291
  }
1285
- function at({ handleTimeSelect: e }) {
1292
+ function rt({ handleTimeSelect: e }) {
1286
1293
  return n(
1287
1294
  { class: "absolute mt-1 z-10 bg-background rounded-md shadow-lg" },
1288
1295
  [
@@ -1341,14 +1348,14 @@ function j(e) {
1341
1348
  const t = /^(\d{1,2}):(\d{2})(?::(\d{2}))?\s?(AM|PM)?$/i, s = e.match(t);
1342
1349
  if (!s)
1343
1350
  return { hour: null, minute: null, meridian: null };
1344
- let [, o, l, , r] = s, a = parseInt(o, 10), d = parseInt(l, 10);
1345
- return a < 0 || a > 23 || d < 0 || d > 59 ? { hour: null, minute: null, meridian: null } : (r ? (r = r.toUpperCase(), r === "PM" && a < 12 ? a += 12 : r === "AM" && a === 12 && (a = 12)) : a === 0 ? (r = "AM", a = 12) : a < 12 ? r = "AM" : a === 12 ? r = "PM" : (r = "PM", a -= 12), {
1346
- hour: a.toString().padStart(2, "0"),
1347
- minute: d.toString().padStart(2, "0"),
1351
+ let [, o, l, , r] = s, i = parseInt(o, 10), u = parseInt(l, 10);
1352
+ return i < 0 || i > 23 || u < 0 || u > 59 ? { hour: null, minute: null, meridian: null } : (r ? (r = r.toUpperCase(), r === "PM" && i < 12 ? i += 12 : r === "AM" && i === 12 && (i = 12)) : i === 0 ? (r = "AM", i = 12) : i < 12 ? r = "AM" : i === 12 ? r = "PM" : (r = "PM", i -= 12), {
1353
+ hour: i.toString().padStart(2, "0"),
1354
+ minute: u.toString().padStart(2, "0"),
1348
1355
  meridian: r
1349
1356
  });
1350
1357
  }
1351
- const qt = v(
1358
+ const Vt = y(
1352
1359
  {
1353
1360
  /**
1354
1361
  * The initial shallow state of the TimePicker.
@@ -1396,12 +1403,12 @@ const qt = v(
1396
1403
  return n(
1397
1404
  { class: "relative w-full max-w-[320px]" },
1398
1405
  [
1399
- rt({
1406
+ lt({
1400
1407
  toggleOpen: e,
1401
1408
  bind: this.bind,
1402
1409
  required: this.required
1403
1410
  }),
1404
- at({
1411
+ rt({
1405
1412
  handleTimeSelect: t
1406
1413
  })
1407
1414
  ]
@@ -1410,9 +1417,9 @@ const qt = v(
1410
1417
  }
1411
1418
  ), it = (e, t) => n({ class: `hidden md:flex items-start justify-center w-6 h-6 mr-3 ${t}` }, [
1412
1419
  p({ size: "lg" }, e)
1413
- ]), ct = ({ title: e }) => I({ class: "flex flex-auto items-center" }, [
1420
+ ]), at = ({ title: e }) => I({ class: "flex flex-auto items-center" }, [
1414
1421
  D({ class: "text-lg font-semibold" }, e)
1415
- ]), dt = c((e, t) => se(
1422
+ ]), ct = c((e, t) => se(
1416
1423
  {
1417
1424
  class: `fixed pullUpIn z-30 w-[98%] border md:w-full max-w-lg bg-popover text-foreground shadow-lg duration-200
1418
1425
  rounded-lg flex flex-auto flex-col
@@ -1426,7 +1433,7 @@ const qt = v(
1426
1433
  e.icon && it(e.icon, e.iconColor),
1427
1434
  n({ class: "flex flex-auto flex-col gap-4" }, [
1428
1435
  n({ class: "flex flex-auto flex-col space-y-2" }, [
1429
- ct(e),
1436
+ at(e),
1430
1437
  e.description && b({ class: "flex flex-auto flex-col text-sm text-muted-foreground" }, e.description),
1431
1438
  n({ class: "flex flex-auto flex-col text-sm text-muted-foreground" }, t)
1432
1439
  ]),
@@ -1461,7 +1468,7 @@ const qt = v(
1461
1468
  iconColor: "text-muted-foreground"
1462
1469
  }
1463
1470
  };
1464
- class ht extends y {
1471
+ class dt extends v {
1465
1472
  /**
1466
1473
  * This will declare the props for the compiler.
1467
1474
  *
@@ -1476,12 +1483,12 @@ class ht extends y {
1476
1483
  * @returns {object}
1477
1484
  */
1478
1485
  render() {
1479
- const t = (d) => {
1480
- d.target === this.panel && this.close();
1481
- }, { borderColor: s, bgColor: o, iconColor: l } = O[this.type] || O.default, r = `${this.getMainClass()} ${o} ${s}`, a = this.title || "Dialog Title";
1482
- return dt({
1486
+ const t = (u) => {
1487
+ u.target === this.panel && this.close();
1488
+ }, { borderColor: s, bgColor: o, iconColor: l } = O[this.type] || O.default, r = `${this.getMainClass()} ${o} ${s}`, i = this.title || "Dialog Title";
1489
+ return ct({
1483
1490
  class: r,
1484
- title: a,
1491
+ title: i,
1485
1492
  click: t,
1486
1493
  icon: this.icon,
1487
1494
  iconColor: l,
@@ -1534,7 +1541,7 @@ class ht extends y {
1534
1541
  this.state.open = !1, this.panel.close(), typeof this.onClose == "function" && this.onClose(), this.destroy();
1535
1542
  }
1536
1543
  }
1537
- class Ht extends ht {
1544
+ class Rt extends dt {
1538
1545
  /**
1539
1546
  * This will declare the props for the compiler.
1540
1547
  *
@@ -1564,7 +1571,7 @@ class Ht extends ht {
1564
1571
  this.confirmed && this.confirmed(), this.close();
1565
1572
  }
1566
1573
  }
1567
- const Rt = c((e, t = []) => n({ class: "w-full max-w-md p-6 m-auto" }, [
1574
+ const qt = c((e, t = []) => n({ class: "w-full max-w-md p-6 m-auto" }, [
1568
1575
  W({ class: "flex flex-auto flex-col" }, [
1569
1576
  n({ class: "flex flex-auto flex-col space-y-4" }, [
1570
1577
  n({ class: "flex flex-auto items-center justify-center" }, [
@@ -1582,45 +1589,45 @@ const Rt = c((e, t = []) => n({ class: "w-full max-w-md p-6 m-auto" }, [
1582
1589
  ]));
1583
1590
  export {
1584
1591
  yt as A,
1585
- zt as B,
1586
- $t as C,
1587
- me as D,
1588
- qt as E,
1589
- ke as F,
1590
- Ht as G,
1591
- dt as H,
1592
- ht as I,
1593
- Rt as J,
1594
- Mt as L,
1595
- Tt as M,
1596
- Bt as N,
1597
- Qe as P,
1598
- It as S,
1599
- At as T,
1600
- xe as a,
1601
- Ct as b,
1602
- ve as c,
1603
- Se as d,
1604
- De as e,
1605
- Ie as f,
1606
- Te as g,
1607
- kt as h,
1592
+ Mt as B,
1593
+ It as C,
1594
+ fe as D,
1595
+ Vt as E,
1596
+ Ce as F,
1597
+ Rt as G,
1598
+ ct as H,
1599
+ dt as I,
1600
+ qt as J,
1601
+ Pt as L,
1602
+ $t as M,
1603
+ Tt as N,
1604
+ Ke as P,
1605
+ Dt as S,
1606
+ Bt as T,
1607
+ be as a,
1608
+ vt as b,
1609
+ we as c,
1610
+ ke as d,
1611
+ Se as e,
1612
+ De as f,
1613
+ $e as g,
1614
+ Ct as h,
1608
1615
  W as i,
1609
- St as j,
1610
- Dt as k,
1611
- Ne as l,
1612
- Lt as m,
1613
- Pt as n,
1616
+ kt as j,
1617
+ St as k,
1618
+ ze as l,
1619
+ At as m,
1620
+ Lt as n,
1614
1621
  Ft as o,
1615
1622
  S as p,
1616
1623
  g as q,
1617
- Oe as r,
1618
- Nt as s,
1619
- Et as t,
1620
- Ke as u,
1621
- Xe as v,
1622
- jt as w,
1623
- Ot as x,
1624
- Vt as y,
1624
+ je as r,
1625
+ zt as s,
1626
+ Nt as t,
1627
+ Ge as u,
1628
+ Qe as v,
1629
+ Et as w,
1630
+ jt as x,
1631
+ Ot as y,
1625
1632
  Ut as z
1626
1633
  };
package/dist/index.es.js CHANGED
@@ -3,7 +3,7 @@ import { B as c, I as C, L as T } from "./buttons-Cm9etaEG.js";
3
3
  import { C as b, d as I, D as S, c as P, E as B, F, H as k, I as M, M as f, N as x, P as N, R as v, T as y, a as h, b as L, U as W, W as H } from "./inputs-CMjx5-IX.js";
4
4
  import { V as R, a as w } from "./veil-D4dRxILB.js";
5
5
  import { Icons as E } from "./icons.es.js";
6
- import { A as O, B as V, C as j, t as q, G as J, v as z, w as _, x as K, y as Q, D as X, j as Y, k as Z, I as $, H as aa, s as ea, c as sa, a as oa, b as ta, J as ra, i as na, g as la, e as ia, h as pa, F as ma, d as ua, f as da, L as ga, u as ca, M as Ca, l as Ta, N as Da, P as ba, p as Ia, q as Sa, S as Pa, n as Ba, o as Fa, T as ka, z as Ma, E as fa, m as xa, r as Na } from "./empty-state-Dct3Y9SD.js";
6
+ import { A as O, B as V, C as j, t as q, G as J, v as z, w as _, x as K, y as Q, D as X, j as Y, k as Z, I as $, H as aa, s as ea, c as sa, a as oa, b as ta, J as ra, i as na, g as la, e as ia, h as pa, F as ma, d as ua, f as da, L as ga, u as ca, M as Ca, l as Ta, N as Da, P as ba, p as Ia, q as Sa, S as Pa, n as Ba, o as Fa, T as ka, z as Ma, E as fa, m as xa, r as Na } from "./empty-state-CIFxears.js";
7
7
  import { A as ya, b as ha, C as La, D as Wa, a as Ha, F as Aa, M as Ra, P as wa, R as Ua, c as Ea, g as Ga, p as Oa } from "./range-calendar-k0B4ZWJq.js";
8
8
  import { B as ja, p as qa, C as Ja, j as za, D as _a, m as Ka, k as Qa, H as Xa, I as Ya, N as Za, O as $a, P as ae, S as ee, n as se, o as oe, t as te, s as re, q as ne, r as le, T as ie, l as pe, U as me, W as ue, f as de, h as ge, i as ce, c as Ce, d as Te, b as De, e as be, a as Ie, g as Se } from "./signature-panel-Cj_uAlDW.js";
9
9
  import { B as Be, I as Fe, M as ke, d as Me, e as fe, g as xe, N as Ne, b as ve, a as ye, f as he, P as Le, c as We, S as He, T as Ae } from "./mobile-nav-wrapper-Dj67Pb8l.js";
@@ -1,4 +1,4 @@
1
- import { A as o, B as t, C as e, t as r, G as i, v as n, w as m, x as l, y as S, D, j as c, k as g, I as p, H as u, s as d, c as C, a as F, b as T, J as P, i as A, g as f, e as w, h as I, F as b, d as y, f as B, L as M, u as k, M as x, l as L, N as v, P as E, p as N, q as R, S as U, n as h, o as j, T as q, z, E as G, m as H, r as J } from "./empty-state-Dct3Y9SD.js";
1
+ import { A as o, B as t, C as e, t as r, G as i, v as n, w as m, x as l, y as S, D, j as c, k as g, I as p, H as u, s as d, c as C, a as F, b as T, J as P, i as A, g as f, e as w, h as I, F as b, d as y, f as B, L as M, u as k, M as x, l as L, N as v, P as E, p as N, q as R, S as U, n as h, o as j, T as q, z, E as G, m as H, r as J } from "./empty-state-CIFxears.js";
2
2
  import { A as _, P as K, g as Q } from "./range-calendar-k0B4ZWJq.js";
3
3
  export {
4
4
  o as Alert,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/ui",
3
- "version": "1.0.249",
3
+ "version": "1.0.251",
4
4
  "description": "This is a UI package that adds components and atoms that use Tailwind CSS and a theme based on Shadcn.",
5
5
  "main": "./dist/index.es.js",
6
6
  "scripts": {