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

Fixes for integration #22

Merged
merged 1 commit into from
Sep 1, 2022
Merged

Fixes for integration #22

merged 1 commit into from
Sep 1, 2022

Conversation

kylegach
Copy link
Collaborator

@kylegach kylegach commented Aug 31, 2022

📦 Published PR as canary version: 2.0.8--canary.22.778d242.0

✨ Test out this PR locally via:

npm install @storybook/components-marketing@2.0.8--canary.22.778d242.0
# or 
yarn add @storybook/components-marketing@2.0.8--canary.22.778d242.0

- Downgrade `react-merge-refs` to `^1.10`
    - `^2.0.0` is ESM-only (https://github.com/gregberge/react-merge-refs/releases/tag/v2.0.0), making integration in various projects (namely Next.js) difficult at the moment
    - This may cause issues in environments like jest: gregberge/react-merge-refs#16
        - Currently not an issue, as there are no tests
- Remove `@docsearch/css` import from Search
    - Next.js requires all global CSS to be imported in the top-level App component
    - Move it from deps to peerDeps
    - Add instructions to README
@winkerVSbecks winkerVSbecks merged commit 0bed03c into main Sep 1, 2022
@github-actions
Copy link

github-actions bot commented Sep 1, 2022

🚀 PR was released in v2.0.8 🚀

@github-actions github-actions bot added the released This issue/pull request has been released. label Sep 1, 2022
@kylegach kylegach changed the title [Do not merge] Fixes for integration Fixes for integration Sep 1, 2022
@kylegach kylegach deleted the integration-fixes branch September 1, 2022 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants