@react-pakistan/util-functions 1.19.2 → 1.19.3
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/package.json +1 -1
- package/storybook/theme.d.ts +0 -2
- package/storybook/theme.js +252 -252
package/package.json
CHANGED
package/storybook/theme.d.ts
CHANGED
package/storybook/theme.js
CHANGED
|
@@ -554,258 +554,258 @@ exports.theme = {
|
|
|
554
554
|
skyBlue: '#1E90FF',
|
|
555
555
|
white: '#FFFFFF',
|
|
556
556
|
},
|
|
557
|
-
light: {
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
},
|
|
683
|
-
dark: {
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
},
|
|
557
|
+
// light: {
|
|
558
|
+
// neutral0: '',
|
|
559
|
+
// get neutral0Val() { return this.colors.white; },
|
|
560
|
+
// neutral50: '',
|
|
561
|
+
// get neutral50Val() { return this.colors.slate900; },
|
|
562
|
+
// neutral100: '',
|
|
563
|
+
// get neutral100Val() { return this.colors.slate100; },
|
|
564
|
+
// neutral200: '',
|
|
565
|
+
// get neutral200Val() { return this.colors.slate200; },
|
|
566
|
+
// neutral300: '',
|
|
567
|
+
// get neutral300Val() { return this.colors.slate300; },
|
|
568
|
+
// neutral400: '',
|
|
569
|
+
// get neutral400Val() { return this.colors.slate400; },
|
|
570
|
+
// neutral500: '',
|
|
571
|
+
// get neutral500Val() { return this.colors.slate500; },
|
|
572
|
+
// neutral600: '',
|
|
573
|
+
// get neutral600Val() { return this.colors.slate600; },
|
|
574
|
+
// neutral700: '',
|
|
575
|
+
// get neutral700Val() { return this.colors.slate700; },
|
|
576
|
+
// neutral800: '',
|
|
577
|
+
// get neutral800Val() { return this.colors.slate800; },
|
|
578
|
+
// neutral900: '',
|
|
579
|
+
// get neutral900Val() { return this.colors.slate900; },
|
|
580
|
+
// neutral1000: '',
|
|
581
|
+
// get neutral1000Val() { return this.colors.black; },
|
|
582
|
+
// brand50: '',
|
|
583
|
+
// get brand50Val() { return this.colors.lavender50; },
|
|
584
|
+
// brand100: '',
|
|
585
|
+
// get brand100Val() { return this.colors.lavender100; },
|
|
586
|
+
// brand200: '',
|
|
587
|
+
// get brand200Val() { return this.colors.lavender200; },
|
|
588
|
+
// brand300: '',
|
|
589
|
+
// get brand300Val() { return this.colors.lavender300; },
|
|
590
|
+
// brand400: '',
|
|
591
|
+
// get brand400Val() { return this.colors.lavender400; },
|
|
592
|
+
// brand500: '',
|
|
593
|
+
// get brand500Val() { return this.colors.lavender500; },
|
|
594
|
+
// brand600: '',
|
|
595
|
+
// get brand600Val() { return this.colors.lavender600; },
|
|
596
|
+
// brand700: '',
|
|
597
|
+
// get brand700Val() { return this.colors.lavender700; },
|
|
598
|
+
// brand800: '',
|
|
599
|
+
// get brand800Val() { return this.colors.lavender800; },
|
|
600
|
+
// brand900: '',
|
|
601
|
+
// get brand900Val() { return this.colors.lavender900; },
|
|
602
|
+
// info50: '',
|
|
603
|
+
// get info50Val() { return this.colors.info50; },
|
|
604
|
+
// info100: '',
|
|
605
|
+
// get info100Val() { return this.colors.info100; },
|
|
606
|
+
// info200: '',
|
|
607
|
+
// get info200Val() { return this.colors.info200; },
|
|
608
|
+
// info300: '',
|
|
609
|
+
// get info300Val() { return this.colors.info300; },
|
|
610
|
+
// info400: '',
|
|
611
|
+
// get info400Val() { return this.colors.info400; },
|
|
612
|
+
// info500: '',
|
|
613
|
+
// get info500Val() { return this.colors.info500; },
|
|
614
|
+
// info600: '',
|
|
615
|
+
// get info600Val() { return this.colors.info600; },
|
|
616
|
+
// info700: '',
|
|
617
|
+
// get info700Val() { return this.colors.info700; },
|
|
618
|
+
// info800: '',
|
|
619
|
+
// get info800Val() { return this.colors.info800; },
|
|
620
|
+
// info900: '',
|
|
621
|
+
// get info900Val() { return this.colors.info900; },
|
|
622
|
+
// success50: '',
|
|
623
|
+
// get success50Val() { return this.colors.emerald50; },
|
|
624
|
+
// success100: '',
|
|
625
|
+
// get success100Val() { return this.colors.emerald100; },
|
|
626
|
+
// success200: '',
|
|
627
|
+
// get success200Val() { return this.colors.emerald200; },
|
|
628
|
+
// success300: '',
|
|
629
|
+
// get success300Val() { return this.colors.emerald300; },
|
|
630
|
+
// success400: '',
|
|
631
|
+
// get success400Val() { return this.colors.emerald400; },
|
|
632
|
+
// success500: '',
|
|
633
|
+
// get success500Val() { return this.colors.emerald500; },
|
|
634
|
+
// success600: '',
|
|
635
|
+
// get success600Val() { return this.colors.emerald600; },
|
|
636
|
+
// success700: '',
|
|
637
|
+
// get success700Val() { return this.colors.emerald700; },
|
|
638
|
+
// success800: '',
|
|
639
|
+
// get success800Val() { return this.colors.emerald800; },
|
|
640
|
+
// success900: '',
|
|
641
|
+
// get success900Val() { return this.colors.emerald900; },
|
|
642
|
+
// warning50: '',
|
|
643
|
+
// get warning50Val() { return this.colors.honey50; },
|
|
644
|
+
// warning100: '',
|
|
645
|
+
// get warning100Val() { return this.colors.honey100; },
|
|
646
|
+
// warning200: '',
|
|
647
|
+
// get warning200Val() { return this.colors.honey200; },
|
|
648
|
+
// warning300: '',
|
|
649
|
+
// get warning300Val() { return this.colors.honey300; },
|
|
650
|
+
// warning400: '',
|
|
651
|
+
// get warning400Val() { return this.colors.honey400; },
|
|
652
|
+
// warning500: '',
|
|
653
|
+
// get warning500Val() { return this.colors.honey500; },
|
|
654
|
+
// warning600: '',
|
|
655
|
+
// get warning600Val() { return this.colors.honey600; },
|
|
656
|
+
// warning700: '',
|
|
657
|
+
// get warning700Val() { return this.colors.honey700; },
|
|
658
|
+
// warning800: '',
|
|
659
|
+
// get warning800Val() { return this.colors.honey800; },
|
|
660
|
+
// warning900: '',
|
|
661
|
+
// get warning900Val() { return this.colors.honey900; },
|
|
662
|
+
// critical50: '',
|
|
663
|
+
// get critical50Val() { return this.colors.fuchsia50; },
|
|
664
|
+
// critical100: '',
|
|
665
|
+
// get critical100Val() { return this.colors.fuchsia100; },
|
|
666
|
+
// critical200: '',
|
|
667
|
+
// get critical200Val() { return this.colors.fuchsia200; },
|
|
668
|
+
// critical300: '',
|
|
669
|
+
// get critical300Val() { return this.colors.fuchsia300; },
|
|
670
|
+
// critical400: '',
|
|
671
|
+
// get critical400Val() { return this.colors.fuchsia400; },
|
|
672
|
+
// critical500: '',
|
|
673
|
+
// get critical500Val() { return this.colors.fuchsia500; },
|
|
674
|
+
// critical600: '',
|
|
675
|
+
// get critical600Val() { return this.colors.fuchsia600; },
|
|
676
|
+
// critical700: '',
|
|
677
|
+
// get critical700Val() { return this.colors.fuchsia700; },
|
|
678
|
+
// critical800: '',
|
|
679
|
+
// get critical800Val() { return this.colors.fuchsia800; },
|
|
680
|
+
// critical900: '',
|
|
681
|
+
// get critical900Val() { return this.colors.fuchsia900; },
|
|
682
|
+
// },
|
|
683
|
+
// dark: {
|
|
684
|
+
// neutral0: '',
|
|
685
|
+
// get neutral0Val() { return this.colors.black; },
|
|
686
|
+
// neutral50: '',
|
|
687
|
+
// get neutral50Val() { return this.colors.slate900; },
|
|
688
|
+
// neutral100: '',
|
|
689
|
+
// get neutral100Val() { return this.colors.slate800; },
|
|
690
|
+
// neutral200: '',
|
|
691
|
+
// get neutral200Val() { return this.colors.slate700; },
|
|
692
|
+
// neutral300: '',
|
|
693
|
+
// get neutral300Val() { return this.colors.slate600; },
|
|
694
|
+
// neutral400: '',
|
|
695
|
+
// get neutral400Val() { return this.colors.slate500; },
|
|
696
|
+
// neutral500: '',
|
|
697
|
+
// get neutral500Val() { return this.colors.slate400; },
|
|
698
|
+
// neutral600: '',
|
|
699
|
+
// get neutral600Val() { return this.colors.slate300; },
|
|
700
|
+
// neutral700: '',
|
|
701
|
+
// get neutral700Val() { return this.colors.slate200; },
|
|
702
|
+
// neutral800: '',
|
|
703
|
+
// get neutral800Val() { return this.colors.slate100; },
|
|
704
|
+
// neutral900: '',
|
|
705
|
+
// get neutral900Val() { return this.colors.slate50; },
|
|
706
|
+
// neutral1000: '',
|
|
707
|
+
// get neutral1000Val() { return this.colors.white; },
|
|
708
|
+
// brand50: '',
|
|
709
|
+
// get brand50Val() { return this.colors.lavender50; },
|
|
710
|
+
// brand100: '',
|
|
711
|
+
// get brand100Val() { return this.colors.lavender100; },
|
|
712
|
+
// brand200: '',
|
|
713
|
+
// get brand200Val() { return this.colors.lavender200; },
|
|
714
|
+
// brand300: '',
|
|
715
|
+
// get brand300Val() { return this.colors.lavender300; },
|
|
716
|
+
// brand400: '',
|
|
717
|
+
// get brand400Val() { return this.colors.lavender400; },
|
|
718
|
+
// brand500: '',
|
|
719
|
+
// get brand500Val() { return this.colors.lavender500; },
|
|
720
|
+
// brand600: '',
|
|
721
|
+
// get brand600Val() { return this.colors.lavender600; },
|
|
722
|
+
// brand700: '',
|
|
723
|
+
// get brand700Val() { return this.colors.lavender700; },
|
|
724
|
+
// brand800: '',
|
|
725
|
+
// get brand800Val() { return this.colors.lavender800; },
|
|
726
|
+
// brand900: '',
|
|
727
|
+
// get brand900Val() { return this.colors.lavender900; },
|
|
728
|
+
// info50: '',
|
|
729
|
+
// get info50Val() { return this.colors.info50; },
|
|
730
|
+
// info100: '',
|
|
731
|
+
// get info100Val() { return this.colors.info100; },
|
|
732
|
+
// info200: '',
|
|
733
|
+
// get info200Val() { return this.colors.info200; },
|
|
734
|
+
// info300: '',
|
|
735
|
+
// get info300Val() { return this.colors.info300; },
|
|
736
|
+
// info400: '',
|
|
737
|
+
// get info400Val() { return this.colors.info400; },
|
|
738
|
+
// info500: '',
|
|
739
|
+
// get info500Val() { return this.colors.info500; },
|
|
740
|
+
// info600: '',
|
|
741
|
+
// get info600Val() { return this.colors.info600; },
|
|
742
|
+
// info700: '',
|
|
743
|
+
// get info700Val() { return this.colors.info700; },
|
|
744
|
+
// info800: '',
|
|
745
|
+
// get info800Val() { return this.colors.info800; },
|
|
746
|
+
// info900: '',
|
|
747
|
+
// get info900Val() { return this.colors.info900; },
|
|
748
|
+
// success50: '',
|
|
749
|
+
// get success50Val() { return this.colors.emerald50; },
|
|
750
|
+
// success100: '',
|
|
751
|
+
// get success100Val() { return this.colors.emerald100; },
|
|
752
|
+
// success200: '',
|
|
753
|
+
// get success200Val() { return this.colors.emerald200; },
|
|
754
|
+
// success300: '',
|
|
755
|
+
// get success300Val() { return this.colors.emerald300; },
|
|
756
|
+
// success400: '',
|
|
757
|
+
// get success400Val() { return this.colors.emerald400; },
|
|
758
|
+
// success500: '',
|
|
759
|
+
// get success500Val() { return this.colors.emerald500; },
|
|
760
|
+
// success600: '',
|
|
761
|
+
// get success600Val() { return this.colors.emerald600; },
|
|
762
|
+
// success700: '',
|
|
763
|
+
// get success700Val() { return this.colors.emerald700; },
|
|
764
|
+
// success800: '',
|
|
765
|
+
// get success800Val() { return this.colors.emerald800; },
|
|
766
|
+
// success900: '',
|
|
767
|
+
// get success900Val() { return this.colors.emerald900; },
|
|
768
|
+
// warning50: '',
|
|
769
|
+
// get warning50Val() { return this.colors.honey50; },
|
|
770
|
+
// warning100: '',
|
|
771
|
+
// get warning100Val() { return this.colors.honey100; },
|
|
772
|
+
// warning200: '',
|
|
773
|
+
// get warning200Val() { return this.colors.honey200; },
|
|
774
|
+
// warning300: '',
|
|
775
|
+
// get warning300Val() { return this.colors.honey300; },
|
|
776
|
+
// warning400: '',
|
|
777
|
+
// get warning400Val() { return this.colors.honey400; },
|
|
778
|
+
// warning500: '',
|
|
779
|
+
// get warning500Val() { return this.colors.honey500; },
|
|
780
|
+
// warning600: '',
|
|
781
|
+
// get warning600Val() { return this.colors.honey600; },
|
|
782
|
+
// warning700: '',
|
|
783
|
+
// get warning700Val() { return this.colors.honey700; },
|
|
784
|
+
// warning800: '',
|
|
785
|
+
// get warning800Val() { return this.colors.honey800; },
|
|
786
|
+
// warning900: '',
|
|
787
|
+
// get warning900Val() { return this.colors.honey900; },
|
|
788
|
+
// critical50: '',
|
|
789
|
+
// get critical50Val() { return this.colors.fuchsia50; },
|
|
790
|
+
// critical100: '',
|
|
791
|
+
// get critical100Val() { return this.colors.fuchsia100; },
|
|
792
|
+
// critical200: '',
|
|
793
|
+
// get critical200Val() { return this.colors.fuchsia200; },
|
|
794
|
+
// critical300: '',
|
|
795
|
+
// get critical300Val() { return this.colors.fuchsia300; },
|
|
796
|
+
// critical400: '',
|
|
797
|
+
// get critical400Val() { return this.colors.fuchsia400; },
|
|
798
|
+
// critical500: '',
|
|
799
|
+
// get critical500Val() { return this.colors.fuchsia500; },
|
|
800
|
+
// critical600: '',
|
|
801
|
+
// get critical600Val() { return this.colors.fuchsia600; },
|
|
802
|
+
// critical700: '',
|
|
803
|
+
// get critical700Val() { return this.colors.fuchsia700; },
|
|
804
|
+
// critical800: '',
|
|
805
|
+
// get critical800Val() { return this.colors.fuchsia800; },
|
|
806
|
+
// critical900: '',
|
|
807
|
+
// get critical900Val() { return this.colors.fuchsia900; },
|
|
808
|
+
// },
|
|
809
809
|
misc: {
|
|
810
810
|
darkMode: false,
|
|
811
811
|
wrapperWidth: '90%',
|