@smart-cloud/ai-kit-ui 1.5.24 → 1.5.26
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/dist/ai-kit-ui.css +47 -62
- package/dist/index.cjs +8 -8
- package/dist/index.js +8 -8
- package/package.json +1 -1
package/dist/ai-kit-ui.css
CHANGED
|
@@ -798,18 +798,51 @@
|
|
|
798
798
|
margin: 0;
|
|
799
799
|
}
|
|
800
800
|
|
|
801
|
-
.ai-chat-
|
|
802
|
-
|
|
801
|
+
.ai-chat-starters {
|
|
802
|
+
width: 100%;
|
|
803
803
|
}
|
|
804
804
|
|
|
805
|
-
.ai-chat-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
805
|
+
.ai-chat-starter {
|
|
806
|
+
height: auto;
|
|
807
|
+
min-height: 44px;
|
|
808
|
+
min-width: min(220px, 100%);
|
|
809
|
+
max-width: min(100%, 340px);
|
|
810
|
+
padding: 8px 14px;
|
|
811
|
+
text-align: start;
|
|
812
|
+
white-space: normal;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
.ai-chat-starter .mantine-Button-inner {
|
|
816
|
+
min-width: 0;
|
|
817
|
+
height: auto;
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
.ai-chat-starter .mantine-Button-label {
|
|
809
821
|
max-width: 100%;
|
|
810
|
-
|
|
811
|
-
overflow:
|
|
812
|
-
|
|
822
|
+
overflow: visible;
|
|
823
|
+
text-overflow: clip;
|
|
824
|
+
white-space: normal;
|
|
825
|
+
overflow-wrap: anywhere;
|
|
826
|
+
line-height: 1.35;
|
|
827
|
+
text-align: start;
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
.ai-chat-progress {
|
|
831
|
+
max-width: 100%;
|
|
832
|
+
margin: var(--ai-kit-space-2) 0;
|
|
833
|
+
color: var(--ai-kit-color-text-muted, var(--ai-kit-color-text));
|
|
834
|
+
overflow-wrap: anywhere;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
.ai-chat-progress [data-status="failed"] {
|
|
838
|
+
color: var(--ai-kit-color-danger);
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
.ai-chat-progress-detail {
|
|
842
|
+
padding-inline-start: var(--ai-kit-space-3);
|
|
843
|
+
color: var(--ai-kit-color-text-muted, var(--ai-kit-color-text));
|
|
844
|
+
line-height: 1.35;
|
|
845
|
+
overflow-wrap: anywhere;
|
|
813
846
|
}
|
|
814
847
|
|
|
815
848
|
.ai-chat-row.user .ai-chat-bubble {
|
|
@@ -902,70 +935,22 @@
|
|
|
902
935
|
|
|
903
936
|
/* Citations / status / feedback */
|
|
904
937
|
.ai-citations {
|
|
938
|
+
max-width: 100%;
|
|
905
939
|
margin-top: var(--ai-kit-space-2);
|
|
906
940
|
font-size: 0.8rem;
|
|
907
941
|
}
|
|
908
942
|
|
|
909
|
-
.ai-citations
|
|
910
|
-
padding-left: 16px;
|
|
911
|
-
margin: 4px 0 0;
|
|
912
|
-
}
|
|
913
|
-
|
|
914
|
-
.ai-chat-activity-trace {
|
|
915
|
-
max-width: min(600px, 100%);
|
|
916
|
-
margin-top: var(--ai-kit-space-2);
|
|
917
|
-
padding: 6px 10px;
|
|
918
|
-
border: 1px solid var(--ai-kit-color-border, #d7dce3);
|
|
919
|
-
border-radius: 10px;
|
|
920
|
-
color: var(--ai-kit-color-text-muted, var(--ai-kit-color-text));
|
|
921
|
-
font-size: 0.8rem;
|
|
922
|
-
}
|
|
923
|
-
|
|
924
|
-
.ai-chat-activity-trace summary {
|
|
943
|
+
.ai-citations summary {
|
|
925
944
|
cursor: pointer;
|
|
945
|
+
font-weight: 600;
|
|
926
946
|
overflow-wrap: anywhere;
|
|
927
947
|
}
|
|
928
948
|
|
|
929
|
-
.ai-
|
|
930
|
-
|
|
931
|
-
margin-right: 6px;
|
|
932
|
-
vertical-align: text-bottom;
|
|
933
|
-
}
|
|
934
|
-
|
|
935
|
-
.ai-chat-activity-detail,
|
|
936
|
-
.ai-chat-activity-urls {
|
|
937
|
-
margin-top: 4px;
|
|
938
|
-
overflow-wrap: anywhere;
|
|
939
|
-
}
|
|
940
|
-
|
|
941
|
-
.ai-chat-activity-detail:empty {
|
|
942
|
-
display: none;
|
|
943
|
-
}
|
|
944
|
-
|
|
945
|
-
.ai-chat-activity-urls {
|
|
946
|
-
padding-left: 18px;
|
|
947
|
-
}
|
|
948
|
-
|
|
949
|
-
.ai-chat-activity-trace ol {
|
|
950
|
-
display: grid;
|
|
951
|
-
gap: 5px;
|
|
952
|
-
padding-left: 18px;
|
|
949
|
+
.ai-citations ul {
|
|
950
|
+
padding-left: 16px;
|
|
953
951
|
margin: 6px 0 0;
|
|
954
952
|
}
|
|
955
953
|
|
|
956
|
-
.ai-chat-activity-trace li {
|
|
957
|
-
padding-left: 2px;
|
|
958
|
-
}
|
|
959
|
-
|
|
960
|
-
.ai-chat-activity-trace li svg {
|
|
961
|
-
margin-right: 6px;
|
|
962
|
-
vertical-align: text-bottom;
|
|
963
|
-
}
|
|
964
|
-
|
|
965
|
-
.ai-chat-activity-trace li[data-status="failed"] {
|
|
966
|
-
color: var(--ai-kit-color-danger);
|
|
967
|
-
}
|
|
968
|
-
|
|
969
954
|
.ai-chat-site-icons {
|
|
970
955
|
display: inline-flex;
|
|
971
956
|
gap: 3px;
|