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.

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