| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"textdomain": "getwid", |
| 5 |
"name": "getwid/button-group", |
| 6 |
"description": "Arranges buttons in a customizable group.", |
| 7 |
"category": "getwid-blocks", |
| 8 |
"title": "Button Group", |
| 9 |
"attributes": { |
| 10 |
"spacing": { |
| 11 |
"type": "string", |
| 12 |
"default": "" |
| 13 |
}, |
| 14 |
"alignment": { |
| 15 |
"type": "string", |
| 16 |
"default": "left" |
| 17 |
}, |
| 18 |
"alignmentTablet": { |
| 19 |
"type": "string", |
| 20 |
"default": "" |
| 21 |
}, |
| 22 |
"alignmentMobile": { |
| 23 |
"type": "string", |
| 24 |
"default": "" |
| 25 |
}, |
| 26 |
"direction": { |
| 27 |
"type": "string", |
| 28 |
"default": "row" |
| 29 |
}, |
| 30 |
"directionTablet": { |
| 31 |
"type": "string", |
| 32 |
"default": "" |
| 33 |
}, |
| 34 |
"directionMobile": { |
| 35 |
"type": "string", |
| 36 |
"default": "" |
| 37 |
}, |
| 38 |
"width": { |
| 39 |
"type": "string", |
| 40 |
"default": "auto" |
| 41 |
}, |
| 42 |
"widthTablet": { |
| 43 |
"type": "string", |
| 44 |
"default": "auto" |
| 45 |
}, |
| 46 |
"widthMobile": { |
| 47 |
"type": "string", |
| 48 |
"default": "auto" |
| 49 |
} |
| 50 |
}, |
| 51 |
"editorScript": "file:./index.js", |
| 52 |
"editorStyle": "file:./index.css", |
| 53 |
"style": "file:./style-index.css" |
| 54 |
} |