| @@ -1,0 +1,78 @@ | ||
| 1 | +{ | |
| 2 | + "$schema": "https://schemas.wp.org/trunk/block.json", | |
| 3 | + "apiVersion": 3, | |
| 4 | + "name": "jetpack/recurring-payments", | |
| 5 | + "title": "Payment Button", | |
| 6 | + "description": "Button allowing you to sell products and subscriptions.", | |
| 7 | + "keywords": [ | |
| 8 | + "buy", | |
| 9 | + "contribution", | |
| 10 | + "commerce", | |
| 11 | + "credit card", | |
| 12 | + "debit card", | |
| 13 | + "donate", | |
| 14 | + "Donations", | |
| 15 | + "monetize", | |
| 16 | + "earn", | |
| 17 | + "ecommerce", | |
| 18 | + "gofundme", | |
| 19 | + "memberships", | |
| 20 | + "money", | |
| 21 | + "paid", | |
| 22 | + "patreon", | |
| 23 | + "pay", | |
| 24 | + "payments", | |
| 25 | + "products", | |
| 26 | + "purchase", | |
| 27 | + "recurring", | |
| 28 | + "sell", | |
| 29 | + "shop", | |
| 30 | + "stripe", | |
| 31 | + "subscribe", | |
| 32 | + "subscriptions", | |
| 33 | + "sponsor", | |
| 34 | + "square", | |
| 35 | + "toast", | |
| 36 | + "venmo" | |
| 37 | + ], | |
| 38 | + "version": "12.5.0", | |
| 39 | + "textdomain": "jetpack", | |
| 40 | + "category": "monetize", | |
| 41 | + "icon": "<svg viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' clip-rule='evenodd' d='M5.5 9.5v-2h13v2h-13zm0 3v4h13v-4h-13zM4 7a1 1 0 011-1h14a1 1 0 011 1v10a1 1 0 01-1 1H5a1 1 0 01-1-1V7z'/></svg>", | |
| 42 | + "supports": { | |
| 43 | + "html": false, | |
| 44 | + "__experimentalExposeControlsToChildren": true | |
| 45 | + }, | |
| 46 | + "usesContext": [ | |
| 47 | + "isPremiumContentChild" | |
| 48 | + ], | |
| 49 | + "providesContext": { | |
| 50 | + "jetpack/parentBlockWidth": "width" | |
| 51 | + }, | |
| 52 | + "attributes": { | |
| 53 | + "planId": { | |
| 54 | + "type": "integer" | |
| 55 | + }, | |
| 56 | + "planIds": { | |
| 57 | + "type": "array" | |
| 58 | + }, | |
| 59 | + "align": { | |
| 60 | + "type": "string" | |
| 61 | + }, | |
| 62 | + "url": { | |
| 63 | + "type": "string", | |
| 64 | + "default": "#" | |
| 65 | + }, | |
| 66 | + "uniqueId": { | |
| 67 | + "type": "string", | |
| 68 | + "default": "id" | |
| 69 | + }, | |
| 70 | + "width": { | |
| 71 | + "type": "string" | |
| 72 | + } | |
| 73 | + }, | |
| 74 | + "parent": [ | |
| 75 | + "jetpack/payment-buttons" | |
| 76 | + ], | |
| 77 | + "editorScript": "jetpack-blocks-editor" | |
| 78 | +} | |