@copilotkit/react-ui 0.37.0-mme-fix-textarea-css.1 → 0.37.0
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/.turbo/turbo-build.log +66 -64
- package/CHANGELOG.md +16 -0
- package/dist/{chunk-7FES2IQA.mjs → chunk-23PTCJ2T.mjs} +2 -2
- package/dist/{chunk-VUZA5AFH.mjs → chunk-BJPGMY3I.mjs} +3 -6
- package/dist/{chunk-VUZA5AFH.mjs.map → chunk-BJPGMY3I.mjs.map} +1 -1
- package/dist/chunk-EFZPSZWO.mjs +1 -0
- package/dist/{chunk-MLU5AGTZ.mjs → chunk-F4KCDLRJ.mjs} +7 -7
- package/dist/{chunk-UN4W7WK4.mjs → chunk-GKZ5DRPT.mjs} +2 -2
- package/dist/{chunk-Z6NNH6PN.mjs → chunk-IEV5SYHX.mjs} +10 -10
- package/dist/{chunk-BL65ZC6L.mjs → chunk-LZHY5L7A.mjs} +2 -2
- package/dist/{chunk-7BARTDT5.mjs → chunk-MSSOYSBR.mjs} +2 -2
- package/dist/{chunk-PAQWLSA4.mjs → chunk-SE6DAYSX.mjs} +2 -2
- package/dist/{chunk-RT2XG2T7.mjs → chunk-UC3Y7MWX.mjs} +2 -2
- package/dist/{chunk-CE7PJAAO.mjs → chunk-XSUSSWDS.mjs} +2 -2
- package/dist/components/chat/Button.js.map +1 -1
- package/dist/components/chat/Button.mjs +2 -2
- package/dist/components/chat/Chat.js +2 -4
- package/dist/components/chat/Chat.js.map +1 -1
- package/dist/components/chat/Chat.mjs +5 -5
- package/dist/components/chat/ChatContext.js +2 -7
- package/dist/components/chat/ChatContext.js.map +1 -1
- package/dist/components/chat/ChatContext.mjs +1 -1
- package/dist/components/chat/Header.js.map +1 -1
- package/dist/components/chat/Header.mjs +2 -2
- package/dist/components/chat/Input.js.map +1 -1
- package/dist/components/chat/Input.mjs +2 -2
- package/dist/components/chat/Messages.js.map +1 -1
- package/dist/components/chat/Messages.mjs +2 -2
- package/dist/components/chat/Modal.js +2 -4
- package/dist/components/chat/Modal.js.map +1 -1
- package/dist/components/chat/Modal.mjs +8 -8
- package/dist/components/chat/Popup.js +2 -4
- package/dist/components/chat/Popup.js.map +1 -1
- package/dist/components/chat/Popup.mjs +9 -9
- package/dist/components/chat/Response.js.map +1 -1
- package/dist/components/chat/Response.mjs +2 -2
- package/dist/components/chat/Sidebar.js +2 -4
- package/dist/components/chat/Sidebar.js.map +1 -1
- package/dist/components/chat/Sidebar.mjs +9 -9
- package/dist/components/chat/index.js +2 -4
- package/dist/components/chat/index.js.map +1 -1
- package/dist/components/chat/index.mjs +11 -11
- package/dist/components/index.js +2 -4
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +11 -11
- package/dist/index.css +23 -46
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -12
- package/dist/types/css.d.ts +16 -0
- package/dist/types/css.js +19 -0
- package/dist/types/css.js.map +1 -0
- package/dist/types/css.mjs +1 -0
- package/dist/types/css.mjs.map +1 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js.map +1 -1
- package/dist/types/index.mjs +1 -1
- package/package.json +6 -6
- package/postcss.config.js +57 -6
- package/src/components/chat/ChatContext.tsx +1 -1
- package/src/css/button.css +5 -3
- package/src/css/colors.css +1 -50
- package/src/css/header.css +4 -4
- package/src/css/input.css +7 -7
- package/src/css/messages.css +6 -6
- package/src/css/response.css +1 -1
- package/src/css/suggestions.css +2 -2
- package/src/types/css.ts +15 -0
- package/src/types/index.ts +1 -1
- package/dist/chunk-7NSRDJ5C.mjs +0 -1
- /package/dist/{chunk-7FES2IQA.mjs.map → chunk-23PTCJ2T.mjs.map} +0 -0
- /package/dist/{chunk-7NSRDJ5C.mjs.map → chunk-EFZPSZWO.mjs.map} +0 -0
- /package/dist/{chunk-MLU5AGTZ.mjs.map → chunk-F4KCDLRJ.mjs.map} +0 -0
- /package/dist/{chunk-UN4W7WK4.mjs.map → chunk-GKZ5DRPT.mjs.map} +0 -0
- /package/dist/{chunk-Z6NNH6PN.mjs.map → chunk-IEV5SYHX.mjs.map} +0 -0
- /package/dist/{chunk-BL65ZC6L.mjs.map → chunk-LZHY5L7A.mjs.map} +0 -0
- /package/dist/{chunk-7BARTDT5.mjs.map → chunk-MSSOYSBR.mjs.map} +0 -0
- /package/dist/{chunk-PAQWLSA4.mjs.map → chunk-SE6DAYSX.mjs.map} +0 -0
- /package/dist/{chunk-RT2XG2T7.mjs.map → chunk-UC3Y7MWX.mjs.map} +0 -0
- /package/dist/{chunk-CE7PJAAO.mjs.map → chunk-XSUSSWDS.mjs.map} +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
> @copilotkit/react-ui@0.37.0
|
|
2
|
+
> @copilotkit/react-ui@0.37.0 build /home/runner/work/CopilotKit/CopilotKit/CopilotKit/packages/react-ui
|
|
3
3
|
> tsup --clean
|
|
4
4
|
|
|
5
|
-
[34mCLI[39m Building entry: src/index.tsx, src/components/index.ts, src/context/index.ts, src/hooks/index.ts, src/hooks/use-copilot-chat-suggestions.tsx, src/hooks/use-copy-to-clipboard.tsx, src/hooks/use-push-to-talk.tsx, src/lib/utils.test.ts, src/lib/utils.ts, src/types/index.ts, src/types/suggestions.ts, src/types/types.ts, src/components/chat/Button.tsx, src/components/chat/Chat.tsx, src/components/chat/ChatContext.tsx, src/components/chat/CodeBlock.tsx, src/components/chat/Header.tsx, src/components/chat/Icons.tsx, src/components/chat/Input.tsx, src/components/chat/Markdown.tsx, src/components/chat/Messages.tsx, src/components/chat/Modal.tsx, src/components/chat/Popup.tsx, src/components/chat/Response.tsx, src/components/chat/Sidebar.tsx, src/components/chat/Suggestion.tsx, src/components/chat/Textarea.tsx, src/components/chat/Window.tsx, src/components/chat/index.tsx, src/components/chat/props.ts
|
|
5
|
+
[34mCLI[39m Building entry: src/index.tsx, src/components/index.ts, src/context/index.ts, src/hooks/index.ts, src/hooks/use-copilot-chat-suggestions.tsx, src/hooks/use-copy-to-clipboard.tsx, src/hooks/use-push-to-talk.tsx, src/lib/utils.test.ts, src/lib/utils.ts, src/types/css.ts, src/types/index.ts, src/types/suggestions.ts, src/types/types.ts, src/components/chat/Button.tsx, src/components/chat/Chat.tsx, src/components/chat/ChatContext.tsx, src/components/chat/CodeBlock.tsx, src/components/chat/Header.tsx, src/components/chat/Icons.tsx, src/components/chat/Input.tsx, src/components/chat/Markdown.tsx, src/components/chat/Messages.tsx, src/components/chat/Modal.tsx, src/components/chat/Popup.tsx, src/components/chat/Response.tsx, src/components/chat/Sidebar.tsx, src/components/chat/Suggestion.tsx, src/components/chat/Textarea.tsx, src/components/chat/Window.tsx, src/components/chat/index.tsx, src/components/chat/props.ts
|
|
6
6
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
7
|
[34mCLI[39m tsup v6.7.0
|
|
8
8
|
[34mCLI[39m Using tsup config: /home/runner/work/CopilotKit/CopilotKit/CopilotKit/packages/react-ui/tsup.config.ts
|
|
@@ -10,34 +10,30 @@
|
|
|
10
10
|
[34mCLI[39m Cleaning output folder
|
|
11
11
|
[34mESM[39m Build start
|
|
12
12
|
[34mCJS[39m Build start
|
|
13
|
-
Browserslist: caniuse-lite is outdated. Please run:
|
|
14
|
-
npx update-browserslist-db@latest
|
|
15
|
-
Why you should do it regularly: https://github.com/browserslist/update-db#readme
|
|
16
|
-
[34mDTS[39m Build start
|
|
17
13
|
[32mESM[39m [1mdist/index.mjs [22m[32m1.07 KB[39m
|
|
18
14
|
[32mESM[39m [1mdist/components/index.mjs [22m[32m915.00 B[39m
|
|
19
15
|
[32mESM[39m [1mdist/context/index.mjs [22m[32m66.00 B[39m
|
|
20
16
|
[32mESM[39m [1mdist/hooks/index.mjs [22m[32m207.00 B[39m
|
|
21
17
|
[32mESM[39m [1mdist/lib/utils.test.mjs [22m[32m168.00 B[39m
|
|
22
|
-
[32mESM[39m [1mdist/chunk-
|
|
18
|
+
[32mESM[39m [1mdist/chunk-EFZPSZWO.mjs [22m[32m43.00 B[39m
|
|
23
19
|
[32mESM[39m [1mdist/chunk-JD7BAH7U.mjs [22m[32m43.00 B[39m
|
|
24
20
|
[32mESM[39m [1mdist/chunk-MRFF7GSQ.mjs [22m[32m43.00 B[39m
|
|
25
|
-
[32mESM[39m [1mdist/chunk-
|
|
21
|
+
[32mESM[39m [1mdist/chunk-MSSOYSBR.mjs [22m[32m1.02 KB[39m
|
|
26
22
|
[32mESM[39m [1mdist/chunk-WB3YULQ4.mjs [22m[32m43.00 B[39m
|
|
27
|
-
[32mESM[39m [1mdist/chunk-
|
|
28
|
-
[32mESM[39m [1mdist/chunk-
|
|
23
|
+
[32mESM[39m [1mdist/chunk-GKZ5DRPT.mjs [22m[32m573.00 B[39m
|
|
24
|
+
[32mESM[39m [1mdist/chunk-IEV5SYHX.mjs [22m[32m2.17 KB[39m
|
|
29
25
|
[32mESM[39m [1mdist/chunk-B7DNOYVQ.mjs [22m[32m3.80 KB[39m
|
|
30
|
-
[32mESM[39m [1mdist/chunk-
|
|
31
|
-
[32mESM[39m [1mdist/chunk-
|
|
32
|
-
[32mESM[39m [1mdist/chunk-
|
|
26
|
+
[32mESM[39m [1mdist/chunk-SE6DAYSX.mjs [22m[32m566.00 B[39m
|
|
27
|
+
[32mESM[39m [1mdist/chunk-UC3Y7MWX.mjs [22m[32m825.00 B[39m
|
|
28
|
+
[32mESM[39m [1mdist/chunk-F4KCDLRJ.mjs [22m[32m4.76 KB[39m
|
|
29
|
+
[32mESM[39m [1mdist/chunk-XSUSSWDS.mjs [22m[32m613.00 B[39m
|
|
33
30
|
[32mESM[39m [1mdist/chunk-4MKP23AD.mjs [22m[32m3.43 KB[39m
|
|
34
|
-
[32mESM[39m [1mdist/chunk-
|
|
31
|
+
[32mESM[39m [1mdist/chunk-LZHY5L7A.mjs [22m[32m2.77 KB[39m
|
|
35
32
|
[32mESM[39m [1mdist/chunk-YQFVRDNC.mjs [22m[32m1.53 KB[39m
|
|
36
|
-
[32mESM[39m [1mdist/chunk-
|
|
33
|
+
[32mESM[39m [1mdist/chunk-23PTCJ2T.mjs [22m[32m4.96 KB[39m
|
|
37
34
|
[32mESM[39m [1mdist/chunk-YQ3D5IQV.mjs [22m[32m2.17 KB[39m
|
|
38
|
-
[32mESM[39m [1mdist/chunk-CE7PJAAO.mjs [22m[32m613.00 B[39m
|
|
39
|
-
[32mESM[39m [1mdist/chunk-VUZA5AFH.mjs [22m[32m1.66 KB[39m
|
|
40
35
|
[32mESM[39m [1mdist/chunk-UPTB2MVO.mjs [22m[32m8.65 KB[39m
|
|
36
|
+
[32mESM[39m [1mdist/chunk-BJPGMY3I.mjs [22m[32m1.63 KB[39m
|
|
41
37
|
[32mESM[39m [1mdist/chunk-FZC7X5PK.mjs [22m[32m7.83 KB[39m
|
|
42
38
|
[32mESM[39m [1mdist/chunk-IU3WTXLQ.mjs [22m[32m43.00 B[39m
|
|
43
39
|
[32mESM[39m [1mdist/chunk-T26KLXLH.mjs [22m[32m43.00 B[39m
|
|
@@ -48,14 +44,16 @@ Browserslist: caniuse-lite is outdated. Please run:
|
|
|
48
44
|
[32mESM[39m [1mdist/hooks/use-push-to-talk.mjs [22m[32m290.00 B[39m
|
|
49
45
|
[32mESM[39m [1mdist/chunk-ANO23V2M.mjs [22m[32m4.87 KB[39m
|
|
50
46
|
[32mESM[39m [1mdist/chunk-MRXNTQOX.mjs [22m[32m1.89 KB[39m
|
|
51
|
-
[32mESM[39m [1mdist/index.css [22m[
|
|
47
|
+
[32mESM[39m [1mdist/index.css [22m[32m14.41 KB[39m
|
|
48
|
+
[32mESM[39m [1mdist/components/chat/Response.mjs [22m[32m232.00 B[39m
|
|
49
|
+
[32mESM[39m [1mdist/types/css.mjs [22m[32m32.00 B[39m
|
|
52
50
|
[32mESM[39m [1mdist/components/chat/Sidebar.mjs [22m[32m721.00 B[39m
|
|
53
|
-
[32mESM[39m [1mdist/types/index.mjs [22m[32m66.00 B[39m
|
|
54
51
|
[32mESM[39m [1mdist/components/chat/Suggestion.mjs [22m[32m233.00 B[39m
|
|
55
52
|
[32mESM[39m [1mdist/components/chat/Textarea.mjs [22m[32m177.00 B[39m
|
|
56
53
|
[32mESM[39m [1mdist/components/chat/Window.mjs [22m[32m144.00 B[39m
|
|
57
54
|
[32mESM[39m [1mdist/components/chat/index.mjs [22m[32m946.00 B[39m
|
|
58
55
|
[32mESM[39m [1mdist/components/chat/props.mjs [22m[32m69.00 B[39m
|
|
56
|
+
[32mESM[39m [1mdist/components/chat/CodeBlock.mjs [22m[32m319.00 B[39m
|
|
59
57
|
[32mESM[39m [1mdist/components/chat/Header.mjs [22m[32m214.00 B[39m
|
|
60
58
|
[32mESM[39m [1mdist/components/chat/Icons.mjs [22m[32m515.00 B[39m
|
|
61
59
|
[32mESM[39m [1mdist/components/chat/Input.mjs [22m[32m281.00 B[39m
|
|
@@ -63,38 +61,37 @@ Browserslist: caniuse-lite is outdated. Please run:
|
|
|
63
61
|
[32mESM[39m [1mdist/components/chat/Messages.mjs [22m[32m325.00 B[39m
|
|
64
62
|
[32mESM[39m [1mdist/components/chat/Modal.mjs [22m[32m680.00 B[39m
|
|
65
63
|
[32mESM[39m [1mdist/components/chat/Popup.mjs [22m[32m715.00 B[39m
|
|
66
|
-
[32mESM[39m [1mdist/components/chat/Response.mjs [22m[32m232.00 B[39m
|
|
67
64
|
[32mESM[39m [1mdist/lib/utils.mjs [22m[32m885.00 B[39m
|
|
65
|
+
[32mESM[39m [1mdist/types/index.mjs [22m[32m66.00 B[39m
|
|
68
66
|
[32mESM[39m [1mdist/types/suggestions.mjs [22m[32m40.00 B[39m
|
|
69
67
|
[32mESM[39m [1mdist/types/types.mjs [22m[32m34.00 B[39m
|
|
70
68
|
[32mESM[39m [1mdist/components/chat/Button.mjs [22m[32m214.00 B[39m
|
|
71
69
|
[32mESM[39m [1mdist/components/chat/Chat.mjs [22m[32m627.00 B[39m
|
|
72
70
|
[32mESM[39m [1mdist/components/chat/ChatContext.mjs [22m[32m276.00 B[39m
|
|
73
|
-
[32mESM[39m [1mdist/components/chat/CodeBlock.mjs [22m[32m319.00 B[39m
|
|
74
71
|
[32mESM[39m [1mdist/index.mjs.map [22m[32m71.00 B[39m
|
|
75
72
|
[32mESM[39m [1mdist/components/index.mjs.map [22m[32m71.00 B[39m
|
|
76
73
|
[32mESM[39m [1mdist/context/index.mjs.map [22m[32m71.00 B[39m
|
|
77
74
|
[32mESM[39m [1mdist/hooks/index.mjs.map [22m[32m71.00 B[39m
|
|
78
75
|
[32mESM[39m [1mdist/lib/utils.test.mjs.map [22m[32m350.00 B[39m
|
|
79
|
-
[32mESM[39m [1mdist/chunk-
|
|
76
|
+
[32mESM[39m [1mdist/chunk-EFZPSZWO.mjs.map [22m[32m71.00 B[39m
|
|
80
77
|
[32mESM[39m [1mdist/chunk-JD7BAH7U.mjs.map [22m[32m71.00 B[39m
|
|
81
78
|
[32mESM[39m [1mdist/chunk-MRFF7GSQ.mjs.map [22m[32m71.00 B[39m
|
|
82
|
-
[32mESM[39m [1mdist/chunk-
|
|
79
|
+
[32mESM[39m [1mdist/chunk-MSSOYSBR.mjs.map [22m[32m3.03 KB[39m
|
|
83
80
|
[32mESM[39m [1mdist/chunk-WB3YULQ4.mjs.map [22m[32m71.00 B[39m
|
|
84
|
-
[32mESM[39m [1mdist/chunk-
|
|
85
|
-
[32mESM[39m [1mdist/chunk-
|
|
81
|
+
[32mESM[39m [1mdist/chunk-GKZ5DRPT.mjs.map [22m[32m2.10 KB[39m
|
|
82
|
+
[32mESM[39m [1mdist/chunk-IEV5SYHX.mjs.map [22m[32m4.36 KB[39m
|
|
86
83
|
[32mESM[39m [1mdist/chunk-B7DNOYVQ.mjs.map [22m[32m6.70 KB[39m
|
|
87
|
-
[32mESM[39m [1mdist/chunk-
|
|
88
|
-
[32mESM[39m [1mdist/chunk-
|
|
89
|
-
[32mESM[39m [1mdist/chunk-
|
|
84
|
+
[32mESM[39m [1mdist/chunk-SE6DAYSX.mjs.map [22m[32m773.00 B[39m
|
|
85
|
+
[32mESM[39m [1mdist/chunk-UC3Y7MWX.mjs.map [22m[32m1.12 KB[39m
|
|
86
|
+
[32mESM[39m [1mdist/chunk-F4KCDLRJ.mjs.map [22m[32m10.93 KB[39m
|
|
87
|
+
[32mESM[39m [1mdist/chunk-XSUSSWDS.mjs.map [22m[32m854.00 B[39m
|
|
90
88
|
[32mESM[39m [1mdist/chunk-4MKP23AD.mjs.map [22m[32m5.64 KB[39m
|
|
91
|
-
[32mESM[39m [1mdist/chunk-
|
|
89
|
+
[32mESM[39m [1mdist/chunk-LZHY5L7A.mjs.map [22m[32m4.27 KB[39m
|
|
92
90
|
[32mESM[39m [1mdist/chunk-YQFVRDNC.mjs.map [22m[32m2.80 KB[39m
|
|
93
|
-
[32mESM[39m [1mdist/chunk-
|
|
91
|
+
[32mESM[39m [1mdist/chunk-23PTCJ2T.mjs.map [22m[32m8.84 KB[39m
|
|
94
92
|
[32mESM[39m [1mdist/chunk-YQ3D5IQV.mjs.map [22m[32m3.22 KB[39m
|
|
95
|
-
[32mESM[39m [1mdist/chunk-CE7PJAAO.mjs.map [22m[32m854.00 B[39m
|
|
96
|
-
[32mESM[39m [1mdist/chunk-VUZA5AFH.mjs.map [22m[32m4.86 KB[39m
|
|
97
93
|
[32mESM[39m [1mdist/chunk-UPTB2MVO.mjs.map [22m[32m15.59 KB[39m
|
|
94
|
+
[32mESM[39m [1mdist/chunk-BJPGMY3I.mjs.map [22m[32m4.85 KB[39m
|
|
98
95
|
[32mESM[39m [1mdist/chunk-FZC7X5PK.mjs.map [22m[32m10.15 KB[39m
|
|
99
96
|
[32mESM[39m [1mdist/chunk-IU3WTXLQ.mjs.map [22m[32m71.00 B[39m
|
|
100
97
|
[32mESM[39m [1mdist/chunk-T26KLXLH.mjs.map [22m[32m71.00 B[39m
|
|
@@ -105,14 +102,16 @@ Browserslist: caniuse-lite is outdated. Please run:
|
|
|
105
102
|
[32mESM[39m [1mdist/hooks/use-push-to-talk.mjs.map [22m[32m71.00 B[39m
|
|
106
103
|
[32mESM[39m [1mdist/chunk-ANO23V2M.mjs.map [22m[32m8.44 KB[39m
|
|
107
104
|
[32mESM[39m [1mdist/chunk-MRXNTQOX.mjs.map [22m[32m71.00 B[39m
|
|
108
|
-
[32mESM[39m [1mdist/index.css.map [22m[
|
|
105
|
+
[32mESM[39m [1mdist/index.css.map [22m[32m18.25 KB[39m
|
|
106
|
+
[32mESM[39m [1mdist/components/chat/Response.mjs.map [22m[32m71.00 B[39m
|
|
107
|
+
[32mESM[39m [1mdist/types/css.mjs.map [22m[32m71.00 B[39m
|
|
109
108
|
[32mESM[39m [1mdist/components/chat/Sidebar.mjs.map [22m[32m71.00 B[39m
|
|
110
|
-
[32mESM[39m [1mdist/types/index.mjs.map [22m[32m71.00 B[39m
|
|
111
109
|
[32mESM[39m [1mdist/components/chat/Suggestion.mjs.map [22m[32m71.00 B[39m
|
|
112
110
|
[32mESM[39m [1mdist/components/chat/Textarea.mjs.map [22m[32m71.00 B[39m
|
|
113
111
|
[32mESM[39m [1mdist/components/chat/Window.mjs.map [22m[32m71.00 B[39m
|
|
114
112
|
[32mESM[39m [1mdist/components/chat/index.mjs.map [22m[32m71.00 B[39m
|
|
115
113
|
[32mESM[39m [1mdist/components/chat/props.mjs.map [22m[32m71.00 B[39m
|
|
114
|
+
[32mESM[39m [1mdist/components/chat/CodeBlock.mjs.map [22m[32m71.00 B[39m
|
|
116
115
|
[32mESM[39m [1mdist/components/chat/Header.mjs.map [22m[32m71.00 B[39m
|
|
117
116
|
[32mESM[39m [1mdist/components/chat/Icons.mjs.map [22m[32m71.00 B[39m
|
|
118
117
|
[32mESM[39m [1mdist/components/chat/Input.mjs.map [22m[32m71.00 B[39m
|
|
@@ -120,86 +119,89 @@ Browserslist: caniuse-lite is outdated. Please run:
|
|
|
120
119
|
[32mESM[39m [1mdist/components/chat/Messages.mjs.map [22m[32m71.00 B[39m
|
|
121
120
|
[32mESM[39m [1mdist/components/chat/Modal.mjs.map [22m[32m71.00 B[39m
|
|
122
121
|
[32mESM[39m [1mdist/components/chat/Popup.mjs.map [22m[32m71.00 B[39m
|
|
123
|
-
[32mESM[39m [1mdist/components/chat/Response.mjs.map [22m[32m71.00 B[39m
|
|
124
122
|
[32mESM[39m [1mdist/lib/utils.mjs.map [22m[32m1.49 KB[39m
|
|
123
|
+
[32mESM[39m [1mdist/types/index.mjs.map [22m[32m71.00 B[39m
|
|
125
124
|
[32mESM[39m [1mdist/types/suggestions.mjs.map [22m[32m71.00 B[39m
|
|
126
125
|
[32mESM[39m [1mdist/types/types.mjs.map [22m[32m71.00 B[39m
|
|
127
126
|
[32mESM[39m [1mdist/components/chat/Button.mjs.map [22m[32m71.00 B[39m
|
|
128
127
|
[32mESM[39m [1mdist/components/chat/Chat.mjs.map [22m[32m71.00 B[39m
|
|
129
128
|
[32mESM[39m [1mdist/components/chat/ChatContext.mjs.map [22m[32m71.00 B[39m
|
|
130
|
-
[32mESM[39m
|
|
131
|
-
[
|
|
132
|
-
[32mCJS[39m [1mdist/index.
|
|
129
|
+
[32mESM[39m ⚡️ Build success in 228ms
|
|
130
|
+
[32mCJS[39m [1mdist/index.js [22m[32m56.36 KB[39m
|
|
131
|
+
[32mCJS[39m [1mdist/index.css [22m[32m14.41 KB[39m
|
|
132
|
+
[32mCJS[39m [1mdist/components/index.js [22m[32m55.59 KB[39m
|
|
133
133
|
[32mCJS[39m [1mdist/context/index.js [22m[32m803.00 B[39m
|
|
134
134
|
[32mCJS[39m [1mdist/hooks/index.js [22m[32m1.79 KB[39m
|
|
135
|
-
[32mCJS[39m [1mdist/components/index.js [22m[32m55.61 KB[39m
|
|
136
135
|
[32mCJS[39m [1mdist/hooks/use-copilot-chat-suggestions.js [22m[32m1.86 KB[39m
|
|
137
136
|
[32mCJS[39m [1mdist/hooks/use-copy-to-clipboard.js [22m[32m2.30 KB[39m
|
|
138
|
-
[32mCJS[39m [1mdist/lib/utils.test.js [22m[32m182.00 B[39m
|
|
139
137
|
[32mCJS[39m [1mdist/hooks/use-push-to-talk.js [22m[32m6.66 KB[39m
|
|
138
|
+
[32mCJS[39m [1mdist/lib/utils.test.js [22m[32m182.00 B[39m
|
|
140
139
|
[32mCJS[39m [1mdist/lib/utils.js [22m[32m2.40 KB[39m
|
|
140
|
+
[32mCJS[39m [1mdist/types/css.js [22m[32m789.00 B[39m
|
|
141
141
|
[32mCJS[39m [1mdist/types/index.js [22m[32m797.00 B[39m
|
|
142
142
|
[32mCJS[39m [1mdist/types/suggestions.js [22m[32m821.00 B[39m
|
|
143
143
|
[32mCJS[39m [1mdist/types/types.js [22m[32m797.00 B[39m
|
|
144
144
|
[32mCJS[39m [1mdist/components/chat/Button.js [22m[32m2.91 KB[39m
|
|
145
|
-
[32mCJS[39m [1mdist/components/chat/Chat.js [22m[32m47.
|
|
146
|
-
[32mCJS[39m [1mdist/components/chat/ChatContext.js [22m[32m9.
|
|
145
|
+
[32mCJS[39m [1mdist/components/chat/Chat.js [22m[32m47.14 KB[39m
|
|
146
|
+
[32mCJS[39m [1mdist/components/chat/ChatContext.js [22m[32m9.29 KB[39m
|
|
147
147
|
[32mCJS[39m [1mdist/components/chat/CodeBlock.js [22m[32m14.30 KB[39m
|
|
148
148
|
[32mCJS[39m [1mdist/components/chat/Header.js [22m[32m2.63 KB[39m
|
|
149
149
|
[32mCJS[39m [1mdist/components/chat/Icons.js [22m[32m11.01 KB[39m
|
|
150
150
|
[32mCJS[39m [1mdist/components/chat/Input.js [22m[32m11.01 KB[39m
|
|
151
151
|
[32mCJS[39m [1mdist/components/chat/Markdown.js [22m[32m16.47 KB[39m
|
|
152
152
|
[32mCJS[39m [1mdist/components/chat/Messages.js [22m[32m22.23 KB[39m
|
|
153
|
-
[32mCJS[39m [1mdist/components/chat/Modal.js [22m[32m54.
|
|
154
|
-
[32mCJS[39m [1mdist/components/chat/Popup.js [22m[32m54.
|
|
153
|
+
[32mCJS[39m [1mdist/components/chat/Modal.js [22m[32m54.07 KB[39m
|
|
154
|
+
[32mCJS[39m [1mdist/components/chat/Popup.js [22m[32m54.51 KB[39m
|
|
155
155
|
[32mCJS[39m [1mdist/components/chat/Response.js [22m[32m2.67 KB[39m
|
|
156
|
-
[32mCJS[39m [1mdist/components/chat/Sidebar.js [22m[32m55.
|
|
156
|
+
[32mCJS[39m [1mdist/components/chat/Sidebar.js [22m[32m55.04 KB[39m
|
|
157
157
|
[32mCJS[39m [1mdist/components/chat/Suggestion.js [22m[32m5.95 KB[39m
|
|
158
158
|
[32mCJS[39m [1mdist/components/chat/Textarea.js [22m[32m2.51 KB[39m
|
|
159
159
|
[32mCJS[39m [1mdist/components/chat/Window.js [22m[32m5.46 KB[39m
|
|
160
|
-
[32mCJS[39m [1mdist/index.
|
|
160
|
+
[32mCJS[39m [1mdist/components/chat/index.js [22m[32m55.58 KB[39m
|
|
161
161
|
[32mCJS[39m [1mdist/components/chat/props.js [22m[32m807.00 B[39m
|
|
162
|
-
[32mCJS[39m [1mdist/
|
|
163
|
-
[32mCJS[39m [1mdist/index.
|
|
164
|
-
[32mCJS[39m [1mdist/
|
|
162
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m97.86 KB[39m
|
|
163
|
+
[32mCJS[39m [1mdist/index.css.map [22m[32m18.25 KB[39m
|
|
164
|
+
[32mCJS[39m [1mdist/components/index.js.map [22m[32m94.03 KB[39m
|
|
165
165
|
[32mCJS[39m [1mdist/hooks/index.js.map [22m[32m3.89 KB[39m
|
|
166
|
-
[32mCJS[39m [1mdist/
|
|
166
|
+
[32mCJS[39m [1mdist/context/index.js.map [22m[32m139.00 B[39m
|
|
167
167
|
[32mCJS[39m [1mdist/hooks/use-copilot-chat-suggestions.js.map [22m[32m3.80 KB[39m
|
|
168
168
|
[32mCJS[39m [1mdist/hooks/use-copy-to-clipboard.js.map [22m[32m1.21 KB[39m
|
|
169
|
-
[32mCJS[39m [1mdist/lib/utils.test.js.map [22m[32m352.00 B[39m
|
|
170
169
|
[32mCJS[39m [1mdist/hooks/use-push-to-talk.js.map [22m[32m8.50 KB[39m
|
|
170
|
+
[32mCJS[39m [1mdist/lib/utils.test.js.map [22m[32m352.00 B[39m
|
|
171
171
|
[32mCJS[39m [1mdist/lib/utils.js.map [22m[32m1.55 KB[39m
|
|
172
|
-
[32mCJS[39m [1mdist/types/
|
|
172
|
+
[32mCJS[39m [1mdist/types/css.js.map [22m[32m788.00 B[39m
|
|
173
|
+
[32mCJS[39m [1mdist/types/index.js.map [22m[32m182.00 B[39m
|
|
173
174
|
[32mCJS[39m [1mdist/types/suggestions.js.map [22m[32m259.00 B[39m
|
|
174
175
|
[32mCJS[39m [1mdist/types/types.js.map [22m[32m478.00 B[39m
|
|
175
176
|
[32mCJS[39m [1mdist/components/chat/Button.js.map [22m[32m5.47 KB[39m
|
|
176
|
-
[32mCJS[39m [1mdist/components/chat/Chat.js.map [22m[32m76.
|
|
177
|
-
[32mCJS[39m [1mdist/components/chat/ChatContext.js.map [22m[32m13.
|
|
178
|
-
[32mCJS[39m [1mdist/components/chat/CodeBlock.js.map [22m[32m24.33 KB[39m
|
|
177
|
+
[32mCJS[39m [1mdist/components/chat/Chat.js.map [22m[32m76.13 KB[39m
|
|
178
|
+
[32mCJS[39m [1mdist/components/chat/ChatContext.js.map [22m[32m13.87 KB[39m
|
|
179
179
|
[32mCJS[39m [1mdist/components/chat/Header.js.map [22m[32m5.11 KB[39m
|
|
180
|
+
[32mCJS[39m [1mdist/components/chat/CodeBlock.js.map [22m[32m24.33 KB[39m
|
|
180
181
|
[32mCJS[39m [1mdist/components/chat/Icons.js.map [22m[32m10.27 KB[39m
|
|
181
182
|
[32mCJS[39m [1mdist/components/chat/Input.js.map [22m[32m19.36 KB[39m
|
|
182
183
|
[32mCJS[39m [1mdist/components/chat/Markdown.js.map [22m[32m27.58 KB[39m
|
|
183
184
|
[32mCJS[39m [1mdist/components/chat/Messages.js.map [22m[32m40.73 KB[39m
|
|
184
|
-
[32mCJS[39m [1mdist/components/chat/Modal.js.map [22m[32m88.
|
|
185
|
-
[32mCJS[39m [1mdist/components/chat/Popup.js.map [22m[32m91.01 KB[39m
|
|
185
|
+
[32mCJS[39m [1mdist/components/chat/Modal.js.map [22m[32m88.94 KB[39m
|
|
186
186
|
[32mCJS[39m [1mdist/components/chat/Response.js.map [22m[32m5.19 KB[39m
|
|
187
|
-
[32mCJS[39m [1mdist/components/chat/
|
|
187
|
+
[32mCJS[39m [1mdist/components/chat/Popup.js.map [22m[32m91.00 KB[39m
|
|
188
188
|
[32mCJS[39m [1mdist/components/chat/Suggestion.js.map [22m[32m12.87 KB[39m
|
|
189
189
|
[32mCJS[39m [1mdist/components/chat/Textarea.js.map [22m[32m2.83 KB[39m
|
|
190
190
|
[32mCJS[39m [1mdist/components/chat/Window.js.map [22m[32m6.76 KB[39m
|
|
191
|
-
[32mCJS[39m [1mdist/
|
|
191
|
+
[32mCJS[39m [1mdist/components/chat/Sidebar.js.map [22m[32m91.95 KB[39m
|
|
192
192
|
[32mCJS[39m [1mdist/components/chat/props.js.map [22m[32m1.06 KB[39m
|
|
193
|
-
[32mCJS[39m [1mdist/components/chat/index.js.map [22m[32m94.
|
|
194
|
-
[32mCJS[39m ⚡️ Build success in
|
|
195
|
-
[
|
|
196
|
-
[32mDTS[39m
|
|
193
|
+
[32mCJS[39m [1mdist/components/chat/index.js.map [22m[32m94.27 KB[39m
|
|
194
|
+
[32mCJS[39m ⚡️ Build success in 302ms
|
|
195
|
+
[34mDTS[39m Build start
|
|
196
|
+
[32mDTS[39m ⚡️ Build success in 8010ms
|
|
197
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m687.00 B[39m
|
|
197
198
|
[32mDTS[39m [1mdist/components/chat/props.d.ts [22m[32m1007.00 B[39m
|
|
198
199
|
[32mDTS[39m [1mdist/components/chat/Popup.d.ts [22m[32m1.77 KB[39m
|
|
199
200
|
[32mDTS[39m [1mdist/components/chat/Sidebar.d.ts [22m[32m332.00 B[39m
|
|
200
201
|
[32mDTS[39m [1mdist/components/chat/Chat.d.ts [22m[32m4.56 KB[39m
|
|
201
202
|
[32mDTS[39m [1mdist/components/chat/ChatContext.d.ts [22m[32m2.83 KB[39m
|
|
202
203
|
[32mDTS[39m [1mdist/hooks/use-copilot-chat-suggestions.d.ts [22m[32m2.67 KB[39m
|
|
204
|
+
[32mDTS[39m [1mdist/types/css.d.ts [22m[32m623.00 B[39m
|
|
203
205
|
[32mDTS[39m [1mdist/components/chat/Modal.d.ts [22m[32m1.79 KB[39m
|
|
204
206
|
[32mDTS[39m [1mdist/types/suggestions.d.ts [22m[32m158.00 B[39m
|
|
205
207
|
[32mDTS[39m [1mdist/components/index.d.ts [22m[32m479.00 B[39m
|
|
@@ -209,7 +211,7 @@ Browserslist: caniuse-lite is outdated. Please run:
|
|
|
209
211
|
[32mDTS[39m [1mdist/hooks/use-push-to-talk.d.ts [22m[32m771.00 B[39m
|
|
210
212
|
[32mDTS[39m [1mdist/lib/utils.test.d.ts [22m[32m12.00 B[39m
|
|
211
213
|
[32mDTS[39m [1mdist/lib/utils.d.ts [22m[32m263.00 B[39m
|
|
212
|
-
[32mDTS[39m [1mdist/types/index.d.ts [22m[
|
|
214
|
+
[32mDTS[39m [1mdist/types/index.d.ts [22m[32m68.00 B[39m
|
|
213
215
|
[32mDTS[39m [1mdist/types/types.d.ts [22m[32m351.00 B[39m
|
|
214
216
|
[32mDTS[39m [1mdist/components/chat/Button.d.ts [22m[32m163.00 B[39m
|
|
215
217
|
[32mDTS[39m [1mdist/components/chat/CodeBlock.d.ts [22m[32m392.00 B[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# ui
|
|
2
2
|
|
|
3
|
+
## 0.37.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- f771353: Fix: Stale CopilotReadable
|
|
8
|
+
- 9df8d43: Remove unneeded tailwind components
|
|
9
|
+
- CSS improvements, useCopilotChat, invisible messages
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [f771353]
|
|
14
|
+
- Updated dependencies [9df8d43]
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
- @copilotkit/react-core@0.37.0
|
|
17
|
+
- @copilotkit/shared@0.37.0
|
|
18
|
+
|
|
3
19
|
## 0.37.0-mme-fix-textarea-css.1
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-YQ3D5IQV.mjs";
|
|
4
4
|
import {
|
|
5
5
|
useChatContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BJPGMY3I.mjs";
|
|
7
7
|
|
|
8
8
|
// src/components/chat/Messages.tsx
|
|
9
9
|
import React, { useEffect, useMemo } from "react";
|
|
@@ -119,4 +119,4 @@ function makeInitialMessages(initial) {
|
|
|
119
119
|
export {
|
|
120
120
|
Messages
|
|
121
121
|
};
|
|
122
|
-
//# sourceMappingURL=chunk-
|
|
122
|
+
//# sourceMappingURL=chunk-23PTCJ2T.mjs.map
|
|
@@ -10,7 +10,6 @@ import {
|
|
|
10
10
|
StopIcon
|
|
11
11
|
} from "./chunk-FZC7X5PK.mjs";
|
|
12
12
|
import {
|
|
13
|
-
__spreadProps,
|
|
14
13
|
__spreadValues
|
|
15
14
|
} from "./chunk-MRXNTQOX.mjs";
|
|
16
15
|
|
|
@@ -46,7 +45,7 @@ var ChatContextProvider = ({
|
|
|
46
45
|
stopGenerating: "Stop generating",
|
|
47
46
|
regenerateResponse: "Regenerate response"
|
|
48
47
|
}), labels),
|
|
49
|
-
icons:
|
|
48
|
+
icons: __spreadValues(__spreadValues({}, {
|
|
50
49
|
openIcon: OpenIcon,
|
|
51
50
|
closeIcon: CloseIcon,
|
|
52
51
|
headerCloseIcon: HeaderCloseIcon,
|
|
@@ -56,9 +55,7 @@ var ChatContextProvider = ({
|
|
|
56
55
|
stopIcon: StopIcon,
|
|
57
56
|
regenerateIcon: RegenerateIcon,
|
|
58
57
|
pushToTalkIcon: PushToTalkIcon
|
|
59
|
-
}),
|
|
60
|
-
icons
|
|
61
|
-
}),
|
|
58
|
+
}), icons),
|
|
62
59
|
open,
|
|
63
60
|
setOpen
|
|
64
61
|
};
|
|
@@ -70,4 +67,4 @@ export {
|
|
|
70
67
|
useChatContext,
|
|
71
68
|
ChatContextProvider
|
|
72
69
|
};
|
|
73
|
-
//# sourceMappingURL=chunk-
|
|
70
|
+
//# sourceMappingURL=chunk-BJPGMY3I.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/chat/ChatContext.tsx"],"sourcesContent":["import React, { useMemo, useState } from \"react\";\nimport * as DefaultIcons from \"./Icons\";\n\n/**\n * Icons for CopilotChat component.\n */\nexport interface CopilotChatIcons {\n /**\n * The icon to use for the open chat button.\n * @default <OpenIcon />\n */\n openIcon?: React.ReactNode;\n\n /**\n * The icon to use for the close chat button.\n * @default <CloseIcon />\n */\n closeIcon?: React.ReactNode;\n\n /**\n * The icon to use for the close chat button in the header.\n * @default <HeaderCloseIcon />\n */\n headerCloseIcon?: React.ReactNode;\n\n /**\n * The icon to use for the send button.\n * @default <SendIcon />\n */\n sendIcon?: React.ReactNode;\n\n /**\n * The icon to use for the activity indicator.\n * @default <ActivityIcon />\n */\n activityIcon?: React.ReactNode;\n\n /**\n * The icon to use for the spinner.\n * @default <SpinnerIcon />\n */\n spinnerIcon?: React.ReactNode;\n\n /**\n * The icon to use for the stop button.\n * @default <StopIcon />\n */\n stopIcon?: React.ReactNode;\n\n /**\n * The icon to use for the regenerate button.\n * @default <RegenerateIcon />\n */\n regenerateIcon?: React.ReactNode;\n\n /**\n * The icons to use for push to talk.\n * @default <PushToTalkIcon />\n */\n\n pushToTalkIcon?: React.ReactNode;\n}\n\n/**\n * Labels for CopilotChat component.\n */\nexport interface CopilotChatLabels {\n /**\n * The initial message(s) to display in the chat window.\n */\n initial?: string | string[];\n\n /**\n * The title to display in the header.\n * @default \"CopilotKit\"\n */\n title?: string;\n\n /**\n * The placeholder to display in the input.\n * @default \"Type a message...\"\n */\n placeholder?: string;\n\n /**\n * The message to display when an error occurs.\n * @default \"❌ An error occurred. Please try again.\"\n */\n error?: string;\n\n /**\n * The label to display on the stop button.\n * @default \"Stop generating\"\n */\n stopGenerating?: string;\n\n /**\n * The label to display on the regenerate button.\n * @default \"Regenerate response\"\n */\n regenerateResponse?: string;\n}\n\ninterface ChatContext {\n labels: Required<CopilotChatLabels>;\n icons: Required<CopilotChatIcons>;\n open: boolean;\n setOpen: (open: boolean) => void;\n}\n\nexport const ChatContext = React.createContext<ChatContext | undefined>(undefined);\n\nexport function useChatContext(): ChatContext {\n const context = React.useContext(ChatContext);\n if (context === undefined) {\n throw new Error(\n \"Context not found. Did you forget to wrap your app in a <ChatContextProvider> component?\",\n );\n }\n return context;\n}\n\ninterface ChatContextProps {\n // temperature?: number;\n // instructions?: string;\n // maxFeedback?: number;\n labels?: CopilotChatLabels;\n icons?: CopilotChatIcons;\n children?: React.ReactNode;\n open: boolean;\n setOpen: (open: boolean) => void;\n}\n\nexport const ChatContextProvider = ({\n // temperature,\n // instructions,\n // maxFeedback,\n labels,\n icons,\n children,\n open,\n setOpen,\n}: ChatContextProps) => {\n const context = {\n labels: {\n ...{\n initial: \"\",\n title: \"CopilotKit\",\n placeholder: \"Type a message...\",\n error: \"❌ An error occurred. Please try again.\",\n stopGenerating: \"Stop generating\",\n regenerateResponse: \"Regenerate response\",\n },\n ...labels,\n },\n\n icons: {\n ...{\n openIcon: DefaultIcons.OpenIcon,\n closeIcon: DefaultIcons.CloseIcon,\n headerCloseIcon: DefaultIcons.HeaderCloseIcon,\n sendIcon: DefaultIcons.SendIcon,\n activityIcon: DefaultIcons.ActivityIcon,\n spinnerIcon: DefaultIcons.SpinnerIcon,\n stopIcon: DefaultIcons.StopIcon,\n regenerateIcon: DefaultIcons.RegenerateIcon,\n pushToTalkIcon: DefaultIcons.PushToTalkIcon,\n },\n icons,\n },\n open,\n setOpen,\n };\n return <ChatContext.Provider value={context}>{children}</ChatContext.Provider>;\n};\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/components/chat/ChatContext.tsx"],"sourcesContent":["import React, { useMemo, useState } from \"react\";\nimport * as DefaultIcons from \"./Icons\";\n\n/**\n * Icons for CopilotChat component.\n */\nexport interface CopilotChatIcons {\n /**\n * The icon to use for the open chat button.\n * @default <OpenIcon />\n */\n openIcon?: React.ReactNode;\n\n /**\n * The icon to use for the close chat button.\n * @default <CloseIcon />\n */\n closeIcon?: React.ReactNode;\n\n /**\n * The icon to use for the close chat button in the header.\n * @default <HeaderCloseIcon />\n */\n headerCloseIcon?: React.ReactNode;\n\n /**\n * The icon to use for the send button.\n * @default <SendIcon />\n */\n sendIcon?: React.ReactNode;\n\n /**\n * The icon to use for the activity indicator.\n * @default <ActivityIcon />\n */\n activityIcon?: React.ReactNode;\n\n /**\n * The icon to use for the spinner.\n * @default <SpinnerIcon />\n */\n spinnerIcon?: React.ReactNode;\n\n /**\n * The icon to use for the stop button.\n * @default <StopIcon />\n */\n stopIcon?: React.ReactNode;\n\n /**\n * The icon to use for the regenerate button.\n * @default <RegenerateIcon />\n */\n regenerateIcon?: React.ReactNode;\n\n /**\n * The icons to use for push to talk.\n * @default <PushToTalkIcon />\n */\n\n pushToTalkIcon?: React.ReactNode;\n}\n\n/**\n * Labels for CopilotChat component.\n */\nexport interface CopilotChatLabels {\n /**\n * The initial message(s) to display in the chat window.\n */\n initial?: string | string[];\n\n /**\n * The title to display in the header.\n * @default \"CopilotKit\"\n */\n title?: string;\n\n /**\n * The placeholder to display in the input.\n * @default \"Type a message...\"\n */\n placeholder?: string;\n\n /**\n * The message to display when an error occurs.\n * @default \"❌ An error occurred. Please try again.\"\n */\n error?: string;\n\n /**\n * The label to display on the stop button.\n * @default \"Stop generating\"\n */\n stopGenerating?: string;\n\n /**\n * The label to display on the regenerate button.\n * @default \"Regenerate response\"\n */\n regenerateResponse?: string;\n}\n\ninterface ChatContext {\n labels: Required<CopilotChatLabels>;\n icons: Required<CopilotChatIcons>;\n open: boolean;\n setOpen: (open: boolean) => void;\n}\n\nexport const ChatContext = React.createContext<ChatContext | undefined>(undefined);\n\nexport function useChatContext(): ChatContext {\n const context = React.useContext(ChatContext);\n if (context === undefined) {\n throw new Error(\n \"Context not found. Did you forget to wrap your app in a <ChatContextProvider> component?\",\n );\n }\n return context;\n}\n\ninterface ChatContextProps {\n // temperature?: number;\n // instructions?: string;\n // maxFeedback?: number;\n labels?: CopilotChatLabels;\n icons?: CopilotChatIcons;\n children?: React.ReactNode;\n open: boolean;\n setOpen: (open: boolean) => void;\n}\n\nexport const ChatContextProvider = ({\n // temperature,\n // instructions,\n // maxFeedback,\n labels,\n icons,\n children,\n open,\n setOpen,\n}: ChatContextProps) => {\n const context = {\n labels: {\n ...{\n initial: \"\",\n title: \"CopilotKit\",\n placeholder: \"Type a message...\",\n error: \"❌ An error occurred. Please try again.\",\n stopGenerating: \"Stop generating\",\n regenerateResponse: \"Regenerate response\",\n },\n ...labels,\n },\n\n icons: {\n ...{\n openIcon: DefaultIcons.OpenIcon,\n closeIcon: DefaultIcons.CloseIcon,\n headerCloseIcon: DefaultIcons.HeaderCloseIcon,\n sendIcon: DefaultIcons.SendIcon,\n activityIcon: DefaultIcons.ActivityIcon,\n spinnerIcon: DefaultIcons.SpinnerIcon,\n stopIcon: DefaultIcons.StopIcon,\n regenerateIcon: DefaultIcons.RegenerateIcon,\n pushToTalkIcon: DefaultIcons.PushToTalkIcon,\n },\n ...icons,\n },\n open,\n setOpen,\n };\n return <ChatContext.Provider value={context}>{children}</ChatContext.Provider>;\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAAA,OAAO,WAAkC;AA6KhC;AA/DF,IAAM,cAAc,MAAM,cAAuC,MAAS;AAE1E,SAAS,iBAA8B;AAC5C,QAAM,UAAU,MAAM,WAAW,WAAW;AAC5C,MAAI,YAAY,QAAW;AACzB,UAAM,IAAI;AAAA,MACR;AAAA,IACF;AAAA,EACF;AACA,SAAO;AACT;AAaO,IAAM,sBAAsB,CAAC;AAAA;AAAA;AAAA;AAAA,EAIlC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAwB;AACtB,QAAM,UAAU;AAAA,IACd,QAAQ,kCACH;AAAA,MACD,SAAS;AAAA,MACT,OAAO;AAAA,MACP,aAAa;AAAA,MACb,OAAO;AAAA,MACP,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACtB,IACG;AAAA,IAGL,OAAO,kCACF;AAAA,MACD,UAAuB;AAAA,MACvB,WAAwB;AAAA,MACxB,iBAA8B;AAAA,MAC9B,UAAuB;AAAA,MACvB,cAA2B;AAAA,MAC3B,aAA0B;AAAA,MAC1B,UAAuB;AAAA,MACvB,gBAA6B;AAAA,MAC7B,gBAA6B;AAAA,IAC/B,IACG;AAAA,IAEL;AAAA,IACA;AAAA,EACF;AACA,SAAO,oBAAC,YAAY,UAAZ,EAAqB,OAAO,SAAU,UAAS;AACzD;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-EFZPSZWO.mjs.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ResponseButton
|
|
3
|
+
} from "./chunk-XSUSSWDS.mjs";
|
|
1
4
|
import {
|
|
2
5
|
Suggestion,
|
|
3
6
|
reloadSuggestions
|
|
4
7
|
} from "./chunk-4MKP23AD.mjs";
|
|
5
8
|
import {
|
|
6
9
|
Input
|
|
7
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LZHY5L7A.mjs";
|
|
8
11
|
import {
|
|
9
12
|
Messages
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
ResponseButton
|
|
13
|
-
} from "./chunk-CE7PJAAO.mjs";
|
|
13
|
+
} from "./chunk-23PTCJ2T.mjs";
|
|
14
14
|
import {
|
|
15
15
|
ChatContext,
|
|
16
16
|
ChatContextProvider
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BJPGMY3I.mjs";
|
|
18
18
|
import {
|
|
19
19
|
__async
|
|
20
20
|
} from "./chunk-MRXNTQOX.mjs";
|
|
@@ -154,4 +154,4 @@ export {
|
|
|
154
154
|
WrappedCopilotChat,
|
|
155
155
|
useCopilotChatLogic
|
|
156
156
|
};
|
|
157
|
-
//# sourceMappingURL=chunk-
|
|
157
|
+
//# sourceMappingURL=chunk-F4KCDLRJ.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopilotModal
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IEV5SYHX.mjs";
|
|
4
4
|
import {
|
|
5
5
|
__spreadProps,
|
|
6
6
|
__spreadValues
|
|
@@ -18,4 +18,4 @@ function CopilotPopup(props) {
|
|
|
18
18
|
export {
|
|
19
19
|
CopilotPopup
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=chunk-
|
|
21
|
+
//# sourceMappingURL=chunk-GKZ5DRPT.mjs.map
|
|
@@ -3,25 +3,25 @@ import {
|
|
|
3
3
|
} from "./chunk-B7DNOYVQ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Header
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SE6DAYSX.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Button
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UC3Y7MWX.mjs";
|
|
10
10
|
import {
|
|
11
11
|
CopilotChat
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-F4KCDLRJ.mjs";
|
|
13
|
+
import {
|
|
14
|
+
ResponseButton
|
|
15
|
+
} from "./chunk-XSUSSWDS.mjs";
|
|
13
16
|
import {
|
|
14
17
|
Input
|
|
15
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-LZHY5L7A.mjs";
|
|
16
19
|
import {
|
|
17
20
|
Messages
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import {
|
|
20
|
-
ResponseButton
|
|
21
|
-
} from "./chunk-CE7PJAAO.mjs";
|
|
21
|
+
} from "./chunk-23PTCJ2T.mjs";
|
|
22
22
|
import {
|
|
23
23
|
ChatContextProvider
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-BJPGMY3I.mjs";
|
|
25
25
|
|
|
26
26
|
// src/components/chat/Modal.tsx
|
|
27
27
|
import React from "react";
|
|
@@ -90,4 +90,4 @@ var CopilotModal = ({
|
|
|
90
90
|
export {
|
|
91
91
|
CopilotModal
|
|
92
92
|
};
|
|
93
|
-
//# sourceMappingURL=chunk-
|
|
93
|
+
//# sourceMappingURL=chunk-IEV5SYHX.mjs.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-YQFVRDNC.mjs";
|
|
4
4
|
import {
|
|
5
5
|
useChatContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BJPGMY3I.mjs";
|
|
7
7
|
import {
|
|
8
8
|
usePushToTalk
|
|
9
9
|
} from "./chunk-ANO23V2M.mjs";
|
|
@@ -80,4 +80,4 @@ var Input = ({ inProgress, onSend, isVisible = false }) => {
|
|
|
80
80
|
export {
|
|
81
81
|
Input
|
|
82
82
|
};
|
|
83
|
-
//# sourceMappingURL=chunk-
|
|
83
|
+
//# sourceMappingURL=chunk-LZHY5L7A.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopilotModal
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IEV5SYHX.mjs";
|
|
4
4
|
import {
|
|
5
5
|
__spreadProps,
|
|
6
6
|
__spreadValues
|
|
@@ -27,4 +27,4 @@ function CopilotSidebar(props) {
|
|
|
27
27
|
export {
|
|
28
28
|
CopilotSidebar
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
30
|
+
//# sourceMappingURL=chunk-MSSOYSBR.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useChatContext
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BJPGMY3I.mjs";
|
|
4
4
|
|
|
5
5
|
// src/components/chat/Header.tsx
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -15,4 +15,4 @@ var Header = ({ setOpen }) => {
|
|
|
15
15
|
export {
|
|
16
16
|
Header
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=chunk-
|
|
18
|
+
//# sourceMappingURL=chunk-SE6DAYSX.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useChatContext
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BJPGMY3I.mjs";
|
|
4
4
|
|
|
5
5
|
// src/components/chat/Button.tsx
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -22,4 +22,4 @@ var Button = ({ open, setOpen }) => {
|
|
|
22
22
|
export {
|
|
23
23
|
Button
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-UC3Y7MWX.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useChatContext
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BJPGMY3I.mjs";
|
|
4
4
|
|
|
5
5
|
// src/components/chat/Response.tsx
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -15,4 +15,4 @@ var ResponseButton = ({ onClick, inProgress }) => {
|
|
|
15
15
|
export {
|
|
16
16
|
ResponseButton
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=chunk-
|
|
18
|
+
//# sourceMappingURL=chunk-XSUSSWDS.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/chat/Button.tsx","../../../src/components/chat/ChatContext.tsx"],"sourcesContent":["import { ButtonProps } from \"./props\";\nimport { useChatContext } from \"./ChatContext\";\n\nexport const Button = ({ open, setOpen }: ButtonProps) => {\n const context = useChatContext();\n\n return (\n <div onClick={() => setOpen(!open)}>\n <button\n className={`copilotKitButton ${open ? \"open\" : \"\"}`}\n aria-label={open ? \"Close Chat\" : \"Open Chat\"}\n >\n <div className=\"copilotKitButtonIcon copilotKitButtonIconOpen\">\n {context.icons.openIcon}\n </div>\n <div className=\"copilotKitButtonIcon copilotKitButtonIconClose\">\n {context.icons.closeIcon}\n </div>\n </button>\n </div>\n );\n};\n","import React, { useMemo, useState } from \"react\";\nimport * as DefaultIcons from \"./Icons\";\n\n/**\n * Icons for CopilotChat component.\n */\nexport interface CopilotChatIcons {\n /**\n * The icon to use for the open chat button.\n * @default <OpenIcon />\n */\n openIcon?: React.ReactNode;\n\n /**\n * The icon to use for the close chat button.\n * @default <CloseIcon />\n */\n closeIcon?: React.ReactNode;\n\n /**\n * The icon to use for the close chat button in the header.\n * @default <HeaderCloseIcon />\n */\n headerCloseIcon?: React.ReactNode;\n\n /**\n * The icon to use for the send button.\n * @default <SendIcon />\n */\n sendIcon?: React.ReactNode;\n\n /**\n * The icon to use for the activity indicator.\n * @default <ActivityIcon />\n */\n activityIcon?: React.ReactNode;\n\n /**\n * The icon to use for the spinner.\n * @default <SpinnerIcon />\n */\n spinnerIcon?: React.ReactNode;\n\n /**\n * The icon to use for the stop button.\n * @default <StopIcon />\n */\n stopIcon?: React.ReactNode;\n\n /**\n * The icon to use for the regenerate button.\n * @default <RegenerateIcon />\n */\n regenerateIcon?: React.ReactNode;\n\n /**\n * The icons to use for push to talk.\n * @default <PushToTalkIcon />\n */\n\n pushToTalkIcon?: React.ReactNode;\n}\n\n/**\n * Labels for CopilotChat component.\n */\nexport interface CopilotChatLabels {\n /**\n * The initial message(s) to display in the chat window.\n */\n initial?: string | string[];\n\n /**\n * The title to display in the header.\n * @default \"CopilotKit\"\n */\n title?: string;\n\n /**\n * The placeholder to display in the input.\n * @default \"Type a message...\"\n */\n placeholder?: string;\n\n /**\n * The message to display when an error occurs.\n * @default \"❌ An error occurred. Please try again.\"\n */\n error?: string;\n\n /**\n * The label to display on the stop button.\n * @default \"Stop generating\"\n */\n stopGenerating?: string;\n\n /**\n * The label to display on the regenerate button.\n * @default \"Regenerate response\"\n */\n regenerateResponse?: string;\n}\n\ninterface ChatContext {\n labels: Required<CopilotChatLabels>;\n icons: Required<CopilotChatIcons>;\n open: boolean;\n setOpen: (open: boolean) => void;\n}\n\nexport const ChatContext = React.createContext<ChatContext | undefined>(undefined);\n\nexport function useChatContext(): ChatContext {\n const context = React.useContext(ChatContext);\n if (context === undefined) {\n throw new Error(\n \"Context not found. Did you forget to wrap your app in a <ChatContextProvider> component?\",\n );\n }\n return context;\n}\n\ninterface ChatContextProps {\n // temperature?: number;\n // instructions?: string;\n // maxFeedback?: number;\n labels?: CopilotChatLabels;\n icons?: CopilotChatIcons;\n children?: React.ReactNode;\n open: boolean;\n setOpen: (open: boolean) => void;\n}\n\nexport const ChatContextProvider = ({\n // temperature,\n // instructions,\n // maxFeedback,\n labels,\n icons,\n children,\n open,\n setOpen,\n}: ChatContextProps) => {\n const context = {\n labels: {\n ...{\n initial: \"\",\n title: \"CopilotKit\",\n placeholder: \"Type a message...\",\n error: \"❌ An error occurred. Please try again.\",\n stopGenerating: \"Stop generating\",\n regenerateResponse: \"Regenerate response\",\n },\n ...labels,\n },\n\n icons: {\n ...{\n openIcon: DefaultIcons.OpenIcon,\n closeIcon: DefaultIcons.CloseIcon,\n headerCloseIcon: DefaultIcons.HeaderCloseIcon,\n sendIcon: DefaultIcons.SendIcon,\n activityIcon: DefaultIcons.ActivityIcon,\n spinnerIcon: DefaultIcons.SpinnerIcon,\n stopIcon: DefaultIcons.StopIcon,\n regenerateIcon: DefaultIcons.RegenerateIcon,\n pushToTalkIcon: DefaultIcons.PushToTalkIcon,\n },\n icons,\n },\n open,\n setOpen,\n };\n return <ChatContext.Provider value={context}>{children}</ChatContext.Provider>;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,mBAAyC;AA6KhC;AA/DF,IAAM,cAAc,aAAAA,QAAM,cAAuC,MAAS;AAE1E,SAAS,iBAA8B;AAC5C,QAAM,UAAU,aAAAA,QAAM,WAAW,WAAW;AAC5C,MAAI,YAAY,QAAW;AACzB,UAAM,IAAI;AAAA,MACR;AAAA,IACF;AAAA,EACF;AACA,SAAO;AACT;;;ADhHM,IAAAC,sBAAA;AALC,IAAM,SAAS,CAAC,EAAE,MAAM,QAAQ,MAAmB;AACxD,QAAM,UAAU,eAAe;AAE/B,SACE,6CAAC,SAAI,SAAS,MAAM,QAAQ,CAAC,IAAI,GAC/B;AAAA,IAAC;AAAA;AAAA,MACC,WAAW,oBAAoB,OAAO,SAAS;AAAA,MAC/C,cAAY,OAAO,eAAe;AAAA,MAElC;AAAA,qDAAC,SAAI,WAAU,iDACZ,kBAAQ,MAAM,UACjB;AAAA,QACA,6CAAC,SAAI,WAAU,kDACZ,kBAAQ,MAAM,WACjB;AAAA;AAAA;AAAA,EACF,GACF;AAEJ;","names":["React","import_jsx_runtime"]}
|
|
1
|
+
{"version":3,"sources":["../../../src/components/chat/Button.tsx","../../../src/components/chat/ChatContext.tsx"],"sourcesContent":["import { ButtonProps } from \"./props\";\nimport { useChatContext } from \"./ChatContext\";\n\nexport const Button = ({ open, setOpen }: ButtonProps) => {\n const context = useChatContext();\n\n return (\n <div onClick={() => setOpen(!open)}>\n <button\n className={`copilotKitButton ${open ? \"open\" : \"\"}`}\n aria-label={open ? \"Close Chat\" : \"Open Chat\"}\n >\n <div className=\"copilotKitButtonIcon copilotKitButtonIconOpen\">\n {context.icons.openIcon}\n </div>\n <div className=\"copilotKitButtonIcon copilotKitButtonIconClose\">\n {context.icons.closeIcon}\n </div>\n </button>\n </div>\n );\n};\n","import React, { useMemo, useState } from \"react\";\nimport * as DefaultIcons from \"./Icons\";\n\n/**\n * Icons for CopilotChat component.\n */\nexport interface CopilotChatIcons {\n /**\n * The icon to use for the open chat button.\n * @default <OpenIcon />\n */\n openIcon?: React.ReactNode;\n\n /**\n * The icon to use for the close chat button.\n * @default <CloseIcon />\n */\n closeIcon?: React.ReactNode;\n\n /**\n * The icon to use for the close chat button in the header.\n * @default <HeaderCloseIcon />\n */\n headerCloseIcon?: React.ReactNode;\n\n /**\n * The icon to use for the send button.\n * @default <SendIcon />\n */\n sendIcon?: React.ReactNode;\n\n /**\n * The icon to use for the activity indicator.\n * @default <ActivityIcon />\n */\n activityIcon?: React.ReactNode;\n\n /**\n * The icon to use for the spinner.\n * @default <SpinnerIcon />\n */\n spinnerIcon?: React.ReactNode;\n\n /**\n * The icon to use for the stop button.\n * @default <StopIcon />\n */\n stopIcon?: React.ReactNode;\n\n /**\n * The icon to use for the regenerate button.\n * @default <RegenerateIcon />\n */\n regenerateIcon?: React.ReactNode;\n\n /**\n * The icons to use for push to talk.\n * @default <PushToTalkIcon />\n */\n\n pushToTalkIcon?: React.ReactNode;\n}\n\n/**\n * Labels for CopilotChat component.\n */\nexport interface CopilotChatLabels {\n /**\n * The initial message(s) to display in the chat window.\n */\n initial?: string | string[];\n\n /**\n * The title to display in the header.\n * @default \"CopilotKit\"\n */\n title?: string;\n\n /**\n * The placeholder to display in the input.\n * @default \"Type a message...\"\n */\n placeholder?: string;\n\n /**\n * The message to display when an error occurs.\n * @default \"❌ An error occurred. Please try again.\"\n */\n error?: string;\n\n /**\n * The label to display on the stop button.\n * @default \"Stop generating\"\n */\n stopGenerating?: string;\n\n /**\n * The label to display on the regenerate button.\n * @default \"Regenerate response\"\n */\n regenerateResponse?: string;\n}\n\ninterface ChatContext {\n labels: Required<CopilotChatLabels>;\n icons: Required<CopilotChatIcons>;\n open: boolean;\n setOpen: (open: boolean) => void;\n}\n\nexport const ChatContext = React.createContext<ChatContext | undefined>(undefined);\n\nexport function useChatContext(): ChatContext {\n const context = React.useContext(ChatContext);\n if (context === undefined) {\n throw new Error(\n \"Context not found. Did you forget to wrap your app in a <ChatContextProvider> component?\",\n );\n }\n return context;\n}\n\ninterface ChatContextProps {\n // temperature?: number;\n // instructions?: string;\n // maxFeedback?: number;\n labels?: CopilotChatLabels;\n icons?: CopilotChatIcons;\n children?: React.ReactNode;\n open: boolean;\n setOpen: (open: boolean) => void;\n}\n\nexport const ChatContextProvider = ({\n // temperature,\n // instructions,\n // maxFeedback,\n labels,\n icons,\n children,\n open,\n setOpen,\n}: ChatContextProps) => {\n const context = {\n labels: {\n ...{\n initial: \"\",\n title: \"CopilotKit\",\n placeholder: \"Type a message...\",\n error: \"❌ An error occurred. Please try again.\",\n stopGenerating: \"Stop generating\",\n regenerateResponse: \"Regenerate response\",\n },\n ...labels,\n },\n\n icons: {\n ...{\n openIcon: DefaultIcons.OpenIcon,\n closeIcon: DefaultIcons.CloseIcon,\n headerCloseIcon: DefaultIcons.HeaderCloseIcon,\n sendIcon: DefaultIcons.SendIcon,\n activityIcon: DefaultIcons.ActivityIcon,\n spinnerIcon: DefaultIcons.SpinnerIcon,\n stopIcon: DefaultIcons.StopIcon,\n regenerateIcon: DefaultIcons.RegenerateIcon,\n pushToTalkIcon: DefaultIcons.PushToTalkIcon,\n },\n ...icons,\n },\n open,\n setOpen,\n };\n return <ChatContext.Provider value={context}>{children}</ChatContext.Provider>;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,mBAAyC;AA6KhC;AA/DF,IAAM,cAAc,aAAAA,QAAM,cAAuC,MAAS;AAE1E,SAAS,iBAA8B;AAC5C,QAAM,UAAU,aAAAA,QAAM,WAAW,WAAW;AAC5C,MAAI,YAAY,QAAW;AACzB,UAAM,IAAI;AAAA,MACR;AAAA,IACF;AAAA,EACF;AACA,SAAO;AACT;;;ADhHM,IAAAC,sBAAA;AALC,IAAM,SAAS,CAAC,EAAE,MAAM,QAAQ,MAAmB;AACxD,QAAM,UAAU,eAAe;AAE/B,SACE,6CAAC,SAAI,SAAS,MAAM,QAAQ,CAAC,IAAI,GAC/B;AAAA,IAAC;AAAA;AAAA,MACC,WAAW,oBAAoB,OAAO,SAAS;AAAA,MAC/C,cAAY,OAAO,eAAe;AAAA,MAElC;AAAA,qDAAC,SAAI,WAAU,iDACZ,kBAAQ,MAAM,UACjB;AAAA,QACA,6CAAC,SAAI,WAAU,kDACZ,kBAAQ,MAAM,WACjB;AAAA;AAAA;AAAA,EACF,GACF;AAEJ;","names":["React","import_jsx_runtime"]}
|
|
@@ -359,7 +359,7 @@ var ChatContextProvider = ({
|
|
|
359
359
|
stopGenerating: "Stop generating",
|
|
360
360
|
regenerateResponse: "Regenerate response"
|
|
361
361
|
}), labels),
|
|
362
|
-
icons:
|
|
362
|
+
icons: __spreadValues(__spreadValues({}, {
|
|
363
363
|
openIcon: OpenIcon,
|
|
364
364
|
closeIcon: CloseIcon,
|
|
365
365
|
headerCloseIcon: HeaderCloseIcon,
|
|
@@ -369,9 +369,7 @@ var ChatContextProvider = ({
|
|
|
369
369
|
stopIcon: StopIcon,
|
|
370
370
|
regenerateIcon: RegenerateIcon,
|
|
371
371
|
pushToTalkIcon: PushToTalkIcon
|
|
372
|
-
}),
|
|
373
|
-
icons
|
|
374
|
-
}),
|
|
372
|
+
}), icons),
|
|
375
373
|
open,
|
|
376
374
|
setOpen
|
|
377
375
|
};
|