@oneplatformdev/ui 0.0.1-beta.144 → 0.0.1-beta.145

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.
@@ -1,25 +1,25 @@
1
- import { jsx as r } from "react/jsx-runtime";
1
+ import { jsx as a } from "react/jsx-runtime";
2
2
  import * as p from "react";
3
3
  import * as o from "@radix-ui/react-popover";
4
4
  import { cn as l } from "@oneplatformdev/utils";
5
5
  import { useDialogOverlayContainer as c } from "../Dialog/DialogOverlayScope.mjs";
6
6
  const P = (t) => {
7
- const { modal: e = !1, ...a } = t;
8
- return /* @__PURE__ */ r(
7
+ const { modal: e, ...r } = t;
8
+ return /* @__PURE__ */ a(
9
9
  o.Root,
10
10
  {
11
11
  modal: e,
12
- ...a
12
+ ...r
13
13
  }
14
14
  );
15
- }, h = o.Trigger, b = o.Anchor, f = p.forwardRef(({ className: t, align: e = "center", sideOffset: a = 4, style: n, avoidCollisions: i = !0, ...s }, d) => {
15
+ }, h = o.Trigger, b = o.Anchor, f = p.forwardRef(({ className: t, align: e = "center", sideOffset: r = 4, style: n, avoidCollisions: i = !0, ...d }, s) => {
16
16
  const m = c();
17
- return /* @__PURE__ */ r(o.Portal, { container: m, children: /* @__PURE__ */ r(
17
+ return /* @__PURE__ */ a(o.Portal, { container: m, children: /* @__PURE__ */ a(
18
18
  o.Content,
19
19
  {
20
- ref: d,
20
+ ref: s,
21
21
  align: e,
22
- sideOffset: a,
22
+ sideOffset: r,
23
23
  className: l(
24
24
  "z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
25
25
  t
@@ -28,7 +28,7 @@ const P = (t) => {
28
28
  pointerEvents: "auto",
29
29
  ...n
30
30
  },
31
- ...s,
31
+ ...d,
32
32
  avoidCollisions: i
33
33
  }
34
34
  ) });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneplatformdev/ui",
3
- "version": "0.0.1-beta.144",
3
+ "version": "0.0.1-beta.145",
4
4
  "description": "UI React Components.",
5
5
  "author": "One Platform Development Team",
6
6
  "keywords": [