Skip to content

Bump polished from 3.5.1 to 4.0.5 in /ui - #132

Closed
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/ui/polished-4.0.5
Closed

Bump polished from 3.5.1 to 4.0.5 in /ui#132
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/ui/polished-4.0.5

Conversation

@dependabot-preview

Copy link
Copy Markdown
Contributor

Bumps polished from 3.5.1 to 4.0.5.

Release notes

Sourced from polished's releases.

v4.0.5

Documentation

  • readableColor - Update docs and function signature to be clearer about the use of each parameter.

v4.0.4

Bug Fixes

  • transparentize - addressed an issue where we weren't handling cases where floats were greater than 2 decimals. (#548)
  • npm - addressed an issue where .yarn cache was bloating published package size, along with some other ignore optimization. (#553 Thanks @scttcper)

v4.0.3

Bug Fix

  • Updated @babel/runtime to address webpack v5 compatibility issue (Thanks @koba04 - #547 )

v4.0.2

Bug Fix

  • ellipsis: Fixes an issue where the webkit prefix was not properly applied with the multiline option. (Thanks @drakang4 - #546)

Introducing polished.js v4!

We're super stoked to announce that polished.js v4 is officially live! It is available via your package manager of choice:

npm install polished yarn add polished

Release Highlights

New Modules

  • New Module: important: Helper for targeting rules in a style block generated by polished modules that need !important-level specificity. Can optionally specify a rule (or rules) to target specific rules.
  • New Modules: easeIn, easeOut, easeInOut: Will replace timingFunctions to allow for smaller modules for specific use cases instead of the larger, more general original implementation. (#402)

Improvements & Bug Fixes

  • between Improvement: now properly throws an error when mixed units are used for from/toSize and min/maxScreen. This also fixes the same bug in fluidRange. (#445)
  • triangle Improvement: once again properly works with inherit by setting individual properties when inherit is used. (#430)
  • stripUnit Improvement: now only does what it says on the tin: strips a unit from a provided CSS value. Typings are now appropriately set. (#451)
  • getValueAndUnit Improvement: canceled deprecation of this and it now does what it says on the tin: returns the value and unit as an array. Typings are now appropriately set. (#451)
  • ellipsis Improvement: now accepts a lines parameter to truncate multi-line text.

Future Deprecations

  • timingFunctions: This will be deprecated in v5 in favor of easeIn, easeOut, easeInOut.

Breaking Changes

  • fontFace: default is now to look for a local font of the same family-name before downloading. Can be turned off by passing null to localFonts. Previously, if localFonts was not passed explcitily, it would never check.
  • cssVar: deprecated passThrough in favor of being able to pass a defaultValue to better mimic CSS variable functionality.
  • math: square root, factorial, and exponent have been moved to a separate symbol preset found at math/presets/exponentialSymbols/. This can be passed a second parameter to math to restore this functionality.
  • readableColor: now defaults strict to true be default.

Contributor Improvements

  • Testing: We've moved away from snapshot testing to explicit expects. This should make understanding if your tests are truly passing much easier.
  • prettier: We've implemented .prettierrc and .prettierignore to better control formatting in development environments.
Commits
  • ac640bc docs(docs): rebuild docs
  • f0599d1 refactor(readablecolor): update docs and function signature
  • afd5f1c build(library): update deps
  • cee9349 build(library): upgrade dependencies
  • 063c85d fix(transparentize): float alpha value to 2 decimals
  • 5e5520a keep docs
  • 55128c7 fix: Add additional files and folders to npmignore
  • 2b83397 Build(deps-dev): Bump semantic-release from 17.2.1 to 17.2.3
  • 037e801 Build(deps): Bump npm-user-validate from 1.0.0 to 1.0.1
  • 200f841 chore(package.json): bump version for relase
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [polished](https://github.com/styled-components/polished) from 3.5.1 to 4.0.5.
- [Release notes](https://github.com/styled-components/polished/releases)
- [Commits](styled-components/polished@v3.5.1...v4.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 1, 2021
@dependabot-preview

Copy link
Copy Markdown
Contributor Author

Superseded by #140.

@dependabot-preview
dependabot-preview Bot deleted the dependabot/npm_and_yarn/ui/polished-4.0.5 branch February 1, 2021 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants