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.

46 lines (45 loc) 1.71 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ScrollAreaScrollbarDataAttributes = void 0; let ScrollAreaScrollbarDataAttributes = exports.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; }({});