@100mslive/roomkit-react 0.3.1 → 0.3.2-alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. package/dist/{HLSView-7WNDXOED.js → HLSView-7E6TK45Q.js} +13 -3
  2. package/dist/HLSView-7E6TK45Q.js.map +7 -0
  3. package/dist/Prebuilt/common/hooks.d.ts +2 -0
  4. package/dist/Prebuilt/components/Footer/ParticipantList.d.ts +2 -1
  5. package/dist/Prebuilt/components/Footer/RoleAccordion.d.ts +1 -0
  6. package/dist/Prebuilt/components/hooks/useGroupOnStageActions.d.ts +10 -0
  7. package/dist/Prebuilt/components/hooks/usePeerOnStageActions.d.ts +14 -0
  8. package/dist/{chunk-3OCZREZ3.js → chunk-FKNIYFKS.js} +697 -552
  9. package/dist/chunk-FKNIYFKS.js.map +7 -0
  10. package/dist/index.cjs.js +1910 -1745
  11. package/dist/index.cjs.js.map +4 -4
  12. package/dist/index.js +1 -1
  13. package/dist/meta.cjs.json +152 -29
  14. package/dist/meta.esbuild.json +160 -36
  15. package/package.json +6 -6
  16. package/src/Prebuilt/common/hooks.ts +27 -1
  17. package/src/Prebuilt/components/Chat/PinnedMessage.tsx +4 -3
  18. package/src/Prebuilt/components/Footer/ParticipantList.tsx +90 -66
  19. package/src/Prebuilt/components/Footer/RoleAccordion.tsx +20 -1
  20. package/src/Prebuilt/components/MwebLandscapePrompt.tsx +1 -1
  21. package/src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.tsx +1 -1
  22. package/src/Prebuilt/components/Polls/CreateQuestions/QuestionForm.tsx +1 -1
  23. package/src/Prebuilt/components/Polls/common/OptionInputWithDelete.tsx +1 -1
  24. package/src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx +2 -0
  25. package/src/Prebuilt/components/hooks/useGroupOnStageActions.tsx +54 -0
  26. package/src/Prebuilt/components/hooks/usePeerOnStageActions.tsx +49 -0
  27. package/src/Prebuilt/layouts/HLSView.jsx +10 -1
  28. package/dist/HLSView-7WNDXOED.js.map +0 -7
  29. package/dist/chunk-3OCZREZ3.js.map +0 -7
package/dist/index.js CHANGED
@@ -62,7 +62,7 @@ import {
62
62
  theme,
63
63
  useBorderAudioLevel,
64
64
  useTheme
65
- } from "./chunk-3OCZREZ3.js";
65
+ } from "./chunk-FKNIYFKS.js";
66
66
  export {
67
67
  Accordion,
68
68
  AudioLevel,
@@ -2967,7 +2967,7 @@
2967
2967
  "format": "esm"
2968
2968
  },
2969
2969
  "src/Prebuilt/common/hooks.ts": {
2970
- "bytes": 4502,
2970
+ "bytes": 5233,
2971
2971
  "imports": [
2972
2972
  {
2973
2973
  "path": "react",
@@ -2979,6 +2979,11 @@
2979
2979
  "kind": "import-statement",
2980
2980
  "external": true
2981
2981
  },
2982
+ {
2983
+ "path": "@100mslive/hls-player",
2984
+ "kind": "import-statement",
2985
+ "external": true
2986
+ },
2982
2987
  {
2983
2988
  "path": "@100mslive/types-prebuilt/elements/join_form",
2984
2989
  "kind": "import-statement",
@@ -3013,6 +3018,11 @@
3013
3018
  "path": "<define:process.env>",
3014
3019
  "kind": "import-statement",
3015
3020
  "external": true
3021
+ },
3022
+ {
3023
+ "path": "<runtime>",
3024
+ "kind": "import-statement",
3025
+ "external": true
3016
3026
  }
3017
3027
  ],
3018
3028
  "format": "esm"
@@ -4681,7 +4691,7 @@
4681
4691
  "format": "cjs"
4682
4692
  },
4683
4693
  "../hms-video-store/dist/index.js": {
4684
- "bytes": 325880,
4694
+ "bytes": 326171,
4685
4695
  "imports": [
4686
4696
  {
4687
4697
  "path": "../../node_modules/reselect/es/index.js",
@@ -6000,8 +6010,39 @@
6000
6010
  ],
6001
6011
  "format": "esm"
6002
6012
  },
6013
+ "src/Prebuilt/components/hooks/useGroupOnStageActions.tsx": {
6014
+ "bytes": 1795,
6015
+ "imports": [
6016
+ {
6017
+ "path": "ts-pattern",
6018
+ "kind": "import-statement",
6019
+ "external": true
6020
+ },
6021
+ {
6022
+ "path": "@100mslive/react-sdk",
6023
+ "kind": "import-statement",
6024
+ "external": true
6025
+ },
6026
+ {
6027
+ "path": "src/Prebuilt/provider/roomLayoutProvider/hooks/useRoomLayoutScreen.ts",
6028
+ "kind": "import-statement",
6029
+ "original": "../../provider/roomLayoutProvider/hooks/useRoomLayoutScreen"
6030
+ },
6031
+ {
6032
+ "path": "<define:process.env>",
6033
+ "kind": "import-statement",
6034
+ "external": true
6035
+ },
6036
+ {
6037
+ "path": "<runtime>",
6038
+ "kind": "import-statement",
6039
+ "external": true
6040
+ }
6041
+ ],
6042
+ "format": "esm"
6043
+ },
6003
6044
  "src/Prebuilt/components/Footer/RoleAccordion.tsx": {
6004
- "bytes": 4692,
6045
+ "bytes": 5566,
6005
6046
  "imports": [
6006
6047
  {
6007
6048
  "path": "react",
@@ -6033,6 +6074,16 @@
6033
6074
  "kind": "import-statement",
6034
6075
  "original": "../../../Accordion"
6035
6076
  },
6077
+ {
6078
+ "path": "src/Button/index.tsx",
6079
+ "kind": "import-statement",
6080
+ "original": "../../../Button"
6081
+ },
6082
+ {
6083
+ "path": "src/Divider/index.ts",
6084
+ "kind": "import-statement",
6085
+ "original": "../../../Divider"
6086
+ },
6036
6087
  {
6037
6088
  "path": "src/Layout/index.tsx",
6038
6089
  "kind": "import-statement",
@@ -6053,6 +6104,11 @@
6053
6104
  "kind": "import-statement",
6054
6105
  "original": "./RoleOptions"
6055
6106
  },
6107
+ {
6108
+ "path": "src/Prebuilt/components/hooks/useGroupOnStageActions.tsx",
6109
+ "kind": "import-statement",
6110
+ "original": "../hooks/useGroupOnStageActions"
6111
+ },
6056
6112
  {
6057
6113
  "path": "src/Prebuilt/common/utils.js",
6058
6114
  "kind": "import-statement",
@@ -6066,8 +6122,39 @@
6066
6122
  ],
6067
6123
  "format": "esm"
6068
6124
  },
6125
+ "src/Prebuilt/components/hooks/usePeerOnStageActions.tsx": {
6126
+ "bytes": 1672,
6127
+ "imports": [
6128
+ {
6129
+ "path": "react",
6130
+ "kind": "import-statement",
6131
+ "external": true
6132
+ },
6133
+ {
6134
+ "path": "@100mslive/react-sdk",
6135
+ "kind": "import-statement",
6136
+ "external": true
6137
+ },
6138
+ {
6139
+ "path": "src/Prebuilt/provider/roomLayoutProvider/hooks/useRoomLayoutScreen.ts",
6140
+ "kind": "import-statement",
6141
+ "original": "../../provider/roomLayoutProvider/hooks/useRoomLayoutScreen"
6142
+ },
6143
+ {
6144
+ "path": "<define:process.env>",
6145
+ "kind": "import-statement",
6146
+ "external": true
6147
+ },
6148
+ {
6149
+ "path": "<runtime>",
6150
+ "kind": "import-statement",
6151
+ "external": true
6152
+ }
6153
+ ],
6154
+ "format": "esm"
6155
+ },
6069
6156
  "src/Prebuilt/components/Footer/ParticipantList.tsx": {
6070
- "bytes": 12119,
6157
+ "bytes": 12623,
6071
6158
  "imports": [
6072
6159
  {
6073
6160
  "path": "react",
@@ -6094,6 +6181,11 @@
6094
6181
  "kind": "import-statement",
6095
6182
  "original": "../../.."
6096
6183
  },
6184
+ {
6185
+ "path": "src/IconButton/index.tsx",
6186
+ "kind": "import-statement",
6187
+ "original": "../../../IconButton"
6188
+ },
6097
6189
  {
6098
6190
  "path": "src/Prebuilt/IconButton.tsx",
6099
6191
  "kind": "import-statement",
@@ -6124,6 +6216,11 @@
6124
6216
  "kind": "import-statement",
6125
6217
  "original": "../AppData/useSidepane"
6126
6218
  },
6219
+ {
6220
+ "path": "src/Prebuilt/components/hooks/usePeerOnStageActions.tsx",
6221
+ "kind": "import-statement",
6222
+ "original": "../hooks/usePeerOnStageActions"
6223
+ },
6127
6224
  {
6128
6225
  "path": "src/Prebuilt/common/hooks.ts",
6129
6226
  "kind": "import-statement",
@@ -6495,7 +6592,7 @@
6495
6592
  "format": "esm"
6496
6593
  },
6497
6594
  "src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.tsx": {
6498
- "bytes": 8005,
6595
+ "bytes": 8017,
6499
6596
  "imports": [
6500
6597
  {
6501
6598
  "path": "react",
@@ -6623,7 +6720,7 @@
6623
6720
  "format": "esm"
6624
6721
  },
6625
6722
  "src/Prebuilt/components/Polls/common/OptionInputWithDelete.tsx": {
6626
- "bytes": 1029,
6723
+ "bytes": 1041,
6627
6724
  "imports": [
6628
6725
  {
6629
6726
  "path": "react",
@@ -6788,7 +6885,7 @@
6788
6885
  "format": "esm"
6789
6886
  },
6790
6887
  "src/Prebuilt/components/Polls/CreateQuestions/QuestionForm.tsx": {
6791
- "bytes": 10090,
6888
+ "bytes": 10102,
6792
6889
  "imports": [
6793
6890
  {
6794
6891
  "path": "react",
@@ -8365,7 +8462,7 @@
8365
8462
  "format": "esm"
8366
8463
  },
8367
8464
  "src/Prebuilt/components/Chat/PinnedMessage.tsx": {
8368
- "bytes": 5026,
8465
+ "bytes": 5099,
8369
8466
  "imports": [
8370
8467
  {
8371
8468
  "path": "react",
@@ -10431,7 +10528,7 @@
10431
10528
  "format": "esm"
10432
10529
  },
10433
10530
  "src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx": {
10434
- "bytes": 3065,
10531
+ "bytes": 3118,
10435
10532
  "imports": [
10436
10533
  {
10437
10534
  "path": "react",
@@ -11320,7 +11417,7 @@
11320
11417
  "format": "esm"
11321
11418
  },
11322
11419
  "src/Prebuilt/layouts/HLSView.jsx": {
11323
- "bytes": 26749,
11420
+ "bytes": 27068,
11324
11421
  "imports": [
11325
11422
  {
11326
11423
  "path": "react",
@@ -12190,7 +12287,7 @@
12190
12287
  "format": "esm"
12191
12288
  },
12192
12289
  "src/Prebuilt/components/MwebLandscapePrompt.tsx": {
12193
- "bytes": 3089,
12290
+ "bytes": 3095,
12194
12291
  "imports": [
12195
12292
  {
12196
12293
  "path": "react",
@@ -13612,7 +13709,7 @@
13612
13709
  "imports": [],
13613
13710
  "exports": [],
13614
13711
  "inputs": {},
13615
- "bytes": 3262819
13712
+ "bytes": 3273680
13616
13713
  },
13617
13714
  "dist/index.cjs.js": {
13618
13715
  "imports": [
@@ -14791,6 +14888,16 @@
14791
14888
  "kind": "require-call",
14792
14889
  "external": true
14793
14890
  },
14891
+ {
14892
+ "path": "ts-pattern",
14893
+ "kind": "require-call",
14894
+ "external": true
14895
+ },
14896
+ {
14897
+ "path": "@100mslive/react-sdk",
14898
+ "kind": "require-call",
14899
+ "external": true
14900
+ },
14794
14901
  {
14795
14902
  "path": "react",
14796
14903
  "kind": "require-call",
@@ -14821,6 +14928,16 @@
14821
14928
  "kind": "require-call",
14822
14929
  "external": true
14823
14930
  },
14931
+ {
14932
+ "path": "@100mslive/react-sdk",
14933
+ "kind": "require-call",
14934
+ "external": true
14935
+ },
14936
+ {
14937
+ "path": "react",
14938
+ "kind": "require-call",
14939
+ "external": true
14940
+ },
14824
14941
  {
14825
14942
  "path": "react-use",
14826
14943
  "kind": "require-call",
@@ -16521,7 +16638,7 @@
16521
16638
  "entryPoint": "src/index.ts",
16522
16639
  "inputs": {
16523
16640
  "<define:process.env>": {
16524
- "bytesInOutput": 18211
16641
+ "bytesInOutput": 18254
16525
16642
  },
16526
16643
  "src/Theme/base.config.ts": {
16527
16644
  "bytesInOutput": 6104
@@ -16872,7 +16989,7 @@
16872
16989
  "bytesInOutput": 884
16873
16990
  },
16874
16991
  "src/Prebuilt/common/hooks.ts": {
16875
- "bytesInOutput": 3890
16992
+ "bytesInOutput": 4848
16876
16993
  },
16877
16994
  "src/Prebuilt/components/EmojiReaction.jsx": {
16878
16995
  "bytesInOutput": 3381
@@ -17010,7 +17127,7 @@
17010
17127
  "bytesInOutput": 615
17011
17128
  },
17012
17129
  "../hms-video-store/dist/index.js": {
17013
- "bytesInOutput": 53127
17130
+ "bytesInOutput": 53135
17014
17131
  },
17015
17132
  "src/Prebuilt/components/hooks/usePlaylistMusic.js": {
17016
17133
  "bytesInOutput": 1384
@@ -17096,11 +17213,17 @@
17096
17213
  "src/Prebuilt/components/Footer/RoleOptions.tsx": {
17097
17214
  "bytesInOutput": 8531
17098
17215
  },
17216
+ "src/Prebuilt/components/hooks/useGroupOnStageActions.tsx": {
17217
+ "bytesInOutput": 2258
17218
+ },
17099
17219
  "src/Prebuilt/components/Footer/RoleAccordion.tsx": {
17100
- "bytesInOutput": 5338
17220
+ "bytesInOutput": 6255
17221
+ },
17222
+ "src/Prebuilt/components/hooks/usePeerOnStageActions.tsx": {
17223
+ "bytesInOutput": 2181
17101
17224
  },
17102
17225
  "src/Prebuilt/components/Footer/ParticipantList.tsx": {
17103
- "bytesInOutput": 14004
17226
+ "bytesInOutput": 14527
17104
17227
  },
17105
17228
  "src/Prebuilt/components/Footer/PollsToggle.tsx": {
17106
17229
  "bytesInOutput": 1521
@@ -17115,13 +17238,13 @@
17115
17238
  "bytesInOutput": 2811
17116
17239
  },
17117
17240
  "src/Prebuilt/components/Streaming/Common.jsx": {
17118
- "bytesInOutput": 2747
17241
+ "bytesInOutput": 2759
17119
17242
  },
17120
17243
  "src/Prebuilt/components/Polls/common/StatusIndicator.tsx": {
17121
17244
  "bytesInOutput": 1170
17122
17245
  },
17123
17246
  "src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.tsx": {
17124
- "bytesInOutput": 9660
17247
+ "bytesInOutput": 9672
17125
17248
  },
17126
17249
  "src/Prebuilt/components/Polls/CreateQuestions/DeleteQuestionModal.tsx": {
17127
17250
  "bytesInOutput": 2802
@@ -17130,7 +17253,7 @@
17130
17253
  "bytesInOutput": 394
17131
17254
  },
17132
17255
  "src/Prebuilt/components/Polls/common/OptionInputWithDelete.tsx": {
17133
- "bytesInOutput": 1335
17256
+ "bytesInOutput": 1347
17134
17257
  },
17135
17258
  "src/Prebuilt/components/Polls/common/VoteCount.tsx": {
17136
17259
  "bytesInOutput": 587
@@ -17145,7 +17268,7 @@
17145
17268
  "bytesInOutput": 5422
17146
17269
  },
17147
17270
  "src/Prebuilt/components/Polls/CreateQuestions/QuestionForm.tsx": {
17148
- "bytesInOutput": 10146
17271
+ "bytesInOutput": 10158
17149
17272
  },
17150
17273
  "src/Prebuilt/components/Polls/CreateQuestions/SavedQuestion.tsx": {
17151
17274
  "bytesInOutput": 2034
@@ -17247,7 +17370,7 @@
17247
17370
  "bytesInOutput": 827
17248
17371
  },
17249
17372
  "src/Prebuilt/components/Chat/PinnedMessage.tsx": {
17250
- "bytesInOutput": 6106
17373
+ "bytesInOutput": 6242
17251
17374
  },
17252
17375
  "src/Prebuilt/components/Chat/Chat.tsx": {
17253
17376
  "bytesInOutput": 6161
@@ -17295,7 +17418,7 @@
17295
17418
  "bytesInOutput": 8756
17296
17419
  },
17297
17420
  "src/Prebuilt/layouts/SidePane.tsx": {
17298
- "bytesInOutput": 7752
17421
+ "bytesInOutput": 7756
17299
17422
  },
17300
17423
  "src/Prebuilt/components/Chip.tsx": {
17301
17424
  "bytesInOutput": 1118
@@ -17355,7 +17478,7 @@
17355
17478
  "bytesInOutput": 5583
17356
17479
  },
17357
17480
  "src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx": {
17358
- "bytesInOutput": 3419
17481
+ "bytesInOutput": 3475
17359
17482
  },
17360
17483
  "src/Prebuilt/common/PeersSorter.ts": {
17361
17484
  "bytesInOutput": 3604
@@ -17427,7 +17550,7 @@
17427
17550
  "bytesInOutput": 2886
17428
17551
  },
17429
17552
  "src/Prebuilt/layouts/HLSView.jsx": {
17430
- "bytesInOutput": 31215
17553
+ "bytesInOutput": 31666
17431
17554
  },
17432
17555
  "src/Prebuilt/layouts/VideoStreamingSection.tsx": {
17433
17556
  "bytesInOutput": 5017
@@ -17436,10 +17559,10 @@
17436
17559
  "bytesInOutput": 2182
17437
17560
  },
17438
17561
  "src/Prebuilt/components/Header/common.jsx": {
17439
- "bytesInOutput": 7375
17562
+ "bytesInOutput": 7389
17440
17563
  },
17441
17564
  "src/Prebuilt/components/Header/Header.tsx": {
17442
- "bytesInOutput": 2327
17565
+ "bytesInOutput": 2332
17443
17566
  },
17444
17567
  "src/Prebuilt/components/Header/index.tsx": {
17445
17568
  "bytesInOutput": 152
@@ -17472,7 +17595,7 @@
17472
17595
  "bytesInOutput": 2925
17473
17596
  },
17474
17597
  "src/Prebuilt/components/MwebLandscapePrompt.tsx": {
17475
- "bytesInOutput": 3699
17598
+ "bytesInOutput": 3705
17476
17599
  },
17477
17600
  "src/Prebuilt/components/Notifications/AutoplayBlockedModal.tsx": {
17478
17601
  "bytesInOutput": 1415
@@ -17565,7 +17688,7 @@
17565
17688
  "bytesInOutput": 2980
17566
17689
  }
17567
17690
  },
17568
- "bytes": 1550150
17691
+ "bytes": 1557879
17569
17692
  }
17570
17693
  }
17571
17694
  }