@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.
Files changed (119) hide show
  1. package/README.md +2 -2
  2. package/dist/assets/Send.svg +3 -0
  3. package/dist/assets/loading.svg +5 -16
  4. package/dist/index.d.ts +1155 -950
  5. package/dist/index.js +1 -1
  6. package/dist/index.js.map +1 -1
  7. package/dist/styles/CometChatCallButtons.css +1 -1
  8. package/dist/styles/CometChatCallLogs.css +3 -3
  9. package/dist/styles/{components/AIConversationStarter.css → CometChatConversationStarter.css} +2 -2
  10. package/dist/styles/{components/AIConversationSummary.css → CometChatConversationSummary.css} +12 -12
  11. package/dist/styles/CometChatConversations.css +10 -10
  12. package/dist/styles/CometChatGroupMembers.css +5 -5
  13. package/dist/styles/CometChatIncomingCall.css +1 -1
  14. package/dist/styles/CometChatList.css +15 -22
  15. package/dist/styles/CometChatListItem.css +2 -2
  16. package/dist/styles/CometChatMessageComposer.css +44 -41
  17. package/dist/styles/CometChatMessageHeader.css +22 -5
  18. package/dist/styles/CometChatMessageInformation.css +3 -2
  19. package/dist/styles/CometChatMessageList.css +6 -5
  20. package/dist/styles/CometChatOutgoingCall.css +5 -0
  21. package/dist/styles/{AISmartReplies.css → CometChatSmartReplies.css} +72 -79
  22. package/dist/styles/PollsBubble.css +7 -1
  23. package/dist/styles/components/CometChatCallButtons.css +1 -1
  24. package/dist/styles/components/CometChatCallLogs.css +3 -3
  25. package/dist/styles/{AIConversationStarter.css → components/CometChatConversationStarter.css} +2 -2
  26. package/dist/styles/{AIConversationSummary.css → components/CometChatConversationSummary.css} +12 -12
  27. package/dist/styles/components/CometChatConversations.css +10 -10
  28. package/dist/styles/components/CometChatGroupMembers.css +5 -5
  29. package/dist/styles/components/CometChatIncomingCall.css +1 -1
  30. package/dist/styles/components/CometChatList.css +15 -22
  31. package/dist/styles/components/CometChatListItem.css +2 -2
  32. package/dist/styles/components/CometChatMessageComposer.css +44 -41
  33. package/dist/styles/components/CometChatMessageHeader.css +22 -5
  34. package/dist/styles/components/CometChatMessageInformation.css +3 -2
  35. package/dist/styles/components/CometChatMessageList.css +6 -5
  36. package/dist/styles/components/CometChatOutgoingCall.css +5 -0
  37. package/dist/styles/components/{AISmartReplies.css → CometChatSmartReplies.css} +72 -79
  38. package/dist/styles/components/PollsBubble.css +7 -1
  39. package/dist/styles/components/index.css +3 -3
  40. package/dist/styles/index.css +3 -3
  41. package/dist/types/CometChatCustomHooks.d.ts +1 -1
  42. package/dist/types/CometChatUIKit/CometChatUIKit.d.ts +0 -6
  43. package/dist/types/CometChatUIKit/UIKitSettings.d.ts +0 -22
  44. package/dist/types/Enums/Enums.d.ts +9 -0
  45. package/dist/types/components/BaseComponents/CometChatConversationStarter/CometChatConversationStarter.d.ts +6 -0
  46. package/dist/types/components/BaseComponents/CometChatConversationSummary/CometChatConversationSummary.d.ts +6 -0
  47. package/dist/types/components/BaseComponents/CometChatList/CometChatList.d.ts +12 -12
  48. package/dist/types/components/BaseComponents/CometChatListItem/CometChatListItem.d.ts +3 -1
  49. package/dist/types/components/BaseComponents/CometChatSmartReplies/CometChatSmartReplies.d.ts +7 -0
  50. package/dist/types/components/Calling/CallButtonConfiguration.d.ts +1 -1
  51. package/dist/types/components/Calling/CallingExtensionDecorator.d.ts +2 -2
  52. package/dist/types/components/Calling/CometChatCallButtons/CometChatCallButtons.d.ts +30 -12
  53. package/dist/types/components/Calling/CometChatCallButtons/useCallButtons.d.ts +1 -1
  54. package/dist/types/components/Calling/CometChatCallLogs/CometChatCallLogs.d.ts +50 -38
  55. package/dist/types/components/Calling/CometChatCallLogs/useCometChatCallLogs.d.ts +1 -1
  56. package/dist/types/components/Calling/CometChatIncomingCall/CometChatIncomingCall.d.ts +48 -26
  57. package/dist/types/components/Calling/CometChatIncomingCall/useCometChatIncomingCall.d.ts +1 -1
  58. package/dist/types/components/Calling/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +31 -15
  59. package/dist/types/components/Calling/CometChatOutgoingCall/useCometChatOutgoingCall.d.ts +1 -1
  60. package/dist/types/components/Calling/OutgoingCallConfiguration.d.ts +7 -3
  61. package/dist/types/components/CometChatConversations/CometChatConversations.d.ts +88 -87
  62. package/dist/types/components/CometChatConversations/controller.d.ts +10 -8
  63. package/dist/types/components/CometChatConversations/useCometChatConversations.d.ts +2 -5
  64. package/dist/types/components/CometChatGroupMembers/CometChatGroupMembers.d.ts +94 -76
  65. package/dist/types/components/CometChatGroupMembers/useCometChatGroupMembers.d.ts +2 -2
  66. package/dist/types/components/CometChatGroups/CometChatGroups.d.ts +74 -62
  67. package/dist/types/components/CometChatGroups/useCometChatGroups.d.ts +1 -0
  68. package/dist/types/components/CometChatMessageComposer/CometChatMessageComposer.d.ts +107 -49
  69. package/dist/types/components/CometChatMessageComposer/useCometChatMessageComposer.d.ts +1 -1
  70. package/dist/types/components/CometChatMessageHeader/CometChatMessageHeader.d.ts +77 -16
  71. package/dist/types/components/CometChatMessageHeader/useCometChatMessageHeader.d.ts +1 -1
  72. package/dist/types/components/CometChatMessageInformation/CometChatMessageInformation.d.ts +5 -0
  73. package/dist/types/components/CometChatMessageList/CometChatMessageList.d.ts +133 -55
  74. package/dist/types/components/CometChatMessageList/CometChatMessageListController.d.ts +3 -1
  75. package/dist/types/components/CometChatMessageList/useCometChatMessageList.d.ts +1 -1
  76. package/dist/types/components/CometChatThreadedMessagePreview/CometChatThreadedMessagePreview.d.ts +34 -2
  77. package/dist/types/components/CometChatUsers/CometChatUsers.d.ts +88 -89
  78. package/dist/types/components/CometChatUsers/useCometChatUsers.d.ts +2 -1
  79. package/dist/types/components/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +4 -3
  80. package/dist/types/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +4 -3
  81. package/dist/types/components/Extensions/MessageTranslation/MessageTranslationExtensionDecorator.d.ts +3 -1
  82. package/dist/types/components/Extensions/Polls/PollsBubble.d.ts +5 -0
  83. package/dist/types/components/Extensions/Polls/PollsExtensionDecorator.d.ts +4 -3
  84. package/dist/types/components/Extensions/Stickers/StickersExtensionDecorator.d.ts +2 -3
  85. package/dist/types/components/Reactions/CometChatReactionInfo/CometChatReactionInfo.d.ts +3 -2
  86. package/dist/types/components/Reactions/CometChatReactionList/CometChatReactionList.d.ts +3 -2
  87. package/dist/types/components/Reactions/CometChatReactions/CometChatReactions.d.ts +3 -2
  88. package/dist/types/index.d.ts +8 -7
  89. package/dist/types/resources/CometChatLocalize/cometchat-localize.d.ts +129 -115
  90. package/dist/types/utils/DataSource.d.ts +17 -18
  91. package/dist/types/utils/DataSourceDecorator.d.ts +17 -18
  92. package/dist/types/utils/GroupMemberUtils.d.ts +1 -1
  93. package/dist/types/utils/MessageUtils.d.ts +1 -1
  94. package/dist/types/utils/MessagesDataSource.d.ts +29 -16
  95. package/dist/types/utils/util.d.ts +5 -0
  96. package/package.json +1 -1
  97. package/dist/assets/ai-empty.svg +0 -22
  98. package/dist/assets/ai-error.svg +0 -3
  99. package/dist/assets/heart-reaction.png +0 -0
  100. package/dist/assets/send.svg +0 -12
  101. package/dist/styles/AICard.css +0 -30
  102. package/dist/styles/components/AICard.css +0 -30
  103. package/dist/types/components/AI/AIBaseConfiguration.d.ts +0 -51
  104. package/dist/types/components/AI/AIConversationStarter/AIConversationStarterConfiguration.d.ts +0 -20
  105. package/dist/types/components/AI/AIConversationStarter/AIConversationStarterDecorator.d.ts +0 -18
  106. package/dist/types/components/AI/AIConversationStarter/AIConversationStarterExtension.d.ts +0 -8
  107. package/dist/types/components/AI/AIConversationStarter/AIConversationStarterView.d.ts +0 -8
  108. package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryConfiguration.d.ts +0 -31
  109. package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryDecorator.d.ts +0 -22
  110. package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryExtension.d.ts +0 -8
  111. package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryView.d.ts +0 -9
  112. package/dist/types/components/AI/AIExtensionDataSource.d.ts +0 -6
  113. package/dist/types/components/AI/AISmartReplies/AISmartRepliesConfiguration.d.ts +0 -28
  114. package/dist/types/components/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +0 -21
  115. package/dist/types/components/AI/AISmartReplies/AISmartRepliesExtension.d.ts +0 -8
  116. package/dist/types/components/AI/AISmartReplies/AISmartRepliesView.d.ts +0 -11
  117. package/dist/types/components/BaseComponents/CometChatLiveReaction/CometChatLiveReaction.d.ts +0 -5
  118. package/dist/types/components/BaseComponents/CometChatLiveReaction/useLiveReactionHook.d.ts +0 -19
  119. /package/dist/assets/{ai.svg → conversation_summary.svg} +0 -0
@@ -1,122 +1,115 @@
1
- * {
2
- box-sizing: border-box;
3
- margin: 0;
4
- padding: 0;
1
+ .cometchat-smart-replies__wrapper {
2
+ width: 100%;
3
+ height: 100%;
4
+ padding: var(--cometchat-padding-1, 4px) var(--cometchat-padding-2, 8px);
5
5
  }
6
6
 
7
- .cometchat-ai-smart-replies {
7
+ .cometchat-smart-replies {
8
8
  display: flex;
9
- width: 100%;
10
9
  height: 100%;
11
- padding: var(--cometchat-padding-3, 12px);
10
+ width: 100%;
11
+ padding: var(--cometchat-padding-3, 12px) var(--cometchat-padding-4, 16px);
12
12
  flex-direction: column;
13
13
  align-items: flex-start;
14
- gap: var(--cometchat-padding-4, 16px);
14
+ border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
15
15
  border-radius: var(--cometchat-radius-4, 16px);
16
+ background: var(--cometchat-background-color-01, #FFF);
17
+ box-shadow: 0px 12px 16px -4px rgb(16 24 40 / 2%), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
18
+ gap: var(--cometchat-padding-2, 8px);
16
19
  }
17
20
 
18
- .cometchat-ai-smart-replies__header {
21
+ .cometchat-smart-replies__header {
19
22
  display: flex;
20
23
  justify-content: space-between;
21
24
  align-items: center;
22
25
  align-self: stretch;
23
26
  }
24
27
 
25
- .cometchat-ai-smart-replies__header-title {
28
+ .cometchat-smart-replies__header-title {
26
29
  overflow: hidden;
27
30
  color: var(--cometchat-text-color-primary, #141414);
28
31
  text-overflow: ellipsis;
29
- font: var(--cometchat-font-heading4-medium);
32
+ font: var(--cometchat-font-body-medium);
30
33
  font-style: normal;
31
34
  }
32
35
 
33
- .cometchat-ai-smart-replies__item-wrapper {
34
- display: flex;
35
- flex-direction: column;
36
- gap: var(--cometchat-padding-2, 8px);
37
- overflow: scroll;
36
+ .cometchat-smart-replies__header-close-button {
37
+ mask: url("../../assets/close.svg");
38
+ -webkit-mask: url("../../assets/close.svg");
39
+ background-color: var(--cometchat-icon-color-primary, #141414);
40
+ width: 20px;
41
+ height: 20px;
42
+ cursor: pointer;
38
43
  }
39
44
 
40
- .cometchat-ai-smart-replies__item-wrapper::-webkit-scrollbar,
41
- .cometchat-ai-smart-replies__item-wrapper::-webkit-scrollbar-thumb {
42
- display: none;
45
+ .cometchat-smart-replies__body {
46
+ width: 100%;
47
+ flex: 1 0 0;
48
+ color: var(--cometchat-text-color-primary, #141414);
49
+ font: var(--cometchat-font-body-regular);
50
+ font-style: normal;
51
+ text-align: left;
43
52
  }
44
53
 
45
- .cometchat-ai-smart-replies__item {
54
+ .cometchat-smart-replies__shimmer-container {
46
55
  display: flex;
47
- flex: 1 0 0;
48
- padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-3, 12px);
49
- align-items: center;
50
- align-content: center;
51
- gap: 4px var(--cometchat-padding-1, 4px);
52
- align-self: stretch;
56
+ width: 100%;
53
57
  flex-wrap: wrap;
54
- border-radius: var(--cometchat-radius-2, 8px);
55
- border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
56
- background: var(--cometchat-background-color-01, #FFF);
57
- text-align: left;
58
+ justify-content: flex-start;
59
+ align-items: center;
60
+ gap: var(--cometchat-padding-2, 8px);
61
+ flex-direction: row;
58
62
  }
59
63
 
60
- .cometchat-ai-smart-replies__item:hover {
61
- background: var(--cometchat-white-hover, #FAFAFA);
62
- cursor: pointer;
64
+ .cometchat-smart-replies__shimmer-item {
65
+ flex-wrap: wrap;
66
+ width: 20%;
67
+ display: flex;
68
+ height: 33px;
69
+ border-radius: var(--cometchat-radius-max, 1000px);
70
+ background: var(--cometchat-shimmer-gradient-color, linear-gradient(90deg, #E0E0E0 0%, #EEE 100%));
71
+ background-size: 800px 104px;
72
+ animation: shimmerAnimation 1.5s infinite linear;
63
73
  }
64
74
 
65
- .cometchat-ai-smart-replies__item-button {
66
- background: transparent;
67
- border: none;
68
- text-align: left;
69
- color: var(--cometchat-text-color-primary, #141414);
75
+ @keyframes shimmerAnimation {
76
+ 0% {
77
+ background-position: -468px 0;
78
+ }
79
+
80
+ 100% {
81
+ background-position: 468px 0;
82
+ }
70
83
  }
71
84
 
72
- .cometchat-ai-smart-replies__header-close-button {
73
- cursor: pointer;
74
- mask-repeat: no-repeat;
75
- background-color: var(--cometchat-icon-color-primary, #141414);
76
- height: 20px;
77
- width: 20px;
78
- -webkit-mask: url("../../assets/close.svg");
79
- mask: url("../../assets/close.svg");
80
- -webkit-mask-size: 100%;
81
- mask-size: 100%;
85
+ .cometchat-smart-replies__items-container {
86
+ display: flex;
87
+ flex-direction: column;
88
+ gap: var(--cometchat-padding-2, 8px);
89
+ justify-content: flex-start;
82
90
  }
83
91
 
84
- .cometchat-ai-smart-replies__shimmer-item {
85
- max-height: 33px;
92
+ .cometchat-smart-replies__item {
86
93
  display: flex;
87
94
  padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-3, 12px);
88
95
  align-items: center;
89
- align-content: center;
90
- gap: 4px var(--cometchat-padding-1, 4px);
91
- align-self: stretch;
92
- flex-wrap: wrap;
93
- border-radius: var(--cometchat-radius-2, 8px);
96
+ border-radius: var(--cometchat-radius-max, 1000px);
94
97
  border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
95
- flex: 1 0 0;
96
- background: var(--cometchat-shimmer-gradient-color, linear-gradient(90deg, #E0E0E0 0%, #EEE 100%));
97
- animation: shimmerAnimation 1.5s infinite linear;
98
- }
99
-
100
- .cometchat-ai-smart-replies__error-view,
101
- .cometchat-ai-smart-replies__empty-view {
98
+ background: var(--cometchat-background-color-01, #FFF);
99
+ cursor: pointer;
102
100
  width: 100%;
103
- height: 100%;
104
- display: flex;
105
- align-items: center;
106
- justify-content: center;
107
- color: var(--cometchat-text-color-secondary, #727272);
108
- text-align: center;
109
- font: var(--cometchat-font-body-regular);
110
- font-style: normal;
111
101
  }
112
102
 
103
+ .cometchat-smart-replies__item:hover {
104
+ background: var(--cometchat-white-hover, #FAFAFA);
105
+ cursor: pointer;
106
+ }
113
107
 
114
- @keyframes shimmerAnimation {
115
- 0% {
116
- background-position: -468px 0;
117
- }
118
-
119
- 100% {
120
- background-position: 468px 0;
121
- }
122
- }
108
+ .cometchat-smart-replies__item-button {
109
+ background-color: transparent;
110
+ border: none;
111
+ color: var(--cometchat-text-color-primary);
112
+ cursor: pointer;
113
+ width: 100%;
114
+ text-align: left;
115
+ }
@@ -55,6 +55,9 @@
55
55
  font: var(--cometchat-font-heading4-bold);
56
56
  font-style: normal;
57
57
  text-align: left;
58
+ width: 100%;
59
+ text-overflow: ellipsis;
60
+ word-wrap: break-word;
58
61
  }
59
62
 
60
63
  .cometchat-polls-bubble-incoming .cometchat-polls-bubble__question {
@@ -157,6 +160,9 @@
157
160
  font: var(--cometchat-font-body-regular);
158
161
  font-style: normal;
159
162
  text-align: left;
163
+ word-wrap: break-word;
164
+ width: 100%;
165
+ overflow: hidden;
160
166
  }
161
167
 
162
168
  .cometchat-polls-bubble-incoming .cometchat-poll-bubble__option-item-body-content-title {
@@ -173,7 +179,7 @@
173
179
  max-width: 100px;
174
180
  position: relative;
175
181
  height: 20px;
176
- width: 100px;
182
+ width: fit-content;
177
183
  gap: var(--cometchat-padding-1);
178
184
  }
179
185
 
@@ -31,7 +31,7 @@
31
31
  .cometchat-outgoing-call__backdrop {
32
32
  display: flex;
33
33
  position: fixed;
34
- z-index: 1;
34
+ z-index: 3;
35
35
  left: 0;
36
36
  top: 0;
37
37
  justify-content: center;
@@ -27,7 +27,7 @@
27
27
  background-color: var(--cometchat-white-pressed, #E8E8E8);
28
28
  }
29
29
 
30
- .cometchat-call-logs__list-item-tail {
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-tail-video {
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-tail-audio {
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
  }
@@ -1,4 +1,4 @@
1
- .cometchat-ai-conversation-starter {
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-ai-conversation-stater__error-view {
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);
@@ -1,10 +1,10 @@
1
- .cometchat-ai-conversation-summary__wrapper {
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-ai-conversation-summary {
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-ai-conversation-summary__header {
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-ai-conversation-summary__header-title {
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-ai-conversation-summary__header-close-button {
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-ai-conversation-summary__body {
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-ai-conversation-summary__shimmer {
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-ai-conversation-summary__shimmer-item {
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-ai-conversation-summary__shimmer .cometchat-ai-conversation-summary__shimmer-item:last-child {
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-ai-conversation-summary__shimmer-item {
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-ai-conversation-summary__error-view,
105
- .cometchat-ai-conversation-summary__empty-view {
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-item__tail-view{
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-conversations__tail-view {
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-conversations__tail-view-badge {
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-conversations__tail-view-badge-count {
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-conversations__tail-view-options-delete-backdrop {
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-conversations__tail-view-options .cometchat-menu-list__menu {
373
+ .cometchat-conversations__trailing-view-options .cometchat-menu-list__menu {
374
374
  background-color: transparent;
375
375
  }
376
376
 
377
- .cometchat-conversations__tail-view-options .cometchat-menu-list__main-menu-item{
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-conversations__tail-view-options .cometchat-menu-list__main-menu-item-icon-delete {
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-conversations__tail-view-options .cometchat-menu-list__sub-menu-icon {
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-conversations__tail-view-options .cometchat-menu-list__sub-menu {
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-members__tail-view-options {
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-members__tail-view-options-admin {
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-members__tail-view-options-owner {
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-members__tail-view-options-participant {
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-item__tail-view {
66
+ .cometchat-group-members .cometchat-list-item__trailing-view {
67
67
  width: auto;
68
68
  height: fit-content;
69
69
  }
@@ -32,7 +32,7 @@
32
32
  justify-content: space-around;
33
33
  }
34
34
 
35
- .cometchat-incoming-call .cometchat-list-item__tail-view {
35
+ .cometchat-incoming-call .cometchat-list-item__trailing-view {
36
36
  width: fit-content;
37
37
  height: fit-content;
38
38
  }
@@ -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-item__tail-view {
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-item__tail-view-hidden {
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
  }