@base-framework/ui 1.0.166 → 1.0.167

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,10 +1,10 @@
1
- import { Div as n, H5 as _, P as p, I as g, Li as O, Span as a, Ul as V, Button as m, OnState as y, Label as R, Form as W, H2 as A, Header as B, Footer as M, A as Y, H3 as G, Checkbox as J, Nav as K, Input as v, UseParent as Q, Time as X, Dialog as Z } from "@base-framework/atoms";
2
- import { Atom as c, Component as b, Html as L, Dom as ee, base as te, Data as C, Builder as H, Jot as k, DateTime as $ } from "@base-framework/base";
3
- import { P as S, b as se } from "./calendar-DQXME-2u.js";
1
+ import { Div as n, H5 as _, P as b, I as g, Li as O, Span as a, Ul as V, Button as m, OnState as v, Label as R, Form as W, H2 as A, Header as B, Footer as M, A as Y, H3 as G, Checkbox as J, Nav as K, Input as C, UseParent as Q, Time as X, Dialog as Z } from "@base-framework/atoms";
2
+ import { Atom as c, Component as p, Html as L, Dom as ee, base as te, Data as k, Builder as H, Jot as S, DateTime as $ } from "@base-framework/base";
3
+ import { P as D, b as se } from "./calendar-DQXME-2u.js";
4
4
  import { B as h, I as x } from "./buttons-Cm9etaEG.js";
5
5
  import { Icons as u } from "./icons.es.js";
6
- import { a as D, V as oe } from "./veil-D4dRxILB.js";
7
- import { Timer as ne, List as re, DynamicTime as le } from "@base-framework/organisms";
6
+ import { a as w } from "./veil-D4dRxILB.js";
7
+ import { Timer as oe, List as ne, DynamicTime as re } from "@base-framework/organisms";
8
8
  const P = {
9
9
  info: {
10
10
  borderColor: "border-blue-500",
@@ -31,20 +31,20 @@ const P = {
31
31
  bgColor: "bg-muted/10",
32
32
  iconColor: "text-muted-foreground"
33
33
  }
34
- }, ie = (e, t) => n({ class: `flex items-center justify-center h-6 w-6 mr-3 ${t}` }, [
34
+ }, le = (e, t) => n({ class: `flex items-center justify-center h-6 w-6 mr-3 ${t}` }, [
35
35
  g({ html: e })
36
- ]), ae = (e) => _({ class: "font-semibold" }, e), ce = (e) => p({ class: "text-sm text-muted-foreground" }, e), ft = c(({ title: e, description: t, icon: s, type: o = "default" }) => {
36
+ ]), ie = (e) => _({ class: "font-semibold" }, e), ae = (e) => b({ class: "text-sm text-muted-foreground" }, e), mt = c(({ title: e, description: t, icon: s, type: o = "default" }) => {
37
37
  const { borderColor: r, bgColor: l, iconColor: i } = P[o] || P.default;
38
38
  return n({ class: `flex items-start p-4 border rounded-lg ${l} ${r}` }, [
39
39
  // Icon and content
40
- s && ie(s, i),
40
+ s && le(s, i),
41
41
  n({ class: "flex flex-col" }, [
42
- ae(e),
43
- ce(t)
42
+ ie(e),
43
+ ae(t)
44
44
  ])
45
45
  ]);
46
46
  });
47
- class de extends b {
47
+ class ce extends p {
48
48
  /**
49
49
  * This will declare the props for the compiler.
50
50
  *
@@ -68,19 +68,19 @@ class de extends b {
68
68
  ee.addClass(t, s), te.on("animationend", t, (o) => L.removeElement(t));
69
69
  }
70
70
  }
71
- const ue = (e) => a({ class: "ml-auto text-xs tracking-widest opacity-60" }, e), he = (e) => a({ class: "flex w-4 h-4", html: e }), me = (e) => a({ class: "flex-auto" }, e), fe = (e, t) => O({
71
+ const de = (e) => a({ class: "ml-auto text-xs tracking-widest opacity-60" }, e), ue = (e) => a({ class: "flex w-4 h-4", html: e }), he = (e) => a({ class: "flex-auto" }, e), me = (e, t) => O({
72
72
  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",
73
73
  click: () => t(e)
74
74
  }, [
75
- e.icon && he(e.icon),
76
- me(e.label),
77
- e.shortcut && ue(e.shortcut)
78
- ]), ge = (e, t) => V({ class: "grid gap-2" }, [
79
- e.map((s) => fe(s, t))
80
- ]), pe = (e) => n({ class: "w-full z-10" }, [
75
+ e.icon && ue(e.icon),
76
+ he(e.label),
77
+ e.shortcut && de(e.shortcut)
78
+ ]), fe = (e, t) => V({ class: "grid gap-2" }, [
79
+ e.map((s) => me(s, t))
80
+ ]), ge = (e) => n({ class: "w-full z-10" }, [
81
81
  n({
82
82
  class: "max-h-60 border rounded-md overflow-y-auto p-1 grid gap-2 divide-y divide-border",
83
- for: ["groups", (t) => ge(t, e)]
83
+ for: ["groups", (t) => fe(t, e)]
84
84
  })
85
85
  ]), be = ({ label: e, icon: t, toggleDropdown: s }) => m({
86
86
  cache: "button",
@@ -91,19 +91,19 @@ const ue = (e) => a({ class: "ml-auto text-xs tracking-widest opacity-60" }, e),
91
91
  }, [
92
92
  e && a(e),
93
93
  t && g({ html: t })
94
- ]), xe = ({ onSelect: e }) => n([
95
- y(
94
+ ]), pe = ({ onSelect: e }) => n([
95
+ v(
96
96
  "open",
97
- (t, s, o) => t ? new S({
97
+ (t, s, o) => t ? new D({
98
98
  cache: "dropdown",
99
99
  parent: o,
100
100
  button: o.button
101
101
  }, [
102
- pe(e)
102
+ ge(e)
103
103
  ]) : null
104
104
  )
105
105
  ]);
106
- class gt extends b {
106
+ class ft extends p {
107
107
  /**
108
108
  * This will declare the props for the compiler.
109
109
  *
@@ -118,7 +118,7 @@ class gt extends b {
118
118
  * @returns {Data}
119
119
  */
120
120
  setData() {
121
- return new C({
121
+ return new k({
122
122
  groups: this.groups || []
123
123
  });
124
124
  }
@@ -162,18 +162,18 @@ class gt extends b {
162
162
  icon: this.icon,
163
163
  toggleDropdown: this.toggleDropdown.bind(this)
164
164
  }),
165
- xe({ onSelect: this.handleSelect.bind(this) })
165
+ pe({ onSelect: this.handleSelect.bind(this) })
166
166
  ]);
167
167
  }
168
168
  }
169
- const we = c((e, t) => n({ ...e, class: "flex flex-auto flex-col space-y-2" }, t)), ye = c((e, t) => R({ ...e, class: "flex auto text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70" }, t)), ve = c((e, t) => p({ ...e, class: "text-sm text-muted-foreground italic" }, t)), Ce = c((e, t) => p({ ...e, class: "text-sm text-destructive" }, t)), ke = (e) => e.tag === "input" || e.tag === "select" || e.tag === "textarea", U = (e, t, s) => e.map((o) => (o.children && o.children.length > 0 && (o.children = U(o.children, t, s)), o.required && ke(o) ? {
169
+ const xe = c((e, t) => n({ ...e, class: "flex flex-auto flex-col space-y-2" }, t)), we = c((e, t) => R({ ...e, class: "flex auto text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70" }, t)), ye = c((e, t) => b({ ...e, class: "text-sm text-muted-foreground italic" }, t)), ve = c((e, t) => b({ ...e, class: "text-sm text-destructive" }, t)), Ce = (e) => e.tag === "input" || e.tag === "select" || e.tag === "textarea", U = (e, t, s) => e.map((o) => (o.children && o.children.length > 0 && (o.children = U(o.children, t, s)), o.required && Ce(o) ? {
170
170
  ...o,
171
171
  aria: {
172
172
  invalid: ["hasError"]
173
173
  },
174
174
  invalid: s,
175
175
  input: t
176
- } : o)), Se = c((e, t) => {
176
+ } : o)), ke = c((e, t) => {
177
177
  const r = U(t, (l) => {
178
178
  l.target.checkValidity() && e.setError(null);
179
179
  }, (l) => {
@@ -183,7 +183,7 @@ const we = c((e, t) => n({ ...e, class: "flex flex-auto flex-col space-y-2" }, t
183
183
  ...e,
184
184
  class: "w-full"
185
185
  }, r);
186
- }), pt = D(
186
+ }), gt = w(
187
187
  {
188
188
  /**
189
189
  * The initial state of the FormField.
@@ -208,34 +208,34 @@ const we = c((e, t) => n({ ...e, class: "flex flex-auto flex-col space-y-2" }, t
208
208
  this.state.error = l, this.state.hasError = !!l;
209
209
  };
210
210
  return n({ class: "flex flex-auto space-y-4" }, [
211
- we([
212
- ye({ htmlFor: t }, s),
213
- Se({
211
+ xe([
212
+ we({ htmlFor: t }, s),
213
+ ke({
214
214
  id: t,
215
215
  name: e,
216
216
  value: this.state.value,
217
217
  setError: r
218
218
  }, this.children),
219
- o && ve({ id: this.getId("description") }, o),
220
- n({ onState: ["error", (l) => l && Ce(l)] })
219
+ o && ye({ id: this.getId("description") }, o),
220
+ n({ onState: ["error", (l) => l && ve(l)] })
221
221
  ])
222
222
  ]);
223
223
  }
224
224
  }
225
- ), De = (e, t, s = null) => {
225
+ ), Se = (e, t, s = null) => {
226
226
  e.target.checkValidity() && (e.preventDefault(), s && s(e, t));
227
- }, Ie = c(
228
- (e, t) => W({ ...e, submit: (s, o) => De(s, o, e.submit), class: `w-full ${e.class ?? ""}` }, t)
229
- ), bt = c((e, t) => n({ ...e, class: `space-y-6 p-4 md:p-6 divide-y ${e.class || ""}` }, t)), xt = c((e, t = []) => n({ class: "space-y-3 py-4" }, [
227
+ }, De = c(
228
+ (e, t) => W({ ...e, submit: (s, o) => Se(s, o, e.submit), class: `w-full ${e.class ?? ""}` }, t)
229
+ ), bt = c((e, t) => n({ ...e, class: `space-y-6 p-4 md:p-6 divide-y ${e.class || ""}` }, t)), pt = c((e, t = []) => n({ class: "space-y-3 py-4" }, [
230
230
  e.title && A({ class: "font-semibold" }, e.title),
231
231
  ...t
232
- ])), wt = (e, t) => n({ class: "flex justify-between" }, [
232
+ ])), xt = (e, t) => n({ class: "flex justify-between" }, [
233
233
  a({ class: "text-muted-foreground" }, e),
234
234
  a(t)
235
- ]), yt = (e, t) => n({ class: "flex" }, [
235
+ ]), wt = (e, t) => n({ class: "flex" }, [
236
236
  a({ class: "text-muted-foreground mr-8 w-24 truncate text-nowrap" }, e),
237
237
  a(t)
238
- ]), Te = ({ title: e, description: t, back: s, icon: o, options: r = [] }) => B({ class: "modal-header bg-background/80 backdrop-blur-md sticky flex flex-none items-center py-4 px-6 z-10" }, [
238
+ ]), Ie = ({ title: e, description: t, back: s, icon: o, options: r = [] }) => B({ class: "modal-header bg-background/80 backdrop-blur-md sticky flex flex-none items-center py-4 px-6 z-10" }, [
239
239
  /**
240
240
  * Back Button
241
241
  */
@@ -254,20 +254,20 @@ const we = c((e, t) => n({ ...e, class: "flex flex-auto flex-col space-y-2" }, t
254
254
  ]),
255
255
  ...r
256
256
  ])
257
- ]), $e = c((e, t) => n({
257
+ ]), Te = c((e, t) => n({
258
258
  popover: "manual",
259
259
  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}`,
260
260
  click: (s, o) => {
261
261
  s.target === o.panel && (s.preventDefault(), s.stopPropagation(), o.state.open = !1);
262
262
  }
263
263
  }, [
264
- Ie({ class: "modal-content relative bg-background z-[1] flex flex-auto flex-col space-y-4", submit: (s, o) => e.onSubmit && e.onSubmit(o) }, [
265
- Te(e),
264
+ De({ class: "modal-content relative bg-background z-[1] flex flex-auto flex-col space-y-4", submit: (s, o) => e.onSubmit && e.onSubmit(o) }, [
265
+ Ie(e),
266
266
  n({ class: "modal-body flex flex-grow flex-col overflow-y-auto py-0 px-6 z-0" }, t),
267
267
  M({ class: "modal-footer sticky bg-background/80 backdrop-blur-md flex flex-none justify-between py-4 px-6 z-10" }, e.buttons)
268
268
  ])
269
- ])), Ae = (e) => H.render(e, app.root);
270
- class vt extends b {
269
+ ])), $e = (e) => H.render(e, app.root);
270
+ class yt extends p {
271
271
  /**
272
272
  * This will declare the props for the compiler.
273
273
  *
@@ -283,7 +283,7 @@ class vt extends b {
283
283
  */
284
284
  render() {
285
285
  const t = this.getMainClass(), s = this.title || "", o = this.description || null;
286
- return $e(
286
+ return Te(
287
287
  {
288
288
  class: t,
289
289
  title: s,
@@ -397,7 +397,7 @@ class vt extends b {
397
397
  * @returns {void}
398
398
  */
399
399
  open() {
400
- Ae(this), this.showModal();
400
+ $e(this), this.showModal();
401
401
  }
402
402
  /**
403
403
  * This will show the modal.
@@ -444,18 +444,18 @@ const F = {
444
444
  borderColor: "border",
445
445
  iconColor: "text-muted-foreground"
446
446
  }
447
- }, Be = (e) => B({ class: "flex justify-center" }, [
447
+ }, Ae = (e) => B({ class: "flex justify-center" }, [
448
448
  G({ class: "text-lg font-bold mb-0" }, e)
449
- ]), Me = c(({ href: e, class: t }, s) => Y({
449
+ ]), Be = c(({ href: e, class: t }, s) => Y({
450
450
  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}`,
451
451
  href: e,
452
452
  role: "alert"
453
- }, s)), Le = c(({ close: e, class: t }, s) => n({
453
+ }, s)), Me = c(({ close: e, class: t }, s) => n({
454
454
  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}`,
455
455
  click: () => e(),
456
456
  role: "alert"
457
457
  }, s));
458
- class Pe extends de {
458
+ class Le extends ce {
459
459
  /**
460
460
  * This will declare the props for the compiler.
461
461
  *
@@ -479,10 +479,10 @@ class Pe extends de {
479
479
  */
480
480
  render() {
481
481
  const { bgColor: t, borderColor: s, iconColor: o } = this.getTypeStyles(), r = this.href || null, l = this.getChildren(o);
482
- return r ? Me({
482
+ return r ? Be({
483
483
  href: r,
484
484
  class: `${t} ${s}`
485
- }, l) : Le({
485
+ }, l) : Me({
486
486
  close: this.close.bind(this),
487
487
  class: `${t} ${s}`
488
488
  }, l);
@@ -494,7 +494,7 @@ class Pe extends de {
494
494
  */
495
495
  afterSetup() {
496
496
  const t = this.duration;
497
- t !== "infinite" && (this.timer = new ne(t, this.close.bind(this)), this.timer.start());
497
+ t !== "infinite" && (this.timer = new oe(t, this.close.bind(this)), this.timer.start());
498
498
  }
499
499
  /**
500
500
  * This will get the style properties based on the notification type.
@@ -530,9 +530,9 @@ class Pe extends de {
530
530
  this.icon && g({ class: `mr-4 ${t}`, html: this.icon }),
531
531
  n({ class: "flex flex-auto flex-col" }, [
532
532
  n({ class: "flex flex-auto flex-row items-center w-full pr-12" }, [
533
- this.title && Be(this.title)
533
+ this.title && Ae(this.title)
534
534
  ]),
535
- p({ class: "text-base text-muted-foreground m-0 pr-12" }, this.description),
535
+ b({ class: "text-base text-muted-foreground m-0 pr-12" }, this.description),
536
536
  (this.primary || this.secondary) && M({ class: "margin-top-24 flex align-center" }, this.getButtons())
537
537
  ])
538
538
  ]),
@@ -554,8 +554,8 @@ class Pe extends de {
554
554
  t && t.stopPropagation(), this.duration !== "infinite" && this.timer.stop(), this.onClick && this.onClick(), this.destroy();
555
555
  }
556
556
  }
557
- let Fe = 0;
558
- class Ct extends b {
557
+ let Pe = 0;
558
+ class vt extends p {
559
559
  /**
560
560
  * This will render the component.
561
561
  *
@@ -563,11 +563,11 @@ class Ct extends b {
563
563
  */
564
564
  render() {
565
565
  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" }, [
566
- new re({
566
+ new ne({
567
567
  cache: "list",
568
568
  key: "id",
569
569
  role: "list",
570
- rowItem: (t) => new Pe(t)
570
+ rowItem: (t) => new Le(t)
571
571
  })
572
572
  ]);
573
573
  }
@@ -578,7 +578,7 @@ class Ct extends b {
578
578
  * @returns {void}
579
579
  */
580
580
  addNotice(t = {}) {
581
- t.id = Fe++, t.callBack = () => this.removeNotice(t), this.list.append([t]), this.panel.hidePopover(), this.panel.showPopover();
581
+ t.id = Pe++, t.callBack = () => this.removeNotice(t), this.list.append([t]), this.panel.hidePopover(), this.panel.showPopover();
582
582
  }
583
583
  /**
584
584
  * This will remove a notification.
@@ -595,12 +595,12 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
595
595
  onState: ["method", { active: e }],
596
596
  dataSet: ["method", ["state", e, "active"]],
597
597
  click: (o, { state: r }) => {
598
- r.method = e, localStorage.setItem("theme", e), e === "system" && localStorage.removeItem("theme"), Ne(e);
598
+ r.method = e, localStorage.setItem("theme", e), e === "system" && localStorage.removeItem("theme"), Fe(e);
599
599
  }
600
600
  }, [
601
601
  x(s),
602
602
  a(t)
603
- ])), Ne = (e) => {
603
+ ])), Fe = (e) => {
604
604
  var o;
605
605
  const t = document.documentElement;
606
606
  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) {
@@ -609,7 +609,7 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
609
609
  }
610
610
  const s = e === "light" ? "dark" : "light";
611
611
  t.classList.remove(s);
612
- }, kt = k(
612
+ }, Ct = S(
613
613
  {
614
614
  /**
615
615
  * This will render the component.
@@ -636,7 +636,7 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
636
636
  };
637
637
  }
638
638
  }
639
- ), St = D(
639
+ ), kt = w(
640
640
  {
641
641
  /**
642
642
  * The initial state of the Toggle.
@@ -688,7 +688,7 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
688
688
  ]);
689
689
  }
690
690
  }
691
- ), w = {
691
+ ), y = {
692
692
  ONLINE: "online",
693
693
  OFFLINE: "offline",
694
694
  BUSY: "busy",
@@ -698,17 +698,17 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
698
698
  OFFLINE: "bg-gray-500",
699
699
  BUSY: "bg-red-500",
700
700
  AWAY: "bg-yellow-500"
701
- }, ze = (e = "") => (e = e.toUpperCase(), f[e] || f.OFFLINE), Dt = (e) => n({
702
- class: `absolute bottom-0 right-0 w-3 h-3 border-2 rounded-full ${ze(e)}`
703
- }), It = ({ propName: e = "status" } = {}) => n({
701
+ }, Ne = (e = "") => (e = e.toUpperCase(), f[e] || f.OFFLINE), St = (e) => n({
702
+ class: `absolute bottom-0 right-0 w-3 h-3 border-2 rounded-full ${Ne(e)}`
703
+ }), Dt = ({ propName: e = "status" } = {}) => n({
704
704
  class: "absolute bottom-0 right-0 w-3 h-3 border-2 rounded-full",
705
705
  onSet: [e, {
706
- [f.ONLINE]: w.ONLINE,
707
- [f.OFFLINE]: w.OFFLINE,
708
- [f.BUSY]: w.BUSY,
709
- [f.AWAY]: w.AWAY
706
+ [f.ONLINE]: y.ONLINE,
707
+ [f.OFFLINE]: y.OFFLINE,
708
+ [f.BUSY]: y.BUSY,
709
+ [f.AWAY]: y.AWAY
710
710
  }]
711
- }), Ee = (e, t) => Y(
711
+ }), ze = (e, t) => Y(
712
712
  {
713
713
  href: e,
714
714
  "aria-current": t === "Breadcrumb" && "page",
@@ -716,14 +716,14 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
716
716
  class: "text-muted-foreground font-medium hover:text-foreground"
717
717
  },
718
718
  [a(t)]
719
- ), je = () => x({
719
+ ), Ee = () => x({
720
720
  class: "mx-3 text-muted-foreground",
721
721
  "aria-hidden": !0,
722
722
  size: "xs"
723
- }, u.chevron.single.right), Oe = (e) => n({ class: "flex items-center" }, [
724
- e.href ? Ee(e.href, e.label) : a(e.label),
725
- e.separator && je()
726
- ]), Tt = k(
723
+ }, u.chevron.single.right), je = (e) => n({ class: "flex items-center" }, [
724
+ e.href ? ze(e.href, e.label) : a(e.label),
725
+ e.separator && Ee()
726
+ ]), It = S(
727
727
  {
728
728
  /**
729
729
  * Set initial data
@@ -731,7 +731,7 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
731
731
  * @returns {Data}
732
732
  */
733
733
  setData() {
734
- return new C({
734
+ return new k({
735
735
  // @ts-ignore
736
736
  items: this.items || []
737
737
  });
@@ -752,7 +752,7 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
752
752
  n({
753
753
  role: "list",
754
754
  class: "flex items-center",
755
- for: ["items", (t, s) => Oe({
755
+ for: ["items", (t, s) => je({
756
756
  href: t.href,
757
757
  label: t.label,
758
758
  separator: s < e
@@ -771,7 +771,7 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
771
771
  "2xl": "h-16 w-16",
772
772
  "3xl": "h-24 w-24",
773
773
  default: "h-4 w-4"
774
- }, Ve = (e) => z[e] || z.default, Ye = ({ index: e, size: t }) => n({ class: `${t} rounded-full bg-muted cursor-pointer` }, [
774
+ }, Oe = (e) => z[e] || z.default, Ve = ({ index: e, size: t }) => n({ class: `${t} rounded-full bg-muted cursor-pointer` }, [
775
775
  a({
776
776
  class: "block w-full h-full rounded-full transition-colors",
777
777
  onSet: ["activeIndex", {
@@ -782,10 +782,10 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
782
782
  o.activeIndex = e, r && r(e);
783
783
  }
784
784
  })
785
- ]), He = (e, t) => Array.from({ length: e }, (s, o) => Ye({
785
+ ]), Ye = (e, t) => Array.from({ length: e }, (s, o) => Ve({
786
786
  index: o,
787
787
  size: t
788
- })), $t = k(
788
+ })), Tt = S(
789
789
  {
790
790
  /**
791
791
  * Defines component data (props).
@@ -793,7 +793,7 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
793
793
  * @returns {Data}
794
794
  */
795
795
  setData() {
796
- return new C({
796
+ return new k({
797
797
  // @ts-ignore
798
798
  count: this.count || 4,
799
799
  // total dots
@@ -807,7 +807,7 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
807
807
  * @returns {object}
808
808
  */
809
809
  render() {
810
- const e = this.gap || "gap-2", t = Ve(this.size || "sm"), s = He(this.data.count, t);
810
+ const e = this.gap || "gap-2", t = Oe(this.size || "sm"), s = Ye(this.data.count, t);
811
811
  return n(
812
812
  { class: "flex justify-center items-center py-2" },
813
813
  [
@@ -816,7 +816,7 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
816
816
  );
817
817
  }
818
818
  }
819
- ), Ue = ({ toggleDropdown: e }) => m(
819
+ ), He = ({ toggleDropdown: e }) => m(
820
820
  {
821
821
  cache: "button",
822
822
  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",
@@ -826,27 +826,27 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
826
826
  a({ onState: ["selectedLabel", (t) => t || "Select item..."] }),
827
827
  g({ html: u.chevron.upDown })
828
828
  ]
829
- ), qe = (e, t, s) => O({
829
+ ), Ue = (e, t, s) => O({
830
830
  class: "flex flex-auto items-center cursor-pointer p-2 hover:bg-muted/50 rounded-sm",
831
831
  click: () => t(e),
832
832
  onState: [s, "selectedValue", { "bg-secondary": e.value }]
833
833
  }, [
834
834
  e.icon && a({ class: "mr-2 flex items-baseline" }, [x({ size: "xs" }, e.icon)]),
835
835
  a({ class: "text-base font-normal" }, e.label)
836
- ]), _e = (e, t) => n({ class: "w-full border rounded-md" }, [
837
- V({ class: "max-h-60 overflow-y-auto p-2 grid gap-1", for: ["items", (s) => qe(s, e, t)] })
838
- ]), Re = ({ onSelect: e, state: t }) => n({ class: "flex flex-auto flex-col" }, [
839
- y(
836
+ ]), qe = (e, t) => n({ class: "w-full border rounded-md" }, [
837
+ V({ class: "max-h-60 overflow-y-auto p-2 grid gap-1", for: ["items", (s) => Ue(s, e, t)] })
838
+ ]), _e = ({ onSelect: e, state: t }) => n({ class: "flex flex-auto flex-col" }, [
839
+ v(
840
840
  "open",
841
- (s, o, r) => s ? new S({
841
+ (s, o, r) => s ? new D({
842
842
  cache: "dropdown",
843
843
  parent: r,
844
844
  button: r.button
845
845
  }, [
846
- _e(e, t)
846
+ qe(e, t)
847
847
  ]) : null
848
848
  )
849
- ]), At = k(
849
+ ]), $t = S(
850
850
  {
851
851
  /**
852
852
  * This will set up the data.
@@ -854,7 +854,7 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
854
854
  * @returns {Data}
855
855
  */
856
856
  setData() {
857
- return new C({
857
+ return new k({
858
858
  // @ts-ignore
859
859
  items: this.items || []
860
860
  });
@@ -927,8 +927,8 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
927
927
  const e = this.class || "", t = this.maxWidth || "max-w-[250px]", s = this.width || "w-full";
928
928
  return n({ class: `relative ${s} flex flex-auto flex-col ${t} ${e}` }, [
929
929
  // @ts-ignore
930
- Ue({ toggleDropdown: this.toggleDropdown.bind(this) }),
931
- Re({
930
+ He({ toggleDropdown: this.toggleDropdown.bind(this) }),
931
+ _e({
932
932
  // @ts-ignore
933
933
  state: this.state,
934
934
  // @ts-ignore
@@ -936,7 +936,7 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
936
936
  }),
937
937
  // Hidden required input for form validation
938
938
  // @ts-ignore
939
- this.required && v({
939
+ this.required && C({
940
940
  class: "opacity-0 absolute top-0 left-0 z-[1]",
941
941
  type: "text",
942
942
  // @ts-ignore
@@ -954,15 +954,15 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
954
954
  click: t,
955
955
  icon: e,
956
956
  "aria-label": s
957
- }), We = ({ click: e }) => q({
957
+ }), Re = ({ click: e }) => q({
958
958
  icon: u.circleMinus,
959
959
  click: e,
960
960
  ariaLabel: "Decrement"
961
- }), Ge = ({ click: e }) => q({
961
+ }), We = ({ click: e }) => q({
962
962
  icon: u.circlePlus,
963
963
  click: e,
964
964
  ariaLabel: "Increment"
965
- }), Je = ({ bind: e, min: t, max: s, readonly: o = !1 }) => Q(({ state: r }) => v({
965
+ }), Ge = ({ bind: e, min: t, max: s, readonly: o = !1 }) => Q(({ state: r }) => C({
966
966
  value: ["[[count]]", r],
967
967
  bind: e,
968
968
  blur: (l, { state: i }) => {
@@ -975,7 +975,7 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
975
975
  max: s,
976
976
  type: "number",
977
977
  "aria-label": "Counter"
978
- })), Bt = D(
978
+ })), At = w(
979
979
  {
980
980
  /**
981
981
  * Initial state for the counter component.
@@ -998,34 +998,34 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
998
998
  render() {
999
999
  const e = this.class ?? "";
1000
1000
  return n({ class: `flex flex-auto items-center justify-between space-x-4 p-4 ${e}` }, [
1001
- We({ click: () => this.state.decrement("count") }),
1002
- Je({
1001
+ Re({ click: () => this.state.decrement("count") }),
1002
+ Ge({
1003
1003
  bind: this.bind,
1004
1004
  readonly: this.readonly,
1005
1005
  min: this.min,
1006
1006
  max: this.max
1007
1007
  }),
1008
- Ge({ click: () => this.state.increment("count") })
1008
+ We({ click: () => this.state.increment("count") })
1009
1009
  ]);
1010
1010
  }
1011
1011
  }
1012
- ), Ke = ({ bind: e, required: t }) => v({
1012
+ ), Je = ({ bind: e, required: t }) => C({
1013
1013
  cache: "input",
1014
1014
  class: "opacity-0 absolute top-0 left-0 w-full h-full pointer-events-none",
1015
1015
  bind: e,
1016
1016
  required: t
1017
- }), Qe = ({ bind: e, required: t, toggleOpen: s }) => m({
1017
+ }), Ke = ({ bind: e, required: t, toggleOpen: s }) => m({
1018
1018
  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",
1019
1019
  click: s
1020
1020
  }, [
1021
- Ke({ bind: e, required: t }),
1021
+ Je({ bind: e, required: t }),
1022
1022
  a({
1023
1023
  onState: ["selectedDate", (o) => o ? $.format("standard", o) : "Pick a date"]
1024
1024
  }),
1025
1025
  g({ html: u.calendar.days })
1026
- ]), Xe = ({ handleDateSelect: e, blockPriorDates: t }) => y(
1026
+ ]), Qe = ({ handleDateSelect: e, blockPriorDates: t }) => v(
1027
1027
  "open",
1028
- (s, o, r) => s ? new S({
1028
+ (s, o, r) => s ? new D({
1029
1029
  cache: "dropdown",
1030
1030
  parent: r,
1031
1031
  button: r.panel,
@@ -1037,56 +1037,52 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
1037
1037
  blockPriorDates: t
1038
1038
  })
1039
1039
  ]) : null
1040
- );
1041
- class Mt extends oe {
1042
- /**
1043
- * The initial state of the DatePicker.
1044
- *
1045
- * @member {object} state
1046
- */
1047
- setupStates() {
1048
- return {
1049
- // @ts-ignore
1050
- selectedDate: this.selectedDate ?? null,
1051
- open: !1
1052
- };
1053
- }
1054
- /**
1055
- * This is added to check the input after the component is rendered.
1056
- * to see if the bind updated the input value.
1057
- *
1058
- * @returns {void}
1059
- */
1060
- afterSetup() {
1061
- this.input.value && (this.state.selectedDate = this.input.value);
1062
- }
1063
- /**
1064
- * Renders the DatePicker component.
1065
- *
1066
- * @returns {object}
1067
- */
1068
- render() {
1069
- const t = (o, { state: r }) => r.toggle("open"), s = (o) => {
1070
- this.state.selectedDate = o, this.state.open = !1, this.input.value = o, typeof this.onChange == "function" && this.onChange(o);
1071
- };
1072
- return n({ class: "relative w-full max-w-[320px]", debug: !0 }, [
1073
- Qe({
1074
- toggleOpen: t,
1075
- // @ts-ignore
1076
- bind: this.bind,
1077
- // @ts-ignore
1078
- required: this.required
1079
- }),
1080
- Xe({
1081
- handleDateSelect: s,
1082
- // @ts-ignore
1083
- blockPriorDates: this.blockPriorDates || !1
1084
- })
1085
- ]);
1040
+ ), Bt = w(
1041
+ {
1042
+ /**
1043
+ * The initial state of the DatePicker.
1044
+ *
1045
+ * @member {object} state
1046
+ */
1047
+ state() {
1048
+ return {
1049
+ selectedDate: this.selectedDate ?? null,
1050
+ open: !1
1051
+ };
1052
+ },
1053
+ /**
1054
+ * This is added to check the input after the component is rendered.
1055
+ * to see if the bind updated the input value.
1056
+ *
1057
+ * @returns {void}
1058
+ */
1059
+ after() {
1060
+ this.input.value && (this.state.selectedDate = this.input.value);
1061
+ },
1062
+ /**
1063
+ * Renders the DatePicker component.
1064
+ *
1065
+ * @returns {object}
1066
+ */
1067
+ render() {
1068
+ const e = (s, { state: o }) => o.toggle("open"), t = (s) => {
1069
+ this.state.selectedDate = s, this.state.open = !1, this.input.value = s, typeof this.onChange == "function" && this.onChange(s);
1070
+ };
1071
+ return n({ class: "relative w-full max-w-[320px]" }, [
1072
+ Ke({
1073
+ toggleOpen: e,
1074
+ bind: this.bind,
1075
+ required: this.required
1076
+ }),
1077
+ Qe({
1078
+ handleDateSelect: t,
1079
+ blockPriorDates: this.blockPriorDates || !1
1080
+ })
1081
+ ]);
1082
+ }
1086
1083
  }
1087
- }
1088
- const Lt = ({ dateTime: e = "", remoteTimeZone: t = "America/Denver", filter: s = null }) => X([
1089
- new le({
1084
+ ), Mt = ({ dateTime: e = "", remoteTimeZone: t = "America/Denver", filter: s = null }) => X([
1085
+ new re({
1090
1086
  dateTime: e,
1091
1087
  filter: s || ((o) => {
1092
1088
  const r = $.getLocalTime(o, !0, !1, t);
@@ -1094,22 +1090,22 @@ const Lt = ({ dateTime: e = "", remoteTimeZone: t = "America/Denver", filter: s
1094
1090
  })
1095
1091
  })
1096
1092
  ]);
1097
- function Ze({ bind: e, required: t }) {
1098
- return v({
1093
+ function Xe({ bind: e, required: t }) {
1094
+ return C({
1099
1095
  cache: "input",
1100
1096
  class: "opacity-0 absolute top-0 left-0 w-full h-full pointer-events-none",
1101
1097
  bind: e,
1102
1098
  required: t
1103
1099
  });
1104
1100
  }
1105
- function et({ bind: e, required: t, toggleOpen: s }) {
1101
+ function Ze({ bind: e, required: t, toggleOpen: s }) {
1106
1102
  return m(
1107
1103
  {
1108
1104
  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",
1109
1105
  click: s
1110
1106
  },
1111
1107
  [
1112
- Ze({ bind: e, required: t }),
1108
+ Xe({ bind: e, required: t }),
1113
1109
  a({
1114
1110
  onState: ["selectedTime", (o) => o || "Pick a time"]
1115
1111
  }),
@@ -1131,13 +1127,13 @@ function T({ items: e, handleTimeSelect: t, state: s, stateValue: o, pad: r = !1
1131
1127
  })
1132
1128
  );
1133
1129
  }
1134
- function tt({ handleTimeSelect: e }) {
1130
+ function et({ handleTimeSelect: e }) {
1135
1131
  return n(
1136
1132
  { class: "absolute mt-1 z-10 bg-background rounded-md shadow-lg" },
1137
1133
  [
1138
- y(
1134
+ v(
1139
1135
  "open",
1140
- (t, s, o) => t ? new S(
1136
+ (t, s, o) => t ? new D(
1141
1137
  {
1142
1138
  cache: "dropdown",
1143
1139
  parent: o,
@@ -1197,7 +1193,7 @@ function E(e) {
1197
1193
  meridian: l
1198
1194
  });
1199
1195
  }
1200
- const Pt = D(
1196
+ const Lt = w(
1201
1197
  {
1202
1198
  /**
1203
1199
  * The initial shallow state of the TimePicker.
@@ -1245,23 +1241,23 @@ const Pt = D(
1245
1241
  return n(
1246
1242
  { class: "relative w-full max-w-[320px]" },
1247
1243
  [
1248
- et({
1244
+ Ze({
1249
1245
  toggleOpen: e,
1250
1246
  bind: this.bind,
1251
1247
  required: this.required
1252
1248
  }),
1253
- tt({
1249
+ et({
1254
1250
  handleTimeSelect: t
1255
1251
  })
1256
1252
  ]
1257
1253
  );
1258
1254
  }
1259
1255
  }
1260
- ), st = (e, t) => n({ class: `hidden md:flex items-start justify-center w-6 h-6 mr-3 ${t}` }, [
1256
+ ), tt = (e, t) => n({ class: `hidden md:flex items-start justify-center w-6 h-6 mr-3 ${t}` }, [
1261
1257
  x({ size: "lg" }, e)
1262
- ]), ot = ({ title: e }) => B({ class: "flex flex-auto items-center" }, [
1258
+ ]), st = ({ title: e }) => B({ class: "flex flex-auto items-center" }, [
1263
1259
  A({ class: "text-lg font-semibold" }, e)
1264
- ]), nt = c((e, t) => Z(
1260
+ ]), ot = c((e, t) => Z(
1265
1261
  {
1266
1262
  class: `fixed pullUpIn z-30 w-[98%] border md:w-full max-w-lg bg-popover text-foreground shadow-lg duration-200
1267
1263
  rounded-lg flex flex-auto flex-col
@@ -1272,18 +1268,18 @@ const Pt = D(
1272
1268
  [
1273
1269
  n({ class: "flex flex-auto p-6 pb-12 md:pb-6" }, [
1274
1270
  // Icon and content
1275
- e.icon && st(e.icon, e.iconColor),
1271
+ e.icon && tt(e.icon, e.iconColor),
1276
1272
  n({ class: "flex flex-auto flex-col gap-4" }, [
1277
1273
  n({ class: "flex flex-auto flex-col space-y-2" }, [
1278
- ot(e),
1279
- e.description && p({ class: "flex flex-auto flex-col text-sm text-muted-foreground" }, e.description),
1274
+ st(e),
1275
+ e.description && b({ class: "flex flex-auto flex-col text-sm text-muted-foreground" }, e.description),
1280
1276
  n({ class: "flex flex-auto flex-col text-sm text-muted-foreground" }, t)
1281
1277
  ]),
1282
1278
  e.buttons && M({ class: "flex flex-col-reverse sm:flex-row sm:justify-end mt-6 gap-2 sm:gap-0 sm:space-x-2" }, e.buttons)
1283
1279
  ])
1284
1280
  ])
1285
1281
  ]
1286
- )), rt = (e) => H.render(e, app.root), j = {
1282
+ )), nt = (e) => H.render(e, app.root), j = {
1287
1283
  info: {
1288
1284
  borderColor: "border-blue-500",
1289
1285
  bgColor: "bg-muted/10",
@@ -1310,7 +1306,7 @@ const Pt = D(
1310
1306
  iconColor: "text-muted-foreground"
1311
1307
  }
1312
1308
  };
1313
- class lt extends b {
1309
+ class rt extends p {
1314
1310
  /**
1315
1311
  * This will declare the props for the compiler.
1316
1312
  *
@@ -1328,7 +1324,7 @@ class lt extends b {
1328
1324
  const t = (d) => {
1329
1325
  d.target === this.panel && this.close();
1330
1326
  }, { borderColor: s, bgColor: o, iconColor: r } = j[this.type] || j.default, l = `${this.getMainClass()} ${o} ${s}`, i = this.title || "Dialog Title";
1331
- return nt({
1327
+ return ot({
1332
1328
  class: l,
1333
1329
  title: i,
1334
1330
  click: t,
@@ -1372,7 +1368,7 @@ class lt extends b {
1372
1368
  * @returns {void}
1373
1369
  */
1374
1370
  open() {
1375
- rt(this), this.panel.showModal(), this.state.open = !0;
1371
+ nt(this), this.panel.showModal(), this.state.open = !0;
1376
1372
  }
1377
1373
  /**
1378
1374
  * This will close the modal.
@@ -1383,7 +1379,7 @@ class lt extends b {
1383
1379
  this.state.open = !1, this.panel.close(), typeof this.onClose == "function" && this.onClose(), this.destroy();
1384
1380
  }
1385
1381
  }
1386
- class Ft extends lt {
1382
+ class Pt extends rt {
1387
1383
  /**
1388
1384
  * This will declare the props for the compiler.
1389
1385
  *
@@ -1414,43 +1410,43 @@ class Ft extends lt {
1414
1410
  }
1415
1411
  }
1416
1412
  export {
1417
- ft as A,
1418
- Tt as B,
1419
- yt as C,
1420
- de as D,
1421
- Ft as E,
1422
- we as F,
1423
- nt as G,
1424
- lt as H,
1425
- vt as M,
1426
- Ct as N,
1427
- Ge as P,
1428
- wt as S,
1429
- kt as T,
1430
- fe as a,
1431
- gt as b,
1432
- pe as c,
1433
- ye as d,
1434
- ve as e,
1435
- Ce as f,
1436
- Se as g,
1437
- pt as h,
1438
- Ie as i,
1413
+ mt as A,
1414
+ It as B,
1415
+ wt as C,
1416
+ ce as D,
1417
+ Pt as E,
1418
+ xe as F,
1419
+ ot as G,
1420
+ rt as H,
1421
+ yt as M,
1422
+ vt as N,
1423
+ We as P,
1424
+ xt as S,
1425
+ Ct as T,
1426
+ me as a,
1427
+ ft as b,
1428
+ ge as c,
1429
+ we as d,
1430
+ ye as e,
1431
+ ve as f,
1432
+ ke as g,
1433
+ gt as h,
1434
+ De as i,
1439
1435
  bt as j,
1440
- xt as k,
1441
- Pe as l,
1442
- St as m,
1443
- Dt as n,
1444
- It as o,
1445
- w as p,
1436
+ pt as k,
1437
+ Le as l,
1438
+ kt as m,
1439
+ St as n,
1440
+ Dt as o,
1441
+ y as p,
1446
1442
  f as q,
1447
- ze as r,
1448
- $t as s,
1449
- At as t,
1450
- We as u,
1451
- Je as v,
1452
- Bt as w,
1453
- Mt as x,
1454
- Lt as y,
1455
- Pt as z
1443
+ Ne as r,
1444
+ Tt as s,
1445
+ $t as t,
1446
+ Re as u,
1447
+ Ge as v,
1448
+ At as w,
1449
+ Bt as x,
1450
+ Mt as y,
1451
+ Lt as z
1456
1452
  };
package/dist/index.es.js CHANGED
@@ -3,7 +3,7 @@ import { B as g, I as C, L as T } from "./buttons-Cm9etaEG.js";
3
3
  import { C as b, d as D, D as S, c as I, E as B, F as P, H as F, I as M, M as k, N, P as v, R as f, S as x, T as h, a as y, b as W, U as H, W as L } from "./inputs-Dmu4Z-7-.js";
4
4
  import { V as w, a as U } from "./veil-D4dRxILB.js";
5
5
  import { Icons as O } from "./icons.es.js";
6
- import { A as G, B as V, C as j, t as q, E as z, v as J, w as _, x as K, D as Q, j as X, k as Y, H as Z, G as $, s as aa, c as sa, a as ea, b as oa, i as ta, g as ra, e as na, h as ia, F as la, d as pa, f as ua, u as ma, M as da, l as ga, N as Ca, P as Ta, p as ca, q as ba, S as Da, n as Sa, o as Ia, T as Ba, y as Pa, z as Fa, m as Ma, r as ka } from "./confirmation-BO_EbQkm.js";
6
+ import { A as G, B as V, C as j, t as q, E as z, v as J, w as _, x as K, D as Q, j as X, k as Y, H as Z, G as $, s as aa, c as sa, a as ea, b as oa, i as ta, g as ra, e as na, h as ia, F as la, d as pa, f as ua, u as ma, M as da, l as ga, N as Ca, P as Ta, p as ca, q as ba, S as Da, n as Sa, o as Ia, T as Ba, y as Pa, z as Fa, m as Ma, r as ka } from "./confirmation-D3LQkcmd.js";
7
7
  import { A as va, b as fa, C as xa, D as ha, a as ya, F as Wa, M as Ha, P as La, c as Aa, g as wa, p as Ua } from "./calendar-DQXME-2u.js";
8
8
  import { B as Oa, n as Ea, C as Ga, j as Va, D as ja, l as qa, H as za, I as Ja, N as _a, O as Ka, P as Qa, S as Xa, m as Ya, r as Za, q as $a, o as as, p as ss, T as es, k as os, U as ts, W as rs, f as ns, h as is, i as ls, c as ps, d as us, b as ms, e as ds, a as gs, g as Cs } from "./signature-panel-C8UM0F7Y.js";
9
9
  import { B as cs, I as bs, M as Ds, d as Ss, e as Is, g as Bs, N as Ps, b as Fs, a as Ms, f as ks, P as Ns, c as vs, S as fs, T as xs } from "./mobile-nav-wrapper-Dj67Pb8l.js";
@@ -1,4 +1,4 @@
1
- import { A as o, B as t, C as e, t as i, E as r, v as n, w as m, x as l, D as S, j as u, k as D, H as c, G as C, s as d, c as g, a as p, b as F, i as T, g as A, e as P, h as f, F as w, d as b, f as B, u as I, M, l as x, N as y, P as k, p as v, q as N, S as h, n as E, o as L, T as R, y as U, z as j, m as q, r as z } from "./confirmation-BO_EbQkm.js";
1
+ import { A as o, B as t, C as e, t as i, E as r, v as n, w as m, x as l, D as S, j as u, k as D, H as c, G as C, s as d, c as g, a as p, b as F, i as T, g as A, e as P, h as f, F as w, d as b, f as B, u as I, M, l as x, N as y, P as k, p as v, q as N, S as h, n as E, o as L, T as R, y as U, z as j, m as q, r as z } from "./confirmation-D3LQkcmd.js";
2
2
  import { A as H, P as O, g as _ } from "./calendar-DQXME-2u.js";
3
3
  export {
4
4
  o as Alert,
@@ -3,24 +3,8 @@
3
3
  *
4
4
  * This will create a date picker component.
5
5
  *
6
- * @class
6
+ * @type {typeof Veil}
7
7
  */
8
- export class DatePicker extends Veil {
9
- /**
10
- * The initial state of the DatePicker.
11
- *
12
- * @member {object} state
13
- */
14
- setupStates(): {
15
- selectedDate: any;
16
- open: boolean;
17
- };
18
- /**
19
- * Renders the DatePicker component.
20
- *
21
- * @returns {object}
22
- */
23
- render(): object;
24
- }
8
+ export const DatePicker: typeof Veil;
25
9
  export default DatePicker;
26
10
  import { Veil } from '../../atoms/veil.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/ui",
3
- "version": "1.0.166",
3
+ "version": "1.0.167",
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": {