Update dependency styled-components to v6.0.0-rc.0 #80

Merged
kjuulh merged 1 commits from renovate/all into main 2023-05-04 22:01:50 +02:00
Owner

This PR contains the following updates:

Package Type Update Change
styled-components (source) dependencies patch 6.0.0-beta.15 -> 6.0.0-rc.0

Release Notes

styled-components/styled-components

v6.0.0-rc.0

Compare Source

yarn add styled-components@beta

Changed in this version

Upcoming

Breaking changes in v6

  • now using stylis v4 (if using stylis-plugin-rtl you'll need to upgrade to the newer version)
  • styled-components now provides its own types; if you installed @types/styled-components in the past, you'll want to remove it
  • dropped $as and $forwardedAs props (use as or forwardedAs)
  • dropped automatic prop filtering; use transient props ($ prefix) for stuff you don't want to be passed to child component / HTML
  • StyleSheetManager
    • replaced disableVendorPrefixes with enableVendorPrefixes prop
    • dropped automatic vendor prefixing; if you need to support older browsers, you can re-enable it easily with the above prop
      <StyleSheetManager enableVendorPrefixes>
        {/* your React tree and ThemeProvider goes here */}
      </StyleSheetManager>
      
  • dropped deprecated withComponent API (87f511a); use "as" prop instead
  • node >= 14 needed

New Contributors (thank you!)

Full Changelog: https://github.com/styled-components/styled-components/compare/v6.0.0-beta.15...v6.0.0-rc.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [styled-components](https://styled-components.com/) ([source](https://github.com/styled-components/styled-components)) | dependencies | patch | [`6.0.0-beta.15` -> `6.0.0-rc.0`](https://renovatebot.com/diffs/npm/styled-components/6.0.0-beta.15/6.0.0-rc.0) | --- ### Release Notes <details> <summary>styled-components/styled-components</summary> ### [`v6.0.0-rc.0`](https://github.com/styled-components/styled-components/releases/tag/v6.0.0-rc.0) [Compare Source](https://github.com/styled-components/styled-components/compare/v6.0.0-beta.15...v6.0.0-rc.0) yarn add styled-components@beta #### Changed in this version - fix: correct dep declaration for styled-components by [@&#8203;PeachScript](https://github.com/PeachScript) in https://github.com/styled-components/styled-components/pull/3995 - fix scenario where stylis failed to process some self references in CSS ([`6cee6c2`](https://github.com/styled-components/styled-components/commit/6cee6c24f7e8dd4f0ada724fcea397d03e778ea2)) #### Upcoming - `@layer` rule support (https://github.com/thysultan/stylis/pull/313) - v6 migration documentation #### Breaking changes in v6 - now using `stylis` v4 (if using `stylis-plugin-rtl` you'll need to upgrade to the newer version) - styled-components now provides its own types; if you installed `@types/styled-components` in the past, you'll want to remove it - dropped `$as` and `$forwardedAs` props (use `as` or `forwardedAs`) - dropped automatic prop filtering; use transient props (`$` prefix) for stuff you don't want to be passed to child component / HTML - `StyleSheetManager` - replaced `disableVendorPrefixes` with `enableVendorPrefixes` prop - dropped automatic vendor prefixing; if you need to support older browsers, you can re-enable it easily with the above prop ```tsx <StyleSheetManager enableVendorPrefixes> {/* your React tree and ThemeProvider goes here */} </StyleSheetManager> ``` - dropped deprecated `withComponent` API ([`87f511a`](https://github.com/styled-components/styled-components/commit/87f511a228e5b13b1ff70a416409e0705e5bf456)); use "as" prop instead - node >= 14 needed #### New Contributors (thank you!) - [@&#8203;PeachScript](https://github.com/PeachScript) made their first contribution in https://github.com/styled-components/styled-components/pull/3995 **Full Changelog**: https://github.com/styled-components/styled-components/compare/v6.0.0-beta.15...v6.0.0-rc.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNjAuMCIsInVwZGF0ZWRJblZlciI6IjM0LjE2MC4wIn0=-->
kjuulh force-pushed renovate/all from 76b9b5eb6f to 3859d5e9a5 2023-05-04 21:32:21 +02:00 Compare
kjuulh merged commit 3859d5e9a5 into main 2023-05-04 22:01:50 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kjuulh/microblog#80
No description provided.