UNPKG

@base-ui/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.

24 lines (23 loc) 994 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ToastArrowDataAttributes = void 0; var _popupStateMapping = require("../../utils/popupStateMapping"); let ToastArrowDataAttributes = exports.ToastArrowDataAttributes = function (ToastArrowDataAttributes) { /** * Indicates which side the toast is positioned relative to the anchor. * @type {'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'} */ ToastArrowDataAttributes[ToastArrowDataAttributes["side"] = _popupStateMapping.CommonPopupDataAttributes.side] = "side"; /** * Indicates how the toast is aligned relative to specified side. * @type {'start' | 'center' | 'end'} */ ToastArrowDataAttributes[ToastArrowDataAttributes["align"] = _popupStateMapping.CommonPopupDataAttributes.align] = "align"; /** * Present when the toast arrow is uncentered. */ ToastArrowDataAttributes["uncentered"] = "data-uncentered"; return ToastArrowDataAttributes; }({});