@100mslive/roomkit-react 0.3.19-alpha.7 → 0.3.19-alpha.9
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-E3QNR32D.css → HLSView-5SR3RWXG.css} +3 -3
- package/dist/{HLSView-E3QNR32D.css.map → HLSView-5SR3RWXG.css.map} +1 -1
- package/dist/{HLSView-XC3A2RPP.js → HLSView-EYFJ7YDU.js} +2 -2
- package/dist/{chunk-LDTFZNHE.js → chunk-3FZB2LJY.js} +7 -16
- package/dist/{chunk-LDTFZNHE.js.map → chunk-3FZB2LJY.js.map} +2 -2
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +9 -19
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +14 -19
- package/dist/meta.esbuild.json +26 -31
- package/package.json +7 -7
- package/src/Prebuilt/common/PeersSorter.ts +2 -1
- package/src/Prebuilt/components/VideoLayouts/RoleProminence.tsx +2 -9
- package/src/Prebuilt/plugins/CaptionsViewer.tsx +4 -1
- /package/dist/{HLSView-XC3A2RPP.js.map → HLSView-EYFJ7YDU.js.map} +0 -0
package/dist/meta.esbuild.json
CHANGED
|
@@ -10948,7 +10948,7 @@
|
|
|
10948
10948
|
"format": "esm"
|
|
10949
10949
|
},
|
|
10950
10950
|
"src/Prebuilt/components/VideoLayouts/RoleProminence.tsx": {
|
|
10951
|
-
"bytes":
|
|
10951
|
+
"bytes": 2299,
|
|
10952
10952
|
"imports": [
|
|
10953
10953
|
{
|
|
10954
10954
|
"path": "react",
|
|
@@ -10985,11 +10985,6 @@
|
|
|
10985
10985
|
"kind": "import-statement",
|
|
10986
10986
|
"original": "../SecondaryTiles"
|
|
10987
10987
|
},
|
|
10988
|
-
{
|
|
10989
|
-
"path": "src/Prebuilt/components/Settings/LayoutSettings.tsx",
|
|
10990
|
-
"kind": "import-statement",
|
|
10991
|
-
"original": "../Settings/LayoutSettings"
|
|
10992
|
-
},
|
|
10993
10988
|
{
|
|
10994
10989
|
"path": "src/Prebuilt/components/VideoLayouts/Grid.tsx",
|
|
10995
10990
|
"kind": "import-statement",
|
|
@@ -11297,7 +11292,7 @@
|
|
|
11297
11292
|
],
|
|
11298
11293
|
"format": "esm"
|
|
11299
11294
|
},
|
|
11300
|
-
"../../../../../../../tmp/tmp-
|
|
11295
|
+
"../../../../../../../tmp/tmp-2772-2s8rzpDYVCAU/191b73188d32/tldraw.css": {
|
|
11301
11296
|
"bytes": 80111,
|
|
11302
11297
|
"imports": [
|
|
11303
11298
|
{
|
|
@@ -11347,7 +11342,7 @@
|
|
|
11347
11342
|
}
|
|
11348
11343
|
]
|
|
11349
11344
|
},
|
|
11350
|
-
"../../../../../../../tmp/tmp-
|
|
11345
|
+
"../../../../../../../tmp/tmp-2772-2s8rzpDYVCAU/191b73188510/index.css": {
|
|
11351
11346
|
"bytes": 597,
|
|
11352
11347
|
"imports": [
|
|
11353
11348
|
{
|
|
@@ -11356,7 +11351,7 @@
|
|
|
11356
11351
|
"external": true
|
|
11357
11352
|
},
|
|
11358
11353
|
{
|
|
11359
|
-
"path": "../../../../../../../tmp/tmp-
|
|
11354
|
+
"path": "../../../../../../../tmp/tmp-2772-2s8rzpDYVCAU/191b73188d32/tldraw.css",
|
|
11360
11355
|
"kind": "import-rule",
|
|
11361
11356
|
"original": "@tldraw/tldraw/tldraw.css"
|
|
11362
11357
|
}
|
|
@@ -11431,7 +11426,7 @@
|
|
|
11431
11426
|
"original": "../../common/constants"
|
|
11432
11427
|
},
|
|
11433
11428
|
{
|
|
11434
|
-
"path": "../../../../../../../tmp/tmp-
|
|
11429
|
+
"path": "../../../../../../../tmp/tmp-2772-2s8rzpDYVCAU/191b73188510/index.css",
|
|
11435
11430
|
"kind": "import-statement",
|
|
11436
11431
|
"original": "@100mslive/hms-whiteboard/index.css"
|
|
11437
11432
|
},
|
|
@@ -11444,7 +11439,7 @@
|
|
|
11444
11439
|
"format": "esm"
|
|
11445
11440
|
},
|
|
11446
11441
|
"src/Prebuilt/common/PeersSorter.ts": {
|
|
11447
|
-
"bytes":
|
|
11442
|
+
"bytes": 3304,
|
|
11448
11443
|
"imports": [
|
|
11449
11444
|
{
|
|
11450
11445
|
"path": "@100mslive/react-sdk",
|
|
@@ -11628,7 +11623,7 @@
|
|
|
11628
11623
|
"format": "esm"
|
|
11629
11624
|
},
|
|
11630
11625
|
"src/Prebuilt/plugins/CaptionsViewer.tsx": {
|
|
11631
|
-
"bytes":
|
|
11626
|
+
"bytes": 7733,
|
|
11632
11627
|
"imports": [
|
|
11633
11628
|
{
|
|
11634
11629
|
"path": "react",
|
|
@@ -15419,7 +15414,7 @@
|
|
|
15419
15414
|
"dist/index.js": {
|
|
15420
15415
|
"imports": [
|
|
15421
15416
|
{
|
|
15422
|
-
"path": "dist/chunk-
|
|
15417
|
+
"path": "dist/chunk-3FZB2LJY.js",
|
|
15423
15418
|
"kind": "import-statement"
|
|
15424
15419
|
}
|
|
15425
15420
|
],
|
|
@@ -15495,16 +15490,16 @@
|
|
|
15495
15490
|
"inputs": {},
|
|
15496
15491
|
"bytes": 1882
|
|
15497
15492
|
},
|
|
15498
|
-
"dist/HLSView-
|
|
15493
|
+
"dist/HLSView-EYFJ7YDU.js.map": {
|
|
15499
15494
|
"imports": [],
|
|
15500
15495
|
"exports": [],
|
|
15501
15496
|
"inputs": {},
|
|
15502
15497
|
"bytes": 100275
|
|
15503
15498
|
},
|
|
15504
|
-
"dist/HLSView-
|
|
15499
|
+
"dist/HLSView-EYFJ7YDU.js": {
|
|
15505
15500
|
"imports": [
|
|
15506
15501
|
{
|
|
15507
|
-
"path": "dist/chunk-
|
|
15502
|
+
"path": "dist/chunk-3FZB2LJY.js",
|
|
15508
15503
|
"kind": "import-statement"
|
|
15509
15504
|
},
|
|
15510
15505
|
{
|
|
@@ -15682,7 +15677,7 @@
|
|
|
15682
15677
|
"default"
|
|
15683
15678
|
],
|
|
15684
15679
|
"entryPoint": "src/Prebuilt/layouts/HLSView.jsx",
|
|
15685
|
-
"cssBundle": "dist/HLSView-
|
|
15680
|
+
"cssBundle": "dist/HLSView-5SR3RWXG.css",
|
|
15686
15681
|
"inputs": {
|
|
15687
15682
|
"src/Prebuilt/layouts/HLSView.jsx": {
|
|
15688
15683
|
"bytesInOutput": 27671
|
|
@@ -15741,13 +15736,13 @@
|
|
|
15741
15736
|
},
|
|
15742
15737
|
"bytes": 61702
|
|
15743
15738
|
},
|
|
15744
|
-
"dist/chunk-
|
|
15739
|
+
"dist/chunk-3FZB2LJY.js.map": {
|
|
15745
15740
|
"imports": [],
|
|
15746
15741
|
"exports": [],
|
|
15747
15742
|
"inputs": {},
|
|
15748
|
-
"bytes":
|
|
15743
|
+
"bytes": 3518349
|
|
15749
15744
|
},
|
|
15750
|
-
"dist/chunk-
|
|
15745
|
+
"dist/chunk-3FZB2LJY.js": {
|
|
15751
15746
|
"imports": [
|
|
15752
15747
|
{
|
|
15753
15748
|
"path": "react",
|
|
@@ -18290,7 +18285,7 @@
|
|
|
18290
18285
|
"external": true
|
|
18291
18286
|
},
|
|
18292
18287
|
{
|
|
18293
|
-
"path": "dist/HLSView-
|
|
18288
|
+
"path": "dist/HLSView-EYFJ7YDU.js",
|
|
18294
18289
|
"kind": "dynamic-import"
|
|
18295
18290
|
},
|
|
18296
18291
|
{
|
|
@@ -18909,7 +18904,7 @@
|
|
|
18909
18904
|
],
|
|
18910
18905
|
"inputs": {
|
|
18911
18906
|
"<define:process.env>": {
|
|
18912
|
-
"bytesInOutput":
|
|
18907
|
+
"bytesInOutput": 18008
|
|
18913
18908
|
},
|
|
18914
18909
|
"../../node_modules/lodash/lodash.js": {
|
|
18915
18910
|
"bytesInOutput": 224301
|
|
@@ -19779,7 +19774,7 @@
|
|
|
19779
19774
|
"bytesInOutput": 3837
|
|
19780
19775
|
},
|
|
19781
19776
|
"src/Prebuilt/components/VideoLayouts/RoleProminence.tsx": {
|
|
19782
|
-
"bytesInOutput":
|
|
19777
|
+
"bytesInOutput": 1948
|
|
19783
19778
|
},
|
|
19784
19779
|
"src/Prebuilt/components/SecondaryTiles.tsx": {
|
|
19785
19780
|
"bytesInOutput": 2706
|
|
@@ -19805,7 +19800,7 @@
|
|
|
19805
19800
|
"src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
|
|
19806
19801
|
"bytesInOutput": 2830
|
|
19807
19802
|
},
|
|
19808
|
-
"../../../../../../../tmp/tmp-
|
|
19803
|
+
"../../../../../../../tmp/tmp-2772-2s8rzpDYVCAU/191b73188510/index.css": {
|
|
19809
19804
|
"bytesInOutput": 0
|
|
19810
19805
|
},
|
|
19811
19806
|
"src/Prebuilt/common/PeersSorter.ts": {
|
|
@@ -19974,7 +19969,7 @@
|
|
|
19974
19969
|
"bytesInOutput": 2628
|
|
19975
19970
|
}
|
|
19976
19971
|
},
|
|
19977
|
-
"bytes":
|
|
19972
|
+
"bytes": 1459163
|
|
19978
19973
|
},
|
|
19979
19974
|
"dist/index.css.map": {
|
|
19980
19975
|
"imports": [],
|
|
@@ -20036,22 +20031,22 @@
|
|
|
20036
20031
|
}
|
|
20037
20032
|
],
|
|
20038
20033
|
"inputs": {
|
|
20039
|
-
"../../../../../../../tmp/tmp-
|
|
20034
|
+
"../../../../../../../tmp/tmp-2772-2s8rzpDYVCAU/191b73188d32/tldraw.css": {
|
|
20040
20035
|
"bytesInOutput": 75223
|
|
20041
20036
|
},
|
|
20042
|
-
"../../../../../../../tmp/tmp-
|
|
20037
|
+
"../../../../../../../tmp/tmp-2772-2s8rzpDYVCAU/191b73188510/index.css": {
|
|
20043
20038
|
"bytesInOutput": 401
|
|
20044
20039
|
}
|
|
20045
20040
|
},
|
|
20046
20041
|
"bytes": 75901
|
|
20047
20042
|
},
|
|
20048
|
-
"dist/HLSView-
|
|
20043
|
+
"dist/HLSView-5SR3RWXG.css.map": {
|
|
20049
20044
|
"imports": [],
|
|
20050
20045
|
"exports": [],
|
|
20051
20046
|
"inputs": {},
|
|
20052
20047
|
"bytes": 122402
|
|
20053
20048
|
},
|
|
20054
|
-
"dist/HLSView-
|
|
20049
|
+
"dist/HLSView-5SR3RWXG.css": {
|
|
20055
20050
|
"imports": [
|
|
20056
20051
|
{
|
|
20057
20052
|
"path": "https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap",
|
|
@@ -20105,10 +20100,10 @@
|
|
|
20105
20100
|
}
|
|
20106
20101
|
],
|
|
20107
20102
|
"inputs": {
|
|
20108
|
-
"../../../../../../../tmp/tmp-
|
|
20103
|
+
"../../../../../../../tmp/tmp-2772-2s8rzpDYVCAU/191b73188d32/tldraw.css": {
|
|
20109
20104
|
"bytesInOutput": 75223
|
|
20110
20105
|
},
|
|
20111
|
-
"../../../../../../../tmp/tmp-
|
|
20106
|
+
"../../../../../../../tmp/tmp-2772-2s8rzpDYVCAU/191b73188510/index.css": {
|
|
20112
20107
|
"bytesInOutput": 401
|
|
20113
20108
|
}
|
|
20114
20109
|
},
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"prebuilt",
|
|
11
11
|
"roomkit"
|
|
12
12
|
],
|
|
13
|
-
"version": "0.3.19-alpha.
|
|
13
|
+
"version": "0.3.19-alpha.9",
|
|
14
14
|
"author": "100ms",
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"repository": {
|
|
@@ -75,12 +75,12 @@
|
|
|
75
75
|
"react": ">=17.0.2 <19.0.0"
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@100mslive/hls-player": "0.3.19-alpha.
|
|
78
|
+
"@100mslive/hls-player": "0.3.19-alpha.9",
|
|
79
79
|
"@100mslive/hms-noise-cancellation": "0.0.1",
|
|
80
|
-
"@100mslive/hms-virtual-background": "1.13.19-alpha.
|
|
81
|
-
"@100mslive/hms-whiteboard": "0.0.9-alpha.
|
|
82
|
-
"@100mslive/react-icons": "0.10.19-alpha.
|
|
83
|
-
"@100mslive/react-sdk": "0.10.19-alpha.
|
|
80
|
+
"@100mslive/hms-virtual-background": "1.13.19-alpha.9",
|
|
81
|
+
"@100mslive/hms-whiteboard": "0.0.9-alpha.9",
|
|
82
|
+
"@100mslive/react-icons": "0.10.19-alpha.9",
|
|
83
|
+
"@100mslive/react-sdk": "0.10.19-alpha.9",
|
|
84
84
|
"@100mslive/types-prebuilt": "0.12.12",
|
|
85
85
|
"@emoji-mart/data": "^1.0.6",
|
|
86
86
|
"@emoji-mart/react": "^1.0.1",
|
|
@@ -117,5 +117,5 @@
|
|
|
117
117
|
"uuid": "^8.3.2",
|
|
118
118
|
"worker-timers": "^7.0.40"
|
|
119
119
|
},
|
|
120
|
-
"gitHead": "
|
|
120
|
+
"gitHead": "06c3bff006916b7591f7132e14fcf78d45411c9a"
|
|
121
121
|
}
|
|
@@ -7,13 +7,14 @@ class PeersSorter {
|
|
|
7
7
|
lruPeers: Set<HMSPeerID>;
|
|
8
8
|
tilesPerPage!: number;
|
|
9
9
|
speaker?: HMSPeer;
|
|
10
|
-
listeners: Set<(peers: HMSPeer[]) => void
|
|
10
|
+
listeners: Set<(peers: HMSPeer[]) => void>;
|
|
11
11
|
|
|
12
12
|
constructor(store: IStoreReadOnly<any>) {
|
|
13
13
|
this.store = store;
|
|
14
14
|
this.peers = new Map();
|
|
15
15
|
this.lruPeers = new Set();
|
|
16
16
|
this.speaker = undefined;
|
|
17
|
+
this.listeners = new Set();
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
setPeersAndTilesPerPage = ({ peers, tilesPerPage }: { peers: HMSPeer[]; tilesPerPage: number }) => {
|
|
@@ -5,7 +5,6 @@ import { config as cssConfig } from '../../../Theme';
|
|
|
5
5
|
import { InsetTile } from '../InsetTile';
|
|
6
6
|
import { Pagination } from '../Pagination';
|
|
7
7
|
import { SecondaryTiles } from '../SecondaryTiles';
|
|
8
|
-
import { LayoutMode } from '../Settings/LayoutSettings';
|
|
9
8
|
import { Grid } from './Grid';
|
|
10
9
|
import { LayoutProps } from './interface';
|
|
11
10
|
import { ProminenceLayout } from './ProminenceLayout';
|
|
@@ -25,7 +24,6 @@ export function RoleProminence({
|
|
|
25
24
|
}: LayoutProps) {
|
|
26
25
|
const { prominentPeers, secondaryPeers } = useRoleProminencePeers(prominentRoles, peers, isInsetEnabled);
|
|
27
26
|
const localPeer = useHMSStore(selectLocalPeer);
|
|
28
|
-
const layoutMode = useUISettings(UI_SETTINGS.layoutMode);
|
|
29
27
|
const isMobile = useMedia(cssConfig.media.md);
|
|
30
28
|
let maxTileCount = useUISettings(UI_SETTINGS.maxTileCount);
|
|
31
29
|
maxTileCount = isMobile ? 4 : maxTileCount;
|
|
@@ -47,7 +45,7 @@ export function RoleProminence({
|
|
|
47
45
|
}, [pageSize, onPageSize]);
|
|
48
46
|
|
|
49
47
|
return (
|
|
50
|
-
<ProminenceLayout.Root
|
|
48
|
+
<ProminenceLayout.Root>
|
|
51
49
|
<ProminenceLayout.ProminentSection>
|
|
52
50
|
<Grid ref={ref} tiles={pagesWithTiles[page]} />
|
|
53
51
|
</ProminenceLayout.ProminentSection>
|
|
@@ -61,12 +59,7 @@ export function RoleProminence({
|
|
|
61
59
|
numPages={pagesWithTiles.length}
|
|
62
60
|
/>
|
|
63
61
|
)}
|
|
64
|
-
<SecondaryTiles
|
|
65
|
-
peers={layoutMode === LayoutMode.SPOTLIGHT ? [] : secondaryPeers}
|
|
66
|
-
isInsetEnabled={isInsetEnabled}
|
|
67
|
-
edgeToEdge={edgeToEdge}
|
|
68
|
-
hasSidebar={layoutMode === LayoutMode.SIDEBAR}
|
|
69
|
-
/>
|
|
62
|
+
<SecondaryTiles peers={secondaryPeers} isInsetEnabled={isInsetEnabled} edgeToEdge={edgeToEdge} />
|
|
70
63
|
{isInsetEnabled && localPeer && prominentPeers.length > 0 && !prominentPeers.includes(localPeer) && <InsetTile />}
|
|
71
64
|
</ProminenceLayout.Root>
|
|
72
65
|
);
|
|
@@ -144,7 +144,10 @@ class Queue {
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
class CaptionMaintainerQueue {
|
|
147
|
-
captionData: Queue
|
|
147
|
+
captionData: Queue;
|
|
148
|
+
constructor() {
|
|
149
|
+
this.captionData = new Queue();
|
|
150
|
+
}
|
|
148
151
|
push(data: HMSTranscript[] = []) {
|
|
149
152
|
data.forEach((value: HMSTranscript) => {
|
|
150
153
|
this.captionData.enqueue(value);
|
|
File without changes
|