@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
|
CopilotPopup
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-2D24Q2YO.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";
|
|
@@ -965,7 +965,7 @@ function DebugMenuButton({
|
|
|
965
965
|
}) {
|
|
966
966
|
const context = (0, import_react_core2.useCopilotContext)();
|
|
967
967
|
const messagesContext = (0, import_react_core2.useCopilotMessagesContext)();
|
|
968
|
-
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
968
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_jsx_runtime8.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_react5.Menu, { children: [
|
|
969
969
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
970
970
|
import_react5.MenuButton,
|
|
971
971
|
{
|
|
@@ -1011,7 +1011,15 @@ var Header = ({}) => {
|
|
|
1011
1011
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { children: labels.title }),
|
|
1012
1012
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "copilotKitHeaderControls", children: [
|
|
1013
1013
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(CopilotDevConsole, {}),
|
|
1014
|
-
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
1014
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
1015
|
+
"button",
|
|
1016
|
+
{
|
|
1017
|
+
onClick: () => setOpen(false),
|
|
1018
|
+
"aria-label": "Close",
|
|
1019
|
+
className: "copilotKitHeaderCloseButton",
|
|
1020
|
+
children: icons.headerCloseIcon
|
|
1021
|
+
}
|
|
1022
|
+
)
|
|
1015
1023
|
] })
|
|
1016
1024
|
] });
|
|
1017
1025
|
};
|