-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Components: Remove deprecation warnings for __next36pxDefaultSize
#58703
Conversation
Size Change: -135 B (0%) Total Size: 1.69 MB
ℹ️ View Unchanged
|
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 Core SVNCore Committers: Use this line as a base for the props when committing in SVN:
GitHub Merge commitsIf 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. |
# Conflicts: # packages/components/src/input-control/input-base.tsx
Flaky tests detected in 0cbbc0a. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7815564569
|
Part of #46741
What?
Removes the console logging of deprecation warnings for the
__next36pxDefaultSize
prop.Why?
Based on consumer feedback in #55401.
Testing Instructions
See the Storybook for any of the affected components. Toggling the control for
__next36pxDefaultSize
totrue
should not log a deprecation warning in the console.✍️ Dev Note
A few releases ago, we introduced a
__next36pxDefaultSize
prop on several components, meant to coordiate the transition to a new default sizing scheme (36px height). Due to some changes in our design direction, we eventually dropped this prop in favor of the__next40pxDefaultSize
prop (40px height), making all existing opt-ins to the__next36pxDefaultSize
prop act as an opt-in to the 40px one.After receiving developer feedback about this ahead of WordPress 6.5, we will no longer throw a deprecation warning for usages of the
__next36pxDefaultSize
prop informing consumers of this change. Do note however that it will trigger the new 40px size rather than the 36px size, despite the prop name.