@amityco/ui-kit-open-source 4.25.0 → 4.27.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/esm/index.js +39 -39
- package/dist/index.d.mts +16 -1
- package/dist/index.d.ts +16 -1
- package/dist/index.js +171 -171
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -116,6 +116,12 @@ interface Config {
|
|
|
116
116
|
};
|
|
117
117
|
chat?: {
|
|
118
118
|
enabled_channel_types?: ('conversation' | 'community')[];
|
|
119
|
+
/**
|
|
120
|
+
* Order of the chat home channel list. `lastActivity` (default) moves a
|
|
121
|
+
* channel on any activity, including member changes; `lastMessage` moves it
|
|
122
|
+
* only when a message is posted. Any other value falls back to `lastActivity`.
|
|
123
|
+
*/
|
|
124
|
+
channel_list_sort_by?: 'lastActivity' | 'lastMessage';
|
|
119
125
|
conversation_chat_user_actions?: {
|
|
120
126
|
name: 'mute' | 'report' | 'block';
|
|
121
127
|
enabled: boolean;
|
|
@@ -895,7 +901,16 @@ declare const LiveChat: ({ channelId }: LiveChatProps) => react_jsx_runtime.JSX.
|
|
|
895
901
|
|
|
896
902
|
declare function Application(): react_jsx_runtime.JSX.Element;
|
|
897
903
|
|
|
898
|
-
|
|
904
|
+
type ChatHomePageProps = {
|
|
905
|
+
/**
|
|
906
|
+
* Keeps the page mounted but out of view, with its channel collections and
|
|
907
|
+
* their realtime subscriptions alive, while another chat page is on top.
|
|
908
|
+
* The chat application sets this instead of unmounting the home; see
|
|
909
|
+
* `Application.tsx`.
|
|
910
|
+
*/
|
|
911
|
+
hidden?: boolean;
|
|
912
|
+
};
|
|
913
|
+
declare function ChatHomePage({ hidden }?: ChatHomePageProps): react_jsx_runtime.JSX.Element | null;
|
|
899
914
|
|
|
900
915
|
declare function ChannelCreateConversationPage(): react_jsx_runtime.JSX.Element | null;
|
|
901
916
|
|
package/dist/index.d.ts
CHANGED
|
@@ -116,6 +116,12 @@ interface Config {
|
|
|
116
116
|
};
|
|
117
117
|
chat?: {
|
|
118
118
|
enabled_channel_types?: ('conversation' | 'community')[];
|
|
119
|
+
/**
|
|
120
|
+
* Order of the chat home channel list. `lastActivity` (default) moves a
|
|
121
|
+
* channel on any activity, including member changes; `lastMessage` moves it
|
|
122
|
+
* only when a message is posted. Any other value falls back to `lastActivity`.
|
|
123
|
+
*/
|
|
124
|
+
channel_list_sort_by?: 'lastActivity' | 'lastMessage';
|
|
119
125
|
conversation_chat_user_actions?: {
|
|
120
126
|
name: 'mute' | 'report' | 'block';
|
|
121
127
|
enabled: boolean;
|
|
@@ -895,7 +901,16 @@ declare const LiveChat: ({ channelId }: LiveChatProps) => react_jsx_runtime.JSX.
|
|
|
895
901
|
|
|
896
902
|
declare function Application(): react_jsx_runtime.JSX.Element;
|
|
897
903
|
|
|
898
|
-
|
|
904
|
+
type ChatHomePageProps = {
|
|
905
|
+
/**
|
|
906
|
+
* Keeps the page mounted but out of view, with its channel collections and
|
|
907
|
+
* their realtime subscriptions alive, while another chat page is on top.
|
|
908
|
+
* The chat application sets this instead of unmounting the home; see
|
|
909
|
+
* `Application.tsx`.
|
|
910
|
+
*/
|
|
911
|
+
hidden?: boolean;
|
|
912
|
+
};
|
|
913
|
+
declare function ChatHomePage({ hidden }?: ChatHomePageProps): react_jsx_runtime.JSX.Element | null;
|
|
899
914
|
|
|
900
915
|
declare function ChannelCreateConversationPage(): react_jsx_runtime.JSX.Element | null;
|
|
901
916
|
|