@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.
36 lines (35 loc) • 1.37 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.TabsPanelDataAttributes = void 0;
var _stateAttributesMapping = require("../../internals/stateAttributesMapping");
let TabsPanelDataAttributes = exports.TabsPanelDataAttributes = function (TabsPanelDataAttributes) {
/**
* Indicates the index of the tab panel.
*/
TabsPanelDataAttributes["index"] = "data-index";
/**
* Indicates the direction of the activation (based on the previous active tab).
* @type {'left' | 'right' | 'up' | 'down' | 'none'}
*/
TabsPanelDataAttributes["activationDirection"] = "data-activation-direction";
/**
* Indicates the orientation of the tabs.
* @type {'horizontal' | 'vertical'}
*/
TabsPanelDataAttributes["orientation"] = "data-orientation";
/**
* Present when the panel is hidden.
*/
TabsPanelDataAttributes["hidden"] = "data-hidden";
/**
* Present when the panel is animating in.
*/
TabsPanelDataAttributes[TabsPanelDataAttributes["startingStyle"] = _stateAttributesMapping.TransitionStatusDataAttributes.startingStyle] = "startingStyle";
/**
* Present when the panel is animating out.
*/
TabsPanelDataAttributes[TabsPanelDataAttributes["endingStyle"] = _stateAttributesMapping.TransitionStatusDataAttributes.endingStyle] = "endingStyle";
return TabsPanelDataAttributes;
}({});