sceyt-chat-react-uikit 1.6.8-beta.3 → 1.6.8-beta.5

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.
@@ -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;
@@ -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?: (progress: any) => void) => Promise<any>;
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';