@100mslive/roomkit-react 0.3.21-alpha.1 → 0.3.21-alpha.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -10738,7 +10738,7 @@
10738
10738
  "format": "esm"
10739
10739
  },
10740
10740
  "src/Prebuilt/components/VideoLayouts/EqualProminence.tsx": {
10741
- "bytes": 2301,
10741
+ "bytes": 2113,
10742
10742
  "imports": [
10743
10743
  {
10744
10744
  "path": "react",
@@ -10750,11 +10750,6 @@
10750
10750
  "kind": "import-statement",
10751
10751
  "external": true
10752
10752
  },
10753
- {
10754
- "path": "@100mslive/react-sdk",
10755
- "kind": "import-statement",
10756
- "external": true
10757
- },
10758
10753
  {
10759
10754
  "path": "@100mslive/react-icons",
10760
10755
  "kind": "import-statement",
@@ -11291,7 +11286,7 @@
11291
11286
  ],
11292
11287
  "format": "esm"
11293
11288
  },
11294
- "../../../../../../../tmp/tmp-2795-W5UJ4PoADTum/1921e7e16ad3/tldraw.css": {
11289
+ "../../../../../../../tmp/tmp-2800-H5aRnT1nSUOm/19228c9918e1/tldraw.css": {
11295
11290
  "bytes": 80111,
11296
11291
  "imports": [
11297
11292
  {
@@ -11341,7 +11336,7 @@
11341
11336
  }
11342
11337
  ]
11343
11338
  },
11344
- "../../../../../../../tmp/tmp-2795-W5UJ4PoADTum/1921e7e16471/index.css": {
11339
+ "../../../../../../../tmp/tmp-2800-H5aRnT1nSUOm/19228c991200/index.css": {
11345
11340
  "bytes": 597,
11346
11341
  "imports": [
11347
11342
  {
@@ -11350,7 +11345,7 @@
11350
11345
  "external": true
11351
11346
  },
11352
11347
  {
11353
- "path": "../../../../../../../tmp/tmp-2795-W5UJ4PoADTum/1921e7e16ad3/tldraw.css",
11348
+ "path": "../../../../../../../tmp/tmp-2800-H5aRnT1nSUOm/19228c9918e1/tldraw.css",
11354
11349
  "kind": "import-rule",
11355
11350
  "original": "@tldraw/tldraw/tldraw.css"
11356
11351
  }
@@ -11425,7 +11420,7 @@
11425
11420
  "original": "../../common/constants"
11426
11421
  },
11427
11422
  {
11428
- "path": "../../../../../../../tmp/tmp-2795-W5UJ4PoADTum/1921e7e16471/index.css",
11423
+ "path": "../../../../../../../tmp/tmp-2800-H5aRnT1nSUOm/19228c991200/index.css",
11429
11424
  "kind": "import-statement",
11430
11425
  "original": "@100mslive/hms-whiteboard/index.css"
11431
11426
  },
@@ -15413,7 +15408,7 @@
15413
15408
  "dist/index.js": {
15414
15409
  "imports": [
15415
15410
  {
15416
- "path": "dist/chunk-J5FLGI2T.js",
15411
+ "path": "dist/chunk-BRVEA35D.js",
15417
15412
  "kind": "import-statement"
15418
15413
  }
15419
15414
  ],
@@ -15489,16 +15484,16 @@
15489
15484
  "inputs": {},
15490
15485
  "bytes": 1882
15491
15486
  },
15492
- "dist/HLSView-3JERKVTE.js.map": {
15487
+ "dist/HLSView-DGDWG7V5.js.map": {
15493
15488
  "imports": [],
15494
15489
  "exports": [],
15495
15490
  "inputs": {},
15496
15491
  "bytes": 101299
15497
15492
  },
15498
- "dist/HLSView-3JERKVTE.js": {
15493
+ "dist/HLSView-DGDWG7V5.js": {
15499
15494
  "imports": [
15500
15495
  {
15501
- "path": "dist/chunk-J5FLGI2T.js",
15496
+ "path": "dist/chunk-BRVEA35D.js",
15502
15497
  "kind": "import-statement"
15503
15498
  },
15504
15499
  {
@@ -15676,7 +15671,7 @@
15676
15671
  "default"
15677
15672
  ],
15678
15673
  "entryPoint": "src/Prebuilt/layouts/HLSView.jsx",
15679
- "cssBundle": "dist/HLSView-3CVLSXRH.css",
15674
+ "cssBundle": "dist/HLSView-ZWYXQX6E.css",
15680
15675
  "inputs": {
15681
15676
  "src/Prebuilt/layouts/HLSView.jsx": {
15682
15677
  "bytesInOutput": 27634
@@ -15735,13 +15730,13 @@
15735
15730
  },
15736
15731
  "bytes": 62273
15737
15732
  },
15738
- "dist/chunk-J5FLGI2T.js.map": {
15733
+ "dist/chunk-BRVEA35D.js.map": {
15739
15734
  "imports": [],
15740
15735
  "exports": [],
15741
15736
  "inputs": {},
15742
- "bytes": 3525223
15737
+ "bytes": 3524863
15743
15738
  },
15744
- "dist/chunk-J5FLGI2T.js": {
15739
+ "dist/chunk-BRVEA35D.js": {
15745
15740
  "imports": [
15746
15741
  {
15747
15742
  "path": "react",
@@ -18033,11 +18028,6 @@
18033
18028
  "kind": "import-statement",
18034
18029
  "external": true
18035
18030
  },
18036
- {
18037
- "path": "@100mslive/react-sdk",
18038
- "kind": "import-statement",
18039
- "external": true
18040
- },
18041
18031
  {
18042
18032
  "path": "@100mslive/react-icons",
18043
18033
  "kind": "import-statement",
@@ -18289,7 +18279,7 @@
18289
18279
  "external": true
18290
18280
  },
18291
18281
  {
18292
- "path": "dist/HLSView-3JERKVTE.js",
18282
+ "path": "dist/HLSView-DGDWG7V5.js",
18293
18283
  "kind": "dynamic-import"
18294
18284
  },
18295
18285
  {
@@ -18908,7 +18898,7 @@
18908
18898
  ],
18909
18899
  "inputs": {
18910
18900
  "<define:process.env>": {
18911
- "bytesInOutput": 18007
18901
+ "bytesInOutput": 18006
18912
18902
  },
18913
18903
  "../../node_modules/lodash/lodash.js": {
18914
18904
  "bytesInOutput": 224291
@@ -19754,7 +19744,7 @@
19754
19744
  "bytesInOutput": 4550
19755
19745
  },
19756
19746
  "src/Prebuilt/components/VideoLayouts/EqualProminence.tsx": {
19757
- "bytesInOutput": 2110
19747
+ "bytesInOutput": 1886
19758
19748
  },
19759
19749
  "src/Prebuilt/layouts/WaitingView.tsx": {
19760
19750
  "bytesInOutput": 1370
@@ -19801,7 +19791,7 @@
19801
19791
  "src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
19802
19792
  "bytesInOutput": 2830
19803
19793
  },
19804
- "../../../../../../../tmp/tmp-2795-W5UJ4PoADTum/1921e7e16471/index.css": {
19794
+ "../../../../../../../tmp/tmp-2800-H5aRnT1nSUOm/19228c991200/index.css": {
19805
19795
  "bytesInOutput": 0
19806
19796
  },
19807
19797
  "src/Prebuilt/common/PeersSorter.ts": {
@@ -19970,7 +19960,7 @@
19970
19960
  "bytesInOutput": 2628
19971
19961
  }
19972
19962
  },
19973
- "bytes": 1461045
19963
+ "bytes": 1460820
19974
19964
  },
19975
19965
  "dist/index.css.map": {
19976
19966
  "imports": [],
@@ -20032,22 +20022,22 @@
20032
20022
  }
20033
20023
  ],
20034
20024
  "inputs": {
20035
- "../../../../../../../tmp/tmp-2795-W5UJ4PoADTum/1921e7e16ad3/tldraw.css": {
20025
+ "../../../../../../../tmp/tmp-2800-H5aRnT1nSUOm/19228c9918e1/tldraw.css": {
20036
20026
  "bytesInOutput": 75223
20037
20027
  },
20038
- "../../../../../../../tmp/tmp-2795-W5UJ4PoADTum/1921e7e16471/index.css": {
20028
+ "../../../../../../../tmp/tmp-2800-H5aRnT1nSUOm/19228c991200/index.css": {
20039
20029
  "bytesInOutput": 401
20040
20030
  }
20041
20031
  },
20042
20032
  "bytes": 75901
20043
20033
  },
20044
- "dist/HLSView-3CVLSXRH.css.map": {
20034
+ "dist/HLSView-ZWYXQX6E.css.map": {
20045
20035
  "imports": [],
20046
20036
  "exports": [],
20047
20037
  "inputs": {},
20048
20038
  "bytes": 122402
20049
20039
  },
20050
- "dist/HLSView-3CVLSXRH.css": {
20040
+ "dist/HLSView-ZWYXQX6E.css": {
20051
20041
  "imports": [
20052
20042
  {
20053
20043
  "path": "https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap",
@@ -20101,10 +20091,10 @@
20101
20091
  }
20102
20092
  ],
20103
20093
  "inputs": {
20104
- "../../../../../../../tmp/tmp-2795-W5UJ4PoADTum/1921e7e16ad3/tldraw.css": {
20094
+ "../../../../../../../tmp/tmp-2800-H5aRnT1nSUOm/19228c9918e1/tldraw.css": {
20105
20095
  "bytesInOutput": 75223
20106
20096
  },
20107
- "../../../../../../../tmp/tmp-2795-W5UJ4PoADTum/1921e7e16471/index.css": {
20097
+ "../../../../../../../tmp/tmp-2800-H5aRnT1nSUOm/19228c991200/index.css": {
20108
20098
  "bytesInOutput": 401
20109
20099
  }
20110
20100
  },
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "prebuilt",
11
11
  "roomkit"
12
12
  ],
13
- "version": "0.3.21-alpha.1",
13
+ "version": "0.3.21-alpha.2",
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.21-alpha.1",
78
+ "@100mslive/hls-player": "0.3.21-alpha.2",
79
79
  "@100mslive/hms-noise-cancellation": "0.0.1",
80
- "@100mslive/hms-virtual-background": "1.13.21-alpha.1",
81
- "@100mslive/hms-whiteboard": "0.0.11-alpha.1",
82
- "@100mslive/react-icons": "0.10.21-alpha.1",
83
- "@100mslive/react-sdk": "0.10.21-alpha.1",
80
+ "@100mslive/hms-virtual-background": "1.13.21-alpha.2",
81
+ "@100mslive/hms-whiteboard": "0.0.11-alpha.2",
82
+ "@100mslive/react-icons": "0.10.21-alpha.2",
83
+ "@100mslive/react-sdk": "0.10.21-alpha.2",
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": "0a20a1cccaa0c7d4b42eaee308d1132efb938bb2"
120
+ "gitHead": "e0cb9db14277a5335a89b8c71f7fc3212018bc68"
121
121
  }
@@ -1,6 +1,5 @@
1
1
  import React, { useEffect, useState } from 'react';
2
2
  import { useMedia } from 'react-use';
3
- import { selectPeerCount, useHMSStore } from '@100mslive/react-sdk';
4
3
  import { PeopleAddIcon } from '@100mslive/react-icons';
5
4
  import { Flex } from '../../../Layout';
6
5
  import { config as cssConfig } from '../../../Theme';
@@ -18,7 +17,6 @@ export function EqualProminence({ isInsetEnabled = false, peers, onPageChange, o
18
17
  const isMobile = useMedia(cssConfig.media.md);
19
18
  let maxTileCount = useUISettings(UI_SETTINGS.maxTileCount);
20
19
  maxTileCount = isMobile ? Math.min(maxTileCount, 6) : maxTileCount;
21
- const peerCount = useHMSStore(selectPeerCount);
22
20
  const pageList = usePagesWithTiles({
23
21
  peers,
24
22
  maxTileCount,
@@ -53,8 +51,8 @@ export function EqualProminence({ isInsetEnabled = false, peers, onPageChange, o
53
51
  )}
54
52
  {pageList.length === 0 ? (
55
53
  <WaitingView
56
- title={peerCount <= 1 ? "You're the only one here" : 'Glad to have you here'}
57
- subtitle={peerCount <= 1 ? 'Sit back and relax till others join' : ''}
54
+ title="You're the only one here"
55
+ subtitle="Sit back and relax till others join"
58
56
  icon={<PeopleAddIcon width="56px" height="56px" style={{ color: 'white' }} />}
59
57
  />
60
58
  ) : null}