@aslaluroba/help-center-react 2.0.6 → 2.1.0
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/index.esm.js +41 -219
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +41 -219
- package/dist/index.js.map +1 -1
- package/dist/ui/chatbot-popup/chat-window-screen/footer.d.ts +1 -0
- package/dist/ui/chatbot-popup/chat-window-screen/index.d.ts +2 -1
- package/dist/ui/help-popup.d.ts +1 -1
- package/package.json +2 -5
|
@@ -5,6 +5,7 @@ interface ChatWindowFooterProps {
|
|
|
5
5
|
handleKeyDown: (e: React.KeyboardEvent) => void;
|
|
6
6
|
handleSendMessage: () => void;
|
|
7
7
|
isLoading: boolean;
|
|
8
|
+
isSignalRConnected: boolean;
|
|
8
9
|
}
|
|
9
10
|
declare const ChatWindowFooter: React.FC<ChatWindowFooterProps>;
|
|
10
11
|
export default ChatWindowFooter;
|
|
@@ -5,6 +5,7 @@ interface ChatWindowProps {
|
|
|
5
5
|
messages: Message[];
|
|
6
6
|
assistantStatus: string;
|
|
7
7
|
needsAgent: boolean;
|
|
8
|
+
isSignalRConnected: boolean;
|
|
8
9
|
}
|
|
9
|
-
export declare const ChatWindow: React.MemoExoticComponent<({ onSendMessage, messages, assistantStatus }: ChatWindowProps) => React.JSX.Element>;
|
|
10
|
+
export declare const ChatWindow: React.MemoExoticComponent<({ onSendMessage, messages, assistantStatus, isSignalRConnected }: ChatWindowProps) => React.JSX.Element>;
|
|
10
11
|
export {};
|
package/dist/ui/help-popup.d.ts
CHANGED
|
@@ -26,5 +26,5 @@ export declare const ConfirmationModal: ({ title, message, onCancel, onConfirm,
|
|
|
26
26
|
onCancel: () => void;
|
|
27
27
|
onConfirm: () => void;
|
|
28
28
|
}) => React.JSX.Element;
|
|
29
|
-
export declare function HelpPopup({ onClose, helpScreen, status, error, onStartChat, onSendMessage, onEndChat, messages, assistantStatus, needsAgent, sessionId, selectedOption, setSelectedOption, showHelpScreen, }: HelpPopupProps): React.JSX.Element;
|
|
29
|
+
export declare function HelpPopup({ onClose, helpScreen, status, error, onStartChat, onSendMessage, onEndChat, messages, assistantStatus, needsAgent, sessionId, selectedOption, setSelectedOption, showHelpScreen, isSignalRConnected, }: HelpPopupProps): React.JSX.Element;
|
|
30
30
|
export {};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"main": "dist/index.js",
|
|
4
4
|
"module": "dist/index.esm.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
|
-
"version": "2.0
|
|
6
|
+
"version": "2.1.0",
|
|
7
7
|
"description": "BabylAI Help Center Widget for React and Next.js",
|
|
8
8
|
"private": false,
|
|
9
9
|
"exports": {
|
|
@@ -26,10 +26,7 @@
|
|
|
26
26
|
"clean": "rimraf dist",
|
|
27
27
|
"version:patch": "npm version patch --no-git-tag-version",
|
|
28
28
|
"version:minor": "npm version minor --no-git-tag-version",
|
|
29
|
-
"version:major": "npm version major --no-git-tag-version"
|
|
30
|
-
"publish": "yarn clean && yarn build && yarn version:patch && yarn publish --access public",
|
|
31
|
-
"publish:minor": "yarn clean && yarn build && yarn version:minor && yarn publish --access public",
|
|
32
|
-
"publish:major": "yarn clean && yarn build && yarn version:major && yarn publish --access public"
|
|
29
|
+
"version:major": "npm version major --no-git-tag-version"
|
|
33
30
|
},
|
|
34
31
|
"files": [
|
|
35
32
|
"dist",
|