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/icon/block.json +110 -18 2.9.1 → 2.14.0 View file →
@@ -1,9 +1,9 @@
1 1 {
2 2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 3 "apiVersion": 3,
4 4 "name": "ablocks/icon",
5 - "version": "0.1.0",
5 + "version": "2",
6 6 "title": "Icon",
7 7 "category": "ablocks",
8 8 "description": "Enhance content with a diverse library of icons.",
9 9 "keywords": [
@@ -30,8 +30,12 @@
30 30 "block_id": {
31 31 "type": "string",
32 32 "default": ""
33 33 },
34 + "blockVersion": {
35 + "type": "number",
36 + "default": ""
37 + },
34 38 "iconSvgPath": {
35 39 "type": "string",
36 40 "default": "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm84-143.4c-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.6-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8-10.2-8.4-25.3-7.1-33.8 3.1zM136.5 211c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.3 3.7 2.1 7.2 5.7 8.3 3.4 1.1 7.4-.5 9.3-3.7l9.5-17zM328 152c-23.8 0-52.7 29.3-56 71.4-.3 3.7 2.1 7.2 5.7 8.3 3.5 1.1 7.4-.5 9.3-3.7l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4z",
37 41 "source": "attribute",
@@ -68,8 +72,16 @@
68 72 "iconBgColor": {
69 73 "type": "string",
70 74 "default": ""
71 75 },
76 + "iconHoverColor": {
77 + "type": "string",
78 + "default": ""
79 + },
80 + "iconHoverBgColor": {
81 + "type": "string",
82 + "default": ""
83 + },
72 84 "iconType": {
73 85 "type": "string",
74 86 "default": "default"
75 87 },
@@ -88,30 +100,70 @@
88 100 "left": "",
89 101 "unit": "px"
90 102 }
91 103 },
92 - "iconBorderRadius": {
104 + "iconBorder": {
93 105 "type": "object",
94 106 "default": {
95 - "isLinked": true,
96 - "common": "",
97 - "top": "",
98 - "right": "",
99 - "bottom": "",
100 - "left": "",
101 - "unit": "px"
107 + "borderStyle": "default",
108 + "borderStyleH": "default",
109 + "borderColor": "",
110 + "borderColorH": "",
111 + "isLinkedWidth": true,
112 + "isLinkedWidthTablet": true,
113 + "isLinkedWidthMobile": true,
114 + "commonWidth": "",
115 + "topWidth": "",
116 + "rightWidth": "",
117 + "bottomWidth": "",
118 + "leftWidth": "",
119 + "unitWidth": "px",
120 + "isLinkedWidthH": true,
121 + "isLinkedWidthHTablet": true,
122 + "isLinkedWidthHMobile": true,
123 + "commonWidthH": "",
124 + "topWidthH": "",
125 + "rightWidthH": "",
126 + "bottomWidthH": "",
127 + "leftWidthH": "",
128 + "unitWidthH": "px",
129 + "isLinkedRadius": true,
130 + "commonRadius": "",
131 + "topRadius": "",
132 + "rightRadius": "",
133 + "bottomRadius": "",
134 + "leftRadius": "",
135 + "unitRadius": "px",
136 + "isLinkedRadiusH": true,
137 + "isLinkedRadiusHTablet": true,
138 + "isLinkedRadiusHMobile": true,
139 + "commonRadiusH": "",
140 + "topRadiusH": "",
141 + "leftRadiusH": "",
142 + "unitRadiusH": "px",
143 + "transitionDuration": ""
102 144 }
103 145 },
104 - "iconBorderWidth": {
146 + "iconBoxShadow": {
105 147 "type": "object",
106 148 "default": {
107 - "isLinked": true,
108 - "common": "",
109 - "top": "",
110 - "right": "",
111 - "bottom": "",
112 - "left": "",
113 - "unit": "px"
149 + "preset": "",
150 + "shadowType": "default",
151 + "shadow": "",
152 + "horizontal": "",
153 + "vertical": "",
154 + "blur": "",
155 + "spread": "",
156 + "color": "",
157 + "presetH": "",
158 + "shadowTypeH": "default",
159 + "shadowH": "",
160 + "horizontalH": "",
161 + "verticalH": "",
162 + "blurH": "",
163 + "spreadH": "",
164 + "colorH": "",
165 + "transitionDuration": "0"
114 166 }
115 167 },
116 168 "iconSize": {
117 169 "type": "number",
@@ -605,9 +657,9 @@
605 657 "xPositionUnitMobile": "px",
606 658 "xPosition": "",
607 659 "xPositionTablet": "0",
608 660 "xPositionMobile": "0",
609 - "yPositionUnit": "0",
661 + "yPositionUnit": "px",
610 662 "yPositionUnitTablet": "px",
611 663 "yPositionUnitMobile": "px",
612 664 "yPosition": "0",
613 665 "yPositionTablet": "0",
@@ -645,8 +697,34 @@
645 697 "colorH": "",
646 698 "transitionDuration": "0"
647 699 }
648 700 },
701 + "_gsapAnimation": {
702 + "type": "object",
703 + "default": {
704 + "animationType": "none",
705 + "duration": 1,
706 + "delay": 0,
707 + "triggerType": "scroll",
708 + "ease": "none",
709 + "x": 0,
710 + "y": 0,
711 + "rotation": 0,
712 + "rotationY": 0,
713 + "opacity": 1,
714 + "xTo": 0,
715 + "yTo": 0,
716 + "rotationTo": 0,
717 + "rotationYTo": 0,
718 + "opacityTo": 1,
719 + "easeTo": "none",
720 + "loops": false,
721 + "numberOfRepeat": 0,
722 + "isSmooth": true,
723 + "startPoint": 80,
724 + "endPoint": 10
725 + }
726 + },
649 727 "_hide_on_desktop": {
650 728 "type": "boolean",
651 729 "default": false
652 730 },
@@ -660,7 +738,21 @@
660 738 },
661 739 "_custom_css": {
662 740 "type": "string",
663 741 "default": ""
742 + },
743 + "_animation_element_trigger": {
744 + "type": "array",
745 + "default": [],
746 + "items": {
747 + "type": "object"
748 + }
749 + },
750 + "_animation_page_trigger": {
751 + "type": "array",
752 + "default": [],
753 + "items": {
754 + "type": "object"
755 + }
664 756 }
665 757 }
666 758 }