@100mslive/roomkit-react 0.3.17-alpha.1 → 0.3.17-alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-O4KQ2SQJ.js → HLSView-DRQ5LA2D.js} +2 -2
- package/dist/{HLSView-DIQJQC42.css → HLSView-XS66ENNF.css} +3 -3
- package/dist/{HLSView-DIQJQC42.css.map → HLSView-XS66ENNF.css.map} +1 -1
- package/dist/{chunk-SCKPBPAN.js → chunk-UBM3HDE3.js} +12 -19
- package/dist/{chunk-SCKPBPAN.js.map → chunk-UBM3HDE3.js.map} +2 -2
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +14 -21
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +14 -14
- package/dist/meta.esbuild.json +24 -24
- package/package.json +7 -7
- package/src/Prebuilt/components/Preview/PreviewJoin.tsx +10 -13
- /package/dist/{HLSView-O4KQ2SQJ.js.map → HLSView-DRQ5LA2D.js.map} +0 -0
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"prebuilt",
|
11
11
|
"roomkit"
|
12
12
|
],
|
13
|
-
"version": "0.3.17-alpha.
|
13
|
+
"version": "0.3.17-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.17-alpha.
|
78
|
+
"@100mslive/hls-player": "0.3.17-alpha.2",
|
79
79
|
"@100mslive/hms-noise-cancellation": "0.0.1",
|
80
|
-
"@100mslive/hms-virtual-background": "1.13.17-alpha.
|
81
|
-
"@100mslive/hms-whiteboard": "0.0.7-alpha.
|
82
|
-
"@100mslive/react-icons": "0.10.17-alpha.
|
83
|
-
"@100mslive/react-sdk": "0.10.17-alpha.
|
80
|
+
"@100mslive/hms-virtual-background": "1.13.17-alpha.2",
|
81
|
+
"@100mslive/hms-whiteboard": "0.0.7-alpha.2",
|
82
|
+
"@100mslive/react-icons": "0.10.17-alpha.2",
|
83
|
+
"@100mslive/react-sdk": "0.10.17-alpha.2",
|
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": "
|
120
|
+
"gitHead": "4eac5aec26328f724b6b1a7c9d7df52ed701e193"
|
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: '$
|
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: '
|
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',
|
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={{
|
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) *
|
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(
|
210
|
+
height: 'min(340px, 70vh)',
|
214
211
|
width: 'auto',
|
215
|
-
maxWidth: '
|
212
|
+
maxWidth: '600px',
|
216
213
|
overflow: 'clip',
|
217
|
-
mt: '$
|
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: '$
|
261
|
+
mt: '$6',
|
265
262
|
}}
|
266
263
|
>
|
267
264
|
<Flex css={{ gap: '$4' }}>
|
File without changes
|