stream-chat-angular 4.64.1 → 4.65.1
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/assets/version.d.ts +1 -1
- package/bundles/stream-chat-angular.umd.js +22 -9
- package/bundles/stream-chat-angular.umd.js.map +1 -1
- package/esm2015/assets/version.js +2 -2
- package/esm2015/lib/message-input/message-input.component.js +2 -2
- package/esm2015/lib/message-list/group-styles.js +10 -5
- package/esm2015/lib/message-list/message-list.component.js +11 -3
- package/esm2015/lib/types.js +1 -1
- package/fesm2015/stream-chat-angular.js +21 -8
- package/fesm2015/stream-chat-angular.js.map +1 -1
- package/lib/message-list/group-styles.d.ts +2 -2
- package/lib/message-list/message-list.component.d.ts +5 -1
- package/lib/types.d.ts +5 -0
- package/package.json +1 -1
- package/src/assets/version.ts +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { StreamMessage } from '../types';
|
|
1
|
+
import { GroupStyleOptions, StreamMessage } from '../types';
|
|
2
2
|
export declare type GroupStyle = '' | 'middle' | 'top' | 'bottom' | 'single';
|
|
3
|
-
export declare const getGroupStyles: (message: StreamMessage, previousMessage?: StreamMessage<import("../types").DefaultStreamChatGenerics> | undefined, nextMessage?: StreamMessage<import("../types").DefaultStreamChatGenerics> | undefined,
|
|
3
|
+
export declare const getGroupStyles: (message: StreamMessage, previousMessage?: StreamMessage<import("../types").DefaultStreamChatGenerics> | undefined, nextMessage?: StreamMessage<import("../types").DefaultStreamChatGenerics> | undefined, options?: GroupStyleOptions) => GroupStyle;
|
|
@@ -47,6 +47,10 @@ export declare class MessageListComponent implements AfterViewChecked, OnChanges
|
|
|
47
47
|
* If `true` date separators will be displayed
|
|
48
48
|
*/
|
|
49
49
|
displayDateSeparator: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* If `true` unread indicator will be displayed
|
|
52
|
+
*/
|
|
53
|
+
displayUnreadSeparator: boolean;
|
|
50
54
|
/**
|
|
51
55
|
* If date separators are displayed, you can set the horizontal position of the date text.
|
|
52
56
|
*/
|
|
@@ -145,5 +149,5 @@ export declare class MessageListComponent implements AfterViewChecked, OnChanges
|
|
|
145
149
|
private newMessageReceived;
|
|
146
150
|
private checkIfOnSeparateDates;
|
|
147
151
|
static ɵfac: i0.ɵɵFactoryDeclaration<MessageListComponent, never>;
|
|
148
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MessageListComponent, "stream-message-list", never, { "mode": "mode"; "direction": "direction"; "messageOptionsTrigger": "messageOptionsTrigger"; "hideJumpToLatestButtonDuringScroll": "hideJumpToLatestButtonDuringScroll"; "customMessageActions": "customMessageActions"; "displayDateSeparator": "displayDateSeparator"; "dateSeparatorTextPos": "dateSeparatorTextPos"; "openMessageListAt": "openMessageListAt"; "hideUnreadCountForNotificationAndIndicator": "hideUnreadCountForNotificationAndIndicator"; "displayLoadingIndicator": "displayLoadingIndicator"; }, {}, never, never>;
|
|
152
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MessageListComponent, "stream-message-list", never, { "mode": "mode"; "direction": "direction"; "messageOptionsTrigger": "messageOptionsTrigger"; "hideJumpToLatestButtonDuringScroll": "hideJumpToLatestButtonDuringScroll"; "customMessageActions": "customMessageActions"; "displayDateSeparator": "displayDateSeparator"; "displayUnreadSeparator": "displayUnreadSeparator"; "dateSeparatorTextPos": "dateSeparatorTextPos"; "openMessageListAt": "openMessageListAt"; "hideUnreadCountForNotificationAndIndicator": "hideUnreadCountForNotificationAndIndicator"; "displayLoadingIndicator": "displayLoadingIndicator"; }, {}, never, never>;
|
|
149
153
|
}
|
package/lib/types.d.ts
CHANGED
|
@@ -308,4 +308,9 @@ export declare type MessageActionsClickDetails<T extends DefaultStreamChatGeneri
|
|
|
308
308
|
isMine: boolean;
|
|
309
309
|
customActions: CustomMessageActionItem[];
|
|
310
310
|
};
|
|
311
|
+
export declare type GroupStyleOptions = {
|
|
312
|
+
noGroupByUser?: boolean;
|
|
313
|
+
lastReadMessageId?: string;
|
|
314
|
+
noGroupByReadState?: boolean;
|
|
315
|
+
};
|
|
311
316
|
export {};
|
package/package.json
CHANGED
package/src/assets/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '4.
|
|
1
|
+
export const version = '4.65.1';
|