@alxxsck/ai-assistant 2.24.2 → 2.25.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.
@@ -2,7 +2,6 @@ import type { CompactPreviewController, CompactPreviewSnapshot } from "@/domain/
2
2
  type CompactPreviewSurfaceProps = {
3
3
  controller: CompactPreviewController;
4
4
  snapshot: CompactPreviewSnapshot;
5
- onOpenChat: () => void;
6
5
  };
7
- export declare function CompactPreviewSurface({ controller, snapshot, onOpenChat, }: CompactPreviewSurfaceProps): import("react/jsx-runtime").JSX.Element | null;
6
+ export declare function CompactPreviewSurface({ controller, snapshot, }: CompactPreviewSurfaceProps): import("react/jsx-runtime").JSX.Element | null;
8
7
  export {};
@@ -2,17 +2,14 @@ import type { CompactPreviewCandidate, CompactPreviewPhase } from "@/domain/comp
2
2
  export type CompactScenarioPreviewLabels = {
3
3
  region: string;
4
4
  dismiss: string;
5
- openChat: string;
6
5
  choices: string;
7
6
  };
8
7
  export type CompactScenarioPreviewProps = {
9
8
  candidate: CompactPreviewCandidate;
10
9
  phase: CompactPreviewPhase;
11
10
  onDismiss: () => void;
12
- onOpenChat: () => void;
13
11
  onChoice: (optionId: string) => void | Promise<void>;
14
12
  onCta: () => void | Promise<void>;
15
- onRenderedOverflow?: () => void;
16
13
  disabled?: boolean;
17
14
  busy?: boolean;
18
15
  ctaLabel?: string | null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@alxxsck/ai-assistant",
3
3
  "private": false,
4
- "version": "2.24.2",
4
+ "version": "2.25.0",
5
5
  "description": "Embeddable Lola AI assistant library",
6
6
  "type": "module",
7
7
  "main": "dist/bridge-ai-chat-widget.es.js",