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

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

271 lines 7.3 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/price-calculator",
5 "title": "Price Calculator",
6 "category": "bkbg-calculators",
7 "icon": "calculator",
8 "description": "Interactive SaaS pricing calculator with sliders, toggle switches, checkbox add-ons, and live price calculation. Supports monthly/annual billing and custom formulas.",
9 "keywords": [
10 "calculator",
11 "pricing",
12 "price",
13 "saas",
14 "slider",
15 "addons",
16 "billing"
17 ],
18 "textdomain": "blockenberg",
19 "editorScript": "bkbg-price-calculator-editor",
20 "style": "bkbg-price-calculator-style",
21 "viewScript": "bkbg-price-calculator-frontend",
22 "supports": {
23 "html": false,
24 "anchor": true,
25 "className": true,
26 "align": [
27 "wide",
28 "full"
29 ]
30 },
31 "attributes": {
32 "title": {
33 "type": "string",
34 "default": "Calculate Your Price"
35 },
36 "subtitle": {
37 "type": "string",
38 "default": "Adjust the sliders to see your custom quote instantly."
39 },
40 "currency": {
41 "type": "string",
42 "default": "$"
43 },
44 "currencyPos": {
45 "type": "string",
46 "default": "before"
47 },
48 "billingToggle": {
49 "type": "boolean",
50 "default": true
51 },
52 "annualDiscount": {
53 "type": "number",
54 "default": 20
55 },
56 "sliders": {
57 "type": "array",
58 "default": [
59 {
60 "id": "sl1",
61 "label": "Team Members",
62 "unit": "users",
63 "min": 1,
64 "max": 50,
65 "step": 1,
66 "value": 5,
67 "pricePerUnit": 12,
68 "icon": "\ud83d\udc65",
69 "iconType": "custom-char",
70 "iconDashicon": "",
71 "iconImageUrl": ""
72 },
73 {
74 "id": "sl2",
75 "label": "Storage",
76 "unit": "GB",
77 "min": 10,
78 "max": 1000,
79 "step": 10,
80 "value": 100,
81 "pricePerUnit": 0.05,
82 "icon": "\ud83d\udcbe",
83 "iconType": "custom-char",
84 "iconDashicon": "",
85 "iconImageUrl": ""
86 },
87 {
88 "id": "sl3",
89 "label": "API Calls / month",
90 "unit": "k calls",
91 "min": 10,
92 "max": 500,
93 "step": 10,
94 "value": 50,
95 "pricePerUnit": 0.01,
96 "icon": "\u26a1",
97 "iconType": "custom-char",
98 "iconDashicon": "",
99 "iconImageUrl": ""
100 }
101 ]
102 },
103 "addons": {
104 "type": "array",
105 "default": [
106 {
107 "id": "a1",
108 "label": "Priority Support",
109 "price": 29,
110 "checked": false,
111 "icon": "\ud83c\udfa7",
112 "iconType": "custom-char",
113 "iconDashicon": "",
114 "iconImageUrl": ""
115 },
116 {
117 "id": "a2",
118 "label": "Advanced Analytics",
119 "price": 19,
120 "checked": false,
121 "icon": "\ud83d\udcca",
122 "iconType": "custom-char",
123 "iconDashicon": "",
124 "iconImageUrl": ""
125 },
126 {
127 "id": "a3",
128 "label": "SSO / SAML",
129 "price": 49,
130 "checked": false,
131 "icon": "\ud83d\udd10",
132 "iconType": "custom-char",
133 "iconDashicon": "",
134 "iconImageUrl": ""
135 }
136 ]
137 },
138 "basePrice": {
139 "type": "number",
140 "default": 0
141 },
142 "ctaLabel": {
143 "type": "string",
144 "default": "Get Started"
145 },
146 "ctaUrl": {
147 "type": "string",
148 "default": "#"
149 },
150 "ctaNewTab": {
151 "type": "boolean",
152 "default": false
153 },
154 "priceNote": {
155 "type": "string",
156 "default": "per month, billed monthly"
157 },
158 "priceNoteAnnual": {
159 "type": "string",
160 "default": "per month, billed annually"
161 },
162 "maxWidth": {
163 "type": "number",
164 "default": 720
165 },
166 "cardRadius": {
167 "type": "number",
168 "default": 20
169 },
170 "cardPadding": {
171 "type": "number",
172 "default": 40
173 },
174 "sliderRadius": {
175 "type": "number",
176 "default": 99
177 },
178 "btnRadius": {
179 "type": "number",
180 "default": 10
181 },
182 "accentColor": {
183 "type": "string",
184 "default": "#6c3fb5"
185 },
186 "sliderTrack": {
187 "type": "string",
188 "default": "#e5e7eb"
189 },
190 "sliderFill": {
191 "type": "string",
192 "default": "#6c3fb5"
193 },
194 "sliderThumb": {
195 "type": "string",
196 "default": "#6c3fb5"
197 },
198 "cardBg": {
199 "type": "string",
200 "default": "#ffffff"
201 },
202 "cardBorder": {
203 "type": "string",
204 "default": "#e5e7eb"
205 },
206 "priceBg": {
207 "type": "string",
208 "default": "#f9fafb"
209 },
210 "priceBorder": {
211 "type": "string",
212 "default": "#e5e7eb"
213 },
214 "btnBg": {
215 "type": "string",
216 "default": "#6c3fb5"
217 },
218 "btnColor": {
219 "type": "string",
220 "default": "#ffffff"
221 },
222 "titleColor": {
223 "type": "string",
224 "default": "#111827"
225 },
226 "subtitleColor": {
227 "type": "string",
228 "default": "#6b7280"
229 },
230 "labelColor": {
231 "type": "string",
232 "default": "#374151"
233 },
234 "priceColor": {
235 "type": "string",
236 "default": "#111827"
237 },
238 "priceAccent": {
239 "type": "string",
240 "default": "#6c3fb5"
241 },
242 "titleTypo": {
243 "type": "object",
244 "default": {}
245 },
246 "subtitleTypo": {
247 "type": "object",
248 "default": {}
249 },
250 "priceTypo": {
251 "type": "object",
252 "default": {}
253 },
254 "labelTypo": {
255 "type": "object",
256 "default": {}
257 },
258 "bgColor": {
259 "type": "string",
260 "default": ""
261 },
262 "paddingTop": {
263 "type": "number",
264 "default": 64
265 },
266 "paddingBottom": {
267 "type": "number",
268 "default": 64
269 }
270 }
271 }