@100mslive/roomkit-react 0.3.7-alpha.3 → 0.3.7-alpha.5

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/index.js CHANGED
@@ -62,7 +62,7 @@ import {
62
62
  theme,
63
63
  useBorderAudioLevel,
64
64
  useTheme
65
- } from "./chunk-5VWHFS7L.js";
65
+ } from "./chunk-JAZO4PHJ.js";
66
66
  export {
67
67
  Accordion,
68
68
  AudioLevel,
@@ -3023,7 +3023,7 @@
3023
3023
  "format": "esm"
3024
3024
  },
3025
3025
  "src/Prebuilt/components/EmojiReaction.jsx": {
3026
- "bytes": 3143,
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",
@@ -11473,7 +11478,7 @@
11473
11478
  "format": "esm"
11474
11479
  },
11475
11480
  "src/Prebuilt/layouts/HLSView.jsx": {
11476
- "bytes": 28624,
11481
+ "bytes": 28876,
11477
11482
  "imports": [
11478
11483
  {
11479
11484
  "path": "react",
@@ -13770,7 +13775,7 @@
13770
13775
  "imports": [],
13771
13776
  "exports": [],
13772
13777
  "inputs": {},
13773
- "bytes": 3304062
13778
+ "bytes": 3304627
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": 18286
16722
+ "bytesInOutput": 18287
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": 3381
17076
+ "bytesInOutput": 3504
17072
17077
  },
17073
17078
  "src/Prebuilt/components/Leave/EndSessionContent.tsx": {
17074
17079
  "bytesInOutput": 2547
@@ -17629,7 +17634,7 @@
17629
17634
  "bytesInOutput": 2886
17630
17635
  },
17631
17636
  "src/Prebuilt/layouts/HLSView.jsx": {
17632
- "bytesInOutput": 33518
17637
+ "bytesInOutput": 33634
17633
17638
  },
17634
17639
  "src/Prebuilt/layouts/VideoStreamingSection.tsx": {
17635
17640
  "bytesInOutput": 4586
@@ -17767,7 +17772,7 @@
17767
17772
  "bytesInOutput": 2980
17768
17773
  }
17769
17774
  },
17770
- "bytes": 1572124
17775
+ "bytes": 1572364
17771
17776
  }
17772
17777
  }
17773
17778
  }
@@ -3023,7 +3023,7 @@
3023
3023
  "format": "esm"
3024
3024
  },
3025
3025
  "src/Prebuilt/components/EmojiReaction.jsx": {
3026
- "bytes": 3143,
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",
@@ -11473,7 +11478,7 @@
11473
11478
  "format": "esm"
11474
11479
  },
11475
11480
  "src/Prebuilt/layouts/HLSView.jsx": {
11476
- "bytes": 28624,
11481
+ "bytes": 28876,
11477
11482
  "imports": [
11478
11483
  {
11479
11484
  "path": "react",
@@ -13775,7 +13780,7 @@
13775
13780
  "dist/index.js": {
13776
13781
  "imports": [
13777
13782
  {
13778
- "path": "dist/chunk-5VWHFS7L.js",
13783
+ "path": "dist/chunk-JAZO4PHJ.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-6CEK2ZH3.js.map": {
13856
+ "dist/HLSView-JXKL2OA3.js.map": {
13852
13857
  "imports": [],
13853
13858
  "exports": [],
13854
13859
  "inputs": {},
13855
- "bytes": 99653
13860
+ "bytes": 99966
13856
13861
  },
13857
- "dist/HLSView-6CEK2ZH3.js": {
13862
+ "dist/HLSView-JXKL2OA3.js": {
13858
13863
  "imports": [
13859
13864
  {
13860
- "path": "dist/chunk-5VWHFS7L.js",
13865
+ "path": "dist/chunk-JAZO4PHJ.js",
13861
13866
  "kind": "import-statement"
13862
13867
  },
13863
13868
  {
@@ -14037,7 +14042,7 @@
14037
14042
  "entryPoint": "src/Prebuilt/layouts/HLSView.jsx",
14038
14043
  "inputs": {
14039
14044
  "src/Prebuilt/layouts/HLSView.jsx": {
14040
- "bytesInOutput": 27807
14045
+ "bytesInOutput": 27923
14041
14046
  },
14042
14047
  "src/Prebuilt/components/HlsStatsOverlay.jsx": {
14043
14048
  "bytesInOutput": 3521
@@ -14091,15 +14096,15 @@
14091
14096
  "bytesInOutput": 2101
14092
14097
  }
14093
14098
  },
14094
- "bytes": 61455
14099
+ "bytes": 61571
14095
14100
  },
14096
- "dist/chunk-5VWHFS7L.js.map": {
14101
+ "dist/chunk-JAZO4PHJ.js.map": {
14097
14102
  "imports": [],
14098
14103
  "exports": [],
14099
14104
  "inputs": {},
14100
- "bytes": 3200225
14105
+ "bytes": 3200472
14101
14106
  },
14102
- "dist/chunk-5VWHFS7L.js": {
14107
+ "dist/chunk-JAZO4PHJ.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-6CEK2ZH3.js",
16490
+ "path": "dist/HLSView-JXKL2OA3.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": 18286
16971
+ "bytesInOutput": 18287
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": 2493
17313
+ "bytesInOutput": 2580
17309
17314
  },
17310
17315
  "src/Prebuilt/components/Footer/EmojiCard.jsx": {
17311
17316
  "bytesInOutput": 972
@@ -17923,7 +17928,7 @@
17923
17928
  "bytesInOutput": 651
17924
17929
  }
17925
17930
  },
17926
- "bytes": 1310358
17931
+ "bytes": 1310446
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-alpha.3",
13
+ "version": "0.3.7-alpha.5",
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-alpha.3",
85
+ "@100mslive/hls-player": "0.3.7-alpha.5",
86
86
  "@100mslive/hms-noise-cancellation": "0.0.1",
87
- "@100mslive/hms-virtual-background": "1.13.7-alpha.3",
88
- "@100mslive/react-icons": "0.10.7-alpha.3",
89
- "@100mslive/react-sdk": "0.10.7-alpha.3",
87
+ "@100mslive/hms-virtual-background": "1.13.7-alpha.5",
88
+ "@100mslive/react-icons": "0.10.7-alpha.5",
89
+ "@100mslive/react-sdk": "0.10.7-alpha.5",
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": "a8f673eb5b3724688c21718a824ed9d7c63b30cc"
125
+ "gitHead": "3dd4ad3ad8988f0550edafae26b500b11925936e"
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
 
@@ -549,7 +549,13 @@ const HLSView = () => {
549
549
  justify="between"
550
550
  css={{
551
551
  position: 'absolute',
552
- bg: '#00000066',
552
+ bg: `${
553
+ hoverControlsVisible.pausePlay ||
554
+ hoverControlsVisible.seekBackward ||
555
+ hoverControlsVisible.seekForward
556
+ ? '#00000066'
557
+ : ''
558
+ }`,
553
559
  display: 'inline-flex',
554
560
  gap: '$2',
555
561
  zIndex: 1,