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 / offer-card / block.json

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

238 lines 5.8 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/offer-card",
5 "version": "1.0.0",
6 "title": "Offer Card",
7 "category": "bkbg-marketing",
8 "icon": "tag",
9 "description": "Special offer and deal card with urgency badge, original/sale price, includes list, CTA, and optional countdown timer.",
10 "keywords": [
11 "offer",
12 "deal",
13 "sale",
14 "price",
15 "countdown",
16 "urgency",
17 "card",
18 "promo"
19 ],
20 "textdomain": "blockenberg",
21 "editorScript": "bkbg-offer-card-editor",
22 "style": "bkbg-offer-card-style",
23 "viewScript": "bkbg-offer-card-frontend",
24 "supports": {
25 "html": false,
26 "align": [
27 "wide",
28 "full"
29 ]
30 },
31 "attributes": {
32 "badge": {
33 "type": "string",
34 "default": "🔥 Limited Time"
35 },
36 "showBadge": {
37 "type": "boolean",
38 "default": true
39 },
40 "badgeStyle": {
41 "type": "string",
42 "default": "hot"
43 },
44 "heading": {
45 "type": "string",
46 "default": "Get lifetime access — today only"
47 },
48 "description": {
49 "type": "string",
50 "default": "Everything you need to launch, grow, and scale. One-time payment, no subscriptions."
51 },
52 "originalPrice": {
53 "type": "string",
54 "default": "497"
55 },
56 "salePrice": {
57 "type": "string",
58 "default": "197"
59 },
60 "currency": {
61 "type": "string",
62 "default": "$"
63 },
64 "showPrice": {
65 "type": "boolean",
66 "default": true
67 },
68 "includes": {
69 "type": "array",
70 "default": [
71 {
72 "text": "Full course access (42 lessons)"
73 },
74 {
75 "text": "Private community membership"
76 },
77 {
78 "text": "Monthly live Q&A sessions"
79 },
80 {
81 "text": "Lifetime updates included"
82 },
83 {
84 "text": "30-day money-back guarantee"
85 }
86 ]
87 },
88 "showIncludes": {
89 "type": "boolean",
90 "default": true
91 },
92 "ctaLabel": {
93 "type": "string",
94 "default": "Get instant access →"
95 },
96 "ctaUrl": {
97 "type": "string",
98 "default": "#"
99 },
100 "ctaOpenNewTab": {
101 "type": "boolean",
102 "default": false
103 },
104 "showCountdown": {
105 "type": "boolean",
106 "default": true
107 },
108 "countdownEnd": {
109 "type": "string",
110 "default": ""
111 },
112 "disclaimer": {
113 "type": "string",
114 "default": "Secure checkout · 30-day refund · Cancel anytime"
115 },
116 "showDisclaimer": {
117 "type": "boolean",
118 "default": true
119 },
120 "layout": {
121 "type": "string",
122 "default": "card"
123 },
124 "accentColor": {
125 "type": "string",
126 "default": "#7c3aed"
127 },
128 "bgColor": {
129 "type": "string",
130 "default": "#ffffff"
131 },
132 "cardBg": {
133 "type": "string",
134 "default": "#ffffff"
135 },
136 "badgeBg": {
137 "type": "string",
138 "default": "#fef2f2"
139 },
140 "badgeColor": {
141 "type": "string",
142 "default": "#b91c1c"
143 },
144 "ctaBg": {
145 "type": "string",
146 "default": "#7c3aed"
147 },
148 "ctaColor": {
149 "type": "string",
150 "default": "#ffffff"
151 },
152 "priceColor": {
153 "type": "string",
154 "default": "#111827"
155 },
156 "strikethroughColor": {
157 "type": "string",
158 "default": "#9ca3af"
159 },
160 "headingColor": {
161 "type": "string",
162 "default": "#111827"
163 },
164 "descColor": {
165 "type": "string",
166 "default": "#6b7280"
167 },
168 "includeColor": {
169 "type": "string",
170 "default": "#374151"
171 },
172 "checkColor": {
173 "type": "string",
174 "default": "#16a34a"
175 },
176 "disclaimerColor": {
177 "type": "string",
178 "default": "#9ca3af"
179 },
180 "borderColor": {
181 "type": "string",
182 "default": "#e5e7eb"
183 },
184 "borderRadius": {
185 "type": "integer",
186 "default": 16
187 },
188 "maxWidth": {
189 "type": "integer",
190 "default": 540
191 },
192 "paddingTop": {
193 "type": "integer",
194 "default": 64
195 },
196 "paddingBottom": {
197 "type": "integer",
198 "default": 64
199 },
200 "headingFontSize": {
201 "type": "number",
202 "default": 22
203 },
204 "headingFontWeight": {
205 "type": "number",
206 "default": 700
207 },
208 "headingLineHeight": {
209 "type": "number",
210 "default": 1.3
211 },
212 "descFontSize": {
213 "type": "number",
214 "default": 15
215 },
216 "descLineHeight": {
217 "type": "number",
218 "default": 1.6
219 },
220 "ctaFontSize": {
221 "type": "number",
222 "default": 15
223 },
224 "headingTypo": {
225 "type": "object",
226 "default": {}
227 },
228 "descTypo": {
229 "type": "object",
230 "default": {}
231 },
232 "ctaTypo": {
233 "type": "object",
234 "default": {}
235 }
236 }
237 }
238