@100mslive/roomkit-react 0.3.10-alpha.0 → 0.3.10-alpha.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. package/dist/{HLSView-5GXP76IN.js → HLSView-73GDHCD4.js} +2 -2
  2. package/dist/{HLSView-FBGVUTA5.css → HLSView-NUX3NEDM.css} +16 -3
  3. package/dist/{HLSView-FBGVUTA5.css.map → HLSView-NUX3NEDM.css.map} +3 -3
  4. package/dist/Prebuilt/common/constants.d.ts +1 -0
  5. package/dist/Prebuilt/components/AppData/useSidepaneResetOnLayoutUpdate.d.ts +3 -0
  6. package/dist/Prebuilt/components/Chat/Chat.d.ts +1 -1
  7. package/dist/Prebuilt/components/RoleChangeModal.d.ts +5 -0
  8. package/dist/Prebuilt/components/TileMenu/TileMenuContent.d.ts +2 -1
  9. package/dist/{chunk-WSDBUVSZ.js → chunk-K7LIJG5P.js} +610 -563
  10. package/dist/chunk-K7LIJG5P.js.map +7 -0
  11. package/dist/index.cjs.css +15 -2
  12. package/dist/index.cjs.css.map +3 -3
  13. package/dist/index.cjs.js +1949 -1894
  14. package/dist/index.cjs.js.map +4 -4
  15. package/dist/index.css +15 -2
  16. package/dist/index.css.map +3 -3
  17. package/dist/index.js +1 -1
  18. package/dist/meta.cjs.json +136 -62
  19. package/dist/meta.esbuild.json +150 -76
  20. package/package.json +7 -7
  21. package/src/Modal/DialogContent.tsx +1 -1
  22. package/src/Prebuilt/common/constants.ts +2 -0
  23. package/src/Prebuilt/components/AppData/useSidepaneResetOnLayoutUpdate.tsx +22 -0
  24. package/src/Prebuilt/components/AudioVideoToggle.tsx +1 -1
  25. package/src/Prebuilt/components/Chat/Chat.tsx +3 -4
  26. package/src/Prebuilt/components/Footer/ParticipantList.tsx +58 -37
  27. package/src/Prebuilt/components/RoleChangeModal.tsx +188 -0
  28. package/src/Prebuilt/components/TileMenu/TileMenu.tsx +5 -0
  29. package/src/Prebuilt/components/TileMenu/TileMenuContent.tsx +25 -1
  30. package/src/Prebuilt/components/VirtualBackground/VBPicker.tsx +3 -0
  31. package/src/Prebuilt/layouts/SidePane.tsx +9 -9
  32. package/dist/chunk-WSDBUVSZ.js.map +0 -7
  33. package/src/Prebuilt/components/RoleChangeModal.jsx +0 -185
  34. /package/dist/{HLSView-5GXP76IN.js.map → HLSView-73GDHCD4.js.map} +0 -0
@@ -21,7 +21,7 @@
21
21
  "format": "esm"
22
22
  },
23
23
  "src/Prebuilt/common/constants.ts": {
24
- "bytes": 4466,
24
+ "bytes": 4556,
25
25
  "imports": [
26
26
  {
27
27
  "path": "@100mslive/react-sdk",
@@ -668,7 +668,7 @@
668
668
  "format": "esm"
669
669
  },
670
670
  "src/Modal/DialogContent.tsx": {
671
- "bytes": 1922,
671
+ "bytes": 1918,
672
672
  "imports": [
673
673
  {
674
674
  "path": "react",
@@ -2700,7 +2700,7 @@
2700
2700
  "format": "esm"
2701
2701
  },
2702
2702
  "src/Prebuilt/components/AudioVideoToggle.tsx": {
2703
- "bytes": 9985,
2703
+ "bytes": 9981,
2704
2704
  "imports": [
2705
2705
  {
2706
2706
  "path": "react",
@@ -3507,14 +3507,19 @@
3507
3507
  ],
3508
3508
  "format": "esm"
3509
3509
  },
3510
- "src/Prebuilt/components/RoleChangeModal.jsx": {
3511
- "bytes": 6492,
3510
+ "src/Prebuilt/components/RoleChangeModal.tsx": {
3511
+ "bytes": 5429,
3512
3512
  "imports": [
3513
3513
  {
3514
3514
  "path": "react",
3515
3515
  "kind": "import-statement",
3516
3516
  "external": true
3517
3517
  },
3518
+ {
3519
+ "path": "react-use",
3520
+ "kind": "import-statement",
3521
+ "external": true
3522
+ },
3518
3523
  {
3519
3524
  "path": "@100mslive/react-sdk",
3520
3525
  "kind": "import-statement",
@@ -3530,21 +3535,11 @@
3530
3535
  "kind": "import-statement",
3531
3536
  "original": "../../Button"
3532
3537
  },
3533
- {
3534
- "path": "src/Checkbox/index.tsx",
3535
- "kind": "import-statement",
3536
- "original": "../../Checkbox"
3537
- },
3538
3538
  {
3539
3539
  "path": "src/Dropdown/index.tsx",
3540
3540
  "kind": "import-statement",
3541
3541
  "original": "../../Dropdown"
3542
3542
  },
3543
- {
3544
- "path": "src/Label/index.ts",
3545
- "kind": "import-statement",
3546
- "original": "../../Label"
3547
- },
3548
3543
  {
3549
3544
  "path": "src/Layout/index.tsx",
3550
3545
  "kind": "import-statement",
@@ -3556,29 +3551,24 @@
3556
3551
  "original": "../../Modal"
3557
3552
  },
3558
3553
  {
3559
- "path": "src/Text/index.tsx",
3560
- "kind": "import-statement",
3561
- "original": "../../Text"
3562
- },
3563
- {
3564
- "path": "src/Tooltip/index.ts",
3554
+ "path": "src/Sheet/index.ts",
3565
3555
  "kind": "import-statement",
3566
- "original": "../../Tooltip"
3556
+ "original": "../../Sheet"
3567
3557
  },
3568
3558
  {
3569
- "path": "src/Prebuilt/components/hooks/useDropdownSelection.jsx",
3559
+ "path": "src/Text/index.tsx",
3570
3560
  "kind": "import-statement",
3571
- "original": "./hooks/useDropdownSelection"
3561
+ "original": "../../Text"
3572
3562
  },
3573
3563
  {
3574
- "path": "src/Prebuilt/common/hooks.ts",
3564
+ "path": "src/Theme/index.tsx",
3575
3565
  "kind": "import-statement",
3576
- "original": "../common/hooks"
3566
+ "original": "../../Theme"
3577
3567
  },
3578
3568
  {
3579
- "path": "src/utils/index.ts",
3569
+ "path": "src/Tooltip/index.ts",
3580
3570
  "kind": "import-statement",
3581
- "original": "../../utils"
3571
+ "original": "../../Tooltip"
3582
3572
  },
3583
3573
  {
3584
3574
  "path": "<define:process.env>",
@@ -4133,7 +4123,7 @@
4133
4123
  "original": "../../PIP/PIPManager"
4134
4124
  },
4135
4125
  {
4136
- "path": "src/Prebuilt/components/RoleChangeModal.jsx",
4126
+ "path": "src/Prebuilt/components/RoleChangeModal.tsx",
4137
4127
  "kind": "import-statement",
4138
4128
  "original": "../../RoleChangeModal"
4139
4129
  },
@@ -4543,7 +4533,7 @@
4543
4533
  "format": "cjs"
4544
4534
  },
4545
4535
  "../hms-video-store/dist/index.js": {
4546
- "bytes": 333076,
4536
+ "bytes": 333077,
4547
4537
  "imports": [
4548
4538
  {
4549
4539
  "path": "../../node_modules/reselect/es/index.js",
@@ -5924,6 +5914,47 @@
5924
5914
  ],
5925
5915
  "format": "esm"
5926
5916
  },
5917
+ "src/Prebuilt/components/AppData/useSidepaneResetOnLayoutUpdate.tsx": {
5918
+ "bytes": 1030,
5919
+ "imports": [
5920
+ {
5921
+ "path": "react",
5922
+ "kind": "import-statement",
5923
+ "external": true
5924
+ },
5925
+ {
5926
+ "path": "@100mslive/types-prebuilt",
5927
+ "kind": "import-statement",
5928
+ "external": true
5929
+ },
5930
+ {
5931
+ "path": "@100mslive/react-sdk",
5932
+ "kind": "import-statement",
5933
+ "external": true
5934
+ },
5935
+ {
5936
+ "path": "src/Prebuilt/provider/roomLayoutProvider/hooks/useRoomLayoutScreen.ts",
5937
+ "kind": "import-statement",
5938
+ "original": "../../provider/roomLayoutProvider/hooks/useRoomLayoutScreen"
5939
+ },
5940
+ {
5941
+ "path": "src/Prebuilt/components/AppData/useSidepane.js",
5942
+ "kind": "import-statement",
5943
+ "original": "./useSidepane"
5944
+ },
5945
+ {
5946
+ "path": "src/Prebuilt/common/constants.ts",
5947
+ "kind": "import-statement",
5948
+ "original": "../../common/constants"
5949
+ },
5950
+ {
5951
+ "path": "<define:process.env>",
5952
+ "kind": "import-statement",
5953
+ "external": true
5954
+ }
5955
+ ],
5956
+ "format": "esm"
5957
+ },
5927
5958
  "src/Prebuilt/components/hooks/usePeerOnStageActions.tsx": {
5928
5959
  "bytes": 1672,
5929
5960
  "imports": [
@@ -5951,7 +5982,7 @@
5951
5982
  "format": "esm"
5952
5983
  },
5953
5984
  "src/Prebuilt/components/Footer/ParticipantList.tsx": {
5954
- "bytes": 12898,
5985
+ "bytes": 13982,
5955
5986
  "imports": [
5956
5987
  {
5957
5988
  "path": "react",
@@ -5993,6 +6024,11 @@
5993
6024
  "kind": "import-statement",
5994
6025
  "original": "../RemoveParticipant"
5995
6026
  },
6027
+ {
6028
+ "path": "src/Prebuilt/components/RoleChangeModal.tsx",
6029
+ "kind": "import-statement",
6030
+ "original": "../RoleChangeModal"
6031
+ },
5996
6032
  {
5997
6033
  "path": "src/Prebuilt/components/Footer/RoleAccordion.tsx",
5998
6034
  "kind": "import-statement",
@@ -6008,6 +6044,11 @@
6008
6044
  "kind": "import-statement",
6009
6045
  "original": "../AppData/useSidepane"
6010
6046
  },
6047
+ {
6048
+ "path": "src/Prebuilt/components/AppData/useSidepaneResetOnLayoutUpdate.tsx",
6049
+ "kind": "import-statement",
6050
+ "original": "../AppData/useSidepaneResetOnLayoutUpdate"
6051
+ },
6011
6052
  {
6012
6053
  "path": "src/Prebuilt/components/hooks/usePeerOnStageActions.tsx",
6013
6054
  "kind": "import-statement",
@@ -8255,7 +8296,7 @@
8255
8296
  "format": "esm"
8256
8297
  },
8257
8298
  "src/Prebuilt/components/Chat/Chat.tsx": {
8258
- "bytes": 5421,
8299
+ "bytes": 5552,
8259
8300
  "imports": [
8260
8301
  {
8261
8302
  "path": "react",
@@ -8337,6 +8378,11 @@
8337
8378
  "kind": "import-statement",
8338
8379
  "original": "../../provider/roomLayoutProvider/hooks/useRoomLayoutScreen"
8339
8380
  },
8381
+ {
8382
+ "path": "src/Prebuilt/components/AppData/useSidepaneResetOnLayoutUpdate.tsx",
8383
+ "kind": "import-statement",
8384
+ "original": "../AppData/useSidepaneResetOnLayoutUpdate"
8385
+ },
8340
8386
  {
8341
8387
  "path": "src/Prebuilt/common/hooks.ts",
8342
8388
  "kind": "import-statement",
@@ -8631,7 +8677,7 @@
8631
8677
  "format": "esm"
8632
8678
  },
8633
8679
  "src/Prebuilt/components/TileMenu/TileMenuContent.tsx": {
8634
- "bytes": 11533,
8680
+ "bytes": 12236,
8635
8681
  "imports": [
8636
8682
  {
8637
8683
  "path": "react",
@@ -8717,7 +8763,7 @@
8717
8763
  "format": "esm"
8718
8764
  },
8719
8765
  "src/Prebuilt/components/TileMenu/TileMenu.tsx": {
8720
- "bytes": 4835,
8766
+ "bytes": 5158,
8721
8767
  "imports": [
8722
8768
  {
8723
8769
  "path": "react",
@@ -8769,6 +8815,11 @@
8769
8815
  "kind": "import-statement",
8770
8816
  "original": "../MoreSettings/ChangeNameModal"
8771
8817
  },
8818
+ {
8819
+ "path": "src/Prebuilt/components/RoleChangeModal.tsx",
8820
+ "kind": "import-statement",
8821
+ "original": "../RoleChangeModal"
8822
+ },
8772
8823
  {
8773
8824
  "path": "src/Prebuilt/components/TileMenu/TileMenuContent.tsx",
8774
8825
  "kind": "import-statement",
@@ -8989,7 +9040,7 @@
8989
9040
  "format": "esm"
8990
9041
  },
8991
9042
  "src/Prebuilt/components/VirtualBackground/VBPicker.tsx": {
8992
- "bytes": 7852,
9043
+ "bytes": 8023,
8993
9044
  "imports": [
8994
9045
  {
8995
9046
  "path": "react",
@@ -9051,6 +9102,11 @@
9051
9102
  "kind": "import-statement",
9052
9103
  "original": "../AppData/useSidepane"
9053
9104
  },
9105
+ {
9106
+ "path": "src/Prebuilt/components/AppData/useSidepaneResetOnLayoutUpdate.tsx",
9107
+ "kind": "import-statement",
9108
+ "original": "../AppData/useSidepaneResetOnLayoutUpdate"
9109
+ },
9054
9110
  {
9055
9111
  "path": "src/Prebuilt/components/AppData/useUISettings.js",
9056
9112
  "kind": "import-statement",
@@ -10230,7 +10286,7 @@
10230
10286
  ],
10231
10287
  "format": "esm"
10232
10288
  },
10233
- "../../../../../../../tmp/tmp-2823-ROYhAo4ujDGM/18f2eeedc9b3/tldraw.css": {
10289
+ "../../../../../../../tmp/tmp-2781-UX8EI1PHTKRC/18f70671ba42/tldraw.css": {
10234
10290
  "bytes": 80111,
10235
10291
  "imports": [
10236
10292
  {
@@ -10280,8 +10336,8 @@
10280
10336
  }
10281
10337
  ]
10282
10338
  },
10283
- "../../../../../../../tmp/tmp-2823-ROYhAo4ujDGM/18f2eeedc0d1/index.css": {
10284
- "bytes": 264,
10339
+ "../../../../../../../tmp/tmp-2781-UX8EI1PHTKRC/18f70671b250/index.css": {
10340
+ "bytes": 597,
10285
10341
  "imports": [
10286
10342
  {
10287
10343
  "path": "https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap",
@@ -10289,7 +10345,7 @@
10289
10345
  "external": true
10290
10346
  },
10291
10347
  {
10292
- "path": "../../../../../../../tmp/tmp-2823-ROYhAo4ujDGM/18f2eeedc9b3/tldraw.css",
10348
+ "path": "../../../../../../../tmp/tmp-2781-UX8EI1PHTKRC/18f70671ba42/tldraw.css",
10293
10349
  "kind": "import-rule",
10294
10350
  "original": "@tldraw/tldraw/tldraw.css"
10295
10351
  }
@@ -10364,7 +10420,7 @@
10364
10420
  "original": "../../common/constants"
10365
10421
  },
10366
10422
  {
10367
- "path": "../../../../../../../tmp/tmp-2823-ROYhAo4ujDGM/18f2eeedc0d1/index.css",
10423
+ "path": "../../../../../../../tmp/tmp-2781-UX8EI1PHTKRC/18f70671b250/index.css",
10368
10424
  "kind": "import-statement",
10369
10425
  "original": "@100mslive/hms-whiteboard/index.css"
10370
10426
  },
@@ -13463,7 +13519,7 @@
13463
13519
  "dist/index.js": {
13464
13520
  "imports": [
13465
13521
  {
13466
- "path": "dist/chunk-WSDBUVSZ.js",
13522
+ "path": "dist/chunk-K7LIJG5P.js",
13467
13523
  "kind": "import-statement"
13468
13524
  }
13469
13525
  ],
@@ -13537,16 +13593,16 @@
13537
13593
  "inputs": {},
13538
13594
  "bytes": 1822
13539
13595
  },
13540
- "dist/HLSView-5GXP76IN.js.map": {
13596
+ "dist/HLSView-73GDHCD4.js.map": {
13541
13597
  "imports": [],
13542
13598
  "exports": [],
13543
13599
  "inputs": {},
13544
13600
  "bytes": 100337
13545
13601
  },
13546
- "dist/HLSView-5GXP76IN.js": {
13602
+ "dist/HLSView-73GDHCD4.js": {
13547
13603
  "imports": [
13548
13604
  {
13549
- "path": "dist/chunk-WSDBUVSZ.js",
13605
+ "path": "dist/chunk-K7LIJG5P.js",
13550
13606
  "kind": "import-statement"
13551
13607
  },
13552
13608
  {
@@ -13724,7 +13780,7 @@
13724
13780
  "default"
13725
13781
  ],
13726
13782
  "entryPoint": "src/Prebuilt/layouts/HLSView.jsx",
13727
- "cssBundle": "dist/HLSView-FBGVUTA5.css",
13783
+ "cssBundle": "dist/HLSView-NUX3NEDM.css",
13728
13784
  "inputs": {
13729
13785
  "src/Prebuilt/layouts/HLSView.jsx": {
13730
13786
  "bytesInOutput": 26045
@@ -13783,13 +13839,13 @@
13783
13839
  },
13784
13840
  "bytes": 58752
13785
13841
  },
13786
- "dist/chunk-WSDBUVSZ.js.map": {
13842
+ "dist/chunk-K7LIJG5P.js.map": {
13787
13843
  "imports": [],
13788
13844
  "exports": [],
13789
13845
  "inputs": {},
13790
- "bytes": 3219322
13846
+ "bytes": 3223594
13791
13847
  },
13792
- "dist/chunk-WSDBUVSZ.js": {
13848
+ "dist/chunk-K7LIJG5P.js": {
13793
13849
  "imports": [
13794
13850
  {
13795
13851
  "path": "react",
@@ -14566,6 +14622,11 @@
14566
14622
  "kind": "import-statement",
14567
14623
  "external": true
14568
14624
  },
14625
+ {
14626
+ "path": "react-use",
14627
+ "kind": "import-statement",
14628
+ "external": true
14629
+ },
14569
14630
  {
14570
14631
  "path": "@100mslive/react-sdk",
14571
14632
  "kind": "import-statement",
@@ -15111,6 +15172,16 @@
15111
15172
  "kind": "import-statement",
15112
15173
  "external": true
15113
15174
  },
15175
+ {
15176
+ "path": "@100mslive/react-sdk",
15177
+ "kind": "import-statement",
15178
+ "external": true
15179
+ },
15180
+ {
15181
+ "path": "react",
15182
+ "kind": "import-statement",
15183
+ "external": true
15184
+ },
15114
15185
  {
15115
15186
  "path": "@100mslive/react-icons",
15116
15187
  "kind": "import-statement",
@@ -16227,7 +16298,7 @@
16227
16298
  "external": true
16228
16299
  },
16229
16300
  {
16230
- "path": "dist/HLSView-5GXP76IN.js",
16301
+ "path": "dist/HLSView-73GDHCD4.js",
16231
16302
  "kind": "dynamic-import"
16232
16303
  },
16233
16304
  {
@@ -16704,7 +16775,7 @@
16704
16775
  ],
16705
16776
  "inputs": {
16706
16777
  "<define:process.env>": {
16707
- "bytesInOutput": 17884
16778
+ "bytesInOutput": 17892
16708
16779
  },
16709
16780
  "../../node_modules/lodash/lodash.js": {
16710
16781
  "bytesInOutput": 224301
@@ -16833,7 +16904,7 @@
16833
16904
  "bytesInOutput": 1131
16834
16905
  },
16835
16906
  "src/Modal/DialogContent.tsx": {
16836
- "bytesInOutput": 1744
16907
+ "bytesInOutput": 1740
16837
16908
  },
16838
16909
  "src/hooks/useDialogContainerSelector.tsx": {
16839
16910
  "bytesInOutput": 209
@@ -17013,7 +17084,7 @@
17013
17084
  "bytesInOutput": 3056
17014
17085
  },
17015
17086
  "src/Prebuilt/components/AudioVideoToggle.tsx": {
17016
- "bytesInOutput": 9997
17087
+ "bytesInOutput": 9993
17017
17088
  },
17018
17089
  "src/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.tsx": {
17019
17090
  "bytesInOutput": 3074
@@ -17105,8 +17176,8 @@
17105
17176
  "src/Prebuilt/components/PIP/SetupMediaSession.js": {
17106
17177
  "bytesInOutput": 1870
17107
17178
  },
17108
- "src/Prebuilt/components/RoleChangeModal.jsx": {
17109
- "bytesInOutput": 5842
17179
+ "src/Prebuilt/components/RoleChangeModal.tsx": {
17180
+ "bytesInOutput": 5499
17110
17181
  },
17111
17182
  "src/Prebuilt/components/Settings/StartRecording.jsx": {
17112
17183
  "bytesInOutput": 3537
@@ -17148,7 +17219,7 @@
17148
17219
  "bytesInOutput": 9078
17149
17220
  },
17150
17221
  "../hms-video-store/dist/index.js": {
17151
- "bytesInOutput": 49344
17222
+ "bytesInOutput": 49345
17152
17223
  },
17153
17224
  "../../node_modules/reselect/es/index.js": {
17154
17225
  "bytesInOutput": 2539
@@ -17202,7 +17273,7 @@
17202
17273
  "bytesInOutput": 2056
17203
17274
  },
17204
17275
  "src/Prebuilt/components/MoreSettings/ChangeNameContent.tsx": {
17205
- "bytesInOutput": 3176
17276
+ "bytesInOutput": 3178
17206
17277
  },
17207
17278
  "src/Prebuilt/components/AppData/useSheet.ts": {
17208
17279
  "bytesInOutput": 844
@@ -17250,7 +17321,7 @@
17250
17321
  "bytesInOutput": 1445
17251
17322
  },
17252
17323
  "src/Prebuilt/components/Footer/ParticipantList.tsx": {
17253
- "bytesInOutput": 12009
17324
+ "bytesInOutput": 12965
17254
17325
  },
17255
17326
  "src/Prebuilt/components/Connection/ConnectionIndicator.tsx": {
17256
17327
  "bytesInOutput": 3835
@@ -17270,6 +17341,9 @@
17270
17341
  "src/Prebuilt/components/hooks/useGroupOnStageActions.tsx": {
17271
17342
  "bytesInOutput": 1730
17272
17343
  },
17344
+ "src/Prebuilt/components/AppData/useSidepaneResetOnLayoutUpdate.tsx": {
17345
+ "bytesInOutput": 632
17346
+ },
17273
17347
  "src/Prebuilt/components/hooks/usePeerOnStageActions.tsx": {
17274
17348
  "bytesInOutput": 1634
17275
17349
  },
@@ -17379,7 +17453,7 @@
17379
17453
  "bytesInOutput": 7336
17380
17454
  },
17381
17455
  "src/Prebuilt/components/Chat/Chat.tsx": {
17382
- "bytesInOutput": 4739
17456
+ "bytesInOutput": 4759
17383
17457
  },
17384
17458
  "src/Prebuilt/components/Chat/ChatBody.tsx": {
17385
17459
  "bytesInOutput": 14266
@@ -17445,10 +17519,10 @@
17445
17519
  "bytesInOutput": 2399
17446
17520
  },
17447
17521
  "src/Prebuilt/components/TileMenu/TileMenu.tsx": {
17448
- "bytesInOutput": 4310
17522
+ "bytesInOutput": 4614
17449
17523
  },
17450
17524
  "src/Prebuilt/components/TileMenu/TileMenuContent.tsx": {
17451
- "bytesInOutput": 11182
17525
+ "bytesInOutput": 11961
17452
17526
  },
17453
17527
  "src/Prebuilt/components/TileMenu/utils.ts": {
17454
17528
  "bytesInOutput": 130
@@ -17457,7 +17531,7 @@
17457
17531
  "bytesInOutput": 1050
17458
17532
  },
17459
17533
  "src/Prebuilt/components/VirtualBackground/VBPicker.tsx": {
17460
- "bytesInOutput": 7396
17534
+ "bytesInOutput": 7474
17461
17535
  },
17462
17536
  "src/Prebuilt/components/VirtualBackground/VBCollection.tsx": {
17463
17537
  "bytesInOutput": 1077
@@ -17511,7 +17585,7 @@
17511
17585
  "bytesInOutput": 2082
17512
17586
  },
17513
17587
  "src/Prebuilt/components/SecondaryTiles.tsx": {
17514
- "bytesInOutput": 2522
17588
+ "bytesInOutput": 2525
17515
17589
  },
17516
17590
  "src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx": {
17517
17591
  "bytesInOutput": 2133
@@ -17534,7 +17608,7 @@
17534
17608
  "src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
17535
17609
  "bytesInOutput": 2656
17536
17610
  },
17537
- "../../../../../../../tmp/tmp-2823-ROYhAo4ujDGM/18f2eeedc0d1/index.css": {
17611
+ "../../../../../../../tmp/tmp-2781-UX8EI1PHTKRC/18f70671b250/index.css": {
17538
17612
  "bytesInOutput": 0
17539
17613
  },
17540
17614
  "src/Prebuilt/common/PeersSorter.ts": {
@@ -17676,13 +17750,13 @@
17676
17750
  "bytesInOutput": 651
17677
17751
  }
17678
17752
  },
17679
- "bytes": 1288002
17753
+ "bytes": 1290505
17680
17754
  },
17681
17755
  "dist/index.css.map": {
17682
17756
  "imports": [],
17683
17757
  "exports": [],
17684
17758
  "inputs": {},
17685
- "bytes": 121900
17759
+ "bytes": 122402
17686
17760
  },
17687
17761
  "dist/index.css": {
17688
17762
  "imports": [
@@ -17738,22 +17812,22 @@
17738
17812
  }
17739
17813
  ],
17740
17814
  "inputs": {
17741
- "../../../../../../../tmp/tmp-2823-ROYhAo4ujDGM/18f2eeedc9b3/tldraw.css": {
17815
+ "../../../../../../../tmp/tmp-2781-UX8EI1PHTKRC/18f70671ba42/tldraw.css": {
17742
17816
  "bytesInOutput": 75223
17743
17817
  },
17744
- "../../../../../../../tmp/tmp-2823-ROYhAo4ujDGM/18f2eeedc0d1/index.css": {
17745
- "bytesInOutput": 131
17818
+ "../../../../../../../tmp/tmp-2781-UX8EI1PHTKRC/18f70671b250/index.css": {
17819
+ "bytesInOutput": 401
17746
17820
  }
17747
17821
  },
17748
- "bytes": 75631
17822
+ "bytes": 75901
17749
17823
  },
17750
- "dist/HLSView-FBGVUTA5.css.map": {
17824
+ "dist/HLSView-NUX3NEDM.css.map": {
17751
17825
  "imports": [],
17752
17826
  "exports": [],
17753
17827
  "inputs": {},
17754
- "bytes": 121900
17828
+ "bytes": 122402
17755
17829
  },
17756
- "dist/HLSView-FBGVUTA5.css": {
17830
+ "dist/HLSView-NUX3NEDM.css": {
17757
17831
  "imports": [
17758
17832
  {
17759
17833
  "path": "https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap",
@@ -17807,14 +17881,14 @@
17807
17881
  }
17808
17882
  ],
17809
17883
  "inputs": {
17810
- "../../../../../../../tmp/tmp-2823-ROYhAo4ujDGM/18f2eeedc9b3/tldraw.css": {
17884
+ "../../../../../../../tmp/tmp-2781-UX8EI1PHTKRC/18f70671ba42/tldraw.css": {
17811
17885
  "bytesInOutput": 75223
17812
17886
  },
17813
- "../../../../../../../tmp/tmp-2823-ROYhAo4ujDGM/18f2eeedc0d1/index.css": {
17814
- "bytesInOutput": 131
17887
+ "../../../../../../../tmp/tmp-2781-UX8EI1PHTKRC/18f70671b250/index.css": {
17888
+ "bytesInOutput": 401
17815
17889
  }
17816
17890
  },
17817
- "bytes": 75642
17891
+ "bytes": 75912
17818
17892
  }
17819
17893
  }
17820
17894
  }
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "prebuilt",
11
11
  "roomkit"
12
12
  ],
13
- "version": "0.3.10-alpha.0",
13
+ "version": "0.3.10-alpha.10",
14
14
  "author": "100ms",
15
15
  "license": "MIT",
16
16
  "repository": {
@@ -74,12 +74,12 @@
74
74
  "react": ">=17.0.2 <19.0.0"
75
75
  },
76
76
  "dependencies": {
77
- "@100mslive/hls-player": "0.3.10-alpha.0",
77
+ "@100mslive/hls-player": "0.3.10-alpha.10",
78
78
  "@100mslive/hms-noise-cancellation": "0.0.1",
79
- "@100mslive/hms-virtual-background": "1.13.10-alpha.0",
80
- "@100mslive/hms-whiteboard": "0.0.0-alpha.1",
81
- "@100mslive/react-icons": "0.10.10-alpha.0",
82
- "@100mslive/react-sdk": "0.10.10-alpha.0",
79
+ "@100mslive/hms-virtual-background": "1.13.10-alpha.10",
80
+ "@100mslive/hms-whiteboard": "0.0.0-alpha.4",
81
+ "@100mslive/react-icons": "0.10.10-alpha.10",
82
+ "@100mslive/react-sdk": "0.10.10-alpha.10",
83
83
  "@100mslive/types-prebuilt": "0.12.8",
84
84
  "@emoji-mart/data": "^1.0.6",
85
85
  "@emoji-mart/react": "^1.0.1",
@@ -115,5 +115,5 @@
115
115
  "uuid": "^8.3.2",
116
116
  "worker-timers": "^7.0.40"
117
117
  },
118
- "gitHead": "c705b5b8ce729747f28c7aff242057ac8178d338"
118
+ "gitHead": "411c589a962176ca5623844f57487cedb1c9ae92"
119
119
  }
@@ -27,7 +27,7 @@ export const StyledDialogPortal = styled(DialogPrimitive.Portal, {});
27
27
 
28
28
  export const CustomDialogContent = styled(DialogPrimitive.Content, {
29
29
  color: '$on_surface_medium',
30
- backgroundColor: '$surface_default',
30
+ backgroundColor: '$surface_dim',
31
31
  borderRadius: '8px',
32
32
  position: 'absolute',
33
33
  top: '50%',
@@ -70,6 +70,8 @@ export const SIDE_PANE_OPTIONS = {
70
70
  ROOM_DETAILS: 'ROOM_DETAILS',
71
71
  };
72
72
 
73
+ export type SidePaneOption = (typeof SIDE_PANE_OPTIONS)[keyof typeof SIDE_PANE_OPTIONS];
74
+
73
75
  export const SHEET_OPTIONS = {
74
76
  ROOM_DETAILS: 'ROOM_DETAILS',
75
77
  };
@@ -0,0 +1,22 @@
1
+ import { useEffect } from 'react';
2
+ import { DefaultConferencingScreen_Elements } from '@100mslive/types-prebuilt';
3
+ import { selectAppData, useHMSStore } from '@100mslive/react-sdk';
4
+ import { useRoomLayoutConferencingScreen } from '../../provider/roomLayoutProvider/hooks/useRoomLayoutScreen';
5
+ // @ts-ignore
6
+ import { useSidepaneReset } from './useSidepane';
7
+ import { APP_DATA, SidePaneOption } from '../../common/constants';
8
+
9
+ // Closes the sidepane if an element is removed from the layout via the customiser
10
+ export const useSidepaneResetOnLayoutUpdate = (
11
+ layoutKey: keyof DefaultConferencingScreen_Elements,
12
+ sidepaneOption: SidePaneOption,
13
+ ) => {
14
+ const { elements } = useRoomLayoutConferencingScreen();
15
+ const sidepane = useHMSStore(selectAppData(APP_DATA.sidePane));
16
+ const resetSidePane = useSidepaneReset();
17
+ useEffect(() => {
18
+ if (sidepane === sidepaneOption && !elements?.[layoutKey]) {
19
+ resetSidePane();
20
+ }
21
+ }, [elements, elements?.[layoutKey], resetSidePane, sidepane, layoutKey, sidepaneOption]);
22
+ };
@@ -122,6 +122,7 @@ const NoiseCancellation = () => {
122
122
 
123
123
  return (
124
124
  <>
125
+ <Dropdown.ItemSeparator css={{ mx: 0 }} />
125
126
  <Dropdown.Item
126
127
  css={{
127
128
  p: '$4 $8',
@@ -256,7 +257,6 @@ export const AudioVideoToggle = ({ hideOptions = false }) => {
256
257
  </Dropdown.Group>
257
258
  </>
258
259
  )}
259
- <Dropdown.ItemSeparator css={{ mx: 0 }} />
260
260
  <NoiseCancellation />
261
261
  <AudioSettings onClick={() => setShowSettings(true)} />
262
262
  </IconButtonWithOptions>