@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,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopilotModal
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-7PR2KJDO.mjs";
|
|
4
4
|
import "../../chunk-C3GSYRC3.mjs";
|
|
5
5
|
import "../../chunk-GDSZGYCE.mjs";
|
|
6
6
|
import "../../chunk-V7W6IM2V.mjs";
|
|
@@ -11,7 +11,7 @@ import "../../chunk-KXE2JCUH.mjs";
|
|
|
11
11
|
import "../../chunk-NRA3CFEE.mjs";
|
|
12
12
|
import "../../chunk-BH6PCAAL.mjs";
|
|
13
13
|
import "../../chunk-UFN2VWSR.mjs";
|
|
14
|
-
import "../../chunk-
|
|
14
|
+
import "../../chunk-QPQRLXN3.mjs";
|
|
15
15
|
import "../../chunk-QB3GUN2N.mjs";
|
|
16
16
|
import "../../chunk-NGJ32FAP.mjs";
|
|
17
17
|
import "../../chunk-PLHTVHUW.mjs";
|
|
@@ -2712,7 +2712,11 @@ function CopilotChat({
|
|
|
2712
2712
|
isLoadingSuggestions,
|
|
2713
2713
|
agent
|
|
2714
2714
|
} = (0, import_react_core9.useCopilotChatInternal)({
|
|
2715
|
-
suggestions
|
|
2715
|
+
suggestions,
|
|
2716
|
+
onInProgress,
|
|
2717
|
+
onSubmitMessage,
|
|
2718
|
+
onStopGeneration,
|
|
2719
|
+
onReloadMessages
|
|
2716
2720
|
});
|
|
2717
2721
|
const prevIsLoading = (0, import_react15.useRef)(isLoading);
|
|
2718
2722
|
(0, import_react15.useEffect)(() => {
|