sceyt-chat-react-uikit 1.6.8 → 1.6.9-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/arrowDown.svg +3 -0
- package/components/Attachment/index.d.ts +2 -1
- package/components/Avatar/index.d.ts +1 -0
- package/components/Channel/index.d.ts +3 -0
- package/components/ChannelDetails/DetailsTab/Voices/voiceItem.d.ts +2 -1
- package/components/ChannelList/ContactItem/index.d.ts +1 -0
- package/components/ChatContainer/index.d.ts +2 -2
- package/components/Message/Message.types.d.ts +2 -0
- package/components/Message/MessageBody/index.d.ts +3 -1
- package/components/Message/index.d.ts +1 -1
- package/components/Messages/MessageList/index.d.ts +5 -1
- package/components/Messages/index.d.ts +1 -0
- package/components/MessagesScrollToBottomButton/index.d.ts +1 -0
- package/components/MessagesScrollToUnreadMentionsButton/index.d.ts +21 -0
- package/components/index.d.ts +2 -1
- package/index.js +2282 -1525
- package/index.modern.js +2283 -1527
- package/messageUtils/index.d.ts +4 -2
- package/package.json +1 -1
- package/types/index.d.ts +1 -0
|
@@ -21,8 +21,9 @@ interface AttachmentPops {
|
|
|
21
21
|
imageAttachmentMaxHeight?: number;
|
|
22
22
|
videoAttachmentMaxWidth?: number;
|
|
23
23
|
videoAttachmentMaxHeight?: number;
|
|
24
|
+
messageType?: string | null | undefined;
|
|
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
|
+
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, messageType }: AttachmentPops) => React.JSX.Element>;
|
|
26
27
|
export default _default;
|
|
27
28
|
export declare const SizeProgress: import("styled-components").StyledComponent<"span", any, {
|
|
28
29
|
color: string;
|
|
@@ -48,6 +48,7 @@ export declare const ChannelInfo: import("styled-components").StyledComponent<"d
|
|
|
48
48
|
subjectLineHeight?: string | undefined;
|
|
49
49
|
subjectColor: string;
|
|
50
50
|
avatarSize?: number | undefined;
|
|
51
|
+
isPinned?: boolean | undefined;
|
|
51
52
|
}, never>;
|
|
52
53
|
export declare const MutedIcon: import("styled-components").StyledComponent<"span", any, {
|
|
53
54
|
color: string;
|
|
@@ -62,6 +63,7 @@ export declare const LastMessage: import("styled-components").StyledComponent<"d
|
|
|
62
63
|
export declare const AvatarWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
63
64
|
export declare const UserStatus: import("styled-components").StyledComponent<"span", any, {
|
|
64
65
|
backgroundColor?: string | undefined;
|
|
66
|
+
borderColor?: string | undefined;
|
|
65
67
|
}, never>;
|
|
66
68
|
export declare const DraftMessageTitle: import("styled-components").StyledComponent<"span", any, {
|
|
67
69
|
color: string;
|
|
@@ -83,6 +85,7 @@ export declare const LastMessageText: import("styled-components").StyledComponen
|
|
|
83
85
|
noBody?: boolean | undefined;
|
|
84
86
|
deletedMessage?: boolean | undefined;
|
|
85
87
|
}, never>;
|
|
88
|
+
export declare const LastMessageDescription: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
86
89
|
export declare const ChannelStatus: import("styled-components").StyledComponent<"div", any, {
|
|
87
90
|
color: string;
|
|
88
91
|
}, never>;
|
|
@@ -9,6 +9,7 @@ interface IProps {
|
|
|
9
9
|
voicePreviewTitleColor?: string;
|
|
10
10
|
voicePreviewDateAndTimeColor?: string;
|
|
11
11
|
voicePreviewHoverBackgroundColor?: string;
|
|
12
|
+
messageType?: string | null | undefined;
|
|
12
13
|
}
|
|
13
|
-
declare const VoiceItem: ({ file, voicePreviewPlayIcon, voicePreviewPlayHoverIcon, voicePreviewPauseIcon, voicePreviewPauseHoverIcon, voicePreviewTitleColor, voicePreviewDateAndTimeColor, voicePreviewHoverBackgroundColor }: IProps) => React.JSX.Element;
|
|
14
|
+
declare const VoiceItem: ({ file, voicePreviewPlayIcon, voicePreviewPlayHoverIcon, voicePreviewPauseIcon, voicePreviewPauseHoverIcon, voicePreviewTitleColor, voicePreviewDateAndTimeColor, voicePreviewHoverBackgroundColor, messageType }: IProps) => React.JSX.Element;
|
|
14
15
|
export default VoiceItem;
|
|
@@ -37,4 +37,5 @@ export declare const ChannelInfo: import("styled-components").StyledComponent<"d
|
|
|
37
37
|
export declare const AvatarWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
38
38
|
export declare const UserStatus: import("styled-components").StyledComponent<"span", any, {
|
|
39
39
|
backgroundColor?: string | undefined;
|
|
40
|
+
borderColor?: string | undefined;
|
|
40
41
|
}, never>;
|
|
@@ -14,8 +14,8 @@ export interface IUploadTask {
|
|
|
14
14
|
resume: () => void;
|
|
15
15
|
}
|
|
16
16
|
export interface ICustomUploader {
|
|
17
|
-
upload: (attachment: IAttachment, uploadTask: IUploadTask) => void;
|
|
18
|
-
download: (uri: string, download: boolean, progressCallback
|
|
17
|
+
upload: (attachment: IAttachment, uploadTask: IUploadTask, messageType: string | null | undefined) => void;
|
|
18
|
+
download: (uri: string, download: boolean, progressCallback: (progress: any) => void, messageType: string | null | undefined) => Promise<any>;
|
|
19
19
|
cancelRequest: (requestPromise: any) => void;
|
|
20
20
|
}
|
|
21
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';
|
|
@@ -57,6 +57,7 @@ interface ICustomMessageItem {
|
|
|
57
57
|
handleScrollToRepliedMessage: (messageId: string) => void;
|
|
58
58
|
handleMediaItemClick?: (attachment: IAttachment) => void;
|
|
59
59
|
isThreadMessage?: boolean;
|
|
60
|
+
handleOpenUserProfile: (user: IUser) => void;
|
|
60
61
|
}
|
|
61
62
|
export interface IMessageProps {
|
|
62
63
|
message: IMessage;
|
|
@@ -187,5 +188,6 @@ export interface IMessageProps {
|
|
|
187
188
|
messageTextFontSize?: string;
|
|
188
189
|
messageTextLineHeight?: string;
|
|
189
190
|
messageTimeColorOnAttachment?: string;
|
|
191
|
+
shouldOpenUserProfileForMention?: boolean;
|
|
190
192
|
}
|
|
191
193
|
export {};
|
|
@@ -125,6 +125,8 @@ interface IMessageBodyProps {
|
|
|
125
125
|
handleReactionAddDelete: (emoji: any) => void;
|
|
126
126
|
handleCreateChat: (user?: IUser) => void;
|
|
127
127
|
messageTextRef: React.RefObject<HTMLSpanElement>;
|
|
128
|
+
handleOpenUserProfile: (user: IUser) => void;
|
|
129
|
+
shouldOpenUserProfileForMention?: boolean;
|
|
128
130
|
}
|
|
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>;
|
|
131
|
+
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, handleOpenUserProfile, shouldOpenUserProfileForMention }: IMessageBodyProps) => React.JSX.Element>;
|
|
130
132
|
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, messageTimeColorOnAttachment }: 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, shouldOpenUserProfileForMention }: IMessageProps) => React.JSX.Element>;
|
|
4
4
|
export default _default;
|
|
@@ -67,6 +67,7 @@ interface MessagesProps {
|
|
|
67
67
|
handleReactionAddDelete: (selectedEmoji: any) => void;
|
|
68
68
|
handleScrollToRepliedMessage: (messageId: string) => void;
|
|
69
69
|
handleMediaItemClick?: (attachment: IAttachment) => void;
|
|
70
|
+
handleOpenUserProfile: (user: IUser) => void;
|
|
70
71
|
isThreadMessage?: boolean;
|
|
71
72
|
}>;
|
|
72
73
|
messageReaction?: boolean;
|
|
@@ -173,6 +174,7 @@ interface MessagesProps {
|
|
|
173
174
|
messageTextFontSize?: string;
|
|
174
175
|
messageTextLineHeight?: string;
|
|
175
176
|
hiddenMessagesProperties?: HiddenMessageProperty[];
|
|
177
|
+
shouldOpenUserProfileForMention?: boolean;
|
|
176
178
|
}
|
|
177
179
|
declare const MessageList: React.FC<MessagesProps>;
|
|
178
180
|
export default MessageList;
|
|
@@ -210,7 +212,9 @@ export declare const DropAttachmentArea: import("styled-components").StyledCompo
|
|
|
210
212
|
borderColor: string;
|
|
211
213
|
draggedBorderColor: string;
|
|
212
214
|
}, never>;
|
|
213
|
-
export declare const MessageWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
215
|
+
export declare const MessageWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
216
|
+
highlightBg: string;
|
|
217
|
+
}, never>;
|
|
214
218
|
export declare const NoMessagesContainer: import("styled-components").StyledComponent<"div", any, {
|
|
215
219
|
color: string;
|
|
216
220
|
}, never>;
|
|
@@ -173,6 +173,7 @@ interface MessagesProps {
|
|
|
173
173
|
messageTimeColor?: string;
|
|
174
174
|
messageStatusAndTimeLineHeight?: string;
|
|
175
175
|
hiddenMessagesProperties?: HiddenMessageProperty[];
|
|
176
|
+
shouldOpenUserProfileForMention?: boolean;
|
|
176
177
|
}
|
|
177
178
|
declare const MessagesContainer: React.FC<MessagesProps>;
|
|
178
179
|
export default MessagesContainer;
|
|
@@ -15,6 +15,7 @@ interface MessagesScrollToBottomButtonProps {
|
|
|
15
15
|
unreadCountFontSize?: string;
|
|
16
16
|
unreadCountTextColor?: string;
|
|
17
17
|
unreadCountBackgroundColor?: string;
|
|
18
|
+
animateFrom?: string;
|
|
18
19
|
}
|
|
19
20
|
declare const MessagesScrollToBottomButton: React.FC<MessagesScrollToBottomButtonProps>;
|
|
20
21
|
export default MessagesScrollToBottomButton;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface MessagesScrollToUnreadMentionsButtonProps {
|
|
3
|
+
buttonIcon?: JSX.Element;
|
|
4
|
+
buttonWidth?: string;
|
|
5
|
+
buttonHeight?: string;
|
|
6
|
+
bottomPosition?: number;
|
|
7
|
+
rightPosition?: number;
|
|
8
|
+
buttonBorder?: string;
|
|
9
|
+
buttonBackgroundColor?: string;
|
|
10
|
+
buttonHoverBackgroundColor?: string;
|
|
11
|
+
buttonBorderRadius?: string;
|
|
12
|
+
buttonShadow?: string;
|
|
13
|
+
unreadCountWidth?: string;
|
|
14
|
+
unreadCountHeight?: string;
|
|
15
|
+
unreadCountFontSize?: string;
|
|
16
|
+
unreadCountTextColor?: string;
|
|
17
|
+
unreadCountBackgroundColor?: string;
|
|
18
|
+
animateFrom?: string;
|
|
19
|
+
}
|
|
20
|
+
declare const MessagesScrollToUnreadMentionsButton: React.FC<MessagesScrollToUnreadMentionsButtonProps>;
|
|
21
|
+
export default MessagesScrollToUnreadMentionsButton;
|
package/components/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import MessageList from './Messages';
|
|
|
7
7
|
import SendMessage from './SendMessageInput';
|
|
8
8
|
import ChannelDetails from './ChannelDetailsContainer';
|
|
9
9
|
import MessagesScrollToBottomButton from './MessagesScrollToBottomButton';
|
|
10
|
+
import MessagesScrollToUnreadMentionsButton from './MessagesScrollToUnreadMentionsButton';
|
|
10
11
|
import CreateChannel from './../common/popups/createChannel';
|
|
11
12
|
import ChannelSearch from './ChannelList/ChannelSearch';
|
|
12
13
|
import Avatar from './Avatar';
|
|
@@ -15,7 +16,7 @@ import EmojisPopup from './Emojis';
|
|
|
15
16
|
import FrequentlyEmojis from './Emojis/frequentlyEmojis';
|
|
16
17
|
import DropDown from '../common/dropdown';
|
|
17
18
|
import { THEME_COLORS } from '../UIHelper/constants';
|
|
18
|
-
export { SceytChat, ChannelList, Channel, Chat, ChatHeader, MessageList, SendMessage, ChannelDetails, MessagesScrollToBottomButton, CreateChannel, ChannelSearch, Avatar, DropDown, Attachment, EmojisPopup, FrequentlyEmojis, SceytChatUIKitTheme, ThemeMode, THEME_COLORS };
|
|
19
|
+
export { SceytChat, ChannelList, Channel, Chat, ChatHeader, MessageList, SendMessage, ChannelDetails, MessagesScrollToBottomButton, MessagesScrollToUnreadMentionsButton, CreateChannel, ChannelSearch, Avatar, DropDown, Attachment, EmojisPopup, FrequentlyEmojis, SceytChatUIKitTheme, ThemeMode, THEME_COLORS };
|
|
19
20
|
declare global {
|
|
20
21
|
interface Window {
|
|
21
22
|
sceytTabNotifications: any;
|