@copilotkit/react-ui 1.8.2-next.1 → 1.8.2-next.3
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 +17 -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 -0
- 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 +5 -5
- package/src/components/chat/Header.tsx +5 -1
- package/src/components/dev-console/console.tsx +2 -2
- 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,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopilotModal
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-OG2LUNMO.mjs";
|
|
4
4
|
import "../../chunk-P7S3E5UW.mjs";
|
|
5
|
-
import "../../chunk-
|
|
5
|
+
import "../../chunk-2OTVZXDX.mjs";
|
|
6
6
|
import "../../chunk-V7W6IM2V.mjs";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-D5XIJNXQ.mjs";
|
|
8
8
|
import "../../chunk-6TCUJ3B7.mjs";
|
|
9
9
|
import "../../chunk-KXE2JCUH.mjs";
|
|
10
10
|
import "../../chunk-NRA3CFEE.mjs";
|
|
@@ -964,7 +964,7 @@ function DebugMenuButton({
|
|
|
964
964
|
}) {
|
|
965
965
|
const context = (0, import_react_core2.useCopilotContext)();
|
|
966
966
|
const messagesContext = (0, import_react_core2.useCopilotMessagesContext)();
|
|
967
|
-
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
967
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_jsx_runtime8.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_react5.Menu, { children: [
|
|
968
968
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
969
969
|
import_react5.MenuButton,
|
|
970
970
|
{
|
|
@@ -1010,7 +1010,15 @@ var Header = ({}) => {
|
|
|
1010
1010
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { children: labels.title }),
|
|
1011
1011
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "copilotKitHeaderControls", children: [
|
|
1012
1012
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(CopilotDevConsole, {}),
|
|
1013
|
-
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
1013
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
1014
|
+
"button",
|
|
1015
|
+
{
|
|
1016
|
+
onClick: () => setOpen(false),
|
|
1017
|
+
"aria-label": "Close",
|
|
1018
|
+
className: "copilotKitHeaderCloseButton",
|
|
1019
|
+
children: icons.headerCloseIcon
|
|
1020
|
+
}
|
|
1021
|
+
)
|
|
1014
1022
|
] })
|
|
1015
1023
|
] });
|
|
1016
1024
|
};
|