@base-framework/ui 1.0.301 → 1.0.302

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.
package/dist/atoms.es.js CHANGED
@@ -1,7 +1,7 @@
1
- import { B as e, C as t, F as o, L as n, P as r, R as p, S as u, a as I, T as i } from "./tooltip-fLU0qdFi.js";
1
+ import { B as e, C as t, F as o, L as n, P as r, R as p, S as u, a as I, T as i } from "./tooltip-EO3J6QFR.js";
2
2
  import { B as d, I as m, L as C } from "./buttons-CHEs54Wl.js";
3
- import { C as x, F as B, V as F, a as c } from "./veil-B1pwIy-D.js";
4
- import { C as f, d as L, D as P, c as R, E as S, F as b, H as h, I as k, M as D, N as V, P as E, R as G, T as H, a as M, b as N, U, W } from "./inputs-DYxmO1rQ.js";
3
+ import { C as x, F as B, V as F, a as c } from "./veil-fLMV40Wv.js";
4
+ import { C as f, d as L, D as P, c as R, E as S, F as b, H as h, I as k, M as D, N as V, P as E, R as G, T as H, a as M, b as N, U, W } from "./inputs-9udyzkHR.js";
5
5
  export {
6
6
  e as Badge,
7
7
  d as Button,
@@ -1,8 +1,8 @@
1
- import { Div as n, H5 as Q, P as m, I as p, Li as V, Span as a, Ul as q, Button as f, OnState as A, Label as H, H2 as v, Form as X, Header as D, Footer as L, A as Y, H3 as Z, Checkbox as ee, Input as x, Img as te, Nav as se, UseParent as _, OnStateOpen as P, Time as oe, Dialog as ne } from "@base-framework/atoms";
2
- import { Atom as c, Component as w, Html as M, Dom as le, base as re, Data as I, Builder as W, Jot as C, Events as $, DateTime as F } from "@base-framework/base";
3
- import { P as k, b as ie, R as ae } from "./range-calendar-UXMh98a5.js";
4
- import { C as ce, F as ue, a as y } from "./veil-B1pwIy-D.js";
5
- import { B as h, I as g } from "./buttons-CHEs54Wl.js";
1
+ import { Div as l, H5 as Q, P as m, I as g, Li as V, Span as a, Ul as q, Button as f, OnState as A, Label as H, H2 as v, Form as X, Header as D, Footer as L, A as Y, H3 as Z, Checkbox as ee, Input as x, Img as te, Nav as se, UseParent as _, OnStateOpen as P, Time as oe, Dialog as le } from "@base-framework/atoms";
2
+ import { Atom as c, Component as w, Html as M, Dom as ne, base as re, Data as I, Builder as W, Jot as C, Events as $, DateTime as F } from "@base-framework/base";
3
+ import { P as k, b as ie, R as ae } from "./range-calendar-CnBylqhu.js";
4
+ import { C as ce, F as ue, a as y } from "./veil-fLMV40Wv.js";
5
+ import { B as h, I as p } from "./buttons-CHEs54Wl.js";
6
6
  import { Icons as d } from "./icons.es.js";
7
7
  import { Timer as de, List as he, DynamicTime as fe } from "@base-framework/organisms";
8
8
  import { F as E } from "./format-DnofNaaz.js";
@@ -32,16 +32,16 @@ const N = {
32
32
  bgColor: "bg-muted/10",
33
33
  iconColor: "text-muted-foreground"
34
34
  }
35
- }, me = (e, t) => n({ class: `flex items-center justify-center h-6 w-6 mr-3 ${t}` }, [
36
- p({ html: e })
37
- ]), pe = (e) => Q({ class: "font-semibold" }, e), ge = (e) => m({ class: "text-sm text-muted-foreground" }, e), kt = c(({ title: e, description: t, icon: s, type: o = "default" }) => {
38
- const { borderColor: l, bgColor: r, iconColor: i } = N[o] || N.default;
39
- return n({ class: `flex items-start p-4 border rounded-lg ${r} ${l}` }, [
35
+ }, me = (e, t) => l({ class: `flex items-center justify-center h-6 w-6 mr-3 ${t}` }, [
36
+ g({ html: e })
37
+ ]), ge = (e) => Q({ class: "font-semibold" }, e), pe = (e) => m({ class: "text-sm text-muted-foreground" }, e), kt = c(({ title: e, description: t, icon: s, type: o = "default" }) => {
38
+ const { borderColor: n, bgColor: r, iconColor: i } = N[o] || N.default;
39
+ return l({ class: `flex items-start p-4 border rounded-lg ${r} ${n}` }, [
40
40
  // Icon and content
41
41
  s && me(s, i),
42
- n({ class: "flex flex-col" }, [
43
- pe(e),
44
- ge(t)
42
+ l({ class: "flex flex-col" }, [
43
+ ge(e),
44
+ pe(t)
45
45
  ])
46
46
  ]);
47
47
  });
@@ -66,7 +66,7 @@ class St extends w {
66
66
  M.removeElement(t);
67
67
  return;
68
68
  }
69
- le.addClass(t, s), re.on("animationend", t, (o) => M.removeElement(t));
69
+ ne.addClass(t, s), re.on("animationend", t, (o) => M.removeElement(t));
70
70
  }
71
71
  }
72
72
  const be = (e) => a({ class: "ml-auto text-xs tracking-widest opacity-60" }, e), xe = (e) => a({ class: "flex w-4 h-4", html: e }), we = (e) => a({ class: "flex-auto" }, e), ye = (e, t) => V({
@@ -78,8 +78,8 @@ const be = (e) => a({ class: "ml-auto text-xs tracking-widest opacity-60" }, e),
78
78
  e.shortcut && be(e.shortcut)
79
79
  ]), ve = (e, t) => q({ class: "grid gap-2" }, [
80
80
  e.map((s) => ye(s, t))
81
- ]), Ce = (e) => n({ class: "w-full z-10" }, [
82
- n({
81
+ ]), Ce = (e) => l({ class: "w-full z-10" }, [
82
+ l({
83
83
  class: "max-h-60 border rounded-md overflow-y-auto p-1 grid gap-2 divide-y divide-border",
84
84
  for: ["groups", (t) => ve(t, e)]
85
85
  })
@@ -91,8 +91,8 @@ const be = (e) => a({ class: "ml-auto text-xs tracking-widest opacity-60" }, e),
91
91
  click: s
92
92
  }, [
93
93
  e && a(e),
94
- t && p({ html: t })
95
- ]), Se = ({ onSelect: e }) => n([
94
+ t && g({ html: t })
95
+ ]), Se = ({ onSelect: e }) => l([
96
96
  A(
97
97
  "open",
98
98
  (t, s, o) => t ? new k({
@@ -157,7 +157,7 @@ class Dt extends w {
157
157
  * @returns {object}
158
158
  */
159
159
  render() {
160
- return n({ class: "relative" }, [
160
+ return l({ class: "relative" }, [
161
161
  ke({
162
162
  label: this.label,
163
163
  icon: this.icon,
@@ -167,15 +167,15 @@ class Dt extends w {
167
167
  ]);
168
168
  }
169
169
  }
170
- const De = c((e, t) => n({ ...e, class: "flex flex-auto flex-col space-y-2" }, t)), Ie = c((e, t) => H({ ...e, class: "flex auto text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70" }, t)), $e = c((e, t) => m({ ...e, class: "text-sm text-muted-foreground italic" }, t)), Te = c((e, t) => m({ ...e, class: "text-sm text-destructive" }, t)), It = c((e, t = []) => ce({ class: "space-y-0", margin: "m-0", padding: "p-0" }, [
170
+ const De = c((e, t) => l({ ...e, class: "flex flex-auto flex-col gap-y-2" }, t)), Ie = c((e, t) => H({ ...e, class: "flex auto text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70" }, t)), $e = c((e, t) => m({ ...e, class: "text-sm text-muted-foreground italic" }, t)), Te = c((e, t) => m({ ...e, class: "text-sm text-destructive" }, t)), It = c((e, t = []) => ce({ class: "flex flex-auto flex-col gap-y-0", margin: "m-0", padding: "p-0" }, [
171
171
  e.title && v({ class: "text-lg font-semibold py-4 px-6" }, e.title),
172
172
  e.description && m({ class: "text-sm text-muted-foreground pb-4 px-6 max-w-[700px]" }, e.description),
173
173
  ...t
174
174
  ])), $t = c((e, t = []) => ue({ label: e.label, description: e.description, class: "py-4 px-6", border: e.border }, [
175
- n({ class: "flex flex-col space-y-6" }, t)
175
+ l({ class: "flex flex-col gap-y-6" }, t)
176
176
  ])), Tt = c((e, t = []) => {
177
177
  const s = e.border ? "border-t" : "";
178
- return n({ ...e, class: `flex flex-col pb-4 px-6 space-y-4 ${s} ${e.class || ""}` }, t);
178
+ return l({ ...e, class: `flex flex-col pb-4 px-6 gap-y-4 ${s} ${e.class || ""}` }, t);
179
179
  }), Be = (e) => e.tag === "input" || e.tag === "select" || e.tag === "textarea", G = (e, t, s) => e.map((o) => !o || (o.children && o.children.length > 0 && (o.children = G(o.children, t, s)), !o.required) ? o : Be(o) ? {
180
180
  ...o,
181
181
  aria: {
@@ -184,15 +184,15 @@ const De = c((e, t) => n({ ...e, class: "flex flex-auto flex-col space-y-2" }, t
184
184
  invalid: s,
185
185
  input: t
186
186
  } : o), Fe = c((e, t) => {
187
- const l = G(t, (r) => {
187
+ const n = G(t, (r) => {
188
188
  r.target.checkValidity() && e.setError(null);
189
189
  }, (r) => {
190
190
  e.setError(r.target.validationMessage);
191
191
  });
192
- return n({
192
+ return l({
193
193
  ...e,
194
194
  class: "w-full"
195
- }, l);
195
+ }, n);
196
196
  }), Bt = y(
197
197
  {
198
198
  /**
@@ -214,20 +214,20 @@ const De = c((e, t) => n({ ...e, class: "flex flex-auto flex-col space-y-2" }, t
214
214
  * @returns {object}
215
215
  */
216
216
  render() {
217
- const e = this.name, t = this.getId(`${e}`), { label: s, description: o } = this, l = (r) => {
217
+ const e = this.name, t = this.getId(`${e}`), { label: s, description: o } = this, n = (r) => {
218
218
  this.state.error = r, this.state.hasError = !!r;
219
219
  };
220
- return n({ class: "flex flex-auto space-y-4" }, [
220
+ return l({ class: "flex flex-auto gap-y-4" }, [
221
221
  De([
222
222
  Ie({ htmlFor: t }, s),
223
223
  Fe({
224
224
  id: t,
225
225
  name: e,
226
226
  value: this.state.value,
227
- setError: l
227
+ setError: n
228
228
  }, this.children),
229
229
  o && $e({ id: this.getId("description") }, o),
230
- n({ onState: ["error", (r) => r && Te(r)] })
230
+ l({ onState: ["error", (r) => r && Te(r)] })
231
231
  ])
232
232
  ]);
233
233
  }
@@ -236,16 +236,16 @@ const De = c((e, t) => n({ ...e, class: "flex flex-auto flex-col space-y-2" }, t
236
236
  e.target.checkValidity() && (e.preventDefault(), s && s(e, t));
237
237
  }, J = c(
238
238
  (e, t) => X({ ...e, submit: (s, o) => Ae(s, o, e.submit), class: `w-full ${e.class ?? ""}` }, t)
239
- ), Ft = c((e, t) => n({ ...e, class: `space-y-6 p-4 md:p-6 divide-y ${e.class || ""}` }, t)), At = c((e, t = []) => n({ class: "space-y-3 py-4" }, [
239
+ ), Ft = c((e, t) => l({ ...e, class: `flex flex-auto flex-col gap-y-6 p-4 md:p-6 divide-y ${e.class || ""}` }, t)), At = c((e, t = []) => l({ class: "flex flex-auto flex-col gap-y-3 py-4" }, [
240
240
  e.title && v({ class: "font-semibold" }, e.title),
241
241
  ...t
242
- ])), Lt = (e, t) => n({ class: "flex justify-between" }, [
242
+ ])), Lt = (e, t) => l({ class: "flex justify-between" }, [
243
243
  a({ class: "text-muted-foreground" }, e),
244
244
  a(t)
245
- ]), Pt = (e, t) => n({ class: "flex" }, [
245
+ ]), Pt = (e, t) => l({ class: "flex" }, [
246
246
  a({ class: "text-muted-foreground mr-8 w-24 truncate text-nowrap" }, e),
247
247
  a(t)
248
- ]), Le = ({ title: e, description: t, back: s, icon: o, options: l = [] }) => D({ class: "modal-header bg-background/80 backdrop-blur-md sticky flex flex-none items-center py-4 px-6 z-10" }, [
248
+ ]), Le = ({ title: e, description: t, back: s, icon: o, options: n = [] }) => D({ class: "modal-header bg-background/80 backdrop-blur-md sticky flex flex-none items-center py-4 px-6 z-10" }, [
249
249
  /**
250
250
  * Back Button
251
251
  */
@@ -253,27 +253,27 @@ const De = c((e, t) => n({ ...e, class: "flex flex-auto flex-col space-y-2" }, t
253
253
  /**
254
254
  * Icon
255
255
  */
256
- o && n({ class: "mr-2 w-12 h-12 rounded-full bg-muted flex flex-none items-center justify-center" }, [g(o)]),
256
+ o && l({ class: "mr-2 w-12 h-12 rounded-full bg-muted flex flex-none items-center justify-center" }, [p(o)]),
257
257
  /**
258
258
  * Title and Description
259
259
  */
260
- n({ class: "flex flex-auto flex-row justify-between w-full ml-2 gap-2" }, [
261
- n({ class: "flex flex-auto flex-col" }, [
260
+ l({ class: "flex flex-auto flex-row justify-between w-full ml-2 gap-2" }, [
261
+ l({ class: "flex flex-auto flex-col" }, [
262
262
  v({ class: "text-lg font-semibold m-0 truncate" }, e),
263
- t && n({ class: "text-sm text-muted-foreground truncate" }, t)
263
+ t && l({ class: "text-sm text-muted-foreground truncate" }, t)
264
264
  ]),
265
- ...l
265
+ ...n
266
266
  ])
267
- ]), Pe = c((e, t) => n({
267
+ ]), Pe = c((e, t) => l({
268
268
  popover: "manual",
269
269
  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}`,
270
270
  click: (s, o) => {
271
271
  s.target === o.panel && (s.preventDefault(), s.stopPropagation(), o.state.open = !1);
272
272
  }
273
273
  }, [
274
- J({ class: "modal-content relative bg-background z-[1] flex flex-auto flex-col space-y-4", submit: (s, o) => e.onSubmit && e.onSubmit(o) }, [
274
+ J({ class: "modal-content relative bg-background z-[1] flex flex-auto flex-col gap-y-4", submit: (s, o) => e.onSubmit && e.onSubmit(o) }, [
275
275
  Le(e),
276
- n({ class: "modal-body flex flex-grow flex-col overflow-y-auto py-0 px-6 z-0" }, t),
276
+ l({ class: "modal-body flex flex-grow flex-col overflow-y-auto py-0 px-6 z-0" }, t),
277
277
  L({ class: "modal-footer sticky bg-background/80 backdrop-blur-md flex flex-none justify-between py-4 px-6 z-10" }, e.buttons)
278
278
  ])
279
279
  ])), Me = (e) => W.render(e, app.root);
@@ -300,9 +300,9 @@ class Mt extends w {
300
300
  description: o,
301
301
  options: this.headerOptions(),
302
302
  buttons: this.getButtons(),
303
- onSubmit: (l) => {
303
+ onSubmit: (n) => {
304
304
  let r = !0;
305
- this.onSubmit && (r = this.onSubmit(l)), r !== !1 && this.destroy();
305
+ this.onSubmit && (r = this.onSubmit(n)), r !== !1 && this.destroy();
306
306
  },
307
307
  icon: this.icon,
308
308
  back: this.back ?? !1,
@@ -471,7 +471,7 @@ const z = {
471
471
  animateIn: "pullRightIn",
472
472
  animateOut: "pullRight",
473
473
  role: "alert"
474
- }, s)), ze = c(({ close: e, class: t }, s) => n({
474
+ }, s)), ze = c(({ close: e, class: t }, s) => l({
475
475
  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}`,
476
476
  click: () => e(),
477
477
  animateIn: "pullRightIn",
@@ -501,9 +501,9 @@ class je extends w {
501
501
  * @returns {object}
502
502
  */
503
503
  render() {
504
- const { bgColor: t, borderColor: s, iconColor: o } = this.getTypeStyles(), l = this.href || null, r = this.getChildren(o);
505
- return l ? Ne({
506
- href: l,
504
+ const { bgColor: t, borderColor: s, iconColor: o } = this.getTypeStyles(), n = this.href || null, r = this.getChildren(o);
505
+ return n ? Ne({
506
+ href: n,
507
507
  class: `${t} ${s}`
508
508
  }, r) : ze({
509
509
  close: this.close.bind(this),
@@ -535,7 +535,7 @@ class je extends w {
535
535
  */
536
536
  getButtons() {
537
537
  return [
538
- n({ class: "flex flex-row mt-6 gap-2" }, [
538
+ l({ class: "flex flex-row mt-6 gap-2" }, [
539
539
  this.secondary && h({ variant: "outline", click: () => this.secondaryAction && this.secondaryAction() }, this.secondary),
540
540
  this.primary && h({ click: () => this.primaryAction && this.primaryAction() }, this.primary)
541
541
  ])
@@ -549,10 +549,10 @@ class je extends w {
549
549
  */
550
550
  getChildren(t) {
551
551
  return [
552
- n({ class: "flex items-start" }, [
553
- this.icon && p({ class: `mr-4 ${t}`, html: this.icon }),
554
- n({ class: "flex flex-auto flex-col" }, [
555
- n({ class: "flex flex-auto flex-row items-center w-full pr-12" }, [
552
+ l({ class: "flex items-start" }, [
553
+ this.icon && g({ class: `mr-4 ${t}`, html: this.icon }),
554
+ l({ class: "flex flex-auto flex-col" }, [
555
+ l({ class: "flex flex-auto flex-row items-center w-full pr-12" }, [
556
556
  this.title && Ee(this.title)
557
557
  ]),
558
558
  m({ class: "text-base text-muted-foreground m-0 pr-12" }, this.description),
@@ -585,7 +585,7 @@ class Et extends w {
585
585
  * @returns {object}
586
586
  */
587
587
  render() {
588
- 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" }, [
588
+ return l({ 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" }, [
589
589
  new he({
590
590
  cache: "list",
591
591
  key: "id",
@@ -617,11 +617,11 @@ const j = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
617
617
  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',
618
618
  onState: ["method", { active: e }],
619
619
  dataSet: ["method", ["state", e, "active"]],
620
- click: (o, { state: l }) => {
621
- l.method = e, localStorage.setItem("theme", e), e === "system" && localStorage.removeItem("theme"), Ue(e);
620
+ click: (o, { state: n }) => {
621
+ n.method = e, localStorage.setItem("theme", e), e === "system" && localStorage.removeItem("theme"), Ue(e);
622
622
  }
623
623
  }, [
624
- g(s),
624
+ p(s),
625
625
  a(t)
626
626
  ])), Ue = (e) => {
627
627
  const t = document.documentElement;
@@ -639,8 +639,8 @@ const j = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
639
639
  * @returns {object}
640
640
  */
641
641
  render() {
642
- return n({ class: "flex flex-auto flex-col" }, [
643
- n({ class: "grid grid-cols-3 gap-4" }, [
642
+ return l({ class: "flex flex-auto flex-col" }, [
643
+ l({ class: "grid grid-cols-3 gap-4" }, [
644
644
  T({ label: "System", value: "system", icon: d.adjustments.horizontal }),
645
645
  T({ label: "Light", value: "light", icon: d.sun }),
646
646
  T({ label: "Dark", value: "dark", icon: d.moon })
@@ -720,9 +720,9 @@ const j = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
720
720
  OFFLINE: "bg-gray-500",
721
721
  BUSY: "bg-red-500",
722
722
  AWAY: "bg-yellow-500"
723
- }, Re = (e = "") => (e = e.toUpperCase(), b[e] || b.OFFLINE), jt = (e) => n({
723
+ }, Re = (e = "") => (e = e.toUpperCase(), b[e] || b.OFFLINE), jt = (e) => l({
724
724
  class: `absolute bottom-0 right-0 w-3 h-3 border-2 rounded-full ${Re(e)}`
725
- }), Ot = ({ propName: e = "status" } = {}) => n({
725
+ }), Ot = ({ propName: e = "status" } = {}) => l({
726
726
  class: "absolute bottom-0 right-0 w-3 h-3 border-2 rounded-full",
727
727
  onSet: [e, {
728
728
  [b.ONLINE]: S.ONLINE,
@@ -768,7 +768,7 @@ const j = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
768
768
  */
769
769
  render() {
770
770
  const e = "logo-upload", t = this.onChange || null;
771
- return n({ class: "flex-none items-center" }, [
771
+ return l({ class: "flex-none items-center" }, [
772
772
  x({
773
773
  id: e,
774
774
  cache: "input",
@@ -780,7 +780,7 @@ const j = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
780
780
  o && t && (this.state.loaded = !1, t(o, this.parent), this.src = this.getFileUrl(o), this.state.loaded = !0);
781
781
  }
782
782
  }),
783
- n({
783
+ l({
784
784
  class: "relative w-32 h-32 rounded-full border flex items-center justify-center cursor-pointer hover:bg-muted transition-colors duration-150 overflow-hidden group",
785
785
  click: (s) => {
786
786
  s.preventDefault(), s.stopPropagation(), this.openFileBrowse();
@@ -796,8 +796,8 @@ const j = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
796
796
  htmlFor: e,
797
797
  class: "z-10 flex flex-col items-center justify-center text-sm text-muted-foreground group-hover:text-primary"
798
798
  }, [
799
- g(d.upload),
800
- n("Upload logo")
799
+ p(d.upload),
800
+ l("Upload logo")
801
801
  ])
802
802
  )
803
803
  ])
@@ -812,11 +812,11 @@ const j = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
812
812
  class: "text-muted-foreground font-medium hover:text-foreground"
813
813
  },
814
814
  [a(t)]
815
- ), qe = () => g({
815
+ ), qe = () => p({
816
816
  class: "mx-3 text-muted-foreground",
817
817
  "aria-hidden": !0,
818
818
  size: "xs"
819
- }, d.chevron.single.right), He = (e) => n({ class: "flex items-center" }, [
819
+ }, d.chevron.single.right), He = (e) => l({ class: "flex items-center" }, [
820
820
  e.href ? Ve(e.href, e.label) : a(e.label),
821
821
  e.separator && qe()
822
822
  ]), Rt = C(
@@ -842,10 +842,10 @@ const j = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
842
842
  return se(
843
843
  {
844
844
  "aria-label": "Breadcrumb",
845
- class: "flex items-center space-x-1 text-sm"
845
+ class: "flex items-center gap-x-1 text-sm"
846
846
  },
847
847
  [
848
- n({
848
+ l({
849
849
  role: "list",
850
850
  class: "flex items-center",
851
851
  for: ["items", (t, s) => He({
@@ -867,15 +867,15 @@ const j = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
867
867
  "2xl": "h-16 w-16",
868
868
  "3xl": "h-24 w-24",
869
869
  default: "h-4 w-4"
870
- }, Ye = (e) => O[e] || O.default, _e = ({ index: e, size: t }) => n({ class: `${t} rounded-full bg-muted cursor-pointer` }, [
870
+ }, Ye = (e) => O[e] || O.default, _e = ({ index: e, size: t }) => l({ class: `${t} rounded-full bg-muted cursor-pointer` }, [
871
871
  a({
872
872
  class: "block w-full h-full rounded-full transition-colors",
873
873
  onSet: ["activeIndex", {
874
874
  "bg-primary": e,
875
875
  "shadow-md": e
876
876
  }],
877
- click: (s, { data: o, onClick: l }) => {
878
- o.activeIndex = e, l && l(e);
877
+ click: (s, { data: o, onClick: n }) => {
878
+ o.activeIndex = e, n && n(e);
879
879
  }
880
880
  })
881
881
  ]), We = (e, t) => Array.from({ length: e }, (s, o) => _e({
@@ -904,10 +904,10 @@ const j = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
904
904
  */
905
905
  render() {
906
906
  const e = this.gap || "gap-2", t = Ye(this.size || "sm"), s = We(this.data.count, t);
907
- return n(
907
+ return l(
908
908
  { class: "flex justify-center items-center py-2" },
909
909
  [
910
- n({ class: `flex ${e}` }, s)
910
+ l({ class: `flex ${e}` }, s)
911
911
  ]
912
912
  );
913
913
  }
@@ -920,24 +920,24 @@ const j = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
920
920
  },
921
921
  [
922
922
  a({ onState: ["selectedLabel", (t) => t || "Select item..."] }),
923
- p({ html: d.chevron.upDown })
923
+ g({ html: d.chevron.upDown })
924
924
  ]
925
925
  ), Je = (e, t, s) => V({
926
926
  class: "flex flex-auto items-center cursor-pointer p-2 hover:bg-muted/50 rounded-sm",
927
927
  click: () => t(e),
928
928
  onState: [s, "selectedValue", { "bg-secondary": e.value }]
929
929
  }, [
930
- e.icon && a({ class: "mr-2 flex items-baseline" }, [g({ size: "xs" }, e.icon)]),
930
+ e.icon && a({ class: "mr-2 flex items-baseline" }, [p({ size: "xs" }, e.icon)]),
931
931
  a({ class: "text-base font-normal" }, e.label)
932
- ]), Ke = (e, t) => n({ class: "w-full border rounded-md" }, [
932
+ ]), Ke = (e, t) => l({ class: "w-full border rounded-md" }, [
933
933
  q({ class: "max-h-60 overflow-y-auto p-2 grid gap-1", for: ["items", (s) => Je(s, e, t)] })
934
- ]), Qe = ({ onSelect: e, state: t }) => n({ class: "flex flex-auto flex-col" }, [
934
+ ]), Qe = ({ onSelect: e, state: t }) => l({ class: "flex flex-auto flex-col" }, [
935
935
  A(
936
936
  "open",
937
- (s, o, l) => s ? new k({
937
+ (s, o, n) => s ? new k({
938
938
  cache: "dropdown",
939
- parent: l,
940
- button: l.button
939
+ parent: n,
940
+ button: n.button
941
941
  }, [
942
942
  Ke(e, t)
943
943
  ]) : null
@@ -1021,7 +1021,7 @@ const j = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
1021
1021
  */
1022
1022
  render() {
1023
1023
  const e = this.class || "", t = this.maxWidth || "max-w-[250px]", s = this.width || "w-full";
1024
- return n({ class: `relative ${s} flex flex-auto flex-col ${t} ${e}` }, [
1024
+ return l({ class: `relative ${s} flex flex-auto flex-col ${t} ${e}` }, [
1025
1025
  // @ts-ignore
1026
1026
  Ge({ toggleDropdown: this.toggleDropdown.bind(this) }),
1027
1027
  Qe({
@@ -1058,8 +1058,8 @@ const j = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
1058
1058
  icon: d.circlePlus,
1059
1059
  click: e,
1060
1060
  ariaLabel: "Increment"
1061
- }), et = ({ bind: e, min: t, max: s, readonly: o = !1 }) => _(({ state: l }) => x({
1062
- value: ["[[count]]", l],
1061
+ }), et = ({ bind: e, min: t, max: s, readonly: o = !1 }) => _(({ state: n }) => x({
1062
+ value: ["[[count]]", n],
1063
1063
  bind: e,
1064
1064
  blur: (r, { state: i }) => {
1065
1065
  let u = parseInt(r.target.value, 10);
@@ -1093,7 +1093,7 @@ const j = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
1093
1093
  */
1094
1094
  render() {
1095
1095
  const e = this.class ?? "";
1096
- return n({ class: `flex flex-auto items-center justify-between space-x-4 p-4 ${e}` }, [
1096
+ return l({ class: `flex flex-auto items-center justify-between gap-x-4 p-4 ${e}` }, [
1097
1097
  Xe({ click: () => this.state.decrement("count") }),
1098
1098
  et({
1099
1099
  bind: this.bind,
@@ -1118,16 +1118,16 @@ const j = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
1118
1118
  a({
1119
1119
  onState: ["selectedDate", (o) => o ? F.format("standard", o) : "Pick a date"]
1120
1120
  }),
1121
- p({ html: d.calendar.days })
1121
+ g({ html: d.calendar.days })
1122
1122
  ]), ot = ({ handleDateSelect: e, blockPriorDates: t }) => P(
1123
- (s, o, l) => new k({
1123
+ (s, o, n) => new k({
1124
1124
  cache: "dropdown",
1125
- parent: l,
1126
- button: l.panel,
1125
+ parent: n,
1126
+ button: n.panel,
1127
1127
  size: "fit"
1128
1128
  }, [
1129
1129
  new ie({
1130
- selectedDate: l.state.selectedDate,
1130
+ selectedDate: n.state.selectedDate,
1131
1131
  selectedCallBack: e,
1132
1132
  blockPriorDates: t
1133
1133
  })
@@ -1163,7 +1163,7 @@ const j = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
1163
1163
  const e = (s, { state: o }) => o.toggle("open"), t = (s) => {
1164
1164
  this.state.selectedDate = s, this.state.open = !1, this.input.value = s, $.trigger("change", this.input), typeof this.onChange == "function" && this.onChange(s);
1165
1165
  };
1166
- return n({ class: "relative w-full max-w-[320px]" }, [
1166
+ return l({ class: "relative w-full max-w-[320px]" }, [
1167
1167
  st({
1168
1168
  toggleOpen: e,
1169
1169
  bind: this.bind,
@@ -1176,31 +1176,31 @@ const j = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
1176
1176
  ]);
1177
1177
  }
1178
1178
  }
1179
- ), nt = ({ bind: e, required: t }) => x({
1179
+ ), lt = ({ bind: e, required: t }) => x({
1180
1180
  cache: "input",
1181
1181
  class: "opacity-0 absolute top-0 left-0 w-full h-full pointer-events-none",
1182
1182
  bind: e,
1183
1183
  required: t
1184
- }), lt = ({ bind: e, required: t, toggleOpen: s }) => f({
1184
+ }), nt = ({ bind: e, required: t, toggleOpen: s }) => f({
1185
1185
  class: "relative flex items-center gap-2 w-full justify-between border bg-input hover:bg-muted rounded-md h-10 px-4 py-2",
1186
1186
  click: s
1187
1187
  }, [
1188
- nt({ bind: e, required: t }),
1188
+ lt({ bind: e, required: t }),
1189
1189
  _(({ state: o }) => [
1190
1190
  a(E.date(["[[start]]", o], "Start Date")),
1191
1191
  a(" - "),
1192
1192
  a(E.date(["[[end]]", o], "End Date"))
1193
1193
  ]),
1194
- p({ html: d.calendar.days })
1195
- ]), rt = ({ handleDateSelect: e, blockPriorDates: t }) => P((s, o, l) => new k({
1194
+ g({ html: d.calendar.days })
1195
+ ]), rt = ({ handleDateSelect: e, blockPriorDates: t }) => P((s, o, n) => new k({
1196
1196
  cache: "dropdown",
1197
- parent: l,
1198
- button: l.panel,
1197
+ parent: n,
1198
+ button: n.panel,
1199
1199
  size: "xl"
1200
1200
  }, [
1201
1201
  new ae({
1202
- startDate: l.state.start,
1203
- endDate: l.state.end,
1202
+ startDate: n.state.start,
1203
+ endDate: n.state.end,
1204
1204
  onRangeSelect: e,
1205
1205
  blockPriorDates: t
1206
1206
  })
@@ -1239,8 +1239,8 @@ const j = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
1239
1239
  const e = (s, { state: o }) => o.toggle("open"), t = (s, o) => {
1240
1240
  this.state.start = s, this.state.end = o, this.state.open = !1, this.input.value = `${s}-${o}`, $.trigger("change", this.input), typeof this.onChange == "function" && this.onChange({ start: s, end: o }, this.parent);
1241
1241
  };
1242
- return n({ class: "relative w-full max-w-[320px]" }, [
1243
- lt({
1242
+ return l({ class: "relative w-full max-w-[320px]" }, [
1243
+ nt({
1244
1244
  toggleOpen: e,
1245
1245
  bind: this.bind,
1246
1246
  required: this.required
@@ -1256,8 +1256,8 @@ const j = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
1256
1256
  new fe({
1257
1257
  dateTime: e,
1258
1258
  filter: s || ((o) => {
1259
- const l = F.getLocalTime(o, !0, !1, t);
1260
- return F.getTimeFrame(l);
1259
+ const n = F.getLocalTime(o, !0, !1, t);
1260
+ return F.getTimeFrame(n);
1261
1261
  })
1262
1262
  })
1263
1263
  ]);
@@ -1280,15 +1280,15 @@ function at({ bind: e, required: t, toggleOpen: s }) {
1280
1280
  a({
1281
1281
  onState: ["selectedTime", (o) => o || "Pick a time"]
1282
1282
  }),
1283
- p({ html: d.clock })
1283
+ g({ html: d.clock })
1284
1284
  ]
1285
1285
  );
1286
1286
  }
1287
- function B({ items: e, handleTimeSelect: t, state: s, stateValue: o, pad: l = !1 }) {
1288
- return n(
1287
+ function B({ items: e, handleTimeSelect: t, state: s, stateValue: o, pad: n = !1 }) {
1288
+ return l(
1289
1289
  { class: "flex flex-col max-h-[200px] overflow-y-auto" },
1290
1290
  e.map((r) => {
1291
- let i = l ? r.toString().padStart(2, "0") : r.toString();
1291
+ let i = n ? r.toString().padStart(2, "0") : r.toString();
1292
1292
  return f({
1293
1293
  text: i,
1294
1294
  class: "hover:bg-muted/50 rounded-md px-2 py-1",
@@ -1308,15 +1308,15 @@ function ct({ handleTimeSelect: e }) {
1308
1308
  size: "fit"
1309
1309
  },
1310
1310
  [
1311
- n(
1311
+ l(
1312
1312
  { class: "flex flex-auto flex-col border rounded-md shadow-md" },
1313
1313
  [
1314
- n(
1314
+ l(
1315
1315
  { class: "grid grid-cols-3 gap-2 p-4 text-center max-h-[220px] min-w-[240px]" },
1316
1316
  [
1317
1317
  // Hours column
1318
1318
  B({
1319
- items: Array.from({ length: 12 }, (l, r) => r + 1),
1319
+ items: Array.from({ length: 12 }, (n, r) => r + 1),
1320
1320
  handleTimeSelect: e,
1321
1321
  state: o.state,
1322
1322
  stateValue: "hour",
@@ -1324,7 +1324,7 @@ function ct({ handleTimeSelect: e }) {
1324
1324
  }),
1325
1325
  // Minutes column
1326
1326
  B({
1327
- items: Array.from({ length: 60 }, (l, r) => r),
1327
+ items: Array.from({ length: 60 }, (n, r) => r),
1328
1328
  handleTimeSelect: e,
1329
1329
  state: o.state,
1330
1330
  stateValue: "minute",
@@ -1351,7 +1351,7 @@ function U(e) {
1351
1351
  const t = /^(\d{1,2}):(\d{2})(?::(\d{2}))?\s?(AM|PM)?$/i, s = e.match(t);
1352
1352
  if (!s)
1353
1353
  return { hour: null, minute: null, meridian: null };
1354
- let [, o, l, , r] = s, i = parseInt(o, 10), u = parseInt(l, 10);
1354
+ let [, o, n, , r] = s, i = parseInt(o, 10), u = parseInt(n, 10);
1355
1355
  return i < 0 || i > 23 || u < 0 || u > 59 ? { hour: null, minute: null, meridian: null } : (r ? (r = r.toUpperCase(), r === "PM" && i < 12 ? i += 12 : r === "AM" && i === 12 && (i = 12)) : i === 0 ? (r = "AM", i = 12) : i < 12 ? r = "AM" : i === 12 ? r = "PM" : (r = "PM", i -= 12), {
1356
1356
  hour: i.toString().padStart(2, "0"),
1357
1357
  minute: u.toString().padStart(2, "0"),
@@ -1397,13 +1397,13 @@ const Gt = y(
1397
1397
  * @returns {object}
1398
1398
  */
1399
1399
  render() {
1400
- const e = (s, { state: o }) => o.toggle("open"), t = ({ hour: s, minute: o, meridian: l }) => {
1401
- 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) {
1400
+ const e = (s, { state: o }) => o.toggle("open"), t = ({ hour: s, minute: o, meridian: n }) => {
1401
+ if (s && (this.state.hour = s), o && (this.state.minute = o), n && (this.state.meridian = n), this.state.hour && this.state.minute && this.state.meridian) {
1402
1402
  const r = `${this.state.hour}:${this.state.minute} ${this.state.meridian}`;
1403
1403
  this.state.selectedTime = r, this.state.open = !1, this.input.value = r, $.trigger("change", this.input), typeof this.change == "function" && this.change(r);
1404
1404
  }
1405
1405
  };
1406
- return n(
1406
+ return l(
1407
1407
  { class: "relative w-full max-w-[320px]" },
1408
1408
  [
1409
1409
  at({
@@ -1418,11 +1418,11 @@ const Gt = y(
1418
1418
  );
1419
1419
  }
1420
1420
  }
1421
- ), ut = (e, t) => n({ class: `hidden md:flex items-start justify-center w-6 h-6 mr-3 ${t}` }, [
1422
- g({ size: "lg" }, e)
1421
+ ), ut = (e, t) => l({ class: `hidden md:flex items-start justify-center w-6 h-6 mr-3 ${t}` }, [
1422
+ p({ size: "lg" }, e)
1423
1423
  ]), dt = ({ title: e }) => D({ class: "flex flex-auto items-center" }, [
1424
1424
  v({ class: "text-lg font-semibold" }, e)
1425
- ]), ht = c((e, t) => ne(
1425
+ ]), ht = c((e, t) => le(
1426
1426
  {
1427
1427
  class: `fixed pullUpIn z-30 w-[98%] border md:w-full max-w-lg bg-popover text-foreground shadow-lg duration-200
1428
1428
  rounded-lg flex flex-auto flex-col
@@ -1431,16 +1431,16 @@ const Gt = y(
1431
1431
  aria: { expanded: ["open"] }
1432
1432
  },
1433
1433
  [
1434
- n({ class: "flex flex-auto p-6 pb-12 md:pb-6" }, [
1434
+ l({ class: "flex flex-auto p-6 pb-12 md:pb-6" }, [
1435
1435
  // Icon and content
1436
1436
  e.icon && ut(e.icon, e.iconColor),
1437
- n({ class: "flex flex-auto flex-col gap-4" }, [
1438
- n({ class: "flex flex-auto flex-col space-y-2" }, [
1437
+ l({ class: "flex flex-auto flex-col gap-4" }, [
1438
+ l({ class: "flex flex-auto flex-col gap-y-2" }, [
1439
1439
  dt(e),
1440
1440
  e.description && m({ class: "flex flex-auto flex-col text-sm text-muted-foreground" }, e.description),
1441
- n({ class: "flex flex-auto flex-col text-sm text-muted-foreground" }, t)
1441
+ l({ class: "flex flex-auto flex-col text-sm text-muted-foreground" }, t)
1442
1442
  ]),
1443
- e.buttons && L({ class: "flex flex-col-reverse sm:flex-row sm:justify-end mt-6 gap-2 sm:gap-0 sm:space-x-2" }, e.buttons)
1443
+ e.buttons && L({ class: "flex flex-col-reverse sm:flex-row sm:justify-end mt-6 gap-2 sm:gap-0 sm:gap-x-2" }, e.buttons)
1444
1444
  ])
1445
1445
  ])
1446
1446
  ]
@@ -1488,13 +1488,13 @@ class mt extends w {
1488
1488
  render() {
1489
1489
  const t = (u) => {
1490
1490
  u.target === this.panel && this.close();
1491
- }, { borderColor: s, bgColor: o, iconColor: l } = R[this.type] || R.default, r = `${this.getMainClass()} ${o} ${s}`, i = this.title || "Dialog Title";
1491
+ }, { borderColor: s, bgColor: o, iconColor: n } = R[this.type] || R.default, r = `${this.getMainClass()} ${o} ${s}`, i = this.title || "Dialog Title";
1492
1492
  return ht({
1493
1493
  class: r,
1494
1494
  title: i,
1495
1495
  click: t,
1496
1496
  icon: this.icon,
1497
- iconColor: l,
1497
+ iconColor: n,
1498
1498
  description: this.description,
1499
1499
  buttons: this.getButtons()
1500
1500
  }, this.children);
@@ -1574,12 +1574,12 @@ class Jt extends mt {
1574
1574
  this.confirmed && this.confirmed(), this.close();
1575
1575
  }
1576
1576
  }
1577
- const Kt = c((e, t = []) => n({ class: "w-full max-w-md p-6 m-auto" }, [
1577
+ const Kt = c((e, t = []) => l({ class: "w-full max-w-md p-6 m-auto" }, [
1578
1578
  J({ class: "flex flex-auto flex-col" }, [
1579
- n({ class: "flex flex-auto flex-col space-y-4" }, [
1580
- n({ class: "flex flex-auto items-center justify-center" }, [
1581
- e.icon && n({ class: "w-16 h-16 mb-2 text-primary" }, [
1582
- g(e.icon)
1579
+ l({ class: "flex flex-auto flex-col gap-y-4" }, [
1580
+ l({ class: "flex flex-auto items-center justify-center" }, [
1581
+ e.icon && l({ class: "w-16 h-16 mb-2 text-primary" }, [
1582
+ p(e.icon)
1583
1583
  ])
1584
1584
  ]),
1585
1585
  D({ class: "py-4 text-center" }, [
package/dist/index.es.js CHANGED
@@ -1,11 +1,11 @@
1
- import { B as s, C as o, F as t, L as r, P as n, R as l, S as i, a as p, T as m } from "./tooltip-fLU0qdFi.js";
1
+ import { B as s, C as o, F as t, L as r, P as n, R as l, S as i, a as p, T as m } from "./tooltip-EO3J6QFR.js";
2
2
  import { B as d, I as g, L as C } from "./buttons-CHEs54Wl.js";
3
- import { C as T, F as D, V as I, a as b } from "./veil-B1pwIy-D.js";
4
- import { C as F, d as P, D as B, c as k, E as M, F as f, H as x, I as N, M as v, N as y, P as h, R as L, T as W, a as H, b as A, U as R, W as w } from "./inputs-DYxmO1rQ.js";
3
+ import { C as T, F as D, V as I, a as b } from "./veil-fLMV40Wv.js";
4
+ import { C as F, d as P, D as B, c as k, E as M, F as f, H as x, I as N, M as v, N as y, P as h, R as L, T as W, a as H, b as A, U as R, W as w } from "./inputs-9udyzkHR.js";
5
5
  import { Icons as G } from "./icons.es.js";
6
- import { A as E, B as V, C as j, w as q, J, y as z, z as K, E as Q, G as _, D as X, m as Y, n as Z, O as $, K as aa, v as ea, c as sa, a as oa, b as ta, Q as ra, l as na, g as la, i as ia, h as pa, j as ma, e as ua, k as da, F as ga, d as Ca, f as ca, L as Ta, x as Da, M as Ia, o as ba, N as Sa, P as Fa, s as Pa, t as Ba, S as ka, q as Ma, r as fa, T as xa, H as Na, I as va, p as ya, u as ha } from "./empty-state-9BzsaWJW.js";
7
- import { A as Wa, b as Ha, C as Aa, D as Ra, a as wa, F as Ua, M as Ga, P as Oa, R as Ea, c as Va, g as ja, p as qa } from "./range-calendar-UXMh98a5.js";
8
- import { B as za, p as Ka, C as Qa, j as _a, D as Xa, m as Ya, k as Za, H as $a, I as ae, N as ee, O as se, P as oe, S as te, n as re, o as ne, t as le, s as ie, q as pe, r as me, T as ue, l as de, U as ge, W as Ce, f as ce, h as Te, i as De, c as Ie, d as be, b as Se, e as Fe, a as Pe, g as Be } from "./signature-panel-vkcc6Dnu.js";
6
+ import { A as E, B as V, C as j, w as q, J, y as z, z as K, E as Q, G as _, D as X, m as Y, n as Z, O as $, K as aa, v as ea, c as sa, a as oa, b as ta, Q as ra, l as na, g as la, i as ia, h as pa, j as ma, e as ua, k as da, F as ga, d as Ca, f as ca, L as Ta, x as Da, M as Ia, o as ba, N as Sa, P as Fa, s as Pa, t as Ba, S as ka, q as Ma, r as fa, T as xa, H as Na, I as va, p as ya, u as ha } from "./empty-state-BunnaSN9.js";
7
+ import { A as Wa, b as Ha, C as Aa, D as Ra, a as wa, F as Ua, M as Ga, P as Oa, R as Ea, c as Va, g as ja, p as qa } from "./range-calendar-CnBylqhu.js";
8
+ import { B as za, p as Ka, C as Qa, j as _a, D as Xa, m as Ya, k as Za, H as $a, I as ae, N as ee, O as se, P as oe, S as te, n as re, o as ne, t as le, s as ie, q as pe, r as me, T as ue, l as de, U as ge, W as Ce, f as ce, h as Te, i as De, c as Ie, d as be, b as Se, e as Fe, a as Pe, g as Be } from "./signature-panel-CEqzd6Sa.js";
9
9
  import { B as Me, I as fe, M as xe, d as Ne, e as ve, g as ye, N as he, b as Le, a as We, f as He, P as Ae, c as Re, S as we, T as Ue } from "./mobile-nav-wrapper-CWqhZ0qz.js";
10
10
  import { B as Oe, a as Ee, C as Ve, F as je, b as qe, c as Je, M as ze, P as Ke, S as Qe } from "./sidebar-menu-page-UmKsAvjb.js";
11
11
  import { A as Xe, F as Ye, M as Ze, a as $e, T as as } from "./aside-template-sUm-F2f0.js";
@@ -83,7 +83,7 @@ const I = "flex h-10 w-full px-3 py-2 text-sm", n = "rounded-md border border-bo
83
83
  */
84
84
  render() {
85
85
  const e = this.getId(), c = (t) => this.clickHandler(t);
86
- return u({ class: `flex items-center space-x-2 cursor-pointer ${this.class || ""}` }, [
86
+ return u({ class: `flex items-center gap-x-2 cursor-pointer ${this.class || ""}` }, [
87
87
  w({
88
88
  id: e,
89
89
  // @ts-ignore
@@ -128,7 +128,7 @@ const I = "flex h-10 w-full px-3 py-2 text-sm", n = "rounded-md border border-bo
128
128
  ...e,
129
129
  as: "textarea",
130
130
  class: `flex w-full h-24 px-3 py-2 text-sm ${n} ${o} ${l} ${a} ${e.class || ""}`.trim()
131
- })), R = (e = {}) => u({ class: "flex items-center space-x-2" }, [
131
+ })), R = (e = {}) => u({ class: "flex items-center gap-x-2" }, [
132
132
  r({
133
133
  ...e,
134
134
  type: "radio",
@@ -1,5 +1,5 @@
1
- import { A as s, B as t, C as r, w as e, J as i, y as n, z as m, E as l, G as C, D as d, m as S, n as p, O as u, K as D, v as c, c as g, a as F, b as T, Q as P, l as A, g as f, i as w, h as I, j as b, e as y, k as B, F as M, d as k, f as x, L, x as v, M as E, o as N, N as R, P as U, s as h, t as G, S as O, q as j, r as q, T as z, H, I as J, p as K, u as Q } from "./empty-state-9BzsaWJW.js";
2
- import { A as V, P as W, g as X } from "./range-calendar-UXMh98a5.js";
1
+ import { A as s, B as t, C as r, w as e, J as i, y as n, z as m, E as l, G as C, D as d, m as S, n as p, O as u, K as D, v as c, c as g, a as F, b as T, Q as P, l as A, g as f, i as w, h as I, j as b, e as y, k as B, F as M, d as k, f as x, L, x as v, M as E, o as N, N as R, P as U, s as h, t as G, S as O, q as j, r as q, T as z, H, I as J, p as K, u as Q } from "./empty-state-BunnaSN9.js";
2
+ import { A as V, P as W, g as X } from "./range-calendar-CnBylqhu.js";
3
3
  export {
4
4
  s as Alert,
5
5
  V as Avatar,
@@ -1,5 +1,5 @@
1
- import { B as s, p as t, C as o, j as r, D as n, m as l, k as i, H as b, I as d, N as g, O as p, P as u, S as v, n as D, o as N, t as k, s as C, q as c, r as T, T as M, l as m, U as y, W as B, f as W, h, i as S, c as H, d as P, b as I, e as f, a as x, g as L } from "./signature-panel-vkcc6Dnu.js";
2
- import { b as F, C as U, D as G, a as R, F as j, M as q, R as w, c as z, p as A } from "./range-calendar-UXMh98a5.js";
1
+ import { B as s, p as t, C as o, j as r, D as n, m as l, k as i, H as b, I as d, N as g, O as p, P as u, S as v, n as D, o as N, t as k, s as C, q as c, r as T, T as M, l as m, U as y, W as B, f as W, h, i as S, c as H, d as P, b as I, e as f, a as x, g as L } from "./signature-panel-CEqzd6Sa.js";
2
+ import { b as F, C as U, D as G, a as R, F as j, M as q, R as w, c as z, p as A } from "./range-calendar-CnBylqhu.js";
3
3
  import { B as J, I as K, M as Q, d as V, e as X, g as Y, N as Z, b as _, a as $, f as aa, P as ea, c as sa, S as ta, T as oa } from "./mobile-nav-wrapper-CWqhZ0qz.js";
4
4
  export {
5
5
  s as BackButton,
@@ -3,10 +3,10 @@ import { Component as O, Data as B, Atom as j, DateTime as T } from "@base-frame
3
3
  import { B as f } from "./buttons-CHEs54Wl.js";
4
4
  import { Icons as P } from "./icons.es.js";
5
5
  const U = (n, t) => {
6
- const e = n ? n.getBoundingClientRect() : { top: 0, bottom: 0, left: 0 }, a = t.getBoundingClientRect(), s = 10, r = globalThis.scrollX, c = globalThis.scrollY;
7
- let i = e.left + r, d = e.bottom + c;
6
+ const e = n ? n.getBoundingClientRect() : { top: 0, bottom: 0, left: 0 }, a = t.getBoundingClientRect(), s = 10, r = globalThis.scrollX, l = globalThis.scrollY;
7
+ let i = e.left + r, d = e.bottom + l;
8
8
  const g = globalThis.innerHeight - e.bottom, m = e.top;
9
- return i + a.width > globalThis.innerWidth && (i = globalThis.innerWidth - a.width - s), g < a.height && m > g ? d = e.top + c - a.height - s : g < a.height && (d = e.bottom + c - (a.height - g) - s), { x: i, y: d };
9
+ return i + a.width > globalThis.innerWidth && (i = globalThis.innerWidth - a.width - s), g < a.height && m > g ? d = e.top + l - a.height - s : g < a.height && (d = e.bottom + l - (a.height - g) - s), { x: i, y: d };
10
10
  };
11
11
  class Pt extends O {
12
12
  /**
@@ -215,7 +215,7 @@ const q = j(({ src: n, alt: t }) => n ? _({
215
215
  date: a,
216
216
  isToday: s,
217
217
  isOutsideMonth: r,
218
- select: c,
218
+ select: l,
219
219
  disabled: i
220
220
  } = n;
221
221
  return L(
@@ -229,18 +229,18 @@ const q = j(({ src: n, alt: t }) => n ? _({
229
229
  disabled: i || t === null,
230
230
  "aria-label": t ? `Day ${t}` : null,
231
231
  // Only call select if it's not disabled.
232
- click: () => !i && c(a)
232
+ click: () => !i && l(a)
233
233
  },
234
234
  t.toString()
235
235
  );
236
- }, Y = (n, t, e, a) => n === a.date && t === a.month && e === a.year, ct = (n, t, e, a = !1) => {
237
- const { year: s, month: r } = n, c = w(s, r, n.date), i = new Date(s, r, 1).getDay(), d = new Date(s, r + 1, 0).getDate(), g = new Date(s, r, 0).getDate(), m = [], C = r === 0 ? 11 : r - 1, v = r === 0 ? s - 1 : s;
236
+ }, Y = (n, t, e, a) => n === a.date && t === a.month && e === a.year, lt = (n, t, e, a = !1) => {
237
+ const { year: s, month: r } = n, l = w(s, r, n.date), i = new Date(s, r, 1).getDay(), d = new Date(s, r + 1, 0).getDate(), g = new Date(s, r, 0).getDate(), m = [], C = r === 0 ? 11 : r - 1, v = r === 0 ? s - 1 : s;
238
238
  for (let o = i - 1; o >= 0; o--) {
239
239
  const u = g - o, p = Y(u, C, v, t), y = new Date(v, C, u) < new Date(t.year, t.month, t.date), x = a && y;
240
240
  m.push(
241
241
  N({
242
242
  day: u,
243
- currentDate: c,
243
+ currentDate: l,
244
244
  date: w(v, C, u),
245
245
  isToday: p,
246
246
  isOutsideMonth: !0,
@@ -254,7 +254,7 @@ const q = j(({ src: n, alt: t }) => n ? _({
254
254
  m.push(
255
255
  N({
256
256
  day: o,
257
- currentDate: c,
257
+ currentDate: l,
258
258
  date: w(s, r, o),
259
259
  isToday: u,
260
260
  isOutsideMonth: !1,
@@ -263,13 +263,13 @@ const q = j(({ src: n, alt: t }) => n ? _({
263
263
  })
264
264
  );
265
265
  }
266
- const b = r === 11 ? 0 : r + 1, $ = r === 11 ? s + 1 : s, l = (7 - m.length % 7) % 7;
267
- for (let o = 1; o <= l; o++) {
266
+ const b = r === 11 ? 0 : r + 1, $ = r === 11 ? s + 1 : s, c = (7 - m.length % 7) % 7;
267
+ for (let o = 1; o <= c; o++) {
268
268
  const u = Y(o, b, $, t), p = new Date($, b, o) < new Date(t.year, t.month, t.date), y = a && p;
269
269
  m.push(
270
270
  N({
271
271
  day: o,
272
- currentDate: c,
272
+ currentDate: l,
273
273
  date: w($, b, o),
274
274
  isToday: u,
275
275
  isOutsideMonth: !0,
@@ -292,7 +292,7 @@ const q = j(({ src: n, alt: t }) => n ? _({
292
292
  variant: "icon",
293
293
  icon: n === "Previous" ? P.chevron.single.left : P.chevron.single.right
294
294
  }
295
- ), lt = ({ onMonthClick: n, onYearClick: t, next: e, previous: a }) => h({ class: "flex items-center justify-center space-x-2 relative min-h-12 text-sm font-medium" }, [
295
+ ), ct = ({ onMonthClick: n, onYearClick: t, next: e, previous: a }) => h({ class: "flex items-center justify-center gap-x-2 relative min-h-12 text-sm font-medium" }, [
296
296
  f({ click: n, variant: "ghost", "aria-label": "Select month" }, "[[monthName]]"),
297
297
  f({ click: t, variant: "ghost", "aria-label": "Select year" }, "[[current.year]]"),
298
298
  R({ label: "Previous", click: a }),
@@ -300,8 +300,8 @@ const q = j(({ src: n, alt: t }) => n ? _({
300
300
  ]), ht = (n) => h(
301
301
  { class: "flex items-center justify-center h-9 w-auto text-[0.8rem] font-normal text-muted-foreground" },
302
302
  n
303
- ), ut = () => ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"].map(ht), dt = (n) => h({ class: "rdp w-full space-y-1" }, [
304
- lt({
303
+ ), ut = () => ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"].map(ht), dt = (n) => h({ class: "rdp flex flex-auto flex-col w-full gap-y-1" }, [
304
+ ct({
305
305
  onMonthClick: n.onMonthClick,
306
306
  onYearClick: n.onYearClick,
307
307
  next: n.next,
@@ -315,7 +315,7 @@ const q = j(({ src: n, alt: t }) => n ? _({
315
315
  h({ class: "grid grid-cols-7" }, ut()),
316
316
  h(
317
317
  { class: "grid grid-cols-7" },
318
- ct(
318
+ lt(
319
319
  n.current,
320
320
  n.today,
321
321
  n.select,
@@ -326,14 +326,14 @@ const q = j(({ src: n, alt: t }) => n ? _({
326
326
  ]
327
327
  })
328
328
  ]), gt = ({ currentMonth: n, currentYear: t, onSelect: e }) => {
329
- const a = t - 50, s = Array.from({ length: 101 }, (r, c) => a + c);
329
+ const a = t - 50, s = Array.from({ length: 101 }, (r, l) => a + l);
330
330
  return h(
331
331
  { class: "grid grid-cols-4 gap-2 overflow-y-auto max-h-72" },
332
332
  s.map(
333
333
  (r) => f(
334
334
  {
335
- click: (c) => {
336
- c.preventDefault(), c.stopPropagation(), e(r);
335
+ click: (l) => {
336
+ l.preventDefault(), l.stopPropagation(), e(r);
337
337
  },
338
338
  variant: r === t ? "primary" : "ghost",
339
339
  "aria-label": `Select ${r}`
@@ -508,7 +508,7 @@ const W = ({ label: n, click: t }) => f(
508
508
  variant: "icon",
509
509
  icon: n === "Previous" ? P.chevron.single.left : P.chevron.single.right
510
510
  }
511
- ), mt = ({ onMonthClick: n, onYearClick: t, next: e, previous: a }) => h({ class: "flex items-center justify-center space-x-2 relative min-h-12 text-sm font-medium" }, [
511
+ ), mt = ({ onMonthClick: n, onYearClick: t, next: e, previous: a }) => h({ class: "flex items-center justify-center gap-x-2 relative min-h-12 text-sm font-medium" }, [
512
512
  f({ click: n, variant: "ghost", "aria-label": "Select month" }, "[[monthName]]"),
513
513
  f({ click: t, variant: "ghost", "aria-label": "Select year" }, "[[current.year]]"),
514
514
  W({ label: "Previous", click: a }),
@@ -516,9 +516,9 @@ const W = ({ label: n, click: t }) => f(
516
516
  ]), ft = (n) => h({ class: "h-9 flex items-center justify-center font-medium" }, n), pt = () => h(
517
517
  { class: "grid grid-cols-7 gap-1 text-center text-xs font-medium text-muted-foreground mb-2" },
518
518
  ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"].map(ft)
519
- ), yt = ({ day: n, iso: t, disabled: e, isStart: a, isEnd: s, isBetween: r, isOtherMonth: c, click: i }) => {
519
+ ), yt = ({ day: n, iso: t, disabled: e, isStart: a, isEnd: s, isBetween: r, isOtherMonth: l, click: i }) => {
520
520
  let d = "ghost", g = "";
521
- return a || s ? (d = "default", g = "bg-primary text-primary-foreground hover:bg-primary/90") : r && (g = "bg-accent text-accent-foreground hover:bg-accent/80"), e && (g += " opacity-50 cursor-not-allowed"), c && (g += " text-muted-foreground opacity-50"), f(
521
+ return a || s ? (d = "default", g = "bg-primary text-primary-foreground hover:bg-primary/90") : r && (g = "bg-accent text-accent-foreground hover:bg-accent/80"), e && (g += " opacity-50 cursor-not-allowed"), l && (g += " text-muted-foreground opacity-50"), f(
522
522
  {
523
523
  class: `flex items-center justify-center p-0 text-sm font-medium rounded-md transition-colors ${g}`,
524
524
  variant: d,
@@ -530,9 +530,9 @@ const W = ({ label: n, click: t }) => f(
530
530
  n.toString()
531
531
  );
532
532
  }, Dt = ({ today: n, current: t, blockPriorDates: e, onDateClick: a }) => {
533
- const { start: s, end: r } = t, c = new Date(t.year, t.month, 1).getDay(), i = new Date(t.year, t.month + 1, 0).getDate(), d = [], g = t.month === 0 ? 11 : t.month - 1, m = t.month === 0 ? t.year - 1 : t.year, C = new Date(m, g + 1, 0).getDate(), v = t.month === 11 ? 0 : t.month + 1, b = t.month === 11 ? t.year + 1 : t.year;
534
- for (let l = c - 1; l >= 0; l--) {
535
- const o = C - l, u = w(m, g, o), p = new Date(m, g, o), y = new Date(n.year, n.month, n.date), x = p < y, M = e && x, S = s === u, k = r === u, X = s && r && u > s && u < r;
533
+ const { start: s, end: r } = t, l = new Date(t.year, t.month, 1).getDay(), i = new Date(t.year, t.month + 1, 0).getDate(), d = [], g = t.month === 0 ? 11 : t.month - 1, m = t.month === 0 ? t.year - 1 : t.year, C = new Date(m, g + 1, 0).getDate(), v = t.month === 11 ? 0 : t.month + 1, b = t.month === 11 ? t.year + 1 : t.year;
534
+ for (let c = l - 1; c >= 0; c--) {
535
+ const o = C - c, u = w(m, g, o), p = new Date(m, g, o), y = new Date(n.year, n.month, n.date), x = p < y, M = e && x, S = s === u, k = r === u, X = s && r && u > s && u < r;
536
536
  d.push({
537
537
  day: o,
538
538
  iso: u,
@@ -544,10 +544,10 @@ const W = ({ label: n, click: t }) => f(
544
544
  click: () => a(u)
545
545
  });
546
546
  }
547
- for (let l = 1; l <= i; l++) {
548
- const o = w(t.year, t.month, l), u = new Date(t.year, t.month, l), p = new Date(n.year, n.month, n.date), y = u < p, x = e && y, M = s === o, S = r === o, k = s && r && o > s && o < r;
547
+ for (let c = 1; c <= i; c++) {
548
+ const o = w(t.year, t.month, c), u = new Date(t.year, t.month, c), p = new Date(n.year, n.month, n.date), y = u < p, x = e && y, M = s === o, S = r === o, k = s && r && o > s && o < r;
549
549
  d.push({
550
- day: l,
550
+ day: c,
551
551
  iso: o,
552
552
  disabled: x,
553
553
  isStart: M,
@@ -560,10 +560,10 @@ const W = ({ label: n, click: t }) => f(
560
560
  });
561
561
  }
562
562
  const F = (7 - d.length % 7) % 7;
563
- for (let l = 1; l <= F; l++) {
564
- const o = w(b, v, l), u = new Date(b, v, l), p = new Date(n.year, n.month, n.date), y = u < p, x = e && y, M = s === o, S = r === o, k = s && r && o > s && o < r;
563
+ for (let c = 1; c <= F; c++) {
564
+ const o = w(b, v, c), u = new Date(b, v, c), p = new Date(n.year, n.month, n.date), y = u < p, x = e && y, M = s === o, S = r === o, k = s && r && o > s && o < r;
565
565
  d.push({
566
- day: l,
566
+ day: c,
567
567
  iso: o,
568
568
  disabled: x,
569
569
  isStart: M,
@@ -576,15 +576,15 @@ const W = ({ label: n, click: t }) => f(
576
576
  return h(
577
577
  { class: "grid grid-cols-7 gap-1" },
578
578
  d.map(
579
- (l, o) => yt({
580
- day: l.day,
581
- iso: l.iso,
582
- disabled: l.disabled,
583
- isStart: l.isStart,
584
- isEnd: l.isEnd,
585
- isBetween: l.isBetween,
586
- isOtherMonth: l.isOtherMonth,
587
- click: l.click
579
+ (c, o) => yt({
580
+ day: c.day,
581
+ iso: c.iso,
582
+ disabled: c.disabled,
583
+ isStart: c.isStart,
584
+ isEnd: c.isEnd,
585
+ isBetween: c.isBetween,
586
+ isOtherMonth: c.isOtherMonth,
587
+ click: c.click
588
588
  })
589
589
  )
590
590
  );
@@ -624,7 +624,7 @@ const W = ({ label: n, click: t }) => f(
624
624
  a.substring(0, 3)
625
625
  )
626
626
  )
627
- ), vt = ({ start: n, end: t, selecting: e, onSelectStart: a, onSelectEnd: s }) => h({ class: "flex space-x-2 mb-4" }, [
627
+ ), vt = ({ start: n, end: t, selecting: e, onSelectStart: a, onSelectEnd: s }) => h({ class: "flex gap-x-2 mb-4" }, [
628
628
  z("selecting", (r) => f({
629
629
  click: a,
630
630
  variant: r === "start" ? "primary" : "outline",
@@ -761,15 +761,15 @@ class Yt extends O {
761
761
  start: s,
762
762
  end: r,
763
763
  selecting: a,
764
- onSelectStart: (c) => {
765
- c.preventDefault(), c.stopPropagation(), this.data.selecting = "start";
764
+ onSelectStart: (l) => {
765
+ l.preventDefault(), l.stopPropagation(), this.data.selecting = "start";
766
766
  },
767
- onSelectEnd: (c) => {
768
- c.preventDefault(), c.stopPropagation(), this.data.selecting = "end";
767
+ onSelectEnd: (l) => {
768
+ l.preventDefault(), l.stopPropagation(), this.data.selecting = "end";
769
769
  }
770
770
  }),
771
- J("view", (c) => {
772
- switch (c) {
771
+ J("view", (l) => {
772
+ switch (l) {
773
773
  case "months":
774
774
  return wt(
775
775
  {
@@ -819,7 +819,7 @@ class Yt extends O {
819
819
  }
820
820
  export {
821
821
  Tt as A,
822
- ct as C,
822
+ lt as C,
823
823
  N as D,
824
824
  w as F,
825
825
  dt as M,
@@ -3,8 +3,8 @@ import { Atom as d, Component as u, Data as L, DateTime as G, router as b, NavLi
3
3
  import { B as T, I as _ } from "./buttons-CHEs54Wl.js";
4
4
  import { Icons as k } from "./icons.es.js";
5
5
  import { TableBody as J, DataTableBody as Z, ScrollableTableBody as ee, List as te, IntervalTimer as se } from "@base-framework/organisms";
6
- import { C as ae, I as ie, H as ne } from "./inputs-DYxmO1rQ.js";
7
- import { A as oe, P as le } from "./range-calendar-UXMh98a5.js";
6
+ import { C as ae, I as ie, H as ne } from "./inputs-9udyzkHR.js";
7
+ import { A as oe, P as le } from "./range-calendar-CnBylqhu.js";
8
8
  d((t, e) => ({
9
9
  class: "flex items-center px-4 py-2",
10
10
  ...t,
@@ -732,7 +732,7 @@ class dt extends u {
732
732
  { class: `flex items-center justify-center p-2 text-muted-foreground rounded-md ${this.class || ""}` },
733
733
  [
734
734
  w({
735
- class: "flex space-x-4",
735
+ class: "flex gap-x-4",
736
736
  map: [this.options, (e) => this.addLink(e)],
737
737
  watch: {
738
738
  value: ["[[path]]", b.data],
@@ -1,7 +1,7 @@
1
1
  import { Span as c, Legend as b, Fieldset as p, Div as l, UseParent as u, Input as C } from "@base-framework/atoms";
2
2
  import { Atom as s, Html as x } from "@base-framework/base";
3
- import { a as d } from "./veil-B1pwIy-D.js";
4
- import { f as h, e as y, g as k } from "./inputs-DYxmO1rQ.js";
3
+ import { a as d } from "./veil-fLMV40Wv.js";
4
+ import { f as h, e as y, g as k } from "./inputs-9udyzkHR.js";
5
5
  const a = {
6
6
  gray: {
7
7
  backgroundColor: "bg-gray-50",
@@ -94,7 +94,7 @@ const a = {
94
94
  class: `p-6 ${r} ${t.class || ""}`
95
95
  }, [
96
96
  t.legend && v(t.legend),
97
- l({ class: "flex flex-auto flex-col space-y-6" }, e)
97
+ l({ class: "flex flex-auto flex-col gap-y-6" }, e)
98
98
  ]);
99
99
  }), I = d(
100
100
  {
@@ -1,12 +1,12 @@
1
- import { Div as s, H4 as l, P as d } from "@base-framework/atoms";
2
- import { Atom as r, Jot as o, Component as c } from "@base-framework/base";
3
- const u = r((t, a) => {
4
- const e = t.margin ?? "my-5 mx-5", n = t.padding ?? "p-4";
1
+ import { Div as s, H4 as n, P as o } from "@base-framework/atoms";
2
+ import { Atom as l, Jot as d, Component as c } from "@base-framework/base";
3
+ const g = l((t, a) => {
4
+ const e = t.margin ?? "my-5 mx-5", r = t.padding ?? "p-4";
5
5
  return t.hover && (t.class += " hover:shadow-lg hover:bg-muted/50"), s({
6
6
  ...t,
7
- class: `rounded-lg border bg-card text-card-foreground shadow-md min-w-[120px] min-h-[80px] ${e} ${n} ${t.class || ""}`
7
+ class: `rounded-lg border bg-card text-card-foreground shadow-md min-w-[120px] min-h-[80px] ${e} ${r} ${t.class || ""}`
8
8
  }, a);
9
- }), x = r((t, a) => {
9
+ }), u = l((t, a) => {
10
10
  const e = t.border === !0 ? "border-t" : "";
11
11
  return s({
12
12
  ...t,
@@ -14,13 +14,13 @@ const u = r((t, a) => {
14
14
  }, [
15
15
  t.label && s({
16
16
  ...t.labelProps,
17
- class: `space-y-1 ${t.labelProps?.class || ""}`
17
+ class: `flex flex-auto flex-col gap-y-1 ${t.labelProps?.class || ""}`
18
18
  }, [
19
- l({ class: "text-base" }, t.label),
20
- t.description && d({ class: "text-sm text-muted-foreground" }, t.description)
19
+ n({ class: "text-base" }, t.label),
20
+ t.description && o({ class: "text-sm text-muted-foreground" }, t.description)
21
21
  ]),
22
22
  // Controls container: grows to fill remaining space, spacing between items
23
- s({ class: "flex flex-col space-y-4" }, a)
23
+ s({ class: "flex flex-col gap-y-4" }, a)
24
24
  ]);
25
25
  });
26
26
  class i extends c {
@@ -37,10 +37,10 @@ class i extends c {
37
37
  return e ? { data: e } : null;
38
38
  }
39
39
  }
40
- const b = (t) => o(t, i);
40
+ const f = (t) => d(t, i);
41
41
  export {
42
- u as C,
43
- x as F,
42
+ g as C,
43
+ u as F,
44
44
  i as V,
45
- b as a
45
+ f as a
46
46
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/ui",
3
- "version": "1.0.301",
3
+ "version": "1.0.302",
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": {