@ethora/chat-component 25.7.4 → 25.7.6
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/components/ExampleComponents/CustomTypingIndicatorExamples.d.ts +43 -0
- package/dist/components/styled/SendInput.d.ts +1 -0
- package/dist/components/styled/StyledInputComponents/CustomTypingIndicator.d.ts +18 -0
- package/dist/hooks/useCustomTypingIndicator.d.ts +62 -0
- package/dist/hooks/useSendMessage.d.ts +1 -0
- package/dist/main.js +7987 -7765
- package/dist/main.js.map +1 -1
- package/dist/types/models/config.model.d.ts +13 -0
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -103,5 +103,18 @@ export interface IConfig {
|
|
|
103
103
|
enabled: boolean;
|
|
104
104
|
filterFunction: (text: string) => string;
|
|
105
105
|
};
|
|
106
|
+
additionalFuncSendMessage?: (args: any) => any;
|
|
106
107
|
disableTypingIndicator?: boolean;
|
|
108
|
+
blockMessageSendingWhenProcessing?: boolean;
|
|
109
|
+
customTypingIndicator?: {
|
|
110
|
+
enabled: boolean;
|
|
111
|
+
text?: string | ((usersTyping: string[]) => string);
|
|
112
|
+
position?: 'bottom' | 'top' | 'overlay' | 'floating';
|
|
113
|
+
styles?: React.CSSProperties;
|
|
114
|
+
customComponent?: React.ComponentType<{
|
|
115
|
+
usersTyping: string[];
|
|
116
|
+
text: string;
|
|
117
|
+
isVisible: boolean;
|
|
118
|
+
}>;
|
|
119
|
+
};
|
|
107
120
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ETHORA_CHAT_COMPONENT_VERSION = "25.7.
|
|
1
|
+
export declare const ETHORA_CHAT_COMPONENT_VERSION = "25.7.5";
|