@linktr.ee/messaging-react 1.5.3 → 1.6.0
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/assets/index.css +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.js +532 -510
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ChannelView.tsx +1 -1
- package/src/components/FaqList/FaqList.stories.tsx +49 -0
- package/src/components/FaqList/FaqListItem.tsx +3 -2
- package/src/components/FaqList/index.tsx +38 -10
- package/src/components/MessagingShell/index.tsx +9 -4
- package/src/types.ts +7 -0
package/dist/index.d.ts
CHANGED
|
@@ -79,6 +79,8 @@ export declare interface FaqListProps {
|
|
|
79
79
|
loadingFaqId?: string | null;
|
|
80
80
|
headerText?: string;
|
|
81
81
|
className?: string;
|
|
82
|
+
avatarImage?: string;
|
|
83
|
+
avatarName?: string;
|
|
82
84
|
}
|
|
83
85
|
|
|
84
86
|
/**
|
|
@@ -169,6 +171,12 @@ export declare interface MessagingShellProps {
|
|
|
169
171
|
* Useful for showing FAQs or other contextual information in empty channels.
|
|
170
172
|
*/
|
|
171
173
|
CustomChannelEmptyState?: React.ComponentType;
|
|
174
|
+
/**
|
|
175
|
+
* Controls whether the channel list is shown. When false, the channel list
|
|
176
|
+
* is immediately hidden. Useful for direct conversation mode where you want
|
|
177
|
+
* to show only the channel view without the list.
|
|
178
|
+
*/
|
|
179
|
+
showChannelList?: boolean;
|
|
172
180
|
}
|
|
173
181
|
|
|
174
182
|
/**
|