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/index.js CHANGED
@@ -2245,22 +2245,23 @@ function $i({ className: e, ...n }) {
2245
2245
  });
2246
2246
  }
2247
2247
  var U = {
2248
- indentBackground: "_indentBackground_1230z_2",
2249
- indent: "_indent_1230z_2",
2250
- trigger: "_trigger_1230z_31",
2251
- close: "_close_1230z_32",
2252
- swipeArea: "_swipeArea_1230z_74",
2253
- backdrop: "_backdrop_1230z_112",
2254
- viewport: "_viewport_1230z_136",
2255
- popup: "_popup_1230z_150",
2256
- viewportNonModal: "_viewportNonModal_1230z_166",
2257
- handle: "_handle_1230z_411",
2258
- content: "_content_1230z_436",
2259
- header: "_header_1230z_460",
2260
- title: "_title_1230z_465",
2261
- description: "_description_1230z_473",
2262
- body: "_body_1230z_480",
2263
- footer: "_footer_1230z_489"
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, className: i, children: a, ...o }) {
2405
- let s = f(ea), c = ta(r), l = s === !0;
2406
- return /* @__PURE__ */ n(la, { children: [l ? /* @__PURE__ */ t(ua, {}) : null, /* @__PURE__ */ t(da, {
2407
- className: l ? void 0 : U.viewportNonModal,
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": c ? "true" : "false",
2412
- className: i,
2413
- ...o,
2414
- children: [/* @__PURE__ */ t(pa, {}), /* @__PURE__ */ t(ma, { children: a })]
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "moduix",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Composable React UI components built on Base UI primitives.",
5
5
  "keywords": [
6
6
  "accessible",