@100mslive/roomkit-react 0.3.3-alpha.7 → 0.3.3-alpha.9

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -62,7 +62,7 @@ import {
62
62
  theme,
63
63
  useBorderAudioLevel,
64
64
  useTheme
65
- } from "./chunk-D73DSBZU.js";
65
+ } from "./chunk-YOZJ7OPW.js";
66
66
  export {
67
67
  Accordion,
68
68
  AudioLevel,
@@ -2419,7 +2419,7 @@
2419
2419
  "format": "esm"
2420
2420
  },
2421
2421
  "src/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.tsx": {
2422
- "bytes": 3523,
2422
+ "bytes": 3545,
2423
2423
  "imports": [
2424
2424
  {
2425
2425
  "path": "react",
@@ -4201,8 +4201,8 @@
4201
4201
  ],
4202
4202
  "format": "esm"
4203
4203
  },
4204
- "src/Prebuilt/components/hooks/useMetadata.tsx": {
4205
- "bytes": 1631,
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": 8164,
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.tsx",
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": 328460,
4694
+ "bytes": 328471,
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": 12899,
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.tsx",
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": 986,
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/provider/roomLayoutProvider/hooks/useRoomLayoutScreen.ts",
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
  },
@@ -6342,7 +6337,7 @@
6342
6337
  "format": "esm"
6343
6338
  },
6344
6339
  "src/Prebuilt/components/Footer/Footer.tsx": {
6345
- "bytes": 3777,
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",
@@ -8243,7 +8243,7 @@
8243
8243
  "format": "esm"
8244
8244
  },
8245
8245
  "src/Prebuilt/components/Chat/ChatFooter.tsx": {
8246
- "bytes": 10287,
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": 2927,
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.tsx",
9830
+ "path": "src/Prebuilt/components/hooks/useMetadata.jsx",
9831
9831
  "kind": "import-statement",
9832
9832
  "original": "../hooks/useMetadata"
9833
9833
  },
@@ -11934,7 +11934,7 @@
11934
11934
  "format": "esm"
11935
11935
  },
11936
11936
  "src/Prebuilt/components/PreviousRoleInMetadata.tsx": {
11937
- "bytes": 738,
11937
+ "bytes": 769,
11938
11938
  "imports": [
11939
11939
  {
11940
11940
  "path": "react",
@@ -11947,7 +11947,7 @@
11947
11947
  "external": true
11948
11948
  },
11949
11949
  {
11950
- "path": "src/Prebuilt/components/hooks/useMetadata.tsx",
11950
+ "path": "src/Prebuilt/components/hooks/useMetadata.jsx",
11951
11951
  "kind": "import-statement",
11952
11952
  "original": "./hooks/useMetadata"
11953
11953
  },
@@ -11960,7 +11960,7 @@
11960
11960
  "format": "esm"
11961
11961
  },
11962
11962
  "src/Prebuilt/components/ConferenceScreen.tsx": {
11963
- "bytes": 8106,
11963
+ "bytes": 8259,
11964
11964
  "imports": [
11965
11965
  {
11966
11966
  "path": "react",
@@ -13770,7 +13770,7 @@
13770
13770
  "imports": [],
13771
13771
  "exports": [],
13772
13772
  "inputs": {},
13773
- "bytes": 3291775
13773
+ "bytes": 3292815
13774
13774
  },
13775
13775
  "dist/index.cjs.js": {
13776
13776
  "imports": [
@@ -15054,6 +15054,11 @@
15054
15054
  "kind": "require-call",
15055
15055
  "external": true
15056
15056
  },
15057
+ {
15058
+ "path": "@100mslive/react-sdk",
15059
+ "kind": "require-call",
15060
+ "external": true
15061
+ },
15057
15062
  {
15058
15063
  "path": "react",
15059
15064
  "kind": "require-call",
@@ -16709,7 +16714,7 @@
16709
16714
  "entryPoint": "src/index.ts",
16710
16715
  "inputs": {
16711
16716
  "<define:process.env>": {
16712
- "bytesInOutput": 18255
16717
+ "bytesInOutput": 18252
16713
16718
  },
16714
16719
  "src/Theme/base.config.ts": {
16715
16720
  "bytesInOutput": 6104
@@ -17021,7 +17026,7 @@
17021
17026
  "bytesInOutput": 743
17022
17027
  },
17023
17028
  "src/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.tsx": {
17024
- "bytesInOutput": 4182
17029
+ "bytesInOutput": 4204
17025
17030
  },
17026
17031
  "src/Sheet/Sheet.tsx": {
17027
17032
  "bytesInOutput": 3610
@@ -17134,8 +17139,8 @@
17134
17139
  "src/Prebuilt/components/MoreSettings/MuteAllModal.tsx": {
17135
17140
  "bytesInOutput": 2378
17136
17141
  },
17137
- "src/Prebuilt/components/hooks/useMetadata.tsx": {
17138
- "bytesInOutput": 2163
17142
+ "src/Prebuilt/components/hooks/useMetadata.jsx": {
17143
+ "bytesInOutput": 2305
17139
17144
  },
17140
17145
  "src/Prebuilt/components/MoreSettings/SplitComponents/DesktopOptions.tsx": {
17141
17146
  "bytesInOutput": 8565
@@ -17228,13 +17233,13 @@
17228
17233
  "bytesInOutput": 938
17229
17234
  },
17230
17235
  "src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx": {
17231
- "bytesInOutput": 13388
17236
+ "bytesInOutput": 13528
17232
17237
  },
17233
17238
  "src/Prebuilt/components/MoreSettings/MoreSettings.tsx": {
17234
17239
  "bytesInOutput": 831
17235
17240
  },
17236
17241
  "src/Prebuilt/components/RaiseHand.tsx": {
17237
- "bytesInOutput": 1306
17242
+ "bytesInOutput": 1149
17238
17243
  },
17239
17244
  "src/Prebuilt/images/pdf-share.png": {
17240
17245
  "bytesInOutput": 25548
@@ -17303,7 +17308,7 @@
17303
17308
  "bytesInOutput": 1804
17304
17309
  },
17305
17310
  "src/Prebuilt/components/Footer/Footer.tsx": {
17306
- "bytesInOutput": 4294
17311
+ "bytesInOutput": 4540
17307
17312
  },
17308
17313
  "src/Prebuilt/components/Notifications/HLSFailureModal.tsx": {
17309
17314
  "bytesInOutput": 2811
@@ -17429,7 +17434,7 @@
17429
17434
  "bytesInOutput": 1440
17430
17435
  },
17431
17436
  "src/Prebuilt/components/Chat/ChatFooter.tsx": {
17432
- "bytesInOutput": 11558
17437
+ "bytesInOutput": 11726
17433
17438
  },
17434
17439
  "src/Prebuilt/components/Chat/ChatStates.tsx": {
17435
17440
  "bytesInOutput": 3529
@@ -17633,7 +17638,7 @@
17633
17638
  "bytesInOutput": 2182
17634
17639
  },
17635
17640
  "src/Prebuilt/components/Header/common.jsx": {
17636
- "bytesInOutput": 7375
17641
+ "bytesInOutput": 7389
17637
17642
  },
17638
17643
  "src/Prebuilt/components/Header/Header.tsx": {
17639
17644
  "bytesInOutput": 2332
@@ -17645,7 +17650,7 @@
17645
17650
  "bytesInOutput": 1024
17646
17651
  },
17647
17652
  "src/Prebuilt/components/ConferenceScreen.tsx": {
17648
- "bytesInOutput": 8920
17653
+ "bytesInOutput": 9089
17649
17654
  },
17650
17655
  "src/Prebuilt/components/ErrorBoundary.jsx": {
17651
17656
  "bytesInOutput": 4366
@@ -17762,7 +17767,7 @@
17762
17767
  "bytesInOutput": 2980
17763
17768
  }
17764
17769
  },
17765
- "bytes": 1568183
17770
+ "bytes": 1568924
17766
17771
  }
17767
17772
  }
17768
17773
  }
@@ -2419,7 +2419,7 @@
2419
2419
  "format": "esm"
2420
2420
  },
2421
2421
  "src/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.tsx": {
2422
- "bytes": 3523,
2422
+ "bytes": 3545,
2423
2423
  "imports": [
2424
2424
  {
2425
2425
  "path": "react",
@@ -4201,8 +4201,8 @@
4201
4201
  ],
4202
4202
  "format": "esm"
4203
4203
  },
4204
- "src/Prebuilt/components/hooks/useMetadata.tsx": {
4205
- "bytes": 1631,
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": 8164,
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.tsx",
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": 328460,
4694
+ "bytes": 328471,
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": 12899,
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.tsx",
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": 986,
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/provider/roomLayoutProvider/hooks/useRoomLayoutScreen.ts",
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
  },
@@ -6342,7 +6337,7 @@
6342
6337
  "format": "esm"
6343
6338
  },
6344
6339
  "src/Prebuilt/components/Footer/Footer.tsx": {
6345
- "bytes": 3777,
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",
@@ -8243,7 +8243,7 @@
8243
8243
  "format": "esm"
8244
8244
  },
8245
8245
  "src/Prebuilt/components/Chat/ChatFooter.tsx": {
8246
- "bytes": 10287,
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": 2927,
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.tsx",
9830
+ "path": "src/Prebuilt/components/hooks/useMetadata.jsx",
9831
9831
  "kind": "import-statement",
9832
9832
  "original": "../hooks/useMetadata"
9833
9833
  },
@@ -11934,7 +11934,7 @@
11934
11934
  "format": "esm"
11935
11935
  },
11936
11936
  "src/Prebuilt/components/PreviousRoleInMetadata.tsx": {
11937
- "bytes": 738,
11937
+ "bytes": 769,
11938
11938
  "imports": [
11939
11939
  {
11940
11940
  "path": "react",
@@ -11947,7 +11947,7 @@
11947
11947
  "external": true
11948
11948
  },
11949
11949
  {
11950
- "path": "src/Prebuilt/components/hooks/useMetadata.tsx",
11950
+ "path": "src/Prebuilt/components/hooks/useMetadata.jsx",
11951
11951
  "kind": "import-statement",
11952
11952
  "original": "./hooks/useMetadata"
11953
11953
  },
@@ -11960,7 +11960,7 @@
11960
11960
  "format": "esm"
11961
11961
  },
11962
11962
  "src/Prebuilt/components/ConferenceScreen.tsx": {
11963
- "bytes": 8106,
11963
+ "bytes": 8259,
11964
11964
  "imports": [
11965
11965
  {
11966
11966
  "path": "react",
@@ -13775,7 +13775,7 @@
13775
13775
  "dist/index.js": {
13776
13776
  "imports": [
13777
13777
  {
13778
- "path": "dist/chunk-D73DSBZU.js",
13778
+ "path": "dist/chunk-YOZJ7OPW.js",
13779
13779
  "kind": "import-statement"
13780
13780
  }
13781
13781
  ],
@@ -13848,16 +13848,16 @@
13848
13848
  "inputs": {},
13849
13849
  "bytes": 1822
13850
13850
  },
13851
- "dist/HLSView-UJVFWWXD.js.map": {
13851
+ "dist/HLSView-TG3T5EM7.js.map": {
13852
13852
  "imports": [],
13853
13853
  "exports": [],
13854
13854
  "inputs": {},
13855
13855
  "bytes": 99220
13856
13856
  },
13857
- "dist/HLSView-UJVFWWXD.js": {
13857
+ "dist/HLSView-TG3T5EM7.js": {
13858
13858
  "imports": [
13859
13859
  {
13860
- "path": "dist/chunk-D73DSBZU.js",
13860
+ "path": "dist/chunk-YOZJ7OPW.js",
13861
13861
  "kind": "import-statement"
13862
13862
  },
13863
13863
  {
@@ -14093,13 +14093,13 @@
14093
14093
  },
14094
14094
  "bytes": 61275
14095
14095
  },
14096
- "dist/chunk-D73DSBZU.js.map": {
14096
+ "dist/chunk-YOZJ7OPW.js.map": {
14097
14097
  "imports": [],
14098
14098
  "exports": [],
14099
14099
  "inputs": {},
14100
- "bytes": 3187728
14100
+ "bytes": 3188914
14101
14101
  },
14102
- "dist/chunk-D73DSBZU.js": {
14102
+ "dist/chunk-YOZJ7OPW.js": {
14103
14103
  "imports": [
14104
14104
  {
14105
14105
  "path": "react",
@@ -14536,6 +14536,11 @@
14536
14536
  "kind": "import-statement",
14537
14537
  "external": true
14538
14538
  },
14539
+ {
14540
+ "path": "@100mslive/react-sdk",
14541
+ "kind": "import-statement",
14542
+ "external": true
14543
+ },
14539
14544
  {
14540
14545
  "path": "react",
14541
14546
  "kind": "import-statement",
@@ -16482,7 +16487,7 @@
16482
16487
  "external": true
16483
16488
  },
16484
16489
  {
16485
- "path": "dist/HLSView-UJVFWWXD.js",
16490
+ "path": "dist/HLSView-TG3T5EM7.js",
16486
16491
  "kind": "dynamic-import"
16487
16492
  },
16488
16493
  {
@@ -16958,7 +16963,7 @@
16958
16963
  ],
16959
16964
  "inputs": {
16960
16965
  "<define:process.env>": {
16961
- "bytesInOutput": 18255
16966
+ "bytesInOutput": 18252
16962
16967
  },
16963
16968
  "../../node_modules/lodash/lodash.js": {
16964
16969
  "bytesInOutput": 224291
@@ -17258,16 +17263,16 @@
17258
17263
  "bytesInOutput": 4698
17259
17264
  },
17260
17265
  "src/Prebuilt/components/ConferenceScreen.tsx": {
17261
- "bytesInOutput": 7205
17266
+ "bytesInOutput": 7373
17262
17267
  },
17263
17268
  "src/Prebuilt/components/Footer/Footer.tsx": {
17264
- "bytesInOutput": 3145
17269
+ "bytesInOutput": 3350
17265
17270
  },
17266
17271
  "src/Prebuilt/components/AudioVideoToggle.tsx": {
17267
17272
  "bytesInOutput": 10284
17268
17273
  },
17269
17274
  "src/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.tsx": {
17270
- "bytesInOutput": 3151
17275
+ "bytesInOutput": 3173
17271
17276
  },
17272
17277
  "src/Prebuilt/IconButton.tsx": {
17273
17278
  "bytesInOutput": 487
@@ -17386,11 +17391,11 @@
17386
17391
  "src/Prebuilt/components/MoreSettings/constants.ts": {
17387
17392
  "bytesInOutput": 437
17388
17393
  },
17389
- "src/Prebuilt/components/hooks/useMetadata.tsx": {
17390
- "bytesInOutput": 1826
17394
+ "src/Prebuilt/components/hooks/useMetadata.jsx": {
17395
+ "bytesInOutput": 1948
17391
17396
  },
17392
17397
  "src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx": {
17393
- "bytesInOutput": 10902
17398
+ "bytesInOutput": 11042
17394
17399
  },
17395
17400
  "src/Prebuilt/components/Header/StreamActions.tsx": {
17396
17401
  "bytesInOutput": 10031
@@ -17459,7 +17464,7 @@
17459
17464
  "bytesInOutput": 658
17460
17465
  },
17461
17466
  "src/Prebuilt/components/RaiseHand.tsx": {
17462
- "bytesInOutput": 905
17467
+ "bytesInOutput": 796
17463
17468
  },
17464
17469
  "src/Prebuilt/components/ScreenShareToggle.jsx": {
17465
17470
  "bytesInOutput": 1619
@@ -17654,7 +17659,7 @@
17654
17659
  "bytesInOutput": 710
17655
17660
  },
17656
17661
  "src/Prebuilt/components/Chat/ChatFooter.tsx": {
17657
- "bytesInOutput": 9627
17662
+ "bytesInOutput": 9793
17658
17663
  },
17659
17664
  "src/Prebuilt/components/Chat/ChatSelectorContainer.tsx": {
17660
17665
  "bytesInOutput": 5318
@@ -17918,7 +17923,7 @@
17918
17923
  "bytesInOutput": 651
17919
17924
  }
17920
17925
  },
17921
- "bytes": 1307000
17926
+ "bytes": 1307711
17922
17927
  }
17923
17928
  }
17924
17929
  }
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "prebuilt",
11
11
  "roomkit"
12
12
  ],
13
- "version": "0.3.3-alpha.7",
13
+ "version": "0.3.3-alpha.9",
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.7",
85
+ "@100mslive/hls-player": "0.3.3-alpha.9",
86
86
  "@100mslive/hms-noise-cancellation": "0.0.0-alpha.5",
87
- "@100mslive/hms-virtual-background": "1.13.3-alpha.7",
88
- "@100mslive/react-icons": "0.10.3-alpha.7",
89
- "@100mslive/react-sdk": "0.10.3-alpha.7",
90
- "@100mslive/types-prebuilt": "0.12.8",
87
+ "@100mslive/hms-virtual-background": "1.13.3-alpha.9",
88
+ "@100mslive/react-icons": "0.10.3-alpha.9",
89
+ "@100mslive/react-sdk": "0.10.3-alpha.9",
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": "cc984a3923cf9dc6fee242eb9623eba3be5a4a99"
125
+ "gitHead": "8e809b083ba0c8ad44ceb7373dc05cb68402b605"
126
126
  }
@@ -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
  </>