emotion

👩‍🎤 CSS-in-JS library designed for high performance style composition

MIT License

Downloads
711.7M
Stars
17.3K
Committers
323

Bot releases are visible (Hide)

emotion - @emotion/[email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

  • #2651 39ac5b99 Thanks @Andarist! - Fixed a transpilation issue that caused useInsertionEffect 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.
emotion - @emotion/[email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

  • #2651 39ac5b99 Thanks @Andarist! - Fixed a transpilation issue that caused useInsertionEffect 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.
emotion - @emotion/[email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

  • #2600 2f27156a Thanks @Andarist! - Adjusted Enzyme-related code path to accomodate for changes related to the refactor around using React.useInsertionEffect.
emotion - @emotion/[email protected]

Published by github-actions[bot] over 2 years ago

Minor Changes

  • #2600 2f27156a Thanks @Andarist! - Refactored code to use the upcoming React.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

  • #2609 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 - @emotion/[email protected]

Published by github-actions[bot] over 2 years ago

Minor Changes

  • #2600 2f27156a Thanks @Andarist! - Refactored code to use the upcoming React.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

emotion - @emotion/[email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

emotion - @emotion/[email protected]

Published by github-actions[bot] over 2 years ago

Minor Changes

  • #2600 2f27156a Thanks @Andarist! - Introduced registerStyles helper that is shared across between other packages. This is just an internal util that shouldn't be used by packages other than @emotion/* packages.
emotion - @emotion/[email protected]

Published by github-actions[bot] almost 3 years ago

Patch Changes

  • #2585 b830c7dc Thanks @Andarist! - Fixed label extraction crashing in some cases involving variable declarations with array and object patterns.

  • #2585 b830c7dc Thanks @kddc, @Andarist! - Improved label extraction for named function expressions and anonymous functions used as object property values.

  • #2602 b02f349d Thanks @Andarist! - Fixed an issue with styled transformer sometimes not using the used local name for the imported named export when used with importMap.

emotion - @emotion/[email protected]

Published by github-actions[bot] almost 3 years ago

Patch Changes

  • #2590 1554a7e2 Thanks @Andarist! - Upgraded and pinned the version of Stylis - the CSS parser that Emotion uses under the hood.
emotion - @emotion/[email protected]

Published by github-actions[bot] almost 3 years ago

Patch Changes

  • #2577 04681a5f Thanks @Methuselah96! - Export Keyframes type to avoid TypeScript inserting import("@emotion/serialize").Keyframes references into declaration files emitted based on a source files exporting keyframes result. This avoids issues with strict package managers that don't allow accessing undeclared dependencies.

  • #2590 1554a7e2 Thanks @Andarist! - Upgraded and pinned the version of Stylis - the CSS parser that Emotion uses under the hood.

  • Updated dependencies [1554a7e2]:

emotion - @emotion/[email protected]

Published by github-actions[bot] almost 3 years ago

Patch Changes

  • #2590 1554a7e2 Thanks @Andarist! - Upgraded and pinned the version of Stylis - the CSS parser that Emotion uses under the hood.
emotion - @emotion/[email protected]

Published by github-actions[bot] almost 3 years ago

Patch Changes

emotion - @emotion/[email protected]

Published by github-actions[bot] almost 3 years ago

Patch Changes

  • #2590 1554a7e2 Thanks @Andarist! - Upgraded and pinned the version of Stylis - the CSS parser that Emotion uses under the hood.
emotion - @emotion/[email protected]

Published by github-actions[bot] almost 3 years ago

Patch Changes

emotion - @emotion/[email protected]

Published by github-actions[bot] almost 3 years ago

Patch Changes

  • #2576 33c01578 Thanks @Methuselah96! - Export Keyframes type to avoid TypeScript inserting import("@emotion/serialize").Keyframes references into declaration files emitted based on a source files exporting keyframes result. This avoids issues with strict package managers that don't allow accessing undeclared dependencies.
emotion - [email protected]

Published by github-actions[bot] almost 3 years ago

Minor Changes

  • #2560 b5a26619 Thanks @eps1lon! - Dropped usage of a deprecated SFC React type in favor of FC. The FC type has been introduced in @types/[email protected] so this version of this package is now a minimum requirement for TypeScript users.
emotion - @emotion/[email protected]

Published by github-actions[bot] almost 3 years ago

Minor Changes

  • #2566 122e9f11 Thanks @eps1lon, @Andarist! - Fixed hydration mismatches if React.useId (an upcoming API in React 18) is used within a tree below our components.

  • #2560 b5a26619 Thanks @eps1lon! - Dropped usage of a deprecated SFC React type in favor of FC. The FC type has been introduced in @types/[email protected] so this version of this package is now a minimum requirement for TypeScript users.

emotion - @emotion/[email protected]

Published by github-actions[bot] almost 3 years ago

Minor Changes

  • #2566 122e9f11 Thanks @eps1lon, @Andarist! - Fixed hydration mismatches if React.useId (an upcoming API in React 18) is used within a tree below our components.

  • #2560 b5a26619 Thanks @eps1lon! - Dropped usage of a deprecated SFC React type in favor of FC. The FC type has been introduced in @types/[email protected] so this version of this package is now a minimum requirement for TypeScript users.

emotion - @emotion/[email protected]

Published by github-actions[bot] almost 3 years ago

Minor Changes

  • #2566 122e9f11 Thanks @eps1lon, @Andarist! - Fixed hydration mismatches if React.useId (an upcoming API in React 18) is used within a tree below our components.

  • #2560 b5a26619 Thanks @eps1lon! - Dropped usage of a deprecated SFC React type in favor of FC. The FC type has been introduced in @types/[email protected] so this version of this package is now a minimum requirement for TypeScript users.

Patch Changes

emotion - @emotion/[email protected]

Published by github-actions[bot] almost 3 years ago

Minor Changes

  • #2562 f046ae40 Thanks @G-Rath! - ESLint 8 has been added to the peer dependency range (ESLint 6 and ESLint 7 are still being supported).
Package Rankings
Top 9.92% on Repo1.maven.org
Top 0.36% on Npmjs.org
Top 5.89% on Clojars.org
Top 8.17% on Proxy.golang.org
Badges
Extracted from project README
Backers on Open Collective Sponsors on Open Collective npm version Build Status codecov slack