@cometchat/chat-uikit-react 5.0.14 → 5.0.16

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.
@@ -48,6 +48,10 @@
48
48
  font-style: normal;
49
49
  }
50
50
 
51
+ .cometchat-edit-preview p{
52
+ margin: 0;
53
+ }
54
+
51
55
  /*
52
56
  Subtitle text inside the edit preview, containing the actual text being edited.
53
57
  */
@@ -314,6 +314,10 @@ width: fit-content;
314
314
  box-sizing: border-box;
315
315
  }
316
316
 
317
+ .cometchat-message-list__body--spacing-top .cometchat-list__body-intersection-top{
318
+ margin-bottom: var(--cometchat-spacing-8);
319
+ }
320
+
317
321
  /* Message indicator inside message list */
318
322
  .cometchat-message-list__message-indicator {
319
323
  margin-bottom: 8px;
@@ -48,6 +48,10 @@
48
48
  font-style: normal;
49
49
  }
50
50
 
51
+ .cometchat-edit-preview p{
52
+ margin: 0;
53
+ }
54
+
51
55
  /*
52
56
  Subtitle text inside the edit preview, containing the actual text being edited.
53
57
  */
@@ -314,6 +314,10 @@ width: fit-content;
314
314
  box-sizing: border-box;
315
315
  }
316
316
 
317
+ .cometchat-message-list__body--spacing-top .cometchat-list__body-intersection-top{
318
+ margin-bottom: var(--cometchat-spacing-8);
319
+ }
320
+
317
321
  /* Message indicator inside message list */
318
322
  .cometchat-message-list__message-indicator {
319
323
  margin-bottom: 8px;
@@ -157,6 +157,9 @@ interface ConversationsProps {
157
157
  showScrollbar?: boolean;
158
158
  }
159
159
  export type Action = {
160
+ type: "addConversationOfTheGroupAtTheTop";
161
+ conversation: CometChat.Conversation;
162
+ } | {
160
163
  type: "appendConversations";
161
164
  conversations: CometChat.Conversation[];
162
165
  removeOldConversation?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cometchat/chat-uikit-react",
3
- "version": "5.0.14",
3
+ "version": "5.0.16",
4
4
  "description": "Ready-to-use Chat UI Components for React(Javascript/Web)",
5
5
  "author": "CometChat",
6
6
  "exports": {