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

Move MeshDecoration to a .tsx file #1950

Closed
wants to merge 2 commits into from
Closed

Conversation

hasparus
Copy link
Collaborator

@hasparus hasparus commented Jan 6, 2025

@dimaMachina This fixed the SVG collision bug you've found.

I tried to fix it by configuring SVGR and SVGO, but it's not so trivial. We'd have to send a PR to SVGR, bcs it requires calling useId for all ids in the SVGs and traversing the tree.

I don't want to use this: https://github.com/elderapo/react-svg-unique-id
because it recursively clones the whole SVG tree, and I strongly feel this should be done at build time.

Copy link

changeset-bot bot commented Jan 6, 2025

🦋 Changeset detected

Latest commit: da8e2b6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@theguild/components Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Jan 6, 2025

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@theguild/components 8.2.1-alpha-20250106162405-da8e2b64faa6728e9b101c4610f9185e45766343 npm ↗︎ unpkg ↗︎

Copy link
Contributor

github-actions bot commented Jan 6, 2025

📚 Storybook Deployment

The latest changes are available as preview in: https://be3421f5.the-guild-docs-storybook.pages.dev

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.

1 participant