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

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.
Files changed (32) hide show
  1. package/dist/{HLSView-TOMPA4E4.js → HLSView-LZOTIUWE.js} +141 -86
  2. package/dist/HLSView-LZOTIUWE.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-LCECN6XD.js} +194 -142
  9. package/dist/chunk-LCECN6XD.js.map +7 -0
  10. package/dist/index.cjs.js +352 -246
  11. package/dist/index.cjs.js.map +3 -3
  12. package/dist/index.js +1 -1
  13. package/dist/meta.cjs.json +77 -52
  14. package/dist/meta.esbuild.json +89 -63
  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/ConferenceScreen.tsx +13 -1
  20. package/src/Prebuilt/components/EmojiReaction.jsx +2 -2
  21. package/src/Prebuilt/components/Footer/RoleOptions.tsx +4 -4
  22. package/src/Prebuilt/components/HMSVideo/HMSVideo.jsx +13 -10
  23. package/src/Prebuilt/components/HMSVideo/MwebHLSViewTitle.tsx +6 -4
  24. package/src/Prebuilt/components/HMSVideo/VideoProgress.tsx +36 -23
  25. package/src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx +1 -1
  26. package/src/Prebuilt/components/MwebLandscapePrompt.tsx +9 -3
  27. package/src/Prebuilt/components/SidePaneTabs.tsx +1 -4
  28. package/src/Prebuilt/layouts/HLSView.jsx +291 -245
  29. package/src/Prebuilt/layouts/SidePane.tsx +73 -49
  30. package/src/Prebuilt/layouts/VideoStreamingSection.tsx +10 -2
  31. package/dist/HLSView-TOMPA4E4.js.map +0 -7
  32. 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": 325880,
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",
@@ -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",
@@ -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": 6575,
9310
9315
  "imports": [
9311
9316
  {
9312
9317
  "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-LCECN6XD.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-LZOTIUWE.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-LZOTIUWE.js": {
13685
13700
  "imports": [
13686
13701
  {
13687
- "path": "dist/chunk-FUDX3LDB.js",
13702
+ "path": "dist/chunk-LCECN6XD.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-LCECN6XD.js.map": {
13906
13921
  "imports": [],
13907
13922
  "exports": [],
13908
13923
  "inputs": {},
13909
- "bytes": 3165645
13924
+ "bytes": 3168927
13910
13925
  },
13911
- "dist/chunk-FUDX3LDB.js": {
13926
+ "dist/chunk-LCECN6XD.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-LZOTIUWE.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": 18150
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,13 +17197,13 @@
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
17178
17204
  },
17179
17205
  "../hms-video-store/dist/index.js": {
17180
- "bytesInOutput": 48564
17206
+ "bytesInOutput": 48556
17181
17207
  },
17182
17208
  "../../node_modules/reselect/es/index.js": {
17183
17209
  "bytesInOutput": 2539
@@ -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,7 +17338,7 @@
17312
17338
  "bytesInOutput": 9637
17313
17339
  },
17314
17340
  "src/Prebuilt/layouts/SidePane.tsx": {
17315
- "bytesInOutput": 5680
17341
+ "bytesInOutput": 6271
17316
17342
  },
17317
17343
  "src/Prebuilt/components/Polls/Polls.tsx": {
17318
17344
  "bytesInOutput": 735
@@ -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
@@ -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
@@ -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": 1298753
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.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.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.0",
88
+ "@100mslive/react-icons": "0.10.0",
89
+ "@100mslive/react-sdk": "0.10.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": "eaed700cd6f04214d3aa7a691c3f1bd603e1ce0e"
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
  }}
@@ -152,7 +152,7 @@ export const ChatFooter = ({ onSend, children }: { onSend: (count: number) => vo
152
152
  <Flex>
153
153
  <ChatSelectorContainer />
154
154
  {canDisableChat && isMobile && isOverlayChat ? (
155
- <Flex align="center" justify="end" css={{ mb: '$4' }}>
155
+ <Flex align="center" justify="end" css={{ mb: '$4' }} onClick={e => e.stopPropagation()}>
156
156
  <Popover.Root>
157
157
  <Popover.Trigger asChild>
158
158
  <IconButton css={{ border: '1px solid $border_bright' }}>
@@ -273,7 +273,7 @@ export const ChatFooter = ({ onSend, children }: { onSend: (count: number) => vo
273
273
  css={{
274
274
  alignItems: 'center',
275
275
  }}
276
- gap="1"
276
+ gap="2"
277
277
  >
278
278
  {noAVPermissions ? <RaiseHand css={{ bg: '$surface_default' }} /> : null}
279
279
  <MoreSettings elements={elements} screenType={screenType} />
@@ -7,6 +7,7 @@ import { config as cssConfig } from '../../../Theme';
7
7
  import emptyChat from '../../images/empty-chat.svg';
8
8
  import { useRoomLayoutConferencingScreen } from '../../provider/roomLayoutProvider/hooks/useRoomLayoutScreen';
9
9
  import { useIsPeerBlacklisted } from '../hooks/useChatBlacklist';
10
+ import { useLandscapeHLSStream, useMobileHLSStream } from '../../common/hooks';
10
11
 
11
12
  export const EmptyChat = () => {
12
13
  const { elements } = useRoomLayoutConferencingScreen();
@@ -18,8 +19,11 @@ export const EmptyChat = () => {
18
19
  elements.chat.private_chat_enabled ||
19
20
  (elements.chat.roles_whitelist && elements.chat.roles_whitelist.length)) &&
20
21
  !isLocalPeerBlacklisted;
22
+ const isMobileHLSStream = useMobileHLSStream();
23
+ const isLandscapeStream = useLandscapeHLSStream();
24
+ const streaming = isMobileHLSStream || isLandscapeStream;
21
25
 
22
- if (isMobile && elements?.chat?.is_overlay) return <></>;
26
+ if (isMobile && elements?.chat?.is_overlay && !streaming) return <></>;
23
27
 
24
28
  return (
25
29
  <Flex
@@ -22,6 +22,8 @@ import { Box, Flex } from '../../Layout';
22
22
  import { useHMSPrebuiltContext } from '../AppContext';
23
23
  import { VideoStreamingSection } from '../layouts/VideoStreamingSection';
24
24
  // @ts-ignore: No implicit Any
25
+ import { EmojiReaction } from './EmojiReaction';
26
+ // @ts-ignore: No implicit Any
25
27
  import FullPageProgress from './FullPageProgress';
26
28
  import { Header } from './Header';
27
29
  import { PreviousRoleInMetadata } from './PreviousRoleInMetadata';
@@ -195,12 +197,22 @@ export const ConferenceScreen = () => {
195
197
  alignItems: 'center',
196
198
  pr: '$4',
197
199
  pb: '$4',
200
+ position: 'relative',
198
201
  }}
199
202
  justify="end"
200
- gap="1"
203
+ gap="2"
201
204
  >
202
205
  {noAVPermissions ? <RaiseHand /> : null}
203
206
  <MoreSettings elements={screenProps.elements} screenType={screenProps.screenType} />
207
+ <Box
208
+ css={{
209
+ position: 'absolute',
210
+ bottom: '100%',
211
+ mb: '$4',
212
+ }}
213
+ >
214
+ <EmojiReaction />
215
+ </Box>
204
216
  </Flex>
205
217
  )}
206
218
  <RoleChangeRequestModal />
@@ -23,7 +23,7 @@ import { EMOJI_REACTION_TYPE } from '../common/constants';
23
23
 
24
24
  init({ data });
25
25
 
26
- export const EmojiReaction = () => {
26
+ export const EmojiReaction = ({ showCard = false }) => {
27
27
  const [open, setOpen] = useState(false);
28
28
  const isConnected = useHMSStore(selectIsConnectedToRoom);
29
29
  useDropdownList({ open: open, name: 'EmojiReaction' });
@@ -68,7 +68,7 @@ export const EmojiReaction = () => {
68
68
  return null;
69
69
  }
70
70
 
71
- if ((isMobile || isLandscape) && !(isLandscapeStream || isMobileHLSStream)) {
71
+ if (showCard) {
72
72
  return <EmojiCard sendReaction={sendReaction} />;
73
73
  }
74
74
  return (