@copilotkit/react-ui 1.8.4-next.0 → 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 +18 -0
- package/dist/{chunk-QFIOUP7T.mjs → chunk-2IJIJYVG.mjs} +6 -6
- package/dist/{chunk-YTCGHL5U.mjs → chunk-3HSGJHBC.mjs} +2 -2
- package/dist/{chunk-4YH7W2CQ.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-RF27Y73K.mjs → chunk-QN2SMWML.mjs} +7 -7
- package/dist/{chunk-W3L7GGIM.mjs → chunk-W5HLRVAS.mjs} +4 -4
- package/dist/{chunk-V5N636GW.mjs → chunk-XG356GYI.mjs} +4 -4
- package/dist/components/chat/Chat.js +4 -1
- package/dist/components/chat/Chat.js.map +1 -1
- package/dist/components/chat/Chat.mjs +3 -3
- package/dist/components/chat/Header.mjs +4 -4
- 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 +8 -8
- package/dist/components/chat/Popup.js +4 -1
- package/dist/components/chat/Popup.js.map +1 -1
- package/dist/components/chat/Popup.mjs +9 -9
- package/dist/components/chat/Sidebar.js +4 -1
- package/dist/components/chat/Sidebar.js.map +1 -1
- package/dist/components/chat/Sidebar.mjs +9 -9
- package/dist/components/chat/index.js +4 -1
- package/dist/components/chat/index.js.map +1 -1
- package/dist/components/chat/index.mjs +12 -12
- package/dist/components/dev-console/console.mjs +2 -2
- package/dist/components/dev-console/index.mjs +2 -2
- package/dist/components/index.js +4 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +12 -12
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -12
- package/package.json +4 -4
- package/src/components/chat/Input.tsx +8 -2
- package/dist/chunk-SNLHKLW3.mjs.map +0 -1
- /package/dist/{chunk-QFIOUP7T.mjs.map → chunk-2IJIJYVG.mjs.map} +0 -0
- /package/dist/{chunk-YTCGHL5U.mjs.map → chunk-3HSGJHBC.mjs.map} +0 -0
- /package/dist/{chunk-4YH7W2CQ.mjs.map → chunk-N5TIP3NE.mjs.map} +0 -0
- /package/dist/{chunk-RF27Y73K.mjs.map → chunk-QN2SMWML.mjs.map} +0 -0
- /package/dist/{chunk-W3L7GGIM.mjs.map → chunk-W5HLRVAS.mjs.map} +0 -0
- /package/dist/{chunk-V5N636GW.mjs.map → chunk-XG356GYI.mjs.map} +0 -0
|
@@ -3,16 +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
12
|
import "../chunk-YOEL33HG.mjs";
|
|
13
13
|
import {
|
|
14
14
|
CopilotChat
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-XG356GYI.mjs";
|
|
16
16
|
import "../chunk-WEYDZBT7.mjs";
|
|
17
17
|
import "../chunk-7RIBDD4K.mjs";
|
|
18
18
|
import {
|
|
@@ -23,30 +23,30 @@ import {
|
|
|
23
23
|
} from "../chunk-5M7ODWKH.mjs";
|
|
24
24
|
import "../chunk-XB6QCUPB.mjs";
|
|
25
25
|
import "../chunk-UWWMAJ7R.mjs";
|
|
26
|
-
import "../chunk-SNLHKLW3.mjs";
|
|
27
26
|
import {
|
|
28
27
|
Markdown
|
|
29
28
|
} from "../chunk-XNQO5AZZ.mjs";
|
|
30
29
|
import "../chunk-ZY25LVYR.mjs";
|
|
31
30
|
import "../chunk-TOQ7P4DO.mjs";
|
|
32
|
-
import "../chunk-YQFVRDNC.mjs";
|
|
33
31
|
import "../chunk-PCTCOQK2.mjs";
|
|
34
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-W5HLRVAS.mjs";
|
|
33
|
+
import "../chunk-QJKMOGWN.mjs";
|
|
34
|
+
import "../chunk-YQFVRDNC.mjs";
|
|
35
|
+
import {
|
|
36
|
+
useChatContext
|
|
37
|
+
} from "../chunk-UN2E3HCK.mjs";
|
|
35
38
|
import "../chunk-V7W6IM2V.mjs";
|
|
36
39
|
import {
|
|
37
40
|
CopilotDevConsole
|
|
38
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-QN2SMWML.mjs";
|
|
39
42
|
import "../chunk-KXE2JCUH.mjs";
|
|
40
43
|
import "../chunk-NRA3CFEE.mjs";
|
|
41
44
|
import "../chunk-BH6PCAAL.mjs";
|
|
42
|
-
import "../chunk-Q5V6S67N.mjs";
|
|
43
45
|
import {
|
|
44
46
|
shouldShowDevConsole
|
|
45
47
|
} from "../chunk-6TCUJ3B7.mjs";
|
|
46
|
-
import {
|
|
47
|
-
useChatContext
|
|
48
|
-
} from "../chunk-UN2E3HCK.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
|
};
|