theme-starter
theme-starter copied to clipboard
Bump @emotion/styled from 11.8.1 to 11.10.4
Bumps @emotion/styled from 11.8.1 to 11.10.4.
Release notes
Sourced from @emotion/styled
's releases.
@emotion/styled
@11
.10.4Patch Changes
#2867
89b6dbb3
Thanks@Andarist
! - Externalized code referencingReact.useInsertionEffect
to a separate@emotion/use-insertion-effect-with-fallbacks
package. This package should be used in your defined externals if you bundle Emotion for whatever reason. It referencesuseInsertionEffect
in a very specific way that allows us to use it conditionally. However, if the code consuming Emotion is bundled as a library with Emotion in it then some bundlers might change the way in which we referenceuseInsertionEffect
and that might create problems for bundlers used to consume the said library code. By externalizing this new package you can still bundle Emotion if you want to without running into this problem as you won't "destroy" the carefully crafted reference touseInsertionEffect
in the process.Note that we don't recommend bundling Emotion. You should have very specific reasons to do so.
Updated dependencies [
89b6dbb3
]:
@emotion/use-insertion-effect-with-fallbacks
@1
.0.0
@emotion/styled
@11
.10.0Minor Changes
#2819
bbad8c79
Thanks@nicksrandall
! -exports
field has been added to thepackage.json
manifest. It limits what files can be imported from a package but we've tried our best to allow importing all the files that were considered to be a part of the public API.#2819
bbad8c79
Thanks@nicksrandall
! - Thanks to the addedexports
field, the package now includes aworker
condition that can be utilized by properly configured bundlers when targeting worker-like environments. It fixes the issue with browser-specific files being prioritized by some bundlers when targeting workers.Patch Changes
@emotion/styled
@11
.9.3Patch Changes
#2759 Thanks
@srmagura
,@Andarist
! - Change the argument of theshouldForwardProp
option ofstyled
fromPropertyKey
tostring
in the TypeScript definitions.#2333
3055efdd
Thanks@Andarist
! -shouldForwardProp
has been changed from being a bivariant method to a contravariant function - it improves the type-safety for those that type this option.#2333
3055efdd
Thanks@antongolub
! -FilteringStyledOptions
andStyledOptions
types no longer require a type argument for theProps
generic.
Commits
6835850
Version Packages (#2872)89b6dbb
Move conditionaluseInsertionEffect
declarations into separate package (#2867)28522cd
Upgrade Yarn (#2870)f2608b3
Version Packages (#2865)b9b8b74
Fixed a regression that could cause a crash when looking for an ignoring comm...c60d646
Version Packages (#2860)df434ea
Pass--no-immutable
to Yarn when regenerating lockfile after versioning pac...2de94ae
Regenerate lockfile after versioning packages005e211
Fixed an issue in the styles minifier that caused interpolations to be someti...0ffd606
Fixed the ignore flag not disabling the warning when there are multiple block...- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)