WordPress/wp-includes/block-supports
oandregal 6476fd96ec Section styles: improve performance and conceptual consistency.
These changes involve:

- Move shared variation definitions from styles.blocks.variations to styles.variations
- Remove blockTypes from styles.variations.
- Do not register shared variations from theme style variation or primary theme.json files.
- Move the merging of theme.json data into the WP_Theme_JSON_Resolver and WP_Theme_JSON classes.

These changes improve performance and are more future-proof API wise.
See conversation at https://github.com/WordPress/gutenberg/issues/62686

Props aaronrobertshaw, oandregal, andrewserong, joemcgill, talldanwp, andrewserong, ramonopoly, richtabor, youknowriad.

See #61312, #61451.

Built from https://develop.svn.wordpress.org/trunk@58466


git-svn-id: http://core.svn.wordpress.org/trunk@57915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-06-24 08:51:16 +00:00
..
align.php
background.php Block Themes: Allow setting site-wide background images in theme.json 2024-05-28 06:06:11 +00:00
block-style-variations.php Section styles: improve performance and conceptual consistency. 2024-06-24 08:51:16 +00:00
border.php
colors.php
custom-classname.php
dimensions.php
duotone.php Editor: fix duotone filter for aligned images on classic themes. 2024-06-04 01:48:17 +00:00
elements.php
generated-classname.php
layout.php Editor: Negative margins for alignfull children of blocks with custom padding. 2024-05-30 04:10:09 +00:00
position.php
settings.php
shadow.php Editor: Add `__experimentalSkipSerialization` support to shadow. 2024-06-03 23:36:14 +00:00
spacing.php
typography.php Coding Standards: Apply changes after running `composer format`. 2024-06-13 15:06:07 +00:00
utils.php