@cometchat/chat-uikit-react 6.2.3 → 6.2.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.
- package/dist/index.d.ts +5 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/styles/CometChatAIAssistantChat.css +4 -5
- package/dist/styles/CometChatAIAssistantChatHistory.css +6 -2
- package/dist/styles/CometChatAIAssistantMessageBubble.css +95 -15
- package/dist/styles/CometChatConversations.css +3 -1
- package/dist/styles/CometChatStreamMessageBubble.css +105 -17
- package/dist/styles/components/CometChatAIAssistantChat.css +4 -5
- package/dist/styles/components/CometChatAIAssistantChatHistory.css +6 -2
- package/dist/styles/components/CometChatAIAssistantMessageBubble.css +95 -15
- package/dist/styles/components/CometChatConversations.css +3 -1
- package/dist/styles/components/CometChatStreamMessageBubble.css +105 -17
- package/dist/types/components/CometChatAIAssistantChatHistory/CometChatAIAssistantChatHistory.d.ts +5 -0
- package/dist/types/components/CometChatConversations/CometChatConversations.d.ts +3 -0
- package/package.json +1 -1
|
@@ -282,15 +282,15 @@ padding-bottom: var(--cometchat-padding-2);
|
|
|
282
282
|
}
|
|
283
283
|
|
|
284
284
|
.cometchat-ai-assistant-chat__empty-state-greeting-message {
|
|
285
|
-
color: var(--cometchat-text-color-
|
|
285
|
+
color: var(--cometchat-text-color-primary);
|
|
286
286
|
text-align: center;
|
|
287
|
-
font: var(--cometchat-font-
|
|
287
|
+
font: var(--cometchat-font-heading4-medium);
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
.cometchat-ai-assistant-chat__empty-state-intro-message {
|
|
291
|
-
color: var(--cometchat-text-color-
|
|
291
|
+
color: var(--cometchat-text-color-tertiary);
|
|
292
292
|
text-align: center;
|
|
293
|
-
font: var(--cometchat-font-
|
|
293
|
+
font: var(--cometchat-font-body-regular);
|
|
294
294
|
padding-top: var(--cometchat-padding-1);
|
|
295
295
|
}
|
|
296
296
|
.cometchat-ai-assistant-chat .cometchat-message-bubble-outgoing .cometchat-message-bubble__body
|
|
@@ -393,7 +393,6 @@ background: var(--cometchat-error-color);
|
|
|
393
393
|
display: flex;
|
|
394
394
|
justify-content: flex-start;
|
|
395
395
|
align-items: flex-start;
|
|
396
|
-
margin-top: var(--cometchat-margin-3);
|
|
397
396
|
height: 20px;
|
|
398
397
|
width: 20px;
|
|
399
398
|
background: var(--cometchat-icon-color-secondary);
|
|
@@ -10,10 +10,9 @@
|
|
|
10
10
|
.cometchat-ai-assistant-chat-history__loading,
|
|
11
11
|
.cometchat-ai-assistant-chat-history__empty,
|
|
12
12
|
.cometchat-ai-assistant-chat-history__error {
|
|
13
|
-
padding:
|
|
13
|
+
padding: var(--cometchat-padding-5);
|
|
14
14
|
text-align: center;
|
|
15
15
|
color: var(--cometchat-text-color-secondary);
|
|
16
|
-
font-size: 14px;
|
|
17
16
|
display: flex;
|
|
18
17
|
align-items: center;
|
|
19
18
|
justify-content: center;
|
|
@@ -58,6 +57,10 @@
|
|
|
58
57
|
justify-content: flex-start;
|
|
59
58
|
padding-left: 0;
|
|
60
59
|
|
|
60
|
+
}
|
|
61
|
+
.cometchat-ai-assistant-chat-history .cometchat-ai-assistant-chat-history__header-container-new-chat-container .cometchat-button__text{
|
|
62
|
+
color: var(--cometchat-text-color-primary);
|
|
63
|
+
|
|
61
64
|
}
|
|
62
65
|
.cometchat-ai-assistant-chat-history .cometchat-ai-assistant-chat-history__header-container-new-chat-container .cometchat-button__icon {
|
|
63
66
|
background: var(--cometchat-icon-color-secondary);
|
|
@@ -84,6 +87,7 @@
|
|
|
84
87
|
width: 100%;
|
|
85
88
|
justify-content: space-between;
|
|
86
89
|
align-items: center;
|
|
90
|
+
cursor: pointer;
|
|
87
91
|
}
|
|
88
92
|
|
|
89
93
|
.cometchat-ai-assistant-chat-history__list-item-date-header {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
.cometchat-ai-assistant-message-bubble {
|
|
2
2
|
flex-direction: column;
|
|
3
|
-
/* gap: 12px; */
|
|
4
3
|
display: flex;
|
|
5
4
|
text-align: left;
|
|
6
5
|
justify-content: flex-start;
|
|
@@ -15,17 +14,13 @@
|
|
|
15
14
|
overflow: hidden;
|
|
16
15
|
}
|
|
17
16
|
|
|
18
|
-
.cometchat-ai-assistant-message-bubble pre {
|
|
19
|
-
/* border: 1px solid var(--cometchat-border-color-default); */
|
|
20
|
-
}
|
|
21
17
|
|
|
22
18
|
.cometchat-ai-assistant-message-bubble>p:not([class]) {
|
|
23
19
|
text-align: left;
|
|
24
|
-
line-height: 1.4 !important;
|
|
25
20
|
color: var(--cometchat-text-color-primary);
|
|
26
21
|
}
|
|
27
22
|
|
|
28
|
-
.cometchat-ai-assistant-message-bubble
|
|
23
|
+
.cometchat-ai-assistant-message-bubble ol:not([class]) {
|
|
29
24
|
padding-left: 0px !important;
|
|
30
25
|
margin-top: 0px !important;
|
|
31
26
|
text-align: left !important;
|
|
@@ -39,14 +34,14 @@
|
|
|
39
34
|
|
|
40
35
|
}
|
|
41
36
|
|
|
42
|
-
.cometchat-ai-assistant-message-bubble
|
|
43
|
-
padding-left:
|
|
37
|
+
.cometchat-ai-assistant-message-bubble ol:not([class]),.cometchat-ai-assistant-message-bubble ul:not([class]) {
|
|
38
|
+
padding-left: var(--cometchat-padding-5) !important;
|
|
44
39
|
text-align: left !important;
|
|
45
40
|
color: var(--cometchat-text-color-primary);
|
|
46
41
|
|
|
47
42
|
}
|
|
48
43
|
|
|
49
|
-
.cometchat-ai-assistant-message-bubble
|
|
44
|
+
.cometchat-ai-assistant-message-bubble ul:not([class]) {
|
|
50
45
|
text-align: left !important;
|
|
51
46
|
color: var(--cometchat-text-color-primary);
|
|
52
47
|
|
|
@@ -86,20 +81,37 @@
|
|
|
86
81
|
}
|
|
87
82
|
|
|
88
83
|
.cometchat-ai-assistant-message-bubble table {
|
|
89
|
-
width:
|
|
90
|
-
|
|
84
|
+
width: fit-content;
|
|
85
|
+
max-width: 100%;
|
|
91
86
|
table-layout: auto;
|
|
92
87
|
display: block;
|
|
93
88
|
overflow-x: auto;
|
|
89
|
+
border-radius: var(--cometchat-radius-2);
|
|
90
|
+
margin: var(--cometchat-margin-2) 0;
|
|
91
|
+
border-collapse: separate;
|
|
92
|
+
border-spacing: 0;
|
|
93
|
+
overflow: scroll;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
+
/* Round only outer cells */
|
|
97
|
+
.cometchat-ai-assistant-message-bubble tr:first-child th:first-child {
|
|
98
|
+
border-top-left-radius: var(--cometchat-radius-2);
|
|
99
|
+
}
|
|
100
|
+
.cometchat-ai-assistant-message-bubble tr:first-child th:last-child {
|
|
101
|
+
border-top-right-radius: var(--cometchat-radius-2);
|
|
102
|
+
}
|
|
103
|
+
.cometchat-ai-assistant-message-bubble tr:last-child td:first-child {
|
|
104
|
+
border-bottom-left-radius: var(--cometchat-radius-2);
|
|
105
|
+
}
|
|
106
|
+
.cometchat-ai-assistant-message-bubble tr:last-child td:last-child {
|
|
107
|
+
border-bottom-right-radius: var(--cometchat-radius-2);
|
|
108
|
+
}
|
|
96
109
|
.cometchat-ai-assistant-message-bubble th,
|
|
97
110
|
.cometchat-ai-assistant-message-bubble td {
|
|
98
111
|
padding: var(--cometchat-padding-2);
|
|
99
|
-
border: 1px solid var(--cometchat-border-color-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
min-width: 100px;
|
|
112
|
+
border: 1px solid var(--cometchat-border-color-dark);
|
|
113
|
+
width: fit-content;
|
|
114
|
+
max-width: 100%;
|
|
103
115
|
}
|
|
104
116
|
|
|
105
117
|
.cometchat-ai-assistant-message-bubble table::-webkit-scrollbar {
|
|
@@ -115,4 +127,72 @@
|
|
|
115
127
|
.cometchat-ai-assistant-message-bubble table::-webkit-scrollbar-thumb {
|
|
116
128
|
background: var(--cometchat-icon-color-secondary);
|
|
117
129
|
border-radius: var(--cometchat-radius-2);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.cometchat-ai-assistant-message-bubble td{
|
|
133
|
+
text-align: left !important;
|
|
134
|
+
}
|
|
135
|
+
.cometchat-ai-assistant-message-bubble th{
|
|
136
|
+
text-align: center !important;
|
|
137
|
+
}
|
|
138
|
+
.cometchat-ai-assistant-message-bubble th{
|
|
139
|
+
background: var(--cometchat-background-color-04);
|
|
140
|
+
}
|
|
141
|
+
.cometchat-ai-assistant-message-bubble .cometchat-ai-assistant-message-bubble__link{
|
|
142
|
+
text-decoration: underline;
|
|
143
|
+
color: var(--cometchat-text-color-highlight);
|
|
144
|
+
}
|
|
145
|
+
.cometchat-ai-assistant-message-bubble ul,.cometchat-ai-assistant-message-bubble ol,.cometchat-ai-assistant-message-bubble hr{
|
|
146
|
+
margin: 0;
|
|
147
|
+
}
|
|
148
|
+
.cometchat-ai-assistant-message-bubble li{
|
|
149
|
+
overflow: visible !important;
|
|
150
|
+
line-height: 20px;
|
|
151
|
+
padding: 0px 0px 6px 0px;
|
|
152
|
+
}
|
|
153
|
+
.cometchat-ai-assistant-message-bubble > ol:first-child > li:first-child,
|
|
154
|
+
.cometchat-ai-assistant-message-bubble > ul:first-child > li:first-child
|
|
155
|
+
{
|
|
156
|
+
padding-top: 0px;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.cometchat-ai-assistant-message-bubble h1,
|
|
160
|
+
.cometchat-ai-assistant-message-bubble h2,
|
|
161
|
+
.cometchat-ai-assistant-message-bubble h3,
|
|
162
|
+
.cometchat-ai-assistant-message-bubble h4,
|
|
163
|
+
.cometchat-ai-assistant-message-bubble h5,
|
|
164
|
+
.cometchat-ai-assistant-message-bubble h6 {
|
|
165
|
+
line-height: 20px;
|
|
166
|
+
font-size: initial;
|
|
167
|
+
padding: var(--cometchat-padding-2) 0px;
|
|
168
|
+
margin: 0;
|
|
169
|
+
}
|
|
170
|
+
.cometchat-ai-assistant-message-bubble > h1:first-child,
|
|
171
|
+
.cometchat-ai-assistant-message-bubble > h2:first-child,
|
|
172
|
+
.cometchat-ai-assistant-message-bubble > h3:first-child,
|
|
173
|
+
.cometchat-ai-assistant-message-bubble > h4:first-child,
|
|
174
|
+
.cometchat-ai-assistant-message-bubble > h5:first-child,
|
|
175
|
+
.cometchat-ai-assistant-message-bubble > h6:first-child {
|
|
176
|
+
padding-top: 0px;
|
|
177
|
+
}
|
|
178
|
+
.cometchat-ai-assistant-message-bubble img{
|
|
179
|
+
max-height: 300px;
|
|
180
|
+
width: fit-content;
|
|
181
|
+
border-radius: var(--cometchat-radius-2);
|
|
182
|
+
}
|
|
183
|
+
.cometchat-ai-assistant-message-bubble p{
|
|
184
|
+
line-height: 20px;
|
|
185
|
+
padding: var(--cometchat-padding-2) 0px;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.cometchat-ai-assistant-message-bubble > ul:first-child li:first-child > p:first-child{
|
|
189
|
+
padding-top: 0px;
|
|
190
|
+
}
|
|
191
|
+
.cometchat-ai-assistant-message-bubble > ol:first-child li:first-child > p:first-child{
|
|
192
|
+
padding-top: 0px;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.cometchat-ai-assistant-message-bubble > p:first-child{
|
|
196
|
+
padding-top: 0px;
|
|
197
|
+
|
|
118
198
|
}
|
|
@@ -398,7 +398,9 @@ box-sizing: border-box;
|
|
|
398
398
|
box-shadow: none;
|
|
399
399
|
}
|
|
400
400
|
|
|
401
|
-
|
|
401
|
+
.cometchat-conversations .cometchat-list__header {
|
|
402
|
+
border-bottom: none;
|
|
403
|
+
}
|
|
402
404
|
.cometchat-conversations__trailing-view-options .cometchat-menu-list__main-menu-item-icon-delete {
|
|
403
405
|
-webkit-mask: url("../../assets/delete_icon.svg") center center no-repeat;
|
|
404
406
|
mask: url("../../assets/delete_icon.svg") center center no-repeat;
|
|
@@ -33,37 +33,30 @@
|
|
|
33
33
|
/* Target all <p> tags without a class */
|
|
34
34
|
.cometchat-stream-message-bubble>p:not([class]) {
|
|
35
35
|
text-align: left;
|
|
36
|
-
line-height: 1.4 !important;
|
|
37
|
-
/* color: var(--cometchat-text-color-secondary); */
|
|
38
36
|
}
|
|
39
37
|
|
|
40
38
|
.cometchat-stream-message-bubble>ol:not([class]) {
|
|
41
39
|
padding-left: 0px !important;
|
|
42
40
|
margin-top: 0px !important;
|
|
43
41
|
text-align: left !important;
|
|
44
|
-
/* color: var(--cometchat-text-color-secondary); */
|
|
45
42
|
|
|
46
43
|
}
|
|
47
44
|
|
|
48
45
|
.cometchat-stream-message-bubble li:not([class]) {
|
|
49
46
|
text-align: left !important;
|
|
50
|
-
/* color: var(--cometchat-text-color-secondary); */
|
|
51
47
|
|
|
52
48
|
}
|
|
53
49
|
|
|
54
|
-
.cometchat-stream-message-bubble
|
|
55
|
-
padding-left:
|
|
50
|
+
.cometchat-stream-message-bubble ol:not([class]),.cometchat-stream-message-bubble ul:not([class]) {
|
|
51
|
+
padding-left: var(--cometchat-padding-5) !important;
|
|
56
52
|
text-align: left !important;
|
|
57
|
-
/* color: var(--cometchat-text-color-secondary); */
|
|
58
53
|
|
|
59
54
|
}
|
|
60
55
|
|
|
61
|
-
.cometchat-stream-message-bubble
|
|
56
|
+
.cometchat-stream-message-bubble ul:not([class]) {
|
|
62
57
|
text-align: left !important;
|
|
63
|
-
/* color: var(--cometchat-text-color-secondary); */
|
|
64
58
|
|
|
65
59
|
}
|
|
66
|
-
|
|
67
60
|
.cometchat-stream-message-bubble__code-block {
|
|
68
61
|
max-height: 300px;
|
|
69
62
|
overflow: auto;
|
|
@@ -94,6 +87,7 @@
|
|
|
94
87
|
height: fit-content;
|
|
95
88
|
width: fit-content;
|
|
96
89
|
min-width: fit-content;
|
|
90
|
+
padding-top: 1px;
|
|
97
91
|
}
|
|
98
92
|
|
|
99
93
|
|
|
@@ -114,6 +108,7 @@
|
|
|
114
108
|
width: fit-content;
|
|
115
109
|
text-align: left;
|
|
116
110
|
color: var(--cometchat-text-color-secondary);
|
|
111
|
+
padding-top: 1px;
|
|
117
112
|
|
|
118
113
|
}
|
|
119
114
|
|
|
@@ -142,22 +137,38 @@
|
|
|
142
137
|
}
|
|
143
138
|
|
|
144
139
|
.cometchat-stream-message-bubble table {
|
|
145
|
-
width:
|
|
146
|
-
|
|
140
|
+
width: fit-content;
|
|
141
|
+
max-width: 100%;
|
|
147
142
|
table-layout: auto;
|
|
148
143
|
display: block;
|
|
149
144
|
overflow-x: auto;
|
|
145
|
+
border-radius: var(--cometchat-radius-2);
|
|
146
|
+
margin: var(--cometchat-margin-2) 0;
|
|
147
|
+
border-collapse: separate;
|
|
148
|
+
border-spacing: 0;
|
|
149
|
+
overflow: hidden;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
+
/* Round only outer cells */
|
|
153
|
+
.cometchat-stream-message-bubble tr:first-child th:first-child {
|
|
154
|
+
border-top-left-radius: var(--cometchat-radius-2);
|
|
155
|
+
}
|
|
156
|
+
.cometchat-stream-message-bubble tr:first-child th:last-child {
|
|
157
|
+
border-top-right-radius: var(--cometchat-radius-2);
|
|
158
|
+
}
|
|
159
|
+
.cometchat-stream-message-bubble tr:last-child td:first-child {
|
|
160
|
+
border-bottom-left-radius: var(--cometchat-radius-2);
|
|
161
|
+
}
|
|
162
|
+
.cometchat-stream-message-bubble tr:last-child td:last-child {
|
|
163
|
+
border-bottom-right-radius: var(--cometchat-radius-2);
|
|
164
|
+
}
|
|
152
165
|
.cometchat-stream-message-bubble th,
|
|
153
166
|
.cometchat-stream-message-bubble td {
|
|
154
167
|
padding: var(--cometchat-padding-2);
|
|
155
|
-
border: 1px solid var(--cometchat-border-color-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
min-width: 100px;
|
|
168
|
+
border: 1px solid var(--cometchat-border-color-dark);
|
|
169
|
+
width: fit-content;
|
|
170
|
+
max-width: 100%;
|
|
159
171
|
}
|
|
160
|
-
|
|
161
172
|
.cometchat-stream-message-bubble table::-webkit-scrollbar {
|
|
162
173
|
width: 0px;
|
|
163
174
|
height: 8px;
|
|
@@ -172,6 +183,83 @@
|
|
|
172
183
|
background: var(--cometchat-icon-color-secondary);
|
|
173
184
|
border-radius: var(--cometchat-radius-2);
|
|
174
185
|
}
|
|
186
|
+
|
|
187
|
+
.cometchat-stream-message-bubble th,
|
|
188
|
+
.cometchat-stream-message-bubble td {
|
|
189
|
+
padding: var(--cometchat-padding-2);
|
|
190
|
+
border: 1px solid var(--cometchat-border-color-dark);
|
|
191
|
+
width: fit-content;
|
|
192
|
+
max-width: 100%;
|
|
193
|
+
}
|
|
194
|
+
.cometchat-stream-message-bubble td{
|
|
195
|
+
text-align: left !important;
|
|
196
|
+
}
|
|
197
|
+
.cometchat-stream-message-bubble th{
|
|
198
|
+
text-align: center !important;
|
|
199
|
+
}
|
|
200
|
+
.cometchat-stream-message-bubble th{
|
|
201
|
+
background: var(--cometchat-background-color-04);
|
|
202
|
+
}
|
|
203
|
+
.cometchat-stream-message-bubble .cometchat-stream-message-bubble__link{
|
|
204
|
+
text-decoration: underline;
|
|
205
|
+
color: var(--cometchat-text-color-highlight);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.cometchat-stream-message-bubble ul,.cometchat-stream-message-bubble ol,.cometchat-stream-message-bubble hr{
|
|
209
|
+
margin: 0;
|
|
210
|
+
}
|
|
211
|
+
.cometchat-stream-message-bubble li{
|
|
212
|
+
overflow: visible !important;
|
|
213
|
+
line-height: 20px;
|
|
214
|
+
padding: 0px 0px 6px 0px;
|
|
215
|
+
}
|
|
216
|
+
.cometchat-stream-message-bubble img{
|
|
217
|
+
max-height: 300px;
|
|
218
|
+
width: fit-content;
|
|
219
|
+
border-radius: var(--cometchat-radius-2);
|
|
220
|
+
}
|
|
221
|
+
.cometchat-stream-message-bubble > ol:first-child > li:first-child,
|
|
222
|
+
.cometchat-stream-message-bubble > ul:first-child > li:first-child
|
|
223
|
+
{
|
|
224
|
+
padding-top: 0px;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.cometchat-stream-message-bubble h1,
|
|
228
|
+
.cometchat-stream-message-bubble h2,
|
|
229
|
+
.cometchat-stream-message-bubble h3,
|
|
230
|
+
.cometchat-stream-message-bubble h4,
|
|
231
|
+
.cometchat-stream-message-bubble h5,
|
|
232
|
+
.cometchat-stream-message-bubble h6 {
|
|
233
|
+
line-height: 20px;
|
|
234
|
+
font-size: initial;
|
|
235
|
+
padding: var(--cometchat-padding-2) 0px;
|
|
236
|
+
margin: 0;
|
|
237
|
+
}
|
|
238
|
+
.cometchat-stream-message-bubble > h1:first-child,
|
|
239
|
+
.cometchat-stream-message-bubble > h2:first-child,
|
|
240
|
+
.cometchat-stream-message-bubble > h3:first-child,
|
|
241
|
+
.cometchat-stream-message-bubble > h4:first-child,
|
|
242
|
+
.cometchat-stream-message-bubble > h5:first-child,
|
|
243
|
+
.cometchat-stream-message-bubble > h6:first-child {
|
|
244
|
+
padding-top: 0px;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.cometchat-stream-message-bubble p{
|
|
248
|
+
line-height: 20px;
|
|
249
|
+
padding: var(--cometchat-padding-2) 0px;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.cometchat-stream-message-bubble > ul:first-child li:first-child > p:first-child{
|
|
253
|
+
padding-top: 0px;
|
|
254
|
+
}
|
|
255
|
+
.cometchat-stream-message-bubble > ol:first-child li:first-child > p:first-child{
|
|
256
|
+
padding-top: 0px;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.cometchat-stream-message-bubble > p:first-child{
|
|
260
|
+
padding-top: 0px;
|
|
261
|
+
|
|
262
|
+
}
|
|
175
263
|
@keyframes shimmer {
|
|
176
264
|
0% {
|
|
177
265
|
left: -60%;
|
|
@@ -282,15 +282,15 @@ padding-bottom: var(--cometchat-padding-2);
|
|
|
282
282
|
}
|
|
283
283
|
|
|
284
284
|
.cometchat-ai-assistant-chat__empty-state-greeting-message {
|
|
285
|
-
color: var(--cometchat-text-color-
|
|
285
|
+
color: var(--cometchat-text-color-primary);
|
|
286
286
|
text-align: center;
|
|
287
|
-
font: var(--cometchat-font-
|
|
287
|
+
font: var(--cometchat-font-heading4-medium);
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
.cometchat-ai-assistant-chat__empty-state-intro-message {
|
|
291
|
-
color: var(--cometchat-text-color-
|
|
291
|
+
color: var(--cometchat-text-color-tertiary);
|
|
292
292
|
text-align: center;
|
|
293
|
-
font: var(--cometchat-font-
|
|
293
|
+
font: var(--cometchat-font-body-regular);
|
|
294
294
|
padding-top: var(--cometchat-padding-1);
|
|
295
295
|
}
|
|
296
296
|
.cometchat-ai-assistant-chat .cometchat-message-bubble-outgoing .cometchat-message-bubble__body
|
|
@@ -393,7 +393,6 @@ background: var(--cometchat-error-color);
|
|
|
393
393
|
display: flex;
|
|
394
394
|
justify-content: flex-start;
|
|
395
395
|
align-items: flex-start;
|
|
396
|
-
margin-top: var(--cometchat-margin-3);
|
|
397
396
|
height: 20px;
|
|
398
397
|
width: 20px;
|
|
399
398
|
background: var(--cometchat-icon-color-secondary);
|
|
@@ -10,10 +10,9 @@
|
|
|
10
10
|
.cometchat-ai-assistant-chat-history__loading,
|
|
11
11
|
.cometchat-ai-assistant-chat-history__empty,
|
|
12
12
|
.cometchat-ai-assistant-chat-history__error {
|
|
13
|
-
padding:
|
|
13
|
+
padding: var(--cometchat-padding-5);
|
|
14
14
|
text-align: center;
|
|
15
15
|
color: var(--cometchat-text-color-secondary);
|
|
16
|
-
font-size: 14px;
|
|
17
16
|
display: flex;
|
|
18
17
|
align-items: center;
|
|
19
18
|
justify-content: center;
|
|
@@ -58,6 +57,10 @@
|
|
|
58
57
|
justify-content: flex-start;
|
|
59
58
|
padding-left: 0;
|
|
60
59
|
|
|
60
|
+
}
|
|
61
|
+
.cometchat-ai-assistant-chat-history .cometchat-ai-assistant-chat-history__header-container-new-chat-container .cometchat-button__text{
|
|
62
|
+
color: var(--cometchat-text-color-primary);
|
|
63
|
+
|
|
61
64
|
}
|
|
62
65
|
.cometchat-ai-assistant-chat-history .cometchat-ai-assistant-chat-history__header-container-new-chat-container .cometchat-button__icon {
|
|
63
66
|
background: var(--cometchat-icon-color-secondary);
|
|
@@ -84,6 +87,7 @@
|
|
|
84
87
|
width: 100%;
|
|
85
88
|
justify-content: space-between;
|
|
86
89
|
align-items: center;
|
|
90
|
+
cursor: pointer;
|
|
87
91
|
}
|
|
88
92
|
|
|
89
93
|
.cometchat-ai-assistant-chat-history__list-item-date-header {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
.cometchat-ai-assistant-message-bubble {
|
|
2
2
|
flex-direction: column;
|
|
3
|
-
/* gap: 12px; */
|
|
4
3
|
display: flex;
|
|
5
4
|
text-align: left;
|
|
6
5
|
justify-content: flex-start;
|
|
@@ -15,17 +14,13 @@
|
|
|
15
14
|
overflow: hidden;
|
|
16
15
|
}
|
|
17
16
|
|
|
18
|
-
.cometchat-ai-assistant-message-bubble pre {
|
|
19
|
-
/* border: 1px solid var(--cometchat-border-color-default); */
|
|
20
|
-
}
|
|
21
17
|
|
|
22
18
|
.cometchat-ai-assistant-message-bubble>p:not([class]) {
|
|
23
19
|
text-align: left;
|
|
24
|
-
line-height: 1.4 !important;
|
|
25
20
|
color: var(--cometchat-text-color-primary);
|
|
26
21
|
}
|
|
27
22
|
|
|
28
|
-
.cometchat-ai-assistant-message-bubble
|
|
23
|
+
.cometchat-ai-assistant-message-bubble ol:not([class]) {
|
|
29
24
|
padding-left: 0px !important;
|
|
30
25
|
margin-top: 0px !important;
|
|
31
26
|
text-align: left !important;
|
|
@@ -39,14 +34,14 @@
|
|
|
39
34
|
|
|
40
35
|
}
|
|
41
36
|
|
|
42
|
-
.cometchat-ai-assistant-message-bubble
|
|
43
|
-
padding-left:
|
|
37
|
+
.cometchat-ai-assistant-message-bubble ol:not([class]),.cometchat-ai-assistant-message-bubble ul:not([class]) {
|
|
38
|
+
padding-left: var(--cometchat-padding-5) !important;
|
|
44
39
|
text-align: left !important;
|
|
45
40
|
color: var(--cometchat-text-color-primary);
|
|
46
41
|
|
|
47
42
|
}
|
|
48
43
|
|
|
49
|
-
.cometchat-ai-assistant-message-bubble
|
|
44
|
+
.cometchat-ai-assistant-message-bubble ul:not([class]) {
|
|
50
45
|
text-align: left !important;
|
|
51
46
|
color: var(--cometchat-text-color-primary);
|
|
52
47
|
|
|
@@ -86,20 +81,37 @@
|
|
|
86
81
|
}
|
|
87
82
|
|
|
88
83
|
.cometchat-ai-assistant-message-bubble table {
|
|
89
|
-
width:
|
|
90
|
-
|
|
84
|
+
width: fit-content;
|
|
85
|
+
max-width: 100%;
|
|
91
86
|
table-layout: auto;
|
|
92
87
|
display: block;
|
|
93
88
|
overflow-x: auto;
|
|
89
|
+
border-radius: var(--cometchat-radius-2);
|
|
90
|
+
margin: var(--cometchat-margin-2) 0;
|
|
91
|
+
border-collapse: separate;
|
|
92
|
+
border-spacing: 0;
|
|
93
|
+
overflow: scroll;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
+
/* Round only outer cells */
|
|
97
|
+
.cometchat-ai-assistant-message-bubble tr:first-child th:first-child {
|
|
98
|
+
border-top-left-radius: var(--cometchat-radius-2);
|
|
99
|
+
}
|
|
100
|
+
.cometchat-ai-assistant-message-bubble tr:first-child th:last-child {
|
|
101
|
+
border-top-right-radius: var(--cometchat-radius-2);
|
|
102
|
+
}
|
|
103
|
+
.cometchat-ai-assistant-message-bubble tr:last-child td:first-child {
|
|
104
|
+
border-bottom-left-radius: var(--cometchat-radius-2);
|
|
105
|
+
}
|
|
106
|
+
.cometchat-ai-assistant-message-bubble tr:last-child td:last-child {
|
|
107
|
+
border-bottom-right-radius: var(--cometchat-radius-2);
|
|
108
|
+
}
|
|
96
109
|
.cometchat-ai-assistant-message-bubble th,
|
|
97
110
|
.cometchat-ai-assistant-message-bubble td {
|
|
98
111
|
padding: var(--cometchat-padding-2);
|
|
99
|
-
border: 1px solid var(--cometchat-border-color-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
min-width: 100px;
|
|
112
|
+
border: 1px solid var(--cometchat-border-color-dark);
|
|
113
|
+
width: fit-content;
|
|
114
|
+
max-width: 100%;
|
|
103
115
|
}
|
|
104
116
|
|
|
105
117
|
.cometchat-ai-assistant-message-bubble table::-webkit-scrollbar {
|
|
@@ -115,4 +127,72 @@
|
|
|
115
127
|
.cometchat-ai-assistant-message-bubble table::-webkit-scrollbar-thumb {
|
|
116
128
|
background: var(--cometchat-icon-color-secondary);
|
|
117
129
|
border-radius: var(--cometchat-radius-2);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.cometchat-ai-assistant-message-bubble td{
|
|
133
|
+
text-align: left !important;
|
|
134
|
+
}
|
|
135
|
+
.cometchat-ai-assistant-message-bubble th{
|
|
136
|
+
text-align: center !important;
|
|
137
|
+
}
|
|
138
|
+
.cometchat-ai-assistant-message-bubble th{
|
|
139
|
+
background: var(--cometchat-background-color-04);
|
|
140
|
+
}
|
|
141
|
+
.cometchat-ai-assistant-message-bubble .cometchat-ai-assistant-message-bubble__link{
|
|
142
|
+
text-decoration: underline;
|
|
143
|
+
color: var(--cometchat-text-color-highlight);
|
|
144
|
+
}
|
|
145
|
+
.cometchat-ai-assistant-message-bubble ul,.cometchat-ai-assistant-message-bubble ol,.cometchat-ai-assistant-message-bubble hr{
|
|
146
|
+
margin: 0;
|
|
147
|
+
}
|
|
148
|
+
.cometchat-ai-assistant-message-bubble li{
|
|
149
|
+
overflow: visible !important;
|
|
150
|
+
line-height: 20px;
|
|
151
|
+
padding: 0px 0px 6px 0px;
|
|
152
|
+
}
|
|
153
|
+
.cometchat-ai-assistant-message-bubble > ol:first-child > li:first-child,
|
|
154
|
+
.cometchat-ai-assistant-message-bubble > ul:first-child > li:first-child
|
|
155
|
+
{
|
|
156
|
+
padding-top: 0px;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.cometchat-ai-assistant-message-bubble h1,
|
|
160
|
+
.cometchat-ai-assistant-message-bubble h2,
|
|
161
|
+
.cometchat-ai-assistant-message-bubble h3,
|
|
162
|
+
.cometchat-ai-assistant-message-bubble h4,
|
|
163
|
+
.cometchat-ai-assistant-message-bubble h5,
|
|
164
|
+
.cometchat-ai-assistant-message-bubble h6 {
|
|
165
|
+
line-height: 20px;
|
|
166
|
+
font-size: initial;
|
|
167
|
+
padding: var(--cometchat-padding-2) 0px;
|
|
168
|
+
margin: 0;
|
|
169
|
+
}
|
|
170
|
+
.cometchat-ai-assistant-message-bubble > h1:first-child,
|
|
171
|
+
.cometchat-ai-assistant-message-bubble > h2:first-child,
|
|
172
|
+
.cometchat-ai-assistant-message-bubble > h3:first-child,
|
|
173
|
+
.cometchat-ai-assistant-message-bubble > h4:first-child,
|
|
174
|
+
.cometchat-ai-assistant-message-bubble > h5:first-child,
|
|
175
|
+
.cometchat-ai-assistant-message-bubble > h6:first-child {
|
|
176
|
+
padding-top: 0px;
|
|
177
|
+
}
|
|
178
|
+
.cometchat-ai-assistant-message-bubble img{
|
|
179
|
+
max-height: 300px;
|
|
180
|
+
width: fit-content;
|
|
181
|
+
border-radius: var(--cometchat-radius-2);
|
|
182
|
+
}
|
|
183
|
+
.cometchat-ai-assistant-message-bubble p{
|
|
184
|
+
line-height: 20px;
|
|
185
|
+
padding: var(--cometchat-padding-2) 0px;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.cometchat-ai-assistant-message-bubble > ul:first-child li:first-child > p:first-child{
|
|
189
|
+
padding-top: 0px;
|
|
190
|
+
}
|
|
191
|
+
.cometchat-ai-assistant-message-bubble > ol:first-child li:first-child > p:first-child{
|
|
192
|
+
padding-top: 0px;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.cometchat-ai-assistant-message-bubble > p:first-child{
|
|
196
|
+
padding-top: 0px;
|
|
197
|
+
|
|
118
198
|
}
|
|
@@ -398,7 +398,9 @@ box-sizing: border-box;
|
|
|
398
398
|
box-shadow: none;
|
|
399
399
|
}
|
|
400
400
|
|
|
401
|
-
|
|
401
|
+
.cometchat-conversations .cometchat-list__header {
|
|
402
|
+
border-bottom: none;
|
|
403
|
+
}
|
|
402
404
|
.cometchat-conversations__trailing-view-options .cometchat-menu-list__main-menu-item-icon-delete {
|
|
403
405
|
-webkit-mask: url("../../assets/delete_icon.svg") center center no-repeat;
|
|
404
406
|
mask: url("../../assets/delete_icon.svg") center center no-repeat;
|