PluginProbe
bBlocks – Essential Gutenberg Blocks & Patterns Collection / 2.1.7
bBlocks – Essential Gutenberg Blocks & Patterns Collection v2.1.7
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 1.5.4 All 107 releases
b-blocks / build / event-card / block.json

block.json in bBlocks – Essential Gutenberg Blocks & Patterns Collection 2.1.7, at build/event-card/block.json

898 lines 19.3 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/event-card",
5 "title": "Event Card",
6 "category": "bBlocks",
7 "description": "A single event announcement card with title, date/time, location, description, and a ticket CTA. Optionally outputs schema.org Event JSON-LD for Google rich results.",
8 "keywords": [
9 "event",
10 "schema",
11 "jsonld",
12 "calendar",
13 "webinar",
14 "workshop",
15 "rich results",
16 "tickets"
17 ],
18 "textdomain": "b-blocks",
19 "attributes": {
20 "align": {
21 "type": "string",
22 "default": ""
23 },
24 "content": {
25 "type": "object",
26 "default": {
27 "eventName": "Event Name",
28 "eventDescription": "",
29 "titleTag": "h3"
30 }
31 },
32 "image": {
33 "type": "object",
34 "default": {
35 "id": 0,
36 "url": "",
37 "alt": "",
38 "border": {},
39 "bRadius": {
40 "desktop": {
41 "top": "",
42 "right": "",
43 "bottom": "",
44 "left": ""
45 },
46 "tablet": {
47 "top": "",
48 "right": "",
49 "bottom": "",
50 "left": ""
51 },
52 "mobile": {
53 "top": "",
54 "right": "",
55 "bottom": "",
56 "left": ""
57 }
58 },
59 "padding": {
60 "desktop": {
61 "top": "",
62 "right": "",
63 "bottom": "",
64 "left": ""
65 },
66 "tablet": {
67 "top": "",
68 "right": "",
69 "bottom": "",
70 "left": ""
71 },
72 "mobile": {
73 "top": "",
74 "right": "",
75 "bottom": "",
76 "left": ""
77 }
78 },
79 "margin": {
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 }
99 }
100 },
101 "datetime": {
102 "type": "object",
103 "default": {
104 "startDate": "",
105 "startTime": "",
106 "endDate": "",
107 "endTime": "",
108 "timezone": "UTC",
109 "status": "EventScheduled"
110 }
111 },
112 "location": {
113 "type": "object",
114 "default": {
115 "isVirtual": false,
116 "virtualUrl": "",
117 "venueName": "",
118 "venueAddress": "",
119 "venueCity": "",
120 "venueCountry": "US",
121 "color": "",
122 "iconColor": "",
123 "typo": {}
124 }
125 },
126 "organizer": {
127 "type": "object",
128 "default": {
129 "name": "",
130 "url": "",
131 "show": true,
132 "color": "",
133 "iconColor": "",
134 "typo": {}
135 }
136 },
137 "link": {
138 "type": "object",
139 "default": {
140 "label": "Get Tickets",
141 "url": "",
142 "newTab": true
143 }
144 },
145 "cta": {
146 "type": "object",
147 "default": {
148 "showButton": true,
149 "bg": "#146EF5",
150 "text": "#ffffff",
151 "hoverBg": "#0040E3",
152 "fontSize": "15px",
153 "borderRadius": 6,
154 "transition": 0.3,
155 "border": {},
156 "bRadius": {
157 "desktop": {
158 "top": "",
159 "right": "",
160 "bottom": "",
161 "left": ""
162 },
163 "tablet": {
164 "top": "",
165 "right": "",
166 "bottom": "",
167 "left": ""
168 },
169 "mobile": {
170 "top": "",
171 "right": "",
172 "bottom": "",
173 "left": ""
174 }
175 },
176 "padding": {
177 "desktop": {
178 "top": "",
179 "right": "",
180 "bottom": "",
181 "left": ""
182 },
183 "tablet": {
184 "top": "",
185 "right": "",
186 "bottom": "",
187 "left": ""
188 },
189 "mobile": {
190 "top": "",
191 "right": "",
192 "bottom": "",
193 "left": ""
194 }
195 },
196 "margin": {
197 "desktop": {
198 "top": "",
199 "right": "",
200 "bottom": "",
201 "left": ""
202 },
203 "tablet": {
204 "top": "",
205 "right": "",
206 "bottom": "",
207 "left": ""
208 },
209 "mobile": {
210 "top": "",
211 "right": "",
212 "bottom": "",
213 "left": ""
214 }
215 }
216 }
217 },
218 "schema": {
219 "type": "object",
220 "default": {
221 "show": true
222 }
223 },
224 "status": {
225 "type": "object",
226 "default": {
227 "show": true,
228 "color": "",
229 "bg": {
230 "type": "solid",
231 "color": ""
232 },
233 "typo": {},
234 "border": {},
235 "bRadius": {
236 "desktop": {
237 "top": "",
238 "right": "",
239 "bottom": "",
240 "left": ""
241 },
242 "tablet": {
243 "top": "",
244 "right": "",
245 "bottom": "",
246 "left": ""
247 },
248 "mobile": {
249 "top": "",
250 "right": "",
251 "bottom": "",
252 "left": ""
253 }
254 },
255 "padding": {
256 "desktop": {
257 "top": "",
258 "right": "",
259 "bottom": "",
260 "left": ""
261 },
262 "tablet": {
263 "top": "",
264 "right": "",
265 "bottom": "",
266 "left": ""
267 },
268 "mobile": {
269 "top": "",
270 "right": "",
271 "bottom": "",
272 "left": ""
273 }
274 },
275 "margin": {
276 "desktop": {
277 "top": "",
278 "right": "",
279 "bottom": "",
280 "left": ""
281 },
282 "tablet": {
283 "top": "",
284 "right": "",
285 "bottom": "",
286 "left": ""
287 },
288 "mobile": {
289 "top": "",
290 "right": "",
291 "bottom": "",
292 "left": ""
293 }
294 }
295 }
296 },
297 "card": {
298 "type": "object",
299 "default": {
300 "style": "default",
301 "alignment": "left",
302 "bg": "#ffffff",
303 "maxWidth": "640px",
304 "showDateBadge": true
305 }
306 },
307 "badge": {
308 "type": "object",
309 "default": {
310 "color": "",
311 "bg": {
312 "type": "solid",
313 "color": ""
314 },
315 "typo": {},
316 "border": {},
317 "bRadius": {
318 "desktop": {
319 "top": "",
320 "right": "",
321 "bottom": "",
322 "left": ""
323 },
324 "tablet": {
325 "top": "",
326 "right": "",
327 "bottom": "",
328 "left": ""
329 },
330 "mobile": {
331 "top": "",
332 "right": "",
333 "bottom": "",
334 "left": ""
335 }
336 },
337 "padding": {
338 "desktop": {
339 "top": "",
340 "right": "",
341 "bottom": "",
342 "left": ""
343 },
344 "tablet": {
345 "top": "",
346 "right": "",
347 "bottom": "",
348 "left": ""
349 },
350 "mobile": {
351 "top": "",
352 "right": "",
353 "bottom": "",
354 "left": ""
355 }
356 },
357 "margin": {
358 "desktop": {
359 "top": "",
360 "right": "",
361 "bottom": "",
362 "left": ""
363 },
364 "tablet": {
365 "top": "",
366 "right": "",
367 "bottom": "",
368 "left": ""
369 },
370 "mobile": {
371 "top": "",
372 "right": "",
373 "bottom": "",
374 "left": ""
375 }
376 }
377 }
378 },
379 "title": {
380 "type": "object",
381 "default": {
382 "color": "",
383 "bg": {
384 "type": "solid",
385 "color": ""
386 },
387 "typo": {
388 "fontSize": {
389 "desktop": "22px"
390 },
391 "fontWeight": "700"
392 },
393 "border": {},
394 "bRadius": {
395 "desktop": {
396 "top": "",
397 "right": "",
398 "bottom": "",
399 "left": ""
400 },
401 "tablet": {
402 "top": "",
403 "right": "",
404 "bottom": "",
405 "left": ""
406 },
407 "mobile": {
408 "top": "",
409 "right": "",
410 "bottom": "",
411 "left": ""
412 }
413 },
414 "padding": {
415 "desktop": {
416 "top": "",
417 "right": "",
418 "bottom": "",
419 "left": ""
420 },
421 "tablet": {
422 "top": "",
423 "right": "",
424 "bottom": "",
425 "left": ""
426 },
427 "mobile": {
428 "top": "",
429 "right": "",
430 "bottom": "",
431 "left": ""
432 }
433 },
434 "margin": {
435 "desktop": {
436 "top": "",
437 "right": "",
438 "bottom": "",
439 "left": ""
440 },
441 "tablet": {
442 "top": "",
443 "right": "",
444 "bottom": "",
445 "left": ""
446 },
447 "mobile": {
448 "top": "",
449 "right": "",
450 "bottom": "",
451 "left": ""
452 }
453 }
454 }
455 },
456 "meta": {
457 "type": "object",
458 "default": {
459 "color": "",
460 "bg": {
461 "type": "solid",
462 "color": ""
463 },
464 "typo": {
465 "fontSize": {
466 "desktop": "14px"
467 }
468 },
469 "border": {},
470 "bRadius": {
471 "desktop": {
472 "top": "",
473 "right": "",
474 "bottom": "",
475 "left": ""
476 },
477 "tablet": {
478 "top": "",
479 "right": "",
480 "bottom": "",
481 "left": ""
482 },
483 "mobile": {
484 "top": "",
485 "right": "",
486 "bottom": "",
487 "left": ""
488 }
489 },
490 "padding": {
491 "desktop": {
492 "top": "",
493 "right": "",
494 "bottom": "",
495 "left": ""
496 },
497 "tablet": {
498 "top": "",
499 "right": "",
500 "bottom": "",
501 "left": ""
502 },
503 "mobile": {
504 "top": "",
505 "right": "",
506 "bottom": "",
507 "left": ""
508 }
509 },
510 "margin": {
511 "desktop": {
512 "top": "",
513 "right": "",
514 "bottom": "",
515 "left": ""
516 },
517 "tablet": {
518 "top": "",
519 "right": "",
520 "bottom": "",
521 "left": ""
522 },
523 "mobile": {
524 "top": "",
525 "right": "",
526 "bottom": "",
527 "left": ""
528 }
529 }
530 }
531 },
532 "description": {
533 "type": "object",
534 "default": {
535 "color": "",
536 "bg": {
537 "type": "solid",
538 "color": ""
539 },
540 "typo": {
541 "fontSize": {
542 "desktop": "15px"
543 }
544 },
545 "border": {},
546 "bRadius": {
547 "desktop": {
548 "top": "",
549 "right": "",
550 "bottom": "",
551 "left": ""
552 },
553 "tablet": {
554 "top": "",
555 "right": "",
556 "bottom": "",
557 "left": ""
558 },
559 "mobile": {
560 "top": "",
561 "right": "",
562 "bottom": "",
563 "left": ""
564 }
565 },
566 "padding": {
567 "desktop": {
568 "top": "",
569 "right": "",
570 "bottom": "",
571 "left": ""
572 },
573 "tablet": {
574 "top": "",
575 "right": "",
576 "bottom": "",
577 "left": ""
578 },
579 "mobile": {
580 "top": "",
581 "right": "",
582 "bottom": "",
583 "left": ""
584 }
585 },
586 "margin": {
587 "desktop": {
588 "top": "",
589 "right": "",
590 "bottom": "",
591 "left": ""
592 },
593 "tablet": {
594 "top": "",
595 "right": "",
596 "bottom": "",
597 "left": ""
598 },
599 "mobile": {
600 "top": "",
601 "right": "",
602 "bottom": "",
603 "left": ""
604 }
605 }
606 }
607 },
608 "advanced": {
609 "type": "object",
610 "default": {
611 "dimension": {
612 "padding": {
613 "desktop": {
614 "top": "24px",
615 "right": "28px",
616 "bottom": "24px",
617 "left": "28px"
618 },
619 "tablet": {
620 "top": "",
621 "right": "",
622 "bottom": "",
623 "left": ""
624 },
625 "mobile": {
626 "top": "",
627 "right": "",
628 "bottom": "",
629 "left": ""
630 }
631 }
632 },
633 "transform": {
634 "normal": {
635 "rotate": {
636 "desktop": {
637 "z": "",
638 "y": "",
639 "x": ""
640 },
641 "tablet": {
642 "z": "",
643 "y": "",
644 "x": ""
645 },
646 "mobile": {
647 "z": "",
648 "y": "",
649 "x": ""
650 },
651 "threeDRotate": false
652 },
653 "offset": {
654 "desktop": {
655 "x": "",
656 "y": ""
657 },
658 "tablet": {
659 "x": "",
660 "y": ""
661 },
662 "mobile": {
663 "x": "",
664 "y": ""
665 }
666 },
667 "scale": {
668 "isProportion": true,
669 "desktop": {
670 "x": "",
671 "y": "",
672 "scale": ""
673 },
674 "tablet": {
675 "x": "",
676 "y": "",
677 "scale": ""
678 },
679 "mobile": {
680 "x": "",
681 "y": "",
682 "scale": ""
683 }
684 },
685 "skew": {
686 "desktop": {
687 "x": "",
688 "y": ""
689 },
690 "tablet": {
691 "x": "",
692 "y": ""
693 },
694 "mobile": {
695 "x": "",
696 "y": ""
697 }
698 },
699 "flipX": false,
700 "flipY": false
701 },
702 "hover": {
703 "rotate": {
704 "desktop": {
705 "z": "",
706 "y": "",
707 "x": ""
708 },
709 "tablet": {
710 "z": "",
711 "y": "",
712 "x": ""
713 },
714 "mobile": {
715 "z": "",
716 "y": "",
717 "x": ""
718 },
719 "threeDRotate": false
720 },
721 "offset": {
722 "desktop": {
723 "x": "",
724 "y": ""
725 },
726 "tablet": {
727 "x": "",
728 "y": ""
729 },
730 "mobile": {
731 "x": "",
732 "y": ""
733 }
734 },
735 "scale": {
736 "isProportion": true,
737 "desktop": {
738 "x": "",
739 "y": "",
740 "scale": ""
741 },
742 "tablet": {
743 "x": "",
744 "y": "",
745 "scale": ""
746 },
747 "mobile": {
748 "x": "",
749 "y": "",
750 "scale": ""
751 }
752 },
753 "skew": {
754 "desktop": {
755 "x": "",
756 "y": ""
757 },
758 "tablet": {
759 "x": "",
760 "y": ""
761 },
762 "mobile": {
763 "x": "",
764 "y": ""
765 }
766 },
767 "flipX": false,
768 "flipY": false
769 },
770 "transition": 200
771 },
772 "borderShadow": {
773 "normal": {
774 "radius": {
775 "top": "10px",
776 "right": "10px",
777 "bottom": "10px",
778 "left": "10px"
779 },
780 "shadow": [
781 {
782 "hOffset": "0px",
783 "vOffset": "0px",
784 "blur": "7px",
785 "spreed": "",
786 "color": "rgba(0, 0, 0, 0.08)",
787 "isInset": false
788 },
789 {
790 "hOffset": "0px",
791 "vOffset": "8px",
792 "blur": "24px",
793 "spreed": "0px",
794 "color": "rgba(0, 0, 0, 0.06)",
795 "isInset": false
796 }
797 ],
798 "border": {
799 "top": {
800 "color": "#146ef5",
801 "style": "solid",
802 "width": "5px"
803 },
804 "right": {
805 "style": "none",
806 "width": "0px"
807 },
808 "bottom": {
809 "style": "none",
810 "width": "0px"
811 },
812 "left": {
813 "style": "none",
814 "width": "0px"
815 }
816 }
817 }
818 },
819 "background": {
820 "normal": {
821 "type": "color",
822 "color": "",
823 "gradient": {
824 "type": "radial",
825 "radialType": "ellipse",
826 "colors": [
827 {
828 "color": "rgba(58, 66, 222, 1)",
829 "position": "0"
830 },
831 {
832 "color": "rgba(176, 195, 235, 1)",
833 "position": "80"
834 }
835 ],
836 "centerPositions": {
837 "x": 50,
838 "y": 50
839 },
840 "angel": 90
841 },
842 "img": {
843 "url": "",
844 "desktop": {
845 "position": "center center",
846 "xPosition": 0,
847 "yPosition": 0,
848 "attachment": "",
849 "repeat": "no-repeat",
850 "size": "",
851 "customSize": "0px"
852 },
853 "tablet": {
854 "position": "center center",
855 "xPosition": 0,
856 "yPosition": 0,
857 "attachment": "",
858 "repeat": "no-repeat",
859 "size": "",
860 "customSize": "0px"
861 },
862 "mobile": {
863 "position": "center center",
864 "xPosition": 0,
865 "yPosition": 0,
866 "attachment": "",
867 "repeat": "no-repeat",
868 "size": "",
869 "customSize": "0px"
870 }
871 },
872 "video": {
873 "url": "",
874 "loop": false
875 },
876 "transition": 0.3
877 }
878 }
879 }
880 }
881 },
882 "supports": {
883 "align": [
884 "wide",
885 "full"
886 ],
887 "html": false
888 },
889 "example": {
890 "attributes": {
891 "preview": true
892 }
893 },
894 "editorScript": "file:../index.js",
895 "style": "file:./view.css",
896 "viewScript": "file:./view.js",
897 "render": "file:./render.php"
898 }