PluginProbe
Gutenberg / trunk
Gutenberg vtrunk
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/scripts/block-library/blocks-manifest.php +816 -424 23.3.2 → trunk View file →
@@ -20,8 +20,9 @@
20 20 ),
21 21 'background' => array(
22 22 'backgroundImage' => true,
23 23 'backgroundSize' => true,
24 + 'gradient' => true,
24 25 '__experimentalDefaultControls' => array(
25 26 'backgroundImage' => true
26 27 )
27 28 ),
@@ -26,9 +27,12 @@
26 27 )
27 28 ),
28 29 'color' => array(
29 30 'background' => true,
30 - 'gradients' => true
31 + 'gradients' => true,
32 + 'link' => true,
33 + 'heading' => true,
34 + 'button' => true
31 35 ),
32 36 '__experimentalBorder' => array(
33 37 'color' => true,
34 38 'radius' => true,
@@ -165,8 +169,9 @@
165 169 'visibility' => false,
166 170 'lock' => false
167 171 ),
168 172 'selectors' => array(
173 + 'spacing' => '.wp-block-accordion-heading .wp-block-accordion-heading__toggle',
169 174 'typography' => array(
170 175 'letterSpacing' => '.wp-block-accordion-heading .wp-block-accordion-heading__toggle-title',
171 176 'textDecoration' => '.wp-block-accordion-heading .wp-block-accordion-heading__toggle-title'
172 177 )
@@ -215,11 +220,17 @@
215 220 'core/accordion-panel'
216 221 ),
217 222 'supports' => array(
218 223 'html' => false,
224 + 'background' => array(
225 + 'gradient' => true
226 + ),
219 227 'color' => array(
220 228 'background' => true,
221 - 'gradients' => true
229 + 'gradients' => true,
230 + 'link' => true,
231 + 'heading' => true,
232 + 'button' => true
222 233 ),
223 234 'interactivity' => true,
224 235 'spacing' => array(
225 236 'margin' => array(
@@ -285,12 +296,21 @@
285 296 'usesContext' => array(
286 297 'core/accordion-open-by-default'
287 298 ),
288 299 'supports' => array(
300 + '__experimentalOnEnter' => true,
289 301 'html' => false,
302 + 'background' => array(
303 + 'backgroundImage' => true,
304 + 'backgroundSize' => true,
305 + 'gradient' => true
306 + ),
290 307 'color' => array(
291 308 'background' => true,
292 - 'gradients' => true
309 + 'gradients' => true,
310 + 'link' => true,
311 + 'heading' => true,
312 + 'button' => true
293 313 ),
294 314 'interactivity' => true,
295 315 'spacing' => array(
296 316 'padding' => true,
@@ -386,8 +406,17 @@
386 406 'color' => true,
387 407 'width' => true,
388 408 'style' => true
389 409 ),
410 + 'background' => array(
411 + 'backgroundImage' => true,
412 + 'backgroundSize' => true,
413 + 'gradient' => true,
414 + '__experimentalDefaultControls' => array(
415 + 'backgroundImage' => true,
416 + 'gradient' => true
417 + )
418 + ),
390 419 'html' => false,
391 420 'spacing' => array(
392 421 'margin' => true,
393 422 'padding' => true,
@@ -480,8 +509,16 @@
480 509 ),
481 510 'supports' => array(
482 511 'anchor' => true,
483 512 'align' => true,
513 + 'color' => array(
514 + 'background' => false,
515 + 'link' => true,
516 + 'text' => false,
517 + '__experimentalDefaultControls' => array(
518 + 'link' => true
519 + )
520 + ),
484 521 'spacing' => array(
485 522 'margin' => true,
486 523 'padding' => true,
487 524 '__experimentalDefaultControls' => array(
@@ -601,9 +638,10 @@
601 638 'renaming' => false,
602 639 'interactivity' => array(
603 640 'clientNavigation' => true
604 641 ),
605 - 'customCSS' => false
642 + 'customCSS' => false,
643 + 'visibility' => false
606 644 )
607 645 ),
608 646 'breadcrumbs' => array(
609 647 '$schema' => 'https://schemas.wp.org/trunk/block.json',
@@ -650,8 +688,11 @@
650 688 'spacing' => array(
651 689 'margin' => true,
652 690 'padding' => true
653 691 ),
692 + 'background' => array(
693 + 'gradient' => true
694 + ),
654 695 'color' => array(
655 696 'gradients' => true,
656 697 'link' => true,
657 698 '__experimentalDefaultControls' => array(
@@ -888,8 +929,17 @@
888 929 'full'
889 930 ),
890 931 'html' => false,
891 932 '__experimentalExposeControlsToChildren' => true,
933 + 'background' => array(
934 + 'backgroundImage' => true,
935 + 'backgroundSize' => true,
936 + 'gradient' => true,
937 + '__experimentalDefaultControls' => array(
938 + 'backgroundImage' => true,
939 + 'gradient' => true
940 + )
941 + ),
892 942 'color' => array(
893 943 'gradients' => true,
894 944 'text' => false,
895 945 '__experimentalDefaultControls' => array(
@@ -1055,8 +1105,17 @@
1055 1105 ),
1056 1106 'supports' => array(
1057 1107 'anchor' => true,
1058 1108 'align' => true,
1109 + 'background' => array(
1110 + 'backgroundImage' => true,
1111 + 'backgroundSize' => true,
1112 + 'gradient' => true,
1113 + '__experimentalDefaultControls' => array(
1114 + 'backgroundImage' => true,
1115 + 'gradient' => true
1116 + )
1117 + ),
1059 1118 'html' => false,
1060 1119 'spacing' => array(
1061 1120 'margin' => true,
1062 1121 'padding' => true,
@@ -1067,8 +1126,9 @@
1067 1126 ),
1068 1127 'typography' => array(
1069 1128 'fontSize' => true,
1070 1129 'lineHeight' => true,
1130 + 'textColumns' => true,
1071 1131 '__experimentalFontFamily' => true,
1072 1132 '__experimentalFontWeight' => true,
1073 1133 '__experimentalFontStyle' => true,
1074 1134 '__experimentalTextTransform' => true,
@@ -1100,9 +1160,10 @@
1100 1160 'color' => true,
1101 1161 'width' => true,
1102 1162 'style' => true
1103 1163 )
1104 - )
1164 + ),
1165 + 'shadow' => true
1105 1166 ),
1106 1167 'editorStyle' => 'wp-block-categories-editor',
1107 1168 'style' => 'wp-block-categories'
1108 1169 ),
@@ -1127,8 +1188,17 @@
1127 1188 'align' => array(
1128 1189 'wide'
1129 1190 ),
1130 1191 'anchor' => true,
1192 + 'background' => array(
1193 + 'backgroundImage' => true,
1194 + 'backgroundSize' => true,
1195 + 'gradient' => true,
1196 + '__experimentalDefaultControls' => array(
1197 + 'backgroundImage' => true,
1198 + 'gradient' => true
1199 + )
1200 + ),
1131 1201 'typography' => array(
1132 1202 'fontSize' => true,
1133 1203 'lineHeight' => true,
1134 1204 '__experimentalFontFamily' => true,
@@ -1170,8 +1240,9 @@
1170 1240 'background' => true,
1171 1241 'text' => true
1172 1242 )
1173 1243 ),
1244 + 'shadow' => true,
1174 1245 'interactivity' => array(
1175 1246 'clientNavigation' => true
1176 1247 )
1177 1248 ),
@@ -1212,8 +1283,17 @@
1212 1283 '__experimentalOnEnter' => true,
1213 1284 'anchor' => true,
1214 1285 'reusable' => false,
1215 1286 'html' => false,
1287 + 'background' => array(
1288 + 'backgroundImage' => true,
1289 + 'backgroundSize' => true,
1290 + 'gradient' => true,
1291 + '__experimentalDefaultControls' => array(
1292 + 'backgroundImage' => true,
1293 + 'gradient' => true
1294 + )
1295 + ),
1216 1296 'color' => array(
1217 1297 'gradients' => true,
1218 1298 'heading' => true,
1219 1299 'button' => true,
@@ -1312,8 +1392,17 @@
1312 1392 'background' => true,
1313 1393 'text' => true
1314 1394 )
1315 1395 ),
1396 + 'background' => array(
1397 + 'backgroundImage' => true,
1398 + 'backgroundSize' => true,
1399 + 'gradient' => true,
1400 + '__experimentalDefaultControls' => array(
1401 + 'backgroundImage' => true,
1402 + 'gradient' => true
1403 + )
1404 + ),
1316 1405 'spacing' => array(
1317 1406 'blockGap' => array(
1318 1407 '__experimentalDefault' => '2em',
1319 1408 'sides' => array(
@@ -1450,8 +1539,11 @@
1450 1539 ),
1451 1540 'supports' => array(
1452 1541 'anchor' => true,
1453 1542 'html' => false,
1543 + 'background' => array(
1544 + 'gradient' => true
1545 + ),
1454 1546 'spacing' => array(
1455 1547 'margin' => true,
1456 1548 'padding' => true
1457 1549 ),
@@ -1511,10 +1603,15 @@
1511 1603 'commentId'
1512 1604 ),
1513 1605 'supports' => array(
1514 1606 'anchor' => true,
1607 + 'background' => array(
1608 + 'gradient' => true
1609 + ),
1515 1610 'color' => array(
1516 1611 'gradients' => true,
1612 + 'heading' => true,
1613 + 'button' => true,
1517 1614 'link' => true,
1518 1615 '__experimentalDefaultControls' => array(
1519 1616 'background' => true,
1520 1617 'text' => true
@@ -1584,8 +1681,11 @@
1584 1681 ),
1585 1682 'supports' => array(
1586 1683 'anchor' => true,
1587 1684 'html' => false,
1685 + 'background' => array(
1686 + 'gradient' => true
1687 + ),
1588 1688 'color' => array(
1589 1689 'gradients' => true,
1590 1690 'link' => true,
1591 1691 '__experimentalDefaultControls' => array(
@@ -1652,8 +1752,11 @@
1652 1752 ),
1653 1753 'supports' => array(
1654 1754 'anchor' => true,
1655 1755 'html' => false,
1756 + 'background' => array(
1757 + 'gradient' => true
1758 + ),
1656 1759 'color' => array(
1657 1760 'link' => true,
1658 1761 'gradients' => true,
1659 1762 'text' => false,
@@ -1711,8 +1814,11 @@
1711 1814 'commentId'
1712 1815 ),
1713 1816 'supports' => array(
1714 1817 'anchor' => true,
1818 + 'background' => array(
1819 + 'gradient' => true
1820 + ),
1715 1821 'color' => array(
1716 1822 'gradients' => true,
1717 1823 'link' => true,
1718 1824 'text' => false,
@@ -1831,10 +1937,20 @@
1831 1937 'wide',
1832 1938 'full'
1833 1939 ),
1834 1940 'html' => false,
1941 + 'background' => array(
1942 + 'backgroundImage' => true,
1943 + 'backgroundSize' => true,
1944 + 'gradient' => true,
1945 + '__experimentalDefaultControls' => array(
1946 + 'backgroundImage' => true,
1947 + 'gradient' => true
1948 + )
1949 + ),
1835 1950 'color' => array(
1836 1951 'gradients' => true,
1952 + 'button' => true,
1837 1953 'heading' => true,
1838 1954 'link' => true,
1839 1955 '__experimentalDefaultControls' => array(
1840 1956 'background' => true,
@@ -1912,8 +2028,11 @@
1912 2028 'anchor' => true,
1913 2029 'align' => true,
1914 2030 'reusable' => false,
1915 2031 'html' => false,
2032 + 'background' => array(
2033 + 'gradient' => true
2034 + ),
1916 2035 'color' => array(
1917 2036 'gradients' => true,
1918 2037 'link' => true,
1919 2038 '__experimentalDefaultControls' => array(
@@ -1972,8 +2091,11 @@
1972 2091 'supports' => array(
1973 2092 'anchor' => true,
1974 2093 'reusable' => false,
1975 2094 'html' => false,
2095 + 'background' => array(
2096 + 'gradient' => true
2097 + ),
1976 2098 'color' => array(
1977 2099 'gradients' => true,
1978 2100 'text' => false,
1979 2101 '__experimentalDefaultControls' => array(
@@ -2015,8 +2137,11 @@
2015 2137 'supports' => array(
2016 2138 'anchor' => true,
2017 2139 'reusable' => false,
2018 2140 'html' => false,
2141 + 'background' => array(
2142 + 'gradient' => true
2143 + ),
2019 2144 'color' => array(
2020 2145 'gradients' => true,
2021 2146 'text' => false,
2022 2147 '__experimentalDefaultControls' => array(
@@ -2071,8 +2196,14 @@
2071 2196 'supports' => array(
2072 2197 'anchor' => true,
2073 2198 'reusable' => false,
2074 2199 'html' => false,
2200 + 'background' => array(
2201 + 'gradient' => true,
2202 + '__experimentalDefaultControls' => array(
2203 + 'gradient' => true
2204 + )
2205 + ),
2075 2206 'color' => array(
2076 2207 'gradients' => true,
2077 2208 'text' => false,
2078 2209 '__experimentalDefaultControls' => array(
@@ -2132,8 +2263,11 @@
2132 2263 'supports' => array(
2133 2264 'anchor' => true,
2134 2265 'align' => true,
2135 2266 'html' => false,
2267 + 'background' => array(
2268 + 'gradient' => true
2269 + ),
2136 2270 '__experimentalBorder' => array(
2137 2271 'radius' => true,
2138 2272 'color' => true,
2139 2273 'width' => true,
@@ -2266,8 +2400,19 @@
2266 2400 'type' => 'string',
2267 2401 'source' => 'attribute',
2268 2402 'selector' => 'video',
2269 2403 'attribute' => 'poster'
2404 + ),
2405 + 'allowedVideoProviders' => array(
2406 + 'type' => 'array',
2407 + 'default' => array(
2408 + 'youtube',
2409 + 'vimeo',
2410 + 'videopress',
2411 + 'animoto',
2412 + 'tiktok',
2413 + 'wordpress-tv'
2414 + )
2270 2415 )
2271 2416 ),
2272 2417 'usesContext' => array(
2273 2418 'postId',
@@ -2273,8 +2418,9 @@
2273 2418 'postId',
2274 2419 'postType'
2275 2420 ),
2276 2421 'supports' => array(
2422 + '__experimentalOnEnter' => true,
2277 2423 'anchor' => true,
2278 2424 'align' => true,
2279 2425 'html' => false,
2280 2426 'shadow' => true,
@@ -2386,11 +2532,22 @@
2386 2532 'wide',
2387 2533 'full'
2388 2534 ),
2389 2535 'anchor' => true,
2536 + 'background' => array(
2537 + 'backgroundImage' => true,
2538 + 'backgroundSize' => true,
2539 + 'gradient' => true,
2540 + '__experimentalDefaultControls' => array(
2541 + 'backgroundImage' => true,
2542 + 'gradient' => true
2543 + )
2544 + ),
2390 2545 'color' => array(
2391 2546 'gradients' => true,
2392 2547 'link' => true,
2548 + 'heading' => true,
2549 + 'button' => true,
2393 2550 '__experimentalDefaultControls' => array(
2394 2551 'background' => true,
2395 2552 'text' => true
2396 2553 )
@@ -2400,8 +2557,9 @@
2400 2557 'width' => true,
2401 2558 'style' => true
2402 2559 ),
2403 2560 'html' => false,
2561 + 'shadow' => true,
2404 2562 'spacing' => array(
2405 2563 'margin' => true,
2406 2564 'padding' => true,
2407 2565 'blockGap' => true,
@@ -2559,8 +2717,17 @@
2559 2717 ),
2560 2718 'supports' => array(
2561 2719 'anchor' => true,
2562 2720 'align' => true,
2721 + 'background' => array(
2722 + 'backgroundImage' => true,
2723 + 'backgroundSize' => true,
2724 + 'gradient' => true,
2725 + '__experimentalDefaultControls' => array(
2726 + 'backgroundImage' => true,
2727 + 'gradient' => true
2728 + )
2729 + ),
2563 2730 'spacing' => array(
2564 2731 'margin' => true,
2565 2732 'padding' => true
2566 2733 ),
@@ -2606,8 +2773,17 @@
2606 2773 'postType'
2607 2774 ),
2608 2775 'supports' => array(
2609 2776 'anchor' => true,
2777 + 'background' => array(
2778 + 'backgroundImage' => true,
2779 + 'backgroundSize' => true,
2780 + 'gradient' => true,
2781 + '__experimentalDefaultControls' => array(
2782 + 'backgroundImage' => true,
2783 + 'gradient' => true
2784 + )
2785 + ),
2610 2786 '__experimentalBorder' => array(
2611 2787 'radius' => true,
2612 2788 'color' => true,
2613 2789 'width' => true,
@@ -2631,8 +2807,9 @@
2631 2807 'html' => false,
2632 2808 'multiple' => false,
2633 2809 'reusable' => false,
2634 2810 'inserter' => false,
2811 + 'shadow' => true,
2635 2812 'spacing' => array(
2636 2813 'margin' => true,
2637 2814 'padding' => true,
2638 2815 '__experimentalDefaultControls' => array(
@@ -2659,212 +2836,8 @@
2659 2836 )
2660 2837 ),
2661 2838 'style' => 'wp-block-footnotes'
2662 2839 ),
2663 - 'form' => array(
2664 - '$schema' => 'https://schemas.wp.org/trunk/block.json',
2665 - 'apiVersion' => 3,
2666 - '__experimental' => true,
2667 - 'name' => 'core/form',
2668 - 'title' => 'Form',
2669 - 'category' => 'widgets',
2670 - 'allowedBlocks' => array(
2671 - 'core/paragraph',
2672 - 'core/heading',
2673 - 'core/form-input',
2674 - 'core/form-submit-button',
2675 - 'core/form-submission-notification',
2676 - 'core/group',
2677 - 'core/columns'
2678 - ),
2679 - 'description' => 'A form.',
2680 - 'keywords' => array(
2681 - 'container',
2682 - 'wrapper',
2683 - 'row',
2684 - 'section'
2685 - ),
2686 - 'textdomain' => 'default',
2687 - 'attributes' => array(
2688 - 'submissionMethod' => array(
2689 - 'type' => 'string',
2690 - 'default' => 'email'
2691 - ),
2692 - 'method' => array(
2693 - 'type' => 'string',
2694 - 'default' => 'post'
2695 - ),
2696 - 'action' => array(
2697 - 'type' => 'string'
2698 - ),
2699 - 'email' => array(
2700 - 'type' => 'string'
2701 - )
2702 - ),
2703 - 'supports' => array(
2704 - 'anchor' => true,
2705 - 'color' => array(
2706 - 'gradients' => true,
2707 - 'link' => true,
2708 - '__experimentalDefaultControls' => array(
2709 - 'background' => true,
2710 - 'text' => true,
2711 - 'link' => true
2712 - )
2713 - ),
2714 - 'spacing' => array(
2715 - 'margin' => true,
2716 - 'padding' => true
2717 - ),
2718 - 'typography' => array(
2719 - 'fontSize' => true,
2720 - 'lineHeight' => true,
2721 - '__experimentalFontFamily' => true,
2722 - '__experimentalTextDecoration' => true,
2723 - '__experimentalFontStyle' => true,
2724 - '__experimentalFontWeight' => true,
2725 - '__experimentalLetterSpacing' => true,
2726 - '__experimentalTextTransform' => true,
2727 - '__experimentalDefaultControls' => array(
2728 - 'fontSize' => true
2729 - )
2730 - )
2731 - )
2732 - ),
2733 - 'form-input' => array(
2734 - '$schema' => 'https://schemas.wp.org/trunk/block.json',
2735 - 'apiVersion' => 3,
2736 - '__experimental' => true,
2737 - 'name' => 'core/form-input',
2738 - 'title' => 'Input Field',
2739 - 'category' => 'widgets',
2740 - 'ancestor' => array(
2741 - 'core/form'
2742 - ),
2743 - 'description' => 'The basic building block for forms.',
2744 - 'keywords' => array(
2745 - 'input',
2746 - 'form'
2747 - ),
2748 - 'textdomain' => 'default',
2749 - 'attributes' => array(
2750 - 'type' => array(
2751 - 'type' => 'string',
2752 - 'default' => 'text'
2753 - ),
2754 - 'name' => array(
2755 - 'type' => 'string'
2756 - ),
2757 - 'label' => array(
2758 - 'type' => 'rich-text',
2759 - 'default' => 'Label',
2760 - 'selector' => '.wp-block-form-input__label-content',
2761 - 'source' => 'rich-text',
2762 - 'role' => 'content'
2763 - ),
2764 - 'inlineLabel' => array(
2765 - 'type' => 'boolean',
2766 - 'default' => false
2767 - ),
2768 - 'required' => array(
2769 - 'type' => 'boolean',
2770 - 'default' => false,
2771 - 'selector' => '.wp-block-form-input__input',
2772 - 'source' => 'attribute',
2773 - 'attribute' => 'required'
2774 - ),
2775 - 'placeholder' => array(
2776 - 'type' => 'string',
2777 - 'selector' => '.wp-block-form-input__input',
2778 - 'source' => 'attribute',
2779 - 'attribute' => 'placeholder',
2780 - 'role' => 'content'
2781 - ),
2782 - 'value' => array(
2783 - 'type' => 'string',
2784 - 'default' => '',
2785 - 'selector' => 'input',
2786 - 'source' => 'attribute',
2787 - 'attribute' => 'value'
2788 - ),
2789 - 'visibilityPermissions' => array(
2790 - 'type' => 'string',
2791 - 'default' => 'all'
2792 - )
2793 - ),
2794 - 'supports' => array(
2795 - 'anchor' => true,
2796 - 'reusable' => false,
2797 - 'spacing' => array(
2798 - 'margin' => array(
2799 - 'top',
2800 - 'bottom'
2801 - )
2802 - ),
2803 - '__experimentalBorder' => array(
2804 - 'radius' => true,
2805 - '__experimentalSkipSerialization' => true,
2806 - '__experimentalDefaultControls' => array(
2807 - 'radius' => true
2808 - )
2809 - )
2810 - ),
2811 - 'style' => array(
2812 - 'wp-block-form-input'
2813 - )
2814 - ),
2815 - 'form-submission-notification' => array(
2816 - '$schema' => 'https://schemas.wp.org/trunk/block.json',
2817 - 'apiVersion' => 3,
2818 - '__experimental' => true,
2819 - 'name' => 'core/form-submission-notification',
2820 - 'title' => 'Form Submission Notification',
2821 - 'category' => 'widgets',
2822 - 'ancestor' => array(
2823 - 'core/form'
2824 - ),
2825 - 'description' => 'Provide a notification message after the form has been submitted.',
2826 - 'keywords' => array(
2827 - 'form',
2828 - 'feedback',
2829 - 'notification',
2830 - 'message'
2831 - ),
2832 - 'textdomain' => 'default',
2833 - 'icon' => 'feedback',
2834 - 'attributes' => array(
2835 - 'type' => array(
2836 - 'type' => 'string',
2837 - 'default' => 'success'
2838 - )
2839 - )
2840 - ),
2841 - 'form-submit-button' => array(
2842 - '$schema' => 'https://schemas.wp.org/trunk/block.json',
2843 - 'apiVersion' => 3,
2844 - '__experimental' => true,
2845 - 'name' => 'core/form-submit-button',
2846 - 'title' => 'Form Submit Button',
2847 - 'category' => 'widgets',
2848 - 'icon' => 'button',
2849 - 'ancestor' => array(
2850 - 'core/form'
2851 - ),
2852 - 'allowedBlocks' => array(
2853 - 'core/buttons',
2854 - 'core/button'
2855 - ),
2856 - 'description' => 'A submission button for forms.',
2857 - 'keywords' => array(
2858 - 'submit',
2859 - 'button',
2860 - 'form'
2861 - ),
2862 - 'textdomain' => 'default',
2863 - 'style' => array(
2864 - 'wp-block-form-submit-button'
2865 - )
2866 - ),
2867 2840 'freeform' => array(
2868 2841 '$schema' => 'https://schemas.wp.org/trunk/block.json',
2869 2842 'apiVersion' => 3,
2870 2843 'name' => 'core/freeform',
@@ -2895,9 +2868,11 @@
2895 2868 'name' => 'core/gallery',
2896 2869 'title' => 'Gallery',
2897 2870 'category' => 'media',
2898 2871 'usesContext' => array(
2899 - 'galleryId'
2872 + 'galleryId',
2873 + 'postId',
2874 + 'postType'
2900 2875 ),
2901 2876 'allowedBlocks' => array(
2902 2877 'core/image'
2903 2878 ),
@@ -2962,8 +2937,11 @@
2962 2937 'default' => array(
2963 2938
2964 2939 )
2965 2940 ),
2941 + 'dynamicContent' => array(
2942 + 'type' => 'object'
2943 + ),
2966 2944 'navigationButtonType' => array(
2967 2945 'type' => 'string',
2968 2946 'default' => 'icon',
2969 2947 'enum' => array(
@@ -3031,8 +3009,17 @@
3031 3009 ),
3032 3010 'supports' => array(
3033 3011 'anchor' => true,
3034 3012 'align' => true,
3013 + 'background' => array(
3014 + 'backgroundImage' => true,
3015 + 'backgroundSize' => true,
3016 + 'gradient' => true,
3017 + '__experimentalDefaultControls' => array(
3018 + 'backgroundImage' => true,
3019 + 'gradient' => true
3020 + )
3021 + ),
3035 3022 '__experimentalBorder' => array(
3036 3023 'radius' => true,
3037 3024 'color' => true,
3038 3025 'width' => true,
@@ -3053,14 +3040,14 @@
3053 3040 'spacing' => array(
3054 3041 'margin' => true,
3055 3042 'padding' => true,
3056 3043 'blockGap' => array(
3057 - 'horizontal',
3058 - 'vertical'
3044 + 'sides' => array(
3045 + 'horizontal',
3046 + 'vertical'
3047 + ),
3048 + '__experimentalDefault' => 'var( --wp--style--gallery-gap-default, var( --gallery-block--gutter-size, var( --wp--style--block-gap, 0.5em ) ) )'
3059 3049 ),
3060 - '__experimentalSkipSerialization' => array(
3061 - 'blockGap'
3062 - ),
3063 3050 '__experimentalDefaultControls' => array(
3064 3051 'blockGap' => true,
3065 3052 'margin' => false,
3066 3053 'padding' => false
@@ -3073,9 +3060,14 @@
3073 3060 ),
3074 3061 'layout' => array(
3075 3062 'allowSwitching' => false,
3076 3063 'allowInheriting' => false,
3077 - 'allowEditing' => false,
3064 + 'allowEditing' => true,
3065 + 'allowOrientation' => false,
3066 + 'allowJustification' => false,
3067 + 'allowVerticalAlignment' => false,
3068 + 'allowWrap' => false,
3069 + 'allowSizingOnChildren' => true,
3078 3070 'default' => array(
3079 3071 'type' => 'flex'
3080 3072 )
3081 3073 ),
@@ -3120,9 +3112,8 @@
3120 3112 )
3121 3113 ),
3122 3114 'supports' => array(
3123 3115 '__experimentalOnEnter' => true,
3124 - '__experimentalOnMerge' => true,
3125 3116 '__experimentalSettings' => true,
3126 3117 'align' => array(
3127 3118 'wide',
3128 3119 'full'
@@ -3155,9 +3146,12 @@
3155 3146 'top',
3156 3147 'bottom'
3157 3148 ),
3158 3149 'padding' => true,
3159 - 'blockGap' => true,
3150 + 'blockGap' => array(
3151 + 'horizontal',
3152 + 'vertical'
3153 + ),
3160 3154 '__experimentalDefaultControls' => array(
3161 3155 'padding' => true,
3162 3156 'blockGap' => true
3163 3157 )
@@ -3183,8 +3177,9 @@
3183 3177 ),
3184 3178 'typography' => array(
3185 3179 'fontSize' => true,
3186 3180 'lineHeight' => true,
3181 + 'textColumns' => true,
3187 3182 '__experimentalFontFamily' => true,
3188 3183 '__experimentalFontWeight' => true,
3189 3184 '__experimentalFontStyle' => true,
3190 3185 '__experimentalTextTransform' => true,
@@ -3242,8 +3237,17 @@
3242 3237 ),
3243 3238 'anchor' => true,
3244 3239 'className' => true,
3245 3240 'splitting' => true,
3241 + 'background' => array(
3242 + 'backgroundImage' => true,
3243 + 'backgroundSize' => true,
3244 + 'gradient' => true,
3245 + '__experimentalDefaultControls' => array(
3246 + 'backgroundImage' => true,
3247 + 'gradient' => true
3248 + )
3249 + ),
3246 3250 '__experimentalBorder' => array(
3247 3251 'color' => true,
3248 3252 'radius' => true,
3249 3253 'style' => true,
@@ -3256,8 +3260,9 @@
3256 3260 'background' => true,
3257 3261 'text' => true
3258 3262 )
3259 3263 ),
3264 + 'shadow' => true,
3260 3265 'spacing' => array(
3261 3266 'margin' => true,
3262 3267 'padding' => true,
3263 3268 '__experimentalDefaultControls' => array(
@@ -3275,8 +3280,9 @@
3275 3280 '__experimentalLetterSpacing' => true,
3276 3281 '__experimentalTextTransform' => true,
3277 3282 '__experimentalTextDecoration' => true,
3278 3283 '__experimentalWritingMode' => true,
3284 + 'textShadow' => true,
3279 3285 'fitText' => true,
3280 3286 '__experimentalDefaultControls' => array(
3281 3287 'fontSize' => true
3282 3288 )
@@ -3326,8 +3332,13 @@
3326 3332 'supports' => array(
3327 3333 'anchor' => true,
3328 3334 'reusable' => false,
3329 3335 'html' => false,
3336 + 'background' => array(
3337 + 'backgroundImage' => true,
3338 + 'backgroundSize' => true,
3339 + 'gradient' => true
3340 + ),
3330 3341 'typography' => array(
3331 3342 'fontSize' => true,
3332 3343 'lineHeight' => true,
3333 3344 '__experimentalFontFamily' => true,
@@ -3339,8 +3350,21 @@
3339 3350 '__experimentalDefaultControls' => array(
3340 3351 'fontSize' => true
3341 3352 )
3342 3353 ),
3354 + 'shadow' => true,
3355 + '__experimentalBorder' => array(
3356 + 'color' => true,
3357 + 'radius' => true,
3358 + 'style' => true,
3359 + 'width' => true,
3360 + '__experimentalDefaultControls' => array(
3361 + 'color' => false,
3362 + 'radius' => false,
3363 + 'style' => false,
3364 + 'width' => false
3365 + )
3366 + ),
3343 3367 'interactivity' => array(
3344 3368 'clientNavigation' => true
3345 3369 )
3346 3370 ),
@@ -3360,10 +3384,9 @@
3360 3384 'textdomain' => 'default',
3361 3385 'attributes' => array(
3362 3386 'content' => array(
3363 3387 'type' => 'string',
3364 - 'source' => 'raw',
3365 - 'role' => 'content'
3388 + 'role' => 'local'
3366 3389 )
3367 3390 ),
3368 3391 'supports' => array(
3369 3392 'customClassName' => false,
@@ -3371,8 +3394,9 @@
3371 3394 'html' => false,
3372 3395 'interactivity' => array(
3373 3396 'clientNavigation' => true
3374 3397 ),
3398 + 'listView' => true,
3375 3399 'customCSS' => false,
3376 3400 'visibility' => false
3377 3401 ),
3378 3402 'editorStyle' => 'wp-block-html-editor'
@@ -3392,8 +3416,20 @@
3392 3416 'attributes' => array(
3393 3417 'icon' => array(
3394 3418 'type' => 'string',
3395 3419 'role' => 'content'
3420 + ),
3421 + 'flipHorizontal' => array(
3422 + 'type' => 'boolean',
3423 + 'default' => false
3424 + ),
3425 + 'flipVertical' => array(
3426 + 'type' => 'boolean',
3427 + 'default' => false
3428 + ),
3429 + 'rotation' => array(
3430 + 'type' => 'number',
3431 + 'default' => 0
3396 3432 )
3397 3433 ),
3398 3434 'supports' => array(
3399 3435 'anchor' => true,
@@ -3406,11 +3442,13 @@
3406 3442 'right'
3407 3443 ),
3408 3444 'html' => false,
3409 3445 'color' => array(
3410 - 'background' => true,
3411 - 'text' => true,
3412 - '__experimentalSkipSerialization' => true
3446 + '__experimentalSkipSerialization' => true,
3447 + '__experimentalDefaultControls' => array(
3448 + 'background' => true,
3449 + 'text' => true
3450 + )
3413 3451 ),
3414 3452 'interactivity' => array(
3415 3453 'clientNavigation' => true
3416 3454 ),
@@ -3610,8 +3648,9 @@
3610 3648 '__experimentalSkipSerialization' => true
3611 3649 )
3612 3650 ),
3613 3651 'selectors' => array(
3652 + 'dimensions' => '.wp-block-image img, .wp-block-image .components-placeholder',
3614 3653 'border' => '.wp-block-image img, .wp-block-image .wp-block-image__crop-area, .wp-block-image .components-placeholder',
3615 3654 'shadow' => '.wp-block-image img, .wp-block-image .wp-block-image__crop-area, .wp-block-image .components-placeholder',
3616 3655 'filter' => array(
3617 3656 'duotone' => '.wp-block-image img, .wp-block-image .components-placeholder'
@@ -3669,8 +3708,17 @@
3669 3708 ),
3670 3709 'supports' => array(
3671 3710 'anchor' => true,
3672 3711 'align' => true,
3712 + 'background' => array(
3713 + 'backgroundImage' => true,
3714 + 'backgroundSize' => true,
3715 + 'gradient' => true,
3716 + '__experimentalDefaultControls' => array(
3717 + 'backgroundImage' => true,
3718 + 'gradient' => true
3719 + )
3720 + ),
3673 3721 'color' => array(
3674 3722 'gradients' => true,
3675 3723 'link' => true,
3676 3724 '__experimentalDefaultControls' => array(
@@ -3683,8 +3731,9 @@
3683 3731 'spacing' => array(
3684 3732 'margin' => true,
3685 3733 'padding' => true
3686 3734 ),
3735 + 'shadow' => true,
3687 3736 'typography' => array(
3688 3737 'fontSize' => true,
3689 3738 'lineHeight' => true,
3690 3739 '__experimentalFontFamily' => true,
@@ -3747,16 +3796,8 @@
3747 3796 'displayPostDate' => array(
3748 3797 'type' => 'boolean',
3749 3798 'default' => false
3750 3799 ),
3751 - 'postLayout' => array(
3752 - 'type' => 'string',
3753 - 'default' => 'list'
3754 - ),
3755 - 'columns' => array(
3756 - 'type' => 'number',
3757 - 'default' => 3
3758 - ),
3759 3800 'order' => array(
3760 3801 'type' => 'string',
3761 3802 'default' => 'desc'
3762 3803 ),
@@ -3796,8 +3837,18 @@
3796 3837 'supports' => array(
3797 3838 'anchor' => true,
3798 3839 'align' => true,
3799 3840 'html' => false,
3841 + 'layout' => true,
3842 + 'background' => array(
3843 + 'backgroundImage' => true,
3844 + 'backgroundSize' => true,
3845 + 'gradient' => true,
3846 + '__experimentalDefaultControls' => array(
3847 + 'backgroundImage' => true,
3848 + 'gradient' => true
3849 + )
3850 + ),
3800 3851 'color' => array(
3801 3852 'gradients' => true,
3802 3853 'link' => true,
3803 3854 '__experimentalDefaultControls' => array(
@@ -3807,9 +3858,15 @@
3807 3858 )
3808 3859 ),
3809 3860 'spacing' => array(
3810 3861 'margin' => true,
3811 - 'padding' => true
3862 + 'padding' => true,
3863 + 'blockGap' => array(
3864 + '__experimentalDefault' => '1.25em'
3865 + ),
3866 + '__experimentalDefaultControls' => array(
3867 + 'blockGap' => true
3868 + )
3812 3869 ),
3813 3870 'typography' => array(
3814 3871 'fontSize' => true,
3815 3872 'lineHeight' => true,
@@ -3834,8 +3891,9 @@
3834 3891 'width' => true,
3835 3892 'style' => true
3836 3893 )
3837 3894 ),
3895 + 'shadow' => true,
3838 3896 'interactivity' => array(
3839 3897 'clientNavigation' => true
3840 3898 )
3841 3899 ),
@@ -3886,8 +3944,12 @@
3886 3944 )
3887 3945 ),
3888 3946 'supports' => array(
3889 3947 'anchor' => true,
3948 + 'align' => array(
3949 + 'wide',
3950 + 'full'
3951 + ),
3890 3952 'html' => false,
3891 3953 '__experimentalBorder' => array(
3892 3954 'color' => true,
3893 3955 'radius' => true,
@@ -4039,8 +4101,17 @@
4039 4101 ),
4040 4102 'supports' => array(
4041 4103 'anchor' => true,
4042 4104 'className' => true,
4105 + 'background' => array(
4106 + 'backgroundImage' => true,
4107 + 'backgroundSize' => true,
4108 + 'gradient' => true,
4109 + '__experimentalDefaultControls' => array(
4110 + 'backgroundImage' => true,
4111 + 'gradient' => true
4112 + )
4113 + ),
4043 4114 'color' => array(
4044 4115 'background' => true,
4045 4116 'text' => false,
4046 4117 'gradients' => true,
@@ -4072,8 +4143,9 @@
4072 4143 'color' => true,
4073 4144 'width' => true,
4074 4145 'style' => true
4075 4146 ),
4147 + 'shadow' => true,
4076 4148 'interactivity' => array(
4077 4149 'clientNavigation' => true
4078 4150 )
4079 4151 ),
@@ -4101,8 +4173,17 @@
4101 4173 'radius' => true,
4102 4174 'style' => true,
4103 4175 'width' => true
4104 4176 ),
4177 + 'background' => array(
4178 + 'backgroundImage' => true,
4179 + 'backgroundSize' => true,
4180 + 'gradient' => true,
4181 + '__experimentalDefaultControls' => array(
4182 + 'backgroundImage' => true,
4183 + 'gradient' => true
4184 + )
4185 + ),
4105 4186 'color' => array(
4106 4187 'gradients' => true,
4107 4188 '__experimentalDefaultControls' => array(
4108 4189 'background' => true,
@@ -4108,8 +4189,9 @@
4108 4189 'background' => true,
4109 4190 'text' => true
4110 4191 )
4111 4192 ),
4193 + 'shadow' => true,
4112 4194 'spacing' => array(
4113 4195 'margin' => true,
4114 4196 'padding' => true,
4115 4197 '__experimentalDefaultControls' => array(
@@ -4121,13 +4203,18 @@
4121 4203 'fontSize' => true,
4122 4204 '__experimentalDefaultControls' => array(
4123 4205 'fontSize' => true
4124 4206 )
4207 + ),
4208 + 'interactivity' => array(
4209 + 'clientNavigation' => true
4125 4210 )
4126 4211 ),
4127 4212 'attributes' => array(
4128 4213 'latex' => array(
4129 4214 'type' => 'string',
4215 + 'source' => 'text',
4216 + 'selector' => 'math annotation[encoding="application/x-tex"]',
4130 4217 'role' => 'content'
4131 4218 ),
4132 4219 'mathML' => array(
4133 4220 'type' => 'string',
@@ -4262,8 +4349,9 @@
4262 4349 'color' => array(
4263 4350 'gradients' => true,
4264 4351 'heading' => true,
4265 4352 'link' => true,
4353 + 'button' => true,
4266 4354 '__experimentalDefaultControls' => array(
4267 4355 'background' => true,
4268 4356 'text' => true
4269 4357 )
@@ -4333,9 +4421,9 @@
4333 4421 'apiVersion' => 3,
4334 4422 'name' => 'core/more',
4335 4423 'title' => 'More',
4336 4424 'category' => 'design',
4337 - 'description' => 'Content before this block will be shown in the excerpt on your archives page.',
4425 + 'description' => 'Content before this block is shown in the excerpt on blog and archive pages. Where a theme shows the full content instead, visitors get a “Read more” link to the rest of the post.',
4338 4426 'keywords' => array(
4339 4427 'read more'
4340 4428 ),
4341 4429 'textdomain' => 'default',
@@ -4546,9 +4634,9 @@
4546 4634 'navigation-link' => array(
4547 4635 '$schema' => 'https://schemas.wp.org/trunk/block.json',
4548 4636 'apiVersion' => 3,
4549 4637 'name' => 'core/navigation-link',
4550 - 'title' => 'Custom Link',
4638 + 'title' => 'Navigation Link',
4551 4639 'category' => 'design',
4552 4640 'parent' => array(
4553 4641 'core/navigation'
4554 4642 ),
@@ -4633,9 +4721,9 @@
4633 4721 )
4634 4722 ),
4635 4723 'selectors' => array(
4636 4724 'states' => array(
4637 - '@current' => '.wp-block-navigation .current-menu-item'
4725 + '-current' => '.wp-block-navigation .current-menu-item'
4638 4726 )
4639 4727 ),
4640 4728 'editorStyle' => 'wp-block-navigation-link-editor',
4641 4729 'style' => 'wp-block-navigation-link'
@@ -4675,8 +4763,15 @@
4675 4763 'background' => true,
4676 4764 'text' => true
4677 4765 )
4678 4766 ),
4767 + 'shadow' => true,
4768 + '__experimentalBorder' => array(
4769 + 'color' => true,
4770 + 'radius' => true,
4771 + 'style' => true,
4772 + 'width' => true
4773 + ),
4679 4774 'spacing' => array(
4680 4775 'padding' => true,
4681 4776 '__experimentalDefaultControls' => array(
4682 4777 'padding' => true
@@ -4741,10 +4836,17 @@
4741 4836 'type' => 'string'
4742 4837 ),
4743 4838 'isTopLevelItem' => array(
4744 4839 'type' => 'boolean'
4840 + ),
4841 + 'isParentSubmenu' => array(
4842 + 'type' => 'boolean',
4843 + 'default' => true
4745 4844 )
4746 4845 ),
4846 + 'providesContext' => array(
4847 + 'core/isInsideSubmenu' => 'isParentSubmenu'
4848 + ),
4747 4849 'usesContext' => array(
4748 4850 'textColor',
4749 4851 'customTextColor',
4750 4852 'backgroundColor',
@@ -4777,12 +4879,18 @@
4777 4879 '__experimentalDefaultControls' => array(
4778 4880 'fontSize' => true
4779 4881 )
4780 4882 ),
4883 + 'shadow' => array(
4884 + '__experimentalSkipSerialization' => true
4885 + ),
4781 4886 'interactivity' => array(
4782 4887 'clientNavigation' => true
4783 4888 )
4784 4889 ),
4890 + 'selectors' => array(
4891 + 'shadow' => '.wp-block-navigation-submenu > .wp-block-navigation__submenu-container'
4892 + ),
4785 4893 'editorStyle' => 'wp-block-navigation-submenu-editor',
4786 4894 'style' => 'wp-block-navigation-submenu'
4787 4895 ),
4788 4896 'nextpage' => array(
@@ -4830,12 +4938,8 @@
4830 4938 'attributes' => array(
4831 4939 'parentPageID' => array(
4832 4940 'type' => 'integer',
4833 4941 'default' => 0
4834 - ),
4835 - 'isNested' => array(
4836 - 'type' => 'boolean',
4837 - 'default' => false
4838 4942 )
4839 4943 ),
4840 4944 'usesContext' => array(
4841 4945 'textColor',
@@ -4850,9 +4954,10 @@
4850 4954 'customFontSize',
4851 4955 'showSubmenuIcon',
4852 4956 'style',
4853 4957 'openSubmenusOnClick',
4854 - 'submenuVisibility'
4958 + 'submenuVisibility',
4959 + 'core/isInsideSubmenu'
4855 4960 ),
4856 4961 'supports' => array(
4857 4962 'anchor' => true,
4858 4963 'reusable' => false,
@@ -4872,8 +4977,17 @@
4872 4977 ),
4873 4978 'interactivity' => array(
4874 4979 'clientNavigation' => true
4875 4980 ),
4981 + 'background' => array(
4982 + 'backgroundImage' => true,
4983 + 'backgroundSize' => true,
4984 + 'gradient' => true,
4985 + '__experimentalDefaultControls' => array(
4986 + 'backgroundImage' => true,
4987 + 'gradient' => true
4988 + )
4989 + ),
4876 4990 'color' => array(
4877 4991 'text' => true,
4878 4992 'background' => true,
4879 4993 'link' => true,
@@ -4897,8 +5011,9 @@
4897 5011 'padding' => false,
4898 5012 'margin' => false
4899 5013 )
4900 5014 ),
5015 + 'shadow' => true,
4901 5016 'contentRole' => true
4902 5017 ),
4903 5018 'editorStyle' => 'wp-block-page-list-editor',
4904 5019 'style' => 'wp-block-page-list'
@@ -5041,8 +5156,9 @@
5041 5156 '__experimentalFontWeight' => true,
5042 5157 '__experimentalLetterSpacing' => true,
5043 5158 '__experimentalTextTransform' => true,
5044 5159 '__experimentalWritingMode' => true,
5160 + 'textShadow' => true,
5045 5161 'fitText' => true,
5046 5162 '__experimentalDefaultControls' => array(
5047 5163 'fontSize' => true
5048 5164 )
@@ -5087,9 +5203,8 @@
5087 5203 ),
5088 5204 'playlist' => array(
5089 5205 '$schema' => 'https://schemas.wp.org/trunk/block.json',
5090 5206 'apiVersion' => 3,
5091 - '__experimental' => true,
5092 5207 'name' => 'core/playlist',
5093 5208 'title' => 'Playlist',
5094 5209 'category' => 'media',
5095 5210 'description' => 'Embed a simple playlist.',
@@ -5101,11 +5216,8 @@
5101 5216 'allowedBlocks' => array(
5102 5217 'core/playlist-track'
5103 5218 ),
5104 5219 'attributes' => array(
5105 - 'currentTrack' => array(
5106 - 'type' => 'string'
5107 - ),
5108 5220 'type' => array(
5109 5221 'type' => 'string',
5110 5222 'default' => 'audio'
5111 5223 ),
@@ -5120,8 +5232,12 @@
5120 5232 'showImages' => array(
5121 5233 'type' => 'boolean',
5122 5234 'default' => true
5123 5235 ),
5236 + 'showPlayButtonArtwork' => array(
5237 + 'type' => 'boolean',
5238 + 'default' => false
5239 + ),
5124 5240 'showArtists' => array(
5125 5241 'type' => 'boolean',
5126 5242 'default' => true
5127 5243 ),
@@ -5128,8 +5244,36 @@
5128 5244 'showNumbers' => array(
5129 5245 'type' => 'boolean',
5130 5246 'default' => true
5131 5247 ),
5248 + 'showTrackLength' => array(
5249 + 'type' => 'boolean',
5250 + 'default' => true
5251 + ),
5252 + 'waveformStyle' => array(
5253 + 'type' => 'string',
5254 + 'enum' => array(
5255 + 'bars',
5256 + 'mirror',
5257 + 'line',
5258 + 'blocks',
5259 + 'dots',
5260 + 'seekbar'
5261 + ),
5262 + 'default' => 'bars'
5263 + ),
5264 + 'waveformColor' => array(
5265 + 'type' => 'string'
5266 + ),
5267 + 'waveformGradient' => array(
5268 + 'type' => 'string'
5269 + ),
5270 + 'waveformBackgroundColor' => array(
5271 + 'type' => 'string'
5272 + ),
5273 + 'waveformBackgroundGradient' => array(
5274 + 'type' => 'string'
5275 + ),
5132 5276 'caption' => array(
5133 5277 'type' => 'string'
5134 5278 )
5135 5279 ),
@@ -5134,9 +5278,9 @@
5134 5278 )
5135 5279 ),
5136 5280 'providesContext' => array(
5137 5281 'showArtists' => 'showArtists',
5138 - 'currentTrack' => 'currentTrack'
5282 + 'showImages' => 'showImages'
5139 5283 ),
5140 5284 'supports' => array(
5141 5285 'anchor' => true,
5142 5286 'align' => true,
@@ -5149,22 +5293,27 @@
5149 5293 )
5150 5294 ),
5151 5295 '__experimentalBorder' => array(
5152 5296 'color' => true,
5153 - 'radius' => true,
5154 5297 'style' => true,
5155 5298 'width' => true,
5156 5299 '__experimentalDefaultControls' => array(
5157 5300 'color' => true,
5158 - 'radius' => true,
5159 5301 'style' => true,
5160 5302 'width' => true
5161 5303 )
5162 5304 ),
5163 5305 'interactivity' => true,
5306 + 'shadow' => true,
5164 5307 'spacing' => array(
5165 5308 'margin' => true,
5166 5309 'padding' => true
5310 + ),
5311 + 'typography' => array(
5312 + 'fontSize' => true,
5313 + '__experimentalDefaultControls' => array(
5314 + 'fontSize' => true
5315 + )
5167 5316 )
5168 5317 ),
5169 5318 'editorStyle' => 'wp-block-playlist-editor',
5170 5319 'style' => 'wp-block-playlist'
@@ -5171,9 +5320,8 @@
5171 5320 ),
5172 5321 'playlist-track' => array(
5173 5322 '$schema' => 'https://schemas.wp.org/trunk/block.json',
5174 5323 'apiVersion' => 3,
5175 - '__experimental' => true,
5176 5324 'name' => 'core/playlist-track',
5177 5325 'title' => 'Playlist track',
5178 5326 'category' => 'media',
5179 5327 'parent' => array(
@@ -5186,9 +5334,9 @@
5186 5334 ),
5187 5335 'textdomain' => 'default',
5188 5336 'usesContext' => array(
5189 5337 'showArtists',
5190 - 'currentTrack'
5338 + 'showImages'
5191 5339 ),
5192 5340 'attributes' => array(
5193 5341 'blob' => array(
5194 5342 'type' => 'string',
@@ -5194,15 +5342,14 @@
5194 5342 'type' => 'string',
5195 5343 'role' => 'local'
5196 5344 ),
5197 5345 'id' => array(
5198 - 'type' => 'number'
5346 + 'type' => 'number',
5347 + 'role' => 'content'
5199 5348 ),
5200 - 'uniqueId' => array(
5201 - 'type' => 'string'
5202 - ),
5203 5349 'src' => array(
5204 - 'type' => 'string'
5350 + 'type' => 'string',
5351 + 'role' => 'content'
5205 5352 ),
5206 5353 'type' => array(
5207 5354 'type' => 'string',
5208 5355 'default' => 'audio'
@@ -5207,21 +5354,30 @@
5207 5354 'type' => 'string',
5208 5355 'default' => 'audio'
5209 5356 ),
5210 5357 'album' => array(
5211 - 'type' => 'string'
5358 + 'type' => 'string',
5359 + 'role' => 'content'
5212 5360 ),
5213 5361 'artist' => array(
5214 - 'type' => 'string'
5362 + 'type' => 'string',
5363 + 'role' => 'content'
5215 5364 ),
5216 5365 'image' => array(
5217 - 'type' => 'string'
5366 + 'type' => 'string',
5367 + 'role' => 'content'
5218 5368 ),
5369 + 'imageAlt' => array(
5370 + 'type' => 'string',
5371 + 'role' => 'content'
5372 + ),
5219 5373 'length' => array(
5220 - 'type' => 'string'
5374 + 'type' => 'string',
5375 + 'role' => 'content'
5221 5376 ),
5222 5377 'title' => array(
5223 - 'type' => 'string'
5378 + 'type' => 'string',
5379 + 'role' => 'content'
5224 5380 )
5225 5381 ),
5226 5382 'supports' => array(
5227 5383 'html' => false,
@@ -5350,8 +5506,11 @@
5350 5506 'spacing' => array(
5351 5507 'margin' => true,
5352 5508 'padding' => true
5353 5509 ),
5510 + 'background' => array(
5511 + 'gradient' => true
5512 + ),
5354 5513 'color' => array(
5355 5514 'gradients' => true,
5356 5515 'link' => true,
5357 5516 '__experimentalDefaultControls' => array(
@@ -5362,8 +5521,9 @@
5362 5521 'typography' => array(
5363 5522 'fontSize' => true,
5364 5523 'lineHeight' => true,
5365 5524 'textAlign' => true,
5525 + 'textColumns' => true,
5366 5526 '__experimentalFontFamily' => true,
5367 5527 '__experimentalFontWeight' => true,
5368 5528 '__experimentalFontStyle' => true,
5369 5529 '__experimentalTextTransform' => true,
@@ -5420,8 +5580,13 @@
5420 5580 ),
5421 5581 'supports' => array(
5422 5582 'anchor' => true,
5423 5583 'html' => false,
5584 + 'background' => array(
5585 + 'backgroundImage' => true,
5586 + 'backgroundSize' => true,
5587 + 'gradient' => true
5588 + ),
5424 5589 'spacing' => array(
5425 5590 'margin' => true,
5426 5591 'padding' => true
5427 5592 ),
@@ -5515,8 +5680,11 @@
5515 5680 ),
5516 5681 'supports' => array(
5517 5682 'anchor' => true,
5518 5683 'html' => false,
5684 + 'background' => array(
5685 + 'gradient' => true
5686 + ),
5519 5687 'color' => array(
5520 5688 'gradients' => true,
5521 5689 '__experimentalDefaultControls' => array(
5522 5690 'background' => true,
@@ -5567,9 +5735,19 @@
5567 5735 ),
5568 5736 'supports' => array(
5569 5737 'anchor' => true,
5570 5738 'html' => false,
5739 + 'background' => array(
5740 + 'backgroundImage' => true,
5741 + 'backgroundSize' => true,
5742 + 'gradient' => true,
5743 + '__experimentalDefaultControls' => array(
5744 + 'backgroundImage' => true,
5745 + 'gradient' => true
5746 + )
5747 + ),
5571 5748 'color' => array(
5749 + 'button' => true,
5572 5750 'gradients' => true,
5573 5751 'heading' => true,
5574 5752 'link' => true,
5575 5753 '__experimentalDefaultControls' => array(
@@ -5716,8 +5894,9 @@
5716 5894 'layout' => true,
5717 5895 'background' => array(
5718 5896 'backgroundImage' => true,
5719 5897 'backgroundSize' => true,
5898 + 'gradient' => true,
5720 5899 '__experimentalDefaultControls' => array(
5721 5900 'backgroundImage' => true
5722 5901 )
5723 5902 ),
@@ -5723,8 +5902,9 @@
5723 5902 ),
5724 5903 'dimensions' => array(
5725 5904 'minHeight' => true
5726 5905 ),
5906 + 'shadow' => true,
5727 5907 'spacing' => array(
5728 5908 'blockGap' => true,
5729 5909 'padding' => true,
5730 5910 'margin' => true,
@@ -5734,8 +5914,9 @@
5734 5914 )
5735 5915 ),
5736 5916 'color' => array(
5737 5917 'gradients' => true,
5918 + 'button' => true,
5738 5919 'heading' => true,
5739 5920 'link' => true,
5740 5921 '__experimentalDefaultControls' => array(
5741 5922 'background' => false,
@@ -5744,8 +5925,9 @@
5744 5925 ),
5745 5926 'typography' => array(
5746 5927 'fontSize' => true,
5747 5928 'lineHeight' => true,
5929 + 'textAlign' => true,
5748 5930 '__experimentalFontFamily' => true,
5749 5931 '__experimentalFontWeight' => true,
5750 5932 '__experimentalFontStyle' => true,
5751 5933 '__experimentalTextTransform' => true,
@@ -5806,8 +5988,11 @@
5806 5988 ),
5807 5989 'supports' => array(
5808 5990 'anchor' => true,
5809 5991 'html' => false,
5992 + 'background' => array(
5993 + 'gradient' => true
5994 + ),
5810 5995 'color' => array(
5811 5996 'gradients' => true,
5812 5997 'link' => true,
5813 5998 '__experimentalDefaultControls' => array(
@@ -5883,8 +6068,13 @@
5883 6068 ),
5884 6069 'supports' => array(
5885 6070 'anchor' => true,
5886 6071 'html' => false,
6072 + 'background' => array(
6073 + 'backgroundImage' => true,
6074 + 'backgroundSize' => true,
6075 + 'gradient' => true
6076 + ),
5887 6077 'color' => array(
5888 6078 'gradients' => true,
5889 6079 'link' => true,
5890 6080 '__experimentalDefaultControls' => array(
@@ -5892,8 +6082,9 @@
5892 6082 'text' => true,
5893 6083 'link' => true
5894 6084 )
5895 6085 ),
6086 + 'shadow' => true,
5896 6087 'spacing' => array(
5897 6088 'margin' => true,
5898 6089 'padding' => true
5899 6090 ),
@@ -6040,8 +6231,9 @@
6040 6231 'clientNavigation' => true
6041 6232 )
6042 6233 ),
6043 6234 'selectors' => array(
6235 + 'dimensions' => '.wp-block-post-featured-image img',
6044 6236 'border' => '.wp-block-post-featured-image img, .wp-block-post-featured-image .block-editor-media-placeholder, .wp-block-post-featured-image .wp-block-post-featured-image__overlay',
6045 6237 'shadow' => '.wp-block-post-featured-image img, .wp-block-post-featured-image .components-placeholder',
6046 6238 'filter' => array(
6047 6239 'duotone' => '.wp-block-post-featured-image img, .wp-block-post-featured-image .wp-block-post-featured-image__placeholder, .wp-block-post-featured-image .components-placeholder__illustration, .wp-block-post-featured-image .components-placeholder::before'
@@ -6108,12 +6300,42 @@
6108 6300 '__experimentalDefaultControls' => array(
6109 6301 'fontSize' => true
6110 6302 )
6111 6303 ),
6304 + 'shadow' => array(
6305 + '__experimentalSkipSerialization' => true
6306 + ),
6112 6307 'interactivity' => array(
6113 6308 'clientNavigation' => true
6309 + ),
6310 + 'spacing' => array(
6311 + '__experimentalSkipSerialization' => true,
6312 + 'margin' => true,
6313 + 'padding' => true,
6314 + '__experimentalDefaultControls' => array(
6315 + 'margin' => false,
6316 + 'padding' => false
6317 + )
6318 + ),
6319 + '__experimentalBorder' => array(
6320 + '__experimentalSkipSerialization' => true,
6321 + 'color' => true,
6322 + 'radius' => true,
6323 + 'style' => true,
6324 + 'width' => true,
6325 + '__experimentalDefaultControls' => array(
6326 + 'color' => false,
6327 + 'radius' => false,
6328 + 'style' => false,
6329 + 'width' => false
6330 + )
6114 6331 )
6115 6332 ),
6333 + 'selectors' => array(
6334 + 'border' => '.wp-block-post-navigation-link:not(:empty)',
6335 + 'shadow' => '.wp-block-post-navigation-link:not(:empty)',
6336 + 'spacing' => '.wp-block-post-navigation-link:not(:empty)'
6337 + ),
6116 6338 'style' => 'wp-block-post-navigation-link'
6117 6339 ),
6118 6340 'post-template' => array(
6119 6341 '$schema' => 'https://schemas.wp.org/trunk/block.json',
@@ -6132,9 +6354,10 @@
6132 6354 'displayLayout',
6133 6355 'templateSlug',
6134 6356 'previewPostType',
6135 6357 'enhancedPagination',
6136 - 'postType'
6358 + 'postType',
6359 + 'postId'
6137 6360 ),
6138 6361 'supports' => array(
6139 6362 'anchor' => true,
6140 6363 'reusable' => false,
@@ -6143,11 +6366,22 @@
6143 6366 'wide',
6144 6367 'full'
6145 6368 ),
6146 6369 'layout' => true,
6370 + 'background' => array(
6371 + 'backgroundImage' => true,
6372 + 'backgroundSize' => true,
6373 + 'gradient' => true,
6374 + '__experimentalDefaultControls' => array(
6375 + 'backgroundImage' => true,
6376 + 'gradient' => true
6377 + )
6378 + ),
6147 6379 'color' => array(
6148 6380 'gradients' => true,
6149 6381 'link' => true,
6382 + 'heading' => true,
6383 + 'button' => true,
6150 6384 '__experimentalDefaultControls' => array(
6151 6385 'background' => true,
6152 6386 'text' => true
6153 6387 )
@@ -6184,9 +6418,10 @@
6184 6418 'radius' => true,
6185 6419 'color' => true,
6186 6420 'width' => true,
6187 6421 'style' => true
6188 - )
6422 + ),
6423 + 'shadow' => true
6189 6424 ),
6190 6425 'style' => 'wp-block-post-template',
6191 6426 'editorStyle' => 'wp-block-post-template-editor'
6192 6427 ),
@@ -6226,8 +6461,13 @@
6226 6461 ),
6227 6462 'supports' => array(
6228 6463 'anchor' => true,
6229 6464 'html' => false,
6465 + 'background' => array(
6466 + 'backgroundImage' => true,
6467 + 'backgroundSize' => true,
6468 + 'gradient' => true
6469 + ),
6230 6470 'color' => array(
6231 6471 'gradients' => true,
6232 6472 'link' => true,
6233 6473 '__experimentalDefaultControls' => array(
@@ -6235,8 +6475,9 @@
6235 6475 'text' => true,
6236 6476 'link' => true
6237 6477 )
6238 6478 ),
6479 + 'shadow' => true,
6239 6480 'spacing' => array(
6240 6481 'margin' => true,
6241 6482 'padding' => true
6242 6483 ),
@@ -6299,8 +6540,13 @@
6299 6540 )
6300 6541 ),
6301 6542 'supports' => array(
6302 6543 'anchor' => true,
6544 + 'background' => array(
6545 + 'backgroundImage' => true,
6546 + 'backgroundSize' => true,
6547 + 'gradient' => true
6548 + ),
6303 6549 'color' => array(
6304 6550 'gradients' => true,
6305 6551 '__experimentalDefaultControls' => array(
6306 6552 'background' => true,
@@ -6307,8 +6553,9 @@
6307 6553 'text' => true
6308 6554 )
6309 6555 ),
6310 6556 'html' => false,
6557 + 'shadow' => true,
6311 6558 'spacing' => array(
6312 6559 'margin' => true,
6313 6560 'padding' => true,
6314 6561 '__experimentalDefaultControls' => array(
@@ -6391,8 +6638,17 @@
6391 6638 'wide',
6392 6639 'full'
6393 6640 ),
6394 6641 'html' => false,
6642 + 'background' => array(
6643 + 'backgroundImage' => true,
6644 + 'backgroundSize' => true,
6645 + 'gradient' => true,
6646 + '__experimentalDefaultControls' => array(
6647 + 'backgroundImage' => true,
6648 + 'gradient' => true
6649 + )
6650 + ),
6395 6651 'color' => array(
6396 6652 'gradients' => true,
6397 6653 'link' => true,
6398 6654 '__experimentalDefaultControls' => array(
@@ -6400,8 +6656,9 @@
6400 6656 'text' => true,
6401 6657 'link' => true
6402 6658 )
6403 6659 ),
6660 + 'shadow' => true,
6404 6661 'spacing' => array(
6405 6662 'margin' => true,
6406 6663 'padding' => true
6407 6664 ),
@@ -6455,15 +6712,22 @@
6455 6712 )
6456 6713 ),
6457 6714 'supports' => array(
6458 6715 'anchor' => true,
6716 + 'background' => array(
6717 + 'backgroundImage' => true,
6718 + 'backgroundSize' => true,
6719 + 'gradient' => true
6720 + ),
6459 6721 'color' => array(
6460 6722 'gradients' => true,
6723 + 'link' => true,
6461 6724 '__experimentalDefaultControls' => array(
6462 6725 'background' => true,
6463 6726 'text' => true
6464 6727 )
6465 6728 ),
6729 + 'shadow' => true,
6466 6730 'spacing' => array(
6467 6731 'padding' => true,
6468 6732 'margin' => true
6469 6733 ),
@@ -6517,11 +6781,8 @@
6517 6781 'type' => 'rich-text',
6518 6782 'source' => 'rich-text',
6519 6783 'selector' => 'cite',
6520 6784 'role' => 'content'
6521 - ),
6522 - 'textAlign' => array(
6523 - 'type' => 'string'
6524 6785 )
6525 6786 ),
6526 6787 'supports' => array(
6527 6788 'anchor' => true,
@@ -6533,10 +6794,12 @@
6533 6794 ),
6534 6795 'background' => array(
6535 6796 'backgroundImage' => true,
6536 6797 'backgroundSize' => true,
6798 + 'gradient' => true,
6537 6799 '__experimentalDefaultControls' => array(
6538 - 'backgroundImage' => true
6800 + 'backgroundImage' => true,
6801 + 'gradient' => true
6539 6802 )
6540 6803 ),
6541 6804 'color' => array(
6542 6805 'gradients' => true,
@@ -6549,8 +6812,9 @@
6549 6812 ),
6550 6813 'dimensions' => array(
6551 6814 'minHeight' => true
6552 6815 ),
6816 + 'shadow' => true,
6553 6817 'spacing' => array(
6554 6818 'margin' => true,
6555 6819 'padding' => true
6556 6820 ),
@@ -6556,8 +6820,9 @@
6556 6820 ),
6557 6821 'typography' => array(
6558 6822 'fontSize' => true,
6559 6823 'lineHeight' => true,
6824 + 'textAlign' => true,
6560 6825 '__experimentalFontFamily' => true,
6561 6826 '__experimentalFontWeight' => true,
6562 6827 '__experimentalFontStyle' => true,
6563 6828 '__experimentalTextTransform' => true,
@@ -6632,9 +6897,10 @@
6632 6897
6633 6898 ),
6634 6899 'format' => array(
6635 6900
6636 - )
6901 + ),
6902 + 'excludeCurrent' => null
6637 6903 )
6638 6904 ),
6639 6905 'tagName' => array(
6640 6906 'type' => 'string',
@@ -6648,9 +6914,10 @@
6648 6914 'default' => false
6649 6915 )
6650 6916 ),
6651 6917 'usesContext' => array(
6652 - 'templateSlug'
6918 + 'templateSlug',
6919 + 'postType'
6653 6920 ),
6654 6921 'providesContext' => array(
6655 6922 'queryId' => 'queryId',
6656 6923 'query' => 'query',
@@ -6664,8 +6931,11 @@
6664 6931 'full'
6665 6932 ),
6666 6933 'html' => false,
6667 6934 'layout' => true,
6935 + 'spacing' => array(
6936 + 'blockGap' => true
6937 + ),
6668 6938 'interactivity' => true
6669 6939 ),
6670 6940 'editorStyle' => 'wp-block-query-editor'
6671 6941 ),
@@ -6688,12 +6958,27 @@
6688 6958 'anchor' => true,
6689 6959 'align' => true,
6690 6960 'reusable' => false,
6691 6961 'html' => false,
6962 + 'background' => array(
6963 + 'backgroundImage' => true,
6964 + 'backgroundSize' => true,
6965 + 'gradient' => true
6966 + ),
6692 6967 'color' => array(
6693 6968 'gradients' => true,
6694 - 'link' => true
6969 + 'link' => true,
6970 + 'heading' => true,
6971 + 'button' => true
6695 6972 ),
6973 + 'spacing' => array(
6974 + 'padding' => true,
6975 + 'margin' => true,
6976 + '__experimentalDefaultControls' => array(
6977 + 'margin' => false,
6978 + 'padding' => false
6979 + )
6980 + ),
6696 6981 'typography' => array(
6697 6982 'fontSize' => true,
6698 6983 'lineHeight' => true,
6699 6984 '__experimentalFontFamily' => true,
@@ -6707,10 +6992,18 @@
6707 6992 )
6708 6993 ),
6709 6994 'interactivity' => array(
6710 6995 'clientNavigation' => true
6711 - )
6712 - )
6996 + ),
6997 + '__experimentalBorder' => array(
6998 + 'radius' => true,
6999 + 'color' => true,
7000 + 'width' => true,
7001 + 'style' => true
7002 + ),
7003 + 'shadow' => true
7004 + ),
7005 + 'style' => 'wp-block-query-no-results'
6713 7006 ),
6714 7007 'query-pagination' => array(
6715 7008 '$schema' => 'https://schemas.wp.org/trunk/block.json',
6716 7009 'apiVersion' => 3,
@@ -6749,8 +7042,11 @@
6749 7042 'anchor' => true,
6750 7043 'align' => true,
6751 7044 'reusable' => false,
6752 7045 'html' => false,
7046 + 'background' => array(
7047 + 'gradient' => true
7048 + ),
6753 7049 'color' => array(
6754 7050 'gradients' => true,
6755 7051 'link' => true,
6756 7052 '__experimentalDefaultControls' => array(
@@ -6812,8 +7108,11 @@
6812 7108 'supports' => array(
6813 7109 'anchor' => true,
6814 7110 'reusable' => false,
6815 7111 'html' => false,
7112 + 'background' => array(
7113 + 'gradient' => true
7114 + ),
6816 7115 'color' => array(
6817 7116 'gradients' => true,
6818 7117 'text' => false,
6819 7118 '__experimentalDefaultControls' => array(
@@ -6863,8 +7162,11 @@
6863 7162 'supports' => array(
6864 7163 'anchor' => true,
6865 7164 'reusable' => false,
6866 7165 'html' => false,
7166 + 'background' => array(
7167 + 'gradient' => true
7168 + ),
6867 7169 'color' => array(
6868 7170 'gradients' => true,
6869 7171 'text' => false,
6870 7172 '__experimentalDefaultControls' => array(
@@ -6916,8 +7218,11 @@
6916 7218 'supports' => array(
6917 7219 'anchor' => true,
6918 7220 'reusable' => false,
6919 7221 'html' => false,
7222 + 'background' => array(
7223 + 'gradient' => true
7224 + ),
6920 7225 'color' => array(
6921 7226 'gradients' => true,
6922 7227 'text' => false,
6923 7228 '__experimentalDefaultControls' => array(
@@ -6984,8 +7289,11 @@
6984 7289 'wide',
6985 7290 'full'
6986 7291 ),
6987 7292 'html' => false,
7293 + 'background' => array(
7294 + 'gradient' => true
7295 + ),
6988 7296 'color' => array(
6989 7297 'gradients' => true,
6990 7298 '__experimentalDefaultControls' => array(
6991 7299 'background' => true,
@@ -7055,8 +7363,13 @@
7055 7363 'wide',
7056 7364 'full'
7057 7365 ),
7058 7366 'html' => false,
7367 + 'background' => array(
7368 + 'backgroundImage' => true,
7369 + 'backgroundSize' => true,
7370 + 'gradient' => true
7371 + ),
7059 7372 'spacing' => array(
7060 7373 'margin' => true,
7061 7374 'padding' => true
7062 7375 ),
@@ -7091,8 +7404,9 @@
7091 7404 'width' => true,
7092 7405 'style' => true
7093 7406 )
7094 7407 ),
7408 + 'shadow' => true,
7095 7409 'interactivity' => array(
7096 7410 'clientNavigation' => true
7097 7411 )
7098 7412 ),
@@ -7140,10 +7454,12 @@
7140 7454 'html' => false,
7141 7455 'background' => array(
7142 7456 'backgroundImage' => true,
7143 7457 'backgroundSize' => true,
7458 + 'gradient' => true,
7144 7459 '__experimentalDefaultControls' => array(
7145 - 'backgroundImage' => true
7460 + 'backgroundImage' => true,
7461 + 'gradient' => true
7146 7462 )
7147 7463 ),
7148 7464 '__experimentalBorder' => array(
7149 7465 'color' => true,
@@ -7186,8 +7502,9 @@
7186 7502 'background' => true,
7187 7503 'text' => true
7188 7504 )
7189 7505 ),
7506 + 'shadow' => true,
7190 7507 'layout' => array(
7191 7508 'allowEditing' => false
7192 7509 ),
7193 7510 'spacing' => array(
@@ -7237,8 +7554,13 @@
7237 7554 ),
7238 7555 'supports' => array(
7239 7556 'anchor' => true,
7240 7557 'html' => false,
7558 + 'background' => array(
7559 + 'backgroundImage' => true,
7560 + 'backgroundSize' => true,
7561 + 'gradient' => true
7562 + ),
7241 7563 'color' => array(
7242 7564 'gradients' => true,
7243 7565 'text' => true
7244 7566 ),
@@ -7273,8 +7595,9 @@
7273 7595 '__experimentalDefaultControls' => array(
7274 7596 'width' => true
7275 7597 )
7276 7598 ),
7599 + 'shadow' => true,
7277 7600 'interactivity' => array(
7278 7601 'clientNavigation' => true
7279 7602 )
7280 7603 ),
@@ -7354,8 +7677,14 @@
7354 7677 'padding' => false,
7355 7678 'margin' => false
7356 7679 )
7357 7680 ),
7681 + 'shadow' => true,
7682 + 'background' => array(
7683 + 'backgroundImage' => true,
7684 + 'backgroundSize' => true,
7685 + 'gradient' => true
7686 + ),
7358 7687 'color' => array(
7359 7688 'background' => true,
7360 7689 'text' => true,
7361 7690 'gradients' => true,
@@ -7412,8 +7741,12 @@
7412 7741 'type' => 'object',
7413 7742 'default' => array(
7414 7743
7415 7744 )
7745 + ),
7746 + 'tagName' => array(
7747 + 'type' => 'string',
7748 + 'default' => ''
7416 7749 )
7417 7750 ),
7418 7751 'supports' => array(
7419 7752 'anchor' => true,
@@ -7686,8 +8019,13 @@
7686 8019 'wide',
7687 8020 'full'
7688 8021 ),
7689 8022 'html' => false,
8023 + 'background' => array(
8024 + 'backgroundImage' => true,
8025 + 'backgroundSize' => true,
8026 + 'gradient' => true
8027 + ),
7690 8028 'color' => array(
7691 8029 'gradients' => true,
7692 8030 '__experimentalDefaultControls' => array(
7693 8031 'background' => true,
@@ -7713,8 +8051,9 @@
7713 8051 '__experimentalFontStyle' => true,
7714 8052 '__experimentalFontWeight' => true,
7715 8053 '__experimentalLetterSpacing' => true,
7716 8054 '__experimentalWritingMode' => true,
8055 + 'fitText' => true,
7717 8056 '__experimentalDefaultControls' => array(
7718 8057 'fontSize' => true
7719 8058 )
7720 8059 ),
@@ -7725,9 +8064,10 @@
7725 8064 'radius' => true,
7726 8065 'color' => true,
7727 8066 'width' => true,
7728 8067 'style' => true
7729 - )
8068 + ),
8069 + 'shadow' => true
7730 8070 ),
7731 8071 'editorStyle' => 'wp-block-site-tagline-editor',
7732 8072 'style' => 'wp-block-site-tagline'
7733 8073 ),
@@ -7776,8 +8116,13 @@
7776 8116 'wide',
7777 8117 'full'
7778 8118 ),
7779 8119 'html' => false,
8120 + 'background' => array(
8121 + 'backgroundImage' => true,
8122 + 'backgroundSize' => true,
8123 + 'gradient' => true
8124 + ),
7780 8125 'color' => array(
7781 8126 'gradients' => true,
7782 8127 'link' => true,
7783 8128 '__experimentalDefaultControls' => array(
@@ -7804,8 +8149,9 @@
7804 8149 '__experimentalFontStyle' => true,
7805 8150 '__experimentalFontWeight' => true,
7806 8151 '__experimentalLetterSpacing' => true,
7807 8152 '__experimentalWritingMode' => true,
8153 + 'fitText' => true,
7808 8154 '__experimentalDefaultControls' => array(
7809 8155 'fontSize' => true
7810 8156 )
7811 8157 ),
@@ -7816,9 +8162,10 @@
7816 8162 'radius' => true,
7817 8163 'color' => true,
7818 8164 'width' => true,
7819 8165 'style' => true
7820 - )
8166 + ),
8167 + 'shadow' => true
7821 8168 ),
7822 8169 'editorStyle' => 'wp-block-site-title-editor',
7823 8170 'style' => 'wp-block-site-title'
7824 8171 ),
@@ -7936,8 +8283,11 @@
7936 8283 'default' => array(
7937 8284 'type' => 'flex'
7938 8285 )
7939 8286 ),
8287 + 'background' => array(
8288 + 'gradient' => true
8289 + ),
7940 8290 'color' => array(
7941 8291 'enableContrastChecker' => false,
7942 8292 'background' => true,
7943 8293 'gradients' => true,
@@ -8039,69 +8389,10 @@
8039 8389 ),
8040 8390 'editorStyle' => 'wp-block-spacer-editor',
8041 8391 'style' => 'wp-block-spacer'
8042 8392 ),
8043 - 'tab' => array(
8044 - '$schema' => 'https://schemas.wp.org/trunk/block.json',
8045 - '__experimental' => true,
8046 - 'apiVersion' => 3,
8047 - 'name' => 'core/tab',
8048 - 'title' => 'Tab',
8049 - 'description' => 'A single tab button in the tab list.',
8050 - 'category' => 'design',
8051 - 'textdomain' => 'default',
8052 - 'parent' => array(
8053 - 'core/tab-list'
8054 - ),
8055 - 'usesContext' => array(
8056 - 'core/tabs-list',
8057 - 'core/tabs-activeTabIndex',
8058 - 'core/tabs-editorActiveTabIndex',
8059 - 'core/tab-index',
8060 - 'core/tab-id',
8061 - 'core/tab-label'
8062 - ),
8063 - 'supports' => array(
8064 - 'html' => false,
8065 - 'reusable' => false,
8066 - 'visibility' => false,
8067 - 'lock' => false,
8068 - 'color' => array(
8069 - 'background' => true,
8070 - 'text' => true,
8071 - '__experimentalDefaultControls' => array(
8072 - 'background' => true,
8073 - 'text' => true
8074 - )
8075 - ),
8076 - 'typography' => array(
8077 - 'fontSize' => true,
8078 - '__experimentalFontFamily' => true,
8079 - 'textAlign' => true,
8080 - '__experimentalDefaultControls' => array(
8081 - 'fontSize' => true
8082 - )
8083 - ),
8084 - 'spacing' => array(
8085 - 'padding' => true,
8086 - '__experimentalDefaultControls' => array(
8087 - 'padding' => true
8088 - )
8089 - ),
8090 - '__experimentalBorder' => array(
8091 - 'radius' => true,
8092 - 'color' => true,
8093 - 'width' => true,
8094 - 'style' => true
8095 - )
8096 - ),
8097 - 'editorScript' => 'file:./index.js',
8098 - 'editorStyle' => 'file:./editor.css',
8099 - 'style' => 'file:./style-index.css'
8100 - ),
8101 8393 'tab-list' => array(
8102 8394 '$schema' => 'https://schemas.wp.org/trunk/block.json',
8103 - '__experimental' => true,
8104 8395 'apiVersion' => 3,
8105 8396 'name' => 'core/tab-list',
8106 8397 'title' => 'Tab List',
8107 8398 'description' => 'Display the tab buttons for a tabbed interface.',
@@ -8109,31 +8400,37 @@
8109 8400 'textdomain' => 'default',
8110 8401 'parent' => array(
8111 8402 'core/tabs'
8112 8403 ),
8113 - 'allowedBlocks' => array(
8114 - 'core/tab'
8115 - ),
8116 8404 'usesContext' => array(
8117 8405 'core/tabs-list'
8118 8406 ),
8119 8407 'attributes' => array(
8120 -
8408 + 'tabs' => array(
8409 + 'type' => 'array',
8410 + 'source' => 'query',
8411 + 'selector' => 'button',
8412 + 'query' => array(
8413 + 'label' => array(
8414 + 'type' => 'rich-text',
8415 + 'source' => 'rich-text',
8416 + 'role' => 'content'
8417 + )
8418 + ),
8419 + 'default' => array(
8420 +
8421 + )
8422 + )
8121 8423 ),
8122 8424 'supports' => array(
8123 8425 'html' => false,
8124 - 'reusable' => false,
8426 + 'ariaLabel' => true,
8125 8427 'visibility' => false,
8126 8428 'lock' => false,
8127 - 'dimensions' => array(
8128 - 'aspectRatio' => false,
8129 - 'height' => false,
8130 - 'minHeight' => false,
8131 - 'width' => false
8132 - ),
8133 8429 'color' => array(
8134 8430 'background' => true,
8135 8431 'text' => true,
8432 + '__experimentalSkipSerialization' => true,
8136 8433 '__experimentalDefaultControls' => array(
8137 8434 'background' => true,
8138 8435 'text' => true
8139 8436 )
@@ -8145,38 +8442,47 @@
8145 8442 '__experimentalBorder' => array(
8146 8443 'color' => true,
8147 8444 'radius' => true,
8148 8445 'style' => true,
8149 - 'width' => true
8446 + 'width' => true,
8447 + '__experimentalSkipSerialization' => true
8150 8448 ),
8151 8449 'layout' => array(
8152 8450 'default' => array(
8153 8451 'type' => 'flex',
8154 - 'flexWrap' => 'nowrap',
8155 - 'orientation' => 'horizontal'
8452 + 'flexWrap' => 'wrap'
8156 8453 ),
8157 - 'allowSwitching' => false,
8158 - 'allowVerticalAlignment' => true,
8159 - 'allowJustification' => true,
8160 - 'allowOrientation' => true
8454 + 'allowVerticalAlignment' => false,
8455 + 'allowOrientation' => false,
8456 + 'allowWrap' => false
8161 8457 ),
8162 8458 'spacing' => array(
8163 8459 'padding' => true,
8164 - 'margin' => true,
8165 8460 'blockGap' => true,
8461 + '__experimentalSkipSerialization' => array(
8462 + 'padding'
8463 + ),
8166 8464 '__experimentalDefaultControls' => array(
8167 8465 'padding' => true,
8168 - 'margin' => true,
8169 8466 'blockGap' => true
8170 8467 )
8171 8468 )
8172 8469 ),
8173 - 'editorScript' => 'file:./index.js',
8174 - 'editorStyle' => 'file:./editor.css'
8470 + 'selectors' => array(
8471 + 'border' => '.wp-block-tab-list button',
8472 + 'color' => array(
8473 + 'background' => '.wp-block-tab-list button',
8474 + 'text' => '.wp-block-tab-list button'
8475 + ),
8476 + 'spacing' => array(
8477 + 'padding' => '.wp-block-tab-list button'
8478 + )
8479 + ),
8480 + 'style' => 'wp-block-tab-list',
8481 + 'editorStyle' => 'wp-block-tab-list-editor'
8175 8482 ),
8176 8483 'tab-panel' => array(
8177 8484 '$schema' => 'https://schemas.wp.org/trunk/block.json',
8178 - '__experimental' => true,
8179 8485 'apiVersion' => 3,
8180 8486 'name' => 'core/tab-panel',
8181 8487 'title' => 'Tab Panel',
8182 8488 'description' => 'Content for a tab in a tabbed interface.',
@@ -8191,18 +8497,27 @@
8191 8497 'parent' => array(
8192 8498 'core/tab-panels'
8193 8499 ),
8194 8500 'usesContext' => array(
8195 - 'core/tabs-activeTabIndex',
8196 - 'core/tabs-editorActiveTabIndex',
8197 8501 'core/tabs-id'
8198 8502 ),
8199 8503 'supports' => array(
8200 8504 'anchor' => true,
8505 + 'background' => array(
8506 + 'backgroundImage' => true,
8507 + 'backgroundSize' => true,
8508 + 'gradient' => true,
8509 + '__experimentalDefaultControls' => array(
8510 + 'backgroundImage' => true,
8511 + 'gradient' => true
8512 + )
8513 + ),
8201 8514 'html' => false,
8202 - 'reusable' => false,
8203 8515 'color' => array(
8204 8516 'background' => true,
8517 + 'button' => true,
8518 + 'heading' => true,
8519 + 'link' => true,
8205 8520 'text' => true,
8206 8521 '__experimentalDefaultControls' => array(
8207 8522 'background' => true,
8208 8523 'text' => true
@@ -8208,33 +8523,42 @@
8208 8523 'text' => true
8209 8524 )
8210 8525 ),
8211 8526 'layout' => true,
8527 + 'shadow' => true,
8212 8528 'spacing' => array(
8213 8529 'blockGap' => true,
8214 - 'padding' => true,
8215 - 'margin' => false
8530 + 'padding' => true
8216 8531 ),
8217 8532 'typography' => array(
8218 8533 'fontSize' => true,
8534 + 'lineHeight' => true,
8219 8535 '__experimentalFontFamily' => true,
8536 + '__experimentalFontWeight' => true,
8537 + '__experimentalFontStyle' => true,
8538 + '__experimentalTextTransform' => true,
8539 + '__experimentalTextDecoration' => true,
8540 + '__experimentalLetterSpacing' => true,
8220 8541 '__experimentalDefaultControls' => array(
8221 8542 'fontSize' => true,
8222 8543 '__experimentalFontFamily' => true
8223 8544 )
8224 8545 ),
8225 - 'renaming' => true,
8546 + '__experimentalBorder' => array(
8547 + 'color' => true,
8548 + 'radius' => true,
8549 + 'style' => true,
8550 + 'width' => true
8551 + ),
8226 8552 'visibility' => false
8227 8553 ),
8228 8554 'providesContext' => array(
8229 8555 'core/tab-label' => 'label'
8230 8556 ),
8231 - 'editorScript' => 'file:./index.js',
8232 - 'style' => 'file:./style-index.css'
8557 + 'style' => 'wp-block-tab-panel'
8233 8558 ),
8234 8559 'tab-panels' => array(
8235 8560 '$schema' => 'https://schemas.wp.org/trunk/block.json',
8236 - '__experimental' => true,
8237 8561 'apiVersion' => 3,
8238 8562 'name' => 'core/tab-panels',
8239 8563 'title' => 'Tab Panels',
8240 8564 'description' => 'Container for tab panel content in a tabbed interface.',
@@ -8245,27 +8569,17 @@
8245 8569 ),
8246 8570 'allowedBlocks' => array(
8247 8571 'core/tab-panel'
8248 8572 ),
8249 - 'attributes' => array(
8250 -
8251 - ),
8252 8573 'supports' => array(
8253 - 'anchor' => false,
8254 8574 'html' => false,
8255 - 'reusable' => false,
8256 8575 'visibility' => false,
8257 8576 'lock' => false,
8258 - 'dimensions' => array(
8259 - 'aspectRatio' => false,
8260 - 'height' => false,
8261 - 'minHeight' => false,
8262 - 'width' => false
8263 - ),
8264 8577 'color' => array(
8265 8578 'background' => true,
8266 8579 'text' => true,
8267 8580 'heading' => true,
8581 + 'button' => true,
8268 8582 'link' => true,
8269 8583 '__experimentalDefaultControls' => array(
8270 8584 'background' => true,
8271 8585 'text' => true
@@ -8270,30 +8584,31 @@
8270 8584 'background' => true,
8271 8585 'text' => true
8272 8586 )
8273 8587 ),
8588 + 'background' => array(
8589 + 'backgroundImage' => true,
8590 + 'backgroundSize' => true,
8591 + 'gradient' => true,
8592 + '__experimentalDefaultControls' => array(
8593 + 'backgroundImage' => true,
8594 + 'gradient' => true
8595 + )
8596 + ),
8597 + 'shadow' => true,
8274 8598 'spacing' => array(
8275 - 'blockGap' => false,
8276 - 'padding' => true,
8277 - 'margin' => true
8599 + 'padding' => true
8278 8600 ),
8279 8601 'typography' => array(
8280 8602 'fontSize' => true,
8281 - '__experimentalFontFamily' => true
8603 + 'lineHeight' => true,
8604 + '__experimentalFontFamily' => true,
8605 + '__experimentalFontWeight' => true,
8606 + '__experimentalFontStyle' => true,
8607 + '__experimentalTextTransform' => true,
8608 + '__experimentalTextDecoration' => true,
8609 + '__experimentalLetterSpacing' => true
8282 8610 ),
8283 - 'layout' => array(
8284 - 'default' => array(
8285 - 'type' => 'flex',
8286 - 'flexWrap' => 'nowrap',
8287 - 'justifyContent' => 'stretch',
8288 - 'orientation' => 'vertical'
8289 - ),
8290 - 'allowSwitching' => false,
8291 - 'allowVerticalAlignment' => false,
8292 - 'allowOrientation' => false,
8293 - 'allowJustification' => true,
8294 - 'allowSizingOnChildren' => false
8295 - ),
8296 8611 '__experimentalBorder' => array(
8297 8612 'radius' => true,
8298 8613 'color' => true,
8299 8614 'width' => true,
@@ -8298,11 +8613,9 @@
8298 8613 'color' => true,
8299 8614 'width' => true,
8300 8615 'style' => true
8301 8616 )
8302 - ),
8303 - 'editorScript' => 'file:./index.js',
8304 - 'style' => 'file:./style-index.css'
8617 + )
8305 8618 ),
8306 8619 'table' => array(
8307 8620 '$schema' => 'https://schemas.wp.org/trunk/block.json',
8308 8621 'apiVersion' => 3,
@@ -8558,9 +8871,10 @@
8558 8871 'type' => 'object'
8559 8872 ),
8560 8873 'default' => array(
8561 8874
8562 - )
8875 + ),
8876 + 'role' => 'local'
8563 8877 ),
8564 8878 'onlyIncludeCurrentPage' => array(
8565 8879 'type' => 'boolean',
8566 8880 'default' => false
@@ -8576,8 +8890,13 @@
8576 8890 'supports' => array(
8577 8891 'anchor' => true,
8578 8892 'ariaLabel' => true,
8579 8893 'html' => false,
8894 + 'background' => array(
8895 + 'backgroundImage' => true,
8896 + 'backgroundSize' => true,
8897 + 'gradient' => true
8898 + ),
8580 8899 'color' => array(
8581 8900 'text' => true,
8582 8901 'background' => true,
8583 8902 'gradients' => true,
@@ -8582,8 +8901,9 @@
8582 8901 'background' => true,
8583 8902 'gradients' => true,
8584 8903 'link' => true
8585 8904 ),
8905 + 'shadow' => true,
8586 8906 'spacing' => array(
8587 8907 'margin' => true,
8588 8908 'padding' => true
8589 8909 ),
@@ -8589,8 +8909,9 @@
8589 8909 ),
8590 8910 'typography' => array(
8591 8911 'fontSize' => true,
8592 8912 'lineHeight' => true,
8913 + 'textAlign' => true,
8593 8914 '__experimentalFontFamily' => true,
8594 8915 '__experimentalFontWeight' => true,
8595 8916 '__experimentalFontStyle' => true,
8596 8917 '__experimentalTextTransform' => true,
@@ -8619,9 +8940,8 @@
8619 8940 'style' => 'wp-block-table-of-contents'
8620 8941 ),
8621 8942 'tabs' => array(
8622 8943 '$schema' => 'https://schemas.wp.org/trunk/block.json',
8623 - '__experimental' => true,
8624 8944 'apiVersion' => 3,
8625 8945 'name' => 'core/tabs',
8626 8946 'title' => 'Tabs',
8627 8947 'description' => 'Display content in a tabbed interface to help users navigate detailed content with ease.',
@@ -8643,29 +8963,35 @@
8643 8963 ),
8644 8964 'supports' => array(
8645 8965 'align' => true,
8646 8966 'anchor' => true,
8967 + 'background' => array(
8968 + 'backgroundImage' => true,
8969 + 'backgroundSize' => true,
8970 + 'gradient' => true,
8971 + '__experimentalDefaultControls' => array(
8972 + 'backgroundImage' => true
8973 + )
8974 + ),
8647 8975 'color' => array(
8648 8976 'text' => true,
8649 8977 'background' => true,
8978 + 'heading' => true,
8979 + 'button' => true,
8980 + 'link' => true,
8650 8981 '__experimentalDefaultControls' => array(
8651 8982 'text' => true,
8652 8983 'background' => true
8653 8984 )
8654 8985 ),
8986 + '__experimentalBorder' => array(
8987 + 'color' => true,
8988 + 'radius' => true,
8989 + 'style' => true,
8990 + 'width' => true
8991 + ),
8655 8992 'layout' => array(
8656 - 'default' => array(
8657 - 'type' => 'flex',
8658 - 'flexWrap' => 'nowrap',
8659 - 'justifyContent' => 'stretch',
8660 - 'verticalAlignment' => 'stretch',
8661 - 'orientation' => 'vertical'
8662 - ),
8663 - 'allowSwitching' => false,
8664 - 'allowVerticalAlignment' => true,
8665 - 'allowJustification' => true,
8666 - 'allowOrientation' => true,
8667 - 'allowSizingOnChildren' => true
8993 + 'allowEditing' => false
8668 8994 ),
8669 8995 'html' => false,
8670 8996 'interactivity' => true,
8671 8997 'spacing' => array(
@@ -8672,25 +8998,24 @@
8672 8998 'blockGap' => true,
8673 8999 'margin' => true,
8674 9000 'padding' => true
8675 9001 ),
9002 + 'shadow' => true,
8676 9003 'typography' => array(
8677 9004 'fontSize' => true,
8678 - '__experimentalFontFamily' => true
8679 - ),
8680 - 'renaming' => true
9005 + 'lineHeight' => true,
9006 + '__experimentalFontFamily' => true,
9007 + '__experimentalFontWeight' => true,
9008 + '__experimentalFontStyle' => true,
9009 + '__experimentalTextTransform' => true,
9010 + '__experimentalLetterSpacing' => true
9011 + )
8681 9012 ),
8682 - 'providesContext' => array(
8683 - 'core/tabs-activeTabIndex' => 'activeTabIndex',
8684 - 'core/tabs-editorActiveTabIndex' => 'editorActiveTabIndex'
8685 - ),
8686 9013 'usesContext' => array(
8687 9014 'core/tabs-list',
8688 9015 'core/tabs-id'
8689 9016 ),
8690 - 'editorScript' => 'file:./index.js',
8691 - 'editorStyle' => 'file:./index.css',
8692 - 'style' => 'file:./style-index.css',
9017 + 'style' => 'wp-block-tabs',
8693 9018 'viewScriptModule' => '@wordpress/block-library/tabs/view'
8694 9019 ),
8695 9020 'tag-cloud' => array(
8696 9021 '$schema' => 'https://schemas.wp.org/trunk/block.json',
@@ -8736,10 +9061,29 @@
8736 9061 )
8737 9062 ),
8738 9063 'supports' => array(
8739 9064 'anchor' => true,
9065 + 'background' => array(
9066 + 'backgroundImage' => true,
9067 + 'backgroundSize' => true,
9068 + 'gradient' => true,
9069 + '__experimentalDefaultControls' => array(
9070 + 'backgroundImage' => true,
9071 + 'gradient' => true
9072 + )
9073 + ),
8740 9074 'html' => false,
8741 9075 'align' => true,
9076 + 'color' => array(
9077 + 'background' => true,
9078 + 'link' => true,
9079 + 'text' => false,
9080 + '__experimentalDefaultControls' => array(
9081 + 'background' => true,
9082 + 'link' => true
9083 + )
9084 + ),
9085 + 'shadow' => true,
8742 9086 'spacing' => array(
8743 9087 'margin' => true,
8744 9088 'padding' => true
8745 9089 ),
@@ -8828,8 +9172,13 @@
8828 9172 ),
8829 9173 'supports' => array(
8830 9174 'anchor' => true,
8831 9175 'html' => false,
9176 + 'background' => array(
9177 + 'backgroundImage' => true,
9178 + 'backgroundSize' => true,
9179 + 'gradient' => true
9180 + ),
8832 9181 'color' => array(
8833 9182 'gradients' => true,
8834 9183 '__experimentalDefaultControls' => array(
8835 9184 'background' => true,
@@ -8835,8 +9184,9 @@
8835 9184 'background' => true,
8836 9185 'text' => true
8837 9186 )
8838 9187 ),
9188 + 'shadow' => true,
8839 9189 'spacing' => array(
8840 9190 'padding' => true
8841 9191 ),
8842 9192 'typography' => array(
@@ -8841,8 +9191,9 @@
8841 9191 ),
8842 9192 'typography' => array(
8843 9193 'fontSize' => true,
8844 9194 'lineHeight' => true,
9195 + 'textAlign' => true,
8845 9196 '__experimentalFontFamily' => true,
8846 9197 '__experimentalFontWeight' => true,
8847 9198 '__experimentalFontStyle' => true,
8848 9199 '__experimentalTextTransform' => true,
@@ -8887,8 +9238,16 @@
8887 9238 'wide',
8888 9239 'full'
8889 9240 ),
8890 9241 'html' => false,
9242 + 'background' => array(
9243 + 'backgroundImage' => true,
9244 + 'backgroundSize' => true,
9245 + 'gradient' => true,
9246 + '__experimentalDefaultControls' => array(
9247 + 'backgroundImage' => true
9248 + )
9249 + ),
8891 9250 'color' => array(
8892 9251 'link' => true,
8893 9252 '__experimentalDefaultControls' => array(
8894 9253 'background' => true,
@@ -8915,8 +9274,9 @@
8915 9274 ),
8916 9275 'interactivity' => array(
8917 9276 'clientNavigation' => true
8918 9277 ),
9278 + 'shadow' => true,
8919 9279 '__experimentalBorder' => array(
8920 9280 'radius' => true,
8921 9281 'color' => true,
8922 9282 'width' => true,
@@ -8945,11 +9305,8 @@
8945 9305 'termId',
8946 9306 'taxonomy'
8947 9307 ),
8948 9308 'attributes' => array(
8949 - 'textAlign' => array(
8950 - 'type' => 'string'
8951 - ),
8952 9309 'level' => array(
8953 9310 'type' => 'number',
8954 9311 'default' => 0
8955 9312 ),
@@ -8967,8 +9324,17 @@
8967 9324 'wide',
8968 9325 'full'
8969 9326 ),
8970 9327 'html' => false,
9328 + 'background' => array(
9329 + 'backgroundImage' => true,
9330 + 'backgroundSize' => true,
9331 + 'gradient' => true,
9332 + '__experimentalDefaultControls' => array(
9333 + 'backgroundImage' => true,
9334 + 'gradient' => true
9335 + )
9336 + ),
8971 9337 'color' => array(
8972 9338 'gradients' => true,
8973 9339 'link' => true,
8974 9340 '__experimentalDefaultControls' => array(
@@ -8976,8 +9342,9 @@
8976 9342 'text' => true,
8977 9343 'link' => true
8978 9344 )
8979 9345 ),
9346 + 'shadow' => true,
8980 9347 'spacing' => array(
8981 9348 'padding' => true
8982 9349 ),
8983 9350 'typography' => array(
@@ -8982,8 +9349,9 @@
8982 9349 ),
8983 9350 'typography' => array(
8984 9351 'fontSize' => true,
8985 9352 'lineHeight' => true,
9353 + 'textAlign' => true,
8986 9354 '__experimentalFontFamily' => true,
8987 9355 '__experimentalFontWeight' => true,
8988 9356 '__experimentalFontStyle' => true,
8989 9357 '__experimentalTextTransform' => true,
@@ -9032,8 +9400,16 @@
9032 9400 'wide',
9033 9401 'full'
9034 9402 ),
9035 9403 'layout' => true,
9404 + 'background' => array(
9405 + 'backgroundImage' => true,
9406 + 'backgroundSize' => true,
9407 + 'gradient' => true,
9408 + '__experimentalDefaultControls' => array(
9409 + 'backgroundImage' => true
9410 + )
9411 + ),
9036 9412 'color' => array(
9037 9413 'gradients' => true,
9038 9414 'link' => true,
9039 9415 '__experimentalDefaultControls' => array(
@@ -9073,9 +9449,10 @@
9073 9449 'radius' => true,
9074 9450 'color' => true,
9075 9451 'width' => true,
9076 9452 'style' => true
9077 - )
9453 + ),
9454 + 'shadow' => true
9078 9455 ),
9079 9456 'style' => 'wp-block-term-template',
9080 9457 'editorStyle' => 'wp-block-term-template-editor'
9081 9458 ),
@@ -9207,10 +9584,12 @@
9207 9584 'anchor' => true,
9208 9585 'background' => array(
9209 9586 'backgroundImage' => true,
9210 9587 'backgroundSize' => true,
9588 + 'gradient' => true,
9211 9589 '__experimentalDefaultControls' => array(
9212 - 'backgroundImage' => true
9590 + 'backgroundImage' => true,
9591 + 'gradient' => true
9213 9592 )
9214 9593 ),
9215 9594 'color' => array(
9216 9595 'gradients' => true,
@@ -9240,8 +9619,9 @@
9240 9619 '__experimentalDefaultControls' => array(
9241 9620 'fontSize' => true
9242 9621 )
9243 9622 ),
9623 + 'shadow' => true,
9244 9624 'spacing' => array(
9245 9625 'margin' => true,
9246 9626 'padding' => true,
9247 9627 '__experimentalDefaultControls' => array(
@@ -9332,8 +9712,14 @@
9332 9712 'selector' => 'video',
9333 9713 'attribute' => 'src',
9334 9714 'role' => 'content'
9335 9715 ),
9716 + 'width' => array(
9717 + 'type' => 'number'
9718 + ),
9719 + 'height' => array(
9720 + 'type' => 'number'
9721 + ),
9336 9722 'playsInline' => array(
9337 9723 'type' => 'boolean',
9338 9724 'source' => 'attribute',
9339 9725 'selector' => 'video',
@@ -9362,9 +9748,15 @@
9362 9748 )
9363 9749 ),
9364 9750 'interactivity' => array(
9365 9751 'clientNavigation' => true
9752 + ),
9753 + 'shadow' => array(
9754 + '__experimentalSkipSerialization' => true
9366 9755 )
9756 + ),
9757 + 'selectors' => array(
9758 + 'shadow' => '.wp-block-video video'
9367 9759 ),
9368 9760 'editorStyle' => 'wp-block-video-editor',
9369 9761 'style' => 'wp-block-video'
9370 9762 )