@dimasbaguspm/versaur 0.0.29 → 0.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/js/{bottom-sheet-BKd7WCCS.js → bottom-sheet-DUcwK0Yd.js} +1 -1
- package/dist/js/{bottom-sheet-input-DrbGhcXv.js → bottom-sheet-input-Bzx0ecmU.js} +629 -722
- package/dist/js/forms/index.js +1 -1
- package/dist/js/{image-rectangle-CF656HIm.js → image-rectangle-BMEGIW-6.js} +96 -90
- package/dist/js/index.js +6 -6
- package/dist/js/layouts/index.js +1 -1
- package/dist/js/navigation/index.js +1 -1
- package/dist/js/overlays/index.js +2 -2
- package/dist/js/primitive/index.js +1 -1
- package/dist/js/{tabs-DoiqKzR9.js → tabs-CIWr5hdb.js} +1 -1
- package/dist/js/{tooltip-D1-q8Ars.js → tooltip-IazSAgsg.js} +1 -1
- package/dist/js/{top-bar-B4SZ2YZC.js → top-bar-BdmaTpTp.js} +176 -163
- package/dist/types/forms/chip-multiple-input/chip-multiple-input.d.ts +2 -3
- package/dist/types/forms/chip-multiple-input/types.d.ts +1 -21
- package/dist/types/forms/chip-single-input/chip-single-input.d.ts +2 -3
- package/dist/types/forms/chip-single-input/types.d.ts +1 -9
- package/dist/types/layouts/page-header/page-header.atoms.d.ts +2 -1
- package/dist/types/layouts/page-header/page-header.d.ts +4 -0
- package/dist/types/layouts/page-header/types.d.ts +6 -0
- package/dist/types/primitive/card/card.d.ts +1 -1
- package/dist/types/primitive/card/types.d.ts +7 -2
- package/package.json +1 -1
package/dist/js/forms/index.js
CHANGED
|
@@ -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-
|
|
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-Bzx0ecmU.js";
|
|
2
2
|
export {
|
|
3
3
|
a as BottomSheetInput,
|
|
4
4
|
n as CheckboxInput,
|
|
@@ -322,8 +322,8 @@ const alertVariants = cva(
|
|
|
322
322
|
ellipsis: a = !1,
|
|
323
323
|
fontSize: l,
|
|
324
324
|
fontWeight: c,
|
|
325
|
-
className:
|
|
326
|
-
children:
|
|
325
|
+
className: h,
|
|
326
|
+
children: b,
|
|
327
327
|
...d
|
|
328
328
|
}, p) => {
|
|
329
329
|
const f = [
|
|
@@ -355,10 +355,10 @@ const alertVariants = cva(
|
|
|
355
355
|
}),
|
|
356
356
|
v,
|
|
357
357
|
w,
|
|
358
|
-
|
|
358
|
+
h
|
|
359
359
|
),
|
|
360
360
|
...d,
|
|
361
|
-
children:
|
|
361
|
+
children: b
|
|
362
362
|
}
|
|
363
363
|
);
|
|
364
364
|
}
|
|
@@ -921,9 +921,9 @@ function useFloatingPosition(e, t = "1rem") {
|
|
|
921
921
|
const r = useRef(null), [s, i] = useState({}), [n, o] = useState("fixed bottom-4 right-4"), a = useCallback(() => {
|
|
922
922
|
const c = r.current;
|
|
923
923
|
if (!c) return;
|
|
924
|
-
const
|
|
924
|
+
const b = c.getBoundingClientRect().height > window.innerHeight;
|
|
925
925
|
let d = {}, p = "";
|
|
926
|
-
|
|
926
|
+
b ? (d = {
|
|
927
927
|
position: "fixed",
|
|
928
928
|
bottom: t,
|
|
929
929
|
zIndex: 50,
|
|
@@ -958,10 +958,10 @@ const ButtonFloat = forwardRef(
|
|
|
958
958
|
offset: n = "1rem",
|
|
959
959
|
...o
|
|
960
960
|
}, a) {
|
|
961
|
-
const [l, c,
|
|
961
|
+
const [l, c, h] = useFloatingPosition(
|
|
962
962
|
i,
|
|
963
963
|
n
|
|
964
|
-
), [
|
|
964
|
+
), [b, d] = useState(!1);
|
|
965
965
|
return useEffect(() => {
|
|
966
966
|
d(!0);
|
|
967
967
|
}, []), /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: l, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -971,8 +971,8 @@ const ButtonFloat = forwardRef(
|
|
|
971
971
|
type: o.type || "button",
|
|
972
972
|
className: cn(
|
|
973
973
|
buttonFloatVariants({ variant: r, size: s }),
|
|
974
|
-
|
|
975
|
-
|
|
974
|
+
h,
|
|
975
|
+
b && "animate-fab-in",
|
|
976
976
|
t
|
|
977
977
|
),
|
|
978
978
|
style: c,
|
|
@@ -1290,7 +1290,7 @@ const BUTTONS = [
|
|
|
1290
1290
|
"aria-label": "Calculator input"
|
|
1291
1291
|
}
|
|
1292
1292
|
),
|
|
1293
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex flex-col gap-1 mb-3", children: BUTTONS.map((
|
|
1293
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex flex-col gap-1 mb-3", children: BUTTONS.map((h, b) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex w-full", children: h.map((d) => d === "⌫" ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1294
1294
|
ButtonIcon,
|
|
1295
1295
|
{
|
|
1296
1296
|
as: X,
|
|
@@ -1311,7 +1311,7 @@ const BUTTONS = [
|
|
|
1311
1311
|
children: d
|
|
1312
1312
|
},
|
|
1313
1313
|
d
|
|
1314
|
-
)) },
|
|
1314
|
+
)) }, b)) })
|
|
1315
1315
|
]
|
|
1316
1316
|
}
|
|
1317
1317
|
);
|
|
@@ -1361,7 +1361,7 @@ const CalendarHeader = () => {
|
|
|
1361
1361
|
] })
|
|
1362
1362
|
] });
|
|
1363
1363
|
}, CalendarWeekdays = () => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "grid grid-cols-7 px-4 text-ghost-500 mb-3", children: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"].map((e) => /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { fontSize: "xs", color: "ghost", align: "center", children: e }, e)) }), CalendarDaysSingle = () => {
|
|
1364
|
-
const e = useCalendarContext(), { year: t, month: r, value: s, onChange: i, setMonth: n, setYear: o } = e, a = (g, m) => new Date(g, m + 1, 0).getDate(), c = ((g, m) => new Date(g, m, 1).getDay())(t, r),
|
|
1364
|
+
const e = useCalendarContext(), { year: t, month: r, value: s, onChange: i, setMonth: n, setYear: o } = e, a = (g, m) => new Date(g, m + 1, 0).getDate(), c = ((g, m) => new Date(g, m, 1).getDay())(t, r), h = a(t, r), b = r - 1 < 0 ? 11 : r - 1, d = r === 0 ? t - 1 : t, p = a(t, b), y = r === 11 ? 0 : r + 1, f = r === 11 ? t + 1 : t, v = [];
|
|
1365
1365
|
for (let g = 0; g < c; g++) {
|
|
1366
1366
|
const m = p - c + g + 1;
|
|
1367
1367
|
v.push(
|
|
@@ -1373,14 +1373,14 @@ const CalendarHeader = () => {
|
|
|
1373
1373
|
"aria-label": "Previous month day",
|
|
1374
1374
|
variant: "ghost",
|
|
1375
1375
|
onClick: () => {
|
|
1376
|
-
i?.(new Date(d,
|
|
1376
|
+
i?.(new Date(d, b, m)), n(b), o(d);
|
|
1377
1377
|
}
|
|
1378
1378
|
},
|
|
1379
1379
|
"prev-" + g
|
|
1380
1380
|
)
|
|
1381
1381
|
);
|
|
1382
1382
|
}
|
|
1383
|
-
for (let g = 1; g <=
|
|
1383
|
+
for (let g = 1; g <= h; g++) {
|
|
1384
1384
|
const m = s instanceof Date && s.getFullYear() === t && s.getMonth() === r && s.getDate() === g;
|
|
1385
1385
|
v.push(
|
|
1386
1386
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -1408,7 +1408,7 @@ const CalendarHeader = () => {
|
|
|
1408
1408
|
)
|
|
1409
1409
|
);
|
|
1410
1410
|
}
|
|
1411
|
-
const w = c +
|
|
1411
|
+
const w = c + h;
|
|
1412
1412
|
for (let g = 0; g < (w % 7 === 0 ? 0 : 7 - w % 7); g++)
|
|
1413
1413
|
v.push(
|
|
1414
1414
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -1427,27 +1427,27 @@ const CalendarHeader = () => {
|
|
|
1427
1427
|
);
|
|
1428
1428
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "grid grid-cols-7 gap-2 px-4 pb-4", children: v });
|
|
1429
1429
|
}, CalendarDaysRange = () => {
|
|
1430
|
-
const { year: e, month: t, value: r, onChange: s, setMonth: i, setYear: n } = useCalendarContext(), o = (u,
|
|
1430
|
+
const { year: e, month: t, value: r, onChange: s, setMonth: i, setYear: n } = useCalendarContext(), o = (u, x) => new Date(u, x + 1, 0).getDate(), l = ((u, x) => new Date(u, x, 1).getDay())(e, t), c = o(e, t), h = t - 1 < 0 ? 11 : t - 1, b = t === 0 ? e - 1 : e, d = o(e, h), p = t === 11 ? 0 : t + 1, y = t === 11 ? e + 1 : e, f = [], v = () => {
|
|
1431
1431
|
if (!Array.isArray(r)) return [null, null];
|
|
1432
|
-
const [u,
|
|
1433
|
-
return !u && !
|
|
1432
|
+
const [u, x] = r;
|
|
1433
|
+
return !u && !x ? [null, null] : u && x ? u <= x ? [u, x] : [x, u] : [u, x];
|
|
1434
1434
|
}, [w, g] = v(), m = (u) => {
|
|
1435
1435
|
if (!w || !g) return !1;
|
|
1436
|
-
const
|
|
1437
|
-
return
|
|
1436
|
+
const x = new Date(e, t, u);
|
|
1437
|
+
return x >= w && x <= g;
|
|
1438
1438
|
}, S = (u) => w ? w.getFullYear() === e && w.getMonth() === t && w.getDate() === u : !1, I = (u) => g ? g.getFullYear() === e && g.getMonth() === t && g.getDate() === u : !1;
|
|
1439
1439
|
for (let u = 0; u < l; u++) {
|
|
1440
|
-
const
|
|
1440
|
+
const x = d - l + u + 1;
|
|
1441
1441
|
f.push(
|
|
1442
1442
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1443
1443
|
ButtonIcon,
|
|
1444
1444
|
{
|
|
1445
|
-
as: () => /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { as: "span", fontSize: "sm", color: "tertiary", children:
|
|
1445
|
+
as: () => /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { as: "span", fontSize: "sm", color: "tertiary", children: x }),
|
|
1446
1446
|
size: "sm",
|
|
1447
1447
|
"aria-label": "Previous month day",
|
|
1448
1448
|
variant: "ghost",
|
|
1449
1449
|
onClick: () => {
|
|
1450
|
-
s?.([null, null]), i(
|
|
1450
|
+
s?.([null, null]), i(h), n(b);
|
|
1451
1451
|
}
|
|
1452
1452
|
},
|
|
1453
1453
|
"prev-" + u
|
|
@@ -1455,7 +1455,7 @@ const CalendarHeader = () => {
|
|
|
1455
1455
|
);
|
|
1456
1456
|
}
|
|
1457
1457
|
for (let u = 1; u <= c; u++) {
|
|
1458
|
-
const
|
|
1458
|
+
const x = m(u), E = S(u), C = I(u);
|
|
1459
1459
|
f.push(
|
|
1460
1460
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1461
1461
|
ButtonIcon,
|
|
@@ -1465,16 +1465,16 @@ const CalendarHeader = () => {
|
|
|
1465
1465
|
{
|
|
1466
1466
|
as: "span",
|
|
1467
1467
|
fontSize: "sm",
|
|
1468
|
-
color:
|
|
1468
|
+
color: x || E || C ? "inherit" : "ghost",
|
|
1469
1469
|
className: cn(
|
|
1470
|
-
|
|
1470
|
+
x && " bg-primary text-white",
|
|
1471
1471
|
E && "rounded-l-full bg-primary text-white",
|
|
1472
1472
|
C && "rounded-r-full bg-primary text-white"
|
|
1473
1473
|
),
|
|
1474
1474
|
children: u
|
|
1475
1475
|
}
|
|
1476
1476
|
),
|
|
1477
|
-
variant: E || C ||
|
|
1477
|
+
variant: E || C || x ? "primary" : "ghost",
|
|
1478
1478
|
size: "sm",
|
|
1479
1479
|
"aria-label": `Select ${e}-${t + 1}-${u}`,
|
|
1480
1480
|
"aria-current": E || C ? "date" : void 0,
|
|
@@ -1520,12 +1520,12 @@ function useCalendar({
|
|
|
1520
1520
|
initialYear: s,
|
|
1521
1521
|
initialMonth: i
|
|
1522
1522
|
}) {
|
|
1523
|
-
const [n, o] = useState(i), [a, l] = useState(s), [c,
|
|
1523
|
+
const [n, o] = useState(i), [a, l] = useState(s), [c, h] = useState([
|
|
1524
1524
|
null,
|
|
1525
1525
|
null
|
|
1526
1526
|
]);
|
|
1527
|
-
let
|
|
1528
|
-
t === "range" && !e && (
|
|
1527
|
+
let b = e;
|
|
1528
|
+
t === "range" && !e && (b = c);
|
|
1529
1529
|
const d = useCallback(() => {
|
|
1530
1530
|
const f = n === 0 ? 11 : n - 1, v = n === 0 ? a - 1 : a;
|
|
1531
1531
|
o(f), l(v), t === "single" && r?.(new Date(v, f, 1));
|
|
@@ -1534,14 +1534,14 @@ function useCalendar({
|
|
|
1534
1534
|
o(f), l(v), t === "single" && r?.(new Date(v, f, 1));
|
|
1535
1535
|
}, [n, a, t, r]), y = useCallback(
|
|
1536
1536
|
(f) => {
|
|
1537
|
-
t === "single" ? r?.(f) : t === "range" && (
|
|
1537
|
+
t === "single" ? r?.(f) : t === "range" && (h(f), r?.(f));
|
|
1538
1538
|
},
|
|
1539
1539
|
[t, r]
|
|
1540
1540
|
);
|
|
1541
1541
|
return {
|
|
1542
1542
|
year: a,
|
|
1543
1543
|
month: n,
|
|
1544
|
-
value:
|
|
1544
|
+
value: b,
|
|
1545
1545
|
setMonth: o,
|
|
1546
1546
|
setYear: l,
|
|
1547
1547
|
onChange: y,
|
|
@@ -1583,7 +1583,7 @@ const CalendarRoot = ({
|
|
|
1583
1583
|
}
|
|
1584
1584
|
);
|
|
1585
1585
|
}, Calendar = Object.assign(CalendarRoot, {}), cardVariants = cva(
|
|
1586
|
-
"block transition-colors duration-200 cursor-pointer",
|
|
1586
|
+
"block 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",
|
|
1587
1587
|
{
|
|
1588
1588
|
variants: {
|
|
1589
1589
|
size: {
|
|
@@ -1596,57 +1596,18 @@ const CalendarRoot = ({
|
|
|
1596
1596
|
shape: {
|
|
1597
1597
|
rounded: "rounded-lg",
|
|
1598
1598
|
square: "rounded-none"
|
|
1599
|
-
}
|
|
1600
|
-
},
|
|
1601
|
-
defaultVariants: {
|
|
1602
|
-
size: "md",
|
|
1603
|
-
shape: "rounded"
|
|
1604
|
-
}
|
|
1605
|
-
}
|
|
1606
|
-
), tileVariants = cva(
|
|
1607
|
-
// Base classes
|
|
1608
|
-
"block transition-colors duration-200",
|
|
1609
|
-
{
|
|
1610
|
-
variants: {
|
|
1611
|
-
variant: {
|
|
1612
|
-
white: "bg-white border border-border",
|
|
1613
|
-
neutral: "bg-neutral border border-gray-200",
|
|
1614
|
-
primary: "bg-primary-soft border border-primary",
|
|
1615
|
-
secondary: "bg-secondary-soft border border-secondary",
|
|
1616
|
-
tertiary: "bg-tertiary-soft border border-tertiary",
|
|
1617
|
-
ghost: "bg-transparent border border-ghost",
|
|
1618
|
-
success: "bg-success-soft border border-success",
|
|
1619
|
-
info: "bg-info-soft border border-info",
|
|
1620
|
-
warning: "bg-warning-soft border border-warning",
|
|
1621
|
-
danger: "bg-danger-soft border border-danger"
|
|
1622
1599
|
},
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
md: "p-4",
|
|
1627
|
-
lg: "p-6",
|
|
1628
|
-
xl: "p-8"
|
|
1629
|
-
},
|
|
1630
|
-
shape: {
|
|
1631
|
-
rounded: "rounded-lg",
|
|
1632
|
-
square: "rounded-none"
|
|
1600
|
+
bordered: {
|
|
1601
|
+
true: "border border-border",
|
|
1602
|
+
false: ""
|
|
1633
1603
|
}
|
|
1634
1604
|
},
|
|
1635
1605
|
defaultVariants: {
|
|
1636
|
-
variant: "white",
|
|
1637
1606
|
size: "md",
|
|
1638
|
-
shape: "rounded"
|
|
1607
|
+
shape: "rounded",
|
|
1608
|
+
bordered: !1
|
|
1639
1609
|
}
|
|
1640
1610
|
}
|
|
1641
|
-
), Tile = forwardRef(
|
|
1642
|
-
({ variant: e = "white", size: t = "md", shape: r = "rounded", className: s, ...i }, n) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1643
|
-
"div",
|
|
1644
|
-
{
|
|
1645
|
-
ref: n,
|
|
1646
|
-
className: cn(tileVariants({ variant: e, size: t, shape: r }), s),
|
|
1647
|
-
...i
|
|
1648
|
-
}
|
|
1649
|
-
)
|
|
1650
1611
|
), Card = forwardRef(
|
|
1651
1612
|
({
|
|
1652
1613
|
size: e = "md",
|
|
@@ -1656,14 +1617,15 @@ const CalendarRoot = ({
|
|
|
1656
1617
|
subtitle: i,
|
|
1657
1618
|
badge: n,
|
|
1658
1619
|
supplementaryInfo: o,
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1620
|
+
bordered: a = !1,
|
|
1621
|
+
className: l,
|
|
1622
|
+
...c
|
|
1623
|
+
}, h) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1624
|
+
"button",
|
|
1663
1625
|
{
|
|
1664
|
-
ref:
|
|
1665
|
-
className: cn(cardVariants({ size: e, shape: t }),
|
|
1666
|
-
...
|
|
1626
|
+
ref: h,
|
|
1627
|
+
className: cn(cardVariants({ size: e, shape: t, bordered: a }), l),
|
|
1628
|
+
...c,
|
|
1667
1629
|
children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-start gap-4", children: [
|
|
1668
1630
|
r && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-shrink-0", children: r }),
|
|
1669
1631
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "w-full", children: [
|
|
@@ -1991,7 +1953,51 @@ const getTableColumnClass = (e) => {
|
|
|
1991
1953
|
Footer: TableFooter,
|
|
1992
1954
|
Row: TableRow,
|
|
1993
1955
|
RowItem: TableRowItem
|
|
1994
|
-
})
|
|
1956
|
+
}), tileVariants = cva(
|
|
1957
|
+
// Base classes
|
|
1958
|
+
"block transition-colors duration-200",
|
|
1959
|
+
{
|
|
1960
|
+
variants: {
|
|
1961
|
+
variant: {
|
|
1962
|
+
white: "bg-white border border-border",
|
|
1963
|
+
neutral: "bg-neutral border border-gray-200",
|
|
1964
|
+
primary: "bg-primary-soft border border-primary",
|
|
1965
|
+
secondary: "bg-secondary-soft border border-secondary",
|
|
1966
|
+
tertiary: "bg-tertiary-soft border border-tertiary",
|
|
1967
|
+
ghost: "bg-transparent border border-ghost",
|
|
1968
|
+
success: "bg-success-soft border border-success",
|
|
1969
|
+
info: "bg-info-soft border border-info",
|
|
1970
|
+
warning: "bg-warning-soft border border-warning",
|
|
1971
|
+
danger: "bg-danger-soft border border-danger"
|
|
1972
|
+
},
|
|
1973
|
+
size: {
|
|
1974
|
+
xs: "p-2",
|
|
1975
|
+
sm: "p-3",
|
|
1976
|
+
md: "p-4",
|
|
1977
|
+
lg: "p-6",
|
|
1978
|
+
xl: "p-8"
|
|
1979
|
+
},
|
|
1980
|
+
shape: {
|
|
1981
|
+
rounded: "rounded-lg",
|
|
1982
|
+
square: "rounded-none"
|
|
1983
|
+
}
|
|
1984
|
+
},
|
|
1985
|
+
defaultVariants: {
|
|
1986
|
+
variant: "white",
|
|
1987
|
+
size: "md",
|
|
1988
|
+
shape: "rounded"
|
|
1989
|
+
}
|
|
1990
|
+
}
|
|
1991
|
+
), Tile = forwardRef(
|
|
1992
|
+
({ variant: e = "white", size: t = "md", shape: r = "rounded", className: s, ...i }, n) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1993
|
+
"div",
|
|
1994
|
+
{
|
|
1995
|
+
ref: n,
|
|
1996
|
+
className: cn(tileVariants({ variant: e, size: t, shape: r }), s),
|
|
1997
|
+
...i
|
|
1998
|
+
}
|
|
1999
|
+
)
|
|
2000
|
+
);
|
|
1995
2001
|
function getColSpan(e = 4) {
|
|
1996
2002
|
switch (e) {
|
|
1997
2003
|
case 1:
|
|
@@ -2179,8 +2185,8 @@ const BaseImage = forwardRef(
|
|
|
2179
2185
|
position: a = "cover",
|
|
2180
2186
|
size: l = "auto",
|
|
2181
2187
|
shape: c,
|
|
2182
|
-
className:
|
|
2183
|
-
...
|
|
2188
|
+
className: h,
|
|
2189
|
+
...b
|
|
2184
2190
|
}, d) => {
|
|
2185
2191
|
const { loaded: p, errored: y, handleLoad: f, handleError: v } = useImage({
|
|
2186
2192
|
src: e
|
|
@@ -2215,7 +2221,7 @@ const BaseImage = forwardRef(
|
|
|
2215
2221
|
size: l,
|
|
2216
2222
|
shape: c
|
|
2217
2223
|
}),
|
|
2218
|
-
|
|
2224
|
+
h
|
|
2219
2225
|
),
|
|
2220
2226
|
onLoad: (m) => {
|
|
2221
2227
|
f(), r?.(m);
|
|
@@ -2223,7 +2229,7 @@ const BaseImage = forwardRef(
|
|
|
2223
2229
|
onError: (m) => {
|
|
2224
2230
|
v(), s?.(m);
|
|
2225
2231
|
},
|
|
2226
|
-
...
|
|
2232
|
+
...b
|
|
2227
2233
|
}
|
|
2228
2234
|
);
|
|
2229
2235
|
}
|
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 p, B as u, 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-
|
|
3
|
-
import { B as b, C as T, b as x, a as h, D as C, k as f, E as P, M as k, P as A, R as M, d as D, c as F, S as L, e as R, j as w, i as G, h as j, f as v, T as y, g as E } from "./bottom-sheet-input-
|
|
4
|
-
import { B as q, D as H, M as z } from "./bottom-sheet-
|
|
5
|
-
import { M as K, T as O } from "./tooltip-
|
|
6
|
-
import { A as U, a as V, b as W, c as X, d as Y, B as Z, p as _, e as $, f as aa, g as ea, h as ta, C as sa, i as ra, j as oa, D as na, F as pa, I as ua, m as ia, o as la, n as Ia, N as ca, T as Sa, k as ma, l as Ba } from "./image-rectangle-
|
|
2
|
+
import { A as n, a as p, B as u, 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-BdmaTpTp.js";
|
|
3
|
+
import { B as b, C as T, b as x, a as h, D as C, k as f, E as P, M as k, P as A, R as M, d as D, c as F, S as L, e as R, j as w, i as G, h as j, f as v, T as y, g as E } from "./bottom-sheet-input-Bzx0ecmU.js";
|
|
4
|
+
import { B as q, D as H, M as z } from "./bottom-sheet-DUcwK0Yd.js";
|
|
5
|
+
import { M as K, T as O } from "./tooltip-IazSAgsg.js";
|
|
6
|
+
import { A as U, a as V, b as W, c as X, d as Y, B as Z, p as _, e as $, f as aa, g as ea, h as ta, C as sa, i as ra, j as oa, D as na, F as pa, I as ua, m as ia, o as la, n as Ia, N as ca, T as Sa, k as ma, l as Ba } from "./image-rectangle-BMEGIW-6.js";
|
|
7
7
|
import { S as da } from "./snackbar-DH8jCh2V.js";
|
|
8
|
-
import { B as Ta, T as xa } from "./tabs-
|
|
8
|
+
import { B as Ta, T as xa } from "./tabs-CIWr5hdb.js";
|
|
9
9
|
import { S as Ca, u as fa } from "./use-snackbars-B0MaRlg1.js";
|
|
10
10
|
export {
|
|
11
11
|
U as Alert,
|
package/dist/js/layouts/index.js
CHANGED
|
@@ -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-
|
|
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-BdmaTpTp.js";
|
|
2
2
|
export {
|
|
3
3
|
r as AppBar,
|
|
4
4
|
e as BadgeGroup,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as e, D as r, M as t } from "../bottom-sheet-
|
|
2
|
-
import { M, T as m } from "../tooltip-
|
|
1
|
+
import { B as e, D as r, M as t } from "../bottom-sheet-DUcwK0Yd.js";
|
|
2
|
+
import { M, T as m } from "../tooltip-IazSAgsg.js";
|
|
3
3
|
export {
|
|
4
4
|
e as BottomSheet,
|
|
5
5
|
r as Drawer,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as t, a as e, b as r, c as o, d as l, B as n, p as i, e as c, f as u, g, h as m, C as B, i as I, j as A, D as C, F as b, I as d, m as p, o as T, n as f, N as h, T as x, k as F, l as S } from "../image-rectangle-
|
|
1
|
+
import { A as t, a as e, b as r, c as o, d as l, B as n, p as i, e as c, f as u, g, h as m, C as B, i as I, j as A, D as C, F as b, I as d, m as p, o as T, n as f, N as h, T as x, k as F, l as S } from "../image-rectangle-BMEGIW-6.js";
|
|
2
2
|
import { S as D } from "../snackbar-DH8jCh2V.js";
|
|
3
3
|
export {
|
|
4
4
|
t as Alert,
|
|
@@ -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-
|
|
3
|
+
import { I as w } from "./image-rectangle-BMEGIW-6.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 h, j as u, a as b } from "./index-DOdDlCoL.js";
|
|
2
2
|
import { useEffect as m, useRef as c, useId as v, cloneElement as x, useState as g } from "react";
|
|
3
|
-
import { k as j } from "./image-rectangle-
|
|
3
|
+
import { k as j } from "./image-rectangle-BMEGIW-6.js";
|
|
4
4
|
const I = h(
|
|
5
5
|
"absolute z-30 min-w-40 bg-background rounded-lg border border-border transition-all duration-200 ease-out will-change-transform",
|
|
6
6
|
{
|