PluginProbe
bBlocks – Essential Gutenberg Blocks & Patterns Collection / 2.1.7
bBlocks – Essential Gutenberg Blocks & Patterns Collection v2.1.7
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 1.5.4 All 107 releases
b-blocks / build / svg-draw / block.json

block.json in bBlocks – Essential Gutenberg Blocks & Patterns Collection 2.1.7, at build/svg-draw/block.json

336 lines 9.5 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/svg-draw",
5 "version": "1.0.0",
6 "title": "SVG Draw",
7 "category": "bBlocks",
8 "description": "Add animated SVG drawings to your content with customizable paths, timing, and effects.",
9 "keywords": [
10 "svg",
11 "draw",
12 "icon",
13 "draw svg",
14 "animated icon"
15 ],
16 "textdomain": "b-blocks",
17 "attributes": {
18 "align": {
19 "type": "string",
20 "default": ""
21 },
22 "icon": {
23 "type": "object",
24 "default": {
25 "upload": "",
26 "library": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M103.3 344.3c-6.5-14.2-6.9-18.3 7.4-23.1 25.6-8 8 9.2 43.2 49.2h.3v-93.9c1.2-50.2 44-92.2 97.7-92.2 53.9 0 97.7 43.5 97.7 96.8 0 63.4-60.8 113.2-128.5 93.3-10.5-4.2-2.1-31.7 8.5-28.6 53 0 89.4-10.1 89.4-64.4 0-61-77.1-89.6-116.9-44.6-23.5 26.4-17.6 42.1-17.6 157.6 50.7 31 118.3 22 160.4-20.1 24.8-24.8 38.5-58 38.5-93 0-35.2-13.8-68.2-38.8-93.3-24.8-24.8-57.8-38.5-93.3-38.5s-68.8 13.8-93.5 38.5c-.3.3-16 16.5-21.2 23.9l-.5.6c-3.3 4.7-6.3 9.1-20.1 6.1-6.9-1.7-14.3-5.8-14.3-11.8V20c0-5 3.9-10.5 10.5-10.5h241.3c8.3 0 8.3 11.6 8.3 15.1 0 3.9 0 15.1-8.3 15.1H130.3v132.9h.3c104.2-109.8 282.8-36 282.8 108.9 0 178.1-244.8 220.3-310.1 62.8zm63.3-260.8c-.5 4.2 4.6 24.5 14.6 20.6C306 56.6 384 144.5 390.6 144.5c4.8 0 22.8-15.3 14.3-22.8-93.2-89-234.5-57-238.3-38.2zM393 414.7C283 524.6 94 475.5 61 310.5c0-12.2-30.4-7.4-28.9 3.3 24 173.4 246 256.9 381.6 121.3 6.9-7.8-12.6-28.4-20.7-20.4zM213.6 306.6c0 4 4.3 7.3 5.5 8.5 3 3 6.1 4.4 8.5 4.4 3.8 0 2.6.2 22.3-19.5 19.6 19.3 19.1 19.5 22.3 19.5 5.4 0 18.5-10.4 10.7-18.2L265.6 284l18.2-18.2c6.3-6.8-10.1-21.8-16.2-15.7L249.7 268c-18.6-18.8-18.4-19.5-21.5-19.5-5 0-18 11.7-12.4 17.3L234 284c-18.1 17.9-20.4 19.2-20.4 22.6z\" stroke-dasharray=\"5371.4248046875\" style=\"stroke-dashoffset: 699.897px;\"></path></svg>",
27 "custom": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M364.2 83.8c-24.4-24.4-64-24.4-88.4 0l-184 184c-42.1 42.1-42.1 110.3 0 152.4s110.3 42.1 152.4 0l152-152c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-152 152c-64 64-167.6 64-231.6 0s-64-167.6 0-231.6l184-184c46.3-46.3 121.3-46.3 167.6 0s46.3 121.3 0 167.6l-176 176c-28.6 28.6-75 28.6-103.6 0s-28.6-75 0-103.6l144-144c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-144 144c-6.7 6.7-6.7 17.7 0 24.4s17.7 6.7 24.4 0l176-176c24.4-24.4 24.4-64 0-88.4z\"/></svg>",
28 "type": {
29 "svgType": "icon",
30 "iconType": "library"
31 }
32 }
33 },
34 "options": {
35 "type": "object",
36 "default": {
37 "duration": 3000,
38 "repeat": true,
39 "direction": "normal",
40 "delay": 250,
41 "easing": "linear"
42 }
43 },
44 "style": {
45 "type": "object",
46 "default": {
47 "height": "200px",
48 "width": "200px",
49 "align": "center",
50 "strokeWidth": 2,
51 "colors": {
52 "normal": {
53 "strokeColor": "#146EF5",
54 "fill": "#0000",
55 "shadow": {
56 "color": "#000"
57 }
58 },
59 "hover": {
60 "strokeColor": "",
61 "fill": "",
62 "shadow": {
63 "color": "#000"
64 },
65 "transition": 200
66 }
67 }
68 }
69 },
70 "advanced": {
71 "type": "object",
72 "default": {
73 "dimension": {
74 "padding": {
75 "desktop": {
76 "top": "0px",
77 "right": "0px",
78 "bottom": "0px",
79 "left": "0px"
80 },
81 "tablet": {
82 "top": "0px",
83 "right": "0px",
84 "bottom": "0px",
85 "left": "0px"
86 },
87 "mobile": {
88 "top": "0px",
89 "right": "0px",
90 "bottom": "0px",
91 "left": "0px"
92 }
93 }
94 },
95 "borderShadow": {
96 "normal": {
97 "radius": {
98 "top": "0px",
99 "right": "0px",
100 "bottom": "0px",
101 "left": "0px"
102 },
103 "shadow": [
104 {
105 "hOffset": "0px",
106 "vOffset": "0px",
107 "blur": "0px",
108 "spreed": "0px",
109 "color": "#7090b0",
110 "isInset": false
111 }
112 ]
113 }
114 },
115 "background": {
116 "normal": {
117 "type": "color",
118 "color": "",
119 "gradient": {
120 "type": "radial",
121 "radialType": "ellipse",
122 "colors": [
123 {
124 "color": "rgba(58, 66, 222, 1)",
125 "position": "0"
126 },
127 {
128 "color": "rgba(176, 195, 235, 1)",
129 "position": "80"
130 }
131 ],
132 "centerPositions": {
133 "x": 50,
134 "y": 50
135 },
136 "angel": 90
137 },
138 "img": {
139 "url": "",
140 "desktop": {
141 "position": "center center",
142 "xPosition": 0,
143 "yPosition": 0,
144 "attachment": "",
145 "repeat": "no-repeat",
146 "size": "",
147 "customSize": "0px"
148 },
149 "tablet": {
150 "position": "center center",
151 "xPosition": 0,
152 "yPosition": 0,
153 "attachment": "",
154 "repeat": "no-repeat",
155 "size": "",
156 "customSize": "0px"
157 },
158 "mobile": {
159 "position": "center center",
160 "xPosition": 0,
161 "yPosition": 0,
162 "attachment": "",
163 "repeat": "no-repeat",
164 "size": "",
165 "customSize": "0px"
166 }
167 },
168 "video": {
169 "url": "",
170 "loop": false
171 },
172 "transition": 0.3
173 }
174 },
175 "transform": {
176 "normal": {
177 "rotate": {
178 "desktop": {
179 "z": "",
180 "y": "",
181 "x": ""
182 },
183 "tablet": {
184 "z": "",
185 "y": "",
186 "x": ""
187 },
188 "mobile": {
189 "z": "",
190 "y": "",
191 "x": ""
192 },
193 "threeDRotate": false
194 },
195 "offset": {
196 "desktop": {
197 "x": "",
198 "y": ""
199 },
200 "tablet": {
201 "x": "",
202 "y": ""
203 },
204 "mobile": {
205 "x": "",
206 "y": ""
207 }
208 },
209 "scale": {
210 "isProportion": true,
211 "desktop": {
212 "x": "",
213 "y": "",
214 "scale": ""
215 },
216 "tablet": {
217 "x": "",
218 "y": "",
219 "scale": ""
220 },
221 "mobile": {
222 "x": "",
223 "y": "",
224 "scale": ""
225 }
226 },
227 "skew": {
228 "desktop": {
229 "x": "",
230 "y": ""
231 },
232 "tablet": {
233 "x": "",
234 "y": ""
235 },
236 "mobile": {
237 "x": "",
238 "y": ""
239 }
240 },
241 "flipX": false,
242 "flipY": false
243 },
244 "hover": {
245 "rotate": {
246 "desktop": {
247 "z": "",
248 "y": "",
249 "x": ""
250 },
251 "tablet": {
252 "z": "",
253 "y": "",
254 "x": ""
255 },
256 "mobile": {
257 "z": "",
258 "y": "",
259 "x": ""
260 },
261 "threeDRotate": false
262 },
263 "offset": {
264 "desktop": {
265 "x": "",
266 "y": ""
267 },
268 "tablet": {
269 "x": "",
270 "y": ""
271 },
272 "mobile": {
273 "x": "",
274 "y": ""
275 }
276 },
277 "scale": {
278 "isProportion": true,
279 "desktop": {
280 "x": "",
281 "y": "",
282 "scale": ""
283 },
284 "tablet": {
285 "x": "",
286 "y": "",
287 "scale": ""
288 },
289 "mobile": {
290 "x": "",
291 "y": "",
292 "scale": ""
293 }
294 },
295 "skew": {
296 "desktop": {
297 "x": "",
298 "y": ""
299 },
300 "tablet": {
301 "x": "",
302 "y": ""
303 },
304 "mobile": {
305 "x": "",
306 "y": ""
307 }
308 },
309 "flipX": false,
310 "flipY": false
311 },
312 "transition": 200
313 }
314 }
315 }
316 },
317 "supports": {
318 "align": [
319 "wide",
320 "full"
321 ],
322 "html": false
323 },
324 "example": {
325 "attributes": {}
326 },
327 "editorScript": [
328 "file:../index.js",
329 "aos",
330 "wp-util",
331 "wp-api"
332 ],
333 "style": "file:./view.css",
334 "render": "file:./render.php",
335 "viewScript": "file:./view.js"
336 }