@lettuceai/crisp 1.2.0 → 1.2.2
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/components/Tooltip.d.ts +7 -1
- package/dist/index.js +653 -615
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -11,5 +11,11 @@ export interface TooltipProps {
|
|
|
11
11
|
className?: string;
|
|
12
12
|
children: ReactElement<Record<string, unknown>>;
|
|
13
13
|
}
|
|
14
|
-
/**
|
|
14
|
+
/**
|
|
15
|
+
* Hover / focus hint. Never the only place a label lives — icon buttons still need `label`.
|
|
16
|
+
* It renders in the overlay portal at the trigger's position, so a scrolling or clipping
|
|
17
|
+
* ancestor never hides it; it closes on scroll and resize instead of following the trigger.
|
|
18
|
+
* It keeps its own compositing layer: WebKit otherwise paints it under any layer a
|
|
19
|
+
* `backdrop-filter` creates, such as AppBar, whatever the z-index says.
|
|
20
|
+
*/
|
|
15
21
|
export declare function Tooltip({ content, placement, delay, disabled, className, children }: TooltipProps): import("react").JSX.Element;
|