@copilotkit/react-ui 1.4.8-next.0 → 1.4.8-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 (49) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/{chunk-T35X2SFE.mjs → chunk-46UJJGXP.mjs} +2 -2
  3. package/dist/{chunk-E5SSVET3.mjs → chunk-752NGHCE.mjs} +2 -2
  4. package/dist/{chunk-FUDBUYBG.mjs → chunk-CVHT5XCA.mjs} +2 -2
  5. package/dist/{chunk-TTYR7XPN.mjs → chunk-DVMTTXGZ.mjs} +2 -2
  6. package/dist/{chunk-ZQFKJLQ6.mjs → chunk-PNKBFDUI.mjs} +2 -2
  7. package/dist/{chunk-ICGZEGHQ.mjs → chunk-TI7SY2RI.mjs} +13 -4
  8. package/dist/chunk-TI7SY2RI.mjs.map +1 -0
  9. package/dist/components/chat/Chat.js +12 -26
  10. package/dist/components/chat/Chat.js.map +1 -1
  11. package/dist/components/chat/Chat.mjs +3 -3
  12. package/dist/components/chat/Modal.js +12 -26
  13. package/dist/components/chat/Modal.js.map +1 -1
  14. package/dist/components/chat/Modal.mjs +4 -4
  15. package/dist/components/chat/Popup.js +12 -26
  16. package/dist/components/chat/Popup.js.map +1 -1
  17. package/dist/components/chat/Popup.mjs +5 -5
  18. package/dist/components/chat/Sidebar.js +12 -26
  19. package/dist/components/chat/Sidebar.js.map +1 -1
  20. package/dist/components/chat/Sidebar.mjs +5 -5
  21. package/dist/components/chat/index.js +12 -26
  22. package/dist/components/chat/index.js.map +1 -1
  23. package/dist/components/chat/index.mjs +6 -6
  24. package/dist/components/dev-console/console.js +12 -26
  25. package/dist/components/dev-console/console.js.map +1 -1
  26. package/dist/components/dev-console/console.mjs +2 -2
  27. package/dist/components/dev-console/index.js +12 -26
  28. package/dist/components/dev-console/index.js.map +1 -1
  29. package/dist/components/dev-console/index.mjs +2 -2
  30. package/dist/components/help-modal/index.js +12 -26
  31. package/dist/components/help-modal/index.js.map +1 -1
  32. package/dist/components/help-modal/index.mjs +1 -1
  33. package/dist/components/help-modal/modal.js +12 -26
  34. package/dist/components/help-modal/modal.js.map +1 -1
  35. package/dist/components/help-modal/modal.mjs +1 -1
  36. package/dist/components/index.js +12 -26
  37. package/dist/components/index.js.map +1 -1
  38. package/dist/components/index.mjs +6 -6
  39. package/dist/index.js +12 -26
  40. package/dist/index.js.map +1 -1
  41. package/dist/index.mjs +7 -7
  42. package/package.json +4 -4
  43. package/src/components/help-modal/modal.tsx +12 -2
  44. package/dist/chunk-ICGZEGHQ.mjs.map +0 -1
  45. /package/dist/{chunk-T35X2SFE.mjs.map → chunk-46UJJGXP.mjs.map} +0 -0
  46. /package/dist/{chunk-E5SSVET3.mjs.map → chunk-752NGHCE.mjs.map} +0 -0
  47. /package/dist/{chunk-FUDBUYBG.mjs.map → chunk-CVHT5XCA.mjs.map} +0 -0
  48. /package/dist/{chunk-TTYR7XPN.mjs.map → chunk-DVMTTXGZ.mjs.map} +0 -0
  49. /package/dist/{chunk-ZQFKJLQ6.mjs.map → chunk-PNKBFDUI.mjs.map} +0 -0
@@ -2,17 +2,17 @@ import {
2
2
  CopilotChat,
3
3
  WrappedCopilotChat,
4
4
  useCopilotChatLogic
5
- } from "../../chunk-T35X2SFE.mjs";
5
+ } from "../../chunk-46UJJGXP.mjs";
6
6
  import "../../chunk-6INMITFA.mjs";
7
7
  import "../../chunk-RU73BEZM.mjs";
8
8
  import "../../chunk-V7W6IM2V.mjs";
9
9
  import "../../chunk-OMTPWC7T.mjs";
10
10
  import "../../chunk-ZABXREBH.mjs";
11
11
  import "../../chunk-RJCZRKTV.mjs";
12
- import "../../chunk-TTYR7XPN.mjs";
12
+ import "../../chunk-DVMTTXGZ.mjs";
13
13
  import "../../chunk-4FIGRRFS.mjs";
14
14
  import "../../chunk-KXE2JCUH.mjs";
15
- import "../../chunk-ICGZEGHQ.mjs";
15
+ import "../../chunk-TI7SY2RI.mjs";
16
16
  import "../../chunk-BH6PCAAL.mjs";
17
17
  import "../../chunk-OTPAZXVR.mjs";
18
18
  import "../../chunk-EMQEEXUB.mjs";
@@ -1900,30 +1900,6 @@ var import_react9 = require("react");
1900
1900
 
1901
1901
  // src/components/help-modal/icons.tsx
1902
1902
  var import_jsx_runtime18 = require("react/jsx-runtime");
1903
- var LifeBuoyIcon = () => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1904
- "svg",
1905
- {
1906
- xmlns: "http://www.w3.org/2000/svg",
1907
- width: "24",
1908
- height: "24",
1909
- viewBox: "0 0 24 24",
1910
- fill: "none",
1911
- stroke: "currentColor",
1912
- strokeWidth: "2",
1913
- strokeLinecap: "round",
1914
- strokeLinejoin: "round",
1915
- className: "icon icon-tabler icons-tabler-outline icon-tabler-lifebuoy",
1916
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("g", { transform: "translate(0, -1)", children: [
1917
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
1918
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0" }),
1919
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" }),
1920
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M15 15l3.35 3.35" }),
1921
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M9 15l-3.35 3.35" }),
1922
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M5.65 5.65l3.35 3.35" }),
1923
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M18.35 5.65l-3.35 3.35" })
1924
- ] })
1925
- }
1926
- );
1927
1903
  var CloseIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1928
1904
  "svg",
1929
1905
  {
@@ -2014,9 +1990,10 @@ function CopilotKitHelpModal() {
2014
1990
  "button",
2015
1991
  {
2016
1992
  onClick: () => setShowHelpModal(true),
2017
- className: "p-2 bg-transparent rounded-full shadow-lg hover:shadow-xl transition-shadow duration-300 focus:outline-none focus:ring-2 focus:ring-blue-500",
1993
+ style: { width: "50px", height: "30px", marginRight: "0.25rem" },
1994
+ className: "text-sm p-0 bg-transparent rounded border border-blue-500",
2018
1995
  "aria-label": "Open Help",
2019
- children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(LifeBuoyIcon, {})
1996
+ children: "Help"
2020
1997
  }
2021
1998
  );
2022
1999
  const submitButtonDisabled = (0, import_react9.useMemo)(
@@ -2043,6 +2020,15 @@ function CopilotKitHelpModal() {
2043
2020
  ),
2044
2021
  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "w-full flex mb-6 justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("h2", { className: "text-2xl font-bold", children: "Help Options" }) }),
2045
2022
  /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "space-y-4 mb-4", children: [
2023
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "block w-full text-center py-2 px-4 bg-blue-500 text-white rounded hover:bg-blue-600 transition duration-150 text-sm", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
2024
+ "a",
2025
+ {
2026
+ href: "https://docs.copilotkit.ai/coagents/troubleshooting/common-issues",
2027
+ target: "_blank",
2028
+ rel: "noopener noreferrer",
2029
+ children: "Visit the Troubleshooting and FAQ section in the docs"
2030
+ }
2031
+ ) }),
2046
2032
  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "block w-full text-center py-2 px-4 bg-blue-500 text-white rounded hover:bg-blue-600 transition duration-150 text-sm", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
2047
2033
  "a",
2048
2034
  {