Key of the current section. Falls back to the first item when it matches nothing.
Emitted with the chosen section's key; the sheet closes and the search clears.
Headed groups listed after Items.
First-class sections, in display order.
The current search text; a way to find a row, cleared on every selection.
Whether the sheet shows a search box.
ReadonlySearchId of the search box's hidden description, which says what Enter does.
Whether the sheet is open.
Sheet header.
The section the button names.
Groups with their matching items; a group whose items all drop out is left out.
The row Enter opens: the first match in display order, once a search is typed. Null with an empty search (the list is not narrowed, so the first row is not a choice) or no matches.
The button's accessible name. An aria-label replaces the button's content for screen readers, so the indicator spans inside it are never announced: the name has to carry their status itself, in the order they appear (unsaved, then error or warning).
Enter in the search box opens the first match. Its default is always blocked: the sheet renders
in place, so inside a host <form> Enter would click the form's first submit button (implicit
submission), even a hidden one such as Run or Regenerate.
The phone replacement for a section rail, tab strip or icon rail: one full-width button that names the current section and opens a searchable "Sections" bottom sheet listing every section, first-class items first, then each SectionPickerGroup under its heading.
Pure chrome with no breakpoint logic: the caller decides when a picker is the right presentation (
@if (IsPhone) { <mj-section-picker …> } @else { <the rail> }). Selection is emitted, never applied; the caller setsActiveKeyback.