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

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

200 lines 5.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/funnel-chart",
5 "title": "Funnel Chart",
6 "category": "bkbg-charts",
7 "icon": "filter",
8 "description": "Marketing and conversion funnel chart. Show stages with counts, percentages, and drop-off rates. Supports both vertical and horizontal layouts.",
9 "keywords": [
10 "funnel",
11 "conversion",
12 "marketing",
13 "pipeline",
14 "stages",
15 "sales"
16 ],
17 "textdomain": "blockenberg",
18 "editorScript": "bkbg-funnel-chart-editor",
19 "style": "bkbg-funnel-chart-style",
20 "viewScript": "bkbg-funnel-chart-frontend",
21 "supports": {
22 "html": false,
23 "anchor": true,
24 "className": true,
25 "align": [
26 "wide",
27 "full"
28 ]
29 },
30 "attributes": {
31 "title": {
32 "type": "string",
33 "default": "Conversion Funnel"
34 },
35 "subtitle": {
36 "type": "string",
37 "default": ""
38 },
39 "stages": {
40 "type": "array",
41 "default": [
42 {
43 "id": "s1",
44 "label": "Website Visitors",
45 "value": 10000,
46 "icon": "👁️",
47 "iconType": "custom-char",
48 "iconDashicon": "",
49 "iconImageUrl": "",
50 "color": "#6c3fb5"
51 },
52 {
53 "id": "s2",
54 "label": "Sign Ups",
55 "value": 3200,
56 "icon": "✍️",
57 "iconType": "custom-char",
58 "iconDashicon": "",
59 "iconImageUrl": "",
60 "color": "#8b5cf6"
61 },
62 {
63 "id": "s3",
64 "label": "Free Trial",
65 "value": 1400,
66 "icon": "🎁",
67 "iconType": "custom-char",
68 "iconDashicon": "",
69 "iconImageUrl": "",
70 "color": "#a78bfa"
71 },
72 {
73 "id": "s4",
74 "label": "Paid Customers",
75 "value": 520,
76 "icon": "💳",
77 "iconType": "custom-char",
78 "iconDashicon": "",
79 "iconImageUrl": "",
80 "color": "#c4b5fd"
81 },
82 {
83 "id": "s5",
84 "label": "Loyal Advocates",
85 "value": 180,
86 "icon": "",
87 "iconType": "custom-char",
88 "iconDashicon": "",
89 "iconImageUrl": "",
90 "color": "#ddd6fe"
91 }
92 ]
93 },
94 "orientation": {
95 "type": "string",
96 "default": "vertical"
97 },
98 "style": {
99 "type": "string",
100 "default": "trapezoid"
101 },
102 "showValues": {
103 "type": "boolean",
104 "default": true
105 },
106 "showPercent": {
107 "type": "boolean",
108 "default": true
109 },
110 "showDropOff": {
111 "type": "boolean",
112 "default": true
113 },
114 "showIcons": {
115 "type": "boolean",
116 "default": true
117 },
118 "valueFormat": {
119 "type": "string",
120 "default": "number"
121 },
122 "maxWidth": {
123 "type": "number",
124 "default": 600
125 },
126 "stageHeight": {
127 "type": "number",
128 "default": 64
129 },
130 "stageGap": {
131 "type": "number",
132 "default": 4
133 },
134 "labelSize": {
135 "type": "string",
136 "default": "15"
137 },
138 "valueSize": {
139 "type": "string",
140 "default": "14"
141 },
142 "labelColor": {
143 "type": "string",
144 "default": "#ffffff"
145 },
146 "bgColor": {
147 "type": "string",
148 "default": ""
149 },
150 "cardBg": {
151 "type": "string",
152 "default": "#ffffff"
153 },
154 "cardRadius": {
155 "type": "number",
156 "default": 16
157 },
158 "titleColor": {
159 "type": "string",
160 "default": "#111827"
161 },
162 "titleSize": {
163 "type": "number",
164 "default": 22
165 },
166 "typoTitle": {
167 "type": "object",
168 "default": {}
169 },
170 "typoSubtitle": {
171 "type": "object",
172 "default": {}
173 },
174 "typoLabel": {
175 "type": "object",
176 "default": {}
177 },
178 "typoValue": {
179 "type": "object",
180 "default": {}
181 },
182 "subtitleColor": {
183 "type": "string",
184 "default": "#6b7280"
185 },
186 "dropOffColor": {
187 "type": "string",
188 "default": "#ef4444"
189 },
190 "paddingTop": {
191 "type": "number",
192 "default": 0
193 },
194 "paddingBottom": {
195 "type": "number",
196 "default": 0
197 }
198 }
199 }
200