sceyt-chat-react-uikit 1.6.7 → 1.6.8-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/assets/svg/pin.svg +2 -2
- package/assets/svg/voicePreview.svg +2 -3
- package/assets/svg/voicePreviewPause.svg +2 -3
- package/components/Attachment/index.d.ts +4 -2
- package/components/Avatar/index.d.ts +6 -2
- package/components/Channel/index.d.ts +5 -3
- package/components/ChannelDetails/Actions/index.d.ts +2 -1
- package/components/ChannelDetails/DetailsTab/Files/index.d.ts +1 -1
- package/components/ChannelList/ContactItem/index.d.ts +1 -2
- package/components/ChatContainer/index.d.ts +2 -4
- package/components/Message/Message.types.d.ts +1 -0
- package/components/Message/MessageBody/index.d.ts +2 -1
- package/components/Message/MessageStatusAndTime/index.d.ts +2 -1
- package/components/Message/RepliedMessage/index.d.ts +1 -1
- package/components/Message/index.d.ts +1 -1
- package/components/MessageDivider/index.d.ts +1 -1
- package/components/Messages/MessageList/index.d.ts +5 -0
- package/components/SendMessageInput/MentionsPlugin/index.d.ts +1 -1
- package/components/SendMessageInput/RecordingAnimation.d.ts +3 -1
- package/components/VideoPreview/index.d.ts +1 -0
- package/index.js +1549 -1144
- package/index.modern.js +1549 -1144
- package/messageUtils/index.d.ts +2 -2
- package/package.json +1 -1
- package/assets/svg/voicePreviewHoverIcon.svg +0 -5
- package/assets/svg/voicePreviewPauseHover.svg +0 -5
- package/components/ChannelList/ChannelTabs/index.d.ts +0 -5
- package/components/Message/TextFormat/index.d.ts +0 -19
- package/components/Profile/index.d.ts +0 -3
package/assets/svg/pin.svg
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<path d="
|
|
1
|
+
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M10.0694 1.33856C10.2 0.68593 11.0052 0.442133 11.4758 0.912749L17.0859 6.5229C17.5566 6.99351 17.3128 7.79872 16.6601 7.92924L14.993 8.26267C14.9349 8.27429 14.8816 8.30285 14.8397 8.34474L12.173 11.0114C12.1223 11.0621 12.0915 11.1292 12.086 11.2006L11.7647 15.3777C11.7174 15.9926 11.1805 16.4527 10.5657 16.4054C10.2999 16.385 10.0502 16.2702 9.8617 16.0817L6.47863 12.698L2.08659 17.0906C1.76117 17.416 1.23355 17.416 0.90813 17.0906C0.609825 16.7923 0.584967 16.3241 0.833554 15.9974L0.90813 15.9121L5.29998 11.5194L1.91701 8.13699C1.51 7.72998 1.48287 7.08695 1.83561 6.64847L1.91701 6.55781C2.10549 6.36932 2.35519 6.25448 2.62096 6.23404L6.79808 5.91272C6.86951 5.90722 6.93662 5.87636 6.98728 5.8257L9.65395 3.15903C9.69585 3.11714 9.72441 3.06377 9.73603 3.00567L10.0694 1.33856Z" fill="currentColor"/>
|
|
3
3
|
</svg>
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect width="40" height="40" rx="
|
|
3
|
-
<
|
|
4
|
-
<path d="M25.0239 19.1307C25.6587 19.5145 25.6587 20.4839 25.0239 20.8676L18.4122 24.8653C17.7828 25.2459 17 24.7645 17 23.9969V16.0015C17 15.2338 17.7828 14.7525 18.4122 15.133L25.0239 19.1307Z" fill="white"/>
|
|
2
|
+
<rect width="40" height="40" rx="20" fill="#5159F6"/>
|
|
3
|
+
<path d="M27.5359 18.6961C28.488 19.2718 28.488 20.7258 27.5359 21.3015L17.6183 27.298C16.6742 27.8688 15.5 27.1467 15.5 25.9953V14.0022C15.5 12.8508 16.6742 12.1287 17.6183 12.6995L27.5359 18.6961Z" fill="white"/>
|
|
5
4
|
</svg>
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect width="40" height="40" rx="
|
|
3
|
-
<
|
|
4
|
-
<path d="M17.9744 15C18.3311 15 18.4604 15.0371 18.5907 15.1069C18.7211 15.1766 18.8234 15.2789 18.8931 15.4093C18.9629 15.5396 19 15.6689 19 16.0256V23.9744C19 24.3311 18.9629 24.4604 18.8931 24.5907C18.8234 24.7211 18.7211 24.8234 18.5907 24.8931C18.4604 24.9629 18.3311 25 17.9744 25H17.0256C16.6689 25 16.5396 24.9629 16.4093 24.8931C16.2789 24.8234 16.1766 24.7211 16.1069 24.5907C16.0371 24.4604 16 24.3311 16 23.9744V16.0256C16 15.6689 16.0371 15.5396 16.1069 15.4093C16.1766 15.2789 16.2789 15.1766 16.4093 15.1069C16.5396 15.0371 16.6689 15 17.0256 15H17.9744ZM22.9744 15C23.3311 15 23.4604 15.0371 23.5907 15.1069C23.7211 15.1766 23.8234 15.2789 23.8931 15.4093C23.9629 15.5396 24 15.6689 24 16.0256V23.9744C24 24.3311 23.9629 24.4604 23.8931 24.5907C23.8234 24.7211 23.7211 24.8234 23.5907 24.8931C23.4604 24.9629 23.3311 25 22.9744 25H22.0256C21.6689 25 21.5396 24.9629 21.4093 24.8931C21.2789 24.8234 21.1766 24.7211 21.1069 24.5907C21.0371 24.4604 21 24.3311 21 23.9744V16.0256C21 15.6689 21.0371 15.5396 21.1069 15.4093C21.1766 15.2789 21.2789 15.1766 21.4093 15.1069C21.5396 15.0371 21.6689 15 22.0256 15H22.9744Z" fill="white"/>
|
|
2
|
+
<rect width="40" height="40" rx="20" fill="#5159F6"/>
|
|
3
|
+
<path d="M16.9617 12.5C17.4966 12.5 17.6906 12.5557 17.8861 12.6603C18.0817 12.7649 18.2351 12.9183 18.3397 13.1139C18.4443 13.3094 18.5 13.5034 18.5 14.0383V25.9617C18.5 26.4966 18.4443 26.6906 18.3397 26.8861C18.2351 27.0817 18.0817 27.2351 17.8861 27.3397C17.6906 27.4443 17.4966 27.5 16.9617 27.5H15.5383C15.0034 27.5 14.8094 27.4443 14.6139 27.3397C14.4183 27.2351 14.2649 27.0817 14.1603 26.8861C14.0557 26.6906 14 26.4966 14 25.9617V14.0383C14 13.5034 14.0557 13.3094 14.1603 13.1139C14.2649 12.9183 14.4183 12.7649 14.6139 12.6603C14.8094 12.5557 15.0034 12.5 15.5383 12.5H16.9617ZM24.4617 12.5C24.9966 12.5 25.1906 12.5557 25.3861 12.6603C25.5817 12.7649 25.7351 12.9183 25.8397 13.1139C25.9443 13.3094 26 13.5034 26 14.0383V25.9617C26 26.4966 25.9443 26.6906 25.8397 26.8861C25.7351 27.0817 25.5817 27.2351 25.3861 27.3397C25.1906 27.4443 24.9966 27.5 24.4617 27.5H23.0383C22.5034 27.5 22.3094 27.4443 22.1139 27.3397C21.9183 27.2351 21.7649 27.0817 21.6603 26.8861C21.5557 26.6906 21.5 26.4966 21.5 25.9617V14.0383C21.5 13.5034 21.5557 13.3094 21.6603 13.1139C21.7649 12.9183 21.9183 12.7649 22.1139 12.6603C22.3094 12.5557 22.5034 12.5 23.0383 12.5H24.4617Z" fill="white"/>
|
|
5
4
|
</svg>
|
|
@@ -24,7 +24,9 @@ interface AttachmentPops {
|
|
|
24
24
|
}
|
|
25
25
|
declare const _default: React.MemoExoticComponent<({ attachment, isPreview, removeSelected, isRepliedMessage, borderRadius, handleMediaItemClick, setVideoIsReadyToSend, selectedFileAttachmentsIcon, backgroundColor, selectedFileAttachmentsBoxBorder, selectedFileAttachmentsTitleColor, selectedFileAttachmentsSizeColor, isDetailsView, imageMinWidth, closeMessageActions, fileAttachmentWidth, imageAttachmentMaxWidth, imageAttachmentMaxHeight, videoAttachmentMaxWidth, videoAttachmentMaxHeight }: AttachmentPops) => React.JSX.Element>;
|
|
26
26
|
export default _default;
|
|
27
|
-
export declare const SizeProgress: import("styled-components").StyledComponent<"span", any, {
|
|
27
|
+
export declare const SizeProgress: import("styled-components").StyledComponent<"span", any, {
|
|
28
|
+
color: string;
|
|
29
|
+
}, never>;
|
|
28
30
|
export declare const AttachmentFile: import("styled-components").StyledComponent<"div", any, {
|
|
29
31
|
isPreview?: boolean | undefined;
|
|
30
32
|
isRepliedMessage?: boolean | undefined;
|
|
@@ -33,6 +35,7 @@ export declare const AttachmentFile: import("styled-components").StyledComponent
|
|
|
33
35
|
background?: string | undefined;
|
|
34
36
|
border?: string | undefined;
|
|
35
37
|
width?: number | undefined;
|
|
38
|
+
borderColor: string;
|
|
36
39
|
}, never>;
|
|
37
40
|
export declare const AttachmentImg: import("styled-components").StyledComponent<"img", any, {
|
|
38
41
|
absolute?: boolean | undefined;
|
|
@@ -43,7 +46,6 @@ export declare const AttachmentImg: import("styled-components").StyledComponent<
|
|
|
43
46
|
hidden?: boolean | undefined;
|
|
44
47
|
isRepliedMessage?: boolean | undefined;
|
|
45
48
|
fitTheContainer?: boolean | undefined;
|
|
46
|
-
backgroundColor: string;
|
|
47
49
|
imageMinWidth?: string | undefined;
|
|
48
50
|
imageMaxHeight?: string | undefined;
|
|
49
51
|
}, never>;
|
|
@@ -30,5 +30,9 @@ interface AvatarImageProps {
|
|
|
30
30
|
}
|
|
31
31
|
export declare const Container: import("styled-components").StyledComponent<"div", any, ContainerProps, never>;
|
|
32
32
|
export declare const AvatarImage: import("styled-components").StyledComponent<"img", any, AvatarImageProps, never>;
|
|
33
|
-
export declare const DefaultAvatarWrapper: import("styled-components").StyledComponent<any, any, object
|
|
34
|
-
|
|
33
|
+
export declare const DefaultAvatarWrapper: import("styled-components").StyledComponent<any, any, object & {
|
|
34
|
+
color: string;
|
|
35
|
+
}, string | number | symbol>;
|
|
36
|
+
export declare const DeletedAvatarWrapper: import("styled-components").StyledComponent<any, any, object & {
|
|
37
|
+
color: string;
|
|
38
|
+
}, string | number | symbol>;
|
|
@@ -31,7 +31,7 @@ declare const Channel: React.FC<IChannelProps>;
|
|
|
31
31
|
export default Channel;
|
|
32
32
|
export interface UnreadCountProps {
|
|
33
33
|
readonly isMuted: boolean;
|
|
34
|
-
readonly backgroundColor
|
|
34
|
+
readonly backgroundColor: string;
|
|
35
35
|
readonly mutedBackgroundColor?: string;
|
|
36
36
|
width?: string;
|
|
37
37
|
height?: string;
|
|
@@ -49,7 +49,9 @@ export declare const ChannelInfo: import("styled-components").StyledComponent<"d
|
|
|
49
49
|
subjectColor: string;
|
|
50
50
|
avatarSize?: number | undefined;
|
|
51
51
|
}, never>;
|
|
52
|
-
export declare const MutedIcon: import("styled-components").StyledComponent<"span", any, {
|
|
52
|
+
export declare const MutedIcon: import("styled-components").StyledComponent<"span", any, {
|
|
53
|
+
color: string;
|
|
54
|
+
}, never>;
|
|
53
55
|
export declare const LastMessage: import("styled-components").StyledComponent<"div", any, {
|
|
54
56
|
color: string;
|
|
55
57
|
markedAsUnread?: boolean | undefined;
|
|
@@ -90,7 +92,7 @@ export declare const LastMessageDate: import("styled-components").StyledComponen
|
|
|
90
92
|
}, never>;
|
|
91
93
|
export declare const DeliveryIconCont: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
92
94
|
export declare const UnreadMentionIconWrapper: import("styled-components").StyledComponent<"span", any, {
|
|
93
|
-
iconColor
|
|
95
|
+
iconColor: string;
|
|
94
96
|
rightMargin?: boolean | undefined;
|
|
95
97
|
}, never>;
|
|
96
98
|
export declare const TypingIndicator: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IChannel, MuteTime } from '../../../types';
|
|
3
3
|
interface IProps {
|
|
4
|
+
setActionsHeight?: (height: number) => void;
|
|
4
5
|
channel: IChannel;
|
|
5
6
|
theme?: string;
|
|
6
7
|
actionMenuOpen?: () => void;
|
|
@@ -67,5 +68,5 @@ interface IProps {
|
|
|
67
68
|
actionItemsFontSize?: string;
|
|
68
69
|
borderColor?: string;
|
|
69
70
|
}
|
|
70
|
-
declare const Actions: ({ channel, actionMenuOpen, theme, menuIsOpen, toggleable, showMuteUnmuteNotifications, muteUnmuteNotificationsOrder, muteNotificationIcon, unmuteNotificationIcon, muteNotificationIconColor, unmuteNotificationIconColor, muteUnmuteNotificationTextColor, timeOptionsToMuteNotifications, showStarredMessages, starredMessagesOrder, staredMessagesIcon, staredMessagesIconColor, staredMessagesTextColor, showPinChannel, pinChannelOrder, pinChannelIcon, unpinChannelIcon, pinChannelIconColor, pinChannelTextColor, showMarkAsReadUnread, markAsReadUnreadOrder, markAsReadIcon, markAsUnreadIcon, markAsReadIconColor, markAsUnreadIconColor, markAsReadUnreadTextColor, showLeaveChannel, leaveChannelOrder, leaveChannelIcon, leaveChannelIconColor, leaveChannelTextColor, showReportChannel, reportChannelIcon, reportChannelOrder, reportChannelIconColor, reportChannelTextColor, showDeleteChannel, deleteChannelIcon, deleteChannelIconColor, deleteChannelTextColor, deleteChannelOrder, showBlockAndLeaveChannel, showBlockUser, blockAndLeaveChannelIcon, unblockUserIcon, blockAndLeaveChannelIconColor, blockAndLeaveChannelTextColor, unblockUserTextColor, showClearHistory, clearHistoryOrder, clearHistoryIcon, clearHistoryTextColor, deleteAllMessagesOrder, deleteAllMessagesIcon, deleteAllMessagesTextColor, actionItemsFontSize, borderColor }: IProps) => React.JSX.Element;
|
|
71
|
+
declare const Actions: ({ setActionsHeight, channel, actionMenuOpen, theme, menuIsOpen, toggleable, showMuteUnmuteNotifications, muteUnmuteNotificationsOrder, muteNotificationIcon, unmuteNotificationIcon, muteNotificationIconColor, unmuteNotificationIconColor, muteUnmuteNotificationTextColor, timeOptionsToMuteNotifications, showStarredMessages, starredMessagesOrder, staredMessagesIcon, staredMessagesIconColor, staredMessagesTextColor, showPinChannel, pinChannelOrder, pinChannelIcon, unpinChannelIcon, pinChannelIconColor, pinChannelTextColor, showMarkAsReadUnread, markAsReadUnreadOrder, markAsReadIcon, markAsUnreadIcon, markAsReadIconColor, markAsUnreadIconColor, markAsReadUnreadTextColor, showLeaveChannel, leaveChannelOrder, leaveChannelIcon, leaveChannelIconColor, leaveChannelTextColor, showReportChannel, reportChannelIcon, reportChannelOrder, reportChannelIconColor, reportChannelTextColor, showDeleteChannel, deleteChannelIcon, deleteChannelIconColor, deleteChannelTextColor, deleteChannelOrder, showBlockAndLeaveChannel, showBlockUser, blockAndLeaveChannelIcon, unblockUserIcon, blockAndLeaveChannelIconColor, blockAndLeaveChannelTextColor, unblockUserTextColor, showClearHistory, clearHistoryOrder, clearHistoryIcon, clearHistoryTextColor, deleteAllMessagesOrder, deleteAllMessagesIcon, deleteAllMessagesTextColor, actionItemsFontSize, borderColor }: IProps) => React.JSX.Element;
|
|
71
72
|
export default Actions;
|
|
@@ -13,5 +13,5 @@ interface IProps {
|
|
|
13
13
|
fileSizeFontSize?: string;
|
|
14
14
|
fileSizeLineHeight?: string;
|
|
15
15
|
}
|
|
16
|
-
declare const Files: ({ channelId,
|
|
16
|
+
declare const Files: ({ channelId, filePreviewIcon, filePreviewHoverIcon, filePreviewTitleColor, filePreviewSizeColor, filePreviewHoverBackgroundColor, filePreviewDownloadIcon, fileNameFontSize, fileNameLineHeight, fileSizeFontSize, fileSizeLineHeight }: IProps) => React.JSX.Element;
|
|
17
17
|
export default Files;
|
|
@@ -27,8 +27,7 @@ interface IChannelProps {
|
|
|
27
27
|
declare const ContactItem: React.FC<IChannelProps>;
|
|
28
28
|
export default ContactItem;
|
|
29
29
|
export declare const ChannelInfo: import("styled-components").StyledComponent<"div", any, {
|
|
30
|
-
|
|
31
|
-
darkTextColor: string;
|
|
30
|
+
textColor: string;
|
|
32
31
|
avatar?: boolean | undefined;
|
|
33
32
|
theme?: string | undefined;
|
|
34
33
|
subjectFontSize?: string | undefined;
|
|
@@ -18,16 +18,14 @@ export interface ICustomUploader {
|
|
|
18
18
|
download: (uri: string, download: boolean, progressCallback?: (progress: any) => void) => Promise<any>;
|
|
19
19
|
cancelRequest: (requestPromise: any) => void;
|
|
20
20
|
}
|
|
21
|
-
export declare type ThemeColors = 'accent' | '
|
|
21
|
+
export declare type ThemeColors = 'accent' | 'avatarBrand1' | 'avatarBrand2' | 'avatarBrand3' | 'avatarBrand4' | 'textPrimary' | 'textSecondary' | 'textFootnote' | 'textOnPrimary' | 'border' | 'iconInactive' | 'iconPrimary' | 'background' | 'backgroundSections' | 'backgroundFocused' | 'backgroundHovered' | 'overlayBackground' | 'overlayBackground2' | 'surface1' | 'surface2' | 'surfaceX' | 'warning' | 'attention' | 'onlineStatus' | 'success' | 'outgoingMessageBackground' | 'outgoingMessageBackgroundX' | 'incomingMessageBackground' | 'incomingMessageBackgroundX' | 'linkColor' | 'highlightedBackground';
|
|
22
22
|
export interface ThemeColor {
|
|
23
23
|
light: string;
|
|
24
24
|
dark?: string;
|
|
25
25
|
[key: string]: string | undefined;
|
|
26
26
|
}
|
|
27
27
|
export interface SceytChatUIKitTheme {
|
|
28
|
-
colors:
|
|
29
|
-
[key in ThemeColors]?: ThemeColor;
|
|
30
|
-
};
|
|
28
|
+
colors: Partial<Record<ThemeColors, ThemeColor>>;
|
|
31
29
|
}
|
|
32
30
|
export declare type ThemeMode = 'light' | 'dark' | string;
|
|
33
31
|
export interface IChatClientProps {
|
|
@@ -83,6 +83,7 @@ interface IMessageBodyProps {
|
|
|
83
83
|
messageTimeFontSize?: string;
|
|
84
84
|
messageTimeColor?: string;
|
|
85
85
|
messageStatusAndTimeLineHeight?: string;
|
|
86
|
+
messageTimeColorOnAttachment?: string;
|
|
86
87
|
fileAttachmentsBoxWidth?: number;
|
|
87
88
|
fileAttachmentsBoxBackground?: string;
|
|
88
89
|
fileAttachmentsBoxBorder?: string;
|
|
@@ -125,5 +126,5 @@ interface IMessageBodyProps {
|
|
|
125
126
|
handleCreateChat: (user?: IUser) => void;
|
|
126
127
|
messageTextRef: React.RefObject<HTMLSpanElement>;
|
|
127
128
|
}
|
|
128
|
-
declare const _default: React.MemoExoticComponent<({ message, channel, MessageActionsMenu, handleScrollToRepliedMessage, handleMediaItemClick, isPendingMessage, prevMessage, nextMessage, isUnreadMessage, unreadMessageId, isThreadMessage, fontFamily, ownMessageOnRightSide, showSenderNameOnDirectChannel, showSenderNameOnGroupChannel, showSenderNameOnOwnMessages, messageStatusAndTimePosition, messageStatusDisplayingType, outgoingMessageStyles, incomingMessageStyles, ownRepliedMessageBackground, incomingRepliedMessageBackground, showMessageStatus, showMessageTimeAndStatusOnlyOnHover, showMessageTime, showMessageStatusForEachMessage, showMessageTimeForEachMessage, messageReaction, editMessage, copyMessage, replyMessage, replyMessageInThread, deleteMessage, selectMessage, allowEditDeleteIncomingMessage, forwardMessage, reportMessage, reactionIcon, editIcon, copyIcon, replyIcon, replyInThreadIcon, forwardIcon, deleteIcon, selectIcon, starIcon, staredIcon, reportIcon, reactionIconOrder, editIconOrder, copyIconOrder, replyIconOrder, replyInThreadIconOrder, forwardIconOrder, deleteIconOrder, selectIconOrder, starIconOrder, reportIconOrder, reactionIconTooltipText, editIconTooltipText, copyIconTooltipText, replyIconTooltipText, replyInThreadIconTooltipText, forwardIconTooltipText, deleteIconTooltipText, selectIconTooltipText, starIconTooltipText, reportIconTooltipText, messageActionIconsColor, messageStatusSize, messageStatusColor, messageReadStatusColor, messageStateFontSize, messageStateColor, messageTimeFontSize, messageTimeColor, messageStatusAndTimeLineHeight, fileAttachmentsIcon, fileAttachmentsBoxWidth, fileAttachmentsBoxBorder, fileAttachmentsTitleColor, fileAttachmentsSizeColor, imageAttachmentMaxWidth, imageAttachmentMaxHeight, videoAttachmentMaxWidth, videoAttachmentMaxHeight, emojisCategoryIconsPosition, emojisContainerBorderRadius, fixEmojiCategoriesTitleOnTop, selectedMessagesMap, contactsMap, theme, messageTextFontSize, messageTextLineHeight, handleToggleForwardMessagePopup, messageActionsShow, closeMessageActions, handleDeletePendingMessage, handleReplyMessage, handleToggleDeleteMessagePopup, handleToggleReportPopupOpen, handleResendMessage, handleOpenEmojis, emojisPopupOpen, setEmojisPopupOpen, emojisPopupPosition, frequentlyEmojisOpen, handleCopyMessage, toggleEditMode, handleSelectMessage, handleMouseEnter, handleMouseLeave, handleReactionAddDelete, handleCreateChat, messageTextRef }: IMessageBodyProps) => React.JSX.Element>;
|
|
129
|
+
declare const _default: React.MemoExoticComponent<({ message, channel, MessageActionsMenu, handleScrollToRepliedMessage, handleMediaItemClick, isPendingMessage, prevMessage, nextMessage, isUnreadMessage, unreadMessageId, isThreadMessage, fontFamily, ownMessageOnRightSide, showSenderNameOnDirectChannel, showSenderNameOnGroupChannel, showSenderNameOnOwnMessages, messageStatusAndTimePosition, messageStatusDisplayingType, outgoingMessageStyles, incomingMessageStyles, ownRepliedMessageBackground, incomingRepliedMessageBackground, showMessageStatus, showMessageTimeAndStatusOnlyOnHover, showMessageTime, showMessageStatusForEachMessage, showMessageTimeForEachMessage, messageReaction, editMessage, copyMessage, replyMessage, replyMessageInThread, deleteMessage, selectMessage, allowEditDeleteIncomingMessage, forwardMessage, reportMessage, reactionIcon, editIcon, copyIcon, replyIcon, replyInThreadIcon, forwardIcon, deleteIcon, selectIcon, starIcon, staredIcon, reportIcon, reactionIconOrder, editIconOrder, copyIconOrder, replyIconOrder, replyInThreadIconOrder, forwardIconOrder, deleteIconOrder, selectIconOrder, starIconOrder, reportIconOrder, reactionIconTooltipText, editIconTooltipText, copyIconTooltipText, replyIconTooltipText, replyInThreadIconTooltipText, forwardIconTooltipText, deleteIconTooltipText, selectIconTooltipText, starIconTooltipText, reportIconTooltipText, messageActionIconsColor, messageStatusSize, messageStatusColor, messageReadStatusColor, messageStateFontSize, messageStateColor, messageTimeFontSize, messageTimeColor, messageStatusAndTimeLineHeight, messageTimeColorOnAttachment, fileAttachmentsIcon, fileAttachmentsBoxWidth, fileAttachmentsBoxBorder, fileAttachmentsTitleColor, fileAttachmentsSizeColor, imageAttachmentMaxWidth, imageAttachmentMaxHeight, videoAttachmentMaxWidth, videoAttachmentMaxHeight, emojisCategoryIconsPosition, emojisContainerBorderRadius, fixEmojiCategoriesTitleOnTop, selectedMessagesMap, contactsMap, theme, messageTextFontSize, messageTextLineHeight, handleToggleForwardMessagePopup, messageActionsShow, closeMessageActions, handleDeletePendingMessage, handleReplyMessage, handleToggleDeleteMessagePopup, handleToggleReportPopupOpen, handleResendMessage, handleOpenEmojis, emojisPopupOpen, setEmojisPopupOpen, emojisPopupPosition, frequentlyEmojisOpen, handleCopyMessage, toggleEditMode, handleSelectMessage, handleMouseEnter, handleMouseLeave, handleReactionAddDelete, handleCreateChat, messageTextRef }: IMessageBodyProps) => React.JSX.Element>;
|
|
129
130
|
export default _default;
|
|
@@ -20,6 +20,7 @@ interface IMessageStatusAndTime {
|
|
|
20
20
|
ownMessageOnRightSide?: boolean;
|
|
21
21
|
bottomOfMessage?: boolean;
|
|
22
22
|
marginBottom?: string;
|
|
23
|
+
messageTimeColorOnAttachment: string;
|
|
23
24
|
}
|
|
24
|
-
declare const _default: React.MemoExoticComponent<({ message, messageStatusDisplayingType, showMessageTimeAndStatusOnlyOnHover, messageStatusSize, messageStatusColor, messageReadStatusColor, messageStateFontSize, messageStateColor, messageTimeFontSize, messageTimeColor, messageStatusAndTimeLineHeight, messageTimeVisible, messageStatusVisible, withAttachment, fileAttachment, ownMessageOnRightSide, leftMargin, bottomOfMessage, marginBottom }: IMessageStatusAndTime) => React.JSX.Element>;
|
|
25
|
+
declare const _default: React.MemoExoticComponent<({ message, messageStatusDisplayingType, showMessageTimeAndStatusOnlyOnHover, messageStatusSize, messageStatusColor, messageReadStatusColor, messageStateFontSize, messageStateColor, messageTimeFontSize, messageTimeColor, messageStatusAndTimeLineHeight, messageTimeVisible, messageStatusVisible, withAttachment, fileAttachment, ownMessageOnRightSide, leftMargin, bottomOfMessage, marginBottom, messageTimeColorOnAttachment }: IMessageStatusAndTime) => React.JSX.Element>;
|
|
25
26
|
export default _default;
|
|
@@ -26,5 +26,5 @@ interface IRepliedMessageProps {
|
|
|
26
26
|
[key: string]: any;
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
|
-
declare const _default: React.MemoExoticComponent<({ message,
|
|
29
|
+
declare const _default: React.MemoExoticComponent<({ message, handleScrollToRepliedMessage, ownMessageOnRightSide, ownRepliedMessageBackground, incomingRepliedMessageBackground, showMessageSenderName, borderRadius, fileAttachmentsIcon, fileAttachmentsBoxWidth, fileAttachmentsBoxBorder, fileAttachmentsTitleColor, fileAttachmentsSizeColor, imageAttachmentMaxWidth, imageAttachmentMaxHeight, videoAttachmentMaxWidth, videoAttachmentMaxHeight, selectionIsActive, notLinkAttachment, contactsMap }: IRepliedMessageProps) => React.JSX.Element>;
|
|
30
30
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IMessageProps } from './Message.types';
|
|
3
|
-
declare const _default: React.MemoExoticComponent<({ message, channel, MessageActionsMenu, CustomMessageItem, handleScrollToRepliedMessage, handleMediaItemClick, stopScrolling, isPendingMessage, prevMessage, nextMessage, setLastVisibleMessageId, isUnreadMessage, unreadMessageId, isThreadMessage, fontFamily, ownMessageOnRightSide, messageWidthPercent, showSenderNameOnDirectChannel, showSenderNameOnGroupChannel, showSenderNameOnOwnMessages, messageStatusAndTimePosition, messageStatusDisplayingType, outgoingMessageStyles, incomingMessageStyles, ownRepliedMessageBackground, incomingRepliedMessageBackground, showOwnAvatar, showMessageStatus, showMessageTimeAndStatusOnlyOnHover, showMessageTime, showMessageStatusForEachMessage, showMessageTimeForEachMessage, hoverBackground, messageReaction, editMessage, copyMessage, replyMessage, replyMessageInThread, deleteMessage, selectMessage, allowEditDeleteIncomingMessage, forwardMessage, reportMessage, reactionIcon, editIcon, copyIcon, replyIcon, replyInThreadIcon, forwardIcon, deleteIcon, selectIcon, starIcon, staredIcon, reportIcon, reactionIconOrder, openFrequentlyUsedReactions, editIconOrder, copyIconOrder, replyIconOrder, replyInThreadIconOrder, forwardIconOrder, deleteIconOrder, selectIconOrder, starIconOrder, reportIconOrder, reactionIconTooltipText, editIconTooltipText, copyIconTooltipText, replyIconTooltipText, replyInThreadIconTooltipText, forwardIconTooltipText, deleteIconTooltipText, selectIconTooltipText, starIconTooltipText, reportIconTooltipText, messageActionIconsColor, messageStatusSize, messageStatusColor, messageReadStatusColor, messageStateFontSize, messageStateColor, messageTimeFontSize, messageTimeColor, messageStatusAndTimeLineHeight, fileAttachmentsIcon, reactionsDisplayCount, showEachReactionCount, showTotalReactionCount, reactionItemBorder, reactionItemBorderRadius, reactionItemBackground, reactionItemPadding, reactionItemMargin, reactionsFontSize, reactionsContainerBoxShadow, reactionsContainerBorder, reactionsContainerBorderRadius, reactionsContainerBackground, reactionsContainerPadding, reactionsContainerTopPosition, reactionsDetailsPopupBorderRadius, reactionsDetailsPopupHeaderItemsStyle, fileAttachmentsBoxWidth, fileAttachmentsBoxBorder, fileAttachmentsTitleColor, fileAttachmentsSizeColor, imageAttachmentMaxWidth, imageAttachmentMaxHeight, videoAttachmentMaxWidth, videoAttachmentMaxHeight, emojisCategoryIconsPosition, emojisContainerBorderRadius, fixEmojiCategoriesTitleOnTop, sameUserMessageSpacing, differentUserMessageSpacing, selectedMessagesMap, contactsMap, openedMessageMenuId, tabIsActive, connectionStatus, theme, messageTextFontSize, messageTextLineHeight }: IMessageProps) => React.JSX.Element>;
|
|
3
|
+
declare const _default: React.MemoExoticComponent<({ message, channel, MessageActionsMenu, CustomMessageItem, handleScrollToRepliedMessage, handleMediaItemClick, stopScrolling, isPendingMessage, prevMessage, nextMessage, setLastVisibleMessageId, isUnreadMessage, unreadMessageId, isThreadMessage, fontFamily, ownMessageOnRightSide, messageWidthPercent, showSenderNameOnDirectChannel, showSenderNameOnGroupChannel, showSenderNameOnOwnMessages, messageStatusAndTimePosition, messageStatusDisplayingType, outgoingMessageStyles, incomingMessageStyles, ownRepliedMessageBackground, incomingRepliedMessageBackground, showOwnAvatar, showMessageStatus, showMessageTimeAndStatusOnlyOnHover, showMessageTime, showMessageStatusForEachMessage, showMessageTimeForEachMessage, hoverBackground, messageReaction, editMessage, copyMessage, replyMessage, replyMessageInThread, deleteMessage, selectMessage, allowEditDeleteIncomingMessage, forwardMessage, reportMessage, reactionIcon, editIcon, copyIcon, replyIcon, replyInThreadIcon, forwardIcon, deleteIcon, selectIcon, starIcon, staredIcon, reportIcon, reactionIconOrder, openFrequentlyUsedReactions, editIconOrder, copyIconOrder, replyIconOrder, replyInThreadIconOrder, forwardIconOrder, deleteIconOrder, selectIconOrder, starIconOrder, reportIconOrder, reactionIconTooltipText, editIconTooltipText, copyIconTooltipText, replyIconTooltipText, replyInThreadIconTooltipText, forwardIconTooltipText, deleteIconTooltipText, selectIconTooltipText, starIconTooltipText, reportIconTooltipText, messageActionIconsColor, messageStatusSize, messageStatusColor, messageReadStatusColor, messageStateFontSize, messageStateColor, messageTimeFontSize, messageTimeColor, messageStatusAndTimeLineHeight, fileAttachmentsIcon, reactionsDisplayCount, showEachReactionCount, showTotalReactionCount, reactionItemBorder, reactionItemBorderRadius, reactionItemBackground, reactionItemPadding, reactionItemMargin, reactionsFontSize, reactionsContainerBoxShadow, reactionsContainerBorder, reactionsContainerBorderRadius, reactionsContainerBackground, reactionsContainerPadding, reactionsContainerTopPosition, reactionsDetailsPopupBorderRadius, reactionsDetailsPopupHeaderItemsStyle, fileAttachmentsBoxWidth, fileAttachmentsBoxBorder, fileAttachmentsTitleColor, fileAttachmentsSizeColor, imageAttachmentMaxWidth, imageAttachmentMaxHeight, videoAttachmentMaxWidth, videoAttachmentMaxHeight, emojisCategoryIconsPosition, emojisContainerBorderRadius, fixEmojiCategoriesTitleOnTop, sameUserMessageSpacing, differentUserMessageSpacing, selectedMessagesMap, contactsMap, openedMessageMenuId, tabIsActive, connectionStatus, theme, messageTextFontSize, messageTextLineHeight, messageTimeColorOnAttachment }: IMessageProps) => React.JSX.Element>;
|
|
4
4
|
export default _default;
|
|
@@ -10,7 +10,7 @@ export declare const Container: import("styled-components").StyledComponent<"div
|
|
|
10
10
|
dateDividerFontSize?: string | undefined;
|
|
11
11
|
dateDividerTextColor?: string | undefined;
|
|
12
12
|
dateDividerBackgroundColor?: string | undefined;
|
|
13
|
-
newMessagesSeparatorSpaceColor
|
|
13
|
+
newMessagesSeparatorSpaceColor: string;
|
|
14
14
|
dateDividerBorderRadius?: string | undefined;
|
|
15
15
|
newMessagesSeparatorLeftRightSpaceWidth?: string | undefined;
|
|
16
16
|
height?: number | undefined;
|
|
@@ -179,6 +179,7 @@ export default MessageList;
|
|
|
179
179
|
export declare const Container: import("styled-components").StyledComponent<"div", any, {
|
|
180
180
|
stopScrolling?: boolean | undefined;
|
|
181
181
|
backgroundColor?: string | undefined;
|
|
182
|
+
thumbColor: string;
|
|
182
183
|
}, never>;
|
|
183
184
|
export declare const EmptyDiv: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
184
185
|
export declare const MessageTopDate: import("styled-components").StyledComponent<"div", any, {
|
|
@@ -195,6 +196,7 @@ export declare const MessageTopDate: import("styled-components").StyledComponent
|
|
|
195
196
|
export declare const DragAndDropContainer: import("styled-components").StyledComponent<"div", any, {
|
|
196
197
|
topOffset?: number | undefined;
|
|
197
198
|
height?: number | undefined;
|
|
199
|
+
backgroundColor?: string | undefined;
|
|
198
200
|
}, never>;
|
|
199
201
|
export declare const IconWrapper: import("styled-components").StyledComponent<"span", any, {
|
|
200
202
|
backgroundColor: string;
|
|
@@ -204,6 +206,9 @@ export declare const DropAttachmentArea: import("styled-components").StyledCompo
|
|
|
204
206
|
backgroundColor: string;
|
|
205
207
|
color: string;
|
|
206
208
|
margin?: string | undefined;
|
|
209
|
+
iconBackgroundColor: string;
|
|
210
|
+
borderColor: string;
|
|
211
|
+
draggedBorderColor: string;
|
|
207
212
|
}, never>;
|
|
208
213
|
export declare const MessageWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
209
214
|
export declare const NoMessagesContainer: import("styled-components").StyledComponent<"div", any, {
|
|
@@ -22,5 +22,5 @@ export declare const MentionsContainerWrapper: import("styled-components").Style
|
|
|
22
22
|
}, never>;
|
|
23
23
|
export declare const MemberItem: import("styled-components").StyledComponent<"li", any, {
|
|
24
24
|
isActiveItem?: boolean | undefined;
|
|
25
|
-
activeBackgroundColor
|
|
25
|
+
activeBackgroundColor: string;
|
|
26
26
|
}, never>;
|
|
@@ -22,6 +22,7 @@ export declare const AttachmentFile: import("styled-components").StyledComponent
|
|
|
22
22
|
borderRadius?: string | undefined;
|
|
23
23
|
background?: string | undefined;
|
|
24
24
|
border?: string | undefined;
|
|
25
|
+
borderColor: string;
|
|
25
26
|
}, never>;
|
|
26
27
|
export declare const AttachmentImg: import("styled-components").StyledComponent<"img", any, {
|
|
27
28
|
borderRadius?: string | undefined;
|