github Shopify/polaris v4.25.2

latest releases: @shopify/polaris@13.2.0, @shopify/stylelint-polaris@16.0.1, @shopify/polaris-tokens@9.0.1...
3 years ago

⚠️ This release was released as a patch version in error. Please use v4.26.0.

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.