uibee 2.14.0 → 2.16.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/bun.lock +680 -0
- package/dist/src/components/index.d.ts +3 -0
- package/dist/src/components/index.js +6 -0
- package/dist/src/components/inputs/shared/fieldWrapper.js +2 -2
- package/dist/src/components/inputs/textarea.js +4 -6
- package/dist/src/components/layout/toggle.d.ts +14 -0
- package/dist/src/components/layout/toggle.js +12 -0
- package/dist/src/components/markdownrender/markdownRender.d.ts +3 -0
- package/dist/src/components/markdownrender/markdownRender.js +6 -0
- package/dist/src/components/vulnerability/constants.d.ts +4 -0
- package/dist/src/components/vulnerability/constants.js +14 -0
- package/dist/src/components/vulnerability/severityPill.d.ts +8 -0
- package/dist/src/components/vulnerability/severityPill.js +8 -0
- package/dist/src/globals.css +228 -115
- package/package.json +13 -12
- package/src/components/index.ts +10 -1
- package/src/components/inputs/shared/fieldWrapper.tsx +4 -4
- package/src/components/inputs/textarea.tsx +5 -7
- package/src/components/layout/toggle.tsx +62 -0
- package/src/components/markdownrender/markdownRender.tsx +17 -0
- package/src/components/vulnerability/constants.ts +17 -0
- package/src/components/vulnerability/severityPill.tsx +22 -0
- package/src/globals.css +20 -0
- package/tsconfig.json +1 -0
package/dist/src/globals.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! tailwindcss v4.2.
|
|
1
|
+
/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties;
|
|
3
3
|
@layer theme, base, components, utilities;
|
|
4
4
|
@layer theme {
|
|
@@ -13,12 +13,21 @@
|
|
|
13
13
|
--color-red-600: oklch(57.7% 0.245 27.325);
|
|
14
14
|
--color-red-700: oklch(50.5% 0.213 27.518);
|
|
15
15
|
--color-red-900: oklch(39.6% 0.141 25.723);
|
|
16
|
+
--color-orange-200: oklch(90.1% 0.076 70.697);
|
|
17
|
+
--color-orange-400: oklch(75% 0.183 55.934);
|
|
18
|
+
--color-orange-500: oklch(70.5% 0.213 47.604);
|
|
19
|
+
--color-amber-200: oklch(92.4% 0.12 95.746);
|
|
20
|
+
--color-amber-400: oklch(82.8% 0.189 84.429);
|
|
21
|
+
--color-amber-500: oklch(76.9% 0.188 70.08);
|
|
16
22
|
--color-yellow-400: oklch(85.2% 0.199 91.936);
|
|
17
23
|
--color-yellow-500: oklch(79.5% 0.184 86.047);
|
|
18
24
|
--color-yellow-600: oklch(68.1% 0.162 75.834);
|
|
19
25
|
--color-green-400: oklch(79.2% 0.209 151.711);
|
|
20
26
|
--color-green-500: oklch(72.3% 0.219 149.579);
|
|
21
27
|
--color-green-600: oklch(62.7% 0.194 149.214);
|
|
28
|
+
--color-sky-200: oklch(90.1% 0.058 230.902);
|
|
29
|
+
--color-sky-400: oklch(74.6% 0.16 232.661);
|
|
30
|
+
--color-sky-500: oklch(68.5% 0.169 237.323);
|
|
22
31
|
--color-blue-400: oklch(70.7% 0.165 254.624);
|
|
23
32
|
--color-blue-500: oklch(62.3% 0.214 259.815);
|
|
24
33
|
--color-blue-600: oklch(54.6% 0.245 262.881);
|
|
@@ -71,6 +80,7 @@
|
|
|
71
80
|
--default-font-family: var(--font-sans);
|
|
72
81
|
--default-mono-font-family: var(--font-mono);
|
|
73
82
|
--color-login: #fd8738;
|
|
83
|
+
--color-login-950: #0e0e0e;
|
|
74
84
|
--color-login-900: #121212;
|
|
75
85
|
--color-login-800: #181818;
|
|
76
86
|
--color-login-700: #1a1a1a;
|
|
@@ -826,145 +836,145 @@
|
|
|
826
836
|
font-size: 1.2rem;
|
|
827
837
|
font-weight: 500;
|
|
828
838
|
}
|
|
829
|
-
.prose-
|
|
830
|
-
font-size:
|
|
831
|
-
line-height: 1.
|
|
839
|
+
.prose-sm {
|
|
840
|
+
font-size: 0.875rem;
|
|
841
|
+
line-height: 1.7142857;
|
|
832
842
|
:where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
833
|
-
margin-top: 1.
|
|
834
|
-
margin-bottom: 1.
|
|
843
|
+
margin-top: 1.1428571em;
|
|
844
|
+
margin-bottom: 1.1428571em;
|
|
835
845
|
}
|
|
836
846
|
:where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
837
|
-
font-size: 1.
|
|
838
|
-
line-height: 1.
|
|
839
|
-
margin-top:
|
|
840
|
-
margin-bottom:
|
|
847
|
+
font-size: 1.2857143em;
|
|
848
|
+
line-height: 1.5555556;
|
|
849
|
+
margin-top: 0.8888889em;
|
|
850
|
+
margin-bottom: 0.8888889em;
|
|
841
851
|
}
|
|
842
852
|
:where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
843
|
-
margin-top: 1.
|
|
844
|
-
margin-bottom: 1.
|
|
845
|
-
padding-inline-start:
|
|
853
|
+
margin-top: 1.3333333em;
|
|
854
|
+
margin-bottom: 1.3333333em;
|
|
855
|
+
padding-inline-start: 1.1111111em;
|
|
846
856
|
}
|
|
847
857
|
:where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
848
|
-
font-size: 2.
|
|
858
|
+
font-size: 2.1428571em;
|
|
849
859
|
margin-top: 0;
|
|
850
|
-
margin-bottom: 0.
|
|
851
|
-
line-height: 1.
|
|
860
|
+
margin-bottom: 0.8em;
|
|
861
|
+
line-height: 1.2;
|
|
852
862
|
}
|
|
853
863
|
:where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
854
|
-
font-size: 1.
|
|
855
|
-
margin-top:
|
|
856
|
-
margin-bottom:
|
|
857
|
-
line-height: 1.
|
|
864
|
+
font-size: 1.4285714em;
|
|
865
|
+
margin-top: 1.6em;
|
|
866
|
+
margin-bottom: 0.8em;
|
|
867
|
+
line-height: 1.4;
|
|
858
868
|
}
|
|
859
869
|
:where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
860
|
-
font-size: 1.
|
|
861
|
-
margin-top: 1.
|
|
862
|
-
margin-bottom: 0.
|
|
863
|
-
line-height: 1.
|
|
870
|
+
font-size: 1.2857143em;
|
|
871
|
+
margin-top: 1.5555556em;
|
|
872
|
+
margin-bottom: 0.4444444em;
|
|
873
|
+
line-height: 1.5555556;
|
|
864
874
|
}
|
|
865
875
|
:where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
866
|
-
margin-top: 1.
|
|
867
|
-
margin-bottom: 0.
|
|
868
|
-
line-height: 1.
|
|
876
|
+
margin-top: 1.4285714em;
|
|
877
|
+
margin-bottom: 0.5714286em;
|
|
878
|
+
line-height: 1.4285714;
|
|
869
879
|
}
|
|
870
880
|
:where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
871
|
-
margin-top:
|
|
872
|
-
margin-bottom:
|
|
881
|
+
margin-top: 1.7142857em;
|
|
882
|
+
margin-bottom: 1.7142857em;
|
|
873
883
|
}
|
|
874
884
|
:where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
875
|
-
margin-top:
|
|
876
|
-
margin-bottom:
|
|
885
|
+
margin-top: 1.7142857em;
|
|
886
|
+
margin-bottom: 1.7142857em;
|
|
877
887
|
}
|
|
878
888
|
:where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
879
889
|
margin-top: 0;
|
|
880
890
|
margin-bottom: 0;
|
|
881
891
|
}
|
|
882
892
|
:where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
883
|
-
margin-top:
|
|
884
|
-
margin-bottom:
|
|
893
|
+
margin-top: 1.7142857em;
|
|
894
|
+
margin-bottom: 1.7142857em;
|
|
885
895
|
}
|
|
886
896
|
:where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
887
|
-
font-size: 0.
|
|
897
|
+
font-size: 0.8571429em;
|
|
888
898
|
border-radius: 0.3125rem;
|
|
889
|
-
padding-top: 0.
|
|
890
|
-
padding-inline-end: 0.
|
|
891
|
-
padding-bottom: 0.
|
|
892
|
-
padding-inline-start: 0.
|
|
899
|
+
padding-top: 0.1428571em;
|
|
900
|
+
padding-inline-end: 0.3571429em;
|
|
901
|
+
padding-bottom: 0.1428571em;
|
|
902
|
+
padding-inline-start: 0.3571429em;
|
|
893
903
|
}
|
|
894
904
|
:where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
895
|
-
font-size: 0.
|
|
905
|
+
font-size: 0.8571429em;
|
|
896
906
|
}
|
|
897
907
|
:where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
898
|
-
font-size: 0.
|
|
908
|
+
font-size: 0.9em;
|
|
899
909
|
}
|
|
900
910
|
:where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
901
|
-
font-size: 0.
|
|
911
|
+
font-size: 0.8888889em;
|
|
902
912
|
}
|
|
903
913
|
:where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
904
|
-
font-size: 0.
|
|
905
|
-
line-height: 1.
|
|
906
|
-
margin-top: 1.
|
|
907
|
-
margin-bottom: 1.
|
|
908
|
-
border-radius: 0.
|
|
909
|
-
padding-top: 0.
|
|
910
|
-
padding-inline-end:
|
|
911
|
-
padding-bottom: 0.
|
|
912
|
-
padding-inline-start:
|
|
914
|
+
font-size: 0.8571429em;
|
|
915
|
+
line-height: 1.6666667;
|
|
916
|
+
margin-top: 1.6666667em;
|
|
917
|
+
margin-bottom: 1.6666667em;
|
|
918
|
+
border-radius: 0.25rem;
|
|
919
|
+
padding-top: 0.6666667em;
|
|
920
|
+
padding-inline-end: 1em;
|
|
921
|
+
padding-bottom: 0.6666667em;
|
|
922
|
+
padding-inline-start: 1em;
|
|
913
923
|
}
|
|
914
924
|
:where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
915
|
-
margin-top: 1.
|
|
916
|
-
margin-bottom: 1.
|
|
917
|
-
padding-inline-start: 1.
|
|
925
|
+
margin-top: 1.1428571em;
|
|
926
|
+
margin-bottom: 1.1428571em;
|
|
927
|
+
padding-inline-start: 1.5714286em;
|
|
918
928
|
}
|
|
919
929
|
:where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
920
|
-
margin-top: 1.
|
|
921
|
-
margin-bottom: 1.
|
|
922
|
-
padding-inline-start: 1.
|
|
930
|
+
margin-top: 1.1428571em;
|
|
931
|
+
margin-bottom: 1.1428571em;
|
|
932
|
+
padding-inline-start: 1.5714286em;
|
|
923
933
|
}
|
|
924
934
|
:where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
925
|
-
margin-top: 0.
|
|
926
|
-
margin-bottom: 0.
|
|
935
|
+
margin-top: 0.2857143em;
|
|
936
|
+
margin-bottom: 0.2857143em;
|
|
927
937
|
}
|
|
928
938
|
:where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
929
|
-
padding-inline-start: 0.
|
|
939
|
+
padding-inline-start: 0.4285714em;
|
|
930
940
|
}
|
|
931
941
|
:where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
932
|
-
padding-inline-start: 0.
|
|
942
|
+
padding-inline-start: 0.4285714em;
|
|
933
943
|
}
|
|
934
|
-
:where(.prose-
|
|
935
|
-
margin-top: 0.
|
|
936
|
-
margin-bottom: 0.
|
|
944
|
+
:where(.prose-sm > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
945
|
+
margin-top: 0.5714286em;
|
|
946
|
+
margin-bottom: 0.5714286em;
|
|
937
947
|
}
|
|
938
|
-
:where(.prose-
|
|
939
|
-
margin-top: 1.
|
|
948
|
+
:where(.prose-sm > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
949
|
+
margin-top: 1.1428571em;
|
|
940
950
|
}
|
|
941
|
-
:where(.prose-
|
|
942
|
-
margin-bottom: 1.
|
|
951
|
+
:where(.prose-sm > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
952
|
+
margin-bottom: 1.1428571em;
|
|
943
953
|
}
|
|
944
|
-
:where(.prose-
|
|
945
|
-
margin-top: 1.
|
|
954
|
+
:where(.prose-sm > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
955
|
+
margin-top: 1.1428571em;
|
|
946
956
|
}
|
|
947
|
-
:where(.prose-
|
|
948
|
-
margin-bottom: 1.
|
|
957
|
+
:where(.prose-sm > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
958
|
+
margin-bottom: 1.1428571em;
|
|
949
959
|
}
|
|
950
960
|
:where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
951
|
-
margin-top: 0.
|
|
952
|
-
margin-bottom: 0.
|
|
961
|
+
margin-top: 0.5714286em;
|
|
962
|
+
margin-bottom: 0.5714286em;
|
|
953
963
|
}
|
|
954
964
|
:where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
955
|
-
margin-top: 1.
|
|
956
|
-
margin-bottom: 1.
|
|
965
|
+
margin-top: 1.1428571em;
|
|
966
|
+
margin-bottom: 1.1428571em;
|
|
957
967
|
}
|
|
958
968
|
:where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
959
|
-
margin-top: 1.
|
|
969
|
+
margin-top: 1.1428571em;
|
|
960
970
|
}
|
|
961
971
|
:where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
962
|
-
margin-top: 0.
|
|
963
|
-
padding-inline-start: 1.
|
|
972
|
+
margin-top: 0.2857143em;
|
|
973
|
+
padding-inline-start: 1.5714286em;
|
|
964
974
|
}
|
|
965
975
|
:where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
966
|
-
margin-top:
|
|
967
|
-
margin-bottom:
|
|
976
|
+
margin-top: 2.8571429em;
|
|
977
|
+
margin-bottom: 2.8571429em;
|
|
968
978
|
}
|
|
969
979
|
:where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
970
980
|
margin-top: 0;
|
|
@@ -979,13 +989,13 @@
|
|
|
979
989
|
margin-top: 0;
|
|
980
990
|
}
|
|
981
991
|
:where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
982
|
-
font-size: 0.
|
|
983
|
-
line-height: 1.
|
|
992
|
+
font-size: 0.8571429em;
|
|
993
|
+
line-height: 1.5;
|
|
984
994
|
}
|
|
985
995
|
:where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
986
|
-
padding-inline-end:
|
|
987
|
-
padding-bottom: 0.
|
|
988
|
-
padding-inline-start:
|
|
996
|
+
padding-inline-end: 1em;
|
|
997
|
+
padding-bottom: 0.6666667em;
|
|
998
|
+
padding-inline-start: 1em;
|
|
989
999
|
}
|
|
990
1000
|
:where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
991
1001
|
padding-inline-start: 0;
|
|
@@ -994,10 +1004,10 @@
|
|
|
994
1004
|
padding-inline-end: 0;
|
|
995
1005
|
}
|
|
996
1006
|
:where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
997
|
-
padding-top: 0.
|
|
998
|
-
padding-inline-end:
|
|
999
|
-
padding-bottom: 0.
|
|
1000
|
-
padding-inline-start:
|
|
1007
|
+
padding-top: 0.6666667em;
|
|
1008
|
+
padding-inline-end: 1em;
|
|
1009
|
+
padding-bottom: 0.6666667em;
|
|
1010
|
+
padding-inline-start: 1em;
|
|
1001
1011
|
}
|
|
1002
1012
|
:where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
1003
1013
|
padding-inline-start: 0;
|
|
@@ -1006,22 +1016,22 @@
|
|
|
1006
1016
|
padding-inline-end: 0;
|
|
1007
1017
|
}
|
|
1008
1018
|
:where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
1009
|
-
margin-top:
|
|
1010
|
-
margin-bottom:
|
|
1019
|
+
margin-top: 1.7142857em;
|
|
1020
|
+
margin-bottom: 1.7142857em;
|
|
1011
1021
|
}
|
|
1012
1022
|
:where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
1013
1023
|
margin-top: 0;
|
|
1014
1024
|
margin-bottom: 0;
|
|
1015
1025
|
}
|
|
1016
1026
|
:where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
1017
|
-
font-size: 0.
|
|
1018
|
-
line-height: 1.
|
|
1019
|
-
margin-top: 0.
|
|
1027
|
+
font-size: 0.8571429em;
|
|
1028
|
+
line-height: 1.3333333;
|
|
1029
|
+
margin-top: 0.6666667em;
|
|
1020
1030
|
}
|
|
1021
|
-
:where(.prose-
|
|
1031
|
+
:where(.prose-sm > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
1022
1032
|
margin-top: 0;
|
|
1023
1033
|
}
|
|
1024
|
-
:where(.prose-
|
|
1034
|
+
:where(.prose-sm > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
1025
1035
|
margin-bottom: 0;
|
|
1026
1036
|
}
|
|
1027
1037
|
}
|
|
@@ -1119,6 +1129,9 @@
|
|
|
1119
1129
|
.h-6 {
|
|
1120
1130
|
height: calc(var(--spacing) * 6);
|
|
1121
1131
|
}
|
|
1132
|
+
.h-7 {
|
|
1133
|
+
height: calc(var(--spacing) * 7);
|
|
1134
|
+
}
|
|
1122
1135
|
.h-8 {
|
|
1123
1136
|
height: calc(var(--spacing) * 8);
|
|
1124
1137
|
}
|
|
@@ -1509,12 +1522,24 @@
|
|
|
1509
1522
|
--tw-border-style: none;
|
|
1510
1523
|
border-style: none;
|
|
1511
1524
|
}
|
|
1525
|
+
.border-amber-400\/25 {
|
|
1526
|
+
border-color: color-mix(in srgb, oklch(82.8% 0.189 84.429) 25%, transparent);
|
|
1527
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1528
|
+
border-color: color-mix(in oklab, var(--color-amber-400) 25%, transparent);
|
|
1529
|
+
}
|
|
1530
|
+
}
|
|
1512
1531
|
.border-gray-200 {
|
|
1513
1532
|
border-color: var(--color-gray-200);
|
|
1514
1533
|
}
|
|
1515
1534
|
.border-login-50 {
|
|
1516
1535
|
border-color: var(--color-login-50);
|
|
1517
1536
|
}
|
|
1537
|
+
.border-login-100\/10 {
|
|
1538
|
+
border-color: color-mix(in srgb, #b0b0b0 10%, transparent);
|
|
1539
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1540
|
+
border-color: color-mix(in oklab, var(--color-login-100) 10%, transparent);
|
|
1541
|
+
}
|
|
1542
|
+
}
|
|
1518
1543
|
.border-login-200 {
|
|
1519
1544
|
border-color: var(--color-login-200);
|
|
1520
1545
|
}
|
|
@@ -1539,9 +1564,27 @@
|
|
|
1539
1564
|
border-color: color-mix(in oklab, var(--color-login-600) 50%, transparent);
|
|
1540
1565
|
}
|
|
1541
1566
|
}
|
|
1567
|
+
.border-orange-400\/25 {
|
|
1568
|
+
border-color: color-mix(in srgb, oklch(75% 0.183 55.934) 25%, transparent);
|
|
1569
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1570
|
+
border-color: color-mix(in oklab, var(--color-orange-400) 25%, transparent);
|
|
1571
|
+
}
|
|
1572
|
+
}
|
|
1573
|
+
.border-red-400\/25 {
|
|
1574
|
+
border-color: color-mix(in srgb, oklch(70.4% 0.191 22.216) 25%, transparent);
|
|
1575
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1576
|
+
border-color: color-mix(in oklab, var(--color-red-400) 25%, transparent);
|
|
1577
|
+
}
|
|
1578
|
+
}
|
|
1542
1579
|
.border-red-500 {
|
|
1543
1580
|
border-color: var(--color-red-500);
|
|
1544
1581
|
}
|
|
1582
|
+
.border-sky-400\/25 {
|
|
1583
|
+
border-color: color-mix(in srgb, oklch(74.6% 0.16 232.661) 25%, transparent);
|
|
1584
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1585
|
+
border-color: color-mix(in oklab, var(--color-sky-400) 25%, transparent);
|
|
1586
|
+
}
|
|
1587
|
+
}
|
|
1545
1588
|
.border-white {
|
|
1546
1589
|
border-color: var(--color-white);
|
|
1547
1590
|
}
|
|
@@ -1551,6 +1594,12 @@
|
|
|
1551
1594
|
.bg-\[\#18181899\] {
|
|
1552
1595
|
background-color: #18181899;
|
|
1553
1596
|
}
|
|
1597
|
+
.bg-amber-500\/10 {
|
|
1598
|
+
background-color: color-mix(in srgb, oklch(76.9% 0.188 70.08) 10%, transparent);
|
|
1599
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1600
|
+
background-color: color-mix(in oklab, var(--color-amber-500) 10%, transparent);
|
|
1601
|
+
}
|
|
1602
|
+
}
|
|
1554
1603
|
.bg-black\/60 {
|
|
1555
1604
|
background-color: color-mix(in srgb, #000 60%, transparent);
|
|
1556
1605
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -1614,6 +1663,9 @@
|
|
|
1614
1663
|
background-color: color-mix(in oklab, var(--color-login-50) 5%, transparent);
|
|
1615
1664
|
}
|
|
1616
1665
|
}
|
|
1666
|
+
.bg-login-200 {
|
|
1667
|
+
background-color: var(--color-login-200);
|
|
1668
|
+
}
|
|
1617
1669
|
.bg-login-400 {
|
|
1618
1670
|
background-color: var(--color-login-400);
|
|
1619
1671
|
}
|
|
@@ -1668,6 +1720,18 @@
|
|
|
1668
1720
|
background-color: color-mix(in oklab, var(--color-login) 70%, transparent);
|
|
1669
1721
|
}
|
|
1670
1722
|
}
|
|
1723
|
+
.bg-orange-500\/10 {
|
|
1724
|
+
background-color: color-mix(in srgb, oklch(70.5% 0.213 47.604) 10%, transparent);
|
|
1725
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1726
|
+
background-color: color-mix(in oklab, var(--color-orange-500) 10%, transparent);
|
|
1727
|
+
}
|
|
1728
|
+
}
|
|
1729
|
+
.bg-red-500\/10 {
|
|
1730
|
+
background-color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 10%, transparent);
|
|
1731
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1732
|
+
background-color: color-mix(in oklab, var(--color-red-500) 10%, transparent);
|
|
1733
|
+
}
|
|
1734
|
+
}
|
|
1671
1735
|
.bg-red-500\/20 {
|
|
1672
1736
|
background-color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 20%, transparent);
|
|
1673
1737
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -1689,6 +1753,12 @@
|
|
|
1689
1753
|
.bg-red-900 {
|
|
1690
1754
|
background-color: var(--color-red-900);
|
|
1691
1755
|
}
|
|
1756
|
+
.bg-sky-500\/10 {
|
|
1757
|
+
background-color: color-mix(in srgb, oklch(68.5% 0.169 237.323) 10%, transparent);
|
|
1758
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1759
|
+
background-color: color-mix(in oklab, var(--color-sky-500) 10%, transparent);
|
|
1760
|
+
}
|
|
1761
|
+
}
|
|
1692
1762
|
.bg-transparent {
|
|
1693
1763
|
background-color: transparent;
|
|
1694
1764
|
}
|
|
@@ -1931,6 +2001,9 @@
|
|
|
1931
2001
|
font-size: var(--text-xs);
|
|
1932
2002
|
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
1933
2003
|
}
|
|
2004
|
+
.text-\[11px\] {
|
|
2005
|
+
font-size: 11px;
|
|
2006
|
+
}
|
|
1934
2007
|
.leading-4 {
|
|
1935
2008
|
--tw-leading: calc(var(--spacing) * 4);
|
|
1936
2009
|
line-height: calc(var(--spacing) * 4);
|
|
@@ -1975,6 +2048,10 @@
|
|
|
1975
2048
|
--tw-tracking: 0.05em;
|
|
1976
2049
|
letter-spacing: 0.05em;
|
|
1977
2050
|
}
|
|
2051
|
+
.tracking-\[0\.18em\] {
|
|
2052
|
+
--tw-tracking: 0.18em;
|
|
2053
|
+
letter-spacing: 0.18em;
|
|
2054
|
+
}
|
|
1978
2055
|
.tracking-tight {
|
|
1979
2056
|
--tw-tracking: var(--tracking-tight);
|
|
1980
2057
|
letter-spacing: var(--tracking-tight);
|
|
@@ -1986,6 +2063,9 @@
|
|
|
1986
2063
|
.whitespace-nowrap {
|
|
1987
2064
|
white-space: nowrap;
|
|
1988
2065
|
}
|
|
2066
|
+
.text-amber-200 {
|
|
2067
|
+
color: var(--color-amber-200);
|
|
2068
|
+
}
|
|
1989
2069
|
.text-blue-400 {
|
|
1990
2070
|
color: var(--color-blue-400);
|
|
1991
2071
|
}
|
|
@@ -2022,18 +2102,30 @@
|
|
|
2022
2102
|
.text-login-800 {
|
|
2023
2103
|
color: var(--color-login-800);
|
|
2024
2104
|
}
|
|
2105
|
+
.text-login-950 {
|
|
2106
|
+
color: var(--color-login-950);
|
|
2107
|
+
}
|
|
2025
2108
|
.text-login-text {
|
|
2026
2109
|
color: var(--color-login-text);
|
|
2027
2110
|
}
|
|
2028
2111
|
.text-login-text\! {
|
|
2029
2112
|
color: var(--color-login-text) !important;
|
|
2030
2113
|
}
|
|
2114
|
+
.text-orange-200 {
|
|
2115
|
+
color: var(--color-orange-200);
|
|
2116
|
+
}
|
|
2117
|
+
.text-red-200 {
|
|
2118
|
+
color: var(--color-red-200);
|
|
2119
|
+
}
|
|
2031
2120
|
.text-red-400 {
|
|
2032
2121
|
color: var(--color-red-400);
|
|
2033
2122
|
}
|
|
2034
2123
|
.text-red-500 {
|
|
2035
2124
|
color: var(--color-red-500);
|
|
2036
2125
|
}
|
|
2126
|
+
.text-sky-200 {
|
|
2127
|
+
color: var(--color-sky-200);
|
|
2128
|
+
}
|
|
2037
2129
|
.text-white {
|
|
2038
2130
|
color: var(--color-white);
|
|
2039
2131
|
}
|
|
@@ -2218,25 +2310,23 @@
|
|
|
2218
2310
|
--tw-ease: var(--ease-out);
|
|
2219
2311
|
transition-timing-function: var(--ease-out);
|
|
2220
2312
|
}
|
|
2221
|
-
.prose-
|
|
2222
|
-
--tw-prose-body: var(--
|
|
2223
|
-
--tw-prose-headings: var(--
|
|
2224
|
-
--tw-prose-lead: var(--
|
|
2225
|
-
--tw-prose-links: var(--
|
|
2226
|
-
--tw-prose-bold: var(--
|
|
2227
|
-
--tw-prose-counters: var(--
|
|
2228
|
-
--tw-prose-bullets: var(--
|
|
2229
|
-
--tw-prose-hr: var(--
|
|
2230
|
-
--tw-prose-quotes: var(--
|
|
2231
|
-
--tw-prose-quote-borders: var(--
|
|
2232
|
-
--tw-prose-captions: var(--
|
|
2233
|
-
--tw-prose-
|
|
2234
|
-
--tw-prose-
|
|
2235
|
-
--tw-prose-
|
|
2236
|
-
--tw-prose-
|
|
2237
|
-
--tw-prose-
|
|
2238
|
-
--tw-prose-th-borders: var(--tw-prose-invert-th-borders);
|
|
2239
|
-
--tw-prose-td-borders: var(--tw-prose-invert-td-borders);
|
|
2313
|
+
.prose-custom {
|
|
2314
|
+
--tw-prose-body: var(--color-login-text);
|
|
2315
|
+
--tw-prose-headings: var(--color-login-text);
|
|
2316
|
+
--tw-prose-lead: var(--color-login-300);
|
|
2317
|
+
--tw-prose-links: var(--color-login);
|
|
2318
|
+
--tw-prose-bold: var(--color-login-text);
|
|
2319
|
+
--tw-prose-counters: var(--color-login-400);
|
|
2320
|
+
--tw-prose-bullets: var(--color-login-400);
|
|
2321
|
+
--tw-prose-hr: var(--color-login-300);
|
|
2322
|
+
--tw-prose-quotes: var(--color-login-text);
|
|
2323
|
+
--tw-prose-quote-borders: var(--color-login-300);
|
|
2324
|
+
--tw-prose-captions: var(--color-login-300);
|
|
2325
|
+
--tw-prose-code: var(--color-login-text);
|
|
2326
|
+
--tw-prose-pre-code: var(--color-login-text);
|
|
2327
|
+
--tw-prose-pre-bg: var(--color-login-800);
|
|
2328
|
+
--tw-prose-th-borders: var(--color-login-500);
|
|
2329
|
+
--tw-prose-td-borders: var(--color-login-500);
|
|
2240
2330
|
}
|
|
2241
2331
|
.outline-none {
|
|
2242
2332
|
--tw-outline-style: none;
|
|
@@ -2249,6 +2339,12 @@
|
|
|
2249
2339
|
.ring-inset {
|
|
2250
2340
|
--tw-ring-inset: inset;
|
|
2251
2341
|
}
|
|
2342
|
+
.\*\*\:text-xs\! {
|
|
2343
|
+
:is(& *) {
|
|
2344
|
+
font-size: var(--text-xs) !important;
|
|
2345
|
+
line-height: var(--tw-leading, var(--text-xs--line-height)) !important;
|
|
2346
|
+
}
|
|
2347
|
+
}
|
|
2252
2348
|
.group-hover\:opacity-100 {
|
|
2253
2349
|
&:is(:where(.group):hover *) {
|
|
2254
2350
|
@media (hover: hover) {
|
|
@@ -2493,6 +2589,16 @@
|
|
|
2493
2589
|
}
|
|
2494
2590
|
}
|
|
2495
2591
|
}
|
|
2592
|
+
.hover\:bg-login-50\/10 {
|
|
2593
|
+
&:hover {
|
|
2594
|
+
@media (hover: hover) {
|
|
2595
|
+
background-color: color-mix(in srgb, #ededed 10%, transparent);
|
|
2596
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2597
|
+
background-color: color-mix(in oklab, var(--color-login-50) 10%, transparent);
|
|
2598
|
+
}
|
|
2599
|
+
}
|
|
2600
|
+
}
|
|
2601
|
+
}
|
|
2496
2602
|
.hover\:bg-login-300\/20 {
|
|
2497
2603
|
&:hover {
|
|
2498
2604
|
@media (hover: hover) {
|
|
@@ -2618,6 +2724,13 @@
|
|
|
2618
2724
|
}
|
|
2619
2725
|
}
|
|
2620
2726
|
}
|
|
2727
|
+
.hover\:text-login-50 {
|
|
2728
|
+
&:hover {
|
|
2729
|
+
@media (hover: hover) {
|
|
2730
|
+
color: var(--color-login-50);
|
|
2731
|
+
}
|
|
2732
|
+
}
|
|
2733
|
+
}
|
|
2621
2734
|
.hover\:text-login-100 {
|
|
2622
2735
|
&:hover {
|
|
2623
2736
|
@media (hover: hover) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uibee",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.16.0",
|
|
4
4
|
"description": "Shared components, functions and hooks for reuse across Login projects",
|
|
5
5
|
"homepage": "https://github.com/Login-Linjeforening-for-IT/uibee#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build:clean": "rm -rf dist",
|
|
27
|
-
"build:css": "node
|
|
27
|
+
"build:css": "node src/scripts/buildCss.ts",
|
|
28
28
|
"build:rewrite": "node dist/src/scripts/rewriteAlias.js",
|
|
29
29
|
"build:ts": "tsc --declaration",
|
|
30
30
|
"build": "npm run build:clean && npm run build:css && npm run build:ts && npm run build:rewrite",
|
|
@@ -32,28 +32,29 @@
|
|
|
32
32
|
"lint:fix": "eslint --fix ./src"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"next": "^16.1
|
|
35
|
+
"next": "^16.2.1",
|
|
36
36
|
"react": "^19.2.4"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
40
|
-
"@tailwindcss/postcss": "^4.2.
|
|
40
|
+
"@tailwindcss/postcss": "^4.2.2",
|
|
41
41
|
"@tailwindcss/typography": "^0.5.19",
|
|
42
|
-
"@types/node": "^25.
|
|
42
|
+
"@types/node": "^25.6.0",
|
|
43
43
|
"@types/react": "19.2.14",
|
|
44
44
|
"@types/react-dom": "^19.2.3",
|
|
45
|
-
"eslint": "^10.0
|
|
45
|
+
"eslint": "^10.2.0",
|
|
46
46
|
"glob": "^13.0.6",
|
|
47
|
-
"postcss": "^8.5.
|
|
48
|
-
"tailwindcss": "^4.2.
|
|
47
|
+
"postcss": "^8.5.10",
|
|
48
|
+
"tailwindcss": "^4.2.2",
|
|
49
49
|
"ts-node": "^10.9.2",
|
|
50
|
-
"typescript": "^
|
|
51
|
-
"typescript-eslint": "^8.
|
|
50
|
+
"typescript": "^6.0.2",
|
|
51
|
+
"typescript-eslint": "^8.58.2"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"lucide-react": "^
|
|
55
|
-
"react-dom": "19.2.
|
|
54
|
+
"lucide-react": "^1.8.0",
|
|
55
|
+
"react-dom": "19.2.5",
|
|
56
56
|
"react-markdown": "^10.1.0",
|
|
57
|
+
"remark-gfm": "^4.0.1",
|
|
57
58
|
"utilbee": "^1.4.1"
|
|
58
59
|
}
|
|
59
60
|
}
|
package/src/components/index.ts
CHANGED
|
@@ -44,5 +44,14 @@ export { MenuButton } from './table/menu'
|
|
|
44
44
|
export { default as Table } from './table/table'
|
|
45
45
|
export { default as Pagination } from './table/pagination'
|
|
46
46
|
|
|
47
|
+
// Markdown
|
|
48
|
+
export { default as MarkdownRender } from './markdownrender/markdownRender'
|
|
49
|
+
|
|
47
50
|
// Confirm
|
|
48
|
-
export { default as ConfirmPopup } from './confirm/confirmPopup'
|
|
51
|
+
export { default as ConfirmPopup } from './confirm/confirmPopup'
|
|
52
|
+
|
|
53
|
+
// Vulnerability
|
|
54
|
+
export { default as SeverityPill } from './vulnerability/severityPill'
|
|
55
|
+
|
|
56
|
+
// Layout
|
|
57
|
+
export { default as Toggle } from './layout/toggle'
|
|
@@ -2,7 +2,7 @@ import { ReactNode } from 'react'
|
|
|
2
2
|
import InputLabel from './inputLabel'
|
|
3
3
|
import InputInfo from './inputInfo'
|
|
4
4
|
import InputError from './inputError'
|
|
5
|
-
import
|
|
5
|
+
import MarkdownRender from '@components/markdownrender/markdownRender'
|
|
6
6
|
|
|
7
7
|
interface FieldWrapperProps {
|
|
8
8
|
label?: string
|
|
@@ -43,9 +43,9 @@ export default function FieldWrapper({
|
|
|
43
43
|
</div>
|
|
44
44
|
)}
|
|
45
45
|
{description && (
|
|
46
|
-
<
|
|
47
|
-
<
|
|
48
|
-
</
|
|
46
|
+
<div className='text-login-100 **:text-xs! ml-1 mb-1'>
|
|
47
|
+
<MarkdownRender MDstr={String(description || '')} />
|
|
48
|
+
</div>
|
|
49
49
|
)}
|
|
50
50
|
{children}
|
|
51
51
|
<InputError error={error} id={`${name}-error`} />
|