PluginProbe
bBlocks – Essential Gutenberg Blocks & Patterns Collection / 2.1.1
bBlocks – Essential Gutenberg Blocks & Patterns Collection v2.1.1
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 1.5.5 All 106 releases
b-blocks / build / countdown / block.json

block.json in bBlocks – Essential Gutenberg Blocks & Patterns Collection 2.1.1, at build/countdown/block.json

360 lines 6.8 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/countdown",
4 "title": "Countdown",
5 "description": "Display events date into a timer.",
6 "category": "bBlocks",
7 "keywords": [
8 "countdown timer",
9 "countdown events",
10 "set timer"
11 ],
12 "textdomain": "b-blocks",
13 "attributes": {
14 "align": {
15 "type": "string",
16 "default": ""
17 },
18 "destDate": {
19 "type": "string",
20 "default": ""
21 },
22 "layout": {
23 "type": "string",
24 "default": "default"
25 },
26 "isResponsive": {
27 "type": "boolean",
28 "default": true
29 },
30 "boxIsInline": {
31 "type": "boolean",
32 "default": false
33 },
34 "boxPosition": {
35 "type": "string",
36 "default": "center"
37 },
38 "isLabels": {
39 "type": "boolean",
40 "default": true
41 },
42 "isDays": {
43 "type": "boolean",
44 "default": true
45 },
46 "daysLabel": {
47 "type": "string",
48 "default": "Days"
49 },
50 "isHours": {
51 "type": "boolean",
52 "default": true
53 },
54 "hoursLabel": {
55 "type": "string",
56 "default": "Hours"
57 },
58 "isMinutes": {
59 "type": "boolean",
60 "default": true
61 },
62 "minutesLabel": {
63 "type": "string",
64 "default": "Minutes"
65 },
66 "isSeconds": {
67 "type": "boolean",
68 "default": true
69 },
70 "secondsLabel": {
71 "type": "string",
72 "default": "Seconds"
73 },
74 "isExpired": {
75 "type": "boolean",
76 "default": false
77 },
78 "hideOn0": {
79 "type": "boolean",
80 "default": false
81 },
82 "hideOnMobile": {
83 "type": "boolean",
84 "default": false
85 },
86 "hideOnTablet": {
87 "type": "boolean",
88 "default": false
89 },
90 "prefixSuffixDirection": {
91 "type": "string",
92 "default": "row"
93 },
94 "prefixText": {
95 "type": "string",
96 "default": ""
97 },
98 "suffixButtonText": {
99 "type": "string",
100 "default": ""
101 },
102 "suffixButtonUrl": {
103 "type": "string",
104 "default": "#"
105 },
106 "addID": {
107 "type": "string",
108 "default": ""
109 },
110 "addClass": {
111 "type": "string",
112 "default": ""
113 },
114 "addCSS": {
115 "type": "string",
116 "default": ""
117 },
118 "width": {
119 "type": "string",
120 "default": "0px"
121 },
122 "background": {
123 "type": "object",
124 "default": {
125 "color": "#0000"
126 }
127 },
128 "padding": {
129 "type": "object",
130 "default": {
131 "vertical": "10px",
132 "horizontal": "15px"
133 }
134 },
135 "shadow": {
136 "type": "object",
137 "default": {}
138 },
139 "alignment": {
140 "type": "string",
141 "default": "center"
142 },
143 "boxBG": {
144 "type": "object",
145 "default": {
146 "type": "gradient",
147 "color": "#146EF5",
148 "gradient": "linear-gradient(135deg, #0040E3, #18D4FD)"
149 }
150 },
151 "boxWidth": {
152 "type": "string",
153 "default": "170px"
154 },
155 "boxHeight": {
156 "type": "string",
157 "default": "120px"
158 },
159 "boxSpace": {
160 "type": "string",
161 "default": "30px"
162 },
163 "boxBorder": {
164 "type": "object",
165 "default": {
166 "radius": "5%"
167 }
168 },
169 "boxShadow": {
170 "type": "object",
171 "default": {}
172 },
173 "digitTypo": {
174 "type": "object",
175 "default": {
176 "fontSize": {
177 "desktop": "48px",
178 "tablet": "40px",
179 "mobile": "32px"
180 }
181 }
182 },
183 "digitColor": {
184 "type": "string",
185 "default": "#fff"
186 },
187 "labelTypo": {
188 "type": "object",
189 "default": {
190 "fontSize": {
191 "desktop": "18px",
192 "tablet": "17px",
193 "mobile": "16px"
194 }
195 }
196 },
197 "labelColor": {
198 "type": "string",
199 "default": "#fff"
200 },
201 "isDaysSingleStyle": {
202 "type": "boolean",
203 "default": false
204 },
205 "daysBG": {
206 "type": "object",
207 "default": {
208 "type": "gradient",
209 "color": "#146EF5",
210 "gradient": "linear-gradient(135deg, #0040E3, #18D4FD)"
211 }
212 },
213 "daysDigitColor": {
214 "type": "string",
215 "default": "#fff"
216 },
217 "daysLabelColor": {
218 "type": "string",
219 "default": "#fff"
220 },
221 "isHoursSingleStyle": {
222 "type": "boolean",
223 "default": false
224 },
225 "hoursBG": {
226 "type": "object",
227 "default": {
228 "type": "gradient",
229 "color": "#146EF5",
230 "gradient": "linear-gradient(135deg, #0040E3, #18D4FD)"
231 }
232 },
233 "hoursDigitColor": {
234 "type": "string",
235 "default": "#fff"
236 },
237 "hoursLabelColor": {
238 "type": "string",
239 "default": "#fff"
240 },
241 "isMinutesSingleStyle": {
242 "type": "boolean",
243 "default": false
244 },
245 "minutesBG": {
246 "type": "object",
247 "default": {
248 "type": "gradient",
249 "color": "#146EF5",
250 "gradient": "linear-gradient(135deg, #0040E3, #18D4FD)"
251 }
252 },
253 "minutesDigitColor": {
254 "type": "string",
255 "default": "#fff"
256 },
257 "minutesLabelColor": {
258 "type": "string",
259 "default": "#fff"
260 },
261 "isSecondsSingleStyle": {
262 "type": "boolean",
263 "default": false
264 },
265 "secondsBG": {
266 "type": "object",
267 "default": {
268 "type": "gradient",
269 "color": "#146EF5",
270 "gradient": "linear-gradient(135deg, #0040E3, #18D4FD)"
271 }
272 },
273 "secondsDigitColor": {
274 "type": "string",
275 "default": "#fff"
276 },
277 "secondsLabelColor": {
278 "type": "string",
279 "default": "#fff"
280 },
281 "isSep": {
282 "type": "boolean",
283 "default": false
284 },
285 "sepType": {
286 "type": "string",
287 "default": ":"
288 },
289 "sepSize": {
290 "type": "number",
291 "default": 52
292 },
293 "sepColor": {
294 "type": "string",
295 "default": "#146EF5"
296 },
297 "prefixTextTypo": {
298 "type": "object",
299 "default": {
300 "fontSize": {
301 "desktop": "15px"
302 }
303 }
304 },
305 "prefixTextColor": {
306 "type": "string",
307 "default": "#222"
308 },
309 "suffixButtonTypo": {
310 "type": "object",
311 "default": {
312 "fontSize": {
313 "desktop": "16px"
314 }
315 }
316 },
317 "suffixButtonColors": {
318 "type": "object",
319 "default": {
320 "color": "#fff",
321 "bg": "#222"
322 }
323 },
324 "suffixButtonPadding": {
325 "type": "object",
326 "default": {
327 "vertical": "14px",
328 "horizontal": "28px"
329 }
330 },
331 "isDismiss": {
332 "type": "boolean",
333 "default": false
334 },
335 "dismissColor": {
336 "type": "string",
337 "default": "#333"
338 }
339 },
340 "supports": {
341 "align": [
342 "wide",
343 "full"
344 ],
345 "html": false
346 },
347 "example": {
348 "attributes": {
349 "preview": true,
350 "boxWidth": "120px",
351 "boxHeight": "100px",
352 "boxSpace": "15px",
353 "destDate": ""
354 }
355 },
356 "editorScript": "file:../index.js",
357 "style": "file:./view.css",
358 "render": "file:./render.php",
359 "viewScript": "file:./view.js"
360 }