@base-framework/ui 1.0.180 → 1.0.183

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 S, DateTime as $ } from "@base-framework/base";
3
- import { P as D, b as se } from "./calendar-DQXME-2u.js";
4
- import { B as h, I as x } from "./buttons-Cm9etaEG.js";
1
+ import { Div as n, H5 as R, P as g, I as b, Li as O, Span as a, Ul as V, Button as m, OnState as v, Label as W, Form as G, H2 as C, Header as k, Footer as M, A as Y, H3 as J, Checkbox as K, Nav as Q, Input as S, UseParent as X, Time as Z, Dialog as ee } from "@base-framework/atoms";
2
+ import { Atom as c, Component as x, Html as L, Dom as te, base as se, Data as D, Builder as H, Jot as I, DateTime as B } from "@base-framework/base";
3
+ import { P as T, b as oe } from "./calendar-DQXME-2u.js";
4
+ import { B as h, I as p } from "./buttons-Cm9etaEG.js";
5
5
  import { Icons as u } from "./icons.es.js";
6
+ import { Timer as ne, List as le, DynamicTime as re } from "@base-framework/organisms";
6
7
  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
- }, le = (e, t) => n({ class: `flex items-center justify-center h-6 w-6 mr-3 ${t}` }, [
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" }) => {
37
- const { borderColor: l, bgColor: r, iconColor: i } = P[o] || P.default;
38
- return n({ class: `flex items-start p-4 border rounded-lg ${r} ${l}` }, [
34
+ }, ie = (e, t) => n({ class: `flex items-center justify-center h-6 w-6 mr-3 ${t}` }, [
35
+ b({ html: e })
36
+ ]), ae = (e) => R({ class: "font-semibold" }, e), ce = (e) => g({ class: "text-sm text-muted-foreground" }, e), mt = c(({ title: e, description: t, icon: s, type: o = "default" }) => {
37
+ const { borderColor: r, bgColor: l, iconColor: i } = P[o] || P.default;
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 x {
48
48
  /**
49
49
  * This will declare the props for the compiler.
50
50
  *
@@ -65,24 +65,24 @@ class ce extends p {
65
65
  L.removeElement(t);
66
66
  return;
67
67
  }
68
- ee.addClass(t, s), te.on("animationend", t, (o) => L.removeElement(t));
68
+ te.addClass(t, s), se.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
@@ -90,20 +90,20 @@ const de = (e) => a({ class: "ml-auto text-xs tracking-widest opacity-60" }, e),
90
90
  click: s
91
91
  }, [
92
92
  e && a(e),
93
- t && g({ html: t })
94
- ]), pe = ({ onSelect: e }) => n([
93
+ t && b({ html: t })
94
+ ]), xe = ({ onSelect: e }) => n([
95
95
  v(
96
96
  "open",
97
- (t, s, o) => t ? new D({
97
+ (t, s, o) => t ? new T({
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 ft extends x {
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 D({
122
122
  groups: this.groups || []
123
123
  });
124
124
  }
@@ -157,32 +157,32 @@ 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) => W({ ...e, class: "flex auto text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70" }, t)), ve = c((e, t) => g({ ...e, class: "text-sm text-muted-foreground italic" }, t)), Ce = c((e, t) => g({ ...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) => {
177
- const l = U(t, (r) => {
178
- r.target.checkValidity() && e.setError(null);
179
- }, (r) => {
180
- e.setError(r.target.validationMessage);
176
+ } : o)), Se = c((e, t) => {
177
+ const r = U(t, (l) => {
178
+ l.target.checkValidity() && e.setError(null);
179
+ }, (l) => {
180
+ e.setError(l.target.validationMessage);
181
181
  });
182
182
  return n({
183
183
  ...e,
184
184
  class: "w-full"
185
- }, l);
185
+ }, r);
186
186
  }), gt = w(
187
187
  {
188
188
  /**
@@ -204,30 +204,30 @@ const xe = c((e, t) => n({ ...e, class: "flex flex-auto flex-col space-y-2" }, t
204
204
  * @returns {object}
205
205
  */
206
206
  render() {
207
- const e = this.name, t = this.getId(`${e}`), { label: s, description: o } = this, l = (r) => {
208
- this.state.error = r, this.state.hasError = !!r;
207
+ const e = this.name, t = this.getId(`${e}`), { label: s, description: o } = this, r = (l) => {
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
- setError: l
217
+ setError: r
218
218
  }, this.children),
219
- o && ye({ id: this.getId("description") }, o),
220
- n({ onState: ["error", (r) => r && ve(r)] })
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)
227
+ }, q = c(
228
+ (e, t) => G({ ...e, submit: (s, o) => De(s, o, e.submit), class: `w-full ${e.class ?? ""}` }, t)
229
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
- e.title && A({ class: "font-semibold" }, e.title),
230
+ e.title && C({ class: "font-semibold" }, e.title),
231
231
  ...t
232
232
  ])), xt = (e, t) => n({ class: "flex justify-between" }, [
233
233
  a({ class: "text-muted-foreground" }, e),
@@ -235,24 +235,24 @@ const xe = c((e, t) => n({ ...e, class: "flex flex-auto flex-col space-y-2" }, t
235
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
- ]), Ie = ({ title: e, description: t, back: s, icon: o, options: l = [] }) => 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 = [] }) => k({ 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
  */
242
- s && h({ variant: "icon", icon: u.arrows.left, class: "mr-2 p-0 flex sm:hidden", click: (r, i) => i.close() }),
242
+ s && h({ variant: "icon", icon: u.arrows.left, class: "mr-2 p-0 flex sm:hidden", click: (l, i) => i.close() }),
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" }, [x(o)]),
246
+ o && n({ class: "mr-2 w-12 h-12 rounded-full bg-muted flex flex-none items-center justify-center" }, [p(o)]),
247
247
  /**
248
248
  * Title and Description
249
249
  */
250
250
  n({ class: "flex flex-auto flex-row justify-between w-full ml-2 gap-2" }, [
251
251
  n({ class: "flex flex-auto flex-col" }, [
252
- A({ class: "text-lg font-semibold m-0 truncate" }, e),
252
+ C({ class: "text-lg font-semibold m-0 truncate" }, e),
253
253
  t && n({ class: "text-sm text-muted-foreground truncate" }, t)
254
254
  ]),
255
- ...l
255
+ ...r
256
256
  ])
257
257
  ]), Te = c((e, t) => n({
258
258
  popover: "manual",
@@ -261,13 +261,13 @@ const xe = c((e, t) => n({ ...e, class: "flex flex-auto flex-col space-y-2" }, t
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) }, [
264
+ q({ 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
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
269
  ])), $e = (e) => H.render(e, app.root);
270
- class yt extends p {
270
+ class yt extends x {
271
271
  /**
272
272
  * This will declare the props for the compiler.
273
273
  *
@@ -290,9 +290,9 @@ class yt extends p {
290
290
  description: o,
291
291
  options: this.headerOptions(),
292
292
  buttons: this.getButtons(),
293
- onSubmit: (l) => {
294
- let r = !0;
295
- this.onSubmit && (r = this.onSubmit(l)), r !== !1 && this.destroy();
293
+ onSubmit: (r) => {
294
+ let l = !0;
295
+ this.onSubmit && (l = this.onSubmit(r)), l !== !1 && this.destroy();
296
296
  },
297
297
  icon: this.icon,
298
298
  back: this.back ?? !1,
@@ -453,8 +453,8 @@ const F = {
453
453
  borderColor: "border",
454
454
  iconColor: "text-muted-foreground"
455
455
  }
456
- }, Ae = (e) => B({ class: "flex justify-center" }, [
457
- G({ class: "text-lg font-bold mb-0" }, e)
456
+ }, Ae = (e) => k({ class: "flex justify-center" }, [
457
+ J({ class: "text-lg font-bold mb-0" }, e)
458
458
  ]), Be = c(({ href: e, class: t }, s) => Y({
459
459
  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}`,
460
460
  href: e,
@@ -464,7 +464,7 @@ const F = {
464
464
  click: () => e(),
465
465
  role: "alert"
466
466
  }, s));
467
- class Le extends ce {
467
+ class Le extends de {
468
468
  /**
469
469
  * This will declare the props for the compiler.
470
470
  *
@@ -487,14 +487,14 @@ class Le extends ce {
487
487
  * @returns {object}
488
488
  */
489
489
  render() {
490
- const { bgColor: t, borderColor: s, iconColor: o } = this.getTypeStyles(), l = this.href || null, r = this.getChildren(o);
491
- return l ? Be({
492
- href: l,
490
+ const { bgColor: t, borderColor: s, iconColor: o } = this.getTypeStyles(), r = this.href || null, l = this.getChildren(o);
491
+ return r ? Be({
492
+ href: r,
493
493
  class: `${t} ${s}`
494
- }, r) : Me({
494
+ }, l) : Me({
495
495
  close: this.close.bind(this),
496
496
  class: `${t} ${s}`
497
- }, r);
497
+ }, l);
498
498
  }
499
499
  /**
500
500
  * This will be called after the component is set up.
@@ -503,7 +503,7 @@ class Le extends ce {
503
503
  */
504
504
  afterSetup() {
505
505
  const t = this.duration;
506
- t !== "infinite" && (this.timer = new oe(t, this.close.bind(this)), this.timer.start());
506
+ t !== "infinite" && (this.timer = new ne(t, this.close.bind(this)), this.timer.start());
507
507
  }
508
508
  /**
509
509
  * This will get the style properties based on the notification type.
@@ -536,12 +536,12 @@ class Le extends ce {
536
536
  getChildren(t) {
537
537
  return [
538
538
  n({ class: "flex items-start" }, [
539
- this.icon && g({ class: `mr-4 ${t}`, html: this.icon }),
539
+ this.icon && b({ class: `mr-4 ${t}`, html: this.icon }),
540
540
  n({ class: "flex flex-auto flex-col" }, [
541
541
  n({ class: "flex flex-auto flex-row items-center w-full pr-12" }, [
542
542
  this.title && Ae(this.title)
543
543
  ]),
544
- b({ class: "text-base text-muted-foreground m-0 pr-12" }, this.description),
544
+ g({ class: "text-base text-muted-foreground m-0 pr-12" }, this.description),
545
545
  (this.primary || this.secondary) && M({ class: "margin-top-24 flex align-center" }, this.getButtons())
546
546
  ])
547
547
  ]),
@@ -564,7 +564,7 @@ class Le extends ce {
564
564
  }
565
565
  }
566
566
  let Pe = 0;
567
- class vt extends p {
567
+ class vt extends x {
568
568
  /**
569
569
  * This will render the component.
570
570
  *
@@ -572,7 +572,7 @@ class vt extends p {
572
572
  */
573
573
  render() {
574
574
  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" }, [
575
- new ne({
575
+ new le({
576
576
  cache: "list",
577
577
  key: "id",
578
578
  role: "list",
@@ -599,15 +599,15 @@ class vt extends p {
599
599
  this.list.delete(t.id);
600
600
  }
601
601
  }
602
- const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
602
+ const N = globalThis.matchMedia, $ = c(({ value: e, label: t, icon: s }) => m({
603
603
  class: 'text-sm gap-1 font-medium leading-none disabled:cursor-not-allowed disabled:opacity-70 flex flex-col items-center justify-between rounded-md border-2 bg-popover p-4 hover:bg-accent hover:text-accent-foreground data-[state="active"]:border-primary [&:has([data-state="active"])]:border-primary',
604
604
  onState: ["method", { active: e }],
605
605
  dataSet: ["method", ["state", e, "active"]],
606
- click: (o, { state: l }) => {
607
- l.method = e, localStorage.setItem("theme", e), e === "system" && localStorage.removeItem("theme"), Fe(e);
606
+ click: (o, { state: r }) => {
607
+ r.method = e, localStorage.setItem("theme", e), e === "system" && localStorage.removeItem("theme"), Fe(e);
608
608
  }
609
609
  }, [
610
- x(s),
610
+ p(s),
611
611
  a(t)
612
612
  ])), Fe = (e) => {
613
613
  var o;
@@ -618,7 +618,7 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
618
618
  }
619
619
  const s = e === "light" ? "dark" : "light";
620
620
  t.classList.remove(s);
621
- }, Ct = S(
621
+ }, Ct = I(
622
622
  {
623
623
  /**
624
624
  * This will render the component.
@@ -628,9 +628,9 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
628
628
  render() {
629
629
  return n({ class: "flex flex-auto flex-col" }, [
630
630
  n({ class: "grid grid-cols-3 gap-4" }, [
631
- I({ label: "System", value: "system", icon: u.adjustments.horizontal }),
632
- I({ label: "Light", value: "light", icon: u.sun }),
633
- I({ label: "Dark", value: "dark", icon: u.moon })
631
+ $({ label: "System", value: "system", icon: u.adjustments.horizontal }),
632
+ $({ label: "Light", value: "light", icon: u.sun }),
633
+ $({ label: "Dark", value: "dark", icon: u.moon })
634
634
  ])
635
635
  ]);
636
636
  },
@@ -679,7 +679,7 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
679
679
  s.toggle("active"), this.checkbox.checked = s.active, this.change && this.change(s.active, t, this);
680
680
  }
681
681
  }, [
682
- J({
682
+ K({
683
683
  cache: "checkbox",
684
684
  class: "opacity-0 absolute top-0 left-0 bottom-0 right-0 w-full h-full",
685
685
  /**
@@ -725,14 +725,14 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
725
725
  class: "text-muted-foreground font-medium hover:text-foreground"
726
726
  },
727
727
  [a(t)]
728
- ), Ee = () => x({
728
+ ), Ee = () => p({
729
729
  class: "mx-3 text-muted-foreground",
730
730
  "aria-hidden": !0,
731
731
  size: "xs"
732
732
  }, u.chevron.single.right), je = (e) => n({ class: "flex items-center" }, [
733
733
  e.href ? ze(e.href, e.label) : a(e.label),
734
734
  e.separator && Ee()
735
- ]), It = S(
735
+ ]), It = I(
736
736
  {
737
737
  /**
738
738
  * Set initial data
@@ -740,7 +740,7 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
740
740
  * @returns {Data}
741
741
  */
742
742
  setData() {
743
- return new k({
743
+ return new D({
744
744
  // @ts-ignore
745
745
  items: this.items || []
746
746
  });
@@ -752,7 +752,7 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
752
752
  */
753
753
  render() {
754
754
  const e = this.data.items.length - 1;
755
- return K(
755
+ return Q(
756
756
  {
757
757
  "aria-label": "Breadcrumb",
758
758
  class: "flex items-center space-x-1 text-sm"
@@ -787,14 +787,14 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
787
787
  "bg-primary": e,
788
788
  "shadow-md": e
789
789
  }],
790
- click: (s, { data: o, onClick: l }) => {
791
- o.activeIndex = e, l && l(e);
790
+ click: (s, { data: o, onClick: r }) => {
791
+ o.activeIndex = e, r && r(e);
792
792
  }
793
793
  })
794
794
  ]), Ye = (e, t) => Array.from({ length: e }, (s, o) => Ve({
795
795
  index: o,
796
796
  size: t
797
- })), Tt = S(
797
+ })), Tt = I(
798
798
  {
799
799
  /**
800
800
  * Defines component data (props).
@@ -802,7 +802,7 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
802
802
  * @returns {Data}
803
803
  */
804
804
  setData() {
805
- return new k({
805
+ return new D({
806
806
  // @ts-ignore
807
807
  count: this.count || 4,
808
808
  // total dots
@@ -833,29 +833,29 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
833
833
  },
834
834
  [
835
835
  a({ onState: ["selectedLabel", (t) => t || "Select item..."] }),
836
- g({ html: u.chevron.upDown })
836
+ b({ html: u.chevron.upDown })
837
837
  ]
838
838
  ), Ue = (e, t, s) => O({
839
839
  class: "flex flex-auto items-center cursor-pointer p-2 hover:bg-muted/50 rounded-sm",
840
840
  click: () => t(e),
841
841
  onState: [s, "selectedValue", { "bg-secondary": e.value }]
842
842
  }, [
843
- e.icon && a({ class: "mr-2 flex items-baseline" }, [x({ size: "xs" }, e.icon)]),
843
+ e.icon && a({ class: "mr-2 flex items-baseline" }, [p({ size: "xs" }, e.icon)]),
844
844
  a({ class: "text-base font-normal" }, e.label)
845
845
  ]), qe = (e, t) => n({ class: "w-full border rounded-md" }, [
846
846
  V({ class: "max-h-60 overflow-y-auto p-2 grid gap-1", for: ["items", (s) => Ue(s, e, t)] })
847
847
  ]), _e = ({ onSelect: e, state: t }) => n({ class: "flex flex-auto flex-col" }, [
848
848
  v(
849
849
  "open",
850
- (s, o, l) => s ? new D({
850
+ (s, o, r) => s ? new T({
851
851
  cache: "dropdown",
852
- parent: l,
853
- button: l.button
852
+ parent: r,
853
+ button: r.button
854
854
  }, [
855
855
  qe(e, t)
856
856
  ]) : null
857
857
  )
858
- ]), $t = S(
858
+ ]), $t = I(
859
859
  {
860
860
  /**
861
861
  * This will set up the data.
@@ -863,7 +863,7 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
863
863
  * @returns {Data}
864
864
  */
865
865
  setData() {
866
- return new k({
866
+ return new D({
867
867
  // @ts-ignore
868
868
  items: this.items || []
869
869
  });
@@ -945,7 +945,7 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
945
945
  }),
946
946
  // Hidden required input for form validation
947
947
  // @ts-ignore
948
- this.required && C({
948
+ this.required && S({
949
949
  class: "opacity-0 absolute top-0 left-0 z-[1]",
950
950
  type: "text",
951
951
  // @ts-ignore
@@ -957,25 +957,25 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
957
957
  ]);
958
958
  }
959
959
  }
960
- ), q = ({ icon: e, click: t, ariaLabel: s }) => h({
960
+ ), _ = ({ icon: e, click: t, ariaLabel: s }) => h({
961
961
  variant: "icon",
962
962
  class: "flex flex-none",
963
963
  click: t,
964
964
  icon: e,
965
965
  "aria-label": s
966
- }), Re = ({ click: e }) => q({
966
+ }), Re = ({ click: e }) => _({
967
967
  icon: u.circleMinus,
968
968
  click: e,
969
969
  ariaLabel: "Decrement"
970
- }), We = ({ click: e }) => q({
970
+ }), We = ({ click: e }) => _({
971
971
  icon: u.circlePlus,
972
972
  click: e,
973
973
  ariaLabel: "Increment"
974
- }), Ge = ({ bind: e, min: t, max: s, readonly: o = !1 }) => Q(({ state: l }) => C({
975
- value: ["[[count]]", l],
974
+ }), Ge = ({ bind: e, min: t, max: s, readonly: o = !1 }) => X(({ state: r }) => S({
975
+ value: ["[[count]]", r],
976
976
  bind: e,
977
- blur: (r, { state: i }) => {
978
- let d = parseInt(r.target.value, 10);
977
+ blur: (l, { state: i }) => {
978
+ let d = parseInt(l.target.value, 10);
979
979
  isNaN(d) && (d = t ?? 0), t !== void 0 && (d = Math.max(d, t)), s !== void 0 && (d = Math.min(d, s)), i.count = d;
980
980
  },
981
981
  class: "flex flex-auto text-lg font-medium bg-transparent text-center border min-w-0",
@@ -1018,7 +1018,7 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
1018
1018
  ]);
1019
1019
  }
1020
1020
  }
1021
- ), Je = ({ bind: e, required: t }) => C({
1021
+ ), Je = ({ bind: e, required: t }) => S({
1022
1022
  cache: "input",
1023
1023
  class: "opacity-0 absolute top-0 left-0 w-full h-full pointer-events-none",
1024
1024
  bind: e,
@@ -1029,19 +1029,19 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
1029
1029
  }, [
1030
1030
  Je({ bind: e, required: t }),
1031
1031
  a({
1032
- onState: ["selectedDate", (o) => o ? $.format("standard", o) : "Pick a date"]
1032
+ onState: ["selectedDate", (o) => o ? B.format("standard", o) : "Pick a date"]
1033
1033
  }),
1034
- g({ html: u.calendar.days })
1034
+ b({ html: u.calendar.days })
1035
1035
  ]), Qe = ({ handleDateSelect: e, blockPriorDates: t }) => v(
1036
1036
  "open",
1037
- (s, o, l) => s ? new D({
1037
+ (s, o, r) => s ? new T({
1038
1038
  cache: "dropdown",
1039
- parent: l,
1040
- button: l.panel,
1039
+ parent: r,
1040
+ button: r.panel,
1041
1041
  size: "fit"
1042
1042
  }, [
1043
- new se({
1044
- selectedDate: l.state.selectedDate,
1043
+ new oe({
1044
+ selectedDate: r.state.selectedDate,
1045
1045
  selectedCallBack: e,
1046
1046
  blockPriorDates: t
1047
1047
  })
@@ -1090,17 +1090,17 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
1090
1090
  ]);
1091
1091
  }
1092
1092
  }
1093
- ), Mt = ({ dateTime: e = "", remoteTimeZone: t = "America/Denver", filter: s = null }) => X([
1093
+ ), Mt = ({ dateTime: e = "", remoteTimeZone: t = "America/Denver", filter: s = null }) => Z([
1094
1094
  new re({
1095
1095
  dateTime: e,
1096
1096
  filter: s || ((o) => {
1097
- const l = $.getLocalTime(o, !0, !1, t);
1098
- return $.getTimeFrame(l);
1097
+ const r = B.getLocalTime(o, !0, !1, t);
1098
+ return B.getTimeFrame(r);
1099
1099
  })
1100
1100
  })
1101
1101
  ]);
1102
1102
  function Xe({ bind: e, required: t }) {
1103
- return C({
1103
+ return S({
1104
1104
  cache: "input",
1105
1105
  class: "opacity-0 absolute top-0 left-0 w-full h-full pointer-events-none",
1106
1106
  bind: e,
@@ -1118,15 +1118,15 @@ function Ze({ bind: e, required: t, toggleOpen: s }) {
1118
1118
  a({
1119
1119
  onState: ["selectedTime", (o) => o || "Pick a time"]
1120
1120
  }),
1121
- g({ html: u.clock })
1121
+ b({ html: u.clock })
1122
1122
  ]
1123
1123
  );
1124
1124
  }
1125
- function T({ items: e, handleTimeSelect: t, state: s, stateValue: o, pad: l = !1 }) {
1125
+ function A({ items: e, handleTimeSelect: t, state: s, stateValue: o, pad: r = !1 }) {
1126
1126
  return n(
1127
1127
  { class: "flex flex-col max-h-[200px] overflow-y-auto" },
1128
- e.map((r) => {
1129
- let i = l ? r.toString().padStart(2, "0") : r.toString();
1128
+ e.map((l) => {
1129
+ let i = r ? l.toString().padStart(2, "0") : l.toString();
1130
1130
  return m({
1131
1131
  text: i,
1132
1132
  class: "hover:bg-muted/50 rounded-md px-2 py-1",
@@ -1142,7 +1142,7 @@ function et({ handleTimeSelect: e }) {
1142
1142
  [
1143
1143
  v(
1144
1144
  "open",
1145
- (t, s, o) => t ? new D(
1145
+ (t, s, o) => t ? new T(
1146
1146
  {
1147
1147
  cache: "dropdown",
1148
1148
  parent: o,
@@ -1157,23 +1157,23 @@ function et({ handleTimeSelect: e }) {
1157
1157
  { class: "grid grid-cols-3 gap-2 p-4 text-center max-h-[220px] min-w-[240px]" },
1158
1158
  [
1159
1159
  // Hours column
1160
- T({
1161
- items: Array.from({ length: 12 }, (l, r) => r + 1),
1160
+ A({
1161
+ items: Array.from({ length: 12 }, (r, l) => l + 1),
1162
1162
  handleTimeSelect: e,
1163
1163
  state: o.state,
1164
1164
  stateValue: "hour",
1165
1165
  pad: !0
1166
1166
  }),
1167
1167
  // Minutes column
1168
- T({
1169
- items: Array.from({ length: 60 }, (l, r) => r),
1168
+ A({
1169
+ items: Array.from({ length: 60 }, (r, l) => l),
1170
1170
  handleTimeSelect: e,
1171
1171
  state: o.state,
1172
1172
  stateValue: "minute",
1173
1173
  pad: !0
1174
1174
  }),
1175
1175
  // AM/PM column
1176
- T({
1176
+ A({
1177
1177
  items: ["AM", "PM"],
1178
1178
  handleTimeSelect: e,
1179
1179
  state: o.state,
@@ -1195,11 +1195,11 @@ function E(e) {
1195
1195
  const t = /^(\d{1,2}):(\d{2})(?::(\d{2}))?\s?(AM|PM)?$/i, s = e.match(t);
1196
1196
  if (!s)
1197
1197
  return { hour: null, minute: null, meridian: null };
1198
- let [, o, l, , r] = s, i = parseInt(o, 10), d = parseInt(l, 10);
1199
- return i < 0 || i > 23 || d < 0 || d > 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), {
1198
+ let [, o, r, , l] = s, i = parseInt(o, 10), d = parseInt(r, 10);
1199
+ return i < 0 || i > 23 || d < 0 || d > 59 ? { hour: null, minute: null, meridian: null } : (l ? (l = l.toUpperCase(), l === "PM" && i < 12 ? i += 12 : l === "AM" && i === 12 && (i = 12)) : i === 0 ? (l = "AM", i = 12) : i < 12 ? l = "AM" : i === 12 ? l = "PM" : (l = "PM", i -= 12), {
1200
1200
  hour: i.toString().padStart(2, "0"),
1201
1201
  minute: d.toString().padStart(2, "0"),
1202
- meridian: r
1202
+ meridian: l
1203
1203
  });
1204
1204
  }
1205
1205
  const Lt = w(
@@ -1241,10 +1241,10 @@ const Lt = w(
1241
1241
  * @returns {object}
1242
1242
  */
1243
1243
  render() {
1244
- const e = (s, { state: o }) => o.toggle("open"), t = ({ hour: s, minute: o, meridian: l }) => {
1245
- if (s && (this.state.hour = s), o && (this.state.minute = o), l && (this.state.meridian = l), this.state.hour && this.state.minute && this.state.meridian) {
1246
- const r = `${this.state.hour}:${this.state.minute} ${this.state.meridian}`;
1247
- this.state.selectedTime = r, this.state.open = !1, this.input.value = r, typeof this.change == "function" && this.change(r);
1244
+ const e = (s, { state: o }) => o.toggle("open"), t = ({ hour: s, minute: o, meridian: r }) => {
1245
+ if (s && (this.state.hour = s), o && (this.state.minute = o), r && (this.state.meridian = r), this.state.hour && this.state.minute && this.state.meridian) {
1246
+ const l = `${this.state.hour}:${this.state.minute} ${this.state.meridian}`;
1247
+ this.state.selectedTime = l, this.state.open = !1, this.input.value = l, typeof this.change == "function" && this.change(l);
1248
1248
  }
1249
1249
  };
1250
1250
  return n(
@@ -1263,10 +1263,10 @@ const Lt = w(
1263
1263
  }
1264
1264
  }
1265
1265
  ), tt = (e, t) => n({ class: `hidden md:flex items-start justify-center w-6 h-6 mr-3 ${t}` }, [
1266
- x({ size: "lg" }, e)
1267
- ]), st = ({ title: e }) => B({ class: "flex flex-auto items-center" }, [
1268
- A({ class: "text-lg font-semibold" }, e)
1269
- ]), ot = c((e, t) => Z(
1266
+ p({ size: "lg" }, e)
1267
+ ]), st = ({ title: e }) => k({ class: "flex flex-auto items-center" }, [
1268
+ C({ class: "text-lg font-semibold" }, e)
1269
+ ]), ot = c((e, t) => ee(
1270
1270
  {
1271
1271
  class: `fixed pullUpIn z-30 w-[98%] border md:w-full max-w-lg bg-popover text-foreground shadow-lg duration-200
1272
1272
  rounded-lg flex flex-auto flex-col
@@ -1281,7 +1281,7 @@ const Lt = w(
1281
1281
  n({ class: "flex flex-auto flex-col gap-4" }, [
1282
1282
  n({ class: "flex flex-auto flex-col space-y-2" }, [
1283
1283
  st(e),
1284
- e.description && b({ class: "flex flex-auto flex-col text-sm text-muted-foreground" }, e.description),
1284
+ e.description && g({ class: "flex flex-auto flex-col text-sm text-muted-foreground" }, e.description),
1285
1285
  n({ class: "flex flex-auto flex-col text-sm text-muted-foreground" }, t)
1286
1286
  ]),
1287
1287
  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)
@@ -1315,7 +1315,7 @@ const Lt = w(
1315
1315
  iconColor: "text-muted-foreground"
1316
1316
  }
1317
1317
  };
1318
- class rt extends p {
1318
+ class lt extends x {
1319
1319
  /**
1320
1320
  * This will declare the props for the compiler.
1321
1321
  *
@@ -1332,13 +1332,13 @@ class rt extends p {
1332
1332
  render() {
1333
1333
  const t = (d) => {
1334
1334
  d.target === this.panel && this.close();
1335
- }, { borderColor: s, bgColor: o, iconColor: l } = j[this.type] || j.default, r = `${this.getMainClass()} ${o} ${s}`, i = this.title || "Dialog Title";
1335
+ }, { borderColor: s, bgColor: o, iconColor: r } = j[this.type] || j.default, l = `${this.getMainClass()} ${o} ${s}`, i = this.title || "Dialog Title";
1336
1336
  return ot({
1337
- class: r,
1337
+ class: l,
1338
1338
  title: i,
1339
1339
  click: t,
1340
1340
  icon: this.icon,
1341
- iconColor: l,
1341
+ iconColor: r,
1342
1342
  description: this.description,
1343
1343
  buttons: this.getButtons()
1344
1344
  }, this.children);
@@ -1388,7 +1388,7 @@ class rt extends p {
1388
1388
  this.state.open = !1, this.panel.close(), typeof this.onClose == "function" && this.onClose(), this.destroy();
1389
1389
  }
1390
1390
  }
1391
- class Pt extends rt {
1391
+ class Pt extends lt {
1392
1392
  /**
1393
1393
  * This will declare the props for the compiler.
1394
1394
  *
@@ -1418,29 +1418,46 @@ class Pt extends rt {
1418
1418
  this.confirmed && this.confirmed(), this.close();
1419
1419
  }
1420
1420
  }
1421
+ const Ft = c((e, t) => n({ class: "w-full max-w-sm p-6" }, [
1422
+ q({ class: "flex flex-auto flex-col" }, [
1423
+ n({ class: "flex flex-auto flex-col space-y-4" }, [
1424
+ n({ class: "flex flex-auto items-center justify-center" }, [
1425
+ e.Icon && n({ class: "w-16 h-16 mb-2 text-primary" }, [
1426
+ p(e.icon)
1427
+ ])
1428
+ ]),
1429
+ k({ class: "py-4 text-center" }, [
1430
+ C({ class: "text-xl font-bold" }, e.title),
1431
+ g({ class: "pb-8 text-muted-foreground" }, e.description || ""),
1432
+ ...t
1433
+ ])
1434
+ ])
1435
+ ])
1436
+ ]));
1421
1437
  export {
1422
1438
  mt as A,
1423
1439
  It as B,
1424
1440
  wt as C,
1425
- ce as D,
1441
+ de as D,
1426
1442
  Pt as E,
1427
- xe as F,
1443
+ we as F,
1428
1444
  ot as G,
1429
- rt as H,
1445
+ lt as H,
1446
+ Ft as I,
1430
1447
  yt as M,
1431
1448
  vt as N,
1432
1449
  We as P,
1433
1450
  xt as S,
1434
1451
  Ct as T,
1435
- me as a,
1452
+ fe as a,
1436
1453
  ft as b,
1437
- ge as c,
1438
- we as d,
1439
- ye as e,
1440
- ve as f,
1441
- ke as g,
1454
+ be as c,
1455
+ ye as d,
1456
+ ve as e,
1457
+ Ce as f,
1458
+ Se as g,
1442
1459
  gt as h,
1443
- De as i,
1460
+ q as i,
1444
1461
  bt as j,
1445
1462
  pt as k,
1446
1463
  Le as l,
package/dist/index.es.js CHANGED
@@ -1,158 +1,159 @@
1
- import { B as e, C as o, a as t, F as r, L as n, P as i, R as l, S as p, b as u, T as m } from "./tooltip-CYtKjefM.js";
1
+ import { B as e, C as t, a as o, F as r, L as n, P as i, R as l, S as p, b as u, T as m } from "./tooltip-CYtKjefM.js";
2
2
  import { B as g, I as T, L as c } from "./buttons-Cm9etaEG.js";
3
3
  import { C as D, d as b, D as I, c as S, E as B, F as P, H as F, I as M, M as k, N, P as v, R as f, T as x, a as y, b as h, U as W, W as H } from "./inputs-CMjx5-IX.js";
4
4
  import { V as A, a as w } from "./veil-D4dRxILB.js";
5
5
  import { Icons as R } from "./icons.es.js";
6
- import { A as E, B as G, C as V, t as j, E as q, v as z, w as J, x as _, D as K, j as Q, k as X, H as Y, G as Z, s as $, c as aa, a as sa, b as ea, i as oa, g as ta, e as ra, h as na, F as ia, d as la, f as pa, u as ua, M as ma, l as da, N as ga, P as Ta, p as ca, q as Ca, S as Da, n as ba, o as Ia, T as Sa, y as Ba, z as Pa, m as Fa, r as Ma } from "./confirmation-RwpuUtXL.js";
7
- import { A as Na, b as va, C as fa, D as xa, a as ya, F as ha, M as Wa, P as Ha, c as La, g as Aa, p as wa } from "./calendar-DQXME-2u.js";
8
- import { B as Ra, p as Oa, C as Ea, j as Ga, D as Va, m as ja, k as qa, H as za, I as Ja, N as _a, O as Ka, P as Qa, S as Xa, n as Ya, o as Za, t as $a, s as as, q as ss, r as es, T as os, l as ts, U as rs, W as ns, f as is, h as ls, i as ps, c as us, d as ms, b as ds, e as gs, a as Ts, g as cs } from "./signature-panel-CdFC9C0N.js";
9
- import { B as Ds, I as bs, M as Is, d as Ss, e as Bs, g as Ps, N as Fs, b as Ms, a as ks, f as Ns, P as vs, c as fs, S as xs, T as ys } from "./mobile-nav-wrapper-Dj67Pb8l.js";
10
- import { B as Ws, a as Hs, C as Ls, F as As, b as ws, c as Us, M as Rs, P as Os, S as Es } from "./sidebar-menu-page-BVryQj2Z.js";
11
- import { A as Vs, F as js, M as qs, a as zs, T as Js } from "./aside-template-McEj_Gxc.js";
12
- import { B as Ks } from "./bside-template-Du2m3rsE.js";
6
+ import { A as O, B as G, C as V, t as j, E as q, v as z, w as J, x as _, D as K, j as Q, k as X, H as Y, G as Z, s as $, c as aa, a as sa, b as ea, I as ta, i as oa, 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 Ta, P as ca, p as Ca, q as Da, S as ba, n as Ia, o as Sa, T as Ba, y as Pa, z as Fa, m as Ma, r as ka } from "./empty-state-CmcomE6h.js";
7
+ import { A as va, b as fa, C as xa, D as ya, a as ha, F as Wa, M as Ha, P as La, c as Aa, g as wa, p as Ua } from "./calendar-DQXME-2u.js";
8
+ import { B as Ea, p as Oa, C as Ga, j as Va, D as ja, m as qa, k as za, H as Ja, I as _a, N as Ka, O as Qa, P as Xa, S as Ya, n as Za, o as $a, t as as, s as ss, q as es, r as ts, T as os, l as rs, U as ns, W as is, f as ls, h as ps, i as us, c as ms, d as ds, b as gs, e as Ts, a as cs, g as Cs } from "./signature-panel-CdFC9C0N.js";
9
+ import { B as bs, I as Is, M as Ss, d as Bs, e as Ps, g as Fs, N as Ms, b as ks, a as Ns, f as vs, P as fs, c as xs, S as ys, T as hs } from "./mobile-nav-wrapper-Dj67Pb8l.js";
10
+ import { B as Hs, a as Ls, C as As, F as ws, b as Us, c as Rs, M as Es, P as Os, S as Gs } from "./sidebar-menu-page-BVryQj2Z.js";
11
+ import { A as js, F as qs, M as zs, a as Js, T as _s } from "./aside-template-McEj_Gxc.js";
12
+ import { B as Qs } from "./bside-template-Du2m3rsE.js";
13
13
  export {
14
- E as Alert,
15
- Vs as AsideTemplate,
16
- Na as Avatar,
17
- Ra as BackButton,
18
- Ds as Backdrop,
14
+ O as Alert,
15
+ js as AsideTemplate,
16
+ va as Avatar,
17
+ Ea as BackButton,
18
+ bs as Backdrop,
19
19
  e as Badge,
20
- Ws as BasicPage,
21
- Hs as BlankPage,
20
+ Hs as BasicPage,
21
+ Ls as BlankPage,
22
22
  G as Breadcrumb,
23
- Ks as BsideTemplate,
23
+ Qs as BsideTemplate,
24
24
  g as Button,
25
25
  Oa as ButtonTab,
26
- va as Calendar,
27
- fa as CalendarCells,
28
- o as Card,
29
- Ls as CenterPage,
26
+ fa as Calendar,
27
+ xa as CalendarCells,
28
+ t as Card,
29
+ As as CenterPage,
30
30
  D as Checkbox,
31
- Ea as CheckboxCol,
32
- t as CircleGraph,
31
+ Ga as CheckboxCol,
32
+ o as CircleGraph,
33
33
  b as ColorInput,
34
34
  V as ColumnRow,
35
35
  j as Combobox,
36
36
  q as Confirmation,
37
37
  z as CountDisplay,
38
38
  J as Counter,
39
- Ga as DataTable,
40
- Va as DataTableBody,
39
+ Va as DataTable,
40
+ ja as DataTableBody,
41
41
  I as DateInput,
42
42
  _ as DatePicker,
43
43
  S as DateTimeInput,
44
- xa as DayCell,
45
- ya as DayHeader,
44
+ ya as DayCell,
45
+ ha as DayHeader,
46
46
  K as DelayComponent,
47
47
  Q as DetailBody,
48
48
  X as DetailSection,
49
49
  Y as Dialog,
50
50
  Z as DialogContainer,
51
- ja as DockableOverlay,
51
+ qa as DockableOverlay,
52
52
  $ as DotsIndicator,
53
53
  aa as Dropdown,
54
54
  sa as DropdownItem,
55
55
  ea as DropdownMenu,
56
- qa as DynamicDataTable,
56
+ za as DynamicDataTable,
57
57
  B as EmailInput,
58
+ ta as EmptyState,
58
59
  r as Fieldset,
59
60
  P as FileInput,
60
61
  oa as Form,
61
- ta as FormControl,
62
- ra as FormDescription,
63
- na as FormField,
64
- ia as FormItem,
65
- la as FormLabel,
66
- pa as FormMessage,
67
- ha as FormatDate,
68
- As as FullContainPage,
69
- ws as FullPage,
70
- js as FullTemplate,
71
- Us as FullscreenPage,
72
- za as HeaderCol,
62
+ ra as FormControl,
63
+ na as FormDescription,
64
+ ia as FormField,
65
+ la as FormItem,
66
+ pa as FormLabel,
67
+ ua as FormMessage,
68
+ Wa as FormatDate,
69
+ ws as FullContainPage,
70
+ Us as FullPage,
71
+ qs as FullTemplate,
72
+ Rs as FullscreenPage,
73
+ Ja as HeaderCol,
73
74
  F as HiddenInput,
74
75
  T as Icon,
75
76
  R as Icons,
76
- bs as InlineNavigation,
77
- Ja as InlineOverlay,
77
+ Is as InlineNavigation,
78
+ _a as InlineOverlay,
78
79
  M as Input,
79
80
  n as Legend,
80
81
  c as LoadingButton,
81
- qs as MainColumn,
82
- Is as MainLink,
83
- Rs as MainSection,
84
- ua as MinusButton,
85
- Ss as MobileNavButton,
86
- Bs as MobileNavWrapper,
87
- ma as Modal,
88
- Wa as MonthCalendar,
82
+ zs as MainColumn,
83
+ Ss as MainLink,
84
+ Es as MainSection,
85
+ ma as MinusButton,
86
+ Bs as MobileNavButton,
87
+ Ps as MobileNavWrapper,
88
+ da as Modal,
89
+ Ha as MonthCalendar,
89
90
  k as MonthInput,
90
- Ps as NavButton,
91
- Fs as NavButtonLink,
92
- Ms as Navigation,
93
- ks as NavigationGroup,
94
- _a as NavigationMenu,
95
- Ns as NavigationPopover,
96
- da as Notification,
97
- ga as NotificationContainer,
91
+ Fs as NavButton,
92
+ Ms as NavButtonLink,
93
+ ks as Navigation,
94
+ Ns as NavigationGroup,
95
+ Ka as NavigationMenu,
96
+ vs as NavigationPopover,
97
+ ga as Notification,
98
+ Ta as NotificationContainer,
98
99
  N as NumberInput,
99
- Ka as Overlay,
100
+ Qa as Overlay,
100
101
  Os as Page,
101
- Qa as Panel,
102
+ Xa as Panel,
102
103
  v as PasswordInput,
103
- Ta as PlusButton,
104
- Ha as PopOver,
105
- vs as PopupHeader,
104
+ ca as PlusButton,
105
+ La as PopOver,
106
+ fs as PopupHeader,
106
107
  i as ProgressBar,
107
108
  f as Radio,
108
109
  l as RangeSlider,
109
- ca as STATUSES,
110
- Ca as STATUS_CLASS,
111
- Xa as ScrollableDataTable,
112
- Ya as SearchDropdown,
113
- Za as SearchInput,
110
+ Ca as STATUSES,
111
+ Da as STATUS_CLASS,
112
+ Ya as ScrollableDataTable,
113
+ Za as SearchDropdown,
114
+ $a as SearchInput,
114
115
  p as Select,
115
- fs as SidebarMenu,
116
- Es as SidebarMenuPage,
117
- $a as SignaturePanel,
116
+ xs as SidebarMenu,
117
+ Gs as SidebarMenuPage,
118
+ as as SignaturePanel,
118
119
  u as Skeleton,
119
- Da as SplitRow,
120
- ba as StaticStatusIndicator,
121
- Ia as StatusIndicator,
122
- xs as SubNavigation,
123
- as as Tab,
124
- ss as TabGroup,
125
- es as TabNavigation,
120
+ ba as SplitRow,
121
+ Ia as StaticStatusIndicator,
122
+ Sa as StatusIndicator,
123
+ ys as SubNavigation,
124
+ ss as Tab,
125
+ es as TabGroup,
126
+ ts as TabNavigation,
126
127
  os as TableHeader,
127
128
  x as TelInput,
128
- zs as Template,
129
+ Js as Template,
129
130
  y as Textarea,
130
- Sa as ThemeToggle,
131
- Ba as TimeFrame,
131
+ Ba as ThemeToggle,
132
+ Pa as TimeFrame,
132
133
  h as TimeInput,
133
- Pa as TimePicker,
134
- ys as TitleHeader,
135
- Fa as Toggle,
134
+ Fa as TimePicker,
135
+ hs as TitleHeader,
136
+ Ma as Toggle,
136
137
  m as Tooltip,
137
- Js as TopBar,
138
+ _s as TopBar,
138
139
  W as UrlInput,
139
- ts as UserList,
140
- rs as UserListItem,
140
+ rs as UserList,
141
+ ns as UserListItem,
141
142
  A as Veil,
142
143
  w as VeilJot,
143
- ns as WeekCalendar,
144
- is as WeekCell,
145
- ls as WeekCells,
146
- ps as WeekHeader,
144
+ is as WeekCalendar,
145
+ ls as WeekCell,
146
+ ps as WeekCells,
147
+ us as WeekHeader,
147
148
  H as WeekInput,
148
- La as addTime,
149
- us as calculateWeekNumber,
150
- ms as generateWeeks,
151
- ds as getDateFromWeek,
152
- gs as getMonthDays,
153
- Ts as getNextMonthDays,
154
- Aa as getPosition,
155
- cs as getPreviousMonthDays,
156
- Ma as getStatusClass,
157
- wa as pad
149
+ Aa as addTime,
150
+ ms as calculateWeekNumber,
151
+ ds as generateWeeks,
152
+ gs as getDateFromWeek,
153
+ Ts as getMonthDays,
154
+ cs as getNextMonthDays,
155
+ wa as getPosition,
156
+ Cs as getPreviousMonthDays,
157
+ ka as getStatusClass,
158
+ Ua as pad
158
159
  };
@@ -1,8 +1,8 @@
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-RwpuUtXL.js";
2
- import { A as H, P as O, g as _ } from "./calendar-DQXME-2u.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 p, s as C, c as d, a as g, b as F, I as T, i as A, g as P, e as f, h as w, F as I, d as b, f as y, u as B, M, l as x, N as k, P as v, p as E, q as N, S as h, n as L, o as R, T as U, y as j, z as q, m as z, r as G } from "./empty-state-CmcomE6h.js";
2
+ import { A as O, P as _, g as J } from "./calendar-DQXME-2u.js";
3
3
  export {
4
4
  o as Alert,
5
- H as Avatar,
5
+ O as Avatar,
6
6
  t as Breadcrumb,
7
7
  e as ColumnRow,
8
8
  i as Combobox,
@@ -14,33 +14,34 @@ export {
14
14
  u as DetailBody,
15
15
  D as DetailSection,
16
16
  c as Dialog,
17
- C as DialogContainer,
18
- d as DotsIndicator,
19
- g as Dropdown,
20
- p as DropdownItem,
17
+ p as DialogContainer,
18
+ C as DotsIndicator,
19
+ d as Dropdown,
20
+ g as DropdownItem,
21
21
  F as DropdownMenu,
22
- T as Form,
23
- A as FormControl,
24
- P as FormDescription,
25
- f as FormField,
26
- w as FormItem,
22
+ T as EmptyState,
23
+ A as Form,
24
+ P as FormControl,
25
+ f as FormDescription,
26
+ w as FormField,
27
+ I as FormItem,
27
28
  b as FormLabel,
28
- B as FormMessage,
29
- I as MinusButton,
29
+ y as FormMessage,
30
+ B as MinusButton,
30
31
  M as Modal,
31
32
  x as Notification,
32
- y as NotificationContainer,
33
- k as PlusButton,
34
- O as PopOver,
35
- v as STATUSES,
33
+ k as NotificationContainer,
34
+ v as PlusButton,
35
+ _ as PopOver,
36
+ E as STATUSES,
36
37
  N as STATUS_CLASS,
37
38
  h as SplitRow,
38
- E as StaticStatusIndicator,
39
- L as StatusIndicator,
40
- R as ThemeToggle,
41
- U as TimeFrame,
42
- j as TimePicker,
43
- q as Toggle,
44
- _ as getPosition,
45
- z as getStatusClass
39
+ L as StaticStatusIndicator,
40
+ R as StatusIndicator,
41
+ U as ThemeToggle,
42
+ j as TimeFrame,
43
+ q as TimePicker,
44
+ z as Toggle,
45
+ J as getPosition,
46
+ G as getStatusClass
46
47
  };
@@ -6,3 +6,4 @@
6
6
  * @return {object} - The empty state component.
7
7
  */
8
8
  export const EmptyState: Function;
9
+ export default EmptyState;
@@ -29,3 +29,4 @@ export * from "./date-time/time-picker.js";
29
29
  export * from "./dialogs/confirmation.js";
30
30
  export * from "./dialogs/dialog-container.js";
31
31
  export * from "./dialogs/dialog.js";
32
+ export * from "./empty/empty-state.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/ui",
3
- "version": "1.0.180",
3
+ "version": "1.0.183",
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": {