@schmitech/chatbot-widget 0.4.9 → 0.4.11

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.
@@ -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;
@@ -1,5 +1,6 @@
1
1
  export type MessageRole = 'user' | 'assistant' | 'system';
2
2
  export interface Message {
3
+ id: string;
3
4
  role: MessageRole;
4
5
  content: string;
5
6
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@schmitech/chatbot-widget",
3
3
  "private": false,
4
- "version": "0.4.9",
4
+ "version": "0.4.11",
5
5
  "type": "module",
6
6
  "main": "./dist/chatbot-widget.umd.js",
7
7
  "module": "./dist/chatbot-widget.es.js",
@@ -27,7 +27,7 @@
27
27
  "preview": "vite preview"
28
28
  },
29
29
  "dependencies": {
30
- "@schmitech/chatbot-api": "^0.4.5",
30
+ "@schmitech/chatbot-api": "^0.5.1",
31
31
  "clsx": "^2.1.0",
32
32
  "katex": "^0.16.8",
33
33
  "lucide-react": "^0.344.0",
@@ -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>;