@elia-assistant/chatui 1.0.25 → 1.0.26
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 +13 -7
- package/dist/chatui.iife.js +28 -27
- package/dist/chunks/{i18n-Vi-f1TFq.js → i18n-DS9aLar5.js} +2 -1
- package/dist/chunks/{settingsStore-yU8h8KVJ.js → settingsStore-JRogtJV3.js} +55 -43
- package/dist/chunks/translation-BL8dP5qm.js +94 -0
- package/dist/index.js +41 -31
- package/dist/store.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -69,7 +69,7 @@ const instance = createChat({
|
|
|
69
69
|
- **Bottom-sheet style** — opt-in `fullscreenSheet` mode covers ~3/4 of the screen with a rounded top instead of going edge-to-edge
|
|
70
70
|
- **Optional tabs** — surface a Notifications feed (URL or inline JSON) and a searchable FAQ alongside the chat
|
|
71
71
|
- **SSE streaming** — optional word-by-word bot responses
|
|
72
|
-
- **
|
|
72
|
+
- **16 built-in themes** — Sunrise, Ivory, Cherry, Sky, Lavender, Nice, Navy, Amber, Slate, Graphite, Stone, Cosmos, Forest, Ocean, Cherry Dark, Midnight; switch at runtime
|
|
73
73
|
- **30 built-in avatars** + file upload (max 500 KB) or URL — same picker for the floating button icon
|
|
74
74
|
- **CTA popup** — timed speech-bubble with optional Web Audio notification, window mode only
|
|
75
75
|
- **Conversation history** — optional sidebar with persistent multi-session history
|
|
@@ -172,16 +172,22 @@ Resolution chain: `i18n[activeLang].X` -> `i18n['en'].X` -> global `config.X`.
|
|
|
172
172
|
|
|
173
173
|
| ID | Name | Style | Accent |
|
|
174
174
|
|---|---|---|---|
|
|
175
|
-
| `midnight` | Midnight | Dark | Indigo `#6366f1` |
|
|
176
|
-
| `ivory` | Ivory | Light | Indigo `#4338ca` |
|
|
177
175
|
| `sunrise` | Sunrise | Light | Orange `#f97316` |
|
|
178
|
-
| `
|
|
179
|
-
| `forest` | Forest | Dark | Green `#22c55e` |
|
|
180
|
-
| `ocean` | Ocean | Dark | Cyan `#06b6d4` |
|
|
176
|
+
| `ivory` | Ivory | Light | Indigo `#4338ca` |
|
|
181
177
|
| `cherry` | Cherry | Light | Red `#ef4444` |
|
|
182
|
-
| `
|
|
178
|
+
| `sky` | Sky | Light | Blue `#5ba1da` |
|
|
183
179
|
| `lavender` | Lavender | Light | Violet `#8b5cf6` |
|
|
180
|
+
| `nice` | Nice | Light | Cyan `#3f7e83` |
|
|
181
|
+
| `navy` | Navy | Light | Blue `#ebf3f2` |
|
|
184
182
|
| `amber` | Amber | Dark | Amber `#f59e0b` |
|
|
183
|
+
| `slate` | Slate | Light | Blue `#38bdf8` |
|
|
184
|
+
| `graphite` | Graphite | Blue `#4185eb` |
|
|
185
|
+
| `stone` | Stone | Light | Orange `#fbbf24` |
|
|
186
|
+
| `cosmos` | Cosmos | Dark | Purple `#a855f7` |
|
|
187
|
+
| `forest` | Forest | Dark | Green `#22c55e` |
|
|
188
|
+
| `ocean` | Ocean | Dark | Cyan `#06b6d4` |
|
|
189
|
+
| `cherryDark` | Cherry Dark | Dark | Red `#ef4444` |
|
|
190
|
+
| `midnight` | Midnight | Dark | Indigo `#6366f1` |
|
|
185
191
|
|
|
186
192
|
Defined in `src/themes.ts` — add your own by appending to the array.
|
|
187
193
|
|