@dimasbaguspm/versaur 0.0.57 → 0.0.58
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/desktop-breakpoint-CuSom-sN.js +47 -0
- package/dist/js/feedbacks/index.js +1 -1
- package/dist/js/forms/index.js +1 -1
- package/dist/js/helpers/index.js +14 -0
- package/dist/js/{image-rectangle-K9jmTTED.js → image-rectangle-CCvXv24a.js} +819 -926
- package/dist/js/{index-DOdDlCoL.js → index-BDtz_hQY.js} +520 -802
- package/dist/js/index.js +76 -64
- package/dist/js/jsx-runtime-C5mzlN2N.js +284 -0
- 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 +2 -2
- package/dist/js/providers/index.js +1 -1
- package/dist/js/{skeleton-BNZyaRjo.js → skeleton-BRwIW26B.js} +6 -5
- package/dist/js/{snackbar-DH8jCh2V.js → snackbar-CTq4MLir.js} +14 -13
- package/dist/js/{tabs-CmfJNCe6.js → tabs-BQs53hHL.js} +8 -7
- package/dist/js/{time-picker-input-BgbyllDK.js → time-picker-input-Disd231b.js} +24 -23
- package/dist/js/{tooltip-nZW9TUz3.js → tooltip-Dpx3TpR6.js} +211 -205
- package/dist/js/{top-bar-Do2JqSqe.js → top-bar-DEesTo9i.js} +195 -171
- package/dist/js/{use-snackbars-Cou8L41F.js → use-snackbars-B6lnVjrX.js} +14 -13
- package/dist/types/helpers/index.d.ts +1 -0
- package/dist/types/helpers/match-media/built-in/components/desktop-breakpoint.d.ts +18 -0
- package/dist/types/helpers/match-media/built-in/components/index.d.ts +3 -0
- package/dist/types/helpers/match-media/built-in/components/mobile-breakpoint.d.ts +18 -0
- package/dist/types/helpers/match-media/built-in/components/tablet-breakpoint.d.ts +18 -0
- package/dist/types/helpers/match-media/built-in/hooks/index.d.ts +3 -0
- package/dist/types/helpers/match-media/built-in/hooks/use-desktop-breakpoint.d.ts +11 -0
- package/dist/types/helpers/match-media/built-in/hooks/use-mobile-breakpoint.d.ts +11 -0
- package/dist/types/helpers/match-media/built-in/hooks/use-tablet-breakpoint.d.ts +11 -0
- package/dist/types/helpers/match-media/built-in/index.d.ts +2 -0
- package/dist/types/helpers/match-media/constants.d.ts +7 -0
- package/dist/types/helpers/match-media/index.d.ts +4 -0
- package/dist/types/helpers/match-media/match-media.d.ts +25 -0
- package/dist/types/helpers/match-media/test-helpers.d.ts +21 -0
- package/dist/types/helpers/match-media/use-match-media.d.ts +15 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/layouts/page-header/types.d.ts +14 -0
- package/dist/types/overlays/menu/types.d.ts +8 -8
- package/dist/types/primitive/button-menu/types.d.ts +1 -1
- package/dist/types/primitive/button-menu-icon/types.d.ts +1 -1
- package/dist/utils/enforce-subpath-import.js +3 -1
- package/package.json +5 -1
- package/dist/types/overlays/menu/use-menu.d.ts +0 -15
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as e } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
2
|
import m, { createContext as F, useContext as B, useId as A, forwardRef as O, useRef as T, useEffect as ne, useState as se } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { c as C, a as x } from "./index-BDtz_hQY.js";
|
|
4
|
+
import { I as $ } from "./image-rectangle-CCvXv24a.js";
|
|
4
5
|
import { Calendar as oe, MailIcon as ie, Banknote as ce, SearchIcon as le, ChevronDown as de, Clock as ue } from "lucide-react";
|
|
5
|
-
import "./snackbar-
|
|
6
|
+
import "./snackbar-CTq4MLir.js";
|
|
6
7
|
const fe = C("space-y-2", {
|
|
7
8
|
variants: {
|
|
8
9
|
direction: {
|
|
@@ -116,7 +117,7 @@ const K = m.forwardRef(
|
|
|
116
117
|
}
|
|
117
118
|
);
|
|
118
119
|
K.displayName = "CheckboxInput";
|
|
119
|
-
const
|
|
120
|
+
const dt = Object.assign(K, {
|
|
120
121
|
Option: G
|
|
121
122
|
}), _ = F(null), be = () => {
|
|
122
123
|
const t = B(_);
|
|
@@ -234,7 +235,7 @@ const lt = Object.assign(K, {
|
|
|
234
235
|
}
|
|
235
236
|
) });
|
|
236
237
|
}
|
|
237
|
-
),
|
|
238
|
+
), ut = Object.assign(ye, {
|
|
238
239
|
Option: xe
|
|
239
240
|
}), H = F(null), we = () => {
|
|
240
241
|
const t = B(H);
|
|
@@ -357,7 +358,7 @@ const lt = Object.assign(K, {
|
|
|
357
358
|
}
|
|
358
359
|
) });
|
|
359
360
|
}
|
|
360
|
-
),
|
|
361
|
+
), ft = Object.assign(ke, {
|
|
361
362
|
Option: je
|
|
362
363
|
}), Ie = C(
|
|
363
364
|
"block w-full rounded-md border bg-white transition-colors focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none disabled:bg-gray-50 text-left",
|
|
@@ -484,7 +485,7 @@ function Ne(t) {
|
|
|
484
485
|
day: "numeric"
|
|
485
486
|
});
|
|
486
487
|
}
|
|
487
|
-
const
|
|
488
|
+
const pt = m.forwardRef(function({ value: r = "", onChange: a, label: s, formatter: n, min: o, max: d, ...l }, c) {
|
|
488
489
|
const i = T(null), u = (b) => {
|
|
489
490
|
i.current = b, typeof c == "function" ? c(b) : c && typeof c == "object" && (c.current = b);
|
|
490
491
|
}, p = () => {
|
|
@@ -621,7 +622,7 @@ const ft = m.forwardRef(function({ value: r = "", onChange: a, label: s, formatt
|
|
|
621
622
|
}
|
|
622
623
|
);
|
|
623
624
|
M.displayName = "TextInput";
|
|
624
|
-
const
|
|
625
|
+
const mt = O(
|
|
625
626
|
(t, r) => /* @__PURE__ */ e.jsx(
|
|
626
627
|
M,
|
|
627
628
|
{
|
|
@@ -847,7 +848,7 @@ function U(t, r = !1) {
|
|
|
847
848
|
}
|
|
848
849
|
return n = n.replace(/\.{2,}/g, "."), (a ? "-" : "") + n;
|
|
849
850
|
}
|
|
850
|
-
const
|
|
851
|
+
const ht = ({
|
|
851
852
|
value: t,
|
|
852
853
|
onChange: r,
|
|
853
854
|
allowNegative: a = !1,
|
|
@@ -1048,9 +1049,9 @@ const mt = ({
|
|
|
1048
1049
|
!f && s && /* @__PURE__ */ e.jsx("div", { className: "mt-2 text-sm text-gray-600", children: s })
|
|
1049
1050
|
] }) });
|
|
1050
1051
|
}
|
|
1051
|
-
),
|
|
1052
|
+
), bt = Object.assign(We, {
|
|
1052
1053
|
Option: Ae
|
|
1053
|
-
}),
|
|
1054
|
+
}), gt = O(
|
|
1054
1055
|
({
|
|
1055
1056
|
autoComplete: t = "off",
|
|
1056
1057
|
spellCheck: r = !1,
|
|
@@ -1176,7 +1177,7 @@ const ee = m.forwardRef(
|
|
|
1176
1177
|
}
|
|
1177
1178
|
);
|
|
1178
1179
|
ee.displayName = "SelectInput";
|
|
1179
|
-
const
|
|
1180
|
+
const xt = Object.assign(ee, {
|
|
1180
1181
|
Option: Y,
|
|
1181
1182
|
OptionGroup: Z
|
|
1182
1183
|
}), Te = C(
|
|
@@ -1630,7 +1631,7 @@ const et = C(
|
|
|
1630
1631
|
}
|
|
1631
1632
|
);
|
|
1632
1633
|
at.displayName = "TextAreaInput";
|
|
1633
|
-
const
|
|
1634
|
+
const yt = O(function(r, a) {
|
|
1634
1635
|
const s = (n) => {
|
|
1635
1636
|
r?.onChange?.(n.target.value);
|
|
1636
1637
|
};
|
|
@@ -1648,21 +1649,21 @@ const xt = O(function(r, a) {
|
|
|
1648
1649
|
);
|
|
1649
1650
|
});
|
|
1650
1651
|
export {
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1652
|
+
dt as C,
|
|
1653
|
+
pt as D,
|
|
1654
|
+
mt as E,
|
|
1654
1655
|
De as P,
|
|
1655
|
-
|
|
1656
|
-
|
|
1656
|
+
bt as R,
|
|
1657
|
+
gt as S,
|
|
1657
1658
|
M as T,
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1659
|
+
ut as a,
|
|
1660
|
+
ft as b,
|
|
1661
|
+
ht as c,
|
|
1662
|
+
xt as d,
|
|
1662
1663
|
Ge as e,
|
|
1663
1664
|
He as f,
|
|
1664
1665
|
Ze as g,
|
|
1665
1666
|
J as h,
|
|
1666
1667
|
at as i,
|
|
1667
|
-
|
|
1668
|
+
yt as j
|
|
1668
1669
|
};
|