@webless/agent 0.7.4 → 0.8.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/dist/react.css CHANGED
@@ -1025,6 +1025,111 @@ html.webless-agent-page-shift {
1025
1025
  text-align: left;
1026
1026
  }
1027
1027
 
1028
+ /* src/react/components/SearchReferences/SearchReferences.css */
1029
+ .search-references {
1030
+ display: grid;
1031
+ width: 100%;
1032
+ min-width: 0;
1033
+ gap: 16px;
1034
+ margin-top: 24px;
1035
+ }
1036
+ .search-references__heading {
1037
+ display: flex;
1038
+ align-items: center;
1039
+ gap: 6px;
1040
+ margin: 0 0 8px;
1041
+ color: var(--as-text);
1042
+ font-size: 12px;
1043
+ font-weight: 700;
1044
+ line-height: 1.5;
1045
+ }
1046
+ .search-references__heading span {
1047
+ display: inline-flex;
1048
+ }
1049
+ .search-references__list {
1050
+ display: grid;
1051
+ gap: 6px;
1052
+ margin: 0;
1053
+ padding: 0;
1054
+ list-style: none;
1055
+ }
1056
+ .search-references__source {
1057
+ display: flex;
1058
+ min-width: 0;
1059
+ min-height: 52px;
1060
+ box-sizing: border-box;
1061
+ align-items: center;
1062
+ gap: 10px;
1063
+ padding: 8px 10px;
1064
+ border-radius: var(--as-radius-sm, 8px);
1065
+ background: var(--as-surface-muted);
1066
+ color: var(--as-text);
1067
+ text-decoration: none;
1068
+ }
1069
+ .search-references__icon {
1070
+ display: inline-flex;
1071
+ flex: 0 0 18px;
1072
+ color: var(--as-text-muted);
1073
+ }
1074
+ .search-references__copy {
1075
+ display: grid;
1076
+ min-width: 0;
1077
+ gap: 2px;
1078
+ }
1079
+ .search-references__title,
1080
+ .search-references__domain {
1081
+ overflow: hidden;
1082
+ text-overflow: ellipsis;
1083
+ white-space: nowrap;
1084
+ line-height: 1.4;
1085
+ }
1086
+ .search-references__title {
1087
+ font-size: 13px;
1088
+ font-weight: 500;
1089
+ }
1090
+ .search-references__domain {
1091
+ color: var(--as-text-muted);
1092
+ font-size: 11px;
1093
+ }
1094
+ .search-references__actions {
1095
+ display: flex;
1096
+ flex-wrap: wrap;
1097
+ gap: 8px;
1098
+ }
1099
+ .search-references__cta {
1100
+ display: inline-flex;
1101
+ max-width: 100%;
1102
+ min-height: 44px;
1103
+ box-sizing: border-box;
1104
+ align-items: center;
1105
+ justify-content: center;
1106
+ padding: 10px 20px;
1107
+ border: 1px solid var(--as-brand);
1108
+ border-radius: 999px;
1109
+ color: var(--as-text);
1110
+ font-size: 13px;
1111
+ font-weight: 650;
1112
+ line-height: 1.5;
1113
+ overflow-wrap: anywhere;
1114
+ text-decoration: none;
1115
+ }
1116
+ .search-references__source[href]:hover,
1117
+ .search-references__cta:hover {
1118
+ background: var(--as-brand-soft);
1119
+ color: var(--as-brand);
1120
+ }
1121
+ .search-references a:focus-visible {
1122
+ outline: 2px solid var(--as-brand);
1123
+ outline-offset: 2px;
1124
+ }
1125
+ .message-bubble__text:has(.search-references) {
1126
+ width: 100%;
1127
+ }
1128
+ .search-references > section,
1129
+ .search-references__list > li {
1130
+ min-width: 0;
1131
+ }
1132
+
1028
1133
  /* src/react/components/BookingCard/BookingCard.css */
1029
1134
  .booking-card {
1030
1135
  width: 100%;
@@ -2934,4 +3039,60 @@ html.webless-agent-page-shift {
2934
3039
  transition: none;
2935
3040
  }
2936
3041
  }
3042
+
3043
+ /* src/react/components/AgentTranscript/AgentTranscript.css */
3044
+ .webless-agent-root.agent-transcript {
3045
+ position: static;
3046
+ inset: auto;
3047
+ pointer-events: auto;
3048
+ z-index: auto;
3049
+ display: flex;
3050
+ flex-direction: column;
3051
+ gap: 24px;
3052
+ width: 100%;
3053
+ min-width: 0;
3054
+ margin: 0;
3055
+ padding: 0;
3056
+ list-style: none;
3057
+ color: var(--as-text);
3058
+ font-family: var(--as-font-body);
3059
+ }
3060
+ .agent-transcript__message {
3061
+ display: flex;
3062
+ flex-direction: column;
3063
+ gap: 6px;
3064
+ min-width: 0;
3065
+ max-width: 100%;
3066
+ }
3067
+ .agent-transcript__message--visitor {
3068
+ align-self: flex-end;
3069
+ width: 88%;
3070
+ }
3071
+ .agent-transcript__meta {
3072
+ display: flex;
3073
+ flex-wrap: wrap;
3074
+ justify-content: space-between;
3075
+ gap: 4px 12px;
3076
+ color: var(--as-text-muted);
3077
+ font-size: 12px;
3078
+ line-height: 1.5;
3079
+ }
3080
+ .agent-transcript__meta time {
3081
+ font-variant-numeric: tabular-nums;
3082
+ }
3083
+ .agent-transcript .message-bubble {
3084
+ max-width: 100%;
3085
+ }
3086
+ .agent-transcript .message-bubble--visitor {
3087
+ align-self: stretch;
3088
+ }
3089
+ .agent-transcript .message-bubble__markdown {
3090
+ overflow-wrap: anywhere;
3091
+ }
3092
+ .agent-transcript .message-bubble__markdown pre,
3093
+ .agent-transcript .message-bubble__markdown table {
3094
+ display: block;
3095
+ max-width: 100%;
3096
+ overflow-x: auto;
3097
+ }
2937
3098
  /*# sourceMappingURL=react.css.map */