UNPKG

@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.

20 lines 935 B
import { CommonPopupDataAttributes } from "../../utils/popupStateMapping.js"; export let PopoverBackdropDataAttributes = function (PopoverBackdropDataAttributes) { /** * Present when the popup is open. */ PopoverBackdropDataAttributes[PopoverBackdropDataAttributes["open"] = CommonPopupDataAttributes.open] = "open"; /** * Present when the popup is closed. */ PopoverBackdropDataAttributes[PopoverBackdropDataAttributes["closed"] = CommonPopupDataAttributes.closed] = "closed"; /** * Present when the popup is animating in. */ PopoverBackdropDataAttributes[PopoverBackdropDataAttributes["startingStyle"] = CommonPopupDataAttributes.startingStyle] = "startingStyle"; /** * Present when the popup is animating out. */ PopoverBackdropDataAttributes[PopoverBackdropDataAttributes["endingStyle"] = CommonPopupDataAttributes.endingStyle] = "endingStyle"; return PopoverBackdropDataAttributes; }({});