@dimasbaguspm/versaur 0.0.41 → 0.0.43

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-S0pOfTm5.js";
3
+ import { O as S, n as P, k as N, H as D } from "./image-rectangle-en-PQWib.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-S0pOfTm5.js";
3
+ import { I as C } from "./image-rectangle-en-PQWib.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-Da41OlDM.js";
6
+ import { M as O, D as M, B as V } from "./bottom-sheet-COYI-CL2.js";
7
7
  const te = v("space-y-2", {
8
8
  variants: {
9
9
  direction: {
@@ -172,7 +172,7 @@ const nr = Object.assign(H, {
172
172
  );
173
173
  return r;
174
174
  }, ie = v(
175
- "inline-flex items-center bg-white font-regular transition-colors duration-200 cursor-pointer border border-border",
175
+ "inline-flex items-center bg-white transition-colors duration-200 cursor-pointer border border-border",
176
176
  {
177
177
  variants: {
178
178
  variant: {
@@ -215,9 +215,9 @@ const nr = Object.assign(H, {
215
215
  rounded: "rounded-lg"
216
216
  },
217
217
  size: {
218
- sm: "h-7 px-3 text-sm",
219
- md: "h-9 px-4 text-base",
220
- lg: "h-10 px-5 text-lg"
218
+ sm: "h-7 px-3 text-sm min-w-[2.25rem]",
219
+ md: "h-9 px-4 text-sm min-w-[2.5rem]",
220
+ lg: "h-10 px-8 text-lg min-w-[2.75rem]"
221
221
  }
222
222
  },
223
223
  defaultVariants: {
@@ -312,7 +312,7 @@ const nr = Object.assign(H, {
312
312
  );
313
313
  return r;
314
314
  }, ue = v(
315
- "inline-flex items-center bg-white font-regular transition-colors duration-200 cursor-pointer border border-border",
315
+ "inline-flex items-center bg-white transition-colors duration-200 cursor-pointer border border-border",
316
316
  {
317
317
  variants: {
318
318
  variant: {
@@ -359,9 +359,9 @@ const nr = Object.assign(H, {
359
359
  rounded: "rounded-lg"
360
360
  },
361
361
  size: {
362
- sm: "px-3 py-1 text-xs min-h-[32px]",
363
- md: "px-4 py-2 text-sm min-h-[40px]",
364
- lg: "px-5 py-2.5 text-base min-h-[48px]"
362
+ sm: "h-7 px-3 text-sm min-w-[2.25rem]",
363
+ md: "h-9 px-4 text-sm min-w-[2.5rem]",
364
+ lg: "h-10 px-8 text-lg min-w-[2.75rem]"
365
365
  }
366
366
  }
367
367
  }
@@ -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-BB3FZtpr.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-BmkctBPw.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: l = !1,
150
- clamp: a = "none",
149
+ italic: a = !1,
150
+ clamp: l = "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: l,
169
- clamp: a,
168
+ italic: a,
169
+ clamp: l,
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 }, l) {
212
+ }), Icon = React__default.forwardRef(function({ as: t, color: r = "primary", size: i = "md", className: s, ...o }, a) {
213
213
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
214
214
  t,
215
215
  {
216
- ref: l,
216
+ ref: a,
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: l,
265
- children: a,
264
+ className: a,
265
+ children: l,
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
- l,
281
+ a,
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: a })
310
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "p-4 pt-2", children: l })
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
- }, l) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
466
+ }, a) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
467
467
  "div",
468
468
  {
469
- ref: l,
469
+ ref: a,
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
- ...l
547
- }, a) => /* @__PURE__ */ jsxRuntimeExports.jsx(
546
+ ...a
547
+ }, l) => /* @__PURE__ */ jsxRuntimeExports.jsx(
548
548
  "a",
549
549
  {
550
- ref: a,
550
+ ref: l,
551
551
  className: cn(
552
552
  anchorVariants({ color: r, fontSize: i, fontWeight: s, quiet: o }),
553
553
  t
554
554
  ),
555
- ...l,
555
+ ...a,
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: l = "none",
637
- ellipsis: a = !1,
636
+ clamp: a = "none",
637
+ ellipsis: l = !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: l,
667
- ellipsis: a,
666
+ clamp: a,
667
+ ellipsis: l,
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 }, l) {
681
+ function({ title: t, children: r, className: i, hasMargin: s, ...o }, a) {
682
682
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
683
683
  "div",
684
684
  {
685
- ref: l,
685
+ ref: a,
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 }, 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 }) });
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 }) });
769
769
  }), AttributeListRoot = forwardRef(
770
770
  function({ children: t, className: r, columns: i = 4, ...s }, o) {
771
- const l = getGridCols(i);
771
+ const a = getGridCols(i);
772
772
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
773
773
  "ul",
774
774
  {
775
775
  ref: o,
776
- className: cn("grid gap-4", l, r),
776
+ className: cn("grid gap-4", a, r),
777
777
  ...s,
778
778
  children: t
779
779
  }
@@ -831,10 +831,10 @@ const AttributeListItem = forwardRef(function({ children: t, className: r, span:
831
831
  className: i,
832
832
  children: s,
833
833
  ...o
834
- }, l) => /* @__PURE__ */ jsxRuntimeExports.jsx(
834
+ }, a) => /* @__PURE__ */ jsxRuntimeExports.jsx(
835
835
  "div",
836
836
  {
837
- ref: l,
837
+ ref: a,
838
838
  className: cn(avatarVariants({ variant: e, size: t, shape: r }), i),
839
839
  ...o,
840
840
  children: s
@@ -842,17 +842,17 @@ const AttributeListItem = forwardRef(function({ children: t, className: r, span:
842
842
  )
843
843
  ), AvatarImage = forwardRef(
844
844
  ({ src: e, alt: t, className: r, onError: i, ...s }, o) => {
845
- const [l, a] = useState(!1);
845
+ const [a, l] = useState(!1);
846
846
  useEffect(() => {
847
- a(!1);
847
+ l(!1);
848
848
  }, [e]);
849
849
  const u = useCallback(
850
850
  (c) => {
851
- a(!0), i?.(c);
851
+ l(!0), i?.(c);
852
852
  },
853
853
  [i]
854
854
  );
855
- return l ? null : /* @__PURE__ */ jsxRuntimeExports.jsx(
855
+ return a ? null : /* @__PURE__ */ jsxRuntimeExports.jsx(
856
856
  "img",
857
857
  {
858
858
  ref: o,
@@ -1064,11 +1064,11 @@ const AttributeListItem = forwardRef(function({ children: t, className: r, span:
1064
1064
  size: i = "md",
1065
1065
  iconLeft: s,
1066
1066
  iconRight: o,
1067
- className: l,
1068
- children: a,
1067
+ className: a,
1068
+ children: l,
1069
1069
  ...u
1070
1070
  }, c) => {
1071
- const d = !(a != null && a !== "") && !!(s || o);
1071
+ const d = !(l != null && l !== "") && !!(s || o);
1072
1072
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
1073
1073
  "span",
1074
1074
  {
@@ -1081,7 +1081,7 @@ const AttributeListItem = forwardRef(function({ children: t, className: r, span:
1081
1081
  size: i,
1082
1082
  iconOnly: d
1083
1083
  }),
1084
- l
1084
+ a
1085
1085
  ),
1086
1086
  ...u,
1087
1087
  children: d ? (
@@ -1091,7 +1091,7 @@ const AttributeListItem = forwardRef(function({ children: t, className: r, span:
1091
1091
  // Normal mode: display icon(s) and text
1092
1092
  /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
1093
1093
  s,
1094
- a,
1094
+ l,
1095
1095
  o
1096
1096
  ] })
1097
1097
  )
@@ -1203,8 +1203,8 @@ const AttributeListItem = forwardRef(function({ children: t, className: r, span:
1203
1203
  size: i = "md",
1204
1204
  disabled: s = !1,
1205
1205
  type: o = "button",
1206
- children: l,
1207
- ...a
1206
+ children: a,
1207
+ ...l
1208
1208
  }, u) {
1209
1209
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
1210
1210
  "button",
@@ -1215,8 +1215,8 @@ const AttributeListItem = forwardRef(function({ children: t, className: r, span:
1215
1215
  disabled: s,
1216
1216
  "aria-disabled": s,
1217
1217
  inert: s ? !0 : void 0,
1218
- ...a,
1219
- children: l
1218
+ ...l,
1219
+ children: a
1220
1220
  }
1221
1221
  );
1222
1222
  }
@@ -1278,20 +1278,20 @@ function isTriggerVisible(e, t) {
1278
1278
  return !0;
1279
1279
  }
1280
1280
  function useMenuPosition(e, t, r, i = "bottom-start", s) {
1281
- const [o, l] = useState({ isReady: !1 }), a = useCallback(() => {
1281
+ const [o, a] = useState({ isReady: !1 }), l = useCallback(() => {
1282
1282
  if (!e || !t.current) {
1283
- l({ isReady: !1 });
1283
+ a({ isReady: !1 });
1284
1284
  return;
1285
1285
  }
1286
1286
  if (!r.current) {
1287
1287
  const v = setTimeout(() => {
1288
- l({ isReady: !1 });
1288
+ a({ isReady: !1 });
1289
1289
  }, 0);
1290
1290
  return () => clearTimeout(v);
1291
1291
  }
1292
1292
  const u = t.current, c = r.current, f = getScrollableAncestors(u);
1293
1293
  if (!isTriggerVisible(u, f)) {
1294
- l({ isReady: !1 });
1294
+ a({ isReady: !1 });
1295
1295
  return;
1296
1296
  }
1297
1297
  const n = u.getBoundingClientRect(), d = window.innerWidth, h = window.innerHeight;
@@ -1413,17 +1413,17 @@ function useMenuPosition(e, t, r, i = "bottom-start", s) {
1413
1413
  p.endsWith("start") ? g.left = (g.left || 0) - j : g.right = (g.right || 0) + j;
1414
1414
  }
1415
1415
  }
1416
- g.isReady = !0, l(g);
1416
+ g.isReady = !0, a(g);
1417
1417
  }, [e, i, t, r, s]);
1418
1418
  return useEffect(() => {
1419
- a();
1420
- }, [a]), useEffect(() => {
1419
+ l();
1420
+ }, [l]), useEffect(() => {
1421
1421
  if (!e || !t.current) return;
1422
1422
  const u = t.current, c = getScrollableAncestors(u);
1423
1423
  let f = !1;
1424
1424
  const n = () => {
1425
1425
  f || (requestAnimationFrame(() => {
1426
- a(), f = !1;
1426
+ l(), f = !1;
1427
1427
  }), f = !0);
1428
1428
  };
1429
1429
  return c.forEach((d) => {
@@ -1433,7 +1433,7 @@ function useMenuPosition(e, t, r, i = "bottom-start", s) {
1433
1433
  d === document.documentElement ? (window.removeEventListener("scroll", n), window.removeEventListener("resize", n)) : d.removeEventListener("scroll", n);
1434
1434
  });
1435
1435
  };
1436
- }, [e, a, t]), o;
1436
+ }, [e, l, t]), o;
1437
1437
  }
1438
1438
  const MenuContext = createContext(void 0), MenuProvider = MenuContext.Provider, useMenuProvider = () => {
1439
1439
  const e = useContext(MenuContext);
@@ -1444,8 +1444,8 @@ const MenuContext = createContext(void 0), MenuProvider = MenuContext.Provider,
1444
1444
  ({ children: e }, t) => /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { ref: t, className: "flex flex-col gap-1", children: e })
1445
1445
  ), MenuItem = forwardRef(
1446
1446
  ({ children: e, disabled: t, onClick: r, active: i, ...s }, o) => {
1447
- const { preserve: l, onClose: a } = useMenuProvider(), u = (c) => {
1448
- r?.(c), l || a();
1447
+ const { preserve: a, onClose: l } = useMenuProvider(), u = (c) => {
1448
+ r?.(c), a || l();
1449
1449
  };
1450
1450
  return /* @__PURE__ */ jsxRuntimeExports.jsx("li", { ref: o, ...s, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
1451
1451
  Button,
@@ -1476,8 +1476,8 @@ const MenuContext = createContext(void 0), MenuProvider = MenuContext.Provider,
1476
1476
  content: i,
1477
1477
  children: s,
1478
1478
  placement: o = "auto",
1479
- container: l,
1480
- preserve: a
1479
+ container: a,
1480
+ preserve: l
1481
1481
  }) => {
1482
1482
  const u = useRef(null), c = useRef(null), f = useId();
1483
1483
  useMenuOutsideClick(e, c, u, t);
@@ -1486,7 +1486,7 @@ const MenuContext = createContext(void 0), MenuProvider = MenuContext.Provider,
1486
1486
  u,
1487
1487
  c,
1488
1488
  o,
1489
- l || null
1489
+ a || null
1490
1490
  ), d = {
1491
1491
  ...n,
1492
1492
  position: n.position || "absolute",
@@ -1507,7 +1507,7 @@ const MenuContext = createContext(void 0), MenuProvider = MenuContext.Provider,
1507
1507
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
1508
1508
  MenuProvider,
1509
1509
  {
1510
- value: { onClose: t, preserve: !!a },
1510
+ value: { onClose: t, preserve: !!l },
1511
1511
  children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "relative w-fit", children: [
1512
1512
  cloneElement(s, {
1513
1513
  // @ts-expect-error: ref is valid for button or forwardRef components
@@ -1548,8 +1548,8 @@ const MenuContext = createContext(void 0), MenuProvider = MenuContext.Provider,
1548
1548
  onOpenChange: i,
1549
1549
  onClick: s,
1550
1550
  placement: o,
1551
- container: l,
1552
- preserve: a,
1551
+ container: a,
1552
+ preserve: l,
1553
1553
  label: u,
1554
1554
  ...c
1555
1555
  } = e ?? {}, [f, n] = useState(!1);
@@ -1567,8 +1567,8 @@ const MenuContext = createContext(void 0), MenuProvider = MenuContext.Provider,
1567
1567
  isOpen: f,
1568
1568
  onOutsideClick: d,
1569
1569
  placement: o,
1570
- container: l,
1571
- preserve: a,
1570
+ container: a,
1571
+ preserve: l,
1572
1572
  content: /* @__PURE__ */ jsxRuntimeExports.jsx(Menu.Content, { children: r }),
1573
1573
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { ref: t, onClick: h, ...c, children: u })
1574
1574
  }
@@ -1672,8 +1672,8 @@ const buttonIconVariants = cva(
1672
1672
  size: i = "md",
1673
1673
  shape: s = "rounded",
1674
1674
  disabled: o = !1,
1675
- as: l,
1676
- "aria-label": a,
1675
+ as: a,
1676
+ "aria-label": l,
1677
1677
  ...u
1678
1678
  }, c) {
1679
1679
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -1691,13 +1691,13 @@ const buttonIconVariants = cva(
1691
1691
  ),
1692
1692
  disabled: o,
1693
1693
  "aria-disabled": o,
1694
- "aria-label": a,
1694
+ "aria-label": l,
1695
1695
  inert: o ? !0 : void 0,
1696
1696
  ...u,
1697
1697
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
1698
1698
  Icon,
1699
1699
  {
1700
- as: l,
1700
+ as: a,
1701
1701
  size: "sm",
1702
1702
  color: getIconColorFromVariant(r)
1703
1703
  }
@@ -1712,8 +1712,8 @@ const buttonIconVariants = cva(
1712
1712
  children: i,
1713
1713
  onOpenChange: s,
1714
1714
  onClick: o,
1715
- placement: l,
1716
- container: a,
1715
+ placement: a,
1716
+ container: l,
1717
1717
  preserve: u,
1718
1718
  ...c
1719
1719
  } = e ?? {}, [f, n] = useState(!1);
@@ -1730,8 +1730,8 @@ const buttonIconVariants = cva(
1730
1730
  {
1731
1731
  isOpen: f,
1732
1732
  onOutsideClick: d,
1733
- placement: l,
1734
- container: a,
1733
+ placement: a,
1734
+ container: l,
1735
1735
  preserve: u,
1736
1736
  content: /* @__PURE__ */ jsxRuntimeExports.jsx(Menu.Content, { children: i }),
1737
1737
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(ButtonIcon, { ref: t, as: r, onClick: h, ...c })
@@ -1808,7 +1808,7 @@ const buttonIconVariants = cva(
1808
1808
  }
1809
1809
  );
1810
1810
  function useFloatingPosition(e, t = "1rem") {
1811
- const r = useRef(null), [i, s] = useState({}), [o, l] = useState("fixed bottom-4 right-4"), a = useCallback(() => {
1811
+ const r = useRef(null), [i, s] = useState({}), [o, a] = useState("fixed bottom-4 right-4"), l = useCallback(() => {
1812
1812
  const c = r.current;
1813
1813
  if (!c) return;
1814
1814
  const n = c.getBoundingClientRect().height > window.innerHeight;
@@ -1822,21 +1822,21 @@ function useFloatingPosition(e, t = "1rem") {
1822
1822
  position: "fixed",
1823
1823
  bottom: t,
1824
1824
  zIndex: 50
1825
- }, h = `fixed bottom-4 ${e}-4`), s(d), l(h);
1825
+ }, h = `fixed bottom-4 ${e}-4`), s(d), a(h);
1826
1826
  }, [e, t]);
1827
1827
  return useEffect(() => {
1828
- a();
1828
+ l();
1829
1829
  const c = r.current;
1830
- return c && c.addEventListener("scroll", a), window.addEventListener("resize", a), () => {
1831
- c && c.removeEventListener("scroll", a), window.removeEventListener("resize", a);
1830
+ return c && c.addEventListener("scroll", l), window.addEventListener("resize", l), () => {
1831
+ c && c.removeEventListener("scroll", l), window.removeEventListener("resize", l);
1832
1832
  };
1833
- }, [a]), useEffect(() => {
1834
- r.current && a();
1835
- }, [e, t, a]), [useCallback(
1833
+ }, [l]), useEffect(() => {
1834
+ r.current && l();
1835
+ }, [e, t, l]), [useCallback(
1836
1836
  (c) => {
1837
- r.current = c, c && a();
1837
+ r.current = c, c && l();
1838
1838
  },
1839
- [a]
1839
+ [l]
1840
1840
  ), i, o];
1841
1841
  }
1842
1842
  const ButtonFloat = forwardRef(
@@ -1846,8 +1846,8 @@ const ButtonFloat = forwardRef(
1846
1846
  size: i = "md",
1847
1847
  side: s = "right",
1848
1848
  offset: o = "1rem",
1849
- ...l
1850
- }, a) {
1849
+ ...a
1850
+ }, l) {
1851
1851
  const [u, c, f] = useFloatingPosition(
1852
1852
  s,
1853
1853
  o
@@ -1857,8 +1857,8 @@ const ButtonFloat = forwardRef(
1857
1857
  }, []), /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: u, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
1858
1858
  "button",
1859
1859
  {
1860
- ref: a,
1861
- type: l.type || "button",
1860
+ ref: l,
1861
+ type: a.type || "button",
1862
1862
  className: cn(
1863
1863
  buttonFloatVariants({ variant: r, size: i }),
1864
1864
  f,
@@ -1866,7 +1866,7 @@ const ButtonFloat = forwardRef(
1866
1866
  t
1867
1867
  ),
1868
1868
  style: c,
1869
- ...l
1869
+ ...a
1870
1870
  }
1871
1871
  ) });
1872
1872
  }
@@ -1988,7 +1988,7 @@ const BUTTONS = [
1988
1988
  className: i,
1989
1989
  "aria-label": s
1990
1990
  }, o) => {
1991
- const { input: l, inputRef: a, handleButton: u, handleInput: c } = useCalculator({
1991
+ const { input: a, inputRef: l, handleButton: u, handleInput: c } = useCalculator({
1992
1992
  initialValue: e,
1993
1993
  disabled: r,
1994
1994
  onChange: t
@@ -2004,9 +2004,9 @@ const BUTTONS = [
2004
2004
  /* @__PURE__ */ jsxRuntimeExports.jsx(
2005
2005
  "input",
2006
2006
  {
2007
- ref: a,
2007
+ ref: l,
2008
2008
  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)]",
2009
- value: l,
2009
+ value: a,
2010
2010
  onChange: c,
2011
2011
  disabled: r,
2012
2012
  inputMode: "decimal",
@@ -2042,7 +2042,7 @@ const BUTTONS = [
2042
2042
  );
2043
2043
  Calculator.displayName = "Calculator";
2044
2044
  const cardVariants = cva(
2045
- "flex justify-between transition-colors duration-200 cursor-pointer w-full focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-light hover:bg-gray-50",
2045
+ "flex justify-between transition-colors duration-200 w-full",
2046
2046
  {
2047
2047
  variants: {
2048
2048
  size: {
@@ -2060,12 +2060,17 @@ const cardVariants = cva(
2060
2060
  bordered: {
2061
2061
  true: "border border-border",
2062
2062
  false: ""
2063
+ },
2064
+ as: {
2065
+ button: "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-light hover:bg-gray-50 cursor-pointer",
2066
+ div: ""
2063
2067
  }
2064
2068
  },
2065
2069
  defaultVariants: {
2066
2070
  size: "md",
2067
2071
  shape: "rounded",
2068
- bordered: !1
2072
+ bordered: !1,
2073
+ as: "button"
2069
2074
  }
2070
2075
  }
2071
2076
  ), CardList = forwardRef(
@@ -2082,7 +2087,7 @@ const cardVariants = cva(
2082
2087
  "li",
2083
2088
  {
2084
2089
  ref: t,
2085
- className: "flex items-center min-w-0 flex-shrink-0 after:content-[''] after:inline-block after:mx-1.5 sm:after:mx-2 after:w-1 after:h-1 after:rounded-full after:bg-ghost last:after:hidden after:flex-shrink-0",
2090
+ className: "flex items-center min-w-0 flex-shrink-0 after:content-[''] after:inline-block after:mx-1.5 @sm/card:after:mx-2 after:w-1 after:h-1 after:rounded-full after:bg-ghost last:after:hidden after:flex-shrink-0",
2086
2091
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { as: "span", fontSize: "sm", color: "gray", ellipsis: !0, clamp: 1, children: e })
2087
2092
  }
2088
2093
  )
@@ -2094,46 +2099,47 @@ const cardVariants = cva(
2094
2099
  title: i,
2095
2100
  subtitle: s,
2096
2101
  badge: o,
2097
- actions: l,
2098
2102
  supplementaryInfo: a,
2099
- bordered: u = !1,
2100
- as: c = "button",
2101
- className: f,
2102
- ...n
2103
- }, d) => /* @__PURE__ */ jsxRuntimeExports.jsx(
2104
- c,
2103
+ bordered: l = !1,
2104
+ as: u = "button",
2105
+ className: c,
2106
+ ...f
2107
+ }, n) => /* @__PURE__ */ jsxRuntimeExports.jsx(
2108
+ u,
2105
2109
  {
2106
- ref: d,
2107
- className: cn(cardVariants({ size: e, shape: t, bordered: u }), f),
2108
- ...n,
2109
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-start gap-3 sm:gap-4 w-full", children: [
2110
+ ref: n,
2111
+ className: cn(
2112
+ cardVariants({ size: e, shape: t, bordered: l, as: u }),
2113
+ c,
2114
+ "@container/card"
2115
+ ),
2116
+ ...f,
2117
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-start gap-3 @sm/card:gap-4 w-full", children: [
2110
2118
  r && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-shrink-0", children: r }),
2111
2119
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "w-full min-w-0", children: [
2112
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "mb-2", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-start justify-between gap-2", children: [
2113
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex-1 min-w-0", children: [
2114
- /* @__PURE__ */ jsxRuntimeExports.jsx(
2115
- Text,
2116
- {
2117
- as: "h3",
2118
- fontSize: "base",
2119
- fontWeight: "semibold",
2120
- className: "break-words leading-tight",
2121
- children: i
2122
- }
2123
- ),
2124
- s && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "mt-1", 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: s }) })
2125
- ] }),
2126
- l && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-shrink-0 ml-2 -mt-1", children: l })
2127
- ] }) }),
2128
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-col gap-2 sm:flex-row sm:justify-between sm:items-center", children: [
2129
- o && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-shrink-0 order-1 sm:order-none overflow-hidden", children: o }),
2130
- a && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-shrink-0 order-2 sm:order-none sm:ml-auto", children: typeof a == "string" ? /* @__PURE__ */ jsxRuntimeExports.jsx(
2120
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "mb-2", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex items-start justify-between gap-2", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex-1 min-w-0", children: [
2121
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
2122
+ Text,
2123
+ {
2124
+ as: "h3",
2125
+ fontSize: "base",
2126
+ fontWeight: "semibold",
2127
+ className: "break-words leading-tight",
2128
+ children: i
2129
+ }
2130
+ ),
2131
+ s && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "mt-1", 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: s }) })
2132
+ ] }) }) }),
2133
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-col gap-2 @sm/card:flex-row @sm/card:justify-between @sm/card:items-center", children: [
2134
+ o && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "order-1 @sm/card:order-none overflow-hidden", children: o }),
2135
+ a && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-shrink-0 order-2 @sm/card:order-none @sm/card:ml-auto", children: typeof a == "string" ? /* @__PURE__ */ jsxRuntimeExports.jsx(
2131
2136
  Text,
2132
2137
  {
2133
2138
  as: "p",
2134
2139
  fontSize: "sm",
2135
2140
  color: "gray",
2136
2141
  className: "truncate",
2142
+ align: "right",
2137
2143
  children: a
2138
2144
  }
2139
2145
  ) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "overflow-hidden", children: a }) })
@@ -2190,19 +2196,19 @@ const cardVariants = cva(
2190
2196
  size: i = "md",
2191
2197
  disabled: s = !1,
2192
2198
  children: o,
2193
- ...l
2194
- }, a) {
2199
+ ...a
2200
+ }, l) {
2195
2201
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
2196
2202
  "button",
2197
2203
  {
2198
- ref: a,
2204
+ ref: l,
2199
2205
  type: "button",
2200
2206
  className: cn(filterChipVariants({ variant: r, size: i }), t),
2201
2207
  disabled: s,
2202
2208
  "aria-disabled": s,
2203
2209
  "aria-label": `${o}, removable`,
2204
2210
  inert: s ? !0 : void 0,
2205
- ...l,
2211
+ ...a,
2206
2212
  children: [
2207
2213
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "flex-shrink-0", children: o }),
2208
2214
  /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { as: XIcon, color: "inherit", size: i === "lg" ? "md" : "sm" })
@@ -2251,15 +2257,15 @@ const cardVariants = cva(
2251
2257
  ), noResultsHeaderVariants = cva(
2252
2258
  "flex flex-row items-center gap-3 mb-2"
2253
2259
  ), NoResults = React__default.forwardRef(
2254
- function e({ icon: t, title: r, subtitle: i, action: s, className: o, hasGrayBackground: l, ...a }, u) {
2260
+ function e({ icon: t, title: r, subtitle: i, action: s, className: o, hasGrayBackground: a, ...l }, u) {
2255
2261
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
2256
2262
  "section",
2257
2263
  {
2258
2264
  ref: u,
2259
- className: cn(noResultsVariants({ hasGrayBackground: l }), o),
2265
+ className: cn(noResultsVariants({ hasGrayBackground: a }), o),
2260
2266
  role: "status",
2261
2267
  "aria-label": "No results found",
2262
- ...a,
2268
+ ...l,
2263
2269
  children: [
2264
2270
  /* @__PURE__ */ jsxRuntimeExports.jsxs("header", { className: noResultsHeaderVariants(), children: [
2265
2271
  /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { as: t, size: "lg", color: "ghost", "aria-hidden": "true" }),
@@ -2404,14 +2410,14 @@ const getTableColumnClass = (e) => {
2404
2410
  );
2405
2411
  }
2406
2412
  ), TableColumn = forwardRef(
2407
- ({ as: e = "td", span: t, align: r = "left", children: i, className: s, ...o }, l) => {
2408
- const a = e === "th" ? "columnheader" : "cell";
2413
+ ({ as: e = "td", span: t, align: r = "left", children: i, className: s, ...o }, a) => {
2414
+ const l = e === "th" ? "columnheader" : "cell";
2409
2415
  let u = "text-left";
2410
2416
  return r === "center" ? u = "text-center" : r === "right" && (u = "text-right"), /* @__PURE__ */ jsxRuntimeExports.jsx(
2411
2417
  "div",
2412
2418
  {
2413
- ref: l,
2414
- role: a,
2419
+ ref: a,
2420
+ role: l,
2415
2421
  className: cn(
2416
2422
  "px-4 py-2",
2417
2423
  "[&:not(:last-child)]:border-r [&:not(:last-child)]:border-border",
@@ -2522,9 +2528,9 @@ const getTableColumnClass = (e) => {
2522
2528
  )
2523
2529
  );
2524
2530
  function useImage({ src: e }) {
2525
- const [t, r] = useState(!1), [i, s] = useState(!1), o = useRef(!1), l = () => {
2531
+ const [t, r] = useState(!1), [i, s] = useState(!1), o = useRef(!1), a = () => {
2526
2532
  r(!0);
2527
- }, a = () => {
2533
+ }, l = () => {
2528
2534
  s(!0);
2529
2535
  };
2530
2536
  return useEffect(() => {
@@ -2540,8 +2546,8 @@ function useImage({ src: e }) {
2540
2546
  }, [e]), {
2541
2547
  loaded: t,
2542
2548
  errored: i,
2543
- handleLoad: l,
2544
- handleError: a
2549
+ handleLoad: a,
2550
+ handleError: l
2545
2551
  };
2546
2552
  }
2547
2553
  const imageVariants = cva("block object-cover", {
@@ -2619,12 +2625,12 @@ function BaseImageFallback({
2619
2625
  className: i,
2620
2626
  style: s,
2621
2627
  shape: o,
2622
- size: l
2628
+ size: a
2623
2629
  }) {
2624
2630
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
2625
2631
  "div",
2626
2632
  {
2627
- className: imageAtomVariants({ shape: o, size: l, className: i }),
2633
+ className: imageAtomVariants({ shape: o, size: a, className: i }),
2628
2634
  style: { width: t, height: r, ...s },
2629
2635
  "aria-label": e,
2630
2636
  role: "img",
@@ -2650,8 +2656,8 @@ const BaseImage = forwardRef(
2650
2656
  onError: i,
2651
2657
  width: s,
2652
2658
  height: o,
2653
- loading: l = "lazy",
2654
- position: a = "cover",
2659
+ loading: a = "lazy",
2660
+ position: l = "cover",
2655
2661
  size: u = "auto",
2656
2662
  shape: c,
2657
2663
  className: f,
@@ -2683,10 +2689,10 @@ const BaseImage = forwardRef(
2683
2689
  alt: t,
2684
2690
  width: R,
2685
2691
  height: E,
2686
- loading: l,
2692
+ loading: a,
2687
2693
  className: cn(
2688
2694
  imageVariants({
2689
- position: a,
2695
+ position: l,
2690
2696
  size: u,
2691
2697
  shape: c
2692
2698
  }),
package/dist/js/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { L as t, 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, f as I, P as c, c as S, d as m, e as B, S as g, T as d } from "./top-bar-DYbS1NgD.js";
3
- import { B as T, C as x, b as f, a as h, D as P, k as C, E as M, M as A, P as k, R as F, d as L, c as D, S as H, e as R, j as w, i as G, h as j, f as q, T as v, g as y } from "./bottom-sheet-input-BB3FZtpr.js";
4
- import { B as N, D as z, M as J } from "./bottom-sheet-Da41OlDM.js";
5
- import { A as O, a as Q, b as U, c as V, d as W, e as X, B as Y, s as Z, f as _, g as $, j as aa, k as ea, h as ta, i as sa, C as ra, l as oa, F as na, H as ua, m as pa, I as ia, p as la, r as Ia, q as ca, M as Sa, N as ma, T as Ba, n as ga, o as da } from "./image-rectangle-S0pOfTm5.js";
6
- import { T as Ta } from "./tooltip-VV9T0wn6.js";
2
+ import { A as n, a as u, B as p, b as i, F as l, f as I, P as c, c as S, d as m, e as B, S as g, T as d } from "./top-bar-CyrMtg_S.js";
3
+ import { B as T, C as x, b as f, a as h, D as P, k as C, E as M, M as A, P as k, R as F, d as L, c as D, S as H, e as R, j as w, i as G, h as j, f as q, T as v, g as y } from "./bottom-sheet-input-BmkctBPw.js";
4
+ import { B as N, D as z, M as J } from "./bottom-sheet-COYI-CL2.js";
5
+ import { A as O, a as Q, b as U, c as V, d as W, e as X, B as Y, s as Z, f as _, g as $, j as aa, k as ea, h as ta, i as sa, C as ra, l as oa, F as na, H as ua, m as pa, I as ia, p as la, r as Ia, q as ca, M as Sa, N as ma, T as Ba, n as ga, o as da } from "./image-rectangle-en-PQWib.js";
6
+ import { T as Ta } from "./tooltip-bAUJtxZh.js";
7
7
  import { S as fa } from "./snackbar-DH8jCh2V.js";
8
- import { B as Pa, T as Ca } from "./tabs-C8iGcy7x.js";
8
+ import { B as Pa, T as Ca } from "./tabs-Cacli_Rq.js";
9
9
  import { S as Aa, u as ka } from "./use-snackbars-Cou8L41F.js";
10
10
  export {
11
11
  O as Accordion,
@@ -1,4 +1,4 @@
1
- import { A as e, a as r, B as s, b as t, F as p, f as B, P as u, c as d, d as g, e as P, S as i, T as m } from "../top-bar-DYbS1NgD.js";
1
+ import { A as e, a as r, B as s, b as t, F as p, f as B, P as u, c as d, d as g, e as P, S as i, T as m } from "../top-bar-CyrMtg_S.js";
2
2
  export {
3
3
  e as AppBar,
4
4
  r as BadgeGroup,
@@ -1,4 +1,4 @@
1
- import { B as s, T as b } from "../tabs-C8iGcy7x.js";
1
+ import { B as s, T as b } from "../tabs-Cacli_Rq.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-Da41OlDM.js";
2
- import { M as m } from "../image-rectangle-S0pOfTm5.js";
3
- import { T as M } from "../tooltip-VV9T0wn6.js";
1
+ import { B as a, D as e, M as t } from "../bottom-sheet-COYI-CL2.js";
2
+ import { M as m } from "../image-rectangle-en-PQWib.js";
3
+ import { T as M } from "../tooltip-bAUJtxZh.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-S0pOfTm5.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-en-PQWib.js";
2
2
  import { S as N } from "../snackbar-DH8jCh2V.js";
3
3
  export {
4
4
  t as Accordion,
@@ -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-S0pOfTm5.js";
3
+ import { I as w } from "./image-rectangle-en-PQWib.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-S0pOfTm5.js";
3
+ import { n as y } from "./image-rectangle-en-PQWib.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 s, 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-S0pOfTm5.js";
4
+ import { n as f } from "./image-rectangle-en-PQWib.js";
5
5
  import "./snackbar-DH8jCh2V.js";
6
6
  import { L as h } from "./skeleton-BNZyaRjo.js";
7
7
  const j = i(
@@ -196,7 +196,7 @@ const j = i(
196
196
  }
197
197
  ), Ha = Object.assign(A, {
198
198
  Item: P
199
- }), C = i("flex", {
199
+ }), C = i("flex flex-wrap items-center", {
200
200
  variants: {
201
201
  orientation: {
202
202
  horizontal: "flex-row",
@@ -259,7 +259,7 @@ const j = i(
259
259
  }
260
260
  );
261
261
  }
262
- ), R = i("flex", {
262
+ ), R = i("flex flex-wrap items-center", {
263
263
  variants: {
264
264
  orientation: {
265
265
  horizontal: "flex-row",
@@ -395,7 +395,7 @@ const j = i(
395
395
  children: t
396
396
  }
397
397
  )
398
- ), k = i("w-full mt-4"), F = i(
398
+ ), k = i("w-full pt-4 md:pt-10"), F = i(
399
399
  "flex flex-col sm:flex-row sm:items-start sm:justify-between gap-4 px-4 sm:px-6 mb-4"
400
400
  ), O = i("mb-4 px-4 sm:px-6"), W = i(
401
401
  "flex-1 min-w-0 flex flex-col gap-2 w-full sm:w-auto"
@@ -502,7 +502,7 @@ const j = i(
502
502
  tabs: u,
503
503
  ...m
504
504
  }, x) => {
505
- const b = u;
505
+ const g = u;
506
506
  return /* @__PURE__ */ s.jsxs(
507
507
  "header",
508
508
  {
@@ -523,7 +523,7 @@ const j = i(
523
523
  ] }),
524
524
  p && /* @__PURE__ */ s.jsx(Y, { children: p })
525
525
  ] }),
526
- b && /* @__PURE__ */ s.jsx(_, { children: u }),
526
+ g && /* @__PURE__ */ s.jsx(_, { children: u }),
527
527
  t
528
528
  ]
529
529
  }
@@ -577,10 +577,15 @@ const j = i(
577
577
  "min-h-32",
578
578
  "py-8"
579
579
  ]
580
+ },
581
+ fullscreen: {
582
+ true: ["fixed", "inset-0", "z-100", "bg-background"],
583
+ false: []
580
584
  }
581
585
  },
582
586
  defaultVariants: {
583
- minimal: !1
587
+ minimal: !1,
588
+ fullscreen: !1
584
589
  }
585
590
  }
586
591
  ), sa = i([
@@ -595,17 +600,18 @@ const j = i(
595
600
  color: r = "primary",
596
601
  ariaLabel: n = "Loading page",
597
602
  message: c,
598
- minimal: p = !1,
599
- className: d,
600
- children: u,
601
- ...m
602
- }, x) {
603
+ fullscreen: p = !1,
604
+ minimal: d = !1,
605
+ className: u,
606
+ children: m,
607
+ ...x
608
+ }, g) {
603
609
  return /* @__PURE__ */ s.jsxs(
604
610
  "div",
605
611
  {
606
- ref: x,
607
- className: l(ta({ minimal: p }), d),
608
- ...m,
612
+ ref: g,
613
+ className: l(ta({ minimal: d, fullscreen: p }), u),
614
+ ...x,
609
615
  children: [
610
616
  /* @__PURE__ */ s.jsx("div", { className: "max-w-xs w-full flex justify-center", children: /* @__PURE__ */ s.jsx(
611
617
  h,
@@ -617,7 +623,7 @@ const j = i(
617
623
  }
618
624
  ) }),
619
625
  c && /* @__PURE__ */ s.jsx("p", { className: sa(), "aria-live": "polite", children: c }),
620
- u
626
+ m
621
627
  ]
622
628
  }
623
629
  );
@@ -672,7 +678,7 @@ const j = i(
672
678
  }
673
679
  ), ka = Object.assign(oa, {
674
680
  Column: ia
675
- }), g = i(
681
+ }), b = i(
676
682
  "flex items-center gap-2 px-4 py-2 rounded-md hover:text-primary focus:outline-none transition-colors",
677
683
  {
678
684
  variants: {
@@ -700,7 +706,7 @@ const j = i(
700
706
  {
701
707
  ref: a,
702
708
  href: n,
703
- className: g({
709
+ className: b({
704
710
  disabled: !!t["aria-disabled"],
705
711
  active: p
706
712
  }),
@@ -720,7 +726,7 @@ const j = i(
720
726
  type: "button",
721
727
  onClick: c,
722
728
  className: l(
723
- g({ disabled: !!m.disabled, active: p }),
729
+ b({ disabled: !!m.disabled, active: p }),
724
730
  "w-full text-left"
725
731
  ),
726
732
  ...m,
@@ -764,7 +770,7 @@ const j = i(
764
770
  Item: la,
765
771
  Group: ca
766
772
  }), da = i(
767
- "w-full flex items-center px-6 py-4 mb-6 border-b border-border shadow-xs bg-white",
773
+ "w-full flex items-center px-6 py-4 border-b border-border shadow-xs bg-white",
768
774
  {
769
775
  variants: {},
770
776
  defaultVariants: {}
@@ -782,11 +788,11 @@ const j = i(
782
788
  active: !1
783
789
  }
784
790
  }
785
- ), xa = i("flex items-center gap-2 ml-4"), ga = i("flex items-center gap-2 mr-4"), va = o(
791
+ ), xa = i("flex items-center gap-2 ml-4"), ga = i("flex items-center gap-2 mr-4"), ba = o(
786
792
  function({ children: a, className: e, ...r }, n) {
787
793
  return /* @__PURE__ */ s.jsx("nav", { ref: n, className: xa({ className: e }), ...r, children: a });
788
794
  }
789
- ), ba = o(
795
+ ), va = o(
790
796
  function({ children: a, className: e, ...r }, n) {
791
797
  return /* @__PURE__ */ s.jsx("div", { ref: n, className: ga({ className: e }), ...r, children: a });
792
798
  }
@@ -817,8 +823,8 @@ const j = i(
817
823
  Leading: ha,
818
824
  Trailing: ja,
819
825
  NavItem: ya,
820
- Nav: va,
821
- Actions: ba
826
+ Nav: ba,
827
+ Actions: va
822
828
  });
823
829
  export {
824
830
  La as A,
@@ -33,4 +33,8 @@ export interface PageLoaderProps extends HTMLAttributes<HTMLDivElement> {
33
33
  * Whether to use a minimal height (useful for inline loading states)
34
34
  */
35
35
  minimal?: boolean;
36
+ /**
37
+ * Whether to cover the entire viewport
38
+ */
39
+ fullscreen?: boolean;
36
40
  }
@@ -31,10 +31,6 @@ export interface CardProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>,
31
31
  * Badge element to display in the header area
32
32
  */
33
33
  badge?: ReactNode;
34
- /**
35
- * Action elements to display in the right top area
36
- */
37
- actions?: ReactNode;
38
34
  /**
39
35
  * Supplementary information to display on the bottom-right side
40
36
  * Usually used for amounts, status, or additional info
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dimasbaguspm/versaur",
3
- "version": "0.0.41",
3
+ "version": "0.0.43",
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",