mirror of
https://github.com/HackPlan/polaris-react.git
synced 2026-04-30 02:05:47 +08:00
2.2 KiB
2.2 KiB
Unreleased changes
Use the changelog guidelines to format new entries. 💜
Use the 🤖Skip Changelog label to ignore a failing changelog check in your pull request if you feel the code changes do not warrant a changelog entry.
Breaking changes
Deprecations
- Deprecated passing
warningto theBannercomponent'sstatusprop in favor ofattention(#1535)
New components
Enhancements
- Added support for dual values to
RangeSlidercomponent (#784) - Updated type restrictions for
AnnotatedSectionto allow itstitleprop to acceptReact.ReactNodeinstead ofstring(#1431) - Added an
attentionoption for theBannercomponent'sstatusproperty (#1535)
Bug fixes
- Fixed an issue where the JavaScript breakpoints incorrectly set the navigation bar collapsed breakpoint (#1475)
- Added a border to
Toastmessages to make them more visible in Windows high contrast mode (#1469) - Add
box-shadowto theBannerto make it more visible in Windows high contrast mode (#1481) - Add
box-shadowto theCardto make it more visible in Windows high contrast mode (#1524)
Documentation
Development workflow
- Updated Storybook to
v5.1.0-alpha.39, improving component searchability in the sidebar [#1488]
Dependency upgrades
-
Removed runtime dependency on
@shopify/imagesas we never needed it at runtime (#1474) -
Remove
@shopify/react-utilities. Replace some of the functionality with@shopify/css-utilitiesor by moving the utilities into polaris itself. (#1473)