@elia-assistant/chatui 1.0.17 → 1.0.19

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.
@@ -1,7 +1,10 @@
1
1
  import type { ChatConfig } from './types/index.ts';
2
2
  export interface CreateChatOptions extends Partial<ChatConfig> {
3
- /** CSS selector or DOM element where the chat will mount. */
4
- target: string | HTMLElement;
3
+ /** CSS selector or DOM element where the chat will mount.
4
+ * If omitted (or the selector does not match anything), a `<div>` is
5
+ * automatically created, appended to `<body>`, and the shadow root is
6
+ * attached to that div. */
7
+ target?: string | HTMLElement;
5
8
  /** Initial UI language code (e.g. 'en', 'sk'). Applied immediately via `setLanguage()`. */
6
9
  language?: string;
7
10
  }