PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.14.0
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.14.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 1.1.1 All 81 releases
← All changes | assets/build/blocks/toggle/block.json +57 -4 2.9.1 → 2.14.0 View file →
@@ -27,13 +27,22 @@
27 27 "editorScript": [
28 28 "ablocks-common-script",
29 29 "file:./view.js"
30 30 ],
31 + "usesContext": [
32 + "postId",
33 + "postType",
34 + "queryId"
35 + ],
31 36 "attributes": {
32 37 "block_id": {
33 38 "type": "string",
34 39 "default": ""
35 40 },
41 + "blockVersion": {
42 + "type": "number",
43 + "default": ""
44 + },
36 45 "isSwitch": {
37 46 "type": "boolean",
38 47 "default": false
39 48 },
@@ -80,13 +89,17 @@
80 89 "valueTablet": "",
81 90 "valueMobile": ""
82 91 }
83 92 },
93 + "labelTypographyGlobal": {
94 + "type": "string",
95 + "default": ""
96 + },
84 97 "labelTypography": {
85 98 "type": "object",
86 99 "default": {
87 100 "fontFamily": "",
88 - "weight": "400",
101 + "weight": "",
89 102 "transform": "",
90 103 "style": "",
91 104 "decoration": "",
92 105 "fontSize": "",
@@ -249,9 +262,9 @@
249 262 },
250 263 "space": {
251 264 "type": "object",
252 265 "default": {
253 - "value": 0,
266 + "value": 10,
254 267 "valueTablet": "",
255 268 "valueMobile": ""
256 269 }
257 270 },
@@ -257,9 +270,9 @@
257 270 },
258 271 "gap": {
259 272 "type": "object",
260 273 "default": {
261 - "value": 0,
274 + "value": 10,
262 275 "valueTablet": "",
263 276 "valueMobile": ""
264 277 }
265 278 },
@@ -693,9 +706,9 @@
693 706 "xPositionUnitMobile": "px",
694 707 "xPosition": "",
695 708 "xPositionTablet": "0",
696 709 "xPositionMobile": "0",
697 - "yPositionUnit": "0",
710 + "yPositionUnit": "px",
698 711 "yPositionUnitTablet": "px",
699 712 "yPositionUnitMobile": "px",
700 713 "yPosition": "0",
701 714 "yPositionTablet": "0",
@@ -733,8 +746,34 @@
733 746 "colorH": "",
734 747 "transitionDuration": "0"
735 748 }
736 749 },
750 + "_gsapAnimation": {
751 + "type": "object",
752 + "default": {
753 + "animationType": "none",
754 + "duration": 1,
755 + "delay": 0,
756 + "triggerType": "scroll",
757 + "ease": "none",
758 + "x": 0,
759 + "y": 0,
760 + "rotation": 0,
761 + "rotationY": 0,
762 + "opacity": 1,
763 + "xTo": 0,
764 + "yTo": 0,
765 + "rotationTo": 0,
766 + "rotationYTo": 0,
767 + "opacityTo": 1,
768 + "easeTo": "none",
769 + "loops": false,
770 + "numberOfRepeat": 0,
771 + "isSmooth": true,
772 + "startPoint": 80,
773 + "endPoint": 10
774 + }
775 + },
737 776 "_hide_on_desktop": {
738 777 "type": "boolean",
739 778 "default": false
740 779 },
@@ -748,7 +787,21 @@
748 787 },
749 788 "_custom_css": {
750 789 "type": "string",
751 790 "default": ""
791 + },
792 + "_animation_element_trigger": {
793 + "type": "array",
794 + "default": [],
795 + "items": {
796 + "type": "object"
797 + }
798 + },
799 + "_animation_page_trigger": {
800 + "type": "array",
801 + "default": [],
802 + "items": {
803 + "type": "object"
804 + }
752 805 }
753 806 }
754 807 }