@talkjs/react-components 0.0.12 → 0.0.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/default.css +1 -1
- package/default.d.ts +5 -1
- package/default.js +152 -65
- package/package.json +1 -1
- package/theming.d.ts +6 -2
package/package.json
CHANGED
package/theming.d.ts
CHANGED
|
@@ -158,6 +158,10 @@ export declare interface ChatHeaderProps {
|
|
|
158
158
|
t: Translation;
|
|
159
159
|
chatbox: Chatbox;
|
|
160
160
|
themeCustom?: any;
|
|
161
|
+
isUserConnected: {
|
|
162
|
+
[userId: string]: boolean;
|
|
163
|
+
};
|
|
164
|
+
permissions: UserPermissions;
|
|
161
165
|
}
|
|
162
166
|
|
|
163
167
|
export declare interface ContentBlockProps {
|
|
@@ -233,7 +237,7 @@ export declare function html(strings: TemplateStringsArray, ...args: any[]): Rea
|
|
|
233
237
|
export declare function i18n(code: string): Translation;
|
|
234
238
|
|
|
235
239
|
export declare interface IconProps {
|
|
236
|
-
type: "attach" | "chevronLeft" | "left" | "chevronUp" | "up" | "chevronDown" | "down" | "close" | "emoji" | "locationPin" | "more" | "plus" | "search" | "send" | "spinner" | "play" | "pause" | "updown" | "addEmoji" | "microphone" | "mic" | "stop" | "download" | "location" | "email" | "movie" | "image" | "attachment" | "horizontalDots" | "verticalDots" | "reply" | "back";
|
|
240
|
+
type: "attach" | "chevronLeft" | "left" | "chevronRight" | "right" | "chevronUp" | "up" | "chevronDown" | "down" | "close" | "emoji" | "locationPin" | "more" | "plus" | "search" | "send" | "spinner" | "play" | "pause" | "updown" | "addEmoji" | "microphone" | "mic" | "stop" | "download" | "location" | "email" | "movie" | "image" | "attachment" | "horizontalDots" | "verticalDots" | "reply" | "back";
|
|
237
241
|
className?: string;
|
|
238
242
|
themeCustom?: any;
|
|
239
243
|
}
|
|
@@ -268,7 +272,7 @@ export declare interface MessageContentProps {
|
|
|
268
272
|
message: MessageSnapshot;
|
|
269
273
|
t: Translation;
|
|
270
274
|
messageStatus: MessageStatus;
|
|
271
|
-
themeCustom
|
|
275
|
+
themeCustom?: any;
|
|
272
276
|
className?: string;
|
|
273
277
|
}
|
|
274
278
|
|