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.

36 lines (35 loc) 1.44 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SelectArrowDataAttributes = void 0; var _popupStateMapping = require("../../utils/popupStateMapping"); let SelectArrowDataAttributes = exports.SelectArrowDataAttributes = function (SelectArrowDataAttributes) { /** * Present when the select popup is open. */ SelectArrowDataAttributes[SelectArrowDataAttributes["open"] = _popupStateMapping.CommonPopupDataAttributes.open] = "open"; /** * Present when the select popup is closed. */ SelectArrowDataAttributes[SelectArrowDataAttributes["closed"] = _popupStateMapping.CommonPopupDataAttributes.closed] = "closed"; /** * Present when the anchor is hidden. */ SelectArrowDataAttributes[SelectArrowDataAttributes["anchorHidden"] = _popupStateMapping.CommonPopupDataAttributes.anchorHidden] = "anchorHidden"; /** * Indicates which side the popup is positioned relative to the trigger. * @type {'none' | 'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'} */ SelectArrowDataAttributes["side"] = "data-side"; /** * Indicates how the popup is aligned relative to specified side. * @type {'start' | 'center' | 'end'} */ SelectArrowDataAttributes["align"] = "data-align"; /** * Present when the select arrow is uncentered. */ SelectArrowDataAttributes["uncentered"] = "data-uncentered"; return SelectArrowDataAttributes; }({});