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/navigation-submenu/block.json +13 -0 23.2.2 → trunk View file →
@@ -39,10 +39,17 @@
39 39 "type": "string"
40 40 },
41 41 "isTopLevelItem": {
42 42 "type": "boolean"
43 + },
44 + "isParentSubmenu": {
45 + "type": "boolean",
46 + "default": true
43 47 }
44 48 },
49 + "providesContext": {
50 + "core/isInsideSubmenu": "isParentSubmenu"
51 + },
45 52 "usesContext": [
46 53 "textColor",
47 54 "customTextColor",
48 55 "backgroundColor",
@@ -75,11 +82,17 @@
75 82 "__experimentalDefaultControls": {
76 83 "fontSize": true
77 84 }
78 85 },
86 + "shadow": {
87 + "__experimentalSkipSerialization": true
88 + },
79 89 "interactivity": {
80 90 "clientNavigation": true
81 91 }
92 + },
93 + "selectors": {
94 + "shadow": ".wp-block-navigation-submenu > .wp-block-navigation__submenu-container"
82 95 },
83 96 "editorStyle": "wp-block-navigation-submenu-editor",
84 97 "style": "wp-block-navigation-submenu"
85 98 }