github Shopify/polaris v5.2.0

latest releases: @shopify/polaris@13.9.1, @shopify/polaris@13.9.0, @shopify/polaris@13.8.1...
4 years ago

Enhancements

  • Added optional videoProgress and showVideoProgress props to VideoThumbnail for video progress indicator (#3057)
  • Enabled much easier tree-shaking in consuming apps by having a multi-file build instead of a single-file build (#3137)
  • Labelled component now breaks on long lines of text, regardless of presence of naturally breaking characters (hyphens, whitespace, etc.) (#3156)
  • Added optional isFiltered prop to ResourceList to conditionally render more informative select all button label (#3153)
  • Exported PositionedOverlay component for use in consuming applications (#3161)
  • Updated package.json to use esnext as a custom mainField instead of sewing-kit:esnext to match updated sewing-kit behavior (#3169)
  • Updated type restrictions for Tabs to allow its content prop to accept React.ReactNode instead of string (#3171)

Development workflow

  • Fixed build-consumer script to handle excludes in package.json's files array (#3136)

Code quality

  • Removed the new-top-bar-height sass function and replaced its usage with the --p-top-bar-height custom property (#3158)

Don't miss a new polaris release

NewReleases is sending notifications on new releases.