Update dependency styled-components to v4.4.1
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
styled-components (source) | devDependencies | minor | 4.2.1 -> 4.4.1 |
Release Notes
styled-components/styled-components (styled-components)
v4.4.1
-
Fix
styled-components
'sreact-native
import for React Native Web, by @fiberjw (see #2797) -
Remove dev-time warning if referencing a theme prop without an outer
ThemeProvider
, the check for it isn't smart enough to handle cases with "or" or ternary fallbacks and creates undesirable noise in various third party integrations
v4.4.0
This is the last minor release before v5, please start using the beta and give us feedback!
This is a minor release not a patch release due to this change: #2738. Apologies if this causes some code churn in your projects, it was a long-standing bug that needed fixing.
-
Fix to use
ownerDocument
instead of globaldocument
, by @yamachig (see #2721) -
Backport fix for SSR classname mismatches in development mode for some environments like next.js (see #2701)
-
Fix attrs not properly taking precedence over props
-
Backport fix where classnames are composed in the wrong order if custom class names are passed in (see #2760)
-
Fix add check for style tag detached - sheet in the style tag is null in this case, by @newying61 (see #2707)
v4.3.2
Fix usage of the "css" prop with the styled-components babel macro (relevant to CRA 2.x users), by @jamesknelson (see #2633)
v4.3.1
- Revert #2586; breaks rehydration in dev for certain runtimes like next.js
We'll explore reintroducing it in v5 but better safe than sorry.
v4.3.0
-
Make it possible to initialize
SC_ATTR
andSC_DISABLE_SPEEDY
viaREACT_APP_*
.env variables for easier integration with CRA applications (see #2501) -
Fix components being folded inappropriately when an interim HOC is present (see #2586)
-
Fix
theme
prop for styled native components, also fixestheme
indefaultProps
for them (see #2576) -
Add "forwardedAs" prop to allow deeply passing a different "as" prop value to underlying components when using
styled()
as a higher-order component (see #2580) -
Implement defaultProps folding (see #2597)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.