@100mslive/roomkit-react 0.3.19-alpha.7 → 0.3.19-alpha.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -10948,7 +10948,7 @@
10948
10948
  "format": "esm"
10949
10949
  },
10950
10950
  "src/Prebuilt/components/VideoLayouts/RoleProminence.tsx": {
10951
- "bytes": 2591,
10951
+ "bytes": 2299,
10952
10952
  "imports": [
10953
10953
  {
10954
10954
  "path": "react",
@@ -10985,11 +10985,6 @@
10985
10985
  "kind": "import-statement",
10986
10986
  "original": "../SecondaryTiles"
10987
10987
  },
10988
- {
10989
- "path": "src/Prebuilt/components/Settings/LayoutSettings.tsx",
10990
- "kind": "import-statement",
10991
- "original": "../Settings/LayoutSettings"
10992
- },
10993
10988
  {
10994
10989
  "path": "src/Prebuilt/components/VideoLayouts/Grid.tsx",
10995
10990
  "kind": "import-statement",
@@ -11297,7 +11292,7 @@
11297
11292
  ],
11298
11293
  "format": "esm"
11299
11294
  },
11300
- "../../../../../../../tmp/tmp-2883-n0E249CpKC2H/191b26240513/tldraw.css": {
11295
+ "../../../../../../../tmp/tmp-2750-L5SPpcs6sxtT/191b31da2aa2/tldraw.css": {
11301
11296
  "bytes": 80111,
11302
11297
  "imports": [
11303
11298
  {
@@ -11347,7 +11342,7 @@
11347
11342
  }
11348
11343
  ]
11349
11344
  },
11350
- "../../../../../../../tmp/tmp-2883-n0E249CpKC2H/191b262400a1/index.css": {
11345
+ "../../../../../../../tmp/tmp-2750-L5SPpcs6sxtT/191b31da2500/index.css": {
11351
11346
  "bytes": 597,
11352
11347
  "imports": [
11353
11348
  {
@@ -11356,7 +11351,7 @@
11356
11351
  "external": true
11357
11352
  },
11358
11353
  {
11359
- "path": "../../../../../../../tmp/tmp-2883-n0E249CpKC2H/191b26240513/tldraw.css",
11354
+ "path": "../../../../../../../tmp/tmp-2750-L5SPpcs6sxtT/191b31da2aa2/tldraw.css",
11360
11355
  "kind": "import-rule",
11361
11356
  "original": "@tldraw/tldraw/tldraw.css"
11362
11357
  }
@@ -11431,7 +11426,7 @@
11431
11426
  "original": "../../common/constants"
11432
11427
  },
11433
11428
  {
11434
- "path": "../../../../../../../tmp/tmp-2883-n0E249CpKC2H/191b262400a1/index.css",
11429
+ "path": "../../../../../../../tmp/tmp-2750-L5SPpcs6sxtT/191b31da2500/index.css",
11435
11430
  "kind": "import-statement",
11436
11431
  "original": "@100mslive/hms-whiteboard/index.css"
11437
11432
  },
@@ -15419,7 +15414,7 @@
15419
15414
  "dist/index.js": {
15420
15415
  "imports": [
15421
15416
  {
15422
- "path": "dist/chunk-LDTFZNHE.js",
15417
+ "path": "dist/chunk-P323KKZF.js",
15423
15418
  "kind": "import-statement"
15424
15419
  }
15425
15420
  ],
@@ -15495,16 +15490,16 @@
15495
15490
  "inputs": {},
15496
15491
  "bytes": 1882
15497
15492
  },
15498
- "dist/HLSView-XC3A2RPP.js.map": {
15493
+ "dist/HLSView-72N5Y4QP.js.map": {
15499
15494
  "imports": [],
15500
15495
  "exports": [],
15501
15496
  "inputs": {},
15502
15497
  "bytes": 100275
15503
15498
  },
15504
- "dist/HLSView-XC3A2RPP.js": {
15499
+ "dist/HLSView-72N5Y4QP.js": {
15505
15500
  "imports": [
15506
15501
  {
15507
- "path": "dist/chunk-LDTFZNHE.js",
15502
+ "path": "dist/chunk-P323KKZF.js",
15508
15503
  "kind": "import-statement"
15509
15504
  },
15510
15505
  {
@@ -15682,7 +15677,7 @@
15682
15677
  "default"
15683
15678
  ],
15684
15679
  "entryPoint": "src/Prebuilt/layouts/HLSView.jsx",
15685
- "cssBundle": "dist/HLSView-E3QNR32D.css",
15680
+ "cssBundle": "dist/HLSView-Y4ED3H3Z.css",
15686
15681
  "inputs": {
15687
15682
  "src/Prebuilt/layouts/HLSView.jsx": {
15688
15683
  "bytesInOutput": 27671
@@ -15741,13 +15736,13 @@
15741
15736
  },
15742
15737
  "bytes": 61702
15743
15738
  },
15744
- "dist/chunk-LDTFZNHE.js.map": {
15739
+ "dist/chunk-P323KKZF.js.map": {
15745
15740
  "imports": [],
15746
15741
  "exports": [],
15747
15742
  "inputs": {},
15748
- "bytes": 3518697
15743
+ "bytes": 3518275
15749
15744
  },
15750
- "dist/chunk-LDTFZNHE.js": {
15745
+ "dist/chunk-P323KKZF.js": {
15751
15746
  "imports": [
15752
15747
  {
15753
15748
  "path": "react",
@@ -18290,7 +18285,7 @@
18290
18285
  "external": true
18291
18286
  },
18292
18287
  {
18293
- "path": "dist/HLSView-XC3A2RPP.js",
18288
+ "path": "dist/HLSView-72N5Y4QP.js",
18294
18289
  "kind": "dynamic-import"
18295
18290
  },
18296
18291
  {
@@ -18909,7 +18904,7 @@
18909
18904
  ],
18910
18905
  "inputs": {
18911
18906
  "<define:process.env>": {
18912
- "bytesInOutput": 18004
18907
+ "bytesInOutput": 18025
18913
18908
  },
18914
18909
  "../../node_modules/lodash/lodash.js": {
18915
18910
  "bytesInOutput": 224301
@@ -19779,7 +19774,7 @@
19779
19774
  "bytesInOutput": 3837
19780
19775
  },
19781
19776
  "src/Prebuilt/components/VideoLayouts/RoleProminence.tsx": {
19782
- "bytesInOutput": 2183
19777
+ "bytesInOutput": 1948
19783
19778
  },
19784
19779
  "src/Prebuilt/components/SecondaryTiles.tsx": {
19785
19780
  "bytesInOutput": 2706
@@ -19805,7 +19800,7 @@
19805
19800
  "src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
19806
19801
  "bytesInOutput": 2830
19807
19802
  },
19808
- "../../../../../../../tmp/tmp-2883-n0E249CpKC2H/191b262400a1/index.css": {
19803
+ "../../../../../../../tmp/tmp-2750-L5SPpcs6sxtT/191b31da2500/index.css": {
19809
19804
  "bytesInOutput": 0
19810
19805
  },
19811
19806
  "src/Prebuilt/common/PeersSorter.ts": {
@@ -19974,7 +19969,7 @@
19974
19969
  "bytesInOutput": 2628
19975
19970
  }
19976
19971
  },
19977
- "bytes": 1459394
19972
+ "bytes": 1459180
19978
19973
  },
19979
19974
  "dist/index.css.map": {
19980
19975
  "imports": [],
@@ -20036,22 +20031,22 @@
20036
20031
  }
20037
20032
  ],
20038
20033
  "inputs": {
20039
- "../../../../../../../tmp/tmp-2883-n0E249CpKC2H/191b26240513/tldraw.css": {
20034
+ "../../../../../../../tmp/tmp-2750-L5SPpcs6sxtT/191b31da2aa2/tldraw.css": {
20040
20035
  "bytesInOutput": 75223
20041
20036
  },
20042
- "../../../../../../../tmp/tmp-2883-n0E249CpKC2H/191b262400a1/index.css": {
20037
+ "../../../../../../../tmp/tmp-2750-L5SPpcs6sxtT/191b31da2500/index.css": {
20043
20038
  "bytesInOutput": 401
20044
20039
  }
20045
20040
  },
20046
20041
  "bytes": 75901
20047
20042
  },
20048
- "dist/HLSView-E3QNR32D.css.map": {
20043
+ "dist/HLSView-Y4ED3H3Z.css.map": {
20049
20044
  "imports": [],
20050
20045
  "exports": [],
20051
20046
  "inputs": {},
20052
20047
  "bytes": 122402
20053
20048
  },
20054
- "dist/HLSView-E3QNR32D.css": {
20049
+ "dist/HLSView-Y4ED3H3Z.css": {
20055
20050
  "imports": [
20056
20051
  {
20057
20052
  "path": "https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap",
@@ -20105,10 +20100,10 @@
20105
20100
  }
20106
20101
  ],
20107
20102
  "inputs": {
20108
- "../../../../../../../tmp/tmp-2883-n0E249CpKC2H/191b26240513/tldraw.css": {
20103
+ "../../../../../../../tmp/tmp-2750-L5SPpcs6sxtT/191b31da2aa2/tldraw.css": {
20109
20104
  "bytesInOutput": 75223
20110
20105
  },
20111
- "../../../../../../../tmp/tmp-2883-n0E249CpKC2H/191b262400a1/index.css": {
20106
+ "../../../../../../../tmp/tmp-2750-L5SPpcs6sxtT/191b31da2500/index.css": {
20112
20107
  "bytesInOutput": 401
20113
20108
  }
20114
20109
  },
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "prebuilt",
11
11
  "roomkit"
12
12
  ],
13
- "version": "0.3.19-alpha.7",
13
+ "version": "0.3.19-alpha.8",
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.19-alpha.7",
78
+ "@100mslive/hls-player": "0.3.19-alpha.8",
79
79
  "@100mslive/hms-noise-cancellation": "0.0.1",
80
- "@100mslive/hms-virtual-background": "1.13.19-alpha.7",
81
- "@100mslive/hms-whiteboard": "0.0.9-alpha.7",
82
- "@100mslive/react-icons": "0.10.19-alpha.7",
83
- "@100mslive/react-sdk": "0.10.19-alpha.7",
80
+ "@100mslive/hms-virtual-background": "1.13.19-alpha.8",
81
+ "@100mslive/hms-whiteboard": "0.0.9-alpha.8",
82
+ "@100mslive/react-icons": "0.10.19-alpha.8",
83
+ "@100mslive/react-sdk": "0.10.19-alpha.8",
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": "50b8b39de066c76d8275b383a40e7d4b60d6851e"
120
+ "gitHead": "da4d46cf000a606d2f48261536d8e00a03c1fdb0"
121
121
  }
@@ -5,7 +5,6 @@ import { config as cssConfig } from '../../../Theme';
5
5
  import { InsetTile } from '../InsetTile';
6
6
  import { Pagination } from '../Pagination';
7
7
  import { SecondaryTiles } from '../SecondaryTiles';
8
- import { LayoutMode } from '../Settings/LayoutSettings';
9
8
  import { Grid } from './Grid';
10
9
  import { LayoutProps } from './interface';
11
10
  import { ProminenceLayout } from './ProminenceLayout';
@@ -25,7 +24,6 @@ export function RoleProminence({
25
24
  }: LayoutProps) {
26
25
  const { prominentPeers, secondaryPeers } = useRoleProminencePeers(prominentRoles, peers, isInsetEnabled);
27
26
  const localPeer = useHMSStore(selectLocalPeer);
28
- const layoutMode = useUISettings(UI_SETTINGS.layoutMode);
29
27
  const isMobile = useMedia(cssConfig.media.md);
30
28
  let maxTileCount = useUISettings(UI_SETTINGS.maxTileCount);
31
29
  maxTileCount = isMobile ? 4 : maxTileCount;
@@ -47,7 +45,7 @@ export function RoleProminence({
47
45
  }, [pageSize, onPageSize]);
48
46
 
49
47
  return (
50
- <ProminenceLayout.Root hasSidebar={layoutMode === LayoutMode.SIDEBAR}>
48
+ <ProminenceLayout.Root>
51
49
  <ProminenceLayout.ProminentSection>
52
50
  <Grid ref={ref} tiles={pagesWithTiles[page]} />
53
51
  </ProminenceLayout.ProminentSection>
@@ -61,12 +59,7 @@ export function RoleProminence({
61
59
  numPages={pagesWithTiles.length}
62
60
  />
63
61
  )}
64
- <SecondaryTiles
65
- peers={layoutMode === LayoutMode.SPOTLIGHT ? [] : secondaryPeers}
66
- isInsetEnabled={isInsetEnabled}
67
- edgeToEdge={edgeToEdge}
68
- hasSidebar={layoutMode === LayoutMode.SIDEBAR}
69
- />
62
+ <SecondaryTiles peers={secondaryPeers} isInsetEnabled={isInsetEnabled} edgeToEdge={edgeToEdge} />
70
63
  {isInsetEnabled && localPeer && prominentPeers.length > 0 && !prominentPeers.includes(localPeer) && <InsetTile />}
71
64
  </ProminenceLayout.Root>
72
65
  );