vanilla-agent 1.18.0 → 1.20.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/dist/index.cjs +19 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.global.js +21 -21
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +13 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/panel.ts +8 -2
- package/src/defaults.ts +1 -0
- package/src/runtime/init.ts +0 -3
- package/src/types.ts +8 -0
- package/src/ui.ts +3 -1
package/dist/index.d.cts
CHANGED
|
@@ -254,6 +254,14 @@ type AgentWidgetLauncherConfig = {
|
|
|
254
254
|
* @default "420px"
|
|
255
255
|
*/
|
|
256
256
|
sidebarWidth?: string;
|
|
257
|
+
/**
|
|
258
|
+
* Offset (in pixels) to subtract from the calculated panel height.
|
|
259
|
+
* Useful for adjusting the panel height when there are other fixed elements on the page.
|
|
260
|
+
* Only applies when not in fullHeight or sidebarMode.
|
|
261
|
+
*
|
|
262
|
+
* @default 0
|
|
263
|
+
*/
|
|
264
|
+
heightOffset?: number;
|
|
257
265
|
callToActionIconText?: string;
|
|
258
266
|
callToActionIconName?: string;
|
|
259
267
|
callToActionIconColor?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -254,6 +254,14 @@ type AgentWidgetLauncherConfig = {
|
|
|
254
254
|
* @default "420px"
|
|
255
255
|
*/
|
|
256
256
|
sidebarWidth?: string;
|
|
257
|
+
/**
|
|
258
|
+
* Offset (in pixels) to subtract from the calculated panel height.
|
|
259
|
+
* Useful for adjusting the panel height when there are other fixed elements on the page.
|
|
260
|
+
* Only applies when not in fullHeight or sidebarMode.
|
|
261
|
+
*
|
|
262
|
+
* @default 0
|
|
263
|
+
*/
|
|
264
|
+
heightOffset?: number;
|
|
257
265
|
callToActionIconText?: string;
|
|
258
266
|
callToActionIconName?: string;
|
|
259
267
|
callToActionIconColor?: string;
|