@100mslive/roomkit-react 0.3.24-alpha.6 → 0.3.24-alpha.8

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.
@@ -141,7 +141,7 @@
141
141
  "format": "esm"
142
142
  },
143
143
  "src/Layout/Flex.tsx": {
144
- "bytes": 1398,
144
+ "bytes": 1399,
145
145
  "imports": [
146
146
  {
147
147
  "path": "src/Theme/index.tsx",
@@ -2525,7 +2525,7 @@
2525
2525
  "format": "esm"
2526
2526
  },
2527
2527
  "src/Prebuilt/AppStateContext.tsx": {
2528
- "bytes": 3590,
2528
+ "bytes": 3767,
2529
2529
  "imports": [
2530
2530
  {
2531
2531
  "path": "react",
@@ -2537,6 +2537,11 @@
2537
2537
  "kind": "import-statement",
2538
2538
  "external": true
2539
2539
  },
2540
+ {
2541
+ "path": "@100mslive/hms-virtual-background",
2542
+ "kind": "import-statement",
2543
+ "external": true
2544
+ },
2540
2545
  {
2541
2546
  "path": "ts-pattern",
2542
2547
  "kind": "import-statement",
@@ -5774,7 +5779,7 @@
5774
5779
  "format": "cjs"
5775
5780
  },
5776
5781
  "../hms-video-store/dist/index.js": {
5777
- "bytes": 373746,
5782
+ "bytes": 373868,
5778
5783
  "imports": [
5779
5784
  {
5780
5785
  "path": "../../node_modules/reselect/es/index.js",
@@ -6140,7 +6145,7 @@
6140
6145
  "format": "esm"
6141
6146
  },
6142
6147
  "src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx": {
6143
- "bytes": 14013,
6148
+ "bytes": 14037,
6144
6149
  "imports": [
6145
6150
  {
6146
6151
  "path": "react",
@@ -10584,7 +10589,7 @@
10584
10589
  "format": "esm"
10585
10590
  },
10586
10591
  "src/Prebuilt/components/InsetTile.tsx": {
10587
- "bytes": 4348,
10592
+ "bytes": 4353,
10588
10593
  "imports": [
10589
10594
  {
10590
10595
  "path": "react",
@@ -11316,7 +11321,7 @@
11316
11321
  ],
11317
11322
  "format": "esm"
11318
11323
  },
11319
- "../../../../../../../tmp/tmp-2865-T2DnBApIb1wH/192e270d7723/tldraw.css": {
11324
+ "../../../../../../../tmp/tmp-2753-8IIy1iwWg8Ty/1931a1df2713/tldraw.css": {
11320
11325
  "bytes": 80111,
11321
11326
  "imports": [
11322
11327
  {
@@ -11366,7 +11371,7 @@
11366
11371
  }
11367
11372
  ]
11368
11373
  },
11369
- "../../../../../../../tmp/tmp-2865-T2DnBApIb1wH/192e270d70d1/index.css": {
11374
+ "../../../../../../../tmp/tmp-2753-8IIy1iwWg8Ty/1931a1df1e01/index.css": {
11370
11375
  "bytes": 597,
11371
11376
  "imports": [
11372
11377
  {
@@ -11375,7 +11380,7 @@
11375
11380
  "external": true
11376
11381
  },
11377
11382
  {
11378
- "path": "../../../../../../../tmp/tmp-2865-T2DnBApIb1wH/192e270d7723/tldraw.css",
11383
+ "path": "../../../../../../../tmp/tmp-2753-8IIy1iwWg8Ty/1931a1df2713/tldraw.css",
11379
11384
  "kind": "import-rule",
11380
11385
  "original": "@tldraw/tldraw/tldraw.css"
11381
11386
  }
@@ -11450,7 +11455,7 @@
11450
11455
  "original": "../../common/constants"
11451
11456
  },
11452
11457
  {
11453
- "path": "../../../../../../../tmp/tmp-2865-T2DnBApIb1wH/192e270d70d1/index.css",
11458
+ "path": "../../../../../../../tmp/tmp-2753-8IIy1iwWg8Ty/1931a1df1e01/index.css",
11454
11459
  "kind": "import-statement",
11455
11460
  "original": "@100mslive/hms-whiteboard/index.css"
11456
11461
  },
@@ -12929,7 +12934,7 @@
12929
12934
  "format": "esm"
12930
12935
  },
12931
12936
  "src/Prebuilt/components/ErrorBoundary.jsx": {
12932
- "bytes": 3399,
12937
+ "bytes": 3421,
12933
12938
  "imports": [
12934
12939
  {
12935
12940
  "path": "react",
@@ -14591,7 +14596,7 @@
14591
14596
  "format": "esm"
14592
14597
  },
14593
14598
  "src/Prebuilt/App.tsx": {
14594
- "bytes": 11054,
14599
+ "bytes": 10957,
14595
14600
  "imports": [
14596
14601
  {
14597
14602
  "path": "react",
@@ -14678,11 +14683,6 @@
14678
14683
  "kind": "import-statement",
14679
14684
  "original": "./components/Toast/ToastContainer"
14680
14685
  },
14681
- {
14682
- "path": "src/Prebuilt/components/VirtualBackground/VBHandler.tsx",
14683
- "kind": "import-statement",
14684
- "original": "./components/VirtualBackground/VBHandler"
14685
- },
14686
14686
  {
14687
14687
  "path": "src/Prebuilt/layouts/Sheet.tsx",
14688
14688
  "kind": "import-statement",
@@ -15719,7 +15719,7 @@
15719
15719
  "imports": [],
15720
15720
  "exports": [],
15721
15721
  "inputs": {},
15722
- "bytes": 3621722
15722
+ "bytes": 3622095
15723
15723
  },
15724
15724
  "dist/index.cjs.js": {
15725
15725
  "imports": [
@@ -16167,6 +16167,11 @@
16167
16167
  "kind": "require-call",
16168
16168
  "external": true
16169
16169
  },
16170
+ {
16171
+ "path": "@100mslive/hms-virtual-background",
16172
+ "kind": "require-call",
16173
+ "external": true
16174
+ },
16170
16175
  {
16171
16176
  "path": "ts-pattern",
16172
16177
  "kind": "require-call",
@@ -19052,7 +19057,7 @@
19052
19057
  "cssBundle": "dist/index.cjs.css",
19053
19058
  "inputs": {
19054
19059
  "<define:process.env>": {
19055
- "bytesInOutput": 18008
19060
+ "bytesInOutput": 18003
19056
19061
  },
19057
19062
  "../../node_modules/lodash/lodash.js": {
19058
19063
  "bytesInOutput": 224296
@@ -19121,7 +19126,7 @@
19121
19126
  "bytesInOutput": 27
19122
19127
  },
19123
19128
  "src/Layout/Flex.tsx": {
19124
- "bytesInOutput": 1295
19129
+ "bytesInOutput": 1296
19125
19130
  },
19126
19131
  "src/Theme/stitches.config.ts": {
19127
19132
  "bytesInOutput": 1622
@@ -19334,7 +19339,7 @@
19334
19339
  "bytesInOutput": 925
19335
19340
  },
19336
19341
  "src/Prebuilt/App.tsx": {
19337
- "bytesInOutput": 8561
19342
+ "bytesInOutput": 8534
19338
19343
  },
19339
19344
  "src/Prebuilt/components/AppData/AppData.tsx": {
19340
19345
  "bytesInOutput": 6918
@@ -19382,7 +19387,7 @@
19382
19387
  "bytesInOutput": 599
19383
19388
  },
19384
19389
  "src/Prebuilt/AppStateContext.tsx": {
19385
- "bytesInOutput": 3384
19390
+ "bytesInOutput": 3592
19386
19391
  },
19387
19392
  "src/Prebuilt/components/VirtualBackground/VBHandler.tsx": {
19388
19393
  "bytesInOutput": 4676
@@ -19580,7 +19585,7 @@
19580
19585
  "bytesInOutput": 126
19581
19586
  },
19582
19587
  "src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx": {
19583
- "bytesInOutput": 13561
19588
+ "bytesInOutput": 13582
19584
19589
  },
19585
19590
  "src/Prebuilt/components/Header/StreamActions.tsx": {
19586
19591
  "bytesInOutput": 10613
@@ -19889,7 +19894,7 @@
19889
19894
  "bytesInOutput": 1479
19890
19895
  },
19891
19896
  "src/Prebuilt/components/InsetTile.tsx": {
19892
- "bytesInOutput": 4313
19897
+ "bytesInOutput": 4331
19893
19898
  },
19894
19899
  "src/Prebuilt/components/hooks/useVideoTileLayout.ts": {
19895
19900
  "bytesInOutput": 474
@@ -19930,7 +19935,7 @@
19930
19935
  "src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
19931
19936
  "bytesInOutput": 3051
19932
19937
  },
19933
- "../../../../../../../tmp/tmp-2865-T2DnBApIb1wH/192e270d70d1/index.css": {
19938
+ "../../../../../../../tmp/tmp-2753-8IIy1iwWg8Ty/1931a1df1e01/index.css": {
19934
19939
  "bytesInOutput": 0
19935
19940
  },
19936
19941
  "src/Prebuilt/common/PeersSorter.ts": {
@@ -20018,7 +20023,7 @@
20018
20023
  "bytesInOutput": 747
20019
20024
  },
20020
20025
  "src/Prebuilt/components/ErrorBoundary.jsx": {
20021
- "bytesInOutput": 3822
20026
+ "bytesInOutput": 3826
20022
20027
  },
20023
20028
  "src/Prebuilt/components/init/Init.jsx": {
20024
20029
  "bytesInOutput": 708
@@ -20165,7 +20170,7 @@
20165
20170
  "bytesInOutput": 2777
20166
20171
  }
20167
20172
  },
20168
- "bytes": 1505476
20173
+ "bytes": 1505696
20169
20174
  },
20170
20175
  "dist/index.cjs.css.map": {
20171
20176
  "imports": [],
@@ -20227,10 +20232,10 @@
20227
20232
  }
20228
20233
  ],
20229
20234
  "inputs": {
20230
- "../../../../../../../tmp/tmp-2865-T2DnBApIb1wH/192e270d7723/tldraw.css": {
20235
+ "../../../../../../../tmp/tmp-2753-8IIy1iwWg8Ty/1931a1df2713/tldraw.css": {
20231
20236
  "bytesInOutput": 75223
20232
20237
  },
20233
- "../../../../../../../tmp/tmp-2865-T2DnBApIb1wH/192e270d70d1/index.css": {
20238
+ "../../../../../../../tmp/tmp-2753-8IIy1iwWg8Ty/1931a1df1e01/index.css": {
20234
20239
  "bytesInOutput": 401
20235
20240
  }
20236
20241
  },
@@ -141,7 +141,7 @@
141
141
  "format": "esm"
142
142
  },
143
143
  "src/Layout/Flex.tsx": {
144
- "bytes": 1398,
144
+ "bytes": 1399,
145
145
  "imports": [
146
146
  {
147
147
  "path": "src/Theme/index.tsx",
@@ -2525,7 +2525,7 @@
2525
2525
  "format": "esm"
2526
2526
  },
2527
2527
  "src/Prebuilt/AppStateContext.tsx": {
2528
- "bytes": 3590,
2528
+ "bytes": 3767,
2529
2529
  "imports": [
2530
2530
  {
2531
2531
  "path": "react",
@@ -2537,6 +2537,11 @@
2537
2537
  "kind": "import-statement",
2538
2538
  "external": true
2539
2539
  },
2540
+ {
2541
+ "path": "@100mslive/hms-virtual-background",
2542
+ "kind": "import-statement",
2543
+ "external": true
2544
+ },
2540
2545
  {
2541
2546
  "path": "ts-pattern",
2542
2547
  "kind": "import-statement",
@@ -5774,7 +5779,7 @@
5774
5779
  "format": "cjs"
5775
5780
  },
5776
5781
  "../hms-video-store/dist/index.js": {
5777
- "bytes": 373746,
5782
+ "bytes": 373868,
5778
5783
  "imports": [
5779
5784
  {
5780
5785
  "path": "../../node_modules/reselect/es/index.js",
@@ -6140,7 +6145,7 @@
6140
6145
  "format": "esm"
6141
6146
  },
6142
6147
  "src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx": {
6143
- "bytes": 14013,
6148
+ "bytes": 14037,
6144
6149
  "imports": [
6145
6150
  {
6146
6151
  "path": "react",
@@ -10584,7 +10589,7 @@
10584
10589
  "format": "esm"
10585
10590
  },
10586
10591
  "src/Prebuilt/components/InsetTile.tsx": {
10587
- "bytes": 4348,
10592
+ "bytes": 4353,
10588
10593
  "imports": [
10589
10594
  {
10590
10595
  "path": "react",
@@ -11316,7 +11321,7 @@
11316
11321
  ],
11317
11322
  "format": "esm"
11318
11323
  },
11319
- "../../../../../../../tmp/tmp-2865-lifFYM5v5Eng/192e270d7152/tldraw.css": {
11324
+ "../../../../../../../tmp/tmp-2753-Z3ZDgtp9raeL/1931a1df1eb2/tldraw.css": {
11320
11325
  "bytes": 80111,
11321
11326
  "imports": [
11322
11327
  {
@@ -11366,7 +11371,7 @@
11366
11371
  }
11367
11372
  ]
11368
11373
  },
11369
- "../../../../../../../tmp/tmp-2865-lifFYM5v5Eng/192e270d6a60/index.css": {
11374
+ "../../../../../../../tmp/tmp-2753-Z3ZDgtp9raeL/1931a1df1820/index.css": {
11370
11375
  "bytes": 597,
11371
11376
  "imports": [
11372
11377
  {
@@ -11375,7 +11380,7 @@
11375
11380
  "external": true
11376
11381
  },
11377
11382
  {
11378
- "path": "../../../../../../../tmp/tmp-2865-lifFYM5v5Eng/192e270d7152/tldraw.css",
11383
+ "path": "../../../../../../../tmp/tmp-2753-Z3ZDgtp9raeL/1931a1df1eb2/tldraw.css",
11379
11384
  "kind": "import-rule",
11380
11385
  "original": "@tldraw/tldraw/tldraw.css"
11381
11386
  }
@@ -11450,7 +11455,7 @@
11450
11455
  "original": "../../common/constants"
11451
11456
  },
11452
11457
  {
11453
- "path": "../../../../../../../tmp/tmp-2865-lifFYM5v5Eng/192e270d6a60/index.css",
11458
+ "path": "../../../../../../../tmp/tmp-2753-Z3ZDgtp9raeL/1931a1df1820/index.css",
11454
11459
  "kind": "import-statement",
11455
11460
  "original": "@100mslive/hms-whiteboard/index.css"
11456
11461
  },
@@ -12929,7 +12934,7 @@
12929
12934
  "format": "esm"
12930
12935
  },
12931
12936
  "src/Prebuilt/components/ErrorBoundary.jsx": {
12932
- "bytes": 3399,
12937
+ "bytes": 3421,
12933
12938
  "imports": [
12934
12939
  {
12935
12940
  "path": "react",
@@ -14591,7 +14596,7 @@
14591
14596
  "format": "esm"
14592
14597
  },
14593
14598
  "src/Prebuilt/App.tsx": {
14594
- "bytes": 11054,
14599
+ "bytes": 10957,
14595
14600
  "imports": [
14596
14601
  {
14597
14602
  "path": "react",
@@ -14678,11 +14683,6 @@
14678
14683
  "kind": "import-statement",
14679
14684
  "original": "./components/Toast/ToastContainer"
14680
14685
  },
14681
- {
14682
- "path": "src/Prebuilt/components/VirtualBackground/VBHandler.tsx",
14683
- "kind": "import-statement",
14684
- "original": "./components/VirtualBackground/VBHandler"
14685
- },
14686
14686
  {
14687
14687
  "path": "src/Prebuilt/layouts/Sheet.tsx",
14688
14688
  "kind": "import-statement",
@@ -15719,7 +15719,7 @@
15719
15719
  "imports": [],
15720
15720
  "exports": [],
15721
15721
  "inputs": {},
15722
- "bytes": 3661666
15722
+ "bytes": 3662110
15723
15723
  },
15724
15724
  "dist/index.js": {
15725
15725
  "imports": [
@@ -16167,6 +16167,11 @@
16167
16167
  "kind": "import-statement",
16168
16168
  "external": true
16169
16169
  },
16170
+ {
16171
+ "path": "@100mslive/hms-virtual-background",
16172
+ "kind": "import-statement",
16173
+ "external": true
16174
+ },
16170
16175
  {
16171
16176
  "path": "ts-pattern",
16172
16177
  "kind": "import-statement",
@@ -19118,7 +19123,7 @@
19118
19123
  "cssBundle": "dist/index.css",
19119
19124
  "inputs": {
19120
19125
  "<define:process.env>": {
19121
- "bytesInOutput": 18008
19126
+ "bytesInOutput": 18003
19122
19127
  },
19123
19128
  "../../node_modules/lodash/lodash.js": {
19124
19129
  "bytesInOutput": 224291
@@ -19187,7 +19192,7 @@
19187
19192
  "bytesInOutput": 27
19188
19193
  },
19189
19194
  "src/Layout/Flex.tsx": {
19190
- "bytesInOutput": 1295
19195
+ "bytesInOutput": 1296
19191
19196
  },
19192
19197
  "src/Theme/stitches.config.ts": {
19193
19198
  "bytesInOutput": 1564
@@ -19400,7 +19405,7 @@
19400
19405
  "bytesInOutput": 887
19401
19406
  },
19402
19407
  "src/Prebuilt/App.tsx": {
19403
- "bytesInOutput": 8061
19408
+ "bytesInOutput": 8034
19404
19409
  },
19405
19410
  "src/Prebuilt/components/AppData/AppData.tsx": {
19406
19411
  "bytesInOutput": 6633
@@ -19448,7 +19453,7 @@
19448
19453
  "bytesInOutput": 577
19449
19454
  },
19450
19455
  "src/Prebuilt/AppStateContext.tsx": {
19451
- "bytesInOutput": 3017
19456
+ "bytesInOutput": 3223
19452
19457
  },
19453
19458
  "src/Prebuilt/components/VirtualBackground/VBHandler.tsx": {
19454
19459
  "bytesInOutput": 4450
@@ -19646,7 +19651,7 @@
19646
19651
  "bytesInOutput": 125
19647
19652
  },
19648
19653
  "src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx": {
19649
- "bytesInOutput": 12752
19654
+ "bytesInOutput": 12773
19650
19655
  },
19651
19656
  "src/Prebuilt/components/Header/StreamActions.tsx": {
19652
19657
  "bytesInOutput": 9861
@@ -19955,7 +19960,7 @@
19955
19960
  "bytesInOutput": 1370
19956
19961
  },
19957
19962
  "src/Prebuilt/components/InsetTile.tsx": {
19958
- "bytesInOutput": 4121
19963
+ "bytesInOutput": 4139
19959
19964
  },
19960
19965
  "src/Prebuilt/components/hooks/useVideoTileLayout.ts": {
19961
19966
  "bytesInOutput": 451
@@ -19996,7 +20001,7 @@
19996
20001
  "src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
19997
20002
  "bytesInOutput": 2830
19998
20003
  },
19999
- "../../../../../../../tmp/tmp-2865-lifFYM5v5Eng/192e270d6a60/index.css": {
20004
+ "../../../../../../../tmp/tmp-2753-Z3ZDgtp9raeL/1931a1df1820/index.css": {
20000
20005
  "bytesInOutput": 0
20001
20006
  },
20002
20007
  "src/Prebuilt/common/PeersSorter.ts": {
@@ -20084,7 +20089,7 @@
20084
20089
  "bytesInOutput": 754
20085
20090
  },
20086
20091
  "src/Prebuilt/components/ErrorBoundary.jsx": {
20087
- "bytesInOutput": 3512
20092
+ "bytesInOutput": 3516
20088
20093
  },
20089
20094
  "src/Prebuilt/components/init/Init.jsx": {
20090
20095
  "bytesInOutput": 666
@@ -20231,7 +20236,7 @@
20231
20236
  "bytesInOutput": 2632
20232
20237
  }
20233
20238
  },
20234
- "bytes": 1450520
20239
+ "bytes": 1450738
20235
20240
  },
20236
20241
  "dist/index.css.map": {
20237
20242
  "imports": [],
@@ -20293,10 +20298,10 @@
20293
20298
  }
20294
20299
  ],
20295
20300
  "inputs": {
20296
- "../../../../../../../tmp/tmp-2865-lifFYM5v5Eng/192e270d7152/tldraw.css": {
20301
+ "../../../../../../../tmp/tmp-2753-Z3ZDgtp9raeL/1931a1df1eb2/tldraw.css": {
20297
20302
  "bytesInOutput": 75223
20298
20303
  },
20299
- "../../../../../../../tmp/tmp-2865-lifFYM5v5Eng/192e270d6a60/index.css": {
20304
+ "../../../../../../../tmp/tmp-2753-Z3ZDgtp9raeL/1931a1df1820/index.css": {
20300
20305
  "bytesInOutput": 401
20301
20306
  }
20302
20307
  },
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "prebuilt",
11
11
  "roomkit"
12
12
  ],
13
- "version": "0.3.24-alpha.6",
13
+ "version": "0.3.24-alpha.8",
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.24-alpha.6",
78
+ "@100mslive/hls-player": "0.3.24-alpha.8",
79
79
  "@100mslive/hms-noise-cancellation": "0.0.1",
80
- "@100mslive/hms-virtual-background": "1.13.24-alpha.6",
81
- "@100mslive/hms-whiteboard": "0.0.14-alpha.6",
82
- "@100mslive/react-icons": "0.10.24-alpha.6",
83
- "@100mslive/react-sdk": "0.10.24-alpha.6",
80
+ "@100mslive/hms-virtual-background": "1.13.24-alpha.8",
81
+ "@100mslive/hms-whiteboard": "0.0.14-alpha.8",
82
+ "@100mslive/react-icons": "0.10.24-alpha.8",
83
+ "@100mslive/react-sdk": "0.10.24-alpha.8",
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": "bddfa9de9e715b0daebe639ecd08454da5080576"
120
+ "gitHead": "6fc2d1f9521426fe8cb0842da7ab54f15d1f9f40"
121
121
  }
@@ -48,7 +48,7 @@ export const Flex = styled('div', {
48
48
  baseline: {
49
49
  alignItems: 'baseline',
50
50
  },
51
- strech: {
51
+ stretch: {
52
52
  alignItems: 'stretch',
53
53
  },
54
54
  },
@@ -27,7 +27,6 @@ import { PIPProvider } from './components/PIP/PIPProvider';
27
27
  import { PreviewScreen } from './components/Preview/PreviewScreen';
28
28
  // @ts-ignore: No implicit Any
29
29
  import { ToastContainer } from './components/Toast/ToastContainer';
30
- import { VBHandler } from './components/VirtualBackground/VBHandler';
31
30
  import { Sheet } from './layouts/Sheet';
32
31
  import { RoomLayoutContext, RoomLayoutProvider, useRoomLayout } from './provider/roomLayoutProvider';
33
32
  import { DialogContainerProvider } from '../context/DialogContext';
@@ -130,7 +129,6 @@ export const HMSPrebuilt = React.forwardRef<HMSPrebuiltRefType, HMSPrebuiltProps
130
129
  useEffect(() => {
131
130
  // leave room when component unmounts
132
131
  return () => {
133
- VBHandler.reset();
134
132
  reactiveStore?.current?.hmsActions.leave();
135
133
  };
136
134
  }, []);
@@ -1,5 +1,6 @@
1
1
  import React, { useContext, useEffect } from 'react';
2
2
  import { usePreviousDistinct } from 'react-use';
3
+ import { HMSVirtualBackgroundTypes } from '@100mslive/hms-virtual-background';
3
4
  import { match, P } from 'ts-pattern';
4
5
  import { HMSRoomState, selectRoomState, useHMSActions, useHMSStore } from '@100mslive/react-sdk';
5
6
  import { VBHandler } from './components/VirtualBackground/VBHandler';
@@ -79,6 +80,7 @@ export const useAppStateManager = () => {
79
80
  .otherwise(() => PrebuiltStates.MEETING);
80
81
  });
81
82
  VBHandler.reset();
83
+ hmsActions.setAppData(APP_DATA.background, HMSVirtualBackgroundTypes.NONE);
82
84
  redirectToLeave(1000); // to clear toasts after 1 second
83
85
  },
84
86
  )
@@ -88,6 +90,6 @@ export const useAppStateManager = () => {
88
90
  .otherwise(() => {
89
91
  // do nothing
90
92
  });
91
- }, [roomLayout, roomState, isLeaveScreenEnabled, isPreviewScreenEnabled, prevRoomState, redirectToLeave]);
93
+ }, [roomLayout, roomState, isLeaveScreenEnabled, isPreviewScreenEnabled, prevRoomState, redirectToLeave, hmsActions]);
92
94
  return { activeState, rejoin };
93
95
  };
@@ -48,7 +48,8 @@ export class ErrorBoundary extends Component {
48
48
  <Text>Something went wrong</Text>
49
49
  <Text>Message: ${this.state.error}</Text>
50
50
  <br />
51
- Please reload to see if it works. If you think this is a mistake on our side, please reach out to us on
51
+ Please reload to see if it works. If you think this is a mistake on our side, please reach out to us
52
+ on&nbsp;
52
53
  <a href="https://dashboard.100ms.live/dashboard" target="_blank" rel="noreferrer">
53
54
  Dashboard
54
55
  </a>
@@ -105,7 +105,7 @@ export const InsetTile = ({ peerId }: { peerId?: string }) => {
105
105
  r: '$2',
106
106
  ...(!minimised
107
107
  ? {
108
- aspectRatio: aspectRatio,
108
+ aspectRatio: `${aspectRatio}`,
109
109
  h: height,
110
110
  }
111
111
  : {}),
@@ -327,7 +327,8 @@ export const MwebOptions = ({
327
327
  </Sheet.Content>
328
328
  </Sheet.Root>
329
329
  <SettingsModal open={openSettingsSheet} onOpenChange={setOpenSettingsSheet} screenType={screenType} />
330
- <StatsForNerds open={openStatsForNerdsSheet} onOpenChange={setOpenStatsForNerdsSheet} />
330
+
331
+ {openSettingsSheet && <StatsForNerds open={openStatsForNerdsSheet} onOpenChange={setOpenStatsForNerdsSheet} />}
331
332
 
332
333
  {openModals.has(MODALS.MUTE_ALL) && (
333
334
  <MuteAllModal onOpenChange={(value: boolean) => updateState(MODALS.MUTE_ALL, value)} isMobile />