@dimasbaguspm/versaur 0.0.25 → 0.0.26
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-CCDa5VGo.js → bottom-sheet-CQw_O-4W.js} +195 -176
- package/dist/js/{bottom-sheet-input-DsgPp5zI.js → bottom-sheet-input-1C3Up2xF.js} +34 -35
- package/dist/js/forms/index.js +1 -1
- package/dist/js/{image-rectangle-GA3oWX7A.js → image-rectangle--Sy82Ff9.js} +232 -111
- package/dist/js/index.js +20 -21
- 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 +10 -11
- package/dist/js/{tabs-p6g9kN0N.js → tabs-CoNG51E1.js} +5 -6
- package/dist/js/{tooltip-CDdl1U3A.js → tooltip-BbTHXz6h.js} +1 -1
- package/dist/js/{top-bar-PpiWsgeR.js → top-bar-BjE0FiE8.js} +61 -62
- package/dist/types/overlays/drawer/drawer.atoms.d.ts +5 -2
- package/dist/types/overlays/drawer/drawer.d.ts +2 -0
- package/dist/types/overlays/drawer/types.d.ts +1 -16
- package/package.json +1 -1
- package/dist/js/text-CRsIInRA.js +0 -127
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { c as j, j as e, a as p } from "./index-DOdDlCoL.js";
|
|
2
2
|
import x, { createContext as S, useContext as V, useRef as $, forwardRef as I, useState as O, useId as D, useEffect as X, useMemo as P } from "react";
|
|
3
3
|
import { Check as F, Calendar as Y, SearchIcon as Z, Clock as ee, Banknote as re, MailIcon as te } from "lucide-react";
|
|
4
|
-
import { I as z } from "./image-rectangle
|
|
4
|
+
import { I as z } from "./image-rectangle--Sy82Ff9.js";
|
|
5
5
|
import "./snackbar-DH8jCh2V.js";
|
|
6
|
-
import "./
|
|
7
|
-
import { M, D as E, B as R } from "./bottom-sheet-CCDa5VGo.js";
|
|
6
|
+
import { M, D as E, B as R } from "./bottom-sheet-CQw_O-4W.js";
|
|
8
7
|
const oe = j("space-y-2", {
|
|
9
8
|
variants: {
|
|
10
9
|
direction: {
|
|
@@ -163,7 +162,7 @@ const L = x.forwardRef(
|
|
|
163
162
|
}
|
|
164
163
|
);
|
|
165
164
|
L.displayName = "CheckboxInput";
|
|
166
|
-
const
|
|
165
|
+
const tr = Object.assign(L, {
|
|
167
166
|
Option: H
|
|
168
167
|
}), T = S(null), ie = () => {
|
|
169
168
|
const r = V(T);
|
|
@@ -339,7 +338,7 @@ const or = Object.assign(L, {
|
|
|
339
338
|
!b && a && /* @__PURE__ */ e.jsx("div", { className: "mt-2 text-sm text-gray-600", children: a })
|
|
340
339
|
] }) });
|
|
341
340
|
}
|
|
342
|
-
),
|
|
341
|
+
), or = Object.assign(le, {
|
|
343
342
|
Option: de
|
|
344
343
|
}), G = S(null), ue = () => {
|
|
345
344
|
const r = V(G);
|
|
@@ -542,7 +541,7 @@ const fe = x.forwardRef(
|
|
|
542
541
|
!b && a && /* @__PURE__ */ e.jsx("div", { className: "mt-2 text-sm text-gray-600", children: a })
|
|
543
542
|
] }) });
|
|
544
543
|
}
|
|
545
|
-
),
|
|
544
|
+
), sr = Object.assign(fe, {
|
|
546
545
|
Option: K
|
|
547
546
|
}), he = j(
|
|
548
547
|
"block w-full rounded-md border bg-white transition-colors focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none disabled:bg-gray-50",
|
|
@@ -651,7 +650,7 @@ function be(r) {
|
|
|
651
650
|
day: "numeric"
|
|
652
651
|
});
|
|
653
652
|
}
|
|
654
|
-
const
|
|
653
|
+
const nr = x.forwardRef(function({ value: t = "", onChange: s, label: c, formatter: a, ...i }, l) {
|
|
655
654
|
const n = $(null), o = (u) => {
|
|
656
655
|
n.current = u, typeof l == "function" ? l(u) : l && typeof l == "object" && (l.current = u);
|
|
657
656
|
}, d = () => {
|
|
@@ -852,7 +851,7 @@ const ar = x.forwardRef(function({ value: t = "", onChange: s, label: c, formatt
|
|
|
852
851
|
!u && c && /* @__PURE__ */ e.jsx("div", { className: "mt-2 text-sm text-gray-600", children: c })
|
|
853
852
|
] }) });
|
|
854
853
|
}
|
|
855
|
-
),
|
|
854
|
+
), ar = Object.assign(ve, {
|
|
856
855
|
Option: we
|
|
857
856
|
}), je = j(
|
|
858
857
|
"flex flex-row rounded-full border overflow-hidden p-1 gap-0.25",
|
|
@@ -1042,7 +1041,7 @@ const Ce = x.forwardRef(
|
|
|
1042
1041
|
!u && c && /* @__PURE__ */ e.jsx("div", { className: "mt-2 text-sm text-gray-600", children: c })
|
|
1043
1042
|
] }) });
|
|
1044
1043
|
}
|
|
1045
|
-
),
|
|
1044
|
+
), ir = Object.assign(Ce, {
|
|
1046
1045
|
Option: q
|
|
1047
1046
|
}), ze = j(
|
|
1048
1047
|
"flex flex-row rounded-full border overflow-hidden p-1 gap-0.25",
|
|
@@ -1233,9 +1232,9 @@ const Oe = x.forwardRef(
|
|
|
1233
1232
|
!u && c && /* @__PURE__ */ e.jsx("div", { className: "mt-2 text-sm text-gray-600", children: c })
|
|
1234
1233
|
] }) });
|
|
1235
1234
|
}
|
|
1236
|
-
),
|
|
1235
|
+
), cr = Object.assign(Oe, {
|
|
1237
1236
|
Option: Q
|
|
1238
|
-
}),
|
|
1237
|
+
}), dr = I(
|
|
1239
1238
|
({
|
|
1240
1239
|
autoComplete: r = "off",
|
|
1241
1240
|
spellCheck: t = !1,
|
|
@@ -1460,7 +1459,7 @@ const Fe = j(
|
|
|
1460
1459
|
}
|
|
1461
1460
|
);
|
|
1462
1461
|
Be.displayName = "TextAreaInput";
|
|
1463
|
-
const
|
|
1462
|
+
const lr = I(function(t, s) {
|
|
1464
1463
|
const c = (a) => {
|
|
1465
1464
|
t?.onChange?.(a.target.value);
|
|
1466
1465
|
};
|
|
@@ -1662,7 +1661,7 @@ function Te(r, t) {
|
|
|
1662
1661
|
typeof r == "number" && !isNaN(r) ? t(`${r}`) : r === "" || r === null || r === void 0 ? t("") : typeof r == "string" && t(r);
|
|
1663
1662
|
}, [r, t]);
|
|
1664
1663
|
}
|
|
1665
|
-
const
|
|
1664
|
+
const ur = ({
|
|
1666
1665
|
value: r,
|
|
1667
1666
|
onChange: t,
|
|
1668
1667
|
allowNegative: s = !1,
|
|
@@ -1701,7 +1700,7 @@ const gr = ({
|
|
|
1701
1700
|
...o
|
|
1702
1701
|
}
|
|
1703
1702
|
);
|
|
1704
|
-
},
|
|
1703
|
+
}, gr = I(
|
|
1705
1704
|
(r, t) => /* @__PURE__ */ e.jsx(
|
|
1706
1705
|
k,
|
|
1707
1706
|
{
|
|
@@ -1749,7 +1748,7 @@ const gr = ({
|
|
|
1749
1748
|
disabled: !1
|
|
1750
1749
|
}
|
|
1751
1750
|
}
|
|
1752
|
-
),
|
|
1751
|
+
), fr = I(({ value: r, label: t, checked: s, id: c, className: a, disabled: i, ...l }, n) => {
|
|
1753
1752
|
const o = D(), d = c || o;
|
|
1754
1753
|
return /* @__PURE__ */ e.jsxs(
|
|
1755
1754
|
"label",
|
|
@@ -1833,7 +1832,7 @@ const gr = ({
|
|
|
1833
1832
|
disabled: !1
|
|
1834
1833
|
}
|
|
1835
1834
|
}
|
|
1836
|
-
),
|
|
1835
|
+
), hr = I(({ value: r, label: t, checked: s, id: c, className: a, disabled: i, ...l }, n) => {
|
|
1837
1836
|
const o = D(), d = c || o;
|
|
1838
1837
|
return /* @__PURE__ */ e.jsxs(
|
|
1839
1838
|
"label",
|
|
@@ -1917,7 +1916,7 @@ const gr = ({
|
|
|
1917
1916
|
)
|
|
1918
1917
|
] });
|
|
1919
1918
|
}
|
|
1920
|
-
),
|
|
1919
|
+
), br = Object.assign(qe, {
|
|
1921
1920
|
Header: M.Header,
|
|
1922
1921
|
Body: M.Body,
|
|
1923
1922
|
Footer: M.Footer
|
|
@@ -1957,7 +1956,7 @@ const gr = ({
|
|
|
1957
1956
|
)
|
|
1958
1957
|
] });
|
|
1959
1958
|
}
|
|
1960
|
-
),
|
|
1959
|
+
), xr = Object.assign(Je, {
|
|
1961
1960
|
Header: E.Header,
|
|
1962
1961
|
Body: E.Body,
|
|
1963
1962
|
Footer: E.Footer
|
|
@@ -1986,31 +1985,31 @@ const gr = ({
|
|
|
1986
1985
|
),
|
|
1987
1986
|
/* @__PURE__ */ e.jsx(R, { isOpen: i, onClose: () => l(!1), children: i && r(n) })
|
|
1988
1987
|
] });
|
|
1989
|
-
}),
|
|
1988
|
+
}), mr = Object.assign(Qe, {
|
|
1990
1989
|
Header: R.Header,
|
|
1991
1990
|
Body: R.Body,
|
|
1992
1991
|
Footer: R.Footer,
|
|
1993
1992
|
Title: R.Title
|
|
1994
1993
|
});
|
|
1995
1994
|
export {
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
1995
|
+
mr as B,
|
|
1996
|
+
tr as C,
|
|
1997
|
+
nr as D,
|
|
1998
|
+
gr as E,
|
|
1999
|
+
br as M,
|
|
2000
|
+
ur as P,
|
|
2001
|
+
ar as R,
|
|
2002
|
+
ir as S,
|
|
2004
2003
|
k as T,
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2004
|
+
or as a,
|
|
2005
|
+
sr as b,
|
|
2006
|
+
cr as c,
|
|
2007
|
+
dr as d,
|
|
2009
2008
|
Ee as e,
|
|
2010
2009
|
Be as f,
|
|
2011
|
-
|
|
2010
|
+
lr as g,
|
|
2012
2011
|
Le as h,
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2012
|
+
fr as i,
|
|
2013
|
+
hr as j,
|
|
2014
|
+
xr as k
|
|
2016
2015
|
};
|
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-1C3Up2xF.js";
|
|
2
2
|
export {
|
|
3
3
|
a as BottomSheetInput,
|
|
4
4
|
n as CheckboxInput,
|