@100mslive/roomkit-react 0.3.11-alpha.6 → 0.3.11-alpha.8
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/{HLSView-EDTAEGGA.js → HLSView-VRWXYNFD.js} +120 -109
- package/dist/{HLSView-EDTAEGGA.js.map → HLSView-VRWXYNFD.js.map} +2 -2
- package/dist/{HLSView-4TKT4P7R.css → HLSView-ZFLKFFSD.css} +3 -3
- package/dist/{HLSView-4TKT4P7R.css.map → HLSView-ZFLKFFSD.css.map} +1 -1
- package/dist/WhiteboardLayout-L4SDISQA.css +2780 -0
- package/dist/WhiteboardLayout-L4SDISQA.css.map +7 -0
- package/dist/WhiteboardLayout-YBVQ5JAO.js +80 -0
- package/dist/WhiteboardLayout-YBVQ5JAO.js.map +7 -0
- package/dist/{chunk-6RJ75CE5.js → chunk-DVZ464HO.js} +1965 -1719
- package/dist/chunk-DVZ464HO.js.map +7 -0
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +1860 -1556
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +808 -223
- package/dist/meta.esbuild.json +943 -253
- package/package.json +7 -7
- package/src/Prebuilt/components/AppData/AppData.tsx +2 -2
- package/src/Prebuilt/components/VideoLayouts/GridLayout.tsx +11 -7
- package/dist/chunk-6RJ75CE5.js.map +0 -7
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"prebuilt",
|
11
11
|
"roomkit"
|
12
12
|
],
|
13
|
-
"version": "0.3.11-alpha.
|
13
|
+
"version": "0.3.11-alpha.8",
|
14
14
|
"author": "100ms",
|
15
15
|
"license": "MIT",
|
16
16
|
"repository": {
|
@@ -74,12 +74,12 @@
|
|
74
74
|
"react": ">=17.0.2 <19.0.0"
|
75
75
|
},
|
76
76
|
"dependencies": {
|
77
|
-
"@100mslive/hls-player": "0.3.11-alpha.
|
77
|
+
"@100mslive/hls-player": "0.3.11-alpha.8",
|
78
78
|
"@100mslive/hms-noise-cancellation": "0.0.1",
|
79
|
-
"@100mslive/hms-virtual-background": "1.13.11-alpha.
|
80
|
-
"@100mslive/hms-whiteboard": "0.0.1-alpha.
|
81
|
-
"@100mslive/react-icons": "0.10.11-alpha.
|
82
|
-
"@100mslive/react-sdk": "0.10.11-alpha.
|
79
|
+
"@100mslive/hms-virtual-background": "1.13.11-alpha.8",
|
80
|
+
"@100mslive/hms-whiteboard": "0.0.1-alpha.8",
|
81
|
+
"@100mslive/react-icons": "0.10.11-alpha.8",
|
82
|
+
"@100mslive/react-sdk": "0.10.11-alpha.8",
|
83
83
|
"@100mslive/types-prebuilt": "0.12.8",
|
84
84
|
"@emoji-mart/data": "^1.0.6",
|
85
85
|
"@emoji-mart/react": "^1.0.1",
|
@@ -115,5 +115,5 @@
|
|
115
115
|
"uuid": "^8.3.2",
|
116
116
|
"worker-timers": "^7.0.40"
|
117
117
|
},
|
118
|
-
"gitHead": "
|
118
|
+
"gitHead": "d1c0c9fe66f723e73a9356160b2107c6ac7ae27a"
|
119
119
|
}
|
@@ -66,8 +66,8 @@ const initialAppData = {
|
|
66
66
|
[POLL_STATE.pollInView]: '',
|
67
67
|
[POLL_STATE.view]: '',
|
68
68
|
},
|
69
|
-
// by default on because of on demand now
|
70
|
-
[APP_DATA.caption]:
|
69
|
+
// by default on because of on demand now, for beam disabled
|
70
|
+
[APP_DATA.caption]: false,
|
71
71
|
};
|
72
72
|
|
73
73
|
export const AppData = React.memo(() => {
|
@@ -17,12 +17,14 @@ import { ToastManager } from '../Toast/ToastManager';
|
|
17
17
|
import { EqualProminence } from './EqualProminence';
|
18
18
|
import { RoleProminence } from './RoleProminence';
|
19
19
|
import { ScreenshareLayout } from './ScreenshareLayout';
|
20
|
-
import { WhiteboardLayout } from './WhiteboardLayout';
|
21
20
|
// @ts-ignore: No implicit Any
|
22
21
|
import { usePinnedTrack, useSetAppDataByKey } from '../AppData/useUISettings';
|
23
22
|
import { VideoTileContext } from '../hooks/useVideoTileLayout';
|
24
23
|
import PeersSorter from '../../common/PeersSorter';
|
25
24
|
import { APP_DATA } from '../../common/constants';
|
25
|
+
const WhiteboardLayout = React.lazy(() =>
|
26
|
+
import('./WhiteboardLayout').then(module => ({ default: module.WhiteboardLayout })),
|
27
|
+
);
|
26
28
|
|
27
29
|
export type TileCustomisationProps = {
|
28
30
|
hide_participant_name_on_tile: boolean;
|
@@ -136,12 +138,14 @@ export const GridLayout = ({
|
|
136
138
|
} else if (whiteboard?.open) {
|
137
139
|
return (
|
138
140
|
<VideoTileContext.Provider value={tileLayout}>
|
139
|
-
<
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
141
|
+
<React.Suspense>
|
142
|
+
<WhiteboardLayout
|
143
|
+
peers={sortedPeers}
|
144
|
+
onPageSize={setPageSize}
|
145
|
+
onPageChange={setMainPage}
|
146
|
+
edgeToEdge={edge_to_edge}
|
147
|
+
/>
|
148
|
+
</React.Suspense>
|
145
149
|
</VideoTileContext.Provider>
|
146
150
|
);
|
147
151
|
} else if (isRoleProminence) {
|