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.

26 lines 1.11 kB
import { CommonPopupDataAttributes } from "../../utils/popupStateMapping.js"; export let NavigationMenuArrowDataAttributes = function (NavigationMenuArrowDataAttributes) { /** * Present when the popup is open. */ NavigationMenuArrowDataAttributes[NavigationMenuArrowDataAttributes["open"] = CommonPopupDataAttributes.open] = "open"; /** * Present when the popup is closed. */ NavigationMenuArrowDataAttributes[NavigationMenuArrowDataAttributes["closed"] = CommonPopupDataAttributes.closed] = "closed"; /** * Indicates which side the popup is positioned relative to the trigger. * @type {'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'} */ NavigationMenuArrowDataAttributes["side"] = "data-side"; /** * Indicates how the popup is aligned relative to specified side. * @type {'start' | 'center' | 'end'} */ NavigationMenuArrowDataAttributes["align"] = "data-align"; /** * Present when the popup arrow is uncentered. */ NavigationMenuArrowDataAttributes["uncentered"] = "data-uncentered"; return NavigationMenuArrowDataAttributes; }({});