| @@ -1,0 +1,61 @@ | ||
| 1 | +{ | |
| 2 | + "$schema": "https://schemas.wp.org/trunk/block.json", | |
| 3 | + "apiVersion": 3, | |
| 4 | + "name": "jetpack/subscriber-login", | |
| 5 | + "title": "Subscriber Login", | |
| 6 | + "description": "Show links for subscribers to login, logout, or manage their subscription.", | |
| 7 | + "keywords": [ | |
| 8 | + "login", | |
| 9 | + "logout", | |
| 10 | + "subscription", | |
| 11 | + "member", | |
| 12 | + "account", | |
| 13 | + "user" | |
| 14 | + ], | |
| 15 | + "version": "0.0.1", | |
| 16 | + "textdomain": "jetpack", | |
| 17 | + "category": "grow", | |
| 18 | + "icon": "<svg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M7.25 16.437a6.5 6.5 0 1 1 9.5 0V16A2.75 2.75 0 0 0 14 13.25h-4A2.75 2.75 0 0 0 7.25 16v.437Zm1.5 1.193a6.47 6.47 0 0 0 3.25.87 6.47 6.47 0 0 0 3.25-.87V16c0-.69-.56-1.25-1.25-1.25h-4c-.69 0-1.25.56-1.25 1.25v1.63ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm10-2a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z' fill-rule='evenodd' clip-rule='evenodd'></path></svg>", | |
| 19 | + "supports": { | |
| 20 | + "align": true, | |
| 21 | + "anchor": false, | |
| 22 | + "customClassName": true, | |
| 23 | + "className": true, | |
| 24 | + "html": false, | |
| 25 | + "multiple": true, | |
| 26 | + "reusable": true, | |
| 27 | + "spacing": { | |
| 28 | + "margin": true, | |
| 29 | + "padding": true | |
| 30 | + }, | |
| 31 | + "typography": { | |
| 32 | + "fontSize": true, | |
| 33 | + "lineHeight": true | |
| 34 | + }, | |
| 35 | + "color": { | |
| 36 | + "text": false, | |
| 37 | + "link": true, | |
| 38 | + "gradients": true | |
| 39 | + } | |
| 40 | + }, | |
| 41 | + "attributes": { | |
| 42 | + "redirectToCurrent": { | |
| 43 | + "type": "boolean", | |
| 44 | + "default": true | |
| 45 | + }, | |
| 46 | + "logInLabel": { | |
| 47 | + "type": "string" | |
| 48 | + }, | |
| 49 | + "logOutLabel": { | |
| 50 | + "type": "string" | |
| 51 | + }, | |
| 52 | + "showManageSubscriptionsLink": { | |
| 53 | + "type": "boolean", | |
| 54 | + "default": true | |
| 55 | + }, | |
| 56 | + "manageSubscriptionsLabel": { | |
| 57 | + "type": "string" | |
| 58 | + } | |
| 59 | + }, | |
| 60 | + "editorScript": "jetpack-blocks-editor" | |
| 61 | +} | |