bibot 1.0.70 → 1.0.72
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/dist/component/{Avatar.d.ts → views/Avatar.d.ts} +1 -1
- package/dist/component/views/ChatBubbleContainer.d.ts +4 -0
- package/dist/component/views/ChatHeader.d.ts +4 -0
- package/dist/component/views/ChatWindow.d.ts +4 -0
- package/dist/component/views/GreetingMessage.d.ts +4 -0
- package/dist/component/{Icons.d.ts → views/Icons.d.ts} +1 -1
- package/dist/component/views/InputArea.d.ts +4 -0
- package/dist/component/views/MarkdownView.d.ts +6 -0
- package/dist/component/views/MessageList.d.ts +4 -0
- package/dist/component/{aiFollowUps.d.ts → views/aiFollowUps.d.ts} +1 -1
- package/dist/component/{predefinedQuestions.d.ts → views/predefinedQuestions.d.ts} +1 -1
- package/dist/index.js +1579 -801
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1580 -802
- package/dist/index.modern.js.map +1 -1
- package/dist/types/coreInterfaces.d.ts +68 -3
- package/package.json +28 -30
- /package/dist/component/{loader.d.ts → views/loader.d.ts} +0 -0
@@ -0,0 +1,4 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { ChatBubbleContainerProps } from '../../types';
|
3
|
+
declare const ChatBubbleContainer: ({ messages, isLoading, showPredefinedQuestions, predefinedQuestions, userInput, handleUserInput, handleKeyPress, sendInputInquiry, handlePredefinedQuestionSelect, chatIsOpen, toggleChat, chatBubbleConfig, isGreetingVisible, greeting, handleCloseGreeting, isOnline, messageEndRef }: ChatBubbleContainerProps) => React.JSX.Element;
|
4
|
+
export default ChatBubbleContainer;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { ChatWindowProps } from '../../types';
|
3
|
+
declare const ChatWindow: ({ chatBubbleConfig, messages, isLoading, aiFollowUpQs, showPredefinedQuestions, predefinedQuestions, userInput, handleUserInput, handleKeyPress, sendInputInquiry, handlePredefinedQuestionSelect, isOnline, messageEndRef }: ChatWindowProps) => React.JSX.Element;
|
4
|
+
export default ChatWindow;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { iconColor } from '
|
2
|
+
import { iconColor } from '../../types/coreInterfaces';
|
3
3
|
declare function SendMessageIcon({ color }: iconColor): React.JSX.Element;
|
4
4
|
declare function DefaultBotProfile(): React.JSX.Element;
|
5
5
|
declare function ChatIcon(): React.JSX.Element;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
import { PredefinedQuestionsProps } from '
|
2
|
+
import { PredefinedQuestionsProps } from '../../types/coreInterfaces';
|
3
3
|
declare const AiFollowUps: ({ questions, onSelect, chatBubbleConfig }: PredefinedQuestionsProps) => React.JSX.Element;
|
4
4
|
export { AiFollowUps };
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
import { PredefinedQuestionsProps } from '
|
2
|
+
import { PredefinedQuestionsProps } from '../../types/coreInterfaces';
|
3
3
|
declare const PredefinedQuestions: ({ questions, onSelect, chatBubbleConfig }: PredefinedQuestionsProps) => React.JSX.Element;
|
4
4
|
export { PredefinedQuestions };
|