This repository has been archived by the owner on Jan 13, 2023. It is now read-only.
Update emotion monorepo to v11.9.3 (minor) #468
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
11.7.1
->11.9.3
11.6.0
->11.9.3
Release Notes
emotion-js/emotion (@emotion/react)
v11.9.3
Compare Source
Patch Changes
#2766
5b3f4d78
Thanks @Andarist! -ThemeProviderProps["children"]
was marked as a required prop asThemeProvider
should always wrap some subtree.Updated dependencies [
26e4e3e8
,6c2d7a60
,5e81f213
]:v11.9.0
Compare Source
Patch Changes
#2700
d9357621
Thanks @arturmuller! - Fixed a false positive warning forcontent
properties that includedvar()
.Updated dependencies [
d9357621
]:v11.8.2
Compare Source
Patch Changes
ff3cb164
Thanks @Jack-Works! - ChangeGlobal
component to use theStyleSheet
constructor of the currentcache.sheet
. This is useful whencache.sheet
is not the default implementation. Thanks to that the inner sheet constructed byGlobal
can share the behavior with its "main" sheet that is hold by thecache
.v11.8.1
Compare Source
Patch Changes
39ac5b99
Thanks @Andarist! - Fixed a transpilation issue that causeduseInsertionEffect
to be referenced directly in the specifiers list of the import statement. This has caused build errors in the consuming tools since the import statement can only reference known exports of a module.v11.8.0
Compare Source
Minor Changes
2f27156a
Thanks @Andarist! - Refactored code to use the upcomingReact.useInsertionEffect
when it's available (this is a new hook that is going to be introduced in React 18). This shouldn't have any effect on existing codebases and the change should be transparent.Patch Changes
242f7d8c
Thanks @Andarist! - Added@emotion/babel-plugin
as a dependency - this is an actual dependency of the@emotion/react/macro
entrypoint and it has to be explicitly declared to fix compatibility with strict package managers.#2615
3d672acd
Thanks @srmagura! - Fix an edge case where runtime label extraction in class components led to invalid class names in Firefox. This only affected the development build of Emotion.Updated dependencies [
2f27156a
]:emotion-js/emotion (@emotion/styled)
v11.9.3
Compare Source
Patch Changes
shouldForwardProp
option ofstyled
fromPropertyKey
tostring
in the TypeScript definitions.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.Updated dependencies [
26e4e3e8
,5e81f213
,3055efdd
]:v11.8.1
Compare Source
Patch Changes
39ac5b99
Thanks @Andarist! - Fixed a transpilation issue that causeduseInsertionEffect
to be referenced directly in the specifiers list of the import statement. This has caused build errors in the consuming tools since the import statement can only reference known exports of a module.v11.8.0
Compare Source
Minor Changes
2f27156a
Thanks @Andarist! - Refactored code to use the upcomingReact.useInsertionEffect
when it's available (this is a new hook that is going to be introduced in React 18). This shouldn't have any effect on existing codebases and the change should be transparent.Patch Changes
d2531639
,2f27156a
]:Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 these updates again.
This PR has been generated by Mend Renovate. View repository job log here.