| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"name": "b-blocks/shape-divider", |
| 4 |
"title": "Shape Divider", |
| 5 |
"description": "Create unique and visually appealing dividers.", |
| 6 |
"category": "bBlocks", |
| 7 |
"keywords": [ |
| 8 |
"shape divider", |
| 9 |
"svg shape", |
| 10 |
"dynamic divider" |
| 11 |
], |
| 12 |
"textdomain": "b-blocks", |
| 13 |
"attributes": { |
| 14 |
"align": { |
| 15 |
"type": "string", |
| 16 |
"default": "full" |
| 17 |
}, |
| 18 |
"background": { |
| 19 |
"type": "object", |
| 20 |
"default": { |
| 21 |
"type": "gradient", |
| 22 |
"gradient": "linear-gradient(135deg, #74E2D5, #7BCACF);" |
| 23 |
} |
| 24 |
}, |
| 25 |
"padding": { |
| 26 |
"type": "object", |
| 27 |
"default": { |
| 28 |
"top": "100px", |
| 29 |
"right": "0px", |
| 30 |
"bottom": "100px", |
| 31 |
"left": "0px" |
| 32 |
} |
| 33 |
}, |
| 34 |
"height": { |
| 35 |
"type": "object", |
| 36 |
"default": { |
| 37 |
"desktop": "100vh", |
| 38 |
"tablet": "100vh", |
| 39 |
"mobile": "100vh" |
| 40 |
} |
| 41 |
}, |
| 42 |
"shape": { |
| 43 |
"type": "string", |
| 44 |
"default": "waves-opacity" |
| 45 |
}, |
| 46 |
"shapePosition": { |
| 47 |
"type": "string", |
| 48 |
"default": "bottom" |
| 49 |
}, |
| 50 |
"isShapeSplite": { |
| 51 |
"type": "boolean", |
| 52 |
"default": false |
| 53 |
}, |
| 54 |
"shapeHeight": { |
| 55 |
"type": "object", |
| 56 |
"default": { |
| 57 |
"desktop": "150px", |
| 58 |
"tablet": "150px", |
| 59 |
"mobile": "150px" |
| 60 |
} |
| 61 |
}, |
| 62 |
"shapeWidth": { |
| 63 |
"type": "number", |
| 64 |
"default": 100 |
| 65 |
}, |
| 66 |
"shapeColor": { |
| 67 |
"type": "string", |
| 68 |
"default": "#fff" |
| 69 |
} |
| 70 |
}, |
| 71 |
"supports": { |
| 72 |
"align": [ |
| 73 |
"wide", |
| 74 |
"full" |
| 75 |
], |
| 76 |
"html": false |
| 77 |
}, |
| 78 |
"example": { |
| 79 |
"attributes": { |
| 80 |
"preview": true |
| 81 |
} |
| 82 |
}, |
| 83 |
"editorScript": "file:../index.js", |
| 84 |
"style": "file:./view.css", |
| 85 |
"render": "file:./render.php", |
| 86 |
"viewScript": "file:./view.js" |
| 87 |
} |