Storybook e2e: add small, compact and icon examples to button matrix - #80793
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
61dead3 to
8547ab8
Compare
|
Size Change: 0 B Total Size: 7.75 MB |
8547ab8 to
2470cd2
Compare
|
Flaky tests detected in 2470cd2. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/30378654158
|
aduth
left a comment
There was a problem hiding this comment.
LGTM 👍
That "with icon" example for @wordpress/ui Button looks like it could use some improvement 😬
Yeah that's the one I meant, forgot to specify 🤦 Interesting point about "unstyled", and just how unstyled we're happy for it to be. I guess it may be fine as-is. |

What?
Expands button matrix with "small", "compact" and "with icon" examples.
Also center-aligns buttons in row so that it's easier to compare now that they're different sizes.
Why?
While working on #79993, I've found manually adding these anyway to observe changes so might as well add here.
How?
Testing Instructions
Run
npm run storybook:e2e:devTesting Instructions for Keyboard
Screenshots or screencast
UI Button
Components Button
Use of AI Tools
yes