@100mslive/roomkit-react 0.2.7-alpha.3 → 0.2.7-alpha.4
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-NDCESLVD.js → HLSView-AP53XUDF.js} +2 -2
- package/dist/{chunk-AGREPSFA.js → chunk-LZKKW4D6.js} +10 -8
- package/dist/{chunk-AGREPSFA.js.map → chunk-LZKKW4D6.js.map} +2 -2
- package/dist/index.cjs.js +8 -6
- package/dist/index.cjs.js.map +2 -2
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +5 -5
- package/dist/meta.esbuild.json +12 -12
- package/package.json +6 -6
- package/src/Prebuilt/components/Chat/ChatFooter.tsx +6 -2
- /package/dist/{HLSView-NDCESLVD.js.map → HLSView-AP53XUDF.js.map} +0 -0
package/dist/index.js
CHANGED
package/dist/meta.cjs.json
CHANGED
@@ -7999,7 +7999,7 @@
|
|
7999
7999
|
"format": "esm"
|
8000
8000
|
},
|
8001
8001
|
"src/Prebuilt/components/Chat/ChatFooter.tsx": {
|
8002
|
-
"bytes":
|
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":
|
13196
|
+
"bytes": 3217019
|
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":
|
15990
|
+
"bytesInOutput": 18254
|
15991
15991
|
},
|
15992
15992
|
"src/Theme/base.config.ts": {
|
15993
15993
|
"bytesInOutput": 6104
|
@@ -16695,7 +16695,7 @@
|
|
16695
16695
|
"bytesInOutput": 1440
|
16696
16696
|
},
|
16697
16697
|
"src/Prebuilt/components/Chat/ChatFooter.tsx": {
|
16698
|
-
"bytesInOutput":
|
16698
|
+
"bytesInOutput": 10609
|
16699
16699
|
},
|
16700
16700
|
"src/Prebuilt/components/Chat/ChatStates.tsx": {
|
16701
16701
|
"bytesInOutput": 3529
|
@@ -17019,7 +17019,7 @@
|
|
17019
17019
|
"bytesInOutput": 2980
|
17020
17020
|
}
|
17021
17021
|
},
|
17022
|
-
"bytes":
|
17022
|
+
"bytes": 1516121
|
17023
17023
|
}
|
17024
17024
|
}
|
17025
17025
|
}
|
package/dist/meta.esbuild.json
CHANGED
@@ -7999,7 +7999,7 @@
|
|
7999
7999
|
"format": "esm"
|
8000
8000
|
},
|
8001
8001
|
"src/Prebuilt/components/Chat/ChatFooter.tsx": {
|
8002
|
-
"bytes":
|
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-
|
13201
|
+
"path": "dist/chunk-LZKKW4D6.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-
|
13274
|
+
"dist/HLSView-AP53XUDF.js.map": {
|
13275
13275
|
"imports": [],
|
13276
13276
|
"exports": [],
|
13277
13277
|
"inputs": {},
|
13278
13278
|
"bytes": 58854
|
13279
13279
|
},
|
13280
|
-
"dist/HLSView-
|
13280
|
+
"dist/HLSView-AP53XUDF.js": {
|
13281
13281
|
"imports": [
|
13282
13282
|
{
|
13283
|
-
"path": "dist/chunk-
|
13283
|
+
"path": "dist/chunk-LZKKW4D6.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-
|
13447
|
+
"dist/chunk-LZKKW4D6.js.map": {
|
13448
13448
|
"imports": [],
|
13449
13449
|
"exports": [],
|
13450
13450
|
"inputs": {},
|
13451
|
-
"bytes":
|
13451
|
+
"bytes": 3153481
|
13452
13452
|
},
|
13453
|
-
"dist/chunk-
|
13453
|
+
"dist/chunk-LZKKW4D6.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-
|
15756
|
+
"path": "dist/HLSView-AP53XUDF.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":
|
16213
|
+
"bytesInOutput": 18254
|
16214
16214
|
},
|
16215
16215
|
"../../node_modules/lodash/lodash.js": {
|
16216
16216
|
"bytesInOutput": 224276
|
@@ -16894,7 +16894,7 @@
|
|
16894
16894
|
"bytesInOutput": 704
|
16895
16895
|
},
|
16896
16896
|
"src/Prebuilt/components/Chat/ChatFooter.tsx": {
|
16897
|
-
"bytesInOutput":
|
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":
|
17164
|
+
"bytes": 1283515
|
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.
|
13
|
+
"version": "0.2.7-alpha.4",
|
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.
|
85
|
+
"@100mslive/hls-player": "0.2.7-alpha.4",
|
86
86
|
"@100mslive/hms-noise-cancellation": "0.0.0-alpha.1",
|
87
|
-
"@100mslive/hms-virtual-background": "1.12.7-alpha.
|
88
|
-
"@100mslive/react-icons": "0.9.7-alpha.
|
89
|
-
"@100mslive/react-sdk": "0.9.7-alpha.
|
87
|
+
"@100mslive/hms-virtual-background": "1.12.7-alpha.4",
|
88
|
+
"@100mslive/react-icons": "0.9.7-alpha.4",
|
89
|
+
"@100mslive/react-sdk": "0.9.7-alpha.4",
|
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": "
|
124
|
+
"gitHead": "fe6292513fff670053581f4bfd630ae348be4aff"
|
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
|
-
|
95
|
+
// @ts-ignore
|
96
|
+
if (!elements?.chat?.disable_autofocus) {
|
97
|
+
inputRef.current?.focus();
|
98
|
+
}
|
96
99
|
}
|
97
|
-
|
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) {
|
File without changes
|