sceyt-chat-react-uikit 1.8.7-beta.1 → 1.8.7-beta.10
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/Channel/index.d.ts +7 -0
- package/components/ChannelList/ChannelSearch/index.d.ts +1 -0
- package/components/ChannelList/ContactItem/index.d.ts +1 -0
- package/components/ChannelList/index.d.ts +2 -0
- package/components/Message/RepliedMessage/index.test.d.ts +1 -0
- package/index.js +1246 -1426
- package/index.modern.js +1246 -1426
- package/package.json +1 -1
|
@@ -48,6 +48,11 @@ interface IChannelProps {
|
|
|
48
48
|
}) => any;
|
|
49
49
|
doNotShowMessageDeliveryTypes: string[];
|
|
50
50
|
showPhoneNumber?: boolean;
|
|
51
|
+
channelListWidth?: number;
|
|
52
|
+
getCustomIconOnAvatar?: (args: {
|
|
53
|
+
channel: IChannel;
|
|
54
|
+
user: IUser;
|
|
55
|
+
}) => any;
|
|
51
56
|
}
|
|
52
57
|
declare const Channel: React.FC<IChannelProps>;
|
|
53
58
|
export default Channel;
|
|
@@ -123,6 +128,8 @@ export declare const DeliveryIconCont: import("styled-components").StyledCompone
|
|
|
123
128
|
export declare const UnreadMentionIconWrapper: import("styled-components").StyledComponent<"span", any, {
|
|
124
129
|
iconColor: string;
|
|
125
130
|
rightMargin?: boolean | undefined;
|
|
131
|
+
onAvatar?: boolean | undefined;
|
|
132
|
+
mainBg?: string | undefined;
|
|
126
133
|
}, never>;
|
|
127
134
|
export declare const TypingIndicator: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
128
135
|
export declare const ReactionItem: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
@@ -21,6 +21,7 @@ interface IChannelProps {
|
|
|
21
21
|
channelSubjectColor?: string;
|
|
22
22
|
channelAvatarSize?: number;
|
|
23
23
|
channelAvatarTextSize?: number;
|
|
24
|
+
channelListWidth?: number;
|
|
24
25
|
createChatWithContact: (contact: IContact) => void;
|
|
25
26
|
}
|
|
26
27
|
declare const ContactItem: React.FC<IChannelProps>;
|
|
@@ -78,8 +78,10 @@ interface IChannelListProps {
|
|
|
78
78
|
getCustomLatestMessage?: (lastMessage: IMessage, typingOrRecording: any, draftMessageText: any, textSecondary: string, channel: IChannel, channelLastMessageFontSize: string, channelLastMessageHeight: string, isDirectChannel: boolean, textPrimary: string, messageAuthorRef: any, contactsMap: {
|
|
79
79
|
[key: string]: IContact;
|
|
80
80
|
}, getFromContacts: boolean, warningColor: string, user: IUser, MessageText: any) => any;
|
|
81
|
+
getCustomIconOnAvatar?: (channel: IChannel, user: IUser) => any;
|
|
81
82
|
doNotShowMessageDeliveryTypes?: string[];
|
|
82
83
|
showPhoneNumber?: boolean;
|
|
84
|
+
channelListWidth?: number;
|
|
83
85
|
}
|
|
84
86
|
declare const ChannelList: React.FC<IChannelListProps>;
|
|
85
87
|
export default ChannelList;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|