PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.9.1
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.9.1
2.13.0 2.13.1 2.12.0 2.11.1 2.11.0 2.10.0 2.9.0 2.7.4 2.7.5 2.7.6 2.7.7 2.8.0 2.8.1 2.9.1 trunk 1.0 1.0-beta1 1.0-beta2 1.0-beta3 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 All 80 releases
ablocks / assets / build / blocks / image-comparison / block.json

block.json in aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder 2.9.1, at assets/build/blocks/image-comparison/block.json

699 lines 23.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": "ablocks/image-comparison",
5 "version": "0.1.0",
6 "title": "Image Comparison",
7 "category": "ablocks",
8 "description": "Compare two images easily.",
9 "example": [],
10 "supports": {
11 "html": true,
12 "anchor": true
13 },
14 "textdomain": "ablocks",
15 "editorStyle": [
16 "ablocks-animate-style",
17 "ablocks-common-style",
18 "file:./style.css"
19 ],
20 "editorScript": [
21 "ablocks-common-script",
22 "file:./view.js"
23 ],
24 "attributes": {
25 "block_id": {
26 "type": "string",
27 "default": ""
28 },
29 "beforeImage": {
30 "type": "string",
31 "default": ""
32 },
33 "afterImage": {
34 "type": "string",
35 "default": ""
36 },
37 "sliderOrientation": {
38 "type": "string",
39 "default": "horizontal"
40 },
41 "showLabels": {
42 "type": "boolean",
43 "default": false
44 },
45 "labelPosition": {
46 "type": "number",
47 "default": 45
48 },
49 "labelBgColor": {
50 "type": "string",
51 "default": "rgba(0, 0, 0, 0.5)"
52 },
53 "labelTextColor": {
54 "type": "string",
55 "default": "white"
56 },
57 "labelWithOverlay": {
58 "type": "boolean",
59 "default": false
60 },
61 "labelOverlayColor": {
62 "type": "string",
63 "default": "rgba(0, 0, 0, 0.5)"
64 },
65 "labelBorderType": {
66 "type": "string",
67 "default": "solid"
68 },
69 "labelOnHover": {
70 "type": "boolean",
71 "default": false
72 },
73 "beforeImageLabel": {
74 "type": "string",
75 "default": "Before"
76 },
77 "afterImageLabel": {
78 "type": "string",
79 "default": "After"
80 },
81 "showHandle": {
82 "type": "boolean",
83 "default": true
84 },
85 "moveOnHover": {
86 "type": "boolean",
87 "default": false
88 },
89 "handleColor": {
90 "type": "string",
91 "default": "white"
92 },
93 "swapImages": {
94 "type": "boolean",
95 "default": false
96 },
97 "sliderPosition": {
98 "type": "number",
99 "default": 50
100 },
101 "sliderBarSize": {
102 "type": "object",
103 "default": {
104 "value": 4,
105 "valueTablet": "",
106 "valueMobile": ""
107 }
108 },
109 "sliderIconSize": {
110 "type": "object",
111 "default": {
112 "value": 50,
113 "valueTablet": "",
114 "valueMobile": ""
115 }
116 },
117 "sliderIconBorderSize": {
118 "type": "object",
119 "default": {
120 "value": 2,
121 "valueTablet": "",
122 "valueMobile": ""
123 }
124 },
125 "labelBorder": {
126 "type": "object",
127 "default": {
128 "borderStyle": "default",
129 "borderStyleH": "default",
130 "borderColor": "",
131 "borderColorH": "",
132 "isLinkedWidth": true,
133 "isLinkedWidthTablet": true,
134 "isLinkedWidthMobile": true,
135 "commonWidth": "",
136 "commonWidthTablet": "",
137 "commonWidthMobile": "",
138 "topWidth": "",
139 "rightWidth": "",
140 "bottomWidth": "",
141 "leftWidth": "",
142 "topWidthTablet": "",
143 "rightWidthTablet": "",
144 "bottomWidthTablet": "",
145 "leftWidthTablet": "",
146 "topWidthMobile": "",
147 "rightWidthMobile": "",
148 "bottomWidthMobile": "",
149 "leftWidthMobile": "",
150 "unitWidth": "px",
151 "unitWidthTablet": "",
152 "unitWidthMobile": "",
153 "isLinkedWidthH": true,
154 "isLinkedWidthHTablet": true,
155 "isLinkedWidthHMobile": true,
156 "commonWidthH": "",
157 "commonWidthHTablet": "",
158 "commonWidthHMobile": "",
159 "topWidthH": "",
160 "rightWidthH": "",
161 "bottomWidthH": "",
162 "leftWidthH": "",
163 "topWidthHTablet": "",
164 "rightWidthHTablet": "",
165 "bottomWidthHTablet": "",
166 "leftWidthHTablet": "",
167 "topWidthHMobile": "",
168 "rightWidthHMobile": "",
169 "bottomWidthHMobile": "",
170 "leftWidthHMobile": "",
171 "unitWidthH": "px",
172 "unitWidthHTablet": "",
173 "unitWidthHMobile": "",
174 "isLinkedRadius": true,
175 "isLinkedRadiusTablet": true,
176 "isLinkedRadiusMobile": true,
177 "commonRadius": "",
178 "commonRadiusTablet": "",
179 "commonRadiusMobile": "",
180 "topRadius": "",
181 "rightRadius": "",
182 "bottomRadius": "",
183 "leftRadius": "",
184 "topRadiusTablet": "",
185 "rightRadiusTablet": "",
186 "bottomRadiusTablet": "",
187 "leftRadiusTablet": "",
188 "topRadiusMobile": "",
189 "rightRadiusMobile": "",
190 "bottomRadiusMobile": "",
191 "leftRadiusMobile": "",
192 "unitRadius": "px",
193 "unitRadiusTablet": "",
194 "unitRadiusMobile": "",
195 "isLinkedRadiusH": true,
196 "isLinkedRadiusHTablet": true,
197 "isLinkedRadiusHMobile": true,
198 "commonRadiusH": "",
199 "commonRadiusHTablet": "",
200 "commonRadiusHMobile": "",
201 "topRadiusH": "",
202 "rightRadiusH": "",
203 "bottomRadiusH": "",
204 "leftRadiusH": "",
205 "topRadiusHTablet": "",
206 "rightRadiusHTablet": "",
207 "bottomRadiusHTablet": "",
208 "leftRadiusHTablet": "",
209 "topRadiusHMobile": "",
210 "rightRadiusHMobile": "",
211 "bottomRadiusHMobile": "",
212 "leftRadiusHMobile": "",
213 "unitRadiusH": "px",
214 "unitRadiusHTablet": "",
215 "unitRadiusHMobile": "",
216 "transitionDuration": ""
217 }
218 },
219 "_margin": {
220 "type": "object",
221 "default": {
222 "isLinked": true,
223 "isLinkedTablet": true,
224 "isLinkedMobile": true,
225 "common": "",
226 "top": "",
227 "right": "",
228 "bottom": "",
229 "left": "",
230 "unit": "px",
231 "commonTablet": "",
232 "topTablet": "",
233 "rightTablet": "",
234 "bottomTablet": "",
235 "leftTablet": "",
236 "unitTablet": "",
237 "commonMobile": "",
238 "topMobile": "",
239 "rightMobile": "",
240 "bottomMobile": "",
241 "leftMobile": "",
242 "unitMobile": ""
243 }
244 },
245 "_padding": {
246 "type": "object",
247 "default": {
248 "isLinked": true,
249 "isLinkedTablet": true,
250 "isLinkedMobile": true,
251 "common": "",
252 "top": "",
253 "right": "",
254 "bottom": "",
255 "left": "",
256 "unit": "px",
257 "commonTablet": "",
258 "topTablet": "",
259 "rightTablet": "",
260 "bottomTablet": "",
261 "leftTablet": "",
262 "unitTablet": "",
263 "commonMobile": "",
264 "topMobile": "",
265 "rightMobile": "",
266 "bottomMobile": "",
267 "leftMobile": "",
268 "unitMobile": ""
269 }
270 },
271 "_width": {
272 "type": "object",
273 "default": {
274 "widthType": "default",
275 "widthTypeTablet": "",
276 "widthTypeMobile": "",
277 "customWidth": "",
278 "customWidthTablet": "",
279 "customWidthMobile": "",
280 "customWidthUnit": "%",
281 "customWidthUnitTablet": "",
282 "customWidthUnitMobile": ""
283 }
284 },
285 "_border": {
286 "type": "object",
287 "default": {
288 "borderStyle": "default",
289 "borderStyleH": "default",
290 "borderColor": "",
291 "borderColorH": "",
292 "isLinkedWidth": true,
293 "isLinkedWidthTablet": true,
294 "isLinkedWidthMobile": true,
295 "commonWidth": "",
296 "commonWidthTablet": "",
297 "commonWidthMobile": "",
298 "topWidth": "",
299 "rightWidth": "",
300 "bottomWidth": "",
301 "leftWidth": "",
302 "topWidthTablet": "",
303 "rightWidthTablet": "",
304 "bottomWidthTablet": "",
305 "leftWidthTablet": "",
306 "topWidthMobile": "",
307 "rightWidthMobile": "",
308 "bottomWidthMobile": "",
309 "leftWidthMobile": "",
310 "unitWidth": "px",
311 "unitWidthTablet": "",
312 "unitWidthMobile": "",
313 "isLinkedWidthH": true,
314 "isLinkedWidthHTablet": true,
315 "isLinkedWidthHMobile": true,
316 "commonWidthH": "",
317 "commonWidthHTablet": "",
318 "commonWidthHMobile": "",
319 "topWidthH": "",
320 "rightWidthH": "",
321 "bottomWidthH": "",
322 "leftWidthH": "",
323 "topWidthHTablet": "",
324 "rightWidthHTablet": "",
325 "bottomWidthHTablet": "",
326 "leftWidthHTablet": "",
327 "topWidthHMobile": "",
328 "rightWidthHMobile": "",
329 "bottomWidthHMobile": "",
330 "leftWidthHMobile": "",
331 "unitWidthH": "px",
332 "unitWidthHTablet": "",
333 "unitWidthHMobile": "",
334 "isLinkedRadius": true,
335 "isLinkedRadiusTablet": true,
336 "isLinkedRadiusMobile": true,
337 "commonRadius": "",
338 "commonRadiusTablet": "",
339 "commonRadiusMobile": "",
340 "topRadius": "",
341 "rightRadius": "",
342 "bottomRadius": "",
343 "leftRadius": "",
344 "topRadiusTablet": "",
345 "rightRadiusTablet": "",
346 "bottomRadiusTablet": "",
347 "leftRadiusTablet": "",
348 "topRadiusMobile": "",
349 "rightRadiusMobile": "",
350 "bottomRadiusMobile": "",
351 "leftRadiusMobile": "",
352 "unitRadius": "px",
353 "unitRadiusTablet": "",
354 "unitRadiusMobile": "",
355 "isLinkedRadiusH": true,
356 "isLinkedRadiusHTablet": true,
357 "isLinkedRadiusHMobile": true,
358 "commonRadiusH": "",
359 "commonRadiusHTablet": "",
360 "commonRadiusHMobile": "",
361 "topRadiusH": "",
362 "rightRadiusH": "",
363 "bottomRadiusH": "",
364 "leftRadiusH": "",
365 "topRadiusHTablet": "",
366 "rightRadiusHTablet": "",
367 "bottomRadiusHTablet": "",
368 "leftRadiusHTablet": "",
369 "topRadiusHMobile": "",
370 "rightRadiusHMobile": "",
371 "bottomRadiusHMobile": "",
372 "leftRadiusHMobile": "",
373 "unitRadiusH": "px",
374 "unitRadiusHTablet": "",
375 "unitRadiusHMobile": "",
376 "transitionDuration": ""
377 }
378 },
379 "_position": {
380 "type": "object",
381 "default": {
382 "positionType": "relative",
383 "positionTypeTablet": "",
384 "positionTypeMobile": "",
385 "hOrientation": "",
386 "hOffset": "",
387 "hOffsetTablet": "",
388 "hOffsetMobile": "",
389 "hOffsetUnit": "px",
390 "hOffsetUnitTablet": "px",
391 "hOffsetUnitMobile": "px",
392 "vOrientation": "",
393 "vOffset": "",
394 "vOffsetTablet": "",
395 "vOffsetMobile": "",
396 "vOffsetUnit": "px",
397 "vOffsetUnitTablet": "px",
398 "vOffsetUnitMobile": "px"
399 }
400 },
401 "_background": {
402 "type": "object",
403 "default": {
404 "backgroundType": "none",
405 "backgroundTypeH": "none",
406 "backgroundColor": "",
407 "backgroundColorH": "",
408 "imgId": "",
409 "imgIdTablet": "",
410 "imgIdMobile": "",
411 "imgUrl": "",
412 "imgUrlTablet": "",
413 "imgUrlMobile": "",
414 "imgSize": "",
415 "imgSizeTablet": "",
416 "imgSizeMobile": "",
417 "imgPosition": "",
418 "imgPositionTablet": "",
419 "imgPositionMobile": "",
420 "imgXPositionUnit": "px",
421 "imgXPositionUnitTablet": "",
422 "imgXPositionUnitMobile": "",
423 "imgXPosition": "",
424 "imgXPositionTablet": "",
425 "imgXPositionMobile": "",
426 "imgYPositionUnit": "px",
427 "imgYPositionUnitTablet": "",
428 "imgYPositionUnitMobile": "",
429 "imgYPosition": "",
430 "imgYPositionTablet": "",
431 "imgYPositionMobile": "",
432 "imgAttachment": "",
433 "imgRepeat": "",
434 "imgRepeatTablet": "",
435 "imgRepeatMobile": "",
436 "imgDisplaySize": "",
437 "imgDisplaySizeTablet": "",
438 "imgDisplaySizeMobile": "",
439 "imgDisplaySizeWidth": "",
440 "imgDisplaySizeWidthTablet": "",
441 "imgDisplaySizeWidthMobile": "",
442 "imgDisplaySizeWidthUnit": "px",
443 "imgDisplaySizeWidthUnitTablet": "",
444 "imgDisplaySizeWidthUnitMobile": "",
445 "imgIdH": "",
446 "imgIdTabletH": "",
447 "imgIdMobileH": "",
448 "imgUrlH": "",
449 "imgUrlHTablet": "",
450 "imgUrlHMobile": "",
451 "imgSizeH": "",
452 "imgSizeHTablet": "",
453 "imgSizeHMobile": "",
454 "imgPositionH": "",
455 "imgPositionHTablet": "",
456 "imgPositionHMobile": "",
457 "imgXPositionUnitH": "px",
458 "imgXPositionUnitHTablet": "",
459 "imgXPositionUnitHMobile": "",
460 "imgXPositionH": "",
461 "imgXPositionHTablet": "",
462 "imgXPositionHMobile": "",
463 "imgYPositionUnitH": "px",
464 "imgYPositionUnitHTablet": "",
465 "imgYPositionUnitHMobile": "",
466 "imgYPositionH": "",
467 "imgYPositionHTablet": "",
468 "imgYPositionHMobile": "",
469 "imgAttachmentH": "",
470 "imgRepeatH": "",
471 "imgRepeatHTablet": "",
472 "imgRepeatHMobile": "",
473 "imgDisplaySizeH": "",
474 "imgDisplaySizeHTablet": "",
475 "imgDisplaySizeHMobile": "",
476 "imgDisplaySizeWidthH": "",
477 "imgDisplaySizeWidthHTablet": "",
478 "imgDisplaySizeWidthHMobile": "",
479 "imgDisplaySizeWidthHUnit": "px",
480 "imgDisplaySizeWidthHUnitTablet": "",
481 "imgDisplaySizeWidthHUnitMobile": "",
482 "transitionDuration": "",
483 "videoUrl": "",
484 "youtubeURL": "",
485 "vimeoURL": "",
486 "selfHostedURL": "",
487 "externalLink": false,
488 "videoSource": "none",
489 "videoPlayOnce": "",
490 "videoStartTime": "",
491 "videoEndTime": "",
492 "playOnMobile": "",
493 "videoPrivacyMode": "",
494 "fallbackImageUrl": ""
495 }
496 },
497 "_zIndex": {
498 "type": "object",
499 "default": {
500 "zIndex": "",
501 "zIndexTablet": "",
502 "zIndexMobile": ""
503 }
504 },
505 "_transform": {
506 "type": "object",
507 "default": {
508 "rotate": "",
509 "rotateTablet": "",
510 "rotateMobile": "",
511 "rotate3D": false,
512 "rotate3DTablet": false,
513 "rotate3DMobile": false,
514 "rotateX": "",
515 "rotateXTablet": "",
516 "rotateXMobile": "",
517 "rotateY": "",
518 "rotateYTablet": "",
519 "rotateYMobile": "",
520 "rotateP": "",
521 "rotatePTablet": "",
522 "rotatePMobile": "",
523 "offsetX": "",
524 "offsetXTablet": "",
525 "offsetXMobile": "",
526 "offsetXUnit": "px",
527 "offsetXUnitTablet": "px",
528 "offsetXUnitMobile": "px",
529 "offsetY": "",
530 "offsetYTablet": "",
531 "offsetYMobile": "",
532 "offsetYUnit": "px",
533 "offsetYUnitTablet": "px",
534 "offsetYUnitMobile": "px",
535 "scaleProportions": false,
536 "scale": "",
537 "scaleTablet": "",
538 "scaleMobile": "",
539 "scaleX": "",
540 "scaleXTablet": "",
541 "scaleXMobile": "",
542 "scaleY": "",
543 "scaleYTablet": "",
544 "scaleYMobile": "",
545 "skewX": "",
546 "skewXTablet": "",
547 "skewXMobile": "",
548 "skewY": "",
549 "skewYTablet": "",
550 "skewYMobile": "",
551 "flipHorizontal": false,
552 "flipVertical": false,
553 "xAnchorPoint": "",
554 "xAnchorPointTablet": "",
555 "xAnchorPointMobile": "",
556 "yAnchorPoint": "",
557 "yAnchorPointTablet": "",
558 "yAnchorPointMobile": "",
559 "rotateH": "",
560 "rotateHTablet": "",
561 "rotateHMobile": "",
562 "rotate3DH": false,
563 "rotate3DHTablet": false,
564 "rotate3DHMobile": false,
565 "rotateXH": "",
566 "rotateXHTablet": "",
567 "rotateXHMobile": "",
568 "rotateYH": "",
569 "rotateYHTablet": "",
570 "rotateYHMobile": "",
571 "rotatePH": "",
572 "rotatePHTablet": "",
573 "rotatePHMobile": "",
574 "offsetXH": "",
575 "offsetXHTablet": "",
576 "offsetXHMobile": "",
577 "offsetXHUnit": "px",
578 "offsetXHUnitTablet": "px",
579 "offsetXHUnitMobile": "px",
580 "offsetYH": "",
581 "offsetYHTablet": "",
582 "offsetYHMobile": "",
583 "offsetYHUnit": "px",
584 "offsetYHUnitTablet": "px",
585 "offsetYHUnitMobile": "px",
586 "scaleProportionsH": false,
587 "scaleH": "",
588 "scaleHTablet": "",
589 "scaleHMobile": "",
590 "scaleXH": "",
591 "scaleXHTablet": "",
592 "scaleXHMobile": "",
593 "scaleYH": "",
594 "scaleYHTablet": "",
595 "scaleYHMobile": "",
596 "skewXH": "",
597 "skewXHTablet": "",
598 "skewXHMobile": "",
599 "skewYH": "",
600 "skewYHTablet": "",
601 "skewYHMobile": "",
602 "flipHorizontalH": false,
603 "flipVerticalH": false,
604 "xAnchorPointH": "",
605 "xAnchorPointHTablet": "",
606 "xAnchorPointHMobile": "",
607 "yAnchorPointH": "",
608 "yAnchorPointHTablet": "",
609 "yAnchorPointHMobile": "",
610 "transitionH": ""
611 }
612 },
613 "_mask": {
614 "type": "object",
615 "default": {
616 "mask": false,
617 "maskTablet": false,
618 "maskMobile": false,
619 "maskShape": "circle",
620 "customMaskShape": "",
621 "maskSize": "",
622 "maskSizeTablet": "",
623 "maskSizeMobile": "",
624 "maskPosition": "",
625 "maskPositionTablet": "",
626 "maskPositionMobile": "",
627 "maskRepeat": "",
628 "maskRepeatTablet": "",
629 "maskRepeatMobile": "",
630 "scaleUnit": "px",
631 "scaleUnitTablet": "px",
632 "scaleUnitMobile": "px",
633 "scale": "0",
634 "scaleTablet": "0",
635 "scaleMobile": "0",
636 "xPositionUnit": "px",
637 "xPositionUnitTablet": "px",
638 "xPositionUnitMobile": "px",
639 "xPosition": "",
640 "xPositionTablet": "0",
641 "xPositionMobile": "0",
642 "yPositionUnit": "0",
643 "yPositionUnitTablet": "px",
644 "yPositionUnitMobile": "px",
645 "yPosition": "0",
646 "yPositionTablet": "0",
647 "yPositionMobile": "0"
648 }
649 },
650 "_animation": {
651 "type": "object",
652 "default": {
653 "animationType": "",
654 "animationTypeTablet": "",
655 "animationTypeMobile": "",
656 "animationDuration": "",
657 "animationDelay": ""
658 }
659 },
660 "_boxShadow": {
661 "type": "object",
662 "default": {
663 "preset": "",
664 "shadowType": "default",
665 "shadow": "",
666 "horizontal": "",
667 "vertical": "",
668 "blur": "",
669 "spread": "",
670 "color": "",
671 "presetH": "",
672 "shadowTypeH": "default",
673 "shadowH": "",
674 "horizontalH": "",
675 "verticalH": "",
676 "blurH": "",
677 "spreadH": "",
678 "colorH": "",
679 "transitionDuration": "0"
680 }
681 },
682 "_hide_on_desktop": {
683 "type": "boolean",
684 "default": false
685 },
686 "_hide_on_tablet": {
687 "type": "boolean",
688 "default": false
689 },
690 "_hide_on_mobile": {
691 "type": "boolean",
692 "default": false
693 },
694 "_custom_css": {
695 "type": "string",
696 "default": ""
697 }
698 }
699 }