import { type ElementType } from 'react'; import type { SelectProps } from './types'; /** * Select root component providing context and state management for all select * components. Supports controlled and uncontrolled patterns with full keyboard * navigation and accessibility. * * When nested inside a ``, it reads the Field's `invalid`, `disabled`, * `required` and `readOnly` values automatically, and inherits the coordinated * ARIA IDs so FieldLabel / FieldDescription / FieldErrorMessage wire to the * SelectTrigger without extra plumbing. Direct props on `