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 / table-of-content / block.json

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

477 lines 10.7 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": "b-blocks/table-of-content",
5 "title": "Table of Contents",
6 "category": "bBlocks",
7 "description": "The Table of Contents block automatically generates a table of contents for your WordPress post or page.",
8 "keywords": [
9 "table",
10 "content",
11 "table of contents",
12 "heading"
13 ],
14 "textdomain": "b-blocks",
15 "attributes": {
16 "align": {
17 "type": "string",
18 "default": ""
19 },
20 "rendered": {
21 "type": "boolean",
22 "default": true
23 },
24 "header": {
25 "type": "object",
26 "default": {
27 "bgColor": "",
28 "textColor": "#444",
29 "iconColor": "#000",
30 "separatorWidth": 1,
31 "separatorColor": "#ccc"
32 }
33 },
34 "headings": {
35 "type": "array",
36 "default": []
37 },
38 "boxList": {
39 "type": "object",
40 "default": {
41 "txtStyle": "normal",
42 "nTxtColor": "#2e2e2e",
43 "nBarColor": "#b0aeb1",
44 "hTxtColor": "#ec1e75",
45 "hBarColor": "#ec1e75",
46 "nTxtDecoration": false,
47 "hTxtDecoration": false,
48 "dotSize": 15,
49 "panelHeight": 0,
50 "treeColor": "blueviolet",
51 "dotShadow": [
52 {
53 "hOffset": "1px",
54 "vOffset": "1px",
55 "blur": "5px",
56 "spreed": "1px",
57 "color": "#b3b3b3",
58 "isInset": false
59 }
60 ],
61 "maxHeight": {
62 "desktop": 0,
63 "tablet": 0,
64 "mobile": 0
65 },
66 "padding": {
67 "desktop": {
68 "top": "0px",
69 "bottom": "0px",
70 "left": "20px",
71 "right": "0px"
72 },
73 "tablet": {
74 "top": "0px",
75 "bottom": "0px",
76 "left": "20px",
77 "right": "0px"
78 },
79 "mobile": {
80 "top": "0px",
81 "bottom": "0px",
82 "left": "20px",
83 "right": "0px"
84 }
85 }
86 }
87 },
88 "tagName": {
89 "type": "array",
90 "default": [
91 "h1",
92 "h2",
93 "h3"
94 ]
95 },
96 "title": {
97 "type": "object",
98 "default": {
99 "text": "Table of Contents",
100 "tag": "h3"
101 }
102 },
103 "markup": {
104 "type": "object",
105 "default": {
106 "view": "decimal",
107 "icon": "fa-solid fa-circle",
108 "color": "#000",
109 "markupSize": {
110 "desktop": "16px",
111 "tablet": "16px",
112 "mobile": "16px"
113 }
114 }
115 },
116 "minimize": {
117 "type": "object",
118 "default": {
119 "toggle": true,
120 "expandIcon": "fa-solid fa-chevron-down",
121 "collapseIcon": "fa-solid fa-chevron-up"
122 }
123 },
124 "theme": {
125 "type": "string",
126 "default": "default"
127 },
128 "sticky": {
129 "type": "object",
130 "default": {
131 "toggle": false,
132 "device": [
133 "Desktop"
134 ],
135 "width": {
136 "desktop": "617px",
137 "tablet": "90%",
138 "mobile": "100%"
139 },
140 "horizonAlign": "left",
141 "verticalAlign": "top",
142 "right": {
143 "desktop": "0px",
144 "tablet": "0px",
145 "mobile": "0px"
146 },
147 "left": {
148 "desktop": "0px",
149 "tablet": "0px",
150 "mobile": "0px"
151 },
152 "top": {
153 "desktop": "0px",
154 "tablet": "0px",
155 "mobile": "0px"
156 },
157 "bottom": {
158 "desktop": "0px",
159 "tablet": "0px",
160 "mobile": "0px"
161 },
162 "zIndex": {
163 "desktop": 100,
164 "tablet": 100,
165 "mobile": 100
166 }
167 }
168 },
169 "slideTitle": {
170 "type": "object",
171 "default": {
172 "titleColor": "#2e2e2e",
173 "slideBarColor": "#abababbf",
174 "spaceDevice": "desktop",
175 "space": {
176 "desktop": "15px",
177 "tablet": "15px",
178 "mobile": "15px"
179 },
180 "spaceBottomDevice": "desktop",
181 "spaceBottom": {
182 "desktop": "15px",
183 "tablet": "15px",
184 "mobile": "15px"
185 },
186 "spaceBottomUnit": {
187 "desktop": "px",
188 "tablet": "px",
189 "mobile": "px"
190 }
191 }
192 },
193 "slideList": {
194 "type": "object",
195 "default": {
196 "spaceDevice": "desktop",
197 "space": {
198 "desktop": "15px",
199 "tablet": "15px",
200 "mobile": "15px"
201 },
202 "fontSize": {
203 "desktop": "16px"
204 }
205 }
206 },
207 "advanced": {
208 "type": "object",
209 "default": {
210 "dimension": {
211 "padding": {
212 "desktop": {
213 "top": "0px",
214 "right": "0px",
215 "bottom": "0px",
216 "left": "0px"
217 },
218 "tablet": {
219 "top": "0px",
220 "right": "0px",
221 "bottom": "0px",
222 "left": "0px"
223 },
224 "mobile": {
225 "top": "0px",
226 "right": "0px",
227 "bottom": "0px",
228 "left": "0px"
229 }
230 }
231 },
232 "borderShadow": {
233 "normal": {
234 "radius": {
235 "top": "0px",
236 "right": "0px",
237 "bottom": "0px",
238 "left": "0px"
239 },
240 "shadow": [
241 {
242 "hOffset": "0px",
243 "vOffset": "0px",
244 "blur": "0px",
245 "spreed": "0px",
246 "color": "#7090b0",
247 "isInset": false
248 }
249 ]
250 }
251 },
252 "background": {
253 "normal": {
254 "type": "color",
255 "color": "#fff",
256 "gradient": {
257 "type": "radial",
258 "radialType": "ellipse",
259 "colors": [
260 {
261 "color": "rgba(58, 66, 222, 1)",
262 "position": "0"
263 },
264 {
265 "color": "rgba(176, 195, 235, 1)",
266 "position": "80"
267 }
268 ],
269 "centerPositions": {
270 "x": 50,
271 "y": 50
272 },
273 "angel": 90
274 },
275 "img": {
276 "url": "",
277 "desktop": {
278 "position": "center center",
279 "xPosition": 0,
280 "yPosition": 0,
281 "attachment": "",
282 "repeat": "no-repeat",
283 "size": "",
284 "customSize": "0px"
285 },
286 "tablet": {
287 "position": "center center",
288 "xPosition": 0,
289 "yPosition": 0,
290 "attachment": "",
291 "repeat": "no-repeat",
292 "size": "",
293 "customSize": "0px"
294 },
295 "mobile": {
296 "position": "center center",
297 "xPosition": 0,
298 "yPosition": 0,
299 "attachment": "",
300 "repeat": "no-repeat",
301 "size": "",
302 "customSize": "0px"
303 }
304 },
305 "video": {
306 "url": "",
307 "loop": false
308 },
309 "transition": 0.3
310 }
311 },
312 "transform": {
313 "normal": {
314 "rotate": {
315 "desktop": {
316 "z": "",
317 "y": "",
318 "x": ""
319 },
320 "tablet": {
321 "z": "",
322 "y": "",
323 "x": ""
324 },
325 "mobile": {
326 "z": "",
327 "y": "",
328 "x": ""
329 },
330 "threeDRotate": false
331 },
332 "offset": {
333 "desktop": {
334 "x": "",
335 "y": ""
336 },
337 "tablet": {
338 "x": "",
339 "y": ""
340 },
341 "mobile": {
342 "x": "",
343 "y": ""
344 }
345 },
346 "scale": {
347 "isProportion": true,
348 "desktop": {
349 "x": "",
350 "y": "",
351 "scale": ""
352 },
353 "tablet": {
354 "x": "",
355 "y": "",
356 "scale": ""
357 },
358 "mobile": {
359 "x": "",
360 "y": "",
361 "scale": ""
362 }
363 },
364 "skew": {
365 "desktop": {
366 "x": "",
367 "y": ""
368 },
369 "tablet": {
370 "x": "",
371 "y": ""
372 },
373 "mobile": {
374 "x": "",
375 "y": ""
376 }
377 },
378 "flipX": false,
379 "flipY": false
380 },
381 "hover": {
382 "rotate": {
383 "desktop": {
384 "z": "",
385 "y": "",
386 "x": ""
387 },
388 "tablet": {
389 "z": "",
390 "y": "",
391 "x": ""
392 },
393 "mobile": {
394 "z": "",
395 "y": "",
396 "x": ""
397 },
398 "threeDRotate": false
399 },
400 "offset": {
401 "desktop": {
402 "x": "",
403 "y": ""
404 },
405 "tablet": {
406 "x": "",
407 "y": ""
408 },
409 "mobile": {
410 "x": "",
411 "y": ""
412 }
413 },
414 "scale": {
415 "isProportion": true,
416 "desktop": {
417 "x": "",
418 "y": "",
419 "scale": ""
420 },
421 "tablet": {
422 "x": "",
423 "y": "",
424 "scale": ""
425 },
426 "mobile": {
427 "x": "",
428 "y": "",
429 "scale": ""
430 }
431 },
432 "skew": {
433 "desktop": {
434 "x": "",
435 "y": ""
436 },
437 "tablet": {
438 "x": "",
439 "y": ""
440 },
441 "mobile": {
442 "x": "",
443 "y": ""
444 }
445 },
446 "flipX": false,
447 "flipY": false
448 },
449 "transition": 200
450 }
451 }
452 }
453 },
454 "supports": {
455 "align": [
456 "wide",
457 "full"
458 ],
459 "html": false
460 },
461 "example": {
462 "attributes": {}
463 },
464 "editorScript": [
465 "file:../index.js",
466 "aos"
467 ],
468 "style": [
469 "file:./view.css"
470 ],
471 "render": "file:./render.php",
472 "viewScript": [
473 "file:./view.js",
474 "react",
475 "react-dom"
476 ]
477 }