@rolder/kit 3.0.0-alpha.39 → 3.0.0-alpha.40
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/dist/ai/ui/chat/Empty.js
CHANGED
|
@@ -4,7 +4,7 @@ import { useIsEmpty } from "./store/index.js";
|
|
|
4
4
|
const Empty = ()=>{
|
|
5
5
|
const isEmpty = useIsEmpty();
|
|
6
6
|
console.log('Empty render', isEmpty);
|
|
7
|
-
return isEmpty ?
|
|
7
|
+
return isEmpty ? /*#__PURE__*/ jsxs(Stack, {
|
|
8
8
|
align: "center",
|
|
9
9
|
gap: 0,
|
|
10
10
|
children: [
|
|
@@ -17,6 +17,6 @@ const Empty = ()=>{
|
|
|
17
17
|
children: "Начните общение, чтобы увидеть сообщения здесь"
|
|
18
18
|
})
|
|
19
19
|
]
|
|
20
|
-
});
|
|
20
|
+
}) : null;
|
|
21
21
|
};
|
|
22
22
|
export { Empty };
|
|
@@ -7,7 +7,10 @@ const Message = /*#__PURE__*/ memo(({ messageId })=>{
|
|
|
7
7
|
const message = useChatMessage(messageId);
|
|
8
8
|
const part = useChatMessagePart(messageId, 'text');
|
|
9
9
|
const isStreaming = useIsStreaming();
|
|
10
|
-
console.log('Message render',
|
|
10
|
+
console.log('Message render', {
|
|
11
|
+
message,
|
|
12
|
+
part
|
|
13
|
+
});
|
|
11
14
|
return part ? /*#__PURE__*/ jsx(Paper, {
|
|
12
15
|
radius: "md",
|
|
13
16
|
px: "md",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rolder/kit",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.40",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@types/js-cookie": "^3.0.6",
|
|
27
27
|
"@types/omgopass": "^3.2.3",
|
|
28
28
|
"@types/react": "^19.2.8",
|
|
29
|
-
"@typescript/native-preview": "^7.0.0-dev.
|
|
29
|
+
"@typescript/native-preview": "^7.0.0-dev.20260117.1",
|
|
30
30
|
"typescript": "^5.9.3"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"react": "^19.2.3",
|
|
66
66
|
"react-dom": "^19.2.3",
|
|
67
67
|
"streamdown": "^2.0.1",
|
|
68
|
-
"surrealdb": "^
|
|
68
|
+
"surrealdb": "^1.3.2",
|
|
69
69
|
"xlsx": "^0.18.5",
|
|
70
70
|
"zod": "^4.3.5"
|
|
71
71
|
},
|