@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.17 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.InputDataAttributes = void 0;
let InputDataAttributes = exports.InputDataAttributes = /*#__PURE__*/function (InputDataAttributes) {
/**
* Present when the input is disabled.
*/
InputDataAttributes["disabled"] = "data-disabled";
/**
* Present when the input is in valid state (when wrapped in Field.Root).
*/
InputDataAttributes["valid"] = "data-valid";
/**
* Present when the input is in invalid state (when wrapped in Field.Root).
*/
InputDataAttributes["invalid"] = "data-invalid";
/**
* Present when the input has been touched (when wrapped in Field.Root).
*/
InputDataAttributes["touched"] = "data-touched";
/**
* Present when the input's value has changed (when wrapped in Field.Root).
*/
InputDataAttributes["dirty"] = "data-dirty";
/**
* Present when the input is filled (when wrapped in Field.Root).
*/
InputDataAttributes["filled"] = "data-filled";
/**
* Present when the input is focused (when wrapped in Field.Root).
*/
InputDataAttributes["focused"] = "data-focused";
return InputDataAttributes;
}({});