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

195 lines 3.3 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": "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 "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 "isResponsive": {
31 "type": "boolean",
32 "default": true
33 },
34 "boxIsInline": {
35 "type": "boolean",
36 "default": false
37 },
38 "boxPosition": {
39 "type": "string",
40 "default": "center"
41 },
42 "isLabels": {
43 "type": "boolean",
44 "default": true
45 },
46 "isDays": {
47 "type": "boolean",
48 "default": true
49 },
50 "daysLabel": {
51 "type": "string",
52 "default": "Days"
53 },
54 "isHours": {
55 "type": "boolean",
56 "default": true
57 },
58 "hoursLabel": {
59 "type": "string",
60 "default": "Hours"
61 },
62 "isMinutes": {
63 "type": "boolean",
64 "default": true
65 },
66 "minutesLabel": {
67 "type": "string",
68 "default": "Minutes"
69 },
70 "isSeconds": {
71 "type": "boolean",
72 "default": true
73 },
74 "secondsLabel": {
75 "type": "string",
76 "default": "Seconds"
77 },
78 "width": {
79 "type": "string",
80 "default": "0px"
81 },
82 "background": {
83 "type": "object",
84 "default": {
85 "color": "#0000"
86 }
87 },
88 "padding": {
89 "type": "object",
90 "default": {
91 "vertical": "10px",
92 "horizontal": "15px"
93 }
94 },
95 "shadow": {
96 "type": "object",
97 "default": {}
98 },
99 "alignment": {
100 "type": "string",
101 "default": "center"
102 },
103 "boxBG": {
104 "type": "object",
105 "default": {
106 "type": "gradient",
107 "color": "#4527a4",
108 "gradient": "linear-gradient(135deg, #4527a4, #8344c5)"
109 }
110 },
111 "boxWidth": {
112 "type": "string",
113 "default": "170px"
114 },
115 "boxHeight": {
116 "type": "string",
117 "default": "120px"
118 },
119 "boxSpace": {
120 "type": "string",
121 "default": "30px"
122 },
123 "boxBorder": {
124 "type": "object",
125 "default": {
126 "radius": "5%"
127 }
128 },
129 "boxShadow": {
130 "type": "object",
131 "default": {}
132 },
133 "digitTypo": {
134 "type": "object",
135 "default": {
136 "fontSize": {
137 "desktop": 48,
138 "tablet": 40,
139 "mobile": 32
140 }
141 }
142 },
143 "digitColor": {
144 "type": "string",
145 "default": "#fff"
146 },
147 "labelTypo": {
148 "type": "object",
149 "default": {
150 "fontSize": {
151 "desktop": 18,
152 "tablet": 17,
153 "mobile": 16
154 }
155 }
156 },
157 "labelColor": {
158 "type": "string",
159 "default": "#fff"
160 },
161 "isSep": {
162 "type": "boolean",
163 "default": false
164 },
165 "sepType": {
166 "type": "string",
167 "default": ":"
168 },
169 "sepSize": {
170 "type": "number",
171 "default": 52
172 },
173 "sepColor": {
174 "type": "string",
175 "default": "#4527a4"
176 }
177 },
178 "supports": {
179 "align": [
180 "wide",
181 "full"
182 ],
183 "html": false
184 },
185 "example": {
186 "attributes": {
187 "preview": true,
188 "boxWidth": "120px",
189 "boxHeight": "100px",
190 "boxSpace": "15px",
191 "destDate": "Dec 22 2022"
192 }
193 },
194 "editorScript": "file:dist/editor.js"
195 }