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.

18 lines 800 B
import { CommonPopupDataAttributes } from "../../utils/popupStateMapping.js"; export let ToastPositionerDataAttributes = function (ToastPositionerDataAttributes) { /** * Present when the anchor is hidden. */ ToastPositionerDataAttributes[ToastPositionerDataAttributes["anchorHidden"] = CommonPopupDataAttributes.anchorHidden] = "anchorHidden"; /** * Indicates which side the toast is positioned relative to the trigger. * @type {'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'} */ ToastPositionerDataAttributes["side"] = "data-side"; /** * Indicates how the toast is aligned relative to specified side. * @type {'start' | 'center' | 'end'} */ ToastPositionerDataAttributes["align"] = "data-align"; return ToastPositionerDataAttributes; }({});