sccoreui 1.1.3 → 1.1.5

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.
@@ -46,8 +46,8 @@
46
46
  --highlight-bg: #eef2ff;
47
47
  --highlight-text-color: #4338ca;
48
48
  color-scheme: light;
49
- --fs-14:14px;
50
- --fs-14:16px;
49
+ --fs-14: 14px;
50
+ --fs-14: 16px;
51
51
  }
52
52
 
53
53
  * {
@@ -86,9 +86,8 @@ a {
86
86
 
87
87
  .p-disabled,
88
88
  .p-component:disabled {
89
- /* opacity: 0.2; */
90
- background: var(--gray-50);
91
- border: 1px solid var(--gray-300);
89
+ opacity: 0.4;
90
+ cursor: not-allowed;
92
91
  }
93
92
 
94
93
  .p-error {
@@ -334,7 +333,7 @@ a {
334
333
  border-radius: 4px;
335
334
  }
336
335
  .p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item:hover {
337
- color: #162578;
336
+ color: var(--gray-900);
338
337
  background: #f6f8ff;
339
338
  }
340
339
  .p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item.p-highlight {
@@ -686,62 +685,68 @@ a {
686
685
  background-color: #ffffff;
687
686
  }
688
687
 
688
+ /* #################################################### Made changes to checkbox CSS from Here ######################################################## */
689
689
  .p-checkbox {
690
690
  width: 16px;
691
691
  height: 16px;
692
692
  }
693
693
  .p-checkbox .p-checkbox-box {
694
- border: 1px solid #d0d5dd;
694
+ border: 1px solid var(--gray-300);
695
695
  background: #ffffff;
696
696
  width: 16px;
697
- /* height: 16px; */
698
- color: #444b74;
699
- border-radius: 2px;
700
- transition: background-color 0.2s, color 0.2s, border-color 0.2s,
701
- box-shadow 0.2s;
702
- border-radius: 4px;
697
+ height: 16px;
698
+
699
+ border-radius: 25%;
700
+ transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
703
701
  }
704
702
  .p-checkbox .p-checkbox-box .p-checkbox-icon {
705
703
  transition-duration: 0.2s;
706
704
  color: #ffffff;
707
- font-size: 6px;
708
705
  font-weight: 600;
706
+ font-size: 8px;
709
707
  }
710
708
  .p-checkbox .p-checkbox-box.p-highlight .p-checkbox-icon {
711
709
  /* border-color: #444b74; */
712
- color: #132067;
710
+ color: var(--primary-600);
713
711
  }
714
712
  .p-checkbox .p-checkbox-box.p-highlight {
715
- border: 1px solid #132067;
716
- background-color: #e2e5fa;
713
+ border-color: var(--primary-600);
714
+ background: var(--primary-100);
717
715
  }
718
716
 
719
- .p-checkbox
720
- .p-checkbox-box.p-highlight
721
- .p-checkbox
722
- .p-checkbox-box.p-highlight:not(.p-disabled):hover {
723
- border-color: #4338ca;
724
- background: #4338ca;
717
+ .p-checkbox .p-checkbox-box.p-highlight:not(.p-disabled):hover {
718
+ border: 1px solid var(--primary-600);
719
+ background: var(--primary-100);
725
720
  color: #ffffff;
726
721
  }
727
722
  .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:hover {
728
- border: 1px solid #d0d5dd;
729
- background: #f2f4f7;
723
+ border: 1px solid var(--primary-600);
724
+ background: var(--primary-100);
730
725
  }
731
726
  .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus {
732
727
  outline: 0 none;
733
728
  outline-offset: 0;
734
- box-shadow: 0 0 0 0.2rem #e2e5fa;
735
- border-color: #444b74;
729
+ box-shadow: 0px 0px 0px 4px var(--primary-100);
730
+ border-color: var(--primary-300);
736
731
  }
737
732
  .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-highlight:hover {
738
- border-color: #ced4f6;
733
+ border: 1px solid var(--primary-600);
734
+ background: var(--primary-100);
739
735
  color: #ffffff;
740
736
  }
741
737
  .p-checkbox.p-invalid > .p-checkbox-box {
742
738
  border-color: #e24c4c;
743
739
  }
744
740
 
741
+ /* Added two classes for styling checkcircle */
742
+ .p-checkbox.p-checkcircle .p-checkbox-box {
743
+ border-radius: 50%;
744
+ }
745
+ .p-checkbox.p-checkcircle .p-checkbox-box.p-highlight, .p-checkbox.p-checkcircle .p-checkbox-box.p-highlight:hover {
746
+ background: var(--primary-600);
747
+ }
748
+ /* ############################################################## Checkbox CSS changes END ############################################################### */
749
+
745
750
  .p-input-filled .p-checkbox .p-checkbox-box {
746
751
  background-color: #e9ecef;
747
752
  }
@@ -759,6 +764,9 @@ a {
759
764
 
760
765
  .p-chips .p-chips-multiple-container {
761
766
  padding: 0.375rem 0.75rem;
767
+ display: flex;
768
+ align-items: start;
769
+ flex-wrap: wrap;
762
770
  }
763
771
  .p-chips .p-chips-multiple-container:not(.p-disabled):hover {
764
772
  border-color: #6366f1;
@@ -770,10 +778,12 @@ a {
770
778
  border-color: #6366f1;
771
779
  }
772
780
  .p-chips .p-chips-multiple-container .p-chips-token {
773
- padding: 0.375rem 0.75rem;
774
- margin-right: 0.5rem;
775
- background: #eef2ff;
776
- color: #4338ca;
781
+ padding: 0px 10px;
782
+ margin: 3px;
783
+ height: 1.5rem;
784
+ background: #ffffff;
785
+ color: var(--gray-700);
786
+ border: 1px solid var(--gray-300);
777
787
  border-radius: 6px;
778
788
  }
779
789
  .p-chips .p-chips-multiple-container .p-chips-token .p-chips-token-icon {
@@ -784,7 +794,7 @@ a {
784
794
  }
785
795
  .p-chips .p-chips-multiple-container .p-chips-input-token input {
786
796
  font-family: "Lato-400";
787
- font-size: 1rem;
797
+ font-size: var(--fs-14);
788
798
  color: #495057;
789
799
  padding: 0;
790
800
  margin: 0;
@@ -793,6 +803,13 @@ a {
793
803
  border-color: #e24c4c;
794
804
  }
795
805
 
806
+ .p-chips.p-invalid .p-chips-multiple-container.p-focus {
807
+ outline: 0 none;
808
+ outline-offset: 0;
809
+ box-shadow: 0 0 0 0.2rem var(--red-100);
810
+ border-color: var(--red-300);
811
+ }
812
+
796
813
  .p-colorpicker-preview {
797
814
  width: 1rem;
798
815
  height: 1rem;
@@ -821,19 +838,31 @@ a {
821
838
  }
822
839
  .p-dropdown {
823
840
  background: #ffffff;
824
- border: 1px solid #c6cae0;
841
+ height: 40px;
842
+ border: 1px solid var(--gray-300);
825
843
  transition: background-color 0.2s, color 0.2s, border-color 0.2s,
826
844
  box-shadow 0.2s;
827
845
  border-radius: 8px;
846
+ box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
847
+ padding: 10px 3px;
828
848
  }
849
+
829
850
  /* .p-dropdown:not(.p-disabled):hover {
830
- border-color: #162578;
851
+ border-color: var(--gray-900);
831
852
  } */
832
853
  .p-dropdown:not(.p-disabled).p-focus {
833
854
  outline: 0 none;
834
855
  outline-offset: 0;
835
- /* box-shadow: 0 0 0 0.2rem #C7D2FE; */
836
- border-color: #162578;
856
+ box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05),
857
+ 0px 0px 0px 4px var(--primary-100);
858
+ border: 1px solid var(--primary-300);
859
+ }
860
+
861
+ .p-inputgroup>.p-dropdown:not(.p-disabled).p-focus {
862
+ outline: 0 none;
863
+ outline-offset: 0;
864
+
865
+ border: 1px solid var(--gray-300);
837
866
  }
838
867
  .p-dropdown.p-dropdown-clearable .p-dropdown-label {
839
868
  padding-right: 1.75rem;
@@ -842,57 +871,61 @@ a {
842
871
  background: transparent;
843
872
  border: 0 none;
844
873
  text-align: left;
845
- height: 40px;
846
- line-height: 40px;
874
+ height: 24px;
875
+ line-height: 24px;
876
+ padding-inline-start: 0px;
877
+ }
878
+ .p-inputgroup > .p-dropdown > .p-dropdown-label {
879
+ padding: 0px 5px;
880
+ width: 3rem;
847
881
  }
848
-
849
882
  .p-dropdown-status {
850
883
  }
851
884
  .p-dropdown .p-dropdown-label.p-placeholder {
852
- color: #6b7094;
885
+ color: var(--gray-500);
853
886
  text-align: left;
854
- height: 40px;
855
- line-height: 40px;
856
- font-size: 12px;
857
- font-weight: 300;
887
+ height: 24px;
888
+ line-height: 24px;
889
+ font-size: 16px;
890
+ font-weight: 400;
891
+ padding-inline-start: 0px;
858
892
  }
859
893
  .p-dropdown .p-dropdown-label:enabled:focus {
860
894
  outline: 0 none;
861
895
  box-shadow: none;
862
896
  }
897
+
863
898
  .p-dropdown .p-dropdown-trigger {
864
899
  background: transparent;
865
900
  color: #444b74;
866
- width: 3rem;
867
- border-top-right-radius: 6px;
868
- border-bottom-right-radius: 6px;
901
+ height: 20px;
902
+ width: 20px;
903
+ }
904
+ .p-inputgroup > .p-dropdown .p-dropdown-trigger {
905
+ width: 1rem;
869
906
  }
870
907
  .p-dropdown .p-dropdown-clear-icon {
871
908
  color: #6c757d;
872
909
  right: 3rem;
873
910
  }
874
911
  .p-dropdown.p-invalid.p-component {
875
- border-color: #e24c4c;
912
+ border-color: var(--red-300);
876
913
  }
877
914
 
878
915
  .p-dropdown-panel {
879
916
  background: #ffffff;
880
- color: #495057;
881
- border: 0 none;
882
- border-radius: 4px;
883
- box-shadow: -1px 1px 4px rgba(22, 37, 120, 0.25),
884
- 1px -1px 4px rgba(22, 37, 120, 0.25);
885
- /* position: absolute;
886
- top: 58px !important; */
887
- /* margin-top: 8px; */
888
- /* margin: 8px 0px; */
917
+ border: 1px solid var(--gray-200);
918
+ border-radius: 8px;
919
+ box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08),
920
+ 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
889
921
  overflow: hidden;
922
+ padding: 4px;
890
923
  }
891
924
 
892
925
  .p-dropdown-panel .p-dropdown-header {
893
926
  padding: 0.75rem 1.25rem;
894
927
  border-bottom: 1px solid #dee2e6;
895
- color: #343a40;
928
+ color: var(--gray-700);
896
929
  background: #f8f9fa;
897
930
  margin: 0;
898
931
  border-top-right-radius: 6px;
@@ -920,7 +953,7 @@ a {
920
953
  right: 2.5rem;
921
954
  }
922
955
  .p-dropdown-panel .p-dropdown-items {
923
- padding: 16px;
956
+ padding-left: 2px;
924
957
  }
925
958
  .p-dropdown-panel .p-dropdown-items .p-dropdown-item {
926
959
  margin: 0;
@@ -934,8 +967,8 @@ a {
934
967
  position: relative;
935
968
  }
936
969
  .p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight {
937
- color: #162578;
938
- background: #f6f8ff;
970
+ color: var(--gray-900);
971
+ background: var(--gray-50);
939
972
  border-radius: 4px;
940
973
  position: relative;
941
974
  }
@@ -951,9 +984,8 @@ a {
951
984
  .p-dropdown-panel
952
985
  .p-dropdown-items
953
986
  .p-dropdown-item:not(.p-highlight):not(.p-disabled):hover {
954
- color: #162578;
955
- background: #f6f8ff;
956
- border-radius: 4px;
987
+ background: var(--gray-50);
988
+ border-radius: 6px;
957
989
  }
958
990
  .p-dropdown-panel .p-dropdown-items .p-dropdown-item-group {
959
991
  margin: 0;
@@ -1123,12 +1155,12 @@ a {
1123
1155
  }
1124
1156
 
1125
1157
  .p-inputgroup-addon {
1126
- background: #e9ecef;
1158
+ background: #ffffff;
1127
1159
  color: #6c757d;
1128
1160
  border-top: 1px solid #ced4da;
1129
1161
  border-left: 1px solid #ced4da;
1130
1162
  border-bottom: 1px solid #ced4da;
1131
- padding: 0.75rem 0.75rem;
1163
+ padding: 0 0.75rem;
1132
1164
  min-width: 3rem;
1133
1165
  }
1134
1166
  .p-inputgroup-addon:last-child {
@@ -1288,13 +1320,25 @@ a {
1288
1320
  color: var(--gray-500);
1289
1321
  }
1290
1322
 
1323
+ .p-inputtextarea.p-inputtext {
1324
+ height: auto;
1325
+ }
1326
+
1291
1327
  .p-inputtext:enabled:focus {
1292
1328
  outline: 0 none;
1293
1329
  outline-offset: 0;
1294
- box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05),
1330
+ box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05),
1295
1331
  0px 0px 0px 4px var(--primary-100);
1296
1332
  border-radius: 8px;
1297
- border: 1px solid var(--primary-300);
1333
+ border: 1px solid var(--primary-300);
1334
+ }
1335
+ /*========= iput number invalid color =====*/
1336
+ .p-invalid.p-inputnumber-input:enabled:focus {
1337
+ outline: 0 none;
1338
+ outline-offset: 0;
1339
+ box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px var(--red-100);
1340
+ border-radius: 8px;
1341
+ border: 1px solid var(--red-300);
1298
1342
  }
1299
1343
 
1300
1344
  /* ====== Customised input end ========== */
@@ -1502,7 +1546,7 @@ a {
1502
1546
  outline: 0 none;
1503
1547
  outline-offset: 0;
1504
1548
  /* box-shadow: 0 0 0 0.2rem #C7D2FE; */
1505
- border-color: #162578;
1549
+ border-color: var(--gray-900);
1506
1550
  }
1507
1551
  .p-multiselect.p-multiselect-clearable .p-multiselect-label {
1508
1552
  padding-right: 1.75rem;
@@ -1524,9 +1568,9 @@ a {
1524
1568
  margin-right: 0.5rem;
1525
1569
  height: 30px;
1526
1570
  background: #fff;
1527
- color: #162578;
1571
+ color: var(--gray-900);
1528
1572
  border-radius: 30px;
1529
- border: 1px solid #162578;
1573
+ border: 1px solid var(--gray-900);
1530
1574
  }
1531
1575
 
1532
1576
  .p-multiselect.p-multiselect-chip
@@ -1724,46 +1768,50 @@ a {
1724
1768
  }
1725
1769
 
1726
1770
  .p-radiobutton {
1727
- width: 19px;
1728
- height: 19px;
1771
+ width: 16px;
1772
+ height: 16px;
1729
1773
  }
1730
1774
  .p-radiobutton .p-radiobutton-box {
1731
- border: 1px solid #1c1b1f;
1775
+ border: 1px solid var(--gray-300);
1732
1776
  background: #ffffff;
1733
- width: 15px;
1734
- height: 15px;
1735
- color: #495057;
1777
+ width: 16px;
1778
+ height: 16px;
1736
1779
  border-radius: 50%;
1737
1780
  transition: background-color 0.2s, color 0.2s, border-color 0.2s,
1738
1781
  box-shadow 0.2s;
1739
1782
  }
1740
1783
  .p-radiobutton .p-radiobutton-box:not(.p-disabled):not(.p-highlight):hover {
1741
- border-color: #162578;
1784
+ background-color: var(--primary-50);
1785
+ border: 1px solid var(--primary-600);
1786
+ }
1787
+
1788
+ .p-radiobutton .p-radiobutton-box:not(.p-disabled):not(.p-highlight).p-focus {
1789
+ background-color: transparent;
1790
+ border: 1px solid var(--primary-300);
1742
1791
  }
1743
1792
  .p-radiobutton .p-radiobutton-box:not(.p-disabled).p-focus {
1744
- outline: 0 none;
1745
- outline-offset: 0;
1746
- /* box-shadow: 0 0 0 0.2rem #C7D2FE; */
1747
- border-color: #162578;
1793
+ background: var(--primary-50);
1794
+ box-shadow: 0px 0px 0px 4px var(--primary-100);
1795
+ border: 1px solid var(--primary-600);
1748
1796
  }
1749
1797
  .p-radiobutton .p-radiobutton-box .p-radiobutton-icon {
1750
- width: 5px;
1751
- height: 5px;
1798
+ width: 6px;
1799
+ height: 6px;
1752
1800
  transition-duration: 0.2s;
1753
- background-color: #162578;
1801
+ background-color: var(--primary-600);
1754
1802
  }
1755
1803
  .p-radiobutton .p-radiobutton-box.p-highlight {
1756
- border-color: #162578;
1757
- background: #fff;
1804
+ border-color: var(--primary-600);
1805
+ background: var(--primary-50);
1758
1806
  }
1759
1807
 
1760
1808
  .p-radiobutton .p-radiobutton-box.p-highlight:not(.p-disabled):hover {
1761
- border-color: #162578;
1762
- background: #fff;
1763
- color: #ffffff;
1809
+ border-color: var(--primary-600);
1810
+ background: var(--primary-100);
1764
1811
  }
1765
1812
  .p-radiobutton.p-invalid > .p-radiobutton-box {
1766
1813
  border-color: #e24c4c;
1814
+ background-color: transparent;
1767
1815
  }
1768
1816
  .p-radiobutton:focus {
1769
1817
  outline: 0 none;
@@ -2076,7 +2124,7 @@ a {
2076
2124
 
2077
2125
  .p-button {
2078
2126
  color: #ffffff;
2079
- background: #162578;
2127
+ background: var(--gray-900);
2080
2128
  line-height: 0px !important;
2081
2129
  height: 44px !important;
2082
2130
  padding: 10px 18px;
@@ -2093,32 +2141,32 @@ a {
2093
2141
  }
2094
2142
  .p-button:enabled:hover,
2095
2143
  .p-button:not(button):not(a):not(.p-disabled):hover {
2096
- background: #162578;
2144
+ background: var(--gray-900);
2097
2145
  color: #ffffff;
2098
- border-color: #162578;
2146
+ border-color: var(--gray-900);
2099
2147
  }
2100
2148
  .p-button:enabled:active,
2101
2149
  .p-button:not(button):not(a):not(.p-disabled):active {
2102
2150
  /* background: #4338CA; */
2103
2151
  color: #ffffff;
2104
- /* border-color: #162578; */
2152
+ /* border-color: var(--gray-900); */
2105
2153
  }
2106
2154
  .p-button.p-button-outlined {
2107
2155
  background-color: transparent;
2108
- color: #162578;
2109
- border: 1px solid #162578;
2156
+ color: var(--gray-900);
2157
+ border: 1px solid var(--gray-900);
2110
2158
  }
2111
2159
  .p-button.p-button-outlined:enabled:hover,
2112
2160
  .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):hover {
2113
2161
  background: #fff;
2114
- color: #162578;
2115
- /* border: 1px solid #162578; */
2162
+ color: var(--gray-900);
2163
+ /* border: 1px solid var(--gray-900); */
2116
2164
  }
2117
2165
  .p-button.p-button-outlined:enabled:active,
2118
2166
  .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):active {
2119
2167
  background: #fff;
2120
- color: #162578;
2121
- border: 1px solid #162578;
2168
+ color: var(--gray-900);
2169
+ border: 1px solid var(--gray-900);
2122
2170
  }
2123
2171
  .p-button.p-button-outlined.p-button-plain {
2124
2172
  color: #6c757d;
@@ -2269,7 +2317,7 @@ a {
2269
2317
 
2270
2318
  .p-fileupload .p-button {
2271
2319
  background-color: #f4f6fd !important;
2272
- color: #162578;
2320
+ color: var(--gray-900);
2273
2321
  height: 48px !important;
2274
2322
  line-height: 48px !important;
2275
2323
  padding: 0px 22px;
@@ -2291,7 +2339,7 @@ a {
2291
2339
 
2292
2340
  .p-fileupload .p-button:enabled:hover,
2293
2341
  .p-button:not(button):not(a):not(.p-disabled):hover {
2294
- color: #162578;
2342
+ color: var(--gray-900);
2295
2343
  }
2296
2344
 
2297
2345
  .p-button.p-button-secondary,
@@ -2863,7 +2911,7 @@ a {
2863
2911
  .p-buttonset.p-button-help > .p-button,
2864
2912
  .p-splitbutton.p-button-help > .p-button,
2865
2913
  .p-fileupload-choose.p-button-help {
2866
- color: #162578;
2914
+ color: var(--gray-900);
2867
2915
  background: #f6f8ff;
2868
2916
  border: 1px solid #c6cae0;
2869
2917
  }
@@ -2878,7 +2926,7 @@ a {
2878
2926
  .p-fileupload-choose.p-button-help:enabled:hover,
2879
2927
  .p-fileupload-choose.p-button-help:not(button):not(a):not(.p-disabled):hover {
2880
2928
  background: #f6f8ff;
2881
- color: #162578;
2929
+ color: var(--gray-900);
2882
2930
  border-color: #c6cae0;
2883
2931
  }
2884
2932
  .p-button.p-button-help:enabled:focus,
@@ -2904,7 +2952,7 @@ a {
2904
2952
  .p-fileupload-choose.p-button-help:enabled:active,
2905
2953
  .p-fileupload-choose.p-button-help:not(button):not(a):not(.p-disabled):active {
2906
2954
  background: #f6f8ff;
2907
- color: #162578;
2955
+ color: var(--gray-900);
2908
2956
  /* border-color: #7E22CE; */
2909
2957
  }
2910
2958
  .p-button.p-button-help.p-button-outlined,
@@ -2912,7 +2960,7 @@ a {
2912
2960
  .p-splitbutton.p-button-help > .p-button.p-button-outlined,
2913
2961
  .p-fileupload-choose.p-button-help.p-button-outlined {
2914
2962
  background-color: transparent;
2915
- color: #162578;
2963
+ color: var(--gray-900);
2916
2964
  border: 1px solid #c6cae0;
2917
2965
  }
2918
2966
  .p-button.p-button-help.p-button-outlined:enabled:hover,
@@ -2930,7 +2978,7 @@ a {
2930
2978
  .p-disabled
2931
2979
  ):hover {
2932
2980
  background: #fff;
2933
- color: #162578;
2981
+ color: var(--gray-900);
2934
2982
  border: 1px solid #c6cae0;
2935
2983
  }
2936
2984
  .p-button.p-button-help.p-button-outlined:enabled:active,
@@ -2948,7 +2996,7 @@ a {
2948
2996
  .p-disabled
2949
2997
  ):active {
2950
2998
  background: #fff;
2951
- color: #162578;
2999
+ color: var(--gray-900);
2952
3000
  border: 1px solid #c6cae0;
2953
3001
  }
2954
3002
  .p-button.p-button-help.p-button-text,
@@ -3134,7 +3182,7 @@ a {
3134
3182
  }
3135
3183
 
3136
3184
  .p-button.p-button-link {
3137
- color: #162578;
3185
+ color: var(--gray-900);
3138
3186
  background: transparent;
3139
3187
  border: transparent;
3140
3188
  }
@@ -4742,9 +4790,9 @@ a {
4742
4790
  }
4743
4791
  .p-paginator .p-paginator-pages .p-paginator-page.p-highlight {
4744
4792
  /* background: #EEF2FF;
4745
- border-color: #162578; */
4793
+ border-color: var(--gray-900); */
4746
4794
  font-weight: 600;
4747
- color: #162578;
4795
+ color: var(--gray-900);
4748
4796
  font-size: 12px;
4749
4797
  }
4750
4798
  .p-paginator .p-paginator-pages .p-paginator-page:not(.p-highlight):hover {
@@ -5459,7 +5507,7 @@ a {
5459
5507
 
5460
5508
  .p-tabview .p-tabview-nav li.p-highlight .p-tabview-nav-link {
5461
5509
  background: #ffffff;
5462
- color: #162578; /* color changed */
5510
+ color: var(--gray-900); /* color changed */
5463
5511
  position: relative;
5464
5512
  transition: 500ms cubic-bezier(0.35, 0, 0.25, 1);
5465
5513
  }
@@ -5696,26 +5744,45 @@ a {
5696
5744
  /* padding-left: 0px; */
5697
5745
  }
5698
5746
 
5699
- .p-tooltip .p-tooltip-text {
5700
- background: #333;
5701
- color: #fff;
5702
- padding: 10px;
5703
- box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
5704
- border-radius: 6px;
5747
+ /* ############################# Tooltip changes From HERE ############################# */
5748
+
5749
+ /* Added theme switching classes that switch the background color and text color of tooltip */
5750
+ .p-tooltip.p-dark-tooltip {
5751
+ --background-color: var(--gray-900);
5752
+ --tooltip-text-color: #ffffff;
5753
+ }
5754
+ .p-tooltip.p-light-tooltip {
5755
+ --background-color: #ffffff;
5756
+ --tooltip-text-color: var(--gray-700);
5757
+ }
5758
+
5759
+ .p-tooltip .p-tooltip-text,
5760
+ .p-tooltip .p-tooltip-text * {
5761
+ background: var(--background-color);
5762
+ color: var(--tooltip-text-color);
5763
+ font-weight: 600;
5764
+ font-size: 12px;
5765
+ line-height: 18px;
5766
+ padding: 8px 12px;
5767
+ box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08),
5768
+ 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
5769
+ border-radius: 8px;
5705
5770
  }
5706
5771
  .p-tooltip.p-tooltip-right .p-tooltip-arrow {
5707
- border-right-color: #333;
5772
+ border-right-color: var(--background-color);
5708
5773
  }
5709
5774
  .p-tooltip.p-tooltip-left .p-tooltip-arrow {
5710
- border-left-color: #495057;
5775
+ border-left-color: var(--background-color);
5711
5776
  }
5712
5777
  .p-tooltip.p-tooltip-top .p-tooltip-arrow {
5713
- border-top-color: #495057;
5778
+ border-top-color: var(--background-color);
5714
5779
  }
5715
5780
  .p-tooltip.p-tooltip-bottom .p-tooltip-arrow {
5716
- border-bottom-color: #495057;
5781
+ border-bottom-color: var(--background-color);
5717
5782
  }
5718
5783
 
5784
+ /* ############################# Tooltip Changes done until HERE ############################# */
5785
+
5719
5786
  .p-fileupload .p-fileupload-buttonbar {
5720
5787
  background: #f8f9fa;
5721
5788
  padding: 1.25rem;
@@ -6975,7 +7042,7 @@ a {
6975
7042
  border-color: #6366F1;
6976
7043
  color: #6366F1; */
6977
7044
  background-color: #f6f8ff;
6978
- color: #162578;
7045
+ color: var(--gray-900);
6979
7046
  padding: 13px 16px;
6980
7047
  font-size: 14px;
6981
7048
  font-weight: normal;
@@ -7683,7 +7750,7 @@ a {
7683
7750
  z-index: 1;
7684
7751
  display: block;
7685
7752
  position: absolute;
7686
- background: #162578;
7753
+ background: var(--gray-900);
7687
7754
  height: 4px;
7688
7755
  bottom: 0;
7689
7756
  border-top-left-radius: 4px;
@@ -7736,16 +7803,13 @@ a {
7736
7803
  /* scrollbar customisation */
7737
7804
  ::-webkit-scrollbar {
7738
7805
  height: 2px;
7739
- width: 3px; /* Set the width of the scrollbar */
7740
- overflow: hidden;
7741
- right: 5px;
7806
+ width: 8px; /* Set the width of the scrollbar */
7742
7807
  }
7743
7808
 
7744
7809
  /* Target the thumb */
7745
7810
  ::-webkit-scrollbar-thumb {
7746
- background-color: #4b5768; /* Set the background color of the thumb */
7747
- border-radius: 5px; /* Set the border radius of the thumb */
7748
- border-top-right-radius: 4px;
7811
+ background-color: var(--gray-200); /* Set the background color of the thumb */
7812
+ border-radius: 8px; /* Set the border radius of the thumb */
7749
7813
  }
7750
7814
 
7751
7815
  /* Target the track */
@@ -7914,3 +7978,31 @@ button:focus:not(:active)::after {
7914
7978
  button:focus {
7915
7979
  outline: none;
7916
7980
  }
7981
+
7982
+ /* saieshwar new classes ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
7983
+
7984
+ .p-inputgroup > .p-button {
7985
+ height: 40px !important;
7986
+ border: 1px solid #d0d5dd;
7987
+ }
7988
+ .p-inputgroup > .p-button:hover {
7989
+ height: 40px !important;
7990
+ border: 1px solid #d0d5dd;
7991
+ }
7992
+
7993
+ .p-inputgroup > .p-button.p-button-outlined:enabled:active {
7994
+ background: #fff;
7995
+ color: #162578;
7996
+ border: 1px solid #d0d5dd;
7997
+ }
7998
+
7999
+ input[type="number"]::-webkit-inner-spin-button,
8000
+ input[type="number"]::-webkit-outer-spin-button {
8001
+ -webkit-appearance: none;
8002
+ margin: 0;
8003
+ }
8004
+
8005
+ .textareachips > .p-inputtext.p-chips-multiple-container {
8006
+ height: auto;
8007
+ min-height: 8rem;
8008
+ }
@@ -0,0 +1,3 @@
1
+ <svg width="10" height="8" viewBox="0 0 10 8" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M9 1L3.5 6.5L1 4" stroke="#ffffff" stroke-width="1.6666" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -1,3 +1,3 @@
1
- <svg width="12" height="9" viewBox="0 0 12 9" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M4.02949 8.52648C3.9327 8.52648 3.84262 8.51104 3.75923 8.48015C3.67583 8.44927 3.59655 8.39624 3.5214 8.32108L0.168555 4.96825C0.052216 4.85191 -0.0038988 4.70881 0.000210271 4.53893C0.00433273 4.36905 0.0645635 4.22594 0.180902 4.1096C0.297241 3.99325 0.438295 3.93508 0.604063 3.93508C0.769818 3.93508 0.910866 3.99325 1.0272 4.1096L4.02949 7.11187L10.9668 0.174528C11.0832 0.0581761 11.2263 0 11.3962 0C11.566 0 11.7092 0.0581761 11.8255 0.174528C11.9418 0.290868 12 0.433976 12 0.603853C12 0.773731 11.9418 0.916839 11.8255 1.03318L4.53757 8.32108C4.46242 8.39624 4.38314 8.44927 4.29974 8.48015C4.21635 8.51104 4.12627 8.52648 4.02949 8.52648Z" fill="#162578"/>
3
- </svg>
1
+ <svg width="10" height="8" viewBox="0 0 10 8" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M9 1L3.5 6.5L1 4" stroke="#132067" stroke-width="1.6666" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="10" height="2" viewBox="0 0 10 2" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M1.5 1H8.5" stroke="#ffffff" stroke-width="1.66666" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="10" height="2" viewBox="0 0 10 2" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M1.5 1H8.5" stroke="#132067" stroke-width="1.66666" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg width="34" height="24" viewBox="0 0 34 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="0.5" y="0.5" width="33" height="23" rx="3.5" fill="white"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M17.179 16.8295C15.9949 17.8275 14.459 18.43 12.7807 18.43C9.03582 18.43 6 15.4303 6 11.73C6 8.02972 9.03582 5.03003 12.7807 5.03003C14.459 5.03003 15.9949 5.63253 17.179 6.63057C18.363 5.63253 19.8989 5.03003 21.5773 5.03003C25.3221 5.03003 28.358 8.02972 28.358 11.73C28.358 15.4303 25.3221 18.43 21.5773 18.43C19.8989 18.43 18.363 17.8275 17.179 16.8295Z" fill="#ED0006"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M17.1792 16.8295C18.6371 15.6006 19.5616 13.772 19.5616 11.73C19.5616 9.68807 18.6371 7.85947 17.1792 6.63057C18.3632 5.63253 19.8992 5.03003 21.5775 5.03003C25.3224 5.03003 28.3582 8.02972 28.3582 11.73C28.3582 15.4303 25.3224 18.43 21.5775 18.43C19.8992 18.43 18.3632 17.8275 17.1792 16.8295Z" fill="#F9A000"/>
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M17.1788 16.8295C18.6367 15.6006 19.5611 13.772 19.5611 11.7301C19.5611 9.68811 18.6367 7.85952 17.1788 6.63062C15.7208 7.85952 14.7964 9.68811 14.7964 11.7301C14.7964 13.772 15.7208 15.6006 17.1788 16.8295Z" fill="#FF5E00"/>
6
+ <rect x="0.5" y="0.5" width="33" height="23" rx="3.5" stroke="#F2F4F7"/>
7
+ </svg>
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InfoLogo = void 0;
4
+ const InfoLogo = () => {
5
+ return (React.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
6
+ React.createElement("path", { d: "M6.05992 5.99998C6.21665 5.55442 6.52602 5.17872 6.93322 4.9394C7.34042 4.70009 7.81918 4.61261 8.2847 4.69245C8.75022 4.7723 9.17246 5.01433 9.47664 5.37567C9.78081 5.737 9.94729 6.19433 9.94659 6.66665C9.94659 7.99998 7.94659 8.66665 7.94659 8.66665M7.99992 11.3333H8.00659M14.6666 7.99998C14.6666 11.6819 11.6818 14.6666 7.99992 14.6666C4.31802 14.6666 1.33325 11.6819 1.33325 7.99998C1.33325 4.31808 4.31802 1.33331 7.99992 1.33331C11.6818 1.33331 14.6666 4.31808 14.6666 7.99998Z", stroke: "#98A2B3", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })));
7
+ };
8
+ exports.InfoLogo = InfoLogo;
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="18" viewBox="0 0 16 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M14.6668 16.5C14.6668 15.337 14.6668 14.7555 14.5233 14.2824C14.2001 13.217 13.3664 12.3834 12.3011 12.0602C11.828 11.9167 11.2465 11.9167 10.0835 11.9167H5.91683C4.75386 11.9167 4.17237 11.9167 3.69921 12.0602C2.63388 12.3834 1.8002 13.217 1.47703 14.2824C1.3335 14.7555 1.3335 15.337 1.3335 16.5M11.7502 5.25C11.7502 7.32107 10.0712 9 8.00016 9C5.92909 9 4.25016 7.32107 4.25016 5.25C4.25016 3.17893 5.92909 1.5 8.00016 1.5C10.0712 1.5 11.7502 3.17893 11.7502 5.25Z" stroke="#667085" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -871,6 +871,7 @@
871
871
 
872
872
  .p-checkbox.p-checkbox-disabled {
873
873
  cursor: auto;
874
+ opacity: 0.4;
874
875
  }
875
876
 
876
877
  .p-checkbox-box {
@@ -5947,6 +5948,7 @@ input.p-dropdown-label {
5947
5948
  justify-content: center;
5948
5949
  }
5949
5950
 
5951
+ /* ############################# Tooltip css changes made FROM HERE ############################# */
5950
5952
  .p-tooltip {
5951
5953
  position: absolute;
5952
5954
  padding: .25em .5rem;
@@ -5955,15 +5957,15 @@ input.p-dropdown-label {
5955
5957
  left: -9999px;
5956
5958
  }
5957
5959
 
5958
- .p-tooltip.p-tooltip-right,
5960
+ /* .p-tooltip.p-tooltip-right,
5959
5961
  .p-tooltip.p-tooltip-left {
5960
- padding: 0 .25rem;
5962
+ padding: 0 .1em;
5961
5963
  }
5962
5964
 
5963
5965
  .p-tooltip.p-tooltip-top,
5964
5966
  .p-tooltip.p-tooltip-bottom {
5965
- padding:.25em 0;
5966
- }
5967
+ padding: .1em 0;
5968
+ } */
5967
5969
 
5968
5970
  .p-tooltip .p-tooltip-text {
5969
5971
  white-space: pre-line;
@@ -5979,17 +5981,17 @@ input.p-dropdown-label {
5979
5981
  }
5980
5982
 
5981
5983
  .p-tooltip-right .p-tooltip-arrow {
5982
- top: 50%;
5983
- left: 0;
5984
+ top: 45%;
5985
+ left: 3px;
5984
5986
  margin-top: -.25rem;
5985
- border-width: .25em .25em .25em 0;
5987
+ border-width: .5em .5em .5em 0;
5986
5988
  }
5987
5989
 
5988
5990
  .p-tooltip-left .p-tooltip-arrow {
5989
- top: 50%;
5990
- right: 0;
5991
+ top: 45%;
5992
+ right: 2px;
5991
5993
  margin-top: -.25rem;
5992
- border-width: .25em 0 .25em .25rem;
5994
+ border-width: .5em 0 .5em .5rem;
5993
5995
  }
5994
5996
 
5995
5997
  .p-tooltip.p-tooltip-top {
@@ -5997,19 +5999,21 @@ input.p-dropdown-label {
5997
5999
  }
5998
6000
 
5999
6001
  .p-tooltip-top .p-tooltip-arrow {
6000
- bottom: 0;
6001
- left: 50%;
6002
+ bottom: -2px;
6003
+ left: 48%;
6002
6004
  margin-left: -.25rem;
6003
- border-width: .25em .25em 0;
6005
+ border-width: .5em .5em 0 .5em;
6004
6006
  }
6005
6007
 
6006
6008
  .p-tooltip-bottom .p-tooltip-arrow {
6007
- top: 0;
6008
- left: 50%;
6009
+ top: -2px;
6010
+ left: 48%;
6009
6011
  margin-left: -.25rem;
6010
- border-width: 0 .25em .25rem;
6012
+ border-width: 0 .5em .5em .5em;
6011
6013
  }
6012
6014
 
6015
+ /* ############################# Changes END Here ############################# */
6016
+
6013
6017
  .p-treeselect {
6014
6018
  display: inline-flex;
6015
6019
  cursor: pointer;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const carousel_1 = require("primereact/carousel");
4
+ exports.default = carousel_1.Carousel;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tag_1 = require("primereact/tag");
4
+ exports.default = tag_1.Tag;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const overlaypanel_1 = require("primereact/overlaypanel");
4
+ exports.default = overlaypanel_1.OverlayPanel;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const slider_1 = require("primereact/slider");
4
+ exports.default = slider_1.Slider;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const togglebutton_1 = require("primereact/togglebutton");
4
+ exports.default = togglebutton_1.ToggleButton;
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Card = exports.Dialog = exports.Password = exports.confirmPopup = exports.ConfirmDialog = exports.RadioButton = exports.Badge = exports.Tooltip = exports.Calendar = exports.Image = exports.AvatarGroup = exports.Avatar = exports.classNames = exports.Paginator = exports.MultiSelect = exports.FileUpload = exports.TabMenu = exports.TabPanel = exports.TabView = exports.Sidebar = exports.Column = exports.DataTable = exports.Checkbox = exports.AutoComplete = exports.ColorPicker = exports.AccordionTab = exports.Accordion = exports.InputText = exports.Dropdown = exports.Button = void 0;
3
+ exports.OverlayPanel = exports.Tag = exports.Carousel = exports.ToggleButton = exports.Slider = exports.Card = exports.Dialog = exports.Password = exports.confirmPopup = exports.ConfirmDialog = exports.RadioButton = exports.Badge = exports.Tooltip = exports.Calendar = exports.Image = exports.AvatarGroup = exports.Avatar = exports.classNames = exports.Paginator = exports.MultiSelect = exports.FileUpload = exports.TabMenu = exports.TabPanel = exports.TabView = exports.Sidebar = exports.Column = exports.DataTable = exports.Checkbox = exports.AutoComplete = exports.ColorPicker = exports.AccordionTab = exports.Accordion = exports.InputText = exports.Dropdown = exports.Button = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const react_1 = tslib_1.__importDefault(require("react"));
6
6
  const client_1 = tslib_1.__importDefault(require("react-dom/client"));
@@ -64,4 +64,14 @@ var dialog_1 = require("./components/dialogs/dialog");
64
64
  Object.defineProperty(exports, "Dialog", { enumerable: true, get: function () { return tslib_1.__importDefault(dialog_1).default; } });
65
65
  var card_1 = require("./components/card/card");
66
66
  Object.defineProperty(exports, "Card", { enumerable: true, get: function () { return tslib_1.__importDefault(card_1).default; } });
67
+ var slider_1 = require("./components/range-slider/slider");
68
+ Object.defineProperty(exports, "Slider", { enumerable: true, get: function () { return tslib_1.__importDefault(slider_1).default; } });
69
+ var toggle_button_1 = require("./components/toggle/toggle-button");
70
+ Object.defineProperty(exports, "ToggleButton", { enumerable: true, get: function () { return tslib_1.__importDefault(toggle_button_1).default; } });
71
+ var carousel_1 = require("./components/carousel/carousel");
72
+ Object.defineProperty(exports, "Carousel", { enumerable: true, get: function () { return tslib_1.__importDefault(carousel_1).default; } });
73
+ var tag_1 = require("./components/carousel/tag");
74
+ Object.defineProperty(exports, "Tag", { enumerable: true, get: function () { return tslib_1.__importDefault(tag_1).default; } });
75
+ var overlay_panel_1 = require("./components/overlays/overlay-panel");
76
+ Object.defineProperty(exports, "OverlayPanel", { enumerable: true, get: function () { return tslib_1.__importDefault(overlay_panel_1).default; } });
67
77
  client_1.default.createRoot(document.getElementById('root')).render(react_1.default.createElement(App_1.default, null));
@@ -0,0 +1 @@
1
+ export function InfoLogo(): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { Carousel } from 'primereact/carousel';
2
+ export default Carousel;
@@ -0,0 +1,2 @@
1
+ import { Tag } from 'primereact/tag';
2
+ export default Tag;
@@ -0,0 +1,2 @@
1
+ import { OverlayPanel } from 'primereact/overlaypanel';
2
+ export default OverlayPanel;
@@ -0,0 +1,2 @@
1
+ import { Slider } from "primereact/slider";
2
+ export default Slider;
@@ -0,0 +1,2 @@
1
+ import { ToggleButton } from 'primereact/togglebutton';
2
+ export default ToggleButton;
@@ -28,4 +28,9 @@ export { default as confirmPopup } from './components/dialogs/confirm-popup';
28
28
  export { default as Password } from './components/password/password';
29
29
  export { default as Dialog } from './components/dialogs/dialog';
30
30
  export { default as Card } from './components/card/card';
31
+ export { default as Slider } from './components/range-slider/slider';
32
+ export { default as ToggleButton } from './components/toggle/toggle-button';
33
+ export { default as Carousel } from './components/carousel/carousel';
34
+ export { default as Tag } from './components/carousel/tag';
35
+ export { default as OverlayPanel } from './components/overlays/overlay-panel';
31
36
  export type { DropdownChangeEvent };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sccoreui",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "ui-sccore",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",