Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #2539

Merged
merged 1 commit into from Nov 14, 2021
Merged

Version Packages #2539

merged 1 commit into from Nov 14, 2021

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Nov 3, 2021

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@emotion/cache@11.6.0

Minor Changes

  • #2521 516fe458 Thanks @mnajdova! - Added insertionPoint option to the createCache. It can be used to insert rules after the specified element. For example, to use it with the CacheProvider from @emotion/react you can do this:

    const head = document.querySelector('head')
    
    // <meta name="emotion-insertion-point" content="">
    const emotionInsertionPoint = document.createElement('meta')
    emotionInsertionPoint.setAttribute('name', 'emotion-insertion-point')
    emotionInsertionPoint.setAttribute('content', '')
    
    head.appendChild(emotionInsertionPoint)
    
    // the emotion sheets should be inserted right after the meta tag
    const cache = createCache({
      key: 'my-app',
      insertionPoint: emotionInsertionPoint
    })
    
    function App() {
      return (
        <CacheProvider value={cache}>
          <Main />
        </CacheProvider>
      )
    }

Patch Changes

  • Updated dependencies [9e82a991]:
    • @emotion/sheet@1.1.0

@emotion/jest@11.6.0

Minor Changes

  • #2542 eb013d25 Thanks @eps1lon, @Andarist! - Adjusted the serialization logic to unwrap rendered elements from Fragments that had to be added to fix hydration mismatches caused by React.useId usage (the upcoming API of the React 18).

@emotion/react@11.6.0

Minor Changes

  • #2542 eb013d25 Thanks @eps1lon! - Fixed hydration mismatches if React.useId (the upcoming API of the React 18) is used within a tree below our components.

Patch Changes

  • #2551 99fcea04 Thanks @Andarist! - Shorten the path of the "private" isolated-hoist-non-react-statics-do-not-use-this-in-your-code entrypoint to avoid exeeding path limitations on Windows.

  • Updated dependencies [9e82a991, 516fe458]:

    • @emotion/sheet@1.1.0
    • @emotion/cache@11.6.0

@emotion/sheet@1.1.0

Minor Changes

  • #2521 516fe45 Thanks @mnajdova! - Added insertionPoint option to the Sheet's constructor. It can be used to insert rules after the specified element.

@emotion/styled@11.6.0

Minor Changes

  • #2542 eb013d25 Thanks @eps1lon! - Fixed hydration mismatches if React.useId (the upcoming API of the React 18) is used within a tree below our components.

Patch Changes

  • Updated dependencies [9861a18b]:
    • @emotion/is-prop-valid@1.1.1

@emotion/is-prop-valid@1.1.1

Patch Changes

  • #2540 9861a18b Thanks @fabb! - Added enterKeyHint prop to the allowlist of forwardable props.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Nov 3, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 89cd8fb:

Sandbox Source
Emotion Configuration

@github-actions github-actions bot force-pushed the changeset-release/main branch 4 times, most recently from f03ca4c to b3e7d75 Compare November 14, 2021 06:23
@Andarist Andarist merged commit ed90c2e into main Nov 14, 2021
@Andarist Andarist deleted the changeset-release/main branch November 14, 2021 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant