@maintainer-pro/ai-ui 0.2.7 → 0.2.9
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/ai-ui.css +1 -1
- package/dist/ai-ui.iife.js +39 -35
- package/dist/ai-ui.iife.js.map +1 -1
- package/embed.d.ts +9 -0
- package/package.json +2 -2
package/embed.d.ts
CHANGED
|
@@ -37,6 +37,15 @@ export type AiUiInitOptions = AiUiMountOptions & {
|
|
|
37
37
|
* `window.__MAINTAINER_PRO__.apiUrl`.
|
|
38
38
|
*/
|
|
39
39
|
apiUrl?: string;
|
|
40
|
+
/**
|
|
41
|
+
* `side` (default) docks chat on the right and shrinks the host page so
|
|
42
|
+
* the app stays fully visible. `overlay` slides over the page.
|
|
43
|
+
*/
|
|
44
|
+
layout?: "side" | "overlay";
|
|
45
|
+
/**
|
|
46
|
+
* Element that shrinks when the side panel opens.
|
|
47
|
+
* Defaults to the document (`html`) for `layout: "side"`.
|
|
48
|
+
*/
|
|
40
49
|
pushSelector?: string;
|
|
41
50
|
storageKey?: string;
|
|
42
51
|
startOpen?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maintainer-pro/ai-ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.9",
|
|
4
4
|
"description": "Embeddable chat widget for Maintainer Pro (script tag, any frontend)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"maintainer-pro",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"dev": "npm run build:css && tsup --config tsup.embed.config.ts --watch"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@maintainer-pro/ai-cli": "^0.1.
|
|
43
|
+
"@maintainer-pro/ai-cli": "^0.1.15"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@assistant-ui/react": "^0.14.18",
|