block.json
72 lines
| 1 | { |
| 2 | "apiVersion": 3, |
| 3 | "name": "surecart/upsell-countdown-timer", |
| 4 | "title": "Countdown Timer", |
| 5 | "description": "Display a countdown timer for upsell, encouraging customers to take action before the offer expires.", |
| 6 | "category": "surecart-upsell-page", |
| 7 | "textdomain": "surecart", |
| 8 | "ancestor": ["surecart/upsell"], |
| 9 | "attributes": { |
| 10 | "textAlign": { |
| 11 | "type": "string", |
| 12 | "default": "center" |
| 13 | }, |
| 14 | "offer_expire_text": { |
| 15 | "type": "string", |
| 16 | "default": "Offer Expires In" |
| 17 | }, |
| 18 | "show_icon": { |
| 19 | "type": "boolean", |
| 20 | "default": true |
| 21 | }, |
| 22 | "width": { |
| 23 | "type": "number", |
| 24 | "default": null |
| 25 | } |
| 26 | }, |
| 27 | "keywords": ["description"], |
| 28 | "supports": { |
| 29 | "html": false, |
| 30 | "multiple": false, |
| 31 | "anchor": true, |
| 32 | "align": false, |
| 33 | "alignWide": false, |
| 34 | "spacing": { |
| 35 | "__experimentalSkipSerialization": true, |
| 36 | "padding": ["horizontal", "vertical"], |
| 37 | "margin": ["top", "bottom"] |
| 38 | }, |
| 39 | "color": { |
| 40 | "__experimentalSkipSerialization": true, |
| 41 | "gradients": true, |
| 42 | "__experimentalDefaultControls": { |
| 43 | "background": true, |
| 44 | "text": true |
| 45 | } |
| 46 | }, |
| 47 | "typography": { |
| 48 | "fontSize": true, |
| 49 | "__experimentalFontFamily": true, |
| 50 | "__experimentalFontWeight": true, |
| 51 | "__experimentalFontStyle": true, |
| 52 | "__experimentalTextTransform": true |
| 53 | }, |
| 54 | "reusable": false, |
| 55 | "shadow": true, |
| 56 | "__experimentalBorder": { |
| 57 | "color": true, |
| 58 | "radius": true, |
| 59 | "style": true, |
| 60 | "width": true, |
| 61 | "__experimentalSkipSerialization": true, |
| 62 | "__experimentalDefaultControls": { |
| 63 | "color": true, |
| 64 | "radius": true, |
| 65 | "style": true, |
| 66 | "width": true |
| 67 | } |
| 68 | } |
| 69 | }, |
| 70 | "style": ["file:./style.css", "surecart-themes-default"] |
| 71 | } |
| 72 |