PluginProbe
bBlocks – Essential Gutenberg Blocks & Patterns Collection / 2.1.8
bBlocks – Essential Gutenberg Blocks & Patterns Collection v2.1.8
2.1.8 2.1.7 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 All 108 releases
b-blocks / build / scroll-to-top / block.json

block.json in bBlocks – Essential Gutenberg Blocks & Patterns Collection 2.1.8, at build/scroll-to-top/block.json

434 lines 10.0 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/scroll-to-top",
5 "version": "1.0.0",
6 "title": "Scroll To Top",
7 "category": "bBlocks",
8 "description": "Enhance user experience with a fully customizable Scroll To Top button for smooth navigation.",
9 "keywords": [
10 "scroll to top",
11 "scroll to top button",
12 "scroll to top widget"
13 ],
14 "textdomain": "b-blocks",
15 "attributes": {
16 "align": {
17 "type": "string",
18 "default": ""
19 },
20 "scroll": {
21 "type": "object",
22 "default": {
23 "scrollType": "progress",
24 "position": "",
25 "desktop": {
26 "position": {
27 "right": "10px",
28 "bottom": "10px",
29 "left": "10px"
30 },
31 "align": ""
32 },
33 "tablet": {
34 "position": {
35 "right": "",
36 "bottom": "",
37 "left": ""
38 },
39 "align": ""
40 },
41 "mobile": {
42 "position": {
43 "right": "",
44 "bottom": "",
45 "left": ""
46 },
47 "align": ""
48 }
49 }
50 },
51 "icon": {
52 "type": "object",
53 "default": {
54 "svg": "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'><path d='M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z'/></svg>",
55 "text": "Top"
56 }
57 },
58 "styles": {
59 "type": "object",
60 "default": {
61 "icon": {
62 "size": "40px",
63 "color": "#000",
64 "bg": {},
65 "normal": {
66 "rotate": 0
67 },
68 "hover": {
69 "rotate": 0,
70 "transition": 0.3
71 },
72 "radius": {
73 "top": "",
74 "left": "",
75 "bottom": "",
76 "right": ""
77 }
78 },
79 "progress": {
80 "size": "60px",
81 "strokeSize": 6,
82 "color": "#ff0000",
83 "strokeBg": "#efefef",
84 "bg": "#fff"
85 },
86 "text": {
87 "typography": {
88 "fontSize": {
89 "desktop": "24px"
90 }
91 },
92 "normal": {
93 "color": "",
94 "bg": {},
95 "shadow": [],
96 "padding": {
97 "top": "",
98 "left": "",
99 "bottom": "",
100 "right": ""
101 },
102 "border": {},
103 "radius": {
104 "top": "",
105 "left": "",
106 "bottom": "",
107 "right": ""
108 }
109 },
110 "hover": {
111 "color": "",
112 "bg": {},
113 "shadow": [],
114 "padding": {
115 "top": "",
116 "left": "",
117 "bottom": "",
118 "right": ""
119 },
120 "border": {},
121 "radius": {
122 "top": "",
123 "left": "",
124 "bottom": "",
125 "right": ""
126 }
127 }
128 }
129 }
130 },
131 "advanced": {
132 "type": "object",
133 "default": {
134 "dimension": {
135 "padding": {
136 "desktop": {
137 "top": "0px",
138 "right": "0px",
139 "bottom": "0px",
140 "left": "0px"
141 },
142 "tablet": {
143 "top": "0px",
144 "right": "0px",
145 "bottom": "0px",
146 "left": "0px"
147 },
148 "mobile": {
149 "top": "0px",
150 "right": "0px",
151 "bottom": "0px",
152 "left": "0px"
153 }
154 },
155 "margin": {
156 "desktop": {
157 "bottom": "0px",
158 "top": "0px",
159 "right": "0px",
160 "left": "0px"
161 }
162 }
163 },
164 "transform": {
165 "normal": {
166 "rotate": {
167 "desktop": {
168 "x": "",
169 "y": "",
170 "z": ""
171 },
172 "tablet": {
173 "x": "",
174 "y": "",
175 "z": ""
176 },
177 "mobile": {
178 "x": "",
179 "y": "",
180 "z": ""
181 },
182 "threeDRotate": false
183 },
184 "offset": {
185 "desktop": {
186 "x": "",
187 "y": ""
188 },
189 "tablet": {
190 "x": "",
191 "y": ""
192 },
193 "mobile": {
194 "x": "",
195 "y": ""
196 }
197 },
198 "scale": {
199 "isProportion": true,
200 "desktop": {
201 "x": "",
202 "y": "",
203 "scale": ""
204 },
205 "tablet": {
206 "x": "",
207 "y": "",
208 "scale": ""
209 },
210 "mobile": {
211 "x": "",
212 "y": "",
213 "scale": ""
214 }
215 },
216 "skew": {
217 "desktop": {
218 "x": "",
219 "y": ""
220 },
221 "tablet": {
222 "x": "",
223 "y": ""
224 },
225 "mobile": {
226 "x": "",
227 "y": ""
228 }
229 },
230 "flipX": false,
231 "flipY": false
232 },
233 "hover": {
234 "rotate": {
235 "desktop": {
236 "z": "",
237 "y": "",
238 "x": ""
239 },
240 "tablet": {
241 "z": "",
242 "y": "",
243 "x": ""
244 },
245 "mobile": {
246 "z": "",
247 "y": "",
248 "x": ""
249 },
250 "threeDRotate": false
251 },
252 "offset": {
253 "desktop": {
254 "x": "",
255 "y": ""
256 },
257 "tablet": {
258 "x": "",
259 "y": ""
260 },
261 "mobile": {
262 "x": "",
263 "y": ""
264 }
265 },
266 "scale": {
267 "isProportion": true,
268 "desktop": {
269 "x": "",
270 "y": "",
271 "scale": ""
272 },
273 "tablet": {
274 "x": "",
275 "y": "",
276 "scale": ""
277 },
278 "mobile": {
279 "x": "",
280 "y": "",
281 "scale": ""
282 }
283 },
284 "skew": {
285 "desktop": {
286 "x": "",
287 "y": ""
288 },
289 "tablet": {
290 "x": "",
291 "y": ""
292 },
293 "mobile": {
294 "x": "",
295 "y": ""
296 }
297 },
298 "flipX": false,
299 "flipY": false
300 },
301 "transition": 200
302 },
303 "borderShadow": {
304 "normal": {
305 "radius": {
306 "top": "0px",
307 "right": "0px",
308 "bottom": "0px",
309 "left": "0px"
310 },
311 "shadow": [
312 {
313 "hOffset": "0px",
314 "vOffset": "0px",
315 "blur": "0px",
316 "spreed": "0px",
317 "color": "#7090b0",
318 "isInset": false
319 }
320 ],
321 "border": {
322 "width": "0px",
323 "style": "none"
324 }
325 }
326 },
327 "background": {
328 "normal": {
329 "type": "color",
330 "color": "",
331 "gradient": {
332 "type": "radial",
333 "radialType": "ellipse",
334 "colors": [
335 {
336 "color": "",
337 "position": "0"
338 },
339 {
340 "color": "",
341 "position": "80"
342 }
343 ],
344 "centerPositions": {
345 "x": 50,
346 "y": 50
347 },
348 "angel": 90
349 },
350 "img": {
351 "desktop": {
352 "position": "center center",
353 "xPosition": 0,
354 "yPosition": 0,
355 "attachment": "",
356 "repeat": "no-repeat",
357 "size": "",
358 "customSize": "0px"
359 },
360 "tablet": {
361 "position": "center center",
362 "xPosition": 0,
363 "yPosition": 0,
364 "attachment": "",
365 "repeat": "no-repeat",
366 "size": "",
367 "customSize": "0px"
368 },
369 "mobile": {
370 "position": "center center",
371 "xPosition": 0,
372 "yPosition": 0,
373 "attachment": "",
374 "repeat": "no-repeat",
375 "size": "",
376 "customSize": "0px"
377 }
378 },
379 "video": {
380 "url": "",
381 "loop": false
382 },
383 "transition": 0.3
384 }
385 },
386 "mask": {
387 "isMask": false,
388 "shape": {
389 "type": "circle"
390 },
391 "repeat": "no-repeat"
392 },
393 "animation": {
394 "type": "",
395 "duration": 1
396 },
397 "visibility": {
398 "zIndex": {
399 "desktop": ""
400 },
401 "overflow": ""
402 },
403 "responsive": {
404 "desktop": false,
405 "tablet": false,
406 "mobile": false
407 }
408 }
409 }
410 },
411 "supports": {
412 "align": [
413 "wide",
414 "full"
415 ],
416 "html": false
417 },
418 "example": {
419 "attributes": {}
420 },
421 "editorScript": [
422 "file:../index.js",
423 "aos"
424 ],
425 "style": [
426 "file:./view.css",
427 "aos"
428 ],
429 "render": "file:./render.php",
430 "viewScript": [
431 "file:./view.js",
432 "aos"
433 ]
434 }