@100mslive/roomkit-react 0.3.37-alpha.0 → 0.3.38-alpha.0

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.
@@ -1213,7 +1213,7 @@
1213
1213
  "imports": []
1214
1214
  },
1215
1215
  "src/AudioLevel/AudioLevel.tsx": {
1216
- "bytes": 2298,
1216
+ "bytes": 2367,
1217
1217
  "imports": [
1218
1218
  {
1219
1219
  "path": "react",
@@ -5769,7 +5769,7 @@
5769
5769
  "format": "cjs"
5770
5770
  },
5771
5771
  "../hms-video-store/dist/index.js": {
5772
- "bytes": 377102,
5772
+ "bytes": 378186,
5773
5773
  "imports": [
5774
5774
  {
5775
5775
  "path": "../../node_modules/reselect/es/index.js",
@@ -5796,6 +5796,11 @@
5796
5796
  "kind": "import-statement",
5797
5797
  "original": "lodash.isequal"
5798
5798
  },
5799
+ {
5800
+ "path": "uuid",
5801
+ "kind": "import-statement",
5802
+ "external": true
5803
+ },
5799
5804
  {
5800
5805
  "path": "../../node_modules/webrtc-adapter/src/js/adapter_core.js",
5801
5806
  "kind": "import-statement",
@@ -5816,11 +5821,6 @@
5816
5821
  "kind": "import-statement",
5817
5822
  "external": true
5818
5823
  },
5819
- {
5820
- "path": "uuid",
5821
- "kind": "import-statement",
5822
- "external": true
5823
- },
5824
5824
  {
5825
5825
  "path": "eventemitter2",
5826
5826
  "kind": "import-statement",
@@ -11311,7 +11311,7 @@
11311
11311
  ],
11312
11312
  "format": "esm"
11313
11313
  },
11314
- "../../../../../../../tmp/tmp-3105-8fjhtY0riVG5/1989d81d8093/tldraw.css": {
11314
+ "../../../../../../../tmp/tmp-3112-5ZodL57IzDnT/198e13613183/tldraw.css": {
11315
11315
  "bytes": 80111,
11316
11316
  "imports": [
11317
11317
  {
@@ -11361,7 +11361,7 @@
11361
11361
  }
11362
11362
  ]
11363
11363
  },
11364
- "../../../../../../../tmp/tmp-3105-8fjhtY0riVG5/1989d81d7a30/index.css": {
11364
+ "../../../../../../../tmp/tmp-3112-5ZodL57IzDnT/198e13613011/index.css": {
11365
11365
  "bytes": 597,
11366
11366
  "imports": [
11367
11367
  {
@@ -11370,7 +11370,7 @@
11370
11370
  "external": true
11371
11371
  },
11372
11372
  {
11373
- "path": "../../../../../../../tmp/tmp-3105-8fjhtY0riVG5/1989d81d8093/tldraw.css",
11373
+ "path": "../../../../../../../tmp/tmp-3112-5ZodL57IzDnT/198e13613183/tldraw.css",
11374
11374
  "kind": "import-rule",
11375
11375
  "original": "@tldraw/tldraw/tldraw.css"
11376
11376
  }
@@ -11445,7 +11445,7 @@
11445
11445
  "original": "../../common/constants"
11446
11446
  },
11447
11447
  {
11448
- "path": "../../../../../../../tmp/tmp-3105-8fjhtY0riVG5/1989d81d7a30/index.css",
11448
+ "path": "../../../../../../../tmp/tmp-3112-5ZodL57IzDnT/198e13613011/index.css",
11449
11449
  "kind": "import-statement",
11450
11450
  "original": "@100mslive/hms-whiteboard/index.css"
11451
11451
  },
@@ -11596,7 +11596,7 @@
11596
11596
  "format": "esm"
11597
11597
  },
11598
11598
  "src/Prebuilt/components/HlsStatsOverlay.jsx": {
11599
- "bytes": 3131,
11599
+ "bytes": 2803,
11600
11600
  "imports": [
11601
11601
  {
11602
11602
  "path": "react",
@@ -15709,7 +15709,7 @@
15709
15709
  "imports": [],
15710
15710
  "exports": [],
15711
15711
  "inputs": {},
15712
- "bytes": 3628986
15712
+ "bytes": 3630522
15713
15713
  },
15714
15714
  "dist/index.cjs.js": {
15715
15715
  "imports": [
@@ -19042,7 +19042,7 @@
19042
19042
  "cssBundle": "dist/index.cjs.css",
19043
19043
  "inputs": {
19044
19044
  "<define:process.env>": {
19045
- "bytesInOutput": 17683
19045
+ "bytesInOutput": 17706
19046
19046
  },
19047
19047
  "../../node_modules/lodash/lodash.js": {
19048
19048
  "bytesInOutput": 224296
@@ -19255,7 +19255,7 @@
19255
19255
  "bytesInOutput": 780
19256
19256
  },
19257
19257
  "src/AudioLevel/AudioLevel.tsx": {
19258
- "bytesInOutput": 2372
19258
+ "bytesInOutput": 2408
19259
19259
  },
19260
19260
  "src/Popover/index.tsx": {
19261
19261
  "bytesInOutput": 787
@@ -19576,7 +19576,7 @@
19576
19576
  "bytesInOutput": 10613
19577
19577
  },
19578
19578
  "../hms-video-store/dist/index.js": {
19579
- "bytesInOutput": 54565
19579
+ "bytesInOutput": 54517
19580
19580
  },
19581
19581
  "../../node_modules/reselect/es/index.js": {
19582
19582
  "bytesInOutput": 2539
@@ -19920,7 +19920,7 @@
19920
19920
  "src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
19921
19921
  "bytesInOutput": 3051
19922
19922
  },
19923
- "../../../../../../../tmp/tmp-3105-8fjhtY0riVG5/1989d81d7a30/index.css": {
19923
+ "../../../../../../../tmp/tmp-3112-5ZodL57IzDnT/198e13613011/index.css": {
19924
19924
  "bytesInOutput": 0
19925
19925
  },
19926
19926
  "src/Prebuilt/common/PeersSorter.ts": {
@@ -19933,7 +19933,7 @@
19933
19933
  "bytesInOutput": 30000
19934
19934
  },
19935
19935
  "src/Prebuilt/components/HlsStatsOverlay.jsx": {
19936
- "bytesInOutput": 3861
19936
+ "bytesInOutput": 3395
19937
19937
  },
19938
19938
  "src/Prebuilt/components/HMSVideo/index.ts": {
19939
19939
  "bytesInOutput": 347
@@ -20155,7 +20155,7 @@
20155
20155
  "bytesInOutput": 2777
20156
20156
  }
20157
20157
  },
20158
- "bytes": 1505056
20158
+ "bytes": 1504601
20159
20159
  },
20160
20160
  "dist/index.cjs.css.map": {
20161
20161
  "imports": [],
@@ -20217,10 +20217,10 @@
20217
20217
  }
20218
20218
  ],
20219
20219
  "inputs": {
20220
- "../../../../../../../tmp/tmp-3105-8fjhtY0riVG5/1989d81d8093/tldraw.css": {
20220
+ "../../../../../../../tmp/tmp-3112-5ZodL57IzDnT/198e13613183/tldraw.css": {
20221
20221
  "bytesInOutput": 75223
20222
20222
  },
20223
- "../../../../../../../tmp/tmp-3105-8fjhtY0riVG5/1989d81d7a30/index.css": {
20223
+ "../../../../../../../tmp/tmp-3112-5ZodL57IzDnT/198e13613011/index.css": {
20224
20224
  "bytesInOutput": 401
20225
20225
  }
20226
20226
  },
@@ -1213,7 +1213,7 @@
1213
1213
  "imports": []
1214
1214
  },
1215
1215
  "src/AudioLevel/AudioLevel.tsx": {
1216
- "bytes": 2298,
1216
+ "bytes": 2367,
1217
1217
  "imports": [
1218
1218
  {
1219
1219
  "path": "react",
@@ -5769,7 +5769,7 @@
5769
5769
  "format": "cjs"
5770
5770
  },
5771
5771
  "../hms-video-store/dist/index.js": {
5772
- "bytes": 377102,
5772
+ "bytes": 378186,
5773
5773
  "imports": [
5774
5774
  {
5775
5775
  "path": "../../node_modules/reselect/es/index.js",
@@ -5796,6 +5796,11 @@
5796
5796
  "kind": "import-statement",
5797
5797
  "original": "lodash.isequal"
5798
5798
  },
5799
+ {
5800
+ "path": "uuid",
5801
+ "kind": "import-statement",
5802
+ "external": true
5803
+ },
5799
5804
  {
5800
5805
  "path": "../../node_modules/webrtc-adapter/src/js/adapter_core.js",
5801
5806
  "kind": "import-statement",
@@ -5816,11 +5821,6 @@
5816
5821
  "kind": "import-statement",
5817
5822
  "external": true
5818
5823
  },
5819
- {
5820
- "path": "uuid",
5821
- "kind": "import-statement",
5822
- "external": true
5823
- },
5824
5824
  {
5825
5825
  "path": "eventemitter2",
5826
5826
  "kind": "import-statement",
@@ -11311,7 +11311,7 @@
11311
11311
  ],
11312
11312
  "format": "esm"
11313
11313
  },
11314
- "../../../../../../../tmp/tmp-3105-A9srbY1bkBbz/1989d81d8082/tldraw.css": {
11314
+ "../../../../../../../tmp/tmp-3112-PvyvFFiDoC52/198e13613172/tldraw.css": {
11315
11315
  "bytes": 80111,
11316
11316
  "imports": [
11317
11317
  {
@@ -11361,7 +11361,7 @@
11361
11361
  }
11362
11362
  ]
11363
11363
  },
11364
- "../../../../../../../tmp/tmp-3105-A9srbY1bkBbz/1989d81d7f61/index.css": {
11364
+ "../../../../../../../tmp/tmp-3112-PvyvFFiDoC52/198e136129b0/index.css": {
11365
11365
  "bytes": 597,
11366
11366
  "imports": [
11367
11367
  {
@@ -11370,7 +11370,7 @@
11370
11370
  "external": true
11371
11371
  },
11372
11372
  {
11373
- "path": "../../../../../../../tmp/tmp-3105-A9srbY1bkBbz/1989d81d8082/tldraw.css",
11373
+ "path": "../../../../../../../tmp/tmp-3112-PvyvFFiDoC52/198e13613172/tldraw.css",
11374
11374
  "kind": "import-rule",
11375
11375
  "original": "@tldraw/tldraw/tldraw.css"
11376
11376
  }
@@ -11445,7 +11445,7 @@
11445
11445
  "original": "../../common/constants"
11446
11446
  },
11447
11447
  {
11448
- "path": "../../../../../../../tmp/tmp-3105-A9srbY1bkBbz/1989d81d7f61/index.css",
11448
+ "path": "../../../../../../../tmp/tmp-3112-PvyvFFiDoC52/198e136129b0/index.css",
11449
11449
  "kind": "import-statement",
11450
11450
  "original": "@100mslive/hms-whiteboard/index.css"
11451
11451
  },
@@ -11596,7 +11596,7 @@
11596
11596
  "format": "esm"
11597
11597
  },
11598
11598
  "src/Prebuilt/components/HlsStatsOverlay.jsx": {
11599
- "bytes": 3131,
11599
+ "bytes": 2803,
11600
11600
  "imports": [
11601
11601
  {
11602
11602
  "path": "react",
@@ -15709,7 +15709,7 @@
15709
15709
  "imports": [],
15710
15710
  "exports": [],
15711
15711
  "inputs": {},
15712
- "bytes": 3668929
15712
+ "bytes": 3670466
15713
15713
  },
15714
15714
  "dist/index.js": {
15715
15715
  "imports": [
@@ -19108,7 +19108,7 @@
19108
19108
  "cssBundle": "dist/index.css",
19109
19109
  "inputs": {
19110
19110
  "<define:process.env>": {
19111
- "bytesInOutput": 17683
19111
+ "bytesInOutput": 17706
19112
19112
  },
19113
19113
  "../../node_modules/lodash/lodash.js": {
19114
19114
  "bytesInOutput": 224291
@@ -19321,7 +19321,7 @@
19321
19321
  "bytesInOutput": 755
19322
19322
  },
19323
19323
  "src/AudioLevel/AudioLevel.tsx": {
19324
- "bytesInOutput": 2214
19324
+ "bytesInOutput": 2250
19325
19325
  },
19326
19326
  "src/Popover/index.tsx": {
19327
19327
  "bytesInOutput": 758
@@ -19642,7 +19642,7 @@
19642
19642
  "bytesInOutput": 9861
19643
19643
  },
19644
19644
  "../hms-video-store/dist/index.js": {
19645
- "bytesInOutput": 54453
19645
+ "bytesInOutput": 54405
19646
19646
  },
19647
19647
  "../../node_modules/reselect/es/index.js": {
19648
19648
  "bytesInOutput": 2539
@@ -19986,7 +19986,7 @@
19986
19986
  "src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
19987
19987
  "bytesInOutput": 2830
19988
19988
  },
19989
- "../../../../../../../tmp/tmp-3105-A9srbY1bkBbz/1989d81d7f61/index.css": {
19989
+ "../../../../../../../tmp/tmp-3112-PvyvFFiDoC52/198e136129b0/index.css": {
19990
19990
  "bytesInOutput": 0
19991
19991
  },
19992
19992
  "src/Prebuilt/common/PeersSorter.ts": {
@@ -19999,7 +19999,7 @@
19999
19999
  "bytesInOutput": 28045
20000
20000
  },
20001
20001
  "src/Prebuilt/components/HlsStatsOverlay.jsx": {
20002
- "bytesInOutput": 3592
20002
+ "bytesInOutput": 3171
20003
20003
  },
20004
20004
  "src/Prebuilt/components/HMSVideo/index.ts": {
20005
20005
  "bytesInOutput": 347
@@ -20221,7 +20221,7 @@
20221
20221
  "bytesInOutput": 2632
20222
20222
  }
20223
20223
  },
20224
- "bytes": 1450133
20224
+ "bytes": 1449723
20225
20225
  },
20226
20226
  "dist/index.css.map": {
20227
20227
  "imports": [],
@@ -20283,10 +20283,10 @@
20283
20283
  }
20284
20284
  ],
20285
20285
  "inputs": {
20286
- "../../../../../../../tmp/tmp-3105-A9srbY1bkBbz/1989d81d8082/tldraw.css": {
20286
+ "../../../../../../../tmp/tmp-3112-PvyvFFiDoC52/198e13613172/tldraw.css": {
20287
20287
  "bytesInOutput": 75223
20288
20288
  },
20289
- "../../../../../../../tmp/tmp-3105-A9srbY1bkBbz/1989d81d7f61/index.css": {
20289
+ "../../../../../../../tmp/tmp-3112-PvyvFFiDoC52/198e136129b0/index.css": {
20290
20290
  "bytesInOutput": 401
20291
20291
  }
20292
20292
  },
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "prebuilt",
11
11
  "roomkit"
12
12
  ],
13
- "version": "0.3.37-alpha.0",
13
+ "version": "0.3.38-alpha.0",
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.37-alpha.0",
78
+ "@100mslive/hls-player": "0.3.38-alpha.0",
79
79
  "@100mslive/hms-noise-cancellation": "0.0.1",
80
- "@100mslive/hms-virtual-background": "1.13.37-alpha.0",
81
- "@100mslive/hms-whiteboard": "0.0.27-alpha.0",
82
- "@100mslive/react-icons": "0.10.37-alpha.0",
83
- "@100mslive/react-sdk": "0.10.37-alpha.0",
80
+ "@100mslive/hms-virtual-background": "1.13.38-alpha.0",
81
+ "@100mslive/hms-whiteboard": "0.0.28-alpha.0",
82
+ "@100mslive/react-icons": "0.10.38-alpha.0",
83
+ "@100mslive/react-sdk": "0.10.38-alpha.0",
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": "207d6fe0e2ef196fd2415bb0789e666e86b97f9a"
120
+ "gitHead": "37d70e0a4986c804cb8dcc51fecb4ea1c75761dc"
121
121
  }
@@ -56,10 +56,11 @@ export const AudioLevel = ({ trackId, size }: { trackId?: string; size?: 'small'
56
56
  let index = 0;
57
57
  //@ts-ignore
58
58
  for (const child of ref.current.children) {
59
+ const element = child as HTMLElement;
59
60
  const positionX = `-${positionValues[audioLevel] * (index === 1 ? 2.5 : 1.25)}em`;
60
- child.style['-webkit-mask-position-x'] = positionX;
61
- child.style['mask-position'] = `${positionX} 0`;
62
- child.style['animation'] =
61
+ (element.style as any)['-webkit-mask-position-x'] = positionX;
62
+ (element.style as any)['mask-position'] = `${positionX} 0`;
63
+ element.style.animation =
63
64
  positionValues[audioLevel] > 0 ? `${barAnimation} 0.6s steps(3,jump-none) 0s infinite` : 'none';
64
65
  index++;
65
66
  }
@@ -21,18 +21,6 @@ export function HlsStatsOverlay({ hlsStatsState, onClose }) {
21
21
  <IconButton css={{ position: 'absolute', top: '$2', right: '$2' }} onClick={onClose}>
22
22
  <CrossIcon />
23
23
  </IconButton>
24
- <HlsStatsRow label="URL">
25
- <Flex align="center">
26
- <a
27
- style={{ cursor: 'pointer', textDecoration: 'underline' }}
28
- href={hlsStatsState?.url}
29
- target="_blank"
30
- rel="noreferrer"
31
- >
32
- Stream url
33
- </a>
34
- </Flex>
35
- </HlsStatsRow>
36
24
  <HlsStatsRow label="Video size">
37
25
  {` ${hlsStatsState?.videoSize?.width}x${hlsStatsState?.videoSize?.height}`}
38
26
  </HlsStatsRow>