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] about 2 years ago

Minor Changes

  • #2819 bbad8c79 Thanks @nicksrandall! - exports field has been added to the package.json manifest. It limits what files can be imported from a package but we've tried our best to allow importing all the files that were considered to be a part of the public API.
emotion - @emotion/[email protected]

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

Minor Changes

  • #2819 bbad8c79 Thanks @nicksrandall! - exports field has been added to the package.json manifest. It limits what files can be imported from a package but we've tried our best to allow importing all the files that were considered to be a part of the public API.

Patch Changes

emotion - @emotion/[email protected]

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

Minor Changes

  • #2819 bbad8c79 Thanks @nicksrandall! - exports field has been added to the package.json manifest. It limits what files can be imported from a package but we've tried our best to allow importing all the files that were considered to be a part of the public API.
emotion - @emotion/[email protected]

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

Patch Changes

  • #2799 5b99a849 Thanks @Andarist! - Fixed an issue with the lack of /*#__PURE__*/ annotations before styled calls transformed from tagged template expressions.
emotion - @emotion/[email protected]

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

Patch Changes

  • #2771 9b4ce70d Thanks @srmagura! - Fix a dependency conflict when @emotion/jest was installed alongside @types/jest@^28.
emotion - @emotion/[email protected]

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

Patch Changes

  • #2749 fd22cace Thanks @Andarist! - Added a dedicated error for a situation when toHaveStyleRule receives an array.
emotion - @emotion/[email protected]

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

Patch Changes

  • #2727 26e4e3e8 Thanks @srmagura! - Changed the error message "Component selectors can only be used in conjunction with @emotion/babel-plugin" to reference the new SWC Emotion plugin which will support component selectors soon.

  • #2572 5e81f213 Thanks @otakustay! - Changed the registered parameter to be declared as optional in the TypeScript definition to match the runtime requirement.

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

Patch Changes

emotion - @emotion/[email protected]

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

Patch Changes

  • #2759 Thanks @srmagura, @Andarist! - Change the argument of the shouldForwardProp option of styled from PropertyKey to string in the TypeScript definitions.

  • #2333 3055efdd Thanks @Andarist! - shouldForwardProp has been changed from being a bivariant method to a contravariant function - it improves the type-safety for those that type this option.

  • #2333 3055efdd Thanks @antongolub! - FilteringStyledOptions and StyledOptions types no longer require a type argument for the Props generic.

emotion - @emotion/[email protected]

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

Patch Changes

  • #2728 6c2d7a60 Thanks @Peeja! - TypeScript type for the container option has been adjusted. It will now accept a ShadowRoot, or any other kind of Node.
emotion - @emotion/[email protected]

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

Patch Changes

  • #2759 Thanks @srmagura! - Change the type of the argument to isPropValid from PropertyKey to string in the TypeScript definitions.
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

Patch Changes

  • #2721 ae0f650b Thanks @Andarist! - Fixed an issue in the minifying logic that could remove rules with the same context values as their parent rules. Like in the example below:

    styled.div`
      > div {
        color: blue;
    
        > div {
          color: hotpink;
        }
      }
    `
    
emotion - @emotion/[email protected]

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

Patch Changes

  • #2715 37434836 Thanks @thompsongl! - Fixed an issue with createEnzymeSerializer not handling the recently added includeStyles option.
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

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

  • #2709 1a25293f Thanks @thompsongl! - Added includeStyles option to createSerializer to optionally disable styles printing.
emotion - @emotion/[email protected]

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

Patch Changes

  • #2677 ff3cb164 Thanks @Jack-Works! - Change Global component to use the StyleSheet constructor of the current cache.sheet. This is useful when cache.sheet is not the default implementation. Thanks to that the inner sheet constructed by Global can share the behavior with its "main" sheet that is hold by the cache.
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