block.json
56 lines
| 1 | { |
| 2 | "apiVersion": 3, |
| 3 | "name": "surecart/submit", |
| 4 | "title": "Submit Button", |
| 5 | "description": "Display a submit button.", |
| 6 | "category": "surecart", |
| 7 | "keywords": ["submit", "button"], |
| 8 | "textdomain": "surecart", |
| 9 | "ancestor": ["surecart/form"], |
| 10 | "supports": { |
| 11 | "reusable": false, |
| 12 | "html": false, |
| 13 | "multiple": false, |
| 14 | "color": { |
| 15 | "__experimentalSkipSerialization": true, |
| 16 | "text": true, |
| 17 | "link": false, |
| 18 | "background": true |
| 19 | } |
| 20 | }, |
| 21 | "attributes": { |
| 22 | "text": { |
| 23 | "type": "string", |
| 24 | "default": "Purchase" |
| 25 | }, |
| 26 | "show_secure_notice": { |
| 27 | "type": "boolean", |
| 28 | "default": true |
| 29 | }, |
| 30 | "secure_notice_text": { |
| 31 | "type": "string", |
| 32 | "default": "" |
| 33 | }, |
| 34 | "type": { |
| 35 | "type": "string", |
| 36 | "default": "primary" |
| 37 | }, |
| 38 | "show_total": { |
| 39 | "type": "boolean", |
| 40 | "default": false |
| 41 | }, |
| 42 | "show_icon": { |
| 43 | "type": "boolean", |
| 44 | "default": true |
| 45 | }, |
| 46 | "full": { |
| 47 | "type": "boolean", |
| 48 | "default": false |
| 49 | }, |
| 50 | "size": { |
| 51 | "type": "string", |
| 52 | "default": "large" |
| 53 | } |
| 54 | } |
| 55 | } |
| 56 |