FontSizePicker: Hard deprecate 40px default size#79481
Conversation
|
Size Change: -138 B (0%) Total Size: 7.51 MB 📦 View Changed
|
|
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. |
# Conflicts: # packages/components/CHANGELOG.md # tools/eslint/config.mjs
|
Flaky tests detected in 7dee2e5. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/28154189165
|
What?
Follow up to #65751
Remove the deprecated
__next40pxDefaultSizeandsizeprops fromFontSizePicker, making the 40px default size the permanent default.Why?
The soft deprecation was introduced in WP 6.7 and scheduled to be removed in WP 7.1.
How?
__next40pxDefaultSizeandsizefrom theFontSizePickerpublic API and removemaybeWarnDeprecated36pxSize.__next40pxDefaultSizeinternally to embeddedUnitControl,RangeControl,CustomSelectControl, andToggleGroupControluntil those primitives are hard-deprecated.FontSizePicker.FontSizePickerfrom thecomponents-no-missing-40px-size-propESLint rule and add a restricted-syntax rule for passing the prop toFontSizePicker.Testing Instructions