@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
|
@@ -3,11 +3,11 @@ import "../chunk-SC6JRFAJ.mjs";
|
|
|
3
3
|
import "../chunk-WB3YULQ4.mjs";
|
|
4
4
|
import {
|
|
5
5
|
CopilotPopup
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-ELUJRANC.mjs";
|
|
7
7
|
import {
|
|
8
8
|
CopilotSidebar
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-LQEFRHRT.mjs";
|
|
10
|
+
import "../chunk-7PR2KJDO.mjs";
|
|
11
11
|
import "../chunk-C3GSYRC3.mjs";
|
|
12
12
|
import "../chunk-GDSZGYCE.mjs";
|
|
13
13
|
import "../chunk-V7W6IM2V.mjs";
|
|
@@ -24,7 +24,7 @@ import "../chunk-BH6PCAAL.mjs";
|
|
|
24
24
|
import "../chunk-UFN2VWSR.mjs";
|
|
25
25
|
import {
|
|
26
26
|
CopilotChat
|
|
27
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-QPQRLXN3.mjs";
|
|
28
28
|
import {
|
|
29
29
|
Suggestions
|
|
30
30
|
} from "../chunk-QB3GUN2N.mjs";
|
package/dist/index.js
CHANGED
|
@@ -2725,7 +2725,11 @@ function CopilotChat({
|
|
|
2725
2725
|
isLoadingSuggestions,
|
|
2726
2726
|
agent
|
|
2727
2727
|
} = (0, import_react_core9.useCopilotChatInternal)({
|
|
2728
|
-
suggestions
|
|
2728
|
+
suggestions,
|
|
2729
|
+
onInProgress,
|
|
2730
|
+
onSubmitMessage,
|
|
2731
|
+
onStopGeneration,
|
|
2732
|
+
onReloadMessages
|
|
2729
2733
|
});
|
|
2730
2734
|
const prevIsLoading = (0, import_react15.useRef)(isLoading);
|
|
2731
2735
|
(0, import_react15.useEffect)(() => {
|