| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "ghostkit/icon-box", |
| 5 |
"category": "ghostkit", |
| 6 |
"title": "Icon Box", |
| 7 |
"description": "Icons are one of the best visual replacement for text descriptions.", |
| 8 |
"keywords": ["icon", "icon-box"], |
| 9 |
"supports": { |
| 10 |
"html": false, |
| 11 |
"className": false, |
| 12 |
"anchor": true, |
| 13 |
"align": ["wide", "full"], |
| 14 |
"spacing": { |
| 15 |
"blockGap": true, |
| 16 |
"__experimentalDefaultControls": { |
| 17 |
"blockGap": true |
| 18 |
} |
| 19 |
}, |
| 20 |
"__experimentalLayout": true, |
| 21 |
"layout": true |
| 22 |
}, |
| 23 |
"attributes": { |
| 24 |
"icon": { |
| 25 |
"type": "string", |
| 26 |
"default": "%3Csvg%20class%3D%22ghostkit-svg-icon%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M16.7813%209.75C16.7813%207.10939%2014.6406%204.96875%2012%204.96875C9.35939%204.96875%207.21875%207.10939%207.21875%209.75C7.21875%2012.3906%209.35939%2014.5312%2012%2014.5312C14.6406%2014.5312%2016.7813%2012.3906%2016.7813%209.75Z%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M8.15625%2018C10.6023%2019.25%2013.3977%2019.25%2015.8437%2018%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E" |
| 27 |
}, |
| 28 |
"iconPosition": { |
| 29 |
"type": "string", |
| 30 |
"default": "left" |
| 31 |
}, |
| 32 |
"iconAlign": { |
| 33 |
"type": "string" |
| 34 |
}, |
| 35 |
"iconSize": { |
| 36 |
"type": "number" |
| 37 |
}, |
| 38 |
"showContent": { |
| 39 |
"type": "boolean", |
| 40 |
"default": true |
| 41 |
}, |
| 42 |
"iconColor": { |
| 43 |
"type": "string" |
| 44 |
}, |
| 45 |
"hoverIconColor": { |
| 46 |
"type": "string" |
| 47 |
}, |
| 48 |
"url": { |
| 49 |
"type": "string" |
| 50 |
}, |
| 51 |
"ariaLabel": { |
| 52 |
"type": "string" |
| 53 |
}, |
| 54 |
"target": { |
| 55 |
"type": "string" |
| 56 |
}, |
| 57 |
"rel": { |
| 58 |
"type": "string" |
| 59 |
} |
| 60 |
} |
| 61 |
} |
| 62 |
|