PluginProbe
bBlocks – Essential Gutenberg Blocks & Patterns Collection / 2.1.3
bBlocks – Essential Gutenberg Blocks & Patterns Collection v2.1.3
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 / key-takeaways / block.json

block.json in bBlocks – Essential Gutenberg Blocks & Patterns Collection 2.1.3, at build/key-takeaways/block.json

572 lines 13.6 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/key-takeaways",
5 "title": "Key Takeaways",
6 "category": "bBlocks",
7 "description": "A titled summary card listing the most important points of an article as a checkmark, numbered, or bullet list. Built for the blog \"Key Takeaways\" / \"TL;DR\" pattern with heading, accent color, icon, and full typography controls.",
8 "keywords": [
9 "key takeaways",
10 "takeaways",
11 "summary",
12 "tldr",
13 "tl;dr",
14 "highlights",
15 "key points",
16 "summary box",
17 "styled box",
18 "notification box"
19 ],
20 "textdomain": "b-blocks",
21 "attributes": {
22 "heading": {
23 "type": "object",
24 "default": {
25 "text": "Key Takeaways",
26 "tag": "h3",
27 "color": "#F4F7FF",
28 "bg": {
29 "type": "solid",
30 "color": "#0d6efd"
31 },
32 "typography": {
33 "fontSize": {
34 "desktop": "18px",
35 "tablet": "",
36 "mobile": ""
37 },
38 "fontWeight": 700
39 },
40 "padding": {
41 "top": "",
42 "right": "",
43 "bottom": "",
44 "left": ""
45 },
46 "margin": {
47 "top": "",
48 "right": "",
49 "bottom": "",
50 "left": ""
51 },
52 "border": {},
53 "desktop": {
54 "padding": {
55 "top": "",
56 "right": "",
57 "bottom": "",
58 "left": ""
59 },
60 "margin": {
61 "top": "",
62 "right": "",
63 "bottom": "",
64 "left": ""
65 },
66 "radius": {
67 "left": "",
68 "right": "",
69 "top": "",
70 "bottom": ""
71 }
72 },
73 "tablet": {
74 "padding": {
75 "top": "",
76 "right": "",
77 "bottom": "",
78 "left": ""
79 },
80 "margin": {
81 "top": "",
82 "right": "",
83 "bottom": "",
84 "left": ""
85 },
86 "radius": {
87 "left": "",
88 "right": "",
89 "top": "",
90 "bottom": ""
91 }
92 },
93 "mobile": {
94 "padding": {
95 "top": "",
96 "right": "",
97 "bottom": "",
98 "left": ""
99 },
100 "margin": {
101 "top": "",
102 "right": "",
103 "bottom": "",
104 "left": ""
105 },
106 "radius": {
107 "left": "",
108 "right": "",
109 "top": "",
110 "bottom": ""
111 }
112 }
113 }
114 },
115 "list": {
116 "type": "object",
117 "default": {
118 "style": "check",
119 "showIcon": true,
120 "gap": "10px"
121 }
122 },
123 "items": {
124 "type": "array",
125 "default": [
126 {
127 "text": "Summarize your first key point here.",
128 "icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\" fill=\"currentColor\"><path d=\"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z\"/></svg>"
129 },
130 {
131 "text": "Add the second takeaway readers should remember.",
132 "icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\" fill=\"currentColor\"><path d=\"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z\"/></svg>"
133 },
134 {
135 "text": "Close with a final actionable insight.",
136 "icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\" fill=\"currentColor\"><path d=\"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z\"/></svg>"
137 }
138 ]
139 },
140 "icon": {
141 "type": "object",
142 "default": {
143 "color": "#000000",
144 "size": "18px",
145 "border": {},
146 "bg": {
147 "type": "solid",
148 "color": ""
149 },
150 "desktop": {
151 "padding": {
152 "top": "",
153 "right": "",
154 "bottom": "",
155 "left": ""
156 },
157 "margin": {
158 "top": "",
159 "right": "",
160 "bottom": "",
161 "left": ""
162 },
163 "radius": {
164 "left": "",
165 "right": "",
166 "top": "",
167 "bottom": ""
168 }
169 },
170 "tablet": {
171 "padding": {
172 "top": "",
173 "right": "",
174 "bottom": "",
175 "left": ""
176 },
177 "margin": {
178 "top": "",
179 "right": "",
180 "bottom": "",
181 "left": ""
182 },
183 "radius": {
184 "left": "",
185 "right": "",
186 "top": "",
187 "bottom": ""
188 }
189 },
190 "mobile": {
191 "padding": {
192 "top": "",
193 "right": "",
194 "bottom": "",
195 "left": ""
196 },
197 "margin": {
198 "top": "",
199 "right": "",
200 "bottom": "",
201 "left": ""
202 },
203 "radius": {
204 "left": "",
205 "right": "",
206 "top": "",
207 "bottom": ""
208 }
209 }
210 }
211 },
212 "item": {
213 "type": "object",
214 "default": {
215 "color": "#1e293b",
216 "bg": {
217 "type": "solid",
218 "color": ""
219 },
220 "typography": {
221 "fontSize": {
222 "desktop": "16px",
223 "tablet": "",
224 "mobile": ""
225 },
226 "fontWeight": 400
227 },
228 "border": {},
229 "desktop": {
230 "padding": {
231 "top": "",
232 "right": "",
233 "bottom": "",
234 "left": ""
235 },
236 "margin": {
237 "top": "",
238 "right": "",
239 "bottom": "",
240 "left": ""
241 },
242 "radius": {
243 "left": "",
244 "right": "",
245 "top": "",
246 "bottom": ""
247 }
248 },
249 "tablet": {
250 "padding": {
251 "top": "",
252 "right": "",
253 "bottom": "",
254 "left": ""
255 },
256 "margin": {
257 "top": "",
258 "right": "",
259 "bottom": "",
260 "left": ""
261 },
262 "radius": {
263 "left": "",
264 "right": "",
265 "top": "",
266 "bottom": ""
267 }
268 },
269 "mobile": {
270 "padding": {
271 "top": "",
272 "right": "",
273 "bottom": "",
274 "left": ""
275 },
276 "margin": {
277 "top": "",
278 "right": "",
279 "bottom": "",
280 "left": ""
281 },
282 "radius": {
283 "left": "",
284 "right": "",
285 "top": "",
286 "bottom": ""
287 }
288 }
289 }
290 },
291 "advanced": {
292 "type": "object",
293 "default": {
294 "dimension": {
295 "padding": {
296 "desktop": {
297 "top": "",
298 "right": "",
299 "bottom": "",
300 "left": ""
301 },
302 "tablet": {
303 "top": "",
304 "right": "",
305 "bottom": "",
306 "left": ""
307 },
308 "mobile": {
309 "top": "",
310 "right": "",
311 "bottom": "",
312 "left": ""
313 }
314 }
315 },
316 "transform": {
317 "normal": {
318 "rotate": {
319 "desktop": {
320 "z": "",
321 "y": "",
322 "x": ""
323 },
324 "tablet": {
325 "z": "",
326 "y": "",
327 "x": ""
328 },
329 "mobile": {
330 "z": "",
331 "y": "",
332 "x": ""
333 },
334 "threeDRotate": false
335 },
336 "offset": {
337 "desktop": {
338 "x": "",
339 "y": ""
340 },
341 "tablet": {
342 "x": "",
343 "y": ""
344 },
345 "mobile": {
346 "x": "",
347 "y": ""
348 }
349 },
350 "scale": {
351 "isProportion": true,
352 "desktop": {
353 "x": "",
354 "y": "",
355 "scale": ""
356 },
357 "tablet": {
358 "x": "",
359 "y": "",
360 "scale": ""
361 },
362 "mobile": {
363 "x": "",
364 "y": "",
365 "scale": ""
366 }
367 },
368 "skew": {
369 "desktop": {
370 "x": "",
371 "y": ""
372 },
373 "tablet": {
374 "x": "",
375 "y": ""
376 },
377 "mobile": {
378 "x": "",
379 "y": ""
380 }
381 },
382 "flipX": false,
383 "flipY": false
384 },
385 "hover": {
386 "rotate": {
387 "desktop": {
388 "z": "",
389 "y": "",
390 "x": ""
391 },
392 "tablet": {
393 "z": "",
394 "y": "",
395 "x": ""
396 },
397 "mobile": {
398 "z": "",
399 "y": "",
400 "x": ""
401 },
402 "threeDRotate": false
403 },
404 "offset": {
405 "desktop": {
406 "x": "",
407 "y": ""
408 },
409 "tablet": {
410 "x": "",
411 "y": ""
412 },
413 "mobile": {
414 "x": "",
415 "y": ""
416 }
417 },
418 "scale": {
419 "isProportion": true,
420 "desktop": {
421 "x": "",
422 "y": "",
423 "scale": ""
424 },
425 "tablet": {
426 "x": "",
427 "y": "",
428 "scale": ""
429 },
430 "mobile": {
431 "x": "",
432 "y": "",
433 "scale": ""
434 }
435 },
436 "skew": {
437 "desktop": {
438 "x": "",
439 "y": ""
440 },
441 "tablet": {
442 "x": "",
443 "y": ""
444 },
445 "mobile": {
446 "x": "",
447 "y": ""
448 }
449 },
450 "flipX": false,
451 "flipY": false
452 },
453 "transition": 200
454 },
455 "borderShadow": {
456 "normal": {
457 "radius": {
458 "top": "8px",
459 "right": "8px",
460 "bottom": "8px",
461 "left": "8px"
462 },
463 "shadow": [
464 {
465 "hOffset": "",
466 "vOffset": "",
467 "blur": "",
468 "spreed": "",
469 "color": "",
470 "isInset": false
471 }
472 ],
473 "border": {
474 "top": {
475 "style": "none",
476 "width": "0px"
477 },
478 "right": {
479 "style": "none",
480 "width": "0px"
481 },
482 "bottom": {
483 "style": "none",
484 "width": "0px"
485 },
486 "left": {
487 "style": "none",
488 "width": "0px"
489 }
490 }
491 }
492 },
493 "background": {
494 "normal": {
495 "type": "color",
496 "color": "",
497 "gradient": {
498 "type": "radial",
499 "radialType": "ellipse",
500 "colors": [
501 {
502 "color": "rgba(58, 66, 222, 1)",
503 "position": "0"
504 },
505 {
506 "color": "rgba(176, 195, 235, 1)",
507 "position": "80"
508 }
509 ],
510 "centerPositions": {
511 "x": 50,
512 "y": 50
513 },
514 "angel": 90
515 },
516 "img": {
517 "url": "",
518 "desktop": {
519 "position": "center center",
520 "xPosition": 0,
521 "yPosition": 0,
522 "attachment": "",
523 "repeat": "no-repeat",
524 "size": "",
525 "customSize": "0px"
526 },
527 "tablet": {
528 "position": "center center",
529 "xPosition": 0,
530 "yPosition": 0,
531 "attachment": "",
532 "repeat": "no-repeat",
533 "size": "",
534 "customSize": "0px"
535 },
536 "mobile": {
537 "position": "center center",
538 "xPosition": 0,
539 "yPosition": 0,
540 "attachment": "",
541 "repeat": "no-repeat",
542 "size": "",
543 "customSize": "0px"
544 }
545 },
546 "video": {
547 "url": "",
548 "loop": false
549 },
550 "transition": 0.3
551 }
552 }
553 }
554 }
555 },
556 "supports": {
557 "align": [
558 "wide",
559 "full"
560 ],
561 "html": false
562 },
563 "example": {
564 "attributes": {
565 "preview": true
566 }
567 },
568 "editorScript": "file:../index.js",
569 "style": "file:./view.css",
570 "viewScript": "file:./view.js",
571 "render": "file:./render.php"
572 }