Component options
ContentOptionsinterface
Shared state, registered option collection, and listbox content.
OptionOptionsinterface
Stable option identity, selection value, rendered content, and optional typeahead text.
TriggerOptionsinterface
Shared select state and the button content that names the current choice.
Controls
Hydration schemas
StateSchemavariable
Effect Schema used by makeState to encode, decode, and hydrate Select state.
State construction
makeCollectionvariable
Creates a scoped Collection for Select items.
makeStatefunction
Creates hydrated Select state. The caller supplies id; value and activeId default null, open false, and loop true.
State models
InitialStateinterface
Required popup ID with optional initial selection, visibility, focus, and wrap policy.
Stateinterface
Popup identity, committed value, visibility, and active option.
State transitions
selectfunction
Commits an option ID and value, then marks the popup closed.