@100mslive/roomkit-react 0.2.4-alpha.4 → 0.2.5-alpha.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -62,7 +62,7 @@ import {
62
62
  theme,
63
63
  useBorderAudioLevel,
64
64
  useTheme
65
- } from "./chunk-TQATKHZJ.js";
65
+ } from "./chunk-HTKPRC4T.js";
66
66
  export {
67
67
  Accordion,
68
68
  AudioLevel,
@@ -7392,7 +7392,7 @@
7392
7392
  "imports": []
7393
7393
  },
7394
7394
  "src/Prebuilt/components/Chat/EmptyChat.tsx": {
7395
- "bytes": 1781,
7395
+ "bytes": 1855,
7396
7396
  "imports": [
7397
7397
  {
7398
7398
  "path": "react",
@@ -8044,7 +8044,7 @@
8044
8044
  "format": "esm"
8045
8045
  },
8046
8046
  "src/Prebuilt/components/Chat/Chat.tsx": {
8047
- "bytes": 3558,
8047
+ "bytes": 3578,
8048
8048
  "imports": [
8049
8049
  {
8050
8050
  "path": "react",
@@ -8262,7 +8262,7 @@
8262
8262
  "format": "esm"
8263
8263
  },
8264
8264
  "src/Prebuilt/components/SidePaneTabs.tsx": {
8265
- "bytes": 7970,
8265
+ "bytes": 7873,
8266
8266
  "imports": [
8267
8267
  {
8268
8268
  "path": "react",
@@ -8884,7 +8884,7 @@
8884
8884
  "format": "esm"
8885
8885
  },
8886
8886
  "src/Prebuilt/layouts/SidePane.tsx": {
8887
- "bytes": 5020,
8887
+ "bytes": 4970,
8888
8888
  "imports": [
8889
8889
  {
8890
8890
  "path": "react",
@@ -12775,7 +12775,7 @@
12775
12775
  "imports": [],
12776
12776
  "exports": [],
12777
12777
  "inputs": {},
12778
- "bytes": 3165297
12778
+ "bytes": 3165213
12779
12779
  },
12780
12780
  "dist/index.cjs.js": {
12781
12781
  "imports": [
@@ -15479,7 +15479,7 @@
15479
15479
  "entryPoint": "src/index.ts",
15480
15480
  "inputs": {
15481
15481
  "<define:process.env>": {
15482
- "bytesInOutput": 18125
15482
+ "bytesInOutput": 18104
15483
15483
  },
15484
15484
  "src/Theme/base.config.ts": {
15485
15485
  "bytesInOutput": 6104
@@ -16151,7 +16151,7 @@
16151
16151
  "bytesInOutput": 2366
16152
16152
  },
16153
16153
  "src/Prebuilt/components/Chat/EmptyChat.tsx": {
16154
- "bytesInOutput": 2211
16154
+ "bytesInOutput": 2318
16155
16155
  },
16156
16156
  "src/Prebuilt/components/hooks/usePinnedBy.tsx": {
16157
16157
  "bytesInOutput": 920
@@ -16187,7 +16187,7 @@
16187
16187
  "bytesInOutput": 6150
16188
16188
  },
16189
16189
  "src/Prebuilt/components/Chat/Chat.tsx": {
16190
- "bytesInOutput": 4376
16190
+ "bytesInOutput": 4402
16191
16191
  },
16192
16192
  "src/Prebuilt/components/Footer/PaginatedParticipants.tsx": {
16193
16193
  "bytesInOutput": 5344
@@ -16196,7 +16196,7 @@
16196
16196
  "bytesInOutput": 3060
16197
16197
  },
16198
16198
  "src/Prebuilt/components/SidePaneTabs.tsx": {
16199
- "bytesInOutput": 9046
16199
+ "bytesInOutput": 8908
16200
16200
  },
16201
16201
  "src/Prebuilt/components/Connection/TileConnection.tsx": {
16202
16202
  "bytesInOutput": 2685
@@ -16232,7 +16232,7 @@
16232
16232
  "bytesInOutput": 8224
16233
16233
  },
16234
16234
  "src/Prebuilt/layouts/SidePane.tsx": {
16235
- "bytesInOutput": 5644
16235
+ "bytesInOutput": 5592
16236
16236
  },
16237
16237
  "src/Prebuilt/components/Chip.tsx": {
16238
16238
  "bytesInOutput": 1118
@@ -16487,7 +16487,7 @@
16487
16487
  "bytesInOutput": 2980
16488
16488
  }
16489
16489
  },
16490
- "bytes": 1487014
16490
+ "bytes": 1486936
16491
16491
  }
16492
16492
  }
16493
16493
  }
@@ -7392,7 +7392,7 @@
7392
7392
  "imports": []
7393
7393
  },
7394
7394
  "src/Prebuilt/components/Chat/EmptyChat.tsx": {
7395
- "bytes": 1781,
7395
+ "bytes": 1855,
7396
7396
  "imports": [
7397
7397
  {
7398
7398
  "path": "react",
@@ -8044,7 +8044,7 @@
8044
8044
  "format": "esm"
8045
8045
  },
8046
8046
  "src/Prebuilt/components/Chat/Chat.tsx": {
8047
- "bytes": 3558,
8047
+ "bytes": 3578,
8048
8048
  "imports": [
8049
8049
  {
8050
8050
  "path": "react",
@@ -8262,7 +8262,7 @@
8262
8262
  "format": "esm"
8263
8263
  },
8264
8264
  "src/Prebuilt/components/SidePaneTabs.tsx": {
8265
- "bytes": 7970,
8265
+ "bytes": 7873,
8266
8266
  "imports": [
8267
8267
  {
8268
8268
  "path": "react",
@@ -8884,7 +8884,7 @@
8884
8884
  "format": "esm"
8885
8885
  },
8886
8886
  "src/Prebuilt/layouts/SidePane.tsx": {
8887
- "bytes": 5020,
8887
+ "bytes": 4970,
8888
8888
  "imports": [
8889
8889
  {
8890
8890
  "path": "react",
@@ -12780,7 +12780,7 @@
12780
12780
  "dist/index.js": {
12781
12781
  "imports": [
12782
12782
  {
12783
- "path": "dist/chunk-TQATKHZJ.js",
12783
+ "path": "dist/chunk-HTKPRC4T.js",
12784
12784
  "kind": "import-statement"
12785
12785
  }
12786
12786
  ],
@@ -12853,16 +12853,16 @@
12853
12853
  "inputs": {},
12854
12854
  "bytes": 1822
12855
12855
  },
12856
- "dist/HLSView-EXE5PBOQ.js.map": {
12856
+ "dist/HLSView-VCCLFVVS.js.map": {
12857
12857
  "imports": [],
12858
12858
  "exports": [],
12859
12859
  "inputs": {},
12860
12860
  "bytes": 58854
12861
12861
  },
12862
- "dist/HLSView-EXE5PBOQ.js": {
12862
+ "dist/HLSView-VCCLFVVS.js": {
12863
12863
  "imports": [
12864
12864
  {
12865
- "path": "dist/chunk-TQATKHZJ.js",
12865
+ "path": "dist/chunk-HTKPRC4T.js",
12866
12866
  "kind": "import-statement"
12867
12867
  },
12868
12868
  {
@@ -13026,13 +13026,13 @@
13026
13026
  },
13027
13027
  "bytes": 36972
13028
13028
  },
13029
- "dist/chunk-TQATKHZJ.js.map": {
13029
+ "dist/chunk-HTKPRC4T.js.map": {
13030
13030
  "imports": [],
13031
13031
  "exports": [],
13032
13032
  "inputs": {},
13033
- "bytes": 3102138
13033
+ "bytes": 3102055
13034
13034
  },
13035
- "dist/chunk-TQATKHZJ.js": {
13035
+ "dist/chunk-HTKPRC4T.js": {
13036
13036
  "imports": [
13037
13037
  {
13038
13038
  "path": "react",
@@ -15280,7 +15280,7 @@
15280
15280
  "external": true
15281
15281
  },
15282
15282
  {
15283
- "path": "dist/HLSView-EXE5PBOQ.js",
15283
+ "path": "dist/HLSView-VCCLFVVS.js",
15284
15284
  "kind": "dynamic-import"
15285
15285
  },
15286
15286
  {
@@ -15702,7 +15702,7 @@
15702
15702
  ],
15703
15703
  "inputs": {
15704
15704
  "<define:process.env>": {
15705
- "bytesInOutput": 18125
15705
+ "bytesInOutput": 18104
15706
15706
  },
15707
15707
  "../../node_modules/lodash/lodash.js": {
15708
15708
  "bytesInOutput": 224267
@@ -16266,7 +16266,7 @@
16266
16266
  "bytesInOutput": 9632
16267
16267
  },
16268
16268
  "src/Prebuilt/layouts/SidePane.tsx": {
16269
- "bytesInOutput": 4627
16269
+ "bytesInOutput": 4579
16270
16270
  },
16271
16271
  "src/Prebuilt/components/Polls/Polls.tsx": {
16272
16272
  "bytesInOutput": 735
@@ -16341,10 +16341,10 @@
16341
16341
  "bytesInOutput": 1727
16342
16342
  },
16343
16343
  "src/Prebuilt/components/SidePaneTabs.tsx": {
16344
- "bytesInOutput": 7387
16344
+ "bytesInOutput": 7277
16345
16345
  },
16346
16346
  "src/Prebuilt/components/Chat/Chat.tsx": {
16347
- "bytesInOutput": 3444
16347
+ "bytesInOutput": 3466
16348
16348
  },
16349
16349
  "src/Prebuilt/components/Chat/ChatBody.tsx": {
16350
16350
  "bytesInOutput": 14354
@@ -16362,7 +16362,7 @@
16362
16362
  "bytesInOutput": 2757
16363
16363
  },
16364
16364
  "src/Prebuilt/components/Chat/EmptyChat.tsx": {
16365
- "bytesInOutput": 1653
16365
+ "bytesInOutput": 1745
16366
16366
  },
16367
16367
  "src/Prebuilt/images/empty-chat.svg": {
16368
16368
  "bytesInOutput": 2261
@@ -16629,7 +16629,7 @@
16629
16629
  "bytesInOutput": 651
16630
16630
  }
16631
16631
  },
16632
- "bytes": 1265213
16632
+ "bytes": 1265148
16633
16633
  }
16634
16634
  }
16635
16635
  }
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "prebuilt",
11
11
  "roomkit"
12
12
  ],
13
- "version": "0.2.4-alpha.4",
13
+ "version": "0.2.5-alpha.0",
14
14
  "author": "100ms",
15
15
  "license": "MIT",
16
16
  "repository": {
@@ -82,10 +82,10 @@
82
82
  "react": ">=17.0.2 <19.0.0"
83
83
  },
84
84
  "dependencies": {
85
- "@100mslive/hls-player": "0.2.4-alpha.4",
86
- "@100mslive/hms-virtual-background": "1.12.4-alpha.4",
87
- "@100mslive/react-icons": "0.9.4-alpha.4",
88
- "@100mslive/react-sdk": "0.9.4-alpha.4",
85
+ "@100mslive/hls-player": "0.2.5-alpha.0",
86
+ "@100mslive/hms-virtual-background": "1.12.5-alpha.0",
87
+ "@100mslive/react-icons": "0.9.5-alpha.0",
88
+ "@100mslive/react-sdk": "0.9.5-alpha.0",
89
89
  "@100mslive/types-prebuilt": "0.12.6",
90
90
  "@emoji-mart/data": "^1.0.6",
91
91
  "@emoji-mart/react": "^1.0.1",
@@ -120,5 +120,5 @@
120
120
  "uuid": "^8.3.2",
121
121
  "worker-timers": "^7.0.40"
122
122
  },
123
- "gitHead": "b592aa17584b42ae88066813f59cb86ad9daa35a"
123
+ "gitHead": "f1a88c4b49cdf442d6eb3d3adcf50b227a56249a"
124
124
  }
@@ -38,6 +38,7 @@ export const Chat = () => {
38
38
  return (
39
39
  <Flex
40
40
  direction="column"
41
+ justify="end"
41
42
  css={{
42
43
  size: '100%',
43
44
  gap: '$4',
@@ -33,7 +33,9 @@ export const EmptyChat = () => {
33
33
  justify="center"
34
34
  >
35
35
  <Box>
36
- <img src={emptyChat} alt="Empty Chat" height={132} width={185} style={{ margin: '8px auto 4px auto' }} />
36
+ <Box css={{ m: '0 auto', mt: '$4', '@media (max-height: 575px)': { display: 'none' } }}>
37
+ <img src={emptyChat} alt="Empty Chat" height={132} width={185} />
38
+ </Box>
37
39
 
38
40
  <Text variant="h5" css={{ mt: '$8', c: '$on_surface_high' }}>
39
41
  {canSendMessages ? 'Start a conversation' : 'No messages yet'}
@@ -194,10 +194,7 @@ export const SidePaneTabs = React.memo<{
194
194
  <Tabs.Content value={SIDE_PANE_OPTIONS.PARTICIPANTS} css={{ p: 0 }}>
195
195
  <ParticipantList offStageRoles={off_stage_roles} onActive={setActiveRole} />
196
196
  </Tabs.Content>
197
- <Tabs.Content
198
- value={SIDE_PANE_OPTIONS.CHAT}
199
- css={{ p: 0, overflowY: 'auto', '@md': { overflowY: 'unset' } }}
200
- >
197
+ <Tabs.Content value={SIDE_PANE_OPTIONS.CHAT} css={{ p: 0 }}>
201
198
  <Chat />
202
199
  </Tabs.Content>
203
200
  </Tabs.Root>
@@ -121,7 +121,6 @@ const SidePane = ({
121
121
  },
122
122
  '@md': {
123
123
  p: '$6 $8',
124
- h: mwebStreamingChat ? 'auto' : '',
125
124
  pb: mwebStreamingChat ? '$20' : '$12',
126
125
  borderTopLeftRadius: sidepane === SIDE_PANE_OPTIONS.POLLS ? '$2' : '0',
127
126
  borderTopRightRadius: sidepane === SIDE_PANE_OPTIONS.POLLS ? '$2' : '0',