@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.51 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.SelectPopupDataAttributes = void 0;
var _popupStateMapping = require("../../utils/popupStateMapping");
let SelectPopupDataAttributes = exports.SelectPopupDataAttributes = function (SelectPopupDataAttributes) {
/**
* Present when the select is open.
*/
SelectPopupDataAttributes[SelectPopupDataAttributes["open"] = _popupStateMapping.CommonPopupDataAttributes.open] = "open";
/**
* Present when the select is closed.
*/
SelectPopupDataAttributes[SelectPopupDataAttributes["closed"] = _popupStateMapping.CommonPopupDataAttributes.closed] = "closed";
/**
* Present when the select is animating in.
*/
SelectPopupDataAttributes[SelectPopupDataAttributes["startingStyle"] = _popupStateMapping.CommonPopupDataAttributes.startingStyle] = "startingStyle";
/**
* Present when the select is animating out.
*/
SelectPopupDataAttributes[SelectPopupDataAttributes["endingStyle"] = _popupStateMapping.CommonPopupDataAttributes.endingStyle] = "endingStyle";
/**
* Indicates which side the popup is positioned relative to the trigger.
* @type {'none' | 'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'}
*/
SelectPopupDataAttributes["side"] = "data-side";
/**
* Indicates how the popup is aligned relative to specified side.
* @type {'start' | 'center' | 'end'}
*/
SelectPopupDataAttributes["align"] = "data-align";
return SelectPopupDataAttributes;
}({});