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.

31 lines 912 B
export let FieldItemDataAttributes = /*#__PURE__*/function (FieldItemDataAttributes) { /** * Present when the field is disabled. */ FieldItemDataAttributes["disabled"] = "data-disabled"; /** * Present when the field is in a valid state. */ FieldItemDataAttributes["valid"] = "data-valid"; /** * Present when the field is in an invalid state. */ FieldItemDataAttributes["invalid"] = "data-invalid"; /** * Present when the field has been touched. */ FieldItemDataAttributes["touched"] = "data-touched"; /** * Present when the field's value has changed. */ FieldItemDataAttributes["dirty"] = "data-dirty"; /** * Present when the field is filled. */ FieldItemDataAttributes["filled"] = "data-filled"; /** * Present when the field control is focused. */ FieldItemDataAttributes["focused"] = "data-focused"; return FieldItemDataAttributes; }({});