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 868 B
import { TransitionStatusDataAttributes } from "../../utils/stateAttributesMapping.js"; export let CollapsiblePanelDataAttributes = function (CollapsiblePanelDataAttributes) { /** * Present when the collapsible panel is open. */ CollapsiblePanelDataAttributes["open"] = "data-open"; /** * Present when the collapsible panel is closed. */ CollapsiblePanelDataAttributes["closed"] = "data-closed"; /** * Present when the panel is animating in. */ CollapsiblePanelDataAttributes[CollapsiblePanelDataAttributes["startingStyle"] = TransitionStatusDataAttributes.startingStyle] = "startingStyle"; /** * Present when the panel is animating out. */ CollapsiblePanelDataAttributes[CollapsiblePanelDataAttributes["endingStyle"] = TransitionStatusDataAttributes.endingStyle] = "endingStyle"; return CollapsiblePanelDataAttributes; }({});