This repository has been archived by the owner on Jul 6, 2021. It is now read-only.
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.
This PR contains the following updates:
^3.0.4
->^4.0.0
Release Notes
styled-components/polished
v4.1.3
Compare Source
Bug Fixes
v4.1.2
Compare Source
Bug Fixes
v4.1.1
Compare Source
Bug Fixes
v4.1.0
Compare Source
Introducing polished.js v4.1.0!
We're super stoked to announce that polished.js v4.1.0 is officially out! It is available via your package manager of choice. This will be the final non-patch release before v5.
npm install polished
yarn add polished
Release Highlights
New Module
remToPx
: We've introduced a new module to handle converting torem
values topx
values. (#376)Analytics
v4.0.5
Compare Source
Documentation
readableColor
- Update docs and function signature to be clearer about the use of each parameter.v4.0.4
Compare Source
Bug Fixes
v4.0.3
Compare Source
Bug Fix
v4.0.2
Bug Fix
ellipsis
: Fixes an issue where thewebkit
prefix was not properly applied with the multiline option. (Thanks @drakang4 - #546)v3.7.2
Compare Source
Bug Fixes
v3.7.1
Compare Source
Bug Fixes
v3.7.0
Compare Source
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
. (#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. (#548)triangle
Improvement: once again properly works withinherit
by setting individual properties when inherit is used. (#430)Contributor Improvements
.prettierrc
and.prettierignore
to better control formatting in development environments.v3.6.7
Compare Source
Bug Fix
linearGradient
: Properly handles rgba values as the first color stop value and consistently formats all rgba calues in color stops.v3.6.6
Compare Source
master
tomain
as default branchv3.6.5
Compare Source
Bug Fix
cssVar
: Properly handles the exception where the document object is not available in non-browser environments (#518). This simply throws a proper error. It does not enablecssVar
to work server-side.v3.6.4
Compare Source
Bug Fix
rgbToString
: Fixes an issue where passing a rgba color with 0 alpha was incorrectly returning a hex value (#515)v3.6.3
Compare Source
Bug Fix
normalize
: Updates to normalize.css 8.0.1 to fix a regression to fix a regression withmain
not being set todisplay: block
.v3.6.2
Compare Source
Bug Fix
esmodules: true
from theesm
build to fix an issue with ES5 support.v3.6.1
Compare Source
Bug Fix
jsnext:main
bundle reference that was not pointing to an ES5 compatible build.v3.6.0
Compare Source
Build Enhancements
commonjs
bundle and make it the newmain
bundle.bugfixes: true
.uglify
withterser
on minified standalone build.v3.5.2
Compare Source
Bug Fixes
cssVar
: fixed issue where CSS variables set my stylesheets were returning with a leading space and breaking other polished modules when passed the return value. (#493)v3.5.1
Compare Source
Bug Fixes
between
,modularScale
,triangle
: fixed issue where these modules were calling deprecated functionality instripUnit
and creating unnecessary console noise (and subsequent performance problems).v3.5.0
Compare Source
Introducing polished.js v3.5.0!
We're super stoked to announce that polished.js v3.5.0 is officially out! It is available via your package manager of choice. This will be the final non-patch release before v4.
npm install polished
yarn add polished
Release Highlights
New Modules
cssVar
: We've introduced a new module to handle fetching CSS Variable values. We chose to make this a standalone module as opposed to integrating it into all modules to keep module size down.Improvements
readableColor
: You can now turn on strict mode for custom provided return colors. This will ensure that they still meet AA contrasting standards. Otherwise, they will returnblack
orwhite
as normal. This mode is off by default in v3.5. (Thanks @mrmckeb).Bug Fixes
mix
,tint
,shade
: Fixed a bug wheremix
was improperly weighting alpha channels to the second provided color instead of the first. This fix also impactstint
andshade
which implementmix
.Contributors
Future Deprecations
stripUnit
: The optional unit return will be deprecated in v4. Previously, this was implemented to replacegetValueAndUnit
. However, we've decided to keep the extra module and simplifystripUnit
readableColor
: strict mode will be enabled by default in v4, it is currently disabled by default.v3.4.4
Compare Source
Bug Fixes
v3.4.3
Compare Source
Bug Fixes
clip-path
fromhideVisually
(43c69c6) - Thanks @ughitsaaronEnhancements
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.