@100mslive/roomkit-react 0.3.11-alpha.7 → 0.3.11-alpha.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-6WWKBVGS.js → HLSView-VRWXYNFD.js} +120 -109
- package/dist/{HLSView-6WWKBVGS.js.map → HLSView-VRWXYNFD.js.map} +2 -2
- package/dist/{HLSView-QAQYL76T.css → HLSView-ZFLKFFSD.css} +3 -3
- package/dist/{HLSView-QAQYL76T.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-QYLNZM7J.js → chunk-DVZ464HO.js} +1963 -1717
- package/dist/{chunk-QYLNZM7J.js.map → chunk-DVZ464HO.js.map} +4 -4
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +1858 -1554
- 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 +807 -222
- package/dist/meta.esbuild.json +942 -252
- package/package.json +7 -7
- package/src/Prebuilt/components/VideoLayouts/GridLayout.tsx +11 -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
|
}
|
@@ -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) {
|