@base-framework/ui 1.0.164 → 1.0.165

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 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 x, DateTime as $ } from "@base-framework/base";
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 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 p, 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
3
  import { P as S, b as se } from "./calendar-DQXME-2u.js";
4
- import { B as h, I as w } from "./buttons-Cm9etaEG.js";
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 } from "./veil-D4dRxILB.js";
7
- import { Timer as oe, List as ne, DynamicTime as re } from "@base-framework/organisms";
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";
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
- }, le = (e, t) => n({ class: `flex items-center justify-center h-6 w-6 mr-3 ${t}` }, [
34
+ }, ie = (e, t) => n({ class: `flex items-center justify-center h-6 w-6 mr-3 ${t}` }, [
35
35
  g({ html: e })
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" }) => {
36
+ ]), ae = (e) => _({ class: "font-semibold" }, e), ce = (e) => b({ class: "text-sm text-muted-foreground" }, e), ft = 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 && le(s, i),
40
+ s && ie(s, i),
41
41
  n({ class: "flex flex-col" }, [
42
- ie(e),
43
- ae(t)
42
+ ae(e),
43
+ ce(t)
44
44
  ])
45
45
  ]);
46
46
  });
47
- class ce extends p {
47
+ class de extends p {
48
48
  /**
49
49
  * This will declare the props for the compiler.
50
50
  *
@@ -68,21 +68,21 @@ class ce extends p {
68
68
  ee.addClass(t, s), te.on("animationend", t, (o) => L.removeElement(t));
69
69
  }
70
70
  }
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({
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({
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 && 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" }, [
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
+ ]), be = (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) => fe(t, e)]
83
+ for: ["groups", (t) => ge(t, e)]
84
84
  })
85
- ]), be = ({ label: e, icon: t, toggleDropdown: s }) => m({
85
+ ]), pe = ({ label: e, icon: t, toggleDropdown: s }) => m({
86
86
  cache: "button",
87
87
  class: `inline-flex items-center justify-between rounded-md border border-input
88
88
  bg-background px-2 py-2 text-sm font-medium hover:bg-muted
@@ -91,19 +91,19 @@ const de = (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
- ]), pe = ({ onSelect: e }) => n([
95
- v(
94
+ ]), xe = ({ onSelect: e }) => n([
95
+ y(
96
96
  "open",
97
97
  (t, s, o) => t ? new S({
98
98
  cache: "dropdown",
99
99
  parent: o,
100
100
  button: o.button
101
101
  }, [
102
- ge(e)
102
+ be(e)
103
103
  ]) : null
104
104
  )
105
105
  ]);
106
- class ft extends p {
106
+ class gt extends p {
107
107
  /**
108
108
  * This will declare the props for the compiler.
109
109
  *
@@ -118,7 +118,7 @@ class ft extends p {
118
118
  * @returns {Data}
119
119
  */
120
120
  setData() {
121
- return new k({
121
+ return new C({
122
122
  groups: this.groups || []
123
123
  });
124
124
  }
@@ -157,23 +157,23 @@ class ft extends p {
157
157
  */
158
158
  render() {
159
159
  return n({ class: "relative" }, [
160
- be({
160
+ pe({
161
161
  label: this.label,
162
162
  icon: this.icon,
163
163
  toggleDropdown: this.toggleDropdown.bind(this)
164
164
  }),
165
- pe({ onSelect: this.handleSelect.bind(this) })
165
+ xe({ onSelect: this.handleSelect.bind(this) })
166
166
  ]);
167
167
  }
168
168
  }
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) ? {
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) => b({ ...e, class: "text-sm text-muted-foreground italic" }, t)), Ce = c((e, t) => b({ ...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) ? {
170
170
  ...o,
171
171
  aria: {
172
172
  invalid: ["hasError"]
173
173
  },
174
174
  invalid: s,
175
175
  input: t
176
- } : o)), ke = c((e, t) => {
176
+ } : o)), Se = 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 xe = 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
- }), gt = D(
186
+ }), bt = D(
187
187
  {
188
188
  /**
189
189
  * The initial state of the FormField.
@@ -208,34 +208,34 @@ const xe = 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
- xe([
212
- we({ htmlFor: t }, s),
213
- ke({
211
+ we([
212
+ ye({ htmlFor: t }, s),
213
+ Se({
214
214
  id: t,
215
215
  name: e,
216
216
  value: this.state.value,
217
217
  setError: r
218
218
  }, this.children),
219
- o && ye({ id: this.getId("description") }, o),
220
- n({ onState: ["error", (l) => l && ve(l)] })
219
+ o && ve({ id: this.getId("description") }, o),
220
+ n({ onState: ["error", (l) => l && Ce(l)] })
221
221
  ])
222
222
  ]);
223
223
  }
224
224
  }
225
- ), Se = (e, t, s = null) => {
225
+ ), De = (e, t, s = null) => {
226
226
  e.target.checkValidity() && (e.preventDefault(), s && s(e, t));
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" }, [
227
+ }, Ie = c(
228
+ (e, t) => W({ ...e, submit: (s, o) => De(s, o, e.submit), class: `w-full ${e.class ?? ""}` }, t)
229
+ ), pt = 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" }, [
230
230
  e.title && A({ class: "font-semibold" }, e.title),
231
231
  ...t
232
- ])), xt = (e, t) => n({ class: "flex justify-between" }, [
232
+ ])), wt = (e, t) => n({ class: "flex justify-between" }, [
233
233
  a({ class: "text-muted-foreground" }, e),
234
234
  a(t)
235
- ]), wt = (e, t) => n({ class: "flex" }, [
235
+ ]), yt = (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
- ]), 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" }, [
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" }, [
239
239
  /**
240
240
  * Back Button
241
241
  */
@@ -243,7 +243,7 @@ const xe = c((e, t) => n({ ...e, class: "flex flex-auto flex-col space-y-2" }, t
243
243
  /**
244
244
  * Icon
245
245
  */
246
- o && n({ class: "mr-2 w-12 h-12 rounded-full bg-muted flex flex-none items-center justify-center" }, [w(o)]),
246
+ o && n({ class: "mr-2 w-12 h-12 rounded-full bg-muted flex flex-none items-center justify-center" }, [x(o)]),
247
247
  /**
248
248
  * Title and Description
249
249
  */
@@ -254,20 +254,20 @@ const xe = c((e, t) => n({ ...e, class: "flex flex-auto flex-col space-y-2" }, t
254
254
  ]),
255
255
  ...r
256
256
  ])
257
- ]), Te = c((e, t) => n({
257
+ ]), $e = 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
- 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),
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),
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
- ])), $e = (e) => H.render(e, app.root);
270
- class yt extends p {
269
+ ])), Ae = (e) => H.render(e, app.root);
270
+ class vt extends p {
271
271
  /**
272
272
  * This will declare the props for the compiler.
273
273
  *
@@ -283,7 +283,7 @@ class yt extends p {
283
283
  */
284
284
  render() {
285
285
  const t = this.getMainClass(), s = this.title || "", o = this.description || null;
286
- return Te(
286
+ return $e(
287
287
  {
288
288
  class: t,
289
289
  title: s,
@@ -397,7 +397,7 @@ class yt extends p {
397
397
  * @returns {void}
398
398
  */
399
399
  open() {
400
- $e(this), this.showModal();
400
+ Ae(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
- }, Ae = (e) => B({ class: "flex justify-center" }, [
447
+ }, Be = (e) => B({ class: "flex justify-center" }, [
448
448
  G({ class: "text-lg font-bold mb-0" }, e)
449
- ]), Be = c(({ href: e, class: t }, s) => Y({
449
+ ]), Me = 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)), Me = c(({ close: e, class: t }, s) => n({
453
+ }, s)), Le = 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 Le extends ce {
458
+ class Pe extends de {
459
459
  /**
460
460
  * This will declare the props for the compiler.
461
461
  *
@@ -479,10 +479,10 @@ class Le extends ce {
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 ? Be({
482
+ return r ? Me({
483
483
  href: r,
484
484
  class: `${t} ${s}`
485
- }, l) : Me({
485
+ }, l) : Le({
486
486
  close: this.close.bind(this),
487
487
  class: `${t} ${s}`
488
488
  }, l);
@@ -494,7 +494,7 @@ class Le extends ce {
494
494
  */
495
495
  afterSetup() {
496
496
  const t = this.duration;
497
- t !== "infinite" && (this.timer = new oe(t, this.close.bind(this)), this.timer.start());
497
+ t !== "infinite" && (this.timer = new ne(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,7 +530,7 @@ class Le extends ce {
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 && Ae(this.title)
533
+ this.title && Be(this.title)
534
534
  ]),
535
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())
@@ -554,8 +554,8 @@ class Le extends ce {
554
554
  t && t.stopPropagation(), this.duration !== "infinite" && this.timer.stop(), this.onClick && this.onClick(), this.destroy();
555
555
  }
556
556
  }
557
- let Pe = 0;
558
- class vt extends p {
557
+ let Fe = 0;
558
+ class Ct extends p {
559
559
  /**
560
560
  * This will render the component.
561
561
  *
@@ -563,11 +563,11 @@ class vt extends p {
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 ne({
566
+ new re({
567
567
  cache: "list",
568
568
  key: "id",
569
569
  role: "list",
570
- rowItem: (t) => new Le(t)
570
+ rowItem: (t) => new Pe(t)
571
571
  })
572
572
  ]);
573
573
  }
@@ -578,7 +578,7 @@ class vt extends p {
578
578
  * @returns {void}
579
579
  */
580
580
  addNotice(t = {}) {
581
- t.id = Pe++, t.callBack = () => this.removeNotice(t), this.list.append([t]), this.panel.hidePopover(), this.panel.showPopover();
581
+ t.id = Fe++, 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"), Fe(e);
598
+ r.method = e, localStorage.setItem("theme", e), e === "system" && localStorage.removeItem("theme"), Ne(e);
599
599
  }
600
600
  }, [
601
- w(s),
601
+ x(s),
602
602
  a(t)
603
- ])), Fe = (e) => {
603
+ ])), Ne = (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
- }, Ct = x(
612
+ }, kt = k(
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
- ), kt = D(
639
+ ), St = D(
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
- ), y = {
691
+ ), w = {
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
- }, 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({
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({
704
704
  class: "absolute bottom-0 right-0 w-3 h-3 border-2 rounded-full",
705
705
  onSet: [e, {
706
- [f.ONLINE]: y.ONLINE,
707
- [f.OFFLINE]: y.OFFLINE,
708
- [f.BUSY]: y.BUSY,
709
- [f.AWAY]: y.AWAY
706
+ [f.ONLINE]: w.ONLINE,
707
+ [f.OFFLINE]: w.OFFLINE,
708
+ [f.BUSY]: w.BUSY,
709
+ [f.AWAY]: w.AWAY
710
710
  }]
711
- }), ze = (e, t) => Y(
711
+ }), Ee = (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
- ), Ee = () => w({
719
+ ), je = () => x({
720
720
  class: "mx-3 text-muted-foreground",
721
721
  "aria-hidden": !0,
722
722
  size: "xs"
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 = x(
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(
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 k({
734
+ return new C({
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) => je({
755
+ for: ["items", (t, s) => Oe({
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
- }, Oe = (e) => z[e] || z.default, Ve = ({ index: e, size: t }) => n({ class: `${t} rounded-full bg-muted cursor-pointer` }, [
774
+ }, Ve = (e) => z[e] || z.default, Ye = ({ 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
- ]), Ye = (e, t) => Array.from({ length: e }, (s, o) => Ve({
785
+ ]), He = (e, t) => Array.from({ length: e }, (s, o) => Ye({
786
786
  index: o,
787
787
  size: t
788
- })), Tt = x(
788
+ })), $t = k(
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 k({
796
+ return new C({
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 = Oe(this.size || "sm"), s = Ye(this.data.count, t);
810
+ const e = this.gap || "gap-2", t = Ve(this.size || "sm"), s = He(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
- ), He = ({ toggleDropdown: e }) => m(
819
+ ), Ue = ({ 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
- ), Ue = (e, t, s) => O({
829
+ ), qe = (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
- e.icon && a({ class: "mr-2 flex items-baseline" }, [w({ size: "xs" }, e.icon)]),
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
- ]), 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(
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(
840
840
  "open",
841
841
  (s, o, r) => s ? new S({
842
842
  cache: "dropdown",
843
843
  parent: r,
844
844
  button: r.button
845
845
  }, [
846
- qe(e, t)
846
+ _e(e, t)
847
847
  ]) : null
848
848
  )
849
- ]), $t = x(
849
+ ]), At = k(
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 k({
857
+ return new C({
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
- He({ toggleDropdown: this.toggleDropdown.bind(this) }),
931
- _e({
930
+ Ue({ toggleDropdown: this.toggleDropdown.bind(this) }),
931
+ Re({
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 && C({
939
+ this.required && v({
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
- }), Re = ({ click: e }) => q({
957
+ }), We = ({ click: e }) => q({
958
958
  icon: u.circleMinus,
959
959
  click: e,
960
960
  ariaLabel: "Decrement"
961
- }), We = ({ click: e }) => q({
961
+ }), Ge = ({ click: e }) => q({
962
962
  icon: u.circlePlus,
963
963
  click: e,
964
964
  ariaLabel: "Increment"
965
- }), Ge = ({ bind: e, min: t, max: s, readonly: o = !1 }) => Q(({ state: r }) => C({
965
+ }), Je = ({ bind: e, min: t, max: s, readonly: o = !1 }) => Q(({ state: r }) => v({
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
- })), At = D(
978
+ })), Bt = D(
979
979
  {
980
980
  /**
981
981
  * Initial state for the counter component.
@@ -998,32 +998,32 @@ 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
- Re({ click: () => this.state.decrement("count") }),
1002
- Ge({
1001
+ We({ click: () => this.state.decrement("count") }),
1002
+ Je({
1003
1003
  bind: this.bind,
1004
1004
  readonly: this.readonly,
1005
1005
  min: this.min,
1006
1006
  max: this.max
1007
1007
  }),
1008
- We({ click: () => this.state.increment("count") })
1008
+ Ge({ click: () => this.state.increment("count") })
1009
1009
  ]);
1010
1010
  }
1011
1011
  }
1012
- ), Je = ({ bind: e, required: t }) => C({
1012
+ ), Ke = ({ bind: e, required: t }) => v({
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
- }), Ke = ({ bind: e, required: t, toggleOpen: s }) => m({
1017
+ }), Qe = ({ 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
- Je({ bind: e, required: t }),
1021
+ Ke({ 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
- ]), Qe = ({ handleDateSelect: e, blockPriorDates: t }) => v(
1026
+ ]), Xe = ({ handleDateSelect: e, blockPriorDates: t }) => y(
1027
1027
  "open",
1028
1028
  (s, o, r) => s ? new S({
1029
1029
  cache: "dropdown",
@@ -1037,56 +1037,56 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
1037
1037
  blockPriorDates: t
1038
1038
  })
1039
1039
  ]) : null
1040
- ), Bt = x(
1041
- {
1042
- /**
1043
- * The initial state of the DatePicker.
1044
- *
1045
- * @member {object} state
1046
- */
1047
- setupStates() {
1048
- return {
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.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,
1049
1075
  // @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
- after() {
1061
- this.state.selectedDate = this.input.value;
1062
- },
1063
- /**
1064
- * Renders the DatePicker component.
1065
- *
1066
- * @returns {object}
1067
- */
1068
- render() {
1069
- const e = (s, { state: o }) => o.toggle("open"), t = (s) => {
1070
- this.state.selectedDate = s, this.state.open = !1, this.input.value = s, typeof this.onChange == "function" && this.onChange(s);
1071
- };
1072
- return n({ class: "relative w-full max-w-[320px]", debug: !0 }, [
1073
- Ke({
1074
- toggleOpen: e,
1075
- // @ts-ignore
1076
- bind: this.bind,
1077
- // @ts-ignore
1078
- required: this.required
1079
- }),
1080
- Qe({
1081
- handleDateSelect: t,
1082
- // @ts-ignore
1083
- blockPriorDates: this.blockPriorDates || !1
1084
- })
1085
- ]);
1086
- }
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
+ ]);
1087
1086
  }
1088
- ), Mt = ({ dateTime: e = "", remoteTimeZone: t = "America/Denver", filter: s = null }) => X([
1089
- new re({
1087
+ }
1088
+ const Lt = ({ dateTime: e = "", remoteTimeZone: t = "America/Denver", filter: s = null }) => X([
1089
+ new le({
1090
1090
  dateTime: e,
1091
1091
  filter: s || ((o) => {
1092
1092
  const r = $.getLocalTime(o, !0, !1, t);
@@ -1094,22 +1094,22 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
1094
1094
  })
1095
1095
  })
1096
1096
  ]);
1097
- function Xe({ bind: e, required: t }) {
1098
- return C({
1097
+ function Ze({ bind: e, required: t }) {
1098
+ return v({
1099
1099
  cache: "input",
1100
1100
  class: "opacity-0 absolute top-0 left-0 w-full h-full pointer-events-none",
1101
1101
  bind: e,
1102
1102
  required: t
1103
1103
  });
1104
1104
  }
1105
- function Ze({ bind: e, required: t, toggleOpen: s }) {
1105
+ function et({ bind: e, required: t, toggleOpen: s }) {
1106
1106
  return m(
1107
1107
  {
1108
1108
  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
1109
  click: s
1110
1110
  },
1111
1111
  [
1112
- Xe({ bind: e, required: t }),
1112
+ Ze({ bind: e, required: t }),
1113
1113
  a({
1114
1114
  onState: ["selectedTime", (o) => o || "Pick a time"]
1115
1115
  }),
@@ -1131,11 +1131,11 @@ function T({ items: e, handleTimeSelect: t, state: s, stateValue: o, pad: r = !1
1131
1131
  })
1132
1132
  );
1133
1133
  }
1134
- function et({ handleTimeSelect: e }) {
1134
+ function tt({ handleTimeSelect: e }) {
1135
1135
  return n(
1136
1136
  { class: "absolute mt-1 z-10 bg-background rounded-md shadow-lg" },
1137
1137
  [
1138
- v(
1138
+ y(
1139
1139
  "open",
1140
1140
  (t, s, o) => t ? new S(
1141
1141
  {
@@ -1197,7 +1197,7 @@ function E(e) {
1197
1197
  meridian: l
1198
1198
  });
1199
1199
  }
1200
- const Lt = D(
1200
+ const Pt = D(
1201
1201
  {
1202
1202
  /**
1203
1203
  * The initial shallow state of the TimePicker.
@@ -1245,23 +1245,23 @@ const Lt = D(
1245
1245
  return n(
1246
1246
  { class: "relative w-full max-w-[320px]" },
1247
1247
  [
1248
- Ze({
1248
+ et({
1249
1249
  toggleOpen: e,
1250
1250
  bind: this.bind,
1251
1251
  required: this.required
1252
1252
  }),
1253
- et({
1253
+ tt({
1254
1254
  handleTimeSelect: t
1255
1255
  })
1256
1256
  ]
1257
1257
  );
1258
1258
  }
1259
1259
  }
1260
- ), tt = (e, t) => n({ class: `hidden md:flex items-start justify-center w-6 h-6 mr-3 ${t}` }, [
1261
- w({ size: "lg" }, e)
1262
- ]), st = ({ title: e }) => B({ class: "flex flex-auto items-center" }, [
1260
+ ), st = (e, t) => n({ class: `hidden md:flex items-start justify-center w-6 h-6 mr-3 ${t}` }, [
1261
+ x({ size: "lg" }, e)
1262
+ ]), ot = ({ title: e }) => B({ class: "flex flex-auto items-center" }, [
1263
1263
  A({ class: "text-lg font-semibold" }, e)
1264
- ]), ot = c((e, t) => Z(
1264
+ ]), nt = c((e, t) => Z(
1265
1265
  {
1266
1266
  class: `fixed pullUpIn z-30 w-[98%] border md:w-full max-w-lg bg-popover text-foreground shadow-lg duration-200
1267
1267
  rounded-lg flex flex-auto flex-col
@@ -1272,10 +1272,10 @@ const Lt = D(
1272
1272
  [
1273
1273
  n({ class: "flex flex-auto p-6 pb-12 md:pb-6" }, [
1274
1274
  // Icon and content
1275
- e.icon && tt(e.icon, e.iconColor),
1275
+ e.icon && st(e.icon, e.iconColor),
1276
1276
  n({ class: "flex flex-auto flex-col gap-4" }, [
1277
1277
  n({ class: "flex flex-auto flex-col space-y-2" }, [
1278
- st(e),
1278
+ ot(e),
1279
1279
  e.description && b({ class: "flex flex-auto flex-col text-sm text-muted-foreground" }, e.description),
1280
1280
  n({ class: "flex flex-auto flex-col text-sm text-muted-foreground" }, t)
1281
1281
  ]),
@@ -1283,7 +1283,7 @@ const Lt = D(
1283
1283
  ])
1284
1284
  ])
1285
1285
  ]
1286
- )), nt = (e) => H.render(e, app.root), j = {
1286
+ )), rt = (e) => H.render(e, app.root), j = {
1287
1287
  info: {
1288
1288
  borderColor: "border-blue-500",
1289
1289
  bgColor: "bg-muted/10",
@@ -1310,7 +1310,7 @@ const Lt = D(
1310
1310
  iconColor: "text-muted-foreground"
1311
1311
  }
1312
1312
  };
1313
- class rt extends p {
1313
+ class lt extends p {
1314
1314
  /**
1315
1315
  * This will declare the props for the compiler.
1316
1316
  *
@@ -1328,7 +1328,7 @@ class rt extends p {
1328
1328
  const t = (d) => {
1329
1329
  d.target === this.panel && this.close();
1330
1330
  }, { borderColor: s, bgColor: o, iconColor: r } = j[this.type] || j.default, l = `${this.getMainClass()} ${o} ${s}`, i = this.title || "Dialog Title";
1331
- return ot({
1331
+ return nt({
1332
1332
  class: l,
1333
1333
  title: i,
1334
1334
  click: t,
@@ -1372,7 +1372,7 @@ class rt extends p {
1372
1372
  * @returns {void}
1373
1373
  */
1374
1374
  open() {
1375
- nt(this), this.panel.showModal(), this.state.open = !0;
1375
+ rt(this), this.panel.showModal(), this.state.open = !0;
1376
1376
  }
1377
1377
  /**
1378
1378
  * This will close the modal.
@@ -1383,7 +1383,7 @@ class rt extends p {
1383
1383
  this.state.open = !1, this.panel.close(), typeof this.onClose == "function" && this.onClose(), this.destroy();
1384
1384
  }
1385
1385
  }
1386
- class Pt extends rt {
1386
+ class Ft extends lt {
1387
1387
  /**
1388
1388
  * This will declare the props for the compiler.
1389
1389
  *
@@ -1414,43 +1414,43 @@ class Pt extends rt {
1414
1414
  }
1415
1415
  }
1416
1416
  export {
1417
- mt as A,
1418
- It as B,
1419
- wt as C,
1420
- ce as D,
1421
- Pt as E,
1422
- xe as F,
1423
- ot as G,
1424
- rt as H,
1425
- yt as M,
1426
- vt as N,
1427
- We as P,
1428
- xt as S,
1429
- Ct as T,
1430
- me as a,
1431
- ft as b,
1432
- ge as c,
1433
- we as d,
1434
- ye as e,
1435
- ve as f,
1436
- ke as g,
1437
- gt as h,
1438
- De as i,
1439
- bt as j,
1440
- pt as k,
1441
- Le as l,
1442
- kt as m,
1443
- St as n,
1444
- Dt as o,
1445
- y as p,
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
+ be as c,
1433
+ ye as d,
1434
+ ve as e,
1435
+ Ce as f,
1436
+ Se as g,
1437
+ bt as h,
1438
+ Ie as i,
1439
+ pt 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,
1446
1446
  f as q,
1447
- Ne as r,
1448
- Tt as s,
1449
- $t as t,
1450
- Re as u,
1451
- Ge as v,
1452
- At as w,
1453
- Bt as x,
1454
- Mt as y,
1455
- Lt as z
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
1456
1456
  };
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-Ddu2P1Ne.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-Bs4hp7Bj.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-Ddu2P1Ne.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-Bs4hp7Bj.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,
@@ -5,6 +5,22 @@
5
5
  *
6
6
  * @type {typeof Veil}
7
7
  */
8
- export const DatePicker: typeof Veil;
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
+ }
9
25
  export default DatePicker;
10
26
  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.164",
3
+ "version": "1.0.165",
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": {