@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 CHANGED
@@ -13690,43 +13690,45 @@ const uO = [
13690
13690
  ];
13691
13691
  function nr({
13692
13692
  trigger: e,
13693
- side: t = "bottom",
13694
- align: n = "center",
13695
- arrow: r = !1,
13696
- width: o,
13697
- className: s,
13698
- children: i,
13699
- ref: a,
13700
- defaultOpen: l,
13701
- onOpenChange: c,
13702
- "aria-labelledby": u,
13703
- "aria-label": m
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
- defaultOpen: l,
13709
- onOpenChange: c && ((p) => c(p)),
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: t,
13716
- align: n,
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: a,
13723
- "aria-labelledby": u,
13724
- "aria-label": m,
13725
- style: o ? { "--dx-popover-w": o } : void 0,
13726
- className: W(uO, dO, "p-4", s),
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
- r && /* @__PURE__ */ f(y0, { className: W(O0), children: /* @__PURE__ */ f("span", { className: W(A0) }) }),
13729
- /* @__PURE__ */ f("div", { className: P0, children: i })
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
  )