@vezham/react 0.4.0-beta.0 → 0.4.2
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/heroui/v2/index.js +178 -177
- package/dist/heroui/v2-plugin/index.js +1 -1
- package/dist/heroui/v3/index.js +519 -27250
- package/dist/{index-3-PngRdp.js → index-BlzCGe1b.js} +12 -13
- package/dist/index-C2TqwfPy.js +31573 -0
- package/dist/{index-CbXalm2B.js → index-CUltyfZX.js} +2 -2
- package/dist/index-D8rAMPte.js +5 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +521 -1
- package/dist/src-UW24ZMRV-v-zDrCr7.js +5 -0
- package/dist/use-overlay-state-BKR7D4U0.js +23652 -0
- package/dist/useTreeState-dicWi3Wq.js +22273 -0
- package/package.json +3 -3
- package/dist/index-BOgq7iZP.js +0 -5
- package/dist/index-DlBXWtsI.js +0 -45267
- package/dist/src-UW24ZMRV-Bon8MpTV.js +0 -5
- package/dist/useLandmark-DZUAJOnV.js +0 -11475
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
function ie(o) {
|
|
2
|
+
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
3
|
+
}
|
|
1
4
|
var kr = (o) => o ? "" : void 0, _r = process.env.NODE_ENV !== "production";
|
|
2
5
|
process.env.NODE_ENV;
|
|
3
6
|
function N(o) {
|
|
@@ -20,14 +23,14 @@ function Fr(o) {
|
|
|
20
23
|
return typeof o == "function";
|
|
21
24
|
}
|
|
22
25
|
var Ar = (o) => o ? "true" : void 0;
|
|
23
|
-
function
|
|
26
|
+
function le(o) {
|
|
24
27
|
var c, l, p = "";
|
|
25
28
|
if (typeof o == "string" || typeof o == "number")
|
|
26
29
|
p += o;
|
|
27
30
|
else if (typeof o == "object")
|
|
28
31
|
if (Array.isArray(o))
|
|
29
32
|
for (c = 0; c < o.length; c++)
|
|
30
|
-
o[c] && (l =
|
|
33
|
+
o[c] && (l = le(o[c])) && (p && (p += " "), p += l);
|
|
31
34
|
else
|
|
32
35
|
for (c in o)
|
|
33
36
|
o[c] && (p && (p += " "), p += c);
|
|
@@ -35,7 +38,7 @@ function ie(o) {
|
|
|
35
38
|
}
|
|
36
39
|
function be(...o) {
|
|
37
40
|
for (var c = 0, l, p, e = ""; c < o.length; )
|
|
38
|
-
(l = o[c++]) && (p =
|
|
41
|
+
(l = o[c++]) && (p = le(l)) && (e && (e += " "), e += p);
|
|
39
42
|
return e;
|
|
40
43
|
}
|
|
41
44
|
var Er = (o, c) => R(o) ? o instanceof Array ? [...o] : o[c] : o;
|
|
@@ -624,7 +627,7 @@ function tr(o) {
|
|
|
624
627
|
function z(o) {
|
|
625
628
|
return tr(o) ? "#000" : "#fff";
|
|
626
629
|
}
|
|
627
|
-
var
|
|
630
|
+
var ce = {
|
|
628
631
|
light: {
|
|
629
632
|
background: {
|
|
630
633
|
DEFAULT: "#FFFFFF"
|
|
@@ -694,7 +697,7 @@ var le = {
|
|
|
694
697
|
}
|
|
695
698
|
}
|
|
696
699
|
}, nr = {
|
|
697
|
-
...
|
|
700
|
+
...ce.light,
|
|
698
701
|
default: {
|
|
699
702
|
...y.zinc,
|
|
700
703
|
foreground: z(y.zinc[300]),
|
|
@@ -726,7 +729,7 @@ var le = {
|
|
|
726
729
|
DEFAULT: y.red[500]
|
|
727
730
|
}
|
|
728
731
|
}, or = {
|
|
729
|
-
...
|
|
732
|
+
...ce.dark,
|
|
730
733
|
default: {
|
|
731
734
|
...A(y.zinc),
|
|
732
735
|
foreground: z(y.zinc[700]),
|
|
@@ -902,11 +905,7 @@ var le = {
|
|
|
902
905
|
}
|
|
903
906
|
}
|
|
904
907
|
}
|
|
905
|
-
};
|
|
906
|
-
function ce(o) {
|
|
907
|
-
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
908
|
-
}
|
|
909
|
-
var $ = { exports: {} }, C, Z;
|
|
908
|
+
}, $ = { exports: {} }, C, Z;
|
|
910
909
|
function ue() {
|
|
911
910
|
return Z || (Z = 1, C = {
|
|
912
911
|
aliceblue: [240, 248, 255],
|
|
@@ -1828,7 +1827,7 @@ function dr() {
|
|
|
1828
1827
|
return U = t, U;
|
|
1829
1828
|
}
|
|
1830
1829
|
var gr = /* @__PURE__ */ dr();
|
|
1831
|
-
const pr = /* @__PURE__ */
|
|
1830
|
+
const pr = /* @__PURE__ */ ie(gr);
|
|
1832
1831
|
function he(o, c) {
|
|
1833
1832
|
return { handler: o, config: c };
|
|
1834
1833
|
}
|
|
@@ -1915,7 +1914,7 @@ function mr() {
|
|
|
1915
1914
|
return I = b, I;
|
|
1916
1915
|
}
|
|
1917
1916
|
var yr = mr();
|
|
1918
|
-
const F = /* @__PURE__ */
|
|
1917
|
+
const F = /* @__PURE__ */ ie(yr);
|
|
1919
1918
|
var vr = "heroui", se = {}, wr = (o = {}, c, l) => {
|
|
1920
1919
|
const p = {
|
|
1921
1920
|
variants: [],
|