@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.
30 lines • 620 B
TypeScript
export declare enum FieldRootDataAttributes {
/**
* Present when the field is disabled.
*/
disabled = "data-disabled",
/**
* Present when the field has been touched.
*/
touched = "data-touched",
/**
* Present when the field's value has changed.
*/
dirty = "data-dirty",
/**
* Present when the field is valid.
*/
valid = "data-valid",
/**
* Present when the field is invalid.
*/
invalid = "data-invalid",
/**
* Present when the field is filled.
*/
filled = "data-filled",
/**
* Present when the field control is focused.
*/
focused = "data-focused",
}