@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.
21 lines (20 loc) • 949 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.TooltipViewportCssVars = void 0;
let TooltipViewportCssVars = exports.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;
}({});