@bigbinary/neeto-form-frontend 1.0.9 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/dist/main.css +0 -652
- package/package.json +14 -4
package/README.md
CHANGED
|
@@ -23,6 +23,21 @@ Import stylesheet from the following location:
|
|
|
23
23
|
@import "@bigbinary/neeto-form-frontend/dist/main.css";
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
+
This package relies on the host project's tailwind configuration. So add
|
|
27
|
+
neeto-form-frontend to your project's tailwind.config.js file:
|
|
28
|
+
|
|
29
|
+
```js
|
|
30
|
+
module.exports = {
|
|
31
|
+
purge: {
|
|
32
|
+
content: [
|
|
33
|
+
// ... other content directories
|
|
34
|
+
"./node_modules/@bigbinary/neeto-form-frontend/**/*.js",
|
|
35
|
+
],
|
|
36
|
+
},
|
|
37
|
+
// ... other tailwind config options
|
|
38
|
+
};
|
|
39
|
+
```
|
|
40
|
+
|
|
26
41
|
Add `NeetoFormProvider` to the root of your application:
|
|
27
42
|
|
|
28
43
|
```jsx
|
package/dist/main.css
CHANGED
|
@@ -426,658 +426,6 @@
|
|
|
426
426
|
opacity: 1;
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
|
-
@tailwind base;
|
|
430
|
-
@tailwind components;
|
|
431
|
-
@tailwind utilities;
|
|
432
|
-
:root {
|
|
433
|
-
--toastify-color-light: #fff;
|
|
434
|
-
--toastify-color-dark: #121212;
|
|
435
|
-
--toastify-color-info: #3498db;
|
|
436
|
-
--toastify-color-success: #07bc0c;
|
|
437
|
-
--toastify-color-warning: #f1c40f;
|
|
438
|
-
--toastify-color-error: #e74c3c;
|
|
439
|
-
--toastify-color-transparent: rgba(255, 255, 255, 0.7);
|
|
440
|
-
--toastify-icon-color-info: var(--toastify-color-info);
|
|
441
|
-
--toastify-icon-color-success: var(--toastify-color-success);
|
|
442
|
-
--toastify-icon-color-warning: var(--toastify-color-warning);
|
|
443
|
-
--toastify-icon-color-error: var(--toastify-color-error);
|
|
444
|
-
--toastify-toast-width: 320px;
|
|
445
|
-
--toastify-toast-background: #fff;
|
|
446
|
-
--toastify-toast-min-height: 64px;
|
|
447
|
-
--toastify-toast-max-height: 800px;
|
|
448
|
-
--toastify-font-family: sans-serif;
|
|
449
|
-
--toastify-z-index: 9999;
|
|
450
|
-
--toastify-text-color-light: #757575;
|
|
451
|
-
--toastify-text-color-dark: #fff;
|
|
452
|
-
--toastify-text-color-info: #fff;
|
|
453
|
-
--toastify-text-color-success: #fff;
|
|
454
|
-
--toastify-text-color-warning: #fff;
|
|
455
|
-
--toastify-text-color-error: #fff;
|
|
456
|
-
--toastify-spinner-color: #616161;
|
|
457
|
-
--toastify-spinner-color-empty-area: #e0e0e0;
|
|
458
|
-
--toastify-color-progress-light: linear-gradient(
|
|
459
|
-
to right,
|
|
460
|
-
#4cd964,
|
|
461
|
-
#5ac8fa,
|
|
462
|
-
#007aff,
|
|
463
|
-
#34aadc,
|
|
464
|
-
#5856d6,
|
|
465
|
-
#ff2d55
|
|
466
|
-
);
|
|
467
|
-
--toastify-color-progress-dark: #bb86fc;
|
|
468
|
-
--toastify-color-progress-info: var(--toastify-color-info);
|
|
469
|
-
--toastify-color-progress-success: var(--toastify-color-success);
|
|
470
|
-
--toastify-color-progress-warning: var(--toastify-color-warning);
|
|
471
|
-
--toastify-color-progress-error: var(--toastify-color-error);
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
.Toastify__toast-container {
|
|
475
|
-
z-index: var(--toastify-z-index);
|
|
476
|
-
-webkit-transform: translate3d(0, 0, var(--toastify-z-index) px);
|
|
477
|
-
position: fixed;
|
|
478
|
-
padding: 4px;
|
|
479
|
-
width: var(--toastify-toast-width);
|
|
480
|
-
box-sizing: border-box;
|
|
481
|
-
color: #fff;
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
.Toastify__toast-container--top-left {
|
|
485
|
-
top: 1em;
|
|
486
|
-
left: 1em;
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
.Toastify__toast-container--top-center {
|
|
490
|
-
top: 1em;
|
|
491
|
-
left: 50%;
|
|
492
|
-
transform: translateX(-50%);
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
.Toastify__toast-container--top-right {
|
|
496
|
-
top: 1em;
|
|
497
|
-
right: 1em;
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
.Toastify__toast-container--bottom-left {
|
|
501
|
-
bottom: 1em;
|
|
502
|
-
left: 1em;
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
.Toastify__toast-container--bottom-center {
|
|
506
|
-
bottom: 1em;
|
|
507
|
-
left: 50%;
|
|
508
|
-
transform: translateX(-50%);
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
.Toastify__toast-container--bottom-right {
|
|
512
|
-
bottom: 1em;
|
|
513
|
-
right: 1em;
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
@media only screen and (max-width: 480px) {
|
|
517
|
-
.Toastify__toast-container {
|
|
518
|
-
width: 100vw;
|
|
519
|
-
padding: 0;
|
|
520
|
-
left: 0;
|
|
521
|
-
margin: 0;
|
|
522
|
-
}
|
|
523
|
-
.Toastify__toast-container--top-left, .Toastify__toast-container--top-center, .Toastify__toast-container--top-right {
|
|
524
|
-
top: 0;
|
|
525
|
-
transform: translateX(0);
|
|
526
|
-
}
|
|
527
|
-
.Toastify__toast-container--bottom-left, .Toastify__toast-container--bottom-center, .Toastify__toast-container--bottom-right {
|
|
528
|
-
bottom: 0;
|
|
529
|
-
transform: translateX(0);
|
|
530
|
-
}
|
|
531
|
-
.Toastify__toast-container--rtl {
|
|
532
|
-
right: 0;
|
|
533
|
-
left: initial;
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
.Toastify__toast {
|
|
537
|
-
position: relative;
|
|
538
|
-
min-height: var(--toastify-toast-min-height);
|
|
539
|
-
box-sizing: border-box;
|
|
540
|
-
margin-bottom: 1rem;
|
|
541
|
-
padding: 8px;
|
|
542
|
-
border-radius: 4px;
|
|
543
|
-
box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.1), 0 2px 15px 0 rgba(0, 0, 0, 0.05);
|
|
544
|
-
display: -ms-flexbox;
|
|
545
|
-
display: flex;
|
|
546
|
-
-ms-flex-pack: justify;
|
|
547
|
-
justify-content: space-between;
|
|
548
|
-
max-height: var(--toastify-toast-max-height);
|
|
549
|
-
overflow: hidden;
|
|
550
|
-
font-family: var(--toastify-font-family);
|
|
551
|
-
cursor: pointer;
|
|
552
|
-
direction: ltr;
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
.Toastify__toast--rtl {
|
|
556
|
-
direction: rtl;
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
.Toastify__toast-body {
|
|
560
|
-
margin: auto 0;
|
|
561
|
-
-ms-flex: 1 1 auto;
|
|
562
|
-
flex: 1 1 auto;
|
|
563
|
-
padding: 6px;
|
|
564
|
-
display: -ms-flexbox;
|
|
565
|
-
display: flex;
|
|
566
|
-
-ms-flex-align: center;
|
|
567
|
-
align-items: center;
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
.Toastify__toast-icon {
|
|
571
|
-
-webkit-margin-end: 10px;
|
|
572
|
-
margin-inline-end: 10px;
|
|
573
|
-
width: 20px;
|
|
574
|
-
-ms-flex-negative: 0;
|
|
575
|
-
flex-shrink: 0;
|
|
576
|
-
display: -ms-flexbox;
|
|
577
|
-
display: flex;
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
.Toastify--animate {
|
|
581
|
-
animation-fill-mode: both;
|
|
582
|
-
animation-duration: 0.7s;
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
.Toastify--animate-icon {
|
|
586
|
-
animation-fill-mode: both;
|
|
587
|
-
animation-duration: 0.3s;
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
@media only screen and (max-width: 480px) {
|
|
591
|
-
.Toastify__toast {
|
|
592
|
-
margin-bottom: 0;
|
|
593
|
-
border-radius: 0;
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
.Toastify__toast-theme--dark {
|
|
597
|
-
background: var(--toastify-color-dark);
|
|
598
|
-
color: var(--toastify-text-color-dark);
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
.Toastify__toast-theme--light {
|
|
602
|
-
background: var(--toastify-color-light);
|
|
603
|
-
color: var(--toastify-text-color-light);
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
.Toastify__toast-theme--colored.Toastify__toast--default {
|
|
607
|
-
background: var(--toastify-color-light);
|
|
608
|
-
color: var(--toastify-text-color-light);
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
.Toastify__toast-theme--colored.Toastify__toast--info {
|
|
612
|
-
color: var(--toastify-text-color-info);
|
|
613
|
-
background: var(--toastify-color-info);
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
.Toastify__toast-theme--colored.Toastify__toast--success {
|
|
617
|
-
color: var(--toastify-text-color-success);
|
|
618
|
-
background: var(--toastify-color-success);
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
.Toastify__toast-theme--colored.Toastify__toast--warning {
|
|
622
|
-
color: var(--toastify-text-color-warning);
|
|
623
|
-
background: var(--toastify-color-warning);
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
.Toastify__toast-theme--colored.Toastify__toast--error {
|
|
627
|
-
color: var(--toastify-text-color-error);
|
|
628
|
-
background: var(--toastify-color-error);
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
.Toastify__progress-bar-theme--light {
|
|
632
|
-
background: var(--toastify-color-progress-light);
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
.Toastify__progress-bar-theme--dark {
|
|
636
|
-
background: var(--toastify-color-progress-dark);
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
.Toastify__progress-bar--info {
|
|
640
|
-
background: var(--toastify-color-progress-info);
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
.Toastify__progress-bar--success {
|
|
644
|
-
background: var(--toastify-color-progress-success);
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
.Toastify__progress-bar--warning {
|
|
648
|
-
background: var(--toastify-color-progress-warning);
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
.Toastify__progress-bar--error {
|
|
652
|
-
background: var(--toastify-color-progress-error);
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--success, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--error {
|
|
656
|
-
background: var(--toastify-color-transparent);
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
.Toastify__close-button {
|
|
660
|
-
color: #fff;
|
|
661
|
-
background: transparent;
|
|
662
|
-
outline: none;
|
|
663
|
-
border: none;
|
|
664
|
-
padding: 0;
|
|
665
|
-
cursor: pointer;
|
|
666
|
-
opacity: 0.7;
|
|
667
|
-
transition: 0.3s ease;
|
|
668
|
-
-ms-flex-item-align: start;
|
|
669
|
-
align-self: flex-start;
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
.Toastify__close-button--light {
|
|
673
|
-
color: #000;
|
|
674
|
-
opacity: 0.3;
|
|
675
|
-
}
|
|
676
|
-
|
|
677
|
-
.Toastify__close-button > svg {
|
|
678
|
-
fill: currentColor;
|
|
679
|
-
height: 16px;
|
|
680
|
-
width: 14px;
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
.Toastify__close-button:hover, .Toastify__close-button:focus {
|
|
684
|
-
opacity: 1;
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
@keyframes Toastify__trackProgress {
|
|
688
|
-
0% {
|
|
689
|
-
transform: scaleX(1);
|
|
690
|
-
}
|
|
691
|
-
100% {
|
|
692
|
-
transform: scaleX(0);
|
|
693
|
-
}
|
|
694
|
-
}
|
|
695
|
-
.Toastify__progress-bar {
|
|
696
|
-
position: absolute;
|
|
697
|
-
bottom: 0;
|
|
698
|
-
left: 0;
|
|
699
|
-
width: 100%;
|
|
700
|
-
height: 5px;
|
|
701
|
-
z-index: var(--toastify-z-index);
|
|
702
|
-
opacity: 0.7;
|
|
703
|
-
transform-origin: left;
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
.Toastify__progress-bar--animated {
|
|
707
|
-
animation: Toastify__trackProgress linear 1 forwards;
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
.Toastify__progress-bar--controlled {
|
|
711
|
-
transition: transform 0.2s;
|
|
712
|
-
}
|
|
713
|
-
|
|
714
|
-
.Toastify__progress-bar--rtl {
|
|
715
|
-
right: 0;
|
|
716
|
-
left: initial;
|
|
717
|
-
transform-origin: right;
|
|
718
|
-
}
|
|
719
|
-
|
|
720
|
-
.Toastify__spinner {
|
|
721
|
-
width: 20px;
|
|
722
|
-
height: 20px;
|
|
723
|
-
box-sizing: border-box;
|
|
724
|
-
border: 2px solid;
|
|
725
|
-
border-radius: 100%;
|
|
726
|
-
border-color: var(--toastify-spinner-color-empty-area);
|
|
727
|
-
border-right-color: var(--toastify-spinner-color);
|
|
728
|
-
animation: Toastify__spin 0.65s linear infinite;
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
@keyframes Toastify__bounceInRight {
|
|
732
|
-
from, 60%, 75%, 90%, to {
|
|
733
|
-
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
734
|
-
}
|
|
735
|
-
from {
|
|
736
|
-
opacity: 0;
|
|
737
|
-
transform: translate3d(3000px, 0, 0);
|
|
738
|
-
}
|
|
739
|
-
60% {
|
|
740
|
-
opacity: 1;
|
|
741
|
-
transform: translate3d(-25px, 0, 0);
|
|
742
|
-
}
|
|
743
|
-
75% {
|
|
744
|
-
transform: translate3d(10px, 0, 0);
|
|
745
|
-
}
|
|
746
|
-
90% {
|
|
747
|
-
transform: translate3d(-5px, 0, 0);
|
|
748
|
-
}
|
|
749
|
-
to {
|
|
750
|
-
transform: none;
|
|
751
|
-
}
|
|
752
|
-
}
|
|
753
|
-
@keyframes Toastify__bounceOutRight {
|
|
754
|
-
20% {
|
|
755
|
-
opacity: 1;
|
|
756
|
-
transform: translate3d(-20px, 0, 0);
|
|
757
|
-
}
|
|
758
|
-
to {
|
|
759
|
-
opacity: 0;
|
|
760
|
-
transform: translate3d(2000px, 0, 0);
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
@keyframes Toastify__bounceInLeft {
|
|
764
|
-
from, 60%, 75%, 90%, to {
|
|
765
|
-
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
766
|
-
}
|
|
767
|
-
0% {
|
|
768
|
-
opacity: 0;
|
|
769
|
-
transform: translate3d(-3000px, 0, 0);
|
|
770
|
-
}
|
|
771
|
-
60% {
|
|
772
|
-
opacity: 1;
|
|
773
|
-
transform: translate3d(25px, 0, 0);
|
|
774
|
-
}
|
|
775
|
-
75% {
|
|
776
|
-
transform: translate3d(-10px, 0, 0);
|
|
777
|
-
}
|
|
778
|
-
90% {
|
|
779
|
-
transform: translate3d(5px, 0, 0);
|
|
780
|
-
}
|
|
781
|
-
to {
|
|
782
|
-
transform: none;
|
|
783
|
-
}
|
|
784
|
-
}
|
|
785
|
-
@keyframes Toastify__bounceOutLeft {
|
|
786
|
-
20% {
|
|
787
|
-
opacity: 1;
|
|
788
|
-
transform: translate3d(20px, 0, 0);
|
|
789
|
-
}
|
|
790
|
-
to {
|
|
791
|
-
opacity: 0;
|
|
792
|
-
transform: translate3d(-2000px, 0, 0);
|
|
793
|
-
}
|
|
794
|
-
}
|
|
795
|
-
@keyframes Toastify__bounceInUp {
|
|
796
|
-
from, 60%, 75%, 90%, to {
|
|
797
|
-
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
798
|
-
}
|
|
799
|
-
from {
|
|
800
|
-
opacity: 0;
|
|
801
|
-
transform: translate3d(0, 3000px, 0);
|
|
802
|
-
}
|
|
803
|
-
60% {
|
|
804
|
-
opacity: 1;
|
|
805
|
-
transform: translate3d(0, -20px, 0);
|
|
806
|
-
}
|
|
807
|
-
75% {
|
|
808
|
-
transform: translate3d(0, 10px, 0);
|
|
809
|
-
}
|
|
810
|
-
90% {
|
|
811
|
-
transform: translate3d(0, -5px, 0);
|
|
812
|
-
}
|
|
813
|
-
to {
|
|
814
|
-
transform: translate3d(0, 0, 0);
|
|
815
|
-
}
|
|
816
|
-
}
|
|
817
|
-
@keyframes Toastify__bounceOutUp {
|
|
818
|
-
20% {
|
|
819
|
-
transform: translate3d(0, -10px, 0);
|
|
820
|
-
}
|
|
821
|
-
40%, 45% {
|
|
822
|
-
opacity: 1;
|
|
823
|
-
transform: translate3d(0, 20px, 0);
|
|
824
|
-
}
|
|
825
|
-
to {
|
|
826
|
-
opacity: 0;
|
|
827
|
-
transform: translate3d(0, -2000px, 0);
|
|
828
|
-
}
|
|
829
|
-
}
|
|
830
|
-
@keyframes Toastify__bounceInDown {
|
|
831
|
-
from, 60%, 75%, 90%, to {
|
|
832
|
-
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
833
|
-
}
|
|
834
|
-
0% {
|
|
835
|
-
opacity: 0;
|
|
836
|
-
transform: translate3d(0, -3000px, 0);
|
|
837
|
-
}
|
|
838
|
-
60% {
|
|
839
|
-
opacity: 1;
|
|
840
|
-
transform: translate3d(0, 25px, 0);
|
|
841
|
-
}
|
|
842
|
-
75% {
|
|
843
|
-
transform: translate3d(0, -10px, 0);
|
|
844
|
-
}
|
|
845
|
-
90% {
|
|
846
|
-
transform: translate3d(0, 5px, 0);
|
|
847
|
-
}
|
|
848
|
-
to {
|
|
849
|
-
transform: none;
|
|
850
|
-
}
|
|
851
|
-
}
|
|
852
|
-
@keyframes Toastify__bounceOutDown {
|
|
853
|
-
20% {
|
|
854
|
-
transform: translate3d(0, 10px, 0);
|
|
855
|
-
}
|
|
856
|
-
40%, 45% {
|
|
857
|
-
opacity: 1;
|
|
858
|
-
transform: translate3d(0, -20px, 0);
|
|
859
|
-
}
|
|
860
|
-
to {
|
|
861
|
-
opacity: 0;
|
|
862
|
-
transform: translate3d(0, 2000px, 0);
|
|
863
|
-
}
|
|
864
|
-
}
|
|
865
|
-
.Toastify__bounce-enter--top-left, .Toastify__bounce-enter--bottom-left {
|
|
866
|
-
animation-name: Toastify__bounceInLeft;
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
.Toastify__bounce-enter--top-right, .Toastify__bounce-enter--bottom-right {
|
|
870
|
-
animation-name: Toastify__bounceInRight;
|
|
871
|
-
}
|
|
872
|
-
|
|
873
|
-
.Toastify__bounce-enter--top-center {
|
|
874
|
-
animation-name: Toastify__bounceInDown;
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
.Toastify__bounce-enter--bottom-center {
|
|
878
|
-
animation-name: Toastify__bounceInUp;
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
.Toastify__bounce-exit--top-left, .Toastify__bounce-exit--bottom-left {
|
|
882
|
-
animation-name: Toastify__bounceOutLeft;
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
.Toastify__bounce-exit--top-right, .Toastify__bounce-exit--bottom-right {
|
|
886
|
-
animation-name: Toastify__bounceOutRight;
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
.Toastify__bounce-exit--top-center {
|
|
890
|
-
animation-name: Toastify__bounceOutUp;
|
|
891
|
-
}
|
|
892
|
-
|
|
893
|
-
.Toastify__bounce-exit--bottom-center {
|
|
894
|
-
animation-name: Toastify__bounceOutDown;
|
|
895
|
-
}
|
|
896
|
-
|
|
897
|
-
@keyframes Toastify__zoomIn {
|
|
898
|
-
from {
|
|
899
|
-
opacity: 0;
|
|
900
|
-
transform: scale3d(0.3, 0.3, 0.3);
|
|
901
|
-
}
|
|
902
|
-
50% {
|
|
903
|
-
opacity: 1;
|
|
904
|
-
}
|
|
905
|
-
}
|
|
906
|
-
@keyframes Toastify__zoomOut {
|
|
907
|
-
from {
|
|
908
|
-
opacity: 1;
|
|
909
|
-
}
|
|
910
|
-
50% {
|
|
911
|
-
opacity: 0;
|
|
912
|
-
transform: scale3d(0.3, 0.3, 0.3);
|
|
913
|
-
}
|
|
914
|
-
to {
|
|
915
|
-
opacity: 0;
|
|
916
|
-
}
|
|
917
|
-
}
|
|
918
|
-
.Toastify__zoom-enter {
|
|
919
|
-
animation-name: Toastify__zoomIn;
|
|
920
|
-
}
|
|
921
|
-
|
|
922
|
-
.Toastify__zoom-exit {
|
|
923
|
-
animation-name: Toastify__zoomOut;
|
|
924
|
-
}
|
|
925
|
-
|
|
926
|
-
@keyframes Toastify__flipIn {
|
|
927
|
-
from {
|
|
928
|
-
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
|
929
|
-
animation-timing-function: ease-in;
|
|
930
|
-
opacity: 0;
|
|
931
|
-
}
|
|
932
|
-
40% {
|
|
933
|
-
transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
|
934
|
-
animation-timing-function: ease-in;
|
|
935
|
-
}
|
|
936
|
-
60% {
|
|
937
|
-
transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
|
|
938
|
-
opacity: 1;
|
|
939
|
-
}
|
|
940
|
-
80% {
|
|
941
|
-
transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
|
|
942
|
-
}
|
|
943
|
-
to {
|
|
944
|
-
transform: perspective(400px);
|
|
945
|
-
}
|
|
946
|
-
}
|
|
947
|
-
@keyframes Toastify__flipOut {
|
|
948
|
-
from {
|
|
949
|
-
transform: perspective(400px);
|
|
950
|
-
}
|
|
951
|
-
30% {
|
|
952
|
-
transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
|
953
|
-
opacity: 1;
|
|
954
|
-
}
|
|
955
|
-
to {
|
|
956
|
-
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
|
957
|
-
opacity: 0;
|
|
958
|
-
}
|
|
959
|
-
}
|
|
960
|
-
.Toastify__flip-enter {
|
|
961
|
-
animation-name: Toastify__flipIn;
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
.Toastify__flip-exit {
|
|
965
|
-
animation-name: Toastify__flipOut;
|
|
966
|
-
}
|
|
967
|
-
|
|
968
|
-
@keyframes Toastify__slideInRight {
|
|
969
|
-
from {
|
|
970
|
-
transform: translate3d(110%, 0, 0);
|
|
971
|
-
visibility: visible;
|
|
972
|
-
}
|
|
973
|
-
to {
|
|
974
|
-
transform: translate3d(0, 0, 0);
|
|
975
|
-
}
|
|
976
|
-
}
|
|
977
|
-
@keyframes Toastify__slideInLeft {
|
|
978
|
-
from {
|
|
979
|
-
transform: translate3d(-110%, 0, 0);
|
|
980
|
-
visibility: visible;
|
|
981
|
-
}
|
|
982
|
-
to {
|
|
983
|
-
transform: translate3d(0, 0, 0);
|
|
984
|
-
}
|
|
985
|
-
}
|
|
986
|
-
@keyframes Toastify__slideInUp {
|
|
987
|
-
from {
|
|
988
|
-
transform: translate3d(0, 110%, 0);
|
|
989
|
-
visibility: visible;
|
|
990
|
-
}
|
|
991
|
-
to {
|
|
992
|
-
transform: translate3d(0, 0, 0);
|
|
993
|
-
}
|
|
994
|
-
}
|
|
995
|
-
@keyframes Toastify__slideInDown {
|
|
996
|
-
from {
|
|
997
|
-
transform: translate3d(0, -110%, 0);
|
|
998
|
-
visibility: visible;
|
|
999
|
-
}
|
|
1000
|
-
to {
|
|
1001
|
-
transform: translate3d(0, 0, 0);
|
|
1002
|
-
}
|
|
1003
|
-
}
|
|
1004
|
-
@keyframes Toastify__slideOutRight {
|
|
1005
|
-
from {
|
|
1006
|
-
transform: translate3d(0, 0, 0);
|
|
1007
|
-
}
|
|
1008
|
-
to {
|
|
1009
|
-
visibility: hidden;
|
|
1010
|
-
transform: translate3d(110%, 0, 0);
|
|
1011
|
-
}
|
|
1012
|
-
}
|
|
1013
|
-
@keyframes Toastify__slideOutLeft {
|
|
1014
|
-
from {
|
|
1015
|
-
transform: translate3d(0, 0, 0);
|
|
1016
|
-
}
|
|
1017
|
-
to {
|
|
1018
|
-
visibility: hidden;
|
|
1019
|
-
transform: translate3d(-110%, 0, 0);
|
|
1020
|
-
}
|
|
1021
|
-
}
|
|
1022
|
-
@keyframes Toastify__slideOutDown {
|
|
1023
|
-
from {
|
|
1024
|
-
transform: translate3d(0, 0, 0);
|
|
1025
|
-
}
|
|
1026
|
-
to {
|
|
1027
|
-
visibility: hidden;
|
|
1028
|
-
transform: translate3d(0, 500px, 0);
|
|
1029
|
-
}
|
|
1030
|
-
}
|
|
1031
|
-
@keyframes Toastify__slideOutUp {
|
|
1032
|
-
from {
|
|
1033
|
-
transform: translate3d(0, 0, 0);
|
|
1034
|
-
}
|
|
1035
|
-
to {
|
|
1036
|
-
visibility: hidden;
|
|
1037
|
-
transform: translate3d(0, -500px, 0);
|
|
1038
|
-
}
|
|
1039
|
-
}
|
|
1040
|
-
.Toastify__slide-enter--top-left, .Toastify__slide-enter--bottom-left {
|
|
1041
|
-
animation-name: Toastify__slideInLeft;
|
|
1042
|
-
}
|
|
1043
|
-
|
|
1044
|
-
.Toastify__slide-enter--top-right, .Toastify__slide-enter--bottom-right {
|
|
1045
|
-
animation-name: Toastify__slideInRight;
|
|
1046
|
-
}
|
|
1047
|
-
|
|
1048
|
-
.Toastify__slide-enter--top-center {
|
|
1049
|
-
animation-name: Toastify__slideInDown;
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
|
-
.Toastify__slide-enter--bottom-center {
|
|
1053
|
-
animation-name: Toastify__slideInUp;
|
|
1054
|
-
}
|
|
1055
|
-
|
|
1056
|
-
.Toastify__slide-exit--top-left, .Toastify__slide-exit--bottom-left {
|
|
1057
|
-
animation-name: Toastify__slideOutLeft;
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
|
-
.Toastify__slide-exit--top-right, .Toastify__slide-exit--bottom-right {
|
|
1061
|
-
animation-name: Toastify__slideOutRight;
|
|
1062
|
-
}
|
|
1063
|
-
|
|
1064
|
-
.Toastify__slide-exit--top-center {
|
|
1065
|
-
animation-name: Toastify__slideOutUp;
|
|
1066
|
-
}
|
|
1067
|
-
|
|
1068
|
-
.Toastify__slide-exit--bottom-center {
|
|
1069
|
-
animation-name: Toastify__slideOutDown;
|
|
1070
|
-
}
|
|
1071
|
-
|
|
1072
|
-
@keyframes Toastify__spin {
|
|
1073
|
-
from {
|
|
1074
|
-
transform: rotate(0deg);
|
|
1075
|
-
}
|
|
1076
|
-
to {
|
|
1077
|
-
transform: rotate(360deg);
|
|
1078
|
-
}
|
|
1079
|
-
}
|
|
1080
|
-
|
|
1081
429
|
.neeto-form-engine-add-question-between {
|
|
1082
430
|
visibility: hidden;
|
|
1083
431
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-form-frontend",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"description": "Neeto Form Engine Frontend",
|
|
5
5
|
"author": "BigBinary",
|
|
6
6
|
"license": "MIT",
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
},
|
|
14
14
|
"scripts": {
|
|
15
15
|
"build": "NODE_ENV=production rollup -c --environment production",
|
|
16
|
-
"prepare": "husky install"
|
|
16
|
+
"prepare": "husky install",
|
|
17
|
+
"dev": "vite"
|
|
17
18
|
},
|
|
18
19
|
"lint-staged": {
|
|
19
20
|
"{src,example}/**/*.{js,jsx,json}": [
|
|
@@ -41,6 +42,8 @@
|
|
|
41
42
|
"@bigbinary/neeto-editor": "^1.0.3",
|
|
42
43
|
"@bigbinary/neeto-icons": "^1.8.35",
|
|
43
44
|
"@bigbinary/neetoui": "^4.0.6",
|
|
45
|
+
"@honeybadger-io/js": "^5.1.1",
|
|
46
|
+
"@honeybadger-io/react": "^5.1.3",
|
|
44
47
|
"@rollup/plugin-alias": "^3.1.9",
|
|
45
48
|
"@rollup/plugin-babel": "^5.3.1",
|
|
46
49
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
@@ -48,6 +51,7 @@
|
|
|
48
51
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
49
52
|
"@rollup/plugin-replace": "^4.0.0",
|
|
50
53
|
"@svgr/rollup": "^6.2.1",
|
|
54
|
+
"@vitejs/plugin-react": "^3.1.0",
|
|
51
55
|
"antd": "^4.24.2",
|
|
52
56
|
"axios": "^0.27.2",
|
|
53
57
|
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
|
|
@@ -77,6 +81,7 @@
|
|
|
77
81
|
"react": "^17.0.1",
|
|
78
82
|
"react-beautiful-dnd": "^13.1.0",
|
|
79
83
|
"react-dom": "^17.0.1",
|
|
84
|
+
"react-helmet": "^6.1.0",
|
|
80
85
|
"react-i18next": "^11.16.9",
|
|
81
86
|
"react-query": "^3.39.2",
|
|
82
87
|
"react-router-dom": "5.3.0",
|
|
@@ -90,7 +95,11 @@
|
|
|
90
95
|
"sass": "^1.26.11",
|
|
91
96
|
"tailwindcss": "^3.0.24",
|
|
92
97
|
"uuid": "^9.0.0",
|
|
93
|
-
"
|
|
98
|
+
"vite": "^4.1.4",
|
|
99
|
+
"vite-plugin-external": "^1.2.8",
|
|
100
|
+
"vite-plugin-svgr-component": "^1.0.1",
|
|
101
|
+
"yup": "^1.0.0",
|
|
102
|
+
"zustand": "4.1.1"
|
|
94
103
|
},
|
|
95
104
|
"peerDependencies": {
|
|
96
105
|
"@bigbinary/neeto-commons-frontend": "latest",
|
|
@@ -107,7 +116,8 @@
|
|
|
107
116
|
"react-router-dom": "5.3.0",
|
|
108
117
|
"react-toastify": "8.0.2",
|
|
109
118
|
"tailwindcss": "^3.0.24",
|
|
110
|
-
"yup": "^1.0.0"
|
|
119
|
+
"yup": "^1.0.0",
|
|
120
|
+
"zustand": "latest"
|
|
111
121
|
},
|
|
112
122
|
"files": [
|
|
113
123
|
"dist",
|