@cas0570/chat-widget 0.0.3 → 0.0.5

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/README.md CHANGED
@@ -256,10 +256,6 @@ geoapps-chat-widget/
256
256
  │ │ └── variables.css # CSS variables
257
257
  │ └── types/
258
258
  │ └── index.ts # TypeScript types
259
- ├── dist/ # Built files
260
- │ ├── index.js # ESM bundle
261
- │ ├── index.cjs # CommonJS bundle
262
- │ └── style.css # Styles
263
259
  ├── package.json
264
260
  ├── tsconfig.json
265
261
  ├── vite.config.ts # Build configuration
@@ -6,6 +6,7 @@ interface ChatWindowProps {
6
6
  placeholder: string;
7
7
  messages: Message[];
8
8
  isLoading: boolean;
9
+ isLoadingSession?: boolean;
9
10
  onSendMessage: (content: string) => void;
10
11
  onClose: () => void;
11
12
  onClear: () => void;
@@ -14,5 +15,5 @@ interface ChatWindowProps {
14
15
  primaryColor: string;
15
16
  size: WidgetSize;
16
17
  }
17
- export declare function ChatWindow({ title, subtitle, placeholder, messages, isLoading, onSendMessage, onClose, onClear, onSizeChange, onPopout, primaryColor, size, }: ChatWindowProps): import("react/jsx-runtime").JSX.Element;
18
+ export declare function ChatWindow({ title, subtitle, placeholder, messages, isLoading, isLoadingSession, onSendMessage, onClose, onClear, onSizeChange, onPopout, primaryColor, size, }: ChatWindowProps): import("react/jsx-runtime").JSX.Element;
18
19
  export {};
@@ -3,7 +3,8 @@ import { Message } from '../types';
3
3
  interface MessageListProps {
4
4
  messages: Message[];
5
5
  isLoading: boolean;
6
+ isLoadingSession?: boolean;
6
7
  primaryColor: string;
7
8
  }
8
- export declare function MessageList({ messages, isLoading, primaryColor }: MessageListProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function MessageList({ messages, isLoading, isLoadingSession, primaryColor }: MessageListProps): import("react/jsx-runtime").JSX.Element;
9
10
  export {};