@fluityy/designsystem 0.2.16 → 0.2.18

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.
@@ -22,7 +22,7 @@ export interface SidebarProps extends Omit<React.HTMLAttributes<HTMLElement>, "o
22
22
  }
23
23
  export declare const Sidebar: import('react').ForwardRefExoticComponent<SidebarProps & import('react').RefAttributes<HTMLElement>>;
24
24
  export declare const SidebarHeader: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
25
- export declare const SidebarToggle: import('react').ForwardRefExoticComponent<Omit<Omit<import('..').ButtonProps & import('react').RefAttributes<HTMLButtonElement>, "size" | "children">, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
25
+ export declare const SidebarToggle: import('react').ForwardRefExoticComponent<Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "children"> & import('react').RefAttributes<HTMLButtonElement>>;
26
26
  export declare const SidebarContent: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
27
27
  export declare const SidebarFooter: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
28
28
  export interface SidebarSectionProps extends React.HTMLAttributes<HTMLDivElement> {
@@ -3,9 +3,12 @@ export interface TooltipProps {
3
3
  side?: "top" | "bottom" | "left" | "right";
4
4
  children: React.ReactNode;
5
5
  className?: string;
6
+ /** Renderiza o tooltip via portal (escapa overflow:hidden de pais). */
7
+ portalled?: boolean;
6
8
  }
7
9
  /**
8
10
  * Tooltip leve baseado em hover/focus. O posicionamento é relativo ao gatilho
9
11
  * (sem detecção de colisão com a borda da tela — para isso, usar Floating UI).
12
+ * Use `portalled` quando o gatilho estiver dentro de containers com overflow oculto.
10
13
  */
11
- export declare function Tooltip({ content, side, children, className }: TooltipProps): import("react").JSX.Element;
14
+ export declare function Tooltip({ content, side, children, className, portalled, }: TooltipProps): import("react").JSX.Element;