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 / gauge-chart / block.json

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

137 lines 3.3 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/gauge-chart",
5 "version": "1.0.0",
6 "title": "Gauge Chart",
7 "category": "bkbg-charts",
8 "icon": "chart-pie",
9 "description": "SVG semicircular gauge / speedometer that animates on scroll with configurable color zones.",
10 "textdomain": "blockenberg",
11 "editorScript": "bkbg-gauge-chart-editor",
12 "editorStyle": "bkbg-gauge-chart-style",
13 "style": "bkbg-gauge-chart-style",
14 "viewScript": "bkbg-gauge-chart-frontend",
15 "supports": {
16 "html": false,
17 "align": [
18 "wide",
19 "full"
20 ]
21 },
22 "attributes": {
23 "value": {
24 "type": "number",
25 "default": 72
26 },
27 "minValue": {
28 "type": "number",
29 "default": 0
30 },
31 "maxValue": {
32 "type": "number",
33 "default": 100
34 },
35 "label": {
36 "type": "string",
37 "default": "Performance Score"
38 },
39 "unit": {
40 "type": "string",
41 "default": "%"
42 },
43 "size": {
44 "type": "number",
45 "default": 260
46 },
47 "strokeWidth": {
48 "type": "number",
49 "default": 18
50 },
51 "showNeedle": {
52 "type": "boolean",
53 "default": false
54 },
55 "showValue": {
56 "type": "boolean",
57 "default": true
58 },
59 "showLabel": {
60 "type": "boolean",
61 "default": true
62 },
63 "showTicks": {
64 "type": "boolean",
65 "default": true
66 },
67 "tickCount": {
68 "type": "number",
69 "default": 10
70 },
71 "animateDuration": {
72 "type": "number",
73 "default": 1200
74 },
75 "colorZones": {
76 "type": "array",
77 "default": [
78 {
79 "from": 0,
80 "to": 33,
81 "color": "#ef4444"
82 },
83 {
84 "from": 33,
85 "to": 66,
86 "color": "#f59e0b"
87 },
88 {
89 "from": 66,
90 "to": 100,
91 "color": "#22c55e"
92 }
93 ]
94 },
95 "trackColor": {
96 "type": "string",
97 "default": "#e5e7eb"
98 },
99 "valueFontSize": {
100 "type": "number",
101 "default": 40
102 },
103 "valueColor": {
104 "type": "string",
105 "default": "#111827"
106 },
107 "labelColor": {
108 "type": "string",
109 "default": "#6b7280"
110 },
111 "labelFontSize": {
112 "type": "number",
113 "default": 14
114 },
115 "typoValue": {
116 "type": "object",
117 "default": {}
118 },
119 "typoLabel": {
120 "type": "object",
121 "default": {}
122 },
123 "needleColor": {
124 "type": "string",
125 "default": "#374151"
126 },
127 "bgColor": {
128 "type": "string",
129 "default": ""
130 },
131 "align": {
132 "type": "string",
133 "default": "center"
134 }
135 }
136 }
137