@mindly/ui-components 5.59.0 → 5.59.2
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 +7 -7
- package/dist/cjs/lib/Chat/ChatListItem/ChatListItem.d.ts +2 -1
- package/dist/cjs/lib/Chat/ChatListItem/ChatListItem.style.d.ts +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/lib/Chat/ChatListItem/ChatListItem.d.ts +2 -1
- package/dist/esm/lib/Chat/ChatListItem/ChatListItem.style.d.ts +1 -1
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
|
@@ -4,12 +4,13 @@ type ChatListItemProps = {
|
|
|
4
4
|
name: string;
|
|
5
5
|
message?: string;
|
|
6
6
|
avatar?: string;
|
|
7
|
+
avatarReplacer?: Element;
|
|
7
8
|
newMessagesCount?: number;
|
|
8
9
|
onClick?: () => void;
|
|
9
10
|
status?: 'sent' | 'viewed';
|
|
10
11
|
time?: number;
|
|
11
12
|
timeZone?: string;
|
|
12
|
-
lastMessageType?: 'text' | 'file' | 'image' | 'video' | 'system';
|
|
13
|
+
lastMessageType?: 'text' | 'file' | 'image' | 'video' | 'system' | 'broadcast';
|
|
13
14
|
locale?: string;
|
|
14
15
|
isDisabled?: boolean;
|
|
15
16
|
t?: WithTranslation['t'];
|
|
@@ -4,7 +4,7 @@ export declare const MessageInfo: import("styled-components").StyledComponent<"d
|
|
|
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
6
|
type TextMessageProps = {
|
|
7
|
-
lastMessageType: 'text' | 'file' | 'image' | 'video' | 'system';
|
|
7
|
+
lastMessageType: 'text' | 'file' | 'image' | 'video' | 'system' | 'broadcast';
|
|
8
8
|
};
|
|
9
9
|
export declare const LastMessage: import("styled-components").StyledComponent<"div", any, TextMessageProps, never>;
|
|
10
10
|
export declare const BadgeContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
package/dist/index.d.ts
CHANGED
|
@@ -452,12 +452,13 @@ type ChatListItemProps = {
|
|
|
452
452
|
name: string;
|
|
453
453
|
message?: string;
|
|
454
454
|
avatar?: string;
|
|
455
|
+
avatarReplacer?: Element;
|
|
455
456
|
newMessagesCount?: number;
|
|
456
457
|
onClick?: () => void;
|
|
457
458
|
status?: 'sent' | 'viewed';
|
|
458
459
|
time?: number;
|
|
459
460
|
timeZone?: string;
|
|
460
|
-
lastMessageType?: 'text' | 'file' | 'image' | 'video' | 'system';
|
|
461
|
+
lastMessageType?: 'text' | 'file' | 'image' | 'video' | 'system' | 'broadcast';
|
|
461
462
|
locale?: string;
|
|
462
463
|
isDisabled?: boolean;
|
|
463
464
|
t?: WithTranslation['t'];
|