@moises.ai/design-system 2.0.101 → 2.0.102

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/dist/index.js +13 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3576,20 +3576,27 @@ const zg = "_contextMenuContent_p1zf8_5", Gg = "_contextMenuSubContent_p1zf8_5",
3576
3576
  return null;
3577
3577
  }
3578
3578
  }, rp = za(
3579
- ({ children: e, options: t, className: a, onSelectionChange: r, ...n }) => /* @__PURE__ */ y(Fo, { children: [
3579
+ ({
3580
+ children: e,
3581
+ options: t,
3582
+ className: a,
3583
+ onSelectionChange: r,
3584
+ disable: n = !1,
3585
+ ...o
3586
+ }) => n ? e : /* @__PURE__ */ y(Fo, { children: [
3580
3587
  /* @__PURE__ */ A(Oo, { className: z.contextMenuTrigger, asChild: !0, children: e }),
3581
3588
  (t == null ? void 0 : t.length) > 0 && /* @__PURE__ */ A(
3582
3589
  Ko,
3583
3590
  {
3584
3591
  className: g(z.contextMenuContent, a),
3585
- side: n.side,
3586
- align: n.align,
3592
+ side: o.side,
3593
+ align: o.align,
3587
3594
  sideOffset: 5,
3588
3595
  alignOffset: 0,
3589
- onCloseAutoFocus: (o) => {
3590
- o.preventDefault();
3596
+ onCloseAutoFocus: (i) => {
3597
+ i.preventDefault();
3591
3598
  },
3592
- children: t == null ? void 0 : t.map((o) => mn(o, r))
3599
+ children: t == null ? void 0 : t.map((i) => mn(i, r))
3593
3600
  }
3594
3601
  )
3595
3602
  ] })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moises.ai/design-system",
3
- "version": "2.0.101",
3
+ "version": "2.0.102",
4
4
  "description": "Design System package based on @radix-ui/themes with custom defaults",
5
5
  "private": false,
6
6
  "type": "module",