@cometchat/chat-uikit-react 6.0.2 → 6.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +61 -57
- package/dist/index.js +1 -10
- package/dist/index.js.map +1 -1
- package/dist/styles/CometChatConversationStarter.css +2 -1
- package/dist/styles/CometChatMediaRecorder.css +76 -4
- package/dist/styles/CometChatMessageBubble.css +4 -1
- package/dist/styles/CometChatMessageComposer.css +19 -2
- package/dist/styles/CometChatMessageInformation.css +4 -0
- package/dist/styles/CometChatMessageList.css +15 -6
- package/dist/styles/CometChatOngoingCall.css +2 -2
- package/dist/styles/CometChatReactionList.css +3 -4
- package/dist/styles/CometChatThreadHeader.css +1 -1
- package/dist/styles/components/CometChatConversationStarter.css +2 -1
- package/dist/styles/components/CometChatMediaRecorder.css +76 -4
- package/dist/styles/components/CometChatMessageBubble.css +4 -1
- package/dist/styles/components/CometChatMessageComposer.css +19 -2
- package/dist/styles/components/CometChatMessageInformation.css +4 -0
- package/dist/styles/components/CometChatMessageList.css +15 -6
- package/dist/styles/components/CometChatOngoingCall.css +2 -2
- package/dist/styles/components/CometChatReactionList.css +3 -4
- package/dist/styles/components/CometChatThreadHeader.css +1 -1
- package/dist/types/CometChatUIKit/CometChatUIKitUtility.d.ts +1 -0
- package/dist/types/components/BaseComponents/CometChatAudioBubble/src/webaudio.d.ts +2 -2
- package/dist/types/components/BaseComponents/CometChatEmojiKeyboard/useCometChatEmojiKeyboard.d.ts +1 -0
- package/dist/types/components/BaseComponents/CometChatListItem/CometChatListItem.d.ts +1 -0
- package/dist/types/components/BaseComponents/CometChatMessageBubble/CometChatMessageBubble.d.ts +1 -0
- package/dist/types/components/BaseComponents/CometChatPopover/CometChatPopover.d.ts +1 -0
- package/dist/types/components/Calling/CometChatCallLogs/CometChatCallLogs.d.ts +1 -0
- package/dist/types/components/Calling/CometChatIncomingCall/CometChatIncomingCall.d.ts +1 -0
- package/dist/types/components/Calling/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +1 -0
- package/dist/types/components/Calling/OutgoingCallConfiguration.d.ts +1 -0
- package/dist/types/components/CometChatConversations/controller.d.ts +1 -0
- package/dist/types/components/CometChatMessageList/CometChatMessageList.d.ts +1 -0
- package/dist/types/components/CometChatThreadHeader/CometChatThreadHeader.d.ts +1 -0
- package/dist/types/components/CometChatUserMemberWrapper/CometChatUserMemberWrapper.d.ts +1 -0
- package/dist/types/components/CometChatUsers/controller.d.ts +1 -0
- package/dist/types/components/Extensions/Stickers/StickersExtensionDecorator.d.ts +2 -4
- package/dist/types/components/Extensions/ThumbnailGeneration/ThumbnailGenerationExtensionDecorator.d.ts +1 -0
- package/dist/types/modals/CometChatActionsView.d.ts +1 -0
- package/dist/types/modals/CometChatMessageTemplate.d.ts +1 -0
- package/dist/types/utils/DataSource.d.ts +1 -0
- package/dist/types/utils/DataSourceDecorator.d.ts +1 -0
- package/dist/types/utils/MessagesDataSource.d.ts +8 -6
- package/package.json +1 -1
- package/rollup.config.js +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { CometChatMentionsFormatter } from "../formatters/CometChatFormatters/CometChatMentionsFormatter/CometChatMentionsFormatter";
|
|
2
3
|
import { CometChatTextFormatter } from "../formatters/CometChatFormatters/CometChatTextFormatter";
|
|
3
4
|
import { CometChatUrlsFormatter } from "../formatters/CometChatFormatters/CometChatUrlsFormatter/CometChatUrlsFormatter";
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CometChat } from "@cometchat/chat-sdk-javascript";
|
|
1
3
|
import { DataSource } from "./DataSource";
|
|
2
4
|
import { additionalParams } from "./ConversationUtils";
|
|
3
5
|
import { CometChatMentionsFormatter } from "../formatters/CometChatFormatters/CometChatMentionsFormatter/CometChatMentionsFormatter";
|
|
@@ -54,14 +56,14 @@ export declare class MessagesDataSource implements DataSource {
|
|
|
54
56
|
getMessageSentAtDateFormat(messageSentAtDateTimeFormat?: CalendarObject): {
|
|
55
57
|
today: string;
|
|
56
58
|
yesterday: string;
|
|
57
|
-
lastWeek?: string;
|
|
59
|
+
lastWeek?: string | undefined;
|
|
58
60
|
otherDays: string;
|
|
59
61
|
relativeTime?: {
|
|
60
|
-
minute?: string;
|
|
61
|
-
minutes?: string;
|
|
62
|
-
hour?: string;
|
|
63
|
-
hours?: string;
|
|
64
|
-
};
|
|
62
|
+
minute?: string | undefined;
|
|
63
|
+
minutes?: string | undefined;
|
|
64
|
+
hour?: string | undefined;
|
|
65
|
+
hours?: string | undefined;
|
|
66
|
+
} | undefined;
|
|
65
67
|
};
|
|
66
68
|
/**
|
|
67
69
|
* Function to get status and date for message bubble
|
package/package.json
CHANGED
package/rollup.config.js
CHANGED
|
@@ -44,7 +44,7 @@ export default [
|
|
|
44
44
|
}),
|
|
45
45
|
terser(),
|
|
46
46
|
],
|
|
47
|
-
external: ["react", "react-dom", "@cometchat/chat-sdk-javascript", "@cometchat/calls-sdk-javascript"],
|
|
47
|
+
external: ["react", "react-dom","react/jsx-runtime", "@cometchat/chat-sdk-javascript", "@cometchat/calls-sdk-javascript"],
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
input: "src/index.ts",
|