UNPKG

@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.

25 lines 956 B
import { CommonPopupDataAttributes } from "../../utils/popupStateMapping.js"; export let DrawerSwipeAreaDataAttributes = function (DrawerSwipeAreaDataAttributes) { /** * Present when the drawer is open. */ DrawerSwipeAreaDataAttributes[DrawerSwipeAreaDataAttributes["open"] = CommonPopupDataAttributes.open] = "open"; /** * Present when the drawer is closed. */ DrawerSwipeAreaDataAttributes[DrawerSwipeAreaDataAttributes["closed"] = CommonPopupDataAttributes.closed] = "closed"; /** * Present when the swipe area is disabled. */ DrawerSwipeAreaDataAttributes["disabled"] = "data-disabled"; /** * Indicates the swipe direction. * @type {'up' | 'down' | 'left' | 'right'} */ DrawerSwipeAreaDataAttributes["swipeDirection"] = "data-swipe-direction"; /** * Present when the drawer is being swiped. */ DrawerSwipeAreaDataAttributes["swiping"] = "data-swiping"; return DrawerSwipeAreaDataAttributes; }({});