@copilotkit/react-ui 1.8.2-next.2 → 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 +9 -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
|
@@ -962,7 +962,7 @@ function DebugMenuButton({
|
|
|
962
962
|
}) {
|
|
963
963
|
const context = (0, import_react_core2.useCopilotContext)();
|
|
964
964
|
const messagesContext = (0, import_react_core2.useCopilotMessagesContext)();
|
|
965
|
-
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
965
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_jsx_runtime8.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_react5.Menu, { children: [
|
|
966
966
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
967
967
|
import_react5.MenuButton,
|
|
968
968
|
{
|
|
@@ -1008,7 +1008,15 @@ var Header = ({}) => {
|
|
|
1008
1008
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { children: labels.title }),
|
|
1009
1009
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "copilotKitHeaderControls", children: [
|
|
1010
1010
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(CopilotDevConsole, {}),
|
|
1011
|
-
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
1011
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
1012
|
+
"button",
|
|
1013
|
+
{
|
|
1014
|
+
onClick: () => setOpen(false),
|
|
1015
|
+
"aria-label": "Close",
|
|
1016
|
+
className: "copilotKitHeaderCloseButton",
|
|
1017
|
+
children: icons.headerCloseIcon
|
|
1018
|
+
}
|
|
1019
|
+
)
|
|
1012
1020
|
] })
|
|
1013
1021
|
] });
|
|
1014
1022
|
};
|