-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Switched to new @primer/octicons package and regenerated icon components #2774
Conversation
🦋 Changeset is good to goLatest commit: a195f1b We got this. This PR includes changesets to release 13 packages
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 |
8a7f47b
to
224174f
Compare
224174f
to
2ccc767
Compare
svgContents = svgContents.replace(/([fill|clip])-rule="/g, '$1Rule="'); | ||
|
||
// FIXME: we don't really want to do this here, but prettier >= 1.18 won't close empty tags anymore... | ||
svgContents = svgContents.replace(/><\/path>/g, ' />'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently Prettier no longer handles closing the tags. See prettier/prettier#6452. Not sure if we should disable the rule.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SVG will handle <path/></path>
totally fine. It might not be pretty but it's fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, but there's currently an eslint
rule enabled that will cause the tests to fail if the closing tags are left.
Added all the new icons that appeared in the process.