@askly/widget 1.1.3 → 2.0.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/index.d.ts +1 -0
- package/dist/index.esm.js +10 -31
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +18 -39
- package/dist/index.umd.js.map +1 -1
- package/dist/widget.d.ts +2 -1
- package/package.json +1 -1
package/dist/widget.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ interface ChatWidgetProps {
|
|
|
4
4
|
orgId?: string;
|
|
5
5
|
organizationName?: string;
|
|
6
6
|
themeColor?: string;
|
|
7
|
+
theme?: "light" | "dark" | "auto";
|
|
7
8
|
position?: "left" | "right";
|
|
8
9
|
orgServerRoute: string;
|
|
9
10
|
enableVoiceChat?: boolean;
|
|
@@ -27,5 +28,5 @@ interface ChatWidgetProps {
|
|
|
27
28
|
onChatClosed?: () => void;
|
|
28
29
|
onEscalation?: (data: any) => void;
|
|
29
30
|
}
|
|
30
|
-
export declare const ChatWidget: ({ orgId, organizationName: initialOrganizationName, themeColor: initialThemeColor, position, orgServerRoute, enableVoiceChat: initialEnableVoiceChat, welcomeMessage: initialWelcomeMessage, placeholderText, organizationLogo, buttonIcon, autoOpen, showTimestamp, soundEnabled, soundVolume, poweredBy, userId, timestamp, signature, turnstileSiteKey, excludePaths, onMessageSent, onMessageReceived, onChatOpened, onChatClosed, onEscalation, }: ChatWidgetProps) => React.JSX.Element | null;
|
|
31
|
+
export declare const ChatWidget: ({ orgId, organizationName: initialOrganizationName, themeColor: initialThemeColor, theme: initialTheme, position, orgServerRoute, enableVoiceChat: initialEnableVoiceChat, welcomeMessage: initialWelcomeMessage, placeholderText, organizationLogo, buttonIcon, autoOpen, showTimestamp, soundEnabled, soundVolume, poweredBy, userId, timestamp, signature, turnstileSiteKey, excludePaths, onMessageSent, onMessageReceived, onChatOpened, onChatClosed, onEscalation, }: ChatWidgetProps) => React.JSX.Element | null;
|
|
31
32
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@askly/widget",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Embeddable AI support chat widget with voice capabilities, RAG integration, and extensive customization options.",
|
|
5
5
|
"main": "dist/index.umd.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|