@mindly/ui-components 3.18.5 → 3.18.6

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,6 +8,7 @@ declare type ChatListItemProps = {
8
8
  status?: 'sent' | 'viewed';
9
9
  time?: number;
10
10
  timeZone?: string;
11
+ lastMessageType?: 'text' | 'file' | 'image' | 'video';
11
12
  };
12
13
  declare const _default: React.NamedExoticComponent<ChatListItemProps>;
13
14
  export default _default;
@@ -3,6 +3,10 @@ export declare const InfoWrapper: import("styled-components").StyledComponent<"d
3
3
  export declare const MessageInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
4
4
  export declare const UserName: import("styled-components").StyledComponent<"div", any, {}, never>;
5
5
  export declare const MessageStatus: import("styled-components").StyledComponent<"div", any, {}, never>;
6
- export declare const LastMessage: import("styled-components").StyledComponent<"div", any, {}, never>;
7
- export declare const TextMessage: import("styled-components").StyledComponent<"p", any, {}, never>;
6
+ declare type TextMessageProps = {
7
+ lastMessageType: 'text' | 'file' | 'image' | 'video';
8
+ };
9
+ export declare const LastMessage: import("styled-components").StyledComponent<"div", any, TextMessageProps, never>;
8
10
  export declare const BadgeContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
11
+ export declare const TextMessage: import("styled-components").StyledComponent<"p", any, TextMessageProps, never>;
12
+ export {};
package/dist/index.d.ts CHANGED
@@ -480,6 +480,7 @@ declare type ChatListItemProps = {
480
480
  status?: 'sent' | 'viewed';
481
481
  time?: number;
482
482
  timeZone?: string;
483
+ lastMessageType?: 'text' | 'file' | 'image' | 'video';
483
484
  };
484
485
  declare const _default$8: React.NamedExoticComponent<ChatListItemProps>;
485
486
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "3.18.5",
3
+ "version": "3.18.6",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",