PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.15.0
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.15.0
2.15.0 2.14.0 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 All 82 releases
← All changes | assets/build/blocks/form-checkbox/block.json +53 -12 2.9.1 → 2.15.0 View file →
@@ -15,14 +15,8 @@
15 15 "html": true,
16 16 "anchor": true
17 17 },
18 18 "textdomain": "ablocks",
19 - "editorStyle": [
20 - "file:./style.css"
21 - ],
22 - "editorScript": [
23 - "ablocks-common-script"
24 - ],
25 19 "attributes": {
26 20 "block_id": {
27 21 "type": "string",
28 22 "default": ""
@@ -28,14 +22,10 @@
28 22 "default": ""
29 23 },
30 24 "label": {
31 25 "type": "string",
32 - "default": ""
26 + "default": "Checkbox"
33 27 },
34 - "inputWidth": {
35 - "type": "number",
36 - "default": 100
37 - },
38 28 "errorMsg": {
39 29 "type": "string",
40 30 "default": "This field is required"
41 31 },
@@ -62,8 +52,19 @@
62 52 "placeholder": {
63 53 "type": "string",
64 54 "default": "Enter your message"
65 55 },
56 + "inputWidth": {
57 + "type": "object",
58 + "default": {
59 + "value": 100,
60 + "valueTablet": "",
61 + "valueMobile": "",
62 + "valueUnit": "%",
63 + "valueUnitTablet": "",
64 + "valueUnitMobile": ""
65 + }
66 + },
66 67 "_margin": {
67 68 "type": "object",
68 69 "default": {
69 70 "isLinked": true,
@@ -485,9 +486,9 @@
485 486 "xPositionUnitMobile": "px",
486 487 "xPosition": "",
487 488 "xPositionTablet": "0",
488 489 "xPositionMobile": "0",
489 - "yPositionUnit": "0",
490 + "yPositionUnit": "px",
490 491 "yPositionUnitTablet": "px",
491 492 "yPositionUnitMobile": "px",
492 493 "yPosition": "0",
493 494 "yPositionTablet": "0",
@@ -525,8 +526,34 @@
525 526 "colorH": "",
526 527 "transitionDuration": "0"
527 528 }
528 529 },
530 + "_gsapAnimation": {
531 + "type": "object",
532 + "default": {
533 + "animationType": "none",
534 + "duration": 1,
535 + "delay": 0,
536 + "triggerType": "scroll",
537 + "ease": "none",
538 + "x": 0,
539 + "y": 0,
540 + "rotation": 0,
541 + "rotationY": 0,
542 + "opacity": 1,
543 + "xTo": 0,
544 + "yTo": 0,
545 + "rotationTo": 0,
546 + "rotationYTo": 0,
547 + "opacityTo": 1,
548 + "easeTo": "none",
549 + "loops": false,
550 + "numberOfRepeat": 0,
551 + "isSmooth": true,
552 + "startPoint": 80,
553 + "endPoint": 10
554 + }
555 + },
529 556 "_hide_on_desktop": {
530 557 "type": "boolean",
531 558 "default": false
532 559 },
@@ -540,7 +567,21 @@
540 567 },
541 568 "_custom_css": {
542 569 "type": "string",
543 570 "default": ""
571 + },
572 + "_animation_element_trigger": {
573 + "type": "array",
574 + "default": [],
575 + "items": {
576 + "type": "object"
577 + }
578 + },
579 + "_animation_page_trigger": {
580 + "type": "array",
581 + "default": [],
582 + "items": {
583 + "type": "object"
584 + }
544 585 }
545 586 }
546 587 }