/** * TySelectedOptions Web Component * * Out-of-band chip display for a picker (ty-select). * The picker owns the value + form submission; this element just renders the * selected values as dismissible chips, anywhere in the layout. * * Pairs with any element that exposes a comma-joined `value` string and emits a * bubbling `change` event. Labels/flavors are read from the picker's matching * option (`[value="..."]`), so chips stay rich without duplicating data. * * If the picker also emits `open`/`close` (ty-select does), the chips hide * for the duration — the picker's own popup is independently sized/ * positioned and can otherwise visually collide with this row. * * Also registered as `ty-selected-tags` — the original tag name, kept * working indefinitely for backward compatibility. `ty-selected-options` is * the name going forward: it names the element by what it's driven by * (a picker's selected `ty-option`s), not by the chip primitive it happens * to render with. * * @example * ```html * * Bobo Robot * * * ``` * * Custom chips via a