@yuno-payments/dashboard-design-system 1.1.0 → 1.1.1

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,22 +1,23 @@
1
1
  import { j as i } from "../../../_virtual/jsx-runtime.js";
2
- import { forwardRef as a } from "react";
3
- import { TooltipProvider as f, Tooltip as m, TooltipTrigger as d, TooltipContent as n } from "../../../vendor/shadcn/tooltip.js";
4
- const x = (r) => !!(r == null || typeof r == "string" && r.trim() === "" || Array.isArray(r) && r.length === 0), j = a(
2
+ import { forwardRef as p } from "react";
3
+ import { TooltipProvider as u, Tooltip as f, TooltipTrigger as n, TooltipContent as d } from "../../../vendor/shadcn/tooltip.js";
4
+ import { cn as x } from "../../../lib/utils.js";
5
+ const j = (r) => !!(r == null || typeof r == "string" && r.trim() === "" || Array.isArray(r) && r.length === 0), T = p(
5
6
  ({
6
7
  content: r,
7
- children: o,
8
- contentProps: t,
9
- providerProps: e,
10
- triggerProps: s,
8
+ children: t,
9
+ contentProps: o,
10
+ providerProps: s,
11
+ triggerProps: e,
11
12
  show: l = !0,
12
- ...p
13
- }, u) => !l || x(r) ? /* @__PURE__ */ i.jsx(i.Fragment, { children: o }) : /* @__PURE__ */ i.jsx(f, { delayDuration: 0, ...e, children: /* @__PURE__ */ i.jsxs(m, { ...p, children: [
14
- /* @__PURE__ */ i.jsx(d, { asChild: !0, ...s, children: /* @__PURE__ */ i.jsx("div", { children: o }) }),
15
- /* @__PURE__ */ i.jsx(n, { ref: u, ...t, children: r })
13
+ ...a
14
+ }, m) => !l || j(r) ? /* @__PURE__ */ i.jsx(i.Fragment, { children: t }) : /* @__PURE__ */ i.jsx(u, { delayDuration: 0, ...s, children: /* @__PURE__ */ i.jsxs(f, { ...a, children: [
15
+ /* @__PURE__ */ i.jsx(n, { asChild: !0, className: x("flex items-center justify-center", e?.className), ...e, children: /* @__PURE__ */ i.jsx("div", { children: t }) }),
16
+ /* @__PURE__ */ i.jsx(d, { ref: m, ...o, children: r })
16
17
  ] }) })
17
18
  );
18
- j.displayName = "Tooltip";
19
+ T.displayName = "Tooltip";
19
20
  export {
20
- j as Tooltip,
21
- f as TooltipProvider
21
+ T as Tooltip,
22
+ u as TooltipProvider
22
23
  };
@@ -11606,7 +11606,7 @@ const vg = (t) => !!(t == null || typeof t == "string" && t.trim() === "" || Arr
11606
11606
  show: o = !0,
11607
11607
  ...i
11608
11608
  }, c) => !o || vg(t) ? /* @__PURE__ */ s.jsx(s.Fragment, { children: a }) : /* @__PURE__ */ s.jsx(Q2, { delayDuration: 0, ...r, children: /* @__PURE__ */ s.jsxs(J2, { ...i, children: [
11609
- /* @__PURE__ */ s.jsx(en, { asChild: !0, ...l, children: /* @__PURE__ */ s.jsx("div", { children: a }) }),
11609
+ /* @__PURE__ */ s.jsx(en, { asChild: !0, className: E("flex items-center justify-center", l?.className), ...l, children: /* @__PURE__ */ s.jsx("div", { children: a }) }),
11610
11610
  /* @__PURE__ */ s.jsx(ca, { ref: c, ...n, children: t })
11611
11611
  ] }) })
11612
11612
  );