github Shopify/polaris v9.4.0

9.4.0 - 2022-04-08

Enhancements

  • Increased token coverage by creating @keyframes tokens and replacing hardcoded instances (5427)
  • Added support for setting a ReactNode on DataTable totalsName prop (#5454)
  • Added a verticalContent prop to TextField to support rendering markup above the input value (#5392)
  • Added a suggestion prop on TextField to support inline autocomplete (5303)
  • Added support for setting ariaAutocomplete to both on Combobox.TextField (5303)
  • Added a willLoadMoreOptions prop to Combobox that's passed to Listbox through context so that onKeyToBottom is only called if willLoadMoreOptions is true (5303)
  • Improved Autocomplete performance when options are lazy loaded by passing willLoadMoreResults to the Combobox willLoadMoreOptions prop when present (5303)
  • Updated Listbox scroll UX to behave natively when navigating options with keyboard instead of scrolling the active option to the top of the visible list (5303)

Bug fixes

  • Fixed automatic selection of first navigable Listbox.Option not resetting in Listbox (5303)
  • Fixed subdued styles not applying to Listbox.TextOption when disabled (5303)
  • Fixed Listbox.TextOption keyboard focus ring flashing when focus moves to an option being scrolled into view (5303)

Don't miss a new polaris release

NewReleases is sending notifications on new releases.