@cometchat/chat-uikit-react 4.3.34 → 4.3.36

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.
@@ -276,6 +276,9 @@ interface IConversationsProps {
276
276
  textFormatters?: CometChatTextFormatter[];
277
277
  }
278
278
  export type Action = {
279
+ type: "addConversationOfTheGroupAtTheTop";
280
+ conversation: CometChat.Conversation;
281
+ } | {
279
282
  type: "appendConversations";
280
283
  conversations: CometChat.Conversation[];
281
284
  removeOldConversation?: boolean;
@@ -14,7 +14,7 @@ export declare const dividerStyle: (theme: CometChatTheme) => {
14
14
  width: string;
15
15
  background: string | undefined;
16
16
  };
17
- export declare function receiptStyle(theme: CometChatTheme): ReceiptStyle;
17
+ export declare function receiptStyle(theme: CometChatTheme, messageInformationStyle?: MessageInformationStyle): ReceiptStyle;
18
18
  export declare const MessageDateStyle: (dateSeparatorStyle: DateStyle | undefined, theme: CometChatTheme) => DateStyle;
19
19
  export declare const defaultDateSeparatorStyle: {
20
20
  background: string;
@@ -14,7 +14,7 @@ export declare class CollaborativeWhiteBoardExtensionDecorator extends DataSourc
14
14
  getAllMessageTemplates(theme?: CometChatTheme | undefined, additionalConfigurations?: any): CometChatMessageTemplate[];
15
15
  getWhiteBoardTemplate(_theme: CometChatTheme): CometChatMessageTemplate;
16
16
  getWhiteboardContentView(whiteboardMessage: CometChat.CustomMessage, _theme: CometChatTheme): import("react/jsx-runtime").JSX.Element;
17
- launchCollaborativeWhiteboardDocument(whiteboardURL: string): void;
17
+ launchCollaborativeWhiteboard(whiteboardURL: string): void;
18
18
  getWhiteboardDocument(message: CometChat.CustomMessage): any;
19
19
  getAttachmentOptions(theme: CometChatTheme, id: any): CometChatMessageComposerAction[];
20
20
  getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalConfigurations: any): string;
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@cometchat/chat-uikit-react",
3
- "version": "4.3.34",
3
+ "version": "4.3.36",
4
4
  "description": "Ready-to-use Chat UI Components for React(Javascript/Web)",
5
5
  "author": "CometChat",
6
6
  "peerDependencies": {
7
- "@cometchat/chat-sdk-javascript": "^4.1.0",
8
- "@cometchat/uikit-elements": "~4.3.26",
9
- "@cometchat/uikit-resources": "~4.3.21",
10
- "@cometchat/uikit-shared": "~4.3.26"
7
+ "@cometchat/chat-sdk-javascript": "^4.1.1",
8
+ "@cometchat/uikit-elements": "~4.3.27",
9
+ "@cometchat/uikit-resources": "~4.3.22",
10
+ "@cometchat/uikit-shared": "~4.3.28"
11
11
  },
12
12
  "devDependencies": {
13
13
  "@babel/cli": "^7.17.0",