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 - https://github.com/emotion-js/emotion/releases/tag/[email protected]

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

Patch Changes

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

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

Patch Changes

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

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

Patch Changes

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

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

Patch Changes

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

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

Major Changes

  • c643107 #1600 Thanks @joltmode! - Reworked TypeScript definitions so it's easier to provide a type for Theme. Instead of creating custom instances (like before) you can augment builtin Theme interface like this:

    declare module '@emotion/core' {
      export interface Theme {
        primaryColor: string
        secondaryColor: string
      }
    }
    

Minor Changes

  • c643107 #1600 Thanks @joltmode! - Support functions in arrays passed to css prop and Global's styles prop. This allows for composition of theme-accepting functions.

Patch Changes

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

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

Patch Changes

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

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

Minor Changes

  • c643107 #1600 Thanks @joltmode! - Adjust how arrays passed to css prop are transformed so function elements can be resolved at runtime.

Patch Changes

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

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

Minor Changes

  • c643107 #1600 Thanks @joltmode! - Adjust how arrays passed to css prop are transformed so function elements can be resolved at runtime.

Patch Changes

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

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

Patch Changes

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

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

Minor Changes

  • c643107 #1600 Thanks @joltmode! - Reworked Interpolation-related types. Correct types should now be provided to all flavours of emotion.
emotion - https://github.com/emotion-js/emotion/releases/tag/[email protected]

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

Patch Changes

  • b3c5b8de #1667 Thanks @Andarist! - Revert improved support for Enzyme's shallow rendering - its release was an unforseen breaking change.
emotion - https://github.com/emotion-js/emotion/releases/tag/[email protected]

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

Patch Changes

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

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

Patch Changes

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

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

Patch Changes

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

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

Patch Changes

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

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

Patch Changes

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

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

Patch Changes

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

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

Patch Changes

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

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

Patch Changes

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

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

Minor Changes

  • 4a891bf6 #1473 Thanks @jcharry! - Accept new prepend option to allow for adding style tags at the beginning of the specified DOM container.
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