@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
package/dist/index.mjs
CHANGED
|
@@ -5,17 +5,17 @@ import "./chunk-SQMEPWVT.mjs";
|
|
|
5
5
|
import "./chunk-WB3YULQ4.mjs";
|
|
6
6
|
import {
|
|
7
7
|
CopilotPopup
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2D24Q2YO.mjs";
|
|
9
9
|
import {
|
|
10
10
|
CopilotSidebar
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-X7HMY3S6.mjs";
|
|
12
|
+
import "./chunk-OG2LUNMO.mjs";
|
|
13
13
|
import "./chunk-P7S3E5UW.mjs";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-2OTVZXDX.mjs";
|
|
15
15
|
import "./chunk-V7W6IM2V.mjs";
|
|
16
16
|
import {
|
|
17
17
|
CopilotDevConsole
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-D5XIJNXQ.mjs";
|
|
19
19
|
import {
|
|
20
20
|
shouldShowDevConsole
|
|
21
21
|
} from "./chunk-6TCUJ3B7.mjs";
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"access": "public"
|
|
11
11
|
},
|
|
12
|
-
"version": "1.8.2-next.
|
|
12
|
+
"version": "1.8.2-next.3",
|
|
13
13
|
"sideEffects": [
|
|
14
14
|
"**/*.css"
|
|
15
15
|
],
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"ts-jest": "^29.1.1",
|
|
41
41
|
"tsup": "^6.7.0",
|
|
42
42
|
"typescript": "^5.2.3",
|
|
43
|
-
"eslint-config-custom": "1.4.6",
|
|
44
43
|
"tailwind-config": "1.4.6",
|
|
44
|
+
"eslint-config-custom": "1.4.6",
|
|
45
45
|
"tsconfig": "1.4.6"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"react-syntax-highlighter": "^15.5.0",
|
|
51
51
|
"remark-gfm": "^3.0.1",
|
|
52
52
|
"remark-math": "^5.1.1",
|
|
53
|
-
"@copilotkit/react-core": "1.8.2-next.
|
|
54
|
-
"@copilotkit/runtime-client-gql": "1.8.2-next.
|
|
55
|
-
"@copilotkit/shared": "1.8.2-next.
|
|
53
|
+
"@copilotkit/react-core": "1.8.2-next.3",
|
|
54
|
+
"@copilotkit/runtime-client-gql": "1.8.2-next.3",
|
|
55
|
+
"@copilotkit/shared": "1.8.2-next.3"
|
|
56
56
|
},
|
|
57
57
|
"keywords": [
|
|
58
58
|
"copilotkit",
|
|
@@ -11,7 +11,11 @@ export const Header = ({}: HeaderProps) => {
|
|
|
11
11
|
<div>{labels.title}</div>
|
|
12
12
|
<div className="copilotKitHeaderControls">
|
|
13
13
|
<CopilotDevConsole />
|
|
14
|
-
<button
|
|
14
|
+
<button
|
|
15
|
+
onClick={() => setOpen(false)}
|
|
16
|
+
aria-label="Close"
|
|
17
|
+
className="copilotKitHeaderCloseButton"
|
|
18
|
+
>
|
|
15
19
|
{icons.headerCloseIcon}
|
|
16
20
|
</button>
|
|
17
21
|
</div>
|
|
@@ -194,7 +194,7 @@ export default function DebugMenuButton({
|
|
|
194
194
|
const messagesContext = useCopilotMessagesContext();
|
|
195
195
|
|
|
196
196
|
return (
|
|
197
|
-
|
|
197
|
+
<>
|
|
198
198
|
<Menu>
|
|
199
199
|
<MenuButton
|
|
200
200
|
className={`copilotKitDebugMenuTriggerButton ${mode === "compact" ? "compact" : ""}`}
|
|
@@ -239,6 +239,6 @@ export default function DebugMenuButton({
|
|
|
239
239
|
</MenuItem>
|
|
240
240
|
</MenuItems>
|
|
241
241
|
</Menu>
|
|
242
|
-
|
|
242
|
+
</>
|
|
243
243
|
);
|
|
244
244
|
}
|
package/src/css/header.css
CHANGED
package/src/css/messages.css
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/chat/Header.tsx"],"sourcesContent":["import { HeaderProps } from \"./props\";\nimport { useChatContext } from \"./ChatContext\";\nimport { CopilotDevConsole } from \"../dev-console\";\nimport React from \"react\";\n\nexport const Header = ({}: HeaderProps) => {\n const { setOpen, icons, labels } = useChatContext();\n\n return (\n <div className=\"copilotKitHeader\">\n <div>{labels.title}</div>\n <div className=\"copilotKitHeaderControls\">\n <CopilotDevConsole />\n <button onClick={() => setOpen(false)} aria-label=\"Close\">\n {icons.headerCloseIcon}\n </button>\n </div>\n </div>\n );\n};\n"],"mappings":";;;;;;;;AAUM,cACA,YADA;AALC,IAAM,SAAS,CAAC,CAAC,MAAmB;AACzC,QAAM,EAAE,SAAS,OAAO,OAAO,IAAI,eAAe;AAElD,SACE,qBAAC,SAAI,WAAU,oBACb;AAAA,wBAAC,SAAK,iBAAO,OAAM;AAAA,IACnB,qBAAC,SAAI,WAAU,4BACb;AAAA,0BAAC,qBAAkB;AAAA,MACnB,oBAAC,YAAO,SAAS,MAAM,QAAQ,KAAK,GAAG,cAAW,SAC/C,gBAAM,iBACT;AAAA,OACF;AAAA,KACF;AAEJ;","names":[]}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|