@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.
27 lines • 1.09 kB
JavaScript
export let 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;
}({});