PluginProbe
bBlocks – Essential Gutenberg Blocks & Patterns Collection / 2.1.8
bBlocks – Essential Gutenberg Blocks & Patterns Collection v2.1.8
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 / comparison-table / block.json

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

613 lines 13.1 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/comparison-table",
5 "title": "Comparison Table",
6 "category": "bBlocks",
7 "description": "Compare plans side by side with check, cross, or text cells and a highlighted featured column.",
8 "keywords": [
9 "comparison",
10 "compare",
11 "table",
12 "feature matrix",
13 "pricing",
14 "plan",
15 "versus"
16 ],
17 "textdomain": "b-blocks",
18 "attributes": {
19 "align": {
20 "type": "string",
21 "default": ""
22 },
23 "content": {
24 "type": "object",
25 "default": {
26 "caption": "Feature comparison across plans",
27 "captionPosition": "hidden",
28 "captionColor": "",
29 "captionTypo": {},
30 "featuredLabel": "Most Popular"
31 }
32 },
33 "table": {
34 "type": "object",
35 "default": {
36 "theme": "default",
37 "alignment": "center",
38 "cellBorderType": "collapse",
39 "stackOnMobile": false,
40 "stickyHeader": false,
41 "stickyFirstColumn": true,
42 "showRowStripes": true,
43 "desktop": {
44 "width": "900px",
45 "radius": {
46 "top": "8px",
47 "right": "8px",
48 "bottom": "8px",
49 "left": "8px"
50 },
51 "iconPosition": "top"
52 },
53 "tablet": {
54 "width": "",
55 "radius": {},
56 "iconPosition": ""
57 },
58 "mobile": {
59 "width": "",
60 "radius": {},
61 "iconPosition": ""
62 },
63 "borderColor": "#e2e8f0",
64 "border": {},
65 "shadow": [],
66 "bg": {}
67 }
68 },
69 "header": {
70 "type": "object",
71 "default": {
72 "normal": {
73 "bg": {
74 "type": "solid",
75 "color": "#1e293b"
76 },
77 "color": "#ffffff"
78 },
79 "hover": {
80 "bg": {},
81 "color": ""
82 },
83 "typo": {}
84 }
85 },
86 "body": {
87 "type": "object",
88 "default": {
89 "bg": {
90 "type": "solid",
91 "color": "#ffffff"
92 },
93 "color": "#1f2937",
94 "typo": {},
95 "desktop": {
96 "padding": {
97 "top": "12px",
98 "right": "16px",
99 "bottom": "12px",
100 "left": "16px"
101 }
102 },
103 "tablet": {
104 "padding": {}
105 },
106 "mobile": {
107 "padding": {}
108 }
109 }
110 },
111 "rowLabel": {
112 "type": "object",
113 "default": {
114 "bg": {
115 "type": "solid",
116 "color": "transparent"
117 },
118 "color": "",
119 "typo": {}
120 }
121 },
122 "rowColors": {
123 "type": "object",
124 "default": {
125 "odd": {
126 "color": "",
127 "bg": ""
128 },
129 "even": {
130 "color": "",
131 "bg": ""
132 },
133 "hover": {
134 "color": "",
135 "bg": ""
136 },
137 "stripe": {
138 "type": "solid",
139 "color": "#f8fafc"
140 },
141 "transition": 0.2
142 }
143 },
144 "featured": {
145 "type": "object",
146 "default": {
147 "bg": {
148 "type": "solid",
149 "color": "#2563eb"
150 },
151 "color": "#ffffff",
152 "columnBg": {
153 "type": "solid",
154 "color": "#eff6ff"
155 },
156 "labelBg": {
157 "type": "solid",
158 "color": "#f59e0b"
159 },
160 "labelColor": "#ffffff"
161 }
162 },
163 "icons": {
164 "type": "object",
165 "default": {
166 "check": "check",
167 "cross": "times",
168 "checkSvg": "",
169 "crossSvg": "",
170 "checkColor": "#16a34a",
171 "crossColor": "#dc2626",
172 "desktop": {
173 "size": "18px",
174 "headerSize": "32px"
175 },
176 "tablet": {
177 "size": "",
178 "headerSize": ""
179 },
180 "mobile": {
181 "size": "",
182 "headerSize": ""
183 }
184 }
185 },
186 "tooltip": {
187 "type": "object",
188 "default": {
189 "bg": {},
190 "color": "",
191 "typo": {},
192 "arrow": true,
193 "underline": true,
194 "shadow": [],
195 "desktop": {
196 "width": "",
197 "padding": {
198 "top": "",
199 "right": "",
200 "bottom": "",
201 "left": ""
202 },
203 "radius": {
204 "top": "",
205 "right": "",
206 "bottom": "",
207 "left": ""
208 }
209 },
210 "tablet": {
211 "width": "",
212 "padding": {},
213 "radius": {}
214 },
215 "mobile": {
216 "width": "",
217 "padding": {},
218 "radius": {}
219 }
220 }
221 },
222 "columns": {
223 "type": "array",
224 "default": [
225 {
226 "_key": "col-feature",
227 "isFeatureColumn": true,
228 "label": "Features",
229 "iconSize": {
230 "desktop": "",
231 "tablet": "",
232 "mobile": ""
233 },
234 "cta": {
235 "normal": {
236 "bg": {},
237 "color": ""
238 },
239 "hover": {
240 "bg": {},
241 "color": ""
242 },
243 "typo": {},
244 "border": {},
245 "padding": {
246 "top": "",
247 "right": "",
248 "bottom": "",
249 "left": ""
250 },
251 "radius": {
252 "top": "",
253 "right": "",
254 "bottom": "",
255 "left": ""
256 },
257 "transition": "",
258 "alignment": {
259 "desktop": "",
260 "tablet": "",
261 "mobile": ""
262 }
263 }
264 },
265 {
266 "_key": "col-default-1",
267 "label": "Basic",
268 "isFeatured": false,
269 "icon": "",
270 "iconColor": "",
271 "cta": {
272 "normal": {
273 "bg": {},
274 "color": ""
275 },
276 "hover": {
277 "bg": {},
278 "color": ""
279 },
280 "typo": {},
281 "border": {},
282 "padding": {
283 "top": "",
284 "right": "",
285 "bottom": "",
286 "left": ""
287 },
288 "radius": {
289 "top": "",
290 "right": "",
291 "bottom": "",
292 "left": ""
293 },
294 "transition": "",
295 "alignment": {
296 "desktop": "",
297 "tablet": "",
298 "mobile": ""
299 }
300 },
301 "iconSize": {
302 "desktop": "",
303 "tablet": "",
304 "mobile": ""
305 }
306 },
307 {
308 "_key": "col-default-2",
309 "label": "Pro",
310 "isFeatured": true,
311 "icon": "",
312 "iconColor": "",
313 "cta": {
314 "normal": {
315 "bg": {},
316 "color": ""
317 },
318 "hover": {
319 "bg": {},
320 "color": ""
321 },
322 "typo": {},
323 "border": {},
324 "padding": {
325 "top": "",
326 "right": "",
327 "bottom": "",
328 "left": ""
329 },
330 "radius": {
331 "top": "",
332 "right": "",
333 "bottom": "",
334 "left": ""
335 },
336 "transition": "",
337 "alignment": {
338 "desktop": "",
339 "tablet": "",
340 "mobile": ""
341 }
342 },
343 "iconSize": {
344 "desktop": "",
345 "tablet": "",
346 "mobile": ""
347 }
348 },
349 {
350 "_key": "col-default-3",
351 "label": "Enterprise",
352 "isFeatured": false,
353 "icon": "",
354 "iconColor": "",
355 "cta": {
356 "normal": {
357 "bg": {},
358 "color": ""
359 },
360 "hover": {
361 "bg": {},
362 "color": ""
363 },
364 "typo": {},
365 "border": {},
366 "padding": {
367 "top": "",
368 "right": "",
369 "bottom": "",
370 "left": ""
371 },
372 "radius": {
373 "top": "",
374 "right": "",
375 "bottom": "",
376 "left": ""
377 },
378 "transition": "",
379 "alignment": {
380 "desktop": "",
381 "tablet": "",
382 "mobile": ""
383 }
384 },
385 "iconSize": {
386 "desktop": "",
387 "tablet": "",
388 "mobile": ""
389 }
390 }
391 ]
392 },
393 "rows": {
394 "type": "array",
395 "default": [
396 {
397 "_key": "row-default-1",
398 "label": "Feature One",
399 "cells": [
400 {
401 "value": true,
402 "type": "icon",
403 "text": ""
404 },
405 {
406 "value": true,
407 "type": "icon",
408 "text": ""
409 },
410 {
411 "value": true,
412 "type": "icon",
413 "text": ""
414 }
415 ]
416 },
417 {
418 "_key": "row-default-2",
419 "label": "Feature Two",
420 "cells": [
421 {
422 "value": false,
423 "type": "icon",
424 "text": ""
425 },
426 {
427 "value": true,
428 "type": "icon",
429 "text": ""
430 },
431 {
432 "value": true,
433 "type": "icon",
434 "text": ""
435 }
436 ]
437 },
438 {
439 "_key": "row-default-3",
440 "label": "Feature Three",
441 "cells": [
442 {
443 "value": false,
444 "type": "icon",
445 "text": ""
446 },
447 {
448 "value": false,
449 "type": "icon",
450 "text": ""
451 },
452 {
453 "value": true,
454 "type": "icon",
455 "text": ""
456 }
457 ]
458 }
459 ]
460 },
461 "cta": {
462 "type": "object",
463 "default": {
464 "position": "top",
465 "normal": {
466 "bg": {
467 "type": "solid",
468 "color": "#2563eb"
469 },
470 "color": "#ffffff"
471 },
472 "hover": {
473 "bg": {},
474 "color": ""
475 },
476 "typo": {},
477 "border": {},
478 "desktop": {
479 "padding": {
480 "top": "8px",
481 "right": "18px",
482 "bottom": "8px",
483 "left": "18px"
484 },
485 "radius": {
486 "top": "6px",
487 "right": "6px",
488 "bottom": "6px",
489 "left": "6px"
490 },
491 "alignment": "center",
492 "margin": {
493 "top": "",
494 "right": "",
495 "bottom": "",
496 "left": ""
497 }
498 },
499 "tablet": {
500 "padding": {},
501 "radius": {},
502 "alignment": "",
503 "margin": {
504 "top": "",
505 "right": "",
506 "bottom": "",
507 "left": ""
508 }
509 },
510 "mobile": {
511 "padding": {},
512 "radius": {},
513 "alignment": "",
514 "margin": {
515 "top": "",
516 "right": "",
517 "bottom": "",
518 "left": ""
519 }
520 },
521 "transition": 0.2
522 }
523 },
524 "advanced": {
525 "type": "object",
526 "default": {
527 "dimension": {
528 "padding": {
529 "desktop": {
530 "top": "0px",
531 "right": "0px",
532 "bottom": "0px",
533 "left": "0px"
534 },
535 "tablet": {
536 "top": "0px",
537 "right": "0px",
538 "bottom": "0px",
539 "left": "0px"
540 },
541 "mobile": {
542 "top": "0px",
543 "right": "0px",
544 "bottom": "0px",
545 "left": "0px"
546 }
547 }
548 },
549 "borderShadow": {
550 "normal": {
551 "radius": {
552 "top": "0px",
553 "right": "0px",
554 "bottom": "0px",
555 "left": "0px"
556 },
557 "shadow": [
558 {
559 "hOffset": "0px",
560 "vOffset": "0px",
561 "blur": "0px",
562 "spreed": "0px",
563 "color": "#7090b000",
564 "isInset": false
565 }
566 ]
567 }
568 },
569 "background": {
570 "normal": {
571 "type": "color",
572 "color": "",
573 "gradient": {
574 "type": "linear",
575 "colors": [
576 {
577 "color": "rgba(58, 66, 222, 1)",
578 "position": "0"
579 },
580 {
581 "color": "rgba(176, 195, 235, 1)",
582 "position": "80"
583 }
584 ],
585 "angel": 90
586 },
587 "img": {
588 "url": ""
589 }
590 }
591 }
592 }
593 }
594 },
595 "supports": {
596 "align": [
597 "wide",
598 "full"
599 ],
600 "html": false,
601 "anchor": true,
602 "className": true
603 },
604 "example": {
605 "attributes": {
606 "preview": true
607 }
608 },
609 "editorScript": "file:../index.js",
610 "style": "file:./view.css",
611 "viewScript": "file:./view.js",
612 "render": "file:./render.php"
613 }