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

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -62,7 +62,7 @@ import {
62
62
  theme,
63
63
  useBorderAudioLevel,
64
64
  useTheme
65
- } from "./chunk-AGREPSFA.js";
65
+ } from "./chunk-2A3RS7ZT.js";
66
66
  export {
67
67
  Accordion,
68
68
  AudioLevel,
@@ -7999,7 +7999,7 @@
7999
7999
  "format": "esm"
8000
8000
  },
8001
8001
  "src/Prebuilt/components/Chat/ChatFooter.tsx": {
8002
- "bytes": 9157,
8002
+ "bytes": 9288,
8003
8003
  "imports": [
8004
8004
  {
8005
8005
  "path": "react",
@@ -13193,7 +13193,7 @@
13193
13193
  "imports": [],
13194
13194
  "exports": [],
13195
13195
  "inputs": {},
13196
- "bytes": 3216780
13196
+ "bytes": 3216962
13197
13197
  },
13198
13198
  "dist/index.cjs.js": {
13199
13199
  "imports": [
@@ -15987,7 +15987,7 @@
15987
15987
  "entryPoint": "src/index.ts",
15988
15988
  "inputs": {
15989
15989
  "<define:process.env>": {
15990
- "bytesInOutput": 18236
15990
+ "bytesInOutput": 18235
15991
15991
  },
15992
15992
  "src/Theme/base.config.ts": {
15993
15993
  "bytesInOutput": 6104
@@ -16275,7 +16275,7 @@
16275
16275
  "bytesInOutput": 1552
16276
16276
  },
16277
16277
  "src/Prebuilt/common/utils.js": {
16278
- "bytesInOutput": 3813
16278
+ "bytesInOutput": 3810
16279
16279
  },
16280
16280
  "src/Prebuilt/provider/roomLayoutProvider/hooks/useRoomLayoutScreen.ts": {
16281
16281
  "bytesInOutput": 3003
@@ -16416,7 +16416,7 @@
16416
16416
  "bytesInOutput": 8159
16417
16417
  },
16418
16418
  "../../node_modules/reselect/es/index.js": {
16419
- "bytesInOutput": 2641
16419
+ "bytesInOutput": 2639
16420
16420
  },
16421
16421
  "../../node_modules/ua-parser-js/src/main/ua-parser.mjs": {
16422
16422
  "bytesInOutput": 48479
@@ -16428,7 +16428,7 @@
16428
16428
  "bytesInOutput": 6459
16429
16429
  },
16430
16430
  "../../node_modules/webrtc-adapter/src/js/chrome/getusermedia.js": {
16431
- "bytesInOutput": 6261
16431
+ "bytesInOutput": 6258
16432
16432
  },
16433
16433
  "../../node_modules/webrtc-adapter/src/js/chrome/getdisplaymedia.js": {
16434
16434
  "bytesInOutput": 1396
@@ -16437,7 +16437,7 @@
16437
16437
  "bytesInOutput": 22882
16438
16438
  },
16439
16439
  "../../node_modules/webrtc-adapter/src/js/firefox/getusermedia.js": {
16440
- "bytesInOutput": 2295
16440
+ "bytesInOutput": 2292
16441
16441
  },
16442
16442
  "../../node_modules/webrtc-adapter/src/js/firefox/getdisplaymedia.js": {
16443
16443
  "bytesInOutput": 984
@@ -16584,7 +16584,7 @@
16584
16584
  "bytesInOutput": 1170
16585
16585
  },
16586
16586
  "src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.tsx": {
16587
- "bytesInOutput": 9660
16587
+ "bytesInOutput": 9656
16588
16588
  },
16589
16589
  "src/Prebuilt/components/Polls/CreateQuestions/DeleteQuestionModal.tsx": {
16590
16590
  "bytesInOutput": 2802
@@ -16695,7 +16695,7 @@
16695
16695
  "bytesInOutput": 1440
16696
16696
  },
16697
16697
  "src/Prebuilt/components/Chat/ChatFooter.tsx": {
16698
- "bytesInOutput": 10385
16698
+ "bytesInOutput": 10609
16699
16699
  },
16700
16700
  "src/Prebuilt/components/Chat/ChatStates.tsx": {
16701
16701
  "bytesInOutput": 3529
@@ -16854,7 +16854,7 @@
16854
16854
  "bytesInOutput": 860
16855
16855
  },
16856
16856
  "src/Prebuilt/components/HMSVideo/HMSVIdeoUtils.js": {
16857
- "bytesInOutput": 850
16857
+ "bytesInOutput": 848
16858
16858
  },
16859
16859
  "src/Prebuilt/components/HMSVideo/VideoProgress.jsx": {
16860
16860
  "bytesInOutput": 3186
@@ -17019,7 +17019,7 @@
17019
17019
  "bytesInOutput": 2980
17020
17020
  }
17021
17021
  },
17022
- "bytes": 1515879
17022
+ "bytes": 1516075
17023
17023
  }
17024
17024
  }
17025
17025
  }
@@ -7999,7 +7999,7 @@
7999
7999
  "format": "esm"
8000
8000
  },
8001
8001
  "src/Prebuilt/components/Chat/ChatFooter.tsx": {
8002
- "bytes": 9157,
8002
+ "bytes": 9288,
8003
8003
  "imports": [
8004
8004
  {
8005
8005
  "path": "react",
@@ -13198,7 +13198,7 @@
13198
13198
  "dist/index.js": {
13199
13199
  "imports": [
13200
13200
  {
13201
- "path": "dist/chunk-AGREPSFA.js",
13201
+ "path": "dist/chunk-2A3RS7ZT.js",
13202
13202
  "kind": "import-statement"
13203
13203
  }
13204
13204
  ],
@@ -13271,16 +13271,16 @@
13271
13271
  "inputs": {},
13272
13272
  "bytes": 1822
13273
13273
  },
13274
- "dist/HLSView-NDCESLVD.js.map": {
13274
+ "dist/HLSView-G6CC37I3.js.map": {
13275
13275
  "imports": [],
13276
13276
  "exports": [],
13277
13277
  "inputs": {},
13278
13278
  "bytes": 58854
13279
13279
  },
13280
- "dist/HLSView-NDCESLVD.js": {
13280
+ "dist/HLSView-G6CC37I3.js": {
13281
13281
  "imports": [
13282
13282
  {
13283
- "path": "dist/chunk-AGREPSFA.js",
13283
+ "path": "dist/chunk-2A3RS7ZT.js",
13284
13284
  "kind": "import-statement"
13285
13285
  },
13286
13286
  {
@@ -13444,13 +13444,13 @@
13444
13444
  },
13445
13445
  "bytes": 36972
13446
13446
  },
13447
- "dist/chunk-AGREPSFA.js.map": {
13447
+ "dist/chunk-2A3RS7ZT.js.map": {
13448
13448
  "imports": [],
13449
13449
  "exports": [],
13450
13450
  "inputs": {},
13451
- "bytes": 3153242
13451
+ "bytes": 3153431
13452
13452
  },
13453
- "dist/chunk-AGREPSFA.js": {
13453
+ "dist/chunk-2A3RS7ZT.js": {
13454
13454
  "imports": [
13455
13455
  {
13456
13456
  "path": "react",
@@ -15753,7 +15753,7 @@
15753
15753
  "external": true
15754
15754
  },
15755
15755
  {
15756
- "path": "dist/HLSView-NDCESLVD.js",
15756
+ "path": "dist/HLSView-G6CC37I3.js",
15757
15757
  "kind": "dynamic-import"
15758
15758
  },
15759
15759
  {
@@ -16210,7 +16210,7 @@
16210
16210
  ],
16211
16211
  "inputs": {
16212
16212
  "<define:process.env>": {
16213
- "bytesInOutput": 18236
16213
+ "bytesInOutput": 18235
16214
16214
  },
16215
16215
  "../../node_modules/lodash/lodash.js": {
16216
16216
  "bytesInOutput": 224276
@@ -16492,7 +16492,7 @@
16492
16492
  "bytesInOutput": 1486
16493
16493
  },
16494
16494
  "src/Prebuilt/common/utils.js": {
16495
- "bytesInOutput": 3210
16495
+ "bytesInOutput": 3207
16496
16496
  },
16497
16497
  "src/Prebuilt/components/AppData/useSidepane.js": {
16498
16498
  "bytesInOutput": 1934
@@ -16645,7 +16645,7 @@
16645
16645
  "bytesInOutput": 48907
16646
16646
  },
16647
16647
  "../../node_modules/reselect/es/index.js": {
16648
- "bytesInOutput": 2539
16648
+ "bytesInOutput": 2537
16649
16649
  },
16650
16650
  "../../node_modules/ua-parser-js/src/main/ua-parser.mjs": {
16651
16651
  "bytesInOutput": 42640
@@ -16663,7 +16663,7 @@
16663
16663
  "bytesInOutput": 22678
16664
16664
  },
16665
16665
  "../../node_modules/webrtc-adapter/src/js/chrome/getusermedia.js": {
16666
- "bytesInOutput": 6095
16666
+ "bytesInOutput": 6092
16667
16667
  },
16668
16668
  "../../node_modules/webrtc-adapter/src/js/chrome/getdisplaymedia.js": {
16669
16669
  "bytesInOutput": 1256
@@ -16672,7 +16672,7 @@
16672
16672
  "bytesInOutput": 9143
16673
16673
  },
16674
16674
  "../../node_modules/webrtc-adapter/src/js/firefox/getusermedia.js": {
16675
- "bytesInOutput": 2140
16675
+ "bytesInOutput": 2137
16676
16676
  },
16677
16677
  "../../node_modules/webrtc-adapter/src/js/firefox/getdisplaymedia.js": {
16678
16678
  "bytesInOutput": 842
@@ -16786,7 +16786,7 @@
16786
16786
  "bytesInOutput": 735
16787
16787
  },
16788
16788
  "src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.tsx": {
16789
- "bytesInOutput": 7987
16789
+ "bytesInOutput": 7983
16790
16790
  },
16791
16791
  "src/Prebuilt/components/Streaming/Common.jsx": {
16792
16792
  "bytesInOutput": 2247
@@ -16894,7 +16894,7 @@
16894
16894
  "bytesInOutput": 704
16895
16895
  },
16896
16896
  "src/Prebuilt/components/Chat/ChatFooter.tsx": {
16897
- "bytesInOutput": 8636
16897
+ "bytesInOutput": 8852
16898
16898
  },
16899
16899
  "src/Prebuilt/components/Chat/ChatSelectorContainer.tsx": {
16900
16900
  "bytesInOutput": 5318
@@ -17161,7 +17161,7 @@
17161
17161
  "bytesInOutput": 651
17162
17162
  }
17163
17163
  },
17164
- "bytes": 1283281
17164
+ "bytes": 1283471
17165
17165
  }
17166
17166
  }
17167
17167
  }
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "prebuilt",
11
11
  "roomkit"
12
12
  ],
13
- "version": "0.2.7-alpha.3",
13
+ "version": "0.2.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.2.7-alpha.3",
85
+ "@100mslive/hls-player": "0.2.7-alpha.5",
86
86
  "@100mslive/hms-noise-cancellation": "0.0.0-alpha.1",
87
- "@100mslive/hms-virtual-background": "1.12.7-alpha.3",
88
- "@100mslive/react-icons": "0.9.7-alpha.3",
89
- "@100mslive/react-sdk": "0.9.7-alpha.3",
87
+ "@100mslive/hms-virtual-background": "1.12.7-alpha.5",
88
+ "@100mslive/react-icons": "0.9.7-alpha.5",
89
+ "@100mslive/react-sdk": "0.9.7-alpha.5",
90
90
  "@100mslive/types-prebuilt": "0.12.7",
91
91
  "@emoji-mart/data": "^1.0.6",
92
92
  "@emoji-mart/react": "^1.0.1",
@@ -121,5 +121,5 @@
121
121
  "uuid": "^8.3.2",
122
122
  "worker-timers": "^7.0.40"
123
123
  },
124
- "gitHead": "696d255e5bbde485a185ef420c2f00fefdb85426"
124
+ "gitHead": "8d0b837912949aa44009226d6930333007d5faa3"
125
125
  }
@@ -92,9 +92,13 @@ export const ChatFooter = ({ onSend, children }: { onSend: (count: number) => vo
92
92
  if (!selectedPeer.id && !selectedRole && !['Everyone', ''].includes(defaultSelection)) {
93
93
  setRoleSelector(defaultSelection);
94
94
  } else {
95
- inputRef.current?.focus();
95
+ // @ts-ignore
96
+ if (!elements?.chat?.disable_autofocus) {
97
+ inputRef.current?.focus();
98
+ }
96
99
  }
97
- }, [defaultSelection, selectedPeer, selectedRole, setRoleSelector]);
100
+ // @ts-ignore
101
+ }, [defaultSelection, elements?.chat?.disable_autofocus, selectedPeer, selectedRole, setRoleSelector]);
98
102
  const sendMessage = useCallback(async () => {
99
103
  const message = inputRef?.current?.value;
100
104
  if (!message || !message.trim().length) {