github Shopify/polaris v9.7.0

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

Enhancements

  • Replaced hardcoded padding or margin values with spacing tokens (#5528)
  • Added border-width-4 and border-width-5 tokens and replaced hardcoded values (#5528)
  • Replaced any hardcoded outline-width with border-width (#5528)
  • Added the ability to disable specific dates in the DatePicker, to go along with date ranges (#5356)
  • Added breakpoint CSS custom properties and SCSS media conditions (#5558)
  • Replaced 768px breakpoint mixins and variables with custom media conditions (#5629)
  • Added customListId prop to Listbox (5627)
  • Pass domId as an argument to onActiveOptionChange prop on Listbox (5627)
  • Adding min-height to Popover.Pane when the Popover contains a height prop (#5685)
  • Adjusted a hardcoded padding value for FileUpload and replaced it with a spacing token (#5675)
  • Added disable prop to the action groups title of the Page header (#5702)
  • Added onClick prop to the action groups title of the Page header (#5751)

Bug fixes

  • Used prop-provided selectable value in IndexTable (#5661)
  • Fixed passing inline styles to the root element of the CustomProperties component (#5661)
  • Replaced incorrect usage of aria-expanded on Collapsible with aria-hidden (#5661)
  • Removed usage of deprecated and removed in v18 React types (#5704)
  • Fixed plain-button-backdrop background color on colored backgrounds (#5687)
  • Fixed scrolling bug in DataTable sticky header (#5700)

Documentation

  • Added wrapper with height on Combobox example for autocomplete with loading (#5624)

Dependency upgrades

  • Removed lodash (#5544)
  • Uses more permissive dependency for @types/react and @types/react-dom (#5575)

Code quality

  • Replaced skeleton-content and thumbnail-size mixins with css values (#5630)

Don't miss a new polaris release

NewReleases is sending notifications on new releases.