@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.
24 lines • 1.06 kB
JavaScript
import { CommonPopupDataAttributes } from "../../utils/popupStateMapping.js";
export let DrawerViewportDataAttributes = function (DrawerViewportDataAttributes) {
/**
* Present when the drawer is open.
*/
DrawerViewportDataAttributes[DrawerViewportDataAttributes["open"] = CommonPopupDataAttributes.open] = "open";
/**
* Present when the drawer is closed.
*/
DrawerViewportDataAttributes[DrawerViewportDataAttributes["closed"] = CommonPopupDataAttributes.closed] = "closed";
/**
* Present when the drawer is animating in.
*/
DrawerViewportDataAttributes[DrawerViewportDataAttributes["startingStyle"] = CommonPopupDataAttributes.startingStyle] = "startingStyle";
/**
* Present when the drawer is animating out.
*/
DrawerViewportDataAttributes[DrawerViewportDataAttributes["endingStyle"] = CommonPopupDataAttributes.endingStyle] = "endingStyle";
/**
* Present when the drawer is nested within another drawer.
*/
DrawerViewportDataAttributes["nested"] = "data-nested";
return DrawerViewportDataAttributes;
}({});