@100mslive/roomkit-react 0.3.2 → 0.3.3-alpha.1
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.
- package/dist/Accordion/Accordion.d.ts +1 -0
- package/dist/Accordion/index.d.ts +1 -0
- package/dist/{HLSView-IN3HFCHT.js → HLSView-GDOF4655.js} +2 -2
- package/dist/Prebuilt/components/RaiseHand.d.ts +1 -1
- package/dist/Prebuilt/components/hooks/useMetadata.d.ts +8 -0
- package/dist/{chunk-ORCLDJ5D.js → chunk-ZDW56PPL.js} +563 -508
- package/dist/chunk-ZDW56PPL.js.map +7 -0
- package/dist/index.cjs.js +965 -907
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +69 -74
- package/dist/meta.esbuild.json +75 -80
- package/package.json +7 -7
- package/src/Accordion/Accordion.tsx +4 -4
- package/src/Prebuilt/common/utils.js +1 -1
- package/src/Prebuilt/components/Chat/ChatBody.tsx +10 -0
- package/src/Prebuilt/components/Chat/ChatFooter.tsx +2 -4
- package/src/Prebuilt/components/ConferenceScreen.tsx +1 -4
- package/src/Prebuilt/components/Footer/Footer.tsx +1 -4
- package/src/Prebuilt/components/Footer/RoleAccordion.tsx +2 -1
- package/src/Prebuilt/components/MoreSettings/SplitComponents/DesktopOptions.tsx +0 -1
- package/src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx +1 -5
- package/src/Prebuilt/components/Polls/CreateQuestions/CreateQuestions.jsx +6 -6
- package/src/Prebuilt/components/Polls/CreateQuestions/SavedQuestion.tsx +14 -2
- package/src/Prebuilt/components/Polls/common/MultipleChoiceOptions.jsx +3 -2
- package/src/Prebuilt/components/Polls/common/OptionInputWithDelete.tsx +1 -0
- package/src/Prebuilt/components/Polls/common/SingleChoiceOptions.jsx +3 -1
- package/src/Prebuilt/components/PreviousRoleInMetadata.tsx +0 -1
- package/src/Prebuilt/components/RaiseHand.tsx +7 -1
- package/src/Prebuilt/components/RoleChangeRequest/RoleChangeRequestModal.tsx +0 -1
- package/src/Prebuilt/components/hooks/{useMetadata.jsx → useMetadata.tsx} +2 -8
- package/src/Stats/Stats.tsx +1 -1
- package/dist/chunk-ORCLDJ5D.js.map +0 -7
- /package/dist/{HLSView-IN3HFCHT.js.map → HLSView-GDOF4655.js.map} +0 -0
package/dist/meta.esbuild.json
CHANGED
@@ -1323,7 +1323,7 @@
|
|
1323
1323
|
"format": "esm"
|
1324
1324
|
},
|
1325
1325
|
"src/Stats/Stats.tsx": {
|
1326
|
-
"bytes":
|
1326
|
+
"bytes": 7818,
|
1327
1327
|
"imports": [
|
1328
1328
|
{
|
1329
1329
|
"path": "react",
|
@@ -1558,7 +1558,7 @@
|
|
1558
1558
|
"format": "esm"
|
1559
1559
|
},
|
1560
1560
|
"src/Accordion/Accordion.tsx": {
|
1561
|
-
"bytes":
|
1561
|
+
"bytes": 2819,
|
1562
1562
|
"imports": [
|
1563
1563
|
{
|
1564
1564
|
"path": "react",
|
@@ -2153,7 +2153,7 @@
|
|
2153
2153
|
"format": "esm"
|
2154
2154
|
},
|
2155
2155
|
"src/Prebuilt/common/utils.js": {
|
2156
|
-
"bytes":
|
2156
|
+
"bytes": 5892,
|
2157
2157
|
"imports": [
|
2158
2158
|
{
|
2159
2159
|
"path": "src/Prebuilt/common/constants.ts",
|
@@ -4201,8 +4201,8 @@
|
|
4201
4201
|
],
|
4202
4202
|
"format": "esm"
|
4203
4203
|
},
|
4204
|
-
"src/Prebuilt/components/hooks/useMetadata.
|
4205
|
-
"bytes":
|
4204
|
+
"src/Prebuilt/components/hooks/useMetadata.tsx": {
|
4205
|
+
"bytes": 1631,
|
4206
4206
|
"imports": [
|
4207
4207
|
{
|
4208
4208
|
"path": "react",
|
@@ -4228,7 +4228,7 @@
|
|
4228
4228
|
"format": "esm"
|
4229
4229
|
},
|
4230
4230
|
"src/Prebuilt/components/MoreSettings/SplitComponents/DesktopOptions.tsx": {
|
4231
|
-
"bytes":
|
4231
|
+
"bytes": 8164,
|
4232
4232
|
"imports": [
|
4233
4233
|
{
|
4234
4234
|
"path": "react",
|
@@ -4321,7 +4321,7 @@
|
|
4321
4321
|
"original": "../../hooks/useDropdownList"
|
4322
4322
|
},
|
4323
4323
|
{
|
4324
|
-
"path": "src/Prebuilt/components/hooks/useMetadata.
|
4324
|
+
"path": "src/Prebuilt/components/hooks/useMetadata.tsx",
|
4325
4325
|
"kind": "import-statement",
|
4326
4326
|
"original": "../../hooks/useMetadata"
|
4327
4327
|
},
|
@@ -4691,7 +4691,7 @@
|
|
4691
4691
|
"format": "cjs"
|
4692
4692
|
},
|
4693
4693
|
"../hms-video-store/dist/index.js": {
|
4694
|
-
"bytes":
|
4694
|
+
"bytes": 328413,
|
4695
4695
|
"imports": [
|
4696
4696
|
{
|
4697
4697
|
"path": "../../node_modules/reselect/es/index.js",
|
@@ -5201,7 +5201,7 @@
|
|
5201
5201
|
"format": "esm"
|
5202
5202
|
},
|
5203
5203
|
"src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx": {
|
5204
|
-
"bytes":
|
5204
|
+
"bytes": 12899,
|
5205
5205
|
"imports": [
|
5206
5206
|
{
|
5207
5207
|
"path": "react",
|
@@ -5309,7 +5309,7 @@
|
|
5309
5309
|
"original": "../../hooks/useDropdownList"
|
5310
5310
|
},
|
5311
5311
|
{
|
5312
|
-
"path": "src/Prebuilt/components/hooks/useMetadata.
|
5312
|
+
"path": "src/Prebuilt/components/hooks/useMetadata.tsx",
|
5313
5313
|
"kind": "import-statement",
|
5314
5314
|
"original": "../../hooks/useMetadata"
|
5315
5315
|
},
|
@@ -5393,7 +5393,7 @@
|
|
5393
5393
|
"format": "esm"
|
5394
5394
|
},
|
5395
5395
|
"src/Prebuilt/components/RaiseHand.tsx": {
|
5396
|
-
"bytes":
|
5396
|
+
"bytes": 986,
|
5397
5397
|
"imports": [
|
5398
5398
|
{
|
5399
5399
|
"path": "react",
|
@@ -5421,7 +5421,12 @@
|
|
5421
5421
|
"original": "../IconButton"
|
5422
5422
|
},
|
5423
5423
|
{
|
5424
|
-
"path": "src/Prebuilt/
|
5424
|
+
"path": "src/Prebuilt/provider/roomLayoutProvider/hooks/useRoomLayoutScreen.ts",
|
5425
|
+
"kind": "import-statement",
|
5426
|
+
"original": "../provider/roomLayoutProvider/hooks/useRoomLayoutScreen"
|
5427
|
+
},
|
5428
|
+
{
|
5429
|
+
"path": "src/Prebuilt/components/hooks/useMetadata.tsx",
|
5425
5430
|
"kind": "import-statement",
|
5426
5431
|
"original": "./hooks/useMetadata"
|
5427
5432
|
},
|
@@ -6042,7 +6047,7 @@
|
|
6042
6047
|
"format": "esm"
|
6043
6048
|
},
|
6044
6049
|
"src/Prebuilt/components/Footer/RoleAccordion.tsx": {
|
6045
|
-
"bytes":
|
6050
|
+
"bytes": 5767,
|
6046
6051
|
"imports": [
|
6047
6052
|
{
|
6048
6053
|
"path": "react",
|
@@ -6337,7 +6342,7 @@
|
|
6337
6342
|
"format": "esm"
|
6338
6343
|
},
|
6339
6344
|
"src/Prebuilt/components/Footer/Footer.tsx": {
|
6340
|
-
"bytes":
|
6345
|
+
"bytes": 3777,
|
6341
6346
|
"imports": [
|
6342
6347
|
{
|
6343
6348
|
"path": "react",
|
@@ -6359,11 +6364,6 @@
|
|
6359
6364
|
"kind": "import-statement",
|
6360
6365
|
"external": true
|
6361
6366
|
},
|
6362
|
-
{
|
6363
|
-
"path": "@100mslive/react-sdk",
|
6364
|
-
"kind": "import-statement",
|
6365
|
-
"external": true
|
6366
|
-
},
|
6367
6367
|
{
|
6368
6368
|
"path": "src/index.ts",
|
6369
6369
|
"kind": "import-statement",
|
@@ -6715,7 +6715,7 @@
|
|
6715
6715
|
"format": "esm"
|
6716
6716
|
},
|
6717
6717
|
"src/Prebuilt/components/Polls/common/OptionInputWithDelete.tsx": {
|
6718
|
-
"bytes":
|
6718
|
+
"bytes": 1065,
|
6719
6719
|
"imports": [
|
6720
6720
|
{
|
6721
6721
|
"path": "react",
|
@@ -6798,7 +6798,7 @@
|
|
6798
6798
|
"format": "esm"
|
6799
6799
|
},
|
6800
6800
|
"src/Prebuilt/components/Polls/common/MultipleChoiceOptions.jsx": {
|
6801
|
-
"bytes":
|
6801
|
+
"bytes": 3867,
|
6802
6802
|
"imports": [
|
6803
6803
|
{
|
6804
6804
|
"path": "react",
|
@@ -6839,7 +6839,7 @@
|
|
6839
6839
|
"format": "esm"
|
6840
6840
|
},
|
6841
6841
|
"src/Prebuilt/components/Polls/common/SingleChoiceOptions.jsx": {
|
6842
|
-
"bytes":
|
6842
|
+
"bytes": 5111,
|
6843
6843
|
"imports": [
|
6844
6844
|
{
|
6845
6845
|
"path": "react",
|
@@ -6956,7 +6956,7 @@
|
|
6956
6956
|
"format": "esm"
|
6957
6957
|
},
|
6958
6958
|
"src/Prebuilt/components/Polls/CreateQuestions/SavedQuestion.tsx": {
|
6959
|
-
"bytes":
|
6959
|
+
"bytes": 2095,
|
6960
6960
|
"imports": [
|
6961
6961
|
{
|
6962
6962
|
"path": "react",
|
@@ -6992,7 +6992,7 @@
|
|
6992
6992
|
"format": "esm"
|
6993
6993
|
},
|
6994
6994
|
"src/Prebuilt/components/Polls/CreateQuestions/CreateQuestions.jsx": {
|
6995
|
-
"bytes":
|
6995
|
+
"bytes": 5303,
|
6996
6996
|
"imports": [
|
6997
6997
|
{
|
6998
6998
|
"path": "react",
|
@@ -7963,7 +7963,7 @@
|
|
7963
7963
|
"format": "esm"
|
7964
7964
|
},
|
7965
7965
|
"src/Prebuilt/components/Chat/ChatBody.tsx": {
|
7966
|
-
"bytes":
|
7966
|
+
"bytes": 15176,
|
7967
7967
|
"imports": [
|
7968
7968
|
{
|
7969
7969
|
"path": "react",
|
@@ -8243,7 +8243,7 @@
|
|
8243
8243
|
"format": "esm"
|
8244
8244
|
},
|
8245
8245
|
"src/Prebuilt/components/Chat/ChatFooter.tsx": {
|
8246
|
-
"bytes":
|
8246
|
+
"bytes": 10287,
|
8247
8247
|
"imports": [
|
8248
8248
|
{
|
8249
8249
|
"path": "react",
|
@@ -9794,7 +9794,7 @@
|
|
9794
9794
|
"format": "esm"
|
9795
9795
|
},
|
9796
9796
|
"src/Prebuilt/components/RoleChangeRequest/RoleChangeRequestModal.tsx": {
|
9797
|
-
"bytes":
|
9797
|
+
"bytes": 2927,
|
9798
9798
|
"imports": [
|
9799
9799
|
{
|
9800
9800
|
"path": "react",
|
@@ -9827,7 +9827,7 @@
|
|
9827
9827
|
"original": "../../provider/roomLayoutProvider/hooks/useRoomLayoutScreen"
|
9828
9828
|
},
|
9829
9829
|
{
|
9830
|
-
"path": "src/Prebuilt/components/hooks/useMetadata.
|
9830
|
+
"path": "src/Prebuilt/components/hooks/useMetadata.tsx",
|
9831
9831
|
"kind": "import-statement",
|
9832
9832
|
"original": "../hooks/useMetadata"
|
9833
9833
|
},
|
@@ -11868,7 +11868,7 @@
|
|
11868
11868
|
"format": "esm"
|
11869
11869
|
},
|
11870
11870
|
"src/Prebuilt/components/PreviousRoleInMetadata.tsx": {
|
11871
|
-
"bytes":
|
11871
|
+
"bytes": 738,
|
11872
11872
|
"imports": [
|
11873
11873
|
{
|
11874
11874
|
"path": "react",
|
@@ -11881,7 +11881,7 @@
|
|
11881
11881
|
"external": true
|
11882
11882
|
},
|
11883
11883
|
{
|
11884
|
-
"path": "src/Prebuilt/components/hooks/useMetadata.
|
11884
|
+
"path": "src/Prebuilt/components/hooks/useMetadata.tsx",
|
11885
11885
|
"kind": "import-statement",
|
11886
11886
|
"original": "./hooks/useMetadata"
|
11887
11887
|
},
|
@@ -11894,7 +11894,7 @@
|
|
11894
11894
|
"format": "esm"
|
11895
11895
|
},
|
11896
11896
|
"src/Prebuilt/components/ConferenceScreen.tsx": {
|
11897
|
-
"bytes":
|
11897
|
+
"bytes": 8106,
|
11898
11898
|
"imports": [
|
11899
11899
|
{
|
11900
11900
|
"path": "react",
|
@@ -13709,7 +13709,7 @@
|
|
13709
13709
|
"dist/index.js": {
|
13710
13710
|
"imports": [
|
13711
13711
|
{
|
13712
|
-
"path": "dist/chunk-
|
13712
|
+
"path": "dist/chunk-ZDW56PPL.js",
|
13713
13713
|
"kind": "import-statement"
|
13714
13714
|
}
|
13715
13715
|
],
|
@@ -13782,16 +13782,16 @@
|
|
13782
13782
|
"inputs": {},
|
13783
13783
|
"bytes": 1822
|
13784
13784
|
},
|
13785
|
-
"dist/HLSView-
|
13785
|
+
"dist/HLSView-GDOF4655.js.map": {
|
13786
13786
|
"imports": [],
|
13787
13787
|
"exports": [],
|
13788
13788
|
"inputs": {},
|
13789
13789
|
"bytes": 90585
|
13790
13790
|
},
|
13791
|
-
"dist/HLSView-
|
13791
|
+
"dist/HLSView-GDOF4655.js": {
|
13792
13792
|
"imports": [
|
13793
13793
|
{
|
13794
|
-
"path": "dist/chunk-
|
13794
|
+
"path": "dist/chunk-ZDW56PPL.js",
|
13795
13795
|
"kind": "import-statement"
|
13796
13796
|
},
|
13797
13797
|
{
|
@@ -14009,13 +14009,13 @@
|
|
14009
14009
|
},
|
14010
14010
|
"bytes": 55694
|
14011
14011
|
},
|
14012
|
-
"dist/chunk-
|
14012
|
+
"dist/chunk-ZDW56PPL.js.map": {
|
14013
14013
|
"imports": [],
|
14014
14014
|
"exports": [],
|
14015
14015
|
"inputs": {},
|
14016
|
-
"bytes":
|
14016
|
+
"bytes": 3186774
|
14017
14017
|
},
|
14018
|
-
"dist/chunk-
|
14018
|
+
"dist/chunk-ZDW56PPL.js": {
|
14019
14019
|
"imports": [
|
14020
14020
|
{
|
14021
14021
|
"path": "react",
|
@@ -14452,11 +14452,6 @@
|
|
14452
14452
|
"kind": "import-statement",
|
14453
14453
|
"external": true
|
14454
14454
|
},
|
14455
|
-
{
|
14456
|
-
"path": "@100mslive/react-sdk",
|
14457
|
-
"kind": "import-statement",
|
14458
|
-
"external": true
|
14459
|
-
},
|
14460
14455
|
{
|
14461
14456
|
"path": "react",
|
14462
14457
|
"kind": "import-statement",
|
@@ -16403,7 +16398,7 @@
|
|
16403
16398
|
"external": true
|
16404
16399
|
},
|
16405
16400
|
{
|
16406
|
-
"path": "dist/HLSView-
|
16401
|
+
"path": "dist/HLSView-GDOF4655.js",
|
16407
16402
|
"kind": "dynamic-import"
|
16408
16403
|
},
|
16409
16404
|
{
|
@@ -16878,10 +16873,10 @@
|
|
16878
16873
|
],
|
16879
16874
|
"inputs": {
|
16880
16875
|
"<define:process.env>": {
|
16881
|
-
"bytesInOutput":
|
16876
|
+
"bytesInOutput": 18238
|
16882
16877
|
},
|
16883
16878
|
"../../node_modules/lodash/lodash.js": {
|
16884
|
-
"bytesInOutput":
|
16879
|
+
"bytesInOutput": 224298
|
16885
16880
|
},
|
16886
16881
|
"../../node_modules/ua-parser-js/src/ua-parser.js": {
|
16887
16882
|
"bytesInOutput": 42482
|
@@ -16890,7 +16885,7 @@
|
|
16890
16885
|
"bytesInOutput": 26591
|
16891
16886
|
},
|
16892
16887
|
"../../node_modules/sdp/sdp.js": {
|
16893
|
-
"bytesInOutput":
|
16888
|
+
"bytesInOutput": 22275
|
16894
16889
|
},
|
16895
16890
|
"../../node_modules/sdp-transform/lib/grammar.js": {
|
16896
16891
|
"bytesInOutput": 16120
|
@@ -17061,7 +17056,7 @@
|
|
17061
17056
|
"bytesInOutput": 755
|
17062
17057
|
},
|
17063
17058
|
"src/AudioLevel/AudioLevel.tsx": {
|
17064
|
-
"bytesInOutput":
|
17059
|
+
"bytesInOutput": 2196
|
17065
17060
|
},
|
17066
17061
|
"src/AudioLevel/audio-level.png": {
|
17067
17062
|
"bytesInOutput": 880
|
@@ -17073,7 +17068,7 @@
|
|
17073
17068
|
"bytesInOutput": 27
|
17074
17069
|
},
|
17075
17070
|
"src/Stats/Stats.tsx": {
|
17076
|
-
"bytesInOutput":
|
17071
|
+
"bytesInOutput": 7819
|
17077
17072
|
},
|
17078
17073
|
"src/Stats/formatBytes.ts": {
|
17079
17074
|
"bytesInOutput": 473
|
@@ -17097,7 +17092,7 @@
|
|
17097
17092
|
"bytesInOutput": 149
|
17098
17093
|
},
|
17099
17094
|
"src/Accordion/Accordion.tsx": {
|
17100
|
-
"bytesInOutput":
|
17095
|
+
"bytesInOutput": 2526
|
17101
17096
|
},
|
17102
17097
|
"src/Fieldset/Fieldset.tsx": {
|
17103
17098
|
"bytesInOutput": 233
|
@@ -17163,7 +17158,7 @@
|
|
17163
17158
|
"bytesInOutput": 1486
|
17164
17159
|
},
|
17165
17160
|
"src/Prebuilt/common/utils.js": {
|
17166
|
-
"bytesInOutput":
|
17161
|
+
"bytesInOutput": 3208
|
17167
17162
|
},
|
17168
17163
|
"src/Prebuilt/components/AppData/useSidepane.js": {
|
17169
17164
|
"bytesInOutput": 2499
|
@@ -17178,10 +17173,10 @@
|
|
17178
17173
|
"bytesInOutput": 4698
|
17179
17174
|
},
|
17180
17175
|
"src/Prebuilt/components/ConferenceScreen.tsx": {
|
17181
|
-
"bytesInOutput":
|
17176
|
+
"bytesInOutput": 7205
|
17182
17177
|
},
|
17183
17178
|
"src/Prebuilt/components/Footer/Footer.tsx": {
|
17184
|
-
"bytesInOutput":
|
17179
|
+
"bytesInOutput": 3145
|
17185
17180
|
},
|
17186
17181
|
"src/Prebuilt/components/AudioVideoToggle.tsx": {
|
17187
17182
|
"bytesInOutput": 10284
|
@@ -17306,20 +17301,20 @@
|
|
17306
17301
|
"src/Prebuilt/components/MoreSettings/constants.ts": {
|
17307
17302
|
"bytesInOutput": 437
|
17308
17303
|
},
|
17309
|
-
"src/Prebuilt/components/hooks/useMetadata.
|
17310
|
-
"bytesInOutput":
|
17304
|
+
"src/Prebuilt/components/hooks/useMetadata.tsx": {
|
17305
|
+
"bytesInOutput": 1826
|
17311
17306
|
},
|
17312
17307
|
"src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx": {
|
17313
|
-
"bytesInOutput":
|
17308
|
+
"bytesInOutput": 10902
|
17314
17309
|
},
|
17315
17310
|
"src/Prebuilt/components/Header/StreamActions.tsx": {
|
17316
17311
|
"bytesInOutput": 10031
|
17317
17312
|
},
|
17318
17313
|
"../hms-video-store/dist/index.js": {
|
17319
|
-
"bytesInOutput":
|
17314
|
+
"bytesInOutput": 50125
|
17320
17315
|
},
|
17321
17316
|
"../../node_modules/reselect/es/index.js": {
|
17322
|
-
"bytesInOutput":
|
17317
|
+
"bytesInOutput": 2537
|
17323
17318
|
},
|
17324
17319
|
"../../node_modules/webrtc-adapter/src/js/adapter_core.js": {
|
17325
17320
|
"bytesInOutput": 118
|
@@ -17334,7 +17329,7 @@
|
|
17334
17329
|
"bytesInOutput": 22678
|
17335
17330
|
},
|
17336
17331
|
"../../node_modules/webrtc-adapter/src/js/chrome/getusermedia.js": {
|
17337
|
-
"bytesInOutput":
|
17332
|
+
"bytesInOutput": 6094
|
17338
17333
|
},
|
17339
17334
|
"../../node_modules/webrtc-adapter/src/js/chrome/getdisplaymedia.js": {
|
17340
17335
|
"bytesInOutput": 1256
|
@@ -17343,7 +17338,7 @@
|
|
17343
17338
|
"bytesInOutput": 9143
|
17344
17339
|
},
|
17345
17340
|
"../../node_modules/webrtc-adapter/src/js/firefox/getusermedia.js": {
|
17346
|
-
"bytesInOutput":
|
17341
|
+
"bytesInOutput": 2122
|
17347
17342
|
},
|
17348
17343
|
"../../node_modules/webrtc-adapter/src/js/firefox/getdisplaymedia.js": {
|
17349
17344
|
"bytesInOutput": 842
|
@@ -17379,7 +17374,7 @@
|
|
17379
17374
|
"bytesInOutput": 658
|
17380
17375
|
},
|
17381
17376
|
"src/Prebuilt/components/RaiseHand.tsx": {
|
17382
|
-
"bytesInOutput":
|
17377
|
+
"bytesInOutput": 905
|
17383
17378
|
},
|
17384
17379
|
"src/Prebuilt/components/ScreenShareToggle.jsx": {
|
17385
17380
|
"bytesInOutput": 1619
|
@@ -17430,7 +17425,7 @@
|
|
17430
17425
|
"bytesInOutput": 1290
|
17431
17426
|
},
|
17432
17427
|
"src/Prebuilt/components/Footer/RoleAccordion.tsx": {
|
17433
|
-
"bytesInOutput":
|
17428
|
+
"bytesInOutput": 5214
|
17434
17429
|
},
|
17435
17430
|
"src/Prebuilt/components/Footer/RoleOptions.tsx": {
|
17436
17431
|
"bytesInOutput": 7326
|
@@ -17454,7 +17449,7 @@
|
|
17454
17449
|
"bytesInOutput": 3077
|
17455
17450
|
},
|
17456
17451
|
"src/Prebuilt/components/Preview/PreviewJoin.tsx": {
|
17457
|
-
"bytesInOutput":
|
17452
|
+
"bytesInOutput": 9638
|
17458
17453
|
},
|
17459
17454
|
"src/Prebuilt/layouts/SidePane.tsx": {
|
17460
17455
|
"bytesInOutput": 6274
|
@@ -17463,7 +17458,7 @@
|
|
17463
17458
|
"bytesInOutput": 735
|
17464
17459
|
},
|
17465
17460
|
"src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.tsx": {
|
17466
|
-
"bytesInOutput":
|
17461
|
+
"bytesInOutput": 7995
|
17467
17462
|
},
|
17468
17463
|
"src/Prebuilt/components/Streaming/Common.jsx": {
|
17469
17464
|
"bytesInOutput": 2247
|
@@ -17472,7 +17467,7 @@
|
|
17472
17467
|
"bytesInOutput": 795
|
17473
17468
|
},
|
17474
17469
|
"src/Prebuilt/components/Polls/CreateQuestions/CreateQuestions.jsx": {
|
17475
|
-
"bytesInOutput":
|
17470
|
+
"bytesInOutput": 5364
|
17476
17471
|
},
|
17477
17472
|
"src/Prebuilt/components/Polls/CreateQuestions/QuestionForm.tsx": {
|
17478
17473
|
"bytesInOutput": 8181
|
@@ -17484,10 +17479,10 @@
|
|
17484
17479
|
"bytesInOutput": 204
|
17485
17480
|
},
|
17486
17481
|
"src/Prebuilt/components/Polls/common/MultipleChoiceOptions.jsx": {
|
17487
|
-
"bytesInOutput":
|
17482
|
+
"bytesInOutput": 3706
|
17488
17483
|
},
|
17489
17484
|
"src/Prebuilt/components/Polls/common/OptionInputWithDelete.tsx": {
|
17490
|
-
"bytesInOutput":
|
17485
|
+
"bytesInOutput": 922
|
17491
17486
|
},
|
17492
17487
|
"src/Prebuilt/components/Polls/common/VoteCount.tsx": {
|
17493
17488
|
"bytesInOutput": 361
|
@@ -17496,10 +17491,10 @@
|
|
17496
17491
|
"bytesInOutput": 594
|
17497
17492
|
},
|
17498
17493
|
"src/Prebuilt/components/Polls/common/SingleChoiceOptions.jsx": {
|
17499
|
-
"bytesInOutput":
|
17494
|
+
"bytesInOutput": 4435
|
17500
17495
|
},
|
17501
17496
|
"src/Prebuilt/components/Polls/CreateQuestions/SavedQuestion.tsx": {
|
17502
|
-
"bytesInOutput":
|
17497
|
+
"bytesInOutput": 2040
|
17503
17498
|
},
|
17504
17499
|
"src/Prebuilt/components/Polls/Voting/LeaderboardSummary.tsx": {
|
17505
17500
|
"bytesInOutput": 4015
|
@@ -17550,7 +17545,7 @@
|
|
17550
17545
|
"bytesInOutput": 4926
|
17551
17546
|
},
|
17552
17547
|
"src/Prebuilt/components/Chat/ChatBody.tsx": {
|
17553
|
-
"bytesInOutput":
|
17548
|
+
"bytesInOutput": 14726
|
17554
17549
|
},
|
17555
17550
|
"src/Prebuilt/components/Chat/ChatActions.tsx": {
|
17556
17551
|
"bytesInOutput": 9785
|
@@ -17562,7 +17557,7 @@
|
|
17562
17557
|
"bytesInOutput": 1210
|
17563
17558
|
},
|
17564
17559
|
"src/Prebuilt/components/hooks/usePinnedMessages.ts": {
|
17565
|
-
"bytesInOutput":
|
17560
|
+
"bytesInOutput": 2758
|
17566
17561
|
},
|
17567
17562
|
"src/Prebuilt/components/Chat/EmptyChat.tsx": {
|
17568
17563
|
"bytesInOutput": 1952
|
@@ -17574,13 +17569,13 @@
|
|
17574
17569
|
"bytesInOutput": 710
|
17575
17570
|
},
|
17576
17571
|
"src/Prebuilt/components/Chat/ChatFooter.tsx": {
|
17577
|
-
"bytesInOutput":
|
17572
|
+
"bytesInOutput": 9627
|
17578
17573
|
},
|
17579
17574
|
"src/Prebuilt/components/Chat/ChatSelectorContainer.tsx": {
|
17580
17575
|
"bytesInOutput": 5318
|
17581
17576
|
},
|
17582
17577
|
"src/Prebuilt/components/Chat/ChatSelector.tsx": {
|
17583
|
-
"bytesInOutput":
|
17578
|
+
"bytesInOutput": 6999
|
17584
17579
|
},
|
17585
17580
|
"src/Prebuilt/components/AppData/useChatState.js": {
|
17586
17581
|
"bytesInOutput": 666
|
@@ -17598,7 +17593,7 @@
|
|
17598
17593
|
"bytesInOutput": 1021
|
17599
17594
|
},
|
17600
17595
|
"src/Prebuilt/components/Chat/StickIndicator.tsx": {
|
17601
|
-
"bytesInOutput":
|
17596
|
+
"bytesInOutput": 543
|
17602
17597
|
},
|
17603
17598
|
"src/Prebuilt/components/Footer/PaginatedParticipants.tsx": {
|
17604
17599
|
"bytesInOutput": 4205
|
@@ -17667,13 +17662,13 @@
|
|
17667
17662
|
"bytesInOutput": 451
|
17668
17663
|
},
|
17669
17664
|
"src/Prebuilt/components/Pagination.tsx": {
|
17670
|
-
"bytesInOutput":
|
17665
|
+
"bytesInOutput": 1699
|
17671
17666
|
},
|
17672
17667
|
"src/Prebuilt/components/VideoLayouts/Grid.tsx": {
|
17673
17668
|
"bytesInOutput": 1204
|
17674
17669
|
},
|
17675
17670
|
"src/Prebuilt/components/hooks/useTileLayout.tsx": {
|
17676
|
-
"bytesInOutput":
|
17671
|
+
"bytesInOutput": 3839
|
17677
17672
|
},
|
17678
17673
|
"src/Prebuilt/components/VideoLayouts/RoleProminence.tsx": {
|
17679
17674
|
"bytesInOutput": 2183
|
@@ -17700,7 +17695,7 @@
|
|
17700
17695
|
"bytesInOutput": 1226
|
17701
17696
|
},
|
17702
17697
|
"src/Prebuilt/common/PeersSorter.ts": {
|
17703
|
-
"bytesInOutput":
|
17698
|
+
"bytesInOutput": 3099
|
17704
17699
|
},
|
17705
17700
|
"src/Prebuilt/layouts/EmbedView.jsx": {
|
17706
17701
|
"bytesInOutput": 2785
|
@@ -17760,7 +17755,7 @@
|
|
17760
17755
|
"bytesInOutput": 27
|
17761
17756
|
},
|
17762
17757
|
"src/Prebuilt/components/Notifications/Notifications.tsx": {
|
17763
|
-
"bytesInOutput":
|
17758
|
+
"bytesInOutput": 7974
|
17764
17759
|
},
|
17765
17760
|
"src/Prebuilt/components/Notifications/AutoplayBlockedModal.tsx": {
|
17766
17761
|
"bytesInOutput": 1053
|
@@ -17775,7 +17770,7 @@
|
|
17775
17770
|
"bytesInOutput": 1983
|
17776
17771
|
},
|
17777
17772
|
"src/Prebuilt/components/Toast/ToastConfig.jsx": {
|
17778
|
-
"bytesInOutput":
|
17773
|
+
"bytesInOutput": 7229
|
17779
17774
|
},
|
17780
17775
|
"src/Prebuilt/components/Notifications/InitErrorModal.tsx": {
|
17781
17776
|
"bytesInOutput": 1596
|
@@ -17838,7 +17833,7 @@
|
|
17838
17833
|
"bytesInOutput": 651
|
17839
17834
|
}
|
17840
17835
|
},
|
17841
|
-
"bytes":
|
17836
|
+
"bytes": 1306968
|
17842
17837
|
}
|
17843
17838
|
}
|
17844
17839
|
}
|
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"prebuilt",
|
11
11
|
"roomkit"
|
12
12
|
],
|
13
|
-
"version": "0.3.
|
13
|
+
"version": "0.3.3-alpha.1",
|
14
14
|
"author": "100ms",
|
15
15
|
"license": "MIT",
|
16
16
|
"repository": {
|
@@ -82,12 +82,12 @@
|
|
82
82
|
"react": ">=17.0.2 <19.0.0"
|
83
83
|
},
|
84
84
|
"dependencies": {
|
85
|
-
"@100mslive/hls-player": "0.3.
|
85
|
+
"@100mslive/hls-player": "0.3.3-alpha.1",
|
86
86
|
"@100mslive/hms-noise-cancellation": "0.0.0-alpha.1",
|
87
|
-
"@100mslive/hms-virtual-background": "1.13.
|
88
|
-
"@100mslive/react-icons": "0.10.
|
89
|
-
"@100mslive/react-sdk": "0.10.
|
90
|
-
"@100mslive/types-prebuilt": "0.12.
|
87
|
+
"@100mslive/hms-virtual-background": "1.13.3-alpha.1",
|
88
|
+
"@100mslive/react-icons": "0.10.3-alpha.1",
|
89
|
+
"@100mslive/react-sdk": "0.10.3-alpha.1",
|
90
|
+
"@100mslive/types-prebuilt": "0.12.8",
|
91
91
|
"@emoji-mart/data": "^1.0.6",
|
92
92
|
"@emoji-mart/react": "^1.0.1",
|
93
93
|
"@radix-ui/react-accordion": "1.0.0",
|
@@ -122,5 +122,5 @@
|
|
122
122
|
"uuid": "^8.3.2",
|
123
123
|
"worker-timers": "^7.0.40"
|
124
124
|
},
|
125
|
-
"gitHead": "
|
125
|
+
"gitHead": "8e27b80c474e3487828a60fce4aa1f444aa14577"
|
126
126
|
}
|
@@ -64,15 +64,15 @@ export const AccordionRoot = StyledAccordion;
|
|
64
64
|
export const AccordionItem = StyledItem;
|
65
65
|
|
66
66
|
export const AccordionHeader: React.FC<
|
67
|
-
PropsWithChildren<BaseAccordion.AccordionTriggerProps & { iconStyles?: CSS; css?: CSS }>
|
67
|
+
PropsWithChildren<BaseAccordion.AccordionTriggerProps & { iconStyles?: CSS; css?: CSS; chevronID?: string }>
|
68
68
|
> = React.forwardRef<
|
69
69
|
HTMLButtonElement,
|
70
|
-
PropsWithChildren<BaseAccordion.AccordionTriggerProps & { iconStyles?: CSS; css?: CSS }>
|
71
|
-
>(({ children, iconStyles, css, ...props }, forwardedRef) => (
|
70
|
+
PropsWithChildren<BaseAccordion.AccordionTriggerProps & { iconStyles?: CSS; css?: CSS; chevronID?: string }>
|
71
|
+
>(({ children, iconStyles, css, chevronID, ...props }, forwardedRef) => (
|
72
72
|
<StyledHeader css={css}>
|
73
73
|
<StyledTrigger {...props} ref={forwardedRef}>
|
74
74
|
{children}
|
75
|
-
<StyledChevron aria-hidden css={iconStyles} />
|
75
|
+
<StyledChevron data-testid={chevronID} aria-hidden css={iconStyles} />
|
76
76
|
</StyledTrigger>
|
77
77
|
</StyledHeader>
|
78
78
|
));
|
@@ -112,7 +112,7 @@ export const checkCorrectAnswer = (answer, localPeerResponse, type) => {
|
|
112
112
|
}
|
113
113
|
};
|
114
114
|
|
115
|
-
export const isValidTextInput = (text, minLength = 1, maxLength =
|
115
|
+
export const isValidTextInput = (text, minLength = 1, maxLength = 1024) => {
|
116
116
|
return text && text.length >= minLength && text.length <= maxLength;
|
117
117
|
};
|
118
118
|
|
@@ -410,6 +410,7 @@ export const ChatBody = React.forwardRef<VariableSizeList, { scrollToBottom: (co
|
|
410
410
|
}, [blacklistedMessageIDs, messages]);
|
411
411
|
|
412
412
|
const vanillaStore = useHMSVanillaStore();
|
413
|
+
const rerenderOnFirstMount = useRef(false);
|
413
414
|
|
414
415
|
useEffect(() => {
|
415
416
|
const unsubscribe = vanillaStore.subscribe(() => {
|
@@ -426,6 +427,15 @@ export const ChatBody = React.forwardRef<VariableSizeList, { scrollToBottom: (co
|
|
426
427
|
return unsubscribe;
|
427
428
|
}, [vanillaStore, listRef, scrollToBottom]);
|
428
429
|
|
430
|
+
useEffect(() => {
|
431
|
+
// @ts-ignore
|
432
|
+
if (filteredMessages.length > 0 && listRef?.current && !rerenderOnFirstMount.current) {
|
433
|
+
rerenderOnFirstMount.current = true;
|
434
|
+
// @ts-ignore
|
435
|
+
listRef.current.resetAfterIndex(0);
|
436
|
+
}
|
437
|
+
}, [listRef, filteredMessages]);
|
438
|
+
|
429
439
|
return filteredMessages.length === 0 ? (
|
430
440
|
<EmptyChat />
|
431
441
|
) : (
|