PluginProbe
bBlocks – Essential Gutenberg Blocks & Patterns Collection / 2.0.39
bBlocks – Essential Gutenberg Blocks & Patterns Collection v2.0.39
2.1.8 2.1.7 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.0.43 2.0.42 2.0.41 2.0.40 2.0.39 2.0.38 trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.5.1 1.5.2 1.5.3 All 108 releases
b-blocks / build / input-field / block.json

block.json in bBlocks – Essential Gutenberg Blocks & Patterns Collection 2.0.39, at build/input-field/block.json

370 lines 8.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "b-blocks/input-field",
5 "version": "1.0.0",
6 "title": "Input Field",
7 "category": "bBlocks",
8 "description": "Form Input Field",
9 "keywords": [
10 "input field",
11 "text field",
12 "input",
13 "form field",
14 "field"
15 ],
16 "ancestor": [
17 "b-blocks/form-builder"
18 ],
19 "textdomain": "b-blocks",
20 "attributes": {
21 "align": {
22 "type": "string",
23 "default": ""
24 },
25 "inputField": {
26 "type": "object",
27 "default": {
28 "type": "text",
29 "placeholder": "Placeholder...",
30 "value": "",
31 "icon": "",
32 "name": "input"
33 }
34 },
35 "label": {
36 "type": "object",
37 "default": {
38 "text": "Input Field Label"
39 }
40 },
41 "options": {
42 "type": "object",
43 "default": {
44 "isLabel": true,
45 "isRequired": true,
46 "isIcon": true,
47 "isShowRequiredIcon": true
48 }
49 },
50 "password": {
51 "type": "object",
52 "default": {
53 "options": {
54 "isWeek": true,
55 "isStrengthMeter": false,
56 "isStrengthText": false,
57 "isVisibilityIcon": true,
58 "passStrengthText": "default",
59 "validationText": "default",
60 "isUpperCase": true,
61 "isLowerCase": true,
62 "isNumber": true,
63 "isSpecialChar": true,
64 "minLength": 8
65 },
66 "strengthText": {
67 "veryWeak": "Very Weak",
68 "weak": "Weak Password",
69 "medium": "Medium Password",
70 "strong": "Strong Password"
71 }
72 }
73 },
74 "validation": {
75 "type": "object",
76 "default": {
77 "errorMessage": {
78 "text": {
79 "missing": "This field is required."
80 },
81 "email": {
82 "missing": "This field is required.",
83 "invalid": ""
84 },
85 "password": {
86 "missing": "This field is required.",
87 "invalid": "",
88 "customValidation": ""
89 },
90 "url": {
91 "missing": "This Field is required."
92 }
93 }
94 }
95 },
96 "styles": {
97 "type": "object",
98 "default": {
99 "inputField": {
100 "typo": {
101 "fontSize": {
102 "desktop": "16px"
103 }
104 },
105 "colors": {
106 "text": "",
107 "placeholder": ""
108 },
109 "desktop": {
110 "padding": {}
111 },
112 "tablet": {
113 "padding": {}
114 },
115 "mobile": {
116 "padding": {}
117 },
118 "normal": {
119 "border": {},
120 "bg": {},
121 "radius": {
122 "desktop": {},
123 "tablet": {},
124 "mobile": {}
125 },
126 "shadow": {}
127 },
128 "focus": {
129 "border": {},
130 "bg": {},
131 "radius": {
132 "desktop": {},
133 "tablet": {},
134 "mobile": {}
135 },
136 "shadow": {}
137 },
138 "hover": {
139 "border": {},
140 "bg": {},
141 "radius": {
142 "desktop": {},
143 "tablet": {},
144 "mobile": {}
145 },
146 "shadow": {}
147 }
148 },
149 "label": {
150 "typo": {
151 "fontSize": {
152 "desktop": "16px"
153 }
154 },
155 "colors": {
156 "required": "",
157 "text": ""
158 },
159 "desktop": {
160 "margin": {}
161 },
162 "tablet": {
163 "margin": {}
164 },
165 "mobile": {
166 "margin": {}
167 },
168 "position": "top"
169 },
170 "icon": {
171 "field": {
172 "color": "",
173 "desktop": {
174 "size": "",
175 "position": {
176 "x": "",
177 "y": ""
178 }
179 },
180 "tablet": {
181 "size": "",
182 "position": {
183 "x": "",
184 "y": ""
185 }
186 },
187 "mobile": {
188 "size": "",
189 "position": {
190 "x": "",
191 "y": ""
192 }
193 }
194 },
195 "password": {
196 "color": "",
197 "desktop": {
198 "size": "",
199 "position": {
200 "x": "",
201 "y": ""
202 }
203 },
204 "tablet": {
205 "size": "",
206 "position": {
207 "x": "",
208 "y": ""
209 }
210 },
211 "mobile": {
212 "size": "",
213 "position": {
214 "x": "",
215 "y": ""
216 }
217 }
218 }
219 },
220 "error": {
221 "text": {
222 "typo": {
223 "fontSize": {
224 "desktop": "14px"
225 }
226 },
227 "color": "#f5222d",
228 "bg": {},
229 "desktop": {
230 "margin": {},
231 "padding": {},
232 "border": {},
233 "radius": {}
234 },
235 "tablet": {
236 "margin": {},
237 "padding": {},
238 "border": {},
239 "radius": {}
240 },
241 "mobile": {
242 "margin": {},
243 "padding": {},
244 "border": {},
245 "radius": {}
246 }
247 },
248 "input": {
249 "desktop": {
250 "margin": {},
251 "padding": {},
252 "border": {},
253 "radius": {}
254 },
255 "tablet": {
256 "margin": {},
257 "padding": {},
258 "border": {},
259 "radius": {}
260 },
261 "mobile": {
262 "margin": {},
263 "padding": {},
264 "border": {},
265 "radius": {}
266 }
267 }
268 },
269 "password": {
270 "strength": {
271 "container": {
272 "desktop": {
273 "width": "",
274 "height": "",
275 "margin": {},
276 "padding": {}
277 },
278 "tablet": {
279 "width": "",
280 "height": "",
281 "margin": {},
282 "padding": {}
283 },
284 "mobile": {
285 "width": "",
286 "height": "",
287 "margin": {},
288 "padding": {}
289 },
290 "border": {},
291 "radius": {},
292 "bg": {
293 "color": ""
294 }
295 },
296 "meter": {
297 "gap": "",
298 "desktop": {
299 "width": "",
300 "height": "",
301 "margin": {},
302 "padding": {}
303 },
304 "tablet": {
305 "width": "",
306 "height": "",
307 "margin": {},
308 "padding": {}
309 },
310 "mobile": {
311 "width": "",
312 "height": "",
313 "margin": {},
314 "padding": {}
315 },
316 "border": {},
317 "radius": {}
318 },
319 "text": {
320 "desktop": {
321 "margin": {},
322 "padding": {}
323 },
324 "tablet": {
325 "margin": {},
326 "padding": {}
327 },
328 "mobile": {
329 "margin": {},
330 "padding": {}
331 },
332 "typography": {
333 "fontSize": {
334 "desktop": "15px"
335 }
336 }
337 },
338 "colors": {
339 "veryWeak": "#f5222d",
340 "weak": "#fa8c16",
341 "medium": "#fadb14",
342 "strong": "#7cb305"
343 }
344 }
345 }
346 }
347 }
348 },
349 "supports": {
350 "align": [
351 "wide",
352 "full"
353 ],
354 "html": false
355 },
356 "example": {
357 "attributes": {}
358 },
359 "providesContext": {
360 "b-blocks/inputClientId": "clientId"
361 },
362 "editorScript": "file:../index.js",
363 "style": "file:./view.css",
364 "render": "file:./render.php",
365 "viewScript": [
366 "file:./view.js",
367 "react",
368 "react-dom"
369 ]
370 }