Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ You can also customize chatbot with different configuration
clearChatOnReload: false, // If set to true, the chat will be cleared when the page reloads
sourceDocsTitle: 'Sources:',
renderHTML: true,
headerHtml: '<div style="padding: 10px; background: #f0f0f0;"><h3>My Custom Header</h3></div>', // Optional HTML rendered at the top of the chat window
botMessage: {
backgroundColor: '#f7f8ff',
textColor: '#303235',
Expand Down
2 changes: 2 additions & 0 deletions dist/components/Bot.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ export type BotProps = {
dateTimeToggle?: DateTimeToggleTheme;
renderHTML?: boolean;
closeBot?: () => void;
hasCustomHeader?: boolean;
dialogContainer?: HTMLElement;
};
export type LeadsConfig = {
status: boolean;
Expand Down
2 changes: 1 addition & 1 deletion dist/components/Bot.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/components/bubbles/BotBubble.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ type Props = {
isTTSPlaying?: Record<string, boolean>;
handleTTSClick?: (messageId: string, messageText: string) => void;
handleTTSStop?: (messageId: string) => void;
hasCustomHeader?: boolean;
dialogContainer?: HTMLElement;
};
export declare const BotBubble: (props: Props) => import("solid-js").JSX.Element;
export {};
Expand Down
2 changes: 1 addition & 1 deletion dist/components/bubbles/BotBubble.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/components/treeview/NodeDetailsDialog.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ type NodeDetailsDialogProps = {
apiHost?: string;
chatflowid?: string;
chatId?: string;
dialogContainer?: HTMLElement;
hasCustomHeader?: boolean;
};
export declare const NodeDetailsDialog: (props: NodeDetailsDialogProps) => import("solid-js").JSX.Element;
export {};
Expand Down
2 changes: 1 addition & 1 deletion dist/components/treeview/NodeDetailsDialog.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/components/treeview/WorkflowTreeView.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ type WorkflowTreeViewProps = {
apiHost?: string;
chatflowid?: string;
chatId?: string;
hasCustomHeader?: boolean;
dialogContainer?: HTMLElement;
};
export declare const WorkflowTreeView: (props: WorkflowTreeViewProps) => import("solid-js").JSX.Element;
export {};
Expand Down
2 changes: 1 addition & 1 deletion dist/components/treeview/WorkflowTreeView.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/features/bubble/components/Bubble.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/features/bubble/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export type ChatWindowTheme = {
clearChatOnReload?: boolean;
dateTimeToggle?: DateTimeToggleTheme;
renderHTML?: boolean;
headerHtml?: string;
};
export type ButtonTheme = {
size?: 'small' | 'medium' | 'large' | number;
Expand Down
Loading