@xipkg/calls-compactview 0.1.9 → 0.1.10
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 +6 -6
- package/package.json +19 -19
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import * as _livekit_components_core from '@livekit/components-core';
|
|
3
3
|
|
|
4
4
|
type CompactViewPropsT = {
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
};
|
|
7
|
-
declare const CompactView: ({ children }: CompactViewPropsT) =>
|
|
7
|
+
declare const CompactView: ({ children }: CompactViewPropsT) => react.JSX.Element;
|
|
8
8
|
|
|
9
9
|
declare const CompactCall: ({ saveUserChoices, withOutShadows }: {
|
|
10
10
|
saveUserChoices?: boolean | undefined;
|
|
11
11
|
withOutShadows?: boolean | undefined;
|
|
12
|
-
}) =>
|
|
12
|
+
}) => react.JSX.Element;
|
|
13
13
|
|
|
14
14
|
interface CompactNavigationControlsProps {
|
|
15
15
|
canPrev: boolean;
|
|
@@ -23,13 +23,13 @@ interface CompactNavigationControlsProps {
|
|
|
23
23
|
* Элементы управления навигацией для компактного вида
|
|
24
24
|
* Показывает кнопки навигации и индикаторы участников только при наведении
|
|
25
25
|
*/
|
|
26
|
-
declare function CompactNavigationControls({ canPrev, canNext, onPrev, onNext, currentIndex, totalParticipants, }: CompactNavigationControlsProps):
|
|
26
|
+
declare function CompactNavigationControls({ canPrev, canNext, onPrev, onNext, currentIndex, totalParticipants, }: CompactNavigationControlsProps): react.JSX.Element | null;
|
|
27
27
|
|
|
28
28
|
type PiPCompactCallPropsT = {
|
|
29
29
|
pipWindow: Window;
|
|
30
30
|
resizePiPTo?: (height: number) => void;
|
|
31
31
|
};
|
|
32
|
-
declare function PiPCompactCall({ pipWindow, resizePiPTo }: PiPCompactCallPropsT):
|
|
32
|
+
declare function PiPCompactCall({ pipWindow, resizePiPTo }: PiPCompactCallPropsT): react.JSX.Element;
|
|
33
33
|
|
|
34
34
|
type PiPContextValue = {
|
|
35
35
|
openPiP: () => Promise<void>;
|
|
@@ -45,7 +45,7 @@ type PiPProviderProps = {
|
|
|
45
45
|
* Предоставляет API PiP (openPiP, isSupported) дочерним компонентам и управляет
|
|
46
46
|
* Document Picture-in-Picture (логика из PiPManager).
|
|
47
47
|
*/
|
|
48
|
-
declare function PiPProvider({ children }: PiPProviderProps):
|
|
48
|
+
declare function PiPProvider({ children }: PiPProviderProps): react.JSX.Element;
|
|
49
49
|
|
|
50
50
|
declare function useCompactAvailableHeight(isOnBoardPage: boolean): number;
|
|
51
51
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xipkg/calls-compactview",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -12,28 +12,28 @@
|
|
|
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
|
-
"@xipkg/calls-chat": "^0.1.
|
|
28
|
-
"@xipkg/calls-risehand": "^0.1.
|
|
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.10",
|
|
21
|
+
"@xipkg/calls-utils": "^0.1.10",
|
|
22
|
+
"@xipkg/calls-types": "^0.1.10",
|
|
23
|
+
"@xipkg/calls-config": "^0.1.10",
|
|
24
|
+
"@xipkg/calls-providers": "^0.1.10",
|
|
25
|
+
"@xipkg/calls-store": "^0.1.10",
|
|
26
|
+
"@xipkg/calls-hooks": "^0.1.10",
|
|
27
|
+
"@xipkg/calls-chat": "^0.1.10",
|
|
28
|
+
"@xipkg/calls-risehand": "^0.1.10",
|
|
29
29
|
"@xipkg/utils": "^1.8.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@tanstack/react-query-devtools": "5.
|
|
32
|
+
"@tanstack/react-query-devtools": "5.101.4",
|
|
33
33
|
"@eslint/js": "^9.19.0",
|
|
34
34
|
"common.typescript": "*",
|
|
35
35
|
"@types/node": "^20.3.1",
|
|
36
|
-
"@types/react": "^19.
|
|
36
|
+
"@types/react": "^19.2.17",
|
|
37
37
|
"@types/react-dom": "^19.0.2",
|
|
38
38
|
"@xipkg/eslint": "4.6.0",
|
|
39
39
|
"@xipkg/typescript": "0.2.0",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"eslint-plugin-react-refresh": "^0.4.18",
|
|
44
44
|
"globals": "^15.14.0",
|
|
45
45
|
"typescript": "~5.7.2",
|
|
46
|
-
"typescript-eslint": "^8.
|
|
46
|
+
"typescript-eslint": "^8.65.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"react": "19"
|
|
49
|
+
"react": "^19.2.8"
|
|
50
50
|
},
|
|
51
51
|
"description": "calls package for compact view",
|
|
52
52
|
"author": "xi.effect",
|