Skip to content

v3.13.0

Compare
Choose a tag to compare
@alex-page alex-page released this 22 Apr 19:41

Deprecations

  • Deprecated Navigation Item’s iconBody prop. Pass a string into the icon prop instead. (#1299)

Enhancements

  • Added an onChange handler to CheckableButton (#1326)
  • Labelled now wraps its content, no longer causing a label + action to get unreasonably squished (#1309)
  • Updated polaris-tokens from 2.3.0 to 2.5.0 and converted all use of duration values (#1268)
  • More consistent use of text-breakword mixin (#1306)
  • Added an icon and screen reader hint when Link opens a new tab (#1247)
  • Updated open styleguide pr to create multiple pull requests to update polaris-react across multiple repos (#1069)
  • Updated the pull request creation to retry when it fails (#1069)
  • Exported overlay and layer data attributes for use in consumer components (#1266)
  • Added new frame-with-nav-max-width variable and matching frame-with-nav-when-not-max-width mixin (#1311)
  • Updated Resizer to schedule handleHeightCheck to run in next animation frame (#1301)

Bug fixes

  • Fixed ResourceList actions from show at incorrect breakpoints or while in select mode (#1333)
  • Fixed Search overlay stretching below the viewport (#1260)
  • Added onChange and value to select AppProvider examples to remove console errors (#1320)
  • Fixed promoted bulk actions in ResourceList not properly disabling (#1317) (thanks @jineshshah36 for the issue report)
  • Fixed ResourceList header from displaying when EmptySearchResult exists (#1286)
  • Stopped passing the polaris context into the div rendered by Scrollable (#1271)
  • Fixed clickable area on sortable column headers on DataTable (#1273)

Development workflow

  • Upgraded Storybook to v5 (#1140)

Dependency upgrades

  • Remove core-js (#1328)
  • Upgraded Polaris icons to include the full icon set (#1284)

Code quality

  • Migrated the refs in DropZone to use the new createRef API (#1063)
  • Updated ResourceList to no longer use componentWillReceiveProps(#1235)
  • Updated Tabs to no longer use componentWillReceiveProps(#1221)
  • Removed an unneeded media query from Modal's Header component (#1272)
  • Replaced all instances where we pass a string representing a bundled icon into Button. Prefer passing in the React Component from @shopify/polaris-icons (#1297)