moduix 0.5.13 → 0.5.15
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/index.js
CHANGED
|
@@ -1909,22 +1909,22 @@ function Xr({ className: t, ...n }) {
|
|
|
1909
1909
|
});
|
|
1910
1910
|
}
|
|
1911
1911
|
var V = {
|
|
1912
|
-
indentBackground: "
|
|
1913
|
-
indent: "
|
|
1914
|
-
trigger: "
|
|
1915
|
-
close: "
|
|
1916
|
-
swipeArea: "
|
|
1917
|
-
backdrop: "
|
|
1918
|
-
viewport: "
|
|
1919
|
-
popup: "
|
|
1920
|
-
handle: "
|
|
1921
|
-
content: "
|
|
1922
|
-
header: "
|
|
1923
|
-
title: "
|
|
1924
|
-
description: "
|
|
1925
|
-
body: "
|
|
1926
|
-
footer: "
|
|
1927
|
-
snapToggle: "
|
|
1912
|
+
indentBackground: "_indentBackground_j2udt_2",
|
|
1913
|
+
indent: "_indent_j2udt_2",
|
|
1914
|
+
trigger: "_trigger_j2udt_31",
|
|
1915
|
+
close: "_close_j2udt_32",
|
|
1916
|
+
swipeArea: "_swipeArea_j2udt_66",
|
|
1917
|
+
backdrop: "_backdrop_j2udt_104",
|
|
1918
|
+
viewport: "_viewport_j2udt_128",
|
|
1919
|
+
popup: "_popup_j2udt_143",
|
|
1920
|
+
handle: "_handle_j2udt_485",
|
|
1921
|
+
content: "_content_j2udt_510",
|
|
1922
|
+
header: "_header_j2udt_534",
|
|
1923
|
+
title: "_title_j2udt_555",
|
|
1924
|
+
description: "_description_j2udt_563",
|
|
1925
|
+
body: "_body_j2udt_570",
|
|
1926
|
+
footer: "_footer_j2udt_579",
|
|
1927
|
+
snapToggle: "_snapToggle_j2udt_586"
|
|
1928
1928
|
};
|
|
1929
1929
|
//#endregion
|
|
1930
1930
|
//#region src/components/Drawer/Drawer.tsx
|
|
@@ -2077,7 +2077,7 @@ function gi({ className: t, ...n }) {
|
|
|
2077
2077
|
...n
|
|
2078
2078
|
});
|
|
2079
2079
|
}
|
|
2080
|
-
function _i({ withBackdrop: n = !0, withHandle: i = !0,
|
|
2080
|
+
function _i({ withBackdrop: n = !0, withHandle: i = !0, snapLayout: a = !1, variant: o = "bleed", disableInitialAnimation: s = !1, className: c, portalClassName: l, backdropClassName: u, viewportClassName: d, contentClassName: f, handleClassName: p, portalProps: m, backdropProps: h, viewportProps: g, contentProps: _, handleProps: v, children: y, ...ee }) {
|
|
2081
2081
|
let [b, x] = r.useState(!s);
|
|
2082
2082
|
return r.useEffect(() => {
|
|
2083
2083
|
if (!s) {
|
|
@@ -2101,7 +2101,7 @@ function _i({ withBackdrop: n = !0, withHandle: i = !0, snap: a = !1, variant: o
|
|
|
2101
2101
|
className: d,
|
|
2102
2102
|
...g,
|
|
2103
2103
|
children: /* @__PURE__ */ t(si, {
|
|
2104
|
-
"data-snap": a ? "" : void 0,
|
|
2104
|
+
"data-snap-layout": a ? "" : void 0,
|
|
2105
2105
|
"data-variant": o,
|
|
2106
2106
|
"data-disable-initial-animation": s ? "true" : void 0,
|
|
2107
2107
|
"data-mount-ready": b ? "true" : "false",
|
|
@@ -3466,20 +3466,22 @@ function ws({ className: t, ...n }) {
|
|
|
3466
3466
|
});
|
|
3467
3467
|
}
|
|
3468
3468
|
var Ts = {
|
|
3469
|
-
root: "
|
|
3470
|
-
viewport: "
|
|
3471
|
-
content: "
|
|
3472
|
-
scrollbar: "
|
|
3473
|
-
thumb: "
|
|
3474
|
-
corner: "
|
|
3469
|
+
root: "_root_16242_2",
|
|
3470
|
+
viewport: "_viewport_16242_10",
|
|
3471
|
+
content: "_content_16242_74",
|
|
3472
|
+
scrollbar: "_scrollbar_16242_81",
|
|
3473
|
+
thumb: "_thumb_16242_152",
|
|
3474
|
+
corner: "_corner_16242_168"
|
|
3475
3475
|
};
|
|
3476
3476
|
//#endregion
|
|
3477
3477
|
//#region src/components/ScrollArea/ScrollArea.tsx
|
|
3478
|
-
function Es({ className: t,
|
|
3478
|
+
function Es({ className: t, fade: n = !1, ...r }) {
|
|
3479
|
+
let i = n === !0 ? "vertical" : n || void 0;
|
|
3479
3480
|
return /* @__PURE__ */ e(E.Root, {
|
|
3480
3481
|
"data-slot": "scroll-area-root",
|
|
3482
|
+
"data-fade": i,
|
|
3481
3483
|
className: P(t, Ts.root),
|
|
3482
|
-
...
|
|
3484
|
+
...r
|
|
3483
3485
|
});
|
|
3484
3486
|
}
|
|
3485
3487
|
function Ds({ className: t, ...n }) {
|