github Shopify/polaris v9.3.0

latest releases: @shopify/polaris@13.9.0, @shopify/polaris@13.8.1, @shopify/stylelint-polaris@16.0.5...
2 years ago

Enhancements

  • Updated Listbox to only scroll when active option outside of view (#5401)
  • Added visual density updates to Tag component for mobile view (#5353)
  • Added visual density updates to Tag component (#5312)
  • Added ReactNode as an accepted prop type to secondaryActions on the Page component (#5258)
  • Added useCapture and options props in KeypressListener to allow passing through those options to the underlying addEventListener call (#5221)
  • Add option to make Thumbnail component transparent (#5109)
  • Replaced hard coded transition values with tokens (5340)
  • Replaced hard coded font-size and line-height values with tokens (5355)
  • Replaced hard coded spacing values with tokens (5364)
  • Simplified usage of color tokens (5360)
  • Increased token coverage by replacing hard coded border-width values with tokens, replaced sass var with css custom property, removed unused sass vars, and updated Banner Secondary action styles (5389)
  • Created icon-attention and surface-attention color tokens (5389)
  • Increased token coverage by removing unnecessary transitions and animations with hard coded duration values (5405)
  • Added optional visual density updates and zebra striping to DataTable (#5365)

Bug fixes

  • Fixed accessibility issues on focus and option create in Combobox and Listbox (#5298)
  • Fixed accessibility issues and logic to set active descendant in Listbox (#5297)
  • Fixed alignment of right-hand side of Header in Page (#5390)
  • Fixed disabled Listbox.TextOption not setting disabled on the Checkbox rendered when allowMultiple is true (#5428)

Dependency upgrades

  • Bumped @shopify/polaris-icons to v4.18.2 (#5312)
  • Bumped marked from 0.7.0 to 4.0.10 (#4898)

Code quality

  • Replace calc() with space token equivalent (#5295)

Don't miss a new polaris release

NewReleases is sending notifications on new releases.