@moondreamsdev/dreamer-ui 1.7.19-test.21 → 1.7.19-test.22

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.
@@ -2,11 +2,11 @@ var et = Object.defineProperty;
2
2
  var tt = (r, o, t) => o in r ? et(r, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[o] = t;
3
3
  var Re = (r, o, t) => tt(r, typeof o != "symbol" ? o + "" : o, t);
4
4
  import { jsxs as w, jsx as e, Fragment as te } from "react/jsx-runtime";
5
- import Z, { useId as J, useState as R, createElement as rt, useEffect as V, useCallback as $, useMemo as ne, useRef as q, Component as nt, isValidElement as at, cloneElement as ot } from "react";
5
+ import Y, { useId as J, useState as R, createElement as rt, useEffect as V, useCallback as $, useMemo as ne, useRef as q, Component as nt, isValidElement as at, cloneElement as ot } from "react";
6
6
  import { j as k } from "./join-BmgR_f4v.js";
7
- import { f as Ne, g as ye, h as he, k as st, c as Ze, D as Qe, b as ze, W as lt, l as it, j as ct, C as dt, a as ut, G as ft, i as Ue, T as mt, P as pt, Q as ht, m as bt, E as gt, I as xt, d as yt, e as vt } from "./Window-bavT8vOT.js";
8
- import { u as Me, D as wt, n as Y, a as Te, b as kt } from "./Toast-Bdi3ohxP.js";
9
- import { A as Ma, T as Ta } from "./Toast-Bdi3ohxP.js";
7
+ import { f as Ne, g as ye, h as he, k as st, c as Ye, D as Qe, b as ze, W as lt, l as it, j as ct, C as dt, a as ut, G as ft, i as Ue, T as mt, P as pt, Q as ht, m as bt, E as gt, I as xt, d as yt, e as vt } from "./Window-bavT8vOT.js";
8
+ import { u as Me, D as wt, n as Z, a as Te, b as kt } from "./Toast-C5oX0fsR.js";
9
+ import { A as Ma, T as Ta } from "./Toast-C5oX0fsR.js";
10
10
  import { X as be, E as ve, C as Nt, I as Be } from "./X-CIoyLewf.js";
11
11
  import "./useTheme-CYIEopvl.js";
12
12
  import { u as Dt } from "./useScreenSize-DiuQZBHb.js";
@@ -113,8 +113,8 @@ function ra({
113
113
  h
114
114
  );
115
115
  }),
116
- o.length === 0 && t && Z.Children.map(t, (b, D) => {
117
- if (Z.isValidElement(b) && b.type === Ce) {
116
+ o.length === 0 && t && Y.Children.map(t, (b, D) => {
117
+ if (Y.isValidElement(b) && b.type === Ce) {
118
118
  const h = b.props.id || x(D);
119
119
  return /* @__PURE__ */ rt(
120
120
  Ce,
@@ -543,7 +543,7 @@ const Ht = {
543
543
  outline: "border border-primary text-primary hover:border-primary/80 hover:text-primary/80 focus:outline-primary outline-offset-2 disabled:border-muted-foreground disabled:text-muted-foreground",
544
544
  link: "underline-offset-4 hover:underline disabled:underline disabled:text-muted-foreground focus:outline-current",
545
545
  destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/80 focus:outline-destructive outline-offset-2 disabled:bg-muted disabled:text-muted-foreground"
546
- }, Yt = {
546
+ }, Zt = {
547
547
  stripped: "",
548
548
  fitted: "size-fit leading-0",
549
549
  sm: "px-2 py-1 text-sm",
@@ -551,7 +551,7 @@ const Ht = {
551
551
  lg: "px-6 py-3 text-lg",
552
552
  icon: "p-1 w-fit aspect-square",
553
553
  full: "p-2 w-full"
554
- }, Zt = {
554
+ }, Yt = {
555
555
  none: "rounded-none",
556
556
  sm: "rounded-sm",
557
557
  md: "rounded-md",
@@ -575,8 +575,8 @@ function Qt({
575
575
  const i = k(
576
576
  "appearance-none not-disabled:hover:cursor-pointer outline outline-transparent disabled:opacity-50 disabled:cursor-not-allowed transition-all",
577
577
  Ht[r],
578
- Yt[l],
579
- Zt[t],
578
+ Zt[l],
579
+ Yt[t],
580
580
  s && "relative pointer-events-none",
581
581
  n
582
582
  );
@@ -593,10 +593,10 @@ function Qt({
593
593
  children: a.children
594
594
  }
595
595
  );
596
- const f = a, u = () => f.children ? typeof f.children == "string" || typeof f.children == "number" || typeof f.children == "boolean" ? /* @__PURE__ */ e("span", { className: k(s && "invisible"), children: f.children }) : Z.Children.map(f.children, (p, m) => {
597
- if (Z.isValidElement(p)) {
596
+ const f = a, u = () => f.children ? typeof f.children == "string" || typeof f.children == "number" || typeof f.children == "boolean" ? /* @__PURE__ */ e("span", { className: k(s && "invisible"), children: f.children }) : Y.Children.map(f.children, (p, m) => {
597
+ if (Y.isValidElement(p)) {
598
598
  const x = p.props;
599
- return Z.cloneElement(p, {
599
+ return Y.cloneElement(p, {
600
600
  key: m,
601
601
  className: k(s && "invisible", x.className)
602
602
  });
@@ -1070,7 +1070,7 @@ const er = {
1070
1070
  }, tr = {
1071
1071
  info: /* @__PURE__ */ e(Be, { size: 22 }),
1072
1072
  destructive: /* @__PURE__ */ e(Nt, { size: 22 }),
1073
- success: /* @__PURE__ */ e(Ze, { size: 22 }),
1073
+ success: /* @__PURE__ */ e(Ye, { size: 22 }),
1074
1074
  warning: /* @__PURE__ */ e(ve, { size: 20 }),
1075
1075
  base: /* @__PURE__ */ e(st, { size: 22 })
1076
1076
  };
@@ -1307,7 +1307,7 @@ function ia({
1307
1307
  gap: F = 8
1308
1308
  }) {
1309
1309
  var j, X;
1310
- const B = q(null), N = Z.Children.toArray(r).filter(Z.isValidElement), A = N.length, { screenSize: E } = Dt(), C = ne(() => {
1310
+ const B = q(null), N = Y.Children.toArray(r).filter(Y.isValidElement), A = N.length, { screenSize: E } = Dt(), C = ne(() => {
1311
1311
  if (typeof c == "number")
1312
1312
  return c;
1313
1313
  if (typeof c == "object" && c && E) {
@@ -1349,7 +1349,7 @@ function ia({
1349
1349
  x === "aligned" ? "disabled:opacity-90" : "disabled:opacity-50"
1350
1350
  );
1351
1351
  return /* @__PURE__ */ w("div", { className: k("relative", s), "data-carousel-wrapper": "true", children: [
1352
- !f && /* @__PURE__ */ e(te, { children: b ? Z.cloneElement(
1352
+ !f && /* @__PURE__ */ e(te, { children: b ? Y.cloneElement(
1353
1353
  b,
1354
1354
  {
1355
1355
  onClick: L,
@@ -1441,7 +1441,7 @@ function ia({
1441
1441
  ]
1442
1442
  }
1443
1443
  ),
1444
- !f && /* @__PURE__ */ e(te, { children: D ? Z.cloneElement(
1444
+ !f && /* @__PURE__ */ e(te, { children: D ? Y.cloneElement(
1445
1445
  D,
1446
1446
  {
1447
1447
  onClick: K,
@@ -2460,11 +2460,11 @@ function ma({
2460
2460
  enabled: c
2461
2461
  });
2462
2462
  if (Ir(y, h), $r(h, s), !h) return null;
2463
- const B = () => n ? Z.isValidElement(n) ? /* @__PURE__ */ e("div", { children: n }) : /* @__PURE__ */ e("h2", { className: "text-2xl font-semibold", id: b, children: n }) : null, N = () => {
2463
+ const B = () => n ? Y.isValidElement(n) ? /* @__PURE__ */ e("div", { children: n }) : /* @__PURE__ */ e("h2", { className: "text-2xl font-semibold", id: b, children: n }) : null, N = () => {
2464
2464
  if (!l) return null;
2465
- if (Z.isValidElement(l)) {
2465
+ if (Y.isValidElement(l)) {
2466
2466
  const A = l, E = A.props.className || "";
2467
- return Z.cloneElement(A, { className: k("px-6 py-4", E) });
2467
+ return Y.cloneElement(A, { className: k("px-6 py-4", E) });
2468
2468
  }
2469
2469
  return /* @__PURE__ */ e("div", { className: "px-6 py-4", children: l });
2470
2470
  };
@@ -2694,7 +2694,7 @@ function Rr({
2694
2694
  var T, M;
2695
2695
  x ? (h.current = document.activeElement, (T = b.current) == null || T.focus()) : ((M = h.current) == null || M.focus(), h.current = null);
2696
2696
  }, [x]);
2697
- const C = d.props, z = Z.cloneElement(d, {
2697
+ const C = d.props, z = Y.cloneElement(d, {
2698
2698
  "aria-expanded": x,
2699
2699
  "aria-haspopup": "dialog",
2700
2700
  "aria-controls": g,
@@ -3006,7 +3006,7 @@ function pa({
3006
3006
  isOpen: D,
3007
3007
  onClose: h
3008
3008
  });
3009
- const B = ne(() => Z.cloneElement(s, {
3009
+ const B = ne(() => Y.cloneElement(s, {
3010
3010
  onClick: (N) => {
3011
3011
  b && y((E) => !E);
3012
3012
  const A = s.props;
@@ -3051,7 +3051,7 @@ const Kr = (r) => ({
3051
3051
  separator: qr,
3052
3052
  custom: Hr
3053
3053
  };
3054
- function Yr(r = []) {
3054
+ function Zr(r = []) {
3055
3055
  const [o, t] = R(r), [s, n] = R(null), [a, l] = R(null), d = q(null), i = $((h, g) => {
3056
3056
  const v = {
3057
3057
  ...g,
@@ -3107,7 +3107,7 @@ function Yr(r = []) {
3107
3107
  handleDrop: b
3108
3108
  };
3109
3109
  }
3110
- const Zr = {
3110
+ const Yr = {
3111
3111
  sm: "text-sm",
3112
3112
  md: "text-base",
3113
3113
  lg: "text-lg"
@@ -3176,7 +3176,7 @@ function ba({
3176
3176
  handleDragOver: K,
3177
3177
  handleDragEnd: ae,
3178
3178
  handleDrop: le
3179
- } = Yr(r), ie = p || u;
3179
+ } = Zr(r), ie = p || u;
3180
3180
  V(() => {
3181
3181
  if (!N.current) {
3182
3182
  N.current = !0;
@@ -3219,14 +3219,14 @@ function ba({
3219
3219
  }
3220
3220
  }, O = () => {
3221
3221
  if (!y) return null;
3222
- const _ = k("font-medium opacity-60", Zr[o]);
3222
+ const _ = k("font-medium opacity-60", Yr[o]);
3223
3223
  if (typeof y == "string")
3224
3224
  return /* @__PURE__ */ e("h4", { id: C, className: _, children: y });
3225
3225
  const ee = y.props;
3226
- return Z.cloneElement(y, { id: C, className: k(_, ee.className) });
3226
+ return Y.cloneElement(y, { id: C, className: k(_, ee.className) });
3227
3227
  }, H = (_) => {
3228
3228
  if (!c) return null;
3229
- if (Z.isValidElement(c))
3229
+ if (Y.isValidElement(c))
3230
3230
  return c;
3231
3231
  switch (c) {
3232
3232
  case "disc":
@@ -3684,7 +3684,7 @@ function ke({ elementId: r, type: o, message: t }) {
3684
3684
  ),
3685
3685
  role: "status",
3686
3686
  children: [
3687
- o === "error" ? /* @__PURE__ */ e(ve, {}) : /* @__PURE__ */ e(Ze, {}),
3687
+ o === "error" ? /* @__PURE__ */ e(ve, {}) : /* @__PURE__ */ e(Ye, {}),
3688
3688
  /* @__PURE__ */ e("span", { id: `${r}-${o}-message`, children: t })
3689
3689
  ]
3690
3690
  }
@@ -3847,7 +3847,7 @@ function hn({
3847
3847
  !t && pn[c],
3848
3848
  !t && "px-2 py-1",
3849
3849
  t && "pointer-events-none",
3850
- a && "no-resize-handle",
3850
+ !a && "no-resize-handle",
3851
3851
  i
3852
3852
  );
3853
3853
  return /* @__PURE__ */ w("div", { className: k("-space-y-1.5", t && "cursor-text"), children: [
@@ -4051,16 +4051,16 @@ function vn({
4051
4051
  ref: d,
4052
4052
  ...i
4053
4053
  }) {
4054
- const { viewportRef: f, verticalThumbRef: u, horizontalThumbRef: c, isScrolling: p, isFadingOut: m, scrollbarVisible: x, handleScroll: y } = yn(n), b = Y(
4054
+ const { viewportRef: f, verticalThumbRef: u, horizontalThumbRef: c, isScrolling: p, isFadingOut: m, scrollbarVisible: x, handleScroll: y } = yn(n), b = Z(
4055
4055
  "relative flex-1 rounded-full bg-slate-400/60 hover:bg-slate-400/80 active:bg-slate-400",
4056
4056
  o
4057
4057
  );
4058
- return /* @__PURE__ */ w("div", { ref: d, id: l, className: Y("relative overflow-hidden", r), "data-scroll-area-root": "", ...i, children: [
4058
+ return /* @__PURE__ */ w("div", { ref: d, id: l, className: Z("relative overflow-hidden", r), "data-scroll-area-root": "", ...i, children: [
4059
4059
  /* @__PURE__ */ e(
4060
4060
  "div",
4061
4061
  {
4062
4062
  ref: f,
4063
- className: Y(
4063
+ className: Z(
4064
4064
  "h-full w-full overflow-auto rounded-[inherit] [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",
4065
4065
  t
4066
4066
  ),
@@ -4072,7 +4072,7 @@ function vn({
4072
4072
  x.vertical && (p || m) && /* @__PURE__ */ e(
4073
4073
  "div",
4074
4074
  {
4075
- className: Y(
4075
+ className: Z(
4076
4076
  "touch-none select-none transition-all",
4077
4077
  "p-[1px]",
4078
4078
  "absolute right-0 top-0",
@@ -4089,7 +4089,7 @@ function vn({
4089
4089
  "div",
4090
4090
  {
4091
4091
  ref: u,
4092
- className: Y("absolute rounded-full", b),
4092
+ className: Z("absolute rounded-full", b),
4093
4093
  "data-scroll-area-thumb": "",
4094
4094
  style: { height: "20%", top: "0%", width: "100%" }
4095
4095
  }
@@ -4099,7 +4099,7 @@ function vn({
4099
4099
  x.horizontal && (p || m) && /* @__PURE__ */ e(
4100
4100
  "div",
4101
4101
  {
4102
- className: Y(
4102
+ className: Z(
4103
4103
  "touch-none select-none transition-all",
4104
4104
  "p-[1px]",
4105
4105
  "absolute bottom-0 left-0",
@@ -4116,7 +4116,7 @@ function vn({
4116
4116
  "div",
4117
4117
  {
4118
4118
  ref: c,
4119
- className: Y("absolute rounded-full", b),
4119
+ className: Z("absolute rounded-full", b),
4120
4120
  "data-scroll-area-thumb": "",
4121
4121
  style: { width: "20%", left: "0%", height: "100%" }
4122
4122
  }
@@ -4126,7 +4126,7 @@ function vn({
4126
4126
  x.vertical && x.horizontal && /* @__PURE__ */ e(
4127
4127
  "div",
4128
4128
  {
4129
- className: Y("bg-transparent", "absolute bottom-0 right-0"),
4129
+ className: Z("bg-transparent", "absolute bottom-0 right-0"),
4130
4130
  "data-scroll-area-corner": "",
4131
4131
  style: {
4132
4132
  height: `${n}px`,
@@ -4530,7 +4530,7 @@ function Dn({
4530
4530
  },
4531
4531
  `${c.value}-${p}`
4532
4532
  )),
4533
- u.length === 0 && n && Z.Children.map(n, (c) => Z.isValidElement(c) && c.type === Ie ? /* @__PURE__ */ e(
4533
+ u.length === 0 && n && Y.Children.map(n, (c) => Y.isValidElement(c) && c.type === Ie ? /* @__PURE__ */ e(
4534
4534
  Ie,
4535
4535
  {
4536
4536
  ...c.props,
@@ -4784,7 +4784,7 @@ function Cn({
4784
4784
  left: "left-full top-1/2 -translate-y-1/2 border-t-[6px] border-b-[6px] border-l-[6px] border-t-transparent border-b-transparent border-l-tooltip",
4785
4785
  right: "right-full top-1/2 -translate-y-1/2 border-t-[6px] border-b-[6px] border-r-[6px] border-t-transparent border-b-transparent border-r-tooltip"
4786
4786
  }[s]) : "", N = o.props;
4787
- return /* @__PURE__ */ e(te, { children: Z.cloneElement(o, {
4787
+ return /* @__PURE__ */ e(te, { children: Y.cloneElement(o, {
4788
4788
  style: {
4789
4789
  ...N.style,
4790
4790
  position: "relative"
@@ -4909,7 +4909,7 @@ function wa({
4909
4909
  }) {
4910
4910
  const x = J(), y = r || `modal-${x}`, b = r ? `${r}-title` : `modal-title-${x}`, { show: D, shouldRender: h } = En(o);
4911
4911
  if (Sn(y, h), Fn(h, t), !h) return null;
4912
- const g = () => s ? Z.isValidElement(s) ? /* @__PURE__ */ e("div", { className: "mb-4", children: s }) : /* @__PURE__ */ e("h2", { className: "mb-4 text-xl font-semibold", id: b, children: s }) : null, v = () => u.length === 0 ? null : /* @__PURE__ */ e("div", { className: "mt-6 not-sm:grid gap-y-2 sm:flex sm:justify-start sm:flex-row-reverse sm:gap-x-3", children: u.map((F, B) => {
4912
+ const g = () => s ? Y.isValidElement(s) ? /* @__PURE__ */ e("div", { className: "mb-4", children: s }) : /* @__PURE__ */ e("h2", { className: "mb-4 text-xl font-semibold", id: b, children: s }) : null, v = () => u.length === 0 ? null : /* @__PURE__ */ e("div", { className: "mt-6 not-sm:grid gap-y-2 sm:flex sm:justify-start sm:flex-row-reverse sm:gap-x-3", children: u.map((F, B) => {
4913
4913
  const { label: N, ...A } = F;
4914
4914
  return /* @__PURE__ */ e(Qt, { ...A, "data-modal-action": "true", children: N }, B);
4915
4915
  }) });
@@ -4922,23 +4922,23 @@ function wa({
4922
4922
  role: "dialog",
4923
4923
  "aria-modal": "true",
4924
4924
  className: "fixed inset-0 z-[100] overflow-y-auto",
4925
- children: /* @__PURE__ */ w("div", { className: Y("flex min-h-screen items-center justify-center p-4", i), children: [
4925
+ children: /* @__PURE__ */ w("div", { className: Z("flex min-h-screen items-center justify-center p-4", i), children: [
4926
4926
  /* @__PURE__ */ e(
4927
4927
  "div",
4928
4928
  {
4929
- className: Y("fixed inset-0 bg-black/20 transition-all", d),
4929
+ className: Z("fixed inset-0 bg-black/20 transition-all", d),
4930
4930
  onClick: () => {
4931
4931
  c || t();
4932
4932
  }
4933
4933
  }
4934
4934
  ),
4935
- a && /* @__PURE__ */ e("div", { className: Y("relative w-fit", l), children: n }),
4935
+ a && /* @__PURE__ */ e("div", { className: Z("relative w-fit", l), children: n }),
4936
4936
  !a && /* @__PURE__ */ w(
4937
4937
  "div",
4938
4938
  {
4939
4939
  id: y,
4940
4940
  tabIndex: -1,
4941
- className: Y(
4941
+ className: Z(
4942
4942
  "relative w-full max-w-xl transform rounded-lg shadow-xl bg-popover text-popover-foreground transition-all p-6 focus:ring ease-in",
4943
4943
  D ? "opacity-100 scale-100" : "opacity-0 scale-90",
4944
4944
  l
@@ -4998,19 +4998,19 @@ function ka({
4998
4998
  }, [c, t, r, o])(), x = r > 1, y = c || r < o, b = s && !c, D = s && !c, h = (v) => {
4999
4999
  v >= 1 && (c || v <= o) && n(v);
5000
5000
  }, g = $(() => {
5001
- const v = Y(
5001
+ const v = Z(
5002
5002
  "flex items-center justify-center min-w-fit",
5003
5003
  "disabled:opacity-50 disabled:cursor-not-allowed",
5004
5004
  In[a],
5005
5005
  "rounded-md"
5006
5006
  );
5007
- return Y(v, An[l], f);
5007
+ return Z(v, An[l], f);
5008
5008
  }, [l, a, f]);
5009
5009
  return /* @__PURE__ */ w(
5010
5010
  "nav",
5011
5011
  {
5012
5012
  ref: i,
5013
- className: Y("flex items-center justify-center gap-1", d),
5013
+ className: Z("flex items-center justify-center gap-1", d),
5014
5014
  role: "navigation",
5015
5015
  "aria-label": "Pagination",
5016
5016
  "data-page": r,
@@ -5047,7 +5047,7 @@ function ka({
5047
5047
  "button",
5048
5048
  {
5049
5049
  onClick: () => h(v),
5050
- className: Y(g(), "aspect-square"),
5050
+ className: Z(g(), "aspect-square"),
5051
5051
  "aria-label": `Go to page ${v}`,
5052
5052
  "aria-current": v === r ? !0 : void 0,
5053
5053
  children: v
@@ -5144,11 +5144,11 @@ function Na({
5144
5144
  }) {
5145
5145
  const m = J(), x = o || `panel-${m}`, y = o ? `${o}-title` : `panel-title-${m}`, { show: b, shouldRender: D } = $n(t);
5146
5146
  if (Mn(x, D), zn(D, s), !D) return null;
5147
- const h = () => n ? Z.isValidElement(n) ? /* @__PURE__ */ e("div", { children: n }) : /* @__PURE__ */ e("h2", { className: "text-2xl font-semibold", id: y, children: n }) : null, g = () => {
5147
+ const h = () => n ? Y.isValidElement(n) ? /* @__PURE__ */ e("div", { children: n }) : /* @__PURE__ */ e("h2", { className: "text-2xl font-semibold", id: y, children: n }) : null, g = () => {
5148
5148
  if (!l) return null;
5149
- if (Z.isValidElement(l)) {
5149
+ if (Y.isValidElement(l)) {
5150
5150
  const v = l, F = v.props.className || "";
5151
- return Z.cloneElement(v, { className: Y("px-6 py-4", F) });
5151
+ return Y.cloneElement(v, { className: Z("px-6 py-4", F) });
5152
5152
  }
5153
5153
  return /* @__PURE__ */ e("div", { className: "px-6 py-4", children: l });
5154
5154
  };
@@ -5166,7 +5166,7 @@ function Na({
5166
5166
  /* @__PURE__ */ e(
5167
5167
  "div",
5168
5168
  {
5169
- className: Y(
5169
+ className: Z(
5170
5170
  "fixed inset-0 bg-black/40 transition-opacity",
5171
5171
  b ? "opacity-100" : "opacity-0",
5172
5172
  i
@@ -5182,7 +5182,7 @@ function Na({
5182
5182
  id: x,
5183
5183
  ref: r,
5184
5184
  tabIndex: -1,
5185
- className: Y(
5185
+ className: Z(
5186
5186
  "relative h-full max-w-md transform shadow-xl bg-popover text-popover-foreground transition-transform ease-in-out border-l border-border",
5187
5187
  b ? "translate-x-0" : "translate-x-full",
5188
5188
  d
@@ -5200,7 +5200,7 @@ function Na({
5200
5200
  children: /* @__PURE__ */ e(be, { size: 18 })
5201
5201
  }
5202
5202
  ),
5203
- /* @__PURE__ */ e("div", { className: Y("flex-1 overflow-y-auto px-6 pb-6", n ? "pt-6" : "pt-10"), children: a }),
5203
+ /* @__PURE__ */ e("div", { className: Z("flex-1 overflow-y-auto px-6 pb-6", n ? "pt-6" : "pt-10"), children: a }),
5204
5204
  g()
5205
5205
  ] })
5206
5206
  }
@@ -5431,7 +5431,7 @@ function Ea({
5431
5431
  {
5432
5432
  id: r,
5433
5433
  ref: p,
5434
- className: Y(
5434
+ className: Z(
5435
5435
  "relative flex items-center w-full touch-none select-none",
5436
5436
  d && "opacity-50 cursor-not-allowed",
5437
5437
  c
@@ -5446,7 +5446,7 @@ function Ea({
5446
5446
  "div",
5447
5447
  {
5448
5448
  ref: v,
5449
- className: Y(
5449
+ className: Z(
5450
5450
  "relative h-1.5 w-full rounded-full bg-muted-foreground cursor-pointer",
5451
5451
  d && "cursor-not-allowed",
5452
5452
  i
@@ -5456,7 +5456,7 @@ function Ea({
5456
5456
  /* @__PURE__ */ e(
5457
5457
  "div",
5458
5458
  {
5459
- className: Y(
5459
+ className: Z(
5460
5460
  "absolute h-full rounded-full pointer-events-none",
5461
5461
  // pointer-events are disabled so that user interactions are handled by the track element, enabling correct slider behavior
5462
5462
  !F.current && "transition-all",
@@ -5468,7 +5468,7 @@ function Ea({
5468
5468
  /* @__PURE__ */ e(
5469
5469
  "div",
5470
5470
  {
5471
- className: Y(
5471
+ className: Z(
5472
5472
  "absolute size-5 -top-2 rounded-full shadow-md cursor-grab",
5473
5473
  d && "cursor-not-allowed",
5474
5474
  !d && "cursor-grab focus:outline-none focus:ring-2",
@@ -5613,7 +5613,7 @@ function Fa({
5613
5613
  isAllSelected: T,
5614
5614
  isPartiallySelected: M
5615
5615
  } = Ln({ initialSelected: i }), I = n.map((L, K) => d(L, K));
5616
- Z.useEffect(() => {
5616
+ Y.useEffect(() => {
5617
5617
  f && f(Array.from(B));
5618
5618
  }, [B, f]);
5619
5619
  const G = () => {
@@ -5907,15 +5907,15 @@ const Kn = {
5907
5907
  unchecked: "bg-muted-foreground",
5908
5908
  checked: "bg-destructive"
5909
5909
  }
5910
- }, Ye = {
5910
+ }, Ze = {
5911
5911
  variant: "default",
5912
5912
  size: "md"
5913
5913
  };
5914
5914
  function Ia({
5915
5915
  ref: r,
5916
5916
  id: o,
5917
- size: t = Ye.size,
5918
- variant: s = Ye.variant,
5917
+ size: t = Ze.size,
5918
+ variant: s = Ze.variant,
5919
5919
  checked: n,
5920
5920
  onCheckedChange: a,
5921
5921
  disabled: l = !1,