moduix 0.9.0 → 0.9.1
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/components/Drawer/Drawer.d.ts +2 -1
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +26 -24
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2245,22 +2245,23 @@ function $i({ className: e, ...n }) {
|
|
|
2245
2245
|
});
|
|
2246
2246
|
}
|
|
2247
2247
|
var U = {
|
|
2248
|
-
indentBackground: "
|
|
2249
|
-
indent: "
|
|
2250
|
-
trigger: "
|
|
2251
|
-
close: "
|
|
2252
|
-
swipeArea: "
|
|
2253
|
-
backdrop: "
|
|
2254
|
-
viewport: "
|
|
2255
|
-
popup: "
|
|
2256
|
-
viewportNonModal: "
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2248
|
+
indentBackground: "_indentBackground_yl434_2",
|
|
2249
|
+
indent: "_indent_yl434_2",
|
|
2250
|
+
trigger: "_trigger_yl434_31",
|
|
2251
|
+
close: "_close_yl434_32",
|
|
2252
|
+
swipeArea: "_swipeArea_yl434_74",
|
|
2253
|
+
backdrop: "_backdrop_yl434_112",
|
|
2254
|
+
viewport: "_viewport_yl434_136",
|
|
2255
|
+
popup: "_popup_yl434_150",
|
|
2256
|
+
viewportNonModal: "_viewportNonModal_yl434_166",
|
|
2257
|
+
viewportIsland: "_viewportIsland_yl434_170",
|
|
2258
|
+
handle: "_handle_yl434_430",
|
|
2259
|
+
content: "_content_yl434_455",
|
|
2260
|
+
header: "_header_yl434_479",
|
|
2261
|
+
title: "_title_yl434_484",
|
|
2262
|
+
description: "_description_yl434_492",
|
|
2263
|
+
body: "_body_yl434_499",
|
|
2264
|
+
footer: "_footer_yl434_508"
|
|
2264
2265
|
}, ea = s(!0);
|
|
2265
2266
|
function ta(e) {
|
|
2266
2267
|
let [t, n] = ee(!e);
|
|
@@ -2401,17 +2402,18 @@ function ba({ className: e, ...n }) {
|
|
|
2401
2402
|
...n
|
|
2402
2403
|
});
|
|
2403
2404
|
}
|
|
2404
|
-
function xa({ snapLayout: e = !1, disableInitialAnimation: r = !1,
|
|
2405
|
-
let
|
|
2406
|
-
return /* @__PURE__ */ n(la, { children: [
|
|
2407
|
-
className:
|
|
2405
|
+
function xa({ snapLayout: e = !1, disableInitialAnimation: r = !1, variant: i = "default", className: a, children: o, ...s }) {
|
|
2406
|
+
let c = f(ea), l = ta(r), u = c === !0, d = N(u ? void 0 : U.viewportNonModal, i === "island" ? U.viewportIsland : void 0);
|
|
2407
|
+
return /* @__PURE__ */ n(la, { children: [u ? /* @__PURE__ */ t(ua, {}) : null, /* @__PURE__ */ t(da, {
|
|
2408
|
+
className: d,
|
|
2408
2409
|
children: /* @__PURE__ */ n(fa, {
|
|
2409
2410
|
"data-snap-layout": e ? "" : void 0,
|
|
2410
2411
|
"data-disable-initial-animation": r ? "true" : void 0,
|
|
2411
|
-
"data-mount-ready":
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2412
|
+
"data-mount-ready": l ? "true" : "false",
|
|
2413
|
+
"data-variant": i,
|
|
2414
|
+
className: a,
|
|
2415
|
+
...s,
|
|
2416
|
+
children: [/* @__PURE__ */ t(pa, {}), /* @__PURE__ */ t(ma, { children: o })]
|
|
2415
2417
|
})
|
|
2416
2418
|
})] });
|
|
2417
2419
|
}
|