@cometchat/chat-uikit-react 5.0.0-beta2 → 5.0.0
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/README.md +2 -2
- package/dist/assets/Send.svg +3 -0
- package/dist/assets/loading.svg +5 -16
- package/dist/index.d.ts +1155 -950
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/styles/CometChatCallButtons.css +1 -1
- package/dist/styles/CometChatCallLogs.css +3 -3
- package/dist/styles/{components/AIConversationStarter.css → CometChatConversationStarter.css} +2 -2
- package/dist/styles/{components/AIConversationSummary.css → CometChatConversationSummary.css} +12 -12
- package/dist/styles/CometChatConversations.css +10 -10
- package/dist/styles/CometChatGroupMembers.css +5 -5
- package/dist/styles/CometChatIncomingCall.css +1 -1
- package/dist/styles/CometChatList.css +15 -22
- package/dist/styles/CometChatListItem.css +2 -2
- package/dist/styles/CometChatMessageComposer.css +44 -41
- package/dist/styles/CometChatMessageHeader.css +22 -5
- package/dist/styles/CometChatMessageInformation.css +3 -2
- package/dist/styles/CometChatMessageList.css +6 -5
- package/dist/styles/CometChatOutgoingCall.css +5 -0
- package/dist/styles/{AISmartReplies.css → CometChatSmartReplies.css} +72 -79
- package/dist/styles/PollsBubble.css +7 -1
- package/dist/styles/components/CometChatCallButtons.css +1 -1
- package/dist/styles/components/CometChatCallLogs.css +3 -3
- package/dist/styles/{AIConversationStarter.css → components/CometChatConversationStarter.css} +2 -2
- package/dist/styles/{AIConversationSummary.css → components/CometChatConversationSummary.css} +12 -12
- package/dist/styles/components/CometChatConversations.css +10 -10
- package/dist/styles/components/CometChatGroupMembers.css +5 -5
- package/dist/styles/components/CometChatIncomingCall.css +1 -1
- package/dist/styles/components/CometChatList.css +15 -22
- package/dist/styles/components/CometChatListItem.css +2 -2
- package/dist/styles/components/CometChatMessageComposer.css +44 -41
- package/dist/styles/components/CometChatMessageHeader.css +22 -5
- package/dist/styles/components/CometChatMessageInformation.css +3 -2
- package/dist/styles/components/CometChatMessageList.css +6 -5
- package/dist/styles/components/CometChatOutgoingCall.css +5 -0
- package/dist/styles/components/{AISmartReplies.css → CometChatSmartReplies.css} +72 -79
- package/dist/styles/components/PollsBubble.css +7 -1
- package/dist/styles/components/index.css +3 -3
- package/dist/styles/index.css +3 -3
- package/dist/types/CometChatCustomHooks.d.ts +1 -1
- package/dist/types/CometChatUIKit/CometChatUIKit.d.ts +0 -6
- package/dist/types/CometChatUIKit/UIKitSettings.d.ts +0 -22
- package/dist/types/Enums/Enums.d.ts +9 -0
- package/dist/types/components/BaseComponents/CometChatConversationStarter/CometChatConversationStarter.d.ts +6 -0
- package/dist/types/components/BaseComponents/CometChatConversationSummary/CometChatConversationSummary.d.ts +6 -0
- package/dist/types/components/BaseComponents/CometChatList/CometChatList.d.ts +12 -12
- package/dist/types/components/BaseComponents/CometChatListItem/CometChatListItem.d.ts +3 -1
- package/dist/types/components/BaseComponents/CometChatSmartReplies/CometChatSmartReplies.d.ts +7 -0
- package/dist/types/components/Calling/CallButtonConfiguration.d.ts +1 -1
- package/dist/types/components/Calling/CallingExtensionDecorator.d.ts +2 -2
- package/dist/types/components/Calling/CometChatCallButtons/CometChatCallButtons.d.ts +30 -12
- package/dist/types/components/Calling/CometChatCallButtons/useCallButtons.d.ts +1 -1
- package/dist/types/components/Calling/CometChatCallLogs/CometChatCallLogs.d.ts +50 -38
- package/dist/types/components/Calling/CometChatCallLogs/useCometChatCallLogs.d.ts +1 -1
- package/dist/types/components/Calling/CometChatIncomingCall/CometChatIncomingCall.d.ts +48 -26
- package/dist/types/components/Calling/CometChatIncomingCall/useCometChatIncomingCall.d.ts +1 -1
- package/dist/types/components/Calling/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +31 -15
- package/dist/types/components/Calling/CometChatOutgoingCall/useCometChatOutgoingCall.d.ts +1 -1
- package/dist/types/components/Calling/OutgoingCallConfiguration.d.ts +7 -3
- package/dist/types/components/CometChatConversations/CometChatConversations.d.ts +88 -87
- package/dist/types/components/CometChatConversations/controller.d.ts +10 -8
- package/dist/types/components/CometChatConversations/useCometChatConversations.d.ts +2 -5
- package/dist/types/components/CometChatGroupMembers/CometChatGroupMembers.d.ts +94 -76
- package/dist/types/components/CometChatGroupMembers/useCometChatGroupMembers.d.ts +2 -2
- package/dist/types/components/CometChatGroups/CometChatGroups.d.ts +74 -62
- package/dist/types/components/CometChatGroups/useCometChatGroups.d.ts +1 -0
- package/dist/types/components/CometChatMessageComposer/CometChatMessageComposer.d.ts +107 -49
- package/dist/types/components/CometChatMessageComposer/useCometChatMessageComposer.d.ts +1 -1
- package/dist/types/components/CometChatMessageHeader/CometChatMessageHeader.d.ts +77 -16
- package/dist/types/components/CometChatMessageHeader/useCometChatMessageHeader.d.ts +1 -1
- package/dist/types/components/CometChatMessageInformation/CometChatMessageInformation.d.ts +5 -0
- package/dist/types/components/CometChatMessageList/CometChatMessageList.d.ts +133 -55
- package/dist/types/components/CometChatMessageList/CometChatMessageListController.d.ts +3 -1
- package/dist/types/components/CometChatMessageList/useCometChatMessageList.d.ts +1 -1
- package/dist/types/components/CometChatThreadedMessagePreview/CometChatThreadedMessagePreview.d.ts +34 -2
- package/dist/types/components/CometChatUsers/CometChatUsers.d.ts +88 -89
- package/dist/types/components/CometChatUsers/useCometChatUsers.d.ts +2 -1
- package/dist/types/components/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +4 -3
- package/dist/types/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +4 -3
- package/dist/types/components/Extensions/MessageTranslation/MessageTranslationExtensionDecorator.d.ts +3 -1
- package/dist/types/components/Extensions/Polls/PollsBubble.d.ts +5 -0
- package/dist/types/components/Extensions/Polls/PollsExtensionDecorator.d.ts +4 -3
- package/dist/types/components/Extensions/Stickers/StickersExtensionDecorator.d.ts +2 -3
- package/dist/types/components/Reactions/CometChatReactionInfo/CometChatReactionInfo.d.ts +3 -2
- package/dist/types/components/Reactions/CometChatReactionList/CometChatReactionList.d.ts +3 -2
- package/dist/types/components/Reactions/CometChatReactions/CometChatReactions.d.ts +3 -2
- package/dist/types/index.d.ts +8 -7
- package/dist/types/resources/CometChatLocalize/cometchat-localize.d.ts +129 -115
- package/dist/types/utils/DataSource.d.ts +17 -18
- package/dist/types/utils/DataSourceDecorator.d.ts +17 -18
- package/dist/types/utils/GroupMemberUtils.d.ts +1 -1
- package/dist/types/utils/MessageUtils.d.ts +1 -1
- package/dist/types/utils/MessagesDataSource.d.ts +29 -16
- package/dist/types/utils/util.d.ts +5 -0
- package/package.json +1 -1
- package/dist/assets/ai-empty.svg +0 -22
- package/dist/assets/ai-error.svg +0 -3
- package/dist/assets/heart-reaction.png +0 -0
- package/dist/assets/send.svg +0 -12
- package/dist/styles/AICard.css +0 -30
- package/dist/styles/components/AICard.css +0 -30
- package/dist/types/components/AI/AIBaseConfiguration.d.ts +0 -51
- package/dist/types/components/AI/AIConversationStarter/AIConversationStarterConfiguration.d.ts +0 -20
- package/dist/types/components/AI/AIConversationStarter/AIConversationStarterDecorator.d.ts +0 -18
- package/dist/types/components/AI/AIConversationStarter/AIConversationStarterExtension.d.ts +0 -8
- package/dist/types/components/AI/AIConversationStarter/AIConversationStarterView.d.ts +0 -8
- package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryConfiguration.d.ts +0 -31
- package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryDecorator.d.ts +0 -22
- package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryExtension.d.ts +0 -8
- package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryView.d.ts +0 -9
- package/dist/types/components/AI/AIExtensionDataSource.d.ts +0 -6
- package/dist/types/components/AI/AISmartReplies/AISmartRepliesConfiguration.d.ts +0 -28
- package/dist/types/components/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +0 -21
- package/dist/types/components/AI/AISmartReplies/AISmartRepliesExtension.d.ts +0 -8
- package/dist/types/components/AI/AISmartReplies/AISmartRepliesView.d.ts +0 -11
- package/dist/types/components/BaseComponents/CometChatLiveReaction/CometChatLiveReaction.d.ts +0 -5
- package/dist/types/components/BaseComponents/CometChatLiveReaction/useLiveReactionHook.d.ts +0 -19
- /package/dist/assets/{ai.svg → conversation_summary.svg} +0 -0
package/README.md
CHANGED
|
@@ -26,8 +26,8 @@ To set up CometChat React UI Kit and utilize CometChat for your chat and calls f
|
|
|
26
26
|
- Register at the [CometChat Dashboard](https://app.cometchat.com/) to create an account.
|
|
27
27
|
- After registering, log into your CometChat account and create a new app. Once created, CometChat will generate an Auth Key and App ID for you. Keep these credentials secure as you'll need them later.
|
|
28
28
|
- Check the [Key Concepts](https://www.cometchat.com/docs/fundamentals/key-concepts) to understand the basic components of CometChat.
|
|
29
|
-
- Refer to the [Integration Steps](https://www.cometchat.com/docs/ui-kit/react/
|
|
29
|
+
- Refer to the [Integration Steps](https://www.cometchat.com/docs/ui-kit/react/integration) in our documentation to integrate the UI Kit into your React app.
|
|
30
30
|
|
|
31
31
|
## Help and Support
|
|
32
32
|
|
|
33
|
-
For issues running the project or integrating with our UI Kits, consult our [documentation](https://www.cometchat.com/docs/ui-kit/react/
|
|
33
|
+
For issues running the project or integrating with our UI Kits, consult our [documentation](https://www.cometchat.com/docs/ui-kit/react/integration) or create a [support ticket](https://help.cometchat.com/hc/en-us) or seek real-time support via the [CometChat Dashboard](https://app.cometchat.com/).
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M21.9996 12.7249L6.24531 19.3624C5.97731 19.4736 5.7249 19.4528 5.48806 19.3001C5.25123 19.1475 5.13281 18.9321 5.13281 18.6539V5.32915C5.13281 5.05115 5.25123 4.83582 5.48806 4.68315C5.7249 4.53048 5.97731 4.5069 6.24531 4.6124L21.9996 11.2581C22.3162 11.3955 22.4746 11.6396 22.4746 11.9904C22.4746 12.3412 22.3162 12.5861 21.9996 12.7249ZM6.71631 17.4041L19.6163 11.9874L6.71631 6.52065V10.4874L12.6328 11.9874L6.71631 13.4541V17.4041Z" fill="#141414"/>
|
|
3
|
+
</svg>
|
package/dist/assets/loading.svg
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
.st0{fill:none;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
|
|
7
|
-
</style>
|
|
8
|
-
<line class="st0" x1="16" y1="3" x2="16" y2="8"/>
|
|
9
|
-
<line class="st0" x1="6.8" y1="6.8" x2="10.3" y2="10.3"/>
|
|
10
|
-
<line class="st0" x1="3" y1="16" x2="8" y2="16"/>
|
|
11
|
-
<line class="st0" x1="6.8" y1="25.2" x2="10.3" y2="21.7"/>
|
|
12
|
-
<line class="st0" x1="16" y1="29" x2="16" y2="24"/>
|
|
13
|
-
<line class="st0" x1="25.2" y1="25.2" x2="21.7" y2="21.7"/>
|
|
14
|
-
<line class="st0" x1="29" y1="16" x2="24" y2="16"/>
|
|
15
|
-
<line class="st0" x1="25.2" y1="6.8" x2="21.7" y2="10.3"/>
|
|
16
|
-
</svg>
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<circle cx="12" cy="12" r="11.25" fill="#141414" stroke="#A1A1A1" stroke-width="1.5"/>
|
|
3
|
+
<path d="M17.25 21.0933C16.8913 21.3004 16.7684 21.7591 16.9755 22.1178C17.1826 22.4765 17.6413 22.5994 18 22.3923L17.25 21.0933ZM22.3936 16.3052L23.0866 16.5922L22.3936 16.3052ZM22.8667 9.08829L22.1422 9.2824V9.2824L22.8667 9.08829ZM18.8486 3.07478L19.3051 2.47976V2.47976L18.8486 3.07478ZM18 22.3923C20.2877 21.0715 22.0757 19.0327 23.0866 16.5922L21.7007 16.0182C20.8162 18.1536 19.2517 19.9376 17.25 21.0933L18 22.3923ZM23.0866 16.5922C24.0975 14.1517 24.2748 11.4458 23.5911 8.89417L22.1422 9.2824C22.7405 11.5151 22.5853 13.8827 21.7007 16.0182L23.0866 16.5922ZM23.5911 8.89417C22.9074 6.34257 21.4009 4.08787 19.3051 2.47976L18.392 3.66979C20.2258 5.07689 21.544 7.04975 22.1422 9.2824L23.5911 8.89417ZM19.3051 2.47976C17.2094 0.87165 14.6416 0 12 0V1.5C14.3114 1.5 16.5582 2.26269 18.392 3.66979L19.3051 2.47976Z" fill="white"/>
|
|
4
|
+
<path d="M11.9994 12.6979L8.80924 15.8879C8.70862 15.9887 8.59143 16.0386 8.45768 16.0378C8.32403 16.0369 8.20862 15.9861 8.11143 15.8854C8.01247 15.7847 7.96429 15.6688 7.9669 15.5378C7.9695 15.4066 8.01851 15.2934 8.11393 15.1979L11.3014 12L8.11393 8.80201C8.01851 8.7066 7.9708 8.59331 7.9708 8.46217C7.9708 8.33113 8.01851 8.21524 8.11393 8.11451C8.20945 8.01389 8.32403 7.96311 8.45768 7.96217C8.59143 7.96134 8.70862 8.00951 8.80924 8.1067L11.9994 11.302L15.1947 8.1067C15.2919 8.00951 15.4074 7.96134 15.5411 7.96217C15.6748 7.96311 15.792 8.01389 15.8927 8.11451C15.9881 8.21524 16.0345 8.33113 16.0319 8.46217C16.0293 8.59331 15.9803 8.7066 15.8849 8.80201L12.6974 12L15.8849 15.1979C15.9803 15.2934 16.028 15.4066 16.028 15.5378C16.028 15.6688 15.9803 15.7847 15.8849 15.8854C15.7893 15.9861 15.6748 16.0369 15.5411 16.0378C15.4074 16.0386 15.2919 15.9887 15.1947 15.8879L11.9994 12.6979Z" fill="white"/>
|
|
5
|
+
</svg>
|