Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependency styled-components to v6 (#1707)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [styled-components](https://styled-components.com) ([source](https://togithub.com/styled-components/styled-components)) | [`^5.3.5` -> `^6.0.0`](https://renovatebot.com/diffs/npm/styled-components/5.3.6/6.0.8) | [![age](https://developer.mend.io/api/mc/badges/age/npm/styled-components/6.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/styled-components/6.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/styled-components/5.3.6/6.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/styled-components/5.3.6/6.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>styled-components/styled-components (styled-components)</summary> ### [`v6.0.8`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.8) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.7...v6.0.8) #### What's Changed - feat(native): add `toStyleSheet` function by [@​krudos](https://togithub.com/krudos) in [styled-components/styled-components#4124 - fix: prevent `StyleSheetManager` updating context on every render by [@​keeganstreet](https://togithub.com/keeganstreet) in [styled-components/styled-components#4159 - fix(types): ensure typing for static properties defined on third-party components wrapped by styled-components by [@​MartinPELCAT](https://togithub.com/MartinPELCAT) in [styled-components/styled-components#4141 - fix: production mode inconsistent CSS rendering when dynamic property values are the same but property names are different by [@​bcole808](https://togithub.com/bcole808) in [styled-components/styled-components#4132 - fix(types): decrease type complexity by moving off of `JSX.IntrinsicElements` for the supported element list by [@​RJWadley](https://togithub.com/RJWadley) in [styled-components/styled-components#4149 - fix(types): adopt ref typing from forwardedAs by [@​probablyup](https://togithub.com/probablyup) in [styled-components/styled-components#4163 - chore: update typescript reference on issue template by [@​chilled-capybara](https://togithub.com/chilled-capybara) in [styled-components/styled-components#4150 - chore(types): add type exports for `StyleFunction`, `Interpolation` by [@​bcole808](https://togithub.com/bcole808) in [styled-components/styled-components#4140 - chore: updated Contributing guide benchmark instructions by [@​bcole808](https://togithub.com/bcole808) in [styled-components/styled-components#4137 - chore(types): add missing types `CSSProperties`, `CSSObject`, `CSSPseudos` and `CSSKeyframes` by [@​takurinton](https://togithub.com/takurinton) in [styled-components/styled-components#4117 #### New Contributors - [@​takurinton](https://togithub.com/takurinton) made their first contribution in [styled-components/styled-components#4117 - [@​krudos](https://togithub.com/krudos) made their first contribution in [styled-components/styled-components#4124 - [@​chilled-capybara](https://togithub.com/chilled-capybara) made their first contribution in [styled-components/styled-components#4150 - [@​MartinPELCAT](https://togithub.com/MartinPELCAT) made their first contribution in [styled-components/styled-components#4141 - [@​RJWadley](https://togithub.com/RJWadley) made their first contribution in [styled-components/styled-components#4149 **Full Changelog**: styled-components/styled-components@v6.0.7...v6.0.8 ### [`v6.0.7`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.7) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.6...v6.0.7) #### What's Changed - refactor(types): enable `exactOptionalPropertyTypes` check by [@​aspirisen](https://togithub.com/aspirisen) in [styled-components/styled-components#3993 - fix(types): allow number for height/width/etc ([#​4090](https://togithub.com/styled-components/styled-components/issues/4090)) by [@​drewbrend](https://togithub.com/drewbrend) in [styled-components/styled-components#4111 #### New Contributors - [@​aspirisen](https://togithub.com/aspirisen) made their first contribution in [styled-components/styled-components#3993 - [@​drewbrend](https://togithub.com/drewbrend) made their first contribution in [styled-components/styled-components#4111 **Full Changelog**: styled-components/styled-components@v6.0.6...v6.0.7 ### [`v6.0.6`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.6) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.5...v6.0.6) #### What's Changed - fix(types): issues with StyleFunctions and StyledObjects by [@​bcole808](https://togithub.com/bcole808) in [styled-components/styled-components#4107 #### New Contributors - [@​bcole808](https://togithub.com/bcole808) made their first contribution in [styled-components/styled-components#4107 **Full Changelog**: styled-components/styled-components@v6.0.5...v6.0.6 ### [`v6.0.5`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.5) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.4...v6.0.5) #### What's Changed - Fix createGlobalStyle not removing styles on unmount by [@​mdeschamps](https://togithub.com/mdeschamps) in [styled-components/styled-components#4101 #### New Contributors - [@​mdeschamps](https://togithub.com/mdeschamps) made their first contribution in [styled-components/styled-components#4101 **Full Changelog**: styled-components/styled-components@v6.0.4...v6.0.5 ### [`v6.0.4`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.4) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.3...v6.0.4) #### What's Changed - refactor: dev warning on unknown props retargeted specifically toward HTML targets rather than other React components by [@​woodreamz](https://togithub.com/woodreamz) in [styled-components/styled-components#4084 - fix: untyped event handler callbacks by [@​ziolekjj](https://togithub.com/ziolekjj) in [styled-components/styled-components#4086 #### New Contributors - [@​woodreamz](https://togithub.com/woodreamz) made their first contribution in [styled-components/styled-components#4084 - [@​ziolekjj](https://togithub.com/ziolekjj) made their first contribution in [styled-components/styled-components#4086 **Full Changelog**: styled-components/styled-components@v6.0.3...v6.0.4 ### [`v6.0.3`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.3) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.2...v6.0.3) #### What's Changed - fix: StyleSheetManager missing Stylis types by [@​MattIPv4](https://togithub.com/MattIPv4) in [styled-components/styled-components#4078 #### New Contributors - [@​MattIPv4](https://togithub.com/MattIPv4) made their first contribution in [styled-components/styled-components#4078 **Full Changelog**: styled-components/styled-components@v6.0.2...v6.0.3 ### [`v6.0.2`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.2) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.1...v6.0.2) #### What's Changed - fix: StyleSheetManager must accept undefined props by [@​gineika](https://togithub.com/gineika) in [styled-components/styled-components#4069 - fix: replace slow Omit type by [@​gineika](https://togithub.com/gineika) in [styled-components/styled-components#4068 - drop `displayName` in production to save bytes, it's already present in the static className if you're using the babel plugin or equivalent - refactor use of `flatMap` and `at` with ES5-compliant variants #### New Contributors - [@​gineika](https://togithub.com/gineika) made their first contribution in [styled-components/styled-components#4069 **Full Changelog**: styled-components/styled-components@v6.0.1...v6.0.2 ### [`v6.0.1`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.1) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.0...v6.0.1) Fixed an issue where a dev-time warning was being triggered too eagerly. **Full Changelog**: styled-components/styled-components@v6.0.0...v6.0.1 ### [`v6.0.0`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.0) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v5.3.11...v6.0.0) yarn add styled-components #### Changed in this version - fix(types): prevent prop bleed on styling properties (fixes [#​4053](https://togithub.com/styled-components/styled-components/issues/4053), [`c0f8015`](https://togithub.com/styled-components/styled-components/commit/c0f8015af64367938ff9d9debf90fb8005459c6c)) - feat(types): ship csstype via "CSS" namespace ([`e6c4f0a`](https://togithub.com/styled-components/styled-components/commit/e6c4f0a6b1a1c483cf0c433f0d0434bbda124d2c)) - chore: bump stylis to 4.3 (fixes [#​4007](https://togithub.com/styled-components/styled-components/issues/4007), [`fa58875`](https://togithub.com/styled-components/styled-components/commit/fa58875dcbdbff43532c3b9519eb5fc7d009830d)) - reduced some sources of unnecessary branching logic #### Breaking changes in v6 Migration guide → https://styled-components.com/docs/faqs#what-do-i-need-to-do-to-migrate-to-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://togithub.com/styled-components/styled-components/commit/87f511a228e5b13b1ff70a416409e0705e5bf456)); use "as" prop instead - node >= 14 needed **Full Changelog**: styled-components/styled-components@v5.3.7...v6.0.0 ### [`v5.3.11`](https://togithub.com/styled-components/styled-components/releases/tag/v5.3.11) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v5.3.10...v5.3.11) Removed use of the `useDebugValue` hook to rectify older React support. **Full Changelog**: styled-components/styled-components@v5.3.10...v5.3.11 ### [`v5.3.10`](https://togithub.com/styled-components/styled-components/releases/tag/v5.3.10) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v5.3.9...v5.3.10) #### What's Changed - fix: Do not add px to unitless CSS variables by [@​Lazyuki](https://togithub.com/Lazyuki) in [styled-components/styled-components#3975 **Full Changelog**: styled-components/styled-components@v5.3.9...v5.3.10 ### [`v5.3.9`](https://togithub.com/styled-components/styled-components/releases/tag/v5.3.9) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v5.3.8...v5.3.9) ##### What's Changed - \[v5] Make styled components work when the Object prototype is frozen by [@​jportner](https://togithub.com/jportner) in [styled-components/styled-components#3964 **Full Changelog**: styled-components/styled-components@v5.3.8...v5.3.9 ### [`v5.3.8`](https://togithub.com/styled-components/styled-components/releases/tag/v5.3.8) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v5.3.7...v5.3.8) #### What's Changed fix(constants): rework process env guard **Full Changelog**: styled-components/styled-components@v5.3.7-fixed...v5.3.8 ### [`v5.3.7`](https://togithub.com/styled-components/styled-components/compare/v5.3.6...v5.3.7) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v5.3.6...v5.3.7) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), 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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/terraware/terraware-web). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information
2f90fb5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
terraware-web-storybook – ./
terraware-web-storybook-terraformation.vercel.app
terraware-web-storybook-git-main-terraformation.vercel.app
terraware-web-storybook.vercel.app
2f90fb5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
tree-location-web – ./
tree-location-web.vercel.app
tree-location-web-git-main-terraformation.vercel.app
tree-location-web-terraformation.vercel.app