@cometchat/chat-uikit-react 5.0.0-beta1 → 5.0.0-beta2

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 (249) hide show
  1. package/README.md +8 -7
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.js +1 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/styles/CometChatEditPreview.css +1 -0
  6. package/dist/styles/CometChatFileBubble.css +2 -0
  7. package/dist/styles/CometChatMessageComposer.css +5 -0
  8. package/dist/styles/CometChatMessageHeader.css +11 -0
  9. package/dist/styles/components/CometChatEditPreview.css +1 -0
  10. package/dist/styles/components/CometChatFileBubble.css +2 -0
  11. package/dist/styles/components/CometChatMessageComposer.css +5 -0
  12. package/dist/styles/components/CometChatMessageHeader.css +11 -0
  13. package/dist/styles/components/index.css +1 -0
  14. package/dist/styles/index.css +1 -0
  15. package/dist/types/events/CometChatUIEvents.d.ts +2 -0
  16. package/package.json +1 -1
  17. package/screenshots/sample_app_overview.png +0 -0
  18. package/dist/Collaborative_Whiteboard_Dark.png +0 -0
  19. package/dist/Collaborative_Whiteboard_Light.png +0 -0
  20. package/dist/styles/CometChatBadge.css +0 -15
  21. package/dist/styles/CometChatCard.css +0 -41
  22. package/dist/styles/components/CometChatBadge.css +0 -15
  23. package/dist/styles/components/CometChatCard.css +0 -41
  24. package/dist/types/CometChatUIKit/CometChatUIKitSharedSettings.d.ts +0 -8
  25. package/dist/types/components/BaseComponents/CometChatBadge/CometChatBadge.d.ts +0 -10
  26. package/dist/types/components/BaseComponents/CometChatCard/CometChatCard.d.ts +0 -15
  27. package/dist/types/components/BaseComponents/CometChatQuickView/CometChatQuickView.d.ts +0 -9
  28. package/dist/types/components/BaseComponents/CometChatSingleSelect/CometChatSingleSelect.d.ts +0 -8
  29. package/dist/types/components/CometChatUserMemberWrapper/index.d.ts +0 -23
  30. package/dist/types/modals/InteractiveActions/APIAction.d.ts +0 -108
  31. package/dist/types/modals/InteractiveActions/CustomAction.d.ts +0 -12
  32. package/dist/types/modals/InteractiveActions/URLNavigationAction.d.ts +0 -30
  33. package/dist/types/modals/InteractiveActions/index.d.ts +0 -3
  34. package/dist/types/modals/InteractiveElements/BaseInputElement.d.ts +0 -50
  35. package/dist/types/modals/InteractiveElements/BaseInteractiveElement.d.ts +0 -25
  36. package/dist/types/modals/InteractiveElements/ButtonElement.d.ts +0 -48
  37. package/dist/types/modals/InteractiveElements/CheckboxElement.d.ts +0 -46
  38. package/dist/types/modals/InteractiveElements/DateTimePickerElement.d.ts +0 -124
  39. package/dist/types/modals/InteractiveElements/DropdownElement.d.ts +0 -55
  40. package/dist/types/modals/InteractiveElements/LabelElement.d.ts +0 -29
  41. package/dist/types/modals/InteractiveElements/OptionElement.d.ts +0 -35
  42. package/dist/types/modals/InteractiveElements/RadioButtonElement.d.ts +0 -54
  43. package/dist/types/modals/InteractiveElements/SingleSelectElement.d.ts +0 -50
  44. package/dist/types/modals/InteractiveElements/TextInputElement.d.ts +0 -69
  45. package/dist/types/modals/InteractiveElements/index.d.ts +0 -11
  46. package/dist/types/modals/InteractiveEntities/ActionEntity.d.ts +0 -32
  47. package/dist/types/modals/InteractiveEntities/ElementEntity.d.ts +0 -35
  48. package/dist/types/modals/InteractiveEntities/index.d.ts +0 -2
  49. package/dist/types/modals/InteractiveMessage/CardMessage.d.ts +0 -69
  50. package/dist/types/modals/InteractiveMessage/CustomInteractiveMessage.d.ts +0 -20
  51. package/dist/types/modals/InteractiveMessage/FormMessage.d.ts +0 -75
  52. package/dist/types/modals/InteractiveMessage/SchedulerMessage.d.ts +0 -230
  53. package/dist/types/modals/InteractiveMessage/index.d.ts +0 -5
  54. package/dist/types/src/CometChatCustomHooks.d.ts +0 -27
  55. package/dist/types/src/CometChatUIKit/CometChatCalls.d.ts +0 -1
  56. package/dist/types/src/CometChatUIKit/CometChatUIKit.d.ts +0 -147
  57. package/dist/types/src/CometChatUIKit/CometChatUIKitLoginListener.d.ts +0 -32
  58. package/dist/types/src/CometChatUIKit/CometChatUIKitUtility.d.ts +0 -81
  59. package/dist/types/src/CometChatUIKit/UIKitSettings.d.ts +0 -304
  60. package/dist/types/src/Enums/Enums.d.ts +0 -258
  61. package/dist/types/src/components/AI/AIBaseConfiguration.d.ts +0 -51
  62. package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterConfiguration.d.ts +0 -20
  63. package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterDecorator.d.ts +0 -18
  64. package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterExtension.d.ts +0 -8
  65. package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterView.d.ts +0 -8
  66. package/dist/types/src/components/AI/AIConversationSummary/AIConversationSummaryConfiguration.d.ts +0 -31
  67. package/dist/types/src/components/AI/AIConversationSummary/AIConversationSummaryDecorator.d.ts +0 -22
  68. package/dist/types/src/components/AI/AIConversationSummary/AIConversationSummaryExtension.d.ts +0 -8
  69. package/dist/types/src/components/AI/AIConversationSummary/AIConversationSummaryView.d.ts +0 -9
  70. package/dist/types/src/components/AI/AIExtensionDataSource.d.ts +0 -6
  71. package/dist/types/src/components/AI/AISmartReplies/AISmartRepliesConfiguration.d.ts +0 -28
  72. package/dist/types/src/components/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +0 -21
  73. package/dist/types/src/components/AI/AISmartReplies/AISmartRepliesExtension.d.ts +0 -8
  74. package/dist/types/src/components/AI/AISmartReplies/AISmartRepliesView.d.ts +0 -11
  75. package/dist/types/src/components/BaseComponents/CometChatActionBubble/CometChatActionBubble.d.ts +0 -8
  76. package/dist/types/src/components/BaseComponents/CometChatActionSheet/CometChatActionSheet.d.ts +0 -7
  77. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/CometChatAudioBubble.d.ts +0 -6
  78. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/base-plugin.d.ts +0 -21
  79. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/decoder.d.ts +0 -9
  80. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/dom.d.ts +0 -13
  81. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/draggable.d.ts +0 -1
  82. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/event-emitter.d.ts +0 -21
  83. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/fetcher.d.ts +0 -5
  84. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/player.d.ts +0 -50
  85. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/envelope.d.ts +0 -79
  86. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/hover.d.ts +0 -36
  87. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/minimap.d.ts +0 -65
  88. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/record.d.ts +0 -89
  89. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/regions.d.ts +0 -139
  90. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/spectrogram.d.ts +0 -98
  91. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/timeline.d.ts +0 -54
  92. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/zoom.d.ts +0 -55
  93. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/renderer.d.ts +0 -63
  94. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/timer.d.ts +0 -11
  95. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/wavesurfer.d.ts +0 -223
  96. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/webaudio.d.ts +0 -63
  97. package/dist/types/src/components/BaseComponents/CometChatAvatar/CometChatAvatar.d.ts +0 -13
  98. package/dist/types/src/components/BaseComponents/CometChatButton/CometChatButton.d.ts +0 -12
  99. package/dist/types/src/components/BaseComponents/CometChatCallBubble/CometChatCallBubble.d.ts +0 -12
  100. package/dist/types/src/components/BaseComponents/CometChatChangeScope/CometChatChangeScope.d.ts +0 -10
  101. package/dist/types/src/components/BaseComponents/CometChatChangeScope/useCometChatChangeScope.d.ts +0 -10
  102. package/dist/types/src/components/BaseComponents/CometChatCheckbox/CometChatCheckbox.d.ts +0 -11
  103. package/dist/types/src/components/BaseComponents/CometChatCheckbox/useCometChatCheckbox.d.ts +0 -11
  104. package/dist/types/src/components/BaseComponents/CometChatConfirmDialog/CometChatConfirmDialog.d.ts +0 -16
  105. package/dist/types/src/components/BaseComponents/CometChatContextMenu/CometChatContextMenu.d.ts +0 -17
  106. package/dist/types/src/components/BaseComponents/CometChatDate/CometChatDate.d.ts +0 -13
  107. package/dist/types/src/components/BaseComponents/CometChatDate/useCometChatDate.d.ts +0 -8
  108. package/dist/types/src/components/BaseComponents/CometChatDeleteBubble/CometChatDeleteBubble.d.ts +0 -14
  109. package/dist/types/src/components/BaseComponents/CometChatDocumentBubble/CometChatDocumentBubble.d.ts +0 -11
  110. package/dist/types/src/components/BaseComponents/CometChatDropDown/CometChatDropDown.d.ts +0 -14
  111. package/dist/types/src/components/BaseComponents/CometChatDropDown/useCometChatDropDown.d.ts +0 -12
  112. package/dist/types/src/components/BaseComponents/CometChatEditPreview/CometChatEditPreview.d.ts +0 -21
  113. package/dist/types/src/components/BaseComponents/CometChatEmojiKeyboard/CometChatEmoji.d.ts +0 -22
  114. package/dist/types/src/components/BaseComponents/CometChatEmojiKeyboard/CometChatEmojiKeyboard.d.ts +0 -7
  115. package/dist/types/src/components/BaseComponents/CometChatEmojiKeyboard/emojis.d.ts +0 -6579
  116. package/dist/types/src/components/BaseComponents/CometChatEmojiKeyboard/useCometChatEmojiKeyboard.d.ts +0 -17
  117. package/dist/types/src/components/BaseComponents/CometChatFileBubble/CometChatFileBubble.d.ts +0 -9
  118. package/dist/types/src/components/BaseComponents/CometChatFullScreenViewer/CometChatFullScreenViewer.d.ts +0 -23
  119. package/dist/types/src/components/BaseComponents/CometChatImageBubble/CometChatImageBubble.d.ts +0 -10
  120. package/dist/types/src/components/BaseComponents/CometChatImageBubble/useCometChatImageBubble.d.ts +0 -7
  121. package/dist/types/src/components/BaseComponents/CometChatList/CometChatList.d.ts +0 -156
  122. package/dist/types/src/components/BaseComponents/CometChatList/useCometChatList.d.ts +0 -17
  123. package/dist/types/src/components/BaseComponents/CometChatListItem/CometChatListItem.d.ts +0 -15
  124. package/dist/types/src/components/BaseComponents/CometChatListItem/useCometChatListItem.d.ts +0 -12
  125. package/dist/types/src/components/BaseComponents/CometChatLiveReaction/CometChatLiveReaction.d.ts +0 -5
  126. package/dist/types/src/components/BaseComponents/CometChatLiveReaction/useLiveReactionHook.d.ts +0 -19
  127. package/dist/types/src/components/BaseComponents/CometChatMediaRecorder/CometChatMediaRecorder.d.ts +0 -8
  128. package/dist/types/src/components/BaseComponents/CometChatMessageBubble/CometChatMessageBubble.d.ts +0 -28
  129. package/dist/types/src/components/BaseComponents/CometChatPopover/CometChatPopover.d.ts +0 -24
  130. package/dist/types/src/components/BaseComponents/CometChatRadioButton/CometChatRadioButton.d.ts +0 -14
  131. package/dist/types/src/components/BaseComponents/CometChatRadioButton/useCometChatRadioButton.d.ts +0 -13
  132. package/dist/types/src/components/BaseComponents/CometChatSearchBar/CometChatSearchBar.d.ts +0 -9
  133. package/dist/types/src/components/BaseComponents/CometChatSearchBar/useCometChatSearchBar.d.ts +0 -10
  134. package/dist/types/src/components/BaseComponents/CometChatTextBubble/CometChatTextBubble.d.ts +0 -8
  135. package/dist/types/src/components/BaseComponents/CometChatTextBubble/useCometChatTextBubble.d.ts +0 -6
  136. package/dist/types/src/components/BaseComponents/CometChatToast/CometChatToast.d.ts +0 -27
  137. package/dist/types/src/components/BaseComponents/CometChatVideoBubble/CometChatVideoBubble.d.ts +0 -9
  138. package/dist/types/src/components/BaseComponents/CometChatVideoBubble/useCometChatVideoBubble.d.ts +0 -6
  139. package/dist/types/src/components/Calling/CallButtonConfiguration.d.ts +0 -10
  140. package/dist/types/src/components/Calling/CallingConfiguration.d.ts +0 -7
  141. package/dist/types/src/components/Calling/CallingExtension.d.ts +0 -9
  142. package/dist/types/src/components/Calling/CallingExtensionDecorator.d.ts +0 -29
  143. package/dist/types/src/components/Calling/CometChatCallButtons/CometChatCallButtons.d.ts +0 -36
  144. package/dist/types/src/components/Calling/CometChatCallButtons/useCallButtons.d.ts +0 -6
  145. package/dist/types/src/components/Calling/CometChatCallLogs/CometChatCallLogs.d.ts +0 -71
  146. package/dist/types/src/components/Calling/CometChatCallLogs/useCometChatCallLogs.d.ts +0 -2
  147. package/dist/types/src/components/Calling/CometChatIncomingCall/CometChatIncomingCall.d.ts +0 -59
  148. package/dist/types/src/components/Calling/CometChatIncomingCall/useCometChatIncomingCall.d.ts +0 -2
  149. package/dist/types/src/components/Calling/CometChatOngoingCall/CometChatOngoingCall.d.ts +0 -10
  150. package/dist/types/src/components/Calling/CometChatOngoingCall/useCometChatOngoingCall.d.ts +0 -2
  151. package/dist/types/src/components/Calling/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +0 -36
  152. package/dist/types/src/components/Calling/CometChatOutgoingCall/useCometChatOutgoingCall.d.ts +0 -7
  153. package/dist/types/src/components/Calling/OutgoingCallConfiguration.d.ts +0 -8
  154. package/dist/types/src/components/Calling/Utils/utils.d.ts +0 -7
  155. package/dist/types/src/components/CometChatConversations/CometChatConversations.d.ts +0 -219
  156. package/dist/types/src/components/CometChatConversations/controller.d.ts +0 -74
  157. package/dist/types/src/components/CometChatConversations/useCometChatConversations.d.ts +0 -25
  158. package/dist/types/src/components/CometChatGroupMembers/CometChatGroupMembers.d.ts +0 -178
  159. package/dist/types/src/components/CometChatGroupMembers/controller.d.ts +0 -38
  160. package/dist/types/src/components/CometChatGroupMembers/useCometChatGroupMembers.d.ts +0 -22
  161. package/dist/types/src/components/CometChatGroups/CometChatGroups.d.ts +0 -150
  162. package/dist/types/src/components/CometChatGroups/controller.d.ts +0 -44
  163. package/dist/types/src/components/CometChatGroups/useCometChatGroups.d.ts +0 -15
  164. package/dist/types/src/components/CometChatMessageComposer/CometChatMessageComposer.d.ts +0 -166
  165. package/dist/types/src/components/CometChatMessageComposer/useCometChatMessageComposer.d.ts +0 -42
  166. package/dist/types/src/components/CometChatMessageHeader/CometChatMessageHeader.d.ts +0 -29
  167. package/dist/types/src/components/CometChatMessageHeader/useCometChatMessageHeader.d.ts +0 -3
  168. package/dist/types/src/components/CometChatMessageInformation/CometChatMessageInformation.d.ts +0 -6
  169. package/dist/types/src/components/CometChatMessageList/CometChatMessageList.d.ts +0 -132
  170. package/dist/types/src/components/CometChatMessageList/CometChatMessageListController.d.ts +0 -48
  171. package/dist/types/src/components/CometChatMessageList/useCometChatMessageList.d.ts +0 -6
  172. package/dist/types/src/components/CometChatThreadedMessagePreview/CometChatThreadedMessagePreview.d.ts +0 -11
  173. package/dist/types/src/components/CometChatUserMemberWrapper/CometChatUserMemberWrapper.d.ts +0 -21
  174. package/dist/types/src/components/CometChatUsers/CometChatUsers.d.ts +0 -193
  175. package/dist/types/src/components/CometChatUsers/controller.d.ts +0 -28
  176. package/dist/types/src/components/CometChatUsers/useCometChatUsers.d.ts +0 -19
  177. package/dist/types/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.d.ts +0 -35
  178. package/dist/types/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentConstants.d.ts +0 -15
  179. package/dist/types/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentExtension.d.ts +0 -37
  180. package/dist/types/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +0 -116
  181. package/dist/types/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.d.ts +0 -35
  182. package/dist/types/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConstants.d.ts +0 -13
  183. package/dist/types/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.d.ts +0 -29
  184. package/dist/types/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +0 -94
  185. package/dist/types/src/components/Extensions/ExtensionsDataSource.d.ts +0 -29
  186. package/dist/types/src/components/Extensions/ExtensionsId.d.ts +0 -22
  187. package/dist/types/src/components/Extensions/LinkPreview/LinkPreview.d.ts +0 -37
  188. package/dist/types/src/components/Extensions/LinkPreview/LinkPreviewConstants.d.ts +0 -11
  189. package/dist/types/src/components/Extensions/LinkPreview/LinkPreviewExtension.d.ts +0 -24
  190. package/dist/types/src/components/Extensions/LinkPreview/LinkPreviewExtensionDecorator.d.ts +0 -60
  191. package/dist/types/src/components/Extensions/MessageTranslation/MessageTranslationBubble.d.ts +0 -35
  192. package/dist/types/src/components/Extensions/MessageTranslation/MessageTranslationConstants.d.ts +0 -12
  193. package/dist/types/src/components/Extensions/MessageTranslation/MessageTranslationExtension.d.ts +0 -30
  194. package/dist/types/src/components/Extensions/MessageTranslation/MessageTranslationExtensionDecorator.d.ts +0 -53
  195. package/dist/types/src/components/Extensions/Polls/CreatePolls.d.ts +0 -66
  196. package/dist/types/src/components/Extensions/Polls/PollsBubble.d.ts +0 -35
  197. package/dist/types/src/components/Extensions/Polls/PollsConfiguration.d.ts +0 -19
  198. package/dist/types/src/components/Extensions/Polls/PollsConstants.d.ts +0 -8
  199. package/dist/types/src/components/Extensions/Polls/PollsExtension.d.ts +0 -8
  200. package/dist/types/src/components/Extensions/Polls/PollsExtensionDecorator.d.ts +0 -112
  201. package/dist/types/src/components/Extensions/Stickers/StickersConstants.d.ts +0 -16
  202. package/dist/types/src/components/Extensions/Stickers/StickersExtension.d.ts +0 -31
  203. package/dist/types/src/components/Extensions/Stickers/StickersExtensionDecorator.d.ts +0 -112
  204. package/dist/types/src/components/Extensions/Stickers/StickersKeyboard.d.ts +0 -29
  205. package/dist/types/src/components/Extensions/ThumbnailGeneration/ThumbnailGenerationConstants.d.ts +0 -13
  206. package/dist/types/src/components/Extensions/ThumbnailGeneration/ThumbnailGenerationExtension.d.ts +0 -21
  207. package/dist/types/src/components/Extensions/ThumbnailGeneration/ThumbnailGenerationExtensionDecorator.d.ts +0 -40
  208. package/dist/types/src/components/Reactions/CometChatReactionInfo/CometChatReactionInfo.d.ts +0 -9
  209. package/dist/types/src/components/Reactions/CometChatReactionList/CometChatReactionList.d.ts +0 -8
  210. package/dist/types/src/components/Reactions/CometChatReactions/CometChatReactions.d.ts +0 -12
  211. package/dist/types/src/constants/CometChatUIKitConstants.d.ts +0 -139
  212. package/dist/types/src/constants/CometChatUtilityConstants.d.ts +0 -9
  213. package/dist/types/src/constants/index.d.ts +0 -1
  214. package/dist/types/src/events/CometChatCallEvents.d.ts +0 -10
  215. package/dist/types/src/events/CometChatConversationEvents.d.ts +0 -13
  216. package/dist/types/src/events/CometChatGroupEvents.d.ts +0 -63
  217. package/dist/types/src/events/CometChatMessageEvents.d.ts +0 -43
  218. package/dist/types/src/events/CometChatUIEvents.d.ts +0 -59
  219. package/dist/types/src/events/CometChatUserEvents.d.ts +0 -16
  220. package/dist/types/src/formatters/CometChatFormatters/CometChatMentionsFormatter/CometChatMentionsFormatter.d.ts +0 -210
  221. package/dist/types/src/formatters/CometChatFormatters/CometChatTextFormatter.d.ts +0 -268
  222. package/dist/types/src/formatters/CometChatFormatters/CometChatUrlsFormatter/CometChatUrlsFormatter.d.ts +0 -12
  223. package/dist/types/src/formatters/index.d.ts +0 -3
  224. package/dist/types/src/index.d.ts +0 -108
  225. package/dist/types/src/modals/CometChatActions.d.ts +0 -36
  226. package/dist/types/src/modals/CometChatActionsIcon.d.ts +0 -38
  227. package/dist/types/src/modals/CometChatActionsView.d.ts +0 -39
  228. package/dist/types/src/modals/CometChatMessageComposerAction.d.ts +0 -33
  229. package/dist/types/src/modals/CometChatMessageOption.d.ts +0 -37
  230. package/dist/types/src/modals/CometChatMessageTemplate.d.ts +0 -70
  231. package/dist/types/src/modals/CometChatOption.d.ts +0 -20
  232. package/dist/types/src/modals/index.d.ts +0 -7
  233. package/dist/types/src/resources/CometChatLocalize/cometchat-localize.d.ts +0 -5603
  234. package/dist/types/src/resources/CometChatSoundManager/CometChatSoundManager.d.ts +0 -128
  235. package/dist/types/src/resources/index.d.ts +0 -1
  236. package/dist/types/src/utils/CallingDetailsUtils.d.ts +0 -42
  237. package/dist/types/src/utils/ChatConfigurator.d.ts +0 -12
  238. package/dist/types/src/utils/ChatSdkEventInitializer.d.ts +0 -6
  239. package/dist/types/src/utils/ConversationUtils.d.ts +0 -69
  240. package/dist/types/src/utils/DataSource.d.ts +0 -55
  241. package/dist/types/src/utils/DataSourceDecorator.d.ts +0 -57
  242. package/dist/types/src/utils/GroupMemberUtils.d.ts +0 -32
  243. package/dist/types/src/utils/MessageReceiptUtils.d.ts +0 -44
  244. package/dist/types/src/utils/MessageUtils.d.ts +0 -55
  245. package/dist/types/src/utils/MessagesDataSource.d.ts +0 -110
  246. package/dist/types/src/utils/Storage.d.ts +0 -33
  247. package/dist/types/src/utils/util.d.ts +0 -26
  248. package/dist/types/utils/IcsToJson.d.ts +0 -19
  249. package/dist/types/utils/InteractiveMessageUtils.d.ts +0 -71
@@ -53,6 +53,7 @@
53
53
  */
54
54
  .cometchat-edit-preview__subtitle {
55
55
  font-style: normal;
56
+ text-align: left;
56
57
  color: var(--cometchat-text-color-secondary);
57
58
  font: var(--cometchat-font-caption1-regular);
58
59
  }
@@ -21,6 +21,8 @@
21
21
  justify-content: flex-start;
22
22
  gap: var(--cometchat-padding-2, 8px);
23
23
  flex: 1 0 0;
24
+ width: inherit;
25
+ overflow: hidden;
24
26
  }
25
27
  /* Body section of the file bubble with text alignment and overflow settings */
26
28
  .cometchat-file-bubble__body {
@@ -141,6 +141,7 @@
141
141
  justify-content: space-between;
142
142
  align-items: flex-start;
143
143
  align-self: stretch;
144
+ flex-direction: column;
144
145
  }
145
146
 
146
147
  .cometchat-message-composer__header-error-state {
@@ -294,4 +295,8 @@
294
295
  /* Active stickerkeyboard button icon */
295
296
  .cometchat-message-composer div:not([class]) .cometchat-message-composer__auxilary-button-view-sticker-button-active .cometchat-button__icon {
296
297
  background: var(--cometchat-primary-color);
298
+ }
299
+
300
+ .cometchat-message-composer__input-mobile{
301
+ font: var( --cometchat-font-heading4-regular);
297
302
  }
@@ -10,6 +10,8 @@
10
10
  justify-content: space-between;
11
11
  height: 64px;
12
12
  background: var(--cometchat-background-color-01);
13
+ width: 100%;
14
+ overflow: hidden;
13
15
  }
14
16
 
15
17
  /* Subtitle styling within the message header */
@@ -50,6 +52,11 @@
50
52
  justify-content: flex-start;
51
53
  gap: var(--cometchat-padding-2, 8px);
52
54
  flex: 1 0 0;
55
+ width: 100%;
56
+ overflow: hidden;
57
+ }
58
+ .cometchat-message-header .cometchat-list-item__tail-view{
59
+ display: none;
53
60
  }
54
61
 
55
62
  /* Styling for the back button in the message header */
@@ -75,6 +82,7 @@
75
82
  display: flex;
76
83
  align-items: center;
77
84
  justify-content: flex-start;
85
+ overflow: hidden;
78
86
  }
79
87
 
80
88
  /* Menu container within the message header, aligned to the right */
@@ -148,6 +156,9 @@
148
156
  .cometchat-message-header__back-button {
149
157
  display: block;
150
158
  }
159
+ .cometchat-message-header .cometchat-list-item .cometchat-list-item__body-title {
160
+ display: initial;
161
+ }
151
162
  }
152
163
 
153
164
  @media (min-width: 769px) {
@@ -53,6 +53,7 @@
53
53
  */
54
54
  .cometchat-edit-preview__subtitle {
55
55
  font-style: normal;
56
+ text-align: left;
56
57
  color: var(--cometchat-text-color-secondary);
57
58
  font: var(--cometchat-font-caption1-regular);
58
59
  }
@@ -21,6 +21,8 @@
21
21
  justify-content: flex-start;
22
22
  gap: var(--cometchat-padding-2, 8px);
23
23
  flex: 1 0 0;
24
+ width: inherit;
25
+ overflow: hidden;
24
26
  }
25
27
  /* Body section of the file bubble with text alignment and overflow settings */
26
28
  .cometchat-file-bubble__body {
@@ -141,6 +141,7 @@
141
141
  justify-content: space-between;
142
142
  align-items: flex-start;
143
143
  align-self: stretch;
144
+ flex-direction: column;
144
145
  }
145
146
 
146
147
  .cometchat-message-composer__header-error-state {
@@ -294,4 +295,8 @@
294
295
  /* Active stickerkeyboard button icon */
295
296
  .cometchat-message-composer div:not([class]) .cometchat-message-composer__auxilary-button-view-sticker-button-active .cometchat-button__icon {
296
297
  background: var(--cometchat-primary-color);
298
+ }
299
+
300
+ .cometchat-message-composer__input-mobile{
301
+ font: var( --cometchat-font-heading4-regular);
297
302
  }
@@ -10,6 +10,8 @@
10
10
  justify-content: space-between;
11
11
  height: 64px;
12
12
  background: var(--cometchat-background-color-01);
13
+ width: 100%;
14
+ overflow: hidden;
13
15
  }
14
16
 
15
17
  /* Subtitle styling within the message header */
@@ -50,6 +52,11 @@
50
52
  justify-content: flex-start;
51
53
  gap: var(--cometchat-padding-2, 8px);
52
54
  flex: 1 0 0;
55
+ width: 100%;
56
+ overflow: hidden;
57
+ }
58
+ .cometchat-message-header .cometchat-list-item__tail-view{
59
+ display: none;
53
60
  }
54
61
 
55
62
  /* Styling for the back button in the message header */
@@ -75,6 +82,7 @@
75
82
  display: flex;
76
83
  align-items: center;
77
84
  justify-content: flex-start;
85
+ overflow: hidden;
78
86
  }
79
87
 
80
88
  /* Menu container within the message header, aligned to the right */
@@ -148,6 +156,9 @@
148
156
  .cometchat-message-header__back-button {
149
157
  display: block;
150
158
  }
159
+ .cometchat-message-header .cometchat-list-item .cometchat-list-item__body-title {
160
+ display: initial;
161
+ }
151
162
  }
152
163
 
153
164
  @media (min-width: 769px) {
@@ -72,6 +72,7 @@ font:var(--cometchat-font-body-regular);
72
72
  padding: 0px var(--cometchat-padding, 2px);
73
73
  justify-content: center;
74
74
  align-items: center;
75
+ cursor: pointer;
75
76
  }
76
77
  .cometchat-mentions-outgoing.cometchat-mentions-you{
77
78
  background: rgba(255, 171, 0, 0.20);
@@ -72,6 +72,7 @@ font:var(--cometchat-font-body-regular);
72
72
  padding: 0px var(--cometchat-padding, 2px);
73
73
  justify-content: center;
74
74
  align-items: center;
75
+ cursor: pointer;
75
76
  }
76
77
  .cometchat-mentions-outgoing.cometchat-mentions-you{
77
78
  background: rgba(255, 171, 0, 0.20);
@@ -1,5 +1,6 @@
1
1
  import { Subject } from "rxjs";
2
2
  import { MouseEventSource, PanelAlignment } from "../Enums/Enums";
3
+ import { ComposerId } from "../utils/MessagesDataSource";
3
4
  /**
4
5
  * UI event subjects for handling various UI-related actions (e.g., showing panels, modals, dialogs, etc.)
5
6
 
@@ -37,6 +38,7 @@ export interface IPanel {
37
38
  }
38
39
  export interface IModal {
39
40
  child?: any;
41
+ composerId?: ComposerId;
40
42
  }
41
43
  export interface IActiveChatChanged {
42
44
  user?: CometChat.User;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cometchat/chat-uikit-react",
3
- "version": "5.0.0-beta1",
3
+ "version": "5.0.0-beta2",
4
4
  "description": "Ready-to-use Chat UI Components for React(Javascript/Web)",
5
5
  "author": "CometChat",
6
6
  "dependencies": {
@@ -1,15 +0,0 @@
1
- .cometchat-badge {
2
- height: min-content;
3
- width: min-content;
4
- border-radius: 20px;
5
- background: #6852D6;
6
- font-weight: 400;
7
- font-size: 12px;
8
- color: white;
9
- display: flex;
10
- align-items: center;
11
- justify-content: center;
12
- padding: 4px;
13
- min-width: 26px;
14
- min-height: 16px;
15
- }
@@ -1,41 +0,0 @@
1
- * {
2
- box-sizing: border-box;
3
- }
4
-
5
- .cometchat-card {
6
- display: flex;
7
- flex-direction: column;
8
- align-items: center;
9
- padding: 8px;
10
- justify-content: space-between;
11
- height: 100%;
12
- width: 100%;
13
- }
14
-
15
- .cometchat-card__details {
16
- display: flex;
17
- flex-direction: column;
18
- align-items: center;
19
- justify-content: center;
20
- }
21
-
22
- .cometchat-card__subtitle-view {
23
- margin-bottom: 20px;
24
- }
25
-
26
- .cometchat-card__image {
27
- height: fit-content;
28
- width: fit-content;
29
- margin-bottom: 20px;
30
- display: flex;
31
- align-items: center;
32
- justify-content: center;
33
- }
34
-
35
- .cometchat-card__bottom-view {
36
- cursor: pointer;
37
- display: flex;
38
- flex-direction: column;
39
- justify-content: center;
40
- align-items: center;
41
- }
@@ -1,15 +0,0 @@
1
- .cometchat-badge {
2
- height: min-content;
3
- width: min-content;
4
- border-radius: 20px;
5
- background: #6852D6;
6
- font-weight: 400;
7
- font-size: 12px;
8
- color: white;
9
- display: flex;
10
- align-items: center;
11
- justify-content: center;
12
- padding: 4px;
13
- min-width: 26px;
14
- min-height: 16px;
15
- }
@@ -1,41 +0,0 @@
1
- * {
2
- box-sizing: border-box;
3
- }
4
-
5
- .cometchat-card {
6
- display: flex;
7
- flex-direction: column;
8
- align-items: center;
9
- padding: 8px;
10
- justify-content: space-between;
11
- height: 100%;
12
- width: 100%;
13
- }
14
-
15
- .cometchat-card__details {
16
- display: flex;
17
- flex-direction: column;
18
- align-items: center;
19
- justify-content: center;
20
- }
21
-
22
- .cometchat-card__subtitle-view {
23
- margin-bottom: 20px;
24
- }
25
-
26
- .cometchat-card__image {
27
- height: fit-content;
28
- width: fit-content;
29
- margin-bottom: 20px;
30
- display: flex;
31
- align-items: center;
32
- justify-content: center;
33
- }
34
-
35
- .cometchat-card__bottom-view {
36
- cursor: pointer;
37
- display: flex;
38
- flex-direction: column;
39
- justify-content: center;
40
- align-items: center;
41
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * Global settings object for CometChat UIKit.
3
- *
4
- * This variable holds shared configurations and settings that can be accessed
5
- * throughout the CometChat UIKit. It can be used to store and retrieve
6
- * various settings that affect the behavior of the UIKit components.
7
- */
8
- export declare var CometChatUIKitSharedSettings: any;
@@ -1,10 +0,0 @@
1
- interface BadgeProps {
2
- count: number | string;
3
- }
4
- /**
5
- The CometChatBadge component is a generic component used to display numbers as a label.
6
- It is generally used to display unread message count.
7
- It accepts a count as an input, and developers can override the "cometchat-badge" class for customization purposes.
8
- */
9
- declare const CometChatBadge: (props: BadgeProps) => import("react/jsx-runtime").JSX.Element | null;
10
- export { CometChatBadge };
@@ -1,15 +0,0 @@
1
- interface BaseProps {
2
- /** URL of the avatar to be displayed. */
3
- avatarURL?: string;
4
- /** Name used for displaying initials in the avatar. */
5
- avatarName?: string;
6
- /** Title to be displayed for the card. */
7
- title: string;
8
- }
9
- type CometChatAvatarProps = BaseProps & {
10
- avatarURL: string;
11
- } | BaseProps & {
12
- avatarName: string;
13
- };
14
- declare const CometChatCard: (props: CometChatAvatarProps) => import("react/jsx-runtime").JSX.Element;
15
- export { CometChatCard };
@@ -1,9 +0,0 @@
1
- interface BaseProps {
2
- title: string;
3
- subtitle: string;
4
- closeIconURL?: string;
5
- hideCloseIcon: boolean;
6
- onCloseButtonClicked: () => void;
7
- }
8
- declare const CometChatQuickView: (props: BaseProps) => import("react/jsx-runtime").JSX.Element;
9
- export { CometChatQuickView };
@@ -1,8 +0,0 @@
1
- import React from "react";
2
- interface CometChatSingleSelectProps {
3
- options: string[];
4
- selectedOption?: string;
5
- onOptionChange?: (selectedOption: string) => void;
6
- }
7
- declare const CometChatSingleSelect: React.FC<CometChatSingleSelectProps>;
8
- export { CometChatSingleSelect };
@@ -1,23 +0,0 @@
1
- import { CSSProperties } from 'react';
2
- import { UserMemberListType, UserPresencePlacement } from '../../Enums/Enums';
3
- export interface IMentionsProps {
4
- userMemberListType?: UserMemberListType;
5
- onItemClick?: (user: CometChat.User | CometChat.GroupMember) => void;
6
- listItemView?: (item?: CometChat.User | CometChat.GroupMember) => JSX.Element;
7
- statusIndicatorStyle?: CSSProperties;
8
- searchKeyword?: string;
9
- group?: CometChat.Group;
10
- subtitleView?: (item?: CometChat.User | CometChat.GroupMember) => JSX.Element;
11
- usersRequestBuilder?: CometChat.UsersRequestBuilder;
12
- disableUsersPresence?: boolean;
13
- userPresencePlacement?: UserPresencePlacement;
14
- hideSeparator?: boolean;
15
- loadingStateView?: JSX.Element;
16
- onEmpty?: () => void;
17
- groupMemberRequestBuilder?: CometChat.GroupMembersRequestBuilder;
18
- loadingIconUrl?: string;
19
- disableLoadingState?: boolean;
20
- onError?: () => void;
21
- }
22
- declare function CometChatUserMemberWrapper(props: IMentionsProps): import("react/jsx-runtime").JSX.Element;
23
- export default CometChatUserMemberWrapper;
@@ -1,108 +0,0 @@
1
- import { ButtonAction, DateTimePickerMode, ElementType } from "../../Enums/Enums";
2
- import { OptionElement } from "../InteractiveElements";
3
- import { ActionEntity } from "../InteractiveEntities/ActionEntity";
4
- import { CardData } from "../InteractiveMessage/CardMessage";
5
- import { FormData } from "../InteractiveMessage/FormMessage";
6
- import { InteractiveData } from "../InteractiveMessage/SchedulerMessage";
7
- import { CustomAction } from "./CustomAction";
8
- import { URLNavigationAction } from "./URLNavigationAction";
9
- export interface fromJsonType {
10
- url?: string;
11
- method?: string;
12
- payload?: Object;
13
- headers?: Object;
14
- actionType?: ButtonAction;
15
- elementType?: string | ElementType;
16
- data?: {
17
- interactiveData: CardData & FormData & InteractiveData;
18
- };
19
- receiverId?: string;
20
- receiverType?: string;
21
- receiver?: string;
22
- optional?: boolean | string;
23
- elementId?: string;
24
- action?: (APIAction | URLNavigationAction | CustomAction) & fromJsonType;
25
- buttonText?: string;
26
- disableAfterInteracted?: boolean;
27
- label?: string;
28
- defaultValue?: string[] & string;
29
- options?: OptionElement[];
30
- mode?: DateTimePickerMode;
31
- timezoneCode?: string;
32
- from?: string;
33
- to?: string;
34
- dateTimeFormat?: string;
35
- text?: string;
36
- value?: string;
37
- maxLines?: number;
38
- placeholder?: {
39
- text: string;
40
- };
41
- }
42
- /**
43
- * Represents an API action that can be performed on a dynamic form.
44
- */
45
- export declare class APIAction extends ActionEntity {
46
- /**
47
- * The URL to which the API action should be performed.
48
- */
49
- private url;
50
- /**
51
- * The HTTP method to be used for the API action.
52
- */
53
- private method;
54
- /**
55
- * The payload to be sent with the API action.
56
- */
57
- private payload?;
58
- /**
59
- * The headers to be sent with the API action.
60
- */
61
- private headers?;
62
- /**
63
- * Creates a new instance of the APIAction class.
64
- * @param {string} url - The URL to which the API action should be performed.
65
- * @param {string} method - The HTTP method to be used for the API action.
66
- */
67
- constructor(url: string, method: string);
68
- /**
69
- * Returns the URL to which the API action should be performed.
70
- * @returns {string} The URL to which the API action should be performed.
71
- */
72
- getURL(): string;
73
- /**
74
- * Returns the HTTP method to be used for the API action.
75
- * @returns {string} The HTTP method to be used for the API action.
76
- */
77
- getMethod(): string;
78
- /**
79
- * Returns the payload to be sent with the API action.
80
- * @returns {Object} The payload to be sent with the API action.
81
- */
82
- getPayload(): Object | undefined;
83
- /**
84
- * Sets the payload to be sent with the API action.
85
- * @param {Object} payload - The payload to be sent with the API action.
86
- */
87
- setPayload(payload: Object): void;
88
- /**
89
- * Returns the headers to be sent with the API action.
90
- * @returns {Object} The headers to be sent with the API action.
91
- */
92
- getHeaders(): Object | undefined;
93
- /**
94
- * Sets the headers to be sent with the API action.
95
- * @param {Object} headers - The headers to be sent with the API action.
96
- */
97
- setHeaders(headers: Object): void;
98
- /**
99
- * Creates an `APIAction` instance from a JSON object.
100
- *
101
- * Initializes the `APIAction` with URL and method, and sets payload
102
- * and headers if provided.
103
- *
104
- * @param {fromJsonType} json - The JSON object with API action properties.
105
- * @returns {APIAction} The `APIAction` instance.
106
- */
107
- static fromJSON(json: fromJsonType): APIAction;
108
- }
@@ -1,12 +0,0 @@
1
- import { ActionEntity } from "../InteractiveEntities/ActionEntity";
2
- /**
3
- * Represents a custom action entity.
4
- */
5
- export declare class CustomAction extends ActionEntity {
6
- constructor();
7
- /**
8
- * Creates a new CustomAction object from a JSON object.
9
- * @returns A new CustomAction object created from the JSON object.
10
- */
11
- static fromJSON(): CustomAction;
12
- }
@@ -1,30 +0,0 @@
1
- import { ActionEntity } from "../InteractiveEntities/ActionEntity";
2
- import { fromJsonType } from "./APIAction";
3
- /**
4
- * Represents a URL navigation action that can be performed on a dynamic form.
5
- */
6
- export declare class URLNavigationAction extends ActionEntity {
7
- /**
8
- * The URL to navigate to.
9
- */
10
- private url;
11
- /**
12
- * Creates a new instance of the URLNavigationAction class.
13
- * @param {string} url - The URL to navigate to.
14
- */
15
- constructor(url: string);
16
- /**
17
- * Returns the URL to navigate to.
18
- * @returns {string} The URL to navigate to.
19
- */
20
- getURL(): string;
21
- /**
22
- * Creates a `URLNavigationAction` instance from a JSON object.
23
- *
24
- * Initializes the `URLNavigationAction` with the provided URL.
25
- *
26
- * @param {fromJsonType} json - The JSON object containing the URL.
27
- * @returns {URLNavigationAction} The `URLNavigationAction` instance.
28
- */
29
- static fromJSON(json: fromJsonType): URLNavigationAction;
30
- }
@@ -1,3 +0,0 @@
1
- export { APIAction } from "./APIAction";
2
- export { URLNavigationAction } from "./URLNavigationAction";
3
- export { CustomAction } from "./CustomAction";
@@ -1,50 +0,0 @@
1
- import { ElementEntity } from "../InteractiveEntities/ElementEntity";
2
- import { fromJsonType } from "../InteractiveActions/APIAction";
3
- /**
4
- * Represents the base input for a dynamic form element.
5
- */
6
- export declare class BaseInputElement<T> extends ElementEntity {
7
- /**
8
- * The response of an input.
9
- */
10
- private response?;
11
- /**
12
- * Whether the input element is optional or required.
13
- * */
14
- private optional?;
15
- /**
16
- * Creates a new instance of the BaseInputElement class.
17
- * @param {string} elementId - The unique identifier of the form element.
18
- * @param {string} elementType - The type of the form element.
19
- */
20
- constructor(elementId: string, elementType: string);
21
- /**
22
- * Sets the response of an input.
23
- */
24
- setResponse(response: T): void;
25
- /**
26
- * Returns the response of an input.
27
- * @returns {T} The response of an input.
28
- */
29
- getResponse(): T | undefined;
30
- /**
31
- * Returns whether the element is optional or required.
32
- * @returns {boolean} Whether the element is optional or required.
33
- */
34
- getOptional(): boolean | undefined;
35
- /**
36
- * Sets whether the element is optional or required.
37
- * @param {boolean} optional - Whether the element is optional or required.
38
- */
39
- setOptional(optional: boolean | string): void;
40
- /**
41
- * Creates an `ElementEntity` from a JSON object based on the `elementType`.
42
- *
43
- * Initializes the element type (e.g., text, checkbox) and sets the optional property.
44
- * Creates a default `TextInputElement` if the `elementType` is unrecognized.
45
- *
46
- * @param {fromJsonType} json - The JSON object with element properties, including `elementType` and `optional`.
47
- * @returns {ElementEntity} The constructed `ElementEntity`.
48
- */
49
- static fromJSON(json: fromJsonType): ElementEntity;
50
- }
@@ -1,25 +0,0 @@
1
- import { APIAction, CustomAction, URLNavigationAction } from "../InteractiveActions";
2
- import { ElementEntity } from "../InteractiveEntities";
3
- import { fromJsonType } from "../InteractiveActions/APIAction";
4
- /**
5
- * Represents a base interactive element in a interactive message.
6
- */
7
- export declare class BaseInteractiveElement extends ElementEntity {
8
- /**
9
- * Represents an action that can be performed on the message.
10
- */
11
- private action;
12
- constructor(elementId: string, elementType: string, action: APIAction | URLNavigationAction | CustomAction);
13
- /**
14
- * Returns the action associated with the bubble.
15
- * @returns {APIAction | URLNavigationAction | CustomAction} The action associated with the bubble.
16
- */
17
- getAction(): APIAction | URLNavigationAction | CustomAction;
18
- /**
19
- * Creates a `BaseInteractiveElement` instance from a JSON object based on the element type.
20
- * @param {fromJsonType} json - The JSON object containing the properties of the interactive element, including `elementType`.
21
- * @param {string} json.elementType - The type of the element to create (e.g., `button`).
22
- * @returns {BaseInteractiveElement} The constructed `BaseInteractiveElement` instance.
23
- */
24
- static fromJSON(json: fromJsonType): BaseInteractiveElement;
25
- }