Update dependency styled-components to v6.0.0-beta.14 #37

Merged
kjuulh merged 1 commits from renovate/all into main 2023-03-23 16:49:08 +01:00
Owner

This PR contains the following updates:

Package Type Update Change
styled-components (source) dependencies patch 6.0.0-beta.13 -> 6.0.0-beta.14

Release Notes

styled-components/styled-components

v6.0.0-beta.14

Compare Source

yarn add styled-components@beta

Changed in this version

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.13...v6.0.0-beta.14


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.13` -> `6.0.0-beta.14`](https://renovatebot.com/diffs/npm/styled-components/6.0.0-beta.13/6.0.0-beta.14) | --- ### Release Notes <details> <summary>styled-components/styled-components</summary> ### [`v6.0.0-beta.14`](https://github.com/styled-components/styled-components/releases/tag/v6.0.0-beta.14) [Compare Source](https://github.com/styled-components/styled-components/compare/v6.0.0-beta.13...v6.0.0-beta.14) yarn add styled-components@beta #### Changed in this version - **breaking refactor**(stylis): disable vendor prefixing by default by [@&#8203;probablyup](https://github.com/probablyup) in https://github.com/styled-components/styled-components/commit/2b4f6cbd29441f1dc5ab91e26da688157e6809eb - Fix determineTheme & add typing by [@&#8203;benbryant0](https://github.com/benbryant0) in https://github.com/styled-components/styled-components/pull/3966 - Optimization of hot paths by [@&#8203;benbryant0](https://github.com/benbryant0) in https://github.com/styled-components/styled-components/pull/3970 - refactor: adjust className application order by [@&#8203;probablyup](https://github.com/probablyup) in https://github.com/styled-components/styled-components/commit/1e3ffeb98df0c31a82aead9c0b2992cdc9606ea2 - misc code optimizations #### 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;benbryant0](https://github.com/benbryant0) made their first contribution in https://github.com/styled-components/styled-components/pull/3966 **Full Changelog**: https://github.com/styled-components/styled-components/compare/v6.0.0-beta.13...v6.0.0-beta.14 </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 added 1 commit 2023-03-23 16:27:44 +01:00
Update dependency styled-components to v6.0.0-beta.14
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2ef98a7181
kjuulh merged commit 2ef98a7181 into main 2023-03-23 16:49:08 +01: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#37