PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
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 / time-duration-calculator / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/time-duration-calculator/block.json

187 lines 4.5 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": "blockenberg/time-duration-calculator",
5 "title": "Time Duration Calculator",
6 "category": "bkbg-calculators",
7 "icon": "clock",
8 "description": "Add or subtract time durations in hours, minutes and seconds. Shows result broken down into multiple units.",
9 "keywords": [
10 "time",
11 "duration",
12 "hours",
13 "minutes",
14 "seconds",
15 "add",
16 "subtract",
17 "calculator"
18 ],
19 "textdomain": "blockenberg",
20 "editorScript": "bkbg-time-duration-calculator-editor",
21 "style": "bkbg-time-duration-calculator-style",
22 "viewScript": "bkbg-time-duration-calculator-frontend",
23 "supports": {
24 "html": false,
25 "anchor": true,
26 "className": true,
27 "align": [
28 "wide",
29 "full"
30 ]
31 },
32 "attributes": {
33 "title": {
34 "type": "string",
35 "default": "Time Duration Calculator"
36 },
37 "subtitle": {
38 "type": "string",
39 "default": "Add or subtract time durations with ease"
40 },
41 "showTitle": {
42 "type": "boolean",
43 "default": true
44 },
45 "showSubtitle": {
46 "type": "boolean",
47 "default": true
48 },
49 "defaultOp": {
50 "type": "string",
51 "default": "add"
52 },
53 "defaultH1": {
54 "type": "number",
55 "default": 1
56 },
57 "defaultM1": {
58 "type": "number",
59 "default": 30
60 },
61 "defaultS1": {
62 "type": "number",
63 "default": 0
64 },
65 "defaultH2": {
66 "type": "number",
67 "default": 0
68 },
69 "defaultM2": {
70 "type": "number",
71 "default": 45
72 },
73 "defaultS2": {
74 "type": "number",
75 "default": 0
76 },
77 "showSeconds": {
78 "type": "boolean",
79 "default": true
80 },
81 "showTotalSec": {
82 "type": "boolean",
83 "default": true
84 },
85 "showDaysBreakdown": {
86 "type": "boolean",
87 "default": true
88 },
89 "accentColor": {
90 "type": "string",
91 "default": "#6c3fb5"
92 },
93 "cardBg": {
94 "type": "string",
95 "default": "#ffffff"
96 },
97 "resultBg": {
98 "type": "string",
99 "default": "#6c3fb5"
100 },
101 "resultColor": {
102 "type": "string",
103 "default": "#ffffff"
104 },
105 "statBg": {
106 "type": "string",
107 "default": "#f3f4f6"
108 },
109 "statBorder": {
110 "type": "string",
111 "default": "#e5e7eb"
112 },
113 "statValue": {
114 "type": "string",
115 "default": "#111827"
116 },
117 "statLabel": {
118 "type": "string",
119 "default": "#6b7280"
120 },
121 "opActiveBg": {
122 "type": "string",
123 "default": "#6c3fb5"
124 },
125 "opActiveColor": {
126 "type": "string",
127 "default": "#ffffff"
128 },
129 "opInactiveBg": {
130 "type": "string",
131 "default": "#f3f4f6"
132 },
133 "opInactiveColor": {
134 "type": "string",
135 "default": "#374151"
136 },
137 "inputBorder": {
138 "type": "string",
139 "default": "#e5e7eb"
140 },
141 "labelColor": {
142 "type": "string",
143 "default": "#374151"
144 },
145 "titleColor": {
146 "type": "string",
147 "default": ""
148 },
149 "subtitleColor": {
150 "type": "string",
151 "default": ""
152 },
153 "sectionBg": {
154 "type": "string",
155 "default": ""
156 },
157 "titleTypo": {
158 "type": "object",
159 "default": {}
160 },
161 "resultTypo": {
162 "type": "object",
163 "default": {}
164 },
165 "cardRadius": {
166 "type": "number",
167 "default": 16
168 },
169 "inputRadius": {
170 "type": "number",
171 "default": 8
172 },
173 "maxWidth": {
174 "type": "number",
175 "default": 560
176 },
177 "paddingTop": {
178 "type": "number",
179 "default": 60
180 },
181 "paddingBottom": {
182 "type": "number",
183 "default": 60
184 }
185 }
186 }
187