@schmitech/chatbot-widget 0.4.9 → 0.4.10
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 +353 -43
- package/dist/chatbot-widget.bundle.js +7246 -96
- package/dist/chatbot-widget.css +1 -1
- package/dist/chatbot-widget.es.js +34458 -8565
- package/dist/chatbot-widget.umd.js +7245 -95
- package/dist/config/index.d.ts +8 -0
- package/package.json +1 -1
- package/dist/shared/ChatIcon.d.ts +0 -12
package/dist/config/index.d.ts
CHANGED
|
@@ -28,6 +28,10 @@ export interface ChatConfig {
|
|
|
28
28
|
chatButton: {
|
|
29
29
|
background: string;
|
|
30
30
|
hoverBackground?: string;
|
|
31
|
+
borderColor?: string;
|
|
32
|
+
iconColor?: string;
|
|
33
|
+
iconBorderColor?: string;
|
|
34
|
+
iconName?: string;
|
|
31
35
|
};
|
|
32
36
|
};
|
|
33
37
|
welcome: {
|
|
@@ -65,6 +69,10 @@ export declare const defaultTheme: {
|
|
|
65
69
|
chatButton: {
|
|
66
70
|
background: string;
|
|
67
71
|
hoverBackground: string;
|
|
72
|
+
borderColor: string;
|
|
73
|
+
iconColor: string;
|
|
74
|
+
iconBorderColor: string;
|
|
75
|
+
iconName: string;
|
|
68
76
|
};
|
|
69
77
|
};
|
|
70
78
|
export declare const getChatConfig: () => ChatConfig;
|
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface ChatIconProps {
|
|
3
|
-
iconName?: string;
|
|
4
|
-
size?: number;
|
|
5
|
-
className?: string;
|
|
6
|
-
style?: React.CSSProperties;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* ChatIcon component renders different icons based on the iconName prop
|
|
10
|
-
* Supports various chat-related icons with consistent sizing and styling
|
|
11
|
-
*/
|
|
12
|
-
export declare const ChatIcon: React.FC<ChatIconProps>;
|