Breaking changes
- Update the base font size to
100%
from62.5%
and updaterem
values accordingly, along withpxtorem
rootValue
(#4794)
Enhancements
- Removed
_SECRET_INTERNAL_FilterControl
and_SECRET_INTERNAL_FilterControlProps
exports. These exports have been deprecated since Polaris v5 and are not part of our stable API, which is why we are removing them in a minor release. (#4905)
Migrating from < v8.0.0
Node
Node 16 is now a requirement to run the styleguide
Change to root font size
If your app is using hard coded rems, you'll need to change those to use the rem()
function exported from @shopify/polaris/build/styles/public-api
.
i.e.
1.6rem
would become rem(16px)
32rem
would become rem(320px)