@gengage/assistant-fe 0.4.12 → 0.4.14

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.
@@ -3,6 +3,8 @@ export interface LauncherOptions {
3
3
  svgMarkup?: string;
4
4
  /** Full-size image URL — renders launcher as an image button (no circular bg). */
5
5
  imageUrl?: string;
6
+ /** Mobile-specific image URL. When set, shown on mobile; `imageUrl` shown on desktop. */
7
+ mobileImageUrl?: string;
6
8
  ariaLabel?: string;
7
9
  hideMobile?: boolean;
8
10
  mobileBreakpoint?: number;
@@ -65,6 +65,7 @@ export declare class GengageChat extends BaseWidget<ChatWidgetConfig> {
65
65
  private _comparisonSelectionWarning;
66
66
  private _comparisonRefreshRafId;
67
67
  private _lastAppliedKeyboardInset;
68
+ private _syncVisualVh;
68
69
  /** SKUs of products the user has viewed across panel product grids. */
69
70
  private _viewedProductSkus;
70
71
  /** Latest AI analysis UISpec (AITopPicks/AIGroupingCards) per thread for panel restore. */
@@ -26,6 +26,11 @@ export interface ChatWidgetConfig extends BaseWidgetConfig {
26
26
  * Ignored when `pillLauncher` is set (pill derives `launcherImageUrl` from `pillLauncher.avatarUrl`).
27
27
  */
28
28
  launcherImageUrl?: string;
29
+ /**
30
+ * Mobile-specific launcher image URL. When set alongside `launcherImageUrl`,
31
+ * this image is shown on mobile viewports and `launcherImageUrl` on desktop.
32
+ */
33
+ mobileLauncherImageUrl?: string;
29
34
  /**
30
35
  * Declarative pill-shaped floating launcher (label + avatar). The widget calls
31
36
  * `makePillLauncher` and `apply()` internally after mount — no host `apply()` needed.
@@ -1,4 +1,4 @@
1
- import { c as e, d as t, i as r, l as s, n, o as i, r as l, s as C, t as c, u as d } from "./runtime-CYN4ZmHO.js";
1
+ import { c as e, d as t, i as r, l as s, n, o as i, r as l, s as C, t as c, u as d } from "./runtime-EUhElpCX.js";
2
2
  export {
3
3
  s as CHAT_SCROLL_ELEMENT_ID,
4
4
  r as ChatPresentationState,