ToggleGroupControl: Deprecate bottom margin#74004
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. |
|
Size Change: -72 B (0%) Total Size: 2.58 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in 6ebe218. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/20237973439
|
| const { | ||
| __nextHasNoMarginBottom = false, | ||
| // Prevent passing this to the internal component. | ||
| __nextHasNoMarginBottom: _, |
There was a problem hiding this comment.
Nit: Maybe add the comment inline?
What?
Part of #73848
Remove the deprecated
__nextHasNoMarginBottomprop fromToggleGroupControl, making the margin-free styles the permanent default.Why?
The soft deprecation was introduced in WP 6.7 and scheduled to be removed in WP 7.0. This removes the prop, completing the deprecation cycle.
How?
__nextHasNoMarginBottomprop fromToggleGroupControland its types and docs.Testing Instructions
Smoke test the affected components in Storybook and the app.