github Shopify/polaris v4.26.0

latest releases: @shopify/polaris@13.4.0, @shopify/polaris-icons@9.1.0, @shopify/polaris@13.3.0...
3 years ago

Enhancements

  • Added spacing to EmptyState when within content to account for new illustration styles (#3047)
  • Changed Resource List to a generic functional component (thanks to @athornburg)
  • Made the renderItem function infer the type of the items prop (thanks to @athornburg)
  • Added a fullWidth prop to EmptyState to support full width layout within a content context (#2992)
  • Added an emptyState prop to ResourceList to support in context empty states in list views (#2569)
  • Set active prop of Popover to true on keyDown in ComboBox to fix Autocomplete suggestions not showing when searching and selecting via keyboard (#3028)
    Set active prop of Popover to true on keyDown in ComboBox to fix Autocomplete suggestions not showing when searching and selecting via keyboard (#3028)
  • Increased the max-width of the EmptyState content to 400px (#3040)

Development workflow

  • Updated how global animations are referenced, in order to publish a single entrypoint for the public Sass API (styles/_public-api.scss), instead of two (styles/_public-api.scss for “vanilla” SCSS and styles/esnext/_public-api.scss for CSS Modules) (#3032)

Code quality

  • Deleted an unused prop and its types in Navigation (#3043)

Don't miss a new polaris release

NewReleases is sending notifications on new releases.