moduix 0.5.9 → 0.5.11
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
|
@@ -1789,17 +1789,17 @@ function Nr(t) {
|
|
|
1789
1789
|
});
|
|
1790
1790
|
}
|
|
1791
1791
|
var Pr = xe, Fr = Ee, B = {
|
|
1792
|
-
trigger: "
|
|
1793
|
-
close: "
|
|
1794
|
-
backdrop: "
|
|
1795
|
-
viewport: "
|
|
1796
|
-
popup: "
|
|
1797
|
-
header: "
|
|
1798
|
-
title: "
|
|
1799
|
-
description: "
|
|
1800
|
-
footer: "
|
|
1801
|
-
closeIcon: "
|
|
1802
|
-
body: "
|
|
1792
|
+
trigger: "_trigger_1hxbc_2",
|
|
1793
|
+
close: "_close_1hxbc_3",
|
|
1794
|
+
backdrop: "_backdrop_1hxbc_43",
|
|
1795
|
+
viewport: "_viewport_1hxbc_61",
|
|
1796
|
+
popup: "_popup_1hxbc_79",
|
|
1797
|
+
header: "_header_1hxbc_139",
|
|
1798
|
+
title: "_title_1hxbc_161",
|
|
1799
|
+
description: "_description_1hxbc_169",
|
|
1800
|
+
footer: "_footer_1hxbc_179",
|
|
1801
|
+
closeIcon: "_closeIcon_1hxbc_186",
|
|
1802
|
+
body: "_body_1hxbc_213"
|
|
1803
1803
|
}, Ir = p.Root, Lr = p.createHandle;
|
|
1804
1804
|
function Rr({ className: t, render: n, ...r }) {
|
|
1805
1805
|
let i = n ? t : P(t, B.trigger);
|
|
@@ -1870,19 +1870,20 @@ function Kr({ className: t, children: n, ...r }) {
|
|
|
1870
1870
|
...r
|
|
1871
1871
|
});
|
|
1872
1872
|
}
|
|
1873
|
-
function qr({ className: n,
|
|
1873
|
+
function qr({ className: n, scrollMode: r = "content", portalClassName: i, backdropClassName: a, viewportClassName: o, portalProps: s, backdropProps: c, viewportProps: l, ...u }) {
|
|
1874
1874
|
return /* @__PURE__ */ t(zr, {
|
|
1875
|
-
className:
|
|
1876
|
-
...
|
|
1875
|
+
className: i,
|
|
1876
|
+
...s,
|
|
1877
1877
|
children: [/* @__PURE__ */ e(Br, {
|
|
1878
|
-
className: i,
|
|
1879
|
-
...s
|
|
1880
|
-
}), /* @__PURE__ */ e(Vr, {
|
|
1881
1878
|
className: a,
|
|
1882
|
-
...c
|
|
1879
|
+
...c
|
|
1880
|
+
}), /* @__PURE__ */ e(Vr, {
|
|
1881
|
+
className: o,
|
|
1882
|
+
...l,
|
|
1883
1883
|
children: /* @__PURE__ */ e(Hr, {
|
|
1884
|
+
"data-scroll-mode": r,
|
|
1884
1885
|
className: n,
|
|
1885
|
-
...
|
|
1886
|
+
...u
|
|
1886
1887
|
})
|
|
1887
1888
|
})]
|
|
1888
1889
|
});
|
|
@@ -1909,22 +1910,22 @@ function Xr({ className: t, ...n }) {
|
|
|
1909
1910
|
});
|
|
1910
1911
|
}
|
|
1911
1912
|
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: "
|
|
1913
|
+
indentBackground: "_indentBackground_12o7g_2",
|
|
1914
|
+
indent: "_indent_12o7g_2",
|
|
1915
|
+
trigger: "_trigger_12o7g_31",
|
|
1916
|
+
close: "_close_12o7g_32",
|
|
1917
|
+
swipeArea: "_swipeArea_12o7g_66",
|
|
1918
|
+
backdrop: "_backdrop_12o7g_104",
|
|
1919
|
+
viewport: "_viewport_12o7g_128",
|
|
1920
|
+
popup: "_popup_12o7g_143",
|
|
1921
|
+
handle: "_handle_12o7g_494",
|
|
1922
|
+
content: "_content_12o7g_519",
|
|
1923
|
+
header: "_header_12o7g_558",
|
|
1924
|
+
title: "_title_12o7g_579",
|
|
1925
|
+
description: "_description_12o7g_587",
|
|
1926
|
+
body: "_body_12o7g_594",
|
|
1927
|
+
footer: "_footer_12o7g_608",
|
|
1928
|
+
snapToggle: "_snapToggle_12o7g_615"
|
|
1928
1929
|
};
|
|
1929
1930
|
//#endregion
|
|
1930
1931
|
//#region src/components/Drawer/Drawer.tsx
|
|
@@ -2077,7 +2078,7 @@ function gi({ className: t, ...n }) {
|
|
|
2077
2078
|
...n
|
|
2078
2079
|
});
|
|
2079
2080
|
}
|
|
2080
|
-
function _i({ withBackdrop: n = !0, withHandle: i = !0, snap: a = !1,
|
|
2081
|
+
function _i({ withBackdrop: n = !0, withHandle: i = !0, snap: a = !1, scrollMode: o = "content", variant: s = "bleed", disableInitialAnimation: c = !1, className: l, portalClassName: u, backdropClassName: d, viewportClassName: f, contentClassName: p, handleClassName: m, portalProps: h, backdropProps: g, viewportProps: _, contentProps: v, handleProps: y, children: ee, ...b }) {
|
|
2081
2082
|
let [x, S] = r.useState(!c);
|
|
2082
2083
|
return r.useEffect(() => {
|
|
2083
2084
|
if (!c) {
|
|
@@ -2102,7 +2103,7 @@ function _i({ withBackdrop: n = !0, withHandle: i = !0, snap: a = !1, scroll: o
|
|
|
2102
2103
|
..._,
|
|
2103
2104
|
children: /* @__PURE__ */ t(si, {
|
|
2104
2105
|
"data-snap": a ? "" : void 0,
|
|
2105
|
-
"data-scroll": o,
|
|
2106
|
+
"data-scroll-mode": o,
|
|
2106
2107
|
"data-variant": s,
|
|
2107
2108
|
"data-disable-initial-animation": c ? "true" : void 0,
|
|
2108
2109
|
"data-mount-ready": x ? "true" : "false",
|