@smart-cloud/ai-kit-ui 1.5.24 → 1.5.25

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.
@@ -798,18 +798,44 @@
798
798
  margin: 0;
799
799
  }
800
800
 
801
- .ai-chat-bubble.typing.waiting {
802
- min-width: min(260px, 80vw);
801
+ .ai-chat-starters {
802
+ width: 100%;
803
803
  }
804
804
 
805
- .ai-chat-waiting-label {
806
- font-size: inherit;
807
- line-height: inherit;
808
- color: inherit;
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
- white-space: nowrap;
811
- overflow: hidden;
812
- text-overflow: ellipsis;
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);
813
839
  }
814
840
 
815
841
  .ai-chat-row.user .ai-chat-bubble {
@@ -902,70 +928,22 @@
902
928
 
903
929
  /* Citations / status / feedback */
904
930
  .ai-citations {
931
+ max-width: 100%;
905
932
  margin-top: var(--ai-kit-space-2);
906
933
  font-size: 0.8rem;
907
934
  }
908
935
 
909
- .ai-citations ul {
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 {
936
+ .ai-citations summary {
925
937
  cursor: pointer;
938
+ font-weight: 600;
926
939
  overflow-wrap: anywhere;
927
940
  }
928
941
 
929
- .ai-status-text svg,
930
- .ai-chat-activity-trace summary svg {
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;
942
+ .ai-citations ul {
943
+ padding-left: 16px;
953
944
  margin: 6px 0 0;
954
945
  }
955
946
 
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
947
  .ai-chat-site-icons {
970
948
  display: inline-flex;
971
949
  gap: 3px;