@headwai/chat-bubble 6.7.1 → 7.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/README.md +10 -3
- package/dist-widget/chat-bubble.js +86 -79
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -202,7 +202,7 @@ initialMessage: 'Hey! My name is Supporty, how can I help you?';
|
|
|
202
202
|
#### `chatTitle`
|
|
203
203
|
|
|
204
204
|
**Type:** `string` | **Default:** `'Headwai Chat Bubble'`
|
|
205
|
-
The title displayed in the chat window header at the top of the chat interface.
|
|
205
|
+
The title displayed in the chat window header at the top of the chat interface. After the first AI response, this title will be automatically replaced with a generated title based on the conversation content.
|
|
206
206
|
|
|
207
207
|
```javascript
|
|
208
208
|
chatTitle: 'Customer Support';
|
|
@@ -222,8 +222,9 @@ locale: 'de-DE'; // Force German interface
|
|
|
222
222
|
```
|
|
223
223
|
|
|
224
224
|
**Supported Languages:**
|
|
225
|
+
|
|
225
226
|
- `'en-GB'` - English (United Kingdom) - Default
|
|
226
|
-
- `'de-DE'` - German (Germany)
|
|
227
|
+
- `'de-DE'` - German (Germany)
|
|
227
228
|
- `'de-AT'` - German (Austria)
|
|
228
229
|
|
|
229
230
|
If your browser is set to German (de-DE, de-AT, or just "de"), the widget will automatically display German text. For all other languages, it falls back to English.
|
|
@@ -269,7 +270,13 @@ aiMessageTextColor: '#333333';
|
|
|
269
270
|
#### `faviconBackgroundColor`
|
|
270
271
|
|
|
271
272
|
**Type:** `string` | **Default:** `'#667eea'`
|
|
272
|
-
|
|
273
|
+
Primary color used throughout the chat interface. This color is applied to:
|
|
274
|
+
|
|
275
|
+
- The chat bubble icon background
|
|
276
|
+
- The chat header background
|
|
277
|
+
- The submit button background
|
|
278
|
+
|
|
279
|
+
This provides a consistent color theme across the entire chat widget.
|
|
273
280
|
|
|
274
281
|
```javascript
|
|
275
282
|
faviconBackgroundColor: '#667eea';
|