@xipkg/calls-chat 0.1.9 → 0.1.11
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/index.d.ts +3 -3
- package/package.json +18 -18
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import * as zustand from 'zustand';
|
|
3
3
|
|
|
4
4
|
type ChatProps = {
|
|
5
5
|
/** В компакт-режиме: классы позиционирования (как у CompactCall: top-16 bottom-4 left-4 и т.д.) */
|
|
6
6
|
compactPositionClassName?: string;
|
|
7
7
|
};
|
|
8
|
-
declare const Chat: ({ compactPositionClassName }?: ChatProps) =>
|
|
8
|
+
declare const Chat: ({ compactPositionClassName }?: ChatProps) => react.JSX.Element | null;
|
|
9
9
|
|
|
10
10
|
type ChatButtonProps = {
|
|
11
11
|
/** Дополнительные классы (например, для компактной панели: h-8 w-8 rounded-xl) */
|
|
12
12
|
className?: string;
|
|
13
13
|
};
|
|
14
|
-
declare const ChatButton: ({ className }: ChatButtonProps) =>
|
|
14
|
+
declare const ChatButton: ({ className }: ChatButtonProps) => react.JSX.Element;
|
|
15
15
|
|
|
16
16
|
declare const useChat: () => {
|
|
17
17
|
sendChatMessage: (text: string) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xipkg/calls-chat",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -12,27 +12,27 @@
|
|
|
12
12
|
},
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@xipkg/scrollarea": "2.
|
|
16
|
-
"@xipkg/userprofile": "4.
|
|
17
|
-
"@xipkg/icons": "^3.0
|
|
18
|
-
"@xipkg/textarea": "1.
|
|
19
|
-
"@xipkg/button": "4.
|
|
20
|
-
"@xipkg/calls-ui": "^0.1.
|
|
21
|
-
"@xipkg/calls-utils": "^0.1.
|
|
22
|
-
"@xipkg/calls-types": "^0.1.
|
|
23
|
-
"@xipkg/calls-config": "^0.1.
|
|
24
|
-
"@xipkg/calls-providers": "^0.1.
|
|
25
|
-
"@xipkg/calls-store": "^0.1.
|
|
26
|
-
"@xipkg/calls-hooks": "^0.1.
|
|
27
|
-
"zustand": "5.0.
|
|
15
|
+
"@xipkg/scrollarea": "2.3.0",
|
|
16
|
+
"@xipkg/userprofile": "4.2.0",
|
|
17
|
+
"@xipkg/icons": "^3.1.0",
|
|
18
|
+
"@xipkg/textarea": "1.3.0",
|
|
19
|
+
"@xipkg/button": "4.3.0",
|
|
20
|
+
"@xipkg/calls-ui": "^0.1.11",
|
|
21
|
+
"@xipkg/calls-utils": "^0.1.11",
|
|
22
|
+
"@xipkg/calls-types": "^0.1.11",
|
|
23
|
+
"@xipkg/calls-config": "^0.1.11",
|
|
24
|
+
"@xipkg/calls-providers": "^0.1.11",
|
|
25
|
+
"@xipkg/calls-store": "^0.1.11",
|
|
26
|
+
"@xipkg/calls-hooks": "^0.1.11",
|
|
27
|
+
"zustand": "5.0.14",
|
|
28
28
|
"@xipkg/utils": "^1.8.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@tanstack/react-query-devtools": "5.
|
|
31
|
+
"@tanstack/react-query-devtools": "5.101.4",
|
|
32
32
|
"@eslint/js": "^9.19.0",
|
|
33
33
|
"common.typescript": "*",
|
|
34
34
|
"@types/node": "^20.3.1",
|
|
35
|
-
"@types/react": "^19.
|
|
35
|
+
"@types/react": "^19.2.17",
|
|
36
36
|
"@types/react-dom": "^19.0.2",
|
|
37
37
|
"@xipkg/eslint": "4.6.0",
|
|
38
38
|
"@xipkg/typescript": "0.2.0",
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"eslint-plugin-react-refresh": "^0.4.18",
|
|
43
43
|
"globals": "^15.14.0",
|
|
44
44
|
"typescript": "~5.7.2",
|
|
45
|
-
"typescript-eslint": "^8.
|
|
45
|
+
"typescript-eslint": "^8.65.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"react": "19"
|
|
48
|
+
"react": "^19.2.8"
|
|
49
49
|
},
|
|
50
50
|
"description": "calls package",
|
|
51
51
|
"author": "xi.effect",
|