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.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;