PluginProbe
bBlocks – Essential Gutenberg Blocks & Patterns Collection / 2.1.7
bBlocks – Essential Gutenberg Blocks & Patterns Collection v2.1.7
2.1.7 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.0.43 2.0.42 2.0.41 2.0.40 2.0.39 2.0.38 trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.5.1 1.5.2 1.5.3 1.5.4 All 107 releases
b-blocks / build / expand-content / block.json

block.json in bBlocks – Essential Gutenberg Blocks & Patterns Collection 2.1.7, at build/expand-content/block.json

358 lines 8.3 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": "b-blocks/expand-content",
5 "title": "Expand Content",
6 "description": "Wrap any inner blocks in a collapsible reveal. The first portion is visible behind a fade overlay and a Show More / Show Less button toggles the rest. Accessible and reduced-motion aware.",
7 "category": "bBlocks",
8 "keywords": [
9 "expand",
10 "read more",
11 "show more",
12 "collapse",
13 "truncate"
14 ],
15 "textdomain": "b-blocks",
16 "attributes": {
17 "align": {
18 "type": "string",
19 "default": ""
20 },
21 "buttons": {
22 "type": "object",
23 "default": {
24 "showMore": "Show More",
25 "showLess": "Show Less",
26 "isShowCollapse": true,
27 "persistState": false,
28 "alignment": "center"
29 }
30 },
31 "layout": {
32 "type": "object",
33 "default": {
34 "previewHeight": "200px",
35 "fadeHeight": "80px",
36 "fadeColor": "#ffffff"
37 }
38 },
39 "styles": {
40 "type": "object",
41 "default": {
42 "buttons": {
43 "showMore": {
44 "padding": {
45 "top": "",
46 "right": "",
47 "bottom": "",
48 "left": ""
49 },
50 "border": {},
51 "radius": {},
52 "color": "#ffffff",
53 "bg": {
54 "color": "#0073aa"
55 },
56 "typo": {
57 "fontSize": {
58 "desktop": "",
59 "tablet": "",
60 "mobile": ""
61 }
62 }
63 },
64 "showLess": {
65 "padding": {
66 "top": "",
67 "right": "",
68 "bottom": "",
69 "left": ""
70 },
71 "border": {},
72 "radius": {},
73 "color": "#ffffff",
74 "bg": {
75 "color": "#0073aa"
76 },
77 "typo": {
78 "fontSize": {
79 "desktop": "",
80 "tablet": "",
81 "mobile": ""
82 }
83 }
84 }
85 }
86 }
87 },
88 "advanced": {
89 "type": "object",
90 "default": {
91 "dimension": {
92 "padding": {
93 "desktop": {
94 "top": "",
95 "right": "",
96 "bottom": "",
97 "left": ""
98 },
99 "tablet": {
100 "top": "",
101 "right": "",
102 "bottom": "",
103 "left": ""
104 },
105 "mobile": {
106 "top": "",
107 "right": "",
108 "bottom": "",
109 "left": ""
110 }
111 }
112 },
113 "borderShadow": {
114 "normal": {
115 "radius": {
116 "top": "",
117 "right": "",
118 "bottom": "",
119 "left": ""
120 },
121 "shadow": [
122 {
123 "hOffset": "",
124 "vOffset": "",
125 "blur": "",
126 "spreed": "",
127 "color": "#7090b000",
128 "isInset": false
129 }
130 ],
131 "border": {
132 "color": "#dddddd",
133 "style": "solid",
134 "width": "1px"
135 }
136 }
137 },
138 "background": {
139 "normal": {
140 "type": "color",
141 "color": "",
142 "gradient": {
143 "type": "radial",
144 "radialType": "ellipse",
145 "colors": [
146 {
147 "color": "rgba(58, 66, 222, 1)",
148 "position": "0"
149 },
150 {
151 "color": "rgba(176, 195, 235, 1)",
152 "position": "80"
153 }
154 ],
155 "centerPositions": {
156 "x": 50,
157 "y": 50
158 },
159 "angel": 90
160 },
161 "img": {
162 "url": "",
163 "desktop": {
164 "position": "center-center",
165 "xPosition": 0,
166 "yPosition": 0,
167 "attachment": "",
168 "repeat": "no-repeat",
169 "size": "",
170 "customSize": "0px"
171 },
172 "tablet": {
173 "position": "center-center",
174 "xPosition": 0,
175 "yPosition": 0,
176 "attachment": "",
177 "repeat": "no-repeat",
178 "size": "",
179 "customSize": "0px"
180 },
181 "mobile": {
182 "position": "center-center",
183 "xPosition": 0,
184 "yPosition": 0,
185 "attachment": "",
186 "repeat": "no-repeat",
187 "size": "",
188 "customSize": "0px"
189 }
190 },
191 "transition": 0.3
192 }
193 },
194 "transform": {
195 "normal": {
196 "rotate": {
197 "desktop": {
198 "z": "",
199 "y": "",
200 "x": ""
201 },
202 "tablet": {
203 "z": "",
204 "y": "",
205 "x": ""
206 },
207 "mobile": {
208 "z": "",
209 "y": "",
210 "x": ""
211 },
212 "threeDRotate": false
213 },
214 "offset": {
215 "desktop": {
216 "x": "",
217 "y": ""
218 },
219 "tablet": {
220 "x": "",
221 "y": ""
222 },
223 "mobile": {
224 "x": "",
225 "y": ""
226 }
227 },
228 "scale": {
229 "isProportion": true,
230 "desktop": {
231 "x": "",
232 "y": "",
233 "scale": ""
234 },
235 "tablet": {
236 "x": "",
237 "y": "",
238 "scale": ""
239 },
240 "mobile": {
241 "x": "",
242 "y": "",
243 "scale": ""
244 }
245 },
246 "skew": {
247 "desktop": {
248 "x": "",
249 "y": ""
250 },
251 "tablet": {
252 "x": "",
253 "y": ""
254 },
255 "mobile": {
256 "x": "",
257 "y": ""
258 }
259 },
260 "flipX": false,
261 "flipY": false
262 },
263 "hover": {
264 "rotate": {
265 "desktop": {
266 "z": "",
267 "y": "",
268 "x": ""
269 },
270 "tablet": {
271 "z": "",
272 "y": "",
273 "x": ""
274 },
275 "mobile": {
276 "z": "",
277 "y": "",
278 "x": ""
279 },
280 "threeDRotate": false
281 },
282 "offset": {
283 "desktop": {
284 "x": "",
285 "y": ""
286 },
287 "tablet": {
288 "x": "",
289 "y": ""
290 },
291 "mobile": {
292 "x": "",
293 "y": ""
294 }
295 },
296 "scale": {
297 "isProportion": true,
298 "desktop": {
299 "x": "",
300 "y": "",
301 "scale": ""
302 },
303 "tablet": {
304 "x": "",
305 "y": "",
306 "scale": ""
307 },
308 "mobile": {
309 "x": "",
310 "y": "",
311 "scale": ""
312 }
313 },
314 "skew": {
315 "desktop": {
316 "x": "",
317 "y": ""
318 },
319 "tablet": {
320 "x": "",
321 "y": ""
322 },
323 "mobile": {
324 "x": "",
325 "y": ""
326 }
327 },
328 "flipX": false,
329 "flipY": false
330 },
331 "transition": 200
332 }
333 }
334 },
335 "animationDuration": {
336 "type": "number",
337 "default": 300
338 }
339 },
340 "supports": {
341 "align": [
342 "wide",
343 "full"
344 ],
345 "html": false,
346 "className": true,
347 "customClassName": true
348 },
349 "example": {
350 "attributes": {
351 "preview": true
352 }
353 },
354 "editorScript": "file:../index.js",
355 "style": "file:./view.css",
356 "render": "file:./render.php",
357 "viewScript": "file:./view.js"
358 }