| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 4 |
"name": "blockenberg/pricing-table", |
| 5 |
"title": "Pricing Table", |
| 6 |
"category": "bkbg-marketing", |
| 7 |
"icon": "products", |
| 8 |
"description": "Pricing card with plan name, price, features list, and CTA button. Highlight popular plans with a badge.", |
| 9 |
"keywords": [ |
| 10 |
"pricing", |
| 11 |
"plan", |
| 12 |
"price", |
| 13 |
"table", |
| 14 |
"card", |
| 15 |
"subscription", |
| 16 |
"tariff" |
| 17 |
], |
| 18 |
"textdomain": "blockenberg", |
| 19 |
"editorScript": "bkbg-pricing-table-editor", |
| 20 |
"editorStyle": "bkbg-pricing-table-style", |
| 21 |
"style": "bkbg-pricing-table-style", |
| 22 |
"viewScript": "bkbg-pricing-table-frontend", |
| 23 |
"supports": { |
| 24 |
"html": false, |
| 25 |
"anchor": true, |
| 26 |
"className": true, |
| 27 |
"align": [ |
| 28 |
"wide", |
| 29 |
"full" |
| 30 |
] |
| 31 |
}, |
| 32 |
"attributes": { |
| 33 |
"planName": { |
| 34 |
"type": "string", |
| 35 |
"default": "Professional" |
| 36 |
}, |
| 37 |
"planDescription": { |
| 38 |
"type": "string", |
| 39 |
"default": "Perfect for growing teams and projects" |
| 40 |
}, |
| 41 |
"currency": { |
| 42 |
"type": "string", |
| 43 |
"default": "$" |
| 44 |
}, |
| 45 |
"currencyPosition": { |
| 46 |
"type": "string", |
| 47 |
"default": "before" |
| 48 |
}, |
| 49 |
"price": { |
| 50 |
"type": "string", |
| 51 |
"default": "49" |
| 52 |
}, |
| 53 |
"pricePeriod": { |
| 54 |
"type": "string", |
| 55 |
"default": "/month" |
| 56 |
}, |
| 57 |
"priceSubtext": { |
| 58 |
"type": "string", |
| 59 |
"default": "Billed annually" |
| 60 |
}, |
| 61 |
"features": { |
| 62 |
"type": "array", |
| 63 |
"default": [ |
| 64 |
{ |
| 65 |
"text": "Unlimited projects", |
| 66 |
"included": true, |
| 67 |
"icon": "dashicons-yes-alt" |
| 68 |
}, |
| 69 |
{ |
| 70 |
"text": "Advanced analytics", |
| 71 |
"included": true, |
| 72 |
"icon": "dashicons-yes-alt" |
| 73 |
}, |
| 74 |
{ |
| 75 |
"text": "Priority support", |
| 76 |
"included": true, |
| 77 |
"icon": "dashicons-yes-alt" |
| 78 |
}, |
| 79 |
{ |
| 80 |
"text": "Custom integrations", |
| 81 |
"included": true, |
| 82 |
"icon": "dashicons-yes-alt" |
| 83 |
}, |
| 84 |
{ |
| 85 |
"text": "White label exports", |
| 86 |
"included": false, |
| 87 |
"icon": "dashicons-no-alt" |
| 88 |
}, |
| 89 |
{ |
| 90 |
"text": "Dedicated manager", |
| 91 |
"included": false, |
| 92 |
"icon": "dashicons-no-alt" |
| 93 |
} |
| 94 |
] |
| 95 |
}, |
| 96 |
"buttonText": { |
| 97 |
"type": "string", |
| 98 |
"default": "Get Started" |
| 99 |
}, |
| 100 |
"buttonUrl": { |
| 101 |
"type": "string", |
| 102 |
"default": "#" |
| 103 |
}, |
| 104 |
"buttonTarget": { |
| 105 |
"type": "boolean", |
| 106 |
"default": false |
| 107 |
}, |
| 108 |
"isPopular": { |
| 109 |
"type": "boolean", |
| 110 |
"default": true |
| 111 |
}, |
| 112 |
"popularLabel": { |
| 113 |
"type": "string", |
| 114 |
"default": "Most Popular" |
| 115 |
}, |
| 116 |
"cardStyle": { |
| 117 |
"type": "string", |
| 118 |
"default": "shadow" |
| 119 |
}, |
| 120 |
"layout": { |
| 121 |
"type": "string", |
| 122 |
"default": "vertical" |
| 123 |
}, |
| 124 |
"iconStyle": { |
| 125 |
"type": "string", |
| 126 |
"default": "dashicons" |
| 127 |
}, |
| 128 |
"showDescription": { |
| 129 |
"type": "boolean", |
| 130 |
"default": true |
| 131 |
}, |
| 132 |
"showPriceSubtext": { |
| 133 |
"type": "boolean", |
| 134 |
"default": true |
| 135 |
}, |
| 136 |
"showFeatureDivider": { |
| 137 |
"type": "boolean", |
| 138 |
"default": true |
| 139 |
}, |
| 140 |
"featureListStyle": { |
| 141 |
"type": "string", |
| 142 |
"default": "icon" |
| 143 |
}, |
| 144 |
"accentColor": { |
| 145 |
"type": "string", |
| 146 |
"default": "#2563eb" |
| 147 |
}, |
| 148 |
"accentColorSecondary": { |
| 149 |
"type": "string", |
| 150 |
"default": "#1e40af" |
| 151 |
}, |
| 152 |
"cardBg": { |
| 153 |
"type": "string", |
| 154 |
"default": "#ffffff" |
| 155 |
}, |
| 156 |
"cardBorderColor": { |
| 157 |
"type": "string", |
| 158 |
"default": "#e2e8f0" |
| 159 |
}, |
| 160 |
"cardBorderWidth": { |
| 161 |
"type": "number", |
| 162 |
"default": 2 |
| 163 |
}, |
| 164 |
"cardBorderRadius": { |
| 165 |
"type": "number", |
| 166 |
"default": 16 |
| 167 |
}, |
| 168 |
"cardPaddingTop": { |
| 169 |
"type": "number", |
| 170 |
"default": 36 |
| 171 |
}, |
| 172 |
"cardPaddingRight": { |
| 173 |
"type": "number", |
| 174 |
"default": 32 |
| 175 |
}, |
| 176 |
"cardPaddingBottom": { |
| 177 |
"type": "number", |
| 178 |
"default": 36 |
| 179 |
}, |
| 180 |
"cardPaddingLeft": { |
| 181 |
"type": "number", |
| 182 |
"default": 32 |
| 183 |
}, |
| 184 |
"nameTypo": { |
| 185 |
"type": "object", |
| 186 |
"default": {} |
| 187 |
}, |
| 188 |
"descTypo": { |
| 189 |
"type": "object", |
| 190 |
"default": {} |
| 191 |
}, |
| 192 |
"priceTypo": { |
| 193 |
"type": "object", |
| 194 |
"default": {} |
| 195 |
}, |
| 196 |
"featureTypo": { |
| 197 |
"type": "object", |
| 198 |
"default": {} |
| 199 |
}, |
| 200 |
"btnTypo": { |
| 201 |
"type": "object", |
| 202 |
"default": {} |
| 203 |
}, |
| 204 |
"planNameColor": { |
| 205 |
"type": "string", |
| 206 |
"default": "#0f172a" |
| 207 |
}, |
| 208 |
"descriptionColor": { |
| 209 |
"type": "string", |
| 210 |
"default": "#64748b" |
| 211 |
}, |
| 212 |
"priceColor": { |
| 213 |
"type": "string", |
| 214 |
"default": "#0f172a" |
| 215 |
}, |
| 216 |
"currencySize": { |
| 217 |
"type": "number", |
| 218 |
"default": 24 |
| 219 |
}, |
| 220 |
"periodSize": { |
| 221 |
"type": "number", |
| 222 |
"default": 16 |
| 223 |
}, |
| 224 |
"periodColor": { |
| 225 |
"type": "string", |
| 226 |
"default": "#64748b" |
| 227 |
}, |
| 228 |
"priceSubtextSize": { |
| 229 |
"type": "number", |
| 230 |
"default": 13 |
| 231 |
}, |
| 232 |
"priceSubtextColor": { |
| 233 |
"type": "string", |
| 234 |
"default": "#94a3b8" |
| 235 |
}, |
| 236 |
"featureColor": { |
| 237 |
"type": "string", |
| 238 |
"default": "#334155" |
| 239 |
}, |
| 240 |
"featureExcludedColor": { |
| 241 |
"type": "string", |
| 242 |
"default": "#94a3b8" |
| 243 |
}, |
| 244 |
"featureIncludedIconColor": { |
| 245 |
"type": "string", |
| 246 |
"default": "#22c55e" |
| 247 |
}, |
| 248 |
"featureExcludedIconColor": { |
| 249 |
"type": "string", |
| 250 |
"default": "#cbd5e1" |
| 251 |
}, |
| 252 |
"featureGap": { |
| 253 |
"type": "number", |
| 254 |
"default": 12 |
| 255 |
}, |
| 256 |
"btnBg": { |
| 257 |
"type": "string", |
| 258 |
"default": "#2563eb" |
| 259 |
}, |
| 260 |
"btnColor": { |
| 261 |
"type": "string", |
| 262 |
"default": "#ffffff" |
| 263 |
}, |
| 264 |
"btnBgHover": { |
| 265 |
"type": "string", |
| 266 |
"default": "#1d4ed8" |
| 267 |
}, |
| 268 |
"btnColorHover": { |
| 269 |
"type": "string", |
| 270 |
"default": "#ffffff" |
| 271 |
}, |
| 272 |
"btnBorderColor": { |
| 273 |
"type": "string", |
| 274 |
"default": "#2563eb" |
| 275 |
}, |
| 276 |
"btnBorderWidth": { |
| 277 |
"type": "number", |
| 278 |
"default": 2 |
| 279 |
}, |
| 280 |
"btnBorderRadius": { |
| 281 |
"type": "number", |
| 282 |
"default": 8 |
| 283 |
}, |
| 284 |
"btnPaddingV": { |
| 285 |
"type": "number", |
| 286 |
"default": 14 |
| 287 |
}, |
| 288 |
"btnWidth": { |
| 289 |
"type": "string", |
| 290 |
"default": "full" |
| 291 |
}, |
| 292 |
"badgeBg": { |
| 293 |
"type": "string", |
| 294 |
"default": "#2563eb" |
| 295 |
}, |
| 296 |
"badgeColor": { |
| 297 |
"type": "string", |
| 298 |
"default": "#ffffff" |
| 299 |
}, |
| 300 |
"badgeSize": { |
| 301 |
"type": "number", |
| 302 |
"default": 12 |
| 303 |
}, |
| 304 |
"badgeBorderRadius": { |
| 305 |
"type": "number", |
| 306 |
"default": 50 |
| 307 |
}, |
| 308 |
"headerBg": { |
| 309 |
"type": "string", |
| 310 |
"default": "transparent" |
| 311 |
}, |
| 312 |
"headerStyle": { |
| 313 |
"type": "string", |
| 314 |
"default": "default" |
| 315 |
}, |
| 316 |
"sectionGap": { |
| 317 |
"type": "number", |
| 318 |
"default": 24 |
| 319 |
} |
| 320 |
} |
| 321 |
} |
| 322 |
|