@kite-copilot/chat-panel 0.2.34 → 0.2.36

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.
@@ -108,8 +108,12 @@ interface ChatPanelProps {
108
108
  userEmail?: string;
109
109
  /** User's organization/company name (for support agent context) */
110
110
  userOrganization?: string;
111
+ /** Supabase URL for realtime features (typing indicators in live chat) */
112
+ supabaseUrl?: string;
113
+ /** Supabase anonymous key for realtime features */
114
+ supabaseAnonKey?: string;
111
115
  }
112
- declare function ChatPanel({ isOpen, onClose, onOpen, onBack, onNavigate, onActionComplete, currentPage, agentUrl, startingQuestions: startingQuestionsProp, startingQuestionsEndpoint, userId, orgId, userName, userEmail, userOrganization, }?: ChatPanelProps): react_jsx_runtime.JSX.Element;
116
+ declare function ChatPanel({ isOpen, onClose, onOpen, onBack, onNavigate, onActionComplete, currentPage, agentUrl, startingQuestions: startingQuestionsProp, startingQuestionsEndpoint, userId, orgId, userName, userEmail, userOrganization, supabaseUrl, supabaseAnonKey, }?: ChatPanelProps): react_jsx_runtime.JSX.Element;
113
117
  /**
114
118
  * PanelToggle - An arrow button on the right edge that toggles the side panel
115
119
  * Shows left arrow when closed (click to open), right arrow when open (click to close)
@@ -164,8 +168,12 @@ interface ChatPanelWithToggleProps {
164
168
  userEmail?: string;
165
169
  /** User's organization/company name (for support agent context) */
166
170
  userOrganization?: string;
171
+ /** Supabase URL for realtime features (typing indicators in live chat) */
172
+ supabaseUrl?: string;
173
+ /** Supabase anonymous key for realtime features */
174
+ supabaseAnonKey?: string;
167
175
  }
168
- declare function ChatPanelWithToggle({ onNavigate, onActionComplete, currentPage, agentUrl, startingQuestions, startingQuestionsEndpoint, defaultOpen, isOpen: controlledIsOpen, onOpenChange, userId, orgId, userName, userEmail, userOrganization, }: ChatPanelWithToggleProps): react_jsx_runtime.JSX.Element;
176
+ declare function ChatPanelWithToggle({ onNavigate, onActionComplete, currentPage, agentUrl, startingQuestions, startingQuestionsEndpoint, defaultOpen, isOpen: controlledIsOpen, onOpenChange, userId, orgId, userName, userEmail, userOrganization, supabaseUrl, supabaseAnonKey, }: ChatPanelWithToggleProps): react_jsx_runtime.JSX.Element;
169
177
  /**
170
178
  * @deprecated Use ChatPanelWithToggle instead for the new side panel UX
171
179
  */
@@ -232,6 +240,10 @@ interface KiteChatConfig {
232
240
  userEmail?: string;
233
241
  /** User's organization/company name (optional - for support agent context) */
234
242
  userOrganization?: string;
243
+ /** Supabase URL for realtime features (typing indicators in live chat) */
244
+ supabaseUrl?: string;
245
+ /** Supabase anonymous key for realtime features */
246
+ supabaseAnonKey?: string;
235
247
  }
236
248
  /**
237
249
  * Instance returned by createKiteChat with lifecycle control methods.
@@ -108,8 +108,12 @@ interface ChatPanelProps {
108
108
  userEmail?: string;
109
109
  /** User's organization/company name (for support agent context) */
110
110
  userOrganization?: string;
111
+ /** Supabase URL for realtime features (typing indicators in live chat) */
112
+ supabaseUrl?: string;
113
+ /** Supabase anonymous key for realtime features */
114
+ supabaseAnonKey?: string;
111
115
  }
112
- declare function ChatPanel({ isOpen, onClose, onOpen, onBack, onNavigate, onActionComplete, currentPage, agentUrl, startingQuestions: startingQuestionsProp, startingQuestionsEndpoint, userId, orgId, userName, userEmail, userOrganization, }?: ChatPanelProps): react_jsx_runtime.JSX.Element;
116
+ declare function ChatPanel({ isOpen, onClose, onOpen, onBack, onNavigate, onActionComplete, currentPage, agentUrl, startingQuestions: startingQuestionsProp, startingQuestionsEndpoint, userId, orgId, userName, userEmail, userOrganization, supabaseUrl, supabaseAnonKey, }?: ChatPanelProps): react_jsx_runtime.JSX.Element;
113
117
  /**
114
118
  * PanelToggle - An arrow button on the right edge that toggles the side panel
115
119
  * Shows left arrow when closed (click to open), right arrow when open (click to close)
@@ -164,8 +168,12 @@ interface ChatPanelWithToggleProps {
164
168
  userEmail?: string;
165
169
  /** User's organization/company name (for support agent context) */
166
170
  userOrganization?: string;
171
+ /** Supabase URL for realtime features (typing indicators in live chat) */
172
+ supabaseUrl?: string;
173
+ /** Supabase anonymous key for realtime features */
174
+ supabaseAnonKey?: string;
167
175
  }
168
- declare function ChatPanelWithToggle({ onNavigate, onActionComplete, currentPage, agentUrl, startingQuestions, startingQuestionsEndpoint, defaultOpen, isOpen: controlledIsOpen, onOpenChange, userId, orgId, userName, userEmail, userOrganization, }: ChatPanelWithToggleProps): react_jsx_runtime.JSX.Element;
176
+ declare function ChatPanelWithToggle({ onNavigate, onActionComplete, currentPage, agentUrl, startingQuestions, startingQuestionsEndpoint, defaultOpen, isOpen: controlledIsOpen, onOpenChange, userId, orgId, userName, userEmail, userOrganization, supabaseUrl, supabaseAnonKey, }: ChatPanelWithToggleProps): react_jsx_runtime.JSX.Element;
169
177
  /**
170
178
  * @deprecated Use ChatPanelWithToggle instead for the new side panel UX
171
179
  */
@@ -232,6 +240,10 @@ interface KiteChatConfig {
232
240
  userEmail?: string;
233
241
  /** User's organization/company name (optional - for support agent context) */
234
242
  userOrganization?: string;
243
+ /** Supabase URL for realtime features (typing indicators in live chat) */
244
+ supabaseUrl?: string;
245
+ /** Supabase anonymous key for realtime features */
246
+ supabaseAnonKey?: string;
235
247
  }
236
248
  /**
237
249
  * Instance returned by createKiteChat with lifecycle control methods.