@cometchat/chat-uikit-react 6.0.5 → 6.0.7

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 (60) hide show
  1. package/dist/index.d.ts +209 -104
  2. package/dist/index.js +1 -1
  3. package/dist/index.js.map +1 -1
  4. package/dist/styles/CometChatActionSheet.css +1 -4
  5. package/dist/styles/CometChatChangeScope.css +1 -4
  6. package/dist/styles/CometChatEmojiKeyboard.css +1 -6
  7. package/dist/styles/CometChatGroupMembers.css +7 -2
  8. package/dist/styles/CometChatList.css +2 -2
  9. package/dist/styles/CometChatMessageComposer.css +34 -1
  10. package/dist/styles/CometChatMessageHeader.css +16 -18
  11. package/dist/styles/CometChatMessageInformation.css +7 -7
  12. package/dist/styles/CometChatMessageList.css +14 -0
  13. package/dist/styles/CometChatReactionList.css +0 -6
  14. package/dist/styles/CometChatThreadHeader.css +2 -2
  15. package/dist/styles/MessageTranslationBubble.css +2 -4
  16. package/dist/styles/StickersKeyboard.css +0 -20
  17. package/dist/styles/components/CometChatActionSheet.css +1 -4
  18. package/dist/styles/components/CometChatChangeScope.css +1 -4
  19. package/dist/styles/components/CometChatEmojiKeyboard.css +1 -6
  20. package/dist/styles/components/CometChatGroupMembers.css +7 -2
  21. package/dist/styles/components/CometChatList.css +2 -2
  22. package/dist/styles/components/CometChatMessageComposer.css +34 -1
  23. package/dist/styles/components/CometChatMessageHeader.css +16 -18
  24. package/dist/styles/components/CometChatMessageInformation.css +7 -7
  25. package/dist/styles/components/CometChatMessageList.css +14 -0
  26. package/dist/styles/components/CometChatReactionList.css +0 -6
  27. package/dist/styles/components/CometChatThreadHeader.css +2 -2
  28. package/dist/styles/components/MessageTranslationBubble.css +2 -4
  29. package/dist/styles/components/StickersKeyboard.css +0 -20
  30. package/dist/types/CometChatUIKit/CometChatUIKitUtility.d.ts +0 -1
  31. package/dist/types/Enums/Enums.d.ts +2 -1
  32. package/dist/types/components/BaseComponents/CometChatAudioBubble/src/webaudio.d.ts +2 -2
  33. package/dist/types/components/BaseComponents/CometChatEmojiKeyboard/useCometChatEmojiKeyboard.d.ts +0 -1
  34. package/dist/types/components/BaseComponents/CometChatList/CometChatList.d.ts +5 -0
  35. package/dist/types/components/BaseComponents/CometChatListItem/useCometChatListItem.d.ts +1 -1
  36. package/dist/types/components/BaseComponents/CometChatMessageBubble/CometChatMessageBubble.d.ts +1 -1
  37. package/dist/types/components/Calling/CometChatCallLogs/CometChatCallLogs.d.ts +6 -1
  38. package/dist/types/components/Calling/CometChatIncomingCall/CometChatIncomingCall.d.ts +1 -1
  39. package/dist/types/components/Calling/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +1 -1
  40. package/dist/types/components/Calling/OutgoingCallConfiguration.d.ts +1 -1
  41. package/dist/types/components/CometChatConversations/CometChatConversations.d.ts +5 -0
  42. package/dist/types/components/CometChatConversations/controller.d.ts +0 -1
  43. package/dist/types/components/CometChatGroupMembers/CometChatGroupMembers.d.ts +5 -0
  44. package/dist/types/components/CometChatGroups/CometChatGroups.d.ts +5 -0
  45. package/dist/types/components/CometChatMessageComposer/CometChatMessageComposer.d.ts +5 -0
  46. package/dist/types/components/CometChatMessageHeader/CometChatMessageHeader.d.ts +6 -0
  47. package/dist/types/components/CometChatMessageInformation/CometChatMessageInformation.d.ts +5 -0
  48. package/dist/types/components/CometChatMessageList/CometChatMessageList.d.ts +6 -1
  49. package/dist/types/components/CometChatThreadHeader/CometChatThreadHeader.d.ts +6 -1
  50. package/dist/types/components/CometChatUserMemberWrapper/CometChatUserMemberWrapper.d.ts +49 -1
  51. package/dist/types/components/CometChatUsers/CometChatUsers.d.ts +6 -0
  52. package/dist/types/components/CometChatUsers/controller.d.ts +0 -1
  53. package/dist/types/components/Extensions/Stickers/StickersExtensionDecorator.d.ts +0 -1
  54. package/dist/types/components/Extensions/ThumbnailGeneration/ThumbnailGenerationExtensionDecorator.d.ts +2 -3
  55. package/dist/types/modals/CometChatActionsView.d.ts +1 -1
  56. package/dist/types/modals/CometChatMessageTemplate.d.ts +1 -1
  57. package/dist/types/utils/DataSource.d.ts +1 -1
  58. package/dist/types/utils/DataSourceDecorator.d.ts +1 -1
  59. package/dist/types/utils/MessagesDataSource.d.ts +7 -8
  60. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,8 +1,7 @@
1
1
  import * as React from 'react';
2
- import React__default, { JSX as JSX$1, ReactNode, FC } from 'react';
2
+ import React__default, { JSX, ReactNode, FC } from 'react';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import * as _cometchat_chat_sdk_javascript from '@cometchat/chat-sdk-javascript';
5
- import { CometChat as CometChat$1 } from '@cometchat/chat-sdk-javascript';
6
5
  import { Subject } from 'rxjs';
7
6
 
8
7
  /**
@@ -100,7 +99,8 @@ declare enum TabAlignment {
100
99
  declare enum MessageStatus {
101
100
  inprogress = 0,
102
101
  success = 1,
103
- error = 2
102
+ error = 2,
103
+ cancelled = 3
104
104
  }
105
105
  /**
106
106
  * This is used to specify the types of the read receipts for the message.
@@ -290,16 +290,64 @@ declare enum MentionsVisibility {
290
290
  }
291
291
 
292
292
  interface MentionsProps {
293
+ /**
294
+ * Determines the type of list to display - either users or group members.
295
+ * @defaultValue `UserMemberListType.users`
296
+ */
293
297
  userMemberListType?: UserMemberListType;
298
+ /**
299
+ * Callback function invoked when a user or group member item is clicked.
300
+ * @param user - The clicked user (CometChat.User) or group member (CometChat.GroupMember)
301
+ * @returns void
302
+ */
294
303
  onItemClick?: (user: CometChat.User | CometChat.GroupMember) => void;
304
+ /**
305
+ * A custom view to render each user or group member item in the list.
306
+ *
307
+ * @param item - An instance of CometChat.User or CometChat.GroupMember to be rendered
308
+ * @returns A JSX element representing the custom item view
309
+ */
295
310
  itemView?: (item?: CometChat.User | CometChat.GroupMember) => JSX.Element;
311
+ /**
312
+ * The search keyword used to filter users or group members.
313
+ */
296
314
  searchKeyword?: string;
315
+ /**
316
+ * The group instance for which to display group members.
317
+ */
297
318
  group?: CometChat.Group;
319
+ /**
320
+ * A custom view to render the subtitle for each user or group member item.
321
+ * @param item - An instance of CometChat.User or CometChat.GroupMember
322
+ * @returns A JSX element representing the custom subtitle view
323
+ */
298
324
  subtitleView?: (item?: CometChat.User | CometChat.GroupMember) => JSX.Element;
325
+ /**
326
+ * A request builder to fetch users with custom parameters.
327
+ */
299
328
  usersRequestBuilder?: CometChat.UsersRequestBuilder;
329
+ /**
330
+ * Callback function invoked when the list is empty (no users or group members found).
331
+ *
332
+ * @returns void
333
+ */
300
334
  onEmpty?: () => void;
335
+ /**
336
+ * A request builder to fetch group members with custom parameters.
337
+ */
301
338
  groupMemberRequestBuilder?: CometChat.GroupMembersRequestBuilder;
339
+ /**
340
+ * Callback function invoked when an error occurs while fetching users or group members.
341
+ *
342
+ * @returns void
343
+ */
302
344
  onError?: () => void;
345
+ /**
346
+ * Controls the visibility of the scrollbar in the list.
347
+ *
348
+ * @defaultValue `false`
349
+ */
350
+ showScrollbar?: boolean;
303
351
  }
304
352
  declare function CometChatUserMemberWrapper(props: MentionsProps): react_jsx_runtime.JSX.Element;
305
353
 
@@ -1285,20 +1333,20 @@ declare class MessagesDataSource implements DataSource {
1285
1333
  getSendMessagePrivatelyOption(): CometChatActionsIcon;
1286
1334
  getCopyOption(): CometChatActionsIcon;
1287
1335
  getMessageInfoOption(): CometChatActionsIcon;
1288
- isSentByMe(loggedInUser: CometChat$1.User, message: CometChat$1.BaseMessage): boolean;
1289
- getTextMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group, additionalParams?: additionalParamsOptions): Array<CometChatActionsIcon | CometChatActionsView>;
1290
- getIsSentByMe(message: CometChat$1.BaseMessage): boolean;
1291
- getImageMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
1292
- getVideoMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
1293
- getAudioMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
1294
- getFileMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
1336
+ isSentByMe(loggedInUser: CometChat.User, message: CometChat.BaseMessage): boolean;
1337
+ getTextMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: additionalParamsOptions): Array<CometChatActionsIcon | CometChatActionsView>;
1338
+ getIsSentByMe(message: CometChat.BaseMessage): boolean;
1339
+ getImageMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
1340
+ getVideoMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
1341
+ getAudioMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
1342
+ getFileMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
1295
1343
  getReceiptClass(status?: number): "error" | "read" | "delivered" | "sent" | "wait" | undefined;
1296
1344
  /**
1297
1345
  * Function to get receipt for message bubble
1298
1346
  * @param {CometChat.BaseMessage} item - The message bubble for which the receipt needs to be fetched
1299
1347
  * @returns {JSX.Element | null} Returns JSX.Element for receipt of a message bubble or null
1300
1348
  */
1301
- getBubbleStatusInfoReceipt: (item: CometChat$1.BaseMessage, hideReceipts?: boolean) => JSX.Element | null;
1349
+ getBubbleStatusInfoReceipt: (item: CometChat.BaseMessage, hideReceipts?: boolean) => JSX.Element | null;
1302
1350
  /**
1303
1351
  * Function for displaying the timestamp next to messages.
1304
1352
  * @returns CalendarObject
@@ -1306,23 +1354,23 @@ declare class MessagesDataSource implements DataSource {
1306
1354
  getMessageSentAtDateFormat(messageSentAtDateTimeFormat?: CalendarObject): {
1307
1355
  today: string;
1308
1356
  yesterday: string;
1309
- lastWeek?: string | undefined;
1357
+ lastWeek?: string;
1310
1358
  otherDays: string;
1311
1359
  relativeTime?: {
1312
- minute?: string | undefined;
1313
- minutes?: string | undefined;
1314
- hour?: string | undefined;
1315
- hours?: string | undefined;
1316
- } | undefined;
1360
+ minute?: string;
1361
+ minutes?: string;
1362
+ hour?: string;
1363
+ hours?: string;
1364
+ };
1317
1365
  };
1318
1366
  /**
1319
1367
  * Function to get status and date for message bubble
1320
1368
  * @param {CometChat.BaseMessage} item - The message bubble for which the information needs to be fetched
1321
1369
  * @returns {JSX.Element | null} Returns JSX.Element for status and date of a message bubble or null
1322
1370
  */
1323
- getBubbleStatusInfoDate: (item: CometChat$1.BaseMessage, messageSentAtDateTimeFormat?: CalendarObject) => JSX.Element | null;
1324
- getStatusInfoView: (_messageObject: CometChat$1.BaseMessage, _alignment: MessageBubbleAlignment, hideReceipts?: boolean, messageSentAtDateTimeFormat?: CalendarObject) => react_jsx_runtime.JSX.Element | null;
1325
- getBottomView(_messageObject: CometChat$1.BaseMessage, _alignment: MessageBubbleAlignment): null;
1371
+ getBubbleStatusInfoDate: (item: CometChat.BaseMessage, messageSentAtDateTimeFormat?: CalendarObject) => JSX.Element | null;
1372
+ getStatusInfoView: (_messageObject: CometChat.BaseMessage, _alignment: MessageBubbleAlignment, hideReceipts?: boolean, messageSentAtDateTimeFormat?: CalendarObject) => react_jsx_runtime.JSX.Element | null;
1373
+ getBottomView(_messageObject: CometChat.BaseMessage, _alignment: MessageBubbleAlignment): null;
1326
1374
  getTextMessageTemplate(additionalConfigurations?: additionalParams): CometChatMessageTemplate;
1327
1375
  getAudioMessageTemplate(): CometChatMessageTemplate;
1328
1376
  getVideoMessageTemplate(): CometChatMessageTemplate;
@@ -1333,25 +1381,25 @@ declare class MessagesDataSource implements DataSource {
1333
1381
  getFileMessageTemplate(): CometChatMessageTemplate;
1334
1382
  getAllMessageTemplates(additionalConfigurations?: additionalParams): Array<CometChatMessageTemplate>;
1335
1383
  getMessageTemplate(messageType: string, messageCategory: string, additionalConfigurations?: additionalParams): CometChatMessageTemplate | null;
1336
- getMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group, additionalParams?: additionalParamsOptions): Array<CometChatActionsIcon | CometChatActionsView>;
1337
- getCommonOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group, additionalParams?: additionalParamsOptions): Array<CometChatActionsIcon | CometChatActionsView>;
1384
+ getMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: additionalParamsOptions): Array<CometChatActionsIcon | CometChatActionsView>;
1385
+ getCommonOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: additionalParamsOptions): Array<CometChatActionsIcon | CometChatActionsView>;
1338
1386
  getAllMessageTypes(): Array<string>;
1339
1387
  addList(): string;
1340
1388
  getAllMessageCategories(additionalConfigurations?: {
1341
1389
  hideGroupActionMessages?: boolean;
1342
1390
  }): Array<string>;
1343
- getStickerButton(id: ComposerId, user?: CometChat$1.User, group?: CometChat$1.Group): JSX.Element | undefined;
1391
+ getStickerButton(id: ComposerId, user?: CometChat.User, group?: CometChat.Group): JSX.Element | undefined;
1344
1392
  getId(): string;
1345
- getTextMessageContentView(message: CometChat$1.TextMessage, _alignment: MessageBubbleAlignment, additionalConfigurations?: additionalParams): JSX.Element | Element;
1346
- getAudioMessageContentView(message: CometChat$1.MediaMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
1347
- getFileMessageContentView(message: CometChat$1.MediaMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
1348
- getImageMessageContentView(message: CometChat$1.MediaMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
1349
- getVideoMessageContentView(message: CometChat$1.MediaMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
1393
+ getTextMessageContentView(message: CometChat.TextMessage, _alignment: MessageBubbleAlignment, additionalConfigurations?: additionalParams): JSX.Element | Element;
1394
+ getAudioMessageContentView(message: CometChat.MediaMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
1395
+ getFileMessageContentView(message: CometChat.MediaMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
1396
+ getImageMessageContentView(message: CometChat.MediaMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
1397
+ getVideoMessageContentView(message: CometChat.MediaMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
1350
1398
  getActionMessage(message: any): string;
1351
- getDeleteMessageBubble(message: CometChat$1.BaseMessage, text?: string, alignment?: MessageBubbleAlignment): react_jsx_runtime.JSX.Element;
1352
- getGroupActionBubble(message: CometChat$1.BaseMessage): react_jsx_runtime.JSX.Element;
1353
- getTextMessageBubble(messageText: string, message: CometChat$1.TextMessage, alignment: MessageBubbleAlignment, additionalConfigurations?: additionalParams): Element | JSX.Element;
1354
- getAudioMessageBubble(audioUrl: string, message: CometChat$1.MediaMessage, title?: string, alignment?: MessageBubbleAlignment): Element | JSX.Element;
1399
+ getDeleteMessageBubble(message: CometChat.BaseMessage, text?: string, alignment?: MessageBubbleAlignment): react_jsx_runtime.JSX.Element;
1400
+ getGroupActionBubble(message: CometChat.BaseMessage): react_jsx_runtime.JSX.Element;
1401
+ getTextMessageBubble(messageText: string, message: CometChat.TextMessage, alignment: MessageBubbleAlignment, additionalConfigurations?: additionalParams): Element | JSX.Element;
1402
+ getAudioMessageBubble(audioUrl: string, message: CometChat.MediaMessage, title?: string, alignment?: MessageBubbleAlignment): Element | JSX.Element;
1355
1403
  /**
1356
1404
  * Function to check mimeType and return the iconUrl of that type
1357
1405
  * @param mimeType
@@ -1364,16 +1412,16 @@ declare class MessagesDataSource implements DataSource {
1364
1412
  * @returns
1365
1413
  */
1366
1414
  getFileSize: (sizeInBytes: number) => string;
1367
- getFileMessageBubble(fileUrl: string, message: CometChat$1.MediaMessage, title?: string, alignment?: MessageBubbleAlignment): Element | JSX.Element;
1368
- getImageMessageBubble(imageUrl: string, placeholderImage: string, message: CometChat$1.MediaMessage, onClick?: Function): react_jsx_runtime.JSX.Element;
1369
- getVideoMessageBubble(videoUrl: string, message: CometChat$1.MediaMessage, thumbnailUrl?: string, onClick?: Function): Element | JSX.Element;
1415
+ getFileMessageBubble(fileUrl: string, message: CometChat.MediaMessage, title?: string, alignment?: MessageBubbleAlignment): Element | JSX.Element;
1416
+ getImageMessageBubble(imageUrl: string, placeholderImage: string, message: CometChat.MediaMessage, onClick?: Function): react_jsx_runtime.JSX.Element;
1417
+ getVideoMessageBubble(videoUrl: string, message: CometChat.MediaMessage, thumbnailUrl?: string, onClick?: Function): Element | JSX.Element;
1370
1418
  imageAttachmentOption(): CometChatMessageComposerAction;
1371
1419
  videoAttachmentOption(): CometChatMessageComposerAction;
1372
1420
  audioAttachmentOption(): CometChatMessageComposerAction;
1373
1421
  fileAttachmentOption(): CometChatMessageComposerAction;
1374
1422
  getAttachmentOptions(id: ComposerId, additionalConfigurations?: any): Array<CometChatMessageComposerAction>;
1375
- getLastConversationMessage(conversation: CometChat$1.Conversation, loggedInUser: CometChat$1.User, additionalConfigurations: additionalParams): string;
1376
- getAuxiliaryHeaderMenu(user?: CometChat$1.User, group?: CometChat$1.Group, additionalConfigurations?: any): Element[] | JSX.Element[];
1423
+ getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalConfigurations: additionalParams): string;
1424
+ getAuxiliaryHeaderMenu(user?: CometChat.User, group?: CometChat.Group, additionalConfigurations?: any): Element[] | JSX.Element[];
1377
1425
  /**
1378
1426
  * Adds styled @ for every mention in the text by matching uid
1379
1427
  *
@@ -1381,21 +1429,21 @@ declare class MessagesDataSource implements DataSource {
1381
1429
  * @param {string} subtitle
1382
1430
  * @returns {void}
1383
1431
  */
1384
- getMentionsFormattedText(message: CometChat$1.TextMessage, subtitle: string, mentionsFormatterParams: {
1432
+ getMentionsFormattedText(message: CometChat.TextMessage, subtitle: string, mentionsFormatterParams: {
1385
1433
  mentionsTargetElement: MentionsTargetElement;
1386
1434
  }): string;
1387
1435
  getAllTextFormatters(formatterParams: additionalParams): CometChatTextFormatter[];
1388
1436
  getMentionsTextFormatter(params: additionalParams): CometChatMentionsFormatter;
1389
1437
  getUrlTextFormatter(params?: additionalParams): CometChatUrlsFormatter;
1390
- getFormMessageBubble(message: CometChat$1.InteractiveMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
1391
- getSchedulerMessageBubble(message: CometChat$1.InteractiveMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
1392
- getCardMessageBubble(message: CometChat$1.InteractiveMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
1438
+ getFormMessageBubble(message: CometChat.InteractiveMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
1439
+ getSchedulerMessageBubble(message: CometChat.InteractiveMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
1440
+ getCardMessageBubble(message: CometChat.InteractiveMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
1393
1441
  getFormMessageTemplate(): CometChatMessageTemplate;
1394
1442
  getSchedulerMessageTemplate(): CometChatMessageTemplate;
1395
1443
  getCardMessageTemplate(): CometChatMessageTemplate;
1396
- getFormMessageContentView(message: CometChat$1.InteractiveMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
1397
- getSchedulerMessageContentView(message: CometChat$1.InteractiveMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
1398
- getCardMessageContentView(message: CometChat$1.InteractiveMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
1444
+ getFormMessageContentView(message: CometChat.InteractiveMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
1445
+ getSchedulerMessageContentView(message: CometChat.InteractiveMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
1446
+ getCardMessageContentView(message: CometChat.InteractiveMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
1399
1447
  }
1400
1448
 
1401
1449
  /**
@@ -2140,7 +2188,7 @@ interface ListProps<T> {
2140
2188
  *
2141
2189
  * @defaultValue `""`
2142
2190
  */
2143
- headerView?: JSX$1.Element;
2191
+ headerView?: JSX.Element;
2144
2192
  /**
2145
2193
  * Hide the search bar
2146
2194
  *
@@ -2173,7 +2221,7 @@ interface ListProps<T> {
2173
2221
  /**
2174
2222
  * Custom list item view to be rendered for each object in the `list` prop
2175
2223
  */
2176
- itemView: (item: T, itemIndex: number) => JSX$1.Element;
2224
+ itemView: (item: T, itemIndex: number) => JSX.Element;
2177
2225
  /**
2178
2226
  * Function to call when the scrollbar is at the top-most position of the scrollable list
2179
2227
  */
@@ -2213,7 +2261,7 @@ interface ListProps<T> {
2213
2261
  /**
2214
2262
  * Custom view for the loading state of the component
2215
2263
  */
2216
- loadingView?: JSX$1.Element;
2264
+ loadingView?: JSX.Element;
2217
2265
  /**
2218
2266
  * Hide error view
2219
2267
  *
@@ -2226,11 +2274,11 @@ interface ListProps<T> {
2226
2274
  /**
2227
2275
  * Custom view for the error state of the component
2228
2276
  */
2229
- errorView?: JSX$1.Element;
2277
+ errorView?: JSX.Element;
2230
2278
  /**
2231
2279
  * Custom view for the empty state of the component
2232
2280
  */
2233
- emptyView?: JSX$1.Element;
2281
+ emptyView?: JSX.Element;
2234
2282
  /**
2235
2283
  * Set the scrollbar to the bottom-most position of the scrollable list
2236
2284
  *
@@ -2248,6 +2296,11 @@ interface ListProps<T> {
2248
2296
  * @defaultValue `""`
2249
2297
  */
2250
2298
  title?: string;
2299
+ /**
2300
+ * Controls the visibility of the scrollbar in the list.
2301
+ * @defaultValue `false`
2302
+ */
2303
+ showScrollbar?: boolean;
2251
2304
  }
2252
2305
  /**
2253
2306
  * Renders a list component that can display a title, search bar,
@@ -2255,7 +2308,7 @@ interface ListProps<T> {
2255
2308
  *
2256
2309
  * @param props - The props for configuring the list
2257
2310
  */
2258
- declare function List<T>(props: ListProps<T>): JSX$1.Element;
2311
+ declare function List<T>(props: ListProps<T>): JSX.Element;
2259
2312
  /**
2260
2313
  * Renders a scrollable list
2261
2314
  */
@@ -2980,7 +3033,7 @@ declare class StickersExtensionDecorator extends DataSourceDecorator {
2980
3033
  * @param group - Optional group object.
2981
3034
  * @returns An array of auxiliary options.
2982
3035
  */
2983
- getStickerButton(id: ComposerId, user?: CometChat$1.User, group?: CometChat$1.Group): react_jsx_runtime.JSX.Element;
3036
+ getStickerButton(id: ComposerId, user?: CometChat.User, group?: CometChat.Group): react_jsx_runtime.JSX.Element;
2984
3037
  /**
2985
3038
  * Creates the sticker auxiliary button component.
2986
3039
  * @param id - A map containing relevant IDs.
@@ -2989,7 +3042,7 @@ declare class StickersExtensionDecorator extends DataSourceDecorator {
2989
3042
  * @param group - Optional group object.
2990
3043
  * @returns The JSX element for the sticker auxiliary button.
2991
3044
  */
2992
- getStickerAuxiliaryButton: (id: ComposerId, user?: CometChat$1.User, group?: CometChat$1.Group) => react_jsx_runtime.JSX.Element;
3045
+ getStickerAuxiliaryButton: (id: ComposerId, user?: CometChat.User, group?: CometChat.Group) => react_jsx_runtime.JSX.Element;
2993
3046
  /**
2994
3047
  * Sends a sticker message.
2995
3048
  * @param event - The event object containing sticker details.
@@ -2999,14 +3052,14 @@ declare class StickersExtensionDecorator extends DataSourceDecorator {
2999
3052
  * Sends a sticker message.
3000
3053
  * @param event - The event object containing sticker details.
3001
3054
  */
3002
- getSticker(message: CometChat$1.CustomMessage): any;
3055
+ getSticker(message: CometChat.CustomMessage): any;
3003
3056
  /**
3004
3057
  * Creates a JSX element for displaying the sticker message content.
3005
3058
  * @param stickerMessage - The custom message containing sticker data.
3006
3059
  * @param _theme - The theme object for styling.
3007
3060
  * @returns The JSX element for the sticker message content.
3008
3061
  */
3009
- getStickerMessageContentView(stickerMessage: CometChat$1.CustomMessage): react_jsx_runtime.JSX.Element;
3062
+ getStickerMessageContentView(stickerMessage: CometChat.CustomMessage): react_jsx_runtime.JSX.Element;
3010
3063
  /**
3011
3064
  * Creates a sticker message template.
3012
3065
  * @param _theme - The theme object for styling.
@@ -3042,7 +3095,7 @@ declare class StickersExtensionDecorator extends DataSourceDecorator {
3042
3095
  * @param additionalConfigurations - Additional configurations, if any.
3043
3096
  * @returns A string representing the last message.
3044
3097
  */
3045
- getLastConversationMessage(conversation: CometChat$1.Conversation, loggedInUser: CometChat$1.User, additionalConfigurations?: any): string;
3098
+ getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalConfigurations?: any): string;
3046
3099
  }
3047
3100
 
3048
3101
  /**
@@ -3091,7 +3144,7 @@ declare class ThumbnailGenerationExtensionDecorator extends DataSourceDecorator
3091
3144
  * @param {ImageBubbleStyle} [style] - Optional style for the image bubble.
3092
3145
  * @returns {React.ReactNode} The rendered image message bubble.
3093
3146
  */
3094
- getImageMessageBubble(imageUrl: string, placeholderImage: string, message: CometChat.MediaMessage, onClick?: Function): JSX.Element | Element;
3147
+ getImageMessageBubble(imageUrl: string, placeholderImage: string, message: CometChat.MediaMessage, onClick?: Function): React.JSX.Element | Element;
3095
3148
  /**
3096
3149
  * Provides the video message bubble with support for thumbnail generation.
3097
3150
  * It checks for a thumbnail URL in the message metadata and uses it if available.
@@ -3102,7 +3155,7 @@ declare class ThumbnailGenerationExtensionDecorator extends DataSourceDecorator
3102
3155
  * @param {Function} [onClick] - Optional click event handler.
3103
3156
  * @returns {React.ReactNode} The rendered video message bubble.
3104
3157
  */
3105
- getVideoMessageBubble(videoUrl: string, message: CometChat.MediaMessage, thumbnailUrl?: string, onClick?: Function): JSX.Element | Element;
3158
+ getVideoMessageBubble(videoUrl: string, message: CometChat.MediaMessage, thumbnailUrl?: string, onClick?: Function): React.JSX.Element | Element;
3106
3159
  }
3107
3160
 
3108
3161
  declare class CallingExtensionDecorator extends DataSourceDecorator {
@@ -3351,6 +3404,11 @@ interface CallLogsProps {
3351
3404
  * @returns A JSX element to be rendered as the trailing view.
3352
3405
  */
3353
3406
  trailingView?: (call: any) => JSX.Element;
3407
+ /**
3408
+ * Controls the visibility of the scrollbar in the list.
3409
+ * @defaultValue `false`
3410
+ */
3411
+ showScrollbar?: boolean;
3354
3412
  }
3355
3413
  declare const CometChatCallLogs: (props: CallLogsProps) => react_jsx_runtime.JSX.Element;
3356
3414
 
@@ -3454,54 +3512,59 @@ interface ConversationsProps {
3454
3512
  /**
3455
3513
  * A custom component to render in the top-right corner of the Conversations UI.
3456
3514
  */
3457
- headerView?: JSX$1.Element;
3515
+ headerView?: JSX.Element;
3458
3516
  /**
3459
3517
  * A custom component to display during the loading state.
3460
3518
  */
3461
- loadingView?: JSX$1.Element;
3519
+ loadingView?: JSX.Element;
3462
3520
  /**
3463
3521
  * A custom component to display when there are no conversations available.
3464
3522
  */
3465
- emptyView?: JSX$1.Element;
3523
+ emptyView?: JSX.Element;
3466
3524
  /**
3467
3525
  * A custom component to display when an error occurs.
3468
3526
  */
3469
- errorView?: JSX$1.Element;
3527
+ errorView?: JSX.Element;
3470
3528
  /**
3471
3529
  * A custom view to render each conversation in the list.
3472
3530
  *
3473
3531
  * @param conversation - An instance of `CometChat.Conversation` representing the conversation.
3474
3532
  * @returns A JSX element to be rendered as the conversation item.
3475
3533
  */
3476
- itemView?: (conversation: CometChat.Conversation) => JSX$1.Element;
3534
+ itemView?: (conversation: CometChat.Conversation) => JSX.Element;
3477
3535
  /**
3478
3536
  * A function that renders a JSX element to display the leading view.
3479
3537
  *
3480
3538
  * @param conversation - An instance of `CometChat.Conversation` representing the conversation.
3481
3539
  * @returns A JSX element to be rendered as the leading view.
3482
3540
  */
3483
- leadingView?: (conversation: CometChat.Conversation) => JSX$1.Element;
3541
+ leadingView?: (conversation: CometChat.Conversation) => JSX.Element;
3484
3542
  /**
3485
3543
  * A function that renders a JSX element to display the title view.
3486
3544
  *
3487
3545
  * @param conversation - An instance of `CometChat.Conversation` representing the conversation.
3488
3546
  * @returns A JSX element to be rendered as the title view.
3489
3547
  */
3490
- titleView?: (conversation: CometChat.Conversation) => JSX$1.Element;
3548
+ titleView?: (conversation: CometChat.Conversation) => JSX.Element;
3491
3549
  /**
3492
3550
  * A custom view to render the subtitle for each conversation.
3493
3551
  *
3494
3552
  * @param conversation - An instance of `CometChat.Conversation` representing the conversation.
3495
3553
  * @returns A JSX element to be rendered as the subtitle view.
3496
3554
  */
3497
- subtitleView?: (conversation: CometChat.Conversation) => JSX$1.Element;
3555
+ subtitleView?: (conversation: CometChat.Conversation) => JSX.Element;
3498
3556
  /**
3499
3557
  * A custom view to render at the end of each conversation item.
3500
3558
  *
3501
3559
  * @param conversation - An instance of `CometChat.Conversation` representing the conversation.
3502
3560
  * @returns A JSX element to be rendered as the trailing view.
3503
3561
  */
3504
- trailingView?: (conversation: CometChat.Conversation) => JSX$1.Element;
3562
+ trailingView?: (conversation: CometChat.Conversation) => JSX.Element;
3563
+ /**
3564
+ * Controls the visibility of the scrollbar in the list.
3565
+ * @defaultValue `false`
3566
+ */
3567
+ showScrollbar?: boolean;
3505
3568
  }
3506
3569
  /**
3507
3570
  * Renders a scrollable list of conversations that has been created in a CometChat app
@@ -3614,54 +3677,59 @@ interface GroupMembersProps {
3614
3677
  /**
3615
3678
  * A custom component to render in the top-right corner of the group members list.
3616
3679
  */
3617
- headerView?: JSX$1.Element;
3680
+ headerView?: JSX.Element;
3618
3681
  /**
3619
3682
  * A custom view to display during the loading state.
3620
3683
  */
3621
- loadingView?: JSX$1.Element;
3684
+ loadingView?: JSX.Element;
3622
3685
  /**
3623
3686
  * Custom view for the error state of the component.
3624
3687
  */
3625
- errorView?: JSX$1.Element;
3688
+ errorView?: JSX.Element;
3626
3689
  /**
3627
3690
  * A custom view to display when no group members are available in the list.
3628
3691
  */
3629
- emptyView?: JSX$1.Element;
3692
+ emptyView?: JSX.Element;
3630
3693
  /**
3631
3694
  * A custom view to render for each group member in the fetched list.
3632
3695
  *
3633
3696
  * @param groupMember - An instance of `CometChat.GroupMember` representing the group member.
3634
3697
  * @returns A JSX element to be rendered as the group member item.
3635
3698
  */
3636
- itemView?: (groupMember: CometChat.GroupMember) => JSX$1.Element;
3699
+ itemView?: (groupMember: CometChat.GroupMember) => JSX.Element;
3637
3700
  /**
3638
3701
  * A function that renders a JSX element to display the leading view.
3639
3702
  *
3640
3703
  * @param groupMember - An instance of `CometChat.GroupMember` representing the group member.
3641
3704
  * @returns A JSX element to be rendered as the leading view.
3642
3705
  */
3643
- leadingView?: (groupMember: CometChat.GroupMember) => JSX$1.Element;
3706
+ leadingView?: (groupMember: CometChat.GroupMember) => JSX.Element;
3644
3707
  /**
3645
3708
  * A function that renders a JSX element to display the title view.
3646
3709
  *
3647
3710
  * @param groupMember - An instance of `CometChat.GroupMember` representing the group member.
3648
3711
  * @returns A JSX element to be rendered as the title view.
3649
3712
  */
3650
- titleView?: (groupMember: CometChat.GroupMember) => JSX$1.Element;
3713
+ titleView?: (groupMember: CometChat.GroupMember) => JSX.Element;
3651
3714
  /**
3652
3715
  * A function that renders a JSX element to display the subtitle view.
3653
3716
  *
3654
3717
  * @param groupMember - An instance of `CometChat.GroupMember` representing the group member.
3655
3718
  * @returns A JSX element to be rendered as the subtitle view.
3656
3719
  */
3657
- subtitleView?: (groupMember: CometChat.GroupMember) => JSX$1.Element;
3720
+ subtitleView?: (groupMember: CometChat.GroupMember) => JSX.Element;
3658
3721
  /**
3659
3722
  * A function that renders a JSX element to display the trailing view.
3660
3723
  *
3661
3724
  * @param groupMember - An instance of `CometChat.GroupMember` representing the group member.
3662
3725
  * @returns A JSX element to be rendered as the trailing view.
3663
3726
  */
3664
- trailingView?: (groupMember: CometChat.GroupMember) => JSX$1.Element;
3727
+ trailingView?: (groupMember: CometChat.GroupMember) => JSX.Element;
3728
+ /**
3729
+ * Controls the visibility of the scrollbar in the list.
3730
+ * @defaultValue `false`
3731
+ */
3732
+ showScrollbar?: boolean;
3665
3733
  }
3666
3734
  declare function CometChatGroupMembers(props: GroupMembersProps): react_jsx_runtime.JSX.Element;
3667
3735
 
@@ -3737,54 +3805,59 @@ interface GroupsProps {
3737
3805
  /**
3738
3806
  * A custom component to render in the top-right corner of the groups list.
3739
3807
  */
3740
- headerView?: JSX$1.Element;
3808
+ headerView?: JSX.Element;
3741
3809
  /**
3742
3810
  * A custom view to display during the loading state.
3743
3811
  */
3744
- loadingView?: JSX$1.Element;
3812
+ loadingView?: JSX.Element;
3745
3813
  /**
3746
3814
  * Custom view for the empty state of the component.
3747
3815
  */
3748
- emptyView?: JSX$1.Element;
3816
+ emptyView?: JSX.Element;
3749
3817
  /**
3750
3818
  * A custom view to display when an error occurs.
3751
3819
  */
3752
- errorView?: JSX$1.Element;
3820
+ errorView?: JSX.Element;
3753
3821
  /**
3754
3822
  * A custom view to render for each group in the fetched list.
3755
3823
  *
3756
3824
  * @param group - An instance of `CometChat.Group` representing the group.
3757
3825
  * @returns A JSX element to be rendered as the group item.
3758
3826
  */
3759
- itemView?: (group: CometChat.Group) => JSX$1.Element;
3827
+ itemView?: (group: CometChat.Group) => JSX.Element;
3760
3828
  /**
3761
3829
  * A function that renders a JSX element to display the leading view.
3762
3830
  *
3763
3831
  * @param group - An instance of `CometChat.Group` representing the group.
3764
3832
  * @returns A JSX element to be rendered as the leading view.
3765
3833
  */
3766
- leadingView?: (group: CometChat.Group) => JSX$1.Element;
3834
+ leadingView?: (group: CometChat.Group) => JSX.Element;
3767
3835
  /**
3768
3836
  * A function that renders a JSX element to display the title view.
3769
3837
  *
3770
3838
  * @param group - An instance of `CometChat.Group` representing the group.
3771
3839
  * @returns A JSX element to be rendered as the title view.
3772
3840
  */
3773
- titleView?: (group: CometChat.Group) => JSX$1.Element;
3841
+ titleView?: (group: CometChat.Group) => JSX.Element;
3774
3842
  /**
3775
3843
  * Custom subtitle view to be rendered for each group in the fetched list.
3776
3844
  *
3777
3845
  * @param group - An instance of `CometChat.Group` representing the group.
3778
3846
  * @returns A JSX element to be rendered as the subtitle view.
3779
3847
  */
3780
- subtitleView?: (group: CometChat.Group) => JSX$1.Element;
3848
+ subtitleView?: (group: CometChat.Group) => JSX.Element;
3781
3849
  /**
3782
3850
  * A function that renders a JSX element to display the trailing view.
3783
3851
  *
3784
3852
  * @param group - An instance of `CometChat.Group` representing the group.
3785
3853
  * @returns A JSX element to be rendered as the trailing view.
3786
3854
  */
3787
- trailingView?: (group: CometChat.Group) => JSX$1.Element;
3855
+ trailingView?: (group: CometChat.Group) => JSX.Element;
3856
+ /**
3857
+ * Controls the visibility of the scrollbar in the list.
3858
+ * @defaultValue `false`
3859
+ */
3860
+ showScrollbar?: boolean;
3788
3861
  }
3789
3862
  /**
3790
3863
  * Renders a scrollable list of groups that has been created in a CometChat app
@@ -3952,15 +4025,20 @@ interface MessageComposerProps {
3952
4025
  /**
3953
4026
  * A custom view for the send button to customize its appearance or behavior.
3954
4027
  */
3955
- sendButtonView?: JSX$1.Element;
4028
+ sendButtonView?: JSX.Element;
3956
4029
  /**
3957
4030
  * A custom view for an auxiliary button, which can be used alongside the send button.
3958
4031
  */
3959
- auxiliaryButtonView?: JSX$1.Element;
4032
+ auxiliaryButtonView?: JSX.Element;
3960
4033
  /**
3961
4034
  * A custom header section displayed at the top of the message composer, often used for media previews or additional information.
3962
4035
  */
3963
- headerView?: JSX$1.Element;
4036
+ headerView?: JSX.Element;
4037
+ /**
4038
+ * Controls the visibility of the scrollbar in the list.
4039
+ * @defaultValue `false`
4040
+ */
4041
+ showScrollbar?: boolean;
3964
4042
  }
3965
4043
  /**
3966
4044
  * Renders a message composer to send messages to a user or group of a CometChat App
@@ -3978,9 +4056,15 @@ interface MessageHeaderProps {
3978
4056
  showConversationSummaryButton?: boolean;
3979
4057
  /**
3980
4058
  * Hides the back button in the header in mobile view.
4059
+ * @deprecated Use 'showBackButton' prop instead. This prop is deprecated and will be removed in future versions.
3981
4060
  * @default false
3982
4061
  */
3983
4062
  hideBackButton?: boolean;
4063
+ /**
4064
+ * Hides the back button in the header in mobile view.
4065
+ * @default false
4066
+ */
4067
+ showBackButton?: boolean;
3984
4068
  /**
3985
4069
  * Hides the video call button.
3986
4070
  * @default false
@@ -4030,28 +4114,28 @@ interface MessageHeaderProps {
4030
4114
  /**
4031
4115
  * A custom JSX element for rendering a menu. It can be used to add options or actions.
4032
4116
  */
4033
- auxiliaryButtonView?: JSX$1.Element;
4117
+ auxiliaryButtonView?: JSX.Element;
4034
4118
  /**
4035
4119
  * A custom JSX element for rendering a list item view, typically used to show user or group details.
4036
4120
  */
4037
- itemView?: JSX$1.Element;
4121
+ itemView?: JSX.Element;
4038
4122
  /**
4039
4123
  * A function that renders a JSX element to display the leading view.
4040
4124
  */
4041
- leadingView?: JSX$1.Element;
4125
+ leadingView?: JSX.Element;
4042
4126
  /**
4043
4127
  * A function that renders a JSX element to display the title view.
4044
4128
  */
4045
- titleView?: JSX$1.Element;
4129
+ titleView?: JSX.Element;
4046
4130
  /**
4047
4131
  * Custom subtitle view, allowing you to render a JSX element as the subtitle.
4048
4132
  * It can be used to provide additional information under the title.
4049
4133
  */
4050
- subtitleView?: JSX$1.Element;
4134
+ subtitleView?: JSX.Element;
4051
4135
  /**
4052
4136
  * A function that renders a JSX element to display the trailing view.
4053
4137
  */
4054
- trailingView?: JSX$1.Element;
4138
+ trailingView?: JSX.Element;
4055
4139
  /**
4056
4140
  * Format for displaying the "last active" timestamp in the message header.
4057
4141
  */
@@ -4271,6 +4355,11 @@ interface MessageListProps {
4271
4355
  * Format for timestamps displayed in message details (e.g., delivery or read time).
4272
4356
  */
4273
4357
  messageInfoDateTimeFormat?: CalendarObject;
4358
+ /**
4359
+ * Controls the visibility of the scrollbar in the list.
4360
+ * @defaultValue `false`
4361
+ */
4362
+ showScrollbar?: boolean;
4274
4363
  }
4275
4364
  declare const CometChatMessageList: (props: MessageListProps) => react_jsx_runtime.JSX.Element;
4276
4365
 
@@ -4379,54 +4468,60 @@ interface UsersProps {
4379
4468
  /**
4380
4469
  * A custom component to render in the top-right corner of the user list.
4381
4470
  */
4382
- headerView?: JSX$1.Element;
4471
+ headerView?: JSX.Element;
4383
4472
  /**
4384
4473
  * A custom view to display during the loading state.
4385
4474
  */
4386
- loadingView?: JSX$1.Element;
4475
+ loadingView?: JSX.Element;
4387
4476
  /**
4388
4477
  * A custom view to display when an error occurs.
4389
4478
  */
4390
- errorView?: JSX$1.Element;
4479
+ errorView?: JSX.Element;
4391
4480
  /**
4392
4481
  * A custom view to display when no users are available in the list.
4393
4482
  */
4394
- emptyView?: JSX$1.Element;
4483
+ emptyView?: JSX.Element;
4395
4484
  /**
4396
4485
  * A custom view to render for each user in the fetched list.
4397
4486
  *
4398
4487
  * @param user - An instance of `CometChat.User` representing the user.
4399
4488
  * @returns A JSX element to be rendered as the user item.
4400
4489
  */
4401
- itemView?: (user: CometChat.User) => JSX$1.Element;
4490
+ itemView?: (user: CometChat.User) => JSX.Element;
4402
4491
  /**
4403
4492
  * A function that renders a JSX element to display the leading view.
4404
4493
  *
4405
4494
  * @param user - An instance of `CometChat.User` representing the user.
4406
4495
  * @returns A JSX element to be rendered as the leading view.
4407
4496
  */
4408
- leadingView?: (user: CometChat.User) => JSX$1.Element;
4497
+ leadingView?: (user: CometChat.User) => JSX.Element;
4409
4498
  /**
4410
4499
  * A custom function to render the title view of a user.
4411
4500
  *
4412
4501
  * @param user - An instance of `CometChat.User` representing the user.
4413
4502
  * @returns A JSX element to be rendered as the title view.
4414
4503
  */
4415
- titleView?: (user: CometChat.User) => JSX$1.Element;
4504
+ titleView?: (user: CometChat.User) => JSX.Element;
4416
4505
  /**
4417
4506
  * A custom view to render the subtitle for each user.
4418
4507
  *
4419
4508
  * @param user - An instance of `CometChat.User` representing the user.
4420
4509
  * @returns A JSX element to be rendered as the subtitle view.
4421
4510
  */
4422
- subtitleView?: (user: CometChat.User) => JSX$1.Element;
4511
+ subtitleView?: (user: CometChat.User) => JSX.Element;
4423
4512
  /**
4424
4513
  * A function that renders a JSX element to display the trailing view.
4425
4514
  *
4426
4515
  * @param user - An instance of `CometChat.User` representing the user.
4427
4516
  * @returns A JSX element to be rendered as the trailing view.
4428
4517
  */
4429
- trailingView?: (user: CometChat.User) => JSX$1.Element;
4518
+ trailingView?: (user: CometChat.User) => JSX.Element;
4519
+ /**
4520
+ * Controls the visibility of the scrollbar in the list list.
4521
+ *
4522
+ * @defaultValue `false`
4523
+ */
4524
+ showScrollbar?: boolean;
4430
4525
  }
4431
4526
  /**
4432
4527
  * Renders a scrollable list of users that has been created in a CometChat app
@@ -4462,6 +4557,11 @@ interface MessageInformationProps {
4462
4557
  * Array of text formatters for custom styling or formatting of message text bubbles.
4463
4558
  */
4464
4559
  textFormatters?: CometChatTextFormatter[];
4560
+ /**
4561
+ * Controls the visibility of the scrollbar in the list.
4562
+ * @defaultValue `false`
4563
+ */
4564
+ showScrollbar?: boolean;
4465
4565
  }
4466
4566
  declare const CometChatMessageInformation: (props: MessageInformationProps) => react_jsx_runtime.JSX.Element;
4467
4567
 
@@ -5892,6 +5992,11 @@ interface CometChatThreadHeaderProps {
5892
5992
  * Array of text formatters for custom styling or formatting of message text bubbles.
5893
5993
  */
5894
5994
  textFormatters?: CometChatTextFormatter[];
5995
+ /**
5996
+ * Controls the visibility of the scrollbar in the list.
5997
+ * @defaultValue `false`
5998
+ */
5999
+ showScrollbar?: boolean;
5895
6000
  }
5896
6001
  declare const CometChatThreadHeader: (props: CometChatThreadHeaderProps) => react_jsx_runtime.JSX.Element;
5897
6002
 
@@ -5981,7 +6086,7 @@ declare class CometChatUIKitUtility {
5981
6086
  * @param messageObject - The message object containing extensions.
5982
6087
  * @returns The sanitized message text if available, otherwise the original text.
5983
6088
  */
5984
- static getExtensionData(messageObject: CometChat$1.BaseMessage): string;
6089
+ static getExtensionData(messageObject: CometChat.BaseMessage): string;
5985
6090
  /**
5986
6091
  * Checks for extension data in a message.
5987
6092
  *
@@ -5989,7 +6094,7 @@ declare class CometChatUIKitUtility {
5989
6094
  * @param extensionKey - The extension key to look for.
5990
6095
  * @returns The extension data if found.
5991
6096
  */
5992
- static checkMessageForExtensionsData: (message: CometChat$1.BaseMessage | null, extensionKey: string) => (object & MessageExtensionType) | undefined;
6097
+ static checkMessageForExtensionsData: (message: CometChat.BaseMessage | null, extensionKey: string) => (object & MessageExtensionType) | undefined;
5993
6098
  /**
5994
6099
  * Sanitizes an HTML string by escaping tags not matching the whitelist.
5995
6100
  *