@100mslive/roomkit-react 0.3.7-alpha.1 → 0.3.7-alpha.3

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-LVXGI4HW.js";
65
+ } from "./chunk-5VWHFS7L.js";
66
66
  export {
67
67
  Accordion,
68
68
  AudioLevel,
@@ -4686,7 +4686,7 @@
4686
4686
  "format": "cjs"
4687
4687
  },
4688
4688
  "../hms-video-store/dist/index.js": {
4689
- "bytes": 330664,
4689
+ "bytes": 331221,
4690
4690
  "imports": [
4691
4691
  {
4692
4692
  "path": "../../node_modules/reselect/es/index.js",
@@ -9398,7 +9398,7 @@
9398
9398
  "format": "esm"
9399
9399
  },
9400
9400
  "src/Prebuilt/layouts/SidePane.tsx": {
9401
- "bytes": 6575,
9401
+ "bytes": 6751,
9402
9402
  "imports": [
9403
9403
  {
9404
9404
  "path": "react",
@@ -13770,7 +13770,7 @@
13770
13770
  "imports": [],
13771
13771
  "exports": [],
13772
13772
  "inputs": {},
13773
- "bytes": 3302587
13773
+ "bytes": 3304062
13774
13774
  },
13775
13775
  "dist/index.cjs.js": {
13776
13776
  "imports": [
@@ -16714,7 +16714,7 @@
16714
16714
  "entryPoint": "src/index.ts",
16715
16715
  "inputs": {
16716
16716
  "<define:process.env>": {
16717
- "bytesInOutput": 18299
16717
+ "bytesInOutput": 18286
16718
16718
  },
16719
16719
  "src/Theme/base.config.ts": {
16720
16720
  "bytesInOutput": 6104
@@ -17158,7 +17158,7 @@
17158
17158
  "bytesInOutput": 6467
17159
17159
  },
17160
17160
  "../../node_modules/webrtc-adapter/src/js/chrome/getusermedia.js": {
17161
- "bytesInOutput": 6253
17161
+ "bytesInOutput": 6268
17162
17162
  },
17163
17163
  "../../node_modules/webrtc-adapter/src/js/chrome/getdisplaymedia.js": {
17164
17164
  "bytesInOutput": 1396
@@ -17203,7 +17203,7 @@
17203
17203
  "bytesInOutput": 615
17204
17204
  },
17205
17205
  "../hms-video-store/dist/index.js": {
17206
- "bytesInOutput": 53501
17206
+ "bytesInOutput": 53608
17207
17207
  },
17208
17208
  "src/Prebuilt/components/hooks/usePlaylistMusic.js": {
17209
17209
  "bytesInOutput": 1384
@@ -17494,7 +17494,7 @@
17494
17494
  "bytesInOutput": 8756
17495
17495
  },
17496
17496
  "src/Prebuilt/layouts/SidePane.tsx": {
17497
- "bytesInOutput": 7756
17497
+ "bytesInOutput": 7958
17498
17498
  },
17499
17499
  "src/Prebuilt/components/Chip.tsx": {
17500
17500
  "bytesInOutput": 1118
@@ -17719,7 +17719,7 @@
17719
17719
  "bytesInOutput": 2248
17720
17720
  },
17721
17721
  "src/Prebuilt/components/Notifications/Notifications.tsx": {
17722
- "bytesInOutput": 8886
17722
+ "bytesInOutput": 8889
17723
17723
  },
17724
17724
  "src/Prebuilt/components/Notifications/index.tsx": {
17725
17725
  "bytesInOutput": 173
@@ -17767,7 +17767,7 @@
17767
17767
  "bytesInOutput": 2980
17768
17768
  }
17769
17769
  },
17770
- "bytes": 1571810
17770
+ "bytes": 1572124
17771
17771
  }
17772
17772
  }
17773
17773
  }
@@ -4686,7 +4686,7 @@
4686
4686
  "format": "cjs"
4687
4687
  },
4688
4688
  "../hms-video-store/dist/index.js": {
4689
- "bytes": 330664,
4689
+ "bytes": 331221,
4690
4690
  "imports": [
4691
4691
  {
4692
4692
  "path": "../../node_modules/reselect/es/index.js",
@@ -9398,7 +9398,7 @@
9398
9398
  "format": "esm"
9399
9399
  },
9400
9400
  "src/Prebuilt/layouts/SidePane.tsx": {
9401
- "bytes": 6575,
9401
+ "bytes": 6751,
9402
9402
  "imports": [
9403
9403
  {
9404
9404
  "path": "react",
@@ -13775,7 +13775,7 @@
13775
13775
  "dist/index.js": {
13776
13776
  "imports": [
13777
13777
  {
13778
- "path": "dist/chunk-LVXGI4HW.js",
13778
+ "path": "dist/chunk-5VWHFS7L.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-QKPBZFZP.js.map": {
13851
+ "dist/HLSView-6CEK2ZH3.js.map": {
13852
13852
  "imports": [],
13853
13853
  "exports": [],
13854
13854
  "inputs": {},
13855
13855
  "bytes": 99653
13856
13856
  },
13857
- "dist/HLSView-QKPBZFZP.js": {
13857
+ "dist/HLSView-6CEK2ZH3.js": {
13858
13858
  "imports": [
13859
13859
  {
13860
- "path": "dist/chunk-LVXGI4HW.js",
13860
+ "path": "dist/chunk-5VWHFS7L.js",
13861
13861
  "kind": "import-statement"
13862
13862
  },
13863
13863
  {
@@ -14093,13 +14093,13 @@
14093
14093
  },
14094
14094
  "bytes": 61455
14095
14095
  },
14096
- "dist/chunk-LVXGI4HW.js.map": {
14096
+ "dist/chunk-5VWHFS7L.js.map": {
14097
14097
  "imports": [],
14098
14098
  "exports": [],
14099
14099
  "inputs": {},
14100
- "bytes": 3198756
14100
+ "bytes": 3200225
14101
14101
  },
14102
- "dist/chunk-LVXGI4HW.js": {
14102
+ "dist/chunk-5VWHFS7L.js": {
14103
14103
  "imports": [
14104
14104
  {
14105
14105
  "path": "react",
@@ -16482,7 +16482,7 @@
16482
16482
  "external": true
16483
16483
  },
16484
16484
  {
16485
- "path": "dist/HLSView-QKPBZFZP.js",
16485
+ "path": "dist/HLSView-6CEK2ZH3.js",
16486
16486
  "kind": "dynamic-import"
16487
16487
  },
16488
16488
  {
@@ -16963,7 +16963,7 @@
16963
16963
  ],
16964
16964
  "inputs": {
16965
16965
  "<define:process.env>": {
16966
- "bytesInOutput": 18299
16966
+ "bytesInOutput": 18286
16967
16967
  },
16968
16968
  "../../node_modules/lodash/lodash.js": {
16969
16969
  "bytesInOutput": 224310
@@ -17401,7 +17401,7 @@
17401
17401
  "bytesInOutput": 10031
17402
17402
  },
17403
17403
  "../hms-video-store/dist/index.js": {
17404
- "bytesInOutput": 48906
17404
+ "bytesInOutput": 49010
17405
17405
  },
17406
17406
  "../../node_modules/reselect/es/index.js": {
17407
17407
  "bytesInOutput": 2537
@@ -17419,7 +17419,7 @@
17419
17419
  "bytesInOutput": 22693
17420
17420
  },
17421
17421
  "../../node_modules/webrtc-adapter/src/js/chrome/getusermedia.js": {
17422
- "bytesInOutput": 6087
17422
+ "bytesInOutput": 6102
17423
17423
  },
17424
17424
  "../../node_modules/webrtc-adapter/src/js/chrome/getdisplaymedia.js": {
17425
17425
  "bytesInOutput": 1256
@@ -17542,7 +17542,7 @@
17542
17542
  "bytesInOutput": 9625
17543
17543
  },
17544
17544
  "src/Prebuilt/layouts/SidePane.tsx": {
17545
- "bytesInOutput": 6274
17545
+ "bytesInOutput": 6448
17546
17546
  },
17547
17547
  "src/Prebuilt/components/Polls/Polls.tsx": {
17548
17548
  "bytesInOutput": 735
@@ -17845,7 +17845,7 @@
17845
17845
  "bytesInOutput": 27
17846
17846
  },
17847
17847
  "src/Prebuilt/components/Notifications/Notifications.tsx": {
17848
- "bytesInOutput": 7971
17848
+ "bytesInOutput": 7974
17849
17849
  },
17850
17850
  "src/Prebuilt/components/Notifications/AutoplayBlockedModal.tsx": {
17851
17851
  "bytesInOutput": 1053
@@ -17923,7 +17923,7 @@
17923
17923
  "bytesInOutput": 651
17924
17924
  }
17925
17925
  },
17926
- "bytes": 1310075
17926
+ "bytes": 1310358
17927
17927
  }
17928
17928
  }
17929
17929
  }
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "prebuilt",
11
11
  "roomkit"
12
12
  ],
13
- "version": "0.3.7-alpha.1",
13
+ "version": "0.3.7-alpha.3",
14
14
  "author": "100ms",
15
15
  "license": "MIT",
16
16
  "repository": {
@@ -82,11 +82,11 @@
82
82
  "react": ">=17.0.2 <19.0.0"
83
83
  },
84
84
  "dependencies": {
85
- "@100mslive/hls-player": "0.3.7-alpha.1",
85
+ "@100mslive/hls-player": "0.3.7-alpha.3",
86
86
  "@100mslive/hms-noise-cancellation": "0.0.1",
87
- "@100mslive/hms-virtual-background": "1.13.7-alpha.1",
88
- "@100mslive/react-icons": "0.10.7-alpha.1",
89
- "@100mslive/react-sdk": "0.10.7-alpha.1",
87
+ "@100mslive/hms-virtual-background": "1.13.7-alpha.3",
88
+ "@100mslive/react-icons": "0.10.7-alpha.3",
89
+ "@100mslive/react-sdk": "0.10.7-alpha.3",
90
90
  "@100mslive/types-prebuilt": "0.12.8",
91
91
  "@emoji-mart/data": "^1.0.6",
92
92
  "@emoji-mart/react": "^1.0.1",
@@ -122,5 +122,5 @@
122
122
  "uuid": "^8.3.2",
123
123
  "worker-timers": "^7.0.40"
124
124
  },
125
- "gitHead": "f8131959ff3d81261f1f5e10aeca4ffdb85de037"
125
+ "gitHead": "a8f673eb5b3724688c21718a824ed9d7c63b30cc"
126
126
  }
@@ -80,6 +80,12 @@ const Wrapper = styled('div', {
80
80
  hideControls: {
81
81
  true: {},
82
82
  },
83
+ virtualBackground: {
84
+ true: {
85
+ maxHeight: '100%',
86
+ background: '$surface_dim',
87
+ },
88
+ },
83
89
  },
84
90
  compoundVariants: [
85
91
  {
@@ -157,6 +163,7 @@ const SidePane = ({
157
163
  hideControls,
158
164
  overlayChat: !!elements?.chat?.is_overlay,
159
165
  roomDescription: isMobile && sidepane === SIDE_PANE_OPTIONS.ROOM_DETAILS,
166
+ virtualBackground: sidepane === SIDE_PANE_OPTIONS.VB,
160
167
  };
161
168
 
162
169
  const SidepaneComponent = match(sidepane)