@adaptavant/eds-core@1.54.0
Minor Changes
-
5f8eb50:
ComboboxMultiSelect: Added a virtualized mode for very large option lists. SetisVirtualized, render only the visible rows, give eachComboboxMultiSelectItemandComboboxMultiSelectAllanindex, and use the newonHighlightChangeto scroll the highlighted option into view. Off by default, so existing menus are unchanged. -
6b1a2ff: Added
WalletIcon, the outline wallet used by the booking page's Saved payment tab. -
b27bc13:
SelectMenu: Added an opt-in virtualized mode for very large option lists. SetisVirtualizedand render your own window of rows; the menu keeps keyboard navigation,aria-activedescendant,aria-setsize/aria-posinsetand the live region correct across the full list rather than only the rendered rows.SelectMenutakesisVirtualizedandonHighlightChange,SelectMenuListboxtakesselectedOptionIndex, andSelectMenuItemtakes anindex. Off by default, with no change to existing menus. While virtualized:- Character typeahead is off, so pair the mode with a search field.
isHierarchicalis not supported.isVirtualizedmust not change after mount.
The last two report an error in development.
Patch Changes
-
3719dbd:
TimePicker&DropdownMenu: keyboard navigation stays correct when options or items change while the menu is open.- Arrow keys move to the next row instead of skipping ahead when rows above the highlight are removed.
aria-activedescendantis cleared instead of pointing at a removed row.
FilterMenu: moving the pointer within an item highlights it again after keyboard navigation, the same as the other menus.Removed the unused legacy dropdown engine and shared the item logic across every dropdown. No API changes.
-
b27bc13:
useFilteredOptions:filteredOptionsnow keeps the same array reference while the filtered result is unchanged, so consumers that key on its identity no longer redo work on every render. -
b27bc13:
Combobox,ComboboxMultiSelect,FilterMenu,SelectMenu&TimePicker: fixed the screen reader announcement lagging a keystroke behind a search on Apple devices. The position and total now match the options left after each keystroke. -
Updated dependencies [6b1a2ff]
- @adaptavant/eds-icons@1.19.0