| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"version": "0.0.2", |
| 5 |
"title": "Button", |
| 6 |
"name": "tableberg/button", |
| 7 |
"parent": ["tableberg/cell"], |
| 8 |
"category": "design", |
| 9 |
"icon": "button", |
| 10 |
"description": "Tableberg Button: Add a button to your tableberg table", |
| 11 |
"attributes": { |
| 12 |
"text": { |
| 13 |
"type": "string" |
| 14 |
}, |
| 15 |
"width": { |
| 16 |
"type": "number" |
| 17 |
}, |
| 18 |
"backgroundColor": { |
| 19 |
"type": "string" |
| 20 |
}, |
| 21 |
"textColor": { |
| 22 |
"type": "string" |
| 23 |
}, |
| 24 |
"backgroundHoverColor": { |
| 25 |
"type": "string" |
| 26 |
}, |
| 27 |
"textHoverColor": { |
| 28 |
"type": "string" |
| 29 |
}, |
| 30 |
"textAlign": { |
| 31 |
"type": "string" |
| 32 |
}, |
| 33 |
"id": { |
| 34 |
"type": "string" |
| 35 |
}, |
| 36 |
"url": { |
| 37 |
"type": "string" |
| 38 |
}, |
| 39 |
"linkTarget": { |
| 40 |
"type": "string" |
| 41 |
}, |
| 42 |
"rel": { |
| 43 |
"type": "string" |
| 44 |
} |
| 45 |
}, |
| 46 |
"supports": { |
| 47 |
"html": false, |
| 48 |
"typography": { |
| 49 |
"fontSize": true |
| 50 |
}, |
| 51 |
"__experimentalBorder": { |
| 52 |
"radius": true |
| 53 |
} |
| 54 |
}, |
| 55 |
"textdomain": "tableberg", |
| 56 |
"editorScript": "file:./index.tsx", |
| 57 |
"editorStyle": "file:./index.css", |
| 58 |
"style": "file:./style-index.css" |
| 59 |
} |
| 60 |
|