@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.
24 lines (23 loc) • 969 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ToastPositionerDataAttributes = void 0;
var _popupStateMapping = require("../../utils/popupStateMapping");
let ToastPositionerDataAttributes = exports.ToastPositionerDataAttributes = function (ToastPositionerDataAttributes) {
/**
* Present when the anchor is hidden.
*/
ToastPositionerDataAttributes[ToastPositionerDataAttributes["anchorHidden"] = _popupStateMapping.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;
}({});