import { type PropertyValues } from 'lit'; import { UiElement } from '../shared/element.js'; import '../tooltip/tooltip.js'; export type TextInputType = 'text' | 'email' | 'password' | 'search' | 'tel' | 'url' | 'number'; /** Heights: sm 32px · md 40px · lg 48px (Carbon touch target). */ export type TextInputSize = 'sm' | 'md' | 'lg'; /** * Carbon-style text input (Carbon `TextInput`). * * Label, helper / warning / error text live in the same shadow root as the ``, * so `for` / `aria-describedby` references resolve. Form-associated: takes * part in `