| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "blockspare/shape-divider", |
| 5 |
"title": "Shape Divider", |
| 6 |
"category": "blockspare", |
| 7 |
"description": "SVG shape dividers to create smooth transitions between page sections.", |
| 8 |
"attributes": { |
| 9 |
"align": { |
| 10 |
"type": "string", |
| 11 |
"default": "full" |
| 12 |
}, |
| 13 |
"design": { |
| 14 |
"type": "string", |
| 15 |
"default": "double-wave" |
| 16 |
}, |
| 17 |
"layer1Shadow": { |
| 18 |
"type": "boolean", |
| 19 |
"default": false |
| 20 |
}, |
| 21 |
"width": { |
| 22 |
"type": "number", |
| 23 |
"default": 1 |
| 24 |
}, |
| 25 |
"height": { |
| 26 |
"type": "number", |
| 27 |
"default": 150 |
| 28 |
}, |
| 29 |
"verticalFlip": { |
| 30 |
"type": "boolean", |
| 31 |
"default": false |
| 32 |
}, |
| 33 |
"horizontalFlip": { |
| 34 |
"type": "boolean", |
| 35 |
"default": false |
| 36 |
}, |
| 37 |
"color": { |
| 38 |
"type": "string", |
| 39 |
"default": "#141618" |
| 40 |
}, |
| 41 |
"marginTop": { |
| 42 |
"type": "number", |
| 43 |
"default": 30 |
| 44 |
}, |
| 45 |
"marginBottom": { |
| 46 |
"type": "number", |
| 47 |
"default": 30 |
| 48 |
}, |
| 49 |
"marginLeft": { |
| 50 |
"type": "number", |
| 51 |
"default": 0 |
| 52 |
}, |
| 53 |
"marginRight": { |
| 54 |
"type": "number", |
| 55 |
"default": 0 |
| 56 |
}, |
| 57 |
"uniqueClass": { |
| 58 |
"type": "string", |
| 59 |
"default": "" |
| 60 |
}, |
| 61 |
"animation": { |
| 62 |
"type": "string", |
| 63 |
"default": "" |
| 64 |
}, |
| 65 |
"blockHoverEffect": { |
| 66 |
"type": "string", |
| 67 |
"default": "" |
| 68 |
} |
| 69 |
}, |
| 70 |
"editorScript": "file:./index.js", |
| 71 |
"editorStyle": "file:./index.css", |
| 72 |
"style": "file:./style-index.css" |
| 73 |
} |