Skip to content

Releases: emotion-js/emotion

@emotion/[email protected]

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

@emotion/[email protected]

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

@emotion/[email protected]

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/[email protected]

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/[email protected]

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/[email protected]

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

Patch Changes

@emotion/[email protected]

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/[email protected]

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

@emotion/[email protected]

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

@emotion/[email protected]

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