@headwai/chat-bubble 2.0.0 → 2.0.2
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.dev.md +1 -1
- package/README.md +6 -7
- package/docs/images/api-keys.png +0 -0
- package/docs/images/model-edit.png +0 -0
- package/docs/images/model-id.png +0 -0
- package/docs/images/settings.png +0 -0
- package/package.json +3 -2
package/README.dev.md
CHANGED
|
@@ -216,7 +216,7 @@ VITE_CHAT_BUBBLE_FAVICON_BG_COLOR=#667eea
|
|
|
216
216
|
data-chat-bubble-ai-message-background-color="#00c851"
|
|
217
217
|
data-chat-bubble-user-message-text-color="#ffffff"
|
|
218
218
|
data-chat-bubble-ai-message-text-color="#004225"
|
|
219
|
-
data-chat-bubble-
|
|
219
|
+
data-chat-bubble-favicon-background-color="#ff6f00"></div>
|
|
220
220
|
```
|
|
221
221
|
|
|
222
222
|
**Color Suggestions for Assistant Icon:**
|
package/README.md
CHANGED
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
## Features
|
|
4
4
|
|
|
5
5
|
- 🚀 Easy integration
|
|
6
|
-
-
|
|
7
|
-
-
|
|
8
|
-
- Review user conversations in LocalChat
|
|
6
|
+
- 💬 Connect to any LocalChat Model
|
|
7
|
+
- 📋 Review conversations in LocalChat
|
|
9
8
|
- 📱 Responsive design
|
|
10
9
|
- 🎨 Customizable UI components
|
|
11
10
|
- 🔄 Real-time messaging with WebSocket support
|
|
@@ -78,7 +77,7 @@ For multiple instances use data attributes of the `<div>` tag for configuration
|
|
|
78
77
|
<div data-chat-bubble
|
|
79
78
|
data-chat-bubble-api-url="https://company.localchat.at"
|
|
80
79
|
data-chat-bubble-api-key="customer-support-user-api-key"
|
|
81
|
-
data-chat-bubble-model-
|
|
80
|
+
data-chat-bubble-model-id="customer-support-model-id"
|
|
82
81
|
data-chat-bubble-max-messages="0"
|
|
83
82
|
data-chat-bubble-placeholder-text="Ask your question here!"
|
|
84
83
|
data-chat-bubble-favicon-path="https://cdn.company.at/icons/favicon.svg"
|
|
@@ -87,14 +86,14 @@ For multiple instances use data attributes of the `<div>` tag for configuration
|
|
|
87
86
|
data-chat-bubble-ai-message-background-color="#f1f3f4"
|
|
88
87
|
data-chat-bubble-user-message-text-color="#000000"
|
|
89
88
|
data-chat-bubble-ai-message-text-color="#000000"
|
|
90
|
-
data-chat-bubble-
|
|
89
|
+
data-chat-bubble-favicon-background-color="#667eea">
|
|
91
90
|
</div>
|
|
92
91
|
|
|
93
92
|
<!-- Another chat bubble with different config -->
|
|
94
93
|
<div data-chat-bubble
|
|
95
94
|
data-chat-bubble-api-url="https://company.localchat.at"
|
|
96
95
|
data-chat-bubble-api-key="customer-support-user-api-key"
|
|
97
|
-
data-chat-bubble-model-
|
|
96
|
+
data-chat-bubble-model-id="FAQ-model-id"
|
|
98
97
|
data-chat-bubble-max-messages="10"
|
|
99
98
|
data-chat-bubble-placeholder-text="Ask about our FAQ..."
|
|
100
99
|
data-chat-bubble-favicon-path="https://cdn.company.at/icons/faq-icon.svg"
|
|
@@ -103,7 +102,7 @@ For multiple instances use data attributes of the `<div>` tag for configuration
|
|
|
103
102
|
data-chat-bubble-ai-message-background-color="#e9ecef"
|
|
104
103
|
data-chat-bubble-user-message-text-color="#ffffff"
|
|
105
104
|
data-chat-bubble-ai-message-text-color="#495057"
|
|
106
|
-
data-chat-bubble-
|
|
105
|
+
data-chat-bubble-favicon-background-color="#28a745">
|
|
107
106
|
</div>
|
|
108
107
|
|
|
109
108
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@headwai/chat-bubble@latest/dist-widget/chat-bubble.css">
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@headwai/chat-bubble",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "A chat bubble component for LocalChat by headwAI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
8
8
|
"files": [
|
|
9
9
|
"dist",
|
|
10
|
-
"dist-widget"
|
|
10
|
+
"dist-widget",
|
|
11
|
+
"docs"
|
|
11
12
|
],
|
|
12
13
|
"keywords": [
|
|
13
14
|
"chat",
|