@oneplatformdev/ui 0.0.1-beta.124 → 0.0.1-beta.125

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/Popover/Popover.mjs +10 -10
  2. package/package.json +1 -1
@@ -1,26 +1,26 @@
1
- import { jsx as t } from "react/jsx-runtime";
1
+ import { jsx as e } from "react/jsx-runtime";
2
2
  import * as m from "react";
3
3
  import * as o from "@radix-ui/react-popover";
4
4
  import { cn as p } from "@oneplatformdev/utils";
5
5
  import "../Dialog/Dialog.mjs";
6
6
  import { useDialogOverlayContainer as l } from "../Dialog/DialogOverlayScope.mjs";
7
- const P = o.Root, h = o.Trigger, b = o.Anchor, c = m.forwardRef(({ className: e, align: a = "center", sideOffset: r = 4, style: n, ...i }, d) => {
8
- const s = l();
9
- return /* @__PURE__ */ t(o.Portal, { container: s ?? void 0, children: /* @__PURE__ */ t(
7
+ const P = o.Root, h = o.Trigger, b = o.Anchor, c = m.forwardRef(({ className: a, align: r = "center", sideOffset: n = 4, style: i, ...d }, s) => {
8
+ const t = l();
9
+ return console.log("container", t), /* @__PURE__ */ e(o.Portal, { container: t ?? void 0, children: /* @__PURE__ */ e(
10
10
  o.Content,
11
11
  {
12
- ref: d,
13
- align: a,
14
- sideOffset: r,
12
+ ref: s,
13
+ align: r,
14
+ sideOffset: n,
15
15
  className: p(
16
16
  "z-90 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",
17
- e
17
+ a
18
18
  ),
19
19
  style: {
20
20
  pointerEvents: "auto",
21
- ...n
21
+ ...i
22
22
  },
23
- ...i
23
+ ...d
24
24
  }
25
25
  ) });
26
26
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneplatformdev/ui",
3
- "version": "0.0.1-beta.124",
3
+ "version": "0.0.1-beta.125",
4
4
  "description": "UI React Components.",
5
5
  "author": "One Platform Development Team",
6
6
  "keywords": [