PluginProbe
Gutenberg / 12.7.1
Gutenberg v12.7.1
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 12.7.1, at build/block-library/blocks/navigation/block.json

116 lines 2.6 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": 2,
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 "hasIcon": {
45 "type": "boolean",
46 "default": true
47 },
48 "__unstableLocation": {
49 "type": "string"
50 },
51 "overlayBackgroundColor": {
52 "type": "string"
53 },
54 "customOverlayBackgroundColor": {
55 "type": "string"
56 },
57 "overlayTextColor": {
58 "type": "string"
59 },
60 "customOverlayTextColor": {
61 "type": "string"
62 }
63 },
64 "usesContext": [ "navigationArea" ],
65 "providesContext": {
66 "textColor": "textColor",
67 "customTextColor": "customTextColor",
68 "backgroundColor": "backgroundColor",
69 "customBackgroundColor": "customBackgroundColor",
70 "overlayTextColor": "overlayTextColor",
71 "customOverlayTextColor": "customOverlayTextColor",
72 "overlayBackgroundColor": "overlayBackgroundColor",
73 "customOverlayBackgroundColor": "customOverlayBackgroundColor",
74 "fontSize": "fontSize",
75 "customFontSize": "customFontSize",
76 "showSubmenuIcon": "showSubmenuIcon",
77 "openSubmenusOnClick": "openSubmenusOnClick",
78 "style": "style",
79 "orientation": "orientation"
80 },
81 "supports": {
82 "align": [ "wide", "full" ],
83 "anchor": true,
84 "html": false,
85 "inserter": true,
86 "typography": {
87 "fontSize": true,
88 "lineHeight": true,
89 "__experimentalFontStyle": true,
90 "__experimentalFontWeight": true,
91 "__experimentalTextTransform": true,
92 "__experimentalFontFamily": true,
93 "__experimentalDefaultControls": {
94 "fontSize": true
95 }
96 },
97 "spacing": {
98 "blockGap": true,
99 "units": [ "px", "em", "rem", "vh", "vw" ],
100 "__experimentalDefaultControls": {
101 "blockGap": true
102 }
103 },
104 "__experimentalLayout": {
105 "allowSwitching": false,
106 "allowInheriting": false,
107 "default": {
108 "type": "flex"
109 }
110 }
111 },
112 "viewScript": "file:./view.min.js",
113 "editorStyle": "wp-block-navigation-editor",
114 "style": "wp-block-navigation"
115 }
116