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.

31 lines 937 B
export let 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; }({});