@copilotkit/react-ui 1.51.5-next.0 → 1.51.5-next.2
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/.attw.json +3 -0
- package/CHANGELOG.md +17 -0
- package/dist/index.cjs +2737 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.css +258 -70
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +781 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +781 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +2685 -81
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +2750 -25
- package/dist/index.umd.js.map +1 -1
- package/package.json +19 -18
- package/src/components/chat/Popup.tsx +1 -1
- package/src/components/chat/Sidebar.tsx +1 -1
- package/tsdown.config.ts +58 -0
- package/vitest.config.mjs +11 -0
- package/dist/chunk-2QEDCM6H.mjs +0 -150
- package/dist/chunk-2QEDCM6H.mjs.map +0 -1
- package/dist/chunk-6SMTHXVA.mjs +0 -28
- package/dist/chunk-6SMTHXVA.mjs.map +0 -1
- package/dist/chunk-6TLDRWAD.mjs +0 -95
- package/dist/chunk-6TLDRWAD.mjs.map +0 -1
- package/dist/chunk-72FQQMQ2.mjs +0 -25
- package/dist/chunk-72FQQMQ2.mjs.map +0 -1
- package/dist/chunk-AOUHT4JR.mjs +0 -34
- package/dist/chunk-AOUHT4JR.mjs.map +0 -1
- package/dist/chunk-BNJX66OH.mjs +0 -118
- package/dist/chunk-BNJX66OH.mjs.map +0 -1
- package/dist/chunk-C27LZFA5.mjs +0 -97
- package/dist/chunk-C27LZFA5.mjs.map +0 -1
- package/dist/chunk-C7WM7GM3.mjs +0 -235
- package/dist/chunk-C7WM7GM3.mjs.map +0 -1
- package/dist/chunk-CNIC5HO5.mjs +0 -36
- package/dist/chunk-CNIC5HO5.mjs.map +0 -1
- package/dist/chunk-CQCXH5LY.mjs +0 -143
- package/dist/chunk-CQCXH5LY.mjs.map +0 -1
- package/dist/chunk-DM2V5WTG.mjs +0 -34
- package/dist/chunk-DM2V5WTG.mjs.map +0 -1
- package/dist/chunk-DSHTRV2R.mjs +0 -140
- package/dist/chunk-DSHTRV2R.mjs.map +0 -1
- package/dist/chunk-EACIYBQH.mjs +0 -32
- package/dist/chunk-EACIYBQH.mjs.map +0 -1
- package/dist/chunk-EFZPSZWO.mjs +0 -1
- package/dist/chunk-EFZPSZWO.mjs.map +0 -1
- package/dist/chunk-GBAPANZE.mjs +0 -323
- package/dist/chunk-GBAPANZE.mjs.map +0 -1
- package/dist/chunk-GFE5ZSPV.mjs +0 -112
- package/dist/chunk-GFE5ZSPV.mjs.map +0 -1
- package/dist/chunk-HHLX4MQN.mjs +0 -31
- package/dist/chunk-HHLX4MQN.mjs.map +0 -1
- package/dist/chunk-ICA2EXIX.mjs +0 -187
- package/dist/chunk-ICA2EXIX.mjs.map +0 -1
- package/dist/chunk-IU3WTXLQ.mjs +0 -1
- package/dist/chunk-IU3WTXLQ.mjs.map +0 -1
- package/dist/chunk-IWOCQACI.mjs +0 -73
- package/dist/chunk-IWOCQACI.mjs.map +0 -1
- package/dist/chunk-JGMFJZMG.mjs +0 -11
- package/dist/chunk-JGMFJZMG.mjs.map +0 -1
- package/dist/chunk-JYHRHKV5.mjs +0 -90
- package/dist/chunk-JYHRHKV5.mjs.map +0 -1
- package/dist/chunk-KXE2JCUH.mjs +0 -1
- package/dist/chunk-KXE2JCUH.mjs.map +0 -1
- package/dist/chunk-LIXN3OVQ.mjs +0 -405
- package/dist/chunk-LIXN3OVQ.mjs.map +0 -1
- package/dist/chunk-MC6PY7XH.mjs +0 -456
- package/dist/chunk-MC6PY7XH.mjs.map +0 -1
- package/dist/chunk-MMVDU6DF.mjs +0 -1
- package/dist/chunk-MMVDU6DF.mjs.map +0 -1
- package/dist/chunk-MRXNTQOX.mjs +0 -59
- package/dist/chunk-MRXNTQOX.mjs.map +0 -1
- package/dist/chunk-OQWEOBRX.mjs +0 -120
- package/dist/chunk-OQWEOBRX.mjs.map +0 -1
- package/dist/chunk-P34CL4LC.mjs +0 -82
- package/dist/chunk-P34CL4LC.mjs.map +0 -1
- package/dist/chunk-PF3QBO7V.mjs +0 -133
- package/dist/chunk-PF3QBO7V.mjs.map +0 -1
- package/dist/chunk-PLHTVHUW.mjs +0 -82
- package/dist/chunk-PLHTVHUW.mjs.map +0 -1
- package/dist/chunk-PP2A5RP6.mjs +0 -21
- package/dist/chunk-PP2A5RP6.mjs.map +0 -1
- package/dist/chunk-Q64GLWPQ.mjs +0 -30
- package/dist/chunk-Q64GLWPQ.mjs.map +0 -1
- package/dist/chunk-SC6JRFAJ.mjs +0 -1
- package/dist/chunk-SC6JRFAJ.mjs.map +0 -1
- package/dist/chunk-T26KLXLH.mjs +0 -1
- package/dist/chunk-T26KLXLH.mjs.map +0 -1
- package/dist/chunk-T4NNQG6T.mjs +0 -231
- package/dist/chunk-T4NNQG6T.mjs.map +0 -1
- package/dist/chunk-TGM5PKBF.mjs +0 -44
- package/dist/chunk-TGM5PKBF.mjs.map +0 -1
- package/dist/chunk-V7W6IM2V.mjs +0 -1
- package/dist/chunk-V7W6IM2V.mjs.map +0 -1
- package/dist/chunk-WB3YULQ4.mjs +0 -1
- package/dist/chunk-WB3YULQ4.mjs.map +0 -1
- package/dist/chunk-Y4FKRAKJ.mjs +0 -12
- package/dist/chunk-Y4FKRAKJ.mjs.map +0 -1
- package/dist/chunk-YDJ4YUUF.mjs +0 -141
- package/dist/chunk-YDJ4YUUF.mjs.map +0 -1
- package/dist/components/chat/Button.d.ts +0 -9
- package/dist/components/chat/Button.js +0 -73
- package/dist/components/chat/Button.js.map +0 -1
- package/dist/components/chat/Button.mjs +0 -10
- package/dist/components/chat/Button.mjs.map +0 -1
- package/dist/components/chat/Chat.d.ts +0 -204
- package/dist/components/chat/Chat.js +0 -2428
- package/dist/components/chat/Chat.js.map +0 -1
- package/dist/components/chat/Chat.mjs +0 -29
- package/dist/components/chat/Chat.mjs.map +0 -1
- package/dist/components/chat/ChatContext.d.ts +0 -145
- package/dist/components/chat/ChatContext.js +0 -383
- package/dist/components/chat/ChatContext.js.map +0 -1
- package/dist/components/chat/ChatContext.mjs +0 -13
- package/dist/components/chat/ChatContext.mjs.map +0 -1
- package/dist/components/chat/CodeBlock.d.ts +0 -14
- package/dist/components/chat/CodeBlock.js +0 -524
- package/dist/components/chat/CodeBlock.js.map +0 -1
- package/dist/components/chat/CodeBlock.mjs +0 -14
- package/dist/components/chat/CodeBlock.mjs.map +0 -1
- package/dist/components/chat/Header.d.ts +0 -9
- package/dist/components/chat/Header.js +0 -642
- package/dist/components/chat/Header.js.map +0 -1
- package/dist/components/chat/Header.mjs +0 -17
- package/dist/components/chat/Header.mjs.map +0 -1
- package/dist/components/chat/Icons.d.ts +0 -20
- package/dist/components/chat/Icons.js +0 -362
- package/dist/components/chat/Icons.js.map +0 -1
- package/dist/components/chat/Icons.mjs +0 -38
- package/dist/components/chat/Icons.mjs.map +0 -1
- package/dist/components/chat/ImageUploadQueue.d.ts +0 -13
- package/dist/components/chat/ImageUploadQueue.js +0 -106
- package/dist/components/chat/ImageUploadQueue.js.map +0 -1
- package/dist/components/chat/ImageUploadQueue.mjs +0 -8
- package/dist/components/chat/ImageUploadQueue.mjs.map +0 -1
- package/dist/components/chat/Input.d.ts +0 -9
- package/dist/components/chat/Input.js +0 -424
- package/dist/components/chat/Input.js.map +0 -1
- package/dist/components/chat/Input.mjs +0 -14
- package/dist/components/chat/Input.mjs.map +0 -1
- package/dist/components/chat/Markdown.d.ts +0 -10
- package/dist/components/chat/Markdown.js +0 -678
- package/dist/components/chat/Markdown.js.map +0 -1
- package/dist/components/chat/Markdown.mjs +0 -11
- package/dist/components/chat/Markdown.mjs.map +0 -1
- package/dist/components/chat/Messages.d.ts +0 -13
- package/dist/components/chat/Messages.js +0 -1242
- package/dist/components/chat/Messages.js.map +0 -1
- package/dist/components/chat/Messages.mjs +0 -20
- package/dist/components/chat/Messages.mjs.map +0 -1
- package/dist/components/chat/Modal.d.ts +0 -51
- package/dist/components/chat/Modal.js +0 -3294
- package/dist/components/chat/Modal.js.map +0 -1
- package/dist/components/chat/Modal.mjs +0 -38
- package/dist/components/chat/Modal.mjs.map +0 -1
- package/dist/components/chat/Popup.d.ts +0 -13
- package/dist/components/chat/Popup.js +0 -3305
- package/dist/components/chat/Popup.js.map +0 -1
- package/dist/components/chat/Popup.mjs +0 -39
- package/dist/components/chat/Popup.mjs.map +0 -1
- package/dist/components/chat/PoweredByTag.d.ts +0 -7
- package/dist/components/chat/PoweredByTag.js +0 -63
- package/dist/components/chat/PoweredByTag.js.map +0 -1
- package/dist/components/chat/PoweredByTag.mjs +0 -9
- package/dist/components/chat/PoweredByTag.mjs.map +0 -1
- package/dist/components/chat/Sidebar.d.ts +0 -13
- package/dist/components/chat/Sidebar.js +0 -3314
- package/dist/components/chat/Sidebar.js.map +0 -1
- package/dist/components/chat/Sidebar.mjs +0 -39
- package/dist/components/chat/Sidebar.mjs.map +0 -1
- package/dist/components/chat/Suggestion.d.ts +0 -12
- package/dist/components/chat/Suggestion.js +0 -68
- package/dist/components/chat/Suggestion.js.map +0 -1
- package/dist/components/chat/Suggestion.mjs +0 -9
- package/dist/components/chat/Suggestion.mjs.map +0 -1
- package/dist/components/chat/Suggestions.d.ts +0 -9
- package/dist/components/chat/Suggestions.js +0 -93
- package/dist/components/chat/Suggestions.js.map +0 -1
- package/dist/components/chat/Suggestions.mjs +0 -10
- package/dist/components/chat/Suggestions.mjs.map +0 -1
- package/dist/components/chat/Textarea.d.ts +0 -15
- package/dist/components/chat/Textarea.js +0 -87
- package/dist/components/chat/Textarea.js.map +0 -1
- package/dist/components/chat/Textarea.mjs +0 -8
- package/dist/components/chat/Textarea.mjs.map +0 -1
- package/dist/components/chat/Window.d.ts +0 -9
- package/dist/components/chat/Window.js +0 -166
- package/dist/components/chat/Window.js.map +0 -1
- package/dist/components/chat/Window.mjs +0 -10
- package/dist/components/chat/Window.mjs.map +0 -1
- package/dist/components/chat/index.d.ts +0 -18
- package/dist/components/chat/index.js +0 -3341
- package/dist/components/chat/index.js.map +0 -1
- package/dist/components/chat/index.mjs +0 -69
- package/dist/components/chat/index.mjs.map +0 -1
- package/dist/components/chat/messages/AssistantMessage.d.ts +0 -9
- package/dist/components/chat/messages/AssistantMessage.js +0 -807
- package/dist/components/chat/messages/AssistantMessage.js.map +0 -1
- package/dist/components/chat/messages/AssistantMessage.mjs +0 -13
- package/dist/components/chat/messages/AssistantMessage.mjs.map +0 -1
- package/dist/components/chat/messages/ErrorMessage.d.ts +0 -9
- package/dist/components/chat/messages/ErrorMessage.js +0 -756
- package/dist/components/chat/messages/ErrorMessage.js.map +0 -1
- package/dist/components/chat/messages/ErrorMessage.mjs +0 -72
- package/dist/components/chat/messages/ErrorMessage.mjs.map +0 -1
- package/dist/components/chat/messages/ImageRenderer.d.ts +0 -12
- package/dist/components/chat/messages/ImageRenderer.js +0 -68
- package/dist/components/chat/messages/ImageRenderer.js.map +0 -1
- package/dist/components/chat/messages/ImageRenderer.mjs +0 -8
- package/dist/components/chat/messages/ImageRenderer.mjs.map +0 -1
- package/dist/components/chat/messages/LegacyRenderMessage.d.ts +0 -28
- package/dist/components/chat/messages/LegacyRenderMessage.js +0 -1067
- package/dist/components/chat/messages/LegacyRenderMessage.js.map +0 -1
- package/dist/components/chat/messages/LegacyRenderMessage.mjs +0 -17
- package/dist/components/chat/messages/LegacyRenderMessage.mjs.map +0 -1
- package/dist/components/chat/messages/RenderMessage.d.ts +0 -9
- package/dist/components/chat/messages/RenderMessage.js +0 -942
- package/dist/components/chat/messages/RenderMessage.js.map +0 -1
- package/dist/components/chat/messages/RenderMessage.mjs +0 -16
- package/dist/components/chat/messages/RenderMessage.mjs.map +0 -1
- package/dist/components/chat/messages/UserMessage.d.ts +0 -9
- package/dist/components/chat/messages/UserMessage.js +0 -58
- package/dist/components/chat/messages/UserMessage.js.map +0 -1
- package/dist/components/chat/messages/UserMessage.mjs +0 -8
- package/dist/components/chat/messages/UserMessage.mjs.map +0 -1
- package/dist/components/chat/props.d.ts +0 -298
- package/dist/components/chat/props.js +0 -19
- package/dist/components/chat/props.js.map +0 -1
- package/dist/components/chat/props.mjs +0 -2
- package/dist/components/chat/props.mjs.map +0 -1
- package/dist/components/dev-console/console.d.ts +0 -11
- package/dist/components/dev-console/console.js +0 -595
- package/dist/components/dev-console/console.js.map +0 -1
- package/dist/components/dev-console/console.mjs +0 -17
- package/dist/components/dev-console/console.mjs.map +0 -1
- package/dist/components/dev-console/icons.d.ts +0 -9
- package/dist/components/dev-console/icons.js +0 -140
- package/dist/components/dev-console/icons.js.map +0 -1
- package/dist/components/dev-console/icons.mjs +0 -16
- package/dist/components/dev-console/icons.mjs.map +0 -1
- package/dist/components/dev-console/index.d.ts +0 -3
- package/dist/components/dev-console/index.js +0 -595
- package/dist/components/dev-console/index.js.map +0 -1
- package/dist/components/dev-console/index.mjs +0 -18
- package/dist/components/dev-console/index.mjs.map +0 -1
- package/dist/components/dev-console/types.d.ts +0 -9
- package/dist/components/dev-console/types.js +0 -19
- package/dist/components/dev-console/types.js.map +0 -1
- package/dist/components/dev-console/types.mjs +0 -1
- package/dist/components/dev-console/types.mjs.map +0 -1
- package/dist/components/dev-console/utils.d.ts +0 -10
- package/dist/components/dev-console/utils.js +0 -183
- package/dist/components/dev-console/utils.js.map +0 -1
- package/dist/components/dev-console/utils.mjs +0 -16
- package/dist/components/dev-console/utils.mjs.map +0 -1
- package/dist/components/help-modal/icons.d.ts +0 -9
- package/dist/components/help-modal/icons.js +0 -116
- package/dist/components/help-modal/icons.js.map +0 -1
- package/dist/components/help-modal/icons.mjs +0 -12
- package/dist/components/help-modal/icons.mjs.map +0 -1
- package/dist/components/help-modal/index.d.ts +0 -2
- package/dist/components/help-modal/index.js +0 -144
- package/dist/components/help-modal/index.js.map +0 -1
- package/dist/components/help-modal/index.mjs +0 -10
- package/dist/components/help-modal/index.mjs.map +0 -1
- package/dist/components/help-modal/modal.d.ts +0 -5
- package/dist/components/help-modal/modal.js +0 -142
- package/dist/components/help-modal/modal.js.map +0 -1
- package/dist/components/help-modal/modal.mjs +0 -9
- package/dist/components/help-modal/modal.mjs.map +0 -1
- package/dist/components/index.d.ts +0 -19
- package/dist/components/index.js +0 -3345
- package/dist/components/index.js.map +0 -1
- package/dist/components/index.mjs +0 -76
- package/dist/components/index.mjs.map +0 -1
- package/dist/context/index.d.ts +0 -2
- package/dist/context/index.js +0 -19
- package/dist/context/index.js.map +0 -1
- package/dist/context/index.mjs +0 -2
- package/dist/context/index.mjs.map +0 -1
- package/dist/hooks/index.d.ts +0 -2
- package/dist/hooks/index.js +0 -36
- package/dist/hooks/index.js.map +0 -1
- package/dist/hooks/index.mjs +0 -9
- package/dist/hooks/index.mjs.map +0 -1
- package/dist/hooks/use-copilot-chat-suggestions.d.ts +0 -66
- package/dist/hooks/use-copilot-chat-suggestions.js +0 -34
- package/dist/hooks/use-copilot-chat-suggestions.js.map +0 -1
- package/dist/hooks/use-copilot-chat-suggestions.mjs +0 -8
- package/dist/hooks/use-copilot-chat-suggestions.mjs.map +0 -1
- package/dist/hooks/use-copy-to-clipboard.d.ts +0 -9
- package/dist/hooks/use-copy-to-clipboard.js +0 -62
- package/dist/hooks/use-copy-to-clipboard.js.map +0 -1
- package/dist/hooks/use-copy-to-clipboard.mjs +0 -8
- package/dist/hooks/use-copy-to-clipboard.mjs.map +0 -1
- package/dist/hooks/use-dark-mode.d.ts +0 -3
- package/dist/hooks/use-dark-mode.js +0 -35
- package/dist/hooks/use-dark-mode.js.map +0 -1
- package/dist/hooks/use-dark-mode.mjs +0 -8
- package/dist/hooks/use-dark-mode.mjs.map +0 -1
- package/dist/hooks/use-push-to-talk.d.ts +0 -19
- package/dist/hooks/use-push-to-talk.js +0 -202
- package/dist/hooks/use-push-to-talk.js.map +0 -1
- package/dist/hooks/use-push-to-talk.mjs +0 -12
- package/dist/hooks/use-push-to-talk.mjs.map +0 -1
- package/dist/index.d.ts +0 -21
- package/dist/index.js +0 -3354
- package/dist/index.js.map +0 -1
- package/dist/lib/utils.d.ts +0 -4
- package/dist/lib/utils.js +0 -76
- package/dist/lib/utils.js.map +0 -1
- package/dist/lib/utils.mjs +0 -34
- package/dist/lib/utils.mjs.map +0 -1
- package/dist/types/css.d.ts +0 -22
- package/dist/types/css.js +0 -19
- package/dist/types/css.js.map +0 -1
- package/dist/types/css.mjs +0 -1
- package/dist/types/css.mjs.map +0 -1
- package/dist/types/index.d.ts +0 -3
- package/dist/types/index.js +0 -19
- package/dist/types/index.js.map +0 -1
- package/dist/types/index.mjs +0 -2
- package/dist/types/index.mjs.map +0 -1
- package/dist/types/suggestions.d.ts +0 -9
- package/dist/types/suggestions.js +0 -19
- package/dist/types/suggestions.js.map +0 -1
- package/dist/types/suggestions.mjs +0 -1
- package/dist/types/suggestions.mjs.map +0 -1
- package/dist/v2/index.css +0 -4
- package/dist/v2/index.css.map +0 -1
- package/dist/v2/index.d.ts +0 -2
- package/dist/v2/index.js +0 -2
- package/dist/v2/index.js.map +0 -1
- package/dist/v2/index.mjs +0 -2
- package/dist/v2/index.mjs.map +0 -1
- package/jest.config.js +0 -5
- package/rollup.config.mjs +0 -64
- package/tsup.config.ts +0 -15
package/dist/index.css
CHANGED
|
@@ -1,45 +1,82 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* IMPORTANT NOTE:
|
|
2
|
+
THE DARK AND LIGHT COLORS HERE ARE DUPLICATED BECAUSE NO REUSE METHOD POSSIBLE.
|
|
3
|
+
WHEN MAKING ANY CHANGE, MAKE SURE TO INCLUDE IT IN ALL DUPLICATIONS.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/* BASE LIGHT THEME */
|
|
2
7
|
:root {
|
|
8
|
+
/* Semantic color tokens */
|
|
9
|
+
/* Main brand/action color - used for buttons, interactive elements */
|
|
3
10
|
--copilot-kit-primary-color: rgb(28, 28, 28);
|
|
11
|
+
/* Color that contrasts with primary - used for text on primary elements */
|
|
4
12
|
--copilot-kit-contrast-color: rgb(255, 255, 255);
|
|
13
|
+
/* Main page/container background color */
|
|
5
14
|
--copilot-kit-background-color: rgb(255 255 255);
|
|
15
|
+
/* Input box background color */
|
|
6
16
|
--copilot-kit-input-background-color: #fbfbfb;
|
|
17
|
+
/* Secondary background - used for cards, panels, elevated surfaces */
|
|
7
18
|
--copilot-kit-secondary-color: rgb(255 255 255);
|
|
19
|
+
/* Primary text color for main content */
|
|
8
20
|
--copilot-kit-secondary-contrast-color: rgb(28, 28, 28);
|
|
21
|
+
/* Border color for dividers and containers */
|
|
9
22
|
--copilot-kit-separator-color: rgb(200 200 200);
|
|
23
|
+
/* Muted color for disabled/inactive states */
|
|
10
24
|
--copilot-kit-muted-color: rgb(200 200 200);
|
|
25
|
+
|
|
26
|
+
/* Error colors */
|
|
11
27
|
--copilot-kit-error-background: #fef2f2;
|
|
12
28
|
--copilot-kit-error-border: #fecaca;
|
|
13
29
|
--copilot-kit-error-text: #dc2626;
|
|
30
|
+
|
|
31
|
+
/* Shadow tokens */
|
|
32
|
+
/* Small shadow for subtle elevation */
|
|
14
33
|
--copilot-kit-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
34
|
+
/* Medium shadow for cards */
|
|
15
35
|
--copilot-kit-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
36
|
+
/* Large shadow for modals */
|
|
16
37
|
--copilot-kit-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
|
38
|
+
|
|
17
39
|
--copilot-kit-dev-console-bg: #f8f8fa;
|
|
18
40
|
--copilot-kit-dev-console-text: black;
|
|
19
41
|
}
|
|
42
|
+
|
|
43
|
+
/* BASE DARK THEME */
|
|
20
44
|
.dark,
|
|
21
45
|
html.dark,
|
|
22
46
|
body.dark,
|
|
23
|
-
[data-theme=dark],
|
|
47
|
+
[data-theme="dark"],
|
|
24
48
|
html[style*="color-scheme: dark"],
|
|
25
49
|
body[style*="color-scheme: dark"] :root {
|
|
50
|
+
/* Main brand/action color - used for buttons, interactive elements */
|
|
26
51
|
--copilot-kit-primary-color: rgb(255, 255, 255);
|
|
52
|
+
/* Color that contrasts with primary - used for text on primary elements */
|
|
27
53
|
--copilot-kit-contrast-color: rgb(28, 28, 28);
|
|
54
|
+
/* Main page/container background color */
|
|
28
55
|
--copilot-kit-background-color: rgb(17, 17, 17);
|
|
56
|
+
/* Input box background color */
|
|
29
57
|
--copilot-kit-input-background-color: #2c2c2c;
|
|
58
|
+
/* Secondary background - used for cards, panels, elevated surfaces */
|
|
30
59
|
--copilot-kit-secondary-color: rgb(28, 28, 28);
|
|
60
|
+
/* Primary text color for main content */
|
|
31
61
|
--copilot-kit-secondary-contrast-color: rgb(255, 255, 255);
|
|
62
|
+
/* Border color for dividers and containers */
|
|
32
63
|
--copilot-kit-separator-color: rgb(45, 45, 45);
|
|
64
|
+
/* Muted color for disabled/inactive states */
|
|
33
65
|
--copilot-kit-muted-color: rgb(45, 45, 45);
|
|
66
|
+
|
|
67
|
+
/* Error colors */
|
|
34
68
|
--copilot-kit-error-background: #7f1d1d;
|
|
35
69
|
--copilot-kit-error-border: #dc2626;
|
|
36
70
|
--copilot-kit-error-text: #fca5a5;
|
|
71
|
+
|
|
72
|
+
/* Small shadow for subtle elevation */
|
|
37
73
|
--copilot-kit-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
|
|
74
|
+
/* Medium shadow for cards */
|
|
38
75
|
--copilot-kit-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
|
|
76
|
+
/* Large shadow for modals */
|
|
39
77
|
--copilot-kit-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
|
|
40
78
|
}
|
|
41
79
|
|
|
42
|
-
/* src/css/popup.css */
|
|
43
80
|
.copilotKitPopup {
|
|
44
81
|
position: fixed;
|
|
45
82
|
bottom: 1rem;
|
|
@@ -50,31 +87,19 @@ body[style*="color-scheme: dark"] :root {
|
|
|
50
87
|
-moz-tab-size: 4;
|
|
51
88
|
-o-tab-size: 4;
|
|
52
89
|
tab-size: 4;
|
|
53
|
-
font-family:
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
-apple-system,
|
|
57
|
-
BlinkMacSystemFont,
|
|
58
|
-
"Segoe UI",
|
|
59
|
-
Roboto,
|
|
60
|
-
"Helvetica Neue",
|
|
61
|
-
Arial,
|
|
62
|
-
"Noto Sans",
|
|
63
|
-
sans-serif,
|
|
64
|
-
"Apple Color Emoji",
|
|
65
|
-
"Segoe UI Emoji",
|
|
66
|
-
"Segoe UI Symbol",
|
|
67
|
-
"Noto Color Emoji";
|
|
90
|
+
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
|
91
|
+
"Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
|
92
|
+
"Segoe UI Symbol", "Noto Color Emoji";
|
|
68
93
|
font-feature-settings: normal;
|
|
69
94
|
font-variation-settings: normal;
|
|
70
95
|
touch-action: manipulation;
|
|
71
96
|
}
|
|
97
|
+
|
|
72
98
|
.copilotKitPopup svg {
|
|
73
99
|
display: inline-block;
|
|
74
100
|
vertical-align: middle;
|
|
75
101
|
}
|
|
76
102
|
|
|
77
|
-
/* src/css/sidebar.css */
|
|
78
103
|
.copilotKitSidebar {
|
|
79
104
|
position: fixed;
|
|
80
105
|
bottom: 1rem;
|
|
@@ -85,41 +110,31 @@ body[style*="color-scheme: dark"] :root {
|
|
|
85
110
|
-moz-tab-size: 4;
|
|
86
111
|
-o-tab-size: 4;
|
|
87
112
|
tab-size: 4;
|
|
88
|
-
font-family:
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
-apple-system,
|
|
92
|
-
BlinkMacSystemFont,
|
|
93
|
-
"Segoe UI",
|
|
94
|
-
Roboto,
|
|
95
|
-
"Helvetica Neue",
|
|
96
|
-
Arial,
|
|
97
|
-
"Noto Sans",
|
|
98
|
-
sans-serif,
|
|
99
|
-
"Apple Color Emoji",
|
|
100
|
-
"Segoe UI Emoji",
|
|
101
|
-
"Segoe UI Symbol",
|
|
102
|
-
"Noto Color Emoji";
|
|
113
|
+
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
|
114
|
+
"Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
|
115
|
+
"Segoe UI Symbol", "Noto Color Emoji";
|
|
103
116
|
font-feature-settings: normal;
|
|
104
117
|
font-variation-settings: normal;
|
|
105
118
|
touch-action: manipulation;
|
|
106
119
|
}
|
|
120
|
+
|
|
107
121
|
.copilotKitSidebar svg {
|
|
108
122
|
display: inline-block;
|
|
109
123
|
vertical-align: middle;
|
|
110
124
|
}
|
|
125
|
+
|
|
111
126
|
.copilotKitSidebarContentWrapper {
|
|
112
127
|
overflow: visible;
|
|
113
128
|
margin-right: 0px;
|
|
114
129
|
transition: margin-right 0.3s ease;
|
|
115
130
|
}
|
|
131
|
+
|
|
116
132
|
@media (min-width: 640px) {
|
|
117
133
|
.copilotKitSidebarContentWrapper.sidebarExpanded {
|
|
118
134
|
margin-right: 28rem;
|
|
119
135
|
}
|
|
120
136
|
}
|
|
121
137
|
|
|
122
|
-
/* src/css/button.css */
|
|
123
138
|
.copilotKitButton {
|
|
124
139
|
width: 3.5rem;
|
|
125
140
|
height: 3.5rem;
|
|
@@ -137,16 +152,21 @@ body[style*="color-scheme: dark"] :root {
|
|
|
137
152
|
cursor: pointer;
|
|
138
153
|
box-shadow: var(--copilot-kit-shadow-sm);
|
|
139
154
|
}
|
|
155
|
+
|
|
140
156
|
.copilotKitButton:hover {
|
|
141
157
|
transform: scale(1.05);
|
|
142
158
|
box-shadow: var(--copilot-kit-shadow-md);
|
|
143
159
|
}
|
|
160
|
+
|
|
144
161
|
.copilotKitButton:active {
|
|
145
162
|
transform: scale(0.95);
|
|
146
163
|
box-shadow: var(--copilot-kit-shadow-sm);
|
|
147
164
|
}
|
|
165
|
+
|
|
148
166
|
.copilotKitButtonIcon {
|
|
149
|
-
transition:
|
|
167
|
+
transition:
|
|
168
|
+
opacity 100ms,
|
|
169
|
+
transform 300ms;
|
|
150
170
|
position: absolute;
|
|
151
171
|
top: 50%;
|
|
152
172
|
left: 50%;
|
|
@@ -155,28 +175,34 @@ body[style*="color-scheme: dark"] :root {
|
|
|
155
175
|
align-items: center;
|
|
156
176
|
justify-content: center;
|
|
157
177
|
}
|
|
178
|
+
|
|
158
179
|
.copilotKitButtonIcon svg {
|
|
159
180
|
width: 1.5rem;
|
|
160
181
|
height: 1.5rem;
|
|
161
182
|
}
|
|
183
|
+
|
|
184
|
+
/* State when the chat is open */
|
|
162
185
|
.copilotKitButton.open .copilotKitButtonIconOpen {
|
|
163
186
|
transform: translate(-50%, -50%) scale(0) rotate(90deg);
|
|
164
187
|
opacity: 0;
|
|
165
188
|
}
|
|
189
|
+
|
|
166
190
|
.copilotKitButton.open .copilotKitButtonIconClose {
|
|
167
191
|
transform: translate(-50%, -50%) scale(1) rotate(0deg);
|
|
168
192
|
opacity: 1;
|
|
169
193
|
}
|
|
194
|
+
|
|
195
|
+
/* State when the chat is closed */
|
|
170
196
|
.copilotKitButton:not(.open) .copilotKitButtonIconOpen {
|
|
171
197
|
transform: translate(-50%, -50%) scale(1) rotate(0deg);
|
|
172
198
|
opacity: 1;
|
|
173
199
|
}
|
|
200
|
+
|
|
174
201
|
.copilotKitButton:not(.open) .copilotKitButtonIconClose {
|
|
175
202
|
transform: translate(-50%, -50%) scale(0) rotate(-90deg);
|
|
176
203
|
opacity: 0;
|
|
177
204
|
}
|
|
178
205
|
|
|
179
|
-
/* src/css/header.css */
|
|
180
206
|
.copilotKitHeader {
|
|
181
207
|
height: 56px;
|
|
182
208
|
font-weight: 500;
|
|
@@ -192,16 +218,20 @@ body[style*="color-scheme: dark"] :root {
|
|
|
192
218
|
justify-content: space-between;
|
|
193
219
|
z-index: 2;
|
|
194
220
|
}
|
|
221
|
+
|
|
195
222
|
.copilotKitSidebar .copilotKitHeader {
|
|
196
223
|
border-radius: 0;
|
|
197
224
|
}
|
|
225
|
+
|
|
198
226
|
.copilotKitHeaderControls {
|
|
199
227
|
display: flex;
|
|
200
228
|
}
|
|
229
|
+
|
|
201
230
|
.copilotKitHeaderCloseButton {
|
|
202
231
|
background: none;
|
|
203
232
|
border: none;
|
|
204
233
|
}
|
|
234
|
+
|
|
205
235
|
@media (min-width: 640px) {
|
|
206
236
|
.copilotKitHeader {
|
|
207
237
|
padding-left: 1.5rem;
|
|
@@ -210,6 +240,7 @@ body[style*="color-scheme: dark"] :root {
|
|
|
210
240
|
border-top-right-radius: 8px;
|
|
211
241
|
}
|
|
212
242
|
}
|
|
243
|
+
|
|
213
244
|
.copilotKitHeader > button {
|
|
214
245
|
border: 0;
|
|
215
246
|
padding: 8px;
|
|
@@ -229,14 +260,15 @@ body[style*="color-scheme: dark"] :root {
|
|
|
229
260
|
width: 35px;
|
|
230
261
|
height: 35px;
|
|
231
262
|
}
|
|
263
|
+
|
|
232
264
|
.copilotKitHeader > button:hover {
|
|
233
265
|
color: color-mix(in srgb, var(--copilot-kit-muted-color) 80%, black);
|
|
234
266
|
}
|
|
267
|
+
|
|
235
268
|
.copilotKitHeader > button:focus {
|
|
236
269
|
outline: none;
|
|
237
270
|
}
|
|
238
271
|
|
|
239
|
-
/* src/css/input.css */
|
|
240
272
|
.copilotKitInput {
|
|
241
273
|
cursor: text;
|
|
242
274
|
position: relative;
|
|
@@ -248,6 +280,7 @@ body[style*="color-scheme: dark"] :root {
|
|
|
248
280
|
margin: 0 auto;
|
|
249
281
|
width: 95%;
|
|
250
282
|
}
|
|
283
|
+
|
|
251
284
|
.copilotKitInputContainer {
|
|
252
285
|
width: 100%;
|
|
253
286
|
padding: 0;
|
|
@@ -256,10 +289,12 @@ body[style*="color-scheme: dark"] :root {
|
|
|
256
289
|
border-bottom-left-radius: 0.75rem;
|
|
257
290
|
border-bottom-right-radius: 0.75rem;
|
|
258
291
|
}
|
|
292
|
+
|
|
259
293
|
.copilotKitSidebar .copilotKitInputContainer {
|
|
260
294
|
border-bottom-left-radius: 0;
|
|
261
295
|
border-bottom-right-radius: 0;
|
|
262
296
|
}
|
|
297
|
+
|
|
263
298
|
.copilotKitInputControlButton {
|
|
264
299
|
padding: 0;
|
|
265
300
|
cursor: pointer;
|
|
@@ -286,23 +321,28 @@ body[style*="color-scheme: dark"] :root {
|
|
|
286
321
|
width: 24px;
|
|
287
322
|
height: 24px;
|
|
288
323
|
}
|
|
324
|
+
|
|
289
325
|
.copilotKitInputControlButton:not([disabled]) {
|
|
290
326
|
color: var(--copilot-kit-primary-color);
|
|
291
327
|
}
|
|
328
|
+
|
|
292
329
|
.copilotKitInputControlButton:not([disabled]):hover {
|
|
293
330
|
color: color-mix(in srgb, var(--copilot-kit-primary-color) 80%, black);
|
|
294
331
|
transform: scale(1.05);
|
|
295
332
|
}
|
|
333
|
+
|
|
296
334
|
.copilotKitInputControlButton[disabled] {
|
|
297
335
|
color: var(--copilot-kit-muted-color);
|
|
298
336
|
cursor: default;
|
|
299
337
|
}
|
|
338
|
+
|
|
300
339
|
.copilotKitInputControls {
|
|
301
340
|
display: flex;
|
|
302
341
|
gap: 3px;
|
|
303
342
|
}
|
|
343
|
+
|
|
304
344
|
.copilotKitInput > textarea {
|
|
305
|
-
flex: 1;
|
|
345
|
+
flex: 1; /* Allow textarea to take up remaining space */
|
|
306
346
|
outline: 2px solid transparent;
|
|
307
347
|
outline-offset: 2px;
|
|
308
348
|
resize: none;
|
|
@@ -322,35 +362,44 @@ body[style*="color-scheme: dark"] :root {
|
|
|
322
362
|
background-color: transparent;
|
|
323
363
|
width: 100%;
|
|
324
364
|
}
|
|
365
|
+
|
|
325
366
|
.copilotKitInput > textarea::placeholder {
|
|
326
367
|
color: #808080;
|
|
327
368
|
opacity: 1;
|
|
328
369
|
}
|
|
370
|
+
|
|
329
371
|
.copilotKitInputControlButton.copilotKitPushToTalkRecording {
|
|
330
372
|
background-color: #ec0000;
|
|
331
373
|
color: white;
|
|
332
374
|
border-radius: 50%;
|
|
333
375
|
animation: copilotKitPulseAnimation 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
334
376
|
}
|
|
377
|
+
|
|
378
|
+
/* Scrollbar styles */
|
|
335
379
|
.copilotKitInput textarea::-webkit-scrollbar {
|
|
336
|
-
width: 9px;
|
|
380
|
+
width: 9px; /* Width of the entire scrollbar */
|
|
337
381
|
}
|
|
382
|
+
|
|
338
383
|
.copilotKitInput textarea::-webkit-scrollbar-track {
|
|
339
|
-
background: transparent;
|
|
384
|
+
background: transparent; /* Color of the tracking area */
|
|
340
385
|
}
|
|
386
|
+
|
|
341
387
|
.copilotKitInput textarea::-webkit-scrollbar-thumb {
|
|
342
|
-
background-color: rgb(200 200 200);
|
|
343
|
-
border-radius: 10px;
|
|
344
|
-
border: 2px solid transparent;
|
|
388
|
+
background-color: rgb(200 200 200); /* Color of the scroll thumb */
|
|
389
|
+
border-radius: 10px; /* Roundness of the scroll thumb */
|
|
390
|
+
border: 2px solid transparent; /* Creates padding around scroll thumb */
|
|
345
391
|
background-clip: content-box;
|
|
346
392
|
cursor: pointer;
|
|
347
393
|
}
|
|
394
|
+
|
|
348
395
|
.copilotKitInput textarea::-webkit-scrollbar-thumb:hover {
|
|
349
|
-
background-color: color-mix(in srgb, rgb(200 200 200) 80%, black);
|
|
396
|
+
background-color: color-mix(in srgb, rgb(200 200 200) 80%, black); /* Darker color on hover */
|
|
350
397
|
}
|
|
398
|
+
|
|
351
399
|
.poweredByContainer {
|
|
352
400
|
padding: 0;
|
|
353
401
|
}
|
|
402
|
+
|
|
354
403
|
.poweredBy {
|
|
355
404
|
background: var(--copilot-kit-background-color) !important;
|
|
356
405
|
visibility: visible !important;
|
|
@@ -362,16 +411,17 @@ body[style*="color-scheme: dark"] :root {
|
|
|
362
411
|
color: rgb(214, 214, 214) !important;
|
|
363
412
|
margin: 0 !important;
|
|
364
413
|
}
|
|
414
|
+
|
|
365
415
|
.dark,
|
|
366
416
|
html.dark,
|
|
367
417
|
body.dark,
|
|
368
|
-
[data-theme=dark],
|
|
418
|
+
[data-theme="dark"],
|
|
369
419
|
html[style*="color-scheme: dark"],
|
|
370
420
|
body[style*="color-scheme: dark"] .poweredBy {
|
|
371
421
|
color: rgb(69, 69, 69) !important;
|
|
372
422
|
}
|
|
373
423
|
|
|
374
|
-
|
|
424
|
+
|
|
375
425
|
.copilotKitMessages {
|
|
376
426
|
overflow-y: scroll;
|
|
377
427
|
flex: 1;
|
|
@@ -382,11 +432,13 @@ body[style*="color-scheme: dark"] .poweredBy {
|
|
|
382
432
|
justify-content: space-between;
|
|
383
433
|
z-index: 1;
|
|
384
434
|
}
|
|
435
|
+
|
|
385
436
|
.copilotKitMessagesContainer {
|
|
386
437
|
padding: 1rem 24px;
|
|
387
438
|
display: flex;
|
|
388
439
|
flex-direction: column;
|
|
389
440
|
}
|
|
441
|
+
|
|
390
442
|
.copilotKitMessagesFooter {
|
|
391
443
|
display: flex;
|
|
392
444
|
padding: 0.5rem 0.75rem;
|
|
@@ -395,20 +447,25 @@ body[style*="color-scheme: dark"] .poweredBy {
|
|
|
395
447
|
flex-direction: column;
|
|
396
448
|
width: 97%;
|
|
397
449
|
}
|
|
450
|
+
|
|
398
451
|
.copilotKitMessages::-webkit-scrollbar {
|
|
399
452
|
width: 6px;
|
|
400
453
|
}
|
|
454
|
+
|
|
401
455
|
.copilotKitMessages::-webkit-scrollbar-thumb {
|
|
402
456
|
background-color: var(--copilot-kit-separator-color);
|
|
403
457
|
border-radius: 10rem;
|
|
404
458
|
border: 2px solid var(--copilot-kit-background-color);
|
|
405
459
|
}
|
|
460
|
+
|
|
406
461
|
.copilotKitMessages::-webkit-scrollbar-track-piece:start {
|
|
407
462
|
background: transparent;
|
|
408
463
|
}
|
|
464
|
+
|
|
409
465
|
.copilotKitMessages::-webkit-scrollbar-track-piece:end {
|
|
410
466
|
background: transparent;
|
|
411
467
|
}
|
|
468
|
+
|
|
412
469
|
.copilotKitMessage {
|
|
413
470
|
border-radius: 15px;
|
|
414
471
|
padding: 8px 12px;
|
|
@@ -418,6 +475,7 @@ body[style*="color-scheme: dark"] .poweredBy {
|
|
|
418
475
|
max-width: 80%;
|
|
419
476
|
margin-bottom: 0.5rem;
|
|
420
477
|
}
|
|
478
|
+
|
|
421
479
|
.copilotKitMessage.copilotKitUserMessage {
|
|
422
480
|
background: var(--copilot-kit-primary-color);
|
|
423
481
|
color: var(--copilot-kit-contrast-color);
|
|
@@ -426,6 +484,7 @@ body[style*="color-scheme: dark"] .poweredBy {
|
|
|
426
484
|
line-height: 1.75;
|
|
427
485
|
font-size: 1rem;
|
|
428
486
|
}
|
|
487
|
+
|
|
429
488
|
.copilotKitMessage.copilotKitAssistantMessage {
|
|
430
489
|
background: transparent;
|
|
431
490
|
margin-right: auto;
|
|
@@ -434,6 +493,7 @@ body[style*="color-scheme: dark"] .poweredBy {
|
|
|
434
493
|
max-width: 100%;
|
|
435
494
|
color: var(--copilot-kit-secondary-contrast-color);
|
|
436
495
|
}
|
|
496
|
+
|
|
437
497
|
.copilotKitMessage.copilotKitAssistantMessage .copilotKitMessageControls {
|
|
438
498
|
position: absolute;
|
|
439
499
|
left: 0;
|
|
@@ -443,17 +503,22 @@ body[style*="color-scheme: dark"] .poweredBy {
|
|
|
443
503
|
transition: opacity 0.2s ease;
|
|
444
504
|
padding: 5px 0 0 0;
|
|
445
505
|
}
|
|
506
|
+
|
|
446
507
|
.copilotKitMessageControls.currentMessage {
|
|
447
508
|
opacity: 1 !important;
|
|
448
509
|
}
|
|
510
|
+
|
|
449
511
|
.copilotKitMessage.copilotKitAssistantMessage:hover .copilotKitMessageControls {
|
|
450
512
|
opacity: 1;
|
|
451
513
|
}
|
|
514
|
+
|
|
515
|
+
/* Always show controls on mobile */
|
|
452
516
|
@media (max-width: 768px) {
|
|
453
517
|
.copilotKitMessage.copilotKitAssistantMessage .copilotKitMessageControls {
|
|
454
518
|
opacity: 1;
|
|
455
519
|
}
|
|
456
520
|
}
|
|
521
|
+
|
|
457
522
|
.copilotKitMessageControlButton {
|
|
458
523
|
width: 20px;
|
|
459
524
|
height: 20px;
|
|
@@ -470,39 +535,48 @@ body[style*="color-scheme: dark"] .poweredBy {
|
|
|
470
535
|
background: transparent;
|
|
471
536
|
border: none;
|
|
472
537
|
}
|
|
538
|
+
|
|
473
539
|
.copilotKitMessageControlButton:hover {
|
|
474
540
|
color: color-mix(in srgb, var(--copilot-kit-primary-color) 80%, black);
|
|
475
541
|
transform: scale(1.05);
|
|
476
542
|
}
|
|
543
|
+
|
|
477
544
|
.copilotKitMessageControlButton:active {
|
|
478
545
|
color: color-mix(in srgb, var(--copilot-kit-primary-color) 80%, black);
|
|
479
546
|
transform: scale(1.05);
|
|
480
547
|
}
|
|
548
|
+
|
|
481
549
|
.copilotKitMessageControlButton.active {
|
|
482
550
|
background-color: var(--copilot-kit-primary-color);
|
|
483
551
|
color: var(--copilot-kit-contrast-color);
|
|
484
552
|
}
|
|
553
|
+
|
|
485
554
|
.copilotKitMessageControlButton.active:hover {
|
|
486
555
|
background-color: color-mix(in srgb, var(--copilot-kit-primary-color) 90%, black);
|
|
487
556
|
color: var(--copilot-kit-contrast-color);
|
|
488
557
|
}
|
|
558
|
+
|
|
489
559
|
.copilotKitMessageControlButton svg {
|
|
490
560
|
width: 1rem;
|
|
491
561
|
height: 1rem;
|
|
492
562
|
display: block;
|
|
493
563
|
pointer-events: none;
|
|
494
564
|
}
|
|
565
|
+
|
|
495
566
|
.copilotKitMessage.copilotKitAssistantMessage + .copilotKitMessage.copilotKitUserMessage {
|
|
496
567
|
margin-top: 1.5rem;
|
|
497
568
|
}
|
|
569
|
+
|
|
498
570
|
.copilotKitCustomAssistantMessage {
|
|
499
571
|
margin-top: 1.5rem;
|
|
500
572
|
margin-bottom: 1.5rem;
|
|
501
573
|
}
|
|
574
|
+
|
|
502
575
|
.copilotKitMessage .inProgressLabel {
|
|
503
576
|
margin-left: 10px;
|
|
504
577
|
opacity: 0.7;
|
|
505
578
|
}
|
|
579
|
+
|
|
506
580
|
@keyframes copilotKitSpinAnimation {
|
|
507
581
|
0% {
|
|
508
582
|
transform: rotate(0deg);
|
|
@@ -511,6 +585,7 @@ body[style*="color-scheme: dark"] .poweredBy {
|
|
|
511
585
|
transform: rotate(360deg);
|
|
512
586
|
}
|
|
513
587
|
}
|
|
588
|
+
|
|
514
589
|
.copilotKitSpinner {
|
|
515
590
|
display: inline-block;
|
|
516
591
|
width: 16px;
|
|
@@ -520,6 +595,7 @@ body[style*="color-scheme: dark"] .poweredBy {
|
|
|
520
595
|
border-top-color: var(--copilot-kit-primary-color);
|
|
521
596
|
animation: copilotKitSpinAnimation 1s linear infinite;
|
|
522
597
|
}
|
|
598
|
+
|
|
523
599
|
@keyframes copilotKitActivityDotAnimation {
|
|
524
600
|
0%, 80%, 100% {
|
|
525
601
|
transform: scale(0.5);
|
|
@@ -530,6 +606,7 @@ body[style*="color-scheme: dark"] .poweredBy {
|
|
|
530
606
|
opacity: 1;
|
|
531
607
|
}
|
|
532
608
|
}
|
|
609
|
+
|
|
533
610
|
.copilotKitActivityDot {
|
|
534
611
|
display: inline-block;
|
|
535
612
|
width: 6px;
|
|
@@ -538,17 +615,21 @@ body[style*="color-scheme: dark"] .poweredBy {
|
|
|
538
615
|
background-color: var(--copilot-kit-primary-color);
|
|
539
616
|
animation: copilotKitActivityDotAnimation 1.4s infinite ease-in-out both;
|
|
540
617
|
}
|
|
618
|
+
|
|
619
|
+
/* Image Rendering Styles */
|
|
541
620
|
.copilotKitImageRendering {
|
|
542
621
|
display: flex;
|
|
543
622
|
flex-direction: column;
|
|
544
623
|
gap: 8px;
|
|
545
624
|
}
|
|
625
|
+
|
|
546
626
|
.copilotKitImageRenderingImage {
|
|
547
627
|
max-width: 100%;
|
|
548
628
|
height: auto;
|
|
549
629
|
border-radius: 8px;
|
|
550
630
|
box-shadow: var(--copilot-kit-shadow-sm);
|
|
551
631
|
}
|
|
632
|
+
|
|
552
633
|
.copilotKitImageRenderingContent {
|
|
553
634
|
margin-top: 8px;
|
|
554
635
|
padding: 0 16px;
|
|
@@ -556,6 +637,8 @@ body[style*="color-scheme: dark"] .poweredBy {
|
|
|
556
637
|
line-height: 1.5;
|
|
557
638
|
color: var(--copilot-kit-secondary-contrast-color);
|
|
558
639
|
}
|
|
640
|
+
|
|
641
|
+
/* Image Error State Styles */
|
|
559
642
|
.copilotKitImageRenderingError {
|
|
560
643
|
display: flex;
|
|
561
644
|
flex-direction: column;
|
|
@@ -565,6 +648,7 @@ body[style*="color-scheme: dark"] .poweredBy {
|
|
|
565
648
|
border-radius: 8px;
|
|
566
649
|
background-color: var(--copilot-kit-input-background-color);
|
|
567
650
|
}
|
|
651
|
+
|
|
568
652
|
.copilotKitImageRenderingErrorMessage {
|
|
569
653
|
display: flex;
|
|
570
654
|
align-items: center;
|
|
@@ -577,12 +661,11 @@ body[style*="color-scheme: dark"] .poweredBy {
|
|
|
577
661
|
font-size: 0.875rem;
|
|
578
662
|
font-weight: 500;
|
|
579
663
|
}
|
|
664
|
+
|
|
580
665
|
.copilotKitImageRenderingErrorMessage::before {
|
|
581
|
-
content: "
|
|
666
|
+
content: "⚠️";
|
|
582
667
|
font-size: 1rem;
|
|
583
668
|
}
|
|
584
|
-
|
|
585
|
-
/* src/css/window.css */
|
|
586
669
|
.copilotKitWindow {
|
|
587
670
|
position: fixed;
|
|
588
671
|
inset: 0px;
|
|
@@ -592,25 +675,31 @@ body[style*="color-scheme: dark"] .poweredBy {
|
|
|
592
675
|
border-radius: 0.75rem;
|
|
593
676
|
box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
|
|
594
677
|
flex-direction: column;
|
|
595
|
-
transition:
|
|
678
|
+
transition:
|
|
679
|
+
opacity 100ms ease-out,
|
|
680
|
+
transform 200ms ease-out;
|
|
596
681
|
opacity: 0;
|
|
597
682
|
transform: scale(0.95) translateY(20px);
|
|
598
683
|
display: flex;
|
|
599
684
|
pointer-events: none;
|
|
600
685
|
}
|
|
686
|
+
|
|
601
687
|
.copilotKitSidebar .copilotKitWindow {
|
|
602
688
|
border-radius: 0;
|
|
603
689
|
opacity: 1;
|
|
604
690
|
transform: translateX(100%);
|
|
605
691
|
}
|
|
692
|
+
|
|
606
693
|
.copilotKitWindow.open {
|
|
607
694
|
opacity: 1;
|
|
608
695
|
transform: scale(1) translateY(0);
|
|
609
696
|
pointer-events: auto;
|
|
610
697
|
}
|
|
698
|
+
|
|
611
699
|
.copilotKitSidebar .copilotKitWindow.open {
|
|
612
700
|
transform: translateX(0);
|
|
613
701
|
}
|
|
702
|
+
|
|
614
703
|
@media (min-width: 640px) {
|
|
615
704
|
.copilotKitWindow {
|
|
616
705
|
transform-origin: bottom right;
|
|
@@ -625,6 +714,7 @@ body[style*="color-scheme: dark"] .poweredBy {
|
|
|
625
714
|
min-height: 200px;
|
|
626
715
|
max-height: calc(100% - 6rem);
|
|
627
716
|
}
|
|
717
|
+
|
|
628
718
|
.copilotKitSidebar .copilotKitWindow {
|
|
629
719
|
bottom: 0;
|
|
630
720
|
right: 0;
|
|
@@ -637,7 +727,6 @@ body[style*="color-scheme: dark"] .poweredBy {
|
|
|
637
727
|
}
|
|
638
728
|
}
|
|
639
729
|
|
|
640
|
-
/* src/css/animations.css */
|
|
641
730
|
.copilotKitActivityDot1 {
|
|
642
731
|
animation: copilotKitActivityDotsAnimation 1.05s infinite;
|
|
643
732
|
}
|
|
@@ -648,7 +737,8 @@ body[style*="color-scheme: dark"] .poweredBy {
|
|
|
648
737
|
animation-delay: 0.2s;
|
|
649
738
|
}
|
|
650
739
|
@keyframes copilotKitActivityDotsAnimation {
|
|
651
|
-
0%,
|
|
740
|
+
0%,
|
|
741
|
+
57.14% {
|
|
652
742
|
animation-timing-function: cubic-bezier(0.33, 0.66, 0.66, 1);
|
|
653
743
|
transform: translate(0);
|
|
654
744
|
}
|
|
@@ -660,18 +750,19 @@ body[style*="color-scheme: dark"] .poweredBy {
|
|
|
660
750
|
transform: translate(0);
|
|
661
751
|
}
|
|
662
752
|
}
|
|
753
|
+
|
|
663
754
|
@keyframes copilotKitSpinAnimation {
|
|
664
755
|
to {
|
|
665
756
|
transform: rotate(360deg);
|
|
666
757
|
}
|
|
667
758
|
}
|
|
759
|
+
|
|
668
760
|
@keyframes copilotKitPulseAnimation {
|
|
669
761
|
50% {
|
|
670
762
|
opacity: 0.5;
|
|
671
763
|
}
|
|
672
764
|
}
|
|
673
765
|
|
|
674
|
-
/* src/css/markdown.css */
|
|
675
766
|
h1.copilotKitMarkdownElement,
|
|
676
767
|
h2.copilotKitMarkdownElement,
|
|
677
768
|
h3.copilotKitMarkdownElement,
|
|
@@ -681,6 +772,7 @@ h6.copilotKitMarkdownElement {
|
|
|
681
772
|
font-weight: bold;
|
|
682
773
|
line-height: 1.2;
|
|
683
774
|
}
|
|
775
|
+
|
|
684
776
|
h1.copilotKitMarkdownElement:not(:last-child),
|
|
685
777
|
h2.copilotKitMarkdownElement:not(:last-child),
|
|
686
778
|
h3.copilotKitMarkdownElement:not(:last-child),
|
|
@@ -689,35 +781,44 @@ h5.copilotKitMarkdownElement:not(:last-child),
|
|
|
689
781
|
h6.copilotKitMarkdownElement:not(:last-child) {
|
|
690
782
|
margin-bottom: 1rem;
|
|
691
783
|
}
|
|
784
|
+
|
|
692
785
|
h1.copilotKitMarkdownElement {
|
|
693
786
|
font-size: 1.5em;
|
|
694
787
|
}
|
|
788
|
+
|
|
695
789
|
h2.copilotKitMarkdownElement {
|
|
696
790
|
font-size: 1.25em;
|
|
697
791
|
font-weight: 600;
|
|
698
792
|
}
|
|
793
|
+
|
|
699
794
|
h3.copilotKitMarkdownElement {
|
|
700
795
|
font-size: 1.1em;
|
|
701
796
|
}
|
|
797
|
+
|
|
702
798
|
h4.copilotKitMarkdownElement {
|
|
703
799
|
font-size: 1em;
|
|
704
800
|
}
|
|
801
|
+
|
|
705
802
|
h5.copilotKitMarkdownElement {
|
|
706
803
|
font-size: 0.9em;
|
|
707
804
|
}
|
|
805
|
+
|
|
708
806
|
h6.copilotKitMarkdownElement {
|
|
709
807
|
font-size: 0.8em;
|
|
710
808
|
}
|
|
809
|
+
|
|
711
810
|
a.copilotKitMarkdownElement {
|
|
712
811
|
color: blue;
|
|
713
812
|
text-decoration: underline;
|
|
714
813
|
}
|
|
814
|
+
|
|
715
815
|
p.copilotKitMarkdownElement {
|
|
716
816
|
padding: 0px;
|
|
717
817
|
margin: 0px;
|
|
718
818
|
line-height: 1.75;
|
|
719
819
|
font-size: 1rem;
|
|
720
820
|
}
|
|
821
|
+
|
|
721
822
|
p.copilotKitMarkdownElement:not(:last-child),
|
|
722
823
|
pre.copilotKitMarkdownElement:not(:last-child),
|
|
723
824
|
ol.copilotKitMarkdownElement:not(:last-child),
|
|
@@ -725,6 +826,7 @@ ul.copilotKitMarkdownElement:not(:last-child),
|
|
|
725
826
|
blockquote.copilotKitMarkdownElement:not(:last-child) {
|
|
726
827
|
margin-bottom: 1.25em;
|
|
727
828
|
}
|
|
829
|
+
|
|
728
830
|
blockquote.copilotKitMarkdownElement {
|
|
729
831
|
border-color: rgb(142, 142, 160);
|
|
730
832
|
border-left-width: 2px;
|
|
@@ -732,14 +834,17 @@ blockquote.copilotKitMarkdownElement {
|
|
|
732
834
|
line-height: 1.2;
|
|
733
835
|
padding-left: 10px;
|
|
734
836
|
}
|
|
837
|
+
|
|
735
838
|
blockquote.copilotKitMarkdownElement p {
|
|
736
839
|
padding: 0.7em 0;
|
|
737
840
|
}
|
|
841
|
+
|
|
738
842
|
ul.copilotKitMarkdownElement {
|
|
739
843
|
list-style-type: disc;
|
|
740
844
|
padding-left: 20px;
|
|
741
845
|
overflow: visible;
|
|
742
846
|
}
|
|
847
|
+
|
|
743
848
|
li.copilotKitMarkdownElement {
|
|
744
849
|
list-style-type: inherit;
|
|
745
850
|
list-style-position: outside;
|
|
@@ -748,12 +853,14 @@ li.copilotKitMarkdownElement {
|
|
|
748
853
|
position: relative;
|
|
749
854
|
overflow: visible;
|
|
750
855
|
}
|
|
856
|
+
|
|
751
857
|
.copilotKitCodeBlock {
|
|
752
858
|
position: relative;
|
|
753
859
|
width: 100%;
|
|
754
860
|
background-color: rgb(9 9 11);
|
|
755
861
|
border-radius: 0.375rem;
|
|
756
862
|
}
|
|
863
|
+
|
|
757
864
|
.copilotKitCodeBlockToolbar {
|
|
758
865
|
display: flex;
|
|
759
866
|
width: 100%;
|
|
@@ -768,17 +875,20 @@ li.copilotKitMarkdownElement {
|
|
|
768
875
|
border-top-right-radius: 0.375rem;
|
|
769
876
|
font-family: sans-serif;
|
|
770
877
|
}
|
|
878
|
+
|
|
771
879
|
.copilotKitCodeBlockToolbarLanguage {
|
|
772
880
|
font-size: 0.75rem;
|
|
773
881
|
line-height: 1rem;
|
|
774
882
|
text-transform: lowercase;
|
|
775
883
|
}
|
|
884
|
+
|
|
776
885
|
.copilotKitCodeBlockToolbarButtons {
|
|
777
886
|
display: flex;
|
|
778
887
|
align-items: center;
|
|
779
888
|
margin-right: 0.25rem;
|
|
780
889
|
margin-left: 0.25rem;
|
|
781
890
|
}
|
|
891
|
+
|
|
782
892
|
.copilotKitCodeBlockToolbarButton {
|
|
783
893
|
display: inline-flex;
|
|
784
894
|
align-items: center;
|
|
@@ -791,9 +901,11 @@ li.copilotKitMarkdownElement {
|
|
|
791
901
|
padding: 3px;
|
|
792
902
|
margin: 2px;
|
|
793
903
|
}
|
|
904
|
+
|
|
794
905
|
.copilotKitCodeBlockToolbarButton:hover {
|
|
795
906
|
background-color: rgb(55, 55, 58);
|
|
796
907
|
}
|
|
908
|
+
|
|
797
909
|
.copilotKitInlineCode {
|
|
798
910
|
background-color: var(--copilot-kit-input-background-color);
|
|
799
911
|
border: 1px solid var(--copilot-kit-separator-color);
|
|
@@ -801,46 +913,49 @@ li.copilotKitMarkdownElement {
|
|
|
801
913
|
padding: 0.05rem 0.4rem;
|
|
802
914
|
font-size: 15px;
|
|
803
915
|
}
|
|
804
|
-
|
|
805
|
-
/* src/css/suggestions.css */
|
|
806
916
|
.copilotKitMessages footer .suggestions {
|
|
807
917
|
display: flex;
|
|
808
918
|
flex-wrap: wrap;
|
|
809
919
|
gap: 6px;
|
|
810
920
|
}
|
|
921
|
+
|
|
811
922
|
.copilotKitMessages footer h6 {
|
|
812
923
|
font-weight: 500;
|
|
813
924
|
font-size: 0.7rem;
|
|
814
925
|
margin-bottom: 8px;
|
|
815
926
|
}
|
|
927
|
+
|
|
816
928
|
.copilotKitMessages footer .suggestions .suggestion {
|
|
817
929
|
padding: 6px 10px;
|
|
818
930
|
font-size: 0.7rem;
|
|
819
931
|
border-radius: 15px;
|
|
820
932
|
border: 1px solid var(--copilot-kit-muted-color);
|
|
821
933
|
color: var(--copilot-kit-secondary-contrast-color);
|
|
822
|
-
box-shadow: 0 5px 5px 0px rgba(0,
|
|
934
|
+
box-shadow: 0 5px 5px 0px rgba(0,0,0,.01),0 2px 3px 0px rgba(0,0,0,.02);
|
|
823
935
|
}
|
|
936
|
+
|
|
824
937
|
.copilotKitMessages footer .suggestions .suggestion.loading {
|
|
825
938
|
padding: 0;
|
|
826
939
|
font-size: 0.7rem;
|
|
827
940
|
border: none;
|
|
828
941
|
color: var(--copilot-kit-secondary-contrast-color);
|
|
829
942
|
}
|
|
943
|
+
|
|
830
944
|
.copilotKitMessages footer .suggestions button {
|
|
831
945
|
transition: transform 0.3s ease;
|
|
832
946
|
}
|
|
947
|
+
|
|
833
948
|
.copilotKitMessages footer .suggestions button:not(:disabled):hover {
|
|
834
949
|
transform: scale(1.03);
|
|
835
950
|
}
|
|
951
|
+
|
|
836
952
|
.copilotKitMessages footer .suggestions button:disabled {
|
|
837
953
|
cursor: wait;
|
|
838
954
|
}
|
|
955
|
+
|
|
839
956
|
.copilotKitMessages footer .suggestions button svg {
|
|
840
957
|
margin-right: 6px;
|
|
841
958
|
}
|
|
842
|
-
|
|
843
|
-
/* src/css/panel.css */
|
|
844
959
|
.copilotKitChat {
|
|
845
960
|
z-index: 30;
|
|
846
961
|
line-height: 1.5;
|
|
@@ -869,25 +984,29 @@ li.copilotKitMarkdownElement {
|
|
|
869
984
|
touch-action: manipulation;
|
|
870
985
|
display: flex;
|
|
871
986
|
flex-direction: column;
|
|
987
|
+
/* height: 100%; */
|
|
872
988
|
}
|
|
989
|
+
|
|
873
990
|
.copilotKitChat svg {
|
|
874
991
|
display: inline-block;
|
|
875
992
|
vertical-align: middle;
|
|
876
993
|
}
|
|
994
|
+
|
|
877
995
|
.copilotKitChat .copilotKitMessages {
|
|
878
996
|
flex-grow: 1;
|
|
879
997
|
}
|
|
880
998
|
|
|
881
|
-
/* src/css/console.css */
|
|
882
999
|
.copilotKitDevConsole {
|
|
883
1000
|
display: flex;
|
|
884
1001
|
align-items: center;
|
|
885
1002
|
gap: 5px;
|
|
886
1003
|
margin: 0 15px;
|
|
887
1004
|
}
|
|
1005
|
+
|
|
888
1006
|
.copilotKitDevConsole.copilotKitDevConsoleWarnOutdated {
|
|
889
1007
|
background-color: var(--copilot-kit-dev-console-bg);
|
|
890
1008
|
}
|
|
1009
|
+
|
|
891
1010
|
.copilotKitDevConsole .copilotKitVersionInfo {
|
|
892
1011
|
display: flex;
|
|
893
1012
|
position: absolute;
|
|
@@ -901,6 +1020,7 @@ li.copilotKitMarkdownElement {
|
|
|
901
1020
|
align-items: center;
|
|
902
1021
|
background: #ebb305;
|
|
903
1022
|
}
|
|
1023
|
+
|
|
904
1024
|
.copilotKitDevConsole .copilotKitVersionInfo button {
|
|
905
1025
|
font-size: 11px;
|
|
906
1026
|
font-weight: normal;
|
|
@@ -917,16 +1037,19 @@ li.copilotKitMarkdownElement {
|
|
|
917
1037
|
width: 260px;
|
|
918
1038
|
text-overflow: ellipsis;
|
|
919
1039
|
}
|
|
1040
|
+
|
|
920
1041
|
.copilotKitDevConsole .copilotKitVersionInfo aside {
|
|
921
1042
|
display: inline;
|
|
922
1043
|
font-weight: normal;
|
|
923
1044
|
color: #7f7a7a;
|
|
924
1045
|
margin-left: 5px;
|
|
925
1046
|
}
|
|
1047
|
+
|
|
926
1048
|
.copilotKitDevConsole .copilotKitVersionInfo svg {
|
|
927
1049
|
margin-left: 3px;
|
|
928
1050
|
margin-top: -3px;
|
|
929
1051
|
}
|
|
1052
|
+
|
|
930
1053
|
.copilotKitDevConsole .copilotKitDebugMenuTriggerButton {
|
|
931
1054
|
font-size: 11px;
|
|
932
1055
|
font-weight: bold;
|
|
@@ -940,6 +1063,7 @@ li.copilotKitMarkdownElement {
|
|
|
940
1063
|
justify-content: center;
|
|
941
1064
|
outline: none;
|
|
942
1065
|
}
|
|
1066
|
+
|
|
943
1067
|
.copilotKitDebugMenuTriggerButton.compact {
|
|
944
1068
|
width: 35px;
|
|
945
1069
|
color: var(--copilot-kit-dev-console-bg);
|
|
@@ -947,29 +1071,34 @@ li.copilotKitMarkdownElement {
|
|
|
947
1071
|
outline: none;
|
|
948
1072
|
font-size: 8px;
|
|
949
1073
|
}
|
|
1074
|
+
|
|
950
1075
|
.copilotKitDevConsole .copilotKitDebugMenuTriggerButton:hover {
|
|
951
1076
|
background-color: color-mix(in srgb, var(--copilot-kit-dev-console-bg) 85%, black);
|
|
952
1077
|
color: var(--copilot-kit-dev-console-text);
|
|
953
1078
|
}
|
|
1079
|
+
|
|
954
1080
|
.dark,
|
|
955
1081
|
html.dark,
|
|
956
1082
|
body.dark,
|
|
957
|
-
[data-theme=dark],
|
|
1083
|
+
[data-theme="dark"],
|
|
958
1084
|
html[style*="color-scheme: dark"],
|
|
959
1085
|
body[style*="color-scheme: dark"] .copilotKitDevConsole .copilotKitDebugMenuTriggerButton {
|
|
960
1086
|
color: white;
|
|
961
1087
|
}
|
|
1088
|
+
|
|
962
1089
|
.dark,
|
|
963
1090
|
html.dark,
|
|
964
1091
|
body.dark,
|
|
965
|
-
[data-theme=dark],
|
|
1092
|
+
[data-theme="dark"],
|
|
966
1093
|
html[style*="color-scheme: dark"],
|
|
967
1094
|
body[style*="color-scheme: dark"] .copilotKitDevConsole .copilotKitDebugMenuTriggerButton:hover {
|
|
968
1095
|
background-color: color-mix(in srgb, var(--copilot-kit-dev-console-bg) 20%, black);
|
|
969
1096
|
}
|
|
1097
|
+
|
|
970
1098
|
.copilotKitDevConsole .copilotKitDebugMenuTriggerButton > svg {
|
|
971
1099
|
margin-left: 10px;
|
|
972
1100
|
}
|
|
1101
|
+
|
|
973
1102
|
.copilotKitDebugMenu {
|
|
974
1103
|
--copilot-kit-dev-console-border: color-mix(in srgb, var(--copilot-kit-dev-console-bg) 80%, black);
|
|
975
1104
|
margin-top: 2px;
|
|
@@ -980,6 +1109,7 @@ body[style*="color-scheme: dark"] .copilotKitDevConsole .copilotKitDebugMenuTrig
|
|
|
980
1109
|
outline: none;
|
|
981
1110
|
font-size: 13px;
|
|
982
1111
|
}
|
|
1112
|
+
|
|
983
1113
|
.copilotKitDebugMenuItem {
|
|
984
1114
|
padding-top: 3px;
|
|
985
1115
|
padding-bottom: 3px;
|
|
@@ -993,24 +1123,29 @@ body[style*="color-scheme: dark"] .copilotKitDevConsole .copilotKitDebugMenuTrig
|
|
|
993
1123
|
cursor: pointer;
|
|
994
1124
|
color: var(--copilot-kit-dev-console-text);
|
|
995
1125
|
}
|
|
1126
|
+
|
|
996
1127
|
.copilotKitDebugMenuItem:hover {
|
|
997
1128
|
background-color: color-mix(in srgb, var(--copilot-kit-dev-console-bg) 95%, black);
|
|
998
1129
|
border-radius: 4px;
|
|
999
1130
|
}
|
|
1131
|
+
|
|
1000
1132
|
.copilotKitDebugMenu[data-closed] {
|
|
1001
|
-
transform: scale(0.95);
|
|
1002
|
-
opacity: 0;
|
|
1133
|
+
transform: scale(0.95); /* data-[closed]:scale-95 */
|
|
1134
|
+
opacity: 0; /* data-[closed]:opacity-0 */
|
|
1003
1135
|
}
|
|
1136
|
+
|
|
1004
1137
|
.copilotKitDebugMenu hr {
|
|
1005
1138
|
height: 1px;
|
|
1006
|
-
border: none;
|
|
1139
|
+
border: none; /* Remove 3D look */
|
|
1007
1140
|
background-color: var(--copilot-kit-dev-console-border);
|
|
1008
1141
|
margin: 0.25rem;
|
|
1009
1142
|
}
|
|
1143
|
+
|
|
1010
1144
|
.copilotKitHelpModal {
|
|
1011
1145
|
background-color: var(--copilot-kit-dev-console-bg);
|
|
1012
1146
|
color: var(--copilot-kit-dev-console-text);
|
|
1013
1147
|
}
|
|
1148
|
+
|
|
1014
1149
|
.copilotKitHelpItemButton {
|
|
1015
1150
|
display: block;
|
|
1016
1151
|
text-align: center;
|
|
@@ -1020,17 +1155,20 @@ body[style*="color-scheme: dark"] .copilotKitDevConsole .copilotKitDebugMenuTrig
|
|
|
1020
1155
|
font-size: 0.8rem;
|
|
1021
1156
|
border: 1px solid var(--copilot-kit-muted-color);
|
|
1022
1157
|
color: var(--copilot-kit-dev-console-text);
|
|
1023
|
-
box-shadow: 0 5px 5px 0px rgba(0,
|
|
1158
|
+
box-shadow: 0 5px 5px 0px rgba(0,0,0,.01),0 2px 3px 0px rgba(0,0,0,.02);
|
|
1024
1159
|
background-color: var(--copilot-kit-dev-console-bg);
|
|
1025
1160
|
}
|
|
1026
1161
|
.copilotKitHelpItemButton:hover {
|
|
1027
1162
|
background-color: color-mix(in srgb, var(--copilot-kit-dev-console-bg) 95%, black);
|
|
1028
1163
|
}
|
|
1029
1164
|
|
|
1030
|
-
|
|
1165
|
+
|
|
1166
|
+
/* Default styles for the ResponseRenderer component */
|
|
1167
|
+
|
|
1031
1168
|
.copilotkit-response {
|
|
1032
1169
|
text-align: right;
|
|
1033
1170
|
}
|
|
1171
|
+
|
|
1034
1172
|
.copilotkit-response-content {
|
|
1035
1173
|
margin-bottom: 0.5rem;
|
|
1036
1174
|
font-size: 0.875rem;
|
|
@@ -1040,11 +1178,13 @@ body[style*="color-scheme: dark"] .copilotKitDevConsole .copilotKitDebugMenuTrig
|
|
|
1040
1178
|
border-radius: 0.25rem;
|
|
1041
1179
|
text-align: left;
|
|
1042
1180
|
}
|
|
1181
|
+
|
|
1043
1182
|
.copilotkit-response-actions {
|
|
1044
1183
|
display: inline-flex;
|
|
1045
1184
|
flex-direction: column;
|
|
1046
1185
|
align-items: flex-end;
|
|
1047
1186
|
}
|
|
1187
|
+
|
|
1048
1188
|
.copilotkit-response-label {
|
|
1049
1189
|
font-size: 0.75rem;
|
|
1050
1190
|
color: #6b7280;
|
|
@@ -1052,6 +1192,7 @@ body[style*="color-scheme: dark"] .copilotKitDevConsole .copilotKitDebugMenuTrig
|
|
|
1052
1192
|
display: flex;
|
|
1053
1193
|
align-items: center;
|
|
1054
1194
|
}
|
|
1195
|
+
|
|
1055
1196
|
.copilotkit-toggle-button {
|
|
1056
1197
|
margin-right: 0.25rem;
|
|
1057
1198
|
background: none;
|
|
@@ -1062,15 +1203,18 @@ body[style*="color-scheme: dark"] .copilotKitDevConsole .copilotKitDebugMenuTrig
|
|
|
1062
1203
|
align-items: center;
|
|
1063
1204
|
justify-content: center;
|
|
1064
1205
|
}
|
|
1206
|
+
|
|
1065
1207
|
.copilotkit-icon {
|
|
1066
1208
|
height: 0.75rem;
|
|
1067
1209
|
width: 0.75rem;
|
|
1068
1210
|
color: #6b7280;
|
|
1069
1211
|
}
|
|
1212
|
+
|
|
1070
1213
|
.copilotkit-response-buttons {
|
|
1071
1214
|
display: flex;
|
|
1072
1215
|
gap: 0.5rem;
|
|
1073
1216
|
}
|
|
1217
|
+
|
|
1074
1218
|
.copilotkit-response-button {
|
|
1075
1219
|
padding: 0.25rem 0.5rem;
|
|
1076
1220
|
font-size: 0.75rem;
|
|
@@ -1081,12 +1225,15 @@ body[style*="color-scheme: dark"] .copilotKitDevConsole .copilotKitDebugMenuTrig
|
|
|
1081
1225
|
cursor: pointer;
|
|
1082
1226
|
transition: background-color 0.2s;
|
|
1083
1227
|
}
|
|
1228
|
+
|
|
1084
1229
|
.copilotkit-response-button:hover {
|
|
1085
1230
|
background-color: #e5e7eb;
|
|
1086
1231
|
}
|
|
1232
|
+
|
|
1087
1233
|
.copilotkit-response-button:focus {
|
|
1088
1234
|
outline: none;
|
|
1089
1235
|
}
|
|
1236
|
+
|
|
1090
1237
|
.copilotkit-response-completed-feedback {
|
|
1091
1238
|
background-color: #f9fafb;
|
|
1092
1239
|
padding: 0.5rem;
|
|
@@ -1094,15 +1241,20 @@ body[style*="color-scheme: dark"] .copilotKitDevConsole .copilotKitDebugMenuTrig
|
|
|
1094
1241
|
display: inline-flex;
|
|
1095
1242
|
align-items: center;
|
|
1096
1243
|
}
|
|
1244
|
+
|
|
1097
1245
|
.copilotkit-response-completed-feedback span {
|
|
1098
1246
|
color: #4b5563;
|
|
1099
1247
|
font-size: 0.75rem;
|
|
1100
1248
|
font-weight: 500;
|
|
1101
1249
|
}
|
|
1250
|
+
|
|
1251
|
+
/* DefaultStateRenderer styles */
|
|
1252
|
+
|
|
1102
1253
|
.copilotkit-state {
|
|
1103
1254
|
font-size: 0.875rem;
|
|
1104
1255
|
margin-bottom: 1rem;
|
|
1105
1256
|
}
|
|
1257
|
+
|
|
1106
1258
|
.copilotkit-state-header {
|
|
1107
1259
|
display: flex;
|
|
1108
1260
|
align-items: center;
|
|
@@ -1111,15 +1263,18 @@ body[style*="color-scheme: dark"] .copilotKitDevConsole .copilotKitDebugMenuTrig
|
|
|
1111
1263
|
user-select: none;
|
|
1112
1264
|
margin-bottom: 0.25rem;
|
|
1113
1265
|
}
|
|
1266
|
+
|
|
1114
1267
|
.copilotkit-state-label {
|
|
1115
1268
|
color: #4b5563;
|
|
1116
1269
|
font-size: 0.875rem;
|
|
1117
1270
|
}
|
|
1271
|
+
|
|
1118
1272
|
.copilotkit-state-label-loading {
|
|
1119
1273
|
display: inline-flex;
|
|
1120
1274
|
align-items: center;
|
|
1121
1275
|
animation: pulse 1.5s infinite;
|
|
1122
1276
|
}
|
|
1277
|
+
|
|
1123
1278
|
.copilotkit-state-content {
|
|
1124
1279
|
padding-left: 1rem;
|
|
1125
1280
|
max-height: 250px;
|
|
@@ -1128,69 +1283,85 @@ body[style*="color-scheme: dark"] .copilotKitDevConsole .copilotKitDebugMenuTrig
|
|
|
1128
1283
|
border-left: 1px solid #e5e7eb;
|
|
1129
1284
|
margin-left: 0.375rem;
|
|
1130
1285
|
}
|
|
1286
|
+
|
|
1131
1287
|
.copilotkit-state-item {
|
|
1132
1288
|
padding: 0.25rem 0;
|
|
1133
1289
|
margin-bottom: 0.25rem;
|
|
1134
1290
|
transition: all 0.3s ease;
|
|
1135
1291
|
}
|
|
1292
|
+
|
|
1136
1293
|
.copilotkit-state-item-newest {
|
|
1137
1294
|
animation: appear 0.5s ease-out;
|
|
1138
1295
|
}
|
|
1296
|
+
|
|
1139
1297
|
.copilotkit-state-item-header {
|
|
1140
1298
|
font-size: 0.75rem;
|
|
1141
1299
|
opacity: 0.7;
|
|
1142
1300
|
}
|
|
1301
|
+
|
|
1143
1302
|
.copilotkit-state-item-thought {
|
|
1144
1303
|
margin-top: 0.125rem;
|
|
1145
1304
|
font-size: 0.75rem;
|
|
1146
1305
|
opacity: 0.8;
|
|
1147
1306
|
}
|
|
1307
|
+
|
|
1148
1308
|
.copilotkit-state-item-result {
|
|
1149
1309
|
margin-top: 0.125rem;
|
|
1150
1310
|
font-size: 0.75rem;
|
|
1151
1311
|
}
|
|
1312
|
+
|
|
1152
1313
|
.copilotkit-state-item-description {
|
|
1153
1314
|
margin-top: 0.125rem;
|
|
1154
1315
|
font-size: 0.75rem;
|
|
1155
1316
|
opacity: 0.8;
|
|
1156
1317
|
}
|
|
1318
|
+
|
|
1157
1319
|
.copilotkit-state-empty {
|
|
1158
1320
|
padding: 0.25rem 0;
|
|
1159
1321
|
font-size: 0.75rem;
|
|
1160
1322
|
opacity: 0.7;
|
|
1161
1323
|
}
|
|
1324
|
+
|
|
1162
1325
|
.copilotkit-skeleton {
|
|
1163
1326
|
padding: 0.125rem 0;
|
|
1164
1327
|
animation: pulse 1.5s infinite;
|
|
1165
1328
|
}
|
|
1329
|
+
|
|
1166
1330
|
.copilotkit-skeleton-header {
|
|
1167
1331
|
display: flex;
|
|
1168
1332
|
justify-content: space-between;
|
|
1169
1333
|
}
|
|
1334
|
+
|
|
1170
1335
|
.copilotkit-skeleton-title {
|
|
1171
1336
|
height: 0.625rem;
|
|
1172
1337
|
width: 4rem;
|
|
1173
1338
|
background-color: #e5e7eb;
|
|
1174
1339
|
border-radius: 0.25rem;
|
|
1175
1340
|
}
|
|
1341
|
+
|
|
1176
1342
|
.copilotkit-skeleton-subtitle {
|
|
1177
1343
|
height: 0.5rem;
|
|
1178
1344
|
width: 2rem;
|
|
1179
1345
|
background-color: #e5e7eb;
|
|
1180
1346
|
border-radius: 0.25rem;
|
|
1181
1347
|
}
|
|
1348
|
+
|
|
1182
1349
|
.copilotkit-skeleton-content {
|
|
1183
1350
|
margin-top: 0.125rem;
|
|
1184
1351
|
height: 1.5rem;
|
|
1185
1352
|
background-color: #e5e7eb;
|
|
1186
1353
|
border-radius: 0.25rem;
|
|
1187
1354
|
}
|
|
1355
|
+
|
|
1188
1356
|
.copilotkit-loader {
|
|
1189
1357
|
animation: spin 1.5s linear infinite;
|
|
1190
1358
|
}
|
|
1359
|
+
|
|
1191
1360
|
.copilotkit-spinner {
|
|
1192
1361
|
animation: spin 1.5s linear infinite;
|
|
1193
1362
|
}
|
|
1363
|
+
|
|
1364
|
+
/* Animations */
|
|
1194
1365
|
@keyframes appear {
|
|
1195
1366
|
0% {
|
|
1196
1367
|
opacity: 0;
|
|
@@ -1201,14 +1372,17 @@ body[style*="color-scheme: dark"] .copilotKitDevConsole .copilotKitDebugMenuTrig
|
|
|
1201
1372
|
transform: translateY(0);
|
|
1202
1373
|
}
|
|
1203
1374
|
}
|
|
1375
|
+
|
|
1204
1376
|
@keyframes pulse {
|
|
1205
|
-
0%,
|
|
1377
|
+
0%,
|
|
1378
|
+
100% {
|
|
1206
1379
|
opacity: 0.4;
|
|
1207
1380
|
}
|
|
1208
1381
|
50% {
|
|
1209
1382
|
opacity: 1;
|
|
1210
1383
|
}
|
|
1211
1384
|
}
|
|
1385
|
+
|
|
1212
1386
|
@keyframes spin {
|
|
1213
1387
|
0% {
|
|
1214
1388
|
transform: rotate(0deg);
|
|
@@ -1217,36 +1391,49 @@ body[style*="color-scheme: dark"] .copilotKitDevConsole .copilotKitDebugMenuTrig
|
|
|
1217
1391
|
transform: rotate(360deg);
|
|
1218
1392
|
}
|
|
1219
1393
|
}
|
|
1394
|
+
|
|
1395
|
+
/* Dark mode styles */
|
|
1220
1396
|
@media (prefers-color-scheme: dark) {
|
|
1397
|
+
/* DefaultResponseRenderer dark styles */
|
|
1221
1398
|
.copilotkit-response-content {
|
|
1222
1399
|
color: #9ca3af;
|
|
1223
1400
|
background-color: #1f2937;
|
|
1224
1401
|
}
|
|
1402
|
+
|
|
1225
1403
|
.copilotkit-response-label {
|
|
1226
1404
|
color: #9ca3af;
|
|
1227
1405
|
}
|
|
1406
|
+
|
|
1228
1407
|
.copilotkit-icon {
|
|
1229
1408
|
color: #9ca3af;
|
|
1230
1409
|
}
|
|
1410
|
+
|
|
1231
1411
|
.copilotkit-response-button {
|
|
1232
1412
|
background-color: #1f2937;
|
|
1233
1413
|
color: #d1d5db;
|
|
1234
1414
|
}
|
|
1415
|
+
|
|
1235
1416
|
.copilotkit-response-button:hover {
|
|
1236
1417
|
background-color: #374151;
|
|
1237
1418
|
}
|
|
1419
|
+
|
|
1238
1420
|
.copilotkit-response-completed-feedback {
|
|
1239
1421
|
background-color: #1f2937;
|
|
1240
1422
|
}
|
|
1423
|
+
|
|
1241
1424
|
.copilotkit-response-completed-feedback span {
|
|
1242
1425
|
color: #e5e7eb;
|
|
1243
1426
|
}
|
|
1427
|
+
|
|
1428
|
+
/* DefaultStateRenderer dark styles */
|
|
1244
1429
|
.copilotkit-state-label {
|
|
1245
1430
|
color: #d1d5db;
|
|
1246
1431
|
}
|
|
1432
|
+
|
|
1247
1433
|
.copilotkit-state-content {
|
|
1248
1434
|
border-left-color: #374151;
|
|
1249
1435
|
}
|
|
1436
|
+
|
|
1250
1437
|
.copilotkit-skeleton-title,
|
|
1251
1438
|
.copilotkit-skeleton-subtitle,
|
|
1252
1439
|
.copilotkit-skeleton-content {
|
|
@@ -1254,5 +1441,6 @@ body[style*="color-scheme: dark"] .copilotKitDevConsole .copilotKitDebugMenuTrig
|
|
|
1254
1441
|
}
|
|
1255
1442
|
}
|
|
1256
1443
|
|
|
1257
|
-
|
|
1258
|
-
|
|
1444
|
+
|
|
1445
|
+
|
|
1446
|
+
/*# sourceMappingURL=index.css.map*/
|