funuicss 3.6.19 → 3.7.0
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/css/fun.css +138 -127
- package/index.d.ts +1 -0
- package/index.js +3 -1
- package/package.json +1 -2
- package/ui/carousel/Carousel.d.ts +2 -0
- package/ui/carousel/Carousel.js +11 -11
- package/ui/chart/Line.d.ts +68 -11
- package/ui/chart/Line.js +227 -26
- package/ui/sidebar/SideBar.js +1 -1
- package/ui/text/Text.js +73 -33
- package/ui/theme/theme.d.ts +12 -0
- package/ui/theme/theme.js +104 -52
- package/js/firebase/Auth.d.ts +0 -191
- package/js/firebase/Auth.js +0 -746
- package/js/firebase/FireStore.d.ts +0 -54
- package/js/firebase/FireStore.js +0 -285
package/css/fun.css
CHANGED
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
--loaderZindex:100;
|
|
208
208
|
--snackBarZindex:20;
|
|
209
209
|
--notificationZindex:29;
|
|
210
|
-
--inputButtonHeight:2.
|
|
210
|
+
--inputButtonHeight:2.5rem;
|
|
211
211
|
--inputPadding:1rem;
|
|
212
212
|
--inputRoundedPadding:0.5rem 1rem;
|
|
213
213
|
--shadowMedium:0 0.8rem 2rem 0 rgba(3, 3, 3, 0.1);
|
|
@@ -607,115 +607,114 @@
|
|
|
607
607
|
|
|
608
608
|
/* Font utilities with matching line heights */
|
|
609
609
|
.text-xs {
|
|
610
|
-
font-size: var(--text-xs-responsive);
|
|
611
|
-
line-height: var(--leading-xs-responsive);
|
|
610
|
+
font-size: var(--text-xs-responsive) !important;
|
|
611
|
+
line-height: var(--leading-xs-responsive) !important;
|
|
612
612
|
}
|
|
613
613
|
|
|
614
614
|
.text-sm {
|
|
615
|
-
font-size: var(--text-sm-responsive);
|
|
616
|
-
line-height: var(--leading-sm-responsive);
|
|
615
|
+
font-size: var(--text-sm-responsive) !important;
|
|
616
|
+
line-height: var(--leading-sm-responsive) !important;
|
|
617
617
|
}
|
|
618
618
|
|
|
619
619
|
.text-base {
|
|
620
|
-
font-size: var(--text-base-responsive);
|
|
621
|
-
line-height: var(--leading-base-responsive);
|
|
620
|
+
font-size: var(--text-base-responsive) !important;
|
|
621
|
+
line-height: var(--leading-base-responsive) !important;
|
|
622
622
|
}
|
|
623
623
|
|
|
624
624
|
.text-lg {
|
|
625
|
-
font-size: var(--text-lg-responsive);
|
|
626
|
-
line-height: var(--leading-lg-responsive);
|
|
625
|
+
font-size: var(--text-lg-responsive) !important;
|
|
626
|
+
line-height: var(--leading-lg-responsive) !important;
|
|
627
627
|
}
|
|
628
628
|
|
|
629
629
|
.text-xl {
|
|
630
|
-
font-size: var(--text-xl-responsive);
|
|
631
|
-
line-height: var(--leading-xl-responsive);
|
|
632
|
-
font-weight: 400;
|
|
630
|
+
font-size: var(--text-xl-responsive) !important;
|
|
631
|
+
line-height: var(--leading-xl-responsive) !important;
|
|
632
|
+
font-weight: 400 !important;
|
|
633
633
|
}
|
|
634
634
|
|
|
635
635
|
.text-2xl {
|
|
636
|
-
font-size: var(--text-2xl-responsive);
|
|
637
|
-
line-height: var(--leading-2xl-responsive);
|
|
638
|
-
font-weight: 500;
|
|
636
|
+
font-size: var(--text-2xl-responsive) !important;
|
|
637
|
+
line-height: var(--leading-2xl-responsive) !important;
|
|
638
|
+
font-weight: 500 !important;
|
|
639
639
|
}
|
|
640
640
|
|
|
641
641
|
.text-3xl {
|
|
642
|
-
font-size: var(--text-3xl-responsive);
|
|
643
|
-
line-height: var(--leading-3xl-responsive);
|
|
644
|
-
font-weight: 500;
|
|
642
|
+
font-size: var(--text-3xl-responsive) !important;
|
|
643
|
+
line-height: var(--leading-3xl-responsive) !important;
|
|
644
|
+
font-weight: 500 !important;
|
|
645
645
|
}
|
|
646
646
|
|
|
647
647
|
.text-4xl {
|
|
648
|
-
font-size: var(--text-4xl-responsive);
|
|
649
|
-
line-height: var(--leading-4xl-responsive);
|
|
650
|
-
font-weight: 600;
|
|
648
|
+
font-size: var(--text-4xl-responsive) !important;
|
|
649
|
+
line-height: var(--leading-4xl-responsive) !important;
|
|
650
|
+
font-weight: 600 !important;
|
|
651
651
|
}
|
|
652
652
|
|
|
653
653
|
.text-5xl {
|
|
654
|
-
font-size: var(--text-5xl-responsive);
|
|
655
|
-
line-height: var(--leading-5xl-responsive);
|
|
656
|
-
font-weight: 600;
|
|
654
|
+
font-size: var(--text-5xl-responsive) !important;
|
|
655
|
+
line-height: var(--leading-5xl-responsive) !important;
|
|
656
|
+
font-weight: 600 !important;
|
|
657
657
|
}
|
|
658
658
|
|
|
659
659
|
.text-6xl {
|
|
660
|
-
font-size: var(--text-6xl-responsive);
|
|
661
|
-
line-height: var(--leading-6xl-responsive);
|
|
662
|
-
font-weight: 600;
|
|
660
|
+
font-size: var(--text-6xl-responsive) !important;
|
|
661
|
+
line-height: var(--leading-6xl-responsive) !important;
|
|
662
|
+
font-weight: 600 !important;
|
|
663
663
|
}
|
|
664
664
|
|
|
665
665
|
.text-7xl {
|
|
666
|
-
font-size: var(--text-7xl-responsive);
|
|
667
|
-
line-height: var(--leading-7xl-responsive);
|
|
668
|
-
font-weight: 600;
|
|
666
|
+
font-size: var(--text-7xl-responsive) !important;
|
|
667
|
+
line-height: var(--leading-7xl-responsive) !important;
|
|
668
|
+
font-weight: 600 !important;
|
|
669
669
|
}
|
|
670
670
|
|
|
671
671
|
.text-8xl {
|
|
672
|
-
font-size: var(--text-8xl-responsive);
|
|
673
|
-
line-height: var(--leading-8xl-responsive);
|
|
674
|
-
font-weight: 800;
|
|
672
|
+
font-size: var(--text-8xl-responsive) !important;
|
|
673
|
+
line-height: var(--leading-8xl-responsive) !important;
|
|
674
|
+
font-weight: 800 !important;
|
|
675
675
|
}
|
|
676
676
|
|
|
677
677
|
.text-9xl {
|
|
678
|
-
font-size: var(--text-9xl-responsive);
|
|
679
|
-
line-height: var(--leading-9xl-responsive);
|
|
680
|
-
font-weight: 900;
|
|
678
|
+
font-size: var(--text-9xl-responsive) !important;
|
|
679
|
+
line-height: var(--leading-9xl-responsive) !important;
|
|
680
|
+
font-weight: 900 !important;
|
|
681
681
|
}
|
|
682
682
|
|
|
683
683
|
.text-10xl {
|
|
684
|
-
font-size: var(--text-10xl-responsive);
|
|
685
|
-
line-height: var(--leading-10xl-responsive);
|
|
686
|
-
font-weight: 900;
|
|
684
|
+
font-size: var(--text-10xl-responsive) !important;
|
|
685
|
+
line-height: var(--leading-10xl-responsive) !important;
|
|
686
|
+
font-weight: 900 !important;
|
|
687
687
|
}
|
|
688
688
|
|
|
689
689
|
.text-big {
|
|
690
|
-
font-size: var(--font-size-big-responsive);
|
|
691
|
-
line-height: var(--line-height-big-responsive);
|
|
692
|
-
font-weight: var(--font-weight-big);
|
|
693
|
-
font-style: var(--font-style-big);
|
|
694
|
-
text-decoration: var(--text-decoration-big);
|
|
695
|
-
text-transform: var(--text-transform-big);
|
|
696
|
-
letter-spacing: var(--letter-spacing-big);
|
|
690
|
+
font-size: var(--font-size-big-responsive) !important;
|
|
691
|
+
line-height: var(--line-height-big-responsive) !important;
|
|
692
|
+
font-weight: var(--font-weight-big) !important;
|
|
693
|
+
font-style: var(--font-style-big) !important;
|
|
694
|
+
text-decoration: var(--text-decoration-big) !important;
|
|
695
|
+
text-transform: var(--text-transform-big) !important;
|
|
696
|
+
letter-spacing: var(--letter-spacing-big) !important;
|
|
697
697
|
}
|
|
698
698
|
|
|
699
699
|
.text-bigger {
|
|
700
|
-
font-size: var(--font-size-bigger-responsive);
|
|
701
|
-
line-height: var(--line-height-bigger-responsive);
|
|
702
|
-
font-weight: var(--font-weight-bigger);
|
|
703
|
-
font-style: var(--font-style-bigger);
|
|
704
|
-
text-decoration: var(--text-decoration-bigger);
|
|
705
|
-
text-transform: var(--text-transform-bigger);
|
|
706
|
-
letter-spacing: var(--letter-spacing-bigger);
|
|
700
|
+
font-size: var(--font-size-bigger-responsive) !important;
|
|
701
|
+
line-height: var(--line-height-bigger-responsive) !important;
|
|
702
|
+
font-weight: var(--font-weight-bigger) !important;
|
|
703
|
+
font-style: var(--font-style-bigger) !important;
|
|
704
|
+
text-decoration: var(--text-decoration-bigger) !important;
|
|
705
|
+
text-transform: var(--text-transform-bigger) !important;
|
|
706
|
+
letter-spacing: var(--letter-spacing-bigger) !important;
|
|
707
707
|
}
|
|
708
708
|
|
|
709
709
|
.text-jumbo {
|
|
710
|
-
font-size: var(--font-size-jumbo-responsive);
|
|
711
|
-
line-height: var(--line-height-jumbo-responsive);
|
|
712
|
-
font-weight: var(--font-weight-jumbo);
|
|
713
|
-
font-style: var(--font-style-jumbo);
|
|
714
|
-
text-decoration: var(--text-decoration-jumbo);
|
|
715
|
-
text-transform: var(--text-transform-jumbo);
|
|
716
|
-
letter-spacing: var(--letter-spacing-jumbo);
|
|
710
|
+
font-size: var(--font-size-jumbo-responsive) !important;
|
|
711
|
+
line-height: var(--line-height-jumbo-responsive) !important;
|
|
712
|
+
font-weight: var(--font-weight-jumbo) !important;
|
|
713
|
+
font-style: var(--font-style-jumbo) !important;
|
|
714
|
+
text-decoration: var(--text-decoration-jumbo) !important;
|
|
715
|
+
text-transform: var(--text-transform-jumbo) !important;
|
|
716
|
+
letter-spacing: var(--letter-spacing-jumbo) !important;
|
|
717
717
|
}
|
|
718
|
-
|
|
719
718
|
.important{
|
|
720
719
|
font-weight: 700;
|
|
721
720
|
color: var(--primary) !important;
|
|
@@ -723,23 +722,23 @@
|
|
|
723
722
|
|
|
724
723
|
/* Mini sizes */
|
|
725
724
|
.text-small {
|
|
726
|
-
font-size: var(--font-size-small);
|
|
727
|
-
line-height: var(--line-height-small);
|
|
728
|
-
font-weight: var(--font-weight-small);
|
|
729
|
-
font-style: var(--font-style-small);
|
|
730
|
-
text-decoration: var(--text-decoration-small);
|
|
731
|
-
text-transform: var(--text-transform-small);
|
|
732
|
-
letter-spacing: var(--letter-spacing-small);
|
|
725
|
+
font-size: var(--font-size-small) !important;
|
|
726
|
+
line-height: var(--line-height-small) !important;
|
|
727
|
+
font-weight: var(--font-weight-small) !important;
|
|
728
|
+
font-style: var(--font-style-small) !important;
|
|
729
|
+
text-decoration: var(--text-decoration-small) !important;
|
|
730
|
+
text-transform: var(--text-transform-small) !important;
|
|
731
|
+
letter-spacing: var(--letter-spacing-small) !important;
|
|
733
732
|
}
|
|
734
733
|
|
|
735
734
|
.text-smaller {
|
|
736
|
-
font-size: var(--font-size-smaller);
|
|
737
|
-
line-height: var(--line-height-smaller);
|
|
738
|
-
font-weight: var(--font-weight-smaller);
|
|
739
|
-
font-style: var(--font-style-smaller);
|
|
740
|
-
text-decoration: var(--text-decoration-smaller);
|
|
741
|
-
text-transform: var(--text-transform-smaller);
|
|
742
|
-
letter-spacing: var(--letter-spacing-smaller);
|
|
735
|
+
font-size: var(--font-size-smaller) !important;
|
|
736
|
+
line-height: var(--line-height-smaller) !important;
|
|
737
|
+
font-weight: var(--font-weight-smaller) !important;
|
|
738
|
+
font-style: var(--font-style-smaller) !important;
|
|
739
|
+
text-decoration: var(--text-decoration-smaller) !important;
|
|
740
|
+
text-transform: var(--text-transform-smaller) !important;
|
|
741
|
+
letter-spacing: var(--letter-spacing-smaller) !important;
|
|
743
742
|
}
|
|
744
743
|
|
|
745
744
|
/* Headings */
|
|
@@ -761,69 +760,69 @@ h1,
|
|
|
761
760
|
font-weight: normal;
|
|
762
761
|
}
|
|
763
762
|
|
|
763
|
+
|
|
764
764
|
h1, .h1 {
|
|
765
|
-
font-size: var(--font-size-h1-responsive);
|
|
766
|
-
line-height: var(--line-height-h1-responsive);
|
|
767
|
-
font-weight: var(--font-weight-h1);
|
|
768
|
-
font-style: var(--font-style-h1);
|
|
769
|
-
text-decoration: var(--text-decoration-h1);
|
|
770
|
-
text-transform: var(--text-transform-h1);
|
|
771
|
-
letter-spacing: var(--letter-spacing-h1);
|
|
765
|
+
font-size: var(--font-size-h1-responsive) !important;
|
|
766
|
+
line-height: var(--line-height-h1-responsive) !important;
|
|
767
|
+
font-weight: var(--font-weight-h1) !important;
|
|
768
|
+
font-style: var(--font-style-h1) !important;
|
|
769
|
+
text-decoration: var(--text-decoration-h1) !important;
|
|
770
|
+
text-transform: var(--text-transform-h1) !important;
|
|
771
|
+
letter-spacing: var(--letter-spacing-h1) !important;
|
|
772
772
|
}
|
|
773
773
|
|
|
774
774
|
h2, .h2 {
|
|
775
|
-
font-size: var(--font-size-h2-responsive);
|
|
776
|
-
line-height: var(--line-height-h2-responsive);
|
|
777
|
-
font-weight: var(--font-weight-h2);
|
|
778
|
-
font-style: var(--font-style-h2);
|
|
779
|
-
text-decoration: var(--text-decoration-h2);
|
|
780
|
-
text-transform: var(--text-transform-h2);
|
|
781
|
-
letter-spacing: var(--letter-spacing-h2);
|
|
775
|
+
font-size: var(--font-size-h2-responsive) !important;
|
|
776
|
+
line-height: var(--line-height-h2-responsive) !important;
|
|
777
|
+
font-weight: var(--font-weight-h2) !important;
|
|
778
|
+
font-style: var(--font-style-h2) !important;
|
|
779
|
+
text-decoration: var(--text-decoration-h2) !important;
|
|
780
|
+
text-transform: var(--text-transform-h2) !important;
|
|
781
|
+
letter-spacing: var(--letter-spacing-h2) !important;
|
|
782
782
|
}
|
|
783
783
|
|
|
784
784
|
h3, .h3 {
|
|
785
|
-
font-size: var(--font-size-h3-responsive);
|
|
786
|
-
line-height: var(--line-height-h3-responsive);
|
|
787
|
-
font-weight: var(--font-weight-h3);
|
|
788
|
-
font-style: var(--font-style-h3);
|
|
789
|
-
text-decoration: var(--text-decoration-h3);
|
|
790
|
-
text-transform: var(--text-transform-h3);
|
|
791
|
-
letter-spacing: var(--letter-spacing-h3);
|
|
785
|
+
font-size: var(--font-size-h3-responsive) !important;
|
|
786
|
+
line-height: var(--line-height-h3-responsive) !important;
|
|
787
|
+
font-weight: var(--font-weight-h3) !important;
|
|
788
|
+
font-style: var(--font-style-h3) !important;
|
|
789
|
+
text-decoration: var(--text-decoration-h3) !important;
|
|
790
|
+
text-transform: var(--text-transform-h3) !important;
|
|
791
|
+
letter-spacing: var(--letter-spacing-h3) !important;
|
|
792
792
|
}
|
|
793
793
|
|
|
794
794
|
h4, .h4 {
|
|
795
|
-
font-size: var(--font-size-h4-responsive);
|
|
796
|
-
line-height: var(--line-height-h4-responsive);
|
|
797
|
-
font-weight: var(--font-weight-h4);
|
|
798
|
-
font-style: var(--font-style-h4);
|
|
799
|
-
text-decoration: var(--text-decoration-h4);
|
|
800
|
-
text-transform: var(--text-transform-h4);
|
|
801
|
-
letter-spacing: var(--letter-spacing-h4);
|
|
795
|
+
font-size: var(--font-size-h4-responsive) !important;
|
|
796
|
+
line-height: var(--line-height-h4-responsive) !important;
|
|
797
|
+
font-weight: var(--font-weight-h4) !important;
|
|
798
|
+
font-style: var(--font-style-h4) !important;
|
|
799
|
+
text-decoration: var(--text-decoration-h4) !important;
|
|
800
|
+
text-transform: var(--text-transform-h4) !important;
|
|
801
|
+
letter-spacing: var(--letter-spacing-h4) !important;
|
|
802
802
|
}
|
|
803
803
|
|
|
804
804
|
h5, .h5 {
|
|
805
|
-
font-size: var(--font-size-h5-responsive);
|
|
806
|
-
line-height: var(--line-height-h5-responsive);
|
|
807
|
-
font-weight: var(--font-weight-h5);
|
|
808
|
-
font-style: var(--font-style-h5);
|
|
809
|
-
text-decoration: var(--text-decoration-h5);
|
|
810
|
-
text-transform: var(--text-transform-h5);
|
|
811
|
-
letter-spacing: var(--letter-spacing-h5);
|
|
805
|
+
font-size: var(--font-size-h5-responsive) !important;
|
|
806
|
+
line-height: var(--line-height-h5-responsive) !important;
|
|
807
|
+
font-weight: var(--font-weight-h5) !important;
|
|
808
|
+
font-style: var(--font-style-h5) !important;
|
|
809
|
+
text-decoration: var(--text-decoration-h5) !important;
|
|
810
|
+
text-transform: var(--text-transform-h5) !important;
|
|
811
|
+
letter-spacing: var(--letter-spacing-h5) !important;
|
|
812
812
|
}
|
|
813
813
|
|
|
814
814
|
h6, .h6 {
|
|
815
|
-
font-size: var(--font-size-h6-responsive);
|
|
816
|
-
line-height: var(--line-height-h6-responsive);
|
|
817
|
-
font-weight: var(--font-weight-h6);
|
|
818
|
-
font-style: var(--font-style-h6);
|
|
819
|
-
text-decoration: var(--text-decoration-h6);
|
|
820
|
-
text-transform: var(--text-transform-h6);
|
|
821
|
-
letter-spacing: var(--letter-spacing-h6);
|
|
815
|
+
font-size: var(--font-size-h6-responsive) !important;
|
|
816
|
+
line-height: var(--line-height-h6-responsive) !important;
|
|
817
|
+
font-weight: var(--font-weight-h6) !important;
|
|
818
|
+
font-style: var(--font-style-h6) !important;
|
|
819
|
+
text-decoration: var(--text-decoration-h6) !important;
|
|
820
|
+
text-transform: var(--text-transform-h6) !important;
|
|
821
|
+
letter-spacing: var(--letter-spacing-h6) !important;
|
|
822
822
|
}
|
|
823
823
|
|
|
824
824
|
|
|
825
825
|
|
|
826
|
-
|
|
827
826
|
/* For WebKit browsers (Chrome, Edge, Brave, Safari) */
|
|
828
827
|
::-webkit-scrollbar {
|
|
829
828
|
width: 10px;
|
|
@@ -2312,8 +2311,14 @@ border-radius: var(--borderRadius);
|
|
|
2312
2311
|
font-size: var(--minifiedFontSize);
|
|
2313
2312
|
background-color: var(--page-bg);
|
|
2314
2313
|
transition: all 0.2s ease;
|
|
2314
|
+
border-radius: var(--radius);
|
|
2315
|
+
padding-top: 1rem !important;
|
|
2316
|
+
height: var(--inputButtonHeight);
|
|
2317
|
+
|
|
2318
|
+
|
|
2315
2319
|
}
|
|
2316
2320
|
|
|
2321
|
+
|
|
2317
2322
|
.smallInput {
|
|
2318
2323
|
font-size: var(--smallFont);
|
|
2319
2324
|
}
|
|
@@ -2344,6 +2349,7 @@ border-radius: var(--borderRadius);
|
|
|
2344
2349
|
font-size: var(--minifiedFontSize);
|
|
2345
2350
|
color: var(--text-color);
|
|
2346
2351
|
opacity: 0.6;
|
|
2352
|
+
left: 0.9rem;
|
|
2347
2353
|
pointer-events: none;
|
|
2348
2354
|
transition: all 0.2s ease;
|
|
2349
2355
|
background-color: transparent;
|
|
@@ -2351,7 +2357,7 @@ border-radius: var(--borderRadius);
|
|
|
2351
2357
|
}
|
|
2352
2358
|
|
|
2353
2359
|
.floating-label.active {
|
|
2354
|
-
top: 0.
|
|
2360
|
+
top: 0.25rem;
|
|
2355
2361
|
font-size: 0.625rem;
|
|
2356
2362
|
opacity: 1;
|
|
2357
2363
|
background-color: transparent;
|
|
@@ -2416,14 +2422,6 @@ border-radius: var(--borderRadius);
|
|
|
2416
2422
|
border-bottom-color: var(--info, var(--primary));
|
|
2417
2423
|
}
|
|
2418
2424
|
|
|
2419
|
-
/* Input dimensions */
|
|
2420
|
-
input,
|
|
2421
|
-
select {
|
|
2422
|
-
height: var(--inputButtonHeight);
|
|
2423
|
-
border-radius: var(--radius);
|
|
2424
|
-
padding-top: 1.2rem;
|
|
2425
|
-
padding-bottom: 0.4rem;
|
|
2426
|
-
}
|
|
2427
2425
|
|
|
2428
2426
|
/* When no label, use normal padding */
|
|
2429
2427
|
input:not(:placeholder-shown),
|
|
@@ -6016,6 +6014,7 @@ background-color: rgba(0, 0, 0, 0.2);
|
|
|
6016
6014
|
display: none; /* Chrome/Safari */
|
|
6017
6015
|
}
|
|
6018
6016
|
|
|
6017
|
+
.carousel-wrapper{width: 100%; position: relative;}
|
|
6019
6018
|
/* Scrollable carousel container */
|
|
6020
6019
|
.carousel-container {
|
|
6021
6020
|
display: flex;
|
|
@@ -6025,6 +6024,18 @@ background-color: rgba(0, 0, 0, 0.2);
|
|
|
6025
6024
|
padding: 1rem 0;
|
|
6026
6025
|
scroll-behavior: smooth;
|
|
6027
6026
|
}
|
|
6027
|
+
.carouselLeft{
|
|
6028
|
+
position: absolute;
|
|
6029
|
+
top: 50%;
|
|
6030
|
+
left: 0;
|
|
6031
|
+
transform: translateY(-50%);
|
|
6032
|
+
}
|
|
6033
|
+
.carouselRight{
|
|
6034
|
+
position: absolute;
|
|
6035
|
+
top: 50%;
|
|
6036
|
+
right: 0;
|
|
6037
|
+
transform: translateY(-50%);
|
|
6038
|
+
}
|
|
6028
6039
|
.carousel-item {scroll-snap-align: start;flex: 0 0 auto;}
|
|
6029
6040
|
|
|
6030
6041
|
/* small screens */
|
package/index.d.ts
CHANGED
|
@@ -56,5 +56,6 @@ export { default as FlexItem } from "./ui/flex/FlexItem";
|
|
|
56
56
|
export { default as ScrollToTop } from "./ui/scrolltotop/ScrollToTop";
|
|
57
57
|
export { default as Select } from "./ui/select/Select";
|
|
58
58
|
export { default as Cookie } from "./js/Cookie";
|
|
59
|
+
export { useVariable } from "./ui/theme/theme";
|
|
59
60
|
export { FunGet } from "./js/Fun";
|
|
60
61
|
export { default as GoogleAnalytics } from "./js/google/analytics";
|
package/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.View = exports.ScrollInView = exports.Accordion = exports.Flex = exports.RichText = exports.Carousel = exports.Video = exports.SideBar = exports.ChartPie = exports.Lines = exports.Bars = exports.FullCenteredPage = exports.CircleGroup = exports.Circle = exports.Hr = exports.Section = exports.RowFlex = exports.Tip = exports.AppBar = exports.ToolTip = exports.Notification = exports.FunLoader = exports.ProgressBar = exports.DropMenu = exports.DropItem = exports.Dropdown = exports.DropDown = exports.DropUp = exports.UnAuthorized = exports.NotFound = exports.StepLine = exports.StepHeader = exports.Step = exports.StepContainer = exports.Div = exports.Text = exports.List = exports.Table = exports.Modal = exports.Loader = exports.SearchableInput = exports.Input = exports.Col = exports.Grid = exports.Container = exports.BreadCrumb = exports.Card = exports.Button = exports.ThemeProvider = exports.Alert = void 0;
|
|
7
|
-
exports.GoogleAnalytics = exports.FunGet = exports.Cookie = exports.Select = exports.ScrollToTop = exports.FlexItem = exports.Slider = exports.Vista = exports.Calendar = exports.DatePicker = void 0;
|
|
7
|
+
exports.GoogleAnalytics = exports.FunGet = exports.useVariable = exports.Cookie = exports.Select = exports.ScrollToTop = exports.FlexItem = exports.Slider = exports.Vista = exports.Calendar = exports.DatePicker = void 0;
|
|
8
8
|
var Alert_1 = require("./ui/alert/Alert");
|
|
9
9
|
Object.defineProperty(exports, "Alert", { enumerable: true, get: function () { return __importDefault(Alert_1).default; } });
|
|
10
10
|
var theme_1 = require("./ui/theme/theme");
|
|
@@ -122,6 +122,8 @@ Object.defineProperty(exports, "Select", { enumerable: true, get: function () {
|
|
|
122
122
|
// js
|
|
123
123
|
var Cookie_1 = require("./js/Cookie");
|
|
124
124
|
Object.defineProperty(exports, "Cookie", { enumerable: true, get: function () { return __importDefault(Cookie_1).default; } });
|
|
125
|
+
var theme_2 = require("./ui/theme/theme");
|
|
126
|
+
Object.defineProperty(exports, "useVariable", { enumerable: true, get: function () { return theme_2.useVariable; } });
|
|
125
127
|
var Fun_1 = require("./js/Fun");
|
|
126
128
|
Object.defineProperty(exports, "FunGet", { enumerable: true, get: function () { return Fun_1.FunGet; } });
|
|
127
129
|
var analytics_1 = require("./js/google/analytics");
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "3.
|
|
2
|
+
"version": "3.7.0",
|
|
3
3
|
"name": "funuicss",
|
|
4
4
|
"description": "React and Next.js component UI Library for creating Easy and good looking websites with fewer lines of code. Elevate your web development experience with our cutting-edge React/Next.js component UI Library. Craft stunning websites effortlessly, boasting both seamless functionality and aesthetic appeal—all achieved with minimal lines of code. Unleash the power of simplicity and style in your projects!",
|
|
5
5
|
"main": "index.js",
|
|
@@ -44,7 +44,6 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"aos": "^2.3.4",
|
|
46
46
|
"dayjs": "^1.11.13",
|
|
47
|
-
"firebase": "^12.3.0",
|
|
48
47
|
"framer-motion": "^12.23.6",
|
|
49
48
|
"hls.js": "^1.6.5",
|
|
50
49
|
"next": "^13.4.4",
|
|
@@ -7,6 +7,8 @@ interface CarouselProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
7
7
|
showDashes?: boolean;
|
|
8
8
|
allowVerticalOverflow?: boolean;
|
|
9
9
|
itemPadding?: string;
|
|
10
|
+
controlerSize?: number;
|
|
11
|
+
controlerIconSize?: number;
|
|
10
12
|
}
|
|
11
13
|
declare const Carousel: React.FC<CarouselProps>;
|
|
12
14
|
export default Carousel;
|
package/ui/carousel/Carousel.js
CHANGED
|
@@ -65,11 +65,11 @@ var Circle_1 = __importDefault(require("../specials/Circle"));
|
|
|
65
65
|
var RowFlex_1 = __importDefault(require("../specials/RowFlex"));
|
|
66
66
|
var Functions_1 = require("../../utils/Functions");
|
|
67
67
|
var Carousel = function (_a) {
|
|
68
|
-
var _b = _a.scrollNumber, scrollNumber = _b === void 0 ? 320 : _b, _c = _a.gap, gap = _c === void 0 ? 0.5 : _c, _d = _a.funcss, funcss = _d === void 0 ? '' : _d, _e = _a.showDashes, showDashes = _e === void 0 ? true : _e, _f = _a.allowVerticalOverflow, allowVerticalOverflow = _f === void 0 ? false : _f, _g = _a.itemPadding, itemPadding = _g === void 0 ? '0rem' : _g, children = _a.children, rest = __rest(_a, ["scrollNumber", "gap", "funcss", "showDashes", "allowVerticalOverflow", "itemPadding", "children"]);
|
|
68
|
+
var _b = _a.scrollNumber, scrollNumber = _b === void 0 ? 320 : _b, _c = _a.gap, gap = _c === void 0 ? 0.5 : _c, _d = _a.funcss, funcss = _d === void 0 ? '' : _d, _e = _a.showDashes, showDashes = _e === void 0 ? true : _e, _f = _a.allowVerticalOverflow, allowVerticalOverflow = _f === void 0 ? false : _f, _g = _a.itemPadding, itemPadding = _g === void 0 ? '0rem' : _g, children = _a.children, _h = _a.controlerSize, controlerSize = _h === void 0 ? 2.5 : _h, _j = _a.controlerIconSize, controlerIconSize = _j === void 0 ? 20 : _j, rest = __rest(_a, ["scrollNumber", "gap", "funcss", "showDashes", "allowVerticalOverflow", "itemPadding", "children", "controlerSize", "controlerIconSize"]);
|
|
69
69
|
var scrollRef = (0, react_1.useRef)(null);
|
|
70
|
-
var
|
|
71
|
-
var
|
|
72
|
-
var
|
|
70
|
+
var _k = (0, react_1.useState)('start'), scrollPosition = _k[0], setScrollPosition = _k[1];
|
|
71
|
+
var _l = (0, react_1.useState)(false), isPhone = _l[0], setIsPhone = _l[1];
|
|
72
|
+
var _m = (0, react_1.useState)(false), isScrollable = _m[0], setIsScrollable = _m[1];
|
|
73
73
|
var checkScrollable = function () {
|
|
74
74
|
var container = scrollRef.current;
|
|
75
75
|
if (container) {
|
|
@@ -123,10 +123,10 @@ var Carousel = function (_a) {
|
|
|
123
123
|
}
|
|
124
124
|
}, []);
|
|
125
125
|
return (react_1.default.createElement("div", __assign({ className: "carousel-wrapper ".concat(funcss) }, rest),
|
|
126
|
-
react_1.default.createElement(
|
|
127
|
-
!isPhone && isScrollable && (react_1.default.createElement("div",
|
|
128
|
-
react_1.default.createElement(Circle_1.default, { onClick: function () { return scroll('left'); } },
|
|
129
|
-
react_1.default.createElement(pi_1.PiCaretLeft, { size:
|
|
126
|
+
react_1.default.createElement(react_1.default.Fragment, null,
|
|
127
|
+
!isPhone && isScrollable && (react_1.default.createElement("div", { className: 'carouselLeft' },
|
|
128
|
+
react_1.default.createElement(Circle_1.default, { bordered: true, size: controlerSize, onClick: function () { return scroll('left'); } },
|
|
129
|
+
react_1.default.createElement(pi_1.PiCaretLeft, { className: 'text-primary', size: controlerIconSize })))),
|
|
130
130
|
react_1.default.createElement("div", { ref: scrollRef, className: "carousel-container scrollbar-hide w-full", style: {
|
|
131
131
|
width: '100%',
|
|
132
132
|
gap: gap + 'rem',
|
|
@@ -139,9 +139,9 @@ var Carousel = function (_a) {
|
|
|
139
139
|
padding: itemPadding || "0.5rem"
|
|
140
140
|
} }, react_1.default.Children.map(children, function (child) { return (react_1.default.createElement("div", { className: "carousel-item", style: { flexShrink: 0 } },
|
|
141
141
|
react_1.default.createElement("div", { className: "carousel-card" }, child))); })),
|
|
142
|
-
!isPhone && isScrollable && (react_1.default.createElement("div",
|
|
143
|
-
react_1.default.createElement(Circle_1.default, { onClick: function () { return scroll('right'); } },
|
|
144
|
-
react_1.default.createElement(pi_1.PiCaretRight, { size:
|
|
142
|
+
!isPhone && isScrollable && (react_1.default.createElement("div", { className: 'carouselRight' },
|
|
143
|
+
react_1.default.createElement(Circle_1.default, { bordered: true, size: controlerSize, onClick: function () { return scroll('right'); } },
|
|
144
|
+
react_1.default.createElement(pi_1.PiCaretRight, { className: 'text-primary', size: controlerIconSize }))))),
|
|
145
145
|
(showDashes && isScrollable) && (react_1.default.createElement("div", { className: "center padding-top-10" },
|
|
146
146
|
react_1.default.createElement(RowFlex_1.default, { gap: 0.5, justify: "center" }, ['start', 'middle', 'end'].map(function (pos) { return (react_1.default.createElement("div", { className: 'pointer ', key: pos, onClick: function () {
|
|
147
147
|
var _a, _b;
|
package/ui/chart/Line.d.ts
CHANGED
|
@@ -11,23 +11,59 @@ type ChartSeries = {
|
|
|
11
11
|
dot?: boolean;
|
|
12
12
|
fromColor?: string;
|
|
13
13
|
toColor?: string;
|
|
14
|
+
fillOpacity?: number;
|
|
15
|
+
strokeDasharray?: string;
|
|
16
|
+
activeDot?: boolean | Record<string, any>;
|
|
14
17
|
};
|
|
18
|
+
interface XAxisProps {
|
|
19
|
+
interval?: number | 'preserveStart' | 'preserveEnd' | 'preserveStartEnd';
|
|
20
|
+
tick?: boolean | Record<string, any>;
|
|
21
|
+
tickFormatter?: (value: any) => string;
|
|
22
|
+
domain?: [number | string | 'auto' | 'dataMin' | 'dataMax', number | string | 'auto' | 'dataMin' | 'dataMax'];
|
|
23
|
+
type?: 'number' | 'category';
|
|
24
|
+
allowDataOverflow?: boolean;
|
|
25
|
+
}
|
|
26
|
+
interface YAxisProps {
|
|
27
|
+
interval?: number | 'preserveStart' | 'preserveEnd' | 'preserveStartEnd';
|
|
28
|
+
tick?: boolean | Record<string, any>;
|
|
29
|
+
tickFormatter?: (value: any) => string;
|
|
30
|
+
domain?: [number | string | 'auto' | 'dataMin' | 'dataMax', number | string | 'auto' | 'dataMin' | 'dataMax'];
|
|
31
|
+
type?: 'number' | 'category';
|
|
32
|
+
allowDataOverflow?: boolean;
|
|
33
|
+
}
|
|
34
|
+
interface LegendProps {
|
|
35
|
+
align?: 'left' | 'center' | 'right';
|
|
36
|
+
verticalAlign?: 'top' | 'middle' | 'bottom';
|
|
37
|
+
layout?: 'horizontal' | 'vertical';
|
|
38
|
+
iconType?: 'line' | 'square' | 'rect' | 'circle' | 'cross' | 'diamond' | 'star' | 'triangle' | 'wye';
|
|
39
|
+
}
|
|
40
|
+
interface TooltipProps {
|
|
41
|
+
cursor?: boolean | Record<string, any>;
|
|
42
|
+
separator?: string;
|
|
43
|
+
offset?: number;
|
|
44
|
+
allowEscapeViewBox?: {
|
|
45
|
+
x?: boolean;
|
|
46
|
+
y?: boolean;
|
|
47
|
+
};
|
|
48
|
+
}
|
|
15
49
|
interface AreaChartProps {
|
|
16
|
-
data: DataItem[];
|
|
17
|
-
series: ChartSeries[];
|
|
50
|
+
data: DataItem[] | string;
|
|
51
|
+
series: ChartSeries[] | string;
|
|
18
52
|
fromColor?: string;
|
|
19
53
|
toColor?: string;
|
|
20
54
|
id?: string;
|
|
55
|
+
variant?: string;
|
|
21
56
|
showGrid?: boolean;
|
|
22
57
|
horizontalLines?: boolean;
|
|
23
58
|
showLegend?: boolean;
|
|
24
59
|
showXAxis?: boolean;
|
|
25
60
|
showYAxis?: boolean;
|
|
61
|
+
showTooltip?: boolean;
|
|
26
62
|
funcss?: string;
|
|
27
|
-
curveType?: 'linear' | 'monotone' | 'step' | 'basis';
|
|
28
|
-
rotateLabel
|
|
29
|
-
xLabelSize
|
|
30
|
-
yLabelSize
|
|
63
|
+
curveType?: 'linear' | 'monotone' | 'step' | 'basis' | 'natural';
|
|
64
|
+
rotateLabel?: number;
|
|
65
|
+
xLabelSize?: string | number;
|
|
66
|
+
yLabelSize?: string | number;
|
|
31
67
|
height?: number | string;
|
|
32
68
|
width?: number | string;
|
|
33
69
|
margin?: {
|
|
@@ -36,13 +72,34 @@ interface AreaChartProps {
|
|
|
36
72
|
left?: number;
|
|
37
73
|
bottom?: number;
|
|
38
74
|
};
|
|
39
|
-
xInterval
|
|
40
|
-
yInterval
|
|
75
|
+
xInterval?: number;
|
|
76
|
+
yInterval?: number;
|
|
77
|
+
gridStroke?: string;
|
|
78
|
+
gridStrokeDasharray?: string;
|
|
41
79
|
dy?: number;
|
|
42
|
-
xAxisProps?:
|
|
43
|
-
yAxisProps?:
|
|
80
|
+
xAxisProps?: XAxisProps;
|
|
81
|
+
yAxisProps?: YAxisProps;
|
|
82
|
+
xAxisLabel?: string;
|
|
83
|
+
yAxisLabel?: string;
|
|
84
|
+
tickLine?: boolean;
|
|
85
|
+
axisLine?: boolean;
|
|
44
86
|
tooltipFormatter?: (value: any, name: string, props: any) => React.ReactNode;
|
|
45
|
-
legendProps?:
|
|
87
|
+
legendProps?: LegendProps;
|
|
88
|
+
tooltipProps?: TooltipProps;
|
|
89
|
+
customTooltip?: React.ComponentType<any>;
|
|
90
|
+
animation?: boolean;
|
|
91
|
+
animationDuration?: number;
|
|
92
|
+
isAnimationActive?: boolean;
|
|
93
|
+
syncId?: string;
|
|
94
|
+
chartBackground?: string;
|
|
95
|
+
borderRadius?: string;
|
|
96
|
+
padding?: string;
|
|
97
|
+
shadow?: boolean;
|
|
98
|
+
aspect?: number;
|
|
99
|
+
minHeight?: number | string;
|
|
100
|
+
maxHeight?: number | string;
|
|
101
|
+
minWidth?: number | string;
|
|
102
|
+
maxWidth?: number | string;
|
|
46
103
|
}
|
|
47
104
|
declare const Lines: React.FC<AreaChartProps>;
|
|
48
105
|
export default Lines;
|