moduix 0.5.14 → 0.5.16

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: "_indentBackground_fxulp_2",
1913
- indent: "_indent_fxulp_2",
1914
- trigger: "_trigger_fxulp_31",
1915
- close: "_close_fxulp_32",
1916
- swipeArea: "_swipeArea_fxulp_66",
1917
- backdrop: "_backdrop_fxulp_104",
1918
- viewport: "_viewport_fxulp_128",
1919
- popup: "_popup_fxulp_143",
1920
- handle: "_handle_fxulp_485",
1921
- content: "_content_fxulp_510",
1922
- header: "_header_fxulp_534",
1923
- title: "_title_fxulp_555",
1924
- description: "_description_fxulp_563",
1925
- body: "_body_fxulp_570",
1926
- footer: "_footer_fxulp_579",
1927
- snapToggle: "_snapToggle_fxulp_586"
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
@@ -2041,6 +2041,7 @@ function di({ className: t, ...n }) {
2041
2041
  function fi({ expanded: t, className: n, children: r, type: i = "button", ...a }) {
2042
2042
  return /* @__PURE__ */ e("button", {
2043
2043
  "data-slot": "drawer-snap-toggle",
2044
+ "data-base-ui-swipe-ignore": "",
2044
2045
  "aria-label": t ? "Collapse drawer" : "Expand drawer",
2045
2046
  "aria-pressed": t,
2046
2047
  type: i,
@@ -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, 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
+ 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
2082
  let [b, x] = r.useState(!s);
2082
2083
  return r.useEffect(() => {
2083
2084
  if (!s) {
@@ -2101,7 +2102,7 @@ function _i({ withBackdrop: n = !0, withHandle: i = !0, snap: a = !1, variant: o
2101
2102
  className: d,
2102
2103
  ...g,
2103
2104
  children: /* @__PURE__ */ t(si, {
2104
- "data-snap": a ? "" : void 0,
2105
+ "data-snap-layout": a ? "" : void 0,
2105
2106
  "data-variant": o,
2106
2107
  "data-disable-initial-animation": s ? "true" : void 0,
2107
2108
  "data-mount-ready": b ? "true" : "false",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "moduix",
3
- "version": "0.5.14",
3
+ "version": "0.5.16",
4
4
  "description": "Composable React UI components built on Base UI primitives.",
5
5
  "license": "MIT",
6
6
  "files": [