Skip to content

v3.2.0

Compare
Choose a tag to compare
@danrosenthal danrosenthal released this 04 Dec 19:27

Enhancements

  • Updated TextField to no longer use componentWillReceiveProps(#628)
  • Updated EventListener to no longer use componentWillUpdate (#628)
  • Allowed Icon to accept a React Node as a source (#635) (thanks to @mbriggs for the original issue)
  • Added alignContentFlush prop to ContextualSaveBar (#654)

Bug fixes

  • Fixed Pagination from calling onNext and onPrevious while hasNext and hasPrevious are false for key press events (#643)
  • Removed min-width from FormLayout Items and applying it only to Items used inside a FormLayout.Group (#650)
  • Removed added space in ChoiceList when choice has children on selection but is not selected (#665)
  • Fixed errorOverlayText on Dropzone (#671)
  • Updated the InlineError text color, the error border-color on form fields and the error Icon color to be the same red. (#676)
  • Fixed AppProvider server side rendering support (#696) (thanks @sbstnmsch for the original issue)
  • Fixed TextField autocomplete disabling by setting autocomplete="nope" when autoComplete prop is false (#708)

Documentation

  • Updated documentation links to match the new style guide link structure (#478)

Development workflow

  • yarn run tophat has been removed and its functionality has been moved into the yarn run dev server. Example editing now supports hot-reloading so you don’t need restart the server anymore.

Dependency upgrades

  • Bumped @shopify/polaris-tokens to v2.0.0. This is a breaking change for consumers of color design tokens in languages such as JavaScript and Sass (full release notes)