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 / advanced-image / block.json

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

386 lines 8.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "b-blocks/advanced-image",
5 "title": "Advanced Image",
6 "category": "bBlocks",
7 "description": "A block that allows for advanced image handling with custom features.",
8 "keywords": [
9 "b blocks",
10 "advanced",
11 "image",
12 "advanced image"
13 ],
14 "textdomain": "b-blocks",
15 "attributes": {
16 "image": {
17 "type": "object",
18 "default": {
19 "sourceType": "",
20 "source": {
21 "id": "",
22 "url": "",
23 "alt": "",
24 "title": ""
25 },
26 "link": {
27 "url": "",
28 "tab": "_self"
29 }
30 }
31 },
32 "layout": {
33 "type": "object",
34 "default": {
35 "size": "default",
36 "width": {
37 "desktop": "100%",
38 "tablet": "100%",
39 "mobile": "100%"
40 },
41 "isAutoHeight": true,
42 "height": {
43 "desktop": "230px",
44 "tablet": "200px",
45 "mobile": "150px"
46 },
47 "isAutoFit": false,
48 "fitOptionType": "cover"
49 }
50 },
51 "style": {
52 "type": "object",
53 "default": {
54 "hoverEffect": "none",
55 "normalEffect": "none",
56 "effectOptions": {
57 "normal": {
58 "duration": 1000,
59 "delay": 0,
60 "iteration": "initial",
61 "iterationCount": 1
62 },
63 "hover": {
64 "duration": 1000,
65 "delay": 0,
66 "iteration": "initial",
67 "iterationCount": 1
68 }
69 },
70 "optionType": "rounded",
71 "alignment": {
72 "desktop": "start",
73 "tablet": "start",
74 "mobile": "start"
75 }
76 }
77 },
78 "caption": {
79 "type": "object",
80 "default": {
81 "enabled": false,
82 "text": ""
83 }
84 },
85 "captionStyle": {
86 "type": "object",
87 "default": {
88 "typo": {},
89 "desktop": {
90 "textAlign": "center",
91 "hAlign": "left",
92 "vAlign": "bottom",
93 "width": "",
94 "margin": {},
95 "padding": {}
96 },
97 "tablet": {
98 "textAlign": "center",
99 "hAlign": "left",
100 "vAlign": "top",
101 "width": "",
102 "margin": {},
103 "padding": {}
104 },
105 "mobile": {
106 "textAlign": "center",
107 "hAlign": "left",
108 "vAlign": "middle",
109 "width": "",
110 "margin": {},
111 "padding": {}
112 },
113 "colors": {
114 "color": "black",
115 "bg": "#eee"
116 }
117 }
118 },
119 "advanced": {
120 "type": "object",
121 "default": {
122 "dimension": {
123 "padding": {
124 "desktop": {
125 "top": "0px",
126 "right": "0px",
127 "bottom": "0px",
128 "left": "0px"
129 },
130 "tablet": {
131 "top": "0px",
132 "right": "0px",
133 "bottom": "0px",
134 "left": "0px"
135 },
136 "mobile": {
137 "top": "0px",
138 "right": "0px",
139 "bottom": "0px",
140 "left": "0px"
141 }
142 }
143 },
144 "transform": {
145 "normal": {
146 "rotate": {
147 "desktop": {
148 "z": "",
149 "y": "",
150 "x": ""
151 },
152 "tablet": {
153 "z": "",
154 "y": "",
155 "x": ""
156 },
157 "mobile": {
158 "z": "",
159 "y": "",
160 "x": ""
161 },
162 "threeDRotate": false
163 },
164 "offset": {
165 "desktop": {
166 "x": "",
167 "y": ""
168 },
169 "tablet": {
170 "x": "",
171 "y": ""
172 },
173 "mobile": {
174 "x": "",
175 "y": ""
176 }
177 },
178 "scale": {
179 "isProportion": true,
180 "desktop": {
181 "x": "",
182 "y": "",
183 "scale": ""
184 },
185 "tablet": {
186 "x": "",
187 "y": "",
188 "scale": ""
189 },
190 "mobile": {
191 "x": "",
192 "y": "",
193 "scale": ""
194 }
195 },
196 "skew": {
197 "desktop": {
198 "x": "",
199 "y": ""
200 },
201 "tablet": {
202 "x": "",
203 "y": ""
204 },
205 "mobile": {
206 "x": "",
207 "y": ""
208 }
209 },
210 "flipX": false,
211 "flipY": false
212 },
213 "hover": {
214 "rotate": {
215 "desktop": {
216 "z": "",
217 "y": "",
218 "x": ""
219 },
220 "tablet": {
221 "z": "",
222 "y": "",
223 "x": ""
224 },
225 "mobile": {
226 "z": "",
227 "y": "",
228 "x": ""
229 },
230 "threeDRotate": false
231 },
232 "offset": {
233 "desktop": {
234 "x": "",
235 "y": ""
236 },
237 "tablet": {
238 "x": "",
239 "y": ""
240 },
241 "mobile": {
242 "x": "",
243 "y": ""
244 }
245 },
246 "scale": {
247 "isProportion": true,
248 "desktop": {
249 "x": "",
250 "y": "",
251 "scale": ""
252 },
253 "tablet": {
254 "x": "",
255 "y": "",
256 "scale": ""
257 },
258 "mobile": {
259 "x": "",
260 "y": "",
261 "scale": ""
262 }
263 },
264 "skew": {
265 "desktop": {
266 "x": "",
267 "y": ""
268 },
269 "tablet": {
270 "x": "",
271 "y": ""
272 },
273 "mobile": {
274 "x": "",
275 "y": ""
276 }
277 },
278 "flipX": false,
279 "flipY": false
280 },
281 "transition": 200
282 },
283 "borderShadow": {
284 "normal": {
285 "radius": {
286 "top": "0px",
287 "right": "0px",
288 "bottom": "0px",
289 "left": "0px"
290 },
291 "shadow": [
292 {
293 "hOffset": "0px",
294 "vOffset": "0px",
295 "blur": "0px",
296 "spreed": "0px",
297 "color": "#7090b0",
298 "isInset": false
299 }
300 ]
301 }
302 },
303 "background": {
304 "normal": {
305 "type": "color",
306 "color": "",
307 "gradient": {
308 "type": "radial",
309 "radialType": "ellipse",
310 "colors": [
311 {
312 "color": "rgba(58, 66, 222, 1)",
313 "position": "0"
314 },
315 {
316 "color": "rgba(176, 195, 235, 1)",
317 "position": "80"
318 }
319 ],
320 "centerPositions": {
321 "x": 50,
322 "y": 50
323 },
324 "angel": 90
325 },
326 "img": {
327 "url": "",
328 "desktop": {
329 "position": "center center",
330 "xPosition": 0,
331 "yPosition": 0,
332 "attachment": "",
333 "repeat": "no-repeat",
334 "size": "",
335 "customSize": "0px"
336 },
337 "tablet": {
338 "position": "center center",
339 "xPosition": 0,
340 "yPosition": 0,
341 "attachment": "",
342 "repeat": "no-repeat",
343 "size": "",
344 "customSize": "0px"
345 },
346 "mobile": {
347 "position": "center center",
348 "xPosition": 0,
349 "yPosition": 0,
350 "attachment": "",
351 "repeat": "no-repeat",
352 "size": "",
353 "customSize": "0px"
354 }
355 },
356 "video": {
357 "url": "",
358 "loop": false
359 },
360 "transition": 0.3
361 }
362 }
363 }
364 }
365 },
366 "supports": {
367 "align": [
368 "wide",
369 "full"
370 ],
371 "html": false
372 },
373 "example": {
374 "attributes": {}
375 },
376 "editorScript": [
377 "file:../index.js",
378 "aos"
379 ],
380 "style": "file:./view.css",
381 "render": "file:./render.php",
382 "viewScript": [
383 "file:./view.js",
384 "aos"
385 ]
386 }