flowdit-chatbot-library 1.3.2 → 1.3.4

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,5 @@
1
- import * as React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  export type ChatMode = 'floating' | 'sidebar' | 'fullscreen';
3
4
  export interface ChatContainerProps {
4
5
  mode?: ChatMode;
@@ -11,5 +12,6 @@ export interface ChatContainerProps {
11
12
  footer?: React.ReactNode;
12
13
  isDrawerOpen?: boolean;
13
14
  onDrawerOpenChange?: (isOpen: boolean) => void;
15
+ headerActions?: React.ReactNode;
14
16
  }
15
17
  export declare const ChatContainer: React.FC<ChatContainerProps>;
@@ -1,4 +1,5 @@
1
- import * as React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  interface ChatLauncherProps {
3
4
  onClick: () => void;
4
5
  }
@@ -1,4 +1,5 @@
1
- import * as React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  export interface ComposerProps {
3
4
  onSend?: (text: string) => void;
4
5
  disabled?: boolean;
@@ -1,4 +1,5 @@
1
- import * as React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  interface MenuProps {
3
4
  onClose: () => void;
4
5
  }
@@ -1,4 +1,5 @@
1
- import * as React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  export type ConfirmStatus = 'pending' | 'confirmed' | 'rejected' | 'executing';
3
4
  export interface ConfirmButtonsProps {
4
5
  toolCallId: string;
@@ -1,5 +1,6 @@
1
+ import { default as React } from 'react';
1
2
  import { ConfirmStatus } from '../ConfirmButtons/ConfirmButtons';
2
- import * as React from 'react';
3
+
3
4
  export interface Attachment {
4
5
  id: string;
5
6
  type: 'image' | 'file';
@@ -1,4 +1,5 @@
1
- import * as React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  export interface SidebarItem {
3
4
  id: string;
4
5
  label: string;
@@ -1,4 +1,5 @@
1
- import * as React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  interface PendingMessageListProps {
3
4
  queue: string[];
4
5
  onDelete?: (index: number) => void;
@@ -1,2 +1,3 @@
1
- import * as React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  export declare const ThinkingIndicator: React.FC;
@@ -1,4 +1,5 @@
1
- import * as React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  export type ToolStatus = 'running' | 'completed' | 'failed';
3
4
  export interface ToolInvocationProps {
4
5
  toolName: string;
@@ -1,4 +1,5 @@
1
- import * as React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  export interface QuickAction {
3
4
  id: string;
4
5
  label: string;