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 / file-download-card / block.json

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

769 lines 16.8 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/file-download-card",
5 "title": "File Download Card",
6 "category": "bBlocks",
7 "description": "A single-file download card with a file-type badge, title, size, and download button.",
8 "keywords": [
9 "download",
10 "file",
11 "pdf",
12 "ebook",
13 "zip",
14 "document",
15 "attachment",
16 "button"
17 ],
18 "textdomain": "b-blocks",
19 "attributes": {
20 "align": {
21 "type": "string",
22 "default": ""
23 },
24 "file": {
25 "type": "object",
26 "default": {
27 "id": 0,
28 "url": "",
29 "name": "",
30 "type": "",
31 "size": "",
32 "buttonLabel": "Download",
33 "openNewTab": false,
34 "showFileType": true,
35 "showFileSize": true
36 }
37 },
38 "content": {
39 "type": "object",
40 "default": {
41 "title": "",
42 "description": ""
43 }
44 },
45 "layout": {
46 "type": "object",
47 "default": {
48 "type": "horizontal"
49 }
50 },
51 "icon": {
52 "type": "object",
53 "default": {
54 "style": "filled",
55 "bg": {},
56 "color": "#2563eb",
57 "border": {
58 "color": "#2563eb",
59 "style": "solid",
60 "width": "2px"
61 },
62 "size": 48,
63 "padding": {
64 "desktop": {
65 "top": "",
66 "right": "",
67 "bottom": "",
68 "left": ""
69 },
70 "tablet": {
71 "top": "",
72 "right": "",
73 "bottom": "",
74 "left": ""
75 },
76 "mobile": {
77 "top": "",
78 "right": "",
79 "bottom": "",
80 "left": ""
81 }
82 },
83 "margin": {
84 "desktop": {
85 "top": "",
86 "right": "",
87 "bottom": "",
88 "left": ""
89 },
90 "tablet": {
91 "top": "",
92 "right": "",
93 "bottom": "",
94 "left": ""
95 },
96 "mobile": {
97 "top": "",
98 "right": "",
99 "bottom": "",
100 "left": ""
101 }
102 },
103 "radius": {
104 "desktop": {
105 "top": "8px",
106 "right": "8px",
107 "bottom": "8px",
108 "left": "8px"
109 },
110 "tablet": {
111 "top": "",
112 "right": "",
113 "bottom": "",
114 "left": ""
115 },
116 "mobile": {
117 "top": "",
118 "right": "",
119 "bottom": "",
120 "left": ""
121 }
122 }
123 }
124 },
125 "title": {
126 "type": "object",
127 "default": {
128 "color": "#111827",
129 "bg": {
130 "type": "solid",
131 "color": ""
132 },
133 "typo": {
134 "fontSize": {
135 "desktop": "16px",
136 "tablet": "",
137 "mobile": ""
138 },
139 "fontWeight": "600"
140 },
141 "padding": {
142 "desktop": {
143 "top": "",
144 "right": "",
145 "bottom": "",
146 "left": ""
147 },
148 "tablet": {
149 "top": "",
150 "right": "",
151 "bottom": "",
152 "left": ""
153 },
154 "mobile": {
155 "top": "",
156 "right": "",
157 "bottom": "",
158 "left": ""
159 }
160 },
161 "margin": {
162 "desktop": {
163 "top": "",
164 "right": "",
165 "bottom": "",
166 "left": ""
167 },
168 "tablet": {
169 "top": "",
170 "right": "",
171 "bottom": "",
172 "left": ""
173 },
174 "mobile": {
175 "top": "",
176 "right": "",
177 "bottom": "",
178 "left": ""
179 }
180 },
181 "border": {},
182 "borderRadius": {
183 "desktop": {
184 "top": "",
185 "right": "",
186 "bottom": "",
187 "left": ""
188 },
189 "tablet": {
190 "top": "",
191 "right": "",
192 "bottom": "",
193 "left": ""
194 },
195 "mobile": {
196 "top": "",
197 "right": "",
198 "bottom": "",
199 "left": ""
200 }
201 }
202 }
203 },
204 "description": {
205 "type": "object",
206 "default": {
207 "color": "#6b7280",
208 "bg": {
209 "type": "solid",
210 "color": ""
211 },
212 "typo": {
213 "fontSize": {
214 "desktop": "14px",
215 "tablet": "",
216 "mobile": ""
217 }
218 },
219 "padding": {
220 "desktop": {
221 "top": "",
222 "right": "",
223 "bottom": "",
224 "left": ""
225 },
226 "tablet": {
227 "top": "",
228 "right": "",
229 "bottom": "",
230 "left": ""
231 },
232 "mobile": {
233 "top": "",
234 "right": "",
235 "bottom": "",
236 "left": ""
237 }
238 },
239 "margin": {
240 "desktop": {
241 "top": "",
242 "right": "",
243 "bottom": "",
244 "left": ""
245 },
246 "tablet": {
247 "top": "",
248 "right": "",
249 "bottom": "",
250 "left": ""
251 },
252 "mobile": {
253 "top": "",
254 "right": "",
255 "bottom": "",
256 "left": ""
257 }
258 },
259 "border": {},
260 "borderRadius": {
261 "desktop": {
262 "top": "",
263 "right": "",
264 "bottom": "",
265 "left": ""
266 },
267 "tablet": {
268 "top": "",
269 "right": "",
270 "bottom": "",
271 "left": ""
272 },
273 "mobile": {
274 "top": "",
275 "right": "",
276 "bottom": "",
277 "left": ""
278 }
279 }
280 }
281 },
282 "meta": {
283 "type": "object",
284 "default": {
285 "color": "#9ca3af",
286 "bg": {
287 "type": "solid",
288 "color": ""
289 },
290 "typo": {
291 "fontSize": {
292 "desktop": "12px",
293 "tablet": "",
294 "mobile": ""
295 }
296 },
297 "padding": {
298 "desktop": {
299 "top": "",
300 "right": "",
301 "bottom": "",
302 "left": ""
303 },
304 "tablet": {
305 "top": "",
306 "right": "",
307 "bottom": "",
308 "left": ""
309 },
310 "mobile": {
311 "top": "",
312 "right": "",
313 "bottom": "",
314 "left": ""
315 }
316 },
317 "margin": {
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 "border": {},
338 "borderRadius": {
339 "desktop": {
340 "top": "",
341 "right": "",
342 "bottom": "",
343 "left": ""
344 },
345 "tablet": {
346 "top": "",
347 "right": "",
348 "bottom": "",
349 "left": ""
350 },
351 "mobile": {
352 "top": "",
353 "right": "",
354 "bottom": "",
355 "left": ""
356 }
357 }
358 }
359 },
360 "button": {
361 "type": "object",
362 "default": {
363 "normal": {
364 "bg": {
365 "type": "solid",
366 "color": "#2563eb"
367 },
368 "color": "#ffffff",
369 "border": {},
370 "padding": {
371 "desktop": {
372 "top": "10px",
373 "right": "20px",
374 "bottom": "10px",
375 "left": "20px"
376 },
377 "tablet": {
378 "top": "",
379 "right": "",
380 "bottom": "",
381 "left": ""
382 },
383 "mobile": {
384 "top": "",
385 "right": "",
386 "bottom": "",
387 "left": ""
388 }
389 },
390 "margin": {
391 "desktop": {
392 "top": "",
393 "right": "",
394 "bottom": "",
395 "left": ""
396 },
397 "tablet": {
398 "top": "",
399 "right": "",
400 "bottom": "",
401 "left": ""
402 },
403 "mobile": {
404 "top": "",
405 "right": "",
406 "bottom": "",
407 "left": ""
408 }
409 },
410 "radius": {
411 "desktop": {
412 "top": "6px",
413 "right": "6px",
414 "bottom": "6px",
415 "left": "6px"
416 },
417 "tablet": {
418 "top": "",
419 "right": "",
420 "bottom": "",
421 "left": ""
422 },
423 "mobile": {
424 "top": "",
425 "right": "",
426 "bottom": "",
427 "left": ""
428 }
429 }
430 },
431 "hover": {
432 "bg": {
433 "type": "solid",
434 "color": ""
435 },
436 "color": "",
437 "border": {},
438 "padding": {
439 "desktop": {
440 "top": "",
441 "right": "",
442 "bottom": "",
443 "left": ""
444 },
445 "tablet": {
446 "top": "",
447 "right": "",
448 "bottom": "",
449 "left": ""
450 },
451 "mobile": {
452 "top": "",
453 "right": "",
454 "bottom": "",
455 "left": ""
456 }
457 },
458 "margin": {
459 "desktop": {
460 "top": "",
461 "right": "",
462 "bottom": "",
463 "left": ""
464 },
465 "tablet": {
466 "top": "",
467 "right": "",
468 "bottom": "",
469 "left": ""
470 },
471 "mobile": {
472 "top": "",
473 "right": "",
474 "bottom": "",
475 "left": ""
476 }
477 },
478 "radius": {
479 "desktop": {
480 "top": "",
481 "right": "",
482 "bottom": "",
483 "left": ""
484 },
485 "tablet": {
486 "top": "",
487 "right": "",
488 "bottom": "",
489 "left": ""
490 },
491 "mobile": {
492 "top": "",
493 "right": "",
494 "bottom": "",
495 "left": ""
496 }
497 }
498 },
499 "typo": {
500 "fontSize": {
501 "desktop": "14px",
502 "tablet": "",
503 "mobile": ""
504 },
505 "fontWeight": "600"
506 },
507 "transition": 0.2
508 }
509 },
510 "advanced": {
511 "type": "object",
512 "default": {
513 "dimension": {
514 "padding": {
515 "desktop": {
516 "top": "20px",
517 "right": "25px",
518 "bottom": "20px",
519 "left": "25px"
520 },
521 "tablet": {
522 "top": "",
523 "right": "",
524 "bottom": "",
525 "left": ""
526 },
527 "mobile": {
528 "top": "",
529 "right": "",
530 "bottom": "",
531 "left": ""
532 }
533 }
534 },
535 "borderShadow": {
536 "normal": {
537 "radius": {
538 "top": "5px",
539 "right": "5px",
540 "bottom": "5px",
541 "left": "5px"
542 },
543 "shadow": [
544 {
545 "hOffset": "0px",
546 "vOffset": "0px",
547 "blur": "5px",
548 "spreed": "0px",
549 "color": "rgba(113, 144, 176, 0.43)",
550 "isInset": false
551 }
552 ]
553 }
554 },
555 "background": {
556 "normal": {
557 "type": "color",
558 "color": "rgba(255, 255, 255, 0)",
559 "gradient": {
560 "type": "radial",
561 "radialType": "ellipse",
562 "colors": [
563 {
564 "color": "rgba(58, 66, 222, 1)",
565 "position": "0"
566 },
567 {
568 "color": "rgba(176, 195, 235, 1)",
569 "position": "80"
570 }
571 ],
572 "centerPositions": {
573 "x": 50,
574 "y": 50
575 },
576 "angel": 90
577 },
578 "img": {
579 "url": "",
580 "desktop": {
581 "position": "center-center",
582 "xPosition": 0,
583 "yPosition": 0,
584 "attachment": "",
585 "repeat": "no-repeat",
586 "size": "",
587 "customSize": "0px"
588 },
589 "tablet": {
590 "position": "center-center",
591 "xPosition": 0,
592 "yPosition": 0,
593 "attachment": "",
594 "repeat": "no-repeat",
595 "size": "",
596 "customSize": "0px"
597 },
598 "mobile": {
599 "position": "center-center",
600 "xPosition": 0,
601 "yPosition": 0,
602 "attachment": "",
603 "repeat": "no-repeat",
604 "size": "",
605 "customSize": "0px"
606 }
607 },
608 "transition": 0.3
609 }
610 },
611 "transform": {
612 "normal": {
613 "rotate": {
614 "desktop": {
615 "z": "",
616 "y": "",
617 "x": ""
618 },
619 "tablet": {
620 "z": "",
621 "y": "",
622 "x": ""
623 },
624 "mobile": {
625 "z": "",
626 "y": "",
627 "x": ""
628 },
629 "threeDRotate": false
630 },
631 "offset": {
632 "desktop": {
633 "x": "",
634 "y": ""
635 },
636 "tablet": {
637 "x": "",
638 "y": ""
639 },
640 "mobile": {
641 "x": "",
642 "y": ""
643 }
644 },
645 "scale": {
646 "isProportion": true,
647 "desktop": {
648 "x": "",
649 "y": "",
650 "scale": ""
651 },
652 "tablet": {
653 "x": "",
654 "y": "",
655 "scale": ""
656 },
657 "mobile": {
658 "x": "",
659 "y": "",
660 "scale": ""
661 }
662 },
663 "skew": {
664 "desktop": {
665 "x": "",
666 "y": ""
667 },
668 "tablet": {
669 "x": "",
670 "y": ""
671 },
672 "mobile": {
673 "x": "",
674 "y": ""
675 }
676 },
677 "flipX": false,
678 "flipY": false
679 },
680 "hover": {
681 "rotate": {
682 "desktop": {
683 "z": "",
684 "y": "",
685 "x": ""
686 },
687 "tablet": {
688 "z": "",
689 "y": "",
690 "x": ""
691 },
692 "mobile": {
693 "z": "",
694 "y": "",
695 "x": ""
696 },
697 "threeDRotate": false
698 },
699 "offset": {
700 "desktop": {
701 "x": "",
702 "y": ""
703 },
704 "tablet": {
705 "x": "",
706 "y": ""
707 },
708 "mobile": {
709 "x": "",
710 "y": ""
711 }
712 },
713 "scale": {
714 "isProportion": true,
715 "desktop": {
716 "x": "",
717 "y": "",
718 "scale": ""
719 },
720 "tablet": {
721 "x": "",
722 "y": "",
723 "scale": ""
724 },
725 "mobile": {
726 "x": "",
727 "y": "",
728 "scale": ""
729 }
730 },
731 "skew": {
732 "desktop": {
733 "x": "",
734 "y": ""
735 },
736 "tablet": {
737 "x": "",
738 "y": ""
739 },
740 "mobile": {
741 "x": "",
742 "y": ""
743 }
744 },
745 "flipX": false,
746 "flipY": false
747 },
748 "transition": 200
749 }
750 }
751 }
752 },
753 "supports": {
754 "align": [
755 "wide",
756 "full"
757 ],
758 "html": false
759 },
760 "example": {
761 "attributes": {
762 "preview": true
763 }
764 },
765 "editorScript": "file:../index.js",
766 "style": "file:./view.css",
767 "viewScript": "file:./view.js",
768 "render": "file:./render.php"
769 }