@100mslive/roomkit-react 0.3.7-alpha.4 → 0.3.7
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/{HLSView-37GQLXTB.js → HLSView-J76FQQDB.js} +2 -2
- package/dist/{chunk-WTUQRAL4.js → chunk-VKO5HF7B.js} +6 -5
- package/dist/chunk-VKO5HF7B.js.map +7 -0
- package/dist/index.cjs.js +5 -3
- package/dist/index.cjs.js.map +2 -2
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +12 -7
- package/dist/meta.esbuild.json +19 -14
- package/package.json +6 -6
- package/src/Prebuilt/components/EmojiReaction.jsx +3 -1
- package/dist/chunk-WTUQRAL4.js.map +0 -7
- /package/dist/{HLSView-37GQLXTB.js.map → HLSView-J76FQQDB.js.map} +0 -0
package/dist/index.js
CHANGED
package/dist/meta.cjs.json
CHANGED
|
@@ -3023,7 +3023,7 @@
|
|
|
3023
3023
|
"format": "esm"
|
|
3024
3024
|
},
|
|
3025
3025
|
"src/Prebuilt/components/EmojiReaction.jsx": {
|
|
3026
|
-
"bytes":
|
|
3026
|
+
"bytes": 3338,
|
|
3027
3027
|
"imports": [
|
|
3028
3028
|
{
|
|
3029
3029
|
"path": "react",
|
|
@@ -3085,6 +3085,11 @@
|
|
|
3085
3085
|
"kind": "import-statement",
|
|
3086
3086
|
"original": "../IconButton"
|
|
3087
3087
|
},
|
|
3088
|
+
{
|
|
3089
|
+
"path": "src/Prebuilt/provider/roomLayoutProvider/hooks/useRoomLayoutScreen.ts",
|
|
3090
|
+
"kind": "import-statement",
|
|
3091
|
+
"original": "../provider/roomLayoutProvider/hooks/useRoomLayoutScreen"
|
|
3092
|
+
},
|
|
3088
3093
|
{
|
|
3089
3094
|
"path": "src/Prebuilt/components/hooks/useDropdownList.ts",
|
|
3090
3095
|
"kind": "import-statement",
|
|
@@ -4686,7 +4691,7 @@
|
|
|
4686
4691
|
"format": "cjs"
|
|
4687
4692
|
},
|
|
4688
4693
|
"../hms-video-store/dist/index.js": {
|
|
4689
|
-
"bytes":
|
|
4694
|
+
"bytes": 331213,
|
|
4690
4695
|
"imports": [
|
|
4691
4696
|
{
|
|
4692
4697
|
"path": "../../node_modules/reselect/es/index.js",
|
|
@@ -13770,7 +13775,7 @@
|
|
|
13770
13775
|
"imports": [],
|
|
13771
13776
|
"exports": [],
|
|
13772
13777
|
"inputs": {},
|
|
13773
|
-
"bytes":
|
|
13778
|
+
"bytes": 3304564
|
|
13774
13779
|
},
|
|
13775
13780
|
"dist/index.cjs.js": {
|
|
13776
13781
|
"imports": [
|
|
@@ -16714,7 +16719,7 @@
|
|
|
16714
16719
|
"entryPoint": "src/index.ts",
|
|
16715
16720
|
"inputs": {
|
|
16716
16721
|
"<define:process.env>": {
|
|
16717
|
-
"bytesInOutput":
|
|
16722
|
+
"bytesInOutput": 18230
|
|
16718
16723
|
},
|
|
16719
16724
|
"src/Theme/base.config.ts": {
|
|
16720
16725
|
"bytesInOutput": 6104
|
|
@@ -17068,7 +17073,7 @@
|
|
|
17068
17073
|
"bytesInOutput": 4848
|
|
17069
17074
|
},
|
|
17070
17075
|
"src/Prebuilt/components/EmojiReaction.jsx": {
|
|
17071
|
-
"bytesInOutput":
|
|
17076
|
+
"bytesInOutput": 3504
|
|
17072
17077
|
},
|
|
17073
17078
|
"src/Prebuilt/components/Leave/EndSessionContent.tsx": {
|
|
17074
17079
|
"bytesInOutput": 2547
|
|
@@ -17203,7 +17208,7 @@
|
|
|
17203
17208
|
"bytesInOutput": 615
|
|
17204
17209
|
},
|
|
17205
17210
|
"../hms-video-store/dist/index.js": {
|
|
17206
|
-
"bytesInOutput":
|
|
17211
|
+
"bytesInOutput": 53600
|
|
17207
17212
|
},
|
|
17208
17213
|
"src/Prebuilt/components/hooks/usePlaylistMusic.js": {
|
|
17209
17214
|
"bytesInOutput": 1384
|
|
@@ -17767,7 +17772,7 @@
|
|
|
17767
17772
|
"bytesInOutput": 2980
|
|
17768
17773
|
}
|
|
17769
17774
|
},
|
|
17770
|
-
"bytes":
|
|
17775
|
+
"bytes": 1572299
|
|
17771
17776
|
}
|
|
17772
17777
|
}
|
|
17773
17778
|
}
|
package/dist/meta.esbuild.json
CHANGED
|
@@ -3023,7 +3023,7 @@
|
|
|
3023
3023
|
"format": "esm"
|
|
3024
3024
|
},
|
|
3025
3025
|
"src/Prebuilt/components/EmojiReaction.jsx": {
|
|
3026
|
-
"bytes":
|
|
3026
|
+
"bytes": 3338,
|
|
3027
3027
|
"imports": [
|
|
3028
3028
|
{
|
|
3029
3029
|
"path": "react",
|
|
@@ -3085,6 +3085,11 @@
|
|
|
3085
3085
|
"kind": "import-statement",
|
|
3086
3086
|
"original": "../IconButton"
|
|
3087
3087
|
},
|
|
3088
|
+
{
|
|
3089
|
+
"path": "src/Prebuilt/provider/roomLayoutProvider/hooks/useRoomLayoutScreen.ts",
|
|
3090
|
+
"kind": "import-statement",
|
|
3091
|
+
"original": "../provider/roomLayoutProvider/hooks/useRoomLayoutScreen"
|
|
3092
|
+
},
|
|
3088
3093
|
{
|
|
3089
3094
|
"path": "src/Prebuilt/components/hooks/useDropdownList.ts",
|
|
3090
3095
|
"kind": "import-statement",
|
|
@@ -4686,7 +4691,7 @@
|
|
|
4686
4691
|
"format": "cjs"
|
|
4687
4692
|
},
|
|
4688
4693
|
"../hms-video-store/dist/index.js": {
|
|
4689
|
-
"bytes":
|
|
4694
|
+
"bytes": 331213,
|
|
4690
4695
|
"imports": [
|
|
4691
4696
|
{
|
|
4692
4697
|
"path": "../../node_modules/reselect/es/index.js",
|
|
@@ -13775,7 +13780,7 @@
|
|
|
13775
13780
|
"dist/index.js": {
|
|
13776
13781
|
"imports": [
|
|
13777
13782
|
{
|
|
13778
|
-
"path": "dist/chunk-
|
|
13783
|
+
"path": "dist/chunk-VKO5HF7B.js",
|
|
13779
13784
|
"kind": "import-statement"
|
|
13780
13785
|
}
|
|
13781
13786
|
],
|
|
@@ -13848,16 +13853,16 @@
|
|
|
13848
13853
|
"inputs": {},
|
|
13849
13854
|
"bytes": 1822
|
|
13850
13855
|
},
|
|
13851
|
-
"dist/HLSView-
|
|
13856
|
+
"dist/HLSView-J76FQQDB.js.map": {
|
|
13852
13857
|
"imports": [],
|
|
13853
13858
|
"exports": [],
|
|
13854
13859
|
"inputs": {},
|
|
13855
13860
|
"bytes": 99966
|
|
13856
13861
|
},
|
|
13857
|
-
"dist/HLSView-
|
|
13862
|
+
"dist/HLSView-J76FQQDB.js": {
|
|
13858
13863
|
"imports": [
|
|
13859
13864
|
{
|
|
13860
|
-
"path": "dist/chunk-
|
|
13865
|
+
"path": "dist/chunk-VKO5HF7B.js",
|
|
13861
13866
|
"kind": "import-statement"
|
|
13862
13867
|
},
|
|
13863
13868
|
{
|
|
@@ -14093,13 +14098,13 @@
|
|
|
14093
14098
|
},
|
|
14094
14099
|
"bytes": 61571
|
|
14095
14100
|
},
|
|
14096
|
-
"dist/chunk-
|
|
14101
|
+
"dist/chunk-VKO5HF7B.js.map": {
|
|
14097
14102
|
"imports": [],
|
|
14098
14103
|
"exports": [],
|
|
14099
14104
|
"inputs": {},
|
|
14100
|
-
"bytes":
|
|
14105
|
+
"bytes": 3200409
|
|
14101
14106
|
},
|
|
14102
|
-
"dist/chunk-
|
|
14107
|
+
"dist/chunk-VKO5HF7B.js": {
|
|
14103
14108
|
"imports": [
|
|
14104
14109
|
{
|
|
14105
14110
|
"path": "react",
|
|
@@ -16482,7 +16487,7 @@
|
|
|
16482
16487
|
"external": true
|
|
16483
16488
|
},
|
|
16484
16489
|
{
|
|
16485
|
-
"path": "dist/HLSView-
|
|
16490
|
+
"path": "dist/HLSView-J76FQQDB.js",
|
|
16486
16491
|
"kind": "dynamic-import"
|
|
16487
16492
|
},
|
|
16488
16493
|
{
|
|
@@ -16963,7 +16968,7 @@
|
|
|
16963
16968
|
],
|
|
16964
16969
|
"inputs": {
|
|
16965
16970
|
"<define:process.env>": {
|
|
16966
|
-
"bytesInOutput":
|
|
16971
|
+
"bytesInOutput": 18230
|
|
16967
16972
|
},
|
|
16968
16973
|
"../../node_modules/lodash/lodash.js": {
|
|
16969
16974
|
"bytesInOutput": 224310
|
|
@@ -17305,7 +17310,7 @@
|
|
|
17305
17310
|
"bytesInOutput": 1028
|
|
17306
17311
|
},
|
|
17307
17312
|
"src/Prebuilt/components/EmojiReaction.jsx": {
|
|
17308
|
-
"bytesInOutput":
|
|
17313
|
+
"bytesInOutput": 2580
|
|
17309
17314
|
},
|
|
17310
17315
|
"src/Prebuilt/components/Footer/EmojiCard.jsx": {
|
|
17311
17316
|
"bytesInOutput": 972
|
|
@@ -17401,7 +17406,7 @@
|
|
|
17401
17406
|
"bytesInOutput": 10031
|
|
17402
17407
|
},
|
|
17403
17408
|
"../hms-video-store/dist/index.js": {
|
|
17404
|
-
"bytesInOutput":
|
|
17409
|
+
"bytesInOutput": 49002
|
|
17405
17410
|
},
|
|
17406
17411
|
"../../node_modules/reselect/es/index.js": {
|
|
17407
17412
|
"bytesInOutput": 2537
|
|
@@ -17923,7 +17928,7 @@
|
|
|
17923
17928
|
"bytesInOutput": 651
|
|
17924
17929
|
}
|
|
17925
17930
|
},
|
|
17926
|
-
"bytes":
|
|
17931
|
+
"bytes": 1310381
|
|
17927
17932
|
}
|
|
17928
17933
|
}
|
|
17929
17934
|
}
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"prebuilt",
|
|
11
11
|
"roomkit"
|
|
12
12
|
],
|
|
13
|
-
"version": "0.3.7
|
|
13
|
+
"version": "0.3.7",
|
|
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.3.7
|
|
85
|
+
"@100mslive/hls-player": "0.3.7",
|
|
86
86
|
"@100mslive/hms-noise-cancellation": "0.0.1",
|
|
87
|
-
"@100mslive/hms-virtual-background": "1.13.7
|
|
88
|
-
"@100mslive/react-icons": "0.10.7
|
|
89
|
-
"@100mslive/react-sdk": "0.10.7
|
|
87
|
+
"@100mslive/hms-virtual-background": "1.13.7",
|
|
88
|
+
"@100mslive/react-icons": "0.10.7",
|
|
89
|
+
"@100mslive/react-sdk": "0.10.7",
|
|
90
90
|
"@100mslive/types-prebuilt": "0.12.8",
|
|
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": "
|
|
125
|
+
"gitHead": "cc9d1fa2804d266e26226b250edc0fc7b76f0691"
|
|
126
126
|
}
|
|
@@ -17,6 +17,7 @@ import { Box } from '../../Layout';
|
|
|
17
17
|
import { config as cssConfig } from '../../Theme';
|
|
18
18
|
import { Tooltip } from '../../Tooltip';
|
|
19
19
|
import IconButton from '../IconButton';
|
|
20
|
+
import { useRoomLayoutConferencingScreen } from '../provider/roomLayoutProvider/hooks/useRoomLayoutScreen';
|
|
20
21
|
import { useDropdownList } from './hooks/useDropdownList';
|
|
21
22
|
import { useLandscapeHLSStream, useMobileHLSStream } from '../common/hooks';
|
|
22
23
|
import { EMOJI_REACTION_TYPE } from '../common/constants';
|
|
@@ -26,6 +27,7 @@ init({ data });
|
|
|
26
27
|
export const EmojiReaction = ({ showCard = false }) => {
|
|
27
28
|
const [open, setOpen] = useState(false);
|
|
28
29
|
const isConnected = useHMSStore(selectIsConnectedToRoom);
|
|
30
|
+
const { elements } = useRoomLayoutConferencingScreen();
|
|
29
31
|
useDropdownList({ open: open, name: 'EmojiReaction' });
|
|
30
32
|
// const hmsActions = useHMSActions();
|
|
31
33
|
const roles = useHMSStore(selectAvailableRoleNames);
|
|
@@ -64,7 +66,7 @@ export const EmojiReaction = ({ showCard = false }) => {
|
|
|
64
66
|
} */
|
|
65
67
|
};
|
|
66
68
|
|
|
67
|
-
if (!isConnected) {
|
|
69
|
+
if (!isConnected || !elements.emoji_reactions) {
|
|
68
70
|
return null;
|
|
69
71
|
}
|
|
70
72
|
|