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/timeline/block.json +489 -76 2.1.2 → 2.1.8 View file →
@@ -1,110 +1,523 @@
1 1 {
2 2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 3 "apiVersion": 3,
4 4 "name": "b-blocks/timeline",
5 - "version": "1.0.0",
6 5 "title": "Timeline",
7 6 "category": "bBlocks",
8 - "description": "A vertical timeline block for events, history, and roadmaps with auto-alternating left/right layout.",
7 + "description": "A vertical timeline. Each entry is a Timeline Item child block holding a date, an icon marker and any inner blocks you like.",
9 8 "keywords": [
10 9 "timeline",
11 10 "history",
12 11 "roadmap",
13 12 "events",
14 - "milestones"
13 + "milestones",
14 + "steps"
15 15 ],
16 16 "textdomain": "b-blocks",
17 - "example": {
18 - "attributes": {
19 - "layout": "alternating",
20 - "variant": "modern",
21 - "items": [
22 - {
23 - "date": "2022",
24 - "title": "Foundation",
25 - "description": "The company was founded with a clear vision for the future.",
26 - "icon": "",
27 - "accentColor": "#0d6efd"
17 + "attributes": {
18 + "align": {
19 + "type": "string",
20 + "default": ""
21 + },
22 + "layout": {
23 + "type": "object",
24 + "default": {
25 + "desktop": {
26 + "direction": "vertical",
27 + "side": "alternate",
28 + "itemGap": "10px",
29 + "cardWidth": "100%",
30 + "cardGap": "0px",
31 + "markerGap": "10px"
28 32 },
29 - {
30 - "date": "2023",
31 - "title": "Growth",
32 - "description": "Expanded the team and launched our first major product.",
33 - "icon": "",
34 - "accentColor": "#198754"
33 + "tablet": {
34 + "direction": "",
35 + "side": "",
36 + "itemGap": "",
37 + "cardWidth": "",
38 + "cardGap": "",
39 + "markerGap": ""
35 40 },
36 - {
37 - "date": "2024",
38 - "title": "Innovation",
39 - "description": "Introduced new features and won industry recognition.",
40 - "icon": "",
41 - "accentColor": "#fd7e14"
41 + "mobile": {
42 + "direction": "",
43 + "side": "",
44 + "itemGap": "",
45 + "cardWidth": "",
46 + "cardGap": "",
47 + "markerGap": ""
42 48 }
43 - ]
44 - }
45 - },
46 - "attributes": {
47 - "items": {
48 - "type": "array",
49 - "default": [
50 - {
51 - "date": "2022",
52 - "title": "Timeline Item 1",
53 - "description": "Add a short description for this milestone.",
54 - "icon": "",
55 - "accentColor": "#0d6efd"
49 + }
50 + },
51 + "connector": {
52 + "type": "object",
53 + "default": {
54 + "line": {
55 + "show": true,
56 + "style": "solid",
57 + "bg": {
58 + "type": "solid",
59 + "color": "#d9d9d9"
60 + },
61 + "progress": false,
62 + "activeBg": {
63 + "type": "solid",
64 + "color": "#1e1e1e"
65 + },
66 + "progressFade": false,
67 + "extent": "markers",
68 + "desktop": {
69 + "width": "2px",
70 + "dash": "8px",
71 + "gap": "6px"
72 + },
73 + "tablet": {
74 + "width": "",
75 + "dash": "",
76 + "gap": ""
77 + },
78 + "mobile": {
79 + "width": "",
80 + "dash": "",
81 + "gap": ""
82 + }
56 83 },
57 - {
58 - "date": "2023",
59 - "title": "Timeline Item 2",
60 - "description": "Add a short description for this milestone.",
61 - "icon": "",
62 - "accentColor": "#198754"
84 + "arrow": {
85 + "show": true,
86 + "align": "center",
87 + "color": "",
88 + "desktop": {
89 + "size": "14px",
90 + "offset": "16px"
91 + },
92 + "tablet": {
93 + "size": "",
94 + "offset": ""
95 + },
96 + "mobile": {
97 + "size": "",
98 + "offset": ""
99 + }
100 + }
101 + }
102 + },
103 + "marker": {
104 + "type": "object",
105 + "default": {
106 + "shape": "circle",
107 + "transition": 300,
108 + "pulse": {
109 + "show": false,
110 + "bg": {
111 + "type": "solid",
112 + "color": ""
113 + },
114 + "speed": 2400
63 115 },
64 - {
65 - "date": "2024",
66 - "title": "Timeline Item 3",
67 - "description": "Add a short description for this milestone.",
68 - "icon": "",
69 - "accentColor": "#fd7e14"
116 + "normal": {
117 + "bg": {
118 + "type": "solid",
119 + "color": "#efefef"
120 + },
121 + "color": {
122 + "icon": "#1e1e1e"
123 + },
124 + "border": {
125 + "width": "0px"
126 + },
127 + "ring": {
128 + "width": "0px",
129 + "style": "solid",
130 + "offset": "0px",
131 + "color": ""
132 + },
133 + "shadow": []
134 + },
135 + "hover": {
136 + "bg": {
137 + "type": "solid",
138 + "color": ""
139 + },
140 + "color": {
141 + "icon": ""
142 + },
143 + "border": {},
144 + "ring": {
145 + "width": "",
146 + "style": "",
147 + "offset": "",
148 + "color": ""
149 + },
150 + "shadow": []
151 + },
152 + "desktop": {
153 + "size": "34px",
154 + "iconSize": "16px",
155 + "radius": {}
156 + },
157 + "tablet": {
158 + "size": "",
159 + "iconSize": "",
160 + "radius": {}
161 + },
162 + "mobile": {
163 + "size": "",
164 + "iconSize": "",
165 + "radius": {}
70 166 }
71 - ]
167 + }
72 168 },
73 - "layout": {
74 - "type": "string",
75 - "default": "alternating"
169 + "card": {
170 + "type": "object",
171 + "default": {
172 + "normal": {
173 + "bg": {
174 + "type": "solid",
175 + "color": "#efefef"
176 + },
177 + "border": {
178 + "width": "0px"
179 + },
180 + "shadow": [
181 + {
182 + "hOffset": "0px",
183 + "vOffset": "0px",
184 + "blur": "0px",
185 + "spreed": "0px",
186 + "color": "#7090b000",
187 + "isInset": false
188 + }
189 + ]
190 + },
191 + "hover": {
192 + "bg": {
193 + "type": "solid",
194 + "color": ""
195 + },
196 + "border": {}
197 + },
198 + "desktop": {
199 + "padding": {
200 + "top": "16px",
201 + "right": "16px",
202 + "bottom": "16px",
203 + "left": "16px"
204 + },
205 + "radius": {
206 + "top": "4px",
207 + "right": "4px",
208 + "bottom": "4px",
209 + "left": "4px"
210 + }
211 + },
212 + "tablet": {
213 + "padding": {},
214 + "radius": {}
215 + },
216 + "mobile": {
217 + "padding": {},
218 + "radius": {}
219 + }
220 + }
76 221 },
77 - "variant": {
78 - "type": "string",
79 - "default": "modern"
222 + "date": {
223 + "type": "object",
224 + "default": {
225 + "show": true,
226 + "color": "#1e1e1e",
227 + "typo": {
228 + "fontSize": {
229 + "desktop": "16px"
230 + }
231 + },
232 + "desktop": {
233 + "gap": "16px"
234 + },
235 + "tablet": {
236 + "gap": ""
237 + },
238 + "mobile": {
239 + "gap": ""
240 + }
241 + }
80 242 },
81 - "alignment": {
82 - "type": "string",
83 - "default": "center"
84 - },
85 - "lineColor": {
86 - "type": "string",
87 - "default": "#dee2e6"
88 - },
89 - "showIcons": {
90 - "type": "boolean",
91 - "default": true
243 + "advanced": {
244 + "type": "object",
245 + "default": {
246 + "dimension": {
247 + "padding": {
248 + "desktop": {
249 + "top": "",
250 + "right": "",
251 + "bottom": "",
252 + "left": ""
253 + },
254 + "tablet": {
255 + "top": "",
256 + "right": "",
257 + "bottom": "",
258 + "left": ""
259 + },
260 + "mobile": {
261 + "top": "",
262 + "right": "",
263 + "bottom": "",
264 + "left": ""
265 + }
266 + }
267 + },
268 + "transform": {
269 + "normal": {
270 + "rotate": {
271 + "desktop": {
272 + "z": "",
273 + "y": "",
274 + "x": ""
275 + },
276 + "tablet": {
277 + "z": "",
278 + "y": "",
279 + "x": ""
280 + },
281 + "mobile": {
282 + "z": "",
283 + "y": "",
284 + "x": ""
285 + },
286 + "threeDRotate": false
287 + },
288 + "offset": {
289 + "desktop": {
290 + "x": "",
291 + "y": ""
292 + },
293 + "tablet": {
294 + "x": "",
295 + "y": ""
296 + },
297 + "mobile": {
298 + "x": "",
299 + "y": ""
300 + }
301 + },
302 + "scale": {
303 + "isProportion": true,
304 + "desktop": {
305 + "x": "",
306 + "y": "",
307 + "scale": ""
308 + },
309 + "tablet": {
310 + "x": "",
311 + "y": "",
312 + "scale": ""
313 + },
314 + "mobile": {
315 + "x": "",
316 + "y": "",
317 + "scale": ""
318 + }
319 + },
320 + "skew": {
321 + "desktop": {
322 + "x": "",
323 + "y": ""
324 + },
325 + "tablet": {
326 + "x": "",
327 + "y": ""
328 + },
329 + "mobile": {
330 + "x": "",
331 + "y": ""
332 + }
333 + },
334 + "flipX": false,
335 + "flipY": false
336 + },
337 + "hover": {
338 + "rotate": {
339 + "desktop": {
340 + "z": "",
341 + "y": "",
342 + "x": ""
343 + },
344 + "tablet": {
345 + "z": "",
346 + "y": "",
347 + "x": ""
348 + },
349 + "mobile": {
350 + "z": "",
351 + "y": "",
352 + "x": ""
353 + },
354 + "threeDRotate": false
355 + },
356 + "offset": {
357 + "desktop": {
358 + "x": "",
359 + "y": ""
360 + },
361 + "tablet": {
362 + "x": "",
363 + "y": ""
364 + },
365 + "mobile": {
366 + "x": "",
367 + "y": ""
368 + }
369 + },
370 + "scale": {
371 + "isProportion": true,
372 + "desktop": {
373 + "x": "",
374 + "y": "",
375 + "scale": ""
376 + },
377 + "tablet": {
378 + "x": "",
379 + "y": "",
380 + "scale": ""
381 + },
382 + "mobile": {
383 + "x": "",
384 + "y": "",
385 + "scale": ""
386 + }
387 + },
388 + "skew": {
389 + "desktop": {
390 + "x": "",
391 + "y": ""
392 + },
393 + "tablet": {
394 + "x": "",
395 + "y": ""
396 + },
397 + "mobile": {
398 + "x": "",
399 + "y": ""
400 + }
401 + },
402 + "flipX": false,
403 + "flipY": false
404 + },
405 + "transition": 200
406 + },
407 + "borderShadow": {
408 + "normal": {
409 + "radius": {
410 + "top": "",
411 + "right": "",
412 + "bottom": "",
413 + "left": ""
414 + },
415 + "shadow": [
416 + {
417 + "hOffset": "",
418 + "vOffset": "",
419 + "blur": "",
420 + "spreed": "",
421 + "color": "",
422 + "isInset": false
423 + }
424 + ],
425 + "border": {
426 + "top": {
427 + "style": "none",
428 + "width": "0px"
429 + },
430 + "right": {
431 + "style": "none",
432 + "width": "0px"
433 + },
434 + "bottom": {
435 + "style": "none",
436 + "width": "0px"
437 + },
438 + "left": {
439 + "style": "none",
440 + "width": "0px"
441 + }
442 + }
443 + }
444 + },
445 + "background": {
446 + "normal": {
447 + "type": "color",
448 + "color": "",
449 + "gradient": {
450 + "type": "radial",
451 + "radialType": "ellipse",
452 + "colors": [
453 + {
454 + "color": "rgba(58, 66, 222, 1)",
455 + "position": "0"
456 + },
457 + {
458 + "color": "rgba(176, 195, 235, 1)",
459 + "position": "80"
460 + }
461 + ],
462 + "centerPositions": {
463 + "x": 50,
464 + "y": 50
465 + },
466 + "angel": 90
467 + },
468 + "img": {
469 + "url": "",
470 + "desktop": {
471 + "position": "center center",
472 + "xPosition": 0,
473 + "yPosition": 0,
474 + "attachment": "",
475 + "repeat": "no-repeat",
476 + "size": "",
477 + "customSize": "0px"
478 + },
479 + "tablet": {
480 + "position": "center center",
481 + "xPosition": 0,
482 + "yPosition": 0,
483 + "attachment": "",
484 + "repeat": "no-repeat",
485 + "size": "",
486 + "customSize": "0px"
487 + },
488 + "mobile": {
489 + "position": "center center",
490 + "xPosition": 0,
491 + "yPosition": 0,
492 + "attachment": "",
493 + "repeat": "no-repeat",
494 + "size": "",
495 + "customSize": "0px"
496 + }
497 + },
498 + "video": {
499 + "url": "",
500 + "loop": false
501 + },
502 + "transition": 0.3
503 + }
504 + }
505 + }
92 506 }
93 507 },
94 508 "supports": {
95 - "html": false,
96 - "anchor": true,
97 509 "align": [
98 510 "wide",
99 511 "full"
100 512 ],
101 - "spacing": {
102 - "margin": true,
103 - "padding": true
104 - }
513 + "html": false,
514 + "anchor": true
105 515 },
516 + "example": {
517 + "attributes": {}
518 + },
106 519 "editorScript": "file:../index.js",
520 + "style": "file:./view.css",
107 521 "render": "file:./render.php",
108 - "style": "file:./view.css",
109 522 "viewScript": "file:./view.js"
110 523 }