@fraku/video 0.0.6 → 0.0.7
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/ZoomVideo.d.ts +11 -0
- package/dist/ZoomVideo.stories.d.ts +8 -0
- package/dist/{components/ZoomVideoPlugin/ZoomVideoPlugin.d.ts → ZoomVideoPlugin.d.ts} +1 -1
- package/dist/ZoomVideoPlugin.stories.d.ts +8 -0
- package/dist/ZoomVideoPluginRouter.d.ts +4 -0
- package/dist/ZoomVideoProvider.d.ts +12 -0
- package/dist/components/Chat/Chat.d.ts +2 -0
- package/dist/components/Chat/index.d.ts +1 -0
- package/dist/components/Video.d.ts +2 -0
- package/dist/{components/ZoomVideoPlugin/context.d.ts → context.d.ts} +15 -4
- package/dist/hooks/useAsyncHandler.d.ts +5 -0
- package/dist/hooks/useClientMessages.d.ts +5 -0
- package/dist/hooks/useIsMobile.d.ts +2 -0
- package/dist/index.cjs +102 -263
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +23088 -22790
- package/package.json +10 -5
- package/dist/App.d.ts +0 -3
- package/dist/components/ZoomVideoPlugin/ZoomVideoPlugin.stories.d.ts +0 -27
- package/dist/components/ZoomVideoPlugin/components/Video.d.ts +0 -5
- package/dist/components/ZoomVideoPlugin/hooks/useClientMessages.d.ts +0 -21
- package/dist/components/ZoomVideoPlugin/index.d.ts +0 -2
- package/dist/main.d.ts +0 -1
- /package/dist/components/{ZoomVideoPlugin/components/ButtonsDock → ButtonsDock}/ButtonsDock.d.ts +0 -0
- /package/dist/components/{ZoomVideoPlugin/components/ButtonsDock → ButtonsDock}/DockButton.d.ts +0 -0
- /package/dist/components/{ZoomVideoPlugin/components/ButtonsDock → ButtonsDock}/MenuItemTemplate.d.ts +0 -0
- /package/dist/components/{ZoomVideoPlugin/components/ButtonsDock → ButtonsDock}/index.d.ts +0 -0
- /package/dist/components/{ZoomVideoPlugin/components/MobileIconButton → MobileIconButton}/MobileIconButton.d.ts +0 -0
- /package/dist/components/{ZoomVideoPlugin/components/MobileIconButton → MobileIconButton}/index.d.ts +0 -0
- /package/dist/components/{ZoomVideoPlugin/components/Overlay → Overlay}/Overlay.d.ts +0 -0
- /package/dist/components/{ZoomVideoPlugin/components/Overlay → Overlay}/index.d.ts +0 -0
- /package/dist/components/{ZoomVideoPlugin/components/ParticipantsList.d.ts → ParticipantsList.d.ts} +0 -0
- /package/dist/components/{ZoomVideoPlugin/components/SettingsOverlay → SettingsOverlay}/SettingsContent.d.ts +0 -0
- /package/dist/components/{ZoomVideoPlugin/components/SettingsOverlay → SettingsOverlay}/SettingsMenu.d.ts +0 -0
- /package/dist/components/{ZoomVideoPlugin/components/SettingsOverlay → SettingsOverlay}/SettingsOverlay.d.ts +0 -0
- /package/dist/components/{ZoomVideoPlugin/components/SettingsOverlay → SettingsOverlay}/Tabs/AudioSettings.d.ts +0 -0
- /package/dist/components/{ZoomVideoPlugin/components/SettingsOverlay → SettingsOverlay}/Tabs/BackgroundSettings.d.ts +0 -0
- /package/dist/components/{ZoomVideoPlugin/components/SettingsOverlay → SettingsOverlay}/Tabs/DropdownItemTemplate.d.ts +0 -0
- /package/dist/components/{ZoomVideoPlugin/components/SettingsOverlay → SettingsOverlay}/Tabs/DropdownValueTemplate.d.ts +0 -0
- /package/dist/components/{ZoomVideoPlugin/components/SettingsOverlay → SettingsOverlay}/Tabs/VideoSettings.d.ts +0 -0
- /package/dist/components/{ZoomVideoPlugin/components/SettingsOverlay → SettingsOverlay}/context.d.ts +0 -0
- /package/dist/components/{ZoomVideoPlugin/components/SettingsOverlay → SettingsOverlay}/index.d.ts +0 -0
- /package/dist/{components/ZoomVideoPlugin/constants.d.ts → constants.d.ts} +0 -0
- /package/dist/{components/ZoomVideoPlugin/hooks → hooks}/useDeviceSize.d.ts +0 -0
- /package/dist/{components/ZoomVideoPlugin/hooks → hooks}/useStartVideoOptions.d.ts +0 -0
- /package/dist/{components/ZoomVideoPlugin/hooks → hooks}/useZoomVideoPlayer.d.ts +0 -0
- /package/dist/{components/ZoomVideoPlugin/lib → lib}/platforms.d.ts +0 -0
- /package/dist/{components/ZoomVideoPlugin/pages → pages}/AfterSession.d.ts +0 -0
- /package/dist/{components/ZoomVideoPlugin/pages → pages}/MainSession.d.ts +0 -0
- /package/dist/{components/ZoomVideoPlugin/pages → pages}/PanelistsSession.d.ts +0 -0
- /package/dist/{components/ZoomVideoPlugin/pages → pages}/PreSessionConfiguration.d.ts +0 -0
- /package/dist/{components/ZoomVideoPlugin/types.d.ts → types.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,29 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fraku/video",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.7",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.js",
|
|
8
8
|
"types": "./dist/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
|
+
"./package.json": "./package.json",
|
|
10
11
|
".": {
|
|
11
12
|
"types": "./dist/index.d.ts",
|
|
12
13
|
"import": "./dist/index.js",
|
|
13
14
|
"require": "./dist/index.cjs"
|
|
14
15
|
},
|
|
15
16
|
"./dist/index.css": "./dist/index.css",
|
|
17
|
+
"./dist/*": "./dist/*",
|
|
18
|
+
"./*": "./dist/*",
|
|
16
19
|
"./src": "./src/index.ts"
|
|
17
20
|
},
|
|
18
21
|
"files": [
|
|
19
22
|
"dist"
|
|
20
23
|
],
|
|
21
24
|
"scripts": {
|
|
22
|
-
"dev": "vite",
|
|
23
25
|
"build": "tsc && vite build",
|
|
24
26
|
"build:css": "tailwindcss -c ./tailwind.config.js -i ./src/index.css -o ./dist/index.css --minify",
|
|
25
27
|
"watch:css": "tailwindcss -c ./tailwind.config.js -i ./src/index.css -o ./dist/index.css --watch",
|
|
26
|
-
"lint": "
|
|
28
|
+
"lint": "npm run lint:ts && npm run lint:js",
|
|
29
|
+
"lint:ts": "tsc --noEmit",
|
|
30
|
+
"lint:js": "eslint . --cache --cache-location node_modules/.eslintcache --ext ts,tsx --report-unused-disable-directives",
|
|
27
31
|
"preview": "vite preview",
|
|
28
32
|
"prepublishOnly": "npm run build",
|
|
29
33
|
"storybook": "storybook dev -p 6006 --no-open",
|
|
@@ -36,6 +40,7 @@
|
|
|
36
40
|
"dependencies": {
|
|
37
41
|
"@zoom/videosdk": "^2.2.12",
|
|
38
42
|
"classnames": "^2.5.1",
|
|
43
|
+
"clsx": "^2.1.1",
|
|
39
44
|
"primeicons": "^7.0.0",
|
|
40
45
|
"primereact": "^10.9.6",
|
|
41
46
|
"react-use": "^17.6.0",
|
|
@@ -50,7 +55,7 @@
|
|
|
50
55
|
"@types/styled-components": "^5.1.34",
|
|
51
56
|
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
|
52
57
|
"@typescript-eslint/parser": "^6.14.0",
|
|
53
|
-
"@vitejs/plugin-react": "^4.
|
|
58
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
54
59
|
"autoprefixer": "^10.4.21",
|
|
55
60
|
"eslint": "^8.55.0",
|
|
56
61
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
@@ -62,7 +67,7 @@
|
|
|
62
67
|
"storybook": "^9.1.13",
|
|
63
68
|
"tailwindcss": "^3.4.17",
|
|
64
69
|
"typescript": "^5.2.2",
|
|
65
|
-
"vite": "^
|
|
70
|
+
"vite": "^6.0.7",
|
|
66
71
|
"vite-plugin-dts": "^3.6.4"
|
|
67
72
|
},
|
|
68
73
|
"keywords": [
|
package/dist/App.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: ({ credentials, closeParentContainer, setIsCloseButtonVisible }: import('./types').ZoomVideoPluginProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
};
|
|
9
|
-
tags: string[];
|
|
10
|
-
argTypes: {
|
|
11
|
-
credentials: {
|
|
12
|
-
description: string;
|
|
13
|
-
control: "object";
|
|
14
|
-
};
|
|
15
|
-
closeParentContainer: {
|
|
16
|
-
description: string;
|
|
17
|
-
action: string;
|
|
18
|
-
};
|
|
19
|
-
setIsCloseButtonVisible: {
|
|
20
|
-
description: string;
|
|
21
|
-
action: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
export default meta;
|
|
26
|
-
type Story = StoryObj<typeof meta>;
|
|
27
|
-
export declare const Default: Story;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ActiveSpeaker, ConnectionState, MediaDevice, Participant, Stream, VideoClient } from '@zoom/videosdk';
|
|
2
|
-
|
|
3
|
-
type Props = {
|
|
4
|
-
zmClient: typeof VideoClient | null;
|
|
5
|
-
mediaStream: typeof Stream | null;
|
|
6
|
-
setActiveMicrophone: ReactSetter<string | undefined>;
|
|
7
|
-
setActiveAudioOutput: ReactSetter<string | undefined>;
|
|
8
|
-
setActiveCamera: ReactSetter<string | undefined>;
|
|
9
|
-
setMicList: ReactSetter<MediaDevice[]>;
|
|
10
|
-
setAudioOutputList: ReactSetter<MediaDevice[]>;
|
|
11
|
-
setCameraList: ReactSetter<MediaDevice[]>;
|
|
12
|
-
setConnectionState: ReactSetter<ConnectionState | null>;
|
|
13
|
-
setIsCamOn: ReactSetter<boolean>;
|
|
14
|
-
setIsMicOn: ReactSetter<boolean>;
|
|
15
|
-
setActiveSpeakers: ReactSetter<ActiveSpeaker[]>;
|
|
16
|
-
setParticipants: ReactSetter<Participant[]>;
|
|
17
|
-
setActiveVideoId: ReactSetter<number | null>;
|
|
18
|
-
setHandRaises: ReactSetter<Record<string, boolean>>;
|
|
19
|
-
};
|
|
20
|
-
export declare const useClientMessages: ({ zmClient, mediaStream, setActiveMicrophone, setActiveAudioOutput, setActiveCamera, setMicList, setAudioOutputList, setCameraList, setConnectionState, setIsCamOn, setIsMicOn, setActiveSpeakers, setActiveVideoId, setParticipants, setHandRaises }: Props) => void;
|
|
21
|
-
export {};
|
package/dist/main.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
/package/dist/components/{ZoomVideoPlugin/components/ButtonsDock → ButtonsDock}/ButtonsDock.d.ts
RENAMED
|
File without changes
|
/package/dist/components/{ZoomVideoPlugin/components/ButtonsDock → ButtonsDock}/DockButton.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/components/{ZoomVideoPlugin/components/MobileIconButton → MobileIconButton}/index.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/components/{ZoomVideoPlugin/components/ParticipantsList.d.ts → ParticipantsList.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/components/{ZoomVideoPlugin/components/SettingsOverlay → SettingsOverlay}/context.d.ts
RENAMED
|
File without changes
|
/package/dist/components/{ZoomVideoPlugin/components/SettingsOverlay → SettingsOverlay}/index.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|