@mindly/ui-components 3.18.2 → 3.18.3

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.
@@ -5,7 +5,7 @@ declare type ChatMessageProps = {
5
5
  time: number;
6
6
  timeZone?: string;
7
7
  status?: 'loading' | 'sent' | 'viewed';
8
- messageType?: 'text' | 'file' | 'image';
8
+ messageType?: 'text' | 'file' | 'image' | 'video';
9
9
  onFileClick?: (type: 'file' | 'image', link: string) => void;
10
10
  fileInfo?: {
11
11
  originalName: string;
@@ -1,6 +1,6 @@
1
1
  declare type MessageWrapperProps = {
2
2
  position: 'left' | 'right';
3
- messageType: 'text' | 'file' | 'image';
3
+ messageType: 'text' | 'file' | 'image' | 'video';
4
4
  };
5
5
  export declare const MessageWrapper: import("styled-components").StyledComponent<"div", any, MessageWrapperProps, never>;
6
6
  export declare const TextMessageWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -28,4 +28,8 @@ declare type FileMessageWrapperProps = {
28
28
  };
29
29
  export declare const FileMessageWrapper: import("styled-components").StyledComponent<"div", any, FileMessageWrapperProps, never>;
30
30
  export declare const FileTimeWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
31
+ declare type VideoMessageWrapperProps = {
32
+ position: 'left' | 'right';
33
+ };
34
+ export declare const VideoMessageWrapper: import("styled-components").StyledComponent<"div", any, VideoMessageWrapperProps, never>;
31
35
  export {};
package/dist/index.d.ts CHANGED
@@ -489,7 +489,7 @@ declare type ChatMessageProps = {
489
489
  time: number;
490
490
  timeZone?: string;
491
491
  status?: 'loading' | 'sent' | 'viewed';
492
- messageType?: 'text' | 'file' | 'image';
492
+ messageType?: 'text' | 'file' | 'image' | 'video';
493
493
  onFileClick?: (type: 'file' | 'image', link: string) => void;
494
494
  fileInfo?: {
495
495
  originalName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "3.18.2",
3
+ "version": "3.18.3",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",