block.json
3 days ago
index-rtl.css
3 days ago
index.asset.php
3 days ago
index.css
3 days ago
index.js
3 days ago
style-index-rtl.css
3 days ago
style-index.css
3 days ago
block.json
236 lines
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 3, |
| 4 | "name": "superb-addons/form", |
| 5 | "version": "0.1.0", |
| 6 | "title": "Superb Form", |
| 7 | "category": "superb-addons-blocks", |
| 8 | "icon": "feedback", |
| 9 | "description": "A powerful, intuitive form builder. Create contact forms, newsletter signup forms, and more with conditional logic, spam protection, and email notifications.", |
| 10 | "keywords": [ |
| 11 | "form", |
| 12 | "contact", |
| 13 | "email", |
| 14 | "survey", |
| 15 | "feedback", |
| 16 | "newsletter", |
| 17 | "signup" |
| 18 | ], |
| 19 | "supports": { |
| 20 | "html": false, |
| 21 | "align": ["wide", "full"], |
| 22 | "color": { |
| 23 | "background": true, |
| 24 | "text": true, |
| 25 | "link": false |
| 26 | }, |
| 27 | "spacing": { |
| 28 | "margin": true, |
| 29 | "padding": true, |
| 30 | "blockGap": true, |
| 31 | "__experimentalDefaultControls": { |
| 32 | "blockGap": true |
| 33 | } |
| 34 | }, |
| 35 | "border": { |
| 36 | "color": true, |
| 37 | "radius": true, |
| 38 | "style": true, |
| 39 | "width": true |
| 40 | }, |
| 41 | "__experimentalBorder": { |
| 42 | "color": true, |
| 43 | "radius": true, |
| 44 | "style": true, |
| 45 | "width": true |
| 46 | }, |
| 47 | "typography": { |
| 48 | "fontSize": true, |
| 49 | "lineHeight": true, |
| 50 | "__experimentalFontFamily": true, |
| 51 | "__experimentalFontWeight": true |
| 52 | } |
| 53 | }, |
| 54 | "attributes": { |
| 55 | "style": { |
| 56 | "type": "object", |
| 57 | "default": { |
| 58 | "spacing": { |
| 59 | "blockGap": "var:preset|spacing|superbspacing-xsmall" |
| 60 | } |
| 61 | } |
| 62 | }, |
| 63 | "formId": { |
| 64 | "type": "string" |
| 65 | }, |
| 66 | "honeypotKey": { |
| 67 | "type": "string" |
| 68 | }, |
| 69 | "formName": { |
| 70 | "type": "string" |
| 71 | }, |
| 72 | "submitLabel": { |
| 73 | "type": "string" |
| 74 | }, |
| 75 | "successDisplayMode": { |
| 76 | "type": "string" |
| 77 | }, |
| 78 | "successHeading": { |
| 79 | "type": "string" |
| 80 | }, |
| 81 | "successBody": { |
| 82 | "type": "string" |
| 83 | }, |
| 84 | "successShowIcon": { |
| 85 | "type": "boolean" |
| 86 | }, |
| 87 | "errorHeading": { |
| 88 | "type": "string" |
| 89 | }, |
| 90 | "errorBody": { |
| 91 | "type": "string" |
| 92 | }, |
| 93 | "errorShowIcon": { |
| 94 | "type": "boolean" |
| 95 | }, |
| 96 | "errorRetryLabel": { |
| 97 | "type": "string" |
| 98 | }, |
| 99 | "summaryFieldsMode": { |
| 100 | "type": "string" |
| 101 | }, |
| 102 | "summaryFieldsList": { |
| 103 | "type": "array", |
| 104 | "items": { |
| 105 | "type": "string" |
| 106 | } |
| 107 | }, |
| 108 | "summaryMaskSensitive": { |
| 109 | "type": "boolean" |
| 110 | }, |
| 111 | "summaryShowTimestamp": { |
| 112 | "type": "boolean" |
| 113 | }, |
| 114 | "redirectUrl": { |
| 115 | "type": "string" |
| 116 | }, |
| 117 | "emailEnabled": { |
| 118 | "type": "boolean" |
| 119 | }, |
| 120 | "storeEnabled": { |
| 121 | "type": "boolean" |
| 122 | }, |
| 123 | "storeSpamEnabled": { |
| 124 | "type": "boolean", |
| 125 | "default": false |
| 126 | }, |
| 127 | "emailTo": { |
| 128 | "type": "string" |
| 129 | }, |
| 130 | "emailSubject": { |
| 131 | "type": "string" |
| 132 | }, |
| 133 | "emailReplyTo": { |
| 134 | "type": "string" |
| 135 | }, |
| 136 | "emailCC": { |
| 137 | "type": "string" |
| 138 | }, |
| 139 | "emailBCC": { |
| 140 | "type": "string" |
| 141 | }, |
| 142 | "sendConfirmation": { |
| 143 | "type": "boolean" |
| 144 | }, |
| 145 | "confirmationSubject": { |
| 146 | "type": "string" |
| 147 | }, |
| 148 | "confirmationMessage": { |
| 149 | "type": "string" |
| 150 | }, |
| 151 | "confirmationEmailField": { |
| 152 | "type": "string" |
| 153 | }, |
| 154 | "captchaType": { |
| 155 | "type": "string" |
| 156 | }, |
| 157 | "successBehavior": { |
| 158 | "type": "string" |
| 159 | }, |
| 160 | "mailchimpEnabled": { |
| 161 | "type": "boolean" |
| 162 | }, |
| 163 | "mailchimpListIds": { |
| 164 | "type": "array", |
| 165 | "items": { |
| 166 | "type": "string" |
| 167 | } |
| 168 | }, |
| 169 | "brevoEnabled": { |
| 170 | "type": "boolean" |
| 171 | }, |
| 172 | "brevoListIds": { |
| 173 | "type": "array", |
| 174 | "items": { |
| 175 | "type": "string" |
| 176 | } |
| 177 | }, |
| 178 | "labelPosition": { |
| 179 | "type": "string" |
| 180 | }, |
| 181 | "submitButtonAlign": { |
| 182 | "type": "string" |
| 183 | }, |
| 184 | "successShowResubmit": { |
| 185 | "type": "boolean" |
| 186 | }, |
| 187 | "successResubmitLabel": { |
| 188 | "type": "string" |
| 189 | }, |
| 190 | "webhookEnabled": { |
| 191 | "type": "boolean", |
| 192 | "default": false |
| 193 | }, |
| 194 | "webhookUrl": { |
| 195 | "type": "string", |
| 196 | "default": "" |
| 197 | }, |
| 198 | "webhookMethod": { |
| 199 | "type": "string", |
| 200 | "default": "POST" |
| 201 | }, |
| 202 | "webhookHeaders": { |
| 203 | "type": "array", |
| 204 | "default": [] |
| 205 | }, |
| 206 | "googleSheetsEnabled": { |
| 207 | "type": "boolean", |
| 208 | "default": false |
| 209 | }, |
| 210 | "googleSheetsSpreadsheetUrl": { |
| 211 | "type": "string", |
| 212 | "default": "" |
| 213 | }, |
| 214 | "googleSheetsSheetName": { |
| 215 | "type": "string", |
| 216 | "default": "" |
| 217 | }, |
| 218 | "slackEnabled": { |
| 219 | "type": "boolean", |
| 220 | "default": false |
| 221 | }, |
| 222 | "slackWebhookUrl": { |
| 223 | "type": "string", |
| 224 | "default": "" |
| 225 | }, |
| 226 | "isPreview": { |
| 227 | "type": "boolean", |
| 228 | "default": false |
| 229 | } |
| 230 | }, |
| 231 | "textdomain": "superb-blocks", |
| 232 | "editorScript": "file:./index.js", |
| 233 | "editorStyle": "file:./index.css", |
| 234 | "style": "file:./style-index.css" |
| 235 | } |
| 236 |