@still-forest/canopy 0.39.3 → 0.40.0

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/index.js CHANGED
@@ -1,20 +1,18 @@
1
- import { X as R, c as P } from "./chunks/SidebarLayout-t-P8wlBJ.js";
2
- import { A as Na, C as ka, d as wa, E as Ta, e as Ca, I as Ia, M as _a, P as Ma, a as Sa, b as za, S as Aa, o as Ea, T as $a, f as La, g as Ba, h as Da, i as Ga, j as Ra, k as Pa, l as Fa, m as Va, n as Oa } from "./chunks/SidebarLayout-t-P8wlBJ.js";
1
+ import { e as m, t as N, u as T, C, R, v as P, w as F, x as V, X as O, y as H, z as K, P as q, O as X, A as J, E as Q, F as U, G as W, H as Y, J as Z, K as ee, M as h, Q as ae, U as j } from "./chunks/sidebar-BNz0YKgO.js";
2
+ import { V as ya, B as ja, a as Na, W as ka, Y as wa, D as Ta, Z as Ca, I as Ia, b as _a, c as Ma, $ as Sa, _ as za, L as Aa, N as Ea, a0 as La, S as $a, a9 as Ba, a1 as Da, a2 as Ga, a3 as Ra, a4 as Pa, a5 as Fa, a6 as Va, a7 as Oa, d as Ha, a8 as Ka, T as qa, f as Xa } from "./chunks/sidebar-BNz0YKgO.js";
3
3
  import { j as t } from "./chunks/jsx-runtime-B0GD0xBr.js";
4
- import { c as g, b as N, S as T, C, d as F, e as V } from "./chunks/calendar-C-nHBQQ8.js";
5
- import { B as qa, a as Ka } from "./chunks/calendar-C-nHBQQ8.js";
6
4
  import { c as i } from "./chunks/index-CRiPKpXj.js";
7
5
  import * as x from "react";
8
- import { Fragment as O, useState as H, useEffect as q, useMemo as K } from "react";
9
- import { L as Ja } from "./chunks/Loader-B_h7e46-.js";
10
- import { R as X, T as J, C as Q, a as U, b as W, D as Y, P as Z, O as ee, u as ae, c as te, d as re, e as se, f as h, g as ne, h as j } from "./chunks/index-CA-6Q-v_.js";
11
- import { j as I, k as oe, l as ie } from "./chunks/Textarea-1yOGilko.js";
12
- import { C as Ua, a as Wa, b as Ya, c as Za, D as et, I as at, d as tt, L as rt, N as st, R as nt, e as ot, f as it, g as lt, S as ct, h as dt, i as ut, T as mt } from "./chunks/Textarea-1yOGilko.js";
13
- import { E as gt, a as pt, I as xt, P as ft, b as vt } from "./chunks/PageNotFound-BuG9Tgni.js";
14
- import { B as yt, C as jt, F as Nt, a as kt, G as wt, H as Tt, L as Ct } from "./chunks/Layout-CvVv48kM.js";
15
- import { C as _t } from "./chunks/Code-BLilg72p.js";
16
- import { H as St, T as zt } from "./chunks/Heading-DjVutKs1.js";
17
- import { P as Et } from "./chunks/Paragraph-ai9KZse1.js";
6
+ import { Fragment as te, useState as re, useEffect as se, useMemo as ne } from "react";
7
+ import { L as Qa } from "./chunks/Loader-o8P_ULjg.js";
8
+ import { g as I, h as oe, I as ie } from "./chunks/Switch-C6ICR4ht.js";
9
+ import { C as Wa, a as Ya, b as Za, D as et, L as at, P as tt, R as rt, c as st, d as nt, e as ot, S as it, f as lt } from "./chunks/Switch-C6ICR4ht.js";
10
+ import { M as dt, S as ut, a as bt, T as gt } from "./chunks/SidebarLayout-Fi6K4fXM.js";
11
+ import { E as pt, a as xt, I as ft, P as vt, b as ht } from "./chunks/PageNotFound-BVocqOfr.js";
12
+ import { B as jt, C as Nt, F as kt, a as wt, G as Tt, H as Ct, L as It } from "./chunks/Layout-CvVv48kM.js";
13
+ import { C as Mt } from "./chunks/Code-BLilg72p.js";
14
+ import { H as zt, T as At } from "./chunks/Heading-DjVutKs1.js";
15
+ import { P as Lt } from "./chunks/Paragraph-ai9KZse1.js";
18
16
  /**
19
17
  * @license lucide-react v0.544.0 - ISC
20
18
  *
@@ -24,7 +22,7 @@ import { P as Et } from "./chunks/Paragraph-ai9KZse1.js";
24
22
  const le = [
25
23
  ["path", { d: "m17 18-6-6 6-6", key: "1yerx2" }],
26
24
  ["path", { d: "M7 6v12", key: "1p53r6" }]
27
- ], ce = g("chevron-first", le);
25
+ ], ce = m("chevron-first", le);
28
26
  /**
29
27
  * @license lucide-react v0.544.0 - ISC
30
28
  *
@@ -34,28 +32,28 @@ const le = [
34
32
  const de = [
35
33
  ["path", { d: "m7 18 6-6-6-6", key: "lwmzdw" }],
36
34
  ["path", { d: "M17 6v12", key: "1o0aio" }]
37
- ], ue = g("chevron-last", de);
35
+ ], ue = m("chevron-last", de);
38
36
  /**
39
37
  * @license lucide-react v0.544.0 - ISC
40
38
  *
41
39
  * This source code is licensed under the ISC license.
42
40
  * See the LICENSE file in the root directory of this source tree.
43
41
  */
44
- const me = [
42
+ const be = [
45
43
  ["path", { d: "M21.801 10A10 10 0 1 1 17 3.335", key: "yps3ct" }],
46
44
  ["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
47
- ], be = g("circle-check-big", me);
45
+ ], ge = m("circle-check-big", be);
48
46
  /**
49
47
  * @license lucide-react v0.544.0 - ISC
50
48
  *
51
49
  * This source code is licensed under the ISC license.
52
50
  * See the LICENSE file in the root directory of this source tree.
53
51
  */
54
- const ge = [
52
+ const me = [
55
53
  ["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
56
54
  ["circle", { cx: "19", cy: "12", r: "1", key: "1wjl8i" }],
57
55
  ["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
58
- ], pe = g("ellipsis", ge);
56
+ ], pe = m("ellipsis", me);
59
57
  /**
60
58
  * @license lucide-react v0.544.0 - ISC
61
59
  *
@@ -66,7 +64,7 @@ const xe = [
66
64
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
67
65
  ["path", { d: "M12 16v-4", key: "1dtifu" }],
68
66
  ["path", { d: "M12 8h.01", key: "e9boi3" }]
69
- ], fe = g("info", xe);
67
+ ], fe = m("info", xe);
70
68
  /**
71
69
  * @license lucide-react v0.544.0 - ISC
72
70
  *
@@ -83,7 +81,7 @@ const ve = [
83
81
  }
84
82
  ],
85
83
  ["path", { d: "m9 9 6 6", key: "z0biqf" }]
86
- ], he = g("octagon-x", ve);
84
+ ], he = m("octagon-x", ve);
87
85
  /**
88
86
  * @license lucide-react v0.544.0 - ISC
89
87
  *
@@ -100,7 +98,7 @@ const ye = [
100
98
  ],
101
99
  ["path", { d: "M12 9v4", key: "juzpu7" }],
102
100
  ["path", { d: "M12 17h.01", key: "p32p05" }]
103
- ], je = g("triangle-alert", ye), Ne = N(
101
+ ], je = m("triangle-alert", ye), Ne = N(
104
102
  "relative w-full rounded-lg border px-3 py-2 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",
105
103
  {
106
104
  variants: {
@@ -140,11 +138,11 @@ function Te({ className: e, ...a }) {
140
138
  );
141
139
  }
142
140
  const Ce = {
143
- success: be,
141
+ success: ge,
144
142
  info: fe,
145
143
  error: he,
146
144
  warning: je
147
- }, la = ({ type: e, title: a, message: o, className: s = "", children: n }) => {
145
+ }, oa = ({ type: e, title: a, message: o, className: s = "", children: n }) => {
148
146
  const l = Ce[e];
149
147
  if (o && n)
150
148
  throw new Error("Alert cannot have both message and children");
@@ -338,7 +336,7 @@ const Me = N(
338
336
  }
339
337
  ]
340
338
  }
341
- ), ca = ({ label: e, onClick: a, className: o, variant: s = "default", color: n }) => {
339
+ ), ia = ({ label: e, onClick: a, className: o, variant: s = "default", color: n }) => {
342
340
  if (n && !(s === "default" || s === "outline"))
343
341
  throw new Error(
344
342
  `Color ${n} is not allowed for variant '${s}'. Only default and outline variants support color.`
@@ -399,7 +397,7 @@ function Ee({ className: e, ...a }) {
399
397
  }
400
398
  );
401
399
  }
402
- function $e({ children: e, className: a, ...o }) {
400
+ function Le({ children: e, className: a, ...o }) {
403
401
  return /* @__PURE__ */ t.jsx(
404
402
  "li",
405
403
  {
@@ -412,28 +410,28 @@ function $e({ children: e, className: a, ...o }) {
412
410
  }
413
411
  );
414
412
  }
415
- const Le = ({ to: e, label: a }) => /* @__PURE__ */ t.jsx(_, { className: "font-display", href: e, children: a }), Be = ({ label: e }) => /* @__PURE__ */ t.jsx(Ee, { className: "font-display", children: e }), da = ({ breadcrumbs: e, linkComponent: a, pageComponent: o, className: s }) => {
416
- const n = a || Le, l = o || Be;
417
- return /* @__PURE__ */ t.jsx(Se, { className: i("my-4", s), children: /* @__PURE__ */ t.jsx(ze, { children: e.map(({ to: r, label: c }, m) => /* @__PURE__ */ t.jsxs(O, { children: [
413
+ const $e = ({ to: e, label: a }) => /* @__PURE__ */ t.jsx(_, { className: "font-display", href: e, children: a }), Be = ({ label: e }) => /* @__PURE__ */ t.jsx(Ee, { className: "font-display", children: e }), la = ({ breadcrumbs: e, linkComponent: a, pageComponent: o, className: s }) => {
414
+ const n = a || $e, l = o || Be;
415
+ return /* @__PURE__ */ t.jsx(Se, { className: i("my-4", s), children: /* @__PURE__ */ t.jsx(ze, { children: e.map(({ to: r, label: c }, b) => /* @__PURE__ */ t.jsxs(te, { children: [
418
416
  /* @__PURE__ */ t.jsxs(Ae, { children: [
419
417
  r && /* @__PURE__ */ t.jsx(_, { asChild: !0, className: "font-display", children: /* @__PURE__ */ t.jsx(n, { label: c, to: r }) }),
420
418
  !r && /* @__PURE__ */ t.jsx(l, { label: c })
421
419
  ] }),
422
- m < e.length - 1 && /* @__PURE__ */ t.jsx($e, {})
420
+ b < e.length - 1 && /* @__PURE__ */ t.jsx(Le, {})
423
421
  ] }, c)) }) });
424
422
  };
425
423
  function De({ ...e }) {
426
- return /* @__PURE__ */ t.jsx(X, { "data-slot": "dialog", ...e });
424
+ return /* @__PURE__ */ t.jsx(R, { "data-slot": "dialog", ...e });
427
425
  }
428
426
  function Ge({ ...e }) {
429
- return /* @__PURE__ */ t.jsx(J, { "data-slot": "dialog-trigger", ...e });
427
+ return /* @__PURE__ */ t.jsx(P, { "data-slot": "dialog-trigger", ...e });
430
428
  }
431
429
  function Re({ ...e }) {
432
- return /* @__PURE__ */ t.jsx(Z, { "data-slot": "dialog-portal", ...e });
430
+ return /* @__PURE__ */ t.jsx(q, { "data-slot": "dialog-portal", ...e });
433
431
  }
434
432
  function Pe({ className: e, ...a }) {
435
433
  return /* @__PURE__ */ t.jsx(
436
- ee,
434
+ X,
437
435
  {
438
436
  className: i(
439
437
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
@@ -453,7 +451,7 @@ function Fe({
453
451
  return /* @__PURE__ */ t.jsxs(Re, { "data-slot": "dialog-portal", children: [
454
452
  /* @__PURE__ */ t.jsx(Pe, {}),
455
453
  /* @__PURE__ */ t.jsxs(
456
- Q,
454
+ F,
457
455
  {
458
456
  className: i(
459
457
  "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
@@ -464,12 +462,12 @@ function Fe({
464
462
  children: [
465
463
  a,
466
464
  o && /* @__PURE__ */ t.jsxs(
467
- U,
465
+ V,
468
466
  {
469
467
  className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
470
468
  "data-slot": "dialog-close",
471
469
  children: [
472
- /* @__PURE__ */ t.jsx(R, {}),
470
+ /* @__PURE__ */ t.jsx(O, {}),
473
471
  /* @__PURE__ */ t.jsx("span", { className: "sr-only", children: "Close" })
474
472
  ]
475
473
  }
@@ -491,7 +489,7 @@ function Ve({ className: e, ...a }) {
491
489
  }
492
490
  function Oe({ className: e, ...a }) {
493
491
  return /* @__PURE__ */ t.jsx(
494
- W,
492
+ H,
495
493
  {
496
494
  className: i("text-lg leading-none font-semibold", e),
497
495
  "data-slot": "dialog-title",
@@ -501,7 +499,7 @@ function Oe({ className: e, ...a }) {
501
499
  }
502
500
  function He({ className: e, ...a }) {
503
501
  return /* @__PURE__ */ t.jsx(
504
- Y,
502
+ K,
505
503
  {
506
504
  className: i("text-muted-foreground text-sm", e),
507
505
  "data-slot": "dialog-description",
@@ -509,16 +507,16 @@ function He({ className: e, ...a }) {
509
507
  }
510
508
  );
511
509
  }
512
- const ua = ({ trigger: e, children: a, title: o, description: s, open: n, onOpenChange: l }) => {
513
- const r = n !== void 0, [c, m] = H(r ? n : !1);
514
- if (q(() => {
515
- r && m(n);
510
+ const ca = ({ trigger: e, children: a, title: o, description: s, open: n, onOpenChange: l }) => {
511
+ const r = n !== void 0, [c, b] = re(r ? n : !1);
512
+ if (se(() => {
513
+ r && b(n);
516
514
  }, [n, r]), !e && !r)
517
515
  throw new Error("Trigger must be provided if modal state is not controlled through open, onOpenChange props.");
518
- const b = (d) => {
519
- m(d), l?.(d);
516
+ const g = (d) => {
517
+ b(d), l?.(d);
520
518
  };
521
- return /* @__PURE__ */ t.jsxs(De, { onOpenChange: b, open: c, children: [
519
+ return /* @__PURE__ */ t.jsxs(De, { onOpenChange: g, open: c, children: [
522
520
  /* @__PURE__ */ t.jsx(Ge, { asChild: !0, children: e }),
523
521
  /* @__PURE__ */ t.jsxs(Fe, { children: [
524
522
  (o || s) && /* @__PURE__ */ t.jsxs(Ve, { children: [
@@ -529,7 +527,7 @@ const ua = ({ trigger: e, children: a, title: o, description: s, open: n, onOpen
529
527
  ] })
530
528
  ] });
531
529
  };
532
- function qe({ className: e, ...a }) {
530
+ function Ke({ className: e, ...a }) {
533
531
  return /* @__PURE__ */ t.jsx(
534
532
  "nav",
535
533
  {
@@ -540,7 +538,7 @@ function qe({ className: e, ...a }) {
540
538
  }
541
539
  );
542
540
  }
543
- function Ke({ className: e, ...a }) {
541
+ function qe({ className: e, ...a }) {
544
542
  return /* @__PURE__ */ t.jsx("ul", { className: i("flex flex-row items-center gap-1", e), "data-slot": "pagination-content", ...a });
545
543
  }
546
544
  function f({ ...e }) {
@@ -552,7 +550,7 @@ function v({ className: e, isActive: a, size: o = "icon", ...s }) {
552
550
  {
553
551
  "aria-current": a ? "page" : void 0,
554
552
  className: i(
555
- F({
553
+ J({
556
554
  variant: a ? "outline" : "ghost",
557
555
  size: o
558
556
  }),
@@ -573,7 +571,7 @@ function Xe({ className: e, ...a }) {
573
571
  size: "default",
574
572
  ...a,
575
573
  children: [
576
- /* @__PURE__ */ t.jsx(V, {}),
574
+ /* @__PURE__ */ t.jsx(Q, {}),
577
575
  /* @__PURE__ */ t.jsx("span", { className: "hidden sm:block", children: "Previous" })
578
576
  ]
579
577
  }
@@ -609,12 +607,12 @@ function w({ className: e, ...a }) {
609
607
  }
610
608
  );
611
609
  }
612
- const ma = ({ pageCount: e, currentPage: a, onChange: o }) => {
613
- const s = Math.max(1, e), n = Math.max(1, Math.min(a, s)), l = K(() => s === 1 ? [1] : n <= 3 ? Array.from({ length: Math.min(3, s) }, (r, c) => c + 1) : n >= s - 2 ? Array.from(
610
+ const da = ({ pageCount: e, currentPage: a, onChange: o }) => {
611
+ const s = Math.max(1, e), n = Math.max(1, Math.min(a, s)), l = ne(() => s === 1 ? [1] : n <= 3 ? Array.from({ length: Math.min(3, s) }, (r, c) => c + 1) : n >= s - 2 ? Array.from(
614
612
  { length: Math.min(3, s) },
615
613
  (r, c) => s - Math.min(3, s) + c + 1
616
614
  ) : [n - 1, n, n + 1], [n, s]);
617
- return /* @__PURE__ */ t.jsx(qe, { children: /* @__PURE__ */ t.jsxs(Ke, { children: [
615
+ return /* @__PURE__ */ t.jsx(Ke, { children: /* @__PURE__ */ t.jsxs(qe, { children: [
618
616
  /* @__PURE__ */ t.jsx(f, { children: /* @__PURE__ */ t.jsxs(
619
617
  v,
620
618
  {
@@ -690,10 +688,10 @@ const ma = ({ pageCount: e, currentPage: a, onChange: o }) => {
690
688
  }
691
689
  ) })
692
690
  ] }) });
693
- }, ba = ({ className: e, orientation: a = "horizontal", gap: o, ...s }) => {
691
+ }, ua = ({ className: e, orientation: a = "horizontal", gap: o, ...s }) => {
694
692
  const n = a === "vertical", r = o ?? (n ? "2" : "4");
695
693
  return /* @__PURE__ */ t.jsx(
696
- P,
694
+ U,
697
695
  {
698
696
  className: i(
699
697
  !n && {
@@ -742,10 +740,10 @@ const ma = ({ pageCount: e, currentPage: a, onChange: o }) => {
742
740
  }
743
741
  );
744
742
  };
745
- function ga({ className: e, ...a }) {
743
+ function ba({ className: e, ...a }) {
746
744
  return /* @__PURE__ */ t.jsx("div", { className: i("bg-accent animate-pulse rounded-md", e), "data-slot": "skeleton", ...a });
747
745
  }
748
- var y = "Tabs", [Qe, pa] = re(y, [
746
+ var y = "Tabs", [Qe, ga] = Z(y, [
749
747
  I
750
748
  ]), M = I(), [Ue, k] = Qe(y), S = x.forwardRef(
751
749
  (e, a) => {
@@ -756,9 +754,9 @@ var y = "Tabs", [Qe, pa] = re(y, [
756
754
  defaultValue: l,
757
755
  orientation: r = "horizontal",
758
756
  dir: c,
759
- activationMode: m = "automatic",
760
- ...b
761
- } = e, d = ae(c), [u, p] = te({
757
+ activationMode: b = "automatic",
758
+ ...g
759
+ } = e, d = W(c), [u, p] = Y({
762
760
  prop: s,
763
761
  onChange: n,
764
762
  defaultProp: l ?? "",
@@ -768,18 +766,18 @@ var y = "Tabs", [Qe, pa] = re(y, [
768
766
  Ue,
769
767
  {
770
768
  scope: o,
771
- baseId: se(),
769
+ baseId: ee(),
772
770
  value: u,
773
771
  onValueChange: p,
774
772
  orientation: r,
775
773
  dir: d,
776
- activationMode: m,
774
+ activationMode: b,
777
775
  children: /* @__PURE__ */ t.jsx(
778
776
  h.div,
779
777
  {
780
778
  dir: d,
781
779
  "data-orientation": r,
782
- ...b,
780
+ ...g,
783
781
  ref: a
784
782
  }
785
783
  )
@@ -813,9 +811,9 @@ var z = "TabsList", A = x.forwardRef(
813
811
  }
814
812
  );
815
813
  A.displayName = z;
816
- var E = "TabsTrigger", $ = x.forwardRef(
814
+ var E = "TabsTrigger", L = x.forwardRef(
817
815
  (e, a) => {
818
- const { __scopeTabs: o, value: s, disabled: n = !1, ...l } = e, r = k(E, o), c = M(o), m = D(r.baseId, s), b = G(r.baseId, s), d = s === r.value;
816
+ const { __scopeTabs: o, value: s, disabled: n = !1, ...l } = e, r = k(E, o), c = M(o), b = D(r.baseId, s), g = G(r.baseId, s), d = s === r.value;
819
817
  return /* @__PURE__ */ t.jsx(
820
818
  ie,
821
819
  {
@@ -829,11 +827,11 @@ var E = "TabsTrigger", $ = x.forwardRef(
829
827
  type: "button",
830
828
  role: "tab",
831
829
  "aria-selected": d,
832
- "aria-controls": b,
830
+ "aria-controls": g,
833
831
  "data-state": d ? "active" : "inactive",
834
832
  "data-disabled": n ? "" : void 0,
835
833
  disabled: n,
836
- id: m,
834
+ id: b,
837
835
  ...l,
838
836
  ref: a,
839
837
  onMouseDown: j(e.onMouseDown, (u) => {
@@ -852,22 +850,22 @@ var E = "TabsTrigger", $ = x.forwardRef(
852
850
  );
853
851
  }
854
852
  );
855
- $.displayName = E;
856
- var L = "TabsContent", B = x.forwardRef(
853
+ L.displayName = E;
854
+ var $ = "TabsContent", B = x.forwardRef(
857
855
  (e, a) => {
858
- const { __scopeTabs: o, value: s, forceMount: n, children: l, ...r } = e, c = k(L, o), m = D(c.baseId, s), b = G(c.baseId, s), d = s === c.value, u = x.useRef(d);
856
+ const { __scopeTabs: o, value: s, forceMount: n, children: l, ...r } = e, c = k($, o), b = D(c.baseId, s), g = G(c.baseId, s), d = s === c.value, u = x.useRef(d);
859
857
  return x.useEffect(() => {
860
858
  const p = requestAnimationFrame(() => u.current = !1);
861
859
  return () => cancelAnimationFrame(p);
862
- }, []), /* @__PURE__ */ t.jsx(ne, { present: n || d, children: ({ present: p }) => /* @__PURE__ */ t.jsx(
860
+ }, []), /* @__PURE__ */ t.jsx(ae, { present: n || d, children: ({ present: p }) => /* @__PURE__ */ t.jsx(
863
861
  h.div,
864
862
  {
865
863
  "data-state": d ? "active" : "inactive",
866
864
  "data-orientation": c.orientation,
867
865
  role: "tabpanel",
868
- "aria-labelledby": m,
866
+ "aria-labelledby": b,
869
867
  hidden: !p,
870
- id: b,
868
+ id: g,
871
869
  tabIndex: 0,
872
870
  ...r,
873
871
  ref: a,
@@ -880,18 +878,18 @@ var L = "TabsContent", B = x.forwardRef(
880
878
  ) });
881
879
  }
882
880
  );
883
- B.displayName = L;
881
+ B.displayName = $;
884
882
  function D(e, a) {
885
883
  return `${e}-trigger-${a}`;
886
884
  }
887
885
  function G(e, a) {
888
886
  return `${e}-content-${a}`;
889
887
  }
890
- var We = S, Ye = A, Ze = $, ea = B;
891
- function xa({ className: e, ...a }) {
888
+ var We = S, Ye = A, Ze = L, ea = B;
889
+ function ma({ className: e, ...a }) {
892
890
  return /* @__PURE__ */ t.jsx(We, { className: i("flex flex-col gap-2", e), "data-slot": "tabs", ...a });
893
891
  }
894
- function fa({ className: e, ...a }) {
892
+ function pa({ className: e, ...a }) {
895
893
  return /* @__PURE__ */ t.jsx(
896
894
  Ye,
897
895
  {
@@ -904,7 +902,7 @@ function fa({ className: e, ...a }) {
904
902
  }
905
903
  );
906
904
  }
907
- function va({ className: e, ...a }) {
905
+ function xa({ className: e, ...a }) {
908
906
  return /* @__PURE__ */ t.jsx(
909
907
  Ze,
910
908
  {
@@ -917,78 +915,81 @@ function va({ className: e, ...a }) {
917
915
  }
918
916
  );
919
917
  }
920
- function ha({ className: e, ...a }) {
918
+ function fa({ className: e, ...a }) {
921
919
  return /* @__PURE__ */ t.jsx(ea, { className: i("flex-1 outline-none", e), "data-slot": "tabs-content", ...a });
922
920
  }
923
921
  export {
924
- Na as Accordion,
925
- la as Alert,
926
- ca as Badge,
927
- yt as Box,
928
- da as Breadcrumbs,
929
- qa as Button,
930
- Ka as ButtonGroup,
922
+ ya as Accordion,
923
+ oa as Alert,
924
+ ia as Badge,
925
+ jt as Box,
926
+ la as Breadcrumbs,
927
+ ja as Button,
928
+ Na as ButtonGroup,
931
929
  ka as Card,
932
- Ua as Checkbox,
933
- _t as Code,
930
+ Wa as Checkbox,
931
+ Mt as Code,
934
932
  wa as Collapsible,
935
- jt as Container,
936
- Wa as CopyButton,
937
- Ya as DateInput,
933
+ Nt as Container,
934
+ Ya as CopyButton,
935
+ Ta as DateInput,
938
936
  Za as DatePicker,
939
937
  et as DeleteButton,
940
- Ta as Empty,
941
- gt as ErrorFallback,
942
- pt as ErrorOverlay,
943
- Nt as Flex,
944
- kt as Footer,
945
- wt as Grid,
946
- Tt as Header,
947
- St as Heading,
948
- at as InputError,
949
- tt as InputGroup,
950
- xt as Interstitial,
951
- Ca as Item,
952
- Ia as ItemGroup,
953
- rt as Label,
954
- Ct as Layout,
955
- Ja as Loader,
956
- _a as MenuItemText,
957
- ua as Modal,
958
- st as NumberInput,
959
- ft as PageLoader,
960
- vt as PageNotFound,
961
- ma as Pagination,
962
- Et as Paragraph,
963
- Ma as Popover,
964
- nt as RadioSelect,
965
- ot as SelectInput,
966
- it as SelectPicker,
967
- ba as Separator,
968
- Sa as Sidebar,
969
- za as SidebarLayout,
970
- Aa as SidebarTrigger,
971
- Ea as SimpleTooltip,
972
- ga as Skeleton,
973
- lt as Slider,
974
- ct as SubmitButton,
975
- dt as Switch,
976
- $a as Table,
977
- La as TableBody,
978
- Ba as TableCaption,
979
- Da as TableCell,
980
- Ga as TableHead,
981
- Ra as TableHeader,
982
- Pa as TableRow,
983
- xa as Tabs,
984
- ha as TabsContent,
985
- fa as TabsList,
986
- va as TabsTrigger,
987
- zt as Text,
988
- ut as TextInput,
989
- Fa as TextList,
990
- mt as Textarea,
991
- Va as ThemeSelector,
992
- Oa as Tooltip,
938
+ Ca as Empty,
939
+ pt as ErrorFallback,
940
+ xt as ErrorOverlay,
941
+ kt as Flex,
942
+ wt as Footer,
943
+ Tt as Grid,
944
+ Ct as Header,
945
+ zt as Heading,
946
+ Ia as Input,
947
+ _a as InputError,
948
+ Ma as InputGroup,
949
+ ft as Interstitial,
950
+ Sa as Item,
951
+ za as ItemGroup,
952
+ Aa as Label,
953
+ It as Layout,
954
+ at as LegacyInputGroup,
955
+ Qa as Loader,
956
+ dt as MenuItemText,
957
+ ca as Modal,
958
+ Ea as NumberInput,
959
+ vt as PageLoader,
960
+ ht as PageNotFound,
961
+ da as Pagination,
962
+ Lt as Paragraph,
963
+ tt as PasswordInput,
964
+ La as Popover,
965
+ rt as RadioSelect,
966
+ st as SelectInput,
967
+ nt as SelectPicker,
968
+ ua as Separator,
969
+ ut as Sidebar,
970
+ bt as SidebarLayout,
971
+ $a as SidebarTrigger,
972
+ Ba as SimpleTooltip,
973
+ ba as Skeleton,
974
+ ot as Slider,
975
+ it as SubmitButton,
976
+ lt as Switch,
977
+ Da as Table,
978
+ Ga as TableBody,
979
+ Ra as TableCaption,
980
+ Pa as TableCell,
981
+ Fa as TableHead,
982
+ Va as TableHeader,
983
+ Oa as TableRow,
984
+ ma as Tabs,
985
+ fa as TabsContent,
986
+ pa as TabsList,
987
+ xa as TabsTrigger,
988
+ At as Text,
989
+ Ha as TextInput,
990
+ Ka as TextList,
991
+ qa as Textarea,
992
+ gt as ThemeSelector,
993
+ Xa as Tooltip,
993
994
  i as cn
994
995
  };
@@ -1,21 +1,19 @@
1
1
  import { default as default_2 } from 'react';
2
2
  import { JSX } from 'react/jsx-runtime';
3
3
 
4
- export declare const ErrorFallback: ({ error, onRetry }: ErrorFallbackProps) => JSX.Element;
4
+ export declare const ErrorFallback: ({ error, onRetry, ...props }: ErrorFallbackProps) => JSX.Element;
5
5
 
6
- declare interface ErrorFallbackProps {
6
+ declare interface ErrorFallbackProps extends ErrorOverlayProps {
7
7
  error: Error;
8
8
  onRetry?: () => void;
9
9
  }
10
10
 
11
- export declare const ErrorOverlay: ({ message, children }: ErrorOverlayProps) => JSX.Element;
11
+ export declare const ErrorOverlay: ({ message, children, ...props }: ErrorOverlayProps) => JSX.Element;
12
12
 
13
- declare interface ErrorOverlayProps {
14
- message?: string;
15
- children?: React.ReactNode;
13
+ export declare interface ErrorOverlayProps extends InterstitialProps {
16
14
  }
17
15
 
18
- export declare const Interstitial: ({ variant, iconComponent, message, children, iconSize, iconClassName, }: InterstitialProps) => JSX.Element;
16
+ export declare const Interstitial: ({ variant, iconComponent, message, children, iconSize, iconClassName, fullScreen, containerClassName, }: InterstitialProps) => JSX.Element;
19
17
 
20
18
  export declare interface InterstitialProps {
21
19
  variant?: "error" | "info" | "success" | "warning";
@@ -24,6 +22,8 @@ export declare interface InterstitialProps {
24
22
  iconSize?: LoaderProps["size"];
25
23
  iconClassName?: string;
26
24
  children?: default_2.ReactNode;
25
+ fullScreen?: boolean;
26
+ containerClassName?: string;
27
27
  }
28
28
 
29
29
  declare interface LoaderProps extends React.ComponentProps<"svg"> {
@@ -32,21 +32,14 @@ declare interface LoaderProps extends React.ComponentProps<"svg"> {
32
32
  size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl";
33
33
  }
34
34
 
35
- export declare const PageLoader: ({ iconComponent, message, containerClassName, iconSize, fullScreen, iconClassName, }: PageLoaderProps) => JSX.Element;
35
+ export declare const PageLoader: ({ iconComponent, message, iconSize, iconClassName, ...props }: PageLoaderProps) => JSX.Element;
36
36
 
37
- declare interface PageLoaderProps {
38
- iconComponent?: React.ElementType;
39
- message?: string;
40
- containerClassName?: string;
41
- iconSize?: LoaderProps["size"];
42
- fullScreen?: boolean;
43
- iconClassName?: string;
37
+ declare interface PageLoaderProps extends InterstitialProps {
44
38
  }
45
39
 
46
- export declare const PageNotFound: ({ onBack, message, backIcon, backLabel, }: PageNotFoundProps) => JSX.Element;
40
+ export declare const PageNotFound: ({ onBack, message, backIcon, backLabel, ...props }: PageNotFoundProps) => JSX.Element;
47
41
 
48
- declare interface PageNotFoundProps {
49
- message?: string;
42
+ declare interface PageNotFoundProps extends InterstitialProps {
50
43
  backIcon?: React.ComponentType<React.SVGProps<SVGSVGElement>>;
51
44
  backLabel?: string;
52
45
  onBack?: () => void;
@@ -1,4 +1,4 @@
1
- import { E as o, a as e, I as s, P as t, b as l } from "./chunks/PageNotFound-BuG9Tgni.js";
1
+ import { E as o, a as e, I as s, P as t, b as l } from "./chunks/PageNotFound-BVocqOfr.js";
2
2
  export {
3
3
  o as ErrorFallback,
4
4
  e as ErrorOverlay,
@@ -1,7 +1,8 @@
1
- import { M as r, a as b, b as i, S as s } from "./chunks/SidebarLayout-t-P8wlBJ.js";
1
+ import { M as r, S as o, a as t } from "./chunks/SidebarLayout-Fi6K4fXM.js";
2
+ import { S as i } from "./chunks/sidebar-BNz0YKgO.js";
2
3
  export {
3
4
  r as MenuItemText,
4
- b as Sidebar,
5
- i as SidebarLayout,
6
- s as SidebarTrigger
5
+ o as Sidebar,
6
+ t as SidebarLayout,
7
+ i as SidebarTrigger
7
8
  };