@copilotkit/react-ui 0.0.0-fix-use-warning-for-version-mismatch-20250212175807 → 0.0.0-main-20250416144141

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.
Files changed (219) hide show
  1. package/CHANGELOG.md +564 -5
  2. package/dist/chunk-2OTVZXDX.mjs +32 -0
  3. package/dist/chunk-2OTVZXDX.mjs.map +1 -0
  4. package/dist/chunk-5M7ODWKH.mjs +112 -0
  5. package/dist/chunk-5M7ODWKH.mjs.map +1 -0
  6. package/dist/chunk-62QMTKMJ.mjs +66 -0
  7. package/dist/chunk-62QMTKMJ.mjs.map +1 -0
  8. package/dist/{chunk-22K5DDPF.mjs → chunk-D5XIJNXQ.mjs} +26 -55
  9. package/dist/chunk-D5XIJNXQ.mjs.map +1 -0
  10. package/dist/{chunk-BS76QNZU.mjs → chunk-GOAED4H6.mjs} +18 -17
  11. package/dist/chunk-GOAED4H6.mjs.map +1 -0
  12. package/dist/{chunk-YAGE7RCE.mjs → chunk-HIORSNVD.mjs} +36 -8
  13. package/dist/chunk-HIORSNVD.mjs.map +1 -0
  14. package/dist/chunk-JGMFJZMG.mjs +11 -0
  15. package/dist/chunk-JGMFJZMG.mjs.map +1 -0
  16. package/dist/{chunk-XB6QCUPB.mjs → chunk-NMNC4ROZ.mjs} +20 -8
  17. package/dist/chunk-NMNC4ROZ.mjs.map +1 -0
  18. package/dist/chunk-NRA3CFEE.mjs +97 -0
  19. package/dist/chunk-NRA3CFEE.mjs.map +1 -0
  20. package/dist/chunk-ORSMX3SE.mjs +244 -0
  21. package/dist/chunk-ORSMX3SE.mjs.map +1 -0
  22. package/dist/{chunk-UPTB2MVO.mjs → chunk-PCTCOQK2.mjs} +4 -10
  23. package/dist/chunk-PCTCOQK2.mjs.map +1 -0
  24. package/dist/{chunk-UWWMAJ7R.mjs → chunk-Q2YY2NX3.mjs} +20 -8
  25. package/dist/chunk-Q2YY2NX3.mjs.map +1 -0
  26. package/dist/{chunk-OTPAZXVR.mjs → chunk-Q5V6S67N.mjs} +17 -6
  27. package/dist/chunk-Q5V6S67N.mjs.map +1 -0
  28. package/dist/{chunk-EMQEEXUB.mjs → chunk-QJKMOGWN.mjs} +22 -13
  29. package/dist/chunk-QJKMOGWN.mjs.map +1 -0
  30. package/dist/{chunk-IBPPZVL7.mjs → chunk-SMJ3QQCE.mjs} +2 -2
  31. package/dist/{chunk-WGAZXTUA.mjs → chunk-TOQ7P4DO.mjs} +6 -9
  32. package/dist/chunk-TOQ7P4DO.mjs.map +1 -0
  33. package/dist/{chunk-CBBFRI3Q.mjs → chunk-UN2E3HCK.mjs} +16 -6
  34. package/dist/chunk-UN2E3HCK.mjs.map +1 -0
  35. package/dist/chunk-WNC6OCIB.mjs +36 -0
  36. package/dist/chunk-WNC6OCIB.mjs.map +1 -0
  37. package/dist/{chunk-EQD5OMET.mjs → chunk-X6EFGEBJ.mjs} +2 -2
  38. package/dist/{chunk-YQ3D5IQV.mjs → chunk-XNQO5AZZ.mjs} +2 -5
  39. package/dist/chunk-XNQO5AZZ.mjs.map +1 -0
  40. package/dist/{chunk-RQNJNK2W.mjs → chunk-YOEL33HG.mjs} +2 -2
  41. package/dist/{chunk-LTVGARDO.mjs → chunk-ZLRUNNS7.mjs} +69 -52
  42. package/dist/chunk-ZLRUNNS7.mjs.map +1 -0
  43. package/dist/{chunk-6FTRYYR5.mjs → chunk-ZY25LVYR.mjs} +72 -62
  44. package/dist/chunk-ZY25LVYR.mjs.map +1 -0
  45. package/dist/components/chat/Button.js.map +1 -1
  46. package/dist/components/chat/Button.mjs +3 -3
  47. package/dist/components/chat/Chat.d.ts +25 -13
  48. package/dist/components/chat/Chat.js +737 -1233
  49. package/dist/components/chat/Chat.js.map +1 -1
  50. package/dist/components/chat/Chat.mjs +13 -21
  51. package/dist/components/chat/ChatContext.d.ts +35 -0
  52. package/dist/components/chat/ChatContext.js +97 -61
  53. package/dist/components/chat/ChatContext.js.map +1 -1
  54. package/dist/components/chat/ChatContext.mjs +2 -2
  55. package/dist/components/chat/CodeBlock.js +58 -82
  56. package/dist/components/chat/CodeBlock.js.map +1 -1
  57. package/dist/components/chat/CodeBlock.mjs +2 -2
  58. package/dist/components/chat/Header.js +535 -4
  59. package/dist/components/chat/Header.js.map +1 -1
  60. package/dist/components/chat/Header.mjs +10 -3
  61. package/dist/components/chat/Icons.d.ts +10 -9
  62. package/dist/components/chat/Icons.js +125 -164
  63. package/dist/components/chat/Icons.js.map +1 -1
  64. package/dist/components/chat/Icons.mjs +9 -5
  65. package/dist/components/chat/Input.d.ts +1 -1
  66. package/dist/components/chat/Input.js +20 -11
  67. package/dist/components/chat/Input.js.map +1 -1
  68. package/dist/components/chat/Input.mjs +3 -3
  69. package/dist/components/chat/Markdown.js +58 -56
  70. package/dist/components/chat/Markdown.js.map +1 -1
  71. package/dist/components/chat/Markdown.mjs +3 -3
  72. package/dist/components/chat/Messages.d.ts +1 -1
  73. package/dist/components/chat/Messages.js +70 -60
  74. package/dist/components/chat/Messages.js.map +1 -1
  75. package/dist/components/chat/Messages.mjs +3 -3
  76. package/dist/components/chat/Modal.d.ts +1 -1
  77. package/dist/components/chat/Modal.js +1856 -1809
  78. package/dist/components/chat/Modal.js.map +1 -1
  79. package/dist/components/chat/Modal.mjs +22 -22
  80. package/dist/components/chat/Popup.js +1853 -1806
  81. package/dist/components/chat/Popup.js.map +1 -1
  82. package/dist/components/chat/Popup.mjs +23 -23
  83. package/dist/components/chat/Sidebar.js +1855 -1808
  84. package/dist/components/chat/Sidebar.js.map +1 -1
  85. package/dist/components/chat/Sidebar.mjs +23 -23
  86. package/dist/components/chat/Suggestion.js +4 -40
  87. package/dist/components/chat/Suggestion.js.map +1 -1
  88. package/dist/components/chat/Suggestion.mjs +2 -2
  89. package/dist/components/chat/Window.js +39 -5
  90. package/dist/components/chat/Window.js.map +1 -1
  91. package/dist/components/chat/Window.mjs +4 -3
  92. package/dist/components/chat/index.d.ts +1 -1
  93. package/dist/components/chat/index.js +1856 -1809
  94. package/dist/components/chat/index.js.map +1 -1
  95. package/dist/components/chat/index.mjs +27 -27
  96. package/dist/components/chat/messages/AssistantMessage.js +148 -59
  97. package/dist/components/chat/messages/AssistantMessage.js.map +1 -1
  98. package/dist/components/chat/messages/AssistantMessage.mjs +5 -5
  99. package/dist/components/chat/messages/RenderActionExecutionMessage.d.ts +1 -1
  100. package/dist/components/chat/messages/RenderActionExecutionMessage.js +696 -15
  101. package/dist/components/chat/messages/RenderActionExecutionMessage.js.map +1 -1
  102. package/dist/components/chat/messages/RenderActionExecutionMessage.mjs +7 -1
  103. package/dist/components/chat/messages/RenderAgentStateMessage.d.ts +1 -1
  104. package/dist/components/chat/messages/RenderAgentStateMessage.js +693 -12
  105. package/dist/components/chat/messages/RenderAgentStateMessage.js.map +1 -1
  106. package/dist/components/chat/messages/RenderAgentStateMessage.mjs +7 -1
  107. package/dist/components/chat/messages/RenderResultMessage.d.ts +1 -1
  108. package/dist/components/chat/messages/RenderResultMessage.js +687 -4
  109. package/dist/components/chat/messages/RenderResultMessage.js.map +1 -1
  110. package/dist/components/chat/messages/RenderResultMessage.mjs +7 -1
  111. package/dist/components/chat/messages/RenderTextMessage.d.ts +1 -1
  112. package/dist/components/chat/messages/RenderTextMessage.js +710 -7
  113. package/dist/components/chat/messages/RenderTextMessage.js.map +1 -1
  114. package/dist/components/chat/messages/RenderTextMessage.mjs +8 -1
  115. package/dist/components/chat/props.d.ts +56 -7
  116. package/dist/components/chat/props.js.map +1 -1
  117. package/dist/components/dev-console/console.js +69 -240
  118. package/dist/components/dev-console/console.js.map +1 -1
  119. package/dist/components/dev-console/console.mjs +4 -4
  120. package/dist/components/dev-console/icons.js +16 -5
  121. package/dist/components/dev-console/icons.js.map +1 -1
  122. package/dist/components/dev-console/icons.mjs +1 -1
  123. package/dist/components/dev-console/index.js +69 -240
  124. package/dist/components/dev-console/index.js.map +1 -1
  125. package/dist/components/dev-console/index.mjs +4 -4
  126. package/dist/components/help-modal/index.js +30 -148
  127. package/dist/components/help-modal/index.js.map +1 -1
  128. package/dist/components/help-modal/index.mjs +1 -1
  129. package/dist/components/help-modal/modal.js +30 -148
  130. package/dist/components/help-modal/modal.js.map +1 -1
  131. package/dist/components/help-modal/modal.mjs +1 -1
  132. package/dist/components/index.d.ts +1 -1
  133. package/dist/components/index.js +1856 -1809
  134. package/dist/components/index.js.map +1 -1
  135. package/dist/components/index.mjs +30 -30
  136. package/dist/hooks/use-dark-mode.d.ts +3 -0
  137. package/dist/hooks/use-dark-mode.js +35 -0
  138. package/dist/hooks/use-dark-mode.js.map +1 -0
  139. package/dist/hooks/use-dark-mode.mjs +8 -0
  140. package/dist/index.css +553 -127
  141. package/dist/index.css.map +1 -1
  142. package/dist/index.d.ts +1 -1
  143. package/dist/index.js +1850 -1803
  144. package/dist/index.js.map +1 -1
  145. package/dist/index.mjs +31 -31
  146. package/dist/types/css.d.ts +8 -5
  147. package/dist/types/css.js.map +1 -1
  148. package/package.json +4 -4
  149. package/src/components/chat/Chat.tsx +92 -45
  150. package/src/components/chat/ChatContext.tsx +54 -1
  151. package/src/components/chat/CodeBlock.tsx +2 -4
  152. package/src/components/chat/Header.tsx +12 -3
  153. package/src/components/chat/Icons.tsx +108 -108
  154. package/src/components/chat/Input.tsx +60 -40
  155. package/src/components/chat/Markdown.tsx +0 -3
  156. package/src/components/chat/Messages.tsx +68 -56
  157. package/src/components/chat/Modal.tsx +8 -6
  158. package/src/components/chat/Suggestion.tsx +2 -3
  159. package/src/components/chat/Window.tsx +26 -1
  160. package/src/components/chat/messages/AssistantMessage.tsx +94 -3
  161. package/src/components/chat/messages/RenderActionExecutionMessage.tsx +6 -2
  162. package/src/components/chat/messages/RenderAgentStateMessage.tsx +6 -2
  163. package/src/components/chat/messages/RenderResultMessage.tsx +11 -2
  164. package/src/components/chat/messages/RenderTextMessage.tsx +22 -2
  165. package/src/components/chat/props.ts +68 -7
  166. package/src/components/dev-console/console.tsx +18 -56
  167. package/src/components/dev-console/icons.tsx +9 -2
  168. package/src/components/help-modal/modal.tsx +39 -102
  169. package/src/css/button.css +15 -4
  170. package/src/css/colors.css +66 -10
  171. package/src/css/console.css +74 -42
  172. package/src/css/crew.css +277 -0
  173. package/src/css/header.css +28 -6
  174. package/src/css/input.css +35 -19
  175. package/src/css/markdown.css +2 -1
  176. package/src/css/messages.css +128 -16
  177. package/src/css/panel.css +1 -0
  178. package/src/css/suggestions.css +14 -6
  179. package/src/css/window.css +28 -0
  180. package/src/hooks/use-dark-mode.ts +10 -0
  181. package/src/styles.css +1 -1
  182. package/src/types/css.ts +8 -5
  183. package/dist/chunk-22K5DDPF.mjs.map +0 -1
  184. package/dist/chunk-3VNMQWGT.mjs +0 -25
  185. package/dist/chunk-3VNMQWGT.mjs.map +0 -1
  186. package/dist/chunk-3XAXY2Z3.mjs +0 -18
  187. package/dist/chunk-3XAXY2Z3.mjs.map +0 -1
  188. package/dist/chunk-6FTRYYR5.mjs.map +0 -1
  189. package/dist/chunk-BS76QNZU.mjs.map +0 -1
  190. package/dist/chunk-CBBFRI3Q.mjs.map +0 -1
  191. package/dist/chunk-EMQEEXUB.mjs.map +0 -1
  192. package/dist/chunk-F7VWGY77.mjs +0 -22
  193. package/dist/chunk-F7VWGY77.mjs.map +0 -1
  194. package/dist/chunk-FZC7X5PK.mjs +0 -262
  195. package/dist/chunk-FZC7X5PK.mjs.map +0 -1
  196. package/dist/chunk-LTVGARDO.mjs.map +0 -1
  197. package/dist/chunk-OFYI4UU4.mjs +0 -35
  198. package/dist/chunk-OFYI4UU4.mjs.map +0 -1
  199. package/dist/chunk-OTPAZXVR.mjs.map +0 -1
  200. package/dist/chunk-TI7SY2RI.mjs +0 -164
  201. package/dist/chunk-TI7SY2RI.mjs.map +0 -1
  202. package/dist/chunk-UPTB2MVO.mjs.map +0 -1
  203. package/dist/chunk-UWWMAJ7R.mjs.map +0 -1
  204. package/dist/chunk-VEC45H6Q.mjs +0 -18
  205. package/dist/chunk-VEC45H6Q.mjs.map +0 -1
  206. package/dist/chunk-WGAZXTUA.mjs.map +0 -1
  207. package/dist/chunk-XB6QCUPB.mjs.map +0 -1
  208. package/dist/chunk-YAGE7RCE.mjs.map +0 -1
  209. package/dist/chunk-YQ3D5IQV.mjs.map +0 -1
  210. package/dist/components/chat/Response.d.ts +0 -7
  211. package/dist/components/chat/Response.js +0 -64
  212. package/dist/components/chat/Response.js.map +0 -1
  213. package/dist/components/chat/Response.mjs +0 -10
  214. package/src/components/chat/Response.tsx +0 -12
  215. package/src/css/response.css +0 -26
  216. /package/dist/{chunk-IBPPZVL7.mjs.map → chunk-SMJ3QQCE.mjs.map} +0 -0
  217. /package/dist/{chunk-EQD5OMET.mjs.map → chunk-X6EFGEBJ.mjs.map} +0 -0
  218. /package/dist/{chunk-RQNJNK2W.mjs.map → chunk-YOEL33HG.mjs.map} +0 -0
  219. /package/dist/{components/chat/Response.mjs.map → hooks/use-dark-mode.mjs.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,14 +1,573 @@
1
1
  # ui
2
2
 
3
- ## 0.0.0-fix-use-warning-for-version-mismatch-20250212175807
3
+ ## 0.0.0-main-20250416144141
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [7a04bd1]
8
+ - @copilotkit/react-core@0.0.0-main-20250416144141
9
+ - @copilotkit/runtime-client-gql@0.0.0-main-20250416144141
10
+ - @copilotkit/shared@0.0.0-main-20250416144141
11
+
12
+ ## 1.8.6-next.0
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [7a04bd1]
17
+ - @copilotkit/react-core@1.8.6-next.0
18
+ - @copilotkit/runtime-client-gql@1.8.6-next.0
19
+ - @copilotkit/shared@1.8.6-next.0
20
+
21
+ ## 1.8.5
22
+
23
+ ### Patch Changes
24
+
25
+ - 4b5452d: - feat: add powered-by-copilotkit watermark
26
+ - d0e8a1e: - fix: fix duplicate messages on regenerate
27
+ - ed5ace7: - fix: for every component that has default, make prop optional
28
+ - Updated dependencies [c0d3261]
29
+ - Updated dependencies [77a7457]
30
+ - Updated dependencies [d0e8a1e]
31
+ - @copilotkit/react-core@1.8.5
32
+ - @copilotkit/runtime-client-gql@1.8.5
33
+ - @copilotkit/shared@1.8.5
34
+
35
+ ## 1.8.5-next.5
36
+
37
+ ### Patch Changes
38
+
39
+ - Updated dependencies [c0d3261]
40
+ - @copilotkit/react-core@1.8.5-next.5
41
+ - @copilotkit/runtime-client-gql@1.8.5-next.5
42
+ - @copilotkit/shared@1.8.5-next.5
43
+
44
+ ## 1.8.5-next.4
45
+
46
+ ### Patch Changes
47
+
48
+ - @copilotkit/runtime-client-gql@1.8.5-next.4
49
+ - @copilotkit/react-core@1.8.5-next.4
50
+ - @copilotkit/shared@1.8.5-next.4
51
+
52
+ ## 1.8.5-next.3
53
+
54
+ ### Patch Changes
55
+
56
+ - Updated dependencies [77a7457]
57
+ - @copilotkit/react-core@1.8.5-next.3
58
+ - @copilotkit/runtime-client-gql@1.8.5-next.3
59
+ - @copilotkit/shared@1.8.5-next.3
60
+
61
+ ## 1.8.5-next.2
62
+
63
+ ### Patch Changes
64
+
65
+ - 4b5452d: - feat: add powered-by-copilotkit watermark
66
+ - @copilotkit/react-core@1.8.5-next.2
67
+ - @copilotkit/runtime-client-gql@1.8.5-next.2
68
+ - @copilotkit/shared@1.8.5-next.2
69
+
70
+ ## 1.8.5-next.1
71
+
72
+ ### Patch Changes
73
+
74
+ - d0e8a1e: - fix: fix duplicate messages on regenerate
75
+ - Updated dependencies [d0e8a1e]
76
+ - @copilotkit/react-core@1.8.5-next.1
77
+ - @copilotkit/runtime-client-gql@1.8.5-next.1
78
+ - @copilotkit/shared@1.8.5-next.1
79
+
80
+ ## 1.8.5-next.0
81
+
82
+ ### Patch Changes
83
+
84
+ - ed5ace7: - fix: for every component that has default, make prop optional
85
+ - @copilotkit/react-core@1.8.5-next.0
86
+ - @copilotkit/runtime-client-gql@1.8.5-next.0
87
+ - @copilotkit/shared@1.8.5-next.0
88
+
89
+ ## 1.8.4
90
+
91
+ ### Patch Changes
92
+
93
+ - 0846462: - fix: remove styles corresponding to OS dark theme
94
+ - fc11455: - fix: focus on text area when clicking in input box
95
+ - Updated dependencies [f363760]
96
+ - Updated dependencies [4e28414]
97
+ - @copilotkit/shared@1.8.4
98
+ - @copilotkit/react-core@1.8.4
99
+ - @copilotkit/runtime-client-gql@1.8.4
100
+
101
+ ## 1.8.4-next.4
102
+
103
+ ### Patch Changes
104
+
105
+ - Updated dependencies [4e28414]
106
+ - @copilotkit/react-core@1.8.4-next.4
107
+ - @copilotkit/runtime-client-gql@1.8.4-next.4
108
+ - @copilotkit/shared@1.8.4-next.4
109
+
110
+ ## 1.8.4-next.3
111
+
112
+ ### Patch Changes
113
+
114
+ - @copilotkit/runtime-client-gql@1.8.4-next.3
115
+ - @copilotkit/react-core@1.8.4-next.3
116
+ - @copilotkit/shared@1.8.4-next.3
117
+
118
+ ## 1.8.4-next.2
119
+
120
+ ### Patch Changes
121
+
122
+ - fc11455: - fix: focus on text area when clicking in input box
123
+ - @copilotkit/react-core@1.8.4-next.2
124
+ - @copilotkit/runtime-client-gql@1.8.4-next.2
125
+ - @copilotkit/shared@1.8.4-next.2
126
+
127
+ ## 1.8.4-next.1
128
+
129
+ ### Patch Changes
130
+
131
+ - Updated dependencies [f363760]
132
+ - @copilotkit/shared@1.8.4-next.1
133
+ - @copilotkit/runtime-client-gql@1.8.4-next.1
134
+ - @copilotkit/react-core@1.8.4-next.1
135
+
136
+ ## 1.8.4-next.0
137
+
138
+ ### Patch Changes
139
+
140
+ - 0846462: - fix: remove styles corresponding to OS dark theme
141
+ - @copilotkit/react-core@1.8.4-next.0
142
+ - @copilotkit/runtime-client-gql@1.8.4-next.0
143
+ - @copilotkit/shared@1.8.4-next.0
144
+
145
+ ## 1.8.3
146
+
147
+ ### Patch Changes
148
+
149
+ - 76520b8: - style: remove system-preference oriented dark mode
150
+ - 0f6baa1: - fix: fix default styles of chat components
151
+ - @copilotkit/react-core@1.8.3
152
+ - @copilotkit/runtime-client-gql@1.8.3
153
+ - @copilotkit/shared@1.8.3
154
+
155
+ ## 1.8.3-next.0
156
+
157
+ ### Patch Changes
158
+
159
+ - 76520b8: - style: remove system-preference oriented dark mode
160
+ - @copilotkit/react-core@1.8.3-next.0
161
+ - @copilotkit/runtime-client-gql@1.8.3-next.0
162
+ - @copilotkit/shared@1.8.3-next.0
163
+
164
+ ## 1.8.2-next.3
165
+
166
+ ### Patch Changes
167
+
168
+ - 0f6baa1: - fix: fix default styles of chat components
169
+ - @copilotkit/react-core@1.8.2-next.3
170
+ - @copilotkit/runtime-client-gql@1.8.2-next.3
171
+ - @copilotkit/shared@1.8.2-next.3
172
+
173
+ ## 1.8.2-next.2
174
+
175
+ ### Patch Changes
176
+
177
+ - @copilotkit/runtime-client-gql@1.8.2-next.2
178
+ - @copilotkit/react-core@1.8.2-next.2
179
+ - @copilotkit/shared@1.8.2-next.2
180
+
181
+ ## 1.8.2-next.1
182
+
183
+ ### Patch Changes
184
+
185
+ - @copilotkit/runtime-client-gql@1.8.2-next.1
186
+ - @copilotkit/react-core@1.8.2-next.1
187
+ - @copilotkit/shared@1.8.2-next.1
188
+
189
+ ## 1.8.2-next.0
190
+
191
+ ### Patch Changes
192
+
193
+ - d574350: - fix: adjust order of colors so app themes prevails OS theme
194
+ - d574350: - fix: adjust order of colors so app themes prevails OS theme
195
+ - @copilotkit/react-core@1.8.2-next.0
196
+ - @copilotkit/runtime-client-gql@1.8.2-next.0
197
+ - @copilotkit/shared@1.8.2-next.0
198
+
199
+ ## 1.8.1
200
+
201
+ ### Patch Changes
202
+
203
+ - 0cba747: - fix: set text area within the input box to transparent background
204
+ - Updated dependencies [7a42944]
205
+ - @copilotkit/react-core@1.8.1
206
+ - @copilotkit/runtime-client-gql@1.8.1
207
+ - @copilotkit/shared@1.8.1
208
+
209
+ ## 1.8.1-next.1
210
+
211
+ ### Patch Changes
212
+
213
+ - 0cba747: - fix: set text area within the input box to transparent background
214
+ - @copilotkit/react-core@1.8.1-next.1
215
+ - @copilotkit/runtime-client-gql@1.8.1-next.1
216
+ - @copilotkit/shared@1.8.1-next.1
217
+
218
+ ## 1.8.1-next.0
219
+
220
+ ### Patch Changes
221
+
222
+ - Updated dependencies [7a42944]
223
+ - @copilotkit/react-core@1.8.1-next.0
224
+ - @copilotkit/runtime-client-gql@1.8.1-next.0
225
+ - @copilotkit/shared@1.8.1-next.0
226
+
227
+ ## 1.8.0
228
+
229
+ ### Minor Changes
230
+
231
+ - 20f0727: - feat(chat): redesign chat
232
+
233
+ ### Patch Changes
234
+
235
+ - 099807a: - fix: adjust dev console menus to dark theme
236
+ - c11fab9: - chore(react-ui): Add DefaultResponseRenderer and DefaultStateRenderer components
237
+ - a50f4c1: - move default components out of ui
238
+ - 5f184b7: - fix: remove response button
239
+ - fix: use customizable assistant message icons
240
+ - d8e354b: - fix: re-align customization variable names and usage
241
+ - Updated dependencies [73f5eaa]
242
+ - Updated dependencies [a50f4c1]
243
+ - @copilotkit/react-core@1.8.0
244
+ - @copilotkit/runtime-client-gql@1.8.0
245
+ - @copilotkit/shared@1.8.0
246
+
247
+ ## 1.8.0-next.8
248
+
249
+ ### Patch Changes
250
+
251
+ - 099807a: - fix: adjust dev console menus to dark theme
252
+ - @copilotkit/react-core@1.8.0-next.8
253
+ - @copilotkit/runtime-client-gql@1.8.0-next.8
254
+ - @copilotkit/shared@1.8.0-next.8
255
+
256
+ ## 1.8.0-next.7
257
+
258
+ ### Patch Changes
259
+
260
+ - 5f184b7: - fix: remove response button
261
+ - fix: use customizable assistant message icons
262
+ - @copilotkit/react-core@1.8.0-next.7
263
+ - @copilotkit/runtime-client-gql@1.8.0-next.7
264
+ - @copilotkit/shared@1.8.0-next.7
265
+
266
+ ## 1.8.0-next.6
267
+
268
+ ### Patch Changes
269
+
270
+ - @copilotkit/react-core@1.8.0-next.6
271
+ - @copilotkit/runtime-client-gql@1.8.0-next.6
272
+ - @copilotkit/shared@1.8.0-next.6
273
+
274
+ ## 1.8.0-next.5
275
+
276
+ ### Patch Changes
277
+
278
+ - a50f4c1: - move default components out of ui
279
+ - Updated dependencies [a50f4c1]
280
+ - @copilotkit/react-core@1.8.0-next.5
281
+ - @copilotkit/runtime-client-gql@1.8.0-next.5
282
+ - @copilotkit/shared@1.8.0-next.5
283
+
284
+ ## 1.8.0-next.4
285
+
286
+ ### Patch Changes
287
+
288
+ - d8e354b: - fix: re-align customization variable names and usage
289
+ - @copilotkit/react-core@1.8.0-next.4
290
+ - @copilotkit/runtime-client-gql@1.8.0-next.4
291
+ - @copilotkit/shared@1.8.0-next.4
292
+
293
+ ## 1.8.0-next.3
294
+
295
+ ### Minor Changes
296
+
297
+ - 20f0727: - feat(chat): redesign chat
298
+
299
+ ### Patch Changes
300
+
301
+ - @copilotkit/react-core@1.8.0-next.3
302
+ - @copilotkit/runtime-client-gql@1.8.0-next.3
303
+ - @copilotkit/shared@1.8.0-next.3
304
+
305
+ ## 1.7.2-next.2
306
+
307
+ ### Patch Changes
308
+
309
+ - c11fab9: - chore(react-ui): Add DefaultResponseRenderer and DefaultStateRenderer components
310
+ - @copilotkit/react-core@1.7.2-next.2
311
+ - @copilotkit/runtime-client-gql@1.7.2-next.2
312
+ - @copilotkit/shared@1.7.2-next.2
313
+
314
+ ## 1.7.2-next.1
315
+
316
+ ### Patch Changes
317
+
318
+ - Updated dependencies [73f5eaa]
319
+ - @copilotkit/react-core@1.7.2-next.1
320
+ - @copilotkit/runtime-client-gql@1.7.2-next.1
321
+ - @copilotkit/shared@1.7.2-next.1
322
+
323
+ ## 1.7.2-next.0
324
+
325
+ ### Patch Changes
326
+
327
+ - @copilotkit/runtime-client-gql@1.7.2-next.0
328
+ - @copilotkit/react-core@1.7.2-next.0
329
+ - @copilotkit/shared@1.7.2-next.0
330
+
331
+ ## 1.7.1
332
+
333
+ ### Patch Changes
334
+
335
+ - @copilotkit/runtime-client-gql@1.7.1
336
+ - @copilotkit/react-core@1.7.1
337
+ - @copilotkit/shared@1.7.1
338
+
339
+ ## 1.7.1-next.0
340
+
341
+ ### Patch Changes
342
+
343
+ - @copilotkit/runtime-client-gql@1.7.1-next.0
344
+ - @copilotkit/react-core@1.7.1-next.0
345
+ - @copilotkit/shared@1.7.1-next.0
346
+
347
+ ## 1.7.0
348
+
349
+ ### Patch Changes
350
+
351
+ - @copilotkit/runtime-client-gql@1.7.0
352
+ - @copilotkit/react-core@1.7.0
353
+ - @copilotkit/shared@1.7.0
354
+
355
+ ## 1.7.0-next.1
356
+
357
+ ### Patch Changes
358
+
359
+ - @copilotkit/runtime-client-gql@1.7.0-next.1
360
+ - @copilotkit/react-core@1.7.0-next.1
361
+ - @copilotkit/shared@1.7.0-next.1
362
+
363
+ ## 1.7.0-next.0
364
+
365
+ ### Patch Changes
366
+
367
+ - @copilotkit/runtime-client-gql@1.7.0-next.0
368
+ - @copilotkit/react-core@1.7.0-next.0
369
+ - @copilotkit/shared@1.7.0-next.0
370
+
371
+ ## 1.6.0
372
+
373
+ ### Patch Changes
374
+
375
+ - c1cc77f: - feat: new useCopilotAdditionalInstructions hook and available property on useCopilotReadable
376
+ - Updated dependencies [d833f4c]
377
+ - Updated dependencies [090203d]
378
+ - Updated dependencies [d800f03]
379
+ - Updated dependencies [85753b3]
380
+ - Updated dependencies [7d061d9]
381
+ - Updated dependencies [b454827]
382
+ - Updated dependencies [c1cc77f]
383
+ - @copilotkit/react-core@1.6.0
384
+ - @copilotkit/runtime-client-gql@1.6.0
385
+ - @copilotkit/shared@1.6.0
386
+
387
+ ## 1.6.0-next.12
388
+
389
+ ### Patch Changes
390
+
391
+ - @copilotkit/runtime-client-gql@1.6.0-next.12
392
+ - @copilotkit/react-core@1.6.0-next.12
393
+ - @copilotkit/shared@1.6.0-next.12
394
+
395
+ ## 1.6.0-next.11
396
+
397
+ ### Patch Changes
398
+
399
+ - Updated dependencies [85753b3]
400
+ - @copilotkit/react-core@1.6.0-next.11
401
+ - @copilotkit/runtime-client-gql@1.6.0-next.11
402
+ - @copilotkit/shared@1.6.0-next.11
403
+
404
+ ## 1.6.0-next.10
405
+
406
+ ### Patch Changes
407
+
408
+ - @copilotkit/runtime-client-gql@1.6.0-next.10
409
+ - @copilotkit/react-core@1.6.0-next.10
410
+ - @copilotkit/shared@1.6.0-next.10
411
+
412
+ ## 1.6.0-next.9
413
+
414
+ ### Patch Changes
415
+
416
+ - @copilotkit/runtime-client-gql@1.6.0-next.9
417
+ - @copilotkit/react-core@1.6.0-next.9
418
+ - @copilotkit/shared@1.6.0-next.9
419
+
420
+ ## 1.6.0-next.8
421
+
422
+ ### Patch Changes
423
+
424
+ - @copilotkit/runtime-client-gql@1.6.0-next.8
425
+ - @copilotkit/react-core@1.6.0-next.8
426
+ - @copilotkit/shared@1.6.0-next.8
427
+
428
+ ## 1.6.0-next.7
429
+
430
+ ### Patch Changes
431
+
432
+ - Updated dependencies [d800f03]
433
+ - @copilotkit/react-core@1.6.0-next.7
434
+ - @copilotkit/runtime-client-gql@1.6.0-next.7
435
+ - @copilotkit/shared@1.6.0-next.7
436
+
437
+ ## 1.6.0-next.6
438
+
439
+ ### Patch Changes
440
+
441
+ - @copilotkit/runtime-client-gql@1.6.0-next.6
442
+ - @copilotkit/react-core@1.6.0-next.6
443
+ - @copilotkit/shared@1.6.0-next.6
444
+
445
+ ## 1.6.0-next.5
446
+
447
+ ### Patch Changes
448
+
449
+ - Updated dependencies [090203d]
450
+ - @copilotkit/shared@1.6.0-next.5
451
+ - @copilotkit/runtime-client-gql@1.6.0-next.5
452
+ - @copilotkit/react-core@1.6.0-next.5
453
+
454
+ ## 1.6.0-next.4
455
+
456
+ ### Patch Changes
457
+
458
+ - @copilotkit/runtime-client-gql@1.6.0-next.4
459
+ - @copilotkit/react-core@1.6.0-next.4
460
+ - @copilotkit/shared@1.6.0-next.4
461
+
462
+ ## 1.6.0-next.3
463
+
464
+ ### Patch Changes
465
+
466
+ - @copilotkit/runtime-client-gql@1.6.0-next.3
467
+ - @copilotkit/react-core@1.6.0-next.3
468
+ - @copilotkit/shared@1.6.0-next.3
469
+
470
+ ## 1.6.0-next.2
471
+
472
+ ### Patch Changes
473
+
474
+ - Updated dependencies [b454827]
475
+ - @copilotkit/react-core@1.6.0-next.2
476
+ - @copilotkit/runtime-client-gql@1.6.0-next.2
477
+ - @copilotkit/shared@1.6.0-next.2
478
+
479
+ ## 1.6.0-next.1
480
+
481
+ ### Patch Changes
482
+
483
+ - Updated dependencies [d833f4c]
484
+ - @copilotkit/react-core@1.6.0-next.1
485
+ - @copilotkit/runtime-client-gql@1.6.0-next.1
486
+ - @copilotkit/shared@1.6.0-next.1
487
+
488
+ ## 1.6.0-next.0
489
+
490
+ ### Patch Changes
491
+
492
+ - Updated dependencies [7d061d9]
493
+ - @copilotkit/react-core@1.6.0-next.0
494
+ - @copilotkit/runtime-client-gql@1.6.0-next.0
495
+ - @copilotkit/shared@1.6.0-next.0
496
+
497
+ ## 1.5.20
498
+
499
+ ### Patch Changes
500
+
501
+ - Updated dependencies [51f0d66]
502
+ - @copilotkit/shared@1.5.20
503
+ - @copilotkit/react-core@1.5.20
504
+ - @copilotkit/runtime-client-gql@1.5.20
505
+
506
+ ## 1.5.20-next.0
507
+
508
+ ### Patch Changes
509
+
510
+ - Updated dependencies [51f0d66]
511
+ - @copilotkit/shared@1.5.20-next.0
512
+ - @copilotkit/react-core@1.5.20-next.0
513
+ - @copilotkit/runtime-client-gql@1.5.20-next.0
514
+
515
+ ## 1.5.19
516
+
517
+ ### Patch Changes
518
+
519
+ - Updated dependencies [0dd1ab9]
520
+ - Updated dependencies [5bc68f8]
521
+ - @copilotkit/react-core@1.5.19
522
+ - @copilotkit/shared@1.5.19
523
+ - @copilotkit/runtime-client-gql@1.5.19
524
+
525
+ ## 1.5.19-next.1
526
+
527
+ ### Patch Changes
528
+
529
+ - Updated dependencies [0dd1ab9]
530
+ - @copilotkit/react-core@1.5.19-next.1
531
+ - @copilotkit/shared@1.5.19-next.1
532
+ - @copilotkit/runtime-client-gql@1.5.19-next.1
533
+
534
+ ## 1.5.19-next.0
535
+
536
+ ### Patch Changes
537
+
538
+ - Updated dependencies [5bc68f8]
539
+ - @copilotkit/react-core@1.5.19-next.0
540
+ - @copilotkit/runtime-client-gql@1.5.19-next.0
541
+ - @copilotkit/shared@1.5.19-next.0
542
+
543
+ ## 1.5.18
4
544
 
5
545
  ### Patch Changes
6
546
 
7
547
  - Updated dependencies [d47cd26]
8
- - Updated dependencies [d471548]
9
- - @copilotkit/runtime-client-gql@0.0.0-fix-use-warning-for-version-mismatch-20250212175807
10
- - @copilotkit/shared@0.0.0-fix-use-warning-for-version-mismatch-20250212175807
11
- - @copilotkit/react-core@0.0.0-fix-use-warning-for-version-mismatch-20250212175807
548
+ - Updated dependencies [f77a7b9]
549
+ - Updated dependencies [38d3ac2]
550
+ - @copilotkit/runtime-client-gql@1.5.18
551
+ - @copilotkit/shared@1.5.18
552
+ - @copilotkit/react-core@1.5.18
553
+
554
+ ## 1.5.18-next.3
555
+
556
+ ### Patch Changes
557
+
558
+ - Updated dependencies [f77a7b9]
559
+ - @copilotkit/react-core@1.5.18-next.3
560
+ - @copilotkit/runtime-client-gql@1.5.18-next.3
561
+ - @copilotkit/shared@1.5.18-next.3
562
+
563
+ ## 1.5.18-next.2
564
+
565
+ ### Patch Changes
566
+
567
+ - Updated dependencies [38d3ac2]
568
+ - @copilotkit/shared@1.5.18-next.2
569
+ - @copilotkit/runtime-client-gql@1.5.18-next.2
570
+ - @copilotkit/react-core@1.5.18-next.2
12
571
 
13
572
  ## 1.5.18-next.1
14
573
 
@@ -0,0 +1,32 @@
1
+ import {
2
+ CopilotDevConsole
3
+ } from "./chunk-D5XIJNXQ.mjs";
4
+ import {
5
+ useChatContext
6
+ } from "./chunk-UN2E3HCK.mjs";
7
+
8
+ // src/components/chat/Header.tsx
9
+ import { jsx, jsxs } from "react/jsx-runtime";
10
+ var Header = ({}) => {
11
+ const { setOpen, icons, labels } = useChatContext();
12
+ return /* @__PURE__ */ jsxs("div", { className: "copilotKitHeader", children: [
13
+ /* @__PURE__ */ jsx("div", { children: labels.title }),
14
+ /* @__PURE__ */ jsxs("div", { className: "copilotKitHeaderControls", children: [
15
+ /* @__PURE__ */ jsx(CopilotDevConsole, {}),
16
+ /* @__PURE__ */ jsx(
17
+ "button",
18
+ {
19
+ onClick: () => setOpen(false),
20
+ "aria-label": "Close",
21
+ className: "copilotKitHeaderCloseButton",
22
+ children: icons.headerCloseIcon
23
+ }
24
+ )
25
+ ] })
26
+ ] });
27
+ };
28
+
29
+ export {
30
+ Header
31
+ };
32
+ //# sourceMappingURL=chunk-2OTVZXDX.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/chat/Header.tsx"],"sourcesContent":["import { HeaderProps } from \"./props\";\nimport { useChatContext } from \"./ChatContext\";\nimport { CopilotDevConsole } from \"../dev-console\";\nimport React from \"react\";\n\nexport const Header = ({}: HeaderProps) => {\n const { setOpen, icons, labels } = useChatContext();\n\n return (\n <div className=\"copilotKitHeader\">\n <div>{labels.title}</div>\n <div className=\"copilotKitHeaderControls\">\n <CopilotDevConsole />\n <button\n onClick={() => setOpen(false)}\n aria-label=\"Close\"\n className=\"copilotKitHeaderCloseButton\"\n >\n {icons.headerCloseIcon}\n </button>\n </div>\n </div>\n );\n};\n"],"mappings":";;;;;;;;AAUM,cACA,YADA;AALC,IAAM,SAAS,CAAC,CAAC,MAAmB;AACzC,QAAM,EAAE,SAAS,OAAO,OAAO,IAAI,eAAe;AAElD,SACE,qBAAC,SAAI,WAAU,oBACb;AAAA,wBAAC,SAAK,iBAAO,OAAM;AAAA,IACnB,qBAAC,SAAI,WAAU,4BACb;AAAA,0BAAC,qBAAkB;AAAA,MACnB;AAAA,QAAC;AAAA;AAAA,UACC,SAAS,MAAM,QAAQ,KAAK;AAAA,UAC5B,cAAW;AAAA,UACX,WAAU;AAAA,UAET,gBAAM;AAAA;AAAA,MACT;AAAA,OACF;AAAA,KACF;AAEJ;","names":[]}