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

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

177 lines 4.2 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/fuel-calculator",
5 "title": "Fuel Calculator",
6 "category": "bkbg-calculators",
7 "icon": "car",
8 "description": "Calculate road trip fuel costs, consumption, and CO₂ emissions. Supports MPG, L/100km, and km/L efficiency units with round-trip and cost-per-person options.",
9 "keywords": [
10 "fuel",
11 "gas",
12 "trip",
13 "cost",
14 "calculator",
15 "mpg",
16 "car",
17 "road",
18 "travel",
19 "petrol"
20 ],
21 "textdomain": "blockenberg",
22 "editorScript": "bkbg-fuel-calculator-editor",
23 "style": "bkbg-fuel-calculator-style",
24 "viewScript": "bkbg-fuel-calculator-frontend",
25 "supports": {
26 "html": false,
27 "anchor": true,
28 "className": true,
29 "align": [
30 "wide",
31 "full"
32 ]
33 },
34 "attributes": {
35 "title": {
36 "type": "string",
37 "default": "Fuel Cost Calculator"
38 },
39 "subtitle": {
40 "type": "string",
41 "default": "Estimate your road trip fuel costs and emissions."
42 },
43 "showTitle": {
44 "type": "boolean",
45 "default": true
46 },
47 "showSubtitle": {
48 "type": "boolean",
49 "default": true
50 },
51 "unit": {
52 "type": "string",
53 "default": "mpg"
54 },
55 "currency": {
56 "type": "string",
57 "default": "$"
58 },
59 "defaultDist": {
60 "type": "number",
61 "default": 300
62 },
63 "defaultEff": {
64 "type": "number",
65 "default": 30
66 },
67 "defaultPrice": {
68 "type": "number",
69 "default": 3.5
70 },
71 "defaultPassengers": {
72 "type": "number",
73 "default": 2
74 },
75 "showRoundTrip": {
76 "type": "boolean",
77 "default": true
78 },
79 "showPerPerson": {
80 "type": "boolean",
81 "default": true
82 },
83 "showCO2": {
84 "type": "boolean",
85 "default": true
86 },
87 "showLitres": {
88 "type": "boolean",
89 "default": true
90 },
91 "accentColor": {
92 "type": "string",
93 "default": "#6c3fb5"
94 },
95 "cardBg": {
96 "type": "string",
97 "default": "#ffffff"
98 },
99 "resultBg": {
100 "type": "string",
101 "default": "#f5f3ff"
102 },
103 "resultBorder": {
104 "type": "string",
105 "default": "#ede9fe"
106 },
107 "totalColor": {
108 "type": "string",
109 "default": "#6c3fb5"
110 },
111 "statCardBg": {
112 "type": "string",
113 "default": "#f9fafb"
114 },
115 "co2Color": {
116 "type": "string",
117 "default": "#10b981"
118 },
119 "titleColor": {
120 "type": "string",
121 "default": "#1e1b4b"
122 },
123 "subtitleColor": {
124 "type": "string",
125 "default": "#6b7280"
126 },
127 "labelColor": {
128 "type": "string",
129 "default": "#374151"
130 },
131 "sectionBg": {
132 "type": "string",
133 "default": ""
134 },
135 "titleSize": {
136 "type": "number",
137 "default": 28
138 },
139 "resultSize": {
140 "type": "number",
141 "default": 52
142 },
143 "typoTitle": {
144 "type": "object",
145 "default": {}
146 },
147 "typoSubtitle": {
148 "type": "object",
149 "default": {}
150 },
151 "typoResult": {
152 "type": "object",
153 "default": {}
154 },
155 "cardRadius": {
156 "type": "number",
157 "default": 16
158 },
159 "inputRadius": {
160 "type": "number",
161 "default": 8
162 },
163 "maxWidth": {
164 "type": "number",
165 "default": 620
166 },
167 "paddingTop": {
168 "type": "number",
169 "default": 60
170 },
171 "paddingBottom": {
172 "type": "number",
173 "default": 60
174 }
175 }
176 }
177