PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / restaurant-menu / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/restaurant-menu/block.json

280 lines 8.4 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": "blockenberg/restaurant-menu",
5 "title": "Restaurant Menu",
6 "description": "A beautifully organized restaurant or café menu with category tabs, item names, descriptions, prices, and dietary badges.",
7 "category": "bkbg-business",
8 "icon": "food",
9 "keywords": [
10 "menu",
11 "restaurant",
12 "food",
13 "cafe",
14 "price",
15 "dish"
16 ],
17 "textdomain": "blockenberg",
18 "editorScript": "bkbg-restaurant-menu-editor",
19 "style": "bkbg-restaurant-menu-style",
20 "viewScript": "bkbg-restaurant-menu-frontend",
21 "supports": {
22 "html": false,
23 "anchor": true,
24 "className": true,
25 "align": [
26 "wide",
27 "full"
28 ]
29 },
30 "attributes": {
31 "categories": {
32 "type": "array",
33 "default": [
34 {
35 "id": "rm001",
36 "icon": "🥗",
37 "iconType": "custom-char",
38 "iconDashicon": "",
39 "iconImageUrl": "",
40 "name": "Starters",
41 "items": [
42 {
43 "id": "ri001",
44 "name": "Bruschetta al Pomodoro",
45 "description": "Toasted sourdough, cherry tomatoes, fresh basil, extra virgin olive oil",
46 "price": "9.50",
47 "badges": [
48 "V",
49 "VG"
50 ]
51 },
52 {
53 "id": "ri002",
54 "name": "Crispy Calamari",
55 "description": "Lightly breaded squid rings, lemon aioli, fresh herbs",
56 "price": "13.00",
57 "badges": []
58 },
59 {
60 "id": "ri003",
61 "name": "Burrata & Prosciutto",
62 "description": "Creamy burrata, Parma ham, heirloom tomatoes, aged balsamic",
63 "price": "16.50",
64 "badges": [
65 "GF"
66 ]
67 }
68 ]
69 },
70 {
71 "id": "rm002",
72 "icon": "🍝",
73 "iconType": "custom-char",
74 "iconDashicon": "",
75 "iconImageUrl": "",
76 "name": "Main Course",
77 "items": [
78 {
79 "id": "ri004",
80 "name": "Spaghetti Carbonara",
81 "description": "Free-range egg, guanciale, Pecorino Romano, black pepper",
82 "price": "22.00",
83 "badges": []
84 },
85 {
86 "id": "ri005",
87 "name": "Grilled Sea Bass",
88 "description": "Pan-seared fillet, caponata, lemon butter sauce, micro greens",
89 "price": "28.00",
90 "badges": [
91 "GF",
92 "DF"
93 ]
94 },
95 {
96 "id": "ri006",
97 "name": "Wild Mushroom Risotto",
98 "description": "Arborio rice, porcini, truffle oil, Grana Padano, fresh thyme",
99 "price": "19.50",
100 "badges": [
101 "V",
102 "GF"
103 ]
104 }
105 ]
106 },
107 {
108 "id": "rm003",
109 "icon": "🍮",
110 "iconType": "custom-char",
111 "iconDashicon": "",
112 "iconImageUrl": "",
113 "name": "Desserts",
114 "items": [
115 {
116 "id": "ri007",
117 "name": "Tiramisu",
118 "description": "Classic Italian dessert, Mascarpone, espresso-soaked ladyfingers, cocoa",
119 "price": "9.00",
120 "badges": [
121 "V"
122 ]
123 },
124 {
125 "id": "ri008",
126 "name": "Panna Cotta",
127 "description": "Vanilla panna cotta, seasonal berry coulis, mint",
128 "price": "8.50",
129 "badges": [
130 "V",
131 "GF"
132 ]
133 }
134 ]
135 }
136 ]
137 },
138 "layout": {
139 "type": "string",
140 "default": "tabs"
141 },
142 "currency": {
143 "type": "string",
144 "default": "$"
145 },
146 "currencyPosition": {
147 "type": "string",
148 "default": "before"
149 },
150 "itemStyle": {
151 "type": "string",
152 "default": "list"
153 },
154 "columns": {
155 "type": "integer",
156 "default": 1
157 },
158 "showDescription": {
159 "type": "boolean",
160 "default": true
161 },
162 "showBadges": {
163 "type": "boolean",
164 "default": true
165 },
166 "showCategoryIcon": {
167 "type": "boolean",
168 "default": true
169 },
170 "separator": {
171 "type": "string",
172 "default": "line"
173 },
174 "badgeRadius": {
175 "type": "integer",
176 "default": 4
177 },
178 "cardRadius": {
179 "type": "integer",
180 "default": 12
181 },
182 "cardPadding": {
183 "type": "integer",
184 "default": 18
185 },
186 "categoryNameSize": {
187 "type": "integer",
188 "default": 13
189 },
190 "itemNameSize": {
191 "type": "integer",
192 "default": 16
193 },
194 "descSize": {
195 "type": "integer",
196 "default": 14
197 },
198 "priceSize": {
199 "type": "integer",
200 "default": 16
201 },
202 "badgeSize": {
203 "type": "integer",
204 "default": 11
205 },
206 "catNameTypo": {
207 "type": "object",
208 "default": {}
209 },
210 "itemNameTypo": {
211 "type": "object",
212 "default": {}
213 },
214 "descTypo": {
215 "type": "object",
216 "default": {}
217 },
218 "priceTypo": {
219 "type": "object",
220 "default": {}
221 },
222 "accentColor": {
223 "type": "string",
224 "default": "#6c3fb5"
225 },
226 "activeTabBg": {
227 "type": "string",
228 "default": "#6c3fb5"
229 },
230 "activeTabColor": {
231 "type": "string",
232 "default": "#ffffff"
233 },
234 "inactiveTabBg": {
235 "type": "string",
236 "default": "#f3f4f6"
237 },
238 "inactiveTabColor": {
239 "type": "string",
240 "default": "#374151"
241 },
242 "itemNameColor": {
243 "type": "string",
244 "default": "#111827"
245 },
246 "descColor": {
247 "type": "string",
248 "default": "#6b7280"
249 },
250 "priceColor": {
251 "type": "string",
252 "default": "#6c3fb5"
253 },
254 "cardBg": {
255 "type": "string",
256 "default": "#ffffff"
257 },
258 "cardBorderColor": {
259 "type": "string",
260 "default": "#e5e7eb"
261 },
262 "separatorColor": {
263 "type": "string",
264 "default": "#f3f4f6"
265 },
266 "bgColor": {
267 "type": "string",
268 "default": ""
269 },
270 "paddingTop": {
271 "type": "integer",
272 "default": 64
273 },
274 "paddingBottom": {
275 "type": "integer",
276 "default": 64
277 }
278 }
279 }
280