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
← All changes | build/data-table/block.json +762 -203 2.0.40 → 2.1.8 View file →
@@ -1,15 +1,16 @@
1 1 {
2 2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 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",
4 + "name": "b-blocks/table",
5 + "version": "1.0.0",
6 + "title": "Table",
7 7 "category": "bBlocks",
8 + "description": "Make responsive and feature-rich tables on the go with B Blocks Table, offering styling, typography, and layout options tailored for modern web design.",
8 9 "keywords": [
9 - "data table",
10 10 "table",
11 - "data"
11 + "b-blocks",
12 + "b-table"
12 13 ],
13 14 "textdomain": "b-blocks",
14 15 "attributes": {
15 16 "align": {
@@ -15,249 +16,814 @@
15 16 "align": {
16 17 "type": "string",
17 18 "default": ""
18 19 },
19 - "tableSort": {
20 - "type": "boolean",
21 - "default": false
20 + "content": {
21 + "type": "object",
22 + "default": {
23 + "cellBorderType": "collapse"
24 + }
22 25 },
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": {
26 + "options": {
86 27 "type": "object",
87 28 "default": {
88 - "width": {
89 - "desktop": "100%",
90 - "tablet": "100%",
91 - "mobile": "100%"
92 - },
93 - "alignment": "left",
94 - "borderSeparator": true
29 + "isEnableHeader": true,
30 + "isEnableFooter": true,
31 + "isEnableCaption": true,
32 + "isStickyHeader": false
95 33 }
96 34 },
97 - "headerStyle": {
35 + "styles": {
98 36 "type": "object",
99 37 "default": {
100 - "bRadius": 0,
101 - "padding": {
102 - "desktop": {
103 - "top": "15px",
104 - "right": "15px",
105 - "bottom": "15px",
106 - "left": "15px"
38 + "content": {
39 + "width": {
40 + "desktop": "",
41 + "tablet": "",
42 + "mobile": ""
107 43 },
108 - "tablet": {
109 - "top": "15px",
110 - "right": "15px",
111 - "bottom": "15px",
112 - "left": "15px"
44 + "align": {
45 + "desktop": "",
46 + "tablet": "",
47 + "mobile": ""
113 48 },
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 49 "normal": {
135 - "width": 1,
136 - "color": "#000"
50 + "border": {
51 + "color": "#acacac",
52 + "style": "solid",
53 + "width": "1px"
54 + },
55 + "radius": {
56 + "desktop": {
57 + "top": "",
58 + "right": "",
59 + "bottom": "",
60 + "left": ""
61 + },
62 + "tablet": {
63 + "top": "",
64 + "right": "",
65 + "bottom": "",
66 + "left": ""
67 + },
68 + "mobile": {
69 + "top": "",
70 + "right": "",
71 + "bottom": "",
72 + "left": ""
73 + }
74 + },
75 + "transition": 0.2
137 76 },
138 77 "hover": {
139 - "width": 1,
140 - "color": "#000"
78 + "border": {},
79 + "radius": {
80 + "desktop": {
81 + "top": "",
82 + "right": "",
83 + "bottom": "",
84 + "left": ""
85 + },
86 + "tablet": {
87 + "top": "",
88 + "right": "",
89 + "bottom": "",
90 + "left": ""
91 + },
92 + "mobile": {
93 + "top": "",
94 + "right": "",
95 + "bottom": "",
96 + "left": ""
97 + }
98 + }
141 99 }
142 100 },
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": {
101 + "header": {
102 + "typography": {
103 + "fontSize": {
104 + "desktop": "",
105 + "tablet": "",
106 + "mobile": ""
107 + }
108 + },
161 109 "normal": {
162 - "color": "#000",
163 - "bg": ""
110 + "color": "",
111 + "bg": {
112 + "color": "#d4d4d4"
113 + },
114 + "padding": {
115 + "desktop": {
116 + "top": "",
117 + "right": "",
118 + "bottom": "",
119 + "left": ""
120 + },
121 + "tablet": {
122 + "top": "",
123 + "right": "",
124 + "bottom": "",
125 + "left": ""
126 + },
127 + "mobile": {
128 + "top": "",
129 + "right": "",
130 + "bottom": "",
131 + "left": ""
132 + }
133 + },
134 + "transition": 0.2
164 135 },
165 136 "hover": {
166 - "color": "#000",
167 - "bg": ""
137 + "color": "",
138 + "bg": {},
139 + "padding": {
140 + "desktop": {
141 + "top": "",
142 + "right": "",
143 + "bottom": "",
144 + "left": ""
145 + },
146 + "tablet": {
147 + "top": "",
148 + "right": "",
149 + "bottom": "",
150 + "left": ""
151 + },
152 + "mobile": {
153 + "top": "",
154 + "right": "",
155 + "bottom": "",
156 + "left": ""
157 + }
158 + }
168 159 }
169 160 },
170 - "evenCell": {
161 + "body": {
162 + "padding": {
163 + "desktop": {
164 + "top": "",
165 + "right": "",
166 + "bottom": "",
167 + "left": ""
168 + },
169 + "tablet": {
170 + "top": "",
171 + "right": "",
172 + "bottom": "",
173 + "left": ""
174 + },
175 + "mobile": {
176 + "top": "",
177 + "right": "",
178 + "bottom": "",
179 + "left": ""
180 + }
181 + },
171 182 "normal": {
172 - "color": "#000",
173 - "bg": ""
183 + "bg": {},
184 + "oddBg": {},
185 + "evenBg": {},
186 + "transition": 0.2
174 187 },
175 188 "hover": {
176 - "color": "#000",
177 - "bg": ""
189 + "bg": {},
190 + "oddBg": {},
191 + "evenBg": {}
178 192 }
179 193 },
180 - "borderType": {
181 - "normal": "default",
182 - "hover": "default"
194 + "column": [
195 + {
196 + "type": "",
197 + "color": "",
198 + "bg": {}
199 + }
200 + ],
201 + "cells": {
202 + "typography": {
203 + "fontSize": {
204 + "desktop": "",
205 + "tablet": "",
206 + "mobile": ""
207 + }
208 + },
209 + "border": {},
210 + "desktop": {
211 + "radius": {
212 + "top": "",
213 + "right": "",
214 + "bottom": "",
215 + "left": ""
216 + },
217 + "padding": {
218 + "top": "",
219 + "right": "",
220 + "bottom": "",
221 + "left": ""
222 + }
223 + },
224 + "tablet": {
225 + "radius": {
226 + "top": "",
227 + "right": "",
228 + "bottom": "",
229 + "left": ""
230 + },
231 + "padding": {
232 + "top": "",
233 + "right": "",
234 + "bottom": "",
235 + "left": ""
236 + }
237 + },
238 + "mobile": {
239 + "radius": {
240 + "top": "",
241 + "right": "",
242 + "bottom": "",
243 + "left": ""
244 + },
245 + "padding": {
246 + "top": "",
247 + "right": "",
248 + "bottom": "",
249 + "left": ""
250 + }
251 + },
252 + "oddCell": {
253 + "normal": {
254 + "color": "",
255 + "bg": {},
256 + "transition": 0.2
257 + },
258 + "hover": {
259 + "color": "",
260 + "bg": {}
261 + }
262 + },
263 + "evenCell": {
264 + "normal": {
265 + "color": "",
266 + "bg": {},
267 + "transition": 0.2
268 + },
269 + "hover": {
270 + "color": "",
271 + "bg": {}
272 + }
273 + }
183 274 },
184 - "border": {
275 + "footer": {
276 + "typography": {
277 + "fontSize": {
278 + "desktop": "",
279 + "tablet": "",
280 + "mobile": ""
281 + }
282 + },
283 + "padding": {
284 + "desktop": {
285 + "top": "",
286 + "right": "",
287 + "bottom": "",
288 + "left": ""
289 + },
290 + "tablet": {
291 + "top": "",
292 + "right": "",
293 + "bottom": "",
294 + "left": ""
295 + },
296 + "mobile": {
297 + "top": "",
298 + "right": "",
299 + "bottom": "",
300 + "left": ""
301 + }
302 + },
185 303 "normal": {
186 - "width": 1,
187 - "color": "#000"
304 + "bg": {
305 + "color": "#d4d4d4"
306 + },
307 + "color": "",
308 + "transition": 0.2
188 309 },
189 310 "hover": {
190 - "width": 1,
191 - "color": "#000"
311 + "bg": {},
312 + "color": ""
192 313 }
193 314 },
194 - "padding": {
315 + "caption": {
316 + "position": "bottom",
317 + "typography": {
318 + "fontSize": {
319 + "desktop": "",
320 + "tablet": "",
321 + "mobile": ""
322 + }
323 + },
324 + "color": "",
325 + "bg": {},
326 + "border": {},
195 327 "desktop": {
196 - "top": "15px",
197 - "right": "15px",
198 - "bottom": "15px",
199 - "left": "15px"
328 + "alignment": "right",
329 + "radius": {
330 + "top": "",
331 + "right": "",
332 + "bottom": "",
333 + "left": ""
334 + },
335 + "padding": {
336 + "top": "",
337 + "right": "",
338 + "bottom": "",
339 + "left": ""
340 + },
341 + "margin": {
342 + "top": "",
343 + "right": "",
344 + "bottom": "",
345 + "left": ""
346 + }
200 347 },
201 348 "tablet": {
202 - "top": "15px",
203 - "right": "15px",
204 - "bottom": "15px",
205 - "left": "15px"
349 + "alignment": "right",
350 + "radius": {
351 + "top": "",
352 + "right": "",
353 + "bottom": "",
354 + "left": ""
355 + },
356 + "padding": {
357 + "top": "",
358 + "right": "",
359 + "bottom": "",
360 + "left": ""
361 + },
362 + "margin": {
363 + "top": "",
364 + "right": "",
365 + "bottom": "",
366 + "left": ""
367 + }
206 368 },
207 369 "mobile": {
208 - "top": "15px",
209 - "right": "15px",
210 - "bottom": "15px",
211 - "left": "15px"
370 + "alignment": "right",
371 + "radius": {
372 + "top": "",
373 + "right": "",
374 + "bottom": "",
375 + "left": ""
376 + },
377 + "padding": {
378 + "top": "",
379 + "right": "",
380 + "bottom": "",
381 + "left": ""
382 + },
383 + "margin": {
384 + "top": "",
385 + "right": "",
386 + "bottom": "",
387 + "left": ""
388 + }
212 389 }
390 + }
391 + }
392 + },
393 + "datatables": {
394 + "type": "object",
395 + "default": {
396 + "enabled": false,
397 + "paging": {
398 + "enabled": true,
399 + "pageLength": 10,
400 + "pagingType": "simple_numbers"
213 401 },
214 - "linkColor": {
215 - "normal": "#4949bd",
216 - "hover": "#4949bd"
402 + "searching": {
403 + "enabled": true,
404 + "smart": true,
405 + "regex": false,
406 + "caseInsensitive": true
217 407 },
218 - "textAlign": {
219 - "desktop": "left",
220 - "tablet": "left",
221 - "mobile": "left"
408 + "ordering": {
409 + "enabled": true,
410 + "multiColumn": false
222 411 },
223 - "icon": {
224 - "size": {
225 - "desktop": 25,
226 - "tablet": 25,
227 - "mobile": 25
228 - },
229 - "color": {
230 - "normal": "#4949bd",
231 - "hover": "#4949bd"
412 + "info": true,
413 + "layout": {
414 + "topStart": "pageLength",
415 + "topEnd": "search",
416 + "bottomStart": "info",
417 + "bottomEnd": "paging"
418 + },
419 + "stateSave": false,
420 + "autoWidth": true,
421 + "searchDelay": 400,
422 + "responsive": true,
423 + "fixedHeader": false,
424 + "select": {
425 + "enabled": false,
426 + "style": "single"
427 + },
428 + "buttons": {
429 + "enabled": false,
430 + "copy": false,
431 + "csv": false,
432 + "excel": false,
433 + "pdf": false,
434 + "print": false,
435 + "colvis": false
436 + },
437 + "serverSide": {
438 + "enabled": false,
439 + "endpoint": ""
440 + },
441 + "language": {
442 + "search": "Search:",
443 + "lengthMenu": "Show _MENU_ entries",
444 + "info": "Showing _START_ to _END_ of _TOTAL_ entries",
445 + "emptyTable": "No data available in table",
446 + "zeroRecords": "No matching records found",
447 + "paginate": {
448 + "first": "First",
449 + "last": "Last",
450 + "next": "Next",
451 + "previous": "Previous"
232 452 }
233 453 }
234 454 }
235 455 },
236 - "advanced": {
456 + "datatableStyles": {
237 457 "type": "object",
238 458 "default": {
239 - "dimension": {
240 - "padding": {
459 + "search": {
460 + "label": {
461 + "typo": {
462 + "fontSize": {
463 + "desktop": "15px",
464 + "tablet": "",
465 + "mobile": ""
466 + }
467 + },
468 + "color": "",
469 + "bg": {},
241 470 "desktop": {
242 - "top": "0px",
243 - "right": "0px",
244 - "bottom": "0px",
245 - "left": "0px"
471 + "padding": {
472 + "top": "",
473 + "right": "",
474 + "bottom": "",
475 + "left": ""
476 + },
477 + "margin": {
478 + "top": "",
479 + "right": "",
480 + "bottom": "",
481 + "left": ""
482 + }
246 483 },
247 484 "tablet": {
248 - "top": "0px",
249 - "right": "0px",
250 - "bottom": "0px",
251 - "left": "0px"
485 + "padding": {
486 + "top": "",
487 + "right": "",
488 + "bottom": "",
489 + "left": ""
490 + },
491 + "margin": {
492 + "top": "",
493 + "right": "",
494 + "bottom": "",
495 + "left": ""
496 + }
252 497 },
253 498 "mobile": {
254 - "top": "0px",
255 - "right": "0px",
256 - "bottom": "0px",
257 - "left": "0px"
499 + "padding": {
500 + "top": "",
501 + "right": "",
502 + "bottom": "",
503 + "left": ""
504 + },
505 + "margin": {
506 + "top": "",
507 + "right": "",
508 + "bottom": "",
509 + "left": ""
510 + }
258 511 }
512 + },
513 + "input": {
514 + "typo": {
515 + "fontSize": {
516 + "desktop": "15px",
517 + "tablet": "",
518 + "mobile": ""
519 + }
520 + },
521 + "desktop": {
522 + "padding": {
523 + "top": "",
524 + "right": "",
525 + "bottom": "",
526 + "left": ""
527 + },
528 + "margin": {
529 + "top": "",
530 + "right": "",
531 + "bottom": "",
532 + "left": ""
533 + }
534 + },
535 + "tablet": {
536 + "padding": {
537 + "top": "",
538 + "right": "",
539 + "bottom": "",
540 + "left": ""
541 + },
542 + "margin": {
543 + "top": "",
544 + "right": "",
545 + "bottom": "",
546 + "left": ""
547 + }
548 + },
549 + "mobile": {
550 + "padding": {
551 + "top": "",
552 + "right": "",
553 + "bottom": "",
554 + "left": ""
555 + },
556 + "margin": {
557 + "top": "",
558 + "right": "",
559 + "bottom": "",
560 + "left": ""
561 + }
562 + },
563 + "normal": {
564 + "color": "",
565 + "bg": {},
566 + "transition": 0.2,
567 + "border": {},
568 + "radius": {
569 + "top": "",
570 + "right": "",
571 + "bottom": "",
572 + "left": ""
573 + }
574 + },
575 + "hover": {
576 + "color": "",
577 + "bg": {},
578 + "transition": 0.2,
579 + "border": {},
580 + "radius": {
581 + "top": "",
582 + "right": "",
583 + "bottom": "",
584 + "left": ""
585 + }
586 + },
587 + "focus": {
588 + "color": "",
589 + "bg": {},
590 + "transition": 0.2,
591 + "border": {},
592 + "radius": {
593 + "top": "",
594 + "right": "",
595 + "bottom": "",
596 + "left": ""
597 + }
598 + }
259 599 }
600 + },
601 + "recordInfo": {
602 + "typo": {
603 + "fontSize": {
604 + "desktop": "15px",
605 + "tablet": "",
606 + "mobile": ""
607 + }
608 + },
609 + "color": "",
610 + "bg": {},
611 + "desktop": {
612 + "padding": {
613 + "top": "",
614 + "left": "",
615 + "bottom": "",
616 + "right": ""
617 + },
618 + "margin": {
619 + "top": "",
620 + "left": "",
621 + "bottom": "",
622 + "right": ""
623 + }
624 + },
625 + "tablet": {
626 + "padding": {
627 + "top": "",
628 + "left": "",
629 + "bottom": "",
630 + "right": ""
631 + },
632 + "margin": {
633 + "top": "",
634 + "left": "",
635 + "bottom": "",
636 + "right": ""
637 + }
638 + },
639 + "mobile": {
640 + "padding": {
641 + "top": "",
642 + "left": "",
643 + "bottom": "",
644 + "right": ""
645 + },
646 + "margin": {
647 + "top": "",
648 + "left": "",
649 + "bottom": "",
650 + "right": ""
651 + }
652 + }
653 + },
654 + "pageLength": {
655 + "typo": {
656 + "fontSize": {
657 + "desktop": "15px",
658 + "tablet": "",
659 + "mobile": ""
660 + }
661 + },
662 + "color": "",
663 + "bg": {},
664 + "desktop": {
665 + "padding": {
666 + "top": "",
667 + "left": "",
668 + "bottom": "",
669 + "right": ""
670 + },
671 + "margin": {
672 + "top": "",
673 + "left": "",
674 + "bottom": "",
675 + "right": ""
676 + }
677 + },
678 + "tablet": {
679 + "padding": {
680 + "top": "",
681 + "left": "",
682 + "bottom": "",
683 + "right": ""
684 + },
685 + "margin": {
686 + "top": "",
687 + "left": "",
688 + "bottom": "",
689 + "right": ""
690 + }
691 + },
692 + "mobile": {
693 + "padding": {
694 + "top": "",
695 + "left": "",
696 + "bottom": "",
697 + "right": ""
698 + },
699 + "margin": {
700 + "top": "",
701 + "left": "",
702 + "bottom": "",
703 + "right": ""
704 + }
705 + }
706 + },
707 + "column": [
708 + {
709 + "typo": "",
710 + "color": "",
711 + "bg": {}
712 + }
713 + ],
714 + "pagination": {
715 + "typo": {
716 + "fontSize": {
717 + "desktop": "15px",
718 + "tablet": "",
719 + "mobile": ""
720 + }
721 + },
722 + "desktop": {
723 + "padding": {
724 + "top": "",
725 + "right": "",
726 + "bottom": "",
727 + "left": ""
728 + }
729 + },
730 + "tablet": {
731 + "padding": {
732 + "top": "",
733 + "right": "",
734 + "bottom": "",
735 + "left": ""
736 + }
737 + },
738 + "mobile": {
739 + "padding": {
740 + "top": "",
741 + "right": "",
742 + "bottom": "",
743 + "left": ""
744 + }
745 + },
746 + "normal": {
747 + "color": "",
748 + "bg": {},
749 + "border": {},
750 + "radius": {
751 + "top": "",
752 + "right": "",
753 + "bottom": "",
754 + "left": ""
755 + },
756 + "transition": 0.2
757 + },
758 + "hover": {
759 + "color": "",
760 + "bg": {},
761 + "border": {},
762 + "radius": {
763 + "top": "",
764 + "right": "",
765 + "bottom": "",
766 + "left": ""
767 + }
768 + },
769 + "active": {
770 + "color": "",
771 + "bg": {},
772 + "border": {},
773 + "radius": {
774 + "top": "",
775 + "right": "",
776 + "bottom": "",
777 + "left": ""
778 + }
779 + }
780 + },
781 + "buttons": {
782 + "typo": {
783 + "fontSize": {
784 + "desktop": "15px",
785 + "tablet": "",
786 + "mobile": ""
787 + }
788 + },
789 + "desktop": {
790 + "padding": {
791 + "top": "",
792 + "left": "",
793 + "bottom": "",
794 + "right": ""
795 + }
796 + },
797 + "tablet": {
798 + "padding": {
799 + "top": "",
800 + "left": "",
801 + "bottom": "",
802 + "right": ""
803 + }
804 + },
805 + "mobile": {
806 + "padding": {
807 + "top": "",
808 + "left": "",
809 + "bottom": "",
810 + "right": ""
811 + }
812 + },
813 + "normal": {
814 + "bg": {},
815 + "color": "",
816 + "border": {},
817 + "radius": {},
818 + "transition": 0.2
819 + },
820 + "hover": {
821 + "bg": {},
822 + "color": "",
823 + "border": {},
824 + "radius": {}
825 + }
260 826 }
261 827 }
262 828 }
263 829 },
@@ -270,16 +836,9 @@
270 836 },
271 837 "example": {
272 838 "attributes": {}
273 839 },
274 - "editorScript": [
275 - "file:../index.js",
276 - "aos"
277 - ],
840 + "editorScript": "file:../index.js",
278 841 "style": "file:./view.css",
279 842 "render": "file:./render.php",
280 - "viewScript": [
281 - "file:./view.js",
282 - "react",
283 - "react-dom"
284 - ]
843 + "viewScript": "file:./view.js"
285 844 }