PluginProbe
bBlocks – Essential Gutenberg Blocks & Patterns Collection / trunk
bBlocks – Essential Gutenberg Blocks & Patterns Collection vtrunk
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 1.5.5 All 106 releases
b-blocks / build / carousel / block.json

block.json in bBlocks – Essential Gutenberg Blocks & Patterns Collection trunk, at build/carousel/block.json

565 lines 13.2 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/carousel",
5 "title": "Carousel",
6 "category": "bBlocks",
7 "description": "Modern carousel for showcasing content. Supports unlimited slides with complete block flexibility inside.",
8 "keywords": [
9 "carousel",
10 "slider",
11 "swiper",
12 "slide",
13 "carousel-block",
14 "slider",
15 "slideshow",
16 "gallery",
17 "carousel",
18 "slide",
19 "rotator"
20 ],
21 "textdomain": "b-blocks",
22 "attributes": {
23 "align": {
24 "type": "string",
25 "default": ""
26 },
27 "clientId": {
28 "type": "string",
29 "default": ""
30 },
31 "pagination": {
32 "type": "object",
33 "default": {
34 "pagination": true,
35 "showOnTablet": true,
36 "showOnMobile": true,
37 "type": "bullets",
38 "clickable": true,
39 "hideOnClick": false,
40 "dynamicPagination": false,
41 "dynamicBullets": false,
42 "dynamicMainBullets": 1
43 }
44 },
45 "navigation": {
46 "type": "object",
47 "default": {
48 "navigation": true,
49 "iconType": "library",
50 "nextIcon": {
51 "library": "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' id='chevron-right'><path fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/></svg>",
52 "upload": ""
53 },
54 "prevIcon": {
55 "library": "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' id='chevron-left'><path fill-rule='evenodd' d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/></svg>",
56 "upload": ""
57 }
58 }
59 },
60 "autoplay": {
61 "type": "object",
62 "default": {
63 "autoplay": true,
64 "direction": "right",
65 "delay": 1.5,
66 "isPauseOnHover": false,
67 "easing": ""
68 }
69 },
70 "layout": {
71 "type": "object",
72 "default": {
73 "slideView": {
74 "desktop": 3,
75 "tablet": 2,
76 "mobile": 1
77 },
78 "space": {
79 "desktop": 30,
80 "tablet": 25,
81 "mobile": 15
82 },
83 "direction": "horizontal"
84 }
85 },
86 "options": {
87 "type": "object",
88 "default": {
89 "speed": 1,
90 "loop": true,
91 "touchMove": true,
92 "autoHeight": false
93 }
94 },
95 "styles": {
96 "type": "object",
97 "default": {
98 "pagination": {
99 "desktop": {
100 "positionY": "",
101 "positionX": ""
102 },
103 "tablet": {
104 "positionY": "",
105 "positionX": ""
106 },
107 "mobile": {
108 "positionY": "",
109 "positionX": ""
110 },
111 "normal": {
112 "color": "",
113 "width": "",
114 "height": "",
115 "border": {},
116 "radius": {
117 "top": "",
118 "right": "",
119 "bottom": "",
120 "left": ""
121 }
122 },
123 "active": {
124 "color": "",
125 "width": "",
126 "height": "",
127 "border": {},
128 "radius": {
129 "top": "",
130 "right": "",
131 "bottom": "",
132 "left": ""
133 },
134 "transition": 0.2
135 }
136 },
137 "navigation": {
138 "desktop": {
139 "arrow": {
140 "size": "",
141 "positionX": {
142 "prev": "",
143 "next": ""
144 },
145 "positionY": {
146 "prev": "",
147 "next": ""
148 }
149 },
150 "padding": {
151 "top": "6px",
152 "right": "6px",
153 "bottom": "6px",
154 "left": "6px"
155 }
156 },
157 "tablet": {
158 "arrow": {
159 "size": "",
160 "positionX": {
161 "prev": "",
162 "next": ""
163 },
164 "positionY": {
165 "prev": "",
166 "next": ""
167 }
168 },
169 "padding": {
170 "top": "",
171 "bottom": "",
172 "left": "",
173 "right": ""
174 }
175 },
176 "mobile": {
177 "arrow": {
178 "size": "",
179 "positionX": {
180 "prev": "",
181 "next": ""
182 },
183 "positionY": {
184 "prev": "",
185 "next": ""
186 }
187 },
188 "padding": {
189 "top": "",
190 "bottom": "",
191 "left": "",
192 "right": ""
193 }
194 },
195 "normal": {
196 "bg": {},
197 "color": "rgba(140, 140, 140, 1)",
198 "border": {
199 "color": "#8c8c8c",
200 "style": "solid",
201 "width": "2px"
202 },
203 "desktop": {
204 "radius": {
205 "top": "50%",
206 "right": "50%",
207 "bottom": "50%",
208 "left": "50%"
209 }
210 },
211 "tablet": {
212 "radius": {
213 "top": "",
214 "right": "",
215 "bottom": "",
216 "left": ""
217 }
218 },
219 "mobile": {
220 "radius": {
221 "top": "",
222 "right": "",
223 "bottom": "",
224 "left": ""
225 }
226 }
227 },
228 "hover": {
229 "bg": {},
230 "color": "",
231 "border": {},
232 "desktop": {
233 "radius": {
234 "top": "",
235 "right": "",
236 "bottom": "",
237 "left": ""
238 }
239 },
240 "tablet": {
241 "radius": {
242 "top": "",
243 "right": "",
244 "bottom": "",
245 "left": ""
246 }
247 },
248 "mobile": {
249 "radius": {
250 "top": "",
251 "right": "",
252 "bottom": "",
253 "left": ""
254 }
255 },
256 "transition": 0.2
257 }
258 },
259 "container": {
260 "desktop": {
261 "height": "",
262 "width": "",
263 "alignItems": "center"
264 },
265 "tablet": {
266 "height": "",
267 "width": "",
268 "alignItems": ""
269 },
270 "mobile": {
271 "height": "",
272 "width": "",
273 "alignItems": ""
274 }
275 }
276 }
277 },
278 "advanced": {
279 "type": "object",
280 "default": {
281 "dimension": {
282 "padding": {
283 "desktop": {
284 "top": "",
285 "right": "",
286 "bottom": "",
287 "left": ""
288 },
289 "tablet": {
290 "top": "",
291 "right": "",
292 "bottom": "",
293 "left": ""
294 },
295 "mobile": {
296 "top": "",
297 "right": "",
298 "bottom": "",
299 "left": ""
300 }
301 },
302 "margin": {
303 "desktop": {
304 "bottom": "",
305 "top": "",
306 "right": "",
307 "left": ""
308 }
309 }
310 },
311 "transform": {
312 "normal": {
313 "rotate": {
314 "desktop": {
315 "x": "",
316 "y": "",
317 "z": ""
318 },
319 "tablet": {
320 "x": "",
321 "y": "",
322 "z": ""
323 },
324 "mobile": {
325 "x": "",
326 "y": "",
327 "z": ""
328 },
329 "threeDRotate": false
330 },
331 "offset": {
332 "desktop": {
333 "x": "",
334 "y": ""
335 },
336 "tablet": {
337 "x": "",
338 "y": ""
339 },
340 "mobile": {
341 "x": "",
342 "y": ""
343 }
344 },
345 "scale": {
346 "isProportion": true,
347 "desktop": {
348 "x": "",
349 "y": "",
350 "scale": ""
351 },
352 "tablet": {
353 "x": "",
354 "y": "",
355 "scale": ""
356 },
357 "mobile": {
358 "x": "",
359 "y": "",
360 "scale": ""
361 }
362 },
363 "skew": {
364 "desktop": {
365 "x": "",
366 "y": ""
367 },
368 "tablet": {
369 "x": "",
370 "y": ""
371 },
372 "mobile": {
373 "x": "",
374 "y": ""
375 }
376 },
377 "flipX": false,
378 "flipY": false
379 },
380 "hover": {
381 "rotate": {
382 "desktop": {
383 "z": "",
384 "y": "",
385 "x": ""
386 },
387 "tablet": {
388 "z": "",
389 "y": "",
390 "x": ""
391 },
392 "mobile": {
393 "z": "",
394 "y": "",
395 "x": ""
396 },
397 "threeDRotate": false
398 },
399 "offset": {
400 "desktop": {
401 "x": "",
402 "y": ""
403 },
404 "tablet": {
405 "x": "",
406 "y": ""
407 },
408 "mobile": {
409 "x": "",
410 "y": ""
411 }
412 },
413 "scale": {
414 "isProportion": true,
415 "desktop": {
416 "x": "",
417 "y": "",
418 "scale": ""
419 },
420 "tablet": {
421 "x": "",
422 "y": "",
423 "scale": ""
424 },
425 "mobile": {
426 "x": "",
427 "y": "",
428 "scale": ""
429 }
430 },
431 "skew": {
432 "desktop": {
433 "x": "",
434 "y": ""
435 },
436 "tablet": {
437 "x": "",
438 "y": ""
439 },
440 "mobile": {
441 "x": "",
442 "y": ""
443 }
444 },
445 "flipX": false,
446 "flipY": false
447 },
448 "transition": 200
449 },
450 "borderShadow": {
451 "normal": {
452 "radius": {
453 "top": "",
454 "right": "",
455 "bottom": "",
456 "left": ""
457 },
458 "shadow": [
459 {
460 "hOffset": "",
461 "vOffset": "",
462 "blur": "",
463 "spreed": "",
464 "color": "#7090b0",
465 "isInset": false
466 }
467 ],
468 "border": {
469 "width": "",
470 "style": "none"
471 }
472 }
473 },
474 "background": {
475 "normal": {
476 "type": "color",
477 "color": "",
478 "gradient": {
479 "type": "radial",
480 "radialType": "ellipse",
481 "colors": [
482 {
483 "color": "",
484 "position": "0"
485 },
486 {
487 "color": "",
488 "position": "80"
489 }
490 ],
491 "centerPositions": {
492 "x": 50,
493 "y": 50
494 },
495 "angel": 90
496 },
497 "img": {
498 "desktop": {
499 "position": "center center",
500 "xPosition": 0,
501 "yPosition": 0,
502 "attachment": "",
503 "repeat": "no-repeat",
504 "size": "",
505 "customSize": "0px"
506 },
507 "tablet": {
508 "position": "center center",
509 "xPosition": 0,
510 "yPosition": 0,
511 "attachment": "",
512 "repeat": "no-repeat",
513 "size": "",
514 "customSize": "0px"
515 },
516 "mobile": {
517 "position": "center center",
518 "xPosition": 0,
519 "yPosition": 0,
520 "attachment": "",
521 "repeat": "no-repeat",
522 "size": "",
523 "customSize": "0px"
524 }
525 },
526 "video": {
527 "url": "",
528 "loop": false
529 },
530 "transition": 0.3
531 }
532 },
533 "visibility": {
534 "zIndex": {
535 "desktop": ""
536 },
537 "overflow": ""
538 },
539 "responsive": {
540 "desktop": false,
541 "tablet": false,
542 "mobile": false
543 }
544 }
545 }
546 },
547 "supports": {
548 "align": [
549 "wide",
550 "full"
551 ],
552 "html": false
553 },
554 "example": {
555 "attributes": {}
556 },
557 "editorScript": [
558 "file:../index.js",
559 "swiper"
560 ],
561 "script": "swiper",
562 "style": "file:./view.css",
563 "render": "file:./render.php",
564 "viewScript": "file:./view.js"
565 }