@adaptavant/eds-core@1.49.0

Minor Changes​

  • 559e1ae: ComboboxEditor now runs on the shared Floating UI dropdown engine. No prop or type changes.

    • Tab closes the menu.
    • In single select mode, Escape and Tab clear leftover search text, as a click outside already did.
    • Closing no longer adds an empty line or calls onUpdate when nothing was typed.
    • The popover is no longer in the DOM while the menu is closed, so tests that query it while closed need updating.
    • Clicking the field label focuses the editor and opens the menu.
  • cf54c31: ComboboxMultiSelect now shares the list navigation and dismissal behaviour of the other dropdowns. No prop or type changes.

    • aria-activedescendant moves from the listbox to the input.
    • Home and End move the caret in the input rather than the highlight.
    • onClose fires shortly after the menu closes rather than immediately, and no longer fires for Escape or Tab when the menu was already closed.
    • Filtering the highlighted option out of the list clears the highlight.
    • VoiceOver announces an option that is already selected as "Selected".
  • d931601: SelectMenu: Add search mode.

    • New SelectMenuSearchField and SelectMenuSearchInput exports for filtering options inside the popover
    • SelectMenuListbox accepts noResultsFallback, shown when a search matches nothing
    • SelectMenuItem isSelected is now optional
  • 4fb063b: FilterMenu: Deprecated, along with all its sub-components and types. Use SelectMenu with SelectMenuSearchField and SelectMenuSearchInput instead, swapping each FilterMenu* for its SelectMenu* equivalent. FilterMenu keeps working and will be removed in a future major release.

  • 312c90a: New token schema key added to global.spacing: 10

  • b95e897: useTimeZonePicker: Added getSelectMenuProps, getSelectMenuTriggerProps, getSelectMenuSearchFieldProps, getSelectMenuSearchInputProps, getSelectMenuListboxProps and getSelectMenuItemProps for building the time zone picker with SelectMenu. The getFilterMenu*Props getters still work but are deprecated; swap each for its getSelectMenu*Props equivalent.

  • 0bc640a: Tabs: the default variant now renders TabItem's count as plain text after the label, and a new showSeparator prop draws a line below the tab list with the active indicator on top of it. The default variant's vertical padding goes from 6px to 8px and the small size's active indicator from 1.5px to 2px. The pills variant is unchanged.

Patch Changes​

  • 96d169f: Add a top border to the Table component.

  • 3f2fedc: Calendar: selected today, outside-month days and the selected month use text-inverse on the bg-inverse fill instead of text-onPrimary, so they stay readable on brands that override onPrimary.

  • 9652056: Calendar: The caption month now updates on navigation when the page is translated by Google Translate.

  • 9ba5f99: Login template: colour the Setmore logo with the icon token so it shows in dark mode

  • 575eb5a: Combobox & FilterMenu: fixed arrow key navigation after the search narrows the list.

    • The highlight no longer lands on options the filter has hidden.
    • Arrow keys keep advancing instead of sticking on the highlighted option.
  • 246cbf0: ComboboxEditor: fixed grouped options crashing the editor since 1.48.0.

  • b41ec0f: experimental: trim the entry point's @deprecated message to the actionable sentence.

  • cf54c31: Combobox, ComboboxMultiSelect & TimePicker: fixed the menu closing on its own when reopened right after a close.

  • b23b10e: FilterMenu, SelectMenu, DropdownMenu, Combobox, ComboboxMultiSelect, ComboboxEditor, TimePicker and TimeZonePicker: fixed long lists scrolling down on their own when the pointer rests near the bottom edge. Hovering an option no longer scrolls the list; keyboard navigation still does.