block.json
51 lines
| 1 | { |
| 2 | "apiVersion": 2, |
| 3 | "name": "surecart/product-buy-buttons", |
| 4 | "title": "Product Buy Buttons", |
| 5 | "description": "Displays product buy and add to cart buttons", |
| 6 | "category": "surecart", |
| 7 | "keywords": ["button", "buy", "product"], |
| 8 | "supports": { |
| 9 | "anchor": true, |
| 10 | "align": ["wide", "full"], |
| 11 | "html": false, |
| 12 | "__experimentalExposeControlsToChildren": true, |
| 13 | "spacing": { |
| 14 | "blockGap": true, |
| 15 | "margin": ["top", "bottom"], |
| 16 | "__experimentalDefaultControls": { |
| 17 | "blockGap": true |
| 18 | } |
| 19 | }, |
| 20 | "typography": { |
| 21 | "fontSize": true, |
| 22 | "lineHeight": true, |
| 23 | "__experimentalFontFamily": true, |
| 24 | "__experimentalFontWeight": true, |
| 25 | "__experimentalFontStyle": true, |
| 26 | "__experimentalTextTransform": true, |
| 27 | "__experimentalTextDecoration": true, |
| 28 | "__experimentalLetterSpacing": true, |
| 29 | "__experimentalDefaultControls": { |
| 30 | "fontSize": true |
| 31 | } |
| 32 | }, |
| 33 | "__experimentalLayout": { |
| 34 | "allowSwitching": false, |
| 35 | "allowInheriting": false, |
| 36 | "default": { |
| 37 | "type": "flex" |
| 38 | } |
| 39 | }, |
| 40 | "layout": { |
| 41 | "allowSwitching": false, |
| 42 | "allowInheriting": false, |
| 43 | "default": { |
| 44 | "type": "flex" |
| 45 | } |
| 46 | } |
| 47 | }, |
| 48 | "style": ["file:./style.css", "surecart-themes-default"], |
| 49 | "script": "surecart-components" |
| 50 | } |
| 51 |