UNPKG

@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.

42 lines (41 loc) 1.38 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SliderRootDataAttributes = void 0; let SliderRootDataAttributes = exports.SliderRootDataAttributes = /*#__PURE__*/function (SliderRootDataAttributes) { /** * Present while the user is dragging. */ SliderRootDataAttributes["dragging"] = "data-dragging"; /** * Indicates the orientation of the slider. * @type {'horizontal' | 'vertical'} */ SliderRootDataAttributes["orientation"] = "data-orientation"; /** * Present when the slider is disabled. */ SliderRootDataAttributes["disabled"] = "data-disabled"; /** * Present when the slider is in valid state (when wrapped in Field.Root). */ SliderRootDataAttributes["valid"] = "data-valid"; /** * Present when the slider is in invalid state (when wrapped in Field.Root). */ SliderRootDataAttributes["invalid"] = "data-invalid"; /** * Present when the slider has been touched (when wrapped in Field.Root). */ SliderRootDataAttributes["touched"] = "data-touched"; /** * Present when the slider's value has changed (when wrapped in Field.Root). */ SliderRootDataAttributes["dirty"] = "data-dirty"; /** * Present when the slider is focused (when wrapped in Field.Root). */ SliderRootDataAttributes["focused"] = "data-focused"; return SliderRootDataAttributes; }({});