@cometchat/chat-uikit-react 5.0.0-beta2 → 5.0.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/README.md +2 -2
- package/dist/assets/Send.svg +3 -0
- package/dist/assets/loading.svg +5 -16
- package/dist/index.d.ts +1155 -950
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/styles/CometChatCallButtons.css +1 -1
- package/dist/styles/CometChatCallLogs.css +3 -3
- package/dist/styles/{components/AIConversationStarter.css → CometChatConversationStarter.css} +2 -2
- package/dist/styles/{components/AIConversationSummary.css → CometChatConversationSummary.css} +12 -12
- package/dist/styles/CometChatConversations.css +10 -10
- package/dist/styles/CometChatGroupMembers.css +5 -5
- package/dist/styles/CometChatIncomingCall.css +1 -1
- package/dist/styles/CometChatList.css +15 -22
- package/dist/styles/CometChatListItem.css +2 -2
- package/dist/styles/CometChatMessageComposer.css +44 -41
- package/dist/styles/CometChatMessageHeader.css +22 -5
- package/dist/styles/CometChatMessageInformation.css +3 -2
- package/dist/styles/CometChatMessageList.css +6 -5
- package/dist/styles/CometChatOutgoingCall.css +5 -0
- package/dist/styles/{AISmartReplies.css → CometChatSmartReplies.css} +72 -79
- package/dist/styles/PollsBubble.css +7 -1
- package/dist/styles/components/CometChatCallButtons.css +1 -1
- package/dist/styles/components/CometChatCallLogs.css +3 -3
- package/dist/styles/{AIConversationStarter.css → components/CometChatConversationStarter.css} +2 -2
- package/dist/styles/{AIConversationSummary.css → components/CometChatConversationSummary.css} +12 -12
- package/dist/styles/components/CometChatConversations.css +10 -10
- package/dist/styles/components/CometChatGroupMembers.css +5 -5
- package/dist/styles/components/CometChatIncomingCall.css +1 -1
- package/dist/styles/components/CometChatList.css +15 -22
- package/dist/styles/components/CometChatListItem.css +2 -2
- package/dist/styles/components/CometChatMessageComposer.css +44 -41
- package/dist/styles/components/CometChatMessageHeader.css +22 -5
- package/dist/styles/components/CometChatMessageInformation.css +3 -2
- package/dist/styles/components/CometChatMessageList.css +6 -5
- package/dist/styles/components/CometChatOutgoingCall.css +5 -0
- package/dist/styles/components/{AISmartReplies.css → CometChatSmartReplies.css} +72 -79
- package/dist/styles/components/PollsBubble.css +7 -1
- package/dist/styles/components/index.css +3 -3
- package/dist/styles/index.css +3 -3
- package/dist/types/CometChatCustomHooks.d.ts +1 -1
- package/dist/types/CometChatUIKit/CometChatUIKit.d.ts +0 -6
- package/dist/types/CometChatUIKit/UIKitSettings.d.ts +0 -22
- package/dist/types/Enums/Enums.d.ts +9 -0
- package/dist/types/components/BaseComponents/CometChatConversationStarter/CometChatConversationStarter.d.ts +6 -0
- package/dist/types/components/BaseComponents/CometChatConversationSummary/CometChatConversationSummary.d.ts +6 -0
- package/dist/types/components/BaseComponents/CometChatList/CometChatList.d.ts +12 -12
- package/dist/types/components/BaseComponents/CometChatListItem/CometChatListItem.d.ts +3 -1
- package/dist/types/components/BaseComponents/CometChatSmartReplies/CometChatSmartReplies.d.ts +7 -0
- package/dist/types/components/Calling/CallButtonConfiguration.d.ts +1 -1
- package/dist/types/components/Calling/CallingExtensionDecorator.d.ts +2 -2
- package/dist/types/components/Calling/CometChatCallButtons/CometChatCallButtons.d.ts +30 -12
- package/dist/types/components/Calling/CometChatCallButtons/useCallButtons.d.ts +1 -1
- package/dist/types/components/Calling/CometChatCallLogs/CometChatCallLogs.d.ts +50 -38
- package/dist/types/components/Calling/CometChatCallLogs/useCometChatCallLogs.d.ts +1 -1
- package/dist/types/components/Calling/CometChatIncomingCall/CometChatIncomingCall.d.ts +48 -26
- package/dist/types/components/Calling/CometChatIncomingCall/useCometChatIncomingCall.d.ts +1 -1
- package/dist/types/components/Calling/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +31 -15
- package/dist/types/components/Calling/CometChatOutgoingCall/useCometChatOutgoingCall.d.ts +1 -1
- package/dist/types/components/Calling/OutgoingCallConfiguration.d.ts +7 -3
- package/dist/types/components/CometChatConversations/CometChatConversations.d.ts +88 -87
- package/dist/types/components/CometChatConversations/controller.d.ts +10 -8
- package/dist/types/components/CometChatConversations/useCometChatConversations.d.ts +2 -5
- package/dist/types/components/CometChatGroupMembers/CometChatGroupMembers.d.ts +94 -76
- package/dist/types/components/CometChatGroupMembers/useCometChatGroupMembers.d.ts +2 -2
- package/dist/types/components/CometChatGroups/CometChatGroups.d.ts +74 -62
- package/dist/types/components/CometChatGroups/useCometChatGroups.d.ts +1 -0
- package/dist/types/components/CometChatMessageComposer/CometChatMessageComposer.d.ts +107 -49
- package/dist/types/components/CometChatMessageComposer/useCometChatMessageComposer.d.ts +1 -1
- package/dist/types/components/CometChatMessageHeader/CometChatMessageHeader.d.ts +77 -16
- package/dist/types/components/CometChatMessageHeader/useCometChatMessageHeader.d.ts +1 -1
- package/dist/types/components/CometChatMessageInformation/CometChatMessageInformation.d.ts +5 -0
- package/dist/types/components/CometChatMessageList/CometChatMessageList.d.ts +133 -55
- package/dist/types/components/CometChatMessageList/CometChatMessageListController.d.ts +3 -1
- package/dist/types/components/CometChatMessageList/useCometChatMessageList.d.ts +1 -1
- package/dist/types/components/CometChatThreadedMessagePreview/CometChatThreadedMessagePreview.d.ts +34 -2
- package/dist/types/components/CometChatUsers/CometChatUsers.d.ts +88 -89
- package/dist/types/components/CometChatUsers/useCometChatUsers.d.ts +2 -1
- package/dist/types/components/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +4 -3
- package/dist/types/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +4 -3
- package/dist/types/components/Extensions/MessageTranslation/MessageTranslationExtensionDecorator.d.ts +3 -1
- package/dist/types/components/Extensions/Polls/PollsBubble.d.ts +5 -0
- package/dist/types/components/Extensions/Polls/PollsExtensionDecorator.d.ts +4 -3
- package/dist/types/components/Extensions/Stickers/StickersExtensionDecorator.d.ts +2 -3
- package/dist/types/components/Reactions/CometChatReactionInfo/CometChatReactionInfo.d.ts +3 -2
- package/dist/types/components/Reactions/CometChatReactionList/CometChatReactionList.d.ts +3 -2
- package/dist/types/components/Reactions/CometChatReactions/CometChatReactions.d.ts +3 -2
- package/dist/types/index.d.ts +8 -7
- package/dist/types/resources/CometChatLocalize/cometchat-localize.d.ts +129 -115
- package/dist/types/utils/DataSource.d.ts +17 -18
- package/dist/types/utils/DataSourceDecorator.d.ts +17 -18
- package/dist/types/utils/GroupMemberUtils.d.ts +1 -1
- package/dist/types/utils/MessageUtils.d.ts +1 -1
- package/dist/types/utils/MessagesDataSource.d.ts +29 -16
- package/dist/types/utils/util.d.ts +5 -0
- package/package.json +1 -1
- package/dist/assets/ai-empty.svg +0 -22
- package/dist/assets/ai-error.svg +0 -3
- package/dist/assets/heart-reaction.png +0 -0
- package/dist/assets/send.svg +0 -12
- package/dist/styles/AICard.css +0 -30
- package/dist/styles/components/AICard.css +0 -30
- package/dist/types/components/AI/AIBaseConfiguration.d.ts +0 -51
- package/dist/types/components/AI/AIConversationStarter/AIConversationStarterConfiguration.d.ts +0 -20
- package/dist/types/components/AI/AIConversationStarter/AIConversationStarterDecorator.d.ts +0 -18
- package/dist/types/components/AI/AIConversationStarter/AIConversationStarterExtension.d.ts +0 -8
- package/dist/types/components/AI/AIConversationStarter/AIConversationStarterView.d.ts +0 -8
- package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryConfiguration.d.ts +0 -31
- package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryDecorator.d.ts +0 -22
- package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryExtension.d.ts +0 -8
- package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryView.d.ts +0 -9
- package/dist/types/components/AI/AIExtensionDataSource.d.ts +0 -6
- package/dist/types/components/AI/AISmartReplies/AISmartRepliesConfiguration.d.ts +0 -28
- package/dist/types/components/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +0 -21
- package/dist/types/components/AI/AISmartReplies/AISmartRepliesExtension.d.ts +0 -8
- package/dist/types/components/AI/AISmartReplies/AISmartRepliesView.d.ts +0 -11
- package/dist/types/components/BaseComponents/CometChatLiveReaction/CometChatLiveReaction.d.ts +0 -5
- package/dist/types/components/BaseComponents/CometChatLiveReaction/useLiveReactionHook.d.ts +0 -19
- /package/dist/assets/{ai.svg → conversation_summary.svg} +0 -0
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
background-color: var(--cometchat-white-pressed, #E8E8E8);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.cometchat-call-logs__list-item-
|
|
30
|
+
.cometchat-call-logs__list-item-trailing-view {
|
|
31
31
|
height: 24px;
|
|
32
32
|
width: 24px;
|
|
33
33
|
display: flex;
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
background:var(--cometchat-icon-color-primary,#FFF)
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
.cometchat-call-logs__list-item-
|
|
43
|
+
.cometchat-call-logs__list-item-trailing-view-video {
|
|
44
44
|
-webkit-mask: url("../../assets/call-log_video.svg") center center no-repeat;
|
|
45
45
|
mask: url("../../assets/call-log_video.svg") center center no-repeat;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
.cometchat-call-logs__list-item-
|
|
48
|
+
.cometchat-call-logs__list-item-trailing-view-audio {
|
|
49
49
|
-webkit-mask: url("../../assets/call-log-audio.svg") center center no-repeat;
|
|
50
50
|
mask: url("../../assets/call-log-audio.svg") center center no-repeat;
|
|
51
51
|
}
|
package/dist/styles/{components/AIConversationStarter.css → CometChatConversationStarter.css}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.cometchat-
|
|
1
|
+
.cometchat-conversation-starter {
|
|
2
2
|
width: 100%;
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: center;
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
animation: shimmerAnimation 1.5s infinite linear;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
.cometchat-
|
|
64
|
+
.cometchat-conversation-starter__error-view {
|
|
65
65
|
color: var(--cometchat-text-color-secondary, #727272);
|
|
66
66
|
text-align: center;
|
|
67
67
|
font: var(--cometchat-font-body-regular);
|
package/dist/styles/{components/AIConversationSummary.css → CometChatConversationSummary.css}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
.cometchat-
|
|
1
|
+
.cometchat-conversation-summary__wrapper {
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100%;
|
|
4
4
|
padding: var(--cometchat-padding-1, 4px) var(--cometchat-padding-2, 8px);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.cometchat-
|
|
7
|
+
.cometchat-conversation-summary {
|
|
8
8
|
display: flex;
|
|
9
9
|
height: 100%;
|
|
10
10
|
width: 100%;
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
gap: var(--cometchat-padding-2, 8px);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.cometchat-
|
|
21
|
+
.cometchat-conversation-summary__header {
|
|
22
22
|
display: flex;
|
|
23
23
|
justify-content: space-between;
|
|
24
24
|
align-items: center;
|
|
25
25
|
align-self: stretch;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
.cometchat-
|
|
28
|
+
.cometchat-conversation-summary__header-title {
|
|
29
29
|
overflow: hidden;
|
|
30
30
|
color: var(--cometchat-text-color-primary, #141414);
|
|
31
31
|
text-overflow: ellipsis;
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
font-style: normal;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
.cometchat-
|
|
36
|
+
.cometchat-conversation-summary__header-close-button {
|
|
37
37
|
mask: url("../../assets/close.svg");
|
|
38
38
|
-webkit-mask: url("../../assets/close.svg");
|
|
39
39
|
background-color: var(--cometchat-icon-color-primary, #141414);
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
cursor: pointer;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.cometchat-
|
|
45
|
+
.cometchat-conversation-summary__body {
|
|
46
46
|
width: 100%;
|
|
47
47
|
flex: 1 0 0;
|
|
48
48
|
color: var(--cometchat-text-color-primary, #141414);
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
text-align: left;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
.cometchat-
|
|
54
|
+
.cometchat-conversation-summary__shimmer {
|
|
55
55
|
display: flex;
|
|
56
56
|
width: 100%;
|
|
57
57
|
flex-direction: column;
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
gap: var(--cometchat-padding-2, 8px);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.cometchat-
|
|
63
|
+
.cometchat-conversation-summary__shimmer-item {
|
|
64
64
|
width: 100%;
|
|
65
65
|
display: flex;
|
|
66
66
|
height: 14px;
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
/* Add animation properties */
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
.cometchat-
|
|
81
|
+
.cometchat-conversation-summary__shimmer .cometchat-conversation-summary__shimmer-item:last-child {
|
|
82
82
|
width: 70%;
|
|
83
83
|
}
|
|
84
84
|
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
.cometchat-
|
|
95
|
+
.cometchat-conversation-summary__shimmer-item {
|
|
96
96
|
background: var(--cometchat-shimmer-gradient-color, linear-gradient(90deg, #E0E0E0 0%, #EEE 100%));
|
|
97
97
|
background-size: 800px 104px;
|
|
98
98
|
/* Consistent background size for animation */
|
|
@@ -101,8 +101,8 @@
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
|
|
104
|
-
.cometchat-
|
|
105
|
-
.cometchat-
|
|
104
|
+
.cometchat-conversation-summary__error-view,
|
|
105
|
+
.cometchat-conversation-summary__empty-view {
|
|
106
106
|
color: var(--cometchat-text-color-secondary, #727272);
|
|
107
107
|
text-align: center;
|
|
108
108
|
font: var(--cometchat-font-body-regular);
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
min-height: 43px;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
.cometchat-conversations .cometchat-list-
|
|
29
|
+
.cometchat-conversations .cometchat-list-item__trailing-view{
|
|
30
30
|
width: auto;
|
|
31
31
|
height: 40px;
|
|
32
32
|
}
|
|
@@ -230,19 +230,19 @@
|
|
|
230
230
|
display: none;
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
.cometchat-
|
|
233
|
+
.cometchat-conversations__trailing-view {
|
|
234
234
|
display: flex;
|
|
235
235
|
flex-direction: column;
|
|
236
236
|
gap: var(--cometchat-padding-1,4px);
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
-
.cometchat-
|
|
239
|
+
.cometchat-conversations__trailing-view-badge {
|
|
240
240
|
display: flex;
|
|
241
241
|
justify-content: flex-end;
|
|
242
242
|
gap: var(--cometchat-padding-1,4px);
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
.cometchat-
|
|
245
|
+
.cometchat-conversations__trailing-view-badge-count {
|
|
246
246
|
display: flex;
|
|
247
247
|
height: 20px;
|
|
248
248
|
padding: 0px 8px;
|
|
@@ -356,7 +356,7 @@
|
|
|
356
356
|
background:var(--cometchat-static-white,#FFF);
|
|
357
357
|
}
|
|
358
358
|
|
|
359
|
-
.cometchat-
|
|
359
|
+
.cometchat-conversations__trailing-view-options-delete-backdrop {
|
|
360
360
|
background: rgba(0, 0, 0, 0.5);
|
|
361
361
|
position: absolute;
|
|
362
362
|
top: 0;
|
|
@@ -370,17 +370,17 @@
|
|
|
370
370
|
}
|
|
371
371
|
|
|
372
372
|
|
|
373
|
-
.cometchat-
|
|
373
|
+
.cometchat-conversations__trailing-view-options .cometchat-menu-list__menu {
|
|
374
374
|
background-color: transparent;
|
|
375
375
|
}
|
|
376
376
|
|
|
377
|
-
.cometchat-
|
|
377
|
+
.cometchat-conversations__trailing-view-options .cometchat-menu-list__main-menu-item{
|
|
378
378
|
background-color: transparent;
|
|
379
379
|
box-shadow: none;
|
|
380
380
|
}
|
|
381
381
|
|
|
382
382
|
|
|
383
|
-
.cometchat-
|
|
383
|
+
.cometchat-conversations__trailing-view-options .cometchat-menu-list__main-menu-item-icon-delete {
|
|
384
384
|
-webkit-mask: url("../../assets/delete_icon.svg") center center no-repeat;
|
|
385
385
|
mask: url("../../assets/delete_icon.svg") center center no-repeat;
|
|
386
386
|
background: var(--cometchat-error-color,#F44649);
|
|
@@ -389,14 +389,14 @@
|
|
|
389
389
|
-webkit-mask-size: contain;
|
|
390
390
|
}
|
|
391
391
|
|
|
392
|
-
.cometchat-
|
|
392
|
+
.cometchat-conversations__trailing-view-options .cometchat-menu-list__sub-menu-icon {
|
|
393
393
|
width: 20px;
|
|
394
394
|
height: 20px;
|
|
395
395
|
background: var(--cometchat-icon-color-secondary, #A1A1A1);
|
|
396
396
|
}
|
|
397
397
|
|
|
398
398
|
|
|
399
|
-
.cometchat-
|
|
399
|
+
.cometchat-conversations__trailing-view-options .cometchat-menu-list__sub-menu {
|
|
400
400
|
display: flex;
|
|
401
401
|
width: 20px;
|
|
402
402
|
height: 20px;
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
border-radius: 8px;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
.cometchat-group-members .cometchat-group-
|
|
37
|
+
.cometchat-group-members .cometchat-group-members__trailing-view-options {
|
|
38
38
|
display: flex;
|
|
39
39
|
padding: var(--cometchat-padding-1, 4px) var(--cometchat-padding-3, 12px);
|
|
40
40
|
justify-content: center;
|
|
@@ -50,20 +50,20 @@
|
|
|
50
50
|
text-transform: capitalize;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
.cometchat-group-members .cometchat-group-
|
|
53
|
+
.cometchat-group-members .cometchat-group-members__trailing-view-options-admin {
|
|
54
54
|
border: 1px solid var(--cometchat-border-color-highlight, #6852D6);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.cometchat-group-members .cometchat-group-
|
|
57
|
+
.cometchat-group-members .cometchat-group-members__trailing-view-options-owner {
|
|
58
58
|
color: var(--cometchat-static-white, #F9F8FD);
|
|
59
59
|
background: var(--cometchat-primary-color, #6852D6);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
.cometchat-group-members .cometchat-group-
|
|
62
|
+
.cometchat-group-members .cometchat-group-members__trailing-view-options-participant {
|
|
63
63
|
display: none;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
.cometchat-group-members .cometchat-list-
|
|
66
|
+
.cometchat-group-members .cometchat-list-item__trailing-view {
|
|
67
67
|
width: auto;
|
|
68
68
|
height: fit-content;
|
|
69
69
|
}
|
|
@@ -9,28 +9,6 @@
|
|
|
9
9
|
overflow: hidden;
|
|
10
10
|
position: relative;
|
|
11
11
|
}
|
|
12
|
-
|
|
13
|
-
/* Header section of the list, containing title and possibly other elements */
|
|
14
|
-
.cometchat-list__header {
|
|
15
|
-
flex-shrink: 0;
|
|
16
|
-
display: flex;
|
|
17
|
-
flex-direction: column;
|
|
18
|
-
width: 100%;
|
|
19
|
-
padding: 0;
|
|
20
|
-
margin: 0;
|
|
21
|
-
box-sizing: border-box;
|
|
22
|
-
background: var(--cometchat-background-color-01);
|
|
23
|
-
border-right: 1px solid var(--cometchat-border-color-light);
|
|
24
|
-
border-bottom: 1px solid var(--cometchat-border-color-light);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/* Menu section of the header, containing custom view */
|
|
28
|
-
.cometchat-list__header-menu {
|
|
29
|
-
position: absolute;
|
|
30
|
-
right: 16px;
|
|
31
|
-
top: 20px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
12
|
/* Title section of the header, containing text or other elements */
|
|
35
13
|
.cometchat-list__header-title {
|
|
36
14
|
display: flex;
|
|
@@ -52,6 +30,21 @@
|
|
|
52
30
|
align-self: stretch;
|
|
53
31
|
}
|
|
54
32
|
|
|
33
|
+
/* Header section of the list, containing title and possibly other elements */
|
|
34
|
+
.cometchat-list__header {
|
|
35
|
+
flex-shrink: 0;
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
width: 100%;
|
|
39
|
+
padding: 0;
|
|
40
|
+
margin: 0;
|
|
41
|
+
box-sizing: border-box;
|
|
42
|
+
background: var(--cometchat-background-color-01);
|
|
43
|
+
border-right: 1px solid var(--cometchat-border-color-light);
|
|
44
|
+
border-bottom: 1px solid var(--cometchat-border-color-light);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
|
|
55
48
|
/* Search bar section in the header */
|
|
56
49
|
.cometchat-list__header-search-bar {
|
|
57
50
|
display: flex;
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.cometchat-list-item__menu-view,
|
|
54
|
-
.cometchat-list-
|
|
54
|
+
.cometchat-list-item__trailing-view {
|
|
55
55
|
display: flex;
|
|
56
56
|
width: 24px;
|
|
57
57
|
height: 24px;
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
align-items: center;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
.cometchat-list-
|
|
62
|
+
.cometchat-list-item__trailing-view-hidden {
|
|
63
63
|
display: none;
|
|
64
64
|
}
|
|
65
65
|
|
|
@@ -62,41 +62,7 @@
|
|
|
62
62
|
width: fit-content;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
/* AI button popover content */
|
|
66
|
-
.cometchat-message-composer__auxilary-button-view-ai-button .cometchat-popover__content {
|
|
67
|
-
min-height: 110px;
|
|
68
|
-
width: fit-content;
|
|
69
|
-
min-width: 280px;
|
|
70
|
-
max-height: 240px;
|
|
71
|
-
max-width: 280px;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.cometchat-message-composer__auxilary-button-view-ai-button .cometchat-popover__content>.cometchat {
|
|
75
|
-
border-radius: inherit;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.cometchat-message-composer__auxilary-button-view-ai-button .cometchat-popover__content .cometchat-ai-smart-replies {
|
|
79
|
-
height: 200px;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.cometchat-message-composer__auxilary-button-view-ai-button .cometchat-action-sheet__item {
|
|
83
|
-
padding: var(--cometchat-padding-3, 12px);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.cometchat-message-composer__auxilary-button-view-ai-button .cometchat-action-sheet__item-body {
|
|
87
|
-
font: var(--cometchat-font-body-regular);
|
|
88
65
|
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.cometchat-message-composer__auxilary-button-view-ai-button .cometchat-action-sheet {
|
|
92
|
-
justify-content: center;
|
|
93
|
-
border: none;
|
|
94
|
-
border-radius: inherit;
|
|
95
|
-
background: inherit;
|
|
96
|
-
box-shadow: none;
|
|
97
|
-
width: 100%;
|
|
98
|
-
height: 100%;
|
|
99
|
-
}
|
|
100
66
|
|
|
101
67
|
.cometchat-message-composer__input .cometchat-mentions>span {
|
|
102
68
|
color: var(--cometchat-text-color-highlight, #6852D6);
|
|
@@ -186,7 +152,6 @@
|
|
|
186
152
|
flex-direction: column;
|
|
187
153
|
justify-content: flex-end;
|
|
188
154
|
z-index: 2;
|
|
189
|
-
height: fit-content;
|
|
190
155
|
min-height: 45px;
|
|
191
156
|
padding: 0 0 1px 0;
|
|
192
157
|
width: fit-content;
|
|
@@ -210,6 +175,9 @@
|
|
|
210
175
|
overflow: hidden;
|
|
211
176
|
border-radius: inherit;
|
|
212
177
|
}
|
|
178
|
+
.cometchat-mention-list .cometchat-list .cometchat-list__header-title{
|
|
179
|
+
display: none;
|
|
180
|
+
}
|
|
213
181
|
|
|
214
182
|
/* Message input area */
|
|
215
183
|
.cometchat-message-composer__input {
|
|
@@ -241,7 +209,24 @@
|
|
|
241
209
|
width: 100%;
|
|
242
210
|
align-items: center;
|
|
243
211
|
}
|
|
244
|
-
|
|
212
|
+
/* sticker button placement */
|
|
213
|
+
.cometchat-message-composer__sticker-button-view {
|
|
214
|
+
display: flex;
|
|
215
|
+
justify-content: flex-start;
|
|
216
|
+
gap: 12px;
|
|
217
|
+
width: fit-content;
|
|
218
|
+
align-items: center;
|
|
219
|
+
}
|
|
220
|
+
/* default buttons placement */
|
|
221
|
+
.cometchat-message-composer__default-buttons{
|
|
222
|
+
display: flex;
|
|
223
|
+
flex-direction: row;
|
|
224
|
+
align-items: center;
|
|
225
|
+
justify-content: flex-start;
|
|
226
|
+
gap: var(--cometchat-padding-4);
|
|
227
|
+
width:fit-content;
|
|
228
|
+
margin-right: auto;
|
|
229
|
+
}
|
|
245
230
|
/* Placeholder styling when input is empty */
|
|
246
231
|
.cometchat-message-composer__input:empty:before {
|
|
247
232
|
content: attr(data-placeholder);
|
|
@@ -287,16 +272,34 @@
|
|
|
287
272
|
background: var(--cometchat-primary-color);
|
|
288
273
|
}
|
|
289
274
|
|
|
290
|
-
/* Active AI button icon */
|
|
291
|
-
.cometchat-message-composer div:not([class]) .cometchat-message-composer__auxilary-button-view-ai-button-active .cometchat-button__icon {
|
|
292
|
-
background: var(--cometchat-primary-color);
|
|
293
|
-
}
|
|
294
275
|
|
|
295
276
|
/* Active stickerkeyboard button icon */
|
|
296
277
|
.cometchat-message-composer div:not([class]) .cometchat-message-composer__auxilary-button-view-sticker-button-active .cometchat-button__icon {
|
|
297
278
|
background: var(--cometchat-primary-color);
|
|
298
279
|
}
|
|
299
|
-
|
|
300
280
|
.cometchat-message-composer__input-mobile{
|
|
301
281
|
font: var( --cometchat-font-heading4-regular);
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* Default styling for each options in actionsheet
|
|
285
|
+
*/
|
|
286
|
+
.cometchat-message-composer__secondary-button-view-attachment-button .cometchat-action-sheet{
|
|
287
|
+
min-width: 200px;
|
|
288
|
+
}
|
|
289
|
+
.cometchat-message-composer__secondary-button-view-attachment-button-1 .cometchat-popover__content{
|
|
290
|
+
height: 58px;
|
|
291
|
+
}
|
|
292
|
+
.cometchat-message-composer__secondary-button-view-attachment-button-2 .cometchat-popover__content{
|
|
293
|
+
height: 114px;
|
|
294
|
+
}
|
|
295
|
+
.cometchat-message-composer__secondary-button-view-attachment-button-3 .cometchat-popover__content{
|
|
296
|
+
height: 170px;
|
|
297
|
+
|
|
298
|
+
}
|
|
299
|
+
.cometchat-message-composer__secondary-button-view-attachment-button-4 .cometchat-popover__content{
|
|
300
|
+
height: 230px;
|
|
301
|
+
|
|
302
|
+
}
|
|
303
|
+
.cometchat-message-composer__secondary-button-view-attachment-button-5 .cometchat-popover__content{
|
|
304
|
+
height: 285px;
|
|
302
305
|
}
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
width: 100%;
|
|
56
56
|
overflow: hidden;
|
|
57
57
|
}
|
|
58
|
-
.cometchat-message-header .cometchat-list-
|
|
58
|
+
.cometchat-message-header .cometchat-list-item__trailing-view{
|
|
59
59
|
display: none;
|
|
60
60
|
}
|
|
61
61
|
|
|
@@ -73,7 +73,20 @@
|
|
|
73
73
|
cursor: pointer;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
.cometchat-message-header .cometchat-message-header__conversation-summary-button .cometchat-button{
|
|
77
|
+
background: transparent;
|
|
78
|
+
border: none;
|
|
79
|
+
justify-content: center;
|
|
80
|
+
align-items: center;
|
|
81
|
+
height: fit-content;
|
|
82
|
+
width: fit-content;
|
|
83
|
+
padding: 0;
|
|
84
|
+
}
|
|
85
|
+
.cometchat-message-header .cometchat-message-header__conversation-summary-button .cometchat-button .cometchat-button__icon{
|
|
86
|
+
height: 24px;
|
|
87
|
+
width: 24px;
|
|
88
|
+
background: var(--cometchat-icon-color-primary, #141414);;
|
|
89
|
+
}
|
|
77
90
|
/* List item container within the message header */
|
|
78
91
|
|
|
79
92
|
.cometchat-message-header__listitem {
|
|
@@ -87,11 +100,13 @@
|
|
|
87
100
|
|
|
88
101
|
/* Menu container within the message header, aligned to the right */
|
|
89
102
|
|
|
90
|
-
.cometchat-message-
|
|
103
|
+
.cometchat-message-header__auxiliary-button-view {
|
|
91
104
|
width: fit-content;
|
|
92
105
|
display: flex;
|
|
106
|
+
gap: var(--cometchat-padding-4, 16px);
|
|
93
107
|
align-items: center;
|
|
94
108
|
justify-content: flex-end;
|
|
109
|
+
gap: 16px;
|
|
95
110
|
}
|
|
96
111
|
|
|
97
112
|
/* Removes padding for list items within the message header */
|
|
@@ -100,10 +115,12 @@
|
|
|
100
115
|
padding: 0;
|
|
101
116
|
|
|
102
117
|
}
|
|
103
|
-
|
|
118
|
+
|
|
119
|
+
.cometchat-message-header .cometchat-list-item:hover {
|
|
104
120
|
background: transparent;
|
|
105
121
|
cursor: default;
|
|
106
122
|
}
|
|
123
|
+
|
|
107
124
|
/* Removes padding for the body of the list item within the message header */
|
|
108
125
|
|
|
109
126
|
.cometchat-message-header .cometchat-list-item__body {
|
|
@@ -145,7 +162,7 @@
|
|
|
145
162
|
width: 100%;
|
|
146
163
|
}
|
|
147
164
|
|
|
148
|
-
.cometchat-message-header .cometchat-button__icon:hover{
|
|
165
|
+
.cometchat-message-header .cometchat-button__icon:hover {
|
|
149
166
|
background: var(--cometchat-primary-color);
|
|
150
167
|
}
|
|
151
168
|
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
align-items: flex-start;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
.cometchat-message-information__receipts .cometchat-list-
|
|
148
|
+
.cometchat-message-information__receipts .cometchat-list-item__trailing-view {
|
|
149
149
|
display: none;
|
|
150
150
|
}
|
|
151
151
|
|
|
@@ -204,7 +204,8 @@
|
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
-
.cometchat-message-
|
|
207
|
+
.cometchat-message-information__receipts-subtite-text,
|
|
208
|
+
.cometchat-message-information__receipts-subtitle .cometchat-date,
|
|
208
209
|
.cometchat-message-information__receipts-subtite-text .cometchat-date {
|
|
209
210
|
padding: 0px;
|
|
210
211
|
overflow: hidden;
|
|
@@ -20,7 +20,9 @@
|
|
|
20
20
|
border: none;
|
|
21
21
|
align-self: center;
|
|
22
22
|
}
|
|
23
|
-
|
|
23
|
+
.cometchat-message-list .cometchat-message-list__footer-smart-replies,.cometchat-message-list__footer-conversation-starter{
|
|
24
|
+
width: 100%;
|
|
25
|
+
}
|
|
24
26
|
/* Body of the error state view */
|
|
25
27
|
.cometchat-message-list__error-state-view-body {
|
|
26
28
|
display: flex;
|
|
@@ -310,9 +312,7 @@ width: fit-content;
|
|
|
310
312
|
|
|
311
313
|
/* Message indicator inside message list */
|
|
312
314
|
.cometchat-message-list__message-indicator {
|
|
313
|
-
|
|
314
|
-
position: absolute;
|
|
315
|
-
bottom: 8px;
|
|
315
|
+
margin-bottom: 8px;
|
|
316
316
|
display: flex;
|
|
317
317
|
width: 100;
|
|
318
318
|
justify-content: center;
|
|
@@ -362,6 +362,7 @@ width: fit-content;
|
|
|
362
362
|
justify-content: flex-start;
|
|
363
363
|
width: 100%;
|
|
364
364
|
box-sizing: border-box;
|
|
365
|
+
background: transparent;
|
|
365
366
|
}
|
|
366
367
|
|
|
367
368
|
/* Leading view inside message bubble */
|
|
@@ -698,7 +699,7 @@ width: fit-content;
|
|
|
698
699
|
.cometchat-message-information__popup-wrapper {
|
|
699
700
|
display: flex;
|
|
700
701
|
position: fixed;
|
|
701
|
-
z-index:
|
|
702
|
+
z-index: 2;
|
|
702
703
|
left: 0;
|
|
703
704
|
top: 0;
|
|
704
705
|
width: 100%;
|
|
@@ -21,6 +21,11 @@
|
|
|
21
21
|
font: var(--cometchat-font-title-medium);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
.cometchat-outgoing-call__title-container {
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
}
|
|
28
|
+
|
|
24
29
|
/* Subtitle text for the outgoing call UI */
|
|
25
30
|
.cometchat-outgoing-call__subtitle {
|
|
26
31
|
color: var(--cometchat-text-color-secondary);
|