PluginProbe
Getwid – Gutenberg Blocks / 3.0.2
Getwid – Gutenberg Blocks v3.0.2
3.0.2 3.0.1 3.0.0 2.1.0 2.1.1 2.1.2 2.1.3 2.2.0 trunk 1.8.7 1.9.1 2.0.10 2.0.11 2.0.12 2.0.13 2.0.14 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9
getwid / assets / blocks / icon-box / block.json

block.json in Getwid – Gutenberg Blocks 3.0.2, at assets/blocks/icon-box/block.json

124 lines 2.4 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 "textdomain": "getwid",
5 "name": "getwid/icon-box",
6 "description": "Combines an icon with text and a link.",
7 "category": "getwid-blocks",
8 "title": "Icon Box",
9 "keywords": [
10 "feature",
11 "service"
12 ],
13 "supports": {
14 "alignWide": true,
15 "align": [
16 "wide",
17 "full"
18 ]
19 },
20 "attributes": {
21 "backgroundColor": {
22 "type": "string"
23 },
24 "textColor": {
25 "type": "string"
26 },
27 "customBackgroundColor": {
28 "type": "string"
29 },
30 "customTextColor": {
31 "type": "string"
32 },
33 "textAlignment": {
34 "type": "string",
35 "default": "center"
36 },
37 "icon": {
38 "type": "string",
39 "default": "fab fa-wordpress"
40 },
41 "layout": {
42 "type": "string"
43 },
44 "iconPosition": {
45 "type": "string",
46 "default": "top"
47 },
48 "iconStyle": {
49 "type": "string",
50 "default": "default"
51 },
52 "primaryColor": {
53 "type": "string"
54 },
55 "secondaryColor": {
56 "type": "string"
57 },
58 "iconSize": {
59 "type": "string"
60 },
61 "padding": {
62 "type": "number"
63 },
64 "marginTop": {
65 "type": "string"
66 },
67 "marginBottom": {
68 "type": "string"
69 },
70 "marginLeft": {
71 "type": "string"
72 },
73 "marginRight": {
74 "type": "string"
75 },
76 "borderWidth": {
77 "type": "number"
78 },
79 "borderRadius": {
80 "type": "number",
81 "default": 50
82 },
83 "link": {
84 "type": "string",
85 "source": "attribute",
86 "selector": "a.wp-block-getwid-icon-box__icon-wrapper",
87 "attribute": "href"
88 },
89 "align": {
90 "type": "string"
91 },
92 "hoverAnimation": {
93 "type": "string",
94 "source": "attribute",
95 "selector": ".wp-block-getwid-icon-box",
96 "attribute": "data-animation"
97 },
98 "linkTarget": {
99 "type": "string",
100 "source": "attribute",
101 "selector": "a.wp-block-getwid-icon-box__icon-wrapper",
102 "attribute": "target"
103 },
104 "rel": {
105 "type": "string",
106 "source": "attribute",
107 "selector": "a.wp-block-getwid-icon-box__icon-wrapper",
108 "attribute": "rel"
109 }
110 },
111 "editorScript": [
112 "jquery",
113 "file:./index.js"
114 ],
115 "editorStyle": "file:./index.css",
116 "style": [
117 "animate",
118 "file:./style-index.css"
119 ],
120 "viewScript": [
121 "jquery",
122 "file:./view.js"
123 ]
124 }