@dimasbaguspm/versaur 0.0.37 → 0.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import { c as f, j as r, a as l } from "./index-DOdDlCoL.js";
2
2
  import j, { useState as p, useEffect as x, createContext as V, useContext as B, forwardRef as u, useRef as z, useMemo as M } from "react";
3
- import { O as S, n as P, k as N, H as D } from "./image-rectangle-DIGAUCV8.js";
3
+ import { O as S, n as P, k as N, H as D } from "./image-rectangle-C1ydvFGL.js";
4
4
  import { XIcon as R } from "lucide-react";
5
5
  import "./snackbar-DH8jCh2V.js";
6
6
  function F() {
@@ -1,9 +1,9 @@
1
1
  import { c as v, j as e, a as m } from "./index-DOdDlCoL.js";
2
2
  import x, { createContext as N, useContext as z, useId as F, forwardRef as j, useRef as B, useState as R, useEffect as U, useMemo as E } from "react";
3
- import { I as C } from "./image-rectangle-DIGAUCV8.js";
3
+ import { I as C } from "./image-rectangle-C1ydvFGL.js";
4
4
  import { Calendar as X, SearchIcon as Y, Clock as Z, Banknote as ee, MailIcon as re, Check as P } from "lucide-react";
5
5
  import "./snackbar-DH8jCh2V.js";
6
- import { M as O, D as M, B as V } from "./bottom-sheet-CJfhhYkA.js";
6
+ import { M as O, D as M, B as V } from "./bottom-sheet-B9Knzg2N.js";
7
7
  const te = v("space-y-2", {
8
8
  variants: {
9
9
  direction: {
@@ -1643,7 +1643,7 @@ const fr = ({
1643
1643
  variant: c,
1644
1644
  inputMode: "numeric",
1645
1645
  autoComplete: "off",
1646
- pattern: o ? "^-?\\d{1,3}(\\.\\d{3})*(,\\d{1,2})?$" : "^\\d{1,3}(\\.\\d{3})*(,\\d{1,2})?$",
1646
+ pattern: "[0-9.,-]*",
1647
1647
  ...a,
1648
1648
  ...s
1649
1649
  }
@@ -1,4 +1,4 @@
1
- import { B as a, C as n, b as p, a as u, D as s, k as I, E as i, M as l, P as S, R as c, d as r, c as g, S as h, e as o, j as m, i as M, h as b, f as k, T as x, g as C } from "../bottom-sheet-input-CpL1KbPE.js";
1
+ import { B as a, C as n, b as p, a as u, D as s, k as I, E as i, M as l, P as S, R as c, d as r, c as g, S as h, e as o, j as m, i as M, h as b, f as k, T as x, g as C } from "../bottom-sheet-input-Ch9h_vZC.js";
2
2
  export {
3
3
  a as BottomSheetInput,
4
4
  n as CheckboxInput,
@@ -146,8 +146,8 @@ const AccordionContext = createContext(
146
146
  isCapitalize: i = !1,
147
147
  hasMargin: s = !1,
148
148
  align: o = "left",
149
- italic: a = !1,
150
- clamp: l = "none",
149
+ italic: l = !1,
150
+ clamp: a = "none",
151
151
  ellipsis: u = !1,
152
152
  className: c,
153
153
  children: f,
@@ -165,8 +165,8 @@ const AccordionContext = createContext(
165
165
  isCapitalize: i,
166
166
  hasMargin: s,
167
167
  align: o,
168
- italic: a,
169
- clamp: l,
168
+ italic: l,
169
+ clamp: a,
170
170
  ellipsis: u,
171
171
  level: e
172
172
  }),
@@ -209,11 +209,11 @@ const iconVariants = cva("inline-flex items-center justify-center", {
209
209
  size: "md",
210
210
  color: "primary"
211
211
  }
212
- }), Icon = React__default.forwardRef(function({ as: t, color: r = "primary", size: i = "md", className: s, ...o }, a) {
212
+ }), Icon = React__default.forwardRef(function({ as: t, color: r = "primary", size: i = "md", className: s, ...o }, l) {
213
213
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
214
214
  t,
215
215
  {
216
- ref: a,
216
+ ref: l,
217
217
  className: iconVariants({ color: r, size: i, className: s }),
218
218
  ...o
219
219
  }
@@ -261,8 +261,8 @@ const iconVariants = cva("inline-flex items-center justify-center", {
261
261
  isDefaultOpen: i = !1,
262
262
  disabled: s = !1,
263
263
  hasMargin: o,
264
- className: a,
265
- children: l,
264
+ className: l,
265
+ children: a,
266
266
  ...u
267
267
  }, c) {
268
268
  const [f, n] = useState(i), d = () => {
@@ -278,7 +278,7 @@ const iconVariants = cva("inline-flex items-center justify-center", {
278
278
  ref: c,
279
279
  className: cn(
280
280
  accordionVariants({ disabled: s }),
281
- a,
281
+ l,
282
282
  o && "mb-4"
283
283
  ),
284
284
  ...u,
@@ -307,7 +307,7 @@ const iconVariants = cva("inline-flex items-center justify-center", {
307
307
  "overflow-hidden transition-all duration-300",
308
308
  f ? "max-h-screen opacity-100" : "max-h-0 opacity-0"
309
309
  ),
310
- children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "p-4 pt-2", children: l })
310
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "p-4 pt-2", children: a })
311
311
  }
312
312
  )
313
313
  ]
@@ -463,10 +463,10 @@ const iconVariants = cva("inline-flex items-center justify-center", {
463
463
  className: i,
464
464
  children: s,
465
465
  ...o
466
- }, a) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
466
+ }, l) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
467
467
  "div",
468
468
  {
469
- ref: a,
469
+ ref: l,
470
470
  role: "alert",
471
471
  className: cn(alertVariants({ variant: e, color: t }), i),
472
472
  ...o,
@@ -543,16 +543,16 @@ const iconVariants = cva("inline-flex items-center justify-center", {
543
543
  fontSize: i = "base",
544
544
  fontWeight: s = "medium",
545
545
  quiet: o = !1,
546
- ...a
547
- }, l) => /* @__PURE__ */ jsxRuntimeExports.jsx(
546
+ ...l
547
+ }, a) => /* @__PURE__ */ jsxRuntimeExports.jsx(
548
548
  "a",
549
549
  {
550
- ref: l,
550
+ ref: a,
551
551
  className: cn(
552
552
  anchorVariants({ color: r, fontSize: i, fontWeight: s, quiet: o }),
553
553
  t
554
554
  ),
555
- ...a,
555
+ ...l,
556
556
  children: e
557
557
  }
558
558
  )
@@ -633,8 +633,8 @@ const iconVariants = cva("inline-flex items-center justify-center", {
633
633
  isCapitalize: i = !1,
634
634
  align: s = "left",
635
635
  italic: o = !1,
636
- clamp: a = "none",
637
- ellipsis: l = !1,
636
+ clamp: l = "none",
637
+ ellipsis: a = !1,
638
638
  fontSize: u,
639
639
  fontWeight: c,
640
640
  className: f,
@@ -663,8 +663,8 @@ const iconVariants = cva("inline-flex items-center justify-center", {
663
663
  isCapitalize: i,
664
664
  align: s,
665
665
  italic: o,
666
- clamp: a,
667
- ellipsis: l,
666
+ clamp: l,
667
+ ellipsis: a,
668
668
  // @ts-expect-error - `as` is not a valid variant
669
669
  as: y
670
670
  }),
@@ -678,11 +678,11 @@ const iconVariants = cva("inline-flex items-center justify-center", {
678
678
  );
679
679
  }
680
680
  ), Attribute = forwardRef(
681
- function({ title: t, children: r, className: i, hasMargin: s, ...o }, a) {
681
+ function({ title: t, children: r, className: i, hasMargin: s, ...o }, l) {
682
682
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
683
683
  "div",
684
684
  {
685
- ref: a,
685
+ ref: l,
686
686
  className: cn("space-y-1", i, s && "mb-4"),
687
687
  ...o,
688
688
  children: [
@@ -763,17 +763,17 @@ function getGridCols(e = 4) {
763
763
  return "grid-cols-4";
764
764
  }
765
765
  }
766
- const AttributeListItem = forwardRef(function({ children: t, className: r, span: i = 1, title: s, ...o }, a) {
767
- const l = getColSpan(i);
768
- return /* @__PURE__ */ jsxRuntimeExports.jsx("li", { ref: a, className: cn(l, r), ...o, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Attribute, { title: s, children: t }) });
766
+ const AttributeListItem = forwardRef(function({ children: t, className: r, span: i = 1, title: s, ...o }, l) {
767
+ const a = getColSpan(i);
768
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("li", { ref: l, className: cn(a, r), ...o, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Attribute, { title: s, children: t }) });
769
769
  }), AttributeListRoot = forwardRef(
770
770
  function({ children: t, className: r, columns: i = 4, ...s }, o) {
771
- const a = getGridCols(i);
771
+ const l = getGridCols(i);
772
772
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
773
773
  "ul",
774
774
  {
775
775
  ref: o,
776
- className: cn("grid gap-4", a, r),
776
+ className: cn("grid gap-4", l, r),
777
777
  ...s,
778
778
  children: t
779
779
  }
@@ -827,10 +827,10 @@ const AttributeListItem = forwardRef(function({ children: t, className: r, span:
827
827
  className: i,
828
828
  children: s,
829
829
  ...o
830
- }, a) => /* @__PURE__ */ jsxRuntimeExports.jsx(
830
+ }, l) => /* @__PURE__ */ jsxRuntimeExports.jsx(
831
831
  "div",
832
832
  {
833
- ref: a,
833
+ ref: l,
834
834
  className: cn(avatarVariants({ variant: e, size: t, shape: r }), i),
835
835
  ...o,
836
836
  children: s
@@ -838,17 +838,17 @@ const AttributeListItem = forwardRef(function({ children: t, className: r, span:
838
838
  )
839
839
  ), AvatarImage = forwardRef(
840
840
  ({ src: e, alt: t, className: r, onError: i, ...s }, o) => {
841
- const [a, l] = useState(!1);
841
+ const [l, a] = useState(!1);
842
842
  useEffect(() => {
843
- l(!1);
843
+ a(!1);
844
844
  }, [e]);
845
845
  const u = useCallback(
846
846
  (c) => {
847
- l(!0), i?.(c);
847
+ a(!0), i?.(c);
848
848
  },
849
849
  [i]
850
850
  );
851
- return a ? null : /* @__PURE__ */ jsxRuntimeExports.jsx(
851
+ return l ? null : /* @__PURE__ */ jsxRuntimeExports.jsx(
852
852
  "img",
853
853
  {
854
854
  ref: o,
@@ -1026,11 +1026,11 @@ const AttributeListItem = forwardRef(function({ children: t, className: r, span:
1026
1026
  size: i = "md",
1027
1027
  iconLeft: s,
1028
1028
  iconRight: o,
1029
- className: a,
1030
- children: l,
1029
+ className: l,
1030
+ children: a,
1031
1031
  ...u
1032
1032
  }, c) => {
1033
- const d = !(l != null && l !== "") && !!(s || o);
1033
+ const d = !(a != null && a !== "") && !!(s || o);
1034
1034
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
1035
1035
  "span",
1036
1036
  {
@@ -1043,7 +1043,7 @@ const AttributeListItem = forwardRef(function({ children: t, className: r, span:
1043
1043
  size: i,
1044
1044
  iconOnly: d
1045
1045
  }),
1046
- a
1046
+ l
1047
1047
  ),
1048
1048
  ...u,
1049
1049
  children: d ? (
@@ -1053,7 +1053,7 @@ const AttributeListItem = forwardRef(function({ children: t, className: r, span:
1053
1053
  // Normal mode: display icon(s) and text
1054
1054
  /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
1055
1055
  s,
1056
- l,
1056
+ a,
1057
1057
  o
1058
1058
  ] })
1059
1059
  )
@@ -1156,8 +1156,8 @@ const AttributeListItem = forwardRef(function({ children: t, className: r, span:
1156
1156
  size: i = "md",
1157
1157
  disabled: s = !1,
1158
1158
  type: o = "button",
1159
- children: a,
1160
- ...l
1159
+ children: l,
1160
+ ...a
1161
1161
  }, u) {
1162
1162
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
1163
1163
  "button",
@@ -1168,8 +1168,8 @@ const AttributeListItem = forwardRef(function({ children: t, className: r, span:
1168
1168
  disabled: s,
1169
1169
  "aria-disabled": s,
1170
1170
  inert: s ? !0 : void 0,
1171
- ...l,
1172
- children: a
1171
+ ...a,
1172
+ children: l
1173
1173
  }
1174
1174
  );
1175
1175
  }
@@ -1231,20 +1231,20 @@ function isTriggerVisible(e, t) {
1231
1231
  return !0;
1232
1232
  }
1233
1233
  function useMenuPosition(e, t, r, i = "bottom-start", s) {
1234
- const [o, a] = useState({ isReady: !1 }), l = useCallback(() => {
1234
+ const [o, l] = useState({ isReady: !1 }), a = useCallback(() => {
1235
1235
  if (!e || !t.current) {
1236
- a({ isReady: !1 });
1236
+ l({ isReady: !1 });
1237
1237
  return;
1238
1238
  }
1239
1239
  if (!r.current) {
1240
1240
  const v = setTimeout(() => {
1241
- a({ isReady: !1 });
1241
+ l({ isReady: !1 });
1242
1242
  }, 0);
1243
1243
  return () => clearTimeout(v);
1244
1244
  }
1245
1245
  const u = t.current, c = r.current, f = getScrollableAncestors(u);
1246
1246
  if (!isTriggerVisible(u, f)) {
1247
- a({ isReady: !1 });
1247
+ l({ isReady: !1 });
1248
1248
  return;
1249
1249
  }
1250
1250
  const n = u.getBoundingClientRect(), d = window.innerWidth, h = window.innerHeight;
@@ -1254,39 +1254,39 @@ function useMenuPosition(e, t, r, i = "bottom-start", s) {
1254
1254
  c.style.visibility = "hidden", c.style.position = "absolute", c.style.opacity = "0";
1255
1255
  const x = c.getBoundingClientRect();
1256
1256
  c.style.visibility = R, c.style.position = E, c.style.opacity = C;
1257
- const I = w.bottom - n.bottom - 8, N = n.top - w.top - 8, V = w.right - n.left - 8, B = n.right - w.left - 8;
1257
+ const N = w.bottom - n.bottom - 8, I = n.top - w.top - 8, V = w.right - n.left - 8, B = n.right - w.left - 8;
1258
1258
  let p = i;
1259
1259
  if (i === "auto") {
1260
1260
  const b = [
1261
1261
  {
1262
1262
  name: "bottom-start",
1263
- fits: I >= x.height && V >= x.width,
1264
- spaceUsed: I,
1263
+ fits: N >= x.height && V >= x.width,
1264
+ spaceUsed: N,
1265
1265
  priority: 1
1266
1266
  // Prefer bottom-start as default
1267
1267
  },
1268
1268
  {
1269
1269
  name: "bottom-end",
1270
- fits: I >= x.height && B >= x.width,
1271
- spaceUsed: I,
1270
+ fits: N >= x.height && B >= x.width,
1271
+ spaceUsed: N,
1272
1272
  priority: 2
1273
1273
  },
1274
1274
  {
1275
1275
  name: "top-start",
1276
- fits: N >= x.height && V >= x.width,
1277
- spaceUsed: N,
1276
+ fits: I >= x.height && V >= x.width,
1277
+ spaceUsed: I,
1278
1278
  priority: 3
1279
1279
  },
1280
1280
  {
1281
1281
  name: "top-end",
1282
- fits: N >= x.height && B >= x.width,
1283
- spaceUsed: N,
1282
+ fits: I >= x.height && B >= x.width,
1283
+ spaceUsed: I,
1284
1284
  priority: 4
1285
1285
  }
1286
1286
  ].filter((j) => j.fits);
1287
1287
  b.length > 0 ? p = b.sort(
1288
1288
  (j, k) => j.priority - k.priority
1289
- )[0].name : I >= N ? p = V >= B ? "bottom-start" : "bottom-end" : p = V >= B ? "top-start" : "top-end";
1289
+ )[0].name : N >= I ? p = V >= B ? "bottom-start" : "bottom-end" : p = V >= B ? "top-start" : "top-end";
1290
1290
  }
1291
1291
  const g = {};
1292
1292
  if (s)
@@ -1366,17 +1366,17 @@ function useMenuPosition(e, t, r, i = "bottom-start", s) {
1366
1366
  p.endsWith("start") ? g.left = (g.left || 0) - j : g.right = (g.right || 0) + j;
1367
1367
  }
1368
1368
  }
1369
- g.isReady = !0, a(g);
1369
+ g.isReady = !0, l(g);
1370
1370
  }, [e, i, t, r, s]);
1371
1371
  return useEffect(() => {
1372
- l();
1373
- }, [l]), useEffect(() => {
1372
+ a();
1373
+ }, [a]), useEffect(() => {
1374
1374
  if (!e || !t.current) return;
1375
1375
  const u = t.current, c = getScrollableAncestors(u);
1376
1376
  let f = !1;
1377
1377
  const n = () => {
1378
1378
  f || (requestAnimationFrame(() => {
1379
- l(), f = !1;
1379
+ a(), f = !1;
1380
1380
  }), f = !0);
1381
1381
  };
1382
1382
  return c.forEach((d) => {
@@ -1386,7 +1386,7 @@ function useMenuPosition(e, t, r, i = "bottom-start", s) {
1386
1386
  d === document.documentElement ? (window.removeEventListener("scroll", n), window.removeEventListener("resize", n)) : d.removeEventListener("scroll", n);
1387
1387
  });
1388
1388
  };
1389
- }, [e, l, t]), o;
1389
+ }, [e, a, t]), o;
1390
1390
  }
1391
1391
  const MenuContext = createContext(void 0), MenuProvider = MenuContext.Provider, useMenuProvider = () => {
1392
1392
  const e = useContext(MenuContext);
@@ -1397,8 +1397,8 @@ const MenuContext = createContext(void 0), MenuProvider = MenuContext.Provider,
1397
1397
  ({ children: e }, t) => /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { ref: t, className: "flex flex-col gap-1", children: e })
1398
1398
  ), MenuItem = forwardRef(
1399
1399
  ({ children: e, disabled: t, onClick: r, active: i, ...s }, o) => {
1400
- const { preserve: a, onClose: l } = useMenuProvider(), u = (c) => {
1401
- r?.(c), a || l();
1400
+ const { preserve: l, onClose: a } = useMenuProvider(), u = (c) => {
1401
+ r?.(c), l || a();
1402
1402
  };
1403
1403
  return /* @__PURE__ */ jsxRuntimeExports.jsx("li", { ref: o, ...s, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
1404
1404
  Button,
@@ -1429,8 +1429,8 @@ const MenuContext = createContext(void 0), MenuProvider = MenuContext.Provider,
1429
1429
  content: i,
1430
1430
  children: s,
1431
1431
  placement: o = "auto",
1432
- container: a,
1433
- preserve: l
1432
+ container: l,
1433
+ preserve: a
1434
1434
  }) => {
1435
1435
  const u = useRef(null), c = useRef(null), f = useId();
1436
1436
  useMenuOutsideClick(e, c, u, t);
@@ -1439,7 +1439,7 @@ const MenuContext = createContext(void 0), MenuProvider = MenuContext.Provider,
1439
1439
  u,
1440
1440
  c,
1441
1441
  o,
1442
- a || null
1442
+ l || null
1443
1443
  ), d = {
1444
1444
  ...n,
1445
1445
  position: n.position || "absolute",
@@ -1460,7 +1460,7 @@ const MenuContext = createContext(void 0), MenuProvider = MenuContext.Provider,
1460
1460
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
1461
1461
  MenuProvider,
1462
1462
  {
1463
- value: { onClose: t, preserve: !!l },
1463
+ value: { onClose: t, preserve: !!a },
1464
1464
  children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "relative w-fit", children: [
1465
1465
  cloneElement(s, {
1466
1466
  // @ts-expect-error: ref is valid for button or forwardRef components
@@ -1501,8 +1501,8 @@ const MenuContext = createContext(void 0), MenuProvider = MenuContext.Provider,
1501
1501
  onOpenChange: i,
1502
1502
  onClick: s,
1503
1503
  placement: o,
1504
- container: a,
1505
- preserve: l,
1504
+ container: l,
1505
+ preserve: a,
1506
1506
  label: u,
1507
1507
  ...c
1508
1508
  } = e ?? {}, [f, n] = useState(!1);
@@ -1520,8 +1520,8 @@ const MenuContext = createContext(void 0), MenuProvider = MenuContext.Provider,
1520
1520
  isOpen: f,
1521
1521
  onOutsideClick: d,
1522
1522
  placement: o,
1523
- container: a,
1524
- preserve: l,
1523
+ container: l,
1524
+ preserve: a,
1525
1525
  content: /* @__PURE__ */ jsxRuntimeExports.jsx(Menu.Content, { children: r }),
1526
1526
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { ref: t, onClick: h, ...c, children: u })
1527
1527
  }
@@ -1625,8 +1625,8 @@ const buttonIconVariants = cva(
1625
1625
  size: i = "md",
1626
1626
  shape: s = "rounded",
1627
1627
  disabled: o = !1,
1628
- as: a,
1629
- "aria-label": l,
1628
+ as: l,
1629
+ "aria-label": a,
1630
1630
  ...u
1631
1631
  }, c) {
1632
1632
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -1644,13 +1644,13 @@ const buttonIconVariants = cva(
1644
1644
  ),
1645
1645
  disabled: o,
1646
1646
  "aria-disabled": o,
1647
- "aria-label": l,
1647
+ "aria-label": a,
1648
1648
  inert: o ? !0 : void 0,
1649
1649
  ...u,
1650
1650
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
1651
1651
  Icon,
1652
1652
  {
1653
- as: a,
1653
+ as: l,
1654
1654
  size: "sm",
1655
1655
  color: getIconColorFromVariant(r)
1656
1656
  }
@@ -1665,8 +1665,8 @@ const buttonIconVariants = cva(
1665
1665
  children: i,
1666
1666
  onOpenChange: s,
1667
1667
  onClick: o,
1668
- placement: a,
1669
- container: l,
1668
+ placement: l,
1669
+ container: a,
1670
1670
  preserve: u,
1671
1671
  ...c
1672
1672
  } = e ?? {}, [f, n] = useState(!1);
@@ -1683,8 +1683,8 @@ const buttonIconVariants = cva(
1683
1683
  {
1684
1684
  isOpen: f,
1685
1685
  onOutsideClick: d,
1686
- placement: a,
1687
- container: l,
1686
+ placement: l,
1687
+ container: a,
1688
1688
  preserve: u,
1689
1689
  content: /* @__PURE__ */ jsxRuntimeExports.jsx(Menu.Content, { children: i }),
1690
1690
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(ButtonIcon, { ref: t, as: r, onClick: h, ...c })
@@ -1761,7 +1761,7 @@ const buttonIconVariants = cva(
1761
1761
  }
1762
1762
  );
1763
1763
  function useFloatingPosition(e, t = "1rem") {
1764
- const r = useRef(null), [i, s] = useState({}), [o, a] = useState("fixed bottom-4 right-4"), l = useCallback(() => {
1764
+ const r = useRef(null), [i, s] = useState({}), [o, l] = useState("fixed bottom-4 right-4"), a = useCallback(() => {
1765
1765
  const c = r.current;
1766
1766
  if (!c) return;
1767
1767
  const n = c.getBoundingClientRect().height > window.innerHeight;
@@ -1775,21 +1775,21 @@ function useFloatingPosition(e, t = "1rem") {
1775
1775
  position: "fixed",
1776
1776
  bottom: t,
1777
1777
  zIndex: 50
1778
- }, h = `fixed bottom-4 ${e}-4`), s(d), a(h);
1778
+ }, h = `fixed bottom-4 ${e}-4`), s(d), l(h);
1779
1779
  }, [e, t]);
1780
1780
  return useEffect(() => {
1781
- l();
1781
+ a();
1782
1782
  const c = r.current;
1783
- return c && c.addEventListener("scroll", l), window.addEventListener("resize", l), () => {
1784
- c && c.removeEventListener("scroll", l), window.removeEventListener("resize", l);
1783
+ return c && c.addEventListener("scroll", a), window.addEventListener("resize", a), () => {
1784
+ c && c.removeEventListener("scroll", a), window.removeEventListener("resize", a);
1785
1785
  };
1786
- }, [l]), useEffect(() => {
1787
- r.current && l();
1788
- }, [e, t, l]), [useCallback(
1786
+ }, [a]), useEffect(() => {
1787
+ r.current && a();
1788
+ }, [e, t, a]), [useCallback(
1789
1789
  (c) => {
1790
- r.current = c, c && l();
1790
+ r.current = c, c && a();
1791
1791
  },
1792
- [l]
1792
+ [a]
1793
1793
  ), i, o];
1794
1794
  }
1795
1795
  const ButtonFloat = forwardRef(
@@ -1799,8 +1799,8 @@ const ButtonFloat = forwardRef(
1799
1799
  size: i = "md",
1800
1800
  side: s = "right",
1801
1801
  offset: o = "1rem",
1802
- ...a
1803
- }, l) {
1802
+ ...l
1803
+ }, a) {
1804
1804
  const [u, c, f] = useFloatingPosition(
1805
1805
  s,
1806
1806
  o
@@ -1810,8 +1810,8 @@ const ButtonFloat = forwardRef(
1810
1810
  }, []), /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: u, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
1811
1811
  "button",
1812
1812
  {
1813
- ref: l,
1814
- type: a.type || "button",
1813
+ ref: a,
1814
+ type: l.type || "button",
1815
1815
  className: cn(
1816
1816
  buttonFloatVariants({ variant: r, size: i }),
1817
1817
  f,
@@ -1819,7 +1819,7 @@ const ButtonFloat = forwardRef(
1819
1819
  t
1820
1820
  ),
1821
1821
  style: c,
1822
- ...a
1822
+ ...l
1823
1823
  }
1824
1824
  ) });
1825
1825
  }
@@ -1941,7 +1941,7 @@ const BUTTONS = [
1941
1941
  className: i,
1942
1942
  "aria-label": s
1943
1943
  }, o) => {
1944
- const { input: a, inputRef: l, handleButton: u, handleInput: c } = useCalculator({
1944
+ const { input: l, inputRef: a, handleButton: u, handleInput: c } = useCalculator({
1945
1945
  initialValue: e,
1946
1946
  disabled: r,
1947
1947
  onChange: t
@@ -1957,9 +1957,9 @@ const BUTTONS = [
1957
1957
  /* @__PURE__ */ jsxRuntimeExports.jsx(
1958
1958
  "input",
1959
1959
  {
1960
- ref: l,
1960
+ ref: a,
1961
1961
  className: "w-full mb-3 px-3 py-2 rounded border border-[var(--color-neutral)] bg-[var(--color-neutral-soft)] text-right text-xl font-mono focus:outline-none focus:ring-2 focus:ring-[var(--color-primary)]",
1962
- value: a,
1962
+ value: l,
1963
1963
  onChange: c,
1964
1964
  disabled: r,
1965
1965
  inputMode: "decimal",
@@ -2021,14 +2021,21 @@ const cardVariants = cva(
2021
2021
  }
2022
2022
  }
2023
2023
  ), CardList = forwardRef(
2024
- ({ children: e }, t) => /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { ref: t, className: "inline-flex items-center", children: e })
2024
+ ({ children: e }, t) => /* @__PURE__ */ jsxRuntimeExports.jsx(
2025
+ "ul",
2026
+ {
2027
+ ref: t,
2028
+ className: "flex items-center min-w-0 overflow-hidden w-full",
2029
+ children: e
2030
+ }
2031
+ )
2025
2032
  ), CardListItem = forwardRef(
2026
2033
  ({ children: e }, t) => /* @__PURE__ */ jsxRuntimeExports.jsx(
2027
2034
  "li",
2028
2035
  {
2029
2036
  ref: t,
2030
- className: "flex items-center after:content-[''] after:inline-block after:mx-2 after:w-1 after:h-1 after:rounded-full after:bg-ghost last:after:hidden",
2031
- children: e
2037
+ className: "flex items-center min-w-0 flex-shrink after:content-[''] after:inline-block after:mx-2 after:w-1 after:h-1 after:rounded-full after:bg-ghost last:after:hidden after:flex-shrink-0",
2038
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "truncate min-w-0", children: e })
2032
2039
  }
2033
2040
  )
2034
2041
  ), CardRoot = forwardRef(
@@ -2039,42 +2046,51 @@ const cardVariants = cva(
2039
2046
  title: i,
2040
2047
  subtitle: s,
2041
2048
  badge: o,
2042
- actions: a,
2043
- supplementaryInfo: l,
2049
+ actions: l,
2050
+ supplementaryInfo: a,
2044
2051
  bordered: u = !1,
2045
2052
  className: c,
2046
2053
  ...f
2047
- }, n) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
2054
+ }, n) => /* @__PURE__ */ jsxRuntimeExports.jsx(
2048
2055
  "button",
2049
2056
  {
2050
2057
  ref: n,
2051
2058
  className: cn(cardVariants({ size: e, shape: t, bordered: u }), c),
2052
2059
  ...f,
2053
- children: [
2054
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-start gap-4", children: [
2055
- r && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-shrink-0", children: r }),
2056
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "w-full", children: [
2057
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "mb-2", children: [
2058
- i && /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { as: "h3", fontSize: "base", fontWeight: "semibold", children: i }),
2059
- s && /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { as: "p", fontSize: "sm", color: "gray", children: s })
2060
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-start gap-4 w-full", children: [
2061
+ r && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-shrink-0", children: r }),
2062
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "w-full min-w-0", children: [
2063
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "mb-2", children: [
2064
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex justify-between", children: [
2065
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
2066
+ Text,
2067
+ {
2068
+ as: "h3",
2069
+ fontSize: "base",
2070
+ fontWeight: "semibold",
2071
+ className: "truncate",
2072
+ children: i
2073
+ }
2074
+ ),
2075
+ l && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: l })
2060
2076
  ] }),
2061
- o && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex justify-start items-center", children: o })
2077
+ s && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cn(l && "-mt-3"), children: typeof s == "string" ? /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { as: "p", fontSize: "sm", color: "gray", children: s }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "min-w-0 overflow-hidden", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
2078
+ Text,
2079
+ {
2080
+ as: "p",
2081
+ fontSize: "sm",
2082
+ color: "gray",
2083
+ className: "min-w-0",
2084
+ children: s
2085
+ }
2086
+ ) }) })
2087
+ ] }),
2088
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex justify-between items-center gap-2", children: [
2089
+ o && o,
2090
+ a && typeof a == "string" ? /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { as: "p", fontSize: "sm", color: "gray", children: a }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: a })
2062
2091
  ] })
2063
- ] }),
2064
- /* @__PURE__ */ jsxRuntimeExports.jsxs(
2065
- "div",
2066
- {
2067
- className: cn(
2068
- "flex flex-col items-end gap-2",
2069
- a ? "justify-between" : "justify-end"
2070
- ),
2071
- children: [
2072
- a && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: a }),
2073
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: typeof l == "string" ? /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { as: "p", fontSize: "sm", color: "gray", children: l }) : l })
2074
- ]
2075
- }
2076
- )
2077
- ]
2092
+ ] })
2093
+ ] })
2078
2094
  }
2079
2095
  )
2080
2096
  ), Card = Object.assign(CardRoot, {
@@ -2125,19 +2141,19 @@ const cardVariants = cva(
2125
2141
  size: i = "md",
2126
2142
  disabled: s = !1,
2127
2143
  children: o,
2128
- ...a
2129
- }, l) {
2144
+ ...l
2145
+ }, a) {
2130
2146
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
2131
2147
  "button",
2132
2148
  {
2133
- ref: l,
2149
+ ref: a,
2134
2150
  type: "button",
2135
2151
  className: cn(filterChipVariants({ variant: r, size: i }), t),
2136
2152
  disabled: s,
2137
2153
  "aria-disabled": s,
2138
2154
  "aria-label": `${o}, removable`,
2139
2155
  inert: s ? !0 : void 0,
2140
- ...a,
2156
+ ...l,
2141
2157
  children: [
2142
2158
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "flex-shrink-0", children: o }),
2143
2159
  /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { as: XIcon, color: "inherit", size: i === "lg" ? "md" : "sm" })
@@ -2186,15 +2202,15 @@ const cardVariants = cva(
2186
2202
  ), noResultsHeaderVariants = cva(
2187
2203
  "flex flex-row items-center gap-3 mb-2"
2188
2204
  ), NoResults = React__default.forwardRef(
2189
- function e({ icon: t, title: r, subtitle: i, action: s, className: o, hasGrayBackground: a, ...l }, u) {
2205
+ function e({ icon: t, title: r, subtitle: i, action: s, className: o, hasGrayBackground: l, ...a }, u) {
2190
2206
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
2191
2207
  "section",
2192
2208
  {
2193
2209
  ref: u,
2194
- className: cn(noResultsVariants({ hasGrayBackground: a }), o),
2210
+ className: cn(noResultsVariants({ hasGrayBackground: l }), o),
2195
2211
  role: "status",
2196
2212
  "aria-label": "No results found",
2197
- ...l,
2213
+ ...a,
2198
2214
  children: [
2199
2215
  /* @__PURE__ */ jsxRuntimeExports.jsxs("header", { className: noResultsHeaderVariants(), children: [
2200
2216
  /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { as: t, size: "lg", color: "ghost", "aria-hidden": "true" }),
@@ -2339,14 +2355,14 @@ const getTableColumnClass = (e) => {
2339
2355
  );
2340
2356
  }
2341
2357
  ), TableColumn = forwardRef(
2342
- ({ as: e = "td", span: t, align: r = "left", children: i, className: s, ...o }, a) => {
2343
- const l = e === "th" ? "columnheader" : "cell";
2358
+ ({ as: e = "td", span: t, align: r = "left", children: i, className: s, ...o }, l) => {
2359
+ const a = e === "th" ? "columnheader" : "cell";
2344
2360
  let u = "text-left";
2345
2361
  return r === "center" ? u = "text-center" : r === "right" && (u = "text-right"), /* @__PURE__ */ jsxRuntimeExports.jsx(
2346
2362
  "div",
2347
2363
  {
2348
- ref: a,
2349
- role: l,
2364
+ ref: l,
2365
+ role: a,
2350
2366
  className: cn(
2351
2367
  "px-4 py-2",
2352
2368
  "[&:not(:last-child)]:border-r [&:not(:last-child)]:border-border",
@@ -2457,9 +2473,9 @@ const getTableColumnClass = (e) => {
2457
2473
  )
2458
2474
  );
2459
2475
  function useImage({ src: e }) {
2460
- const [t, r] = useState(!1), [i, s] = useState(!1), o = useRef(!1), a = () => {
2476
+ const [t, r] = useState(!1), [i, s] = useState(!1), o = useRef(!1), l = () => {
2461
2477
  r(!0);
2462
- }, l = () => {
2478
+ }, a = () => {
2463
2479
  s(!0);
2464
2480
  };
2465
2481
  return useEffect(() => {
@@ -2475,8 +2491,8 @@ function useImage({ src: e }) {
2475
2491
  }, [e]), {
2476
2492
  loaded: t,
2477
2493
  errored: i,
2478
- handleLoad: a,
2479
- handleError: l
2494
+ handleLoad: l,
2495
+ handleError: a
2480
2496
  };
2481
2497
  }
2482
2498
  const imageVariants = cva("block object-cover", {
@@ -2554,12 +2570,12 @@ function BaseImageFallback({
2554
2570
  className: i,
2555
2571
  style: s,
2556
2572
  shape: o,
2557
- size: a
2573
+ size: l
2558
2574
  }) {
2559
2575
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
2560
2576
  "div",
2561
2577
  {
2562
- className: imageAtomVariants({ shape: o, size: a, className: i }),
2578
+ className: imageAtomVariants({ shape: o, size: l, className: i }),
2563
2579
  style: { width: t, height: r, ...s },
2564
2580
  "aria-label": e,
2565
2581
  role: "img",
@@ -2585,8 +2601,8 @@ const BaseImage = forwardRef(
2585
2601
  onError: i,
2586
2602
  width: s,
2587
2603
  height: o,
2588
- loading: a = "lazy",
2589
- position: l = "cover",
2604
+ loading: l = "lazy",
2605
+ position: a = "cover",
2590
2606
  size: u = "auto",
2591
2607
  shape: c,
2592
2608
  className: f,
@@ -2618,10 +2634,10 @@ const BaseImage = forwardRef(
2618
2634
  alt: t,
2619
2635
  width: R,
2620
2636
  height: E,
2621
- loading: a,
2637
+ loading: l,
2622
2638
  className: cn(
2623
2639
  imageVariants({
2624
- position: l,
2640
+ position: a,
2625
2641
  size: u,
2626
2642
  shape: c
2627
2643
  }),
package/dist/js/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { L as e, P as s, S as r } from "./skeleton-BNZyaRjo.js";
2
- import { A as n, a as u, B as p, b as i, F as l, e as I, P as c, c as S, d as m, S as B, T as g } from "./top-bar-C2eCjlsH.js";
3
- import { B as b, C as T, b as x, a as h, D as f, k as C, E as M, M as P, P as A, R as k, d as F, c as D, S as L, e as H, j as R, i as w, h as G, f as j, T as q, g as v } from "./bottom-sheet-input-CpL1KbPE.js";
4
- import { B as E, D as N, M as z } from "./bottom-sheet-CJfhhYkA.js";
5
- import { A as K, a as O, b as Q, c as U, d as V, e as W, B as X, s as Y, f as Z, g as _, j as $, k as aa, h as ta, i as ea, C as sa, l as ra, F as oa, H as na, m as ua, I as pa, p as ia, r as la, q as Ia, M as ca, N as Sa, T as ma, n as Ba, o as ga } from "./image-rectangle-DIGAUCV8.js";
6
- import { T as ba } from "./tooltip-IIqgfodK.js";
2
+ import { A as n, a as u, B as p, b as i, F as l, e as I, P as c, c as S, d as m, S as B, T as g } from "./top-bar-CKFu3xrL.js";
3
+ import { B as b, C as T, b as x, a as h, D as f, k as C, E as M, M as P, P as A, R as k, d as F, c as D, S as L, e as H, j as R, i as w, h as G, f as j, T as q, g as v } from "./bottom-sheet-input-Ch9h_vZC.js";
4
+ import { B as E, D as N, M as z } from "./bottom-sheet-B9Knzg2N.js";
5
+ import { A as K, a as O, b as Q, c as U, d as V, e as W, B as X, s as Y, f as Z, g as _, j as $, k as aa, h as ta, i as ea, C as sa, l as ra, F as oa, H as na, m as ua, I as pa, p as ia, r as la, q as Ia, M as ca, N as Sa, T as ma, n as Ba, o as ga } from "./image-rectangle-C1ydvFGL.js";
6
+ import { T as ba } from "./tooltip-CvOzRRkS.js";
7
7
  import { S as xa } from "./snackbar-DH8jCh2V.js";
8
- import { B as fa, T as Ca } from "./tabs-Dt4NFIig.js";
9
- import { S as Pa, u as Aa } from "./use-snackbars-B0MaRlg1.js";
8
+ import { B as fa, T as Ca } from "./tabs-38zAflsT.js";
9
+ import { S as Pa, u as Aa } from "./use-snackbars-CKi6BQDT.js";
10
10
  export {
11
11
  K as Accordion,
12
12
  O as Alert,
@@ -1,4 +1,4 @@
1
- import { A as r, a as e, B as s, b as t, F as p, e as B, P as u, c as d, d as g, S as P, T as i } from "../top-bar-C2eCjlsH.js";
1
+ import { A as r, a as e, B as s, b as t, F as p, e as B, P as u, c as d, d as g, S as P, T as i } from "../top-bar-CKFu3xrL.js";
2
2
  export {
3
3
  r as AppBar,
4
4
  e as BadgeGroup,
@@ -1,4 +1,4 @@
1
- import { B as s, T as b } from "../tabs-Dt4NFIig.js";
1
+ import { B as s, T as b } from "../tabs-38zAflsT.js";
2
2
  export {
3
3
  s as Breadcrumbs,
4
4
  b as Tabs
@@ -1,6 +1,6 @@
1
- import { B as a, D as e, M as t } from "../bottom-sheet-CJfhhYkA.js";
2
- import { M as m } from "../image-rectangle-DIGAUCV8.js";
3
- import { T as M } from "../tooltip-IIqgfodK.js";
1
+ import { B as a, D as e, M as t } from "../bottom-sheet-B9Knzg2N.js";
2
+ import { M as m } from "../image-rectangle-C1ydvFGL.js";
3
+ import { T as M } from "../tooltip-CvOzRRkS.js";
4
4
  export {
5
5
  a as BottomSheet,
6
6
  e as Drawer,
@@ -1,4 +1,4 @@
1
- import { A as t, a as e, b as o, c as r, d as n, e as u, B as c, s as l, f as i, g as B, j as g, k as I, h as m, i as A, C as d, l as b, F as C, H as p, m as T, I as f, p as h, r as x, q as F, N as H, T as S, n as k, o as q } from "../image-rectangle-DIGAUCV8.js";
1
+ import { A as t, a as e, b as o, c as r, d as n, e as u, B as c, s as l, f as i, g as B, j as g, k as I, h as m, i as A, C as d, l as b, F as C, H as p, m as T, I as f, p as h, r as x, q as F, N as H, T as S, n as k, o as q } from "../image-rectangle-C1ydvFGL.js";
2
2
  import { S as N } from "../snackbar-DH8jCh2V.js";
3
3
  export {
4
4
  t as Accordion,
@@ -1,4 +1,4 @@
1
- import { S as s, u as e } from "../use-snackbars-B0MaRlg1.js";
1
+ import { S as s, u as e } from "../use-snackbars-CKi6BQDT.js";
2
2
  export {
3
3
  s as SnackbarsProvider,
4
4
  e as useSnackbars
@@ -1,6 +1,6 @@
1
1
  import { c as d, j as s, a as u } from "./index-DOdDlCoL.js";
2
2
  import { forwardRef as f, createContext as x, useContext as g, useState as p, useLayoutEffect as y, useRef as h } from "react";
3
- import { I as w } from "./image-rectangle-DIGAUCV8.js";
3
+ import { I as w } from "./image-rectangle-C1ydvFGL.js";
4
4
  import "./snackbar-DH8jCh2V.js";
5
5
  import { ChevronRight as T } from "lucide-react";
6
6
  const j = d(
@@ -1,6 +1,6 @@
1
1
  import { c as v, j as c, a as w } from "./index-DOdDlCoL.js";
2
2
  import { useRef as m, useState as d, useEffect as h, useId as T, cloneElement as j } from "react";
3
- import { n as y } from "./image-rectangle-DIGAUCV8.js";
3
+ import { n as y } from "./image-rectangle-C1ydvFGL.js";
4
4
  function P(e = "auto") {
5
5
  const n = m(null), [a, t] = d("bottom");
6
6
  return h(() => {
@@ -1,7 +1,7 @@
1
1
  import { c as i, j as r, a as l } from "./index-DOdDlCoL.js";
2
2
  import * as v from "react";
3
3
  import { forwardRef as o } from "react";
4
- import { n as f } from "./image-rectangle-DIGAUCV8.js";
4
+ import { n as f } from "./image-rectangle-C1ydvFGL.js";
5
5
  import "./snackbar-DH8jCh2V.js";
6
6
  const h = i(
7
7
  "w-full flex flex-wrap items-center pt-3 mb-3 gap-2 bg-white [&>[data-versaur-appbar-bottom]]:basis-full [&>[data-versaur-appbar-bottom]]:w-full [&:has([data-versaur-appbar-bottom])>[data-versaur-appbar-leading]]:pl-4 [&:has([data-versaur-appbar-bottom])>[data-versaur-appbar-trailing]]:pr-4 [&:not(:has([data-versaur-appbar-bottom]))]:px-4",
@@ -1,12 +1,12 @@
1
1
  import { c as d, j as c } from "./index-DOdDlCoL.js";
2
- import { createContext as x, useState as k, useRef as p, useCallback as m, useEffect as S, useMemo as v, useContext as h } from "react";
3
- import { S as w } from "./snackbar-DH8jCh2V.js";
2
+ import { createContext as x, useState as p, useRef as k, useCallback as m, useEffect as S, useMemo as v, useContext as w } from "react";
3
+ import { S as h } from "./snackbar-DH8jCh2V.js";
4
4
  const f = x(
5
5
  null
6
6
  ), j = d(
7
7
  [
8
8
  "fixed z-100 flex flex-col gap-2 px-0 pb-2",
9
- "w-screen left-0 bottom-0",
9
+ "w-[80vw] left-0 top-4",
10
10
  // mobile: full width
11
11
  "sm:w-auto sm:left-4 sm:bottom-4 sm:max-w-sm"
12
12
  // desktop/tablet
@@ -23,7 +23,7 @@ const f = x(
23
23
  }
24
24
  }), C = 4e3;
25
25
  function E() {
26
- const [a, s] = k([]), t = p({}), n = m((e) => {
26
+ const [a, s] = p([]), t = k({}), n = m((e) => {
27
27
  s((r) => r.filter((o) => o.id !== e)), t.current[e] && (clearTimeout(t.current[e]), delete t.current[e]);
28
28
  }, []), i = m(
29
29
  (e, r, o) => {
@@ -65,7 +65,7 @@ const V = ({ children: a }) => {
65
65
  }),
66
66
  style: { transitionDelay: `${r * 60}ms` },
67
67
  children: /* @__PURE__ */ c.jsx(
68
- w,
68
+ h,
69
69
  {
70
70
  color: e.color,
71
71
  action: e.action,
@@ -83,7 +83,7 @@ const V = ({ children: a }) => {
83
83
  ] });
84
84
  };
85
85
  function N() {
86
- const a = h(f);
86
+ const a = w(f);
87
87
  if (!a)
88
88
  throw new Error("useSnackbars must be used within a SnackbarsProvider");
89
89
  return a;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dimasbaguspm/versaur",
3
- "version": "0.0.37",
3
+ "version": "0.0.39",
4
4
  "description": "React UI library with Tailwind CSS",
5
5
  "author": "Dimas Bagus Prayogo Mukti<dimas.bagus.pm@gmail.com>",
6
6
  "license": "MIT",