Releases: Shopify/polaris-react
Releases · Shopify/polaris-react
v4.17.1
v4.17.0
Enhancements
- Added
showFocusBorderprop to theTopBar.SearchFieldto allow users to add show a border on focus (#2886). - Added a theme prop for
frameOffset(#2887) - Updated the font stack to put
Segoe UIbeforeRoboto(#2891)
Bug fixes
- Fixed right padding styling issue with the
Tagcomponent and remove right padding on a removableTag(#2860). - Fixed secondary navigation spacing when no icon is present (#2874).
Dependency upgrades
- Updated sewing-kit to v0.120.0, and typescript to 3.8.3 (#2873)
Code quality
- Use
downlevel-dtsto produce compatible type definitions for consuming apps using older TypeScript versions (#2875)
v4.16.0
v4.15.2
v4.15.1
v4.15.0
Enhancements
- Added high contrast outline to
Popover,CardandIndicator(#2792) - Removed
overflow: hiddenfromCard(#2806) - Truncated long sort options in
ResourceList(#2809
Bug fixes
- Fixed incorrect used while importing from
polaris-tokens(#2778) - Fixed
DropZonenot supporting new file selection whenallowMultipleisfalse(#2737) - Fixed
Paginationsizing on small screens with tooltips (2747) - Fixed
Popoversetting atabindexand other accessibility attributes on the activator wrapper when theactivatoris disabled (#2473) - Added a
verticalAlignmentprop toResourceItemto support control of content alignment (#2743
Development workflow
- Added
check:custom-propertyjob in travis (#2778) - Exported missing OptionListProps (#2777)
- Omitted the Storybook
AppProviderdecorator for component examples which already contain anAppProvider(#2807) - Added an
omitAppProviderfront matter concept to prevent automatic wrapping of component examples with anAppProvider(#2815)
Code quality
- Removed various type assertions and bumped test coverage (#2638)
v4.14.0
Enhancements
- Added high contrast outline to
ActionList(#2713) - Added high contrast border to
Button(#2712) - Added styled placeholder image to
Avatarwhen initials are blank (#2693) - Added a
preferInputActivatorprop toPopoverto allow better positioning of the overlay (#2754)
Bug fixes
- Updated Polaris Tokens, which now builds modern tokens using TypeScript, fixing issues where Edge threw errors related to modern JavaScript features (#2763)
- Fixed
TrapFocusstealing focus from otherTrapFocus's (#2681) - Fixed focus state color on monochrome
Buttons(#2684) - Fixed container's width on
Modal(#2692) - Fixed the position property for the backdrop on
Selectfrom being overwritten by the focus ring (#2748) - Fixed
ResourceItemActionsvisibility on mouse out (#2742) - Fixed initial server / client render mismatch in
Avatar(#2751)
Development workflow
- Added first implementation of custom property validation (#2616)
- Refactored consumer build test (renamed to system integration test) (#2735)
- Added Storybook Knobs for customizing theme (#2674)
Code quality
v4.13.1
*** Please note that this release required an upgrade to @shopify/polaris-tokens that we have since found breaks in the Edge browser. We are currently working on a fix, and advise you to remain at or downgrade to v4.12.0 until this gets resolved and a new release is available with the fix.
Bug fixes
- Fixed a Sass build error (2703)
v4.13.0
Enhancements
- Replaced customer avatar images (#2453)
- Added an optional
totalsNameprop toDataTableto support custom headings in the totals row (#2660) - Added
cursor: pointertoChoice(#2491)
Bug fixes
- Fixed
Uncaught TypeError: Cannot read property 'rightEdge' of undefinedinDataTable(#2672) - Fixed excessive rendering in
DatePicker(#2671) - Fixed plurality of
DataTabletotals row heading (#2660)
Documentation
- Changed placeholder product names in
Cardcode examples (#2677)
4.12.0
Enhancements
- Added a split variant to
Button(#2329) - Allow DataTable headers to be React Elements (#2635)
- Added support for explicit order of items in
ActionMenu(2057) - Made the
DataTablehorizontalNavigationoptional (#2647)
Bug fixes
- Fixed
ReferenceError: React is not definedinButtonfor theesnextbuild (#2657) - Fixed scrolling with scrollbar not working in Popover when content changes on scroll (#2627)
- Fixed side-effects from being create during
Modals render (#2644) - Work around a build crash when using create-react-app due to a bug in css parsing in
postcss-custom-properties(#2643) - Removed the
visitedCSS styling for tabs using theurlprop (#2639)
Development workflow
- Reworked the yarn splash Github comment and added average splash zone information (#2649)
- Re-enabled the web unit tests in the consumer build test (#2663)