PluginProbe
bBlocks – Essential Gutenberg Blocks & Patterns Collection / 2.1.1
bBlocks – Essential Gutenberg Blocks & Patterns Collection v2.1.1
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 1.5.4 1.5.5 All 106 releases
b-blocks / build / form-builder / block.json

block.json in bBlocks – Essential Gutenberg Blocks & Patterns Collection 2.1.1, at build/form-builder/block.json

893 lines 21.1 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/form-builder",
5 "version": "1.0.0",
6 "title": "Form",
7 "category": "bBlocks",
8 "description": "Create Beautiful and Professional Login, Register or any other custom Forms easily with a few clicks.",
9 "keywords": [
10 "form",
11 "register",
12 "login",
13 "sign in",
14 "sign up"
15 ],
16 "textdomain": "b-blocks",
17 "attributes": {
18 "formId": {
19 "type": "string",
20 "default": ""
21 },
22 "postId": {
23 "type": "number",
24 "default": ""
25 },
26 "clientId": {
27 "type": "string",
28 "default": ""
29 },
30 "form": {
31 "type": "object",
32 "default": {
33 "formType": ""
34 }
35 },
36 "align": {
37 "type": "string",
38 "default": ""
39 },
40 "weakPassword": {
41 "type": "object",
42 "default": {
43 "option": "default",
44 "validation": {
45 "length": 8,
46 "uppercase": true,
47 "lowercase": true,
48 "number": true,
49 "specialChar": true
50 }
51 }
52 },
53 "password": {
54 "type": "object",
55 "default": {
56 "container": {
57 "desktop": {
58 "width": "",
59 "height": "",
60 "margin": {},
61 "padding": {}
62 },
63 "tablet": {
64 "width": "",
65 "height": "",
66 "margin": {},
67 "padding": {}
68 },
69 "mobile": {
70 "width": "",
71 "height": "",
72 "margin": {},
73 "padding": {}
74 },
75 "border": {},
76 "radius": {},
77 "bg": {
78 "color": "#0000"
79 }
80 },
81 "meter": {
82 "desktop": {
83 "width": "",
84 "height": "",
85 "margin": {},
86 "padding": {}
87 },
88 "tablet": {
89 "width": "",
90 "height": "",
91 "margin": {},
92 "padding": {}
93 },
94 "mobile": {
95 "width": "",
96 "height": "",
97 "margin": {},
98 "padding": {}
99 },
100 "border": {},
101 "radius": {}
102 },
103 "passStrengthTxt": {
104 "veryWeak": "Very Weak",
105 "weak": "Weak Password",
106 "medium": "Medium Password",
107 "strong": "Strong Password",
108 "desktop": {
109 "margin": {},
110 "padding": {}
111 },
112 "tablet": {
113 "margin": {},
114 "padding": {}
115 },
116 "mobile": {
117 "margin": {},
118 "padding": {}
119 },
120 "typography": {}
121 },
122 "colors": {
123 "veryWeak": "",
124 "weak": "",
125 "medium": "",
126 "strong": "",
127 "bg": {}
128 }
129 }
130 },
131 "button": {
132 "type": "object",
133 "default": {
134 "button": {
135 "text": "Submit"
136 },
137 "navigation": {
138 "isNavigation": true,
139 "first": {
140 "text": "Already have an account?"
141 },
142 "second": {
143 "text": "Sign In",
144 "url": ""
145 }
146 },
147 "spinner": {
148 "show": false
149 },
150 "signup": {
151 "text": "Register",
152 "desktop": {
153 "margin": {},
154 "padding": {
155 "top": "12px",
156 "left": "25px",
157 "bottom": "12px",
158 "right": "25px"
159 },
160 "justify": "space-between",
161 "displayAs": "row",
162 "alignment": "left",
163 "width": "",
164 "height": ""
165 },
166 "tablet": {
167 "margin": {},
168 "padding": {
169 "top": "12px",
170 "left": "25px",
171 "bottom": "12px",
172 "right": "25px"
173 },
174 "justify": "space-between",
175 "displayAs": "row",
176 "alignment": "left",
177 "width": "",
178 "height": ""
179 },
180 "mobile": {
181 "margin": {},
182 "padding": {
183 "top": "12px",
184 "left": "25px",
185 "bottom": "12px",
186 "right": "25px"
187 },
188 "justify": "space-between",
189 "displayAs": "row",
190 "alignment": "left",
191 "width": "",
192 "height": ""
193 },
194 "typography": {},
195 "normal": {
196 "color": "#fff",
197 "bg": {
198 "color": "#146EF5"
199 },
200 "border": {},
201 "radius": {}
202 },
203 "hover": {
204 "color": "#fff",
205 "bg": {
206 "color": "#146EF5"
207 },
208 "border": {},
209 "radius": {}
210 },
211 "animation": "none",
212 "spinner": {
213 "show": false,
214 "position": 0,
215 "color": ""
216 }
217 },
218 "signin": {
219 "text": {
220 "first": "",
221 "second": "Sign In",
222 "link": ""
223 },
224 "desktop": {
225 "margin": {},
226 "padding": {},
227 "displayAs": "row",
228 "justify": "start",
229 "alignment": "baseline",
230 "containerWidth": "",
231 "width": "",
232 "height": ""
233 },
234 "tablet": {
235 "margin": {},
236 "padding": {},
237 "displayAs": "row",
238 "justify": "start",
239 "alignment": "baseline",
240 "containerWidth": "",
241 "width": "",
242 "height": ""
243 },
244 "mobile": {
245 "margin": {},
246 "padding": {},
247 "displayAs": "row",
248 "justify": "start",
249 "alignment": "baseline",
250 "containerWidth": "",
251 "width": "",
252 "height": ""
253 },
254 "typography": {
255 "fontSize": {
256 "desktop": "16px"
257 }
258 },
259 "normal": {
260 "color": "",
261 "bg": {},
262 "border": {},
263 "radius": {}
264 },
265 "hover": {
266 "color": "",
267 "bg": {},
268 "border": {},
269 "radius": {}
270 }
271 },
272 "signout": {
273 "text": {
274 "first": "You are already loggedin.",
275 "second": "Logout"
276 }
277 }
278 }
279 },
280 "formOptions": {
281 "type": "object",
282 "default": {
283 "isRedirect": true,
284 "customUrl": "",
285 "redirectPrevious": false,
286 "userRole": "subscriber"
287 }
288 },
289 "emailOptions": {
290 "type": "object",
291 "default": {
292 "user": {
293 "type": "default",
294 "messageType": "HTML",
295 "mail": {
296 "subject": "Thank you for registering",
297 "message": "<p>Thank you for registering on gutenberg plugin development!</p> \n <p>Username: [username]</p> \n <p>Password: [password]</p> \n<p>Please click the following address to login to your account:</p> \n<p>http://localhost/my-site/wp-admin/post.php/ </p>"
298 }
299 },
300 "admin": {
301 "type": "default",
302 "messageType": "HTML",
303 "email": "",
304 "mail": {
305 "subject": "New User Registration",
306 "message": "<p>New user registration on your site gutenberg plugin development</p>\n<p>Username: [username]</p>\n<p>Email: [email]</p>"
307 }
308 }
309 }
310 },
311 "termsConditions": {
312 "type": "object",
313 "default": {
314 "show": false,
315 "label": {
316 "first": "I Accept",
317 "second": "the Terms and Conditions."
318 },
319 "url": "",
320 "margin": {
321 "desktop": {},
322 "tablet": {},
323 "mobile": {}
324 },
325 "padding": {
326 "desktop": {},
327 "tablet": {},
328 "mobile": {}
329 },
330 "checkboxMargin": {
331 "desktop": {},
332 "tablet": {},
333 "mobile": {}
334 },
335 "color": {
336 "text": "",
337 "link": "",
338 "bg": "",
339 "checkbox": ""
340 },
341 "typography": {
342 "fontSize": {
343 "desktop": "15px"
344 }
345 }
346 }
347 },
348 "validation": {
349 "type": "object",
350 "default": {
351 "error": {
352 "email": {
353 "invalid": "You have used an invalid email",
354 "missing": "Email is missing",
355 "alreadyUsed": "Email is already registered with other account."
356 },
357 "username": {
358 "invalid": "You have used an invalid username",
359 "alreadyUsed": "The username already registered.",
360 "missing": "Username is missing"
361 },
362 "password": {
363 "invalid": "Your password is invalid",
364 "confirmedPass": "Your confirmed password did not match",
365 "missing": "Password is missing",
366 "custom": ""
367 },
368 "styles": {
369 "typo": {
370 "fontSize": {
371 "desktop": "11px"
372 }
373 },
374 "color": "",
375 "margin": {}
376 }
377 },
378 "success": {
379 "text": "Form submitted successfully!",
380 "styles": {
381 "isShow": false,
382 "typo": {
383 "fontSize": {
384 "desktop": "14px"
385 }
386 },
387 "color": {
388 "text": "",
389 "bg": {}
390 },
391 "margin": {},
392 "padding": {},
393 "border": {
394 "left": {
395 "color": "#00F",
396 "style": "solid",
397 "width": "2px"
398 }
399 },
400 "radius": {}
401 }
402 }
403 }
404 },
405 "message": {
406 "type": "object",
407 "default": {
408 "isShowDemoSuccess": false,
409 "isShowDemoError": false,
410 "success": {
411 "successFulRegistration": "Registration completed successfully!"
412 },
413 "error": {
414 "default": "Something went wrong!"
415 }
416 }
417 },
418 "styles": {
419 "type": "object",
420 "default": {
421 "form": {
422 "bg": {},
423 "width": {
424 "type": "full",
425 "desktop": "100%",
426 "tablet": "",
427 "mobile": ""
428 },
429 "align": "center",
430 "border": {},
431 "shadow": [],
432 "desktop": {
433 "margin": {},
434 "padding": {},
435 "radius": {},
436 "fieldGap": 10
437 },
438 "tablet": {
439 "margin": {},
440 "padding": {},
441 "radius": {},
442 "fieldGap": ""
443 },
444 "mobile": {
445 "margin": {},
446 "padding": {},
447 "radius": {},
448 "fieldGap": ""
449 }
450 },
451 "buttonStyle": {
452 "container": {
453 "desktop": {
454 "display": "row",
455 "margin": {},
456 "padding": {},
457 "justify": "space-between",
458 "align": "flex-start",
459 "gap": "10px"
460 },
461 "tablet": {
462 "display": "row",
463 "margin": {},
464 "padding": {},
465 "justify": "",
466 "align": "",
467 "gap": ""
468 },
469 "mobile": {
470 "display": "row",
471 "margin": {},
472 "padding": {},
473 "justify": "",
474 "align": "",
475 "gap": ""
476 }
477 },
478 "button": {
479 "typography": {
480 "fontSize": {
481 "desktop": "15px"
482 }
483 },
484 "desktop": {
485 "position": "",
486 "margin": {},
487 "padding": {}
488 },
489 "tablet": {
490 "position": "",
491 "margin": {},
492 "padding": {}
493 },
494 "mobile": {
495 "position": "",
496 "margin": {},
497 "padding": {}
498 },
499 "normal": {
500 "color": "",
501 "bg": {},
502 "desktop": {
503 "border": {},
504 "shadow": [],
505 "radius": {}
506 },
507 "tablet": {
508 "border": {},
509 "shadow": [],
510 "radius": {}
511 },
512 "mobile": {
513 "border": {},
514 "shadow": [],
515 "radius": {}
516 }
517 },
518 "hover": {
519 "animation": "",
520 "transition": "",
521 "color": "",
522 "bg": {},
523 "desktop": {
524 "border": {},
525 "shadow": [],
526 "radius": {}
527 },
528 "tablet": {
529 "border": {},
530 "shadow": [],
531 "radius": {}
532 },
533 "mobile": {
534 "border": {},
535 "shadow": [],
536 "radius": {}
537 }
538 }
539 },
540 "spinner": {
541 "isDemo": false,
542 "margin": {
543 "left": "10px",
544 "right": "",
545 "top": "",
546 "bottom": ""
547 },
548 "color": "#fff",
549 "size": "16px"
550 },
551 "navigation": {
552 "first": {
553 "typography": {},
554 "color": "",
555 "desktop": {
556 "margin": {}
557 },
558 "tablet": {
559 "margin": {}
560 },
561 "mobile": {
562 "margin": {}
563 }
564 },
565 "second": {
566 "typography": {},
567 "color": "",
568 "desktop": {
569 "margin": {}
570 },
571 "tablet": {
572 "margin": {}
573 },
574 "mobile": {
575 "margin": {}
576 }
577 }
578 }
579 },
580 "message": {
581 "success": {
582 "typo": {
583 "fontSize": {
584 "desktop": "14px"
585 }
586 },
587 "color": {
588 "text": "",
589 "bg": {}
590 },
591 "margin": {},
592 "padding": {},
593 "border": {
594 "left": {
595 "color": "#00F",
596 "style": "solid",
597 "width": "2px"
598 }
599 },
600 "radius": {}
601 },
602 "error": {
603 "typo": {
604 "fontSize": {
605 "desktop": "14px"
606 }
607 },
608 "color": {
609 "text": "",
610 "bg": {}
611 },
612 "margin": {},
613 "padding": {},
614 "border": {
615 "left": {
616 "color": "#ff2c2c",
617 "style": "solid",
618 "width": "2px"
619 }
620 },
621 "radius": {}
622 }
623 }
624 }
625 },
626 "advanced": {
627 "type": "object",
628 "default": {
629 "dimension": {
630 "padding": {
631 "desktop": {
632 "top": "60px",
633 "right": "60px",
634 "bottom": "60px",
635 "left": "60px"
636 },
637 "tablet": {
638 "top": "50px",
639 "right": "50px",
640 "bottom": "50px",
641 "left": "50px"
642 },
643 "mobile": {
644 "top": "40px",
645 "right": "40px",
646 "bottom": "40px",
647 "left": "40px"
648 }
649 }
650 },
651 "borderShadow": {
652 "normal": {
653 "radius": {
654 "top": "0px",
655 "right": "0px",
656 "bottom": "0px",
657 "left": "0px"
658 },
659 "shadow": [
660 {
661 "hOffset": "0px",
662 "vOffset": "0px",
663 "blur": "0px",
664 "spreed": "0px",
665 "color": "#7090b0",
666 "isInset": false
667 }
668 ]
669 }
670 },
671 "background": {
672 "normal": {
673 "type": "color",
674 "color": "rgba(255, 255, 255, 1)",
675 "gradient": {
676 "type": "radial",
677 "radialType": "ellipse",
678 "colors": [
679 {
680 "color": "rgba(58, 66, 222, 1)",
681 "position": "0"
682 },
683 {
684 "color": "rgba(176, 195, 235, 1)",
685 "position": "80"
686 }
687 ],
688 "centerPositions": {
689 "x": 50,
690 "y": 50
691 },
692 "angel": 90
693 },
694 "img": {
695 "url": "",
696 "desktop": {
697 "position": "center center",
698 "xPosition": 0,
699 "yPosition": 0,
700 "attachment": "",
701 "repeat": "no-repeat",
702 "size": "",
703 "customSize": "0px"
704 },
705 "tablet": {
706 "position": "center center",
707 "xPosition": 0,
708 "yPosition": 0,
709 "attachment": "",
710 "repeat": "no-repeat",
711 "size": "",
712 "customSize": "0px"
713 },
714 "mobile": {
715 "position": "center center",
716 "xPosition": 0,
717 "yPosition": 0,
718 "attachment": "",
719 "repeat": "no-repeat",
720 "size": "",
721 "customSize": "0px"
722 }
723 },
724 "video": {
725 "url": "",
726 "loop": false
727 },
728 "transition": 0.3
729 }
730 },
731 "transform": {
732 "normal": {
733 "rotate": {
734 "desktop": {
735 "z": "",
736 "y": "",
737 "x": ""
738 },
739 "tablet": {
740 "z": "",
741 "y": "",
742 "x": ""
743 },
744 "mobile": {
745 "z": "",
746 "y": "",
747 "x": ""
748 },
749 "threeDRotate": false
750 },
751 "offset": {
752 "desktop": {
753 "x": "",
754 "y": ""
755 },
756 "tablet": {
757 "x": "",
758 "y": ""
759 },
760 "mobile": {
761 "x": "",
762 "y": ""
763 }
764 },
765 "scale": {
766 "isProportion": true,
767 "desktop": {
768 "x": "",
769 "y": "",
770 "scale": ""
771 },
772 "tablet": {
773 "x": "",
774 "y": "",
775 "scale": ""
776 },
777 "mobile": {
778 "x": "",
779 "y": "",
780 "scale": ""
781 }
782 },
783 "skew": {
784 "desktop": {
785 "x": "",
786 "y": ""
787 },
788 "tablet": {
789 "x": "",
790 "y": ""
791 },
792 "mobile": {
793 "x": "",
794 "y": ""
795 }
796 },
797 "flipX": false,
798 "flipY": false
799 },
800 "hover": {
801 "rotate": {
802 "desktop": {
803 "z": "",
804 "y": "",
805 "x": ""
806 },
807 "tablet": {
808 "z": "",
809 "y": "",
810 "x": ""
811 },
812 "mobile": {
813 "z": "",
814 "y": "",
815 "x": ""
816 },
817 "threeDRotate": false
818 },
819 "offset": {
820 "desktop": {
821 "x": "",
822 "y": ""
823 },
824 "tablet": {
825 "x": "",
826 "y": ""
827 },
828 "mobile": {
829 "x": "",
830 "y": ""
831 }
832 },
833 "scale": {
834 "isProportion": true,
835 "desktop": {
836 "x": "",
837 "y": "",
838 "scale": ""
839 },
840 "tablet": {
841 "x": "",
842 "y": "",
843 "scale": ""
844 },
845 "mobile": {
846 "x": "",
847 "y": "",
848 "scale": ""
849 }
850 },
851 "skew": {
852 "desktop": {
853 "x": "",
854 "y": ""
855 },
856 "tablet": {
857 "x": "",
858 "y": ""
859 },
860 "mobile": {
861 "x": "",
862 "y": ""
863 }
864 },
865 "flipX": false,
866 "flipY": false
867 },
868 "transition": 200
869 }
870 }
871 }
872 },
873 "supports": {
874 "align": [
875 "wide",
876 "full"
877 ],
878 "html": false
879 },
880 "usesContext": [
881 "b-blocks/inputClientId"
882 ],
883 "example": {
884 "attributes": {}
885 },
886 "editorScript": "file:../index.js",
887 "render": "file:./render.php",
888 "style": "file:./view.css",
889 "viewScript": [
890 "file:./view.js",
891 "wp-util"
892 ]
893 }