UNPKG

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

20 lines 1.01 kB
import { CommonPopupDataAttributes } from "../../utils/popupStateMapping.js"; export let PreviewCardBackdropDataAttributes = function (PreviewCardBackdropDataAttributes) { /** * Present when the preview card is open. */ PreviewCardBackdropDataAttributes[PreviewCardBackdropDataAttributes["open"] = CommonPopupDataAttributes.open] = "open"; /** * Present when the preview card is closed. */ PreviewCardBackdropDataAttributes[PreviewCardBackdropDataAttributes["closed"] = CommonPopupDataAttributes.closed] = "closed"; /** * Present when the preview card is animating in. */ PreviewCardBackdropDataAttributes[PreviewCardBackdropDataAttributes["startingStyle"] = CommonPopupDataAttributes.startingStyle] = "startingStyle"; /** * Present when the preview card is animating out. */ PreviewCardBackdropDataAttributes[PreviewCardBackdropDataAttributes["endingStyle"] = CommonPopupDataAttributes.endingStyle] = "endingStyle"; return PreviewCardBackdropDataAttributes; }({});