@100mslive/roomkit-react 0.2.1-alpha.0 → 0.2.1-alpha.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. package/LICENSE +21 -0
  2. package/dist/{HLSView-GKCGIZ5F.js → HLSView-S5JHEMWJ.js} +2 -2
  3. package/dist/Prebuilt/components/Polls/Voting/PeerParticipationSummary.d.ts +2 -2
  4. package/dist/Prebuilt/components/Polls/Voting/StatisticBox.d.ts +1 -1
  5. package/dist/Prebuilt/components/Polls/Voting/useQuizSummary.d.ts +7 -0
  6. package/dist/{chunk-FTOP3RHP.js → chunk-AWWYBQSE.js} +468 -452
  7. package/dist/chunk-AWWYBQSE.js.map +7 -0
  8. package/dist/index.cjs.js +1511 -1489
  9. package/dist/index.cjs.js.map +4 -4
  10. package/dist/index.js +1 -1
  11. package/dist/meta.cjs.json +124 -70
  12. package/dist/meta.esbuild.json +137 -83
  13. package/package.json +12 -6
  14. package/src/Introduction/Integrating.stories.mdx +1 -1
  15. package/src/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.jsx +3 -3
  16. package/src/Prebuilt/components/Notifications/Notifications.tsx +14 -1
  17. package/src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.jsx +3 -4
  18. package/src/Prebuilt/components/Polls/CreateQuestions/QuestionForm.tsx +6 -5
  19. package/src/Prebuilt/components/Polls/Voting/LeaderboardSummary.tsx +7 -59
  20. package/src/Prebuilt/components/Polls/Voting/PeerParticipationSummary.tsx +40 -14
  21. package/src/Prebuilt/components/Polls/Voting/StandardVoting.tsx +1 -1
  22. package/src/Prebuilt/components/Polls/Voting/StatisticBox.tsx +16 -11
  23. package/src/Prebuilt/components/Polls/Voting/Voting.tsx +5 -7
  24. package/src/Prebuilt/components/Polls/Voting/useQuizSummary.tsx +50 -0
  25. package/src/Prebuilt/layouts/WhiteboardView.tsx +4 -1
  26. package/src/Toast/Toast.tsx +1 -0
  27. package/dist/chunk-FTOP3RHP.js.map +0 -7
  28. /package/dist/{HLSView-GKCGIZ5F.js.map → HLSView-S5JHEMWJ.js.map} +0 -0
package/dist/index.js CHANGED
@@ -62,7 +62,7 @@ import {
62
62
  theme,
63
63
  useBorderAudioLevel,
64
64
  useTheme
65
- } from "./chunk-FTOP3RHP.js";
65
+ } from "./chunk-AWWYBQSE.js";
66
66
  export {
67
67
  Accordion,
68
68
  AudioLevel,
@@ -1486,7 +1486,7 @@
1486
1486
  "format": "esm"
1487
1487
  },
1488
1488
  "src/Toast/Toast.tsx": {
1489
- "bytes": 4279,
1489
+ "bytes": 4297,
1490
1490
  "imports": [
1491
1491
  {
1492
1492
  "path": "react",
@@ -2227,7 +2227,7 @@
2227
2227
  "format": "esm"
2228
2228
  },
2229
2229
  "src/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.jsx": {
2230
- "bytes": 3097,
2230
+ "bytes": 3098,
2231
2231
  "imports": [
2232
2232
  {
2233
2233
  "path": "react",
@@ -4478,7 +4478,7 @@
4478
4478
  "format": "cjs"
4479
4479
  },
4480
4480
  "../hms-video-store/dist/index.js": {
4481
- "bytes": 320473,
4481
+ "bytes": 320301,
4482
4482
  "imports": [
4483
4483
  {
4484
4484
  "path": "../../node_modules/reselect/es/index.js",
@@ -6211,7 +6211,7 @@
6211
6211
  "format": "esm"
6212
6212
  },
6213
6213
  "src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.jsx": {
6214
- "bytes": 7706,
6214
+ "bytes": 7668,
6215
6215
  "imports": [
6216
6216
  {
6217
6217
  "path": "react",
@@ -6504,7 +6504,7 @@
6504
6504
  "format": "esm"
6505
6505
  },
6506
6506
  "src/Prebuilt/components/Polls/CreateQuestions/QuestionForm.tsx": {
6507
- "bytes": 9971,
6507
+ "bytes": 10090,
6508
6508
  "imports": [
6509
6509
  {
6510
6510
  "path": "react",
@@ -6728,7 +6728,7 @@
6728
6728
  "format": "esm"
6729
6729
  },
6730
6730
  "src/Prebuilt/components/Polls/Voting/StatisticBox.tsx": {
6731
- "bytes": 540,
6731
+ "bytes": 624,
6732
6732
  "imports": [
6733
6733
  {
6734
6734
  "path": "react",
@@ -6753,8 +6753,8 @@
6753
6753
  ],
6754
6754
  "format": "esm"
6755
6755
  },
6756
- "src/Prebuilt/components/Polls/Voting/LeaderboardSummary.tsx": {
6757
- "bytes": 5842,
6756
+ "src/Prebuilt/components/Polls/Voting/useQuizSummary.tsx": {
6757
+ "bytes": 1684,
6758
6758
  "imports": [
6759
6759
  {
6760
6760
  "path": "react",
@@ -6767,70 +6767,61 @@
6767
6767
  "external": true
6768
6768
  },
6769
6769
  {
6770
- "path": "@100mslive/react-icons",
6770
+ "path": "<define:process.env>",
6771
6771
  "kind": "import-statement",
6772
6772
  "external": true
6773
6773
  },
6774
6774
  {
6775
- "path": "src/Layout/index.tsx",
6776
- "kind": "import-statement",
6777
- "original": "../../../../Layout"
6778
- },
6779
- {
6780
- "path": "src/Loading/index.ts",
6781
- "kind": "import-statement",
6782
- "original": "../../../../Loading"
6783
- },
6784
- {
6785
- "path": "src/Text/index.tsx",
6775
+ "path": "<runtime>",
6786
6776
  "kind": "import-statement",
6787
- "original": "../../../../Text"
6788
- },
6777
+ "external": true
6778
+ }
6779
+ ],
6780
+ "format": "esm"
6781
+ },
6782
+ "src/Prebuilt/components/Polls/Voting/PeerParticipationSummary.tsx": {
6783
+ "bytes": 2194,
6784
+ "imports": [
6789
6785
  {
6790
- "path": "src/Prebuilt/components/Polls/Voting/LeaderboardEntry.tsx",
6786
+ "path": "react",
6791
6787
  "kind": "import-statement",
6792
- "original": "./LeaderboardEntry"
6788
+ "external": true
6793
6789
  },
6794
6790
  {
6795
- "path": "src/Prebuilt/components/Polls/Voting/StatisticBox.tsx",
6791
+ "path": "@100mslive/react-sdk",
6796
6792
  "kind": "import-statement",
6797
- "original": "./StatisticBox"
6793
+ "external": true
6798
6794
  },
6799
6795
  {
6800
- "path": "src/Prebuilt/components/AppData/useSidepane.js",
6796
+ "path": "src/Layout/index.tsx",
6801
6797
  "kind": "import-statement",
6802
- "original": "../../AppData/useSidepane"
6798
+ "original": "../../../../Layout"
6803
6799
  },
6804
6800
  {
6805
- "path": "src/Prebuilt/components/AppData/useUISettings.js",
6801
+ "path": "src/Text/index.tsx",
6806
6802
  "kind": "import-statement",
6807
- "original": "../../AppData/useUISettings"
6803
+ "original": "../../../../Text"
6808
6804
  },
6809
6805
  {
6810
- "path": "src/Prebuilt/components/Polls/common/StatusIndicator.tsx",
6806
+ "path": "src/Prebuilt/components/Polls/Voting/StatisticBox.tsx",
6811
6807
  "kind": "import-statement",
6812
- "original": "../common/StatusIndicator"
6808
+ "original": "./StatisticBox"
6813
6809
  },
6814
6810
  {
6815
- "path": "src/Prebuilt/common/constants.ts",
6811
+ "path": "src/Prebuilt/components/Polls/Voting/useQuizSummary.tsx",
6816
6812
  "kind": "import-statement",
6817
- "original": "../../../common/constants"
6813
+ "original": "./useQuizSummary"
6818
6814
  },
6819
6815
  {
6820
6816
  "path": "<define:process.env>",
6821
6817
  "kind": "import-statement",
6822
6818
  "external": true
6823
- },
6824
- {
6825
- "path": "<runtime>",
6826
- "kind": "import-statement",
6827
- "external": true
6828
6819
  }
6829
6820
  ],
6830
6821
  "format": "esm"
6831
6822
  },
6832
- "src/Prebuilt/components/Polls/Voting/PeerParticipationSummary.tsx": {
6833
- "bytes": 1075,
6823
+ "src/Prebuilt/components/Polls/Voting/LeaderboardSummary.tsx": {
6824
+ "bytes": 4039,
6834
6825
  "imports": [
6835
6826
  {
6836
6827
  "path": "react",
@@ -6842,25 +6833,60 @@
6842
6833
  "kind": "import-statement",
6843
6834
  "external": true
6844
6835
  },
6836
+ {
6837
+ "path": "@100mslive/react-icons",
6838
+ "kind": "import-statement",
6839
+ "external": true
6840
+ },
6845
6841
  {
6846
6842
  "path": "src/Layout/index.tsx",
6847
6843
  "kind": "import-statement",
6848
6844
  "original": "../../../../Layout"
6849
6845
  },
6846
+ {
6847
+ "path": "src/Loading/index.ts",
6848
+ "kind": "import-statement",
6849
+ "original": "../../../../Loading"
6850
+ },
6850
6851
  {
6851
6852
  "path": "src/Text/index.tsx",
6852
6853
  "kind": "import-statement",
6853
6854
  "original": "../../../../Text"
6854
6855
  },
6855
6856
  {
6856
- "path": "src/Prebuilt/components/Polls/Voting/StatisticBox.tsx",
6857
+ "path": "src/Prebuilt/components/Polls/Voting/LeaderboardEntry.tsx",
6857
6858
  "kind": "import-statement",
6858
- "original": "./StatisticBox"
6859
+ "original": "./LeaderboardEntry"
6859
6860
  },
6860
6861
  {
6861
- "path": "src/Prebuilt/common/utils.js",
6862
+ "path": "src/Prebuilt/components/Polls/Voting/PeerParticipationSummary.tsx",
6862
6863
  "kind": "import-statement",
6863
- "original": "../../../common/utils"
6864
+ "original": "./PeerParticipationSummary"
6865
+ },
6866
+ {
6867
+ "path": "src/Prebuilt/components/AppData/useSidepane.js",
6868
+ "kind": "import-statement",
6869
+ "original": "../../AppData/useSidepane"
6870
+ },
6871
+ {
6872
+ "path": "src/Prebuilt/components/AppData/useUISettings.js",
6873
+ "kind": "import-statement",
6874
+ "original": "../../AppData/useUISettings"
6875
+ },
6876
+ {
6877
+ "path": "src/Prebuilt/components/Polls/Voting/useQuizSummary.tsx",
6878
+ "kind": "import-statement",
6879
+ "original": "./useQuizSummary"
6880
+ },
6881
+ {
6882
+ "path": "src/Prebuilt/components/Polls/common/StatusIndicator.tsx",
6883
+ "kind": "import-statement",
6884
+ "original": "../common/StatusIndicator"
6885
+ },
6886
+ {
6887
+ "path": "src/Prebuilt/common/constants.ts",
6888
+ "kind": "import-statement",
6889
+ "original": "../../../common/constants"
6864
6890
  },
6865
6891
  {
6866
6892
  "path": "<define:process.env>",
@@ -6984,7 +7010,7 @@
6984
7010
  "format": "esm"
6985
7011
  },
6986
7012
  "src/Prebuilt/components/Polls/Voting/Voting.tsx": {
6987
- "bytes": 3244,
7013
+ "bytes": 3192,
6988
7014
  "imports": [
6989
7015
  {
6990
7016
  "path": "react",
@@ -10077,13 +10103,18 @@
10077
10103
  "format": "esm"
10078
10104
  },
10079
10105
  "src/Prebuilt/layouts/WhiteboardView.tsx": {
10080
- "bytes": 1906,
10106
+ "bytes": 2047,
10081
10107
  "imports": [
10082
10108
  {
10083
10109
  "path": "react",
10084
10110
  "kind": "import-statement",
10085
10111
  "external": true
10086
10112
  },
10113
+ {
10114
+ "path": "react-use",
10115
+ "kind": "import-statement",
10116
+ "external": true
10117
+ },
10087
10118
  {
10088
10119
  "path": "@100mslive/react-sdk",
10089
10120
  "kind": "import-statement",
@@ -10099,6 +10130,11 @@
10099
10130
  "kind": "import-statement",
10100
10131
  "original": "../components/VideoLayouts/ProminenceLayout"
10101
10132
  },
10133
+ {
10134
+ "path": "src/index.ts",
10135
+ "kind": "import-statement",
10136
+ "original": "../../"
10137
+ },
10102
10138
  {
10103
10139
  "path": "src/Layout/index.tsx",
10104
10140
  "kind": "import-statement",
@@ -11702,7 +11738,7 @@
11702
11738
  "format": "esm"
11703
11739
  },
11704
11740
  "src/Prebuilt/components/Notifications/Notifications.tsx": {
11705
- "bytes": 7752,
11741
+ "bytes": 8209,
11706
11742
  "imports": [
11707
11743
  {
11708
11744
  "path": "react",
@@ -12536,7 +12572,7 @@
12536
12572
  "imports": [],
12537
12573
  "exports": [],
12538
12574
  "inputs": {},
12539
- "bytes": 3065966
12575
+ "bytes": 3066434
12540
12576
  },
12541
12577
  "dist/index.cjs.js": {
12542
12578
  "imports": [
@@ -13901,7 +13937,12 @@
13901
13937
  "external": true
13902
13938
  },
13903
13939
  {
13904
- "path": "@100mslive/react-icons",
13940
+ "path": "react",
13941
+ "kind": "require-call",
13942
+ "external": true
13943
+ },
13944
+ {
13945
+ "path": "@100mslive/react-sdk",
13905
13946
  "kind": "require-call",
13906
13947
  "external": true
13907
13948
  },
@@ -13915,6 +13956,11 @@
13915
13956
  "kind": "require-call",
13916
13957
  "external": true
13917
13958
  },
13959
+ {
13960
+ "path": "@100mslive/react-icons",
13961
+ "kind": "require-call",
13962
+ "external": true
13963
+ },
13918
13964
  {
13919
13965
  "path": "react",
13920
13966
  "kind": "require-call",
@@ -14690,6 +14736,11 @@
14690
14736
  "kind": "require-call",
14691
14737
  "external": true
14692
14738
  },
14739
+ {
14740
+ "path": "react-use",
14741
+ "kind": "require-call",
14742
+ "external": true
14743
+ },
14693
14744
  {
14694
14745
  "path": "@100mslive/react-sdk",
14695
14746
  "kind": "require-call",
@@ -15195,7 +15246,7 @@
15195
15246
  "entryPoint": "src/index.ts",
15196
15247
  "inputs": {
15197
15248
  "<define:process.env>": {
15198
- "bytesInOutput": 18388
15249
+ "bytesInOutput": 17187
15199
15250
  },
15200
15251
  "src/Theme/base.config.ts": {
15201
15252
  "bytesInOutput": 6104
@@ -15372,7 +15423,7 @@
15372
15423
  "bytesInOutput": 927
15373
15424
  },
15374
15425
  "src/Stats/formatBytes.ts": {
15375
- "bytesInOutput": 634
15426
+ "bytesInOutput": 636
15376
15427
  },
15377
15428
  "src/Stats/StyledStats.tsx": {
15378
15429
  "bytesInOutput": 1004
@@ -15402,7 +15453,7 @@
15402
15453
  "bytesInOutput": 144
15403
15454
  },
15404
15455
  "src/Toast/Toast.tsx": {
15405
- "bytesInOutput": 5140
15456
+ "bytesInOutput": 5162
15406
15457
  },
15407
15458
  "src/Toast/index.tsx": {
15408
15459
  "bytesInOutput": 129
@@ -15480,7 +15531,7 @@
15480
15531
  "bytesInOutput": 845
15481
15532
  },
15482
15533
  "src/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.jsx": {
15483
- "bytesInOutput": 3794
15534
+ "bytesInOutput": 3795
15484
15535
  },
15485
15536
  "src/Prebuilt/components/Toast/ToastManager.js": {
15486
15537
  "bytesInOutput": 1359
@@ -15591,7 +15642,7 @@
15591
15642
  "bytesInOutput": 5459
15592
15643
  },
15593
15644
  "src/Prebuilt/components/StatsForNerds.jsx": {
15594
- "bytesInOutput": 11472
15645
+ "bytesInOutput": 11474
15595
15646
  },
15596
15647
  "src/Prebuilt/components/MoreSettings/BulkRoleChangeModal.jsx": {
15597
15648
  "bytesInOutput": 6192
@@ -15669,7 +15720,7 @@
15669
15720
  "bytesInOutput": 615
15670
15721
  },
15671
15722
  "../hms-video-store/dist/index.js": {
15672
- "bytesInOutput": 52645
15723
+ "bytesInOutput": 52763
15673
15724
  },
15674
15725
  "src/Prebuilt/components/hooks/usePlaylistMusic.js": {
15675
15726
  "bytesInOutput": 1384
@@ -15681,7 +15732,7 @@
15681
15732
  "bytesInOutput": 8158
15682
15733
  },
15683
15734
  "src/Prebuilt/common/utils.js": {
15684
- "bytesInOutput": 4396
15735
+ "bytesInOutput": 2908
15685
15736
  },
15686
15737
  "src/Prebuilt/components/Header/StreamActions.tsx": {
15687
15738
  "bytesInOutput": 12096
@@ -15780,7 +15831,7 @@
15780
15831
  "bytesInOutput": 959
15781
15832
  },
15782
15833
  "src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.jsx": {
15783
- "bytesInOutput": 9466
15834
+ "bytesInOutput": 9019
15784
15835
  },
15785
15836
  "src/Prebuilt/components/Polls/CreateQuestions/DeleteQuestionModal.tsx": {
15786
15837
  "bytesInOutput": 2786
@@ -15804,7 +15855,7 @@
15804
15855
  "bytesInOutput": 5343
15805
15856
  },
15806
15857
  "src/Prebuilt/components/Polls/CreateQuestions/QuestionForm.tsx": {
15807
- "bytesInOutput": 10626
15858
+ "bytesInOutput": 10146
15808
15859
  },
15809
15860
  "src/Prebuilt/components/Polls/CreateQuestions/SavedQuestion.tsx": {
15810
15861
  "bytesInOutput": 2705
@@ -15816,25 +15867,28 @@
15816
15867
  "bytesInOutput": 2218
15817
15868
  },
15818
15869
  "src/Prebuilt/components/Polls/Voting/StatisticBox.tsx": {
15819
- "bytesInOutput": 804
15870
+ "bytesInOutput": 978
15820
15871
  },
15821
- "src/Prebuilt/components/Polls/Voting/LeaderboardSummary.tsx": {
15822
- "bytesInOutput": 7457
15872
+ "src/Prebuilt/components/Polls/Voting/useQuizSummary.tsx": {
15873
+ "bytesInOutput": 2203
15823
15874
  },
15824
15875
  "src/Prebuilt/components/Polls/Voting/PeerParticipationSummary.tsx": {
15825
- "bytesInOutput": 1454
15876
+ "bytesInOutput": 2825
15877
+ },
15878
+ "src/Prebuilt/components/Polls/Voting/LeaderboardSummary.tsx": {
15879
+ "bytesInOutput": 5011
15826
15880
  },
15827
15881
  "src/Prebuilt/components/Polls/Voting/QuestionCard.jsx": {
15828
15882
  "bytesInOutput": 9947
15829
15883
  },
15830
15884
  "src/Prebuilt/components/Polls/Voting/StandardVoting.tsx": {
15831
- "bytesInOutput": 1695
15885
+ "bytesInOutput": 1701
15832
15886
  },
15833
15887
  "src/Prebuilt/components/Polls/Voting/TimedVoting.tsx": {
15834
15888
  "bytesInOutput": 1419
15835
15889
  },
15836
15890
  "src/Prebuilt/components/Polls/Voting/Voting.tsx": {
15837
- "bytesInOutput": 4092
15891
+ "bytesInOutput": 3957
15838
15892
  },
15839
15893
  "src/Prebuilt/components/Polls/Polls.tsx": {
15840
15894
  "bytesInOutput": 1177
@@ -15972,7 +16026,7 @@
15972
16026
  "bytesInOutput": 1620
15973
16027
  },
15974
16028
  "src/Prebuilt/components/hooks/useTileLayout.tsx": {
15975
- "bytesInOutput": 4488
16029
+ "bytesInOutput": 4492
15976
16030
  },
15977
16031
  "src/Prebuilt/components/VideoLayouts/EqualProminence.tsx": {
15978
16032
  "bytesInOutput": 2453
@@ -16014,7 +16068,7 @@
16014
16068
  "bytesInOutput": 1943
16015
16069
  },
16016
16070
  "src/Prebuilt/layouts/WhiteboardView.tsx": {
16017
- "bytesInOutput": 2568
16071
+ "bytesInOutput": 2733
16018
16072
  },
16019
16073
  "src/Prebuilt/components/hooks/useCloseScreenshareWhiteboard.tsx": {
16020
16074
  "bytesInOutput": 1356
@@ -16110,7 +16164,7 @@
16110
16164
  "bytesInOutput": 2151
16111
16165
  },
16112
16166
  "src/Prebuilt/components/Notifications/AutoplayBlockedModal.tsx": {
16113
- "bytesInOutput": 1412
16167
+ "bytesInOutput": 1415
16114
16168
  },
16115
16169
  "src/Prebuilt/components/Notifications/ChatNotifications.tsx": {
16116
16170
  "bytesInOutput": 1817
@@ -16146,7 +16200,7 @@
16146
16200
  "bytesInOutput": 2281
16147
16201
  },
16148
16202
  "src/Prebuilt/components/Notifications/Notifications.tsx": {
16149
- "bytesInOutput": 8338
16203
+ "bytesInOutput": 8924
16150
16204
  },
16151
16205
  "src/Prebuilt/components/Notifications/index.tsx": {
16152
16206
  "bytesInOutput": 173
@@ -16188,7 +16242,7 @@
16188
16242
  "bytesInOutput": 2980
16189
16243
  }
16190
16244
  },
16191
- "bytes": 1439675
16245
+ "bytes": 1438195
16192
16246
  }
16193
16247
  }
16194
16248
  }