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