@100mslive/roomkit-react 0.3.15-alpha.8 → 0.3.16-alpha.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-WI6XLXMH.css → HLSView-KOCGTP23.css} +3 -3
- package/dist/{HLSView-WI6XLXMH.css.map → HLSView-KOCGTP23.css.map} +1 -1
- package/dist/{HLSView-EQF4BWON.js → HLSView-P7GF2RAU.js} +2 -2
- package/dist/{chunk-UDS3X2QC.js → chunk-DDB4BLHX.js} +20 -8
- package/dist/chunk-DDB4BLHX.js.map +7 -0
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +22 -10
- 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 +18 -18
- package/dist/meta.esbuild.json +28 -28
- package/package.json +7 -7
- package/src/Prebuilt/components/Footer/RoleAccordion.tsx +15 -1
- package/src/Prebuilt/components/Header/HeaderComponents.jsx +2 -3
- package/src/Prebuilt/components/hooks/useMetadata.tsx +2 -1
- package/dist/chunk-UDS3X2QC.js.map +0 -7
- /package/dist/{HLSView-EQF4BWON.js.map → HLSView-P7GF2RAU.js.map} +0 -0
package/dist/meta.esbuild.json
CHANGED
@@ -4457,7 +4457,7 @@
|
|
4457
4457
|
"format": "esm"
|
4458
4458
|
},
|
4459
4459
|
"src/Prebuilt/components/hooks/useMetadata.tsx": {
|
4460
|
-
"bytes":
|
4460
|
+
"bytes": 1706,
|
4461
4461
|
"imports": [
|
4462
4462
|
{
|
4463
4463
|
"path": "react",
|
@@ -6250,7 +6250,7 @@
|
|
6250
6250
|
"format": "esm"
|
6251
6251
|
},
|
6252
6252
|
"src/Prebuilt/components/Footer/RoleAccordion.tsx": {
|
6253
|
-
"bytes":
|
6253
|
+
"bytes": 6237,
|
6254
6254
|
"imports": [
|
6255
6255
|
{
|
6256
6256
|
"path": "react",
|
@@ -7793,7 +7793,7 @@
|
|
7793
7793
|
"format": "esm"
|
7794
7794
|
},
|
7795
7795
|
"src/Prebuilt/components/Header/HeaderComponents.jsx": {
|
7796
|
-
"bytes":
|
7796
|
+
"bytes": 1519,
|
7797
7797
|
"imports": [
|
7798
7798
|
{
|
7799
7799
|
"path": "react",
|
@@ -10943,7 +10943,7 @@
|
|
10943
10943
|
],
|
10944
10944
|
"format": "esm"
|
10945
10945
|
},
|
10946
|
-
"../../../../../../../tmp/tmp-
|
10946
|
+
"../../../../../../../tmp/tmp-2823-BKp4crtotsui/190bb258f032/tldraw.css": {
|
10947
10947
|
"bytes": 80111,
|
10948
10948
|
"imports": [
|
10949
10949
|
{
|
@@ -10993,7 +10993,7 @@
|
|
10993
10993
|
}
|
10994
10994
|
]
|
10995
10995
|
},
|
10996
|
-
"../../../../../../../tmp/tmp-
|
10996
|
+
"../../../../../../../tmp/tmp-2823-BKp4crtotsui/190bb258e930/index.css": {
|
10997
10997
|
"bytes": 597,
|
10998
10998
|
"imports": [
|
10999
10999
|
{
|
@@ -11002,7 +11002,7 @@
|
|
11002
11002
|
"external": true
|
11003
11003
|
},
|
11004
11004
|
{
|
11005
|
-
"path": "../../../../../../../tmp/tmp-
|
11005
|
+
"path": "../../../../../../../tmp/tmp-2823-BKp4crtotsui/190bb258f032/tldraw.css",
|
11006
11006
|
"kind": "import-rule",
|
11007
11007
|
"original": "@tldraw/tldraw/tldraw.css"
|
11008
11008
|
}
|
@@ -11077,7 +11077,7 @@
|
|
11077
11077
|
"original": "../../common/constants"
|
11078
11078
|
},
|
11079
11079
|
{
|
11080
|
-
"path": "../../../../../../../tmp/tmp-
|
11080
|
+
"path": "../../../../../../../tmp/tmp-2823-BKp4crtotsui/190bb258e930/index.css",
|
11081
11081
|
"kind": "import-statement",
|
11082
11082
|
"original": "@100mslive/hms-whiteboard/index.css"
|
11083
11083
|
},
|
@@ -14950,7 +14950,7 @@
|
|
14950
14950
|
"dist/index.js": {
|
14951
14951
|
"imports": [
|
14952
14952
|
{
|
14953
|
-
"path": "dist/chunk-
|
14953
|
+
"path": "dist/chunk-DDB4BLHX.js",
|
14954
14954
|
"kind": "import-statement"
|
14955
14955
|
}
|
14956
14956
|
],
|
@@ -15026,16 +15026,16 @@
|
|
15026
15026
|
"inputs": {},
|
15027
15027
|
"bytes": 1882
|
15028
15028
|
},
|
15029
|
-
"dist/HLSView-
|
15029
|
+
"dist/HLSView-P7GF2RAU.js.map": {
|
15030
15030
|
"imports": [],
|
15031
15031
|
"exports": [],
|
15032
15032
|
"inputs": {},
|
15033
15033
|
"bytes": 100275
|
15034
15034
|
},
|
15035
|
-
"dist/HLSView-
|
15035
|
+
"dist/HLSView-P7GF2RAU.js": {
|
15036
15036
|
"imports": [
|
15037
15037
|
{
|
15038
|
-
"path": "dist/chunk-
|
15038
|
+
"path": "dist/chunk-DDB4BLHX.js",
|
15039
15039
|
"kind": "import-statement"
|
15040
15040
|
},
|
15041
15041
|
{
|
@@ -15213,7 +15213,7 @@
|
|
15213
15213
|
"default"
|
15214
15214
|
],
|
15215
15215
|
"entryPoint": "src/Prebuilt/layouts/HLSView.jsx",
|
15216
|
-
"cssBundle": "dist/HLSView-
|
15216
|
+
"cssBundle": "dist/HLSView-KOCGTP23.css",
|
15217
15217
|
"inputs": {
|
15218
15218
|
"src/Prebuilt/layouts/HLSView.jsx": {
|
15219
15219
|
"bytesInOutput": 27671
|
@@ -15272,13 +15272,13 @@
|
|
15272
15272
|
},
|
15273
15273
|
"bytes": 61702
|
15274
15274
|
},
|
15275
|
-
"dist/chunk-
|
15275
|
+
"dist/chunk-DDB4BLHX.js.map": {
|
15276
15276
|
"imports": [],
|
15277
15277
|
"exports": [],
|
15278
15278
|
"inputs": {},
|
15279
|
-
"bytes":
|
15279
|
+
"bytes": 3443941
|
15280
15280
|
},
|
15281
|
-
"dist/chunk-
|
15281
|
+
"dist/chunk-DDB4BLHX.js": {
|
15282
15282
|
"imports": [
|
15283
15283
|
{
|
15284
15284
|
"path": "react",
|
@@ -17751,7 +17751,7 @@
|
|
17751
17751
|
"external": true
|
17752
17752
|
},
|
17753
17753
|
{
|
17754
|
-
"path": "dist/HLSView-
|
17754
|
+
"path": "dist/HLSView-P7GF2RAU.js",
|
17755
17755
|
"kind": "dynamic-import"
|
17756
17756
|
},
|
17757
17757
|
{
|
@@ -18340,7 +18340,7 @@
|
|
18340
18340
|
],
|
18341
18341
|
"inputs": {
|
18342
18342
|
"<define:process.env>": {
|
18343
|
-
"bytesInOutput":
|
18343
|
+
"bytesInOutput": 17931
|
18344
18344
|
},
|
18345
18345
|
"../../node_modules/lodash/lodash.js": {
|
18346
18346
|
"bytesInOutput": 224289
|
@@ -18814,7 +18814,7 @@
|
|
18814
18814
|
"bytesInOutput": 437
|
18815
18815
|
},
|
18816
18816
|
"src/Prebuilt/components/hooks/useMetadata.tsx": {
|
18817
|
-
"bytesInOutput":
|
18817
|
+
"bytesInOutput": 1898
|
18818
18818
|
},
|
18819
18819
|
"src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx": {
|
18820
18820
|
"bytesInOutput": 12187
|
@@ -18931,7 +18931,7 @@
|
|
18931
18931
|
"bytesInOutput": 1290
|
18932
18932
|
},
|
18933
18933
|
"src/Prebuilt/components/Footer/RoleAccordion.tsx": {
|
18934
|
-
"bytesInOutput":
|
18934
|
+
"bytesInOutput": 5620
|
18935
18935
|
},
|
18936
18936
|
"src/Prebuilt/components/Footer/RoleOptions.tsx": {
|
18937
18937
|
"bytesInOutput": 7326
|
@@ -19039,7 +19039,7 @@
|
|
19039
19039
|
"bytesInOutput": 1914
|
19040
19040
|
},
|
19041
19041
|
"src/Prebuilt/components/Header/HeaderComponents.jsx": {
|
19042
|
-
"bytesInOutput":
|
19042
|
+
"bytesInOutput": 1542
|
19043
19043
|
},
|
19044
19044
|
"src/Prebuilt/components/RoomDetails/RoomDetailsRow.tsx": {
|
19045
19045
|
"bytesInOutput": 664
|
@@ -19209,7 +19209,7 @@
|
|
19209
19209
|
"src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
|
19210
19210
|
"bytesInOutput": 2830
|
19211
19211
|
},
|
19212
|
-
"../../../../../../../tmp/tmp-
|
19212
|
+
"../../../../../../../tmp/tmp-2823-BKp4crtotsui/190bb258e930/index.css": {
|
19213
19213
|
"bytesInOutput": 0
|
19214
19214
|
},
|
19215
19215
|
"src/Prebuilt/common/PeersSorter.ts": {
|
@@ -19378,7 +19378,7 @@
|
|
19378
19378
|
"bytesInOutput": 2628
|
19379
19379
|
}
|
19380
19380
|
},
|
19381
|
-
"bytes":
|
19381
|
+
"bytes": 1426677
|
19382
19382
|
},
|
19383
19383
|
"dist/index.css.map": {
|
19384
19384
|
"imports": [],
|
@@ -19440,22 +19440,22 @@
|
|
19440
19440
|
}
|
19441
19441
|
],
|
19442
19442
|
"inputs": {
|
19443
|
-
"../../../../../../../tmp/tmp-
|
19443
|
+
"../../../../../../../tmp/tmp-2823-BKp4crtotsui/190bb258f032/tldraw.css": {
|
19444
19444
|
"bytesInOutput": 75223
|
19445
19445
|
},
|
19446
|
-
"../../../../../../../tmp/tmp-
|
19446
|
+
"../../../../../../../tmp/tmp-2823-BKp4crtotsui/190bb258e930/index.css": {
|
19447
19447
|
"bytesInOutput": 401
|
19448
19448
|
}
|
19449
19449
|
},
|
19450
19450
|
"bytes": 75901
|
19451
19451
|
},
|
19452
|
-
"dist/HLSView-
|
19452
|
+
"dist/HLSView-KOCGTP23.css.map": {
|
19453
19453
|
"imports": [],
|
19454
19454
|
"exports": [],
|
19455
19455
|
"inputs": {},
|
19456
19456
|
"bytes": 122402
|
19457
19457
|
},
|
19458
|
-
"dist/HLSView-
|
19458
|
+
"dist/HLSView-KOCGTP23.css": {
|
19459
19459
|
"imports": [
|
19460
19460
|
{
|
19461
19461
|
"path": "https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap",
|
@@ -19509,10 +19509,10 @@
|
|
19509
19509
|
}
|
19510
19510
|
],
|
19511
19511
|
"inputs": {
|
19512
|
-
"../../../../../../../tmp/tmp-
|
19512
|
+
"../../../../../../../tmp/tmp-2823-BKp4crtotsui/190bb258f032/tldraw.css": {
|
19513
19513
|
"bytesInOutput": 75223
|
19514
19514
|
},
|
19515
|
-
"../../../../../../../tmp/tmp-
|
19515
|
+
"../../../../../../../tmp/tmp-2823-BKp4crtotsui/190bb258e930/index.css": {
|
19516
19516
|
"bytesInOutput": 401
|
19517
19517
|
}
|
19518
19518
|
},
|
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"prebuilt",
|
11
11
|
"roomkit"
|
12
12
|
],
|
13
|
-
"version": "0.3.
|
13
|
+
"version": "0.3.16-alpha.0",
|
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.
|
78
|
+
"@100mslive/hls-player": "0.3.16-alpha.0",
|
79
79
|
"@100mslive/hms-noise-cancellation": "0.0.1",
|
80
|
-
"@100mslive/hms-virtual-background": "1.13.
|
81
|
-
"@100mslive/hms-whiteboard": "0.0.
|
82
|
-
"@100mslive/react-icons": "0.10.
|
83
|
-
"@100mslive/react-sdk": "0.10.
|
80
|
+
"@100mslive/hms-virtual-background": "1.13.16-alpha.0",
|
81
|
+
"@100mslive/hms-whiteboard": "0.0.6-alpha.0",
|
82
|
+
"@100mslive/react-icons": "0.10.16-alpha.0",
|
83
|
+
"@100mslive/react-sdk": "0.10.16-alpha.0",
|
84
84
|
"@100mslive/types-prebuilt": "0.12.9",
|
85
85
|
"@emoji-mart/data": "^1.0.6",
|
86
86
|
"@emoji-mart/react": "^1.0.1",
|
@@ -116,5 +116,5 @@
|
|
116
116
|
"uuid": "^8.3.2",
|
117
117
|
"worker-timers": "^7.0.40"
|
118
118
|
},
|
119
|
-
"gitHead": "
|
119
|
+
"gitHead": "0ba6be8700e395887440d6ab1cadaacb6a769e98"
|
120
120
|
}
|
@@ -122,7 +122,21 @@ export const RoleAccordion = ({
|
|
122
122
|
<Accordion.Content contentStyles={{ border: '1px solid $border_default', borderTop: 'none' }}>
|
123
123
|
<FixedSizeList
|
124
124
|
itemSize={ROW_HEIGHT}
|
125
|
-
itemData={{
|
125
|
+
itemData={{
|
126
|
+
peerList: isHandRaisedAccordion
|
127
|
+
? peersInAccordion.sort((a, b) => {
|
128
|
+
try {
|
129
|
+
const aHandRaisedAt = JSON.parse(a.metadata || '{}').handRaisedAt;
|
130
|
+
const bHandRaisedAt = JSON.parse(b.metadata || '{}').handRaisedAt;
|
131
|
+
return aHandRaisedAt - bHandRaisedAt;
|
132
|
+
} catch (err) {
|
133
|
+
return 0;
|
134
|
+
}
|
135
|
+
})
|
136
|
+
: peersInAccordion,
|
137
|
+
isConnected,
|
138
|
+
isHandRaisedAccordion,
|
139
|
+
}}
|
126
140
|
itemKey={itemKey}
|
127
141
|
itemCount={peersInAccordion.length}
|
128
142
|
width={width}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React, { useEffect, useState } from 'react';
|
2
2
|
import { selectDominantSpeaker, useHMSStore } from '@100mslive/react-sdk';
|
3
3
|
import { VolumeOneIcon } from '@100mslive/react-icons';
|
4
|
-
import { Flex, styled, Text, textEllipsis
|
4
|
+
import { Flex, styled, Text, textEllipsis } from '../../../';
|
5
5
|
import { useRoomLayout } from '../../provider/roomLayoutProvider';
|
6
6
|
|
7
7
|
export const SpeakerTag = () => {
|
@@ -14,9 +14,8 @@ export const SpeakerTag = () => {
|
|
14
14
|
justify="center"
|
15
15
|
css={{ flex: '1 1 0', color: '$on_surface_high', '@md': { display: 'none' } }}
|
16
16
|
>
|
17
|
-
<VerticalDivider css={{ ml: '$8' }} />
|
18
17
|
<VolumeOneIcon />
|
19
|
-
<Text variant="
|
18
|
+
<Text variant="sm" css={{ ...textEllipsis(200), ml: '$2' }} title={dominantSpeaker.name}>
|
20
19
|
{dominantSpeaker.name}
|
21
20
|
</Text>
|
22
21
|
</Flex>
|
@@ -30,9 +30,10 @@ export const useMyMetadata = () => {
|
|
30
30
|
const toggleHandRaise = useCallback(async () => {
|
31
31
|
if (isHandRaised) {
|
32
32
|
await hmsActions.lowerLocalPeerHand();
|
33
|
+
await update({ handRaisedAt: undefined });
|
33
34
|
} else {
|
34
35
|
await hmsActions.raiseLocalPeerHand();
|
35
|
-
await update({ isBRBOn: false });
|
36
|
+
await update({ isBRBOn: false, handRaisedAt: Date.now() });
|
36
37
|
}
|
37
38
|
}, [isHandRaised]); //eslint-disable-line
|
38
39
|
|