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.

46 lines 1.17 kB
export declare enum SelectTriggerDataAttributes { /** * Present when the corresponding select is open. */ popupOpen = "data-popup-open", /** * Present when the trigger is pressed. */ pressed = "data-pressed", /** * Present when the select is disabled. */ disabled = "data-disabled", /** * Present when the select is readonly. */ readonly = "data-readonly", /** * Present when the select is required. */ required = "data-required", /** * Present when the select is in valid state (when wrapped in Field.Root). */ valid = "data-valid", /** * Present when the select is in invalid state (when wrapped in Field.Root). */ invalid = "data-invalid", /** * Present when the select has been touched (when wrapped in Field.Root). */ touched = "data-touched", /** * Present when the select's value has changed (when wrapped in Field.Root). */ dirty = "data-dirty", /** * Present when the select has a value (when wrapped in Field.Root). */ filled = "data-filled", /** * Present when the select trigger is focused (when wrapped in Field.Root). */ focused = "data-focused", }