Skip to content

The open alternative to Salesforce, designed for AI.

25.5 KB
Raw Blame
{/*
 * _____                    _
 *|_   _|_      _____ _ __ | |_ _   _
 *  | | \ \ /\ / / _ \ '_ \| __| | | | Auto-generated file
 *  | |  \ V  V /  __/ | | | |_| |_| | DO NOT EDIT - changes will be overwritten
 *  |_|   \_/\_/ \___|_| |_|\__|\__, | Generated by: npx nx generate:ui twenty-docs
 *                              |___/
 *
 * This file is generated from the documentation data in packages/twenty-ui/generated.
 * To update it, edit the component prop types or design tokens in twenty-ui and run:
 *   npx nx generate:ui twenty-docs
 */}

<ParamField body="actionsRef" type="RefObject&lt;TooltipRootActions | null&gt;">
  A ref to imperative actions.
  - `unmount`: Ends the closing phase of the tooltip after an externally controlled closing animation finishes.
  Call `preventUnmountOnClose()` in `onOpenChange` first, otherwise the tooltip completes closing on its own.
  Whether it leaves the DOM is decided by `keepMounted` on the portal.
  - `close`: Closes the tooltip imperatively when called.
</ParamField>

<ParamField body="align" type="&quot;center&quot; | &quot;end&quot; | &quot;start&quot;" default="center">
  Alignment relative to the trigger. Defaults to center.
</ParamField>

<ParamField body="alignOffset" type="number | OffsetFunction" default="0">
  Offset along the alignment axis in pixels.
</ParamField>

<ParamField body="anchor" type="Element | VirtualElement | RefObject&lt;Element | null&gt; | (() =&gt; Element | VirtualElement | null) | null">
  An explicit positioning anchor for the popup.
</ParamField>

<ParamField body="arrow" type="boolean">
  Displays an arrow pointing to the trigger. Defaults to false.
</ParamField>

<ParamField body="arrowPadding" type="number" default="5">
  Minimum distance from the arrow to the popup edges.
</ParamField>

<ParamField body="children" type="ReactElement&lt;unknown, string | JSXElementConstructor&lt;any&gt;&gt;" required>
  A single trigger element. Custom components must forward their ref, native attributes, and event handlers.
</ParamField>

<ParamField body="className" type="string | ((state: TooltipPopupState) =&gt; string | undefined)">
  Additional CSS class for the popup.
</ParamField>

<ParamField body="closeDelay" type="number" default="0">
  Delay in milliseconds before closing after hover ends. Defaults to 0.
</ParamField>

<ParamField body="closeOnClick" type="boolean" default="true">
  Whether the tooltip should close when this trigger is clicked.
</ParamField>

<ParamField body="collisionAvoidance" type="CollisionAvoidance">
  Determines how to handle collisions when positioning the popup.

  `side` controls overflow on the preferred placement axis (`top`/`bottom` or `left`/`right`):
  - `'flip'`: keep the requested side when it fits; otherwise try the opposite side
    (`top` and `bottom`, or `left` and `right`).
  - `'shift'`: never change side; keep the requested side and move the popup within
    the clipping boundary so it stays visible.
  - `'none'`: do not correct side-axis overflow.

  `align` controls overflow on the alignment axis (`start`/`center`/`end`):
  - `'flip'`: keep side, but swap `start` and `end` when the requested alignment overflows.
  - `'shift'`: keep side and requested alignment, then nudge the popup along the
    alignment axis to fit.
  - `'none'`: do not correct alignment-axis overflow.

  `fallbackAxisSide` controls fallback behavior on the perpendicular axis when the
  preferred axis cannot fit:
  - `'start'`: allow perpendicular fallback and try the logical start side first
    (`top` before `bottom`, or `left` before `right` in LTR).
  - `'end'`: allow perpendicular fallback and try the logical end side first
    (`bottom` before `top`, or `right` before `left` in LTR).
  - `'none'`: do not fallback to the perpendicular axis.

  When `side` is `'shift'`, explicitly setting `align` only supports `'shift'` or `'none'`.
  If `align` is omitted, it defaults to `'flip'`.
</ParamField>

<ParamField body="collisionBoundary" type="Boundary" default="clipping-ancestors">
  An element or a rectangle that delimits the area that the popup is confined to.
</ParamField>

<ParamField body="collisionPadding" type="Padding" default="5">
  Additional space to maintain from the edge of the collision boundary.
</ParamField>

<ParamField body="container" type="HTMLElement | ShadowRoot | RefObject&lt;HTMLElement | ShadowRoot | null&gt; | null">
  Portal destination. Defaults to the current theme container.
</ParamField>

<ParamField body="content" type="ReactNode | PayloadChildRenderFunction&lt;TPayload&gt;" required>
  Supplementary content, or a function receiving the active trigger payload. Strings and numbers use the shorthand title layout.
</ParamField>

<ParamField body="defaultOpen" type="boolean" default="false">
  Initial visibility when the tooltip manages its own state.
</ParamField>

<ParamField body="defaultTriggerId" type="string | null">
  ID of the trigger that the tooltip is associated with.
  This is useful in conjunction with the `defaultOpen` prop to create an initially open tooltip.
</ParamField>

<ParamField body="delay" type="number" default="600">
  Delay in milliseconds before opening on hover. Defaults to 600.
</ParamField>

<ParamField body="description" type="ReactNode">
  Optional secondary text below the shorthand title.
</ParamField>

<ParamField body="disableAnchorTracking" type="boolean" default="false">
  Whether to disable the popup from tracking any layout shift of its positioning anchor.
</ParamField>

<ParamField body="disabled" type="boolean" default="false">
  Prevents the tooltip from opening.
</ParamField>

<ParamField body="disableHoverablePopup" type="boolean" default="false">
  Prevents hovering over the popup from keeping it open.
</ParamField>

<ParamField body="handle" type="TooltipHandle&lt;TPayload&gt;">
  Connects detached triggers and preserves their typed payloads.
</ParamField>

<ParamField body="keepMounted" type="boolean">
  Keeps the popup mounted while closed.
</ParamField>

<ParamField body="maxWidth" type="MaxWidth&lt;string | number&gt;">
  Maximum popup width. Defaults to 300 pixels and is capped by the space available beside the anchor.
</ParamField>

<ParamField body="onOpenChange" type="((open: boolean, eventDetails: TooltipRootChangeEventDetails) =&gt; void)">
  Receives the requested open state and unchanged Base UI event details, including reason, event, trigger and cancel().
</ParamField>

<ParamField body="onOpenChangeComplete" type="((open: boolean) =&gt; void)">
  Event handler called after any animations complete when the tooltip is opened or closed.
</ParamField>

<ParamField body="open" type="boolean">
  Controlled visibility of the tooltip.
</ParamField>

<ParamField body="portalProps" type="TooltipPortalProps">
  Full Portal props, including native props, ref and render. Overrides shorthand portal defaults.
</ParamField>

<ParamField body="positionerProps" type="TooltipPositionerProps">
  Full Positioner props, including native props, ref and render. Overrides shorthand placement defaults.
</ParamField>

<ParamField body="positionMethod" type="&quot;absolute&quot; | &quot;fixed&quot;" default="absolute">
  CSS positioning method for the popup.
</ParamField>

<ParamField body="ref" type="Ref&lt;HTMLDivElement&gt;">
  Ref forwarded to the popup element.
</ParamField>

<ParamField body="render" type="ReactElement&lt;unknown, string | JSXElementConstructor&lt;any&gt;&gt; | ComponentRenderFn&lt;HTMLProps, TooltipPopupState&gt;">
  Allows you to replace the component's HTML element
  with a different tag, or compose it with another component.

  Accepts a `ReactElement` or a function that returns the element to render.
</ParamField>

<ParamField body="side" type="&quot;bottom&quot; | &quot;inline-end&quot; | &quot;inline-start&quot; | &quot;left&quot; | &quot;right&quot; | &quot;top&quot;" default="top">
  Preferred side of the trigger. Defaults to top and may change to avoid collisions.
</ParamField>

<ParamField body="sideOffset" type="number | OffsetFunction" default="10">
  Distance from the trigger in pixels. Defaults to 10.
</ParamField>

<ParamField body="startIcon" type="ReactNode">
  Optional node before the shorthand title.
</ParamField>

<ParamField body="sticky" type="boolean" default="false">
  Whether to maintain the popup in the viewport after
  the anchor element was scrolled out of view.
</ParamField>

<ParamField body="style" type="CSSProperties | ((state: TooltipPopupState) =&gt; CSSProperties | undefined)">
  Inline styles for the popup.
</ParamField>

<ParamField body="trackCursorAxis" type="&quot;both&quot; | &quot;none&quot; | &quot;x&quot; | &quot;y&quot;" default="none">
  Determines which axis the tooltip should track the cursor on.
</ParamField>

<ParamField body="triggerId" type="string | null">
  ID of the trigger that the tooltip is associated with.
  This is useful in conjunction with the `open` prop to create a controlled tooltip.
  There's no need to specify this prop when the tooltip is uncontrolled (that is, when the `open` prop is not set).
</ParamField>

<ParamField body="triggerProps" type="TooltipTriggerProps&lt;TPayload&gt;">
  Full Trigger props, including native props, ref, render and payload. Overrides the shorthand trigger defaults.
</ParamField>

<ParamField body="withExitAnimation" type="boolean">
  Fades and slides the popup out when it closes instead of hiding it at once.
</ParamField>

### Tooltip.Root

<ParamField body="Root.actionsRef" type="RefObject&lt;TooltipRootActions | null&gt;">
  A ref to imperative actions.
  - `unmount`: Ends the closing phase of the tooltip after an externally controlled closing animation finishes.
  Call `preventUnmountOnClose()` in `onOpenChange` first, otherwise the tooltip completes closing on its own.
  Whether it leaves the DOM is decided by `keepMounted` on the portal.
  - `close`: Closes the tooltip imperatively when called.
</ParamField>

<ParamField body="Root.children" type="ReactNode | PayloadChildRenderFunction&lt;Payload&gt;">
  Parts or a render function receiving the active trigger payload. Root renders no DOM node.
</ParamField>

<ParamField body="Root.defaultOpen" type="boolean" default="false">
  Whether the tooltip is initially open.

  To render a controlled tooltip, use the `open` prop instead.
</ParamField>

<ParamField body="Root.defaultTriggerId" type="string | null">
  ID of the trigger that the tooltip is associated with.
  This is useful in conjunction with the `defaultOpen` prop to create an initially open tooltip.
</ParamField>

<ParamField body="Root.disabled" type="boolean" default="false">
  Whether the tooltip is disabled.
</ParamField>

<ParamField body="Root.disableHoverablePopup" type="boolean" default="false">
  Whether the tooltip contents can be hovered without closing the tooltip.
</ParamField>

<ParamField body="Root.handle" type="TooltipHandle&lt;Payload&gt;">
  Connects detached triggers and imperative open/close actions.
</ParamField>

<ParamField body="Root.onOpenChange" type="((open: boolean, eventDetails: TooltipRootChangeEventDetails) =&gt; void)">
  Receives the requested open state and unchanged Base UI event details, including reason, event, trigger and cancel().
</ParamField>

<ParamField body="Root.onOpenChangeComplete" type="((open: boolean) =&gt; void)">
  Event handler called after any animations complete when the tooltip is opened or closed.
</ParamField>

<ParamField body="Root.open" type="boolean">
  Whether the tooltip is currently open.
</ParamField>

<ParamField body="Root.trackCursorAxis" type="&quot;both&quot; | &quot;none&quot; | &quot;x&quot; | &quot;y&quot;" default="none">
  Determines which axis the tooltip should track the cursor on.
</ParamField>

<ParamField body="Root.triggerId" type="string | null">
  ID of the trigger that the tooltip is associated with.
  This is useful in conjunction with the `open` prop to create a controlled tooltip.
  There's no need to specify this prop when the tooltip is uncontrolled (that is, when the `open` prop is not set).
</ParamField>

### Tooltip.Trigger

<ParamField body="Trigger.className" type="string | ((state: TooltipTriggerState) =&gt; string | undefined)">
  CSS class applied to the element, or a function that
  returns a class based on the component's state.
</ParamField>

<ParamField body="Trigger.closeDelay" type="number" default="0">
  How long to wait before closing the tooltip. Specified in milliseconds.
</ParamField>

<ParamField body="Trigger.closeOnClick" type="boolean" default="true">
  Whether the tooltip should close when this trigger is clicked.
</ParamField>

<ParamField body="Trigger.delay" type="number" default="600">
  How long to wait before opening the tooltip on hover. Specified in milliseconds.
</ParamField>

<ParamField body="Trigger.disabled" type="boolean" default="false">
  Disables tooltip interaction for this trigger without disabling its native element.
</ParamField>

<ParamField body="Trigger.handle" type="TooltipHandle&lt;Payload&gt;">
  A handle to associate the trigger with a tooltip.
</ParamField>

<ParamField body="Trigger.payload" type="Payload">
  A payload to pass to the tooltip when it is opened.
</ParamField>

<ParamField body="Trigger.ref" type="((((instance: HTMLButtonElement | null) =&gt; void | (() =&gt; VoidOrUndefinedOnly)) | RefObject&lt;HTMLButtonElement | null&gt;) &amp; (((instance: HTMLElement | null) =&gt; void | (() =&gt; VoidOrUndefinedOnly)) | RefObject&lt;...&gt;)) | null">
  Ref to the rendered trigger element, a button by default.
</ParamField>

<ParamField body="Trigger.render" type="ReactElement&lt;unknown, string | JSXElementConstructor&lt;any&gt;&gt; | ComponentRenderFn&lt;HTMLProps, TooltipTriggerState&gt;">
  Composes a native element or a component that forwards attributes, handlers and ref.
</ParamField>

<ParamField body="Trigger.style" type="CSSProperties | ((state: TooltipTriggerState) =&gt; CSSProperties | undefined)">
  Style applied to the element, or a function that
  returns a style object based on the component's state.
</ParamField>

### Tooltip.Portal

<ParamField body="Portal.className" type="string | ((state: TooltipPortalState) =&gt; string | undefined)">
  CSS class applied to the element, or a function that
  returns a class based on the component's state.
</ParamField>

<ParamField body="Portal.container" type="HTMLElement | ShadowRoot | RefObject&lt;HTMLElement | ShadowRoot | null&gt; | null">
  Portal destination. Defaults to the current theme container, then the document body.
</ParamField>

<ParamField body="Portal.keepMounted" type="boolean" default="false">
  Whether to keep the portal mounted in the DOM while the popup is hidden.
</ParamField>

<ParamField body="Portal.ref" type="Ref&lt;HTMLDivElement&gt;">
  Ref to the portal div.
</ParamField>

<ParamField body="Portal.render" type="ReactElement&lt;unknown, string | JSXElementConstructor&lt;any&gt;&gt; | ComponentRenderFn&lt;HTMLProps, TooltipPortalState&gt;">
  Allows you to replace the component's HTML element
  with a different tag, or compose it with another component.

  Accepts a `ReactElement` or a function that returns the element to render.
</ParamField>

<ParamField body="Portal.style" type="CSSProperties | ((state: TooltipPortalState) =&gt; CSSProperties | undefined)">
  Style applied to the element, or a function that
  returns a style object based on the component's state.
</ParamField>

### Tooltip.Positioner

<ParamField body="Positioner.align" type="&quot;center&quot; | &quot;end&quot; | &quot;start&quot;" default="center">
  How to align the popup relative to the specified side.
</ParamField>

<ParamField body="Positioner.alignOffset" type="number | OffsetFunction" default="0">
  Additional offset along the alignment axis in pixels.
  Also accepts a function that returns the offset to read the dimensions of the anchor
  and positioner elements, along with its side and alignment.

  The function takes a `data` object parameter with the following properties:
  - `data.anchor`: the dimensions of the anchor element with properties `width` and `height`.
  - `data.positioner`: the dimensions of the positioner element with properties `width` and `height`.
  - `data.side`: which side of the anchor element the positioner is aligned against.
  - `data.align`: how the positioner is aligned relative to the specified side.
</ParamField>

<ParamField body="Positioner.anchor" type="Element | VirtualElement | RefObject&lt;Element | null&gt; | (() =&gt; Element | VirtualElement | null) | null">
  An element to position the popup against.
  By default, the popup will be positioned against the trigger.
</ParamField>

<ParamField body="Positioner.arrowPadding" type="number" default="5">
  Minimum distance to maintain between the arrow and the edges of the popup.

  Use it to prevent the arrow element from hanging out of the rounded corners of a popup.
</ParamField>

<ParamField body="Positioner.className" type="string | ((state: TooltipPositionerState) =&gt; string | undefined)">
  CSS class applied to the element, or a function that
  returns a class based on the component's state.
</ParamField>

<ParamField body="Positioner.collisionAvoidance" type="CollisionAvoidance">
  Determines how to handle collisions when positioning the popup.

  `side` controls overflow on the preferred placement axis (`top`/`bottom` or `left`/`right`):
  - `'flip'`: keep the requested side when it fits; otherwise try the opposite side
    (`top` and `bottom`, or `left` and `right`).
  - `'shift'`: never change side; keep the requested side and move the popup within
    the clipping boundary so it stays visible.
  - `'none'`: do not correct side-axis overflow.

  `align` controls overflow on the alignment axis (`start`/`center`/`end`):
  - `'flip'`: keep side, but swap `start` and `end` when the requested alignment overflows.
  - `'shift'`: keep side and requested alignment, then nudge the popup along the
    alignment axis to fit.
  - `'none'`: do not correct alignment-axis overflow.

  `fallbackAxisSide` controls fallback behavior on the perpendicular axis when the
  preferred axis cannot fit:
  - `'start'`: allow perpendicular fallback and try the logical start side first
    (`top` before `bottom`, or `left` before `right` in LTR).
  - `'end'`: allow perpendicular fallback and try the logical end side first
    (`bottom` before `top`, or `right` before `left` in LTR).
  - `'none'`: do not fallback to the perpendicular axis.

  When `side` is `'shift'`, explicitly setting `align` only supports `'shift'` or `'none'`.
  If `align` is omitted, it defaults to `'flip'`.
</ParamField>

<ParamField body="Positioner.collisionBoundary" type="Boundary" default="clipping-ancestors">
  An element or a rectangle that delimits the area that the popup is confined to.
</ParamField>

<ParamField body="Positioner.collisionPadding" type="Padding" default="5">
  Additional space to maintain from the edge of the collision boundary.
</ParamField>

<ParamField body="Positioner.disableAnchorTracking" type="boolean" default="false">
  Whether to disable the popup from tracking any layout shift of its positioning anchor.
</ParamField>

<ParamField body="Positioner.positionMethod" type="&quot;absolute&quot; | &quot;fixed&quot;" default="absolute">
  Determines which CSS `position` property to use.
</ParamField>

<ParamField body="Positioner.ref" type="Ref&lt;HTMLDivElement&gt;">
  Ref to the positioning div. Native props, styles and render target this element.
</ParamField>

<ParamField body="Positioner.render" type="ReactElement&lt;unknown, string | JSXElementConstructor&lt;any&gt;&gt; | ComponentRenderFn&lt;HTMLProps, TooltipPositionerState&gt;">
  Allows you to replace the component's HTML element
  with a different tag, or compose it with another component.

  Accepts a `ReactElement` or a function that returns the element to render.
</ParamField>

<ParamField body="Positioner.side" type="&quot;bottom&quot; | &quot;inline-end&quot; | &quot;inline-start&quot; | &quot;left&quot; | &quot;right&quot; | &quot;top&quot;" default="top">
  Preferred physical or logical side of the anchor. Defaults to top.
</ParamField>

<ParamField body="Positioner.sideOffset" type="number | OffsetFunction" default="0">
  Distance from the anchor. Defaults to 0 in compound usage. Accepts a number or positioning function.
</ParamField>

<ParamField body="Positioner.sticky" type="boolean" default="false">
  Whether to maintain the popup in the viewport after
  the anchor element was scrolled out of view.
</ParamField>

<ParamField body="Positioner.style" type="CSSProperties | ((state: TooltipPositionerState) =&gt; CSSProperties | undefined)">
  Style applied to the element, or a function that
  returns a style object based on the component's state.
</ParamField>

### Tooltip.Popup

<ParamField body="Popup.children" type="ReactNode">
  Content rendered as supplied. Does not create a portal, positioner, title layout or arrow.
</ParamField>

<ParamField body="Popup.className" type="string | ((state: TooltipPopupState) =&gt; string | undefined)">
  CSS class applied to the element, or a function that
  returns a class based on the component's state.
</ParamField>

<ParamField body="Popup.maxWidth" type="MaxWidth&lt;string | number&gt;">
  Maximum popup width. Defaults to 300 pixels and is capped by the space available beside the anchor.
</ParamField>

<ParamField body="Popup.ref" type="Ref&lt;HTMLDivElement&gt;">
  Ref to the popup div. Native props, styles and render target this element.
</ParamField>

<ParamField body="Popup.render" type="ReactElement&lt;unknown, string | JSXElementConstructor&lt;any&gt;&gt; | ComponentRenderFn&lt;HTMLProps, TooltipPopupState&gt;">
  Allows you to replace the component's HTML element
  with a different tag, or compose it with another component.

  Accepts a `ReactElement` or a function that returns the element to render.
</ParamField>

<ParamField body="Popup.style" type="CSSProperties | ((state: TooltipPopupState) =&gt; CSSProperties | undefined)">
  Style applied to the element, or a function that
  returns a style object based on the component's state.
</ParamField>

<ParamField body="Popup.withExitAnimation" type="boolean" default="false">
  Enables the optional Twenty exit transition.
</ParamField>

### Tooltip.Body

<ParamField body="Body.children" type="ReactNode">
  Optional title content, displayed with medium weight. Omit it for a description-only tooltip.
</ParamField>

<ParamField body="Body.description" type="ReactNode">
  Optional secondary content. Preserves line breaks and wraps long text.
</ParamField>

<ParamField body="Body.ref" type="Ref&lt;HTMLDivElement&gt;">
  Ref to the body div. Native props, styles and render target this element.
</ParamField>

<ParamField body="Body.render" type="ReactElement&lt;unknown, string | JSXElementConstructor&lt;any&gt;&gt; | ComponentRenderFn&lt;HTMLProps, {}&gt;">
  Composes the body root through an element or render callback while preserving its layout and content.
</ParamField>

<ParamField body="Body.startIcon" type="ReactNode">
  Optional decorative node before the title. Omitted when the title is empty.
</ParamField>

### Tooltip.Arrow

<ParamField body="Arrow.className" type="string | ((state: TooltipArrowState) =&gt; string | undefined)">
  CSS class applied to the element, or a function that
  returns a class based on the component's state.
</ParamField>

<ParamField body="Arrow.ref" type="Ref&lt;HTMLDivElement&gt;">
  Ref to the arrow div. Compose inside Popup.
</ParamField>

<ParamField body="Arrow.render" type="ReactElement&lt;unknown, string | JSXElementConstructor&lt;any&gt;&gt; | ComponentRenderFn&lt;HTMLProps, TooltipArrowState&gt;">
  Allows you to replace the component's HTML element
  with a different tag, or compose it with another component.

  Accepts a `ReactElement` or a function that returns the element to render.
</ParamField>

<ParamField body="Arrow.style" type="CSSProperties | ((state: TooltipArrowState) =&gt; CSSProperties | undefined)">
  Style applied to the element, or a function that
  returns a style object based on the component's state.
</ParamField>

### Tooltip.Viewport

<ParamField body="Viewport.children" type="ReactNode">
  The content to render inside the transition container.
</ParamField>

<ParamField body="Viewport.className" type="string | ((state: TooltipViewportState) =&gt; string | undefined)">
  CSS class applied to the element, or a function that
  returns a class based on the component's state.
</ParamField>

<ParamField body="Viewport.ref" type="Ref&lt;HTMLDivElement&gt;">
  Ref to the content-transition div. Useful when several triggers share changing content.
</ParamField>

<ParamField body="Viewport.render" type="ReactElement&lt;unknown, string | JSXElementConstructor&lt;any&gt;&gt; | ComponentRenderFn&lt;HTMLProps, TooltipViewportState&gt;">
  Allows you to replace the component's HTML element
  with a different tag, or compose it with another component.

  Accepts a `ReactElement` or a function that returns the element to render.
</ParamField>

<ParamField body="Viewport.style" type="CSSProperties | ((state: TooltipViewportState) =&gt; CSSProperties | undefined)">
  Style applied to the element, or a function that
  returns a style object based on the component's state.
</ParamField>

### Tooltip.Provider

<ParamField body="Provider.children" type="ReactNode">
  Tooltips sharing delay, closeDelay and timeout configuration. Provider renders no DOM node.
</ParamField>

<ParamField body="Provider.closeDelay" type="number">
  How long to wait before closing a tooltip. Specified in milliseconds.
</ParamField>

<ParamField body="Provider.delay" type="number">
  How long to wait before opening the tooltip on hover. Specified in milliseconds.
</ParamField>

<ParamField body="Provider.timeout" type="number" default="400">
  Another tooltip will open instantly if the previous tooltip
  is closed within this timeout. Specified in milliseconds.
</ParamField>