@copilotkit/react-ui 1.8.2-next.2 → 1.8.2-next.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/{chunk-DKYAA4DM.mjs → chunk-2D24Q2YO.mjs} +2 -2
- package/dist/{chunk-Y5RNSFAD.mjs → chunk-2OTVZXDX.mjs} +11 -3
- package/dist/chunk-2OTVZXDX.mjs.map +1 -0
- package/dist/{chunk-7BXD65QV.mjs → chunk-D5XIJNXQ.mjs} +2 -2
- package/dist/{chunk-7BXD65QV.mjs.map → chunk-D5XIJNXQ.mjs.map} +1 -1
- package/dist/{chunk-FGVMRZ5D.mjs → chunk-OG2LUNMO.mjs} +2 -2
- package/dist/{chunk-N5QWMFFT.mjs → chunk-X7HMY3S6.mjs} +2 -2
- package/dist/components/chat/Header.js +10 -2
- package/dist/components/chat/Header.js.map +1 -1
- package/dist/components/chat/Header.mjs +2 -2
- package/dist/components/chat/Modal.js +10 -2
- package/dist/components/chat/Modal.js.map +1 -1
- package/dist/components/chat/Modal.mjs +3 -3
- package/dist/components/chat/Popup.js +10 -2
- package/dist/components/chat/Popup.js.map +1 -1
- package/dist/components/chat/Popup.mjs +4 -4
- package/dist/components/chat/Sidebar.js +10 -2
- package/dist/components/chat/Sidebar.js.map +1 -1
- package/dist/components/chat/Sidebar.mjs +4 -4
- package/dist/components/chat/index.js +10 -2
- package/dist/components/chat/index.js.map +1 -1
- package/dist/components/chat/index.mjs +5 -5
- package/dist/components/dev-console/console.js +1 -1
- package/dist/components/dev-console/console.js.map +1 -1
- package/dist/components/dev-console/console.mjs +1 -1
- package/dist/components/dev-console/index.js +1 -1
- package/dist/components/dev-console/index.js.map +1 -1
- package/dist/components/dev-console/index.mjs +1 -1
- package/dist/components/index.js +10 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +5 -5
- package/dist/index.css +6 -33
- package/dist/index.css.map +1 -1
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/package.json +4 -4
- package/src/components/chat/Header.tsx +5 -1
- package/src/components/dev-console/console.tsx +2 -2
- package/src/css/colors.css +0 -63
- package/src/css/header.css +5 -0
- package/src/css/messages.css +2 -0
- package/dist/chunk-Y5RNSFAD.mjs.map +0 -1
- /package/dist/{chunk-DKYAA4DM.mjs.map → chunk-2D24Q2YO.mjs.map} +0 -0
- /package/dist/{chunk-FGVMRZ5D.mjs.map → chunk-OG2LUNMO.mjs.map} +0 -0
- /package/dist/{chunk-N5QWMFFT.mjs.map → chunk-X7HMY3S6.mjs.map} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopilotSidebar
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-X7HMY3S6.mjs";
|
|
4
|
+
import "../../chunk-OG2LUNMO.mjs";
|
|
5
5
|
import "../../chunk-P7S3E5UW.mjs";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-2OTVZXDX.mjs";
|
|
7
7
|
import "../../chunk-V7W6IM2V.mjs";
|
|
8
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-D5XIJNXQ.mjs";
|
|
9
9
|
import "../../chunk-6TCUJ3B7.mjs";
|
|
10
10
|
import "../../chunk-KXE2JCUH.mjs";
|
|
11
11
|
import "../../chunk-NRA3CFEE.mjs";
|
|
@@ -970,7 +970,7 @@ function DebugMenuButton({
|
|
|
970
970
|
}) {
|
|
971
971
|
const context = (0, import_react_core2.useCopilotContext)();
|
|
972
972
|
const messagesContext = (0, import_react_core2.useCopilotMessagesContext)();
|
|
973
|
-
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
973
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_jsx_runtime8.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_react5.Menu, { children: [
|
|
974
974
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
975
975
|
import_react5.MenuButton,
|
|
976
976
|
{
|
|
@@ -1016,7 +1016,15 @@ var Header = ({}) => {
|
|
|
1016
1016
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { children: labels.title }),
|
|
1017
1017
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "copilotKitHeaderControls", children: [
|
|
1018
1018
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(CopilotDevConsole, {}),
|
|
1019
|
-
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
1019
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
1020
|
+
"button",
|
|
1021
|
+
{
|
|
1022
|
+
onClick: () => setOpen(false),
|
|
1023
|
+
"aria-label": "Close",
|
|
1024
|
+
className: "copilotKitHeaderCloseButton",
|
|
1025
|
+
children: icons.headerCloseIcon
|
|
1026
|
+
}
|
|
1027
|
+
)
|
|
1020
1028
|
] })
|
|
1021
1029
|
] });
|
|
1022
1030
|
};
|