@cometchat/chat-uikit-react 6.3.7 → 6.3.8

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 CHANGED
@@ -3388,7 +3388,7 @@ declare class CallingExtensionDecorator extends DataSourceDecorator {
3388
3388
  getDirectCallMessageBubble(_message: CometChat.CustomMessage, _alignment: MessageBubbleAlignment): react_jsx_runtime.JSX.Element;
3389
3389
  startDirectCall(sessionId: string, message: CometChat.CustomMessage): void;
3390
3390
  getCallActionMessage(_message: CometChat.Call): string;
3391
- getCallStatusClass(message: CometChat.Call): "" | "cometchat-message-bubble__outgoing-call" | "cometchat-message-bubble__incoming-call" | "cometchat-message-bubble__cancelled-call" | "cometchat-message-bubble__rejected-call" | "cometchat-message-bubble__busy-call" | "cometchat-message-bubble__ended-call" | "cometchat-message-bubble__answered-call" | "cometchat-message-bubble__unanswered-call" | "cometchat-message-bubble__missed-call";
3391
+ getCallStatusClass(message: CometChat.Call): "cometchat-message-bubble__outgoing-call" | "cometchat-message-bubble__incoming-call" | "cometchat-message-bubble__cancelled-call" | "cometchat-message-bubble__rejected-call" | "cometchat-message-bubble__busy-call" | "cometchat-message-bubble__ended-call" | "cometchat-message-bubble__answered-call" | "cometchat-message-bubble__unanswered-call" | "cometchat-message-bubble__missed-call" | "";
3392
3392
  getDefaultAudioCallMessageBubble(_message: CometChat.Call, _alignment: MessageBubbleAlignment): react_jsx_runtime.JSX.Element;
3393
3393
  getDefaultVideoCallMessageBubble(_message: CometChat.Call, _alignment: MessageBubbleAlignment): react_jsx_runtime.JSX.Element;
3394
3394
  getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalParams?: any): string;
@@ -4825,6 +4825,16 @@ interface UsersProps {
4825
4825
  * @defaultValue `false`
4826
4826
  */
4827
4827
  showScrollbar?: boolean;
4828
+ /**
4829
+ * Shows a preview of selected users when selectionMode is multiple.
4830
+ *
4831
+ * @remarks
4832
+ * When enabled, displays a preview section with chips showing selected users.
4833
+ * Each chip displays avatar, name, and a close button to remove the user.
4834
+ *
4835
+ * @defaultValue `false`
4836
+ */
4837
+ showSelectedUsersPreview?: boolean;
4828
4838
  }
4829
4839
  /**
4830
4840
  * Renders a scrollable list of users that has been created in a CometChat app
@@ -5439,6 +5449,8 @@ interface CheckboxProps {
5439
5449
  onCheckBoxValueChanged: (input: {
5440
5450
  checked: boolean;
5441
5451
  labelText: string | undefined;
5452
+ shiftKey?: boolean;
5453
+ metaKey?: boolean;
5442
5454
  }) => void;
5443
5455
  }
5444
5456
  declare const CometChatCheckbox: (props: CheckboxProps) => react_jsx_runtime.JSX.Element;
@@ -5556,6 +5568,8 @@ interface ListItemProps {
5556
5568
  title: string;
5557
5569
  onListItemClicked?: (input: {
5558
5570
  id?: string;
5571
+ shiftKey?: boolean;
5572
+ metaKey?: boolean;
5559
5573
  }) => void;
5560
5574
  menuView?: ReactNode;
5561
5575
  subtitleView?: ReactNode;
@@ -5912,7 +5926,7 @@ declare class MessageUtils {
5912
5926
  * @param {MessageBubbleAlignment} alignment - The alignment of the message bubble (left or right).
5913
5927
  * @returns {JSX.Element} - The message bubble component.
5914
5928
  */
5915
- getMessageBubble(baseMessage: CometChat.BaseMessage, template: CometChatMessageTemplate, alignment: MessageBubbleAlignment, messageSentAtDateTimeFormat?: CalendarObject, hideReceipts?: boolean, textFormatters?: CometChatTextFormatter[]): any;
5929
+ getMessageBubble(baseMessage: CometChat.BaseMessage, template: CometChatMessageTemplate, alignment: MessageBubbleAlignment, messageSentAtDateTimeFormat?: CalendarObject, hideReceipts?: boolean, textFormatters?: CometChatTextFormatter[], replyView?: JSX.Element | null): any;
5916
5930
  /**
5917
5931
  *
5918
5932
  * @param {(CometChat.User | CometChat.GroupMember | any)} user