@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.
28 lines • 1.18 kB
JavaScript
import { CommonPopupDataAttributes } from "../../utils/popupStateMapping.js";
export let DialogPopupDataAttributes = function (DialogPopupDataAttributes) {
/**
* Present when the dialog is open.
*/
DialogPopupDataAttributes[DialogPopupDataAttributes["open"] = CommonPopupDataAttributes.open] = "open";
/**
* Present when the dialog is closed.
*/
DialogPopupDataAttributes[DialogPopupDataAttributes["closed"] = CommonPopupDataAttributes.closed] = "closed";
/**
* Present when the dialog is animating in.
*/
DialogPopupDataAttributes[DialogPopupDataAttributes["startingStyle"] = CommonPopupDataAttributes.startingStyle] = "startingStyle";
/**
* Present when the dialog is animating out.
*/
DialogPopupDataAttributes[DialogPopupDataAttributes["endingStyle"] = CommonPopupDataAttributes.endingStyle] = "endingStyle";
/**
* Present when the dialog is nested within another dialog.
*/
DialogPopupDataAttributes["nested"] = "data-nested";
/**
* Present when the dialog has other open dialogs nested within it.
*/
DialogPopupDataAttributes["nestedDialogOpen"] = "data-nested-dialog-open";
return DialogPopupDataAttributes;
}({});