PluginProbe
Button Block – Stylish buttons that get more clicks / 1.1.8
Button Block – Stylish buttons that get more clicks v1.1.8
1.2.6 1.2.5 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 All 28 releases
button-block / build / block.json

block.json in Button Block – Stylish buttons that get more clicks 1.1.8, at build/block.json

216 lines 3.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 2,
3 "name": "btn/button",
4 "title": "Button",
5 "description": "Implement multi-functional button.",
6 "category": "widgets",
7 "keywords": [
8 "multi-functional button",
9 "download button",
10 "link button"
11 ],
12 "textdomain": "button-block",
13 "attributes": {
14 "align": {
15 "type": "string",
16 "default": ""
17 },
18 "cPostId": {
19 "type": "number",
20 "default": ""
21 },
22 "text": {
23 "type": "string",
24 "default": "Button"
25 },
26 "actionType": {
27 "type": "string",
28 "default": "link"
29 },
30 "security": {
31 "type": "string",
32 "default": "none"
33 },
34 "securityPassword": {
35 "type": "string",
36 "default": ""
37 },
38 "securityRole": {
39 "type": "string"
40 },
41 "url": {
42 "type": "string",
43 "default": ""
44 },
45 "tooltip": {
46 "type": "string",
47 "default": ""
48 },
49 "tooltipPos": {
50 "type": "string",
51 "default": "top"
52 },
53 "target": {
54 "type": "string",
55 "default": "_self"
56 },
57 "attrs": {
58 "type": "object",
59 "default": {
60 "rel": "noreferrer",
61 "referrerpolicy": "no-referrer"
62 }
63 },
64 "hideOn": {
65 "type": "object",
66 "default": {
67 "desktop": false,
68 "tablet": false,
69 "mobile": false
70 }
71 },
72 "isDownload": {
73 "type": "boolean",
74 "default": false
75 },
76 "downloadFileName": {
77 "type": "string",
78 "default": ""
79 },
80 "isUpIcon": {
81 "type": "boolean",
82 "default": false
83 },
84 "icon": {
85 "type": "object",
86 "default": {
87 "class": "fa fa-paper-plane"
88 }
89 },
90 "upIcon": {
91 "type": "object",
92 "default": {
93 "id": null,
94 "url": "",
95 "alt": "",
96 "title": ""
97 }
98 },
99 "iconPos": {
100 "type": "string",
101 "default": "left"
102 },
103 "type": {
104 "type": "string",
105 "default": "flat"
106 },
107 "isFullWidth": {
108 "type": "boolean",
109 "default": false
110 },
111 "size": {
112 "type": "string",
113 "default": "medium"
114 },
115 "popup": {
116 "type": "object",
117 "default": {
118 "type": "image",
119 "content": "",
120 "caption": "",
121 "width": ""
122 }
123 },
124 "animationType": {
125 "type": "string",
126 "default": ""
127 },
128 "animationDuration": {
129 "type": "number",
130 "default": 0.4
131 },
132 "addID": {
133 "type": "string",
134 "default": ""
135 },
136 "addCSS": {
137 "type": "string",
138 "default": ""
139 },
140 "alignment": {
141 "type": "string",
142 "default": "center"
143 },
144 "typography": {
145 "type": "object",
146 "default": {
147 "fontSize": {
148 "desktop": 16,
149 "tablet": 16,
150 "mobile": 16
151 },
152 "fontWeight": 600,
153 "textDecoration": "none"
154 }
155 },
156 "colors": {
157 "type": "object",
158 "default": {
159 "color": "#fff",
160 "bg": "#4527a4"
161 }
162 },
163 "hovColors": {
164 "type": "object",
165 "default": {
166 "color": "#fff",
167 "bg": "#8344c5"
168 }
169 },
170 "padding": {
171 "type": "object",
172 "default": {
173 "vertical": "12px",
174 "horizontal": "24px"
175 }
176 },
177 "border": {
178 "type": "object",
179 "default": {
180 "radius": "5px"
181 }
182 },
183 "shadow": {
184 "type": "array",
185 "default": []
186 }
187 },
188 "supports": {
189 "align": [
190 "wide",
191 "full"
192 ],
193 "html": false
194 },
195 "example": {
196 "attributes": {
197 "preview": true
198 }
199 },
200 "editorScript": [
201 "file:./index.js",
202 "wp-api"
203 ],
204 "editorStyle": "file:./index.css",
205 "style": [
206 "file:./view.css",
207 "fontAwesome",
208 "aos"
209 ],
210 "render": "file:./render.php",
211 "viewScript": [
212 "file:./view.js",
213 "aos",
214 "wp-util"
215 ]
216 }