@100mslive/roomkit-react 0.3.3-alpha.2 → 0.3.3-alpha.4
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/Accordion/Accordion.d.ts +0 -1
- package/dist/Accordion/index.d.ts +0 -1
- package/dist/{HLSView-GI5NXBYN.js → HLSView-VUANLYLS.js} +2 -2
- package/dist/Prebuilt/components/RaiseHand.d.ts +1 -1
- package/dist/{chunk-KUFQ5ONV.js → chunk-5WTUTVRO.js} +381 -414
- package/dist/chunk-5WTUTVRO.js.map +7 -0
- package/dist/index.cjs.js +813 -849
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +63 -58
- package/dist/meta.esbuild.json +68 -63
- package/package.json +7 -7
- package/src/Accordion/Accordion.tsx +4 -4
- package/src/Prebuilt/components/Chat/ChatBody.tsx +0 -10
- package/src/Prebuilt/components/Chat/ChatFooter.tsx +4 -2
- package/src/Prebuilt/components/ConferenceScreen.tsx +4 -1
- package/src/Prebuilt/components/Footer/Footer.tsx +4 -1
- package/src/Prebuilt/components/Footer/ParticipantList.tsx +1 -4
- package/src/Prebuilt/components/Footer/RoleAccordion.tsx +6 -6
- package/src/Prebuilt/components/MoreSettings/SplitComponents/DesktopOptions.tsx +1 -0
- package/src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx +5 -1
- package/src/Prebuilt/components/PreviousRoleInMetadata.tsx +1 -0
- package/src/Prebuilt/components/RaiseHand.tsx +1 -7
- package/src/Prebuilt/components/RoleChangeRequest/RoleChangeRequestModal.tsx +1 -0
- package/src/Prebuilt/components/hooks/{useMetadata.tsx → useMetadata.jsx} +8 -2
- package/dist/Prebuilt/components/hooks/useMetadata.d.ts +0 -8
- package/dist/chunk-KUFQ5ONV.js.map +0 -7
- /package/dist/{HLSView-GI5NXBYN.js.map → HLSView-VUANLYLS.js.map} +0 -0
package/dist/meta.esbuild.json
CHANGED
@@ -1558,7 +1558,7 @@
|
|
1558
1558
|
"format": "esm"
|
1559
1559
|
},
|
1560
1560
|
"src/Accordion/Accordion.tsx": {
|
1561
|
-
"bytes":
|
1561
|
+
"bytes": 2744,
|
1562
1562
|
"imports": [
|
1563
1563
|
{
|
1564
1564
|
"path": "react",
|
@@ -4201,8 +4201,8 @@
|
|
4201
4201
|
],
|
4202
4202
|
"format": "esm"
|
4203
4203
|
},
|
4204
|
-
"src/Prebuilt/components/hooks/useMetadata.
|
4205
|
-
"bytes":
|
4204
|
+
"src/Prebuilt/components/hooks/useMetadata.jsx": {
|
4205
|
+
"bytes": 1700,
|
4206
4206
|
"imports": [
|
4207
4207
|
{
|
4208
4208
|
"path": "react",
|
@@ -4228,7 +4228,7 @@
|
|
4228
4228
|
"format": "esm"
|
4229
4229
|
},
|
4230
4230
|
"src/Prebuilt/components/MoreSettings/SplitComponents/DesktopOptions.tsx": {
|
4231
|
-
"bytes":
|
4231
|
+
"bytes": 8195,
|
4232
4232
|
"imports": [
|
4233
4233
|
{
|
4234
4234
|
"path": "react",
|
@@ -4321,7 +4321,7 @@
|
|
4321
4321
|
"original": "../../hooks/useDropdownList"
|
4322
4322
|
},
|
4323
4323
|
{
|
4324
|
-
"path": "src/Prebuilt/components/hooks/useMetadata.
|
4324
|
+
"path": "src/Prebuilt/components/hooks/useMetadata.jsx",
|
4325
4325
|
"kind": "import-statement",
|
4326
4326
|
"original": "../../hooks/useMetadata"
|
4327
4327
|
},
|
@@ -4691,7 +4691,7 @@
|
|
4691
4691
|
"format": "cjs"
|
4692
4692
|
},
|
4693
4693
|
"../hms-video-store/dist/index.js": {
|
4694
|
-
"bytes":
|
4694
|
+
"bytes": 328584,
|
4695
4695
|
"imports": [
|
4696
4696
|
{
|
4697
4697
|
"path": "../../node_modules/reselect/es/index.js",
|
@@ -5201,7 +5201,7 @@
|
|
5201
5201
|
"format": "esm"
|
5202
5202
|
},
|
5203
5203
|
"src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx": {
|
5204
|
-
"bytes":
|
5204
|
+
"bytes": 13053,
|
5205
5205
|
"imports": [
|
5206
5206
|
{
|
5207
5207
|
"path": "react",
|
@@ -5309,7 +5309,7 @@
|
|
5309
5309
|
"original": "../../hooks/useDropdownList"
|
5310
5310
|
},
|
5311
5311
|
{
|
5312
|
-
"path": "src/Prebuilt/components/hooks/useMetadata.
|
5312
|
+
"path": "src/Prebuilt/components/hooks/useMetadata.jsx",
|
5313
5313
|
"kind": "import-statement",
|
5314
5314
|
"original": "../../hooks/useMetadata"
|
5315
5315
|
},
|
@@ -5393,7 +5393,7 @@
|
|
5393
5393
|
"format": "esm"
|
5394
5394
|
},
|
5395
5395
|
"src/Prebuilt/components/RaiseHand.tsx": {
|
5396
|
-
"bytes":
|
5396
|
+
"bytes": 798,
|
5397
5397
|
"imports": [
|
5398
5398
|
{
|
5399
5399
|
"path": "react",
|
@@ -5421,12 +5421,7 @@
|
|
5421
5421
|
"original": "../IconButton"
|
5422
5422
|
},
|
5423
5423
|
{
|
5424
|
-
"path": "src/Prebuilt/
|
5425
|
-
"kind": "import-statement",
|
5426
|
-
"original": "../provider/roomLayoutProvider/hooks/useRoomLayoutScreen"
|
5427
|
-
},
|
5428
|
-
{
|
5429
|
-
"path": "src/Prebuilt/components/hooks/useMetadata.tsx",
|
5424
|
+
"path": "src/Prebuilt/components/hooks/useMetadata.jsx",
|
5430
5425
|
"kind": "import-statement",
|
5431
5426
|
"original": "./hooks/useMetadata"
|
5432
5427
|
},
|
@@ -6047,7 +6042,7 @@
|
|
6047
6042
|
"format": "esm"
|
6048
6043
|
},
|
6049
6044
|
"src/Prebuilt/components/Footer/RoleAccordion.tsx": {
|
6050
|
-
"bytes":
|
6045
|
+
"bytes": 5714,
|
6051
6046
|
"imports": [
|
6052
6047
|
{
|
6053
6048
|
"path": "react",
|
@@ -6159,7 +6154,7 @@
|
|
6159
6154
|
"format": "esm"
|
6160
6155
|
},
|
6161
6156
|
"src/Prebuilt/components/Footer/ParticipantList.tsx": {
|
6162
|
-
"bytes":
|
6157
|
+
"bytes": 12431,
|
6163
6158
|
"imports": [
|
6164
6159
|
{
|
6165
6160
|
"path": "react",
|
@@ -6342,7 +6337,7 @@
|
|
6342
6337
|
"format": "esm"
|
6343
6338
|
},
|
6344
6339
|
"src/Prebuilt/components/Footer/Footer.tsx": {
|
6345
|
-
"bytes":
|
6340
|
+
"bytes": 3967,
|
6346
6341
|
"imports": [
|
6347
6342
|
{
|
6348
6343
|
"path": "react",
|
@@ -6364,6 +6359,11 @@
|
|
6364
6359
|
"kind": "import-statement",
|
6365
6360
|
"external": true
|
6366
6361
|
},
|
6362
|
+
{
|
6363
|
+
"path": "@100mslive/react-sdk",
|
6364
|
+
"kind": "import-statement",
|
6365
|
+
"external": true
|
6366
|
+
},
|
6367
6367
|
{
|
6368
6368
|
"path": "src/index.ts",
|
6369
6369
|
"kind": "import-statement",
|
@@ -7963,7 +7963,7 @@
|
|
7963
7963
|
"format": "esm"
|
7964
7964
|
},
|
7965
7965
|
"src/Prebuilt/components/Chat/ChatBody.tsx": {
|
7966
|
-
"bytes":
|
7966
|
+
"bytes": 14835,
|
7967
7967
|
"imports": [
|
7968
7968
|
{
|
7969
7969
|
"path": "react",
|
@@ -8243,7 +8243,7 @@
|
|
8243
8243
|
"format": "esm"
|
8244
8244
|
},
|
8245
8245
|
"src/Prebuilt/components/Chat/ChatFooter.tsx": {
|
8246
|
-
"bytes":
|
8246
|
+
"bytes": 10438,
|
8247
8247
|
"imports": [
|
8248
8248
|
{
|
8249
8249
|
"path": "react",
|
@@ -9794,7 +9794,7 @@
|
|
9794
9794
|
"format": "esm"
|
9795
9795
|
},
|
9796
9796
|
"src/Prebuilt/components/RoleChangeRequest/RoleChangeRequestModal.tsx": {
|
9797
|
-
"bytes":
|
9797
|
+
"bytes": 2958,
|
9798
9798
|
"imports": [
|
9799
9799
|
{
|
9800
9800
|
"path": "react",
|
@@ -9827,7 +9827,7 @@
|
|
9827
9827
|
"original": "../../provider/roomLayoutProvider/hooks/useRoomLayoutScreen"
|
9828
9828
|
},
|
9829
9829
|
{
|
9830
|
-
"path": "src/Prebuilt/components/hooks/useMetadata.
|
9830
|
+
"path": "src/Prebuilt/components/hooks/useMetadata.jsx",
|
9831
9831
|
"kind": "import-statement",
|
9832
9832
|
"original": "../hooks/useMetadata"
|
9833
9833
|
},
|
@@ -11868,7 +11868,7 @@
|
|
11868
11868
|
"format": "esm"
|
11869
11869
|
},
|
11870
11870
|
"src/Prebuilt/components/PreviousRoleInMetadata.tsx": {
|
11871
|
-
"bytes":
|
11871
|
+
"bytes": 769,
|
11872
11872
|
"imports": [
|
11873
11873
|
{
|
11874
11874
|
"path": "react",
|
@@ -11881,7 +11881,7 @@
|
|
11881
11881
|
"external": true
|
11882
11882
|
},
|
11883
11883
|
{
|
11884
|
-
"path": "src/Prebuilt/components/hooks/useMetadata.
|
11884
|
+
"path": "src/Prebuilt/components/hooks/useMetadata.jsx",
|
11885
11885
|
"kind": "import-statement",
|
11886
11886
|
"original": "./hooks/useMetadata"
|
11887
11887
|
},
|
@@ -11894,7 +11894,7 @@
|
|
11894
11894
|
"format": "esm"
|
11895
11895
|
},
|
11896
11896
|
"src/Prebuilt/components/ConferenceScreen.tsx": {
|
11897
|
-
"bytes":
|
11897
|
+
"bytes": 8259,
|
11898
11898
|
"imports": [
|
11899
11899
|
{
|
11900
11900
|
"path": "react",
|
@@ -13709,7 +13709,7 @@
|
|
13709
13709
|
"dist/index.js": {
|
13710
13710
|
"imports": [
|
13711
13711
|
{
|
13712
|
-
"path": "dist/chunk-
|
13712
|
+
"path": "dist/chunk-5WTUTVRO.js",
|
13713
13713
|
"kind": "import-statement"
|
13714
13714
|
}
|
13715
13715
|
],
|
@@ -13782,16 +13782,16 @@
|
|
13782
13782
|
"inputs": {},
|
13783
13783
|
"bytes": 1822
|
13784
13784
|
},
|
13785
|
-
"dist/HLSView-
|
13785
|
+
"dist/HLSView-VUANLYLS.js.map": {
|
13786
13786
|
"imports": [],
|
13787
13787
|
"exports": [],
|
13788
13788
|
"inputs": {},
|
13789
13789
|
"bytes": 90585
|
13790
13790
|
},
|
13791
|
-
"dist/HLSView-
|
13791
|
+
"dist/HLSView-VUANLYLS.js": {
|
13792
13792
|
"imports": [
|
13793
13793
|
{
|
13794
|
-
"path": "dist/chunk-
|
13794
|
+
"path": "dist/chunk-5WTUTVRO.js",
|
13795
13795
|
"kind": "import-statement"
|
13796
13796
|
},
|
13797
13797
|
{
|
@@ -14009,13 +14009,13 @@
|
|
14009
14009
|
},
|
14010
14010
|
"bytes": 55694
|
14011
14011
|
},
|
14012
|
-
"dist/chunk-
|
14012
|
+
"dist/chunk-5WTUTVRO.js.map": {
|
14013
14013
|
"imports": [],
|
14014
14014
|
"exports": [],
|
14015
14015
|
"inputs": {},
|
14016
|
-
"bytes":
|
14016
|
+
"bytes": 3185356
|
14017
14017
|
},
|
14018
|
-
"dist/chunk-
|
14018
|
+
"dist/chunk-5WTUTVRO.js": {
|
14019
14019
|
"imports": [
|
14020
14020
|
{
|
14021
14021
|
"path": "react",
|
@@ -14452,6 +14452,11 @@
|
|
14452
14452
|
"kind": "import-statement",
|
14453
14453
|
"external": true
|
14454
14454
|
},
|
14455
|
+
{
|
14456
|
+
"path": "@100mslive/react-sdk",
|
14457
|
+
"kind": "import-statement",
|
14458
|
+
"external": true
|
14459
|
+
},
|
14455
14460
|
{
|
14456
14461
|
"path": "react",
|
14457
14462
|
"kind": "import-statement",
|
@@ -16398,7 +16403,7 @@
|
|
16398
16403
|
"external": true
|
16399
16404
|
},
|
16400
16405
|
{
|
16401
|
-
"path": "dist/HLSView-
|
16406
|
+
"path": "dist/HLSView-VUANLYLS.js",
|
16402
16407
|
"kind": "dynamic-import"
|
16403
16408
|
},
|
16404
16409
|
{
|
@@ -16873,10 +16878,10 @@
|
|
16873
16878
|
],
|
16874
16879
|
"inputs": {
|
16875
16880
|
"<define:process.env>": {
|
16876
|
-
"bytesInOutput":
|
16881
|
+
"bytesInOutput": 17262
|
16877
16882
|
},
|
16878
16883
|
"../../node_modules/lodash/lodash.js": {
|
16879
|
-
"bytesInOutput":
|
16884
|
+
"bytesInOutput": 224291
|
16880
16885
|
},
|
16881
16886
|
"../../node_modules/ua-parser-js/src/ua-parser.js": {
|
16882
16887
|
"bytesInOutput": 42482
|
@@ -16885,7 +16890,7 @@
|
|
16885
16890
|
"bytesInOutput": 26591
|
16886
16891
|
},
|
16887
16892
|
"../../node_modules/sdp/sdp.js": {
|
16888
|
-
"bytesInOutput":
|
16893
|
+
"bytesInOutput": 22288
|
16889
16894
|
},
|
16890
16895
|
"../../node_modules/sdp-transform/lib/grammar.js": {
|
16891
16896
|
"bytesInOutput": 16120
|
@@ -17056,7 +17061,7 @@
|
|
17056
17061
|
"bytesInOutput": 755
|
17057
17062
|
},
|
17058
17063
|
"src/AudioLevel/AudioLevel.tsx": {
|
17059
|
-
"bytesInOutput":
|
17064
|
+
"bytesInOutput": 2195
|
17060
17065
|
},
|
17061
17066
|
"src/AudioLevel/audio-level.png": {
|
17062
17067
|
"bytesInOutput": 880
|
@@ -17092,7 +17097,7 @@
|
|
17092
17097
|
"bytesInOutput": 149
|
17093
17098
|
},
|
17094
17099
|
"src/Accordion/Accordion.tsx": {
|
17095
|
-
"bytesInOutput":
|
17100
|
+
"bytesInOutput": 2476
|
17096
17101
|
},
|
17097
17102
|
"src/Fieldset/Fieldset.tsx": {
|
17098
17103
|
"bytesInOutput": 233
|
@@ -17158,7 +17163,7 @@
|
|
17158
17163
|
"bytesInOutput": 1486
|
17159
17164
|
},
|
17160
17165
|
"src/Prebuilt/common/utils.js": {
|
17161
|
-
"bytesInOutput":
|
17166
|
+
"bytesInOutput": 3211
|
17162
17167
|
},
|
17163
17168
|
"src/Prebuilt/components/AppData/useSidepane.js": {
|
17164
17169
|
"bytesInOutput": 2499
|
@@ -17173,10 +17178,10 @@
|
|
17173
17178
|
"bytesInOutput": 4698
|
17174
17179
|
},
|
17175
17180
|
"src/Prebuilt/components/ConferenceScreen.tsx": {
|
17176
|
-
"bytesInOutput":
|
17181
|
+
"bytesInOutput": 7373
|
17177
17182
|
},
|
17178
17183
|
"src/Prebuilt/components/Footer/Footer.tsx": {
|
17179
|
-
"bytesInOutput":
|
17184
|
+
"bytesInOutput": 3350
|
17180
17185
|
},
|
17181
17186
|
"src/Prebuilt/components/AudioVideoToggle.tsx": {
|
17182
17187
|
"bytesInOutput": 10284
|
@@ -17301,20 +17306,20 @@
|
|
17301
17306
|
"src/Prebuilt/components/MoreSettings/constants.ts": {
|
17302
17307
|
"bytesInOutput": 437
|
17303
17308
|
},
|
17304
|
-
"src/Prebuilt/components/hooks/useMetadata.
|
17305
|
-
"bytesInOutput":
|
17309
|
+
"src/Prebuilt/components/hooks/useMetadata.jsx": {
|
17310
|
+
"bytesInOutput": 1948
|
17306
17311
|
},
|
17307
17312
|
"src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx": {
|
17308
|
-
"bytesInOutput":
|
17313
|
+
"bytesInOutput": 11042
|
17309
17314
|
},
|
17310
17315
|
"src/Prebuilt/components/Header/StreamActions.tsx": {
|
17311
17316
|
"bytesInOutput": 10031
|
17312
17317
|
},
|
17313
17318
|
"../hms-video-store/dist/index.js": {
|
17314
|
-
"bytesInOutput":
|
17319
|
+
"bytesInOutput": 48783
|
17315
17320
|
},
|
17316
17321
|
"../../node_modules/reselect/es/index.js": {
|
17317
|
-
"bytesInOutput":
|
17322
|
+
"bytesInOutput": 2539
|
17318
17323
|
},
|
17319
17324
|
"../../node_modules/webrtc-adapter/src/js/adapter_core.js": {
|
17320
17325
|
"bytesInOutput": 118
|
@@ -17329,7 +17334,7 @@
|
|
17329
17334
|
"bytesInOutput": 22678
|
17330
17335
|
},
|
17331
17336
|
"../../node_modules/webrtc-adapter/src/js/chrome/getusermedia.js": {
|
17332
|
-
"bytesInOutput":
|
17337
|
+
"bytesInOutput": 6090
|
17333
17338
|
},
|
17334
17339
|
"../../node_modules/webrtc-adapter/src/js/chrome/getdisplaymedia.js": {
|
17335
17340
|
"bytesInOutput": 1256
|
@@ -17338,7 +17343,7 @@
|
|
17338
17343
|
"bytesInOutput": 9143
|
17339
17344
|
},
|
17340
17345
|
"../../node_modules/webrtc-adapter/src/js/firefox/getusermedia.js": {
|
17341
|
-
"bytesInOutput":
|
17346
|
+
"bytesInOutput": 2125
|
17342
17347
|
},
|
17343
17348
|
"../../node_modules/webrtc-adapter/src/js/firefox/getdisplaymedia.js": {
|
17344
17349
|
"bytesInOutput": 842
|
@@ -17374,7 +17379,7 @@
|
|
17374
17379
|
"bytesInOutput": 658
|
17375
17380
|
},
|
17376
17381
|
"src/Prebuilt/components/RaiseHand.tsx": {
|
17377
|
-
"bytesInOutput":
|
17382
|
+
"bytesInOutput": 796
|
17378
17383
|
},
|
17379
17384
|
"src/Prebuilt/components/ScreenShareToggle.jsx": {
|
17380
17385
|
"bytesInOutput": 1619
|
@@ -17413,7 +17418,7 @@
|
|
17413
17418
|
"bytesInOutput": 1404
|
17414
17419
|
},
|
17415
17420
|
"src/Prebuilt/components/Footer/ParticipantList.tsx": {
|
17416
|
-
"bytesInOutput":
|
17421
|
+
"bytesInOutput": 11695
|
17417
17422
|
},
|
17418
17423
|
"src/Prebuilt/components/Connection/ConnectionIndicator.tsx": {
|
17419
17424
|
"bytesInOutput": 3749
|
@@ -17425,7 +17430,7 @@
|
|
17425
17430
|
"bytesInOutput": 1290
|
17426
17431
|
},
|
17427
17432
|
"src/Prebuilt/components/Footer/RoleAccordion.tsx": {
|
17428
|
-
"bytesInOutput":
|
17433
|
+
"bytesInOutput": 5163
|
17429
17434
|
},
|
17430
17435
|
"src/Prebuilt/components/Footer/RoleOptions.tsx": {
|
17431
17436
|
"bytesInOutput": 7326
|
@@ -17449,7 +17454,7 @@
|
|
17449
17454
|
"bytesInOutput": 3077
|
17450
17455
|
},
|
17451
17456
|
"src/Prebuilt/components/Preview/PreviewJoin.tsx": {
|
17452
|
-
"bytesInOutput":
|
17457
|
+
"bytesInOutput": 9637
|
17453
17458
|
},
|
17454
17459
|
"src/Prebuilt/layouts/SidePane.tsx": {
|
17455
17460
|
"bytesInOutput": 6274
|
@@ -17458,7 +17463,7 @@
|
|
17458
17463
|
"bytesInOutput": 735
|
17459
17464
|
},
|
17460
17465
|
"src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.tsx": {
|
17461
|
-
"bytesInOutput":
|
17466
|
+
"bytesInOutput": 7999
|
17462
17467
|
},
|
17463
17468
|
"src/Prebuilt/components/Streaming/Common.jsx": {
|
17464
17469
|
"bytesInOutput": 2247
|
@@ -17545,7 +17550,7 @@
|
|
17545
17550
|
"bytesInOutput": 4926
|
17546
17551
|
},
|
17547
17552
|
"src/Prebuilt/components/Chat/ChatBody.tsx": {
|
17548
|
-
"bytesInOutput":
|
17553
|
+
"bytesInOutput": 14396
|
17549
17554
|
},
|
17550
17555
|
"src/Prebuilt/components/Chat/ChatActions.tsx": {
|
17551
17556
|
"bytesInOutput": 9785
|
@@ -17557,7 +17562,7 @@
|
|
17557
17562
|
"bytesInOutput": 1210
|
17558
17563
|
},
|
17559
17564
|
"src/Prebuilt/components/hooks/usePinnedMessages.ts": {
|
17560
|
-
"bytesInOutput":
|
17565
|
+
"bytesInOutput": 2757
|
17561
17566
|
},
|
17562
17567
|
"src/Prebuilt/components/Chat/EmptyChat.tsx": {
|
17563
17568
|
"bytesInOutput": 1952
|
@@ -17569,7 +17574,7 @@
|
|
17569
17574
|
"bytesInOutput": 710
|
17570
17575
|
},
|
17571
17576
|
"src/Prebuilt/components/Chat/ChatFooter.tsx": {
|
17572
|
-
"bytesInOutput":
|
17577
|
+
"bytesInOutput": 9793
|
17573
17578
|
},
|
17574
17579
|
"src/Prebuilt/components/Chat/ChatSelectorContainer.tsx": {
|
17575
17580
|
"bytesInOutput": 5318
|
@@ -17593,7 +17598,7 @@
|
|
17593
17598
|
"bytesInOutput": 1021
|
17594
17599
|
},
|
17595
17600
|
"src/Prebuilt/components/Chat/StickIndicator.tsx": {
|
17596
|
-
"bytesInOutput":
|
17601
|
+
"bytesInOutput": 542
|
17597
17602
|
},
|
17598
17603
|
"src/Prebuilt/components/Footer/PaginatedParticipants.tsx": {
|
17599
17604
|
"bytesInOutput": 4205
|
@@ -17662,13 +17667,13 @@
|
|
17662
17667
|
"bytesInOutput": 451
|
17663
17668
|
},
|
17664
17669
|
"src/Prebuilt/components/Pagination.tsx": {
|
17665
|
-
"bytesInOutput":
|
17670
|
+
"bytesInOutput": 1698
|
17666
17671
|
},
|
17667
17672
|
"src/Prebuilt/components/VideoLayouts/Grid.tsx": {
|
17668
17673
|
"bytesInOutput": 1204
|
17669
17674
|
},
|
17670
17675
|
"src/Prebuilt/components/hooks/useTileLayout.tsx": {
|
17671
|
-
"bytesInOutput":
|
17676
|
+
"bytesInOutput": 3834
|
17672
17677
|
},
|
17673
17678
|
"src/Prebuilt/components/VideoLayouts/RoleProminence.tsx": {
|
17674
17679
|
"bytesInOutput": 2183
|
@@ -17695,7 +17700,7 @@
|
|
17695
17700
|
"bytesInOutput": 1226
|
17696
17701
|
},
|
17697
17702
|
"src/Prebuilt/common/PeersSorter.ts": {
|
17698
|
-
"bytesInOutput":
|
17703
|
+
"bytesInOutput": 3098
|
17699
17704
|
},
|
17700
17705
|
"src/Prebuilt/layouts/EmbedView.jsx": {
|
17701
17706
|
"bytesInOutput": 2785
|
@@ -17755,7 +17760,7 @@
|
|
17755
17760
|
"bytesInOutput": 27
|
17756
17761
|
},
|
17757
17762
|
"src/Prebuilt/components/Notifications/Notifications.tsx": {
|
17758
|
-
"bytesInOutput":
|
17763
|
+
"bytesInOutput": 7971
|
17759
17764
|
},
|
17760
17765
|
"src/Prebuilt/components/Notifications/AutoplayBlockedModal.tsx": {
|
17761
17766
|
"bytesInOutput": 1053
|
@@ -17770,7 +17775,7 @@
|
|
17770
17775
|
"bytesInOutput": 1983
|
17771
17776
|
},
|
17772
17777
|
"src/Prebuilt/components/Toast/ToastConfig.jsx": {
|
17773
|
-
"bytesInOutput":
|
17778
|
+
"bytesInOutput": 7228
|
17774
17779
|
},
|
17775
17780
|
"src/Prebuilt/components/Notifications/InitErrorModal.tsx": {
|
17776
17781
|
"bytesInOutput": 1596
|
@@ -17833,7 +17838,7 @@
|
|
17833
17838
|
"bytesInOutput": 651
|
17834
17839
|
}
|
17835
17840
|
},
|
17836
|
-
"bytes":
|
17841
|
+
"bytes": 1304924
|
17837
17842
|
}
|
17838
17843
|
}
|
17839
17844
|
}
|
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"prebuilt",
|
11
11
|
"roomkit"
|
12
12
|
],
|
13
|
-
"version": "0.3.3-alpha.
|
13
|
+
"version": "0.3.3-alpha.4",
|
14
14
|
"author": "100ms",
|
15
15
|
"license": "MIT",
|
16
16
|
"repository": {
|
@@ -82,12 +82,12 @@
|
|
82
82
|
"react": ">=17.0.2 <19.0.0"
|
83
83
|
},
|
84
84
|
"dependencies": {
|
85
|
-
"@100mslive/hls-player": "0.3.3-alpha.
|
85
|
+
"@100mslive/hls-player": "0.3.3-alpha.4",
|
86
86
|
"@100mslive/hms-noise-cancellation": "0.0.0-alpha.1",
|
87
|
-
"@100mslive/hms-virtual-background": "1.13.3-alpha.
|
88
|
-
"@100mslive/react-icons": "0.10.3-alpha.
|
89
|
-
"@100mslive/react-sdk": "0.10.3-alpha.
|
90
|
-
"@100mslive/types-prebuilt": "0.12.
|
87
|
+
"@100mslive/hms-virtual-background": "1.13.3-alpha.4",
|
88
|
+
"@100mslive/react-icons": "0.10.3-alpha.4",
|
89
|
+
"@100mslive/react-sdk": "0.10.3-alpha.4",
|
90
|
+
"@100mslive/types-prebuilt": "0.12.7",
|
91
91
|
"@emoji-mart/data": "^1.0.6",
|
92
92
|
"@emoji-mart/react": "^1.0.1",
|
93
93
|
"@radix-ui/react-accordion": "1.0.0",
|
@@ -122,5 +122,5 @@
|
|
122
122
|
"uuid": "^8.3.2",
|
123
123
|
"worker-timers": "^7.0.40"
|
124
124
|
},
|
125
|
-
"gitHead": "
|
125
|
+
"gitHead": "f402d418c294acc6ce73bc81ab286d26431a6f53"
|
126
126
|
}
|
@@ -64,15 +64,15 @@ export const AccordionRoot = StyledAccordion;
|
|
64
64
|
export const AccordionItem = StyledItem;
|
65
65
|
|
66
66
|
export const AccordionHeader: React.FC<
|
67
|
-
PropsWithChildren<BaseAccordion.AccordionTriggerProps & { iconStyles?: CSS; css?: CSS
|
67
|
+
PropsWithChildren<BaseAccordion.AccordionTriggerProps & { iconStyles?: CSS; css?: CSS }>
|
68
68
|
> = React.forwardRef<
|
69
69
|
HTMLButtonElement,
|
70
|
-
PropsWithChildren<BaseAccordion.AccordionTriggerProps & { iconStyles?: CSS; css?: CSS
|
71
|
-
>(({ children, iconStyles, css,
|
70
|
+
PropsWithChildren<BaseAccordion.AccordionTriggerProps & { iconStyles?: CSS; css?: CSS }>
|
71
|
+
>(({ children, iconStyles, css, ...props }, forwardedRef) => (
|
72
72
|
<StyledHeader css={css}>
|
73
73
|
<StyledTrigger {...props} ref={forwardedRef}>
|
74
74
|
{children}
|
75
|
-
<StyledChevron
|
75
|
+
<StyledChevron aria-hidden css={iconStyles} />
|
76
76
|
</StyledTrigger>
|
77
77
|
</StyledHeader>
|
78
78
|
));
|
@@ -410,7 +410,6 @@ export const ChatBody = React.forwardRef<VariableSizeList, { scrollToBottom: (co
|
|
410
410
|
}, [blacklistedMessageIDs, messages]);
|
411
411
|
|
412
412
|
const vanillaStore = useHMSVanillaStore();
|
413
|
-
const rerenderOnFirstMount = useRef(false);
|
414
413
|
|
415
414
|
useEffect(() => {
|
416
415
|
const unsubscribe = vanillaStore.subscribe(() => {
|
@@ -427,15 +426,6 @@ export const ChatBody = React.forwardRef<VariableSizeList, { scrollToBottom: (co
|
|
427
426
|
return unsubscribe;
|
428
427
|
}, [vanillaStore, listRef, scrollToBottom]);
|
429
428
|
|
430
|
-
useEffect(() => {
|
431
|
-
// @ts-ignore
|
432
|
-
if (filteredMessages.length > 0 && listRef?.current && !rerenderOnFirstMount.current) {
|
433
|
-
rerenderOnFirstMount.current = true;
|
434
|
-
// @ts-ignore
|
435
|
-
listRef.current.resetAfterIndex(0);
|
436
|
-
}
|
437
|
-
}, [listRef, filteredMessages]);
|
438
|
-
|
439
429
|
return filteredMessages.length === 0 ? (
|
440
430
|
<EmptyChat />
|
441
431
|
) : (
|
@@ -2,7 +2,7 @@ import React, { ReactNode, useCallback, useEffect, useRef, useState } from 'reac
|
|
2
2
|
import { useMedia } from 'react-use';
|
3
3
|
import data from '@emoji-mart/data';
|
4
4
|
import Picker from '@emoji-mart/react';
|
5
|
-
import { HMSException, selectLocalPeer, useHMSActions, useHMSStore } from '@100mslive/react-sdk';
|
5
|
+
import { HMSException, selectLocalPeer, useAVToggle, useHMSActions, useHMSStore } from '@100mslive/react-sdk';
|
6
6
|
import { EmojiIcon, PauseCircleIcon, SendIcon, VerticalMenuIcon } from '@100mslive/react-icons';
|
7
7
|
import { Box, config as cssConfig, Flex, IconButton as BaseIconButton, Popover, styled, Text } from '../../..';
|
8
8
|
import { IconButton } from '../../../IconButton';
|
@@ -89,6 +89,8 @@ export const ChatFooter = ({ onSend, children }: { onSend: (count: number) => vo
|
|
89
89
|
const defaultSelection = useDefaultChatSelection();
|
90
90
|
const selection = selectedPeer.name || selectedRole || defaultSelection;
|
91
91
|
const isLocalPeerBlacklisted = useIsPeerBlacklisted({ local: true });
|
92
|
+
const { toggleAudio, toggleVideo } = useAVToggle();
|
93
|
+
const noAVPermissions = !(toggleAudio || toggleVideo);
|
92
94
|
const isMwebHLSStream = useMobileHLSStream();
|
93
95
|
const isLandscapeHLSStream = useLandscapeHLSStream();
|
94
96
|
|
@@ -273,7 +275,7 @@ export const ChatFooter = ({ onSend, children }: { onSend: (count: number) => vo
|
|
273
275
|
}}
|
274
276
|
gap="2"
|
275
277
|
>
|
276
|
-
<RaiseHand css={{ bg: '$surface_default' }} />
|
278
|
+
{noAVPermissions ? <RaiseHand css={{ bg: '$surface_default' }} /> : null}
|
277
279
|
<MoreSettings elements={elements} screenType={screenType} />
|
278
280
|
</Flex>
|
279
281
|
</>
|
@@ -6,6 +6,7 @@ import {
|
|
6
6
|
selectAppData,
|
7
7
|
selectIsConnectedToRoom,
|
8
8
|
selectRoomState,
|
9
|
+
useAVToggle,
|
9
10
|
useHMSActions,
|
10
11
|
useHMSStore,
|
11
12
|
} from '@100mslive/react-sdk';
|
@@ -53,6 +54,8 @@ export const ConferenceScreen = () => {
|
|
53
54
|
const dropdownListRef = useRef<string[]>();
|
54
55
|
const [isHLSStarted] = useSetAppDataByKey(APP_DATA.hlsStarted);
|
55
56
|
|
57
|
+
const { toggleAudio, toggleVideo } = useAVToggle();
|
58
|
+
const noAVPermissions = !(toggleAudio || toggleVideo);
|
56
59
|
// using it in hls stream to show action button when chat is disabled
|
57
60
|
const showChat = !!screenProps.elements?.chat;
|
58
61
|
const autoRoomJoined = useRef(isPreviewScreenEnabled);
|
@@ -199,7 +202,7 @@ export const ConferenceScreen = () => {
|
|
199
202
|
justify="end"
|
200
203
|
gap="2"
|
201
204
|
>
|
202
|
-
<RaiseHand />
|
205
|
+
{noAVPermissions ? <RaiseHand /> : null}
|
203
206
|
<MoreSettings elements={screenProps.elements} screenType={screenProps.screenType} />
|
204
207
|
<Box
|
205
208
|
css={{
|
@@ -2,6 +2,7 @@ import React, { useEffect } from 'react';
|
|
2
2
|
import { useMedia } from 'react-use';
|
3
3
|
import { ConferencingScreen } from '@100mslive/types-prebuilt';
|
4
4
|
import { Chat_ChatState } from '@100mslive/types-prebuilt/elements/chat';
|
5
|
+
import { useAVToggle } from '@100mslive/react-sdk';
|
5
6
|
import { config as cssConfig, Footer as AppFooter } from '../../..';
|
6
7
|
// @ts-ignore: No implicit Any
|
7
8
|
import { AudioVideoToggle } from '../AudioVideoToggle';
|
@@ -40,6 +41,8 @@ export const Footer = ({
|
|
40
41
|
const isOverlayChat = !!elements?.chat?.is_overlay;
|
41
42
|
const openByDefault = elements?.chat?.initial_state === Chat_ChatState.CHAT_STATE_OPEN;
|
42
43
|
|
44
|
+
const { toggleAudio, toggleVideo } = useAVToggle();
|
45
|
+
const noAVPermissions = !(toggleAudio || toggleVideo);
|
43
46
|
const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
|
44
47
|
const toggleChat = useSidepaneToggle(SIDE_PANE_OPTIONS.CHAT);
|
45
48
|
const { showPolls } = useShowPolls();
|
@@ -87,7 +90,7 @@ export const Footer = ({
|
|
87
90
|
>
|
88
91
|
{isMobile ? (
|
89
92
|
<>
|
90
|
-
<RaiseHand />
|
93
|
+
{noAVPermissions ? <RaiseHand /> : null}
|
91
94
|
{elements?.chat && <ChatToggle />}
|
92
95
|
<MoreSettings elements={elements} screenType={screenType} />
|
93
96
|
</>
|
@@ -324,15 +324,12 @@ const HandRaisedAccordionParticipantActions = ({ peerId, role }: { peerId: strin
|
|
324
324
|
peerId,
|
325
325
|
role,
|
326
326
|
});
|
327
|
-
if (!shouldShowStageRoleChange) {
|
328
|
-
return null;
|
329
|
-
}
|
330
327
|
return (
|
331
328
|
<>
|
332
329
|
<Button variant="standard" css={quickActionStyle} onClick={lowerPeerHand}>
|
333
330
|
<CrossIcon height={18} width={18} />
|
334
331
|
</Button>
|
335
|
-
{!isInStage && (
|
332
|
+
{shouldShowStageRoleChange && !isInStage && (
|
336
333
|
<Button variant="primary" onClick={handleStageAction} css={quickActionStyle}>
|
337
334
|
<AddIcon height={18} width={18} />
|
338
335
|
</Button>
|