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 / price-list / block.json

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

180 lines 5.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 3,
3 "$schema": "https://schemas.wp.org/trunk/block.json",
4 "name": "blockenberg/price-list",
5 "title": "Price List",
6 "description": "Display restaurant menus, service pricing, or product catalogues with category sections, images, badges and rich styling.",
7 "category": "bkbg-marketing",
8 "icon": "tag",
9 "keywords": [
10 "menu",
11 "price",
12 "food",
13 "restaurant",
14 "service",
15 "list"
16 ],
17 "textdomain": "blockenberg",
18 "editorScript": "bkbg-price-list-editor",
19 "editorStyle": "bkbg-price-list-style",
20 "style": "bkbg-price-list-style",
21 "viewScript": "bkbg-price-list-frontend",
22 "supports": {
23 "html": false,
24 "anchor": true,
25 "className": true,
26 "align": [
27 "wide",
28 "full"
29 ]
30 },
31 "attributes": {
32 "sections": {
33 "type": "array",
34 "default": [
35 {
36 "id": "s1",
37 "title": "Starters",
38 "items": [
39 {
40 "id": "i1",
41 "name": "Bruschetta",
42 "description": "Toasted bread with fresh tomatoes, garlic and basil.",
43 "price": "$8.00",
44 "badge": "Popular",
45 "imageUrl": "",
46 "imageId": 0
47 },
48 {
49 "id": "i2",
50 "name": "Caesar Salad",
51 "description": "Crisp romaine, parmesan, croutons and house dressing.",
52 "price": "$12.00",
53 "badge": "",
54 "imageUrl": "",
55 "imageId": 0
56 }
57 ]
58 },
59 {
60 "id": "s2",
61 "title": "Main Course",
62 "items": [
63 {
64 "id": "i3",
65 "name": "Grilled Salmon",
66 "description": "Atlantic salmon with lemon butter and seasonal vegetables.",
67 "price": "$28.00",
68 "badge": "Chef's Pick",
69 "imageUrl": "",
70 "imageId": 0
71 },
72 {
73 "id": "i4",
74 "name": "Margherita Pizza",
75 "description": "San Marzano tomato, fresh mozzarella and basil.",
76 "price": "$18.00",
77 "badge": "",
78 "imageUrl": "",
79 "imageId": 0
80 },
81 {
82 "id": "i5",
83 "name": "Beef Tenderloin",
84 "description": "8oz tenderloin with truffle mash and red wine jus.",
85 "price": "$42.00",
86 "badge": "Premium",
87 "imageUrl": "",
88 "imageId": 0
89 }
90 ]
91 }
92 ]
93 },
94 "layout": {
95 "type": "string",
96 "default": "list"
97 },
98 "columns": {
99 "type": "number",
100 "default": 2
101 },
102 "showImage": {
103 "type": "boolean",
104 "default": false
105 },
106 "showBadge": {
107 "type": "boolean",
108 "default": true
109 },
110 "imageSize": {
111 "type": "number",
112 "default": 72
113 },
114 "imageRadius": {
115 "type": "number",
116 "default": 8
117 },
118 "sectionSpacing": {
119 "type": "number",
120 "default": 40
121 },
122 "itemSpacing": {
123 "type": "number",
124 "default": 16
125 },
126 "dividerEnabled": {
127 "type": "boolean",
128 "default": true
129 },
130 "sectionTypo": {
131 "type": "object",
132 "default": {}
133 },
134 "nameTypo": {
135 "type": "object",
136 "default": {}
137 },
138 "descTypo": {
139 "type": "object",
140 "default": {}
141 },
142 "priceTypo": {
143 "type": "object",
144 "default": {}
145 },
146 "sectionColor": {
147 "type": "string",
148 "default": "#111827"
149 },
150 "nameColor": {
151 "type": "string",
152 "default": "#111827"
153 },
154 "descColor": {
155 "type": "string",
156 "default": "#6b7280"
157 },
158 "priceColor": {
159 "type": "string",
160 "default": "#2563eb"
161 },
162 "dividerColor": {
163 "type": "string",
164 "default": "#f3f4f6"
165 },
166 "badgeBg": {
167 "type": "string",
168 "default": "#fef3c7"
169 },
170 "badgeColor": {
171 "type": "string",
172 "default": "#92400e"
173 },
174 "bgColor": {
175 "type": "string",
176 "default": ""
177 }
178 }
179 }
180