block.json
59 lines
| 1 | { |
| 2 | "apiVersion": 3, |
| 3 | "name": "surecart/product-collection-badges", |
| 4 | "title": "Product Collection Badges", |
| 5 | "description": "Displays product collection selector for a product.", |
| 6 | "category": "surecart", |
| 7 | "textdomain": "surecart", |
| 8 | "keywords": ["collection", "form", "product"], |
| 9 | "attributes": { |
| 10 | "count": { |
| 11 | "type": "number", |
| 12 | "default": 1 |
| 13 | }, |
| 14 | "id": { |
| 15 | "type": "string" |
| 16 | } |
| 17 | }, |
| 18 | "supports": { |
| 19 | "reusable": false, |
| 20 | "html": false, |
| 21 | "multiple": false, |
| 22 | "inserter": false, |
| 23 | "color": { |
| 24 | "__experimentalSkipSerialization": true, |
| 25 | "gradients": true, |
| 26 | "__experimentalDefaultControls": { |
| 27 | "background": true, |
| 28 | "text": true |
| 29 | } |
| 30 | }, |
| 31 | "spacing": { |
| 32 | "blockGap": { |
| 33 | "__experimentalDefault": "3px" |
| 34 | }, |
| 35 | "__experimentalSkipSerialization": ["padding"], |
| 36 | "padding": ["horizontal", "vertical"] |
| 37 | }, |
| 38 | "typography": { |
| 39 | "fontSize": true, |
| 40 | "__experimentalFontFamily": true, |
| 41 | "__experimentalFontWeight": true, |
| 42 | "__experimentalFontStyle": true, |
| 43 | "__experimentalTextTransform": true |
| 44 | }, |
| 45 | "__experimentalBorder": { |
| 46 | "width": true, |
| 47 | "color": true, |
| 48 | "radius": true, |
| 49 | "__experimentalSkipSerialization": true, |
| 50 | "__experimentalDefaultControls": { |
| 51 | "radius": true, |
| 52 | "color": true, |
| 53 | "width": true |
| 54 | } |
| 55 | } |
| 56 | }, |
| 57 | "style": "file:./style.css" |
| 58 | } |
| 59 |