@100mslive/roomkit-react 0.3.17-alpha.8 → 0.3.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. package/dist/{HLSView-NPPC7YMP.js → HLSView-37GFI5CQ.js} +2 -2
  2. package/dist/{HLSView-L55VHQCV.css → HLSView-W5J5TAUV.css} +3 -3
  3. package/dist/{HLSView-L55VHQCV.css.map → HLSView-W5J5TAUV.css.map} +1 -1
  4. package/dist/Prebuilt/components/MoreSettings/constants.d.ts +4 -0
  5. package/dist/Prebuilt/components/Notifications/ReconnectNotifications.d.ts +1 -2
  6. package/dist/Prebuilt/components/VirtualBackground/VBCollection.d.ts +1 -0
  7. package/dist/Prebuilt/components/VirtualBackground/util.d.ts +1 -0
  8. package/dist/{chunk-G5HWEBIZ.js → chunk-GEHBXY4W.js} +724 -705
  9. package/dist/chunk-GEHBXY4W.js.map +7 -0
  10. package/dist/index.cjs.css +2 -2
  11. package/dist/index.cjs.css.map +1 -1
  12. package/dist/index.cjs.js +969 -946
  13. package/dist/index.cjs.js.map +4 -4
  14. package/dist/index.css +2 -2
  15. package/dist/index.css.map +1 -1
  16. package/dist/index.js +1 -1
  17. package/dist/meta.cjs.json +103 -54
  18. package/dist/meta.esbuild.json +113 -64
  19. package/package.json +7 -7
  20. package/src/Prebuilt/components/AppData/AppData.tsx +9 -3
  21. package/src/Prebuilt/components/MoreSettings/constants.ts +2 -0
  22. package/src/Prebuilt/components/Notifications/ReconnectNotifications.tsx +10 -37
  23. package/src/Prebuilt/components/Preview/PreviewJoin.tsx +3 -1
  24. package/src/Prebuilt/components/Settings/LayoutSettings.tsx +0 -28
  25. package/src/Prebuilt/components/Toast/ToastConfig.jsx +2 -2
  26. package/src/Prebuilt/components/VirtualBackground/VBCollection.tsx +16 -11
  27. package/src/Prebuilt/components/VirtualBackground/VBHandler.tsx +1 -2
  28. package/src/Prebuilt/components/VirtualBackground/VBPicker.tsx +10 -2
  29. package/src/Prebuilt/components/VirtualBackground/VBToggle.tsx +9 -2
  30. package/src/Prebuilt/components/VirtualBackground/util.tsx +13 -0
  31. package/dist/chunk-G5HWEBIZ.js.map +0 -7
  32. /package/dist/{HLSView-NPPC7YMP.js.map → HLSView-37GFI5CQ.js.map} +0 -0
@@ -2054,7 +2054,7 @@
2054
2054
  "format": "esm"
2055
2055
  },
2056
2056
  "src/Prebuilt/components/Settings/LayoutSettings.tsx": {
2057
- "bytes": 3849,
2057
+ "bytes": 2730,
2058
2058
  "imports": [
2059
2059
  {
2060
2060
  "path": "react",
@@ -2281,19 +2281,40 @@
2281
2281
  ],
2282
2282
  "format": "esm"
2283
2283
  },
2284
+ "src/Prebuilt/components/MoreSettings/constants.ts": {
2285
+ "bytes": 493,
2286
+ "imports": [
2287
+ {
2288
+ "path": "<define:process.env>",
2289
+ "kind": "import-statement",
2290
+ "external": true
2291
+ }
2292
+ ],
2293
+ "format": "esm"
2294
+ },
2284
2295
  "src/Prebuilt/components/AppData/AppData.tsx": {
2285
- "bytes": 6409,
2296
+ "bytes": 6712,
2286
2297
  "imports": [
2287
2298
  {
2288
2299
  "path": "react",
2289
2300
  "kind": "import-statement",
2290
2301
  "external": true
2291
2302
  },
2303
+ {
2304
+ "path": "react-use",
2305
+ "kind": "import-statement",
2306
+ "external": true
2307
+ },
2292
2308
  {
2293
2309
  "path": "@100mslive/react-sdk",
2294
2310
  "kind": "import-statement",
2295
2311
  "external": true
2296
2312
  },
2313
+ {
2314
+ "path": "src/Theme/index.tsx",
2315
+ "kind": "import-statement",
2316
+ "original": "../../../Theme"
2317
+ },
2297
2318
  {
2298
2319
  "path": "src/Prebuilt/components/Settings/LayoutSettings.tsx",
2299
2320
  "kind": "import-statement",
@@ -2324,6 +2345,11 @@
2324
2345
  "kind": "import-statement",
2325
2346
  "original": "../../common/constants"
2326
2347
  },
2348
+ {
2349
+ "path": "src/Prebuilt/components/MoreSettings/constants.ts",
2350
+ "kind": "import-statement",
2351
+ "original": "../MoreSettings/constants"
2352
+ },
2327
2353
  {
2328
2354
  "path": "<define:process.env>",
2329
2355
  "kind": "import-statement",
@@ -4885,17 +4911,6 @@
4885
4911
  ],
4886
4912
  "format": "esm"
4887
4913
  },
4888
- "src/Prebuilt/components/MoreSettings/constants.ts": {
4889
- "bytes": 430,
4890
- "imports": [
4891
- {
4892
- "path": "<define:process.env>",
4893
- "kind": "import-statement",
4894
- "external": true
4895
- }
4896
- ],
4897
- "format": "esm"
4898
- },
4899
4914
  "src/Prebuilt/components/MoreSettings/MuteAllContent.tsx": {
4900
4915
  "bytes": 2900,
4901
4916
  "imports": [
@@ -5601,7 +5616,7 @@
5601
5616
  "format": "cjs"
5602
5617
  },
5603
5618
  "../hms-video-store/dist/index.js": {
5604
- "bytes": 361436,
5619
+ "bytes": 363245,
5605
5620
  "imports": [
5606
5621
  {
5607
5622
  "path": "../../node_modules/reselect/es/index.js",
@@ -6618,7 +6633,7 @@
6618
6633
  "format": "esm"
6619
6634
  },
6620
6635
  "src/Prebuilt/components/VirtualBackground/VBToggle.tsx": {
6621
- "bytes": 1253,
6636
+ "bytes": 1353,
6622
6637
  "imports": [
6623
6638
  {
6624
6639
  "path": "react",
@@ -9800,6 +9815,27 @@
9800
9815
  ],
9801
9816
  "format": "esm"
9802
9817
  },
9818
+ "src/Prebuilt/components/VirtualBackground/util.tsx": {
9819
+ "bytes": 384,
9820
+ "imports": [
9821
+ {
9822
+ "path": "@100mslive/react-sdk",
9823
+ "kind": "import-statement",
9824
+ "external": true
9825
+ },
9826
+ {
9827
+ "path": "src/Prebuilt/common/constants.ts",
9828
+ "kind": "import-statement",
9829
+ "original": "../../common/constants"
9830
+ },
9831
+ {
9832
+ "path": "<define:process.env>",
9833
+ "kind": "import-statement",
9834
+ "external": true
9835
+ }
9836
+ ],
9837
+ "format": "esm"
9838
+ },
9803
9839
  "src/Prebuilt/components/VirtualBackground/VBOption.tsx": {
9804
9840
  "bytes": 1248,
9805
9841
  "imports": [
@@ -9832,7 +9868,7 @@
9832
9868
  "format": "esm"
9833
9869
  },
9834
9870
  "src/Prebuilt/components/VirtualBackground/VBCollection.tsx": {
9835
- "bytes": 1333,
9871
+ "bytes": 1448,
9836
9872
  "imports": [
9837
9873
  {
9838
9874
  "path": "react",
@@ -9873,7 +9909,7 @@
9873
9909
  "format": "esm"
9874
9910
  },
9875
9911
  "src/Prebuilt/components/VirtualBackground/VBHandler.tsx": {
9876
- "bytes": 2732,
9912
+ "bytes": 2719,
9877
9913
  "imports": [
9878
9914
  {
9879
9915
  "path": "@100mslive/hms-virtual-background",
@@ -9894,7 +9930,7 @@
9894
9930
  "format": "esm"
9895
9931
  },
9896
9932
  "src/Prebuilt/components/VirtualBackground/VBPicker.tsx": {
9897
- "bytes": 7931,
9933
+ "bytes": 8341,
9898
9934
  "imports": [
9899
9935
  {
9900
9936
  "path": "react",
@@ -9941,6 +9977,11 @@
9941
9977
  "kind": "import-statement",
9942
9978
  "original": "../../../Text"
9943
9979
  },
9980
+ {
9981
+ "path": "src/Prebuilt/components/VirtualBackground/util.tsx",
9982
+ "kind": "import-statement",
9983
+ "original": "./util"
9984
+ },
9944
9985
  {
9945
9986
  "path": "src/Prebuilt/components/VirtualBackground/VBCollection.tsx",
9946
9987
  "kind": "import-statement",
@@ -10224,7 +10265,7 @@
10224
10265
  "format": "esm"
10225
10266
  },
10226
10267
  "src/Prebuilt/components/Preview/PreviewJoin.tsx": {
10227
- "bytes": 10002,
10268
+ "bytes": 10106,
10228
10269
  "imports": [
10229
10270
  {
10230
10271
  "path": "react",
@@ -11216,7 +11257,7 @@
11216
11257
  ],
11217
11258
  "format": "esm"
11218
11259
  },
11219
- "../../../../../../../tmp/tmp-2791-MMGaQDRo5Myj/191125723a83/tldraw.css": {
11260
+ "../../../../../../../tmp/tmp-2847-GGFhwfcaQxfO/191510b54b33/tldraw.css": {
11220
11261
  "bytes": 80111,
11221
11262
  "imports": [
11222
11263
  {
@@ -11266,7 +11307,7 @@
11266
11307
  }
11267
11308
  ]
11268
11309
  },
11269
- "../../../../../../../tmp/tmp-2791-MMGaQDRo5Myj/1911257233e2/index.css": {
11310
+ "../../../../../../../tmp/tmp-2847-GGFhwfcaQxfO/191510b544c1/index.css": {
11270
11311
  "bytes": 597,
11271
11312
  "imports": [
11272
11313
  {
@@ -11275,7 +11316,7 @@
11275
11316
  "external": true
11276
11317
  },
11277
11318
  {
11278
- "path": "../../../../../../../tmp/tmp-2791-MMGaQDRo5Myj/191125723a83/tldraw.css",
11319
+ "path": "../../../../../../../tmp/tmp-2847-GGFhwfcaQxfO/191510b54b33/tldraw.css",
11279
11320
  "kind": "import-rule",
11280
11321
  "original": "@tldraw/tldraw/tldraw.css"
11281
11322
  }
@@ -11350,7 +11391,7 @@
11350
11391
  "original": "../../common/constants"
11351
11392
  },
11352
11393
  {
11353
- "path": "../../../../../../../tmp/tmp-2791-MMGaQDRo5Myj/1911257233e2/index.css",
11394
+ "path": "../../../../../../../tmp/tmp-2847-GGFhwfcaQxfO/191510b544c1/index.css",
11354
11395
  "kind": "import-statement",
11355
11396
  "original": "@100mslive/hms-whiteboard/index.css"
11356
11397
  },
@@ -13244,7 +13285,7 @@
13244
13285
  "format": "esm"
13245
13286
  },
13246
13287
  "src/Prebuilt/components/Toast/ToastConfig.jsx": {
13247
- "bytes": 5213,
13288
+ "bytes": 5242,
13248
13289
  "imports": [
13249
13290
  {
13250
13291
  "path": "react",
@@ -13493,7 +13534,7 @@
13493
13534
  "format": "esm"
13494
13535
  },
13495
13536
  "src/Prebuilt/components/Notifications/ReconnectNotifications.tsx": {
13496
- "bytes": 2240,
13537
+ "bytes": 1248,
13497
13538
  "imports": [
13498
13539
  {
13499
13540
  "path": "react",
@@ -13505,11 +13546,6 @@
13505
13546
  "kind": "import-statement",
13506
13547
  "external": true
13507
13548
  },
13508
- {
13509
- "path": "src/index.ts",
13510
- "kind": "import-statement",
13511
- "original": "../../.."
13512
- },
13513
13549
  {
13514
13550
  "path": "src/Prebuilt/components/Toast/ToastConfig.jsx",
13515
13551
  "kind": "import-statement",
@@ -15237,7 +15273,7 @@
15237
15273
  "dist/index.js": {
15238
15274
  "imports": [
15239
15275
  {
15240
- "path": "dist/chunk-G5HWEBIZ.js",
15276
+ "path": "dist/chunk-GEHBXY4W.js",
15241
15277
  "kind": "import-statement"
15242
15278
  }
15243
15279
  ],
@@ -15313,16 +15349,16 @@
15313
15349
  "inputs": {},
15314
15350
  "bytes": 1882
15315
15351
  },
15316
- "dist/HLSView-NPPC7YMP.js.map": {
15352
+ "dist/HLSView-37GFI5CQ.js.map": {
15317
15353
  "imports": [],
15318
15354
  "exports": [],
15319
15355
  "inputs": {},
15320
15356
  "bytes": 100275
15321
15357
  },
15322
- "dist/HLSView-NPPC7YMP.js": {
15358
+ "dist/HLSView-37GFI5CQ.js": {
15323
15359
  "imports": [
15324
15360
  {
15325
- "path": "dist/chunk-G5HWEBIZ.js",
15361
+ "path": "dist/chunk-GEHBXY4W.js",
15326
15362
  "kind": "import-statement"
15327
15363
  },
15328
15364
  {
@@ -15500,7 +15536,7 @@
15500
15536
  "default"
15501
15537
  ],
15502
15538
  "entryPoint": "src/Prebuilt/layouts/HLSView.jsx",
15503
- "cssBundle": "dist/HLSView-L55VHQCV.css",
15539
+ "cssBundle": "dist/HLSView-W5J5TAUV.css",
15504
15540
  "inputs": {
15505
15541
  "src/Prebuilt/layouts/HLSView.jsx": {
15506
15542
  "bytesInOutput": 27671
@@ -15559,13 +15595,13 @@
15559
15595
  },
15560
15596
  "bytes": 61702
15561
15597
  },
15562
- "dist/chunk-G5HWEBIZ.js.map": {
15598
+ "dist/chunk-GEHBXY4W.js.map": {
15563
15599
  "imports": [],
15564
15600
  "exports": [],
15565
15601
  "inputs": {},
15566
- "bytes": 3486316
15602
+ "bytes": 3489900
15567
15603
  },
15568
- "dist/chunk-G5HWEBIZ.js": {
15604
+ "dist/chunk-GEHBXY4W.js": {
15569
15605
  "imports": [
15570
15606
  {
15571
15607
  "path": "react",
@@ -15877,6 +15913,11 @@
15877
15913
  "kind": "import-statement",
15878
15914
  "external": true
15879
15915
  },
15916
+ {
15917
+ "path": "react-use",
15918
+ "kind": "import-statement",
15919
+ "external": true
15920
+ },
15880
15921
  {
15881
15922
  "path": "@100mslive/react-sdk",
15882
15923
  "kind": "import-statement",
@@ -17727,6 +17768,11 @@
17727
17768
  "kind": "import-statement",
17728
17769
  "external": true
17729
17770
  },
17771
+ {
17772
+ "path": "@100mslive/react-sdk",
17773
+ "kind": "import-statement",
17774
+ "external": true
17775
+ },
17730
17776
  {
17731
17777
  "path": "react",
17732
17778
  "kind": "import-statement",
@@ -18088,7 +18134,7 @@
18088
18134
  "external": true
18089
18135
  },
18090
18136
  {
18091
- "path": "dist/HLSView-NPPC7YMP.js",
18137
+ "path": "dist/HLSView-37GFI5CQ.js",
18092
18138
  "kind": "dynamic-import"
18093
18139
  },
18094
18140
  {
@@ -18687,7 +18733,7 @@
18687
18733
  ],
18688
18734
  "inputs": {
18689
18735
  "<define:process.env>": {
18690
- "bytesInOutput": 17962
18736
+ "bytesInOutput": 17902
18691
18737
  },
18692
18738
  "../../node_modules/lodash/lodash.js": {
18693
18739
  "bytesInOutput": 224289
@@ -18699,7 +18745,7 @@
18699
18745
  "bytesInOutput": 26591
18700
18746
  },
18701
18747
  "../../node_modules/sdp/sdp.js": {
18702
- "bytesInOutput": 22292
18748
+ "bytesInOutput": 22279
18703
18749
  },
18704
18750
  "../../node_modules/sdp-transform/lib/grammar.js": {
18705
18751
  "bytesInOutput": 16120
@@ -18975,10 +19021,10 @@
18975
19021
  "bytesInOutput": 7926
18976
19022
  },
18977
19023
  "src/Prebuilt/components/AppData/AppData.tsx": {
18978
- "bytesInOutput": 6255
19024
+ "bytesInOutput": 6418
18979
19025
  },
18980
19026
  "src/Prebuilt/components/Settings/LayoutSettings.tsx": {
18981
- "bytesInOutput": 2705
19027
+ "bytesInOutput": 2655
18982
19028
  },
18983
19029
  "src/Prebuilt/components/Settings/SwitchWithLabel.tsx": {
18984
19030
  "bytesInOutput": 973
@@ -19010,6 +19056,9 @@
19010
19056
  "src/Prebuilt/components/AppData/useSidepane.js": {
19011
19057
  "bytesInOutput": 2499
19012
19058
  },
19059
+ "src/Prebuilt/components/MoreSettings/constants.ts": {
19060
+ "bytesInOutput": 490
19061
+ },
19013
19062
  "src/Prebuilt/components/AuthToken.jsx": {
19014
19063
  "bytesInOutput": 3650
19015
19064
  },
@@ -19047,7 +19096,7 @@
19047
19096
  "bytesInOutput": 2859
19048
19097
  },
19049
19098
  "src/Prebuilt/components/Settings/DeviceSettings.jsx": {
19050
- "bytesInOutput": 6554
19099
+ "bytesInOutput": 6568
19051
19100
  },
19052
19101
  "src/Prebuilt/primitives/DropdownTrigger.jsx": {
19053
19102
  "bytesInOutput": 1308
@@ -19182,7 +19231,7 @@
19182
19231
  "bytesInOutput": 5008
19183
19232
  },
19184
19233
  "src/Prebuilt/components/MoreSettings/CaptionModal.tsx": {
19185
- "bytesInOutput": 1015
19234
+ "bytesInOutput": 1017
19186
19235
  },
19187
19236
  "src/Prebuilt/components/MoreSettings/CaptionContent.tsx": {
19188
19237
  "bytesInOutput": 5092
@@ -19199,9 +19248,6 @@
19199
19248
  "src/Prebuilt/components/MoreSettings/MuteAllContent.tsx": {
19200
19249
  "bytesInOutput": 2579
19201
19250
  },
19202
- "src/Prebuilt/components/MoreSettings/constants.ts": {
19203
- "bytesInOutput": 437
19204
- },
19205
19251
  "src/Prebuilt/components/hooks/useMetadata.tsx": {
19206
19252
  "bytesInOutput": 1898
19207
19253
  },
@@ -19221,7 +19267,7 @@
19221
19267
  "bytesInOutput": 9486
19222
19268
  },
19223
19269
  "../hms-video-store/dist/index.js": {
19224
- "bytesInOutput": 50263
19270
+ "bytesInOutput": 50262
19225
19271
  },
19226
19272
  "../../node_modules/reselect/es/index.js": {
19227
19273
  "bytesInOutput": 2539
@@ -19311,7 +19357,7 @@
19311
19357
  "bytesInOutput": 823
19312
19358
  },
19313
19359
  "src/Prebuilt/components/VirtualBackground/VBToggle.tsx": {
19314
- "bytesInOutput": 1179
19360
+ "bytesInOutput": 1280
19315
19361
  },
19316
19362
  "src/Prebuilt/components/Footer/ChatToggle.tsx": {
19317
19363
  "bytesInOutput": 1564
@@ -19356,7 +19402,7 @@
19356
19402
  "bytesInOutput": 3077
19357
19403
  },
19358
19404
  "src/Prebuilt/components/Preview/PreviewJoin.tsx": {
19359
- "bytesInOutput": 9964
19405
+ "bytesInOutput": 10093
19360
19406
  },
19361
19407
  "src/Prebuilt/layouts/SidePane.tsx": {
19362
19408
  "bytesInOutput": 6436
@@ -19503,10 +19549,13 @@
19503
19549
  "bytesInOutput": 1050
19504
19550
  },
19505
19551
  "src/Prebuilt/components/VirtualBackground/VBPicker.tsx": {
19506
- "bytesInOutput": 7862
19552
+ "bytesInOutput": 8218
19553
+ },
19554
+ "src/Prebuilt/components/VirtualBackground/util.tsx": {
19555
+ "bytesInOutput": 449
19507
19556
  },
19508
19557
  "src/Prebuilt/components/VirtualBackground/VBCollection.tsx": {
19509
- "bytesInOutput": 1157
19558
+ "bytesInOutput": 1209
19510
19559
  },
19511
19560
  "src/Prebuilt/components/VirtualBackground/VBOption.tsx": {
19512
19561
  "bytesInOutput": 1156
@@ -19551,7 +19600,7 @@
19551
19600
  "bytesInOutput": 1204
19552
19601
  },
19553
19602
  "src/Prebuilt/components/hooks/useTileLayout.tsx": {
19554
- "bytesInOutput": 3833
19603
+ "bytesInOutput": 3837
19555
19604
  },
19556
19605
  "src/Prebuilt/components/VideoLayouts/RoleProminence.tsx": {
19557
19606
  "bytesInOutput": 2183
@@ -19580,7 +19629,7 @@
19580
19629
  "src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
19581
19630
  "bytesInOutput": 2830
19582
19631
  },
19583
- "../../../../../../../tmp/tmp-2791-MMGaQDRo5Myj/1911257233e2/index.css": {
19632
+ "../../../../../../../tmp/tmp-2847-GGFhwfcaQxfO/191510b544c1/index.css": {
19584
19633
  "bytesInOutput": 0
19585
19634
  },
19586
19635
  "src/Prebuilt/common/PeersSorter.ts": {
@@ -19656,7 +19705,7 @@
19656
19705
  "bytesInOutput": 1983
19657
19706
  },
19658
19707
  "src/Prebuilt/components/Toast/ToastConfig.jsx": {
19659
- "bytesInOutput": 6412
19708
+ "bytesInOutput": 6443
19660
19709
  },
19661
19710
  "src/Prebuilt/components/Notifications/InitErrorModal.tsx": {
19662
19711
  "bytesInOutput": 1596
@@ -19674,7 +19723,7 @@
19674
19723
  "bytesInOutput": 11963
19675
19724
  },
19676
19725
  "src/Prebuilt/components/Notifications/ReconnectNotifications.tsx": {
19677
- "bytesInOutput": 2284
19726
+ "bytesInOutput": 1243
19678
19727
  },
19679
19728
  "src/Prebuilt/components/Notifications/TrackBulkUnmuteModal.tsx": {
19680
19729
  "bytesInOutput": 1867
@@ -19746,7 +19795,7 @@
19746
19795
  "bytesInOutput": 2632
19747
19796
  }
19748
19797
  },
19749
- "bytes": 1446099
19798
+ "bytes": 1446283
19750
19799
  },
19751
19800
  "dist/index.css.map": {
19752
19801
  "imports": [],
@@ -19808,22 +19857,22 @@
19808
19857
  }
19809
19858
  ],
19810
19859
  "inputs": {
19811
- "../../../../../../../tmp/tmp-2791-MMGaQDRo5Myj/191125723a83/tldraw.css": {
19860
+ "../../../../../../../tmp/tmp-2847-GGFhwfcaQxfO/191510b54b33/tldraw.css": {
19812
19861
  "bytesInOutput": 75223
19813
19862
  },
19814
- "../../../../../../../tmp/tmp-2791-MMGaQDRo5Myj/1911257233e2/index.css": {
19863
+ "../../../../../../../tmp/tmp-2847-GGFhwfcaQxfO/191510b544c1/index.css": {
19815
19864
  "bytesInOutput": 401
19816
19865
  }
19817
19866
  },
19818
19867
  "bytes": 75901
19819
19868
  },
19820
- "dist/HLSView-L55VHQCV.css.map": {
19869
+ "dist/HLSView-W5J5TAUV.css.map": {
19821
19870
  "imports": [],
19822
19871
  "exports": [],
19823
19872
  "inputs": {},
19824
19873
  "bytes": 122402
19825
19874
  },
19826
- "dist/HLSView-L55VHQCV.css": {
19875
+ "dist/HLSView-W5J5TAUV.css": {
19827
19876
  "imports": [
19828
19877
  {
19829
19878
  "path": "https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap",
@@ -19877,10 +19926,10 @@
19877
19926
  }
19878
19927
  ],
19879
19928
  "inputs": {
19880
- "../../../../../../../tmp/tmp-2791-MMGaQDRo5Myj/191125723a83/tldraw.css": {
19929
+ "../../../../../../../tmp/tmp-2847-GGFhwfcaQxfO/191510b54b33/tldraw.css": {
19881
19930
  "bytesInOutput": 75223
19882
19931
  },
19883
- "../../../../../../../tmp/tmp-2791-MMGaQDRo5Myj/1911257233e2/index.css": {
19932
+ "../../../../../../../tmp/tmp-2847-GGFhwfcaQxfO/191510b544c1/index.css": {
19884
19933
  "bytesInOutput": 401
19885
19934
  }
19886
19935
  },
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "prebuilt",
11
11
  "roomkit"
12
12
  ],
13
- "version": "0.3.17-alpha.8",
13
+ "version": "0.3.17",
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.17-alpha.8",
78
+ "@100mslive/hls-player": "0.3.17",
79
79
  "@100mslive/hms-noise-cancellation": "0.0.1",
80
- "@100mslive/hms-virtual-background": "1.13.17-alpha.8",
81
- "@100mslive/hms-whiteboard": "0.0.7-alpha.8",
82
- "@100mslive/react-icons": "0.10.17-alpha.8",
83
- "@100mslive/react-sdk": "0.10.17-alpha.8",
80
+ "@100mslive/hms-virtual-background": "1.13.17",
81
+ "@100mslive/hms-whiteboard": "0.0.7",
82
+ "@100mslive/react-icons": "0.10.17",
83
+ "@100mslive/react-sdk": "0.10.17",
84
84
  "@100mslive/types-prebuilt": "0.12.11",
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": "1b1b22f648b766dd8d23974f0062da49dec42145"
120
+ "gitHead": "f185635b7c3f78e566380f9b003b53a46cdcda46"
121
121
  }
@@ -1,4 +1,5 @@
1
1
  import React, { useEffect, useMemo, useRef } from 'react';
2
+ import { useMedia } from 'react-use';
2
3
  import {
3
4
  HMSRoomState,
4
5
  selectFullAppData,
@@ -10,6 +11,7 @@ import {
10
11
  useHMSStore,
11
12
  useRecordingStreaming,
12
13
  } from '@100mslive/react-sdk';
14
+ import { config as cssConfig } from '../../../Theme';
13
15
  import { LayoutMode } from '../Settings/LayoutSettings';
14
16
  import { useRoomLayoutConferencingScreen } from '../../provider/roomLayoutProvider/hooks/useRoomLayoutScreen';
15
17
  //@ts-ignore
@@ -26,6 +28,7 @@ import {
26
28
  UI_MODE_GRID,
27
29
  UI_SETTINGS,
28
30
  } from '../../common/constants';
31
+ import { DEFAULT_TILES_IN_VIEW } from '../MoreSettings/constants';
29
32
 
30
33
  const initialAppData = {
31
34
  [APP_DATA.uiSettings]: {
@@ -80,6 +83,7 @@ export const AppData = React.memo(() => {
80
83
  const { isLocalVideoEnabled } = useAVToggle();
81
84
  const sidepaneOpenedRef = useRef(false);
82
85
  const [, setNoiseCancellationEnabled] = useSetNoiseCancellation();
86
+ const isMobile = useMedia(cssConfig.media.md);
83
87
 
84
88
  useEffect(() => {
85
89
  if (elements?.noise_cancellation?.enabled_by_default) {
@@ -117,10 +121,12 @@ export const AppData = React.memo(() => {
117
121
  ...uiSettings,
118
122
  [UI_SETTINGS.isAudioOnly]: undefined,
119
123
  [UI_SETTINGS.uiViewMode]: uiSettings.uiViewMode || UI_MODE_GRID,
120
- [UI_SETTINGS.maxTileCount]: Number(elements?.video_tile_layout?.grid?.tiles_in_view) || 9,
124
+ [UI_SETTINGS.maxTileCount]: isMobile
125
+ ? DEFAULT_TILES_IN_VIEW.MWEB
126
+ : Number(elements?.video_tile_layout?.grid?.tiles_in_view) || DEFAULT_TILES_IN_VIEW.DESKTOP,
121
127
  };
122
- hmsActions.setAppData(APP_DATA.uiSettings, updatedSettings, true);
123
- }, [preferences, hmsActions, elements?.video_tile_layout]);
128
+ hmsActions.setAppData(APP_DATA.uiSettings, updatedSettings, false);
129
+ }, [preferences, hmsActions, elements?.video_tile_layout, isMobile]);
124
130
 
125
131
  useEffect(() => {
126
132
  if (!preferences.subscribedNotifications) {
@@ -10,3 +10,5 @@ export const trackTypeOptions = [
10
10
  { label: 'audio', value: 'audio' },
11
11
  { label: 'video', value: 'video' },
12
12
  ];
13
+
14
+ export const DEFAULT_TILES_IN_VIEW = { MWEB: 4, DESKTOP: 9 };
@@ -1,6 +1,5 @@
1
- import React, { useEffect, useState } from 'react';
1
+ import { useEffect, useRef } from 'react';
2
2
  import { HMSNotificationTypes, useHMSNotifications } from '@100mslive/react-sdk';
3
- import { Dialog, Flex, Loading, Text } from '../../..';
4
3
  // @ts-ignore: No implicit Any
5
4
  import { ToastConfig } from '../Toast/ToastConfig';
6
5
  // @ts-ignore: No implicit Any
@@ -15,50 +14,24 @@ let notificationId: string | null = null;
15
14
 
16
15
  export const ReconnectNotifications = () => {
17
16
  const notification = useHMSNotifications(notificationTypes);
18
- const [open, setOpen] = useState(false);
17
+ const prevErrorCode = useRef(0);
19
18
  useEffect(() => {
20
19
  if (!notification) {
21
20
  return;
22
21
  }
23
- if (notification.type === HMSNotificationTypes.ERROR && notification.data?.isTerminal) {
24
- setOpen(false);
25
- } else if (notification.type === HMSNotificationTypes.RECONNECTED) {
26
- notificationId = ToastManager.replaceToast(notificationId, ToastConfig.RECONNECTED.single());
27
- setOpen(false);
22
+ if (notification.type === HMSNotificationTypes.RECONNECTED) {
23
+ notificationId = ToastManager.replaceToast(
24
+ notificationId,
25
+ ToastConfig.RECONNECTED.single([4005, 4006].includes(prevErrorCode.current)),
26
+ );
28
27
  } else if (notification.type === HMSNotificationTypes.RECONNECTING) {
28
+ prevErrorCode.current = notification.data?.code || 0;
29
29
  notificationId = ToastManager.replaceToast(
30
30
  notificationId,
31
31
  ToastConfig.RECONNECTING.single(notification.data?.message),
32
32
  );
33
33
  }
34
34
  }, [notification]);
35
- if (!open) return null;
36
- return (
37
- <Dialog.Root open={open} modal={true}>
38
- <Dialog.Portal container={document.getElementById('conferencing')}>
39
- <Dialog.Overlay />
40
- <Dialog.Content
41
- css={{
42
- width: 'fit-content',
43
- maxWidth: '80%',
44
- p: '$4 $8',
45
- position: 'relative',
46
- top: 'unset',
47
- bottom: '$9',
48
- transform: 'translate(-50%, -100%)',
49
- animation: 'none !important',
50
- }}
51
- >
52
- <Flex align="center">
53
- <div style={{ display: 'inline', margin: '0.25rem' }}>
54
- <Loading size={16} />
55
- </div>
56
- <Text css={{ fontSize: '$space$8', color: '$on_surface_high' }}>
57
- You lost your network connection. Trying to reconnect.
58
- </Text>
59
- </Flex>
60
- </Dialog.Content>
61
- </Dialog.Portal>
62
- </Dialog.Root>
63
- );
35
+
36
+ return null;
64
37
  };