block.json
107 lines
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 3, |
| 4 | "name": "awt/child-author-signup", |
| 5 | "version": "1.0.0", |
| 6 | "title": "Newsletter Signup (Child Author)", |
| 7 | "category": "theme", |
| 8 | "icon": "email", |
| 9 | "description": "Newsletter signup form with Smart Pro Locking for styling controls.", |
| 10 | "keywords": [ |
| 11 | "signup", |
| 12 | "newsletter", |
| 13 | "form", |
| 14 | "child-author" |
| 15 | ], |
| 16 | "textdomain": "author-website-templates", |
| 17 | "editorScript": "file:./index.js", |
| 18 | "attributes": { |
| 19 | "align": { |
| 20 | "type": "string", |
| 21 | "default": "full" |
| 22 | }, |
| 23 | "signupStyle": { |
| 24 | "type": "string", |
| 25 | "default": "fun" |
| 26 | }, |
| 27 | "heading": { |
| 28 | "type": "string", |
| 29 | "default": "Join the Story Club!" |
| 30 | }, |
| 31 | "description": { |
| 32 | "type": "string", |
| 33 | "default": "Get free coloring pages, activities, and updates about my new books!" |
| 34 | }, |
| 35 | "disclaimer": { |
| 36 | "type": "string", |
| 37 | "default": "No spam, just fun. Unsubscribe anytime." |
| 38 | }, |
| 39 | "buttonText": { |
| 40 | "type": "string", |
| 41 | "default": "Sign Me Up!" |
| 42 | }, |
| 43 | "buttonUrl": { |
| 44 | "type": "string", |
| 45 | "default": "#" |
| 46 | }, |
| 47 | "useShortcode": { |
| 48 | "type": "boolean", |
| 49 | "default": false |
| 50 | }, |
| 51 | "customShortcode": { |
| 52 | "type": "string", |
| 53 | "default": "" |
| 54 | }, |
| 55 | "sectionBgColor": { |
| 56 | "type": "string", |
| 57 | "default": "" |
| 58 | }, |
| 59 | "sectionPadding": { |
| 60 | "type": "number", |
| 61 | "default": null |
| 62 | }, |
| 63 | "headingColor": { |
| 64 | "type": "string", |
| 65 | "default": "" |
| 66 | }, |
| 67 | "textColor": { |
| 68 | "type": "string", |
| 69 | "default": "" |
| 70 | }, |
| 71 | "inputBgColor": { |
| 72 | "type": "string", |
| 73 | "default": "" |
| 74 | }, |
| 75 | "btnBgColor": { |
| 76 | "type": "string", |
| 77 | "default": "" |
| 78 | }, |
| 79 | "btnTextColor": { |
| 80 | "type": "string", |
| 81 | "default": "" |
| 82 | }, |
| 83 | "btnHoverBgColor": { |
| 84 | "type": "string", |
| 85 | "default": "" |
| 86 | }, |
| 87 | "btnHoverTextColor": { |
| 88 | "type": "string", |
| 89 | "default": "" |
| 90 | }, |
| 91 | "blockId": { |
| 92 | "type": "string", |
| 93 | "default": "" |
| 94 | } |
| 95 | }, |
| 96 | "supports": { |
| 97 | "html": false, |
| 98 | "color": false, |
| 99 | "typography": false, |
| 100 | "spacing": false, |
| 101 | "align": [ |
| 102 | "full" |
| 103 | ], |
| 104 | "alignWide": true |
| 105 | }, |
| 106 | "style": "file:./index.css" |
| 107 | } |