Releases: emotion-js/emotion
@emotion/css@11.13.0
Minor Changes
-
#3198
d8ff8a5
Thanks @Andarist! - Migrated away from relying onprocess.env.NODE_ENV
checks to differentiate between production and development builds.Development builds (and other environment-specific builds) can be used by using proper conditions (see here). Most modern bundlers/frameworks already preconfigure those for the user so no action has to be taken.
Default files should continue to work in all environments.
Patch Changes
@emotion/cache@11.13.0
Minor Changes
-
#3198
d8ff8a5
Thanks @Andarist! - Migrated away from relying onprocess.env.NODE_ENV
checks to differentiate between production and development builds.Development builds (and other environment-specific builds) can be used by using proper conditions (see here). Most modern bundlers/frameworks already preconfigure those for the user so no action has to be taken.
Default files should continue to work in all environments.
-
#3215
a9f6912
Thanks @Andarist! - Addededge-light
andworkerd
conditions topackage.json
manifest to better serve users using Vercel Edge and Cloudflare Workers.
Patch Changes
@emotion/weak-memoize@0.4.0
Minor Changes
- #2429
b1d16b0
Thanks @sarayourfriend! - Source code has been migrated to TypeScript. From now on type declarations will be emitted based on that, instead of being hand-written.
@emotion/utils@1.3.0
Minor Changes
- #2359
16d8a8c
Thanks @rjdestigter! - Source code has been migrated to TypeScript. From now on type declarations will be emitted based on that, instead of being hand-written.
@emotion/unitless@0.9.0
Minor Changes
- #2430
fc4d27c
Thanks @sarayourfriend! - Source code has been migrated to TypeScript. From now on type declarations will be emitted based on that, instead of being hand-written.
@emotion/styled@11.12.0
Patch Changes
-
#3206
d1994c4
Thanks @DiegoAndai! - Improved compatibility with the upcoming@types/react
for React 19 where the globalJSX
namespace doesn't exist anymore -
#3208
56109e7
Thanks @Andarist! - Only forward definedref
s to improve compatibility with the upcoming React 19 -
Updated dependencies [
9ca22c6
,a1e881b
,16d8a8c
]:- @emotion/serialize@1.2.0
- @emotion/is-prop-valid@1.3.0
- @emotion/utils@1.3.0
- @emotion/babel-plugin@11.12.0
@emotion/sheet@1.3.0
Minor Changes
- #2431
52aadc6
Thanks @sarayourfriend! - Source code has been migrated to TypeScript. From now on type declarations will be emitted based on that, instead of being hand-written.
Patch Changes
- #2431
52aadc6
Thanks @sarayourfriend! - Type declaration forStyleSheet
's constructor has been fixed. It incorrectly was specifying thatoptions
were optional when in reality they weren't.
@emotion/serialize@1.2.0
Minor Changes
- #2543
9ca22c6
Thanks @danilofuchs! - Source code has been migrated to TypeScript. From now on type declarations will be emitted based on that, instead of being hand-written.
Patch Changes
@emotion/react@11.12.0
Minor Changes
- #2815
65a1eea
Thanks @srmagura! - Automatic labeling at runtime is now an opt-in feature. DefineglobalThis.EMOTION_RUNTIME_AUTO_LABEL = true
before Emotion gets initialized to enable it.
Patch Changes
-
#3206
d1994c4
Thanks @DiegoAndai! - Improved compatibility with the upcoming@types/react
for React 19 where the globalJSX
namespace doesn't exist anymore -
#3208
56109e7
Thanks @Andarist! - Only forward definedref
s to improve compatibility with the upcoming React 19 -
Updated dependencies [
9ca22c6
,b1d16b0
,16d8a8c
]:- @emotion/serialize@1.2.0
- @emotion/weak-memoize@0.4.0
- @emotion/utils@1.3.0
- @emotion/babel-plugin@11.12.0
- @emotion/cache@11.12.0