Conversation
|
Size Change: -117 B (0%) Total Size: 1.62 MB
ℹ️ View Unchanged
|
youknowriad
left a comment
There was a problem hiding this comment.
Maybe worth mentioning the removals (breaking change) in the CHANGELOG of the package. Other than that, this is good.
|
Thank you for the green check! I tried updating the changelog. Can you take a look and see if I did it right? |
|
changelog change looks good to me. |
packages/icons/CHANGELOG.md
Outdated
|
|
||
| - Drop support for Internet Explorer 11 ([#31110](https://github.com/WordPress/gutenberg/pull/31110)). Learn more at https://make.wordpress.org/core/2021/04/22/ie-11-support-phase-out-plan/. | ||
| - Increase the minimum Node.js version to v12 matching Long Term Support releases ([#31270](https://github.com/WordPress/gutenberg/pull/31270)). Learn more at https://nodejs.org/en/about/releases/. | ||
| - Removed icons: `camera`, `chartLine`, `closeCircleFilled`, `controlsRepeat`, `expand`, as they all have better existing alternatives, and were unused by the block editor. |
There was a problem hiding this comment.
Looks like the PR needs a rebase because 3.0.0 was released in the meantime, see https://github.com/WordPress/gutenberg/blob/trunk/packages/icons/CHANGELOG.md#300-2021-05-14.
There was a problem hiding this comment.
Welp. On it, thanks.
There was a problem hiding this comment.
I think it would be nice to also document the "better existing alternatives" so a developer can easily swap them out. The entry for 2.0.0 has a good example.
There was a problem hiding this comment.
Let me know if I this looks good: a3316bc
There was a problem hiding this comment.
Cool let me see if I can do that.
There was a problem hiding this comment.
Took a stab at alternative suggestions in 22b3d64.
|
Thanks for the help, folks! |







Description
A slew of icons were still using the old vectors, not the new ones from Figma. This PR updates a bunch, and retires a few.
Retired because they were unused:
Retired and swapped out:
Swapped this one with "fullscreen".
Updated:
To test:
Compare the icons in https://wordpress.github.io/gutenberg/?path=/story/icons-icon--library with the icons you get from checking out this branch and running
npm run storybook:dev. You can see the new icons at http://localhost:50240/?path=/story/icons-icon--library.Here are some:
I don't love the "cloud upload" icon, but one such is already shipping so I was hoping to find a design to keep the same shape but update it to the newer style.
Checklist:
*.native.jsfiles for terms that need renaming or removal).