@ethora/chat-component 26.2.21 → 26.2.22
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/README.md +1 -0
- package/dist/helpers/historyPreloadScheduler.d.ts +1 -0
- package/dist/hooks/useLoaderDebug.d.ts +1 -0
- package/dist/main.js +10190 -10027
- package/dist/main.js.map +1 -1
- package/dist/networking/xmppClient.d.ts +6 -0
- package/dist/types/models/config.model.d.ts +8 -0
- package/dist/types/models/xmpp.model.d.ts +7 -0
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/scripts/init-push.js +0 -0
package/README.md
CHANGED
|
@@ -358,6 +358,7 @@ Below is a grouped reference for all `config` options.
|
|
|
358
358
|
| `colors` | `{ primary: string; secondary: string }` | Theme colors for component UI. |
|
|
359
359
|
| `roomListStyles` | `React.CSSProperties` | Styles for room list pane. |
|
|
360
360
|
| `chatRoomStyles` | `React.CSSProperties` | Styles for chat pane. |
|
|
361
|
+
| `noMessagesPlaceholder` | `React.ComponentType` | Replace empty-chat placeholder component (same render position as default placeholder). |
|
|
361
362
|
| `backgroundChat` | `{ color?: string; image?: string \| File }` | Chat background customization. |
|
|
362
363
|
| `bubleMessage` | `MessageBubble` | Bubble-level style overrides (as defined in types). |
|
|
363
364
|
| `setRoomJidInPath` | `boolean` | Sync room JID to URL path. |
|
|
@@ -7,6 +7,7 @@ interface HistoryPreloadSchedulerOptions {
|
|
|
7
7
|
retryLimit?: number;
|
|
8
8
|
selectedRoomJid?: string | null;
|
|
9
9
|
defaultRoomJids?: string[];
|
|
10
|
+
forceReload?: boolean;
|
|
10
11
|
}
|
|
11
12
|
export declare const runHistoryPreloadScheduler: (options: HistoryPreloadSchedulerOptions) => Promise<void>;
|
|
12
13
|
export default runHistoryPreloadScheduler;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useLoaderDebug: (loaderName: string, visible: boolean) => void;
|