@copilotkit/react-ui 1.10.5-next.10 → 1.10.5-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 +0 -68
- package/dist/{chunk-SDQTGCT2.mjs → chunk-74IQCOTK.mjs} +2 -2
- package/dist/{chunk-DSNTTAJX.mjs → chunk-AN53SRHM.mjs} +6 -6
- package/dist/{chunk-IK2BPURM.mjs → chunk-B5IFB5YJ.mjs} +3 -14
- package/dist/chunk-B5IFB5YJ.mjs.map +1 -0
- package/dist/{chunk-QPONDGDJ.mjs → chunk-MNRXZL4A.mjs} +2 -2
- package/dist/{chunk-W7ONZTSW.mjs → chunk-NGA4T3VT.mjs} +2 -2
- package/dist/{chunk-K2FLPUR5.mjs → chunk-NJY6RHHQ.mjs} +7 -7
- package/dist/{chunk-JZ3RFQQ6.mjs → chunk-SNFHUE5S.mjs} +2 -2
- package/dist/{chunk-2LIO4Z3E.mjs → chunk-SP2PFXCH.mjs} +2 -2
- package/dist/{chunk-5XLGXUQI.mjs → chunk-WRQST6DJ.mjs} +5 -5
- package/dist/{chunk-3QYTKBWC.mjs → chunk-X477GDGZ.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 +8 -8
- 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 +7 -7
- 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 +9 -9
- 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 +10 -10
- 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 +10 -10
- 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 +13 -13
- 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 +6 -6
- 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 +5 -5
- 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 +13 -13
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -13
- 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-74IQCOTK.mjs.map} +0 -0
- /package/dist/{chunk-DSNTTAJX.mjs.map → chunk-AN53SRHM.mjs.map} +0 -0
- /package/dist/{chunk-QPONDGDJ.mjs.map → chunk-MNRXZL4A.mjs.map} +0 -0
- /package/dist/{chunk-W7ONZTSW.mjs.map → chunk-NGA4T3VT.mjs.map} +0 -0
- /package/dist/{chunk-K2FLPUR5.mjs.map → chunk-NJY6RHHQ.mjs.map} +0 -0
- /package/dist/{chunk-JZ3RFQQ6.mjs.map → chunk-SNFHUE5S.mjs.map} +0 -0
- /package/dist/{chunk-2LIO4Z3E.mjs.map → chunk-SP2PFXCH.mjs.map} +0 -0
- /package/dist/{chunk-5XLGXUQI.mjs.map → chunk-WRQST6DJ.mjs.map} +0 -0
- /package/dist/{chunk-3QYTKBWC.mjs.map → chunk-X477GDGZ.mjs.map} +0 -0
|
@@ -2,12 +2,12 @@ import "../chunk-MMVDU6DF.mjs";
|
|
|
2
2
|
import "../chunk-SC6JRFAJ.mjs";
|
|
3
3
|
import {
|
|
4
4
|
CopilotSidebar
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-74IQCOTK.mjs";
|
|
6
6
|
import "../chunk-WB3YULQ4.mjs";
|
|
7
7
|
import {
|
|
8
8
|
CopilotPopup
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-MNRXZL4A.mjs";
|
|
10
|
+
import "../chunk-AN53SRHM.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-NJY6RHHQ.mjs";
|
|
28
28
|
import {
|
|
29
29
|
Suggestions
|
|
30
30
|
} from "../chunk-226ZMOE3.mjs";
|
|
@@ -35,25 +35,25 @@ import "../chunk-PLHTVHUW.mjs";
|
|
|
35
35
|
import "../chunk-DTRPPNSA.mjs";
|
|
36
36
|
import "../chunk-CGEAG65D.mjs";
|
|
37
37
|
import "../chunk-QIOJXTIQ.mjs";
|
|
38
|
-
import "../chunk-
|
|
39
|
-
import "../chunk-
|
|
40
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-NGA4T3VT.mjs";
|
|
39
|
+
import "../chunk-SP2PFXCH.mjs";
|
|
40
|
+
import "../chunk-WRQST6DJ.mjs";
|
|
41
|
+
import {
|
|
42
|
+
UserMessage
|
|
43
|
+
} from "../chunk-VVL6JFCJ.mjs";
|
|
41
44
|
import {
|
|
42
45
|
AssistantMessage
|
|
43
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-X477GDGZ.mjs";
|
|
44
47
|
import {
|
|
45
48
|
ImageRenderer
|
|
46
49
|
} from "../chunk-DBKRAOH7.mjs";
|
|
47
|
-
import {
|
|
48
|
-
UserMessage
|
|
49
|
-
} from "../chunk-VVL6JFCJ.mjs";
|
|
50
50
|
import {
|
|
51
51
|
Markdown
|
|
52
|
-
} from "../chunk-
|
|
52
|
+
} from "../chunk-SNFHUE5S.mjs";
|
|
53
53
|
import {
|
|
54
54
|
useChatContext
|
|
55
55
|
} from "../chunk-IEMQ2SQW.mjs";
|
|
56
|
-
import "../chunk-
|
|
56
|
+
import "../chunk-B5IFB5YJ.mjs";
|
|
57
57
|
import "../chunk-XWG3L6QC.mjs";
|
|
58
58
|
import "../chunk-54JAUBUJ.mjs";
|
|
59
59
|
import "../chunk-JGMFJZMG.mjs";
|
package/dist/index.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ import 'react/jsx-runtime';
|
|
|
20
20
|
import './components/chat/Modal.js';
|
|
21
21
|
import '@copilotkit/react-core/dist/types/coagent-state';
|
|
22
22
|
import '@copilotkit/react-core/dist/hooks/use-tree';
|
|
23
|
-
import '@copilotkit/react-core/dist/copilot-context-
|
|
23
|
+
import '@copilotkit/react-core/dist/copilot-context-59740e82';
|
|
24
24
|
import '@copilotkit/react-core/dist/types/coagent-action';
|
|
25
25
|
import '@copilotkit/runtime-client-gql';
|
|
26
26
|
import 'react-markdown';
|
package/dist/index.js
CHANGED
|
@@ -1121,17 +1121,6 @@ var generateRandomString = (length, lowercase = false) => {
|
|
|
1121
1121
|
};
|
|
1122
1122
|
var CodeBlock = (0, import_react6.memo)(({ language, value }) => {
|
|
1123
1123
|
const { isCopied, copyToClipboard } = useCopyToClipboard({ timeout: 2e3 });
|
|
1124
|
-
const [SyntaxHighlighter, setSyntaxHighlighter] = (0, import_react6.useState)(
|
|
1125
|
-
() => import_react_syntax_highlighter.Light
|
|
1126
|
-
);
|
|
1127
|
-
(0, import_react6.useEffect)(() => {
|
|
1128
|
-
try {
|
|
1129
|
-
new RegExp("(?<=#)\\w+");
|
|
1130
|
-
setSyntaxHighlighter(() => import_react_syntax_highlighter.Prism);
|
|
1131
|
-
} catch (e) {
|
|
1132
|
-
setSyntaxHighlighter(() => import_react_syntax_highlighter.Light);
|
|
1133
|
-
}
|
|
1134
|
-
}, []);
|
|
1135
1124
|
const downloadAsFile = () => {
|
|
1136
1125
|
if (typeof window === "undefined") {
|
|
1137
1126
|
return;
|
|
@@ -1167,7 +1156,7 @@ var CodeBlock = (0, import_react6.memo)(({ language, value }) => {
|
|
|
1167
1156
|
] })
|
|
1168
1157
|
] }),
|
|
1169
1158
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
1170
|
-
|
|
1159
|
+
import_react_syntax_highlighter.Prism,
|
|
1171
1160
|
{
|
|
1172
1161
|
language,
|
|
1173
1162
|
style: highlightStyle,
|