@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.
18 lines • 919 B
JavaScript
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[ToastPositionerDataAttributes["side"] = CommonPopupDataAttributes.side] = "side";
/**
* Indicates how the toast is aligned relative to specified side.
* @type {'start' | 'center' | 'end'}
*/
ToastPositionerDataAttributes[ToastPositionerDataAttributes["align"] = CommonPopupDataAttributes.align] = "align";
return ToastPositionerDataAttributes;
}({});