@yuno-payments/dashboard-design-system 0.0.53-beta.3 → 0.0.53

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.
@@ -9,6 +9,7 @@ interface TooltipProps extends ShadcnTooltipRootProps {
9
9
  contentProps?: TooltipContentProps;
10
10
  providerProps?: TooltipProviderProps;
11
11
  triggerProps?: TooltipTriggerProps;
12
+ show?: boolean;
12
13
  }
13
14
  declare const Tooltip: import('react').ForwardRefExoticComponent<TooltipProps & import('react').RefAttributes<HTMLDivElement>>;
14
- export { Tooltip, TooltipProvider, type TooltipProps, type TooltipProviderProps };
15
+ export { Tooltip, TooltipProvider, type TooltipProps, type TooltipProviderProps, };
@@ -1,21 +1,22 @@
1
1
  import { j as o } from "../../../_virtual/jsx-runtime.js";
2
- import { forwardRef as m } from "react";
3
- import { TooltipProvider as n, Tooltip as T, TooltipTrigger as d, TooltipContent as x } from "../../../vendor/shadcn/tooltip.js";
4
- const a = m(
2
+ import { forwardRef as n } from "react";
3
+ import { TooltipProvider as x, Tooltip as T, TooltipTrigger as a, TooltipContent as j } from "../../../vendor/shadcn/tooltip.js";
4
+ const d = n(
5
5
  ({
6
- content: r,
7
- children: i,
8
- contentProps: t,
9
- providerProps: p,
10
- triggerProps: e,
6
+ content: t,
7
+ children: r,
8
+ contentProps: i,
9
+ providerProps: e,
10
+ triggerProps: p,
11
+ show: s = !0,
11
12
  ...l
12
- }, s) => /* @__PURE__ */ o.jsx(n, { ...p, children: /* @__PURE__ */ o.jsxs(T, { ...l, children: [
13
- /* @__PURE__ */ o.jsx(d, { asChild: !0, ...e, children: i }),
14
- /* @__PURE__ */ o.jsx(x, { ref: s, ...t, children: r })
15
- ] }) })
13
+ }, m) => s ? /* @__PURE__ */ o.jsx(x, { ...e, children: /* @__PURE__ */ o.jsxs(T, { ...l, children: [
14
+ /* @__PURE__ */ o.jsx(a, { asChild: !0, ...p, children: r }),
15
+ /* @__PURE__ */ o.jsx(j, { ref: m, ...i, children: t })
16
+ ] }) }) : /* @__PURE__ */ o.jsx(o.Fragment, { children: r })
16
17
  );
17
- a.displayName = "Tooltip";
18
+ d.displayName = "Tooltip";
18
19
  export {
19
- a as Tooltip,
20
- n as TooltipProvider
20
+ d as Tooltip,
21
+ x as TooltipProvider
21
22
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuno-payments/dashboard-design-system",
3
- "version": "0.0.53-beta.3",
3
+ "version": "0.0.53",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",