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 / unit-converter / block.json

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

165 lines 4.0 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/unit-converter",
5 "title": "Unit Converter",
6 "category": "bkbg-calculators",
7 "icon": "editor-expand",
8 "description": "Interactive unit conversion tool supporting length, weight, temperature, volume, area, and speed. Users can switch categories, enter a value, and instantly see the converted result.",
9 "keywords": [
10 "unit",
11 "converter",
12 "length",
13 "weight",
14 "temperature",
15 "volume",
16 "area",
17 "speed",
18 "metric",
19 "imperial",
20 "calculator"
21 ],
22 "textdomain": "blockenberg",
23 "editorScript": "bkbg-unit-converter-editor",
24 "style": "bkbg-unit-converter-style",
25 "viewScript": "bkbg-unit-converter-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": "Unit Converter"
39 },
40 "showTitle": {
41 "type": "boolean",
42 "default": true
43 },
44 "subtitle": {
45 "type": "string",
46 "default": "Instantly convert between metric and imperial units."
47 },
48 "showSubtitle": {
49 "type": "boolean",
50 "default": true
51 },
52 "defaultCategory": {
53 "type": "string",
54 "default": "length"
55 },
56 "showCategoryTabs": {
57 "type": "boolean",
58 "default": true
59 },
60 "enabledCategories": {
61 "type": "array",
62 "default": [
63 "length",
64 "weight",
65 "temperature",
66 "volume",
67 "area",
68 "speed"
69 ]
70 },
71 "showSwapButton": {
72 "type": "boolean",
73 "default": true
74 },
75 "showFormula": {
76 "type": "boolean",
77 "default": false
78 },
79 "decimalPlaces": {
80 "type": "number",
81 "default": 4
82 },
83 "accentColor": {
84 "type": "string",
85 "default": "#6c3fb5"
86 },
87 "tabActiveBg": {
88 "type": "string",
89 "default": "#6c3fb5"
90 },
91 "tabActiveColor": {
92 "type": "string",
93 "default": "#ffffff"
94 },
95 "tabInactiveBg": {
96 "type": "string",
97 "default": "#f3f4f6"
98 },
99 "tabInactiveColor": {
100 "type": "string",
101 "default": "#374151"
102 },
103 "cardBg": {
104 "type": "string",
105 "default": "#ffffff"
106 },
107 "resultBg": {
108 "type": "string",
109 "default": "#f5f3ff"
110 },
111 "resultBorder": {
112 "type": "string",
113 "default": "#ede9fe"
114 },
115 "resultColor": {
116 "type": "string",
117 "default": "#6c3fb5"
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 "bgColor": {
132 "type": "string",
133 "default": ""
134 },
135 "titleTypo": {
136 "type": "object",
137 "default": {}
138 },
139 "subtitleTypo": {
140 "type": "object",
141 "default": {}
142 },
143 "resultSize": {
144 "type": "number",
145 "default": 40
146 },
147 "cardRadius": {
148 "type": "number",
149 "default": 16
150 },
151 "maxWidth": {
152 "type": "number",
153 "default": 640
154 },
155 "paddingTop": {
156 "type": "number",
157 "default": 60
158 },
159 "paddingBottom": {
160 "type": "number",
161 "default": 60
162 }
163 }
164 }
165