@mindly/ui-components 3.18.4 → 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.
- package/dist/cjs/index.js +12 -12
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/lib/Chat/ChatListItem/ChatListItem.d.ts +1 -0
- package/dist/cjs/types/lib/Chat/ChatListItem/ChatListItem.style.d.ts +6 -2
- package/dist/esm/index.js +28 -28
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/lib/Chat/ChatListItem/ChatListItem.d.ts +1 -0
- package/dist/esm/types/lib/Chat/ChatListItem/ChatListItem.style.d.ts +6 -2
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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
|
-
|
|
7
|
-
|
|
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
|
|