PluginProbe
Gutenberg / 16.6.0
Gutenberg v16.6.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 12.6.0 All 403 releases
gutenberg / build / block-library / blocks / navigation / block.json

block.json in Gutenberg 16.6.0, at build/block-library/blocks/navigation/block.json

140 lines 3.1 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 "description": "A collection of blocks that allow visitors to get around your site.",
8 "keywords": [ "menu", "navigation", "links" ],
9 "textdomain": "default",
10 "attributes": {
11 "ref": {
12 "type": "number"
13 },
14 "textColor": {
15 "type": "string"
16 },
17 "customTextColor": {
18 "type": "string"
19 },
20 "rgbTextColor": {
21 "type": "string"
22 },
23 "backgroundColor": {
24 "type": "string"
25 },
26 "customBackgroundColor": {
27 "type": "string"
28 },
29 "rgbBackgroundColor": {
30 "type": "string"
31 },
32 "showSubmenuIcon": {
33 "type": "boolean",
34 "default": true
35 },
36 "openSubmenusOnClick": {
37 "type": "boolean",
38 "default": false
39 },
40 "overlayMenu": {
41 "type": "string",
42 "default": "mobile"
43 },
44 "icon": {
45 "type": "string",
46 "default": "handle"
47 },
48 "hasIcon": {
49 "type": "boolean",
50 "default": true
51 },
52 "__unstableLocation": {
53 "type": "string"
54 },
55 "overlayBackgroundColor": {
56 "type": "string"
57 },
58 "customOverlayBackgroundColor": {
59 "type": "string"
60 },
61 "overlayTextColor": {
62 "type": "string"
63 },
64 "customOverlayTextColor": {
65 "type": "string"
66 },
67 "maxNestingLevel": {
68 "type": "number",
69 "default": 5
70 },
71 "templateLock": {
72 "type": [ "string", "boolean" ],
73 "enum": [ "all", "insert", "contentOnly", false ]
74 }
75 },
76 "providesContext": {
77 "textColor": "textColor",
78 "customTextColor": "customTextColor",
79 "backgroundColor": "backgroundColor",
80 "customBackgroundColor": "customBackgroundColor",
81 "overlayTextColor": "overlayTextColor",
82 "customOverlayTextColor": "customOverlayTextColor",
83 "overlayBackgroundColor": "overlayBackgroundColor",
84 "customOverlayBackgroundColor": "customOverlayBackgroundColor",
85 "fontSize": "fontSize",
86 "customFontSize": "customFontSize",
87 "showSubmenuIcon": "showSubmenuIcon",
88 "openSubmenusOnClick": "openSubmenusOnClick",
89 "style": "style",
90 "maxNestingLevel": "maxNestingLevel"
91 },
92 "supports": {
93 "align": [ "wide", "full" ],
94 "html": false,
95 "inserter": true,
96 "typography": {
97 "fontSize": true,
98 "lineHeight": true,
99 "__experimentalFontStyle": true,
100 "__experimentalFontWeight": true,
101 "__experimentalTextTransform": true,
102 "__experimentalFontFamily": true,
103 "__experimentalLetterSpacing": true,
104 "__experimentalTextDecoration": true,
105 "__experimentalSkipSerialization": [ "textDecoration" ],
106 "__experimentalDefaultControls": {
107 "fontSize": true
108 }
109 },
110 "spacing": {
111 "blockGap": true,
112 "units": [ "px", "em", "rem", "vh", "vw" ],
113 "__experimentalDefaultControls": {
114 "blockGap": true
115 }
116 },
117 "layout": {
118 "allowSwitching": false,
119 "allowInheriting": false,
120 "allowVerticalAlignment": false,
121 "allowSizingOnChildren": true,
122 "default": {
123 "type": "flex"
124 }
125 },
126 "__experimentalStyle": {
127 "elements": {
128 "link": {
129 "color": {
130 "text": "inherit"
131 }
132 }
133 }
134 }
135 },
136 "viewScript": [ "file:./view.min.js", "file:./view-modal.min.js" ],
137 "editorStyle": "wp-block-navigation-editor",
138 "style": "wp-block-navigation"
139 }
140