sceyt-chat-react-uikit 1.8.3 → 1.8.4-beta.2
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/components/Message/OGMetadata/index.d.ts +2 -1
- package/components/VideoPlayer/index.d.ts +2 -1
- package/components/index.d.ts +2 -1
- package/index.js +552 -417
- package/index.modern.js +552 -418
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IAttachment, IOGMetadata } from '../../../types';
|
|
3
3
|
export declare const isDescriptionOnlySymbol: (description: string | undefined) => boolean;
|
|
4
|
-
declare const OGMetadata: ({ attachments, state, incoming, ogShowUrl, ogShowTitle, ogShowDescription, ogShowFavicon, order, maxWidth, maxHeight, ogContainerBorderRadius, ogContainerPadding, ogContainerClassName, ogContainerShowBackground, ogContainerBackground, infoPadding, ogContainerMargin, target, isInviteLink, metadataGetSuccessCallback }: {
|
|
4
|
+
declare const OGMetadata: ({ attachments, state, incoming, ogShowUrl, ogShowTitle, ogShowDescription, ogShowFavicon, order, maxWidth, maxHeight, ogContainerBorderRadius, ogContainerPadding, ogContainerClassName, ogContainerShowBackground, ogContainerBackground, infoPadding, ogContainerMargin, target, isInviteLink, onClick, metadataGetSuccessCallback }: {
|
|
5
5
|
attachments: IAttachment[];
|
|
6
6
|
state: string;
|
|
7
7
|
incoming: boolean;
|
|
@@ -26,6 +26,7 @@ declare const OGMetadata: ({ attachments, state, incoming, ogShowUrl, ogShowTitl
|
|
|
26
26
|
ogContainerMargin?: string | undefined;
|
|
27
27
|
target?: string | undefined;
|
|
28
28
|
isInviteLink?: boolean | undefined;
|
|
29
|
+
onClick?: (() => void) | undefined;
|
|
29
30
|
metadataGetSuccessCallback?: ((url: string, success: boolean, hasImage: boolean, metadata: IOGMetadata | null) => void) | undefined;
|
|
30
31
|
}) => React.JSX.Element | null;
|
|
31
32
|
export { OGMetadata };
|
|
@@ -4,6 +4,7 @@ interface IVideoPlayerProps {
|
|
|
4
4
|
videoFileId?: string;
|
|
5
5
|
activeFileId?: string;
|
|
6
6
|
onMouseDown?: (e: React.MouseEvent) => void;
|
|
7
|
+
readyToPlay: boolean;
|
|
7
8
|
}
|
|
8
|
-
declare const VideoPlayer: ({ src, videoFileId, activeFileId, onMouseDown }: IVideoPlayerProps) => React.JSX.Element;
|
|
9
|
+
declare const VideoPlayer: ({ src, videoFileId, activeFileId, onMouseDown, readyToPlay }: IVideoPlayerProps) => React.JSX.Element;
|
|
9
10
|
export default VideoPlayer;
|
package/components/index.d.ts
CHANGED
|
@@ -18,9 +18,10 @@ import DropDown from '../common/dropdown';
|
|
|
18
18
|
import { THEME_COLORS } from '../UIHelper/constants';
|
|
19
19
|
import { OGMetadata } from './Message/OGMetadata';
|
|
20
20
|
import PollMessage from './Message/PollMessage';
|
|
21
|
+
import ForwardMessagePopup from 'common/popups/forwardMessage';
|
|
21
22
|
import { createOrGetDirectChannel, switchChannelActiveChannel, handleSendMessage, handleGetMessage, blockUsers, unBlockUsers } from 'helpers/methods';
|
|
22
23
|
import { MESSAGE_TYPE } from 'types/enum';
|
|
23
|
-
export { SceytChat, ChannelList, Channel, Chat, ChatHeader, MessageList, SendMessage, ChannelDetails, MessagesScrollToBottomButton, MessagesScrollToUnreadMentionsButton, CreateChannel, ChannelSearch, Avatar, DropDown, Attachment, PollMessage, OGMetadata, EmojisPopup, FrequentlyEmojis, SceytChatUIKitTheme, ThemeMode, THEME_COLORS, MESSAGE_TYPE, handleSendMessage, handleGetMessage, createOrGetDirectChannel, switchChannelActiveChannel, blockUsers, unBlockUsers };
|
|
24
|
+
export { SceytChat, ChannelList, Channel, Chat, ChatHeader, MessageList, SendMessage, ChannelDetails, MessagesScrollToBottomButton, MessagesScrollToUnreadMentionsButton, CreateChannel, ChannelSearch, Avatar, DropDown, Attachment, PollMessage, OGMetadata, EmojisPopup, FrequentlyEmojis, SceytChatUIKitTheme, ThemeMode, THEME_COLORS, MESSAGE_TYPE, handleSendMessage, handleGetMessage, createOrGetDirectChannel, switchChannelActiveChannel, blockUsers, unBlockUsers, ForwardMessagePopup };
|
|
24
25
|
declare global {
|
|
25
26
|
interface Window {
|
|
26
27
|
sceytTabNotifications: any;
|