@100mslive/roomkit-react 0.2.4-alpha.0 → 0.2.4-alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-5I6UAYPZ.js → HLSView-XSS3JNNS.js} +2 -2
- package/dist/{chunk-OGCNZHHH.js → chunk-JSWIHHXP.js} +28 -20
- package/dist/chunk-JSWIHHXP.js.map +7 -0
- package/dist/index.cjs.js +27 -18
- package/dist/index.cjs.js.map +2 -2
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +25 -20
- package/dist/meta.esbuild.json +32 -27
- package/package.json +6 -6
- package/src/Prebuilt/components/Chat/ChatBody.tsx +5 -5
- package/src/Prebuilt/components/Chat/EmptyChat.tsx +2 -1
- package/src/Prebuilt/components/Connection/ConnectionIndicator.tsx +1 -1
- package/src/Prebuilt/components/Connection/connectionQualityUtils.js +1 -3
- package/src/Prebuilt/components/SecondaryTiles.tsx +9 -3
- package/src/Prebuilt/components/SidePaneTabs.tsx +4 -1
- package/src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx +1 -1
- package/src/Prebuilt/components/hooks/useFullscreen.js +2 -1
- package/src/Prebuilt/layouts/SidePane.tsx +1 -1
- package/dist/chunk-OGCNZHHH.js.map +0 -7
- /package/dist/{HLSView-5I6UAYPZ.js.map → HLSView-XSS3JNNS.js.map} +0 -0
package/dist/index.js
CHANGED
package/dist/meta.cjs.json
CHANGED
@@ -3855,7 +3855,7 @@
|
|
3855
3855
|
"format": "esm"
|
3856
3856
|
},
|
3857
3857
|
"src/Prebuilt/components/hooks/useFullscreen.js": {
|
3858
|
-
"bytes":
|
3858
|
+
"bytes": 1246,
|
3859
3859
|
"imports": [
|
3860
3860
|
{
|
3861
3861
|
"path": "react",
|
@@ -3872,6 +3872,11 @@
|
|
3872
3872
|
"kind": "import-statement",
|
3873
3873
|
"original": "../Toast/ToastManager"
|
3874
3874
|
},
|
3875
|
+
{
|
3876
|
+
"path": "src/Prebuilt/common/constants.ts",
|
3877
|
+
"kind": "import-statement",
|
3878
|
+
"original": "../../common/constants"
|
3879
|
+
},
|
3875
3880
|
{
|
3876
3881
|
"path": "<define:process.env>",
|
3877
3882
|
"kind": "import-statement",
|
@@ -5619,7 +5624,7 @@
|
|
5619
5624
|
"format": "esm"
|
5620
5625
|
},
|
5621
5626
|
"src/Prebuilt/components/Connection/connectionQualityUtils.js": {
|
5622
|
-
"bytes":
|
5627
|
+
"bytes": 1146,
|
5623
5628
|
"imports": [
|
5624
5629
|
{
|
5625
5630
|
"path": "<define:process.env>",
|
@@ -5630,7 +5635,7 @@
|
|
5630
5635
|
"format": "esm"
|
5631
5636
|
},
|
5632
5637
|
"src/Prebuilt/components/Connection/ConnectionIndicator.tsx": {
|
5633
|
-
"bytes":
|
5638
|
+
"bytes": 3582,
|
5634
5639
|
"imports": [
|
5635
5640
|
{
|
5636
5641
|
"path": "react",
|
@@ -7387,7 +7392,7 @@
|
|
7387
7392
|
"imports": []
|
7388
7393
|
},
|
7389
7394
|
"src/Prebuilt/components/Chat/EmptyChat.tsx": {
|
7390
|
-
"bytes":
|
7395
|
+
"bytes": 1781,
|
7391
7396
|
"imports": [
|
7392
7397
|
{
|
7393
7398
|
"path": "react",
|
@@ -8257,7 +8262,7 @@
|
|
8257
8262
|
"format": "esm"
|
8258
8263
|
},
|
8259
8264
|
"src/Prebuilt/components/SidePaneTabs.tsx": {
|
8260
|
-
"bytes":
|
8265
|
+
"bytes": 7970,
|
8261
8266
|
"imports": [
|
8262
8267
|
{
|
8263
8268
|
"path": "react",
|
@@ -8879,7 +8884,7 @@
|
|
8879
8884
|
"format": "esm"
|
8880
8885
|
},
|
8881
8886
|
"src/Prebuilt/layouts/SidePane.tsx": {
|
8882
|
-
"bytes":
|
8887
|
+
"bytes": 5020,
|
8883
8888
|
"imports": [
|
8884
8889
|
{
|
8885
8890
|
"path": "react",
|
@@ -9623,7 +9628,7 @@
|
|
9623
9628
|
"format": "esm"
|
9624
9629
|
},
|
9625
9630
|
"src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx": {
|
9626
|
-
"bytes":
|
9631
|
+
"bytes": 2449,
|
9627
9632
|
"imports": [
|
9628
9633
|
{
|
9629
9634
|
"path": "react",
|
@@ -9669,7 +9674,7 @@
|
|
9669
9674
|
"format": "esm"
|
9670
9675
|
},
|
9671
9676
|
"src/Prebuilt/components/SecondaryTiles.tsx": {
|
9672
|
-
"bytes":
|
9677
|
+
"bytes": 2773,
|
9673
9678
|
"imports": [
|
9674
9679
|
{
|
9675
9680
|
"path": "react",
|
@@ -12770,7 +12775,7 @@
|
|
12770
12775
|
"imports": [],
|
12771
12776
|
"exports": [],
|
12772
12777
|
"inputs": {},
|
12773
|
-
"bytes":
|
12778
|
+
"bytes": 3164784
|
12774
12779
|
},
|
12775
12780
|
"dist/index.cjs.js": {
|
12776
12781
|
"imports": [
|
@@ -15474,7 +15479,7 @@
|
|
15474
15479
|
"entryPoint": "src/index.ts",
|
15475
15480
|
"inputs": {
|
15476
15481
|
"<define:process.env>": {
|
15477
|
-
"bytesInOutput":
|
15482
|
+
"bytesInOutput": 18103
|
15478
15483
|
},
|
15479
15484
|
"src/Theme/base.config.ts": {
|
15480
15485
|
"bytesInOutput": 6104
|
@@ -15879,7 +15884,7 @@
|
|
15879
15884
|
"bytesInOutput": 6192
|
15880
15885
|
},
|
15881
15886
|
"src/Prebuilt/components/hooks/useFullscreen.js": {
|
15882
|
-
"bytesInOutput":
|
15887
|
+
"bytesInOutput": 1737
|
15883
15888
|
},
|
15884
15889
|
"src/Prebuilt/components/MoreSettings/FullScreenItem.jsx": {
|
15885
15890
|
"bytesInOutput": 1014
|
@@ -16029,10 +16034,10 @@
|
|
16029
16034
|
"bytesInOutput": 1939
|
16030
16035
|
},
|
16031
16036
|
"src/Prebuilt/components/Connection/connectionQualityUtils.js": {
|
16032
|
-
"bytesInOutput":
|
16037
|
+
"bytesInOutput": 974
|
16033
16038
|
},
|
16034
16039
|
"src/Prebuilt/components/Connection/ConnectionIndicator.tsx": {
|
16035
|
-
"bytesInOutput":
|
16040
|
+
"bytesInOutput": 4490
|
16036
16041
|
},
|
16037
16042
|
"src/Prebuilt/components/RemoveParticipant.tsx": {
|
16038
16043
|
"bytesInOutput": 1694
|
@@ -16146,13 +16151,13 @@
|
|
16146
16151
|
"bytesInOutput": 2366
|
16147
16152
|
},
|
16148
16153
|
"src/Prebuilt/components/Chat/EmptyChat.tsx": {
|
16149
|
-
"bytesInOutput":
|
16154
|
+
"bytesInOutput": 2211
|
16150
16155
|
},
|
16151
16156
|
"src/Prebuilt/components/hooks/usePinnedBy.tsx": {
|
16152
16157
|
"bytesInOutput": 920
|
16153
16158
|
},
|
16154
16159
|
"src/Prebuilt/components/Chat/ChatBody.tsx": {
|
16155
|
-
"bytesInOutput":
|
16160
|
+
"bytesInOutput": 17105
|
16156
16161
|
},
|
16157
16162
|
"src/Prebuilt/components/Chat/ChatSelector.tsx": {
|
16158
16163
|
"bytesInOutput": 8560
|
@@ -16191,7 +16196,7 @@
|
|
16191
16196
|
"bytesInOutput": 3060
|
16192
16197
|
},
|
16193
16198
|
"src/Prebuilt/components/SidePaneTabs.tsx": {
|
16194
|
-
"bytesInOutput":
|
16199
|
+
"bytesInOutput": 9046
|
16195
16200
|
},
|
16196
16201
|
"src/Prebuilt/components/Connection/TileConnection.tsx": {
|
16197
16202
|
"bytesInOutput": 2685
|
@@ -16227,7 +16232,7 @@
|
|
16227
16232
|
"bytesInOutput": 8224
|
16228
16233
|
},
|
16229
16234
|
"src/Prebuilt/layouts/SidePane.tsx": {
|
16230
|
-
"bytesInOutput":
|
16235
|
+
"bytesInOutput": 5644
|
16231
16236
|
},
|
16232
16237
|
"src/Prebuilt/components/Chip.tsx": {
|
16233
16238
|
"bytesInOutput": 1118
|
@@ -16269,10 +16274,10 @@
|
|
16269
16274
|
"bytesInOutput": 2453
|
16270
16275
|
},
|
16271
16276
|
"src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx": {
|
16272
|
-
"bytesInOutput":
|
16277
|
+
"bytesInOutput": 2953
|
16273
16278
|
},
|
16274
16279
|
"src/Prebuilt/components/SecondaryTiles.tsx": {
|
16275
|
-
"bytesInOutput":
|
16280
|
+
"bytesInOutput": 3143
|
16276
16281
|
},
|
16277
16282
|
"src/Prebuilt/components/hooks/useRoleProminencePeers.tsx": {
|
16278
16283
|
"bytesInOutput": 1302
|
@@ -16482,7 +16487,7 @@
|
|
16482
16487
|
"bytesInOutput": 2980
|
16483
16488
|
}
|
16484
16489
|
},
|
16485
|
-
"bytes":
|
16490
|
+
"bytes": 1486698
|
16486
16491
|
}
|
16487
16492
|
}
|
16488
16493
|
}
|
package/dist/meta.esbuild.json
CHANGED
@@ -3855,7 +3855,7 @@
|
|
3855
3855
|
"format": "esm"
|
3856
3856
|
},
|
3857
3857
|
"src/Prebuilt/components/hooks/useFullscreen.js": {
|
3858
|
-
"bytes":
|
3858
|
+
"bytes": 1246,
|
3859
3859
|
"imports": [
|
3860
3860
|
{
|
3861
3861
|
"path": "react",
|
@@ -3872,6 +3872,11 @@
|
|
3872
3872
|
"kind": "import-statement",
|
3873
3873
|
"original": "../Toast/ToastManager"
|
3874
3874
|
},
|
3875
|
+
{
|
3876
|
+
"path": "src/Prebuilt/common/constants.ts",
|
3877
|
+
"kind": "import-statement",
|
3878
|
+
"original": "../../common/constants"
|
3879
|
+
},
|
3875
3880
|
{
|
3876
3881
|
"path": "<define:process.env>",
|
3877
3882
|
"kind": "import-statement",
|
@@ -5619,7 +5624,7 @@
|
|
5619
5624
|
"format": "esm"
|
5620
5625
|
},
|
5621
5626
|
"src/Prebuilt/components/Connection/connectionQualityUtils.js": {
|
5622
|
-
"bytes":
|
5627
|
+
"bytes": 1146,
|
5623
5628
|
"imports": [
|
5624
5629
|
{
|
5625
5630
|
"path": "<define:process.env>",
|
@@ -5630,7 +5635,7 @@
|
|
5630
5635
|
"format": "esm"
|
5631
5636
|
},
|
5632
5637
|
"src/Prebuilt/components/Connection/ConnectionIndicator.tsx": {
|
5633
|
-
"bytes":
|
5638
|
+
"bytes": 3582,
|
5634
5639
|
"imports": [
|
5635
5640
|
{
|
5636
5641
|
"path": "react",
|
@@ -7387,7 +7392,7 @@
|
|
7387
7392
|
"imports": []
|
7388
7393
|
},
|
7389
7394
|
"src/Prebuilt/components/Chat/EmptyChat.tsx": {
|
7390
|
-
"bytes":
|
7395
|
+
"bytes": 1781,
|
7391
7396
|
"imports": [
|
7392
7397
|
{
|
7393
7398
|
"path": "react",
|
@@ -8257,7 +8262,7 @@
|
|
8257
8262
|
"format": "esm"
|
8258
8263
|
},
|
8259
8264
|
"src/Prebuilt/components/SidePaneTabs.tsx": {
|
8260
|
-
"bytes":
|
8265
|
+
"bytes": 7970,
|
8261
8266
|
"imports": [
|
8262
8267
|
{
|
8263
8268
|
"path": "react",
|
@@ -8879,7 +8884,7 @@
|
|
8879
8884
|
"format": "esm"
|
8880
8885
|
},
|
8881
8886
|
"src/Prebuilt/layouts/SidePane.tsx": {
|
8882
|
-
"bytes":
|
8887
|
+
"bytes": 5020,
|
8883
8888
|
"imports": [
|
8884
8889
|
{
|
8885
8890
|
"path": "react",
|
@@ -9623,7 +9628,7 @@
|
|
9623
9628
|
"format": "esm"
|
9624
9629
|
},
|
9625
9630
|
"src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx": {
|
9626
|
-
"bytes":
|
9631
|
+
"bytes": 2449,
|
9627
9632
|
"imports": [
|
9628
9633
|
{
|
9629
9634
|
"path": "react",
|
@@ -9669,7 +9674,7 @@
|
|
9669
9674
|
"format": "esm"
|
9670
9675
|
},
|
9671
9676
|
"src/Prebuilt/components/SecondaryTiles.tsx": {
|
9672
|
-
"bytes":
|
9677
|
+
"bytes": 2773,
|
9673
9678
|
"imports": [
|
9674
9679
|
{
|
9675
9680
|
"path": "react",
|
@@ -12775,7 +12780,7 @@
|
|
12775
12780
|
"dist/index.js": {
|
12776
12781
|
"imports": [
|
12777
12782
|
{
|
12778
|
-
"path": "dist/chunk-
|
12783
|
+
"path": "dist/chunk-JSWIHHXP.js",
|
12779
12784
|
"kind": "import-statement"
|
12780
12785
|
}
|
12781
12786
|
],
|
@@ -12848,16 +12853,16 @@
|
|
12848
12853
|
"inputs": {},
|
12849
12854
|
"bytes": 1822
|
12850
12855
|
},
|
12851
|
-
"dist/HLSView-
|
12856
|
+
"dist/HLSView-XSS3JNNS.js.map": {
|
12852
12857
|
"imports": [],
|
12853
12858
|
"exports": [],
|
12854
12859
|
"inputs": {},
|
12855
12860
|
"bytes": 58854
|
12856
12861
|
},
|
12857
|
-
"dist/HLSView-
|
12862
|
+
"dist/HLSView-XSS3JNNS.js": {
|
12858
12863
|
"imports": [
|
12859
12864
|
{
|
12860
|
-
"path": "dist/chunk-
|
12865
|
+
"path": "dist/chunk-JSWIHHXP.js",
|
12861
12866
|
"kind": "import-statement"
|
12862
12867
|
},
|
12863
12868
|
{
|
@@ -13021,13 +13026,13 @@
|
|
13021
13026
|
},
|
13022
13027
|
"bytes": 36972
|
13023
13028
|
},
|
13024
|
-
"dist/chunk-
|
13029
|
+
"dist/chunk-JSWIHHXP.js.map": {
|
13025
13030
|
"imports": [],
|
13026
13031
|
"exports": [],
|
13027
13032
|
"inputs": {},
|
13028
|
-
"bytes":
|
13033
|
+
"bytes": 3101582
|
13029
13034
|
},
|
13030
|
-
"dist/chunk-
|
13035
|
+
"dist/chunk-JSWIHHXP.js": {
|
13031
13036
|
"imports": [
|
13032
13037
|
{
|
13033
13038
|
"path": "react",
|
@@ -15275,7 +15280,7 @@
|
|
15275
15280
|
"external": true
|
15276
15281
|
},
|
15277
15282
|
{
|
15278
|
-
"path": "dist/HLSView-
|
15283
|
+
"path": "dist/HLSView-XSS3JNNS.js",
|
15279
15284
|
"kind": "dynamic-import"
|
15280
15285
|
},
|
15281
15286
|
{
|
@@ -15697,7 +15702,7 @@
|
|
15697
15702
|
],
|
15698
15703
|
"inputs": {
|
15699
15704
|
"<define:process.env>": {
|
15700
|
-
"bytesInOutput":
|
15705
|
+
"bytesInOutput": 18103
|
15701
15706
|
},
|
15702
15707
|
"../../node_modules/lodash/lodash.js": {
|
15703
15708
|
"bytesInOutput": 224267
|
@@ -16108,7 +16113,7 @@
|
|
16108
16113
|
"bytesInOutput": 628
|
16109
16114
|
},
|
16110
16115
|
"src/Prebuilt/components/hooks/useFullscreen.js": {
|
16111
|
-
"bytesInOutput":
|
16116
|
+
"bytesInOutput": 1220
|
16112
16117
|
},
|
16113
16118
|
"src/Prebuilt/components/MoreSettings/MuteAllModal.jsx": {
|
16114
16119
|
"bytesInOutput": 2173
|
@@ -16231,10 +16236,10 @@
|
|
16231
16236
|
"bytesInOutput": 11538
|
16232
16237
|
},
|
16233
16238
|
"src/Prebuilt/components/Connection/ConnectionIndicator.tsx": {
|
16234
|
-
"bytesInOutput":
|
16239
|
+
"bytesInOutput": 3749
|
16235
16240
|
},
|
16236
16241
|
"src/Prebuilt/components/Connection/connectionQualityUtils.js": {
|
16237
|
-
"bytesInOutput":
|
16242
|
+
"bytesInOutput": 700
|
16238
16243
|
},
|
16239
16244
|
"src/Prebuilt/components/RemoveParticipant.tsx": {
|
16240
16245
|
"bytesInOutput": 1290
|
@@ -16261,7 +16266,7 @@
|
|
16261
16266
|
"bytesInOutput": 9632
|
16262
16267
|
},
|
16263
16268
|
"src/Prebuilt/layouts/SidePane.tsx": {
|
16264
|
-
"bytesInOutput":
|
16269
|
+
"bytesInOutput": 4627
|
16265
16270
|
},
|
16266
16271
|
"src/Prebuilt/components/Polls/Polls.tsx": {
|
16267
16272
|
"bytesInOutput": 735
|
@@ -16336,13 +16341,13 @@
|
|
16336
16341
|
"bytesInOutput": 1727
|
16337
16342
|
},
|
16338
16343
|
"src/Prebuilt/components/SidePaneTabs.tsx": {
|
16339
|
-
"bytesInOutput":
|
16344
|
+
"bytesInOutput": 7387
|
16340
16345
|
},
|
16341
16346
|
"src/Prebuilt/components/Chat/Chat.tsx": {
|
16342
16347
|
"bytesInOutput": 3444
|
16343
16348
|
},
|
16344
16349
|
"src/Prebuilt/components/Chat/ChatBody.tsx": {
|
16345
|
-
"bytesInOutput":
|
16350
|
+
"bytesInOutput": 14354
|
16346
16351
|
},
|
16347
16352
|
"src/Prebuilt/components/Chat/ChatActions.tsx": {
|
16348
16353
|
"bytesInOutput": 9785
|
@@ -16357,7 +16362,7 @@
|
|
16357
16362
|
"bytesInOutput": 2757
|
16358
16363
|
},
|
16359
16364
|
"src/Prebuilt/components/Chat/EmptyChat.tsx": {
|
16360
|
-
"bytesInOutput":
|
16365
|
+
"bytesInOutput": 1653
|
16361
16366
|
},
|
16362
16367
|
"src/Prebuilt/images/empty-chat.svg": {
|
16363
16368
|
"bytesInOutput": 2261
|
@@ -16474,10 +16479,10 @@
|
|
16474
16479
|
"bytesInOutput": 1972
|
16475
16480
|
},
|
16476
16481
|
"src/Prebuilt/components/SecondaryTiles.tsx": {
|
16477
|
-
"bytesInOutput":
|
16482
|
+
"bytesInOutput": 2494
|
16478
16483
|
},
|
16479
16484
|
"src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx": {
|
16480
|
-
"bytesInOutput":
|
16485
|
+
"bytesInOutput": 2280
|
16481
16486
|
},
|
16482
16487
|
"src/Prebuilt/components/hooks/useRoleProminencePeers.tsx": {
|
16483
16488
|
"bytesInOutput": 961
|
@@ -16624,7 +16629,7 @@
|
|
16624
16629
|
"bytesInOutput": 651
|
16625
16630
|
}
|
16626
16631
|
},
|
16627
|
-
"bytes":
|
16632
|
+
"bytes": 1264916
|
16628
16633
|
}
|
16629
16634
|
}
|
16630
16635
|
}
|
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"prebuilt",
|
11
11
|
"roomkit"
|
12
12
|
],
|
13
|
-
"version": "0.2.4-alpha.
|
13
|
+
"version": "0.2.4-alpha.2",
|
14
14
|
"author": "100ms",
|
15
15
|
"license": "MIT",
|
16
16
|
"repository": {
|
@@ -82,10 +82,10 @@
|
|
82
82
|
"react": ">=17.0.2 <19.0.0"
|
83
83
|
},
|
84
84
|
"dependencies": {
|
85
|
-
"@100mslive/hls-player": "0.2.4-alpha.
|
86
|
-
"@100mslive/hms-virtual-background": "1.12.4-alpha.
|
87
|
-
"@100mslive/react-icons": "0.9.4-alpha.
|
88
|
-
"@100mslive/react-sdk": "0.9.4-alpha.
|
85
|
+
"@100mslive/hls-player": "0.2.4-alpha.2",
|
86
|
+
"@100mslive/hms-virtual-background": "1.12.4-alpha.2",
|
87
|
+
"@100mslive/react-icons": "0.9.4-alpha.2",
|
88
|
+
"@100mslive/react-sdk": "0.9.4-alpha.2",
|
89
89
|
"@100mslive/types-prebuilt": "0.12.6",
|
90
90
|
"@emoji-mart/data": "^1.0.6",
|
91
91
|
"@emoji-mart/react": "^1.0.1",
|
@@ -120,5 +120,5 @@
|
|
120
120
|
"uuid": "^8.3.2",
|
121
121
|
"worker-timers": "^7.0.40"
|
122
122
|
},
|
123
|
-
"gitHead": "
|
123
|
+
"gitHead": "828a285832ea0ad08e7df58763efe8c645e0569c"
|
124
124
|
}
|
@@ -426,11 +426,11 @@ export const ChatBody = React.forwardRef<VariableSizeList, { scrollToBottom: (co
|
|
426
426
|
return unsubscribe;
|
427
427
|
}, [vanillaStore, listRef, scrollToBottom]);
|
428
428
|
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
429
|
+
return filteredMessages.length === 0 ? (
|
430
|
+
<EmptyChat />
|
431
|
+
) : (
|
432
|
+
<VirtualizedChatMessages messages={filteredMessages} ref={listRef} scrollToBottom={scrollToBottom} />
|
433
|
+
);
|
434
434
|
},
|
435
435
|
);
|
436
436
|
|
@@ -33,7 +33,8 @@ export const EmptyChat = () => {
|
|
33
33
|
justify="center"
|
34
34
|
>
|
35
35
|
<Box>
|
36
|
-
<img src={emptyChat} alt="Empty Chat" height={132} width={185} style={{ margin: '
|
36
|
+
<img src={emptyChat} alt="Empty Chat" height={132} width={185} style={{ margin: '8px auto 4px auto' }} />
|
37
|
+
|
37
38
|
<Text variant="h5" css={{ mt: '$8', c: '$on_surface_high' }}>
|
38
39
|
{canSendMessages ? 'Start a conversation' : 'No messages yet'}
|
39
40
|
</Text>
|
@@ -33,7 +33,7 @@ export const ConnectionIndicator = ({
|
|
33
33
|
}) => {
|
34
34
|
const downlinkQuality = useHMSStore(selectConnectionQualityByPeerID(peerId))?.downlinkQuality;
|
35
35
|
const { theme } = useTheme();
|
36
|
-
const defaultColor = theme.colors.
|
36
|
+
const defaultColor = theme.colors.on_surface_low;
|
37
37
|
if (downlinkQuality === -1 || downlinkQuality === undefined) {
|
38
38
|
return null;
|
39
39
|
}
|
@@ -30,10 +30,8 @@ export const getColor = (position, connectionScore, defaultColor, theme) => {
|
|
30
30
|
}
|
31
31
|
if (connectionScore >= 4) {
|
32
32
|
return theme.colors.alert_success;
|
33
|
-
} else if (connectionScore >= 3) {
|
34
|
-
return theme.colors.alert_warning;
|
35
33
|
} else if (connectionScore >= 1) {
|
36
|
-
return theme.colors.
|
34
|
+
return theme.colors.alert_warning;
|
37
35
|
}
|
38
36
|
return defaultColor;
|
39
37
|
};
|
@@ -21,12 +21,18 @@ export const SecondaryTiles = ({ peers, onPageChange, onPageSize, edgeToEdge, ha
|
|
21
21
|
peers:
|
22
22
|
spotlightPeerId || pinnedPeer
|
23
23
|
? [...peers].sort((p1, p2) => {
|
24
|
-
|
24
|
+
if (activeScreensharePeerId === p1.id) {
|
25
|
+
return -1;
|
26
|
+
}
|
27
|
+
if (activeScreensharePeerId === p2.id) {
|
28
|
+
return 1;
|
29
|
+
}
|
30
|
+
const peerIdList = [pinnedPeer, spotlightPeerId];
|
25
31
|
// put active screenshare peer, pinned peer, spotlight peer at first
|
26
|
-
if (peerIdList.includes(p1)) {
|
32
|
+
if (peerIdList.includes(p1.id)) {
|
27
33
|
return -1;
|
28
34
|
}
|
29
|
-
if (peerIdList.includes(p2)) {
|
35
|
+
if (peerIdList.includes(p2.id)) {
|
30
36
|
return 1;
|
31
37
|
}
|
32
38
|
return 0;
|
@@ -194,7 +194,10 @@ export const SidePaneTabs = React.memo<{
|
|
194
194
|
<Tabs.Content value={SIDE_PANE_OPTIONS.PARTICIPANTS} css={{ p: 0 }}>
|
195
195
|
<ParticipantList offStageRoles={off_stage_roles} onActive={setActiveRole} />
|
196
196
|
</Tabs.Content>
|
197
|
-
<Tabs.Content
|
197
|
+
<Tabs.Content
|
198
|
+
value={SIDE_PANE_OPTIONS.CHAT}
|
199
|
+
css={{ p: 0, overflowY: 'auto', '@md': { overflowY: 'unset' } }}
|
200
|
+
>
|
198
201
|
<Chat />
|
199
202
|
</Tabs.Content>
|
200
203
|
</Tabs.Root>
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { useCallback, useEffect, useState } from 'react';
|
2
2
|
import screenfull from 'screenfull';
|
3
3
|
import { ToastManager } from '../Toast/ToastManager';
|
4
|
+
import { DEFAULT_PORTAL_CONTAINER } from '../../common/constants';
|
4
5
|
|
5
6
|
export const useFullscreen = () => {
|
6
7
|
const [isFullScreenEnabled, setIsFullScreenEnabled] = useState(screenfull.isFullscreen);
|
@@ -14,7 +15,7 @@ export const useFullscreen = () => {
|
|
14
15
|
if (isFullScreenEnabled) {
|
15
16
|
await screenfull.exit();
|
16
17
|
} else {
|
17
|
-
await screenfull.request();
|
18
|
+
await screenfull.request(document.querySelector(DEFAULT_PORTAL_CONTAINER));
|
18
19
|
}
|
19
20
|
} catch (err) {
|
20
21
|
ToastManager.addToast({ title: err.message });
|
@@ -121,7 +121,7 @@ const SidePane = ({
|
|
121
121
|
},
|
122
122
|
'@md': {
|
123
123
|
p: '$6 $8',
|
124
|
-
h: 'auto',
|
124
|
+
h: mwebStreamingChat ? 'auto' : '',
|
125
125
|
pb: mwebStreamingChat ? '$20' : '$12',
|
126
126
|
borderTopLeftRadius: sidepane === SIDE_PANE_OPTIONS.POLLS ? '$2' : '0',
|
127
127
|
borderTopRightRadius: sidepane === SIDE_PANE_OPTIONS.POLLS ? '$2' : '0',
|