-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace block variation buttons with ToggleGroupControl (#45654)
* Replace block variation buttons with ToggleGroupControl * Make the control 40px high * Only show ToggleGroupControl when 5 or less options * Use <Flex> instead of extra className * Consolidate label and aria-label * Switch to `__next40pxDefaultSize` prop * Remove invalid `showTooltip` prop * Add `__nextHasNoMarginBottom` prop * Simplify onChange * Remove unnecessary Flex * Remove unnecessary fieldset --------- Co-authored-by: Lena Morita <[email protected]>
- Loading branch information
1 parent
1129dcf
commit e5b995a
Showing
1 changed file
with
49 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e5b995a
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.
Flaky tests detected in e5b995a.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.
🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7340021614
📝 Reported issues:
/test/e2e/specs/editor/various/publish-button.spec.js