PluginProbe
Gutenberg / 22.3.0
Gutenberg v22.3.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 12.6.0 7.4.0 All 402 releases
gutenberg / build / scripts / block-library / navigation / block.json

block.json in Gutenberg 22.3.0, at build/scripts/block-library/navigation/block.json

150 lines 3.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "core/navigation",
5 "title": "Navigation",
6 "category": "theme",
7 "allowedBlocks": [
8 "core/navigation-link",
9 "core/search",
10 "core/social-links",
11 "core/page-list",
12 "core/spacer",
13 "core/home-link",
14 "core/site-title",
15 "core/site-logo",
16 "core/navigation-submenu",
17 "core/loginout",
18 "core/buttons"
19 ],
20 "description": "A collection of blocks that allow visitors to get around your site.",
21 "keywords": [ "menu", "navigation", "links" ],
22 "textdomain": "default",
23 "attributes": {
24 "ref": {
25 "type": "number"
26 },
27 "textColor": {
28 "type": "string"
29 },
30 "customTextColor": {
31 "type": "string"
32 },
33 "rgbTextColor": {
34 "type": "string"
35 },
36 "backgroundColor": {
37 "type": "string"
38 },
39 "customBackgroundColor": {
40 "type": "string"
41 },
42 "rgbBackgroundColor": {
43 "type": "string"
44 },
45 "showSubmenuIcon": {
46 "type": "boolean",
47 "default": true
48 },
49 "openSubmenusOnClick": {
50 "type": "boolean",
51 "default": false
52 },
53 "overlayMenu": {
54 "type": "string",
55 "default": "mobile"
56 },
57 "overlay": {
58 "type": "string"
59 },
60 "icon": {
61 "type": "string",
62 "default": "handle"
63 },
64 "hasIcon": {
65 "type": "boolean",
66 "default": true
67 },
68 "__unstableLocation": {
69 "type": "string"
70 },
71 "overlayBackgroundColor": {
72 "type": "string"
73 },
74 "customOverlayBackgroundColor": {
75 "type": "string"
76 },
77 "overlayTextColor": {
78 "type": "string"
79 },
80 "customOverlayTextColor": {
81 "type": "string"
82 },
83 "maxNestingLevel": {
84 "type": "number",
85 "default": 5
86 },
87 "templateLock": {
88 "type": [ "string", "boolean" ],
89 "enum": [ "all", "insert", "contentOnly", false ]
90 }
91 },
92 "providesContext": {
93 "textColor": "textColor",
94 "customTextColor": "customTextColor",
95 "backgroundColor": "backgroundColor",
96 "customBackgroundColor": "customBackgroundColor",
97 "overlayTextColor": "overlayTextColor",
98 "customOverlayTextColor": "customOverlayTextColor",
99 "overlayBackgroundColor": "overlayBackgroundColor",
100 "customOverlayBackgroundColor": "customOverlayBackgroundColor",
101 "fontSize": "fontSize",
102 "customFontSize": "customFontSize",
103 "showSubmenuIcon": "showSubmenuIcon",
104 "openSubmenusOnClick": "openSubmenusOnClick",
105 "style": "style",
106 "maxNestingLevel": "maxNestingLevel"
107 },
108 "supports": {
109 "align": [ "wide", "full" ],
110 "ariaLabel": true,
111 "contentRole": true,
112 "html": false,
113 "inserter": true,
114 "typography": {
115 "fontSize": true,
116 "lineHeight": true,
117 "__experimentalFontStyle": true,
118 "__experimentalFontWeight": true,
119 "__experimentalTextTransform": true,
120 "__experimentalFontFamily": true,
121 "__experimentalLetterSpacing": true,
122 "__experimentalTextDecoration": true,
123 "__experimentalSkipSerialization": [ "textDecoration" ],
124 "__experimentalDefaultControls": {
125 "fontSize": true
126 }
127 },
128 "spacing": {
129 "blockGap": true,
130 "units": [ "px", "em", "rem", "vh", "vw" ],
131 "__experimentalDefaultControls": {
132 "blockGap": true
133 }
134 },
135 "layout": {
136 "allowSwitching": false,
137 "allowInheriting": false,
138 "allowVerticalAlignment": false,
139 "allowSizingOnChildren": true,
140 "default": {
141 "type": "flex"
142 }
143 },
144 "interactivity": true,
145 "renaming": false
146 },
147 "editorStyle": "wp-block-navigation-editor",
148 "style": "wp-block-navigation"
149 }
150