| @@ -1,0 +1,137 @@ | ||
| 1 | +{ | |
| 2 | + "$schema": "https://schemas.wp.org/trunk/block.json", | |
| 3 | + "apiVersion": 3, | |
| 4 | + "name": "jetpack/subscriptions", | |
| 5 | + "title": "Subscribe", | |
| 6 | + "description": "Subscribe to this blog's posts as a newsletter.", | |
| 7 | + "keywords": [ | |
| 8 | + "newsletter", | |
| 9 | + "email", | |
| 10 | + "follow" | |
| 11 | + ], | |
| 12 | + "version": "12.5.0", | |
| 13 | + "textdomain": "jetpack", | |
| 14 | + "category": "grow", | |
| 15 | + "icon": "<svg viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path d='m19.02,5H4.98c-1.09,0-1.98.89-1.98,1.98v10.04c0,1.09.89,1.98,1.98,1.98h14.04c1.09,0,1.98-.89,1.98-1.98V6.98c0-1.09-.89-1.98-1.98-1.98Zm.48,11.92c0,.32-.26.58-.58.58H5.08c-.32,0-.58-.26-.58-.58V7.08c0-.32.26-.58.58-.58h13.84c.32,0,.58.26.58.58v9.84Z'/><path d='m4.38,17.69l5.71-4.79s.96,1,1.91.99,1.91-.99,1.91-.99l5.59,4.79v-2.03l-4.41-3.73,4.41-3.72v-1.91l-7.14,5.76c-.24.19-.59.19-.83,0l-7.14-5.88v1.98l4.3,3.67-4.3,3.78v2.08Z'/></svg>", | |
| 16 | + "supports": { | |
| 17 | + "spacing": { | |
| 18 | + "margin": true, | |
| 19 | + "padding": true | |
| 20 | + }, | |
| 21 | + "align": [ | |
| 22 | + "wide", | |
| 23 | + "full" | |
| 24 | + ] | |
| 25 | + }, | |
| 26 | + "styles": [ | |
| 27 | + { | |
| 28 | + "name": "split", | |
| 29 | + "label": "Split", | |
| 30 | + "isDefault": true | |
| 31 | + }, | |
| 32 | + { | |
| 33 | + "name": "compact", | |
| 34 | + "label": "Compact" | |
| 35 | + }, | |
| 36 | + { | |
| 37 | + "name": "button", | |
| 38 | + "label": "Button only" | |
| 39 | + } | |
| 40 | + ], | |
| 41 | + "attributes": { | |
| 42 | + "subscribePlaceholder": { | |
| 43 | + "type": "string" | |
| 44 | + }, | |
| 45 | + "showSubscribersTotal": { | |
| 46 | + "type": "boolean", | |
| 47 | + "default": false | |
| 48 | + }, | |
| 49 | + "includeSocialFollowers": { | |
| 50 | + "type": "boolean" | |
| 51 | + }, | |
| 52 | + "buttonOnNewLine": { | |
| 53 | + "type": "boolean", | |
| 54 | + "default": false | |
| 55 | + }, | |
| 56 | + "buttonWidth": { | |
| 57 | + "type": "string" | |
| 58 | + }, | |
| 59 | + "submitButtonText": { | |
| 60 | + "type": "string" | |
| 61 | + }, | |
| 62 | + "emailFieldBackgroundColor": { | |
| 63 | + "type": "string" | |
| 64 | + }, | |
| 65 | + "customEmailFieldBackgroundColor": { | |
| 66 | + "type": "string" | |
| 67 | + }, | |
| 68 | + "emailFieldGradient": { | |
| 69 | + "type": "string" | |
| 70 | + }, | |
| 71 | + "customEmailFieldGradient": { | |
| 72 | + "type": "string" | |
| 73 | + }, | |
| 74 | + "buttonBackgroundColor": { | |
| 75 | + "type": "string" | |
| 76 | + }, | |
| 77 | + "customButtonBackgroundColor": { | |
| 78 | + "type": "string" | |
| 79 | + }, | |
| 80 | + "buttonGradient": { | |
| 81 | + "type": "string" | |
| 82 | + }, | |
| 83 | + "customButtonGradient": { | |
| 84 | + "type": "string" | |
| 85 | + }, | |
| 86 | + "textColor": { | |
| 87 | + "type": "string" | |
| 88 | + }, | |
| 89 | + "customTextColor": { | |
| 90 | + "type": "string" | |
| 91 | + }, | |
| 92 | + "fontSize": { | |
| 93 | + "type": "string" | |
| 94 | + }, | |
| 95 | + "customFontSize": { | |
| 96 | + "type": "string" | |
| 97 | + }, | |
| 98 | + "borderRadius": { | |
| 99 | + "type": "number" | |
| 100 | + }, | |
| 101 | + "borderWeight": { | |
| 102 | + "type": "number" | |
| 103 | + }, | |
| 104 | + "borderColor": { | |
| 105 | + "type": "string" | |
| 106 | + }, | |
| 107 | + "customBorderColor": { | |
| 108 | + "type": "string" | |
| 109 | + }, | |
| 110 | + "padding": { | |
| 111 | + "type": "number" | |
| 112 | + }, | |
| 113 | + "spacing": { | |
| 114 | + "type": "number" | |
| 115 | + }, | |
| 116 | + "successMessage": { | |
| 117 | + "type": "string", | |
| 118 | + "default": "Success! An email was just sent to confirm your subscription. Please find the email now and click 'Confirm' to start subscribing." | |
| 119 | + }, | |
| 120 | + "appSource": { | |
| 121 | + "type": "string" | |
| 122 | + }, | |
| 123 | + "className": { | |
| 124 | + "type": "string" | |
| 125 | + }, | |
| 126 | + "preselectNewsletterCategories": { | |
| 127 | + "type": "boolean", | |
| 128 | + "default": false | |
| 129 | + }, | |
| 130 | + "selectedNewsletterCategoryIds": { | |
| 131 | + "type": "array", | |
| 132 | + "default": [] | |
| 133 | + } | |
| 134 | + }, | |
| 135 | + "example": {}, | |
| 136 | + "editorScript": "jetpack-blocks-editor" | |
| 137 | +} | |