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 898 B
import { CommonPopupDataAttributes } from "../../utils/popupStateMapping.js"; export let MenuBackdropDataAttributes = function (MenuBackdropDataAttributes) { /** * Present when the menu is open. */ MenuBackdropDataAttributes[MenuBackdropDataAttributes["open"] = CommonPopupDataAttributes.open] = "open"; /** * Present when the menu is closed. */ MenuBackdropDataAttributes[MenuBackdropDataAttributes["closed"] = CommonPopupDataAttributes.closed] = "closed"; /** * Present when the menu is animating in. */ MenuBackdropDataAttributes[MenuBackdropDataAttributes["startingStyle"] = CommonPopupDataAttributes.startingStyle] = "startingStyle"; /** * Present when the menu is animating out. */ MenuBackdropDataAttributes[MenuBackdropDataAttributes["endingStyle"] = CommonPopupDataAttributes.endingStyle] = "endingStyle"; return MenuBackdropDataAttributes; }({});