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

feat: allow to transform SVG component name #55

Merged
merged 5 commits into from
Dec 25, 2023

Conversation

demiazz
Copy link
Collaborator

@demiazz demiazz commented Dec 25, 2023

Closes #51

@demiazz demiazz added the enhancement New feature or request label Dec 25, 2023
@demiazz demiazz added this to the Release 2.0 milestone Dec 25, 2023
Copy link

changeset-bot bot commented Dec 25, 2023

🦋 Changeset detected

Latest commit: ba3ca23

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

This PR includes changesets to release 1 package
Name Type
@tabula/forge Major

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

@demiazz demiazz changed the base branch from main to next December 25, 2023 14:37
@demiazz demiazz merged commit c223e92 into next Dec 25, 2023
@demiazz demiazz deleted the feat/transform-svg-component-name branch December 25, 2023 14:37
demiazz added a commit that referenced this pull request Dec 25, 2023
* feat!: enables `memo` by default for SVGR transformations (#54)

* build: update dependencies

* feat!: enable `memo` by default for SVGR transformations

* chore: add changesets

* feat: allow to transform SVG component name (#55)

* build: add `@svgr/babel-plugin-transform-svg-component` dependency

* feat!: provide SVG component name transformer to SVG plugin

* test: add tests for SVG component name transformations

* docs: update `README.md`

* chore: add changesets

* feat: allow to append `displayName` to SVGR components (#56)

* build: add `@babel/types` dependency

* feat: add `svgrDisplayName` option

* feat: append `displayName` assignment based on the config

* fix: fix forwarding of `svgrDisplayName` option

* test: add tests for `displayName` appending

* chore: add changesets

* feat: add typings and exports config type

* chore: add changesets

* build: enter prerelease mode and version packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow to provide function to customize SVG component name
1 participant