Components: Deprecate outer margins #39358
Labels
[Package] Components
/packages/components
[Type] Tracking Issue
Tactical breakdown of efforts across the codebase and/or tied to Overview issues.
Projects
What problem does this address?
A lot of components currently have inherent outer margins, making it hard to reuse in different contexts since it requires a style override (often of an internal element). This kind of style override is something we want to discourage.
What is your proposed solution?
Deprecate the bottom margin (similar to #37160), following the guidelines stipulated in the devdocs.
Components
Each component first needs a
__nextHasNoMarginBottom
prop to opt in, and then they also need to be officially deprecated after all in-repo usage has been migrated.duotonePalette={ [] }
andunsetable={ false }
)Block Editor Components
NumberControl
on Style options. #37160(Component lists may not be exhaustive, please add)
The text was updated successfully, but these errors were encountered: