PluginProbe
bBlocks – Essential Gutenberg Blocks & Patterns Collection / 2.1.8
bBlocks – Essential Gutenberg Blocks & Patterns Collection v2.1.8
2.1.8 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 All 108 releases
b-blocks / build / slider / block.json

block.json in bBlocks – Essential Gutenberg Blocks & Patterns Collection 2.1.8, at build/slider/block.json

325 lines 6.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 3,
3 "name": "b-blocks/slider",
4 "title": "Slider",
5 "description": "Display image and content slider.",
6 "category": "bBlocks",
7 "keywords": [
8 "content slider",
9 "image slider",
10 "image carousel"
11 ],
12 "textdomain": "b-blocks",
13 "attributes": {
14 "align": {
15 "type": "string",
16 "default": ""
17 },
18 "slides": {
19 "type": "array",
20 "default": [
21 {
22 "background": {
23 "color": "#00000080"
24 },
25 "border": {},
26 "position": "center center",
27 "childPositions": [
28 {
29 "top": 36,
30 "right": 44.71,
31 "bottom": 44.5,
32 "left": 44.71
33 },
34 {
35 "top": 47.5,
36 "right": 34.67,
37 "bottom": 52.5,
38 "left": 34.67
39 },
40 {
41 "top": 55.5,
42 "right": 44.54,
43 "bottom": 67,
44 "left": 44.54
45 }
46 ],
47 "title": "Slide Title 1",
48 "titleColor": "#fff",
49 "description": "This content area describes slider 1 descriptions/details.",
50 "descColor": "#fff",
51 "btnText": "Button 1",
52 "btnLink": "#",
53 "btnColors": {
54 "color": "#fff",
55 "bg": "#146EF5"
56 },
57 "btnHovColors": {
58 "color": "#fff",
59 "bg": "#FF7A00"
60 }
61 },
62 {
63 "background": {
64 "color": "#00000080"
65 },
66 "border": {},
67 "position": "center center",
68 "childPositions": [
69 {
70 "top": 36,
71 "right": 44.71,
72 "bottom": 44.5,
73 "left": 44.71
74 },
75 {
76 "top": 47.5,
77 "right": 34.67,
78 "bottom": 52.5,
79 "left": 34.67
80 },
81 {
82 "top": 55.5,
83 "right": 44.54,
84 "bottom": 67,
85 "left": 44.54
86 }
87 ],
88 "title": "Slide Title 2",
89 "titleColor": "#fff",
90 "description": "This content area describes slider 2 descriptions/details.",
91 "descColor": "#fff",
92 "btnText": "Button 2",
93 "btnLink": "#",
94 "btnColors": {
95 "color": "#fff",
96 "bg": "#146EF5"
97 },
98 "btnHovColors": {
99 "color": "#fff",
100 "bg": "#FF7A00"
101 }
102 }
103 ]
104 },
105 "columns": {
106 "type": "object",
107 "default": {
108 "desktop": 1,
109 "tablet": 1,
110 "mobile": 1
111 }
112 },
113 "columnGap": {
114 "type": "number",
115 "default": 15
116 },
117 "sliderWidth": {
118 "type": "string",
119 "default": "100%"
120 },
121 "sliderHeight": {
122 "type": "string",
123 "default": "400px"
124 },
125 "sliderAlign": {
126 "type": "string",
127 "default": "center"
128 },
129 "isLoop": {
130 "type": "boolean",
131 "default": true
132 },
133 "isTouchMove": {
134 "type": "boolean",
135 "default": true
136 },
137 "speed": {
138 "type": "number",
139 "default": 1.5
140 },
141 "isAutoplay": {
142 "type": "boolean",
143 "default": true
144 },
145 "autoplayOptions": {
146 "type": "object",
147 "default": {
148 "delay": 1.5,
149 "disableOnInteraction": false,
150 "reverseDirection": false,
151 "pauseOnMouseEnter": false,
152 "stopOnLastSlide": false
153 }
154 },
155 "freeModeOptions": {
156 "type": "object",
157 "default": {
158 "enabled": false,
159 "sticky": false
160 }
161 },
162 "effect": {
163 "type": "string",
164 "default": "slide"
165 },
166 "keyboardOptions": {
167 "type": "object",
168 "default": {
169 "enabled": false
170 }
171 },
172 "isMousewheel": {
173 "type": "boolean",
174 "default": false
175 },
176 "isPage": {
177 "type": "boolean",
178 "default": true
179 },
180 "pageOnDevice": {
181 "type": "object",
182 "default": {
183 "tablet": true,
184 "mobile": true
185 }
186 },
187 "isPageClickable": {
188 "type": "boolean",
189 "default": true
190 },
191 "isPageDynamic": {
192 "type": "boolean",
193 "default": true
194 },
195 "isPrevNext": {
196 "type": "boolean",
197 "default": true
198 },
199 "prevNextOnDevice": {
200 "type": "object",
201 "default": {
202 "tablet": true,
203 "mobile": true
204 }
205 },
206 "sliderBG": {
207 "type": "object",
208 "default": {
209 "color": "#0000"
210 }
211 },
212 "sliderPadding": {
213 "type": "object",
214 "default": {
215 "vertical": "0px",
216 "horizontal": "0px"
217 }
218 },
219 "pageColor": {
220 "type": "string",
221 "default": "#fff"
222 },
223 "pageWidth": {
224 "type": "string",
225 "default": "15px"
226 },
227 "pageHeight": {
228 "type": "string",
229 "default": "15px"
230 },
231 "pageBorder": {
232 "type": "object",
233 "default": {
234 "radius": "50%"
235 }
236 },
237 "prevNextColor": {
238 "type": "string",
239 "default": "#fff"
240 },
241 "isTitle": {
242 "type": "boolean",
243 "default": true
244 },
245 "titleTypo": {
246 "type": "object",
247 "default": {
248 "fontSize": {
249 "desktop": "25px",
250 "tablet": "22px",
251 "mobile": "20px"
252 }
253 }
254 },
255 "isDesc": {
256 "type": "boolean",
257 "default": true
258 },
259 "descTypo": {
260 "type": "object",
261 "default": {
262 "fontSize": {
263 "desktop": "15px"
264 }
265 }
266 },
267 "descColor": {
268 "type": "string",
269 "default": ""
270 },
271 "isBtn": {
272 "type": "boolean",
273 "default": true
274 },
275 "linkTarget": {
276 "type": "string",
277 "default": "_blank"
278 },
279 "btnTypo": {
280 "type": "object",
281 "default": {
282 "fontSize": {
283 "desktop": "16px"
284 }
285 }
286 },
287 "btnPadding": {
288 "type": "object",
289 "default": {
290 "vertical": "12px",
291 "horizontal": "35px"
292 }
293 },
294 "btnBorder": {
295 "type": "object",
296 "default": {
297 "radius": "3px"
298 }
299 }
300 },
301 "supports": {
302 "align": [
303 "wide",
304 "full"
305 ],
306 "html": false
307 },
308 "example": {
309 "attributes": {
310 "preview": true,
311 "columns": {
312 "desktop": 1,
313 "tablet": 1,
314 "mobile": 1
315 }
316 }
317 },
318 "editorScript": "file:../index.js",
319 "style": "file:./view.css",
320 "render": "file:./render.php",
321 "viewScript": [
322 "file:./view.js",
323 "wp-util"
324 ]
325 }