forlogic-core 2.2.0 → 2.2.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.
@@ -46,10 +46,16 @@ declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.T
46
46
  /**
47
47
  * Conteúdo do tooltip. Aceita `side` (`top`/`right`/`bottom`/`left`) e `sideOffset` (padrão 4).
48
48
  *
49
+ * Renderizado via `TooltipPrimitive.Portal` (default: `document.body`) para evitar clipping
50
+ * em containers com `overflow-auto`/`overflow-hidden` (sidebars, cards com scroll, dialogs).
51
+ * Use a prop opcional `container` para portar para um nó específico (casos avançados).
52
+ *
49
53
  * @example
50
54
  * ```tsx
51
55
  * <TooltipContent side="right" sideOffset={8}>Texto explicativo</TooltipContent>
52
56
  * ```
53
57
  */
54
- declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
58
+ declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
59
+ container?: HTMLElement | null;
60
+ } & React.RefAttributes<HTMLDivElement>>;
55
61
  export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };