@opencxh/ui-kit 3.57.3 → 3.57.4

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,17 +1,17 @@
1
- import { clsx as Ae } from "clsx";
1
+ import { clsx as Ie } from "clsx";
2
2
  import { jsxs as i, jsx as e, Fragment as Ee } from "react/jsx-runtime";
3
- import { VideoOff as Ie, User as je, MicOff as Be, Mic as Pe, ChevronDown as _e, FileText as pe, HardDrive as ke, X as Oe, ArrowLeft as we, Search as Ve, FolderPlus as Fe, Upload as We, Folder as Ce, ChevronDownIcon as Re, ChevronRight as qe } from "lucide-react";
4
- import se, { useRef as X, useEffect as G, forwardRef as ce, useState as V, useCallback as ne, useMemo as de, createContext as He, Component as Ue } from "react";
3
+ import { VideoOff as je, User as Be, MicOff as Pe, Mic as _e, ChevronDown as Oe, FileText as pe, HardDrive as ke, X as Ve, ArrowLeft as we, Search as $e, FolderPlus as Fe, Upload as We, Folder as Ce, Pencil as Re, ChevronDownIcon as qe, ChevronRight as He } from "lucide-react";
4
+ import se, { useRef as X, useEffect as G, forwardRef as ce, useState as V, useCallback as ne, useMemo as de, createContext as Ue, Component as Ge } from "react";
5
5
  function b(...t) {
6
- return Ae(t);
6
+ return Ie(t);
7
7
  }
8
- function Gt(t) {
8
+ function Kt(t) {
9
9
  return (a, r) => t[a]?.[r] || "";
10
10
  }
11
- function Kt(t) {
11
+ function Jt(t) {
12
12
  return (a) => t[a] || "";
13
13
  }
14
- function Jt({ tiles: t, pinned: a, className: r }) {
14
+ function Yt({ tiles: t, pinned: a, className: r }) {
15
15
  if (a)
16
16
  return /* @__PURE__ */ i("div", { className: b("flex flex-col md:flex-row gap-2 h-full", r), children: [
17
17
  /* @__PURE__ */ e("div", { className: "flex-1 min-h-[240px]", children: a }),
@@ -20,7 +20,7 @@ function Jt({ tiles: t, pinned: a, className: r }) {
20
20
  const n = t.length <= 1 ? "grid-cols-1" : t.length <= 4 ? "grid-cols-2" : t.length <= 9 ? "grid-cols-3" : "grid-cols-4";
21
21
  return /* @__PURE__ */ e("div", { className: b("grid gap-2 h-full", n, r), children: t.map((s, c) => /* @__PURE__ */ e("div", { children: s }, c)) });
22
22
  }
23
- function Yt({
23
+ function Zt({
24
24
  name: t,
25
25
  avatarUrl: a,
26
26
  muted: r,
@@ -38,16 +38,16 @@ function Yt({
38
38
  f
39
39
  ),
40
40
  children: [
41
- s && c ? /* @__PURE__ */ e("div", { className: "absolute inset-0", children: c }) : /* @__PURE__ */ e("div", { className: "flex flex-col items-center gap-2 text-gray-300", children: a ? /* @__PURE__ */ e("img", { src: a, alt: t, className: "w-16 h-16 rounded-full object-cover" }) : /* @__PURE__ */ e("div", { className: "w-16 h-16 rounded-full bg-gray-700 flex items-center justify-center", children: s ? /* @__PURE__ */ e(Ie, { className: "w-8 h-8" }) : /* @__PURE__ */ e(je, { className: "w-8 h-8" }) }) }),
41
+ s && c ? /* @__PURE__ */ e("div", { className: "absolute inset-0", children: c }) : /* @__PURE__ */ e("div", { className: "flex flex-col items-center gap-2 text-gray-300", children: a ? /* @__PURE__ */ e("img", { src: a, alt: t, className: "w-16 h-16 rounded-full object-cover" }) : /* @__PURE__ */ e("div", { className: "w-16 h-16 rounded-full bg-gray-700 flex items-center justify-center", children: s ? /* @__PURE__ */ e(je, { className: "w-8 h-8" }) : /* @__PURE__ */ e(Be, { className: "w-8 h-8" }) }) }),
42
42
  /* @__PURE__ */ i("div", { className: "absolute bottom-2 left-2 flex items-center gap-1.5 px-2 py-1 rounded bg-black/50 text-white text-xs", children: [
43
- r ? /* @__PURE__ */ e(Be, { className: "w-3 h-3" }) : /* @__PURE__ */ e(Pe, { className: "w-3 h-3" }),
43
+ r ? /* @__PURE__ */ e(Pe, { className: "w-3 h-3" }) : /* @__PURE__ */ e(_e, { className: "w-3 h-3" }),
44
44
  /* @__PURE__ */ e("span", { className: "truncate max-w-[140px]", children: t })
45
45
  ] })
46
46
  ]
47
47
  }
48
48
  );
49
49
  }
50
- function Zt({ attach: t, active: a = !0, mirrored: r = !1, className: n }) {
50
+ function Xt({ attach: t, active: a = !0, mirrored: r = !1, className: n }) {
51
51
  const s = X(null);
52
52
  return G(() => {
53
53
  if (!a || !s.current) return;
@@ -67,20 +67,20 @@ function Zt({ attach: t, active: a = !0, mirrored: r = !1, className: n }) {
67
67
  }
68
68
  );
69
69
  }
70
- const Ge = {
70
+ const Ke = {
71
71
  primary: "btn o__primary",
72
72
  secondary: "btn o__secondary",
73
73
  outline: "btn o__secondary",
74
74
  ghost: "btn o__tertiary",
75
75
  destructive: "btn o__destructive"
76
- }, Ke = {
76
+ }, Je = {
77
77
  xs: "px-2 py-1 text-xs",
78
78
  sm: "px-3 py-1.5 text-sm",
79
79
  md: "px-4 py-2 text-sm",
80
80
  lg: "px-6 py-3 text-base",
81
81
  xl: "px-8 py-4 text-lg",
82
82
  full: "px-4 py-3 text-base"
83
- }, Je = {
83
+ }, Ye = {
84
84
  xs: "p-1",
85
85
  sm: "p-1.5",
86
86
  md: "p-2",
@@ -112,9 +112,9 @@ const Ge = {
112
112
  "inline-flex items-center justify-center transition-colors duration-200",
113
113
  "disabled:opacity-50 disabled:cursor-not-allowed",
114
114
  // Variant styles
115
- Ge[t],
115
+ Ke[t],
116
116
  // Size styles
117
- f ? Je[a] : Ke[a],
117
+ f ? Ye[a] : Je[a],
118
118
  // Full width
119
119
  r && "w-full",
120
120
  // Loading state
@@ -166,7 +166,7 @@ const Ge = {
166
166
  }
167
167
  );
168
168
  ee.displayName = "Button";
169
- const Xt = ({
169
+ const Qt = ({
170
170
  children: t,
171
171
  size: a = "md",
172
172
  orientation: r = "horizontal",
@@ -196,7 +196,7 @@ const Xt = ({
196
196
  s
197
197
  );
198
198
  return /* @__PURE__ */ e("div", { className: c, role: "group", children: t });
199
- }, Qt = ({
199
+ }, er = ({
200
200
  variant: t = "default",
201
201
  size: a = "md",
202
202
  color: r = "primary",
@@ -295,11 +295,11 @@ const Xt = ({
295
295
  primary: "btn o__primary",
296
296
  secondary: "btn o__secondary",
297
297
  outline: "btn o__secondary"
298
- }, Ye = {
298
+ }, Ze = {
299
299
  sm: "px-3 py-1.5 text-sm",
300
300
  md: "px-4 py-2 text-sm"
301
301
  };
302
- function $e({
302
+ function ze({
303
303
  label: t,
304
304
  onClick: a,
305
305
  variant: r = "primary",
@@ -328,7 +328,7 @@ function $e({
328
328
  "focus:outline-none focus:ring-1 focus:ring-offset-1",
329
329
  "disabled:opacity-50 disabled:cursor-not-allowed",
330
330
  Se[r],
331
- Ye[n],
331
+ Ze[n],
332
332
  "!rounded-r-none"
333
333
  ),
334
334
  children: [
@@ -351,7 +351,7 @@ function $e({
351
351
  n === "sm" ? "px-1.5 py-1.5" : "px-2 py-2",
352
352
  "!rounded-l-none"
353
353
  ),
354
- children: /* @__PURE__ */ e(_e, { className: "h-4 w-4" })
354
+ children: /* @__PURE__ */ e(Oe, { className: "h-4 w-4" })
355
355
  }
356
356
  ),
357
357
  g && c.length > 0 && /* @__PURE__ */ e("div", { className: "absolute right-0 top-full mt-1 z-50 min-w-[160px] rounded-lg border border-gray-200 bg-white shadow-lg py-1", children: c.map((l) => /* @__PURE__ */ e(
@@ -371,12 +371,12 @@ function $e({
371
371
  )) })
372
372
  ] });
373
373
  }
374
- const Ze = {
374
+ const Xe = {
375
375
  sm: "h-4 w-4",
376
376
  md: "h-5 w-5",
377
377
  lg: "h-6 w-6",
378
378
  full: "h-6 w-6"
379
- }, Xe = {
379
+ }, Qe = {
380
380
  sm: "text-sm",
381
381
  md: "text-sm",
382
382
  lg: "text-base",
@@ -411,7 +411,7 @@ const Ze = {
411
411
  "focus:ring-2 focus:ring-offset-2 focus:outline-none",
412
412
  "disabled:opacity-50 disabled:cursor-not-allowed",
413
413
  // Size styles
414
- Ze[n],
414
+ Xe[n],
415
415
  // State styles
416
416
  d ? "border-error text-error focus:border-error focus:ring-error" : "border-neutral text-primary focus:border-primary focus:ring-primary",
417
417
  g
@@ -427,7 +427,7 @@ const Ze = {
427
427
  className: b(
428
428
  "font-medium cursor-pointer",
429
429
  d ? "text-error" : "text-default",
430
- Xe[n],
430
+ Qe[n],
431
431
  f
432
432
  ),
433
433
  children: t
@@ -441,7 +441,7 @@ const Ze = {
441
441
  }
442
442
  );
443
443
  ge.displayName = "Checkbox";
444
- const Qe = () => /* @__PURE__ */ e("svg", { className: "h-4 w-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ e("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z" }) }), et = () => /* @__PURE__ */ e("svg", { className: "h-4 w-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ e("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "m15 18-6-6 6-6" }) }), tt = () => /* @__PURE__ */ e("svg", { className: "h-4 w-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ e("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "m9 18 6-6-6-6" }) }), ye = ce(({
444
+ const et = () => /* @__PURE__ */ e("svg", { className: "h-4 w-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ e("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z" }) }), tt = () => /* @__PURE__ */ e("svg", { className: "h-4 w-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ e("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "m15 18-6-6 6-6" }) }), rt = () => /* @__PURE__ */ e("svg", { className: "h-4 w-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ e("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "m9 18 6-6-6-6" }) }), ye = ce(({
445
445
  value: t,
446
446
  onChange: a,
447
447
  placeholder: r = "Select date",
@@ -539,7 +539,7 @@ const Qe = () => /* @__PURE__ */ e("svg", { className: "h-4 w-4", fill: "none",
539
539
  onClick: () => !n && d(!l),
540
540
  disabled: n,
541
541
  className: "absolute inset-y-0 right-0 flex items-center pr-3 text-muted hover:text-muted",
542
- children: /* @__PURE__ */ e(Qe, {})
542
+ children: /* @__PURE__ */ e(et, {})
543
543
  }
544
544
  )
545
545
  ] }),
@@ -550,7 +550,7 @@ const Qe = () => /* @__PURE__ */ e("svg", { className: "h-4 w-4", fill: "none",
550
550
  {
551
551
  onClick: q,
552
552
  className: "p-1 hover:bg-neutral-container rounded",
553
- children: /* @__PURE__ */ e(et, {})
553
+ children: /* @__PURE__ */ e(tt, {})
554
554
  }
555
555
  ),
556
556
  /* @__PURE__ */ i("h3", { className: "text-sm font-medium text-default", children: [
@@ -563,7 +563,7 @@ const Qe = () => /* @__PURE__ */ e("svg", { className: "h-4 w-4", fill: "none",
563
563
  {
564
564
  onClick: K,
565
565
  className: "p-1 hover:bg-neutral-container rounded",
566
- children: /* @__PURE__ */ e(tt, {})
566
+ children: /* @__PURE__ */ e(rt, {})
567
567
  }
568
568
  )
569
569
  ] }),
@@ -609,7 +609,7 @@ const Qe = () => /* @__PURE__ */ e("svg", { className: "h-4 w-4", fill: "none",
609
609
  ] })
610
610
  ] })
611
611
  ] });
612
- }), ie = (...t) => t.filter(Boolean).join(" "), rt = (t) => /* @__PURE__ */ e(
612
+ }), ie = (...t) => t.filter(Boolean).join(" "), nt = (t) => /* @__PURE__ */ e(
613
613
  "svg",
614
614
  {
615
615
  ...t,
@@ -627,7 +627,7 @@ const Qe = () => /* @__PURE__ */ e("svg", { className: "h-4 w-4", fill: "none",
627
627
  }
628
628
  )
629
629
  }
630
- ), nt = (t) => /* @__PURE__ */ e(
630
+ ), at = (t) => /* @__PURE__ */ e(
631
631
  "svg",
632
632
  {
633
633
  ...t,
@@ -645,7 +645,7 @@ const Qe = () => /* @__PURE__ */ e("svg", { className: "h-4 w-4", fill: "none",
645
645
  }
646
646
  )
647
647
  }
648
- ), at = {
648
+ ), lt = {
649
649
  sm: "px-3 py-1.5 text-sm",
650
650
  md: "px-3 py-2 text-sm",
651
651
  lg: "px-3 py-2 text-sm",
@@ -655,14 +655,14 @@ const Qe = () => /* @__PURE__ */ e("svg", { className: "h-4 w-4", fill: "none",
655
655
  md: "h-5 w-5",
656
656
  lg: "h-6 w-6",
657
657
  full: "h-6 w-6"
658
- }, lt = ce(
658
+ }, st = ce(
659
659
  ({
660
660
  label: t,
661
661
  helperText: a,
662
662
  error: r,
663
663
  size: n = "md",
664
664
  fullWidth: s = !1,
665
- startIcon: c = /* @__PURE__ */ e(rt, {}),
665
+ startIcon: c = /* @__PURE__ */ e(nt, {}),
666
666
  loading: f = !1,
667
667
  containerClassName: g,
668
668
  labelClassName: p,
@@ -758,7 +758,7 @@ const Qe = () => /* @__PURE__ */ e("svg", { className: "h-4 w-4", fill: "none",
758
758
  "placeholder:text-[var(--text-muted)] focus:outline-none",
759
759
  "disabled:opacity-50 disabled:cursor-not-allowed",
760
760
  // Size styles
761
- at[n],
761
+ lt[n],
762
762
  // Icon padding
763
763
  c ? "pl-10" : "",
764
764
  "pr-10",
@@ -805,7 +805,7 @@ const Qe = () => /* @__PURE__ */ e("svg", { className: "h-4 w-4", fill: "none",
805
805
  ) : (
806
806
  // Dropdown Chevron
807
807
  /* @__PURE__ */ e(
808
- nt,
808
+ at,
809
809
  {
810
810
  className: ie(
811
811
  "text-muted cursor-pointer transition-transform",
@@ -854,8 +854,8 @@ const Qe = () => /* @__PURE__ */ e("svg", { className: "h-4 w-4", fill: "none",
854
854
  );
855
855
  }
856
856
  );
857
- lt.displayName = "SearchableTextField";
858
- const st = {
857
+ st.displayName = "SearchableTextField";
858
+ const ot = {
859
859
  sm: "px-3 py-1.5 text-sm",
860
860
  md: "px-3 py-2 text-sm",
861
861
  lg: "px-3 py-2 text-sm",
@@ -970,7 +970,7 @@ const st = {
970
970
  "focus:outline-none focus:ring-0 focus:ring-offset-0",
971
971
  "disabled:opacity-50 disabled:cursor-not-allowed",
972
972
  "bg-module",
973
- st[n],
973
+ ot[n],
974
974
  K ? "border-error text-error focus:border-error focus:ring-error" : "border-neutral text-default",
975
975
  y
976
976
  ),
@@ -1067,7 +1067,7 @@ const st = {
1067
1067
  }
1068
1068
  );
1069
1069
  ve.displayName = "Select";
1070
- const ot = {
1070
+ const ct = {
1071
1071
  sm: "px-3 py-1.5 text-sm",
1072
1072
  md: "px-3 py-2 text-sm",
1073
1073
  lg: "px-4 py-3 text-base",
@@ -1114,7 +1114,7 @@ const ot = {
1114
1114
  "placeholder:text-[var(--text-muted)] focus:outline-none focus:ring-0",
1115
1115
  "disabled:opacity-50 disabled:cursor-not-allowed",
1116
1116
  // Size styles
1117
- ot[n],
1117
+ ct[n],
1118
1118
  // State styles
1119
1119
  C ? "border-error text-error focus:border-error focus:ring-error" : "border-neutral text-default",
1120
1120
  p
@@ -1166,7 +1166,7 @@ const ot = {
1166
1166
  }
1167
1167
  );
1168
1168
  Ne.displayName = "TextArea";
1169
- const ct = {
1169
+ const it = {
1170
1170
  sm: "px-3 py-1.5 text-sm",
1171
1171
  md: "px-3 py-2 text-sm",
1172
1172
  lg: "px-3 py-2 text-sm",
@@ -1220,7 +1220,7 @@ const ct = {
1220
1220
  "placeholder:text-[var(--text-muted)] focus:outline-none focus:ring-1 focus:ring-offset-0",
1221
1221
  "disabled:opacity-50 disabled:cursor-not-allowed",
1222
1222
  // Size styles
1223
- ct[n],
1223
+ it[n],
1224
1224
  // Icon padding
1225
1225
  c && "pl-10",
1226
1226
  f && "pr-10",
@@ -1285,7 +1285,7 @@ const oe = ({
1285
1285
  "aria-label": f,
1286
1286
  ...g
1287
1287
  }) => {
1288
- const p = typeof a == "number" ? a : it(a), y = b(
1288
+ const p = typeof a == "number" ? a : dt(a), y = b(
1289
1289
  "inline-block",
1290
1290
  // Color variants
1291
1291
  {
@@ -1319,7 +1319,7 @@ const oe = ({
1319
1319
  };
1320
1320
  return /* @__PURE__ */ e(t, { ...u });
1321
1321
  };
1322
- function it(t) {
1322
+ function dt(t) {
1323
1323
  return {
1324
1324
  xs: 12,
1325
1325
  sm: 16,
@@ -1328,7 +1328,7 @@ function it(t) {
1328
1328
  xl: 32
1329
1329
  }[t];
1330
1330
  }
1331
- function dt({
1331
+ function ut({
1332
1332
  children: t,
1333
1333
  showTableSkeleton: a = !1,
1334
1334
  tableColumns: r = 6,
@@ -1367,7 +1367,7 @@ function dt({
1367
1367
  ] })
1368
1368
  ] }) });
1369
1369
  }
1370
- const ut = ({
1370
+ const mt = ({
1371
1371
  trigger: t,
1372
1372
  options: a,
1373
1373
  value: r,
@@ -1575,7 +1575,7 @@ const ut = ({
1575
1575
  ]
1576
1576
  }
1577
1577
  );
1578
- }, mt = () => /* @__PURE__ */ e(
1578
+ }, ft = () => /* @__PURE__ */ e(
1579
1579
  "svg",
1580
1580
  {
1581
1581
  className: "h-4 w-4",
@@ -1592,7 +1592,7 @@ const ut = ({
1592
1592
  }
1593
1593
  )
1594
1594
  }
1595
- ), ft = ({ active: t }) => /* @__PURE__ */ e(
1595
+ ), ht = ({ active: t }) => /* @__PURE__ */ e(
1596
1596
  "svg",
1597
1597
  {
1598
1598
  className: b(
@@ -1612,7 +1612,7 @@ const ut = ({
1612
1612
  }
1613
1613
  )
1614
1614
  }
1615
- ), ht = ({ active: t }) => /* @__PURE__ */ e(
1615
+ ), pt = ({ active: t }) => /* @__PURE__ */ e(
1616
1616
  "svg",
1617
1617
  {
1618
1618
  className: b(
@@ -1632,7 +1632,7 @@ const ut = ({
1632
1632
  }
1633
1633
  )
1634
1634
  }
1635
- ), pt = () => /* @__PURE__ */ e(
1635
+ ), xt = () => /* @__PURE__ */ e(
1636
1636
  "svg",
1637
1637
  {
1638
1638
  className: "h-4 w-4",
@@ -1649,7 +1649,7 @@ const ut = ({
1649
1649
  }
1650
1650
  )
1651
1651
  }
1652
- ), xt = () => /* @__PURE__ */ e(
1652
+ ), bt = () => /* @__PURE__ */ e(
1653
1653
  "svg",
1654
1654
  {
1655
1655
  className: "h-4 w-4",
@@ -1666,7 +1666,7 @@ const ut = ({
1666
1666
  }
1667
1667
  )
1668
1668
  }
1669
- ), bt = () => /* @__PURE__ */ e(
1669
+ ), gt = () => /* @__PURE__ */ e(
1670
1670
  "svg",
1671
1671
  {
1672
1672
  className: "h-4 w-4",
@@ -1683,7 +1683,7 @@ const ut = ({
1683
1683
  }
1684
1684
  )
1685
1685
  }
1686
- ), gt = () => /* @__PURE__ */ e(
1686
+ ), yt = () => /* @__PURE__ */ e(
1687
1687
  "svg",
1688
1688
  {
1689
1689
  className: "h-4 w-4",
@@ -1700,7 +1700,7 @@ const ut = ({
1700
1700
  }
1701
1701
  )
1702
1702
  }
1703
- ), ze = () => /* @__PURE__ */ e(
1703
+ ), De = () => /* @__PURE__ */ e(
1704
1704
  "svg",
1705
1705
  {
1706
1706
  className: "h-4 w-4",
@@ -1717,7 +1717,7 @@ const ut = ({
1717
1717
  }
1718
1718
  )
1719
1719
  }
1720
- ), yt = (t) => {
1720
+ ), vt = (t) => {
1721
1721
  const a = (n) => t.multiSelect && Array.isArray(t.value) ? t.value?.includes(n) : t.value === n, r = (n) => {
1722
1722
  t.multiSelect && Array.isArray(t.value) ? t.onChange(t.value.filter((s) => s !== n)) : t.onChange(n);
1723
1723
  };
@@ -1736,7 +1736,7 @@ const ut = ({
1736
1736
  /* @__PURE__ */ e("span", { className: "text-default", children: t.multiSelect && Array.isArray(t.value) ? t.value?.map(
1737
1737
  (n) => t.options?.find((s) => s.value === n)?.label
1738
1738
  ).join(", ") : t.options?.find((n) => n.value === t.value)?.label }),
1739
- /* @__PURE__ */ e("span", { className: "text-muted text-sm group-open:rotate-180 transition-transform", children: /* @__PURE__ */ e(ze, {}) })
1739
+ /* @__PURE__ */ e("span", { className: "text-muted text-sm group-open:rotate-180 transition-transform", children: /* @__PURE__ */ e(De, {}) })
1740
1740
  ] }),
1741
1741
  /* @__PURE__ */ i("div", { className: "absolute z-10 left-0 mt-1 bg-module border border-neutral rounded-lg shadow-lvl-0 p-2 w-48", children: [
1742
1742
  t.options?.map((n) => /* @__PURE__ */ e(
@@ -1874,21 +1874,21 @@ const ut = ({
1874
1874
  });
1875
1875
  return /* @__PURE__ */ i("div", { className: "space-y-4", children: [
1876
1876
  (n || c.length > 0) && /* @__PURE__ */ e("div", { className: "pt-4 pb-2", children: /* @__PURE__ */ i("div", { className: "flex flex-wrap gap-4 items-start", children: [
1877
- c.map((o) => /* @__PURE__ */ e(yt, { ...o }, o.id)),
1877
+ c.map((o) => /* @__PURE__ */ e(vt, { ...o }, o.id)),
1878
1878
  /* @__PURE__ */ e("div", { className: "w-full sm:w-auto sm:ml-auto min-w-[200px]", children: /* @__PURE__ */ e(
1879
1879
  ue,
1880
1880
  {
1881
1881
  placeholder: s,
1882
1882
  value: H,
1883
1883
  onChange: (o) => F(o.target.value),
1884
- startIcon: /* @__PURE__ */ e(mt, {}),
1884
+ startIcon: /* @__PURE__ */ e(ft, {}),
1885
1885
  className: "max-w-sm"
1886
1886
  }
1887
1887
  ) })
1888
1888
  ] }) }),
1889
1889
  /* @__PURE__ */ i("div", { className: "relative w-full overflow-x-auto min-h-[400px]", children: [
1890
1890
  r && /* @__PURE__ */ e("div", { className: "flex items-center justify-center z-10", children: /* @__PURE__ */ e(
1891
- dt,
1891
+ ut,
1892
1892
  {
1893
1893
  showTableSkeleton: !0,
1894
1894
  tableRows: 10,
@@ -1938,13 +1938,13 @@ const ut = ({
1938
1938
  ),
1939
1939
  children: [
1940
1940
  /* @__PURE__ */ e(
1941
- ft,
1941
+ ht,
1942
1942
  {
1943
1943
  active: E.column === o.id && E.direction === "asc"
1944
1944
  }
1945
1945
  ),
1946
1946
  /* @__PURE__ */ e(
1947
- ht,
1947
+ pt,
1948
1948
  {
1949
1949
  active: E.column === o.id && E.direction === "desc"
1950
1950
  }
@@ -2013,11 +2013,11 @@ const ut = ({
2013
2013
  );
2014
2014
  }),
2015
2015
  y.length > 0 && /* @__PURE__ */ e("td", { className: le, children: /* @__PURE__ */ e(
2016
- ut,
2016
+ mt,
2017
2017
  {
2018
2018
  trigger: /* @__PURE__ */ i("div", { className: "inline-flex items-center gap-1 px-2 py-1 text-sm text-muted hover:text-default", children: [
2019
2019
  /* @__PURE__ */ e("span", { children: "Options" }),
2020
- /* @__PURE__ */ e(ze, {})
2020
+ /* @__PURE__ */ e(De, {})
2021
2021
  ] }),
2022
2022
  options: y.map((j) => ({
2023
2023
  value: j.id,
@@ -2074,7 +2074,7 @@ const ut = ({
2074
2074
  onClick: () => P(0),
2075
2075
  disabled: z.page === 0,
2076
2076
  iconOnly: !0,
2077
- children: /* @__PURE__ */ e(bt, {})
2077
+ children: /* @__PURE__ */ e(gt, {})
2078
2078
  }
2079
2079
  ),
2080
2080
  /* @__PURE__ */ e(
@@ -2085,7 +2085,7 @@ const ut = ({
2085
2085
  onClick: () => P(z.page - 1),
2086
2086
  disabled: z.page === 0,
2087
2087
  iconOnly: !0,
2088
- children: /* @__PURE__ */ e(pt, {})
2088
+ children: /* @__PURE__ */ e(xt, {})
2089
2089
  }
2090
2090
  ),
2091
2091
  /* @__PURE__ */ i("span", { className: "px-3 py-1 text-sm text-muted", children: [
@@ -2102,7 +2102,7 @@ const ut = ({
2102
2102
  onClick: () => P(z.page + 1),
2103
2103
  disabled: z.page >= S - 1,
2104
2104
  iconOnly: !0,
2105
- children: /* @__PURE__ */ e(xt, {})
2105
+ children: /* @__PURE__ */ e(bt, {})
2106
2106
  }
2107
2107
  ),
2108
2108
  /* @__PURE__ */ e(
@@ -2113,13 +2113,13 @@ const ut = ({
2113
2113
  onClick: () => P(S - 1),
2114
2114
  disabled: z.page >= S - 1,
2115
2115
  iconOnly: !0,
2116
- children: /* @__PURE__ */ e(gt, {})
2116
+ children: /* @__PURE__ */ e(yt, {})
2117
2117
  }
2118
2118
  )
2119
2119
  ] })
2120
2120
  ] })
2121
2121
  ] });
2122
- }, vt = He(null), er = ({
2122
+ }, Nt = Ue(null), tr = ({
2123
2123
  items: t,
2124
2124
  activeTab: a,
2125
2125
  onTabChange: r,
@@ -2151,7 +2151,7 @@ const ut = ({
2151
2151
  },
2152
2152
  p.id
2153
2153
  )) }) });
2154
- }, Nt = ({
2154
+ }, wt = ({
2155
2155
  items: t,
2156
2156
  defaultTab: a,
2157
2157
  activeTab: r,
@@ -2201,7 +2201,7 @@ const ut = ({
2201
2201
  } : {};
2202
2202
  return b(B, x, q, K, H, F);
2203
2203
  };
2204
- return /* @__PURE__ */ e(vt.Provider, { value: l, children: /* @__PURE__ */ i("div", { children: [
2204
+ return /* @__PURE__ */ e(Nt.Provider, { value: l, children: /* @__PURE__ */ i("div", { children: [
2205
2205
  /* @__PURE__ */ e("div", { className: h, role: "tablist", children: t.map((w) => /* @__PURE__ */ e(
2206
2206
  "button",
2207
2207
  {
@@ -2230,14 +2230,14 @@ const ut = ({
2230
2230
  }
2231
2231
  )
2232
2232
  ] }) });
2233
- }, wt = {
2233
+ }, kt = {
2234
2234
  sm: "max-w-md",
2235
2235
  md: "max-w-lg",
2236
2236
  lg: "max-w-2xl",
2237
2237
  xl: "max-w-4xl",
2238
2238
  full: "max-w-full mx-4"
2239
2239
  };
2240
- function kt({
2240
+ function Ct({
2241
2241
  open: t,
2242
2242
  onClose: a,
2243
2243
  title: r,
@@ -2281,7 +2281,7 @@ function kt({
2281
2281
  "relative w-full bg-module rounded-modal shadow-modal rounded-md",
2282
2282
  // 'animate-scale-in',
2283
2283
  "focus:outline-none",
2284
- wt[n],
2284
+ kt[n],
2285
2285
  f
2286
2286
  ),
2287
2287
  role: "dialog",
@@ -2331,7 +2331,7 @@ const Z = ({
2331
2331
  children: l,
2332
2332
  ...d
2333
2333
  }) => {
2334
- const h = y || Ct(t), C = b(
2334
+ const h = y || St(t), C = b(
2335
2335
  // Base styles
2336
2336
  "font-primary",
2337
2337
  // Variant styles
@@ -2396,7 +2396,7 @@ const Z = ({
2396
2396
  );
2397
2397
  return /* @__PURE__ */ e(h, { className: C, ...d, children: l });
2398
2398
  };
2399
- function Ct(t) {
2399
+ function St(t) {
2400
2400
  return {
2401
2401
  body: "p",
2402
2402
  caption: "span",
@@ -2404,7 +2404,7 @@ function Ct(t) {
2404
2404
  code: "code"
2405
2405
  }[t] || "p";
2406
2406
  }
2407
- const St = ({
2407
+ const Lt = ({
2408
2408
  value: t,
2409
2409
  onChange: a,
2410
2410
  label: r,
@@ -2639,7 +2639,7 @@ const St = ({
2639
2639
  {
2640
2640
  onClick: O,
2641
2641
  className: "p-1 hover:bg-neutral-container rounded",
2642
- children: /* @__PURE__ */ e(oe, { icon: Oe, size: "xs" })
2642
+ children: /* @__PURE__ */ e(oe, { icon: Ve, size: "xs" })
2643
2643
  }
2644
2644
  )
2645
2645
  ]
@@ -2647,7 +2647,7 @@ const St = ({
2647
2647
  ),
2648
2648
  s && /* @__PURE__ */ e(Z, { variant: "body", size: "xs", className: "text-error", children: s }),
2649
2649
  /* @__PURE__ */ e(
2650
- kt,
2650
+ Ct,
2651
2651
  {
2652
2652
  open: d,
2653
2653
  onClose: () => {
@@ -2656,7 +2656,7 @@ const St = ({
2656
2656
  title: N ? `Explorer: ${N.name}` : "Select Storage Mount",
2657
2657
  size: "lg",
2658
2658
  children: /* @__PURE__ */ e(
2659
- Nt,
2659
+ wt,
2660
2660
  {
2661
2661
  variant: "pills",
2662
2662
  items: [
@@ -2684,7 +2684,7 @@ const St = ({
2684
2684
  placeholder: "Search...",
2685
2685
  value: J,
2686
2686
  onChange: (o) => z(o.target.value),
2687
- startIcon: /* @__PURE__ */ e(Ve, { size: 14 }),
2687
+ startIcon: /* @__PURE__ */ e($e, { size: 14 }),
2688
2688
  fullWidth: !0,
2689
2689
  size: "sm"
2690
2690
  }
@@ -2807,7 +2807,7 @@ function Me(t, a) {
2807
2807
  t
2808
2808
  );
2809
2809
  }
2810
- function Lt(t, a, r) {
2810
+ function Mt(t, a, r) {
2811
2811
  const n = a.split("."), s = Array.isArray(t) ? [...t] : { ...t };
2812
2812
  let c = s;
2813
2813
  for (let f = 0; f < n.length - 1; f++) {
@@ -2816,7 +2816,7 @@ function Lt(t, a, r) {
2816
2816
  }
2817
2817
  return c[n[n.length - 1]] = r, s;
2818
2818
  }
2819
- function Mt(t, a) {
2819
+ function Et(t, a) {
2820
2820
  const r = a.split("."), n = Array.isArray(t) ? [...t] : { ...t };
2821
2821
  let s = n;
2822
2822
  for (let c = 0; c < r.length - 1; c++) {
@@ -2826,7 +2826,7 @@ function Mt(t, a) {
2826
2826
  }
2827
2827
  return delete s[r[r.length - 1]], n;
2828
2828
  }
2829
- const tr = ({
2829
+ const rr = ({
2830
2830
  groups: t,
2831
2831
  data: a,
2832
2832
  onSubmit: r,
@@ -2883,12 +2883,12 @@ const tr = ({
2883
2883
  [t]
2884
2884
  ), E = ne(
2885
2885
  (m, $) => {
2886
- let L = Lt(
2886
+ let L = Mt(
2887
2887
  N,
2888
2888
  m,
2889
2889
  $
2890
2890
  );
2891
- t.flatMap((M) => M.items).find((M) => M.name === m)?.removeIfEmpty && ($ == null || $ === "") && (L = Mt(L, m)), B(L), H((M) => ({ ...M, [m]: !0 }));
2891
+ t.flatMap((M) => M.items).find((M) => M.name === m)?.removeIfEmpty && ($ == null || $ === "") && (L = Et(L, m)), B(L), H((M) => ({ ...M, [m]: !0 }));
2892
2892
  const P = F(m, $, L);
2893
2893
  q((M) => ({
2894
2894
  ...M,
@@ -3013,7 +3013,7 @@ const tr = ({
3013
3013
  );
3014
3014
  case "file":
3015
3015
  return /* @__PURE__ */ e(
3016
- St,
3016
+ Lt,
3017
3017
  {
3018
3018
  ...P,
3019
3019
  value: $,
@@ -3410,7 +3410,7 @@ const tr = ({
3410
3410
  )
3411
3411
  ] })
3412
3412
  ] });
3413
- }, Et = {
3413
+ }, $t = {
3414
3414
  default: "bg-neutral-container text-default",
3415
3415
  primary: "bg-accent-container text-accent",
3416
3416
  secondary: "bg-neutral-container text-muted",
@@ -3418,11 +3418,11 @@ const tr = ({
3418
3418
  warning: "bg-notice-container text-on-notice",
3419
3419
  error: "bg-error-container text-error",
3420
3420
  info: "bg-beta-container text-link"
3421
- }, $t = {
3421
+ }, zt = {
3422
3422
  sm: "px-2 py-0.5 text-xs",
3423
3423
  md: "px-2.5 py-1 text-sm",
3424
3424
  lg: "px-3 py-1.5 text-base"
3425
- }, zt = {
3425
+ }, Dt = {
3426
3426
  default: "bg-neutral-fill",
3427
3427
  primary: "bg-accent-fill",
3428
3428
  secondary: "bg-neutral-fill",
@@ -3431,7 +3431,7 @@ const tr = ({
3431
3431
  error: "bg-error-fill",
3432
3432
  info: "bg-beta-fill"
3433
3433
  };
3434
- function rr({
3434
+ function nr({
3435
3435
  variant: t = "default",
3436
3436
  size: a = "md",
3437
3437
  dot: r = !1,
@@ -3449,9 +3449,9 @@ function rr({
3449
3449
  // Base styles
3450
3450
  "inline-flex items-center font-medium rounded-full",
3451
3451
  // Variant styles
3452
- Et[t],
3452
+ $t[t],
3453
3453
  // Size styles
3454
- $t[a],
3454
+ zt[a],
3455
3455
  f
3456
3456
  ),
3457
3457
  ...p,
@@ -3461,7 +3461,7 @@ function rr({
3461
3461
  {
3462
3462
  className: b(
3463
3463
  "w-2 h-2 rounded-full mr-1.5",
3464
- zt[t]
3464
+ Dt[t]
3465
3465
  )
3466
3466
  }
3467
3467
  ),
@@ -3487,25 +3487,25 @@ function rr({
3487
3487
  }
3488
3488
  );
3489
3489
  }
3490
- const Dt = {
3490
+ const Tt = {
3491
3491
  xs: "h-3 w-3",
3492
3492
  sm: "h-4 w-4",
3493
3493
  md: "h-6 w-6",
3494
3494
  lg: "h-8 w-8",
3495
3495
  xl: "h-12 w-12"
3496
- }, Tt = {
3496
+ }, At = {
3497
3497
  primary: "text-primary",
3498
3498
  secondary: "text-secondary-600",
3499
3499
  white: "text-white",
3500
3500
  current: "text-current"
3501
- }, At = {
3501
+ }, It = {
3502
3502
  xs: "text-xs",
3503
3503
  sm: "text-sm",
3504
3504
  md: "text-sm",
3505
3505
  lg: "text-base",
3506
3506
  xl: "text-lg"
3507
3507
  };
3508
- function nr({
3508
+ function ar({
3509
3509
  size: t = "md",
3510
3510
  variant: a = "primary",
3511
3511
  label: r = "Loading...",
@@ -3528,8 +3528,8 @@ function nr({
3528
3528
  {
3529
3529
  className: b(
3530
3530
  "animate-spin",
3531
- Dt[t],
3532
- Tt[a]
3531
+ Tt[t],
3532
+ At[a]
3533
3533
  ),
3534
3534
  fill: "none",
3535
3535
  viewBox: "0 0 24 24",
@@ -3563,7 +3563,7 @@ function nr({
3563
3563
  {
3564
3564
  className: b(
3565
3565
  "text-secondary-600 dark:text-secondary-400",
3566
- At[t]
3566
+ It[t]
3567
3567
  ),
3568
3568
  children: r
3569
3569
  }
@@ -3573,7 +3573,7 @@ function nr({
3573
3573
  }
3574
3574
  );
3575
3575
  }
3576
- const ar = ({
3576
+ const lr = ({
3577
3577
  src: t,
3578
3578
  alt: a,
3579
3579
  size: r = "md",
@@ -3670,7 +3670,7 @@ const ar = ({
3670
3670
  C && c && /* @__PURE__ */ e("div", { className: J, children: p || z }),
3671
3671
  N && f && /* @__PURE__ */ e("div", { className: J, children: y || v })
3672
3672
  ] });
3673
- }, lr = ({
3673
+ }, sr = ({
3674
3674
  title: t,
3675
3675
  subtitle: a,
3676
3676
  actions: r = [],
@@ -3699,19 +3699,19 @@ const ar = ({
3699
3699
  "div",
3700
3700
  {
3701
3701
  className: b(
3702
- "p-5 pb-3 border-b border-gray-100 dark:border-gray-700",
3702
+ "p-5 pb-3 border-b border-neutral",
3703
3703
  s
3704
3704
  ),
3705
3705
  children: [
3706
3706
  /* @__PURE__ */ i("div", { className: "flex flex-row sm:items-start sm:justify-between items-center gap-4", children: [
3707
- /* @__PURE__ */ e("div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ i("div", { className: "flex items-center gap-2 text-neutral-900 dark:text-neutral-100", children: [
3707
+ /* @__PURE__ */ e("div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ i("div", { className: "flex items-center gap-2 text-default", children: [
3708
3708
  g && /* @__PURE__ */ e(
3709
3709
  "button",
3710
3710
  {
3711
3711
  type: "button",
3712
3712
  onClick: g,
3713
3713
  className: b(
3714
- "flex items-center text-sm dark:hover:text-neutral-300 cursor-pointer transition",
3714
+ "flex items-center text-sm cursor-pointer transition",
3715
3715
  f
3716
3716
  ),
3717
3717
  children: /* @__PURE__ */ e(we, { size: 16, color: "currentColor" })
@@ -3726,24 +3726,34 @@ const ar = ({
3726
3726
  onChange: (x) => h(x.target.value),
3727
3727
  onBlur: N,
3728
3728
  onKeyDown: B,
3729
- className: "text-1xl font-semibold bg-transparent border-b-1 border-gray-200 dark:border-gray-700 rounded-lg outline-none focus:border-none px-1 -mx-1 min-w-0 flex-1"
3729
+ className: "text-1xl font-semibold bg-transparent border-b-1 border-neutral rounded-lg outline-none focus:border-none px-1 -mx-1 min-w-0 flex-1"
3730
3730
  }
3731
- ) : /* @__PURE__ */ e(
3732
- "h2",
3733
- {
3734
- onClick: w,
3735
- className: b(
3736
- "text-2xl font-semibold truncate",
3737
- p && "cursor-pointer hover:text-blue-600 dark:hover:text-blue-400 transition-colors"
3738
- ),
3739
- title: p ? "Klik om te bewerken" : void 0,
3740
- children: t
3741
- }
3742
- )
3731
+ ) : /* @__PURE__ */ i("div", { className: "group flex items-center gap-1.5 min-w-0", children: [
3732
+ /* @__PURE__ */ e(
3733
+ "h2",
3734
+ {
3735
+ onClick: w,
3736
+ className: b(
3737
+ "text-2xl font-semibold truncate",
3738
+ p && "cursor-pointer"
3739
+ ),
3740
+ title: p ? "Klik om te bewerken" : void 0,
3741
+ children: t
3742
+ }
3743
+ ),
3744
+ p && /* @__PURE__ */ e(
3745
+ Re,
3746
+ {
3747
+ size: 15,
3748
+ onClick: w,
3749
+ className: "shrink-0 cursor-pointer text-muted opacity-0 group-hover:opacity-100 transition-opacity"
3750
+ }
3751
+ )
3752
+ ] })
3743
3753
  ] }) }),
3744
3754
  r.length > 0 && /* @__PURE__ */ e("div", { className: "flex flex-wrap sm:flex-nowrap gap-2 sm:gap-3", children: r.map(
3745
3755
  (x) => x.splitOptions && x.splitOptions.length > 0 ? /* @__PURE__ */ e(
3746
- $e,
3756
+ ze,
3747
3757
  {
3748
3758
  label: x.label,
3749
3759
  onClick: x.onClick,
@@ -3780,7 +3790,7 @@ const ar = ({
3780
3790
  ]
3781
3791
  }
3782
3792
  );
3783
- }, sr = ({
3793
+ }, or = ({
3784
3794
  actions: t = [],
3785
3795
  onBack: a,
3786
3796
  backLabel: r = "Back",
@@ -3802,7 +3812,7 @@ const ar = ({
3802
3812
  s && /* @__PURE__ */ e("div", { className: "flex-1 min-w-0", children: s }),
3803
3813
  t.length > 0 && /* @__PURE__ */ e("div", { className: b("flex flex-wrap gap-2", !s && "ml-auto"), children: t.map(
3804
3814
  (c) => c.splitOptions && c.splitOptions.length > 0 ? /* @__PURE__ */ e(
3805
- $e,
3815
+ ze,
3806
3816
  {
3807
3817
  label: c.label,
3808
3818
  onClick: c.onClick,
@@ -3835,13 +3845,13 @@ const ar = ({
3835
3845
  )
3836
3846
  ) })
3837
3847
  ] });
3838
- function It(t, a) {
3848
+ function jt(t, a) {
3839
3849
  return a.split(".").reduce(
3840
3850
  (r, n) => r && typeof r == "object" && n in r ? r[n] : void 0,
3841
3851
  t
3842
3852
  );
3843
3853
  }
3844
- const or = ({
3854
+ const cr = ({
3845
3855
  groups: t,
3846
3856
  data: a,
3847
3857
  size: r = "md",
@@ -3864,7 +3874,7 @@ const or = ({
3864
3874
  return d ? d.label : String(u || "-");
3865
3875
  }, g = ne(
3866
3876
  (u) => {
3867
- const l = It(a, u.name);
3877
+ const l = jt(a, u.name);
3868
3878
  if (u.type === "array") {
3869
3879
  const h = l;
3870
3880
  return !h || h.length === 0 ? /* @__PURE__ */ e(
@@ -4090,7 +4100,7 @@ const or = ({
4090
4100
  n
4091
4101
  );
4092
4102
  return /* @__PURE__ */ e("div", { className: y, children: /* @__PURE__ */ e("div", { className: "space-y-8", children: t.map(p) }) });
4093
- }, De = ({ item: t, isSelectedHandler: a, onClick: r }) => {
4103
+ }, Te = ({ item: t, isSelectedHandler: a, onClick: r }) => {
4094
4104
  const [n, s] = V(!1), c = t.children && t.children.length > 0, f = () => {
4095
4105
  c && s(!n);
4096
4106
  }, g = a ? a(t.path) : !1;
@@ -4113,12 +4123,12 @@ const or = ({
4113
4123
  t.icon && /* @__PURE__ */ e("span", { className: "mr-2", children: t.icon }),
4114
4124
  /* @__PURE__ */ e("span", { className: "flex-1", children: t.label }),
4115
4125
  t.count !== void 0 && t.count > 0 && /* @__PURE__ */ e("span", { className: "ml-2 mr-1.5", children: t.count }),
4116
- c && /* @__PURE__ */ e("span", { className: `${n ? "collapsed" : ""}`, children: /* @__PURE__ */ e(Re, { className: "w-4 h-4 text-muted" }) })
4126
+ c && /* @__PURE__ */ e("span", { className: `${n ? "collapsed" : ""}`, children: /* @__PURE__ */ e(qe, { className: "w-4 h-4 text-muted" }) })
4117
4127
  ]
4118
4128
  }
4119
4129
  ),
4120
4130
  c && !n && /* @__PURE__ */ e("ul", { className: "sidebar-menu-nested-items mb-1", children: t.children?.map((p, y) => /* @__PURE__ */ e(
4121
- De,
4131
+ Te,
4122
4132
  {
4123
4133
  item: p,
4124
4134
  isSelectedHandler: a,
@@ -4127,7 +4137,7 @@ const or = ({
4127
4137
  y
4128
4138
  )) })
4129
4139
  ] });
4130
- }, cr = ({
4140
+ }, ir = ({
4131
4141
  title: t,
4132
4142
  actionIcons: a,
4133
4143
  items: r,
@@ -4142,7 +4152,7 @@ const or = ({
4142
4152
  c && /* @__PURE__ */ e("div", { className: "sidebar-menu-pre-items mb-4", children: c }),
4143
4153
  /* @__PURE__ */ e("ul", { children: r.map(
4144
4154
  (f, g) => !f.path && !f.label && !f.children ? /* @__PURE__ */ e("span", { className: "flex w-full h-4" }, g) : /* @__PURE__ */ e(
4145
- De,
4155
+ Te,
4146
4156
  {
4147
4157
  item: f,
4148
4158
  isSelectedHandler: n,
@@ -4151,7 +4161,7 @@ const or = ({
4151
4161
  g
4152
4162
  )
4153
4163
  ) })
4154
- ] }), ir = ({
4164
+ ] }), dr = ({
4155
4165
  level: t = 1,
4156
4166
  size: a,
4157
4167
  weight: r = "bold",
@@ -4162,7 +4172,7 @@ const or = ({
4162
4172
  children: g,
4163
4173
  ...p
4164
4174
  }) => {
4165
- const y = a || jt(t), u = b(
4175
+ const y = a || Bt(t), u = b(
4166
4176
  "font-primary",
4167
4177
  // Size variants
4168
4178
  {
@@ -4209,7 +4219,7 @@ const or = ({
4209
4219
  ), l = `h${t}`;
4210
4220
  return /* @__PURE__ */ e(l, { className: u, ...p, children: g });
4211
4221
  };
4212
- function jt(t) {
4222
+ function Bt(t) {
4213
4223
  return {
4214
4224
  1: "4xl",
4215
4225
  2: "3xl",
@@ -4219,7 +4229,7 @@ function jt(t) {
4219
4229
  6: "md"
4220
4230
  }[t] || "md";
4221
4231
  }
4222
- const dr = ({
4232
+ const ur = ({
4223
4233
  items: t,
4224
4234
  type: a = "unordered",
4225
4235
  variant: r = "default",
@@ -4307,7 +4317,7 @@ const dr = ({
4307
4317
  },
4308
4318
  l.id || d
4309
4319
  )) });
4310
- }, ur = ({
4320
+ }, mr = ({
4311
4321
  commands: t,
4312
4322
  isOpen: a,
4313
4323
  onClose: r,
@@ -4351,31 +4361,35 @@ const dr = ({
4351
4361
  }, [u, a]), a ? /* @__PURE__ */ e("div", { className: "fixed inset-0 z-50 flex items-center justify-center shadow-lvl-0", children: /* @__PURE__ */ i(
4352
4362
  "div",
4353
4363
  {
4354
- className: "flex flex-col w-full max-w-lg max-h-[80vh] p-2 mx-auto rounded-lg shadow-lg bg-white",
4364
+ className: "flex flex-col w-full max-w-lg max-h-[80vh] p-2 mx-auto rounded-xl border border-neutral shadow-lg bg-module",
4355
4365
  ref: d,
4356
4366
  children: [
4357
- /* @__PURE__ */ e(
4358
- "input",
4359
- {
4360
- type: "text",
4361
- placeholder: n?.searchPlaceholder || "Search commands...",
4362
- value: f,
4363
- onChange: (N) => g(N.target.value),
4364
- className: "w-full px-4 py-2 text-gray-800 border-none border-b border-gray-200 focus:outline-none focus:ring-0 rounded-lg bg-transparent flex-shrink-0"
4365
- }
4366
- ),
4367
+ /* @__PURE__ */ i("div", { className: "flex items-center gap-2 px-3 flex-shrink-0", children: [
4368
+ /* @__PURE__ */ e($e, { className: "w-4 h-4 text-muted shrink-0" }),
4369
+ /* @__PURE__ */ e(
4370
+ "input",
4371
+ {
4372
+ type: "text",
4373
+ autoFocus: !0,
4374
+ placeholder: n?.searchPlaceholder || "Search commands...",
4375
+ value: f,
4376
+ onChange: (N) => g(N.target.value),
4377
+ className: "w-full py-2 text-default focus:outline-none focus:ring-0 bg-transparent"
4378
+ }
4379
+ )
4380
+ ] }),
4367
4381
  /* @__PURE__ */ i(
4368
4382
  "div",
4369
4383
  {
4370
4384
  ref: h,
4371
- className: "mt-2 pt-2 text-sm border-t border-gray-200 max-h-[50vh] overflow-y-auto",
4385
+ className: "mt-2 pt-2 text-sm border-t border-neutral max-h-[50vh] overflow-y-auto",
4372
4386
  children: [
4373
- w.length === 0 && /* @__PURE__ */ e("div", { className: "text-gray-500 text-center text-sm", children: n?.noCommandsFound || "No commands found" }),
4387
+ w.length === 0 && /* @__PURE__ */ e("div", { className: "text-muted text-center text-sm", children: n?.noCommandsFound || "No commands found" }),
4374
4388
  w.map((N, B) => /* @__PURE__ */ i(
4375
4389
  "div",
4376
4390
  {
4377
4391
  "data-index": B,
4378
- className: `flex items-center p-2 cursor-pointer rounded-md text-secondary-800 ${B === u ? "bg-gray-100" : ""}`,
4392
+ className: `flex items-center p-2 cursor-pointer rounded-md text-default ${B === u ? "bg-neutral-container" : ""}`,
4379
4393
  onClick: () => {
4380
4394
  N.subCommands ? (y([...p, N.id]), l(0)) : N.action && (N.action(), r());
4381
4395
  },
@@ -4383,7 +4397,7 @@ const dr = ({
4383
4397
  children: [
4384
4398
  N.icon && /* @__PURE__ */ e("span", { className: "mr-3", children: N.icon }),
4385
4399
  /* @__PURE__ */ e("span", { className: "flex-grow", children: N.label }),
4386
- N.subCommands && /* @__PURE__ */ e("span", { className: "text-gray-400", children: /* @__PURE__ */ e(qe, { className: "w-4 h-4" }) })
4400
+ N.subCommands && /* @__PURE__ */ e("span", { className: "text-muted", children: /* @__PURE__ */ e(He, { className: "w-4 h-4" }) })
4387
4401
  ]
4388
4402
  },
4389
4403
  N.id
@@ -4391,27 +4405,24 @@ const dr = ({
4391
4405
  ]
4392
4406
  }
4393
4407
  ),
4394
- /* @__PURE__ */ i("div", { className: "flex items-center justify-between pt-2 mt-2 text-xs text-gray-500 border-t border-gray-200", children: [
4395
- /* @__PURE__ */ i("span", { children: [
4396
- /* @__PURE__ */ e("span", { className: "font-bold", children: "↑↓" }),
4397
- " ",
4408
+ /* @__PURE__ */ i("div", { className: "flex items-center gap-4 px-3 pt-2 mt-2 text-xs text-muted border-t border-neutral", children: [
4409
+ /* @__PURE__ */ i("span", { className: "flex items-center gap-1.5", children: [
4410
+ /* @__PURE__ */ e("kbd", { className: "inline-flex items-center justify-center min-w-[1.25rem] px-1 py-0.5 rounded border border-neutral bg-module-subtle text-[10px] font-medium not-italic", children: "↑↓" }),
4398
4411
  n?.navigate || "to navigate"
4399
4412
  ] }),
4400
- /* @__PURE__ */ i("span", { children: [
4401
- /* @__PURE__ */ e("span", { className: "font-bold", children: "↵" }),
4402
- " ",
4413
+ /* @__PURE__ */ i("span", { className: "flex items-center gap-1.5", children: [
4414
+ /* @__PURE__ */ e("kbd", { className: "inline-flex items-center justify-center min-w-[1.25rem] px-1 py-0.5 rounded border border-neutral bg-module-subtle text-[10px] font-medium not-italic", children: "↵" }),
4403
4415
  n?.select || "to select"
4404
4416
  ] }),
4405
- /* @__PURE__ */ i("span", { children: [
4406
- /* @__PURE__ */ e("span", { className: "font-bold", children: "Esc" }),
4407
- " ",
4417
+ /* @__PURE__ */ i("span", { className: "flex items-center gap-1.5", children: [
4418
+ /* @__PURE__ */ e("kbd", { className: "inline-flex items-center justify-center min-w-[1.25rem] px-1 py-0.5 rounded border border-neutral bg-module-subtle text-[10px] font-medium not-italic", children: "Esc" }),
4408
4419
  n?.close || "to close"
4409
4420
  ] })
4410
4421
  ] })
4411
4422
  ]
4412
4423
  }
4413
4424
  ) }) : null;
4414
- }, Bt = {
4425
+ }, Pt = {
4415
4426
  none: "p-0",
4416
4427
  xs: "p-1",
4417
4428
  sm: "p-2",
@@ -4419,7 +4430,7 @@ const dr = ({
4419
4430
  lg: "p-6",
4420
4431
  xl: "p-8",
4421
4432
  "2xl": "p-12"
4422
- }, Pt = {
4433
+ }, _t = {
4423
4434
  none: "m-0",
4424
4435
  xs: "m-1",
4425
4436
  sm: "m-2",
@@ -4427,7 +4438,7 @@ const dr = ({
4427
4438
  lg: "m-6",
4428
4439
  xl: "m-8",
4429
4440
  "2xl": "m-12"
4430
- }, _t = {
4441
+ }, Ot = {
4431
4442
  none: "",
4432
4443
  primary: "bg-primary",
4433
4444
  secondary: "bg-secondary",
@@ -4443,26 +4454,26 @@ const dr = ({
4443
4454
  backdrop: "bg-backdrop",
4444
4455
  editor: "bg-editor",
4445
4456
  input: "bg-input"
4446
- }, Ot = {
4457
+ }, Vt = {
4447
4458
  none: "rounded-none",
4448
4459
  sm: "rounded-sm",
4449
4460
  md: "rounded-md",
4450
4461
  lg: "rounded-lg",
4451
4462
  xl: "rounded-xl",
4452
4463
  full: "rounded-full"
4453
- }, Vt = {
4464
+ }, Ft = {
4454
4465
  none: "shadow-none",
4455
4466
  sm: "shadow-sm shadow-lvl-0",
4456
4467
  md: "shadow-md shadow-lvl-0",
4457
4468
  lg: "shadow-lg shadow-lvl-0",
4458
4469
  xl: "shadow-xl shadow-lvl-0",
4459
4470
  "2xl": "shadow-2xl shadow-lvl-0"
4460
- }, Ft = {
4471
+ }, Wt = {
4461
4472
  none: "border-0",
4462
4473
  sm: "border",
4463
4474
  md: "border-2",
4464
4475
  lg: "border-4"
4465
- }, Wt = {
4476
+ }, Rt = {
4466
4477
  primary: "border-primary",
4467
4478
  secondary: "border-secondary",
4468
4479
  accent: "border-accent",
@@ -4472,7 +4483,7 @@ const dr = ({
4472
4483
  info: "border-info",
4473
4484
  neutral: "border-neutral",
4474
4485
  white: "border-white"
4475
- }, Te = ce(
4486
+ }, Ae = ce(
4476
4487
  ({
4477
4488
  padding: t,
4478
4489
  margin: a,
@@ -4489,13 +4500,13 @@ const dr = ({
4489
4500
  {
4490
4501
  ref: u,
4491
4502
  className: b(
4492
- t && Bt[t],
4493
- a && Pt[a],
4494
- r && _t[r],
4495
- n && Ot[n],
4496
- s && Vt[s],
4497
- c && Ft[c],
4498
- f && Wt[f],
4503
+ t && Pt[t],
4504
+ a && _t[a],
4505
+ r && Ot[r],
4506
+ n && Vt[n],
4507
+ s && Ft[s],
4508
+ c && Wt[c],
4509
+ f && Rt[f],
4499
4510
  g
4500
4511
  ),
4501
4512
  ...y,
@@ -4503,12 +4514,12 @@ const dr = ({
4503
4514
  }
4504
4515
  )
4505
4516
  );
4506
- Te.displayName = "Box";
4507
- const mr = ({ children: t, title: a, ...r }) => /* @__PURE__ */ i(Te, { background: "module", radius: "xl", shadow: "sm", ...r, children: [
4517
+ Ae.displayName = "Box";
4518
+ const fr = ({ children: t, title: a, ...r }) => /* @__PURE__ */ i(Ae, { background: "module", radius: "xl", shadow: "sm", ...r, children: [
4508
4519
  a && /* @__PURE__ */ e("span", { className: "text-base font-medium text-default mb-2", children: a }),
4509
4520
  t
4510
4521
  ] });
4511
- function fr({
4522
+ function hr({
4512
4523
  identifier: t,
4513
4524
  resourceLoader: a,
4514
4525
  framework: r = "react",
@@ -4556,7 +4567,7 @@ function fr({
4556
4567
  r === "react" && y && /* @__PURE__ */ e(y, { ...s })
4557
4568
  ] });
4558
4569
  }
4559
- class hr extends Ue {
4570
+ class pr extends Ge {
4560
4571
  constructor() {
4561
4572
  super(...arguments), this.state = {
4562
4573
  hasError: !1,
@@ -4585,45 +4596,45 @@ class hr extends Ue {
4585
4596
  }
4586
4597
  }
4587
4598
  export {
4588
- rr as Badge,
4589
- Te as Box,
4599
+ nr as Badge,
4600
+ Ae as Box,
4590
4601
  ee as Button,
4591
- Xt as ButtonGroup,
4592
- mr as Card,
4602
+ Qt as ButtonGroup,
4603
+ fr as Card,
4593
4604
  ge as Checkbox,
4594
- ur as CommandPalette,
4595
- dt as ContentLoading,
4605
+ mr as CommandPalette,
4606
+ ut as ContentLoading,
4596
4607
  ye as DatePicker,
4597
- ut as Dropdown,
4598
- hr as ErrorBoundary,
4599
- fr as FederatedResource,
4600
- tr as Form,
4601
- ir as Heading,
4608
+ mt as Dropdown,
4609
+ pr as ErrorBoundary,
4610
+ hr as FederatedResource,
4611
+ rr as Form,
4612
+ dr as Heading,
4602
4613
  oe as Icon,
4603
- ar as Image,
4604
- Qt as Link,
4605
- dr as List,
4606
- Jt as MeetingGrid,
4607
- kt as Modal,
4608
- lr as PageHeader,
4609
- sr as PageToolbar,
4610
- Yt as ParticipantTile,
4611
- lt as SearchableTextField,
4614
+ lr as Image,
4615
+ er as Link,
4616
+ ur as List,
4617
+ Yt as MeetingGrid,
4618
+ Ct as Modal,
4619
+ sr as PageHeader,
4620
+ or as PageToolbar,
4621
+ Zt as ParticipantTile,
4622
+ st as SearchableTextField,
4612
4623
  ve as Select,
4613
- cr as SidebarMenu,
4614
- nr as Spinner,
4615
- $e as SplitButton,
4616
- St as StorageInput,
4617
- er as TabBar,
4624
+ ir as SidebarMenu,
4625
+ ar as Spinner,
4626
+ ze as SplitButton,
4627
+ Lt as StorageInput,
4628
+ tr as TabBar,
4618
4629
  Le as Table,
4619
- Nt as Tabs,
4630
+ wt as Tabs,
4620
4631
  Z as Text,
4621
4632
  Ne as TextArea,
4622
4633
  ue as TextField,
4623
- Zt as VideoSurface,
4624
- or as View,
4634
+ Xt as VideoSurface,
4635
+ cr as View,
4625
4636
  b as cn,
4626
- Kt as createSizes,
4627
- Gt as createVariants
4637
+ Jt as createSizes,
4638
+ Kt as createVariants
4628
4639
  };
4629
4640
  //# sourceMappingURL=index.js.map