import { EventEmitter } from '../../stencil-public-runtime'; import type { InputChipAddDetail, InputChipChangeDetail, InputChipErrorDetail, InputChipRemoveDetail, InputChipSize, InputChipVariant } from './mud-input-chip.types'; /** * Input Chip — multi-value text-entry control where each confirmed value * renders as a removable pill (chip / tag). * * Pattern B (molecule, internal DOM, form-associated). The host owns: * - the chip-list state (`chips` prop, two-way bound), * - the inline `` for the next value, * - regex / duplicate / max validation, * - the keyboard contract that lets the citizen navigate between input * and chips with arrow keys + delete chips with Backspace / Enter, * - a `role="status"` live region that announces add / remove / reject. * * The form value submitted to the surrounding `