@copilotkit/react-ui 1.8.4-next.1 → 1.8.4-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 +9 -0
- package/dist/{chunk-OG2LUNMO.mjs → chunk-2IJIJYVG.mjs} +8 -8
- package/dist/{chunk-X7HMY3S6.mjs → chunk-3HSGJHBC.mjs} +2 -2
- package/dist/{chunk-2D24Q2YO.mjs → chunk-N5TIP3NE.mjs} +2 -2
- package/dist/{chunk-SNLHKLW3.mjs → chunk-QJKMOGWN.mjs} +5 -2
- package/dist/chunk-QJKMOGWN.mjs.map +1 -0
- package/dist/{chunk-D5XIJNXQ.mjs → chunk-QN2SMWML.mjs} +6 -6
- package/dist/{chunk-2OTVZXDX.mjs → chunk-W5HLRVAS.mjs} +4 -4
- package/dist/{chunk-HGA4N4ME.mjs → chunk-XG356GYI.mjs} +5 -5
- package/dist/components/chat/Chat.js +4 -1
- package/dist/components/chat/Chat.js.map +1 -1
- package/dist/components/chat/Chat.mjs +5 -5
- package/dist/components/chat/Header.mjs +5 -5
- package/dist/components/chat/Input.js +4 -1
- package/dist/components/chat/Input.js.map +1 -1
- package/dist/components/chat/Input.mjs +1 -1
- package/dist/components/chat/Modal.js +4 -1
- package/dist/components/chat/Modal.js.map +1 -1
- package/dist/components/chat/Modal.mjs +14 -14
- package/dist/components/chat/Popup.js +4 -1
- package/dist/components/chat/Popup.js.map +1 -1
- package/dist/components/chat/Popup.mjs +15 -15
- package/dist/components/chat/Sidebar.js +4 -1
- package/dist/components/chat/Sidebar.js.map +1 -1
- package/dist/components/chat/Sidebar.mjs +15 -15
- package/dist/components/chat/index.js +4 -1
- package/dist/components/chat/index.js.map +1 -1
- package/dist/components/chat/index.mjs +16 -16
- package/dist/components/chat/messages/AssistantMessage.mjs +1 -1
- package/dist/components/dev-console/console.mjs +3 -3
- package/dist/components/dev-console/index.mjs +5 -5
- package/dist/components/index.js +4 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +20 -20
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +20 -20
- package/package.json +4 -4
- package/src/components/chat/Input.tsx +8 -2
- package/dist/chunk-SNLHKLW3.mjs.map +0 -1
- /package/dist/{chunk-OG2LUNMO.mjs.map → chunk-2IJIJYVG.mjs.map} +0 -0
- /package/dist/{chunk-X7HMY3S6.mjs.map → chunk-3HSGJHBC.mjs.map} +0 -0
- /package/dist/{chunk-2D24Q2YO.mjs.map → chunk-N5TIP3NE.mjs.map} +0 -0
- /package/dist/{chunk-D5XIJNXQ.mjs.map → chunk-QN2SMWML.mjs.map} +0 -0
- /package/dist/{chunk-2OTVZXDX.mjs.map → chunk-W5HLRVAS.mjs.map} +0 -0
- /package/dist/{chunk-HGA4N4ME.mjs.map → chunk-XG356GYI.mjs.map} +0 -0
|
@@ -3,28 +3,16 @@ import "../chunk-SQMEPWVT.mjs";
|
|
|
3
3
|
import "../chunk-WB3YULQ4.mjs";
|
|
4
4
|
import {
|
|
5
5
|
CopilotPopup
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-N5TIP3NE.mjs";
|
|
7
7
|
import {
|
|
8
8
|
CopilotSidebar
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-3HSGJHBC.mjs";
|
|
10
|
+
import "../chunk-2IJIJYVG.mjs";
|
|
11
11
|
import "../chunk-P7S3E5UW.mjs";
|
|
12
|
-
import "../chunk-2OTVZXDX.mjs";
|
|
13
|
-
import "../chunk-V7W6IM2V.mjs";
|
|
14
|
-
import {
|
|
15
|
-
CopilotDevConsole
|
|
16
|
-
} from "../chunk-D5XIJNXQ.mjs";
|
|
17
|
-
import {
|
|
18
|
-
shouldShowDevConsole
|
|
19
|
-
} from "../chunk-6TCUJ3B7.mjs";
|
|
20
|
-
import "../chunk-KXE2JCUH.mjs";
|
|
21
|
-
import "../chunk-NRA3CFEE.mjs";
|
|
22
|
-
import "../chunk-BH6PCAAL.mjs";
|
|
23
|
-
import "../chunk-Q5V6S67N.mjs";
|
|
24
12
|
import "../chunk-YOEL33HG.mjs";
|
|
25
13
|
import {
|
|
26
14
|
CopilotChat
|
|
27
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-XG356GYI.mjs";
|
|
28
16
|
import "../chunk-WEYDZBT7.mjs";
|
|
29
17
|
import "../chunk-7RIBDD4K.mjs";
|
|
30
18
|
import {
|
|
@@ -35,18 +23,30 @@ import {
|
|
|
35
23
|
} from "../chunk-5M7ODWKH.mjs";
|
|
36
24
|
import "../chunk-XB6QCUPB.mjs";
|
|
37
25
|
import "../chunk-UWWMAJ7R.mjs";
|
|
38
|
-
import "../chunk-TOQ7P4DO.mjs";
|
|
39
|
-
import "../chunk-SNLHKLW3.mjs";
|
|
40
|
-
import "../chunk-YQFVRDNC.mjs";
|
|
41
26
|
import {
|
|
42
27
|
Markdown
|
|
43
28
|
} from "../chunk-XNQO5AZZ.mjs";
|
|
44
29
|
import "../chunk-ZY25LVYR.mjs";
|
|
30
|
+
import "../chunk-TOQ7P4DO.mjs";
|
|
31
|
+
import "../chunk-PCTCOQK2.mjs";
|
|
32
|
+
import "../chunk-W5HLRVAS.mjs";
|
|
33
|
+
import "../chunk-QJKMOGWN.mjs";
|
|
34
|
+
import "../chunk-YQFVRDNC.mjs";
|
|
45
35
|
import {
|
|
46
36
|
useChatContext
|
|
47
37
|
} from "../chunk-UN2E3HCK.mjs";
|
|
48
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-V7W6IM2V.mjs";
|
|
39
|
+
import {
|
|
40
|
+
CopilotDevConsole
|
|
41
|
+
} from "../chunk-QN2SMWML.mjs";
|
|
42
|
+
import "../chunk-KXE2JCUH.mjs";
|
|
43
|
+
import "../chunk-NRA3CFEE.mjs";
|
|
44
|
+
import "../chunk-BH6PCAAL.mjs";
|
|
45
|
+
import {
|
|
46
|
+
shouldShowDevConsole
|
|
47
|
+
} from "../chunk-6TCUJ3B7.mjs";
|
|
49
48
|
import "../chunk-ORSMX3SE.mjs";
|
|
49
|
+
import "../chunk-Q5V6S67N.mjs";
|
|
50
50
|
import "../chunk-54JAUBUJ.mjs";
|
|
51
51
|
import "../chunk-S5MBUNGN.mjs";
|
|
52
52
|
import "../chunk-MRXNTQOX.mjs";
|
package/dist/index.js
CHANGED
|
@@ -1383,7 +1383,10 @@ var Input = ({ inProgress, onSend, isVisible = false, onStop }) => {
|
|
|
1383
1383
|
const textareaRef = (0, import_react9.useRef)(null);
|
|
1384
1384
|
const handleDivClick = (event) => {
|
|
1385
1385
|
var _a;
|
|
1386
|
-
|
|
1386
|
+
const target = event.target;
|
|
1387
|
+
if (target.closest("button"))
|
|
1388
|
+
return;
|
|
1389
|
+
if (target.tagName === "TEXTAREA")
|
|
1387
1390
|
return;
|
|
1388
1391
|
(_a = textareaRef.current) == null ? void 0 : _a.focus();
|
|
1389
1392
|
};
|