@copilotkit/react-ui 1.50.0-beta.7 → 1.50.0-beta.9
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 +20 -3
- package/dist/{chunk-6PL5IKAT.mjs → chunk-4APTIMH3.mjs} +2 -2
- package/dist/{chunk-GASWCRI7.mjs → chunk-7OURDQZJ.mjs} +2 -2
- package/dist/{chunk-GDSZGYCE.mjs → chunk-B4EBCYMS.mjs} +4 -4
- package/dist/{chunk-IOZL5AMG.mjs → chunk-ETQOY3FA.mjs} +7 -7
- package/dist/{chunk-FFJHOZX6.mjs → chunk-FKJWIQGB.mjs} +9 -9
- package/dist/{chunk-YJ45UASA.mjs → chunk-HIW7RXCD.mjs} +2 -2
- package/dist/{chunk-U2EHC4KT.mjs → chunk-I2YM5J5H.mjs} +2 -2
- package/dist/{chunk-SF5OH7KP.mjs → chunk-LG6H5CG5.mjs} +4 -4
- package/dist/{chunk-VBYQQ5JS.mjs → chunk-NCIAFFQ2.mjs} +3 -1
- package/dist/{chunk-VBYQQ5JS.mjs.map → chunk-NCIAFFQ2.mjs.map} +1 -1
- package/dist/{chunk-3W6J75HS.mjs → chunk-SABFRQEH.mjs} +4 -4
- package/dist/{chunk-OYRZ4VLU.mjs → chunk-Y4FKRAKJ.mjs} +3 -3
- package/dist/{chunk-OYRZ4VLU.mjs.map → chunk-Y4FKRAKJ.mjs.map} +1 -1
- package/dist/components/chat/Chat.js +2 -0
- package/dist/components/chat/Chat.js.map +1 -1
- package/dist/components/chat/Chat.mjs +6 -6
- package/dist/components/chat/Header.mjs +5 -5
- package/dist/components/chat/Input.mjs +2 -2
- package/dist/components/chat/Messages.js +2 -0
- package/dist/components/chat/Messages.js.map +1 -1
- package/dist/components/chat/Messages.mjs +3 -3
- package/dist/components/chat/Modal.js +2 -0
- package/dist/components/chat/Modal.js.map +1 -1
- package/dist/components/chat/Modal.mjs +15 -15
- package/dist/components/chat/Popup.js +2 -0
- package/dist/components/chat/Popup.js.map +1 -1
- package/dist/components/chat/Popup.mjs +16 -16
- package/dist/components/chat/Sidebar.js +2 -0
- package/dist/components/chat/Sidebar.js.map +1 -1
- package/dist/components/chat/Sidebar.mjs +16 -16
- package/dist/components/chat/index.js +2 -0
- package/dist/components/chat/index.js.map +1 -1
- package/dist/components/chat/index.mjs +17 -17
- package/dist/components/chat/messages/LegacyRenderMessage.js +2 -0
- package/dist/components/chat/messages/LegacyRenderMessage.js.map +1 -1
- package/dist/components/chat/messages/LegacyRenderMessage.mjs +2 -2
- package/dist/components/chat/messages/RenderMessage.d.ts +1 -1
- package/dist/components/chat/messages/RenderMessage.js +2 -0
- package/dist/components/chat/messages/RenderMessage.js.map +1 -1
- package/dist/components/chat/messages/RenderMessage.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 +2 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +21 -21
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/hooks/use-copilot-chat-suggestions.js +1 -1
- package/dist/hooks/use-copilot-chat-suggestions.js.map +1 -1
- package/dist/hooks/use-copilot-chat-suggestions.mjs +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +22 -22
- package/package.json +6 -6
- package/src/components/chat/messages/RenderMessage.tsx +2 -0
- package/src/hooks/use-copilot-chat-suggestions.tsx +2 -2
- /package/dist/{chunk-6PL5IKAT.mjs.map → chunk-4APTIMH3.mjs.map} +0 -0
- /package/dist/{chunk-GASWCRI7.mjs.map → chunk-7OURDQZJ.mjs.map} +0 -0
- /package/dist/{chunk-GDSZGYCE.mjs.map → chunk-B4EBCYMS.mjs.map} +0 -0
- /package/dist/{chunk-IOZL5AMG.mjs.map → chunk-ETQOY3FA.mjs.map} +0 -0
- /package/dist/{chunk-FFJHOZX6.mjs.map → chunk-FKJWIQGB.mjs.map} +0 -0
- /package/dist/{chunk-YJ45UASA.mjs.map → chunk-HIW7RXCD.mjs.map} +0 -0
- /package/dist/{chunk-U2EHC4KT.mjs.map → chunk-I2YM5J5H.mjs.map} +0 -0
- /package/dist/{chunk-SF5OH7KP.mjs.map → chunk-LG6H5CG5.mjs.map} +0 -0
- /package/dist/{chunk-3W6J75HS.mjs.map → chunk-SABFRQEH.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -5,28 +5,16 @@ import "./chunk-SC6JRFAJ.mjs";
|
|
|
5
5
|
import "./chunk-WB3YULQ4.mjs";
|
|
6
6
|
import {
|
|
7
7
|
CopilotPopup
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-I2YM5J5H.mjs";
|
|
9
9
|
import {
|
|
10
10
|
CopilotSidebar
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-4APTIMH3.mjs";
|
|
12
|
+
import "./chunk-ETQOY3FA.mjs";
|
|
13
13
|
import "./chunk-C3GSYRC3.mjs";
|
|
14
|
-
import "./chunk-GDSZGYCE.mjs";
|
|
15
|
-
import "./chunk-V7W6IM2V.mjs";
|
|
16
|
-
import {
|
|
17
|
-
CopilotDevConsole
|
|
18
|
-
} from "./chunk-FFJHOZX6.mjs";
|
|
19
|
-
import "./chunk-Q5V6S67N.mjs";
|
|
20
|
-
import {
|
|
21
|
-
shouldShowDevConsole
|
|
22
|
-
} from "./chunk-JY2CSDKN.mjs";
|
|
23
|
-
import "./chunk-KXE2JCUH.mjs";
|
|
24
|
-
import "./chunk-NRA3CFEE.mjs";
|
|
25
|
-
import "./chunk-BH6PCAAL.mjs";
|
|
26
14
|
import "./chunk-UFN2VWSR.mjs";
|
|
27
15
|
import {
|
|
28
16
|
CopilotChat
|
|
29
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LG6H5CG5.mjs";
|
|
30
18
|
import {
|
|
31
19
|
Suggestions
|
|
32
20
|
} from "./chunk-QB3GUN2N.mjs";
|
|
@@ -34,12 +22,11 @@ import {
|
|
|
34
22
|
Suggestion
|
|
35
23
|
} from "./chunk-NGJ32FAP.mjs";
|
|
36
24
|
import "./chunk-PLHTVHUW.mjs";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-ELGRNEAO.mjs";
|
|
25
|
+
import "./chunk-SABFRQEH.mjs";
|
|
39
26
|
import "./chunk-QIOJXTIQ.mjs";
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-HIW7RXCD.mjs";
|
|
28
|
+
import "./chunk-7OURDQZJ.mjs";
|
|
29
|
+
import "./chunk-NCIAFFQ2.mjs";
|
|
43
30
|
import {
|
|
44
31
|
AssistantMessage
|
|
45
32
|
} from "./chunk-IHFR6PYG.mjs";
|
|
@@ -52,16 +39,29 @@ import {
|
|
|
52
39
|
import {
|
|
53
40
|
Markdown
|
|
54
41
|
} from "./chunk-JZ3RFQQ6.mjs";
|
|
42
|
+
import "./chunk-ELGRNEAO.mjs";
|
|
55
43
|
import "./chunk-IK2BPURM.mjs";
|
|
44
|
+
import "./chunk-B4EBCYMS.mjs";
|
|
56
45
|
import {
|
|
57
46
|
useChatContext
|
|
58
47
|
} from "./chunk-IEMQ2SQW.mjs";
|
|
48
|
+
import "./chunk-V7W6IM2V.mjs";
|
|
49
|
+
import {
|
|
50
|
+
CopilotDevConsole
|
|
51
|
+
} from "./chunk-FKJWIQGB.mjs";
|
|
52
|
+
import "./chunk-KXE2JCUH.mjs";
|
|
53
|
+
import "./chunk-NRA3CFEE.mjs";
|
|
54
|
+
import "./chunk-BH6PCAAL.mjs";
|
|
55
|
+
import {
|
|
56
|
+
shouldShowDevConsole
|
|
57
|
+
} from "./chunk-JY2CSDKN.mjs";
|
|
59
58
|
import "./chunk-XWG3L6QC.mjs";
|
|
59
|
+
import "./chunk-Q5V6S67N.mjs";
|
|
60
60
|
import "./chunk-IU3WTXLQ.mjs";
|
|
61
61
|
import "./chunk-T26KLXLH.mjs";
|
|
62
62
|
import {
|
|
63
63
|
useCopilotChatSuggestions
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-Y4FKRAKJ.mjs";
|
|
65
65
|
import "./chunk-54JAUBUJ.mjs";
|
|
66
66
|
import "./chunk-JGMFJZMG.mjs";
|
|
67
67
|
import "./chunk-O72ZB5V3.mjs";
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"access": "public"
|
|
11
11
|
},
|
|
12
|
-
"version": "1.50.0-beta.
|
|
12
|
+
"version": "1.50.0-beta.9",
|
|
13
13
|
"sideEffects": [
|
|
14
14
|
"**/*.css"
|
|
15
15
|
],
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"ts-jest": "^29.1.1",
|
|
42
42
|
"tsup": "^6.7.0",
|
|
43
43
|
"typescript": "^5.2.3",
|
|
44
|
-
"
|
|
44
|
+
"eslint-config-custom": "1.4.6",
|
|
45
45
|
"tsconfig": "1.4.6",
|
|
46
|
-
"
|
|
46
|
+
"tailwind-config": "1.4.6"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@headlessui/react": "^2.2.9",
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"rehype-raw": "^7.0.0",
|
|
53
53
|
"remark-gfm": "^4.0.1",
|
|
54
54
|
"remark-math": "^6.0.0",
|
|
55
|
-
"@copilotkit/react-core": "1.50.0-beta.
|
|
56
|
-
"@copilotkit/
|
|
57
|
-
"@copilotkit/
|
|
55
|
+
"@copilotkit/react-core": "1.50.0-beta.9",
|
|
56
|
+
"@copilotkit/shared": "1.50.0-beta.9",
|
|
57
|
+
"@copilotkit/runtime-client-gql": "1.50.0-beta.9"
|
|
58
58
|
},
|
|
59
59
|
"keywords": [
|
|
60
60
|
"copilotkit",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
* removes it on unmount, ensuring a clean and efficient lifecycle management.
|
|
60
60
|
*/
|
|
61
61
|
import {
|
|
62
|
-
|
|
62
|
+
useCopilotChatSuggestions as useCoreCopilotChatSuggestions,
|
|
63
63
|
type UseCopilotChatSuggestionsConfiguration,
|
|
64
64
|
} from "@copilotkit/react-core";
|
|
65
65
|
|
|
@@ -67,5 +67,5 @@ export function useCopilotChatSuggestions(
|
|
|
67
67
|
config: UseCopilotChatSuggestionsConfiguration,
|
|
68
68
|
dependencies: any[] = [],
|
|
69
69
|
) {
|
|
70
|
-
|
|
70
|
+
useCoreCopilotChatSuggestions(config, dependencies);
|
|
71
71
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|