Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introducing polished.js v3.7.0 LTS!
We're excited to release v3.7.0, polished's first Long Term Support (LTS) branch. We will continue to back-port critical bug and security fixes to this branch until the release of v5, at which point v4 will become the new LTS branch. This release also officially deprecates polished v2.x.x.
npm install polished@lts
yarn add polished@lts
Release Highlights
Improvements & Bug Fixes
between
: now properly throws an error when mixed units are used for from/toSize and min/maxScreen. This also fixes the same bug influidRange
. (fluidRange & between don't return the proper calculation when from/toSize don't have the same units as min/maxScreen. #445)readableColor
- Update docs and function signature to be clearer about the use of each parameter.transparentize
- addressed an issue where we weren't handling cases where floats were greater than 2 decimals. (transparentize - float numbers to 2 decimals #548)triangle
Improvement: once again properly works withinherit
by setting individual properties when inherit is used. (Triangle enhancements breakinherit
as a border color #430)Contributor Improvements
.prettierrc
and.prettierignore
to better control formatting in development environments.