block.json
59 lines
| 1 | { |
| 2 | "apiVersion": 3, |
| 3 | "name": "surecart/product-donation-amounts", |
| 4 | "title": "Amounts", |
| 5 | "description": "Displays a donation amounts for the user to choose from.", |
| 6 | "category": "surecart", |
| 7 | "ancestor": ["surecart/product-donation"], |
| 8 | "keywords": ["donation", "ad hoc", "custom", "amount"], |
| 9 | "textdomain": "surecart", |
| 10 | "usesContext": [ |
| 11 | "surecart/product-donation/product_id", |
| 12 | "surecart/product-donation/required" |
| 13 | ], |
| 14 | "supports": { |
| 15 | "reusable": false, |
| 16 | "html": false, |
| 17 | "color": { |
| 18 | "__experimentalSkipSerialization": true, |
| 19 | "gradients": true, |
| 20 | "link": false, |
| 21 | "__experimentalDefaultControls": { |
| 22 | "background": true, |
| 23 | "text": true, |
| 24 | "link": true |
| 25 | } |
| 26 | }, |
| 27 | "spacing": { |
| 28 | "__experimentalSkipSerialization": true, |
| 29 | "margin": true, |
| 30 | "padding": true, |
| 31 | "blockGap": true, |
| 32 | "__experimentalDefaultControls": { |
| 33 | "padding": true, |
| 34 | "blockGap": true |
| 35 | } |
| 36 | }, |
| 37 | "__experimentalBorder": { |
| 38 | "__experimentalSkipSerialization": true, |
| 39 | "color": true, |
| 40 | "radius": true |
| 41 | } |
| 42 | }, |
| 43 | "attributes": { |
| 44 | "label": { |
| 45 | "type": "string", |
| 46 | "default": "Donation Amount" |
| 47 | }, |
| 48 | "columns": { |
| 49 | "type": "number", |
| 50 | "default": 3 |
| 51 | }, |
| 52 | "textAlign": { |
| 53 | "type": "string", |
| 54 | "default": "center" |
| 55 | } |
| 56 | }, |
| 57 | "style": "file:./preload.css" |
| 58 | } |
| 59 |