Releases: emotion-js/emotion
@emotion/[email protected]
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
- Updated dependencies [
d8ff8a5
,a9f6912
]:- @emotion/[email protected]
- @emotion/[email protected]
- @emotion/[email protected]
- @emotion/[email protected]
@emotion/[email protected]
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
- Updated dependencies [
d8ff8a5
,a9f6912
]:- @emotion/[email protected]
- @emotion/[email protected]
@emotion/[email protected]
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/[email protected]
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/[email protected]
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/[email protected]
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/[email protected]
- @emotion/[email protected]
- @emotion/[email protected]
- @emotion/[email protected]
@emotion/[email protected]
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/[email protected]
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
- Updated dependencies [
fc4d27c
,7f8db2d
,16d8a8c
,ea2c397
]:- @emotion/[email protected]
- @emotion/[email protected]
- @emotion/[email protected]
- @emotion/[email protected]
@emotion/[email protected]
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/[email protected]
- @emotion/[email protected]
- @emotion/[email protected]
- @emotion/[email protected]
- @emotion/[email protected]