@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.
43 lines • 1.06 kB
TypeScript
export declare enum DrawerPopupDataAttributes {
/**
* Present when the drawer is open.
*/
open = "data-open",
/**
* Present when the drawer is closed.
*/
closed = "data-closed",
/**
* Present when the drawer is animating in.
*/
startingStyle = "data-starting-style",
/**
* Present when the drawer is animating out.
*/
endingStyle = "data-ending-style",
/**
* Present when the drawer is at the expanded (full-height) snap point.
*/
expanded = "data-expanded",
/**
* Present when a nested drawer is open.
*/
nestedDrawerOpen = "data-nested-drawer-open",
/**
* Present when a nested drawer is being swiped.
*/
nestedDrawerSwiping = "data-nested-drawer-swiping",
/**
* Present when the drawer is dismissed by swiping.
*/
swipeDismiss = "data-swipe-dismiss",
/**
* Indicates the swipe direction.
* @type {'up' | 'down' | 'left' | 'right'}
*/
swipeDirection = "data-swipe-direction",
/**
* Present when the drawer is being swiped.
*/
swiping = "data-swiping",
}