-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Navigator: Deprecate 36px default size for buttons #68330
base: button/dropdown-menu
Are you sure you want to change the base?
Conversation
c8a4367
to
161b495
Compare
return { | ||
as, | ||
as: as ?? Button, | ||
__shouldNotWarnDeprecated36pxSize: as === undefined, |
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.
This is to prevent a redundant warning from Button
when Navigator.BackButton
has already warned.
Size Change: +213 B (+0.01%) Total Size: 1.84 MB
ℹ️ View Unchanged
|
@@ -146,6 +146,7 @@ export default function PreferencesModalTabs( { sections } ) { | |||
gap="6" | |||
> | |||
<Navigator.BackButton | |||
size="compact" |
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 3069986. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/12508932939
|
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. |
de34c14
to
0968739
Compare
0968739
to
3069986
Compare
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.
LGTM 👍
The instances that weren't modified either have a specific non-default size
or are not rendered as Button
s.
Part of #65751
Stacked on #68329
What?
Deprecate the 36px default size on
Navigator.Button
andNavigator.BackButton
.Testing Instructions
__next40pxDefaultSize
prop enabled