Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependency polished to v4 (main) (elastic#206220)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [polished](https://polished.js.org) ([source](https://github.com/styled-components/polished)) | dependencies | major | [`^3.7.2` -> `^4.3.1`](https://renovatebot.com/diffs/npm/polished/3.7.2/4.3.1) | --- ### Release Notes <details> <summary>styled-components/polished (polished)</summary> ### [`v4.3.1`](https://github.com/styled-components/polished/releases/tag/v4.3.1) [Compare Source](https://github.com/styled-components/polished/compare/v4.3.0...v4.3.1) ### Bug Fixes & Improvements - Remove annotate-pure-calls plugin to address incompatibility with later versions of rollup. - Update dependencies. ### [`v4.3.0`](https://github.com/styled-components/polished/compare/v4.2.2...v4.3.0) [Compare Source](https://github.com/styled-components/polished/compare/v4.2.2...v4.3.0) ### [`v4.2.2`](https://github.com/styled-components/polished/releases/tag/v4.2.2) [Compare Source](https://github.com/styled-components/polished/compare/v4.2.1...v4.2.2) ### Bug Fixes - **Color Modules** - addresses an issue with longer floats in color values. ([#&elastic#8203;610](https://github.com/styled-components/polished/issues/610) - Thanks to [@&elastic#8203;levymetal](https://github.com/levymetal)) ### [`v4.2.1`](https://github.com/styled-components/polished/releases/tag/v4.2.1) [Compare Source](https://github.com/styled-components/polished/compare/v4.2.0...v4.2.1) ### Bug Fixes - **`hls(a)`** - now properly parses percentages for opacity. - **`rgb(a)`** - now properly parses percentages for opacity. ### [`v4.2.0`](https://github.com/styled-components/polished/releases/tag/v4.2.0) [Compare Source](https://github.com/styled-components/polished/compare/v4.1.4...v4.2.0) ### Improvements - **color Modules** - now support space-separated CSS color values for rgb(a) and hsl(a). ([#&elastic#8203;605](https://github.com/styled-components/polished/issues/605)) - **`rgb`** - now accepts optional opacity value. - **`hsl`** - now accepts optional opacity value. ### [`v4.1.4`](https://github.com/styled-components/polished/releases/tag/v4.1.4) [Compare Source](https://github.com/styled-components/polished/compare/v4.1.3...v4.1.4) ### Bug Fixes - **mix** - remove unnecessary division by 1 ([#&elastic#8203;59](https://github.com/styled-components/polished/issues/59)) ### [`v4.1.3`](https://github.com/styled-components/polished/releases/tag/v4.1.3) [Compare Source](https://github.com/styled-components/polished/compare/v4.1.2...v4.1.3) ### Bug Fixes - Addressed several performance issues with regexes. ### [`v4.1.2`](https://github.com/styled-components/polished/releases/tag/v4.1.2) [Compare Source](https://github.com/styled-components/polished/compare/v4.1.1...v4.1.2) ### Bug Fixes - **fluidRange** - updated return value to use an array to address unclear object property typing error in flow. ### [`v4.1.1`](https://github.com/styled-components/polished/releases/tag/v4.1.1) [Compare Source](https://github.com/styled-components/polished/compare/v4.1.0...v4.1.1) ### Bug Fixes - **scarf** - removed scarf analytics package due to yarn incompatibilities and concerns over GDPR compliance. ### [`v4.1.0`](https://github.com/styled-components/polished/releases/tag/v4.1.0) [Compare Source](https://github.com/styled-components/polished/compare/v4.0.5...v4.1.0) ### 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 to `rem` values to `px` values. ([#&elastic#8203;376](https://github.com/styled-components/polished/issues/376)) ##### Analytics - We are now leveraging [Scarf](https://scarf.sh) to track package analytics. You can opt-out of this functionality by following [these instructions](https://docs.scarf.sh/package-analytics/#as-a-user-of-a-package-using-scarf-js-how-can-i-opt-out-of-analytics) ### [`v4.0.5`](https://github.com/styled-components/polished/releases/tag/v4.0.5) [Compare Source](https://github.com/styled-components/polished/compare/v4.0.4...v4.0.5) #### Documentation - `readableColor` - Update docs and function signature to be clearer about the use of each parameter. ### [`v4.0.4`](https://github.com/styled-components/polished/releases/tag/v4.0.4) [Compare Source](https://github.com/styled-components/polished/compare/v4.0.3...v4.0.4) ### Bug Fixes - **transparentize** - addressed an issue where we weren't handling cases where floats were greater than 2 decimals. ([#&elastic#8203;548](https://github.com/styled-components/polished/issues/548)) - **npm** - addressed an issue where .yarn cache was bloating published package size, along with some other ignore optimization. ([#&elastic#8203;553](https://github.com/styled-components/polished/issues/553) Thanks [@&elastic#8203;scttcper](https://github.com/scttcper)) ### [`v4.0.3`](https://github.com/styled-components/polished/releases/tag/v4.0.3) [Compare Source](https://github.com/styled-components/polished/compare/v4.0.2...v4.0.3) ### Bug Fix - Updated [@&elastic#8203;babel/runtime](https://github.com/babel/runtime) to address webpack v5 compatibility issue (Thanks [@&elastic#8203;koba04](https://github.com/koba04) - [#&elastic#8203;547](https://github.com/styled-components/polished/issues/547) ) ### [`v4.0.2`](https://github.com/styled-components/polished/releases/tag/v4.0.2) ### Bug Fix - `ellipsis`: Fixes an issue where the `webkit` prefix was not properly applied with the multiline option. (Thanks [@&elastic#8203;drakang4](https://github.com/drakang4) - [#&elastic#8203;546](https://github.com/styled-components/polished/issues/546)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlNoYXJlZFVYIiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==--> --------- Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com> Co-authored-by: kibanamachine <[email protected]> Co-authored-by: jennypavlova <[email protected]> Co-authored-by: Shahzad <[email protected]>
- Loading branch information