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 / decision-matrix / block.json

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

222 lines 5.5 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/decision-matrix",
5 "title": "Decision Matrix",
6 "category": "bkbg-blog",
7 "icon": "grid-view",
8 "description": "Weighted criteria scoring matrix to compare options and surface the best decision with totals and a winner highlight.",
9 "keywords": [
10 "decision",
11 "matrix",
12 "comparison",
13 "criteria",
14 "scoring",
15 "weighted",
16 "table",
17 "evaluate",
18 "options"
19 ],
20 "textdomain": "blockenberg",
21 "editorScript": "bkbg-decision-matrix-editor",
22 "editorStyle": "bkbg-decision-matrix-style",
23 "style": "bkbg-decision-matrix-style",
24 "viewScript": "bkbg-decision-matrix-frontend",
25 "supports": {
26 "html": false,
27 "anchor": true,
28 "className": true,
29 "align": [
30 "wide",
31 "full"
32 ]
33 },
34 "attributes": {
35 "blockTitle": {
36 "type": "string",
37 "default": "Decision Matrix"
38 },
39 "showTitle": {
40 "type": "boolean",
41 "default": true
42 },
43 "blockSubtitle": {
44 "type": "string",
45 "default": "Scores are 1–10. Weighted totals determine the winner."
46 },
47 "showSubtitle": {
48 "type": "boolean",
49 "default": true
50 },
51 "options": {
52 "type": "array",
53 "default": [
54 {
55 "name": "Option A",
56 "scores": [
57 8,
58 6,
59 9,
60 7
61 ]
62 },
63 {
64 "name": "Option B",
65 "scores": [
66 6,
67 9,
68 7,
69 8
70 ]
71 },
72 {
73 "name": "Option C",
74 "scores": [
75 9,
76 7,
77 5,
78 9
79 ]
80 }
81 ]
82 },
83 "criteria": {
84 "type": "array",
85 "default": [
86 {
87 "label": "Cost Efficiency",
88 "weight": 4
89 },
90 {
91 "label": "Time to Implement",
92 "weight": 3
93 },
94 {
95 "label": "User Impact",
96 "weight": 5
97 },
98 {
99 "label": "Scalability",
100 "weight": 2
101 }
102 ]
103 },
104 "showWeights": {
105 "type": "boolean",
106 "default": true
107 },
108 "showRawScores": {
109 "type": "boolean",
110 "default": true
111 },
112 "showWinner": {
113 "type": "boolean",
114 "default": true
115 },
116 "showProgressBars": {
117 "type": "boolean",
118 "default": false
119 },
120 "scoreMax": {
121 "type": "number",
122 "default": 10
123 },
124 "fontSize": {
125 "type": "number",
126 "default": 14
127 },
128 "titleFontSize": {
129 "type": "number",
130 "default": 24
131 },
132 "subtitleFontSize": {
133 "type": "number",
134 "default": 14
135 },
136 "winnerFontSize": {
137 "type": "number",
138 "default": 15
139 },
140 "typoTitle": {
141 "type": "object",
142 "default": {}
143 },
144 "typoSubtitle": {
145 "type": "object",
146 "default": {}
147 },
148 "typoCell": {
149 "type": "object",
150 "default": {}
151 },
152 "borderRadius": {
153 "type": "number",
154 "default": 10
155 },
156 "bgColor": {
157 "type": "string",
158 "default": ""
159 },
160 "headerBg": {
161 "type": "string",
162 "default": "#1e293b"
163 },
164 "headerColor": {
165 "type": "string",
166 "default": "#ffffff"
167 },
168 "criteriaLabelBg": {
169 "type": "string",
170 "default": "#f1f5f9"
171 },
172 "criteriaLabelColor": {
173 "type": "string",
174 "default": "#475569"
175 },
176 "cellBg": {
177 "type": "string",
178 "default": "#ffffff"
179 },
180 "cellColor": {
181 "type": "string",
182 "default": "#374151"
183 },
184 "borderColor": {
185 "type": "string",
186 "default": "#e2e8f0"
187 },
188 "winnerBg": {
189 "type": "string",
190 "default": "#eff6ff"
191 },
192 "winnerColor": {
193 "type": "string",
194 "default": "#1d4ed8"
195 },
196 "winnerBorderColor": {
197 "type": "string",
198 "default": "#3b82f6"
199 },
200 "totalRowBg": {
201 "type": "string",
202 "default": "#f8fafc"
203 },
204 "totalRowColor": {
205 "type": "string",
206 "default": "#0f172a"
207 },
208 "accentColor": {
209 "type": "string",
210 "default": "#3b82f6"
211 },
212 "titleColor": {
213 "type": "string",
214 "default": "#0f172a"
215 },
216 "subtitleColor": {
217 "type": "string",
218 "default": "#64748b"
219 }
220 }
221 }
222