@base-ui-components/react
Version:
Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.
15 lines • 802 B
JavaScript
export let TooltipViewportCssVars = /*#__PURE__*/function (TooltipViewportCssVars) {
/**
* The width of the parent popup.
* This variable is placed on the 'previous' container and stores the width of the popup when the previous content was rendered.
* It can be used to freeze the dimensions of the popup when animating between different content.
*/
TooltipViewportCssVars["popupWidth"] = "--popup-width";
/**
* The height of the parent popup.
* This variable is placed on the 'previous' container and stores the height of the popup when the previous content was rendered.
* It can be used to freeze the dimensions of the popup when animating between different content.
*/
TooltipViewportCssVars["popupHeight"] = "--popup-height";
return TooltipViewportCssVars;
}({});