Skip to content

Latest commit

 

History

History
95 lines (60 loc) · 5.59 KB

CHANGELOG.md

File metadata and controls

95 lines (60 loc) · 5.59 KB

emotion

11.0.0-next.12

Major Changes

  • 5bea60b1 #1807 Thanks @Andarist! - Removed support for interpolating class names returned from css, so this will no longer be possible:

    const cls1 = css`
      color: blue;
    `
    const cls2 = css`
      & .${cls1} {
        color: red;
      }
    `

    This has already been deprecated for the lifetime of v10.

  • 105de5c8 #1572 Thanks @Andarist! - From now on key option is required when creating a custom instance. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache. If multiple caches share the same key they might "fight" for each other's style elements.

Patch Changes

11.0.0-next.11

Patch Changes

  • Updated dependencies [f08ef5a3]:
    • @emotion/serialize@0.11.15-next.4
    • @emotion/babel-plugin@11.0.0-next.11

11.0.0-next.10

Major Changes

  • b8476e08 #1600 Thanks @mitchellhamilton! - Move create create-emotion to @emotion/css/create-instance. Please change any imports of create-emotion to import @emotion/css/create-instance or use the @emotion/pkg-renaming ESLint rule from @emotion/eslint-plugin.
  • b8476e08 #1600 Thanks @mitchellhamilton! - Rename emotion to @emotion/css. Please change any imports of emotion to import @emotion/css or use the @emotion/pkg-renaming ESLint rule from @emotion/eslint-plugin.

Patch Changes

11.0.0-next.0

Major Changes

  • 302bdba1 #1600 Thanks @mitchellhamilton! - Ensure packages are major bumped so that pre-release versions of the linked packages are consistent in the major number

Patch Changes

  • Updated dependencies [b0ad4f0c, 302bdba1]:
    • babel-plugin-emotion@11.0.0-next.0
    • create-emotion@11.0.0-next.0

10.0.27

Patch Changes

  • 4c62ae9 #1698 Thanks @Andarist! - Add LICENSE file
  • Updated dependencies [4c62ae9]:
    • babel-plugin-emotion@10.0.27
    • create-emotion@10.0.27
    • @emotion/stylis@0.8.5

10.0.23

Patch Changes

10.0.17

Patch Changes

10.0.14

Patch Changes