@copilotkit/react-ui 1.50.1-next.0 → 1.50.1-next.2
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/CHANGELOG.md +19 -0
- package/dist/{chunk-ZFJ7CTWS.mjs → chunk-7PR2KJDO.mjs} +2 -2
- package/dist/{chunk-2OU4DPXR.mjs → chunk-ELUJRANC.mjs} +2 -2
- package/dist/{chunk-RCFFZY5O.mjs → chunk-LQEFRHRT.mjs} +2 -2
- package/dist/{chunk-OMWF7DF2.mjs → chunk-QPQRLXN3.mjs} +6 -2
- package/dist/chunk-QPQRLXN3.mjs.map +1 -0
- package/dist/components/chat/Chat.d.ts +2 -44
- package/dist/components/chat/Chat.js +5 -1
- package/dist/components/chat/Chat.js.map +1 -1
- package/dist/components/chat/Chat.mjs +1 -1
- package/dist/components/chat/Modal.js +5 -1
- package/dist/components/chat/Modal.js.map +1 -1
- package/dist/components/chat/Modal.mjs +2 -2
- package/dist/components/chat/Popup.js +5 -1
- package/dist/components/chat/Popup.js.map +1 -1
- package/dist/components/chat/Popup.mjs +3 -3
- package/dist/components/chat/Sidebar.js +5 -1
- package/dist/components/chat/Sidebar.js.map +1 -1
- package/dist/components/chat/Sidebar.mjs +3 -3
- package/dist/components/chat/index.js +5 -1
- package/dist/components/chat/index.js.map +1 -1
- package/dist/components/chat/index.mjs +4 -4
- package/dist/components/index.js +5 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +4 -4
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/package.json +4 -4
- package/src/components/chat/Chat.tsx +6 -58
- package/dist/chunk-OMWF7DF2.mjs.map +0 -1
- /package/dist/{chunk-ZFJ7CTWS.mjs.map → chunk-7PR2KJDO.mjs.map} +0 -0
- /package/dist/{chunk-2OU4DPXR.mjs.map → chunk-ELUJRANC.mjs.map} +0 -0
- /package/dist/{chunk-RCFFZY5O.mjs.map → chunk-LQEFRHRT.mjs.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopilotSidebar
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-LQEFRHRT.mjs";
|
|
4
|
+
import "../../chunk-7PR2KJDO.mjs";
|
|
5
5
|
import "../../chunk-C3GSYRC3.mjs";
|
|
6
6
|
import "../../chunk-GDSZGYCE.mjs";
|
|
7
7
|
import "../../chunk-V7W6IM2V.mjs";
|
|
@@ -12,7 +12,7 @@ import "../../chunk-KXE2JCUH.mjs";
|
|
|
12
12
|
import "../../chunk-NRA3CFEE.mjs";
|
|
13
13
|
import "../../chunk-BH6PCAAL.mjs";
|
|
14
14
|
import "../../chunk-UFN2VWSR.mjs";
|
|
15
|
-
import "../../chunk-
|
|
15
|
+
import "../../chunk-QPQRLXN3.mjs";
|
|
16
16
|
import "../../chunk-QB3GUN2N.mjs";
|
|
17
17
|
import "../../chunk-NGJ32FAP.mjs";
|
|
18
18
|
import "../../chunk-PLHTVHUW.mjs";
|
|
@@ -2721,7 +2721,11 @@ function CopilotChat({
|
|
|
2721
2721
|
isLoadingSuggestions,
|
|
2722
2722
|
agent
|
|
2723
2723
|
} = (0, import_react_core9.useCopilotChatInternal)({
|
|
2724
|
-
suggestions
|
|
2724
|
+
suggestions,
|
|
2725
|
+
onInProgress,
|
|
2726
|
+
onSubmitMessage,
|
|
2727
|
+
onStopGeneration,
|
|
2728
|
+
onReloadMessages
|
|
2725
2729
|
});
|
|
2726
2730
|
const prevIsLoading = (0, import_react15.useRef)(isLoading);
|
|
2727
2731
|
(0, import_react15.useEffect)(() => {
|