@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.
40 lines • 1.54 kB
JavaScript
export let ScrollAreaScrollbarDataAttributes = /*#__PURE__*/function (ScrollAreaScrollbarDataAttributes) {
/**
* Indicates the orientation of the scrollbar.
* @type {'horizontal' | 'vertical'}
*/
ScrollAreaScrollbarDataAttributes["orientation"] = "data-orientation";
/**
* Present when the pointer is over the scroll area.
*/
ScrollAreaScrollbarDataAttributes["hovering"] = "data-hovering";
/**
* Present when the users scrolls inside the scroll area.
*/
ScrollAreaScrollbarDataAttributes["scrolling"] = "data-scrolling";
/**
* Present when the scroll area content is wider than the viewport.
*/
ScrollAreaScrollbarDataAttributes["hasOverflowX"] = "data-has-overflow-x";
/**
* Present when the scroll area content is taller than the viewport.
*/
ScrollAreaScrollbarDataAttributes["hasOverflowY"] = "data-has-overflow-y";
/**
* Present when there is overflow on the horizontal start side.
*/
ScrollAreaScrollbarDataAttributes["overflowXStart"] = "data-overflow-x-start";
/**
* Present when there is overflow on the horizontal end side.
*/
ScrollAreaScrollbarDataAttributes["overflowXEnd"] = "data-overflow-x-end";
/**
* Present when there is overflow on the vertical start side.
*/
ScrollAreaScrollbarDataAttributes["overflowYStart"] = "data-overflow-y-start";
/**
* Present when there is overflow on the vertical end side.
*/
ScrollAreaScrollbarDataAttributes["overflowYEnd"] = "data-overflow-y-end";
return ScrollAreaScrollbarDataAttributes;
}({});