PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.14.0
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.14.0
2.14.0 2.13.0 2.13.1 2.12.0 2.11.1 2.11.0 2.10.0 2.9.0 2.7.4 2.7.5 2.7.6 2.7.7 2.8.0 2.8.1 2.9.1 trunk 1.0 1.0-beta1 1.0-beta2 1.0-beta3 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 All 81 releases
ablocks / assets / build / blocks / atomic-svg / block.json

block.json in aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder 2.14.0, at assets/build/blocks/atomic-svg/block.json

116 lines 2.3 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": "ablocks/atomic-svg",
5 "version": "0.1.0",
6 "title": "Atomic SVG",
7 "category": "ablocks-atomic",
8 "description": "Inline SVG markup you can size, colour (fill / stroke) and style with the full atomic system.",
9 "keywords": [
10 "ablocks",
11 "svg",
12 "icon",
13 "vector",
14 "shape",
15 "atomic"
16 ],
17 "supports": {
18 "html": false,
19 "anchor": true,
20 "className": false
21 },
22 "textdomain": "ablocks",
23 "editorStyle": [
24 "ablocks-common-style",
25 "file:./style.css"
26 ],
27 "style": [
28 "file:./style.css"
29 ],
30 "editorScript": [
31 "ablocks-common-script"
32 ],
33 "viewScript": [
34 "file:./view.js"
35 ],
36 "attributes": {
37 "block_id": {
38 "type": "string",
39 "default": ""
40 },
41 "blockVersion": {
42 "type": "number",
43 "default": 3
44 },
45 "svgCode": {
46 "type": "string",
47 "default": "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"currentColor\" d=\"M12 2l2.9 6.3 6.9.6-5.2 4.5 1.6 6.7L12 17.3 5.8 20.6l1.6-6.7L2.2 8.9l6.9-.6L12 2z\"/></svg>"
48 },
49 "svgUrl": {
50 "type": "string",
51 "default": ""
52 },
53 "svgId": {
54 "type": "number",
55 "default": 0
56 },
57 "link": {
58 "type": "object",
59 "default": {
60 "url": "",
61 "newTab": false,
62 "noFollow": false
63 }
64 },
65 "globalClasses": {
66 "type": "array",
67 "default": []
68 },
69 "htmlId": {
70 "type": "string",
71 "default": ""
72 },
73 "animation": {
74 "type": "object",
75 "default": {
76 "type": "",
77 "duration": "0.6",
78 "delay": "0"
79 }
80 },
81 "animations": {
82 "type": "array",
83 "default": []
84 },
85 "transitionDuration": {
86 "type": "string",
87 "default": ""
88 },
89 "alignment": {
90 "type": "object",
91 "default": {
92 "value": "",
93 "valueTablet": "",
94 "valueMobile": ""
95 }
96 },
97 "styles": {
98 "type": "object",
99 "default": {
100 "v": 3
101 }
102 },
103 "customCSS": {
104 "type": "string",
105 "default": ""
106 },
107 "hideOn": {
108 "type": "object",
109 "default": {
110 "desktop": false,
111 "tablet": false,
112 "mobile": false
113 }
114 }
115 }
116 }