@ikonai/sdk-react-ui-radix 0.0.22 → 0.0.23

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.
Files changed (2) hide show
  1. package/index.js +11 -6
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1994,13 +1994,20 @@ function tx() {
1994
1994
  children: /* @__PURE__ */ f.jsxs(pi, { open: u ? i : void 0, defaultOpen: s, modal: a !== !1, onOpenChange: v, children: [
1995
1995
  C ? /* @__PURE__ */ f.jsx(Zi, { asChild: !0, children: /* @__PURE__ */ f.jsx("span", { children: C }) }) : null,
1996
1996
  /* @__PURE__ */ f.jsxs(Ji, { children: [
1997
- /* @__PURE__ */ f.jsx(Qi, { className: S, "data-state": p ? "open" : "closed" }),
1997
+ /* @__PURE__ */ f.jsx(Qi, { className: S, "data-state": p ? "open" : "closed", style: { zIndex: 50 } }),
1998
1998
  /* @__PURE__ */ f.jsxs(
1999
1999
  es,
2000
2000
  {
2001
2001
  className: N,
2002
2002
  "data-state": p ? "open" : "closed",
2003
2003
  "aria-describedby": void 0,
2004
+ style: {
2005
+ position: "fixed",
2006
+ top: "50%",
2007
+ left: "50%",
2008
+ transform: "translate(-50%, -50%)",
2009
+ zIndex: 51
2010
+ },
2004
2011
  children: [
2005
2012
  /* @__PURE__ */ f.jsx(Kr, { asChild: !0, children: /* @__PURE__ */ f.jsx(lo, { children: "Dialog" }) }),
2006
2013
  w
@@ -8377,16 +8384,14 @@ function Fw() {
8377
8384
  }
8378
8385
  function $w() {
8379
8386
  const e = I(function({ node: t, context: n, className: o }) {
8380
- const i = Dw(D(t.props?.match)), s = j(t.props?.forceMatch), a = P("radix-form-message", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["match", "forceMatch"]));
8387
+ const i = Dw(D(t.props?.match)), s = P("radix-form-message", A(t.styleIds), o), a = n.renderChildren(t.children ?? []);
8381
8388
  return /* @__PURE__ */ f.jsx(
8382
8389
  Aw,
8383
8390
  {
8384
- ...l,
8385
8391
  "data-ikon-node-id": t.id,
8386
8392
  match: i,
8387
- ...s === !0 ? { forceMatch: !0 } : {},
8388
- className: a,
8389
- children: c
8393
+ className: s,
8394
+ children: a
8390
8395
  }
8391
8396
  );
8392
8397
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikonai/sdk-react-ui-radix",
3
- "version": "0.0.22",
3
+ "version": "0.0.23",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",