@gengage/assistant-fe 0.6.16 → 0.6.17

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,4 +1,4 @@
1
- import { i as U } from "./widget-base-DRaUfd-H.js";
1
+ import { i as U } from "./widget-base-DoZrhVze.js";
2
2
  var z = ({ element: e, renderElement: t }) => {
3
3
  if (!e.children || e.children.length === 0) return null;
4
4
  const r = document.createElement("div");
@@ -17,6 +17,15 @@
17
17
  * },
18
18
  * }
19
19
  */
20
+ export interface InlineLauncherMobileHostOptions {
21
+ /** Host element for the inline row on compact viewports. */
22
+ hostSelector: string;
23
+ /** Sibling co-located in the row (e.g. mobile search trigger). */
24
+ siblingSelector?: string;
25
+ siblingPlacement?: 'before' | 'after';
26
+ siblingRestoreParentSelector?: string;
27
+ rowPlacement?: 'start' | 'end';
28
+ }
20
29
  export interface InlineLauncherSizeOptions {
21
30
  /** Gap between sibling search and launcher button in the row. */
22
31
  rowGap?: string;
@@ -105,6 +114,11 @@ export interface InlineLauncherOptions {
105
114
  debounceMs?: number;
106
115
  /** Stable id for the launcher button. Default: 'gengage-inline-launcher'. */
107
116
  buttonId?: string;
117
+ /**
118
+ * Optional DOM targets for compact viewports when `enableOnMobile` is true
119
+ * and width is below `desktopMinWidth`. Falls back to desktop selectors when omitted.
120
+ */
121
+ mobileHost?: InlineLauncherMobileHostOptions;
108
122
  /**
109
123
  * Optional size overrides. Desktop values apply by default; `size.mobile`
110
124
  * applies below the compact breakpoint (`desktopMinWidth` when `enableOnMobile`, else 576px).
@@ -113,6 +127,7 @@ export interface InlineLauncherOptions {
113
127
  mobile?: InlineLauncherSizeOptions & {
114
128
  hideTitle?: boolean;
115
129
  hideSpark?: boolean;
130
+ hideLogo?: boolean;
116
131
  };
117
132
  };
118
133
  }
@@ -4,5 +4,5 @@ export type { ChatCatalog, ChatComponentName } from './catalog.js';
4
4
  export { createFloatingLauncher } from './components/FloatingLauncher.js';
5
5
  export type { FloatingLauncherOptions } from './components/FloatingLauncher.js';
6
6
  export { createInlineLauncher } from './components/InlineLauncher.js';
7
- export type { InlineLauncherOptions, InlineLauncherSizeOptions } from './components/InlineLauncher.js';
7
+ export type { InlineLauncherOptions, InlineLauncherSizeOptions, InlineLauncherMobileHostOptions, } from './components/InlineLauncher.js';
8
8
  export type { ActionEnrichmentContext, BackendRequestMeta, InjectorAdapter, ProcessActionRequest, StreamCallbacks, } from '../common/transport.js';
@@ -1,4 +1,4 @@
1
- import { c as e, d as t, f as r, i as s, l as n, n as i, r as l, s as C, t as c, u as d } from "./runtime-Bt2VV3L3.js";
1
+ import { c as e, d as t, f as r, i as s, l as n, n as i, r as l, s as C, t as c, u as d } from "./runtime-BKU-NQXf.js";
2
2
  export {
3
3
  d as CHAT_SCROLL_ELEMENT_ID,
4
4
  s as ChatPresentationState,