| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"name": "b-blocks/row", |
| 4 |
"title": "Row", |
| 5 |
"description": "Implement row and column layout.", |
| 6 |
"category": "bBlocks", |
| 7 |
"keywords": [ |
| 8 |
"row", |
| 9 |
"columns", |
| 10 |
"multi columns" |
| 11 |
], |
| 12 |
"textdomain": "b-blocks", |
| 13 |
"attributes": { |
| 14 |
"align": { |
| 15 |
"type": "string", |
| 16 |
"default": "wide" |
| 17 |
}, |
| 18 |
"layout": { |
| 19 |
"type": "object", |
| 20 |
"default": { |
| 21 |
"type": "flex", |
| 22 |
"desktop": { |
| 23 |
"direction": "row", |
| 24 |
"justify": "", |
| 25 |
"alignItems": "", |
| 26 |
"columnGap": "", |
| 27 |
"wrap": "wrap", |
| 28 |
"alignContent": "", |
| 29 |
"gridJustify": "", |
| 30 |
"gridAlignItems": "", |
| 31 |
"gridColumns": "", |
| 32 |
"gridRows": "" |
| 33 |
}, |
| 34 |
"tablet": { |
| 35 |
"direction": "", |
| 36 |
"justify": "", |
| 37 |
"alignItems": "", |
| 38 |
"columnGap": "", |
| 39 |
"wrap": "", |
| 40 |
"alignContent": "", |
| 41 |
"gridJustify": "", |
| 42 |
"gridAlignItems": "", |
| 43 |
"gridColumns": "", |
| 44 |
"gridRows": "" |
| 45 |
}, |
| 46 |
"mobile": { |
| 47 |
"direction": "", |
| 48 |
"justify": "", |
| 49 |
"alignItems": "", |
| 50 |
"columnGap": "", |
| 51 |
"wrap": "", |
| 52 |
"alignContent": "", |
| 53 |
"gridJustify": "", |
| 54 |
"gridAlignItems": "", |
| 55 |
"gridColumns": "", |
| 56 |
"gridRows": "" |
| 57 |
} |
| 58 |
} |
| 59 |
}, |
| 60 |
"columns": { |
| 61 |
"type": "number" |
| 62 |
}, |
| 63 |
"columnGap": { |
| 64 |
"type": "string", |
| 65 |
"default": "0px" |
| 66 |
}, |
| 67 |
"heightType": { |
| 68 |
"type": "string", |
| 69 |
"default": "auto" |
| 70 |
}, |
| 71 |
"height": { |
| 72 |
"type": "string", |
| 73 |
"default": "0px" |
| 74 |
}, |
| 75 |
"columnPositionY": { |
| 76 |
"type": "string", |
| 77 |
"default": "center" |
| 78 |
}, |
| 79 |
"columnPositionX": { |
| 80 |
"type": "string", |
| 81 |
"default": "center" |
| 82 |
}, |
| 83 |
"overflow": { |
| 84 |
"type": "string", |
| 85 |
"default": "hidden" |
| 86 |
}, |
| 87 |
"background": { |
| 88 |
"type": "object", |
| 89 |
"default": { |
| 90 |
"color": "" |
| 91 |
} |
| 92 |
}, |
| 93 |
"padding": { |
| 94 |
"type": "object", |
| 95 |
"default": { |
| 96 |
"vertical": "0px", |
| 97 |
"horizontal": "0px" |
| 98 |
} |
| 99 |
}, |
| 100 |
"border": { |
| 101 |
"type": "object", |
| 102 |
"default": {} |
| 103 |
}, |
| 104 |
"shadow": { |
| 105 |
"type": "object", |
| 106 |
"default": {} |
| 107 |
}, |
| 108 |
"advanced": { |
| 109 |
"type": "object", |
| 110 |
"default": { |
| 111 |
"dimension": { |
| 112 |
"padding": { |
| 113 |
"desktop": { |
| 114 |
"top": "", |
| 115 |
"right": "", |
| 116 |
"bottom": "", |
| 117 |
"left": "" |
| 118 |
} |
| 119 |
} |
| 120 |
}, |
| 121 |
"borderShadow": { |
| 122 |
"normal": { |
| 123 |
"border": { |
| 124 |
"width": "", |
| 125 |
"style": "", |
| 126 |
"color": "" |
| 127 |
}, |
| 128 |
"radius": { |
| 129 |
"top": "", |
| 130 |
"right": "", |
| 131 |
"bottom": "", |
| 132 |
"left": "" |
| 133 |
}, |
| 134 |
"shadow": [] |
| 135 |
} |
| 136 |
}, |
| 137 |
"transform": { |
| 138 |
"normal": { |
| 139 |
"rotate": { |
| 140 |
"desktop": { |
| 141 |
"z": "", |
| 142 |
"y": "", |
| 143 |
"x": "" |
| 144 |
}, |
| 145 |
"tablet": { |
| 146 |
"z": "", |
| 147 |
"y": "", |
| 148 |
"x": "" |
| 149 |
}, |
| 150 |
"mobile": { |
| 151 |
"z": "", |
| 152 |
"y": "", |
| 153 |
"x": "" |
| 154 |
}, |
| 155 |
"threeDRotate": false |
| 156 |
}, |
| 157 |
"offset": { |
| 158 |
"desktop": { |
| 159 |
"x": "", |
| 160 |
"y": "" |
| 161 |
}, |
| 162 |
"tablet": { |
| 163 |
"x": "", |
| 164 |
"y": "" |
| 165 |
}, |
| 166 |
"mobile": { |
| 167 |
"x": "", |
| 168 |
"y": "" |
| 169 |
} |
| 170 |
}, |
| 171 |
"scale": { |
| 172 |
"isProportion": true, |
| 173 |
"desktop": { |
| 174 |
"x": "", |
| 175 |
"y": "", |
| 176 |
"scale": "" |
| 177 |
}, |
| 178 |
"tablet": { |
| 179 |
"x": "", |
| 180 |
"y": "", |
| 181 |
"scale": "" |
| 182 |
}, |
| 183 |
"mobile": { |
| 184 |
"x": "", |
| 185 |
"y": "", |
| 186 |
"scale": "" |
| 187 |
} |
| 188 |
}, |
| 189 |
"skew": { |
| 190 |
"desktop": { |
| 191 |
"x": "", |
| 192 |
"y": "" |
| 193 |
}, |
| 194 |
"tablet": { |
| 195 |
"x": "", |
| 196 |
"y": "" |
| 197 |
}, |
| 198 |
"mobile": { |
| 199 |
"x": "", |
| 200 |
"y": "" |
| 201 |
} |
| 202 |
}, |
| 203 |
"flipX": false, |
| 204 |
"flipY": false |
| 205 |
}, |
| 206 |
"hover": { |
| 207 |
"rotate": { |
| 208 |
"desktop": { |
| 209 |
"z": "", |
| 210 |
"y": "", |
| 211 |
"x": "" |
| 212 |
}, |
| 213 |
"tablet": { |
| 214 |
"z": "", |
| 215 |
"y": "", |
| 216 |
"x": "" |
| 217 |
}, |
| 218 |
"mobile": { |
| 219 |
"z": "", |
| 220 |
"y": "", |
| 221 |
"x": "" |
| 222 |
}, |
| 223 |
"threeDRotate": false |
| 224 |
}, |
| 225 |
"offset": { |
| 226 |
"desktop": { |
| 227 |
"x": "", |
| 228 |
"y": "" |
| 229 |
}, |
| 230 |
"tablet": { |
| 231 |
"x": "", |
| 232 |
"y": "" |
| 233 |
}, |
| 234 |
"mobile": { |
| 235 |
"x": "", |
| 236 |
"y": "" |
| 237 |
} |
| 238 |
}, |
| 239 |
"scale": { |
| 240 |
"isProportion": true, |
| 241 |
"desktop": { |
| 242 |
"x": "", |
| 243 |
"y": "", |
| 244 |
"scale": "" |
| 245 |
}, |
| 246 |
"tablet": { |
| 247 |
"x": "", |
| 248 |
"y": "", |
| 249 |
"scale": "" |
| 250 |
}, |
| 251 |
"mobile": { |
| 252 |
"x": "", |
| 253 |
"y": "", |
| 254 |
"scale": "" |
| 255 |
} |
| 256 |
}, |
| 257 |
"skew": { |
| 258 |
"desktop": { |
| 259 |
"x": "", |
| 260 |
"y": "" |
| 261 |
}, |
| 262 |
"tablet": { |
| 263 |
"x": "", |
| 264 |
"y": "" |
| 265 |
}, |
| 266 |
"mobile": { |
| 267 |
"x": "", |
| 268 |
"y": "" |
| 269 |
} |
| 270 |
}, |
| 271 |
"flipX": false, |
| 272 |
"flipY": false |
| 273 |
}, |
| 274 |
"transition": 200 |
| 275 |
}, |
| 276 |
"background": { |
| 277 |
"normal": { |
| 278 |
"type": "color", |
| 279 |
"color": "", |
| 280 |
"gradient": { |
| 281 |
"type": "radial", |
| 282 |
"radialType": "ellipse", |
| 283 |
"colors": [ |
| 284 |
{ |
| 285 |
"color": "", |
| 286 |
"position": "0" |
| 287 |
}, |
| 288 |
{ |
| 289 |
"color": "", |
| 290 |
"position": "80" |
| 291 |
} |
| 292 |
], |
| 293 |
"centerPositions": { |
| 294 |
"x": 50, |
| 295 |
"y": 50 |
| 296 |
}, |
| 297 |
"angel": 90 |
| 298 |
}, |
| 299 |
"img": { |
| 300 |
"url": "", |
| 301 |
"desktop": { |
| 302 |
"position": "center center", |
| 303 |
"xPosition": 0, |
| 304 |
"yPosition": 0, |
| 305 |
"attachment": "", |
| 306 |
"repeat": "no-repeat", |
| 307 |
"size": "", |
| 308 |
"customSize": "0px" |
| 309 |
}, |
| 310 |
"tablet": { |
| 311 |
"position": "center center", |
| 312 |
"xPosition": 0, |
| 313 |
"yPosition": 0, |
| 314 |
"attachment": "", |
| 315 |
"repeat": "no-repeat", |
| 316 |
"size": "", |
| 317 |
"customSize": "0px" |
| 318 |
}, |
| 319 |
"mobile": { |
| 320 |
"position": "center center", |
| 321 |
"xPosition": 0, |
| 322 |
"yPosition": 0, |
| 323 |
"attachment": "", |
| 324 |
"repeat": "no-repeat", |
| 325 |
"size": "", |
| 326 |
"customSize": "0px" |
| 327 |
} |
| 328 |
}, |
| 329 |
"video": { |
| 330 |
"url": "", |
| 331 |
"loop": false |
| 332 |
}, |
| 333 |
"transition": 0.3 |
| 334 |
} |
| 335 |
} |
| 336 |
} |
| 337 |
} |
| 338 |
}, |
| 339 |
"providesContext": { |
| 340 |
"b-blocks/rowColumns": "columns", |
| 341 |
"b-blocks/rowColumnGap": "columnGap" |
| 342 |
}, |
| 343 |
"supports": { |
| 344 |
"align": [ |
| 345 |
"wide", |
| 346 |
"full" |
| 347 |
], |
| 348 |
"html": false, |
| 349 |
"interactivity": { |
| 350 |
"clientNavigation": true |
| 351 |
} |
| 352 |
}, |
| 353 |
"example": { |
| 354 |
"attributes": { |
| 355 |
"preview": true |
| 356 |
} |
| 357 |
}, |
| 358 |
"editorScript": "file:../index.js", |
| 359 |
"style": "file:./view.css", |
| 360 |
"render": "file:./render.php", |
| 361 |
"viewScript": "file:./view.js" |
| 362 |
} |