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

Switched to new @primer/octicons package and regenerated icon components #2774

Merged
merged 5 commits into from
Apr 20, 2020

Conversation

Vultraz
Copy link
Contributor

@Vultraz Vultraz commented Apr 18, 2020

Added all the new icons that appeared in the process.

@changeset-bot
Copy link

changeset-bot bot commented Apr 18, 2020

🦋 Changeset is good to go

Latest commit: a195f1b

We got this.

This PR includes changesets to release 13 packages
Name Type
@arch-ui/icons Minor
@keystonejs/app-admin-ui Patch
@keystonejs/field-content Patch
@keystonejs/fields-markdown Patch
@keystonejs/fields-wysiwyg-tinymce Patch
@keystonejs/fields Patch
@arch-ui/docs Patch
@arch-ui/day-picker Patch
@arch-ui/fields Patch
@arch-ui/options Patch
@arch-ui/pagination Patch
@arch-ui/pill Patch
@keystonejs/website 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

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, ' />');
Copy link
Contributor Author

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.

Copy link
Contributor

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.

Copy link
Contributor Author

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.

@timleslie timleslie merged commit 9c403c7 into keystonejs:master Apr 20, 2020
@github-actions github-actions bot mentioned this pull request Apr 20, 2020
@Vultraz Vultraz deleted the updated-arch-icons branch April 20, 2020 22:34
Wkasel pushed a commit to gosignal/keystone that referenced this pull request Apr 30, 2020
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

4 participants