PluginProbe
bBlocks – Essential Gutenberg Blocks & Patterns Collection / trunk
bBlocks – Essential Gutenberg Blocks & Patterns Collection vtrunk
2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.0.43 2.0.42 2.0.41 2.0.40 2.0.39 2.0.38 trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 All 106 releases
b-blocks / build / button / block.json

block.json in bBlocks – Essential Gutenberg Blocks & Patterns Collection trunk, at build/button/block.json

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