@copilotkit/react-ui 1.55.2-next.1 → 1.55.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@copilotkit/react-ui",
3
- "version": "1.55.2-next.1",
3
+ "version": "1.55.3",
4
4
  "private": false,
5
5
  "keywords": [
6
6
  "ai",
@@ -48,9 +48,9 @@
48
48
  "rehype-raw": "^7.0.0",
49
49
  "remark-gfm": "^4.0.1",
50
50
  "remark-math": "^6.0.0",
51
- "@copilotkit/react-core": "1.55.2-next.1",
52
- "@copilotkit/runtime-client-gql": "1.55.2-next.1",
53
- "@copilotkit/shared": "1.55.2-next.1"
51
+ "@copilotkit/runtime-client-gql": "1.55.3",
52
+ "@copilotkit/react-core": "1.55.3",
53
+ "@copilotkit/shared": "1.55.3"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@types/react": "^19.1.0",
@@ -929,7 +929,7 @@ export function CopilotChat({
929
929
  onDragOver={handleDragOver}
930
930
  onDragLeave={handleDragLeave}
931
931
  onDrop={handleDrop}
932
- className={dragOver ? "copilotKitDragOver" : ""}
932
+ className={`copilotKitChatBody${dragOver ? " copilotKitDragOver" : ""}`}
933
933
  >
934
934
  {/* Render error above messages if present */}
935
935
  {chatError &&
@@ -37,19 +37,6 @@
37
37
  overflow: visible;
38
38
  margin-right: 0px;
39
39
  transition: margin-right 0.3s ease;
40
- min-height: 100vh;
41
- min-height: 100dvh;
42
- height: 100%;
43
- }
44
-
45
- .copilotKitSidebarContentWrapper > .copilotKitModalChildrenWrapper {
46
- min-height: 100%;
47
- height: 100%;
48
- }
49
-
50
- .copilotKitSidebarContentWrapper > .copilotKitModalChildrenWrapper > * {
51
- min-height: 100%;
52
- height: 100%;
53
40
  }
54
41
 
55
42
  @media (min-width: 640px) {
@@ -32,6 +32,13 @@
32
32
  transform: translateX(0);
33
33
  }
34
34
 
35
+ .copilotKitChatBody {
36
+ flex: 1 1 0%;
37
+ display: flex;
38
+ flex-direction: column;
39
+ min-height: 0;
40
+ }
41
+
35
42
  @media (min-width: 640px) {
36
43
  .copilotKitWindow {
37
44
  transform-origin: bottom right;