@copilotkit/react-ui 1.55.0-next.9 → 1.55.0
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 +21 -4
- package/dist/index.cjs +429 -174
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +334 -25
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +62 -6
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +62 -6
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +430 -176
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +440 -179
- package/dist/index.umd.js.map +1 -1
- package/oxlint-rules/copilotkit-plugin.mjs +10 -0
- package/oxlint-rules/require-cpk-prefix.mjs +547 -0
- package/package.json +33 -34
- package/src/components/chat/AttachmentQueue.tsx +125 -0
- package/src/components/chat/AttachmentRenderer.tsx +133 -0
- package/src/components/chat/Chat.tsx +367 -149
- package/src/components/chat/Modal.tsx +1 -1
- package/src/components/chat/attachment-utils.ts +32 -0
- package/src/components/chat/index.tsx +1 -0
- package/src/components/chat/messages/ImageRenderer.tsx +20 -8
- package/src/components/chat/messages/UserMessage.tsx +42 -8
- package/src/components/chat/props.ts +25 -2
- package/src/css/attachments.css +227 -0
- package/src/css/colors.css +8 -4
- package/src/css/console.css +34 -9
- package/src/css/input.css +5 -2
- package/src/css/markdown.css +1 -1
- package/src/css/messages.css +11 -4
- package/src/css/popup.css +15 -3
- package/src/css/sidebar.css +28 -3
- package/src/css/suggestions.css +4 -2
- package/src/styles.css +2 -1
package/dist/index.css
CHANGED
|
@@ -32,9 +32,11 @@ WHEN MAKING ANY CHANGE, MAKE SURE TO INCLUDE IT IN ALL DUPLICATIONS.
|
|
|
32
32
|
/* Small shadow for subtle elevation */
|
|
33
33
|
--copilot-kit-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
34
34
|
/* Medium shadow for cards */
|
|
35
|
-
--copilot-kit-shadow-md:
|
|
35
|
+
--copilot-kit-shadow-md:
|
|
36
|
+
0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
36
37
|
/* Large shadow for modals */
|
|
37
|
-
--copilot-kit-shadow-lg:
|
|
38
|
+
--copilot-kit-shadow-lg:
|
|
39
|
+
0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
|
38
40
|
|
|
39
41
|
--copilot-kit-dev-console-bg: #f8f8fa;
|
|
40
42
|
--copilot-kit-dev-console-text: black;
|
|
@@ -72,9 +74,11 @@ body[style*="color-scheme: dark"] :root {
|
|
|
72
74
|
/* Small shadow for subtle elevation */
|
|
73
75
|
--copilot-kit-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
|
|
74
76
|
/* Medium shadow for cards */
|
|
75
|
-
--copilot-kit-shadow-md:
|
|
77
|
+
--copilot-kit-shadow-md:
|
|
78
|
+
0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
|
|
76
79
|
/* Large shadow for modals */
|
|
77
|
-
--copilot-kit-shadow-lg:
|
|
80
|
+
--copilot-kit-shadow-lg:
|
|
81
|
+
0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
|
|
78
82
|
}
|
|
79
83
|
|
|
80
84
|
.copilotKitPopup {
|
|
@@ -87,9 +91,21 @@ body[style*="color-scheme: dark"] :root {
|
|
|
87
91
|
-moz-tab-size: 4;
|
|
88
92
|
-o-tab-size: 4;
|
|
89
93
|
tab-size: 4;
|
|
90
|
-
font-family:
|
|
91
|
-
|
|
92
|
-
|
|
94
|
+
font-family:
|
|
95
|
+
ui-sans-serif,
|
|
96
|
+
system-ui,
|
|
97
|
+
-apple-system,
|
|
98
|
+
BlinkMacSystemFont,
|
|
99
|
+
"Segoe UI",
|
|
100
|
+
Roboto,
|
|
101
|
+
"Helvetica Neue",
|
|
102
|
+
Arial,
|
|
103
|
+
"Noto Sans",
|
|
104
|
+
sans-serif,
|
|
105
|
+
"Apple Color Emoji",
|
|
106
|
+
"Segoe UI Emoji",
|
|
107
|
+
"Segoe UI Symbol",
|
|
108
|
+
"Noto Color Emoji";
|
|
93
109
|
font-feature-settings: normal;
|
|
94
110
|
font-variation-settings: normal;
|
|
95
111
|
touch-action: manipulation;
|
|
@@ -110,9 +126,21 @@ body[style*="color-scheme: dark"] :root {
|
|
|
110
126
|
-moz-tab-size: 4;
|
|
111
127
|
-o-tab-size: 4;
|
|
112
128
|
tab-size: 4;
|
|
113
|
-
font-family:
|
|
114
|
-
|
|
115
|
-
|
|
129
|
+
font-family:
|
|
130
|
+
ui-sans-serif,
|
|
131
|
+
system-ui,
|
|
132
|
+
-apple-system,
|
|
133
|
+
BlinkMacSystemFont,
|
|
134
|
+
"Segoe UI",
|
|
135
|
+
Roboto,
|
|
136
|
+
"Helvetica Neue",
|
|
137
|
+
Arial,
|
|
138
|
+
"Noto Sans",
|
|
139
|
+
sans-serif,
|
|
140
|
+
"Apple Color Emoji",
|
|
141
|
+
"Segoe UI Emoji",
|
|
142
|
+
"Segoe UI Symbol",
|
|
143
|
+
"Noto Color Emoji";
|
|
116
144
|
font-feature-settings: normal;
|
|
117
145
|
font-variation-settings: normal;
|
|
118
146
|
touch-action: manipulation;
|
|
@@ -127,6 +155,19 @@ body[style*="color-scheme: dark"] :root {
|
|
|
127
155
|
overflow: visible;
|
|
128
156
|
margin-right: 0px;
|
|
129
157
|
transition: margin-right 0.3s ease;
|
|
158
|
+
min-height: 100vh;
|
|
159
|
+
min-height: 100dvh;
|
|
160
|
+
height: 100%;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.copilotKitSidebarContentWrapper > .copilotKitModalChildrenWrapper {
|
|
164
|
+
min-height: 100%;
|
|
165
|
+
height: 100%;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.copilotKitSidebarContentWrapper > .copilotKitModalChildrenWrapper > * {
|
|
169
|
+
min-height: 100%;
|
|
170
|
+
height: 100%;
|
|
130
171
|
}
|
|
131
172
|
|
|
132
173
|
@media (min-width: 640px) {
|
|
@@ -393,7 +434,11 @@ body[style*="color-scheme: dark"] :root {
|
|
|
393
434
|
}
|
|
394
435
|
|
|
395
436
|
.copilotKitInput textarea::-webkit-scrollbar-thumb:hover {
|
|
396
|
-
background-color: color-mix(
|
|
437
|
+
background-color: color-mix(
|
|
438
|
+
in srgb,
|
|
439
|
+
rgb(200 200 200) 80%,
|
|
440
|
+
black
|
|
441
|
+
); /* Darker color on hover */
|
|
397
442
|
}
|
|
398
443
|
|
|
399
444
|
.poweredByContainer {
|
|
@@ -421,7 +466,6 @@ body[style*="color-scheme: dark"] .poweredBy {
|
|
|
421
466
|
color: rgb(69, 69, 69) !important;
|
|
422
467
|
}
|
|
423
468
|
|
|
424
|
-
|
|
425
469
|
.copilotKitMessages {
|
|
426
470
|
overflow-y: scroll;
|
|
427
471
|
flex: 1;
|
|
@@ -552,7 +596,11 @@ body[style*="color-scheme: dark"] .poweredBy {
|
|
|
552
596
|
}
|
|
553
597
|
|
|
554
598
|
.copilotKitMessageControlButton.active:hover {
|
|
555
|
-
background-color: color-mix(
|
|
599
|
+
background-color: color-mix(
|
|
600
|
+
in srgb,
|
|
601
|
+
var(--copilot-kit-primary-color) 90%,
|
|
602
|
+
black
|
|
603
|
+
);
|
|
556
604
|
color: var(--copilot-kit-contrast-color);
|
|
557
605
|
}
|
|
558
606
|
|
|
@@ -563,7 +611,8 @@ body[style*="color-scheme: dark"] .poweredBy {
|
|
|
563
611
|
pointer-events: none;
|
|
564
612
|
}
|
|
565
613
|
|
|
566
|
-
.copilotKitMessage.copilotKitAssistantMessage
|
|
614
|
+
.copilotKitMessage.copilotKitAssistantMessage
|
|
615
|
+
+ .copilotKitMessage.copilotKitUserMessage {
|
|
567
616
|
margin-top: 1.5rem;
|
|
568
617
|
}
|
|
569
618
|
|
|
@@ -597,7 +646,9 @@ body[style*="color-scheme: dark"] .poweredBy {
|
|
|
597
646
|
}
|
|
598
647
|
|
|
599
648
|
@keyframes copilotKitActivityDotAnimation {
|
|
600
|
-
0%,
|
|
649
|
+
0%,
|
|
650
|
+
80%,
|
|
651
|
+
100% {
|
|
601
652
|
transform: scale(0.5);
|
|
602
653
|
opacity: 0.5;
|
|
603
654
|
}
|
|
@@ -666,6 +717,235 @@ body[style*="color-scheme: dark"] .poweredBy {
|
|
|
666
717
|
content: "⚠️";
|
|
667
718
|
font-size: 1rem;
|
|
668
719
|
}
|
|
720
|
+
|
|
721
|
+
/* Attachment Queue */
|
|
722
|
+
.copilotKitAttachmentQueue {
|
|
723
|
+
display: flex;
|
|
724
|
+
flex-wrap: wrap;
|
|
725
|
+
gap: 8px;
|
|
726
|
+
margin: 8px;
|
|
727
|
+
padding: 8px;
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
.copilotKitAttachmentQueueItem {
|
|
731
|
+
position: relative;
|
|
732
|
+
display: inline-flex;
|
|
733
|
+
border-radius: 8px;
|
|
734
|
+
overflow: hidden;
|
|
735
|
+
border: 1px solid var(--copilot-kit-separator-color);
|
|
736
|
+
background: var(--copilot-kit-input-background-color);
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
.copilotKitAttachmentQueueItem--image,
|
|
740
|
+
.copilotKitAttachmentQueueItem--video {
|
|
741
|
+
width: 72px;
|
|
742
|
+
height: 72px;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
.copilotKitAttachmentQueueItem--audio {
|
|
746
|
+
min-width: 200px;
|
|
747
|
+
max-width: 280px;
|
|
748
|
+
flex-direction: column;
|
|
749
|
+
padding: 4px;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
.copilotKitAttachmentQueueItem--document {
|
|
753
|
+
padding: 8px 12px;
|
|
754
|
+
max-width: 200px;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
.copilotKitAttachmentQueueOverlay {
|
|
758
|
+
position: absolute;
|
|
759
|
+
inset: 0;
|
|
760
|
+
display: flex;
|
|
761
|
+
align-items: center;
|
|
762
|
+
justify-content: center;
|
|
763
|
+
background: rgba(0, 0, 0, 0.4);
|
|
764
|
+
z-index: 1;
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
.copilotKitAttachmentQueueSpinner {
|
|
768
|
+
width: 20px;
|
|
769
|
+
height: 20px;
|
|
770
|
+
border: 2px solid rgba(255, 255, 255, 0.3);
|
|
771
|
+
border-top-color: white;
|
|
772
|
+
border-radius: 50%;
|
|
773
|
+
animation: copilotKitSpin 0.6s linear infinite;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
@keyframes copilotKitSpin {
|
|
777
|
+
to {
|
|
778
|
+
transform: rotate(360deg);
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
.copilotKitAttachmentQueueRemoveButton {
|
|
783
|
+
position: absolute;
|
|
784
|
+
top: 4px;
|
|
785
|
+
right: 4px;
|
|
786
|
+
background: rgba(0, 0, 0, 0.6);
|
|
787
|
+
color: white;
|
|
788
|
+
border: none;
|
|
789
|
+
border-radius: 50%;
|
|
790
|
+
width: 20px;
|
|
791
|
+
height: 20px;
|
|
792
|
+
display: flex;
|
|
793
|
+
align-items: center;
|
|
794
|
+
justify-content: center;
|
|
795
|
+
cursor: pointer;
|
|
796
|
+
font-size: 10px;
|
|
797
|
+
padding: 0;
|
|
798
|
+
z-index: 2;
|
|
799
|
+
line-height: 1;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
.copilotKitAttachmentQueueRemoveButton:hover {
|
|
803
|
+
background: rgba(0, 0, 0, 0.8);
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
.copilotKitAttachmentQueuePreviewPlaceholder {
|
|
807
|
+
width: 100%;
|
|
808
|
+
height: 100%;
|
|
809
|
+
background: var(--copilot-kit-input-background-color);
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
.copilotKitAttachmentQueuePreviewImage {
|
|
813
|
+
width: 100%;
|
|
814
|
+
height: 100%;
|
|
815
|
+
object-fit: cover;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
/* Audio preview in queue */
|
|
819
|
+
.copilotKitAttachmentQueuePreviewAudio {
|
|
820
|
+
display: flex;
|
|
821
|
+
flex-direction: column;
|
|
822
|
+
gap: 4px;
|
|
823
|
+
width: 100%;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
.copilotKitAttachmentQueuePreviewAudio audio {
|
|
827
|
+
width: 100%;
|
|
828
|
+
height: 32px;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
/* Video preview in queue */
|
|
832
|
+
.copilotKitAttachmentQueuePreviewVideo {
|
|
833
|
+
width: 100%;
|
|
834
|
+
height: 100%;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
/* Document preview in queue */
|
|
838
|
+
.copilotKitAttachmentQueuePreviewDocument {
|
|
839
|
+
display: flex;
|
|
840
|
+
align-items: center;
|
|
841
|
+
gap: 8px;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
.copilotKitAttachmentQueueDocIcon {
|
|
845
|
+
width: 32px;
|
|
846
|
+
height: 32px;
|
|
847
|
+
border-radius: 6px;
|
|
848
|
+
background: var(--copilot-kit-primary-color, #6366f1);
|
|
849
|
+
color: white;
|
|
850
|
+
display: flex;
|
|
851
|
+
align-items: center;
|
|
852
|
+
justify-content: center;
|
|
853
|
+
font-size: 10px;
|
|
854
|
+
font-weight: 600;
|
|
855
|
+
flex-shrink: 0;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
.copilotKitAttachmentQueueDocInfo {
|
|
859
|
+
display: flex;
|
|
860
|
+
flex-direction: column;
|
|
861
|
+
gap: 2px;
|
|
862
|
+
min-width: 0;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
.copilotKitAttachmentQueueFilename {
|
|
866
|
+
font-size: 12px;
|
|
867
|
+
font-weight: 500;
|
|
868
|
+
overflow: hidden;
|
|
869
|
+
text-overflow: ellipsis;
|
|
870
|
+
white-space: nowrap;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
.copilotKitAttachmentQueueFileSize {
|
|
874
|
+
font-size: 11px;
|
|
875
|
+
color: var(--copilot-kit-secondary-contrast-color);
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
/* Drag-and-drop overlay */
|
|
879
|
+
.copilotKitDragOver {
|
|
880
|
+
outline: 2px dashed var(--copilot-kit-primary-color, #6366f1);
|
|
881
|
+
outline-offset: -4px;
|
|
882
|
+
border-radius: 8px;
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
/* Attachment Rendering in Messages */
|
|
886
|
+
.copilotKitAttachment {
|
|
887
|
+
display: inline-flex;
|
|
888
|
+
flex-direction: column;
|
|
889
|
+
gap: 4px;
|
|
890
|
+
max-width: 100%;
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
.copilotKitAttachmentAudio audio {
|
|
894
|
+
max-width: 300px;
|
|
895
|
+
width: 100%;
|
|
896
|
+
height: 40px;
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
.copilotKitAttachmentVideo video {
|
|
900
|
+
max-width: 400px;
|
|
901
|
+
width: 100%;
|
|
902
|
+
border-radius: 8px;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
.copilotKitAttachmentDocument {
|
|
906
|
+
display: inline-flex;
|
|
907
|
+
align-items: center;
|
|
908
|
+
gap: 8px;
|
|
909
|
+
padding: 8px 12px;
|
|
910
|
+
border: 1px solid var(--copilot-kit-separator-color);
|
|
911
|
+
border-radius: 8px;
|
|
912
|
+
background: var(--copilot-kit-input-background-color);
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
.copilotKitAttachmentDocIcon {
|
|
916
|
+
width: 28px;
|
|
917
|
+
height: 28px;
|
|
918
|
+
border-radius: 6px;
|
|
919
|
+
background: var(--copilot-kit-primary-color, #6366f1);
|
|
920
|
+
color: white;
|
|
921
|
+
display: flex;
|
|
922
|
+
align-items: center;
|
|
923
|
+
justify-content: center;
|
|
924
|
+
font-size: 9px;
|
|
925
|
+
font-weight: 600;
|
|
926
|
+
flex-shrink: 0;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
.copilotKitAttachmentDocInfo {
|
|
930
|
+
display: flex;
|
|
931
|
+
flex-direction: column;
|
|
932
|
+
gap: 1px;
|
|
933
|
+
min-width: 0;
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
.copilotKitAttachmentDocName {
|
|
937
|
+
font-size: 13px;
|
|
938
|
+
font-weight: 500;
|
|
939
|
+
overflow: hidden;
|
|
940
|
+
text-overflow: ellipsis;
|
|
941
|
+
white-space: nowrap;
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
.copilotKitAttachmentDocMeta {
|
|
945
|
+
font-size: 11px;
|
|
946
|
+
color: var(--copilot-kit-secondary-contrast-color);
|
|
947
|
+
}
|
|
948
|
+
|
|
669
949
|
.copilotKitWindow {
|
|
670
950
|
position: fixed;
|
|
671
951
|
inset: 0px;
|
|
@@ -913,6 +1193,7 @@ li.copilotKitMarkdownElement {
|
|
|
913
1193
|
padding: 0.05rem 0.4rem;
|
|
914
1194
|
font-size: 15px;
|
|
915
1195
|
}
|
|
1196
|
+
|
|
916
1197
|
.copilotKitMessages footer .suggestions {
|
|
917
1198
|
display: flex;
|
|
918
1199
|
flex-wrap: wrap;
|
|
@@ -931,7 +1212,9 @@ li.copilotKitMarkdownElement {
|
|
|
931
1212
|
border-radius: 15px;
|
|
932
1213
|
border: 1px solid var(--copilot-kit-muted-color);
|
|
933
1214
|
color: var(--copilot-kit-secondary-contrast-color);
|
|
934
|
-
box-shadow:
|
|
1215
|
+
box-shadow:
|
|
1216
|
+
0 5px 5px 0px rgba(0, 0, 0, 0.01),
|
|
1217
|
+
0 2px 3px 0px rgba(0, 0, 0, 0.02);
|
|
935
1218
|
}
|
|
936
1219
|
|
|
937
1220
|
.copilotKitMessages footer .suggestions .suggestion.loading {
|
|
@@ -956,6 +1239,7 @@ li.copilotKitMarkdownElement {
|
|
|
956
1239
|
.copilotKitMessages footer .suggestions button svg {
|
|
957
1240
|
margin-right: 6px;
|
|
958
1241
|
}
|
|
1242
|
+
|
|
959
1243
|
.copilotKitChat {
|
|
960
1244
|
z-index: 30;
|
|
961
1245
|
line-height: 1.5;
|
|
@@ -1073,7 +1357,11 @@ li.copilotKitMarkdownElement {
|
|
|
1073
1357
|
}
|
|
1074
1358
|
|
|
1075
1359
|
.copilotKitDevConsole .copilotKitDebugMenuTriggerButton:hover {
|
|
1076
|
-
background-color: color-mix(
|
|
1360
|
+
background-color: color-mix(
|
|
1361
|
+
in srgb,
|
|
1362
|
+
var(--copilot-kit-dev-console-bg) 85%,
|
|
1363
|
+
black
|
|
1364
|
+
);
|
|
1077
1365
|
color: var(--copilot-kit-dev-console-text);
|
|
1078
1366
|
}
|
|
1079
1367
|
|
|
@@ -1082,7 +1370,9 @@ html.dark,
|
|
|
1082
1370
|
body.dark,
|
|
1083
1371
|
[data-theme="dark"],
|
|
1084
1372
|
html[style*="color-scheme: dark"],
|
|
1085
|
-
body[style*="color-scheme: dark"]
|
|
1373
|
+
body[style*="color-scheme: dark"]
|
|
1374
|
+
.copilotKitDevConsole
|
|
1375
|
+
.copilotKitDebugMenuTriggerButton {
|
|
1086
1376
|
color: white;
|
|
1087
1377
|
}
|
|
1088
1378
|
|
|
@@ -1091,8 +1381,14 @@ html.dark,
|
|
|
1091
1381
|
body.dark,
|
|
1092
1382
|
[data-theme="dark"],
|
|
1093
1383
|
html[style*="color-scheme: dark"],
|
|
1094
|
-
body[style*="color-scheme: dark"]
|
|
1095
|
-
|
|
1384
|
+
body[style*="color-scheme: dark"]
|
|
1385
|
+
.copilotKitDevConsole
|
|
1386
|
+
.copilotKitDebugMenuTriggerButton:hover {
|
|
1387
|
+
background-color: color-mix(
|
|
1388
|
+
in srgb,
|
|
1389
|
+
var(--copilot-kit-dev-console-bg) 20%,
|
|
1390
|
+
black
|
|
1391
|
+
);
|
|
1096
1392
|
}
|
|
1097
1393
|
|
|
1098
1394
|
.copilotKitDevConsole .copilotKitDebugMenuTriggerButton > svg {
|
|
@@ -1100,7 +1396,11 @@ body[style*="color-scheme: dark"] .copilotKitDevConsole .copilotKitDebugMenuTrig
|
|
|
1100
1396
|
}
|
|
1101
1397
|
|
|
1102
1398
|
.copilotKitDebugMenu {
|
|
1103
|
-
--copilot-kit-dev-console-border: color-mix(
|
|
1399
|
+
--copilot-kit-dev-console-border: color-mix(
|
|
1400
|
+
in srgb,
|
|
1401
|
+
var(--copilot-kit-dev-console-bg) 80%,
|
|
1402
|
+
black
|
|
1403
|
+
);
|
|
1104
1404
|
margin-top: 2px;
|
|
1105
1405
|
border-radius: 6px;
|
|
1106
1406
|
background-color: var(--copilot-kit-dev-console-bg);
|
|
@@ -1125,7 +1425,11 @@ body[style*="color-scheme: dark"] .copilotKitDevConsole .copilotKitDebugMenuTrig
|
|
|
1125
1425
|
}
|
|
1126
1426
|
|
|
1127
1427
|
.copilotKitDebugMenuItem:hover {
|
|
1128
|
-
background-color: color-mix(
|
|
1428
|
+
background-color: color-mix(
|
|
1429
|
+
in srgb,
|
|
1430
|
+
var(--copilot-kit-dev-console-bg) 95%,
|
|
1431
|
+
black
|
|
1432
|
+
);
|
|
1129
1433
|
border-radius: 4px;
|
|
1130
1434
|
}
|
|
1131
1435
|
|
|
@@ -1155,14 +1459,19 @@ body[style*="color-scheme: dark"] .copilotKitDevConsole .copilotKitDebugMenuTrig
|
|
|
1155
1459
|
font-size: 0.8rem;
|
|
1156
1460
|
border: 1px solid var(--copilot-kit-muted-color);
|
|
1157
1461
|
color: var(--copilot-kit-dev-console-text);
|
|
1158
|
-
box-shadow:
|
|
1462
|
+
box-shadow:
|
|
1463
|
+
0 5px 5px 0px rgba(0, 0, 0, 0.01),
|
|
1464
|
+
0 2px 3px 0px rgba(0, 0, 0, 0.02);
|
|
1159
1465
|
background-color: var(--copilot-kit-dev-console-bg);
|
|
1160
1466
|
}
|
|
1161
1467
|
.copilotKitHelpItemButton:hover {
|
|
1162
|
-
background-color: color-mix(
|
|
1468
|
+
background-color: color-mix(
|
|
1469
|
+
in srgb,
|
|
1470
|
+
var(--copilot-kit-dev-console-bg) 95%,
|
|
1471
|
+
black
|
|
1472
|
+
);
|
|
1163
1473
|
}
|
|
1164
1474
|
|
|
1165
|
-
|
|
1166
1475
|
/* Default styles for the ResponseRenderer component */
|
|
1167
1476
|
|
|
1168
1477
|
.copilotkit-response {
|