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 / pace-calculator / block.json

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

182 lines 4.4 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/pace-calculator",
5 "title": "Pace Calculator",
6 "category": "bkbg-calculators",
7 "icon": "performance",
8 "description": "Running, walking, or cycling pace calculator. Find pace from distance and time, find finish time from pace and distance, or find distance from pace and time. Supports km and miles.",
9 "keywords": [
10 "pace",
11 "running",
12 "cycling",
13 "walking",
14 "speed",
15 "fitness",
16 "marathon",
17 "5k",
18 "10k",
19 "race",
20 "calculator"
21 ],
22 "textdomain": "blockenberg",
23 "editorScript": "bkbg-pace-calculator-editor",
24 "style": "bkbg-pace-calculator-style",
25 "viewScript": "bkbg-pace-calculator-frontend",
26 "supports": {
27 "html": false,
28 "anchor": true,
29 "className": true,
30 "align": [
31 "wide",
32 "full"
33 ]
34 },
35 "attributes": {
36 "title": {
37 "type": "string",
38 "default": "Pace Calculator"
39 },
40 "subtitle": {
41 "type": "string",
42 "default": "Calculate your running pace, finish time, or distance."
43 },
44 "showTitle": {
45 "type": "boolean",
46 "default": true
47 },
48 "showSubtitle": {
49 "type": "boolean",
50 "default": true
51 },
52 "defaultMode": {
53 "type": "string",
54 "default": "find_pace"
55 },
56 "defaultUnit": {
57 "type": "string",
58 "default": "km"
59 },
60 "showPresets": {
61 "type": "boolean",
62 "default": true
63 },
64 "showSpeedConv": {
65 "type": "boolean",
66 "default": true
67 },
68 "presets": {
69 "type": "array",
70 "default": [
71 {
72 "label": "5K",
73 "dist": 5
74 },
75 {
76 "label": "10K",
77 "dist": 10
78 },
79 {
80 "label": "Half",
81 "dist": 21.0975
82 },
83 {
84 "label": "Marathon",
85 "dist": 42.195
86 }
87 ]
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": "#f5f3ff"
100 },
101 "resultBorder": {
102 "type": "string",
103 "default": "#ede9fe"
104 },
105 "resultColor": {
106 "type": "string",
107 "default": "#6c3fb5"
108 },
109 "presetBg": {
110 "type": "string",
111 "default": "#f3f4f6"
112 },
113 "presetColor": {
114 "type": "string",
115 "default": "#374151"
116 },
117 "convBg": {
118 "type": "string",
119 "default": "#f9fafb"
120 },
121 "titleColor": {
122 "type": "string",
123 "default": "#1e1b4b"
124 },
125 "subtitleColor": {
126 "type": "string",
127 "default": "#6b7280"
128 },
129 "labelColor": {
130 "type": "string",
131 "default": "#374151"
132 },
133 "sectionBg": {
134 "type": "string",
135 "default": ""
136 },
137 "titleSize": {
138 "type": "number",
139 "default": 28
140 },
141 "resultSize": {
142 "type": "number",
143 "default": 52
144 },
145 "cardRadius": {
146 "type": "number",
147 "default": 16
148 },
149 "inputRadius": {
150 "type": "number",
151 "default": 8
152 },
153 "maxWidth": {
154 "type": "number",
155 "default": 560
156 },
157 "paddingTop": {
158 "type": "number",
159 "default": 60
160 },
161 "paddingBottom": {
162 "type": "number",
163 "default": 60
164 },
165 "titleFontWeight": {
166 "type": "string",
167 "default": "700"
168 },
169 "resultFontWeight": {
170 "type": "string",
171 "default": "800"
172 },
173 "titleTypo": {
174 "type": "object",
175 "default": {}
176 },
177 "resultTypo": {
178 "type": "object",
179 "default": {}
180 }
181 }
182 }