Releases
v3.10.0
Enhancements
Added Polaris version information tracking in App Bridge actions (#1087 )
Re-added the navigation’s border-right (#1096 )
Added onScrolledToBottom
prop to Modal
(#1117 )
Updated Navigation.Item
to use Icon
when iconBody
prop is passed in. Renders these icons in an img
tag now. (#1094 )
Added focus state outlines to be visible when using Windows High Contrast Mode for Button
(#1101 )
Bug fixes
Reverted a change that constrained DropZone
height based on inherited wrapper height #1129
Fixed missing rounded corners on Tag
button states (#1078 )
Removed reference to window.Polaris
, which in some cases could be undefined (#1104 )
Added padding and margin to subdued
sections for proper spacing between the header and footer (#1082 )
Removed left margin from vertical Stack
to prevent overflow (#1024 )
Fixed the size differences between SkeletonThumbnail
and Thumbnail
(#1141 ) (thanks @mbaumbach for the issue report )
Refactored ComboBox
tests that were not running (#1137 )
Documentation
Updated related component documentation for Page
, PageActions
, and Pagination
(#1103 )
Improved Modal
documentation for properties only available in a stand-alone app context (#1065 )
Added accessibility documentation about Banner
(#1071 )
Added accessibility documentation for InlineError
(#1073 )
Added accessibility documentation for Loading
(#1075 )
Fixed documentation about the ariaPressed
prop for Button
(#1097 )
Fixed examples using the selected
prop for Autocomplete
(#1053 )
Development workflow
Added viewport meta tag to Storybook frame (#1026 )
Code quality
Removed lodash decorators and replace all occurrences of _.throttle
with debounce
(#1009 )
Removed all occurrences of _.replace
(#1012 )
Added lodash to create-react-app
example (#1010 )
Updated create-react-app
example dependencies (#1010 )
Replaced all occurrences of _.capitalize
with a custom capitalize
function (#1015 )
Replaced all occurrences of _.isObject
with a custom isObject
function (#1011 )
Replaced all occurrences of _.get
with a custom get
function (#1013 )
Moved icons specific to Banner
, DropZone
, and ResourceList
to @shopify/polaris-icons (#1042 )
Updated spinner component to use the Image
component instead of an SVG tag to render (#1042 )
Deprecations
Deprecated passing a React Element into the Icon
component in favor of passing a React Component (#1042 )
Deprecated the untrusted prop in the Icon
component (#1042 )
You can’t perform that action at this time.