| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"version": "0.1.0", |
| 5 |
"title": "Button", |
| 6 |
"name": "tableberg/button", |
| 7 |
"parent": [ |
| 8 |
"tableberg/cell" |
| 9 |
], |
| 10 |
"category": "design", |
| 11 |
"description": "Tableberg Button: Add a button to your tableberg table", |
| 12 |
"attributes": { |
| 13 |
"text": { |
| 14 |
"type": "string" |
| 15 |
}, |
| 16 |
"width": { |
| 17 |
"type": "number" |
| 18 |
}, |
| 19 |
"padding": { |
| 20 |
"type": "object", |
| 21 |
"default": {} |
| 22 |
}, |
| 23 |
"backgroundColor": { |
| 24 |
"type": "string" |
| 25 |
}, |
| 26 |
"backgroundGradient": { |
| 27 |
"type": "string" |
| 28 |
}, |
| 29 |
"textColor": { |
| 30 |
"type": "string" |
| 31 |
}, |
| 32 |
"backgroundHoverGradient": { |
| 33 |
"type": "string" |
| 34 |
}, |
| 35 |
"backgroundHoverColor": { |
| 36 |
"type": "string" |
| 37 |
}, |
| 38 |
"textHoverColor": { |
| 39 |
"type": "string" |
| 40 |
}, |
| 41 |
"align": { |
| 42 |
"type": "string", |
| 43 |
"default": "left" |
| 44 |
}, |
| 45 |
"textAlign": { |
| 46 |
"type": "string" |
| 47 |
}, |
| 48 |
"id": { |
| 49 |
"type": "string" |
| 50 |
}, |
| 51 |
"url": { |
| 52 |
"type": "string" |
| 53 |
}, |
| 54 |
"linkTarget": { |
| 55 |
"type": "string" |
| 56 |
}, |
| 57 |
"rel": { |
| 58 |
"type": "string" |
| 59 |
} |
| 60 |
}, |
| 61 |
"supports": { |
| 62 |
"html": false, |
| 63 |
"typography": { |
| 64 |
"fontSize": true |
| 65 |
}, |
| 66 |
"__experimentalBorder": { |
| 67 |
"radius": true |
| 68 |
} |
| 69 |
}, |
| 70 |
"example": { |
| 71 |
"attributes": { |
| 72 |
"text": "Button" |
| 73 |
} |
| 74 |
}, |
| 75 |
"textdomain": "tableberg", |
| 76 |
"editorScript": "tableberg-script", |
| 77 |
"editorStyle": "tableberg-editor-style", |
| 78 |
"style": "tableberg-style" |
| 79 |
} |