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 / info-box / block.json

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

203 lines 3.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 3,
3 "name": "b-blocks/info-box",
4 "title": "Info Box",
5 "description": "Display information in box style.",
6 "category": "bBlocks",
7 "keywords": [
8 "information box",
9 "info box",
10 "message"
11 ],
12 "textdomain": "b-blocks",
13 "attributes": {
14 "align": {
15 "type": "string",
16 "default": ""
17 },
18 "infoBoxAlign": {
19 "type": "string",
20 "default": "center"
21 },
22 "textAlign": {
23 "type": "string",
24 "default": "center"
25 },
26 "width": {
27 "type": "string",
28 "default": "100%"
29 },
30 "background": {
31 "type": "object",
32 "default": {
33 "color": "#f1f7ff"
34 }
35 },
36 "padding": {
37 "type": "object",
38 "default": {
39 "vertical": "50px",
40 "horizontal": "50px"
41 }
42 },
43 "border": {
44 "type": "object",
45 "default": {
46 "width": "10px",
47 "color": "#fff",
48 "radius": "5px"
49 }
50 },
51 "shadow": {
52 "type": "object",
53 "default": {
54 "blur": "15px"
55 }
56 },
57 "isIcon": {
58 "type": "boolean",
59 "default": true
60 },
61 "icon": {
62 "type": "object",
63 "default": {
64 "class": "fa fa-info-circle",
65 "fontSize": 70,
66 "color": "#146EF5"
67 }
68 },
69 "iconMargin": {
70 "type": "object",
71 "default": {
72 "side": 4,
73 "bottom": "20px"
74 }
75 },
76 "title": {
77 "type": "string",
78 "selector": "h3.infoBoxTitle",
79 "default": "Info Box Title"
80 },
81 "titleTypo": {
82 "type": "object",
83 "default": {
84 "fontSize": {
85 "desktop": "25px",
86 "tablet": "22px",
87 "mobile": "20px"
88 },
89 "fontWeight": 600
90 }
91 },
92 "titleColor": {
93 "type": "string",
94 "default": "#333"
95 },
96 "titleMargin": {
97 "type": "object",
98 "default": {
99 "side": 4,
100 "bottom": "10px"
101 }
102 },
103 "isDesc": {
104 "type": "boolean",
105 "default": true
106 },
107 "desc": {
108 "type": "string",
109 "selector": "p.infoBoxDescription",
110 "default": "This content area describes info box descriptions or details."
111 },
112 "descTypo": {
113 "type": "object",
114 "default": {
115 "fontSize": {
116 "desktop": "15px"
117 }
118 }
119 },
120 "descColor": {
121 "type": "string",
122 "default": "#333"
123 },
124 "descMargin": {
125 "type": "object",
126 "default": {
127 "side": 4,
128 "bottom": "15px"
129 }
130 },
131 "isBtn": {
132 "type": "boolean",
133 "default": false
134 },
135 "btn": {
136 "type": "string",
137 "selector": "a.infoBoxButton",
138 "default": "Click Me"
139 },
140 "btnLink": {
141 "type": "string",
142 "default": "#"
143 },
144 "isLinkNewTab": {
145 "type": "boolean",
146 "default": true
147 },
148 "btnTypo": {
149 "type": "object",
150 "default": {
151 "fontSize": {
152 "desktop": "15px"
153 }
154 }
155 },
156 "btnColors": {
157 "type": "object",
158 "default": {
159 "color": "#fff",
160 "bg": "#146EF5"
161 }
162 },
163 "btnHovColors": {
164 "type": "object",
165 "default": {
166 "color": "#fff",
167 "bg": "#FF7A00"
168 }
169 },
170 "btnPadding": {
171 "type": "object",
172 "default": {
173 "vertical": "8px",
174 "horizontal": "15px"
175 }
176 },
177 "btnBorder": {
178 "type": "object",
179 "default": {
180 "radius": "5px"
181 }
182 }
183 },
184 "supports": {
185 "align": [
186 "wide",
187 "full"
188 ],
189 "html": false
190 },
191 "example": {
192 "attributes": {
193 "preview": true
194 }
195 },
196 "editorScript": "file:../index.js",
197 "style": [
198 "file:./view.css",
199 "fontAwesome"
200 ],
201 "render": "file:./render.php",
202 "viewScript": "file:./view.js"
203 }