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.

37 lines (36 loc) 1.09 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FieldControlDataAttributes = void 0; let FieldControlDataAttributes = exports.FieldControlDataAttributes = /*#__PURE__*/function (FieldControlDataAttributes) { /** * Present when the field is disabled. */ FieldControlDataAttributes["disabled"] = "data-disabled"; /** * Present when the field is in valid state. */ FieldControlDataAttributes["valid"] = "data-valid"; /** * Present when the field is in invalid state. */ FieldControlDataAttributes["invalid"] = "data-invalid"; /** * Present when the field has been touched. */ FieldControlDataAttributes["touched"] = "data-touched"; /** * Present when the field's value has changed. */ FieldControlDataAttributes["dirty"] = "data-dirty"; /** * Present when the field is filled. */ FieldControlDataAttributes["filled"] = "data-filled"; /** * Present when the field control is focused. */ FieldControlDataAttributes["focused"] = "data-focused"; return FieldControlDataAttributes; }({});