@100mslive/roomkit-react 0.3.16 → 0.3.17-alpha.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-H5N53WVF.css → HLSView-2B7JRVYF.css} +3 -3
- package/dist/{HLSView-H5N53WVF.css.map → HLSView-2B7JRVYF.css.map} +1 -1
- package/dist/{HLSView-LGGWBBBT.js → HLSView-WZULAPSG.js} +2 -2
- package/dist/{chunk-PUO554VI.js → chunk-5GS4O2BK.js} +131 -125
- package/dist/chunk-5GS4O2BK.js.map +7 -0
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +128 -122
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +18 -18
- package/dist/meta.esbuild.json +30 -30
- package/package.json +7 -7
- package/src/Prebuilt/components/AudioVideoToggle.tsx +7 -1
- package/src/Prebuilt/components/PIP/PIPChatOption.tsx +1 -1
- package/dist/chunk-PUO554VI.js.map +0 -7
- /package/dist/{HLSView-LGGWBBBT.js.map → HLSView-WZULAPSG.js.map} +0 -0
package/dist/meta.esbuild.json
CHANGED
@@ -2891,7 +2891,7 @@
|
|
2891
2891
|
"format": "esm"
|
2892
2892
|
},
|
2893
2893
|
"src/Prebuilt/components/AudioVideoToggle.tsx": {
|
2894
|
-
"bytes":
|
2894
|
+
"bytes": 13290,
|
2895
2895
|
"imports": [
|
2896
2896
|
{
|
2897
2897
|
"path": "react",
|
@@ -4269,7 +4269,7 @@
|
|
4269
4269
|
"format": "esm"
|
4270
4270
|
},
|
4271
4271
|
"src/Prebuilt/components/PIP/PIPChatOption.tsx": {
|
4272
|
-
"bytes":
|
4272
|
+
"bytes": 616,
|
4273
4273
|
"imports": [
|
4274
4274
|
{
|
4275
4275
|
"path": "react",
|
@@ -5601,7 +5601,7 @@
|
|
5601
5601
|
"format": "cjs"
|
5602
5602
|
},
|
5603
5603
|
"../hms-video-store/dist/index.js": {
|
5604
|
-
"bytes":
|
5604
|
+
"bytes": 356920,
|
5605
5605
|
"imports": [
|
5606
5606
|
{
|
5607
5607
|
"path": "../../node_modules/reselect/es/index.js",
|
@@ -11227,7 +11227,7 @@
|
|
11227
11227
|
],
|
11228
11228
|
"format": "esm"
|
11229
11229
|
},
|
11230
|
-
"../../../../../../../tmp/tmp-
|
11230
|
+
"../../../../../../../tmp/tmp-2803-t7udrge7U055/190e434ca603/tldraw.css": {
|
11231
11231
|
"bytes": 80111,
|
11232
11232
|
"imports": [
|
11233
11233
|
{
|
@@ -11277,7 +11277,7 @@
|
|
11277
11277
|
}
|
11278
11278
|
]
|
11279
11279
|
},
|
11280
|
-
"../../../../../../../tmp/tmp-
|
11280
|
+
"../../../../../../../tmp/tmp-2803-t7udrge7U055/190e434ca4c1/index.css": {
|
11281
11281
|
"bytes": 597,
|
11282
11282
|
"imports": [
|
11283
11283
|
{
|
@@ -11286,7 +11286,7 @@
|
|
11286
11286
|
"external": true
|
11287
11287
|
},
|
11288
11288
|
{
|
11289
|
-
"path": "../../../../../../../tmp/tmp-
|
11289
|
+
"path": "../../../../../../../tmp/tmp-2803-t7udrge7U055/190e434ca603/tldraw.css",
|
11290
11290
|
"kind": "import-rule",
|
11291
11291
|
"original": "@tldraw/tldraw/tldraw.css"
|
11292
11292
|
}
|
@@ -11361,7 +11361,7 @@
|
|
11361
11361
|
"original": "../../common/constants"
|
11362
11362
|
},
|
11363
11363
|
{
|
11364
|
-
"path": "../../../../../../../tmp/tmp-
|
11364
|
+
"path": "../../../../../../../tmp/tmp-2803-t7udrge7U055/190e434ca4c1/index.css",
|
11365
11365
|
"kind": "import-statement",
|
11366
11366
|
"original": "@100mslive/hms-whiteboard/index.css"
|
11367
11367
|
},
|
@@ -15248,7 +15248,7 @@
|
|
15248
15248
|
"dist/index.js": {
|
15249
15249
|
"imports": [
|
15250
15250
|
{
|
15251
|
-
"path": "dist/chunk-
|
15251
|
+
"path": "dist/chunk-5GS4O2BK.js",
|
15252
15252
|
"kind": "import-statement"
|
15253
15253
|
}
|
15254
15254
|
],
|
@@ -15324,16 +15324,16 @@
|
|
15324
15324
|
"inputs": {},
|
15325
15325
|
"bytes": 1882
|
15326
15326
|
},
|
15327
|
-
"dist/HLSView-
|
15327
|
+
"dist/HLSView-WZULAPSG.js.map": {
|
15328
15328
|
"imports": [],
|
15329
15329
|
"exports": [],
|
15330
15330
|
"inputs": {},
|
15331
15331
|
"bytes": 100275
|
15332
15332
|
},
|
15333
|
-
"dist/HLSView-
|
15333
|
+
"dist/HLSView-WZULAPSG.js": {
|
15334
15334
|
"imports": [
|
15335
15335
|
{
|
15336
|
-
"path": "dist/chunk-
|
15336
|
+
"path": "dist/chunk-5GS4O2BK.js",
|
15337
15337
|
"kind": "import-statement"
|
15338
15338
|
},
|
15339
15339
|
{
|
@@ -15511,7 +15511,7 @@
|
|
15511
15511
|
"default"
|
15512
15512
|
],
|
15513
15513
|
"entryPoint": "src/Prebuilt/layouts/HLSView.jsx",
|
15514
|
-
"cssBundle": "dist/HLSView-
|
15514
|
+
"cssBundle": "dist/HLSView-2B7JRVYF.css",
|
15515
15515
|
"inputs": {
|
15516
15516
|
"src/Prebuilt/layouts/HLSView.jsx": {
|
15517
15517
|
"bytesInOutput": 27671
|
@@ -15570,13 +15570,13 @@
|
|
15570
15570
|
},
|
15571
15571
|
"bytes": 61702
|
15572
15572
|
},
|
15573
|
-
"dist/chunk-
|
15573
|
+
"dist/chunk-5GS4O2BK.js.map": {
|
15574
15574
|
"imports": [],
|
15575
15575
|
"exports": [],
|
15576
15576
|
"inputs": {},
|
15577
|
-
"bytes":
|
15577
|
+
"bytes": 3477743
|
15578
15578
|
},
|
15579
|
-
"dist/chunk-
|
15579
|
+
"dist/chunk-5GS4O2BK.js": {
|
15580
15580
|
"imports": [
|
15581
15581
|
{
|
15582
15582
|
"path": "react",
|
@@ -18099,7 +18099,7 @@
|
|
18099
18099
|
"external": true
|
18100
18100
|
},
|
18101
18101
|
{
|
18102
|
-
"path": "dist/HLSView-
|
18102
|
+
"path": "dist/HLSView-WZULAPSG.js",
|
18103
18103
|
"kind": "dynamic-import"
|
18104
18104
|
},
|
18105
18105
|
{
|
@@ -18698,7 +18698,7 @@
|
|
18698
18698
|
],
|
18699
18699
|
"inputs": {
|
18700
18700
|
"<define:process.env>": {
|
18701
|
-
"bytesInOutput":
|
18701
|
+
"bytesInOutput": 17981
|
18702
18702
|
},
|
18703
18703
|
"../../node_modules/lodash/lodash.js": {
|
18704
18704
|
"bytesInOutput": 224289
|
@@ -18725,7 +18725,7 @@
|
|
18725
18725
|
"bytesInOutput": 615
|
18726
18726
|
},
|
18727
18727
|
"../../node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js": {
|
18728
|
-
"bytesInOutput":
|
18728
|
+
"bytesInOutput": 3839
|
18729
18729
|
},
|
18730
18730
|
"../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js": {
|
18731
18731
|
"bytesInOutput": 7632
|
@@ -19037,7 +19037,7 @@
|
|
19037
19037
|
"bytesInOutput": 3306
|
19038
19038
|
},
|
19039
19039
|
"src/Prebuilt/components/AudioVideoToggle.tsx": {
|
19040
|
-
"bytesInOutput":
|
19040
|
+
"bytesInOutput": 13687
|
19041
19041
|
},
|
19042
19042
|
"src/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.tsx": {
|
19043
19043
|
"bytesInOutput": 3293
|
@@ -19169,7 +19169,7 @@
|
|
19169
19169
|
"bytesInOutput": 347
|
19170
19170
|
},
|
19171
19171
|
"src/Prebuilt/components/PIP/PIPChatOption.tsx": {
|
19172
|
-
"bytesInOutput":
|
19172
|
+
"bytesInOutput": 626
|
19173
19173
|
},
|
19174
19174
|
"src/Prebuilt/components/PIP/PIPWindow.tsx": {
|
19175
19175
|
"bytesInOutput": 274
|
@@ -19232,7 +19232,7 @@
|
|
19232
19232
|
"bytesInOutput": 9486
|
19233
19233
|
},
|
19234
19234
|
"../hms-video-store/dist/index.js": {
|
19235
|
-
"bytesInOutput":
|
19235
|
+
"bytesInOutput": 50057
|
19236
19236
|
},
|
19237
19237
|
"../../node_modules/reselect/es/index.js": {
|
19238
19238
|
"bytesInOutput": 2539
|
@@ -19250,7 +19250,7 @@
|
|
19250
19250
|
"bytesInOutput": 22682
|
19251
19251
|
},
|
19252
19252
|
"../../node_modules/webrtc-adapter/src/js/chrome/getusermedia.js": {
|
19253
|
-
"bytesInOutput":
|
19253
|
+
"bytesInOutput": 6082
|
19254
19254
|
},
|
19255
19255
|
"../../node_modules/webrtc-adapter/src/js/chrome/getdisplaymedia.js": {
|
19256
19256
|
"bytesInOutput": 1256
|
@@ -19594,7 +19594,7 @@
|
|
19594
19594
|
"src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
|
19595
19595
|
"bytesInOutput": 2830
|
19596
19596
|
},
|
19597
|
-
"../../../../../../../tmp/tmp-
|
19597
|
+
"../../../../../../../tmp/tmp-2803-t7udrge7U055/190e434ca4c1/index.css": {
|
19598
19598
|
"bytesInOutput": 0
|
19599
19599
|
},
|
19600
19600
|
"src/Prebuilt/common/PeersSorter.ts": {
|
@@ -19760,7 +19760,7 @@
|
|
19760
19760
|
"bytesInOutput": 2632
|
19761
19761
|
}
|
19762
19762
|
},
|
19763
|
-
"bytes":
|
19763
|
+
"bytes": 1445908
|
19764
19764
|
},
|
19765
19765
|
"dist/index.css.map": {
|
19766
19766
|
"imports": [],
|
@@ -19822,22 +19822,22 @@
|
|
19822
19822
|
}
|
19823
19823
|
],
|
19824
19824
|
"inputs": {
|
19825
|
-
"../../../../../../../tmp/tmp-
|
19825
|
+
"../../../../../../../tmp/tmp-2803-t7udrge7U055/190e434ca603/tldraw.css": {
|
19826
19826
|
"bytesInOutput": 75223
|
19827
19827
|
},
|
19828
|
-
"../../../../../../../tmp/tmp-
|
19828
|
+
"../../../../../../../tmp/tmp-2803-t7udrge7U055/190e434ca4c1/index.css": {
|
19829
19829
|
"bytesInOutput": 401
|
19830
19830
|
}
|
19831
19831
|
},
|
19832
19832
|
"bytes": 75901
|
19833
19833
|
},
|
19834
|
-
"dist/HLSView-
|
19834
|
+
"dist/HLSView-2B7JRVYF.css.map": {
|
19835
19835
|
"imports": [],
|
19836
19836
|
"exports": [],
|
19837
19837
|
"inputs": {},
|
19838
19838
|
"bytes": 122402
|
19839
19839
|
},
|
19840
|
-
"dist/HLSView-
|
19840
|
+
"dist/HLSView-2B7JRVYF.css": {
|
19841
19841
|
"imports": [
|
19842
19842
|
{
|
19843
19843
|
"path": "https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap",
|
@@ -19891,10 +19891,10 @@
|
|
19891
19891
|
}
|
19892
19892
|
],
|
19893
19893
|
"inputs": {
|
19894
|
-
"../../../../../../../tmp/tmp-
|
19894
|
+
"../../../../../../../tmp/tmp-2803-t7udrge7U055/190e434ca603/tldraw.css": {
|
19895
19895
|
"bytesInOutput": 75223
|
19896
19896
|
},
|
19897
|
-
"../../../../../../../tmp/tmp-
|
19897
|
+
"../../../../../../../tmp/tmp-2803-t7udrge7U055/190e434ca4c1/index.css": {
|
19898
19898
|
"bytesInOutput": 401
|
19899
19899
|
}
|
19900
19900
|
},
|
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"prebuilt",
|
11
11
|
"roomkit"
|
12
12
|
],
|
13
|
-
"version": "0.3.
|
13
|
+
"version": "0.3.17-alpha.0",
|
14
14
|
"author": "100ms",
|
15
15
|
"license": "MIT",
|
16
16
|
"repository": {
|
@@ -75,12 +75,12 @@
|
|
75
75
|
"react": ">=17.0.2 <19.0.0"
|
76
76
|
},
|
77
77
|
"dependencies": {
|
78
|
-
"@100mslive/hls-player": "0.3.
|
78
|
+
"@100mslive/hls-player": "0.3.17-alpha.0",
|
79
79
|
"@100mslive/hms-noise-cancellation": "0.0.1",
|
80
|
-
"@100mslive/hms-virtual-background": "1.13.
|
81
|
-
"@100mslive/hms-whiteboard": "0.0.
|
82
|
-
"@100mslive/react-icons": "0.10.
|
83
|
-
"@100mslive/react-sdk": "0.10.
|
80
|
+
"@100mslive/hms-virtual-background": "1.13.17-alpha.0",
|
81
|
+
"@100mslive/hms-whiteboard": "0.0.7-alpha.0",
|
82
|
+
"@100mslive/react-icons": "0.10.17-alpha.0",
|
83
|
+
"@100mslive/react-sdk": "0.10.17-alpha.0",
|
84
84
|
"@100mslive/types-prebuilt": "0.12.9",
|
85
85
|
"@emoji-mart/data": "^1.0.6",
|
86
86
|
"@emoji-mart/react": "^1.0.1",
|
@@ -117,5 +117,5 @@
|
|
117
117
|
"uuid": "^8.3.2",
|
118
118
|
"worker-timers": "^7.0.40"
|
119
119
|
},
|
120
|
-
"gitHead": "
|
120
|
+
"gitHead": "3fff3238f614b199bfd20704192c64d3a800c001"
|
121
121
|
}
|
@@ -263,7 +263,13 @@ const AudioSettings = ({ onClick }: { onClick: () => void }) => {
|
|
263
263
|
);
|
264
264
|
};
|
265
265
|
export const AudioVideoToggle = ({ hideOptions = false }: { hideOptions?: boolean }) => {
|
266
|
-
const { allDevices, selectedDeviceIDs, updateDevice } = useDevices(
|
266
|
+
const { allDevices, selectedDeviceIDs, updateDevice } = useDevices(error => {
|
267
|
+
ToastManager.addToast({
|
268
|
+
title: error.message,
|
269
|
+
variant: 'error',
|
270
|
+
duration: 2000,
|
271
|
+
});
|
272
|
+
});
|
267
273
|
const { videoInput, audioInput, audioOutput } = allDevices;
|
268
274
|
const localPeer = useHMSStore(selectLocalPeer);
|
269
275
|
const { isLocalVideoEnabled, isLocalAudioEnabled, toggleAudio, toggleVideo } = useAVToggle();
|
@@ -8,7 +8,7 @@ export const PIPChatOption = ({ openChat, showPIPChat }: { openChat: () => void;
|
|
8
8
|
return <></>;
|
9
9
|
}
|
10
10
|
return (
|
11
|
-
<Dropdown.Item onClick={openChat} data-testid="
|
11
|
+
<Dropdown.Item onClick={openChat} data-testid="pip_chat_btn">
|
12
12
|
<ExternalLinkIcon height={18} width={18} style={{ padding: '0 $2' }} />
|
13
13
|
<Text variant="sm" css={{ ml: '$4', color: '$on_surface_high' }}>
|
14
14
|
Pop out Chat
|