Skip to content

Releases: emotion-js/emotion

@emotion/css@11.13.0

20 Jul 07:37
70ad1d3
Compare
Choose a tag to compare

Minor Changes

  • #3198 d8ff8a5 Thanks @Andarist! - Migrated away from relying on process.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/cache@11.13.0
    • @emotion/serialize@1.3.0
    • @emotion/sheet@1.4.0
    • @emotion/utils@1.4.0

@emotion/cache@11.13.0

20 Jul 07:37
70ad1d3
Compare
Choose a tag to compare

Minor Changes

  • #3198 d8ff8a5 Thanks @Andarist! - Migrated away from relying on process.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! - Added edge-light and workerd conditions to package.json manifest to better serve users using Vercel Edge and Cloudflare Workers.

Patch Changes

  • Updated dependencies [d8ff8a5, a9f6912]:
    • @emotion/sheet@1.4.0
    • @emotion/utils@1.4.0

@emotion/weak-memoize@0.4.0

19 Jul 06:52
d57cfcb
Compare
Choose a tag to compare

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

19 Jul 06:52
d57cfcb
Compare
Choose a tag to compare

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

19 Jul 06:52
d57cfcb
Compare
Choose a tag to compare

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

19 Jul 06:52
d57cfcb
Compare
Choose a tag to compare

Patch Changes

  • #3206 d1994c4 Thanks @DiegoAndai! - Improved compatibility with the upcoming @types/react for React 19 where the global JSX namespace doesn't exist anymore

  • #3208 56109e7 Thanks @Andarist! - Only forward defined refs 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

19 Jul 06:52
d57cfcb
Compare
Choose a tag to compare

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 for StyleSheet's constructor has been fixed. It incorrectly was specifying that options were optional when in reality they weren't.

@emotion/serialize@1.2.0

19 Jul 06:52
d57cfcb
Compare
Choose a tag to compare

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/unitless@0.9.0
    • @emotion/memoize@0.9.0
    • @emotion/utils@1.3.0
    • @emotion/hash@0.9.2

@emotion/react@11.12.0

19 Jul 06:52
d57cfcb
Compare
Choose a tag to compare

Minor Changes

  • #2815 65a1eea Thanks @srmagura! - Automatic labeling at runtime is now an opt-in feature. Define globalThis.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 global JSX namespace doesn't exist anymore

  • #3208 56109e7 Thanks @Andarist! - Only forward defined refs 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

@emotion/primitives-core@11.12.0

19 Jul 06:52
d57cfcb
Compare
Choose a tag to compare

Minor Changes

  • #2818 8546dd0 Thanks @srmagura! - Source code has been migrated to TypeScript so from now on type declarations will be available in the published package.

Patch Changes

  • #3208 56109e7 Thanks @Andarist! - Only forward defined refs to improve compatibility with the upcoming React 19