@copilotkit/react-ui 1.6.0-next.0 → 1.6.0-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.
Files changed (38) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/{chunk-652TZXBO.mjs → chunk-CU525PBJ.mjs} +2 -2
  3. package/dist/{chunk-525VKRDO.mjs → chunk-FUFTTTA3.mjs} +2 -2
  4. package/dist/{chunk-PO3UGUKD.mjs → chunk-UGTFROVP.mjs} +2 -2
  5. package/dist/{chunk-QRHVTE25.mjs → chunk-UY34ERRQ.mjs} +2 -2
  6. package/dist/{chunk-F7VWGY77.mjs → chunk-WEYDZBT7.mjs} +3 -1
  7. package/dist/{chunk-F7VWGY77.mjs.map → chunk-WEYDZBT7.mjs.map} +1 -1
  8. package/dist/components/chat/Chat.js +2 -0
  9. package/dist/components/chat/Chat.js.map +1 -1
  10. package/dist/components/chat/Chat.mjs +2 -2
  11. package/dist/components/chat/Modal.js +2 -0
  12. package/dist/components/chat/Modal.js.map +1 -1
  13. package/dist/components/chat/Modal.mjs +3 -3
  14. package/dist/components/chat/Popup.js +2 -0
  15. package/dist/components/chat/Popup.js.map +1 -1
  16. package/dist/components/chat/Popup.mjs +4 -4
  17. package/dist/components/chat/Sidebar.js +2 -0
  18. package/dist/components/chat/Sidebar.js.map +1 -1
  19. package/dist/components/chat/Sidebar.mjs +4 -4
  20. package/dist/components/chat/index.js +2 -0
  21. package/dist/components/chat/index.js.map +1 -1
  22. package/dist/components/chat/index.mjs +5 -5
  23. package/dist/components/chat/messages/RenderResultMessage.d.ts +1 -1
  24. package/dist/components/chat/messages/RenderResultMessage.js +2 -0
  25. package/dist/components/chat/messages/RenderResultMessage.js.map +1 -1
  26. package/dist/components/chat/messages/RenderResultMessage.mjs +1 -1
  27. package/dist/components/index.js +2 -0
  28. package/dist/components/index.js.map +1 -1
  29. package/dist/components/index.mjs +5 -5
  30. package/dist/index.js +2 -0
  31. package/dist/index.js.map +1 -1
  32. package/dist/index.mjs +5 -5
  33. package/package.json +4 -4
  34. package/src/components/chat/messages/RenderResultMessage.tsx +5 -0
  35. /package/dist/{chunk-652TZXBO.mjs.map → chunk-CU525PBJ.mjs.map} +0 -0
  36. /package/dist/{chunk-525VKRDO.mjs.map → chunk-FUFTTTA3.mjs.map} +0 -0
  37. /package/dist/{chunk-PO3UGUKD.mjs.map → chunk-UGTFROVP.mjs.map} +0 -0
  38. /package/dist/{chunk-QRHVTE25.mjs.map → chunk-UY34ERRQ.mjs.map} +0 -0
package/dist/index.mjs CHANGED
@@ -4,20 +4,20 @@ import "./chunk-MMVDU6DF.mjs";
4
4
  import "./chunk-SQMEPWVT.mjs";
5
5
  import {
6
6
  CopilotSidebar
7
- } from "./chunk-652TZXBO.mjs";
7
+ } from "./chunk-CU525PBJ.mjs";
8
8
  import "./chunk-WB3YULQ4.mjs";
9
9
  import {
10
10
  CopilotPopup
11
- } from "./chunk-PO3UGUKD.mjs";
12
- import "./chunk-QRHVTE25.mjs";
11
+ } from "./chunk-UGTFROVP.mjs";
12
+ import "./chunk-UY34ERRQ.mjs";
13
13
  import "./chunk-YAGE7RCE.mjs";
14
14
  import "./chunk-VEC45H6Q.mjs";
15
15
  import "./chunk-RQNJNK2W.mjs";
16
16
  import {
17
17
  CopilotChat
18
- } from "./chunk-525VKRDO.mjs";
18
+ } from "./chunk-FUFTTTA3.mjs";
19
19
  import "./chunk-UWWMAJ7R.mjs";
20
- import "./chunk-F7VWGY77.mjs";
20
+ import "./chunk-WEYDZBT7.mjs";
21
21
  import "./chunk-OFYI4UU4.mjs";
22
22
  import {
23
23
  UserMessage
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "publishConfig": {
10
10
  "access": "public"
11
11
  },
12
- "version": "1.6.0-next.0",
12
+ "version": "1.6.0-next.2",
13
13
  "sideEffects": [
14
14
  "**/*.css"
15
15
  ],
@@ -50,9 +50,9 @@
50
50
  "react-syntax-highlighter": "^15.5.0",
51
51
  "remark-gfm": "^3.0.1",
52
52
  "remark-math": "^5.1.1",
53
- "@copilotkit/react-core": "1.6.0-next.0",
54
- "@copilotkit/runtime-client-gql": "1.6.0-next.0",
55
- "@copilotkit/shared": "1.6.0-next.0"
53
+ "@copilotkit/react-core": "1.6.0-next.2",
54
+ "@copilotkit/runtime-client-gql": "1.6.0-next.2",
55
+ "@copilotkit/shared": "1.6.0-next.2"
56
56
  },
57
57
  "keywords": [
58
58
  "copilotkit",
@@ -14,4 +14,9 @@ export function RenderResultMessage(props: RenderMessageProps) {
14
14
  />
15
15
  );
16
16
  }
17
+
18
+ // Avoid 'Nothing was returned from render' React error
19
+ else {
20
+ return null;
21
+ }
17
22
  }