@copilotkit/react-ui 1.50.1-next.1 → 1.50.1-next.3
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 +6 -6
- 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
|
CopilotPopup
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-ELUJRANC.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";
|
|
@@ -2713,7 +2713,11 @@ function CopilotChat({
|
|
|
2713
2713
|
isLoadingSuggestions,
|
|
2714
2714
|
agent
|
|
2715
2715
|
} = (0, import_react_core9.useCopilotChatInternal)({
|
|
2716
|
-
suggestions
|
|
2716
|
+
suggestions,
|
|
2717
|
+
onInProgress,
|
|
2718
|
+
onSubmitMessage,
|
|
2719
|
+
onStopGeneration,
|
|
2720
|
+
onReloadMessages
|
|
2717
2721
|
});
|
|
2718
2722
|
const prevIsLoading = (0, import_react15.useRef)(isLoading);
|
|
2719
2723
|
(0, import_react15.useEffect)(() => {
|