PluginProbe
Countdown Timer Block – build urgency for events and launches / 1.2.8
Countdown Timer Block – build urgency for events and launches v1.2.8
1.3.3 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 All 32 releases
countdown-time / build / block.json

block.json in Countdown Timer Block – build urgency for events and launches 1.2.8, at build/block.json

368 lines 7.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 2,
3 "name": "ctb/countdown-time",
4 "title": "Countdown Time",
5 "description": "Display events date into a timer.",
6 "category": "CTBlock",
7 "keywords": [
8 "countdown timer block",
9 "countdown ceremony time",
10 "countdown events time"
11 ],
12 "textdomain": "countdown-time",
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": "#4527a4",
148 "gradient": "linear-gradient(135deg, #4527a4, #8344c5)"
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": 48,
178 "tablet": 40,
179 "mobile": 32
180 }
181 }
182 },
183 "digitColor": {
184 "type": "string",
185 "default": "#fff"
186 },
187 "labelTypo": {
188 "type": "object",
189 "default": {
190 "fontSize": {
191 "desktop": 18,
192 "tablet": 17,
193 "mobile": 16
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": "#4527a4",
210 "gradient": "linear-gradient(135deg, #4527a4, #8344c5)"
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": "#4527a4",
230 "gradient": "linear-gradient(135deg, #4527a4, #8344c5)"
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": "#4527a4",
250 "gradient": "linear-gradient(135deg, #4527a4, #8344c5)"
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": "#4527a4",
270 "gradient": "linear-gradient(135deg, #4527a4, #8344c5)"
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": "#4527a4"
296 },
297 "prefixTextTypo": {
298 "type": "object",
299 "default": {
300 "fontSize": {
301 "desktop": 15,
302 "tablet": 15,
303 "mobile": 15
304 }
305 }
306 },
307 "prefixTextColor": {
308 "type": "string",
309 "default": "#222"
310 },
311 "suffixButtonTypo": {
312 "type": "object",
313 "default": {
314 "fontSize": {
315 "desktop": 16,
316 "tablet": 16,
317 "mobile": 16
318 }
319 }
320 },
321 "suffixButtonColors": {
322 "type": "object",
323 "default": {
324 "color": "#fff",
325 "bg": "#222"
326 }
327 },
328 "suffixButtonPadding": {
329 "type": "object",
330 "default": {
331 "vertical": "14px",
332 "horizontal": "28px"
333 }
334 },
335 "isDismiss": {
336 "type": "boolean",
337 "default": false
338 },
339 "dismissColor": {
340 "type": "string",
341 "default": "#333"
342 }
343 },
344 "supports": {
345 "align": [
346 "wide",
347 "full"
348 ],
349 "html": false
350 },
351 "example": {
352 "attributes": {
353 "preview": true,
354 "boxWidth": "120px",
355 "boxHeight": "100px",
356 "boxSpace": "15px",
357 "destDate": ""
358 }
359 },
360 "editorScript": [
361 "file:./index.js",
362 "wp-api"
363 ],
364 "editorStyle": "file:./index.css",
365 "style": "file:./view.css",
366 "render": "file:./render.php",
367 "viewScript": "file:./view.js"
368 }