@copilotkit/react-ui 1.10.5-next.10 → 1.10.5-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 +0 -60
- package/dist/{chunk-SDQTGCT2.mjs → chunk-53C3S7R3.mjs} +2 -2
- package/dist/{chunk-QPONDGDJ.mjs → chunk-73V4ZLAN.mjs} +2 -2
- package/dist/{chunk-DSNTTAJX.mjs → chunk-AUCJZBT5.mjs} +4 -4
- package/dist/{chunk-IK2BPURM.mjs → chunk-B5IFB5YJ.mjs} +3 -14
- package/dist/chunk-B5IFB5YJ.mjs.map +1 -0
- package/dist/{chunk-W7ONZTSW.mjs → chunk-EELILZTD.mjs} +2 -2
- package/dist/{chunk-5XLGXUQI.mjs → chunk-LJAYSRCB.mjs} +2 -2
- package/dist/{chunk-JZ3RFQQ6.mjs → chunk-SNFHUE5S.mjs} +2 -2
- package/dist/{chunk-K2FLPUR5.mjs → chunk-WOYNUDPM.mjs} +4 -4
- package/dist/{chunk-3QYTKBWC.mjs → chunk-X477GDGZ.mjs} +2 -2
- package/dist/{chunk-2LIO4Z3E.mjs → chunk-YO63WHVQ.mjs} +2 -2
- package/dist/components/chat/Chat.d.ts +10 -10
- package/dist/components/chat/Chat.js +1 -12
- package/dist/components/chat/Chat.js.map +1 -1
- package/dist/components/chat/Chat.mjs +7 -7
- package/dist/components/chat/CodeBlock.js +1 -12
- package/dist/components/chat/CodeBlock.js.map +1 -1
- package/dist/components/chat/CodeBlock.mjs +1 -1
- package/dist/components/chat/Markdown.js +1 -12
- package/dist/components/chat/Markdown.js.map +1 -1
- package/dist/components/chat/Markdown.mjs +2 -2
- package/dist/components/chat/Messages.js +1 -12
- package/dist/components/chat/Messages.js.map +1 -1
- package/dist/components/chat/Messages.mjs +6 -6
- package/dist/components/chat/Modal.d.ts +1 -1
- package/dist/components/chat/Modal.js +1 -12
- package/dist/components/chat/Modal.js.map +1 -1
- package/dist/components/chat/Modal.mjs +8 -8
- package/dist/components/chat/Popup.d.ts +1 -1
- package/dist/components/chat/Popup.js +1 -12
- package/dist/components/chat/Popup.js.map +1 -1
- package/dist/components/chat/Popup.mjs +9 -9
- package/dist/components/chat/Sidebar.d.ts +1 -1
- package/dist/components/chat/Sidebar.js +1 -12
- package/dist/components/chat/Sidebar.js.map +1 -1
- package/dist/components/chat/Sidebar.mjs +9 -9
- package/dist/components/chat/index.d.ts +1 -1
- package/dist/components/chat/index.js +1 -12
- package/dist/components/chat/index.js.map +1 -1
- package/dist/components/chat/index.mjs +10 -10
- package/dist/components/chat/messages/AssistantMessage.js +1 -12
- package/dist/components/chat/messages/AssistantMessage.js.map +1 -1
- package/dist/components/chat/messages/AssistantMessage.mjs +3 -3
- package/dist/components/chat/messages/ErrorMessage.js +1 -12
- package/dist/components/chat/messages/ErrorMessage.js.map +1 -1
- package/dist/components/chat/messages/ErrorMessage.mjs +2 -2
- package/dist/components/chat/messages/LegacyRenderMessage.js +1 -12
- package/dist/components/chat/messages/LegacyRenderMessage.js.map +1 -1
- package/dist/components/chat/messages/LegacyRenderMessage.mjs +5 -5
- package/dist/components/chat/messages/RenderMessage.js +1 -12
- package/dist/components/chat/messages/RenderMessage.js.map +1 -1
- package/dist/components/chat/messages/RenderMessage.mjs +4 -4
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +1 -12
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +10 -10
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -10
- package/package.json +4 -4
- package/src/components/chat/CodeBlock.tsx +2 -14
- package/dist/chunk-IK2BPURM.mjs.map +0 -1
- /package/dist/{chunk-SDQTGCT2.mjs.map → chunk-53C3S7R3.mjs.map} +0 -0
- /package/dist/{chunk-QPONDGDJ.mjs.map → chunk-73V4ZLAN.mjs.map} +0 -0
- /package/dist/{chunk-DSNTTAJX.mjs.map → chunk-AUCJZBT5.mjs.map} +0 -0
- /package/dist/{chunk-W7ONZTSW.mjs.map → chunk-EELILZTD.mjs.map} +0 -0
- /package/dist/{chunk-5XLGXUQI.mjs.map → chunk-LJAYSRCB.mjs.map} +0 -0
- /package/dist/{chunk-JZ3RFQQ6.mjs.map → chunk-SNFHUE5S.mjs.map} +0 -0
- /package/dist/{chunk-K2FLPUR5.mjs.map → chunk-WOYNUDPM.mjs.map} +0 -0
- /package/dist/{chunk-3QYTKBWC.mjs.map → chunk-X477GDGZ.mjs.map} +0 -0
- /package/dist/{chunk-2LIO4Z3E.mjs.map → chunk-YO63WHVQ.mjs.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopilotModal
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-AUCJZBT5.mjs";
|
|
4
4
|
import "../../chunk-C3GSYRC3.mjs";
|
|
5
5
|
import "../../chunk-GDSZGYCE.mjs";
|
|
6
6
|
import "../../chunk-V7W6IM2V.mjs";
|
|
@@ -11,22 +11,22 @@ 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-WOYNUDPM.mjs";
|
|
15
15
|
import "../../chunk-226ZMOE3.mjs";
|
|
16
16
|
import "../../chunk-W26XFBEG.mjs";
|
|
17
17
|
import "../../chunk-PLHTVHUW.mjs";
|
|
18
18
|
import "../../chunk-DTRPPNSA.mjs";
|
|
19
19
|
import "../../chunk-CGEAG65D.mjs";
|
|
20
20
|
import "../../chunk-QIOJXTIQ.mjs";
|
|
21
|
-
import "../../chunk-
|
|
22
|
-
import "../../chunk-
|
|
23
|
-
import "../../chunk-
|
|
24
|
-
import "../../chunk-
|
|
21
|
+
import "../../chunk-EELILZTD.mjs";
|
|
22
|
+
import "../../chunk-YO63WHVQ.mjs";
|
|
23
|
+
import "../../chunk-LJAYSRCB.mjs";
|
|
24
|
+
import "../../chunk-X477GDGZ.mjs";
|
|
25
25
|
import "../../chunk-DBKRAOH7.mjs";
|
|
26
26
|
import "../../chunk-VVL6JFCJ.mjs";
|
|
27
|
-
import "../../chunk-
|
|
27
|
+
import "../../chunk-SNFHUE5S.mjs";
|
|
28
28
|
import "../../chunk-IEMQ2SQW.mjs";
|
|
29
|
-
import "../../chunk-
|
|
29
|
+
import "../../chunk-B5IFB5YJ.mjs";
|
|
30
30
|
import "../../chunk-XWG3L6QC.mjs";
|
|
31
31
|
import "../../chunk-54JAUBUJ.mjs";
|
|
32
32
|
import "../../chunk-JGMFJZMG.mjs";
|
|
@@ -7,7 +7,7 @@ import '../../types/suggestions.js';
|
|
|
7
7
|
import './Chat.js';
|
|
8
8
|
import '@copilotkit/react-core/dist/types/coagent-state';
|
|
9
9
|
import '@copilotkit/react-core/dist/hooks/use-tree';
|
|
10
|
-
import '@copilotkit/react-core/dist/copilot-context-
|
|
10
|
+
import '@copilotkit/react-core/dist/copilot-context-59740e82';
|
|
11
11
|
import '@copilotkit/react-core/dist/types/coagent-action';
|
|
12
12
|
import '@copilotkit/react-core';
|
|
13
13
|
import '@copilotkit/runtime-client-gql';
|
|
@@ -1108,17 +1108,6 @@ var generateRandomString = (length, lowercase = false) => {
|
|
|
1108
1108
|
};
|
|
1109
1109
|
var CodeBlock = (0, import_react6.memo)(({ language, value }) => {
|
|
1110
1110
|
const { isCopied, copyToClipboard } = useCopyToClipboard({ timeout: 2e3 });
|
|
1111
|
-
const [SyntaxHighlighter, setSyntaxHighlighter] = (0, import_react6.useState)(
|
|
1112
|
-
() => import_react_syntax_highlighter.Light
|
|
1113
|
-
);
|
|
1114
|
-
(0, import_react6.useEffect)(() => {
|
|
1115
|
-
try {
|
|
1116
|
-
new RegExp("(?<=#)\\w+");
|
|
1117
|
-
setSyntaxHighlighter(() => import_react_syntax_highlighter.Prism);
|
|
1118
|
-
} catch (e) {
|
|
1119
|
-
setSyntaxHighlighter(() => import_react_syntax_highlighter.Light);
|
|
1120
|
-
}
|
|
1121
|
-
}, []);
|
|
1122
1111
|
const downloadAsFile = () => {
|
|
1123
1112
|
if (typeof window === "undefined") {
|
|
1124
1113
|
return;
|
|
@@ -1154,7 +1143,7 @@ var CodeBlock = (0, import_react6.memo)(({ language, value }) => {
|
|
|
1154
1143
|
] })
|
|
1155
1144
|
] }),
|
|
1156
1145
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
1157
|
-
|
|
1146
|
+
import_react_syntax_highlighter.Prism,
|
|
1158
1147
|
{
|
|
1159
1148
|
language,
|
|
1160
1149
|
style: highlightStyle,
|