PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.6
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.6
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 / accordion / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.6, at blocks/accordion/block.json

244 lines 5.4 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/accordion",
5 "title": "Accordion",
6 "category": "blockenberg",
7 "icon": "list-view",
8 "description": "Collapsible accordion panels for FAQ, features, and more.",
9 "keywords": ["accordion", "faq", "collapse", "toggle", "expand", "question", "answer"],
10 "textdomain": "blockenberg",
11 "editorScript": "bkbg-accordion-editor",
12 "editorStyle": "bkbg-accordion-style",
13 "style": "bkbg-accordion-style",
14 "viewScript": "bkbg-accordion-frontend",
15 "supports": {
16 "html": false,
17 "anchor": true,
18 "className": true,
19 "align": ["wide", "full"]
20 },
21 "attributes": {
22 "items": {
23 "type": "array",
24 "default": [
25 { "title": "What is this accordion block?", "content": "This is a fully customizable accordion block for WordPress. You can add unlimited items, style them any way you want, and they work great for FAQs, feature lists, and more." },
26 { "title": "How do I add new items?", "content": "Simply click the \"+ Add Item\" button below the accordion, or use the sidebar panel to manage your items. You can also reorder items by dragging or using the arrow buttons." },
27 { "title": "Can I customize the appearance?", "content": "Yes! Use the Inspector panel on the right to customize colors, typography, spacing, icons, animations, and more. All changes are reflected in real-time." }
28 ]
29 },
30 "activeItems": {
31 "type": "array",
32 "default": [0]
33 },
34 "allowMultiple": {
35 "type": "boolean",
36 "default": false
37 },
38 "firstOpen": {
39 "type": "boolean",
40 "default": true
41 },
42 "collapseAll": {
43 "type": "boolean",
44 "default": false
45 },
46 "iconType": {
47 "type": "string",
48 "default": "chevron"
49 },
50 "iconPosition": {
51 "type": "string",
52 "default": "right"
53 },
54 "accordionStyle": {
55 "type": "string",
56 "default": "default"
57 },
58 "gap": {
59 "type": "number",
60 "default": 12
61 },
62 "borderRadius": {
63 "type": "number",
64 "default": 8
65 },
66 "borderWidth": {
67 "type": "number",
68 "default": 1
69 },
70 "borderStyle": {
71 "type": "string",
72 "default": "solid"
73 },
74 "headerPaddingTop": {
75 "type": "number",
76 "default": 16
77 },
78 "headerPaddingRight": {
79 "type": "number",
80 "default": 20
81 },
82 "headerPaddingBottom": {
83 "type": "number",
84 "default": 16
85 },
86 "headerPaddingLeft": {
87 "type": "number",
88 "default": 20
89 },
90 "contentPaddingTop": {
91 "type": "number",
92 "default": 16
93 },
94 "contentPaddingRight": {
95 "type": "number",
96 "default": 20
97 },
98 "contentPaddingBottom": {
99 "type": "number",
100 "default": 20
101 },
102 "contentPaddingLeft": {
103 "type": "number",
104 "default": 20
105 },
106 "headerBg": {
107 "type": "string",
108 "default": "#f8fafc"
109 },
110 "headerBgHover": {
111 "type": "string",
112 "default": "#f1f5f9"
113 },
114 "headerBgActive": {
115 "type": "string",
116 "default": "#e2e8f0"
117 },
118 "headerColor": {
119 "type": "string",
120 "default": "#1e293b"
121 },
122 "headerColorHover": {
123 "type": "string",
124 "default": "#0f172a"
125 },
126 "headerColorActive": {
127 "type": "string",
128 "default": "#0f172a"
129 },
130 "contentBg": {
131 "type": "string",
132 "default": "#ffffff"
133 },
134 "contentColor": {
135 "type": "string",
136 "default": "#475569"
137 },
138 "borderColor": {
139 "type": "string",
140 "default": "#e2e8f0"
141 },
142 "borderColorActive": {
143 "type": "string",
144 "default": "#cbd5e1"
145 },
146 "iconColor": {
147 "type": "string",
148 "default": "#64748b"
149 },
150 "iconColorActive": {
151 "type": "string",
152 "default": "#3b82f6"
153 },
154 "accentColor": {
155 "type": "string",
156 "default": "#3b82f6"
157 },
158 "headerFontSize": {
159 "type": "number",
160 "default": 16
161 },
162 "headerFontWeight": {
163 "type": "number",
164 "default": 600
165 },
166 "headerLineHeight": {
167 "type": "number",
168 "default": 1.4
169 },
170 "contentFontSize": {
171 "type": "number",
172 "default": 15
173 },
174 "contentFontWeight": {
175 "type": "number",
176 "default": 400
177 },
178 "contentLineHeight": {
179 "type": "number",
180 "default": 1.7
181 },
182 "iconSize": {
183 "type": "number",
184 "default": 20
185 },
186 "enableShadow": {
187 "type": "boolean",
188 "default": true
189 },
190 "shadowHorizontal": {
191 "type": "number",
192 "default": 0
193 },
194 "shadowVertical": {
195 "type": "number",
196 "default": 2
197 },
198 "shadowBlur": {
199 "type": "number",
200 "default": 8
201 },
202 "shadowSpread": {
203 "type": "number",
204 "default": 0
205 },
206 "shadowColor": {
207 "type": "string",
208 "default": "rgba(0, 0, 0, 0.06)"
209 },
210 "enableHoverEffect": {
211 "type": "boolean",
212 "default": true
213 },
214 "enableAnimation": {
215 "type": "boolean",
216 "default": true
217 },
218 "animationDuration": {
219 "type": "number",
220 "default": 300
221 },
222 "animationType": {
223 "type": "string",
224 "default": "slide"
225 },
226 "dividerEnabled": {
227 "type": "boolean",
228 "default": true
229 },
230 "dividerColor": {
231 "type": "string",
232 "default": "#e2e8f0"
233 },
234 "dividerWidth": {
235 "type": "number",
236 "default": 1
237 },
238 "schemaEnabled": {
239 "type": "boolean",
240 "default": false
241 }
242 }
243 }
244