@umami/react-zen 0.244.0 → 0.245.0

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.d.mts CHANGED
@@ -502,7 +502,7 @@ interface TooltipProps extends TooltipProps$1 {
502
502
  children?: ReactNode;
503
503
  showArrow?: boolean;
504
504
  }
505
- declare function Tooltip({ children, className, showArrow, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
505
+ declare function Tooltip({ children, className, offset, showArrow, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
506
506
  interface TooltipBubbleProps extends HTMLAttributes<HTMLDivElement> {
507
507
  children?: ReactNode;
508
508
  showArrow?: boolean;
package/dist/index.d.ts CHANGED
@@ -502,7 +502,7 @@ interface TooltipProps extends TooltipProps$1 {
502
502
  children?: ReactNode;
503
503
  showArrow?: boolean;
504
504
  }
505
- declare function Tooltip({ children, className, showArrow, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
505
+ declare function Tooltip({ children, className, offset, showArrow, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
506
506
  interface TooltipBubbleProps extends HTMLAttributes<HTMLDivElement> {
507
507
  children?: ReactNode;
508
508
  showArrow?: boolean;
package/dist/index.js CHANGED
@@ -3685,8 +3685,8 @@ function Dots({ size = "md", className, color: _color, ...props }) {
3685
3685
  /* @__PURE__ */ jsxRuntime.jsx(Dot, { size })
3686
3686
  ] });
3687
3687
  }
3688
- function Tooltip({ children, className, showArrow, ...props }) {
3689
- return /* @__PURE__ */ jsxRuntime.jsxs(reactAriaComponents.Tooltip, { ...props, className: cn("group", tooltip(), className), children: [
3688
+ function Tooltip({ children, className, offset = 8, showArrow, ...props }) {
3689
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactAriaComponents.Tooltip, { ...props, offset, className: cn("group", tooltip(), className), children: [
3690
3690
  showArrow && /* @__PURE__ */ jsxRuntime.jsx(reactAriaComponents.OverlayArrow, { className: "w-2 h-2", children: /* @__PURE__ */ jsxRuntime.jsx(
3691
3691
  "svg",
3692
3692
  {