PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.11
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.11
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / date-difference / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.11, at blocks/date-difference/block.json

194 lines 4.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 3,
3 "$schema": "https://schemas.wp.org/trunk/block.json",
4 "name": "blockenberg/date-difference",
5 "title": "Date Difference",
6 "category": "bkbg-calculators",
7 "icon": "calendar-alt",
8 "description": "Calculate the exact difference between two dates — years, months, days, total days, weeks, hours, and working days.",
9 "keywords": [
10 "date",
11 "difference",
12 "days",
13 "calculator",
14 "between",
15 "countdown",
16 "duration"
17 ],
18 "textdomain": "blockenberg",
19 "editorScript": "bkbg-date-difference-editor",
20 "style": "bkbg-date-difference-style",
21 "viewScript": "bkbg-date-difference-frontend",
22 "supports": {
23 "html": false,
24 "anchor": true,
25 "className": true,
26 "align": [
27 "wide",
28 "full"
29 ]
30 },
31 "attributes": {
32 "title": {
33 "type": "string",
34 "default": "Date Difference Calculator"
35 },
36 "subtitle": {
37 "type": "string",
38 "default": "Find the exact duration between two dates."
39 },
40 "showTitle": {
41 "type": "boolean",
42 "default": true
43 },
44 "showSubtitle": {
45 "type": "boolean",
46 "default": true
47 },
48 "labelFrom": {
49 "type": "string",
50 "default": "From Date"
51 },
52 "labelTo": {
53 "type": "string",
54 "default": "To Date"
55 },
56 "showSwapBtn": {
57 "type": "boolean",
58 "default": true
59 },
60 "showYMD": {
61 "type": "boolean",
62 "default": true
63 },
64 "showTotalDays": {
65 "type": "boolean",
66 "default": true
67 },
68 "showWeeks": {
69 "type": "boolean",
70 "default": true
71 },
72 "showHours": {
73 "type": "boolean",
74 "default": false
75 },
76 "showMinutes": {
77 "type": "boolean",
78 "default": false
79 },
80 "showWorkingDays": {
81 "type": "boolean",
82 "default": true
83 },
84 "accentColor": {
85 "type": "string",
86 "default": "#6c3fb5"
87 },
88 "cardBg": {
89 "type": "string",
90 "default": "#ffffff"
91 },
92 "resultBg": {
93 "type": "string",
94 "default": "#f5f3ff"
95 },
96 "resultBorder": {
97 "type": "string",
98 "default": "#ede9fe"
99 },
100 "ymdColor": {
101 "type": "string",
102 "default": "#6c3fb5"
103 },
104 "daysColor": {
105 "type": "string",
106 "default": "#3b82f6"
107 },
108 "weeksColor": {
109 "type": "string",
110 "default": "#10b981"
111 },
112 "hoursColor": {
113 "type": "string",
114 "default": "#f59e0b"
115 },
116 "wdaysColor": {
117 "type": "string",
118 "default": "#ef4444"
119 },
120 "titleColor": {
121 "type": "string",
122 "default": "#1e1b4b"
123 },
124 "subtitleColor": {
125 "type": "string",
126 "default": "#6b7280"
127 },
128 "labelColor": {
129 "type": "string",
130 "default": "#374151"
131 },
132 "bgColor": {
133 "type": "string",
134 "default": ""
135 },
136 "titleSize": {
137 "type": "number",
138 "default": 26
139 },
140 "numSize": {
141 "type": "number",
142 "default": 40
143 },
144 "subtitleFontSize": {
145 "type": "number",
146 "default": 14
147 },
148 "statLabelFontSize": {
149 "type": "number",
150 "default": 11
151 },
152 "statUnitFontSize": {
153 "type": "number",
154 "default": 12
155 },
156 "inputLabelFontSize": {
157 "type": "number",
158 "default": 13
159 },
160 "typoTitle": {
161 "type": "object",
162 "default": {}
163 },
164 "typoSubtitle": {
165 "type": "object",
166 "default": {}
167 },
168 "typoNumber": {
169 "type": "object",
170 "default": {}
171 },
172 "cardRadius": {
173 "type": "number",
174 "default": 16
175 },
176 "inputRadius": {
177 "type": "number",
178 "default": 8
179 },
180 "maxWidth": {
181 "type": "number",
182 "default": 620
183 },
184 "paddingTop": {
185 "type": "number",
186 "default": 60
187 },
188 "paddingBottom": {
189 "type": "number",
190 "default": 60
191 }
192 }
193 }
194