@linktr.ee/messaging-react 1.7.1 → 1.7.2-rc-1763204452
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/index.d.ts +6 -1
- package/dist/index.js +639 -780
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ChannelList/index.tsx +5 -108
- package/src/components/ChannelView.tsx +17 -6
- package/src/components/FaqList/FaqListItem.tsx +0 -1
- package/src/components/MessagingShell/index.tsx +24 -5
- package/src/types.ts +7 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Channel } from 'stream-chat';
|
|
2
|
+
import { ChannelFilters } from 'stream-chat';
|
|
2
3
|
import { default as default_2 } from 'react';
|
|
3
4
|
import { MessagingUser } from '@linktr.ee/messaging-core';
|
|
4
5
|
import { StreamChat } from 'stream-chat';
|
|
@@ -38,6 +39,7 @@ export declare interface ChannelListProps {
|
|
|
38
39
|
onStartConversation?: () => void;
|
|
39
40
|
participantLabel?: string;
|
|
40
41
|
className?: string;
|
|
42
|
+
filters: ChannelFilters;
|
|
41
43
|
}
|
|
42
44
|
|
|
43
45
|
/**
|
|
@@ -118,7 +120,6 @@ declare interface MessagingContextValue {
|
|
|
118
120
|
declare interface MessagingCustomization {
|
|
119
121
|
theme?: 'light' | 'dark' | 'auto';
|
|
120
122
|
accentColor?: string;
|
|
121
|
-
showParticipantStatus?: boolean;
|
|
122
123
|
}
|
|
123
124
|
|
|
124
125
|
/**
|
|
@@ -182,6 +183,10 @@ export declare interface MessagingShellProps {
|
|
|
182
183
|
* to show only the channel view without the list.
|
|
183
184
|
*/
|
|
184
185
|
showChannelList?: boolean;
|
|
186
|
+
/**
|
|
187
|
+
* Filters for channel list. Passed through to StreamChat ChannelList.
|
|
188
|
+
*/
|
|
189
|
+
filters?: ChannelFilters;
|
|
185
190
|
}
|
|
186
191
|
|
|
187
192
|
/**
|