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 3 years ago

Patch Changes

emotion - @emotion/[email protected]

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

Patch Changes

  • 662f0e0f #2335 Thanks @iChenLei! - Fixed appending manual labels to Babel-optimized style objects.

  • 830dd0e6 #2279 Thanks @lucasweng! - Fixed the issue with incorrectly throwing errors on valid content values containing open-quote.

emotion - https://github.com/emotion-js/emotion/releases/tag/@emotion/[email protected]

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

Patch Changes

emotion - https://github.com/emotion-js/emotion/releases/tag/@emotion/[email protected]

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

Patch Changes

  • 66ccd43e #2269 Thanks @mskelton! - Fixed the Enzyme serializer to work properly with conditional styles passed to the css prop.

  • 66ccd43e #2269 Thanks @mskelton! - Fixed the Enzyme serializer to always print composed styles (for example using arrays), which are passed to the css prop, correctly.

emotion - https://github.com/emotion-js/emotion/releases/tag/[email protected]

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

Patch Changes

  • ed47786b #2248 Thanks @xanido! - optimiseCssProp results in css being imported from @emotion/core rather than @emotion/css
emotion - https://github.com/emotion-js/emotion/releases/tag/@emotion/[email protected]

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

Patch Changes

  • c9b57f36 #2157 Thanks @Andarist! - Fixed an issue with styled transformer not respecting autoLabel: 'dev-only' setting.
emotion - https://github.com/emotion-js/emotion/releases/tag/@emotion/[email protected]

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

Minor Changes

  • 0c31ed05 #2233 Thanks @ajs139! - Fixed an issue with Enzyme snapshots for components using an array as the css prop - those should be printed OK now.
emotion - https://github.com/emotion-js/emotion/releases/tag/@emotion/[email protected]

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

Patch Changes

  • bfaa1b51 #2246 Thanks @G-Rath! - Improved syntax-preference rule to support css function and check style types for arguments of css & styled calls.
emotion - https://github.com/emotion-js/emotion/releases/tag/@emotion/[email protected]

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

Patch Changes

emotion - https://github.com/emotion-js/emotion/releases/tag/@emotion/[email protected]

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

Minor Changes

emotion - https://github.com/emotion-js/emotion/releases/tag/@emotion/[email protected]

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

Patch Changes

emotion - https://github.com/emotion-js/emotion/releases/tag/@emotion/[email protected]

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

Patch Changes

  • d0293508 #2240 Thanks @wolszczak96! - as prop has been removed from TypeScript declarations for composite components. This prop has not actually been handled by default by styled for those components - to make styled handle it you need to provide a custom shouldForwardProp that doesn't forward the as prop.

  • Updated dependencies [f3c2e81d]:

emotion - https://github.com/emotion-js/emotion/releases/tag/@emotion/[email protected]

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

Patch Changes

  • 71ca9be3 #2181 Thanks @101arrowz! - Fixed some typing issues with React components with custom generic render functions.
emotion - https://github.com/emotion-js/emotion/releases/tag/@emotion/[email protected]

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

Patch Changes

  • 704b0092 #2180 Thanks @Andarist! - Fixed an issue with global styles containing pseudo selectors in at-rules not being able to be inserted.
emotion - https://github.com/emotion-js/emotion/releases/tag/@emotion/[email protected]

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

Patch Changes

emotion - https://github.com/emotion-js/emotion/releases/tag/@emotion/[email protected]

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

Patch Changes

emotion - https://github.com/emotion-js/emotion/releases/tag/@emotion/[email protected]

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

Patch Changes

emotion - https://github.com/emotion-js/emotion/releases/tag/@emotion/[email protected]

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

Patch Changes

  • ee6a673f #2141 Thanks @ChALkeR! - Fixed an issue with prototype properties not being correctly handled.
emotion - https://github.com/emotion-js/emotion/releases/tag/@emotion/[email protected]

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

Patch Changes

  • 3f8bf70e #2132 Thanks @dcastil! - displayNames have been added to Global and ClassNames components so React Developer Tools should display those better now.

  • 1ee34005 #2122 Thanks @dcastil! - Improved label extraction from the stack traces to handle components with numbers in their names.

  • e5843530 #2140 Thanks @hasparus! - Fixed an issue with css prop type not being added to all components that accept a string className correctly.

  • Updated dependencies [5469d003]:

emotion - https://github.com/emotion-js/emotion/releases/tag/@emotion/[email protected]

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

Patch Changes

  • 5469d003 #2149 Thanks @Andarist! - Do not log failed rule insertions in the speedy mode for vendor-prefixed pseudo-elements/classes like ::-moz-placeholder.
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