@elia-assistant/chatui 2.0.0 → 2.0.3
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 +1 -1
- package/dist/chatui.iife.js +27 -27
- package/dist/chunks/{settingsStore-DzpdfGcd.js → settingsStore-ClKc5xeV.js} +16 -5
- package/dist/index.js +2023 -2004
- package/dist/store/settingsStore.d.ts +1 -0
- package/dist/store.js +1 -1
- package/dist/themes.d.ts +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -146,7 +146,7 @@ Omit `storageNamespace` for the single-widget case and the default storage keys
|
|
|
146
146
|
- **Multilingual UI** — English and Slovak bundled; extend via `instance.i18n.addResourceBundle` at runtime
|
|
147
147
|
- **Markdown rendering** — bot messages render full GFM via `react-markdown`
|
|
148
148
|
- **Configurable "Powered by" footer** — change the link text/URL or hide it entirely
|
|
149
|
-
- **Persistent settings** —
|
|
149
|
+
- **Persistent settings** — theme + language + conversation history survive page reloads (`localStorage`); config is reset to *defaults + your `createChat()` options* on every mount, so your code stays the source of truth
|
|
150
150
|
- **Multi-instance safe** — every `createChat()` call is fully isolated; `storageNamespace` separates their persisted state too
|
|
151
151
|
- **Lockable UI** — `hideSettings: true` removes the gear, theme picker, and settings modal (default for npm consumers)
|
|
152
152
|
- **Export config** — generate ready-to-paste host code from the settings modal
|