PluginProbe
bBlocks – Essential Gutenberg Blocks & Patterns Collection / 2.0.38
bBlocks – Essential Gutenberg Blocks & Patterns Collection v2.0.38
2.1.8 2.1.7 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.0.43 2.0.42 2.0.41 2.0.40 2.0.39 2.0.38 trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.5.1 1.5.2 1.5.3 All 108 releases
b-blocks / build / data-table / block.json

block.json in bBlocks – Essential Gutenberg Blocks & Patterns Collection 2.0.38, at build/data-table/block.json

285 lines 5.9 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": "b-blocks/data-table",
5 "description": "Data Table allows you to create and manage tables on your website.",
6 "title": "Data Table",
7 "category": "bBlocks",
8 "keywords": [
9 "data table",
10 "table",
11 "data"
12 ],
13 "textdomain": "b-blocks",
14 "attributes": {
15 "align": {
16 "type": "string",
17 "default": ""
18 },
19 "tableSort": {
20 "type": "boolean",
21 "default": false
22 },
23 "headings": {
24 "type": "array",
25 "default": [
26 {
27 "clName": "Table Header 1",
28 "clSpan": "1",
29 "width": "0%",
30 "enableIcon": false,
31 "icon": "",
32 "image": "",
33 "iconType": "icon",
34 "size": 20
35 },
36 {
37 "clName": "Table Header 2",
38 "clSpan": "1",
39 "width": "0%",
40 "enableIcon": false,
41 "icon": "",
42 "image": "",
43 "iconType": "icon",
44 "size": 20
45 }
46 ]
47 },
48 "bodyItems": {
49 "type": "array",
50 "default": [
51 [
52 {
53 "clSpan": 1,
54 "contentType": "edit",
55 "rowSpan": 1,
56 "icon": "",
57 "text": "Content 1"
58 },
59 {
60 "clSpan": 1,
61 "contentType": "edit",
62 "rowSpan": 1,
63 "icon": "",
64 "text": "Content 2"
65 }
66 ],
67 [
68 {
69 "clSpan": 1,
70 "contentType": "edit",
71 "rowSpan": 1,
72 "icon": "",
73 "text": "Content 1"
74 },
75 {
76 "clSpan": 1,
77 "contentType": "edit",
78 "rowSpan": 1,
79 "icon": "",
80 "text": "Content 2"
81 }
82 ]
83 ]
84 },
85 "table": {
86 "type": "object",
87 "default": {
88 "width": {
89 "desktop": "100%",
90 "tablet": "100%",
91 "mobile": "100%"
92 },
93 "alignment": "left",
94 "borderSeparator": true
95 }
96 },
97 "headerStyle": {
98 "type": "object",
99 "default": {
100 "bRadius": 0,
101 "padding": {
102 "desktop": {
103 "top": "15px",
104 "right": "15px",
105 "bottom": "15px",
106 "left": "15px"
107 },
108 "tablet": {
109 "top": "15px",
110 "right": "15px",
111 "bottom": "15px",
112 "left": "15px"
113 },
114 "mobile": {
115 "top": "15px",
116 "right": "15px",
117 "bottom": "15px",
118 "left": "15px"
119 }
120 },
121 "color": {
122 "normal": "#fff",
123 "hover": "#fff"
124 },
125 "bg": {
126 "normal": "#0000ff",
127 "hover": "#0000ff"
128 },
129 "borderType": {
130 "normal": "default",
131 "hover": "default"
132 },
133 "border": {
134 "normal": {
135 "width": 1,
136 "color": "#000"
137 },
138 "hover": {
139 "width": 1,
140 "color": "#000"
141 }
142 },
143 "iconSize": {
144 "desktop": 25,
145 "tablet": 25,
146 "mobile": 25
147 },
148 "iconSpace": {
149 "desktop": 10,
150 "tablet": 10,
151 "mobile": 10
152 },
153 "iconColor": "#fff",
154 "titleAlign": "left"
155 }
156 },
157 "bodyStyle": {
158 "type": "object",
159 "default": {
160 "oddCell": {
161 "normal": {
162 "color": "#000",
163 "bg": ""
164 },
165 "hover": {
166 "color": "#000",
167 "bg": ""
168 }
169 },
170 "evenCell": {
171 "normal": {
172 "color": "#000",
173 "bg": ""
174 },
175 "hover": {
176 "color": "#000",
177 "bg": ""
178 }
179 },
180 "borderType": {
181 "normal": "default",
182 "hover": "default"
183 },
184 "border": {
185 "normal": {
186 "width": 1,
187 "color": "#000"
188 },
189 "hover": {
190 "width": 1,
191 "color": "#000"
192 }
193 },
194 "padding": {
195 "desktop": {
196 "top": "15px",
197 "right": "15px",
198 "bottom": "15px",
199 "left": "15px"
200 },
201 "tablet": {
202 "top": "15px",
203 "right": "15px",
204 "bottom": "15px",
205 "left": "15px"
206 },
207 "mobile": {
208 "top": "15px",
209 "right": "15px",
210 "bottom": "15px",
211 "left": "15px"
212 }
213 },
214 "linkColor": {
215 "normal": "#4949bd",
216 "hover": "#4949bd"
217 },
218 "textAlign": {
219 "desktop": "left",
220 "tablet": "left",
221 "mobile": "left"
222 },
223 "icon": {
224 "size": {
225 "desktop": 25,
226 "tablet": 25,
227 "mobile": 25
228 },
229 "color": {
230 "normal": "#4949bd",
231 "hover": "#4949bd"
232 }
233 }
234 }
235 },
236 "advanced": {
237 "type": "object",
238 "default": {
239 "dimension": {
240 "padding": {
241 "desktop": {
242 "top": "0px",
243 "right": "0px",
244 "bottom": "0px",
245 "left": "0px"
246 },
247 "tablet": {
248 "top": "0px",
249 "right": "0px",
250 "bottom": "0px",
251 "left": "0px"
252 },
253 "mobile": {
254 "top": "0px",
255 "right": "0px",
256 "bottom": "0px",
257 "left": "0px"
258 }
259 }
260 }
261 }
262 }
263 },
264 "supports": {
265 "align": [
266 "wide",
267 "full"
268 ],
269 "html": false
270 },
271 "example": {
272 "attributes": {}
273 },
274 "editorScript": [
275 "file:../index.js",
276 "aos"
277 ],
278 "style": "file:./view.css",
279 "render": "file:./render.php",
280 "viewScript": [
281 "file:./view.js",
282 "react",
283 "react-dom"
284 ]
285 }