PluginProbe
Countdown Timer Block – build urgency for events and launches / 1.1.2
Countdown Timer Block – build urgency for events and launches v1.1.2
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 / block.json

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

184 lines 3.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": "1",
3 "name": "ctb/countdown-time",
4 "title": "Countdown Time",
5 "description": "Display events date into a timer.",
6 "category": "widgets",
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 "cId": {
19 "type": "string",
20 "default": ""
21 },
22 "destDate": {
23 "type": "string",
24 "default": ""
25 },
26 "layout": {
27 "type": "string",
28 "default": "default"
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 "width": {
75 "type": "string",
76 "default": "0px"
77 },
78 "background": {
79 "type": "object",
80 "default": {
81 "color": "#0000"
82 }
83 },
84 "padding": {
85 "type": "object",
86 "default": {
87 "vertical": "10px",
88 "horizontal": "15px"
89 }
90 },
91 "shadow": {
92 "type": "object",
93 "default": {}
94 },
95 "alignment": {
96 "type": "string",
97 "default": "center"
98 },
99 "boxBG": {
100 "type": "object",
101 "default": {
102 "type": "gradient",
103 "color": "#4527a4",
104 "gradient": "linear-gradient(135deg, #4527a4, #8344c5)"
105 }
106 },
107 "boxWidth": {
108 "type": "string",
109 "default": "170px"
110 },
111 "boxHeight": {
112 "type": "string",
113 "default": "120px"
114 },
115 "boxSpace": {
116 "type": "string",
117 "default": "30px"
118 },
119 "boxBorder": {
120 "type": "object",
121 "default": {
122 "radius": "5%"
123 }
124 },
125 "boxShadow": {
126 "type": "object",
127 "default": {}
128 },
129 "digitTypo": {
130 "type": "object",
131 "default": {
132 "fontSize": 48
133 }
134 },
135 "digitColor": {
136 "type": "string",
137 "default": "#fff"
138 },
139 "labelTypo": {
140 "type": "object",
141 "default": {
142 "fontSize": 18
143 }
144 },
145 "labelColor": {
146 "type": "string",
147 "default": "#fff"
148 },
149 "isSep": {
150 "type": "boolean",
151 "default": false
152 },
153 "sepType": {
154 "type": "string",
155 "default": ":"
156 },
157 "sepSize": {
158 "type": "number",
159 "default": 52
160 },
161 "sepColor": {
162 "type": "string",
163 "default": "#4527a4"
164 }
165 },
166 "supports": {
167 "align": [
168 "wide",
169 "full"
170 ],
171 "html": false
172 },
173 "example": {
174 "attributes": {
175 "preview": true,
176 "boxWidth": "120px",
177 "boxHeight": "100px",
178 "boxSpace": "15px",
179 "destDate": "Dec 22 2022"
180 }
181 },
182 "editorScript": "file:dist/editor.js",
183 "script": "file:dist/script.js"
184 }