@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.
33 lines (32 loc) • 1.25 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ScrollAreaViewportDataAttributes = void 0;
let ScrollAreaViewportDataAttributes = exports.ScrollAreaViewportDataAttributes = /*#__PURE__*/function (ScrollAreaViewportDataAttributes) {
/**
* Present when the scroll area content is wider than the viewport.
*/
ScrollAreaViewportDataAttributes["hasOverflowX"] = "data-has-overflow-x";
/**
* Present when the scroll area content is taller than the viewport.
*/
ScrollAreaViewportDataAttributes["hasOverflowY"] = "data-has-overflow-y";
/**
* Present when there is overflow on the horizontal start side.
*/
ScrollAreaViewportDataAttributes["overflowXStart"] = "data-overflow-x-start";
/**
* Present when there is overflow on the horizontal end side.
*/
ScrollAreaViewportDataAttributes["overflowXEnd"] = "data-overflow-x-end";
/**
* Present when there is overflow on the vertical start side.
*/
ScrollAreaViewportDataAttributes["overflowYStart"] = "data-overflow-y-start";
/**
* Present when there is overflow on the vertical end side.
*/
ScrollAreaViewportDataAttributes["overflowYEnd"] = "data-overflow-y-end";
return ScrollAreaViewportDataAttributes;
}({});