@danxbot/ui 4.1.9 → 4.1.10
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 +24 -22
- package/dist/index.js.map +1 -1
- package/dist/types/components/Popover.d.ts +11 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13690,43 +13690,45 @@ const uO = [
|
|
|
13690
13690
|
];
|
|
13691
13691
|
function nr({
|
|
13692
13692
|
trigger: e,
|
|
13693
|
-
|
|
13694
|
-
|
|
13695
|
-
|
|
13696
|
-
|
|
13697
|
-
|
|
13698
|
-
|
|
13699
|
-
|
|
13700
|
-
|
|
13701
|
-
|
|
13702
|
-
|
|
13703
|
-
"aria-
|
|
13693
|
+
open: t,
|
|
13694
|
+
side: n = "bottom",
|
|
13695
|
+
align: r = "center",
|
|
13696
|
+
arrow: o = !1,
|
|
13697
|
+
width: s,
|
|
13698
|
+
className: i,
|
|
13699
|
+
children: a,
|
|
13700
|
+
ref: l,
|
|
13701
|
+
defaultOpen: c,
|
|
13702
|
+
onOpenChange: u,
|
|
13703
|
+
"aria-labelledby": m,
|
|
13704
|
+
"aria-label": d
|
|
13704
13705
|
}) {
|
|
13705
13706
|
return /* @__PURE__ */ T(
|
|
13706
13707
|
E2,
|
|
13707
13708
|
{
|
|
13708
|
-
|
|
13709
|
-
|
|
13709
|
+
open: t,
|
|
13710
|
+
defaultOpen: c,
|
|
13711
|
+
onOpenChange: u && ((h) => u(h)),
|
|
13710
13712
|
children: [
|
|
13711
13713
|
/* @__PURE__ */ f(l0, { render: e }),
|
|
13712
13714
|
/* @__PURE__ */ f(c0, { children: /* @__PURE__ */ f(
|
|
13713
13715
|
m0,
|
|
13714
13716
|
{
|
|
13715
|
-
side:
|
|
13716
|
-
align:
|
|
13717
|
+
side: n,
|
|
13718
|
+
align: r,
|
|
13717
13719
|
sideOffset: 8,
|
|
13718
13720
|
className: "z-(--z-popover) outline-none",
|
|
13719
13721
|
children: /* @__PURE__ */ T(
|
|
13720
13722
|
x0,
|
|
13721
13723
|
{
|
|
13722
|
-
ref:
|
|
13723
|
-
"aria-labelledby":
|
|
13724
|
-
"aria-label":
|
|
13725
|
-
style:
|
|
13726
|
-
className: W(uO, dO, "p-4",
|
|
13724
|
+
ref: l,
|
|
13725
|
+
"aria-labelledby": m,
|
|
13726
|
+
"aria-label": d,
|
|
13727
|
+
style: s ? { "--dx-popover-w": s } : void 0,
|
|
13728
|
+
className: W(uO, dO, "p-4", i),
|
|
13727
13729
|
children: [
|
|
13728
|
-
|
|
13729
|
-
/* @__PURE__ */ f("div", { className: P0, children:
|
|
13730
|
+
o && /* @__PURE__ */ f(y0, { className: W(O0), children: /* @__PURE__ */ f("span", { className: W(A0) }) }),
|
|
13731
|
+
/* @__PURE__ */ f("div", { className: P0, children: a })
|
|
13730
13732
|
]
|
|
13731
13733
|
}
|
|
13732
13734
|
)
|