sceyt-chat-react-uikit 1.7.3 → 1.7.4-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.
@@ -8,7 +8,7 @@ declare const MessageStatusIcon: ({ messageStatus, messageStatusDisplayingType,
8
8
  readIconColor?: string | undefined;
9
9
  accentColor?: string | undefined;
10
10
  }) => React.JSX.Element;
11
- declare const MessageTextFormat: ({ text, message, contactsMap, getFromContacts, isLastMessage, asSampleText, accentColor, textSecondary, onMentionNameClick, shouldOpenUserProfileForMention }: {
11
+ declare const MessageTextFormat: ({ text, message, contactsMap, getFromContacts, isLastMessage, asSampleText, accentColor, textSecondary, onMentionNameClick, shouldOpenUserProfileForMention, unsupportedMessage, target }: {
12
12
  text: string;
13
13
  message: any;
14
14
  contactsMap?: IContactsMap | undefined;
@@ -19,5 +19,7 @@ declare const MessageTextFormat: ({ text, message, contactsMap, getFromContacts,
19
19
  textSecondary: string;
20
20
  onMentionNameClick?: ((user: IUser) => void) | undefined;
21
21
  shouldOpenUserProfileForMention?: boolean | undefined;
22
+ unsupportedMessage?: boolean | undefined;
23
+ target?: string | undefined;
22
24
  }) => any;
23
25
  export { MessageStatusIcon, MessageTextFormat };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sceyt-chat-react-uikit",
3
- "version": "1.7.3",
3
+ "version": "1.7.4-beta.10",
4
4
  "description": "Interactive React UI Components for Sceyt Chat.",
5
5
  "author": "Sceyt",
6
6
  "license": "MIT",
package/types/enum.d.ts CHANGED
@@ -2,3 +2,11 @@ export declare enum HiddenMessageProperty {
2
2
  hideAfterChannelChange = "hideAfterChannelChange",
3
3
  hideAfterSendMessage = "hideAfterSendMessage"
4
4
  }
5
+ export declare enum MESSAGE_TYPE {
6
+ TEXT = "text",
7
+ MEDIA = "media",
8
+ SYSTEM = "system",
9
+ LINK = "link",
10
+ FILE = "file",
11
+ POLL = "poll"
12
+ }