block.json
2 years ago
view.asset.php
1 year ago
view.css
2 years ago
view.js
1 year ago
view.js.LICENSE.txt
4 years ago
view.rtl.css
2 years ago
block.json
97 lines
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 3, |
| 4 | "name": "jetpack/donations", |
| 5 | "title": "Donations Form", |
| 6 | "description": "Collect one-time, monthly, or annually recurring donations.", |
| 7 | "keywords": [ |
| 8 | "charity", |
| 9 | "contribution", |
| 10 | "credit card", |
| 11 | "debit card", |
| 12 | "donate", |
| 13 | "earn", |
| 14 | "monetize", |
| 15 | "ecommerce", |
| 16 | "fundraising", |
| 17 | "fundraiser", |
| 18 | "gofundme", |
| 19 | "money", |
| 20 | "nonprofit", |
| 21 | "non-profit", |
| 22 | "paid", |
| 23 | "patreon", |
| 24 | "pay", |
| 25 | "payments", |
| 26 | "recurring", |
| 27 | "stripe", |
| 28 | "sponsor", |
| 29 | "square", |
| 30 | "tipping", |
| 31 | "venmo" |
| 32 | ], |
| 33 | "version": "12.5.0", |
| 34 | "textdomain": "jetpack", |
| 35 | "category": "monetize", |
| 36 | "icon": "<svg viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path d='M16.5 4.5c2.206 0 4 1.794 4 4 0 4.67-5.543 8.94-8.5 11.023C9.043 17.44 3.5 13.17 3.5 8.5c0-2.206 1.794-4 4-4 1.298 0 2.522.638 3.273 1.706L12 7.953l1.227-1.746c.75-1.07 1.975-1.707 3.273-1.707m0-1.5c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 5.72 6.5 10.438 10 12.85 3.5-2.412 10-7.13 10-12.85C22 5.462 19.538 3 16.5 3z' /></svg>", |
| 37 | "supports": { |
| 38 | "html": false |
| 39 | }, |
| 40 | "attributes": { |
| 41 | "currency": { |
| 42 | "type": "string", |
| 43 | "default": "" |
| 44 | }, |
| 45 | "oneTimeDonation": { |
| 46 | "type": "object", |
| 47 | "default": { |
| 48 | "show": true, |
| 49 | "planId": null, |
| 50 | "amounts": [ |
| 51 | 5, |
| 52 | 15, |
| 53 | 100 |
| 54 | ] |
| 55 | } |
| 56 | }, |
| 57 | "monthlyDonation": { |
| 58 | "type": "object", |
| 59 | "default": { |
| 60 | "show": true, |
| 61 | "planId": null, |
| 62 | "amounts": [ |
| 63 | 5, |
| 64 | 15, |
| 65 | 100 |
| 66 | ] |
| 67 | } |
| 68 | }, |
| 69 | "annualDonation": { |
| 70 | "type": "object", |
| 71 | "default": { |
| 72 | "show": true, |
| 73 | "planId": null, |
| 74 | "amounts": [ |
| 75 | 5, |
| 76 | 15, |
| 77 | 100 |
| 78 | ] |
| 79 | } |
| 80 | }, |
| 81 | "showCustomAmount": { |
| 82 | "type": "boolean", |
| 83 | "default": true |
| 84 | }, |
| 85 | "chooseAmountText": { |
| 86 | "type": "string" |
| 87 | }, |
| 88 | "customAmountText": { |
| 89 | "type": "string" |
| 90 | }, |
| 91 | "fallbackLinkUrl": { |
| 92 | "type": "string" |
| 93 | } |
| 94 | }, |
| 95 | "example": {}, |
| 96 | "editorScript": "jetpack-blocks-editor" |
| 97 | } |