PluginProbe
BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites / trunk
BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites vtrunk
4.1.0 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.1.0 1.1.1 1.1.2 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 2.1.2 2.5.0 2.5.3 2.6.1 All 38 releases
blockspare / build / block / date-time / block.json

block.json in BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites trunk, at build/block/date-time/block.json

261 lines 5.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "blockspare/date-time",
5 "title": "Date and Time",
6 "category": "blockspare",
7 "description": "Display dynamic date and time with customizable formatting.",
8 "attributes": {
9 "className": {
10 "type": "string"
11 },
12 "uniqueClass": {
13 "type": "string",
14 "default": ""
15 },
16 "date": {
17 "type": "boolean",
18 "default": true
19 },
20 "time": {
21 "type": "boolean",
22 "default": false
23 },
24 "align": {
25 "type": "string",
26 "default": "center"
27 },
28 "sectionAlign": {
29 "type": "string",
30 "default": "left"
31 },
32 "textBeforeDate": {
33 "type": "string",
34 "default": ""
35 },
36 "textAfterDate": {
37 "type": "string",
38 "default": ""
39 },
40 "dateIconToggle": {
41 "type": "boolean",
42 "default": true
43 },
44 "dateIcon": {
45 "type": "string",
46 "default": "far fa-calendar-alt"
47 },
48 "dateIconSize": {
49 "type": "number",
50 "default": 16
51 },
52 "timeIconToggle": {
53 "type": "boolean",
54 "default": true
55 },
56 "timeIcon": {
57 "type": "string",
58 "default": "far fa-clock"
59 },
60 "timeIconSize": {
61 "type": "number",
62 "default": 16
63 },
64 "layoutOption": {
65 "type": "string",
66 "default": "date-time-style-1"
67 },
68 "dateOrder": {
69 "type": "string",
70 "default": "date-time-order-1"
71 },
72 "layoutType": {
73 "type": "string",
74 "default": "date-time-horizontal"
75 },
76 "dateColor": {
77 "type": "string",
78 "default": "#000"
79 },
80 "dateIconColor": {
81 "type": "string",
82 "default": "#000"
83 },
84 "textBeforeColor": {
85 "type": "string",
86 "default": "#000"
87 },
88 "textAfterColor": {
89 "type": "string",
90 "default": "#000"
91 },
92 "timeColor": {
93 "type": "string",
94 "default": "#000"
95 },
96 "timeIconColor": {
97 "type": "string",
98 "default": "#000"
99 },
100 "bgColor": {
101 "type": "string",
102 "default": "#ffb400"
103 },
104 "dateFontSize": {
105 "type": "number",
106 "default": 16
107 },
108 "dateFontFamily": {
109 "type": "string",
110 "default": "Default"
111 },
112 "dateFontWeight": {
113 "type": "string",
114 "default": ""
115 },
116 "dateFontSubset": {
117 "type": "string"
118 },
119 "dateFontSizeType": {
120 "type": "string",
121 "default": "px"
122 },
123 "dateFontSizeMobile": {
124 "type": "number",
125 "default": 14
126 },
127 "dateFontSizeTablet": {
128 "type": "number",
129 "default": 16
130 },
131 "dateLoadGoogleFonts": {
132 "type": "boolean",
133 "default": false
134 },
135 "timeFontSize": {
136 "type": "number",
137 "default": 16
138 },
139 "timeFontFamily": {
140 "type": "string",
141 "default": "Default"
142 },
143 "timeFontWeight": {
144 "type": "string",
145 "default": ""
146 },
147 "timeFontSubset": {
148 "type": "string"
149 },
150 "timeFontSizeType": {
151 "type": "string",
152 "default": "px"
153 },
154 "timeFontSizeMobile": {
155 "type": "number",
156 "default": 14
157 },
158 "timeFontSizeTablet": {
159 "type": "number",
160 "default": 16
161 },
162 "timeLoadGoogleFonts": {
163 "type": "boolean",
164 "default": false
165 },
166 "beforeDateFontSize": {
167 "type": "number",
168 "default": 16
169 },
170 "beforeDateFontFamily": {
171 "type": "string",
172 "default": "Default"
173 },
174 "beforeDateFontWeight": {
175 "type": "string",
176 "default": ""
177 },
178 "beforeDateFontSubset": {
179 "type": "string"
180 },
181 "beforeDateFontSizeType": {
182 "type": "string",
183 "default": "px"
184 },
185 "beforeDateFontSizeMobile": {
186 "type": "number",
187 "default": 14
188 },
189 "beforeDateFontSizeTablet": {
190 "type": "number",
191 "default": 16
192 },
193 "beforeDateLoadGoogleFonts": {
194 "type": "boolean",
195 "default": false
196 },
197 "afterDateFontSize": {
198 "type": "number",
199 "default": 16
200 },
201 "afterDateFontFamily": {
202 "type": "string",
203 "default": "Default"
204 },
205 "afterDateFontWeight": {
206 "type": "string",
207 "default": ""
208 },
209 "afterDateFontSubset": {
210 "type": "string"
211 },
212 "afterDateFontSizeType": {
213 "type": "string",
214 "default": "px"
215 },
216 "afterDateFontSizeMobile": {
217 "type": "number",
218 "default": 14
219 },
220 "afterDateFontSizeTablet": {
221 "type": "number",
222 "default": 16
223 },
224 "afterDateLoadGoogleFonts": {
225 "type": "boolean",
226 "default": false
227 },
228 "animation": {
229 "type": "string",
230 "default": ""
231 },
232 "borderRadius": {
233 "type": "string",
234 "default": "date-time-mixed"
235 },
236 "marginTop": {
237 "type": "number",
238 "default": 30
239 },
240 "marginBottom": {
241 "type": "number",
242 "default": 30
243 },
244 "marginLeft": {
245 "type": "number",
246 "default": 0
247 },
248 "marginRight": {
249 "type": "number",
250 "default": 0
251 },
252 "blockHoverEffect": {
253 "type": "string",
254 "default": ""
255 }
256 },
257 "editorScript": "file:./index.js",
258 "style": "file:./style-index.css",
259 "viewScript": "file:./view.js",
260 "render": "file:./render.php"
261 }