@100mslive/roomkit-react 0.2.8-alpha.9 → 0.3.1-alpha.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. package/dist/{HLSView-TOMPA4E4.js → HLSView-VXHATNNQ.js} +141 -86
  2. package/dist/HLSView-VXHATNNQ.js.map +7 -0
  3. package/dist/Prebuilt/components/Chat/Chat.d.ts +1 -1
  4. package/dist/Prebuilt/components/HMSVideo/VideoProgress.d.ts +4 -1
  5. package/dist/Prebuilt/components/HMSVideo/index.d.ts +4 -1
  6. package/dist/Prebuilt/components/SidePaneTabs.d.ts +0 -1
  7. package/dist/Prebuilt/layouts/SidePane.d.ts +1 -1
  8. package/dist/{chunk-FUDX3LDB.js → chunk-RRXRF2KB.js} +207 -151
  9. package/dist/chunk-RRXRF2KB.js.map +7 -0
  10. package/dist/index.cjs.js +365 -255
  11. package/dist/index.cjs.js.map +3 -3
  12. package/dist/index.js +1 -1
  13. package/dist/meta.cjs.json +88 -63
  14. package/dist/meta.esbuild.json +100 -74
  15. package/package.json +6 -6
  16. package/src/Prebuilt/components/Chat/Chat.tsx +23 -4
  17. package/src/Prebuilt/components/Chat/ChatFooter.tsx +2 -2
  18. package/src/Prebuilt/components/Chat/EmptyChat.tsx +5 -1
  19. package/src/Prebuilt/components/Chat/PinnedMessage.tsx +4 -3
  20. package/src/Prebuilt/components/ConferenceScreen.tsx +13 -1
  21. package/src/Prebuilt/components/EmojiReaction.jsx +2 -2
  22. package/src/Prebuilt/components/Footer/RoleOptions.tsx +4 -4
  23. package/src/Prebuilt/components/HMSVideo/HMSVideo.jsx +13 -10
  24. package/src/Prebuilt/components/HMSVideo/MwebHLSViewTitle.tsx +6 -4
  25. package/src/Prebuilt/components/HMSVideo/VideoProgress.tsx +36 -23
  26. package/src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx +1 -1
  27. package/src/Prebuilt/components/MwebLandscapePrompt.tsx +9 -3
  28. package/src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.tsx +1 -1
  29. package/src/Prebuilt/components/Polls/CreateQuestions/QuestionForm.tsx +1 -1
  30. package/src/Prebuilt/components/Polls/common/OptionInputWithDelete.tsx +1 -1
  31. package/src/Prebuilt/components/SidePaneTabs.tsx +1 -4
  32. package/src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx +1 -0
  33. package/src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx +2 -0
  34. package/src/Prebuilt/layouts/HLSView.jsx +291 -245
  35. package/src/Prebuilt/layouts/SidePane.tsx +74 -49
  36. package/src/Prebuilt/layouts/VideoStreamingSection.tsx +10 -2
  37. package/dist/HLSView-TOMPA4E4.js.map +0 -7
  38. package/dist/chunk-FUDX3LDB.js.map +0 -7
@@ -3018,7 +3018,7 @@
3018
3018
  "format": "esm"
3019
3019
  },
3020
3020
  "src/Prebuilt/components/EmojiReaction.jsx": {
3021
- "bytes": 3185,
3021
+ "bytes": 3143,
3022
3022
  "imports": [
3023
3023
  {
3024
3024
  "path": "react",
@@ -4681,7 +4681,7 @@
4681
4681
  "format": "cjs"
4682
4682
  },
4683
4683
  "../hms-video-store/dist/index.js": {
4684
- "bytes": 326152,
4684
+ "bytes": 326171,
4685
4685
  "imports": [
4686
4686
  {
4687
4687
  "path": "../../node_modules/reselect/es/index.js",
@@ -5191,7 +5191,7 @@
5191
5191
  "format": "esm"
5192
5192
  },
5193
5193
  "src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx": {
5194
- "bytes": 13044,
5194
+ "bytes": 13053,
5195
5195
  "imports": [
5196
5196
  {
5197
5197
  "path": "react",
@@ -5935,7 +5935,7 @@
5935
5935
  "format": "esm"
5936
5936
  },
5937
5937
  "src/Prebuilt/components/Footer/RoleOptions.tsx": {
5938
- "bytes": 7129,
5938
+ "bytes": 7089,
5939
5939
  "imports": [
5940
5940
  {
5941
5941
  "path": "react",
@@ -6495,7 +6495,7 @@
6495
6495
  "format": "esm"
6496
6496
  },
6497
6497
  "src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.tsx": {
6498
- "bytes": 8005,
6498
+ "bytes": 8017,
6499
6499
  "imports": [
6500
6500
  {
6501
6501
  "path": "react",
@@ -6623,7 +6623,7 @@
6623
6623
  "format": "esm"
6624
6624
  },
6625
6625
  "src/Prebuilt/components/Polls/common/OptionInputWithDelete.tsx": {
6626
- "bytes": 1029,
6626
+ "bytes": 1041,
6627
6627
  "imports": [
6628
6628
  {
6629
6629
  "path": "react",
@@ -6788,7 +6788,7 @@
6788
6788
  "format": "esm"
6789
6789
  },
6790
6790
  "src/Prebuilt/components/Polls/CreateQuestions/QuestionForm.tsx": {
6791
- "bytes": 10090,
6791
+ "bytes": 10102,
6792
6792
  "imports": [
6793
6793
  {
6794
6794
  "path": "react",
@@ -7784,7 +7784,7 @@
7784
7784
  "imports": []
7785
7785
  },
7786
7786
  "src/Prebuilt/components/Chat/EmptyChat.tsx": {
7787
- "bytes": 1885,
7787
+ "bytes": 2142,
7788
7788
  "imports": [
7789
7789
  {
7790
7790
  "path": "react",
@@ -7826,6 +7826,11 @@
7826
7826
  "kind": "import-statement",
7827
7827
  "original": "../hooks/useChatBlacklist"
7828
7828
  },
7829
+ {
7830
+ "path": "src/Prebuilt/common/hooks.ts",
7831
+ "kind": "import-statement",
7832
+ "original": "../../common/hooks"
7833
+ },
7829
7834
  {
7830
7835
  "path": "<define:process.env>",
7831
7836
  "kind": "import-statement",
@@ -8146,7 +8151,7 @@
8146
8151
  "format": "esm"
8147
8152
  },
8148
8153
  "src/Prebuilt/components/Chat/ChatFooter.tsx": {
8149
- "bytes": 10403,
8154
+ "bytes": 10438,
8150
8155
  "imports": [
8151
8156
  {
8152
8157
  "path": "react",
@@ -8360,7 +8365,7 @@
8360
8365
  "format": "esm"
8361
8366
  },
8362
8367
  "src/Prebuilt/components/Chat/PinnedMessage.tsx": {
8363
- "bytes": 5026,
8368
+ "bytes": 5099,
8364
8369
  "imports": [
8365
8370
  {
8366
8371
  "path": "react",
@@ -8446,7 +8451,7 @@
8446
8451
  "format": "esm"
8447
8452
  },
8448
8453
  "src/Prebuilt/components/Chat/Chat.tsx": {
8449
- "bytes": 4814,
8454
+ "bytes": 5393,
8450
8455
  "imports": [
8451
8456
  {
8452
8457
  "path": "react",
@@ -8684,7 +8689,7 @@
8684
8689
  "format": "esm"
8685
8690
  },
8686
8691
  "src/Prebuilt/components/SidePaneTabs.tsx": {
8687
- "bytes": 8375,
8692
+ "bytes": 8205,
8688
8693
  "imports": [
8689
8694
  {
8690
8695
  "path": "react",
@@ -9306,7 +9311,7 @@
9306
9311
  "format": "esm"
9307
9312
  },
9308
9313
  "src/Prebuilt/layouts/SidePane.tsx": {
9309
- "bytes": 6124,
9314
+ "bytes": 6649,
9310
9315
  "imports": [
9311
9316
  {
9312
9317
  "path": "react",
@@ -10024,7 +10029,7 @@
10024
10029
  "format": "esm"
10025
10030
  },
10026
10031
  "src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx": {
10027
- "bytes": 2474,
10032
+ "bytes": 2542,
10028
10033
  "imports": [
10029
10034
  {
10030
10035
  "path": "react",
@@ -10426,7 +10431,7 @@
10426
10431
  "format": "esm"
10427
10432
  },
10428
10433
  "src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx": {
10429
- "bytes": 3065,
10434
+ "bytes": 3118,
10430
10435
  "imports": [
10431
10436
  {
10432
10437
  "path": "react",
@@ -10846,7 +10851,7 @@
10846
10851
  "format": "esm"
10847
10852
  },
10848
10853
  "src/Prebuilt/components/HMSVideo/HMSVideo.jsx": {
10849
- "bytes": 1409,
10854
+ "bytes": 1333,
10850
10855
  "imports": [
10851
10856
  {
10852
10857
  "path": "react",
@@ -10854,19 +10859,9 @@
10854
10859
  "external": true
10855
10860
  },
10856
10861
  {
10857
- "path": "react-use",
10858
- "kind": "import-statement",
10859
- "external": true
10860
- },
10861
- {
10862
- "path": "src/index.ts",
10863
- "kind": "import-statement",
10864
- "original": "../../../"
10865
- },
10866
- {
10867
- "path": "src/Prebuilt/common/hooks.ts",
10862
+ "path": "src/Layout/index.tsx",
10868
10863
  "kind": "import-statement",
10869
- "original": "../../common/hooks"
10864
+ "original": "../../../Layout"
10870
10865
  },
10871
10866
  {
10872
10867
  "path": "<define:process.env>",
@@ -10971,7 +10966,7 @@
10971
10966
  "format": "esm"
10972
10967
  },
10973
10968
  "src/Prebuilt/components/HMSVideo/VideoProgress.tsx": {
10974
- "bytes": 2484,
10969
+ "bytes": 2926,
10975
10970
  "imports": [
10976
10971
  {
10977
10972
  "path": "react",
@@ -11269,7 +11264,7 @@
11269
11264
  "format": "esm"
11270
11265
  },
11271
11266
  "src/Prebuilt/components/HMSVideo/MwebHLSViewTitle.tsx": {
11272
- "bytes": 2461,
11267
+ "bytes": 2527,
11273
11268
  "imports": [
11274
11269
  {
11275
11270
  "path": "react",
@@ -11325,7 +11320,7 @@
11325
11320
  "format": "esm"
11326
11321
  },
11327
11322
  "src/Prebuilt/layouts/HLSView.jsx": {
11328
- "bytes": 26178,
11323
+ "bytes": 26749,
11329
11324
  "imports": [
11330
11325
  {
11331
11326
  "path": "react",
@@ -11347,6 +11342,11 @@
11347
11342
  "kind": "import-statement",
11348
11343
  "external": true
11349
11344
  },
11345
+ {
11346
+ "path": "ts-pattern",
11347
+ "kind": "import-statement",
11348
+ "external": true
11349
+ },
11350
11350
  {
11351
11351
  "path": "@100mslive/react-sdk",
11352
11352
  "kind": "import-statement",
@@ -11481,7 +11481,7 @@
11481
11481
  "format": "esm"
11482
11482
  },
11483
11483
  "src/Prebuilt/layouts/VideoStreamingSection.tsx": {
11484
- "bytes": 4333,
11484
+ "bytes": 4801,
11485
11485
  "imports": [
11486
11486
  {
11487
11487
  "path": "react",
@@ -11493,6 +11493,11 @@
11493
11493
  "kind": "import-statement",
11494
11494
  "external": true
11495
11495
  },
11496
+ {
11497
+ "path": "ts-pattern",
11498
+ "kind": "import-statement",
11499
+ "external": true
11500
+ },
11496
11501
  {
11497
11502
  "path": "@100mslive/react-sdk",
11498
11503
  "kind": "import-statement",
@@ -11797,7 +11802,7 @@
11797
11802
  "format": "esm"
11798
11803
  },
11799
11804
  "src/Prebuilt/components/ConferenceScreen.tsx": {
11800
- "bytes": 7927,
11805
+ "bytes": 8259,
11801
11806
  "imports": [
11802
11807
  {
11803
11808
  "path": "react",
@@ -11864,6 +11869,11 @@
11864
11869
  "kind": "import-statement",
11865
11870
  "original": "../layouts/VideoStreamingSection"
11866
11871
  },
11872
+ {
11873
+ "path": "src/Prebuilt/components/EmojiReaction.jsx",
11874
+ "kind": "import-statement",
11875
+ "original": "./EmojiReaction"
11876
+ },
11867
11877
  {
11868
11878
  "path": "src/Prebuilt/components/FullPageProgress.jsx",
11869
11879
  "kind": "import-statement",
@@ -12180,7 +12190,7 @@
12180
12190
  "format": "esm"
12181
12191
  },
12182
12192
  "src/Prebuilt/components/MwebLandscapePrompt.tsx": {
12183
- "bytes": 2789,
12193
+ "bytes": 3089,
12184
12194
  "imports": [
12185
12195
  {
12186
12196
  "path": "react",
@@ -12192,6 +12202,11 @@
12192
12202
  "kind": "import-statement",
12193
12203
  "external": true
12194
12204
  },
12205
+ {
12206
+ "path": "ts-pattern",
12207
+ "kind": "import-statement",
12208
+ "external": true
12209
+ },
12195
12210
  {
12196
12211
  "path": "@100mslive/react-icons",
12197
12212
  "kind": "import-statement",
@@ -13602,7 +13617,7 @@
13602
13617
  "dist/index.js": {
13603
13618
  "imports": [
13604
13619
  {
13605
- "path": "dist/chunk-FUDX3LDB.js",
13620
+ "path": "dist/chunk-RRXRF2KB.js",
13606
13621
  "kind": "import-statement"
13607
13622
  }
13608
13623
  ],
@@ -13675,16 +13690,16 @@
13675
13690
  "inputs": {},
13676
13691
  "bytes": 1822
13677
13692
  },
13678
- "dist/HLSView-TOMPA4E4.js.map": {
13693
+ "dist/HLSView-VXHATNNQ.js.map": {
13679
13694
  "imports": [],
13680
13695
  "exports": [],
13681
13696
  "inputs": {},
13682
- "bytes": 86891
13697
+ "bytes": 89215
13683
13698
  },
13684
- "dist/HLSView-TOMPA4E4.js": {
13699
+ "dist/HLSView-VXHATNNQ.js": {
13685
13700
  "imports": [
13686
13701
  {
13687
- "path": "dist/chunk-FUDX3LDB.js",
13702
+ "path": "dist/chunk-RRXRF2KB.js",
13688
13703
  "kind": "import-statement"
13689
13704
  },
13690
13705
  {
@@ -13707,6 +13722,11 @@
13707
13722
  "kind": "import-statement",
13708
13723
  "external": true
13709
13724
  },
13725
+ {
13726
+ "path": "ts-pattern",
13727
+ "kind": "import-statement",
13728
+ "external": true
13729
+ },
13710
13730
  {
13711
13731
  "path": "@100mslive/react-sdk",
13712
13732
  "kind": "import-statement",
@@ -13732,11 +13752,6 @@
13732
13752
  "kind": "import-statement",
13733
13753
  "external": true
13734
13754
  },
13735
- {
13736
- "path": "react-use",
13737
- "kind": "import-statement",
13738
- "external": true
13739
- },
13740
13755
  {
13741
13756
  "path": "react",
13742
13757
  "kind": "import-statement",
@@ -13849,7 +13864,7 @@
13849
13864
  "entryPoint": "src/Prebuilt/layouts/HLSView.jsx",
13850
13865
  "inputs": {
13851
13866
  "src/Prebuilt/layouts/HLSView.jsx": {
13852
- "bytesInOutput": 24178
13867
+ "bytesInOutput": 25580
13853
13868
  },
13854
13869
  "src/Prebuilt/components/HlsStatsOverlay.jsx": {
13855
13870
  "bytesInOutput": 3521
@@ -13861,7 +13876,7 @@
13861
13876
  "bytesInOutput": 416
13862
13877
  },
13863
13878
  "src/Prebuilt/components/HMSVideo/HMSVideo.jsx": {
13864
- "bytesInOutput": 1480
13879
+ "bytesInOutput": 1464
13865
13880
  },
13866
13881
  "src/Prebuilt/components/HMSVideo/PlayPauseButton.tsx": {
13867
13882
  "bytesInOutput": 851
@@ -13873,7 +13888,7 @@
13873
13888
  "bytesInOutput": 329
13874
13889
  },
13875
13890
  "src/Prebuilt/components/HMSVideo/VideoProgress.tsx": {
13876
- "bytesInOutput": 2632
13891
+ "bytesInOutput": 3017
13877
13892
  },
13878
13893
  "src/Prebuilt/components/HMSVideo/utils.ts": {
13879
13894
  "bytesInOutput": 725
@@ -13888,7 +13903,7 @@
13888
13903
  "bytesInOutput": 637
13889
13904
  },
13890
13905
  "src/Prebuilt/components/HMSVideo/HLSAutoplayBlockedPrompt.tsx": {
13891
- "bytesInOutput": 1930
13906
+ "bytesInOutput": 1916
13892
13907
  },
13893
13908
  "src/Prebuilt/components/HMSVideo/HLSCaptionSelector.tsx": {
13894
13909
  "bytesInOutput": 688
@@ -13897,18 +13912,18 @@
13897
13912
  "bytesInOutput": 7482
13898
13913
  },
13899
13914
  "src/Prebuilt/components/HMSVideo/MwebHLSViewTitle.tsx": {
13900
- "bytesInOutput": 2067
13915
+ "bytesInOutput": 2101
13901
13916
  }
13902
13917
  },
13903
- "bytes": 52826
13918
+ "bytes": 54624
13904
13919
  },
13905
- "dist/chunk-FUDX3LDB.js.map": {
13920
+ "dist/chunk-RRXRF2KB.js.map": {
13906
13921
  "imports": [],
13907
13922
  "exports": [],
13908
13923
  "inputs": {},
13909
- "bytes": 3165645
13924
+ "bytes": 3170173
13910
13925
  },
13911
- "dist/chunk-FUDX3LDB.js": {
13926
+ "dist/chunk-RRXRF2KB.js": {
13912
13927
  "imports": [
13913
13928
  {
13914
13929
  "path": "react",
@@ -16010,6 +16025,11 @@
16010
16025
  "kind": "import-statement",
16011
16026
  "external": true
16012
16027
  },
16028
+ {
16029
+ "path": "ts-pattern",
16030
+ "kind": "import-statement",
16031
+ "external": true
16032
+ },
16013
16033
  {
16014
16034
  "path": "@100mslive/react-sdk",
16015
16035
  "kind": "import-statement",
@@ -16271,7 +16291,7 @@
16271
16291
  "external": true
16272
16292
  },
16273
16293
  {
16274
- "path": "dist/HLSView-TOMPA4E4.js",
16294
+ "path": "dist/HLSView-VXHATNNQ.js",
16275
16295
  "kind": "dynamic-import"
16276
16296
  },
16277
16297
  {
@@ -16404,6 +16424,11 @@
16404
16424
  "kind": "import-statement",
16405
16425
  "external": true
16406
16426
  },
16427
+ {
16428
+ "path": "ts-pattern",
16429
+ "kind": "import-statement",
16430
+ "external": true
16431
+ },
16407
16432
  {
16408
16433
  "path": "@100mslive/react-icons",
16409
16434
  "kind": "import-statement",
@@ -16681,6 +16706,8 @@
16681
16706
  "Link",
16682
16707
  "Loading",
16683
16708
  "Logo",
16709
+ "POLL_STATE",
16710
+ "POLL_VIEWS",
16684
16711
  "PasswordInput",
16685
16712
  "Popover",
16686
16713
  "Progress",
@@ -16731,7 +16758,6 @@
16731
16758
  "useBorderAudioLevel",
16732
16759
  "useIsLandscape",
16733
16760
  "useIsSidepaneTypeOpen",
16734
- "usePollViewToggle",
16735
16761
  "useRoomLayoutConferencingScreen",
16736
16762
  "useRoomLayoutHeader",
16737
16763
  "useSidepaneToggle",
@@ -16739,7 +16765,7 @@
16739
16765
  ],
16740
16766
  "inputs": {
16741
16767
  "<define:process.env>": {
16742
- "bytesInOutput": 18232
16768
+ "bytesInOutput": 18253
16743
16769
  },
16744
16770
  "../../node_modules/lodash/lodash.js": {
16745
16771
  "bytesInOutput": 224291
@@ -17039,7 +17065,7 @@
17039
17065
  "bytesInOutput": 4698
17040
17066
  },
17041
17067
  "src/Prebuilt/components/ConferenceScreen.tsx": {
17042
- "bytesInOutput": 7096
17068
+ "bytesInOutput": 7373
17043
17069
  },
17044
17070
  "src/Prebuilt/components/Footer/Footer.tsx": {
17045
17071
  "bytesInOutput": 3350
@@ -17081,7 +17107,7 @@
17081
17107
  "bytesInOutput": 1028
17082
17108
  },
17083
17109
  "src/Prebuilt/components/EmojiReaction.jsx": {
17084
- "bytesInOutput": 2535
17110
+ "bytesInOutput": 2493
17085
17111
  },
17086
17112
  "src/Prebuilt/components/Footer/EmojiCard.jsx": {
17087
17113
  "bytesInOutput": 972
@@ -17171,7 +17197,7 @@
17171
17197
  "bytesInOutput": 1948
17172
17198
  },
17173
17199
  "src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx": {
17174
- "bytesInOutput": 11028
17200
+ "bytesInOutput": 11042
17175
17201
  },
17176
17202
  "src/Prebuilt/components/Header/StreamActions.tsx": {
17177
17203
  "bytesInOutput": 10031
@@ -17294,7 +17320,7 @@
17294
17320
  "bytesInOutput": 4229
17295
17321
  },
17296
17322
  "src/Prebuilt/components/Footer/RoleOptions.tsx": {
17297
- "bytesInOutput": 7370
17323
+ "bytesInOutput": 7326
17298
17324
  },
17299
17325
  "src/Prebuilt/components/Footer/PollsToggle.tsx": {
17300
17326
  "bytesInOutput": 1073
@@ -17312,13 +17338,13 @@
17312
17338
  "bytesInOutput": 9637
17313
17339
  },
17314
17340
  "src/Prebuilt/layouts/SidePane.tsx": {
17315
- "bytesInOutput": 5680
17341
+ "bytesInOutput": 6345
17316
17342
  },
17317
17343
  "src/Prebuilt/components/Polls/Polls.tsx": {
17318
17344
  "bytesInOutput": 735
17319
17345
  },
17320
17346
  "src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.tsx": {
17321
- "bytesInOutput": 7987
17347
+ "bytesInOutput": 7999
17322
17348
  },
17323
17349
  "src/Prebuilt/components/Streaming/Common.jsx": {
17324
17350
  "bytesInOutput": 2247
@@ -17330,7 +17356,7 @@
17330
17356
  "bytesInOutput": 5110
17331
17357
  },
17332
17358
  "src/Prebuilt/components/Polls/CreateQuestions/QuestionForm.tsx": {
17333
- "bytesInOutput": 8169
17359
+ "bytesInOutput": 8181
17334
17360
  },
17335
17361
  "src/Prebuilt/components/Polls/CreateQuestions/DeleteQuestionModal.tsx": {
17336
17362
  "bytesInOutput": 2083
@@ -17342,7 +17368,7 @@
17342
17368
  "bytesInOutput": 3664
17343
17369
  },
17344
17370
  "src/Prebuilt/components/Polls/common/OptionInputWithDelete.tsx": {
17345
- "bytesInOutput": 888
17371
+ "bytesInOutput": 900
17346
17372
  },
17347
17373
  "src/Prebuilt/components/Polls/common/VoteCount.tsx": {
17348
17374
  "bytesInOutput": 361
@@ -17399,10 +17425,10 @@
17399
17425
  "bytesInOutput": 720
17400
17426
  },
17401
17427
  "src/Prebuilt/components/SidePaneTabs.tsx": {
17402
- "bytesInOutput": 7698
17428
+ "bytesInOutput": 7554
17403
17429
  },
17404
17430
  "src/Prebuilt/components/Chat/Chat.tsx": {
17405
- "bytesInOutput": 4425
17431
+ "bytesInOutput": 4926
17406
17432
  },
17407
17433
  "src/Prebuilt/components/Chat/ChatBody.tsx": {
17408
17434
  "bytesInOutput": 14396
@@ -17420,7 +17446,7 @@
17420
17446
  "bytesInOutput": 2757
17421
17447
  },
17422
17448
  "src/Prebuilt/components/Chat/EmptyChat.tsx": {
17423
- "bytesInOutput": 1775
17449
+ "bytesInOutput": 1952
17424
17450
  },
17425
17451
  "src/Prebuilt/images/empty-chat.svg": {
17426
17452
  "bytesInOutput": 2261
@@ -17429,7 +17455,7 @@
17429
17455
  "bytesInOutput": 710
17430
17456
  },
17431
17457
  "src/Prebuilt/components/Chat/ChatFooter.tsx": {
17432
- "bytesInOutput": 9756
17458
+ "bytesInOutput": 9793
17433
17459
  },
17434
17460
  "src/Prebuilt/components/Chat/ChatSelectorContainer.tsx": {
17435
17461
  "bytesInOutput": 5318
@@ -17447,7 +17473,7 @@
17447
17473
  "bytesInOutput": 2916
17448
17474
  },
17449
17475
  "src/Prebuilt/components/Chat/PinnedMessage.tsx": {
17450
- "bytesInOutput": 4944
17476
+ "bytesInOutput": 5076
17451
17477
  },
17452
17478
  "src/Prebuilt/components/Chat/ArrowNavigation.tsx": {
17453
17479
  "bytesInOutput": 1021
@@ -17507,7 +17533,7 @@
17507
17533
  "bytesInOutput": 2163
17508
17534
  },
17509
17535
  "src/Prebuilt/layouts/VideoStreamingSection.tsx": {
17510
- "bytesInOutput": 3623
17536
+ "bytesInOutput": 3983
17511
17537
  },
17512
17538
  "src/Prebuilt/components/VideoLayouts/GridLayout.tsx": {
17513
17539
  "bytesInOutput": 3871
@@ -17537,13 +17563,13 @@
17537
17563
  "bytesInOutput": 2494
17538
17564
  },
17539
17565
  "src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx": {
17540
- "bytesInOutput": 2301
17566
+ "bytesInOutput": 2393
17541
17567
  },
17542
17568
  "src/Prebuilt/components/hooks/useRoleProminencePeers.tsx": {
17543
17569
  "bytesInOutput": 1046
17544
17570
  },
17545
17571
  "src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx": {
17546
- "bytesInOutput": 2664
17572
+ "bytesInOutput": 2716
17547
17573
  },
17548
17574
  "src/Prebuilt/components/ScreenshareTile.tsx": {
17549
17575
  "bytesInOutput": 4447
@@ -17609,7 +17635,7 @@
17609
17635
  "bytesInOutput": 491
17610
17636
  },
17611
17637
  "src/Prebuilt/components/MwebLandscapePrompt.tsx": {
17612
- "bytesInOutput": 2623
17638
+ "bytesInOutput": 2922
17613
17639
  },
17614
17640
  "src/Prebuilt/components/Notifications/index.tsx": {
17615
17641
  "bytesInOutput": 27
@@ -17693,7 +17719,7 @@
17693
17719
  "bytesInOutput": 651
17694
17720
  }
17695
17721
  },
17696
- "bytes": 1296810
17722
+ "bytes": 1299250
17697
17723
  }
17698
17724
  }
17699
17725
  }
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "prebuilt",
11
11
  "roomkit"
12
12
  ],
13
- "version": "0.2.8-alpha.9",
13
+ "version": "0.3.1-alpha.0",
14
14
  "author": "100ms",
15
15
  "license": "MIT",
16
16
  "repository": {
@@ -82,11 +82,11 @@
82
82
  "react": ">=17.0.2 <19.0.0"
83
83
  },
84
84
  "dependencies": {
85
- "@100mslive/hls-player": "0.2.8-alpha.9",
85
+ "@100mslive/hls-player": "0.3.1-alpha.0",
86
86
  "@100mslive/hms-noise-cancellation": "0.0.0-alpha.1",
87
- "@100mslive/hms-virtual-background": "1.12.8-alpha.9",
88
- "@100mslive/react-icons": "0.9.8-alpha.9",
89
- "@100mslive/react-sdk": "0.9.8-alpha.9",
87
+ "@100mslive/hms-virtual-background": "1.13.1-alpha.0",
88
+ "@100mslive/react-icons": "0.10.1-alpha.0",
89
+ "@100mslive/react-sdk": "0.10.1-alpha.0",
90
90
  "@100mslive/types-prebuilt": "0.12.7",
91
91
  "@emoji-mart/data": "^1.0.6",
92
92
  "@emoji-mart/react": "^1.0.1",
@@ -122,5 +122,5 @@
122
122
  "uuid": "^8.3.2",
123
123
  "worker-timers": "^7.0.40"
124
124
  },
125
- "gitHead": "2a735b6edf0b63927744abb555b47ab9be6e5891"
125
+ "gitHead": "995fe879991b8b955f2ad917e8650a1abbbd5399"
126
126
  }
@@ -42,6 +42,11 @@ export const Chat = () => {
42
42
  [hmsActions, vanillaStore],
43
43
  );
44
44
 
45
+ if (!elements?.chat) {
46
+ return null;
47
+ }
48
+ const streaming = isMobileHLSStream || isLandscapeStream;
49
+
45
50
  return (
46
51
  <Flex
47
52
  direction="column"
@@ -51,12 +56,12 @@ export const Chat = () => {
51
56
  gap: '$4',
52
57
  }}
53
58
  >
54
- {isMobile && elements?.chat?.is_overlay ? null : <PinnedMessage />}
59
+ {isMobile && elements?.chat?.is_overlay && !streaming ? null : <PinnedMessage />}
55
60
  <ChatBody ref={listRef} scrollToBottom={scrollToBottom} />
56
61
 
57
62
  <ChatPaused />
58
63
  <ChatBlocked />
59
- {isMobile && elements?.chat?.is_overlay ? <PinnedMessage /> : null}
64
+ {isMobile && elements?.chat?.is_overlay && !streaming ? <PinnedMessage /> : null}
60
65
  {isChatEnabled ? (
61
66
  <ChatFooter onSend={scrollToBottom}>
62
67
  <NewMessageIndicator scrollToBottom={scrollToBottom} listRef={listRef} />
@@ -66,7 +71,7 @@ export const Chat = () => {
66
71
  <Box
67
72
  css={{
68
73
  position: 'absolute',
69
- ...match({ isLandscapeStream, isChatEnabled })
74
+ ...match({ isLandscapeStream, isMobileHLSStream, isChatEnabled })
70
75
  .with(
71
76
  {
72
77
  isLandscapeStream: true,
@@ -81,12 +86,26 @@ export const Chat = () => {
81
86
  },
82
87
  () => ({ bottom: '$20', right: '$10' }),
83
88
  )
89
+ .with(
90
+ {
91
+ isMobileHLSStream: true,
92
+ isChatEnabled: false,
93
+ },
94
+ () => ({ bottom: '$19', right: '$8' }),
95
+ )
96
+ .with(
97
+ {
98
+ isMobileHLSStream: true,
99
+ isChatEnabled: true,
100
+ },
101
+ () => ({ bottom: '$17', right: '$8' }),
102
+ )
84
103
  .with(
85
104
  {
86
105
  isLandscapeStream: false,
87
106
  isChatEnabled: true,
88
107
  },
89
- () => ({ bottom: '$19', right: '$8' }),
108
+ () => ({ bottom: '$20', right: '$8' }),
90
109
  )
91
110
  .otherwise(() => ({})),
92
111
  }}