@mindly/ui-components 3.19.1 → 3.20.0

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' | 'video';
8
+ messageType?: 'text' | 'file' | 'image' | 'video' | 'system';
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' | 'video';
3
+ messageType: 'text' | 'file' | 'image' | 'video' | 'system';
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>;
package/dist/index.d.ts CHANGED
@@ -490,7 +490,7 @@ declare type ChatMessageProps = {
490
490
  time: number;
491
491
  timeZone?: string;
492
492
  status?: 'loading' | 'sent' | 'viewed';
493
- messageType?: 'text' | 'file' | 'image' | 'video';
493
+ messageType?: 'text' | 'file' | 'image' | 'video' | 'system';
494
494
  onFileClick?: (type: 'file' | 'image', link: string) => void;
495
495
  fileInfo?: {
496
496
  originalName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "3.19.1",
3
+ "version": "3.20.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -34,6 +34,7 @@
34
34
  "agora-rtc-sdk-ng": "^4.12.2",
35
35
  "auto": "^10.32.0",
36
36
  "date-fns": "^2.28.0",
37
+ "html-react-parser": "^3.0.4",
37
38
  "luxon": "^2.4.0",
38
39
  "react": "^17.0.2",
39
40
  "react-countdown": "^2.3.2",