@ethora/chat-component 26.5.11 → 26.5.13
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/VideoCallOverlay-BmJrOxV-.js +23609 -0
- package/dist/VideoCallOverlay-BmJrOxV-.js.map +1 -0
- package/dist/components/RoomComponents/ChatRoomItem.d.ts +2 -2
- package/dist/components/RoomComponents/OnlineUsersPopover.d.ts +11 -0
- package/dist/helpers/isLikelyMucJid.d.ts +1 -0
- package/dist/helpers/resolveIconColor.d.ts +5 -3
- package/dist/main-zYB-p6qE.js +53740 -0
- package/dist/main-zYB-p6qE.js.map +1 -0
- package/dist/main.js +19 -77013
- package/dist/main.js.map +1 -1
- package/dist/networking/xmppClient.d.ts +2 -0
- package/dist/roomStore/Middleware/unreadMidlleware.d.ts +1 -0
- package/package.json +1 -1
|
@@ -7,5 +7,5 @@ interface ChatRoomItemProps {
|
|
|
7
7
|
performClick: (chat: IRoom) => void;
|
|
8
8
|
config: IConfig;
|
|
9
9
|
}
|
|
10
|
-
declare const
|
|
11
|
-
export default
|
|
10
|
+
declare const _default: React.NamedExoticComponent<ChatRoomItemProps>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { RoomMember } from '../../types/types';
|
|
3
|
+
interface OnlineUsersPopoverProps {
|
|
4
|
+
/** xmppUsernames currently online in this room (from useRoomPresence). */
|
|
5
|
+
onlineUsernames: string[];
|
|
6
|
+
members?: RoomMember[];
|
|
7
|
+
myXmppUsername: string;
|
|
8
|
+
isChatActive?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const OnlineUsersPopover: React.FC<OnlineUsersPopoverProps>;
|
|
11
|
+
export default OnlineUsersPopover;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isLikelyMucJid: (jid: unknown) => jid is string;
|
|
@@ -12,9 +12,11 @@ export declare const resolveIconColor: (config?: Pick<IConfig, "colors"> | null)
|
|
|
12
12
|
* Resolve the background colour to use behind the chat's icon "chips" (attach,
|
|
13
13
|
* send, microphone, file preview, etc.).
|
|
14
14
|
*
|
|
15
|
-
* Priority: explicit `config.colors.iconsBg` →
|
|
16
|
-
*
|
|
17
|
-
*
|
|
15
|
+
* Priority: explicit `config.colors.iconsBg` → a soft neutral default. We do
|
|
16
|
+
* NOT fall back to `colors.secondary`: that's a text/heading colour (often
|
|
17
|
+
* near-black), and using it here rendered the icon chips as harsh black
|
|
18
|
+
* squares. `secondary` also drives avatar backgrounds, so keeping it out of
|
|
19
|
+
* this resolver lets hosts theme text without blacking out the icons.
|
|
18
20
|
*/
|
|
19
21
|
export declare const resolveIconBgColor: (config?: Pick<IConfig, "colors"> | null) => string;
|
|
20
22
|
/** CSS variable read by the chat's chrome icons as their default colour. */
|