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

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.
@@ -5601,7 +5601,7 @@
5601
5601
  "format": "cjs"
5602
5602
  },
5603
5603
  "../hms-video-store/dist/index.js": {
5604
- "bytes": 357265,
5604
+ "bytes": 358732,
5605
5605
  "imports": [
5606
5606
  {
5607
5607
  "path": "../../node_modules/reselect/es/index.js",
@@ -5614,9 +5614,9 @@
5614
5614
  "original": "ua-parser-js"
5615
5615
  },
5616
5616
  {
5617
- "path": "../../node_modules/lodash.isequal/index.js",
5617
+ "path": "uuid",
5618
5618
  "kind": "import-statement",
5619
- "original": "lodash.isequal"
5619
+ "external": true
5620
5620
  },
5621
5621
  {
5622
5622
  "path": "uuid",
@@ -5624,9 +5624,9 @@
5624
5624
  "external": true
5625
5625
  },
5626
5626
  {
5627
- "path": "uuid",
5627
+ "path": "../../node_modules/lodash.isequal/index.js",
5628
5628
  "kind": "import-statement",
5629
- "external": true
5629
+ "original": "lodash.isequal"
5630
5630
  },
5631
5631
  {
5632
5632
  "path": "../../node_modules/webrtc-adapter/src/js/adapter_core.js",
@@ -10224,7 +10224,7 @@
10224
10224
  "format": "esm"
10225
10225
  },
10226
10226
  "src/Prebuilt/components/Preview/PreviewJoin.tsx": {
10227
- "bytes": 10118,
10227
+ "bytes": 10002,
10228
10228
  "imports": [
10229
10229
  {
10230
10230
  "path": "react",
@@ -11216,7 +11216,7 @@
11216
11216
  ],
11217
11217
  "format": "esm"
11218
11218
  },
11219
- "../../../../../../../tmp/tmp-2795-fw31Lj57HETD/190fe5a3d7e3/tldraw.css": {
11219
+ "../../../../../../../tmp/tmp-2790-5gCa4Q5mkiE7/19107e2ed3a2/tldraw.css": {
11220
11220
  "bytes": 80111,
11221
11221
  "imports": [
11222
11222
  {
@@ -11266,7 +11266,7 @@
11266
11266
  }
11267
11267
  ]
11268
11268
  },
11269
- "../../../../../../../tmp/tmp-2795-fw31Lj57HETD/190fe5a3d151/index.css": {
11269
+ "../../../../../../../tmp/tmp-2790-5gCa4Q5mkiE7/19107e2ecd70/index.css": {
11270
11270
  "bytes": 597,
11271
11271
  "imports": [
11272
11272
  {
@@ -11275,7 +11275,7 @@
11275
11275
  "external": true
11276
11276
  },
11277
11277
  {
11278
- "path": "../../../../../../../tmp/tmp-2795-fw31Lj57HETD/190fe5a3d7e3/tldraw.css",
11278
+ "path": "../../../../../../../tmp/tmp-2790-5gCa4Q5mkiE7/19107e2ed3a2/tldraw.css",
11279
11279
  "kind": "import-rule",
11280
11280
  "original": "@tldraw/tldraw/tldraw.css"
11281
11281
  }
@@ -11350,7 +11350,7 @@
11350
11350
  "original": "../../common/constants"
11351
11351
  },
11352
11352
  {
11353
- "path": "../../../../../../../tmp/tmp-2795-fw31Lj57HETD/190fe5a3d151/index.css",
11353
+ "path": "../../../../../../../tmp/tmp-2790-5gCa4Q5mkiE7/19107e2ecd70/index.css",
11354
11354
  "kind": "import-statement",
11355
11355
  "original": "@100mslive/hms-whiteboard/index.css"
11356
11356
  },
@@ -15237,7 +15237,7 @@
15237
15237
  "dist/index.js": {
15238
15238
  "imports": [
15239
15239
  {
15240
- "path": "dist/chunk-SCKPBPAN.js",
15240
+ "path": "dist/chunk-SKEVNNJ2.js",
15241
15241
  "kind": "import-statement"
15242
15242
  }
15243
15243
  ],
@@ -15313,16 +15313,16 @@
15313
15313
  "inputs": {},
15314
15314
  "bytes": 1882
15315
15315
  },
15316
- "dist/HLSView-O4KQ2SQJ.js.map": {
15316
+ "dist/HLSView-OZJSG4V6.js.map": {
15317
15317
  "imports": [],
15318
15318
  "exports": [],
15319
15319
  "inputs": {},
15320
15320
  "bytes": 100275
15321
15321
  },
15322
- "dist/HLSView-O4KQ2SQJ.js": {
15322
+ "dist/HLSView-OZJSG4V6.js": {
15323
15323
  "imports": [
15324
15324
  {
15325
- "path": "dist/chunk-SCKPBPAN.js",
15325
+ "path": "dist/chunk-SKEVNNJ2.js",
15326
15326
  "kind": "import-statement"
15327
15327
  },
15328
15328
  {
@@ -15500,7 +15500,7 @@
15500
15500
  "default"
15501
15501
  ],
15502
15502
  "entryPoint": "src/Prebuilt/layouts/HLSView.jsx",
15503
- "cssBundle": "dist/HLSView-DIQJQC42.css",
15503
+ "cssBundle": "dist/HLSView-6SX3GTZB.css",
15504
15504
  "inputs": {
15505
15505
  "src/Prebuilt/layouts/HLSView.jsx": {
15506
15506
  "bytesInOutput": 27671
@@ -15559,13 +15559,13 @@
15559
15559
  },
15560
15560
  "bytes": 61702
15561
15561
  },
15562
- "dist/chunk-SCKPBPAN.js.map": {
15562
+ "dist/chunk-SKEVNNJ2.js.map": {
15563
15563
  "imports": [],
15564
15564
  "exports": [],
15565
15565
  "inputs": {},
15566
- "bytes": 3477799
15566
+ "bytes": 3480192
15567
15567
  },
15568
- "dist/chunk-SCKPBPAN.js": {
15568
+ "dist/chunk-SKEVNNJ2.js": {
15569
15569
  "imports": [
15570
15570
  {
15571
15571
  "path": "react",
@@ -18088,7 +18088,7 @@
18088
18088
  "external": true
18089
18089
  },
18090
18090
  {
18091
- "path": "dist/HLSView-O4KQ2SQJ.js",
18091
+ "path": "dist/HLSView-OZJSG4V6.js",
18092
18092
  "kind": "dynamic-import"
18093
18093
  },
18094
18094
  {
@@ -18687,7 +18687,7 @@
18687
18687
  ],
18688
18688
  "inputs": {
18689
18689
  "<define:process.env>": {
18690
- "bytesInOutput": 17959
18690
+ "bytesInOutput": 17960
18691
18691
  },
18692
18692
  "../../node_modules/lodash/lodash.js": {
18693
18693
  "bytesInOutput": 224289
@@ -19221,7 +19221,7 @@
19221
19221
  "bytesInOutput": 9486
19222
19222
  },
19223
19223
  "../hms-video-store/dist/index.js": {
19224
- "bytesInOutput": 50057
19224
+ "bytesInOutput": 50216
19225
19225
  },
19226
19226
  "../../node_modules/reselect/es/index.js": {
19227
19227
  "bytesInOutput": 2539
@@ -19356,7 +19356,7 @@
19356
19356
  "bytesInOutput": 3077
19357
19357
  },
19358
19358
  "src/Prebuilt/components/Preview/PreviewJoin.tsx": {
19359
- "bytesInOutput": 10077
19359
+ "bytesInOutput": 9964
19360
19360
  },
19361
19361
  "src/Prebuilt/layouts/SidePane.tsx": {
19362
19362
  "bytesInOutput": 6439
@@ -19580,7 +19580,7 @@
19580
19580
  "src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
19581
19581
  "bytesInOutput": 2830
19582
19582
  },
19583
- "../../../../../../../tmp/tmp-2795-fw31Lj57HETD/190fe5a3d151/index.css": {
19583
+ "../../../../../../../tmp/tmp-2790-5gCa4Q5mkiE7/19107e2ecd70/index.css": {
19584
19584
  "bytesInOutput": 0
19585
19585
  },
19586
19586
  "src/Prebuilt/common/PeersSorter.ts": {
@@ -19746,7 +19746,7 @@
19746
19746
  "bytesInOutput": 2632
19747
19747
  }
19748
19748
  },
19749
- "bytes": 1445462
19749
+ "bytes": 1445509
19750
19750
  },
19751
19751
  "dist/index.css.map": {
19752
19752
  "imports": [],
@@ -19808,22 +19808,22 @@
19808
19808
  }
19809
19809
  ],
19810
19810
  "inputs": {
19811
- "../../../../../../../tmp/tmp-2795-fw31Lj57HETD/190fe5a3d7e3/tldraw.css": {
19811
+ "../../../../../../../tmp/tmp-2790-5gCa4Q5mkiE7/19107e2ed3a2/tldraw.css": {
19812
19812
  "bytesInOutput": 75223
19813
19813
  },
19814
- "../../../../../../../tmp/tmp-2795-fw31Lj57HETD/190fe5a3d151/index.css": {
19814
+ "../../../../../../../tmp/tmp-2790-5gCa4Q5mkiE7/19107e2ecd70/index.css": {
19815
19815
  "bytesInOutput": 401
19816
19816
  }
19817
19817
  },
19818
19818
  "bytes": 75901
19819
19819
  },
19820
- "dist/HLSView-DIQJQC42.css.map": {
19820
+ "dist/HLSView-6SX3GTZB.css.map": {
19821
19821
  "imports": [],
19822
19822
  "exports": [],
19823
19823
  "inputs": {},
19824
19824
  "bytes": 122402
19825
19825
  },
19826
- "dist/HLSView-DIQJQC42.css": {
19826
+ "dist/HLSView-6SX3GTZB.css": {
19827
19827
  "imports": [
19828
19828
  {
19829
19829
  "path": "https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap",
@@ -19877,10 +19877,10 @@
19877
19877
  }
19878
19878
  ],
19879
19879
  "inputs": {
19880
- "../../../../../../../tmp/tmp-2795-fw31Lj57HETD/190fe5a3d7e3/tldraw.css": {
19880
+ "../../../../../../../tmp/tmp-2790-5gCa4Q5mkiE7/19107e2ed3a2/tldraw.css": {
19881
19881
  "bytesInOutput": 75223
19882
19882
  },
19883
- "../../../../../../../tmp/tmp-2795-fw31Lj57HETD/190fe5a3d151/index.css": {
19883
+ "../../../../../../../tmp/tmp-2790-5gCa4Q5mkiE7/19107e2ecd70/index.css": {
19884
19884
  "bytesInOutput": 401
19885
19885
  }
19886
19886
  },
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "prebuilt",
11
11
  "roomkit"
12
12
  ],
13
- "version": "0.3.17-alpha.1",
13
+ "version": "0.3.17-alpha.3",
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.17-alpha.1",
78
+ "@100mslive/hls-player": "0.3.17-alpha.3",
79
79
  "@100mslive/hms-noise-cancellation": "0.0.1",
80
- "@100mslive/hms-virtual-background": "1.13.17-alpha.1",
81
- "@100mslive/hms-whiteboard": "0.0.7-alpha.1",
82
- "@100mslive/react-icons": "0.10.17-alpha.1",
83
- "@100mslive/react-sdk": "0.10.17-alpha.1",
80
+ "@100mslive/hms-virtual-background": "1.13.17-alpha.3",
81
+ "@100mslive/hms-whiteboard": "0.0.7-alpha.3",
82
+ "@100mslive/react-icons": "0.10.17-alpha.3",
83
+ "@100mslive/react-sdk": "0.10.17-alpha.3",
84
84
  "@100mslive/types-prebuilt": "0.12.11",
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": "4d8b6da71642585295d7dfc3b05c43809f35ea8c"
120
+ "gitHead": "d5977b3f04bb2bbf1f89766d3e0e55fc189af53d"
121
121
  }
@@ -131,23 +131,20 @@ const PreviewJoin = ({
131
131
 
132
132
  return roomState === HMSRoomState.Preview ? (
133
133
  <Flex justify="center" css={{ size: '100%', position: 'relative' }}>
134
- <Container css={{ h: '100%', pt: '$10', '@md': { justifyContent: 'space-between' } }}>
134
+ <Container css={{ h: '100%', pt: '$6', '@md': { justifyContent: 'space-between', pt: '$10' } }}>
135
135
  {toggleVideo ? null : <Box />}
136
- <Flex direction="column" justify="center" css={{ w: '100%', maxWidth: '640px' }}>
136
+ <Flex direction="column" justify="center" css={{ w: '100%', maxWidth: '600px', gap: '$8' }}>
137
137
  <Logo />
138
- <Text
139
- variant="h4"
140
- css={{ wordBreak: 'break-word', textAlign: 'center', mt: '$14', mb: '$4', '@md': { mt: '$8', mb: '$2' } }}
141
- >
138
+ <Text variant="h4" css={{ wordBreak: 'break-word', textAlign: 'center' }}>
142
139
  {previewHeader.title}
143
140
  </Text>
144
141
  <Text
145
- css={{ c: '$on_surface_medium', my: '0', textAlign: 'center', maxWidth: '100%', wordWrap: 'break-word' }}
142
+ css={{ c: '$on_surface_medium', textAlign: 'center', maxWidth: '100%', wordWrap: 'break-word' }}
146
143
  variant="sm"
147
144
  >
148
145
  {previewHeader.sub_title}
149
146
  </Text>
150
- <Flex justify="center" css={{ mt: '$14', '@md': { mt: '$8', mb: '0' }, gap: '$4' }}>
147
+ <Flex justify="center" css={{ gap: '$4' }}>
151
148
  {isStreamingOn ? (
152
149
  <Chip
153
150
  content="LIVE"
@@ -160,7 +157,7 @@ const PreviewJoin = ({
160
157
  </Flex>
161
158
  </Flex>
162
159
  {toggleVideo ? <PreviewTile name={name} error={previewError} /> : null}
163
- <Box css={{ w: '100%', maxWidth: `${Math.max(aspectRatio, 1) * 360}px` }}>
160
+ <Box css={{ w: '100%', maxWidth: `${Math.max(aspectRatio, 1) * 340}px` }}>
164
161
  <PreviewControls hideSettings={!toggleVideo && !toggleAudio} vbEnabled={!!virtual_background} />
165
162
  <PreviewForm
166
163
  name={name}
@@ -210,11 +207,11 @@ export const PreviewTile = ({ name, error }: { name: string; error?: boolean })
210
207
  css={{
211
208
  bg: '$surface_default',
212
209
  aspectRatio,
213
- height: 'min(360px, 70vh)',
210
+ height: 'min(340px, 70vh)',
214
211
  width: 'auto',
215
- maxWidth: '640px',
212
+ maxWidth: '600px',
216
213
  overflow: 'clip',
217
- mt: '$14',
214
+ mt: '$10',
218
215
  '@md': {
219
216
  mt: 0,
220
217
  width: 'min(220px, 70vw)',
@@ -261,7 +258,7 @@ export const PreviewControls = ({ hideSettings, vbEnabled }: { hideSettings: boo
261
258
  justify={hideSettings && isMobile ? 'center' : 'between'}
262
259
  css={{
263
260
  width: '100%',
264
- mt: '$8',
261
+ mt: '$6',
265
262
  }}
266
263
  >
267
264
  <Flex css={{ gap: '$4' }}>