@100mslive/roomkit-react 0.3.13 → 0.3.14-alpha.0
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-MSHPSUUJ.css → HLSView-7LHIA6HH.css} +3 -3
- package/dist/{HLSView-MSHPSUUJ.css.map → HLSView-7LHIA6HH.css.map} +1 -1
- package/dist/{HLSView-U4CRLAPX.js → HLSView-USRUP6VG.js} +2 -2
- package/dist/{chunk-XIFK5DB3.js → chunk-DYDYPNYY.js} +7 -19
- package/dist/{chunk-XIFK5DB3.js.map → chunk-DYDYPNYY.js.map} +3 -3
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +109 -121
- 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 +19 -34
- package/dist/meta.esbuild.json +28 -43
- package/package.json +7 -7
- package/src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx +2 -2
- package/src/Prebuilt/components/VideoLayouts/GridLayout.tsx +0 -17
- /package/dist/{HLSView-U4CRLAPX.js.map → HLSView-USRUP6VG.js.map} +0 -0
package/dist/meta.esbuild.json
CHANGED
|
@@ -4941,7 +4941,7 @@
|
|
|
4941
4941
|
"format": "cjs"
|
|
4942
4942
|
},
|
|
4943
4943
|
"../hms-video-store/dist/index.js": {
|
|
4944
|
-
"bytes":
|
|
4944
|
+
"bytes": 339579,
|
|
4945
4945
|
"imports": [
|
|
4946
4946
|
{
|
|
4947
4947
|
"path": "../../node_modules/reselect/es/index.js",
|
|
@@ -5410,7 +5410,7 @@
|
|
|
5410
5410
|
"format": "esm"
|
|
5411
5411
|
},
|
|
5412
5412
|
"src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx": {
|
|
5413
|
-
"bytes":
|
|
5413
|
+
"bytes": 13446,
|
|
5414
5414
|
"imports": [
|
|
5415
5415
|
{
|
|
5416
5416
|
"path": "react",
|
|
@@ -10964,7 +10964,7 @@
|
|
|
10964
10964
|
],
|
|
10965
10965
|
"format": "esm"
|
|
10966
10966
|
},
|
|
10967
|
-
"../../../../../../../tmp/tmp-
|
|
10967
|
+
"../../../../../../../tmp/tmp-2794-Vw8u32F6zxkb/190256212333/tldraw.css": {
|
|
10968
10968
|
"bytes": 80111,
|
|
10969
10969
|
"imports": [
|
|
10970
10970
|
{
|
|
@@ -11014,7 +11014,7 @@
|
|
|
11014
11014
|
}
|
|
11015
11015
|
]
|
|
11016
11016
|
},
|
|
11017
|
-
"../../../../../../../tmp/tmp-
|
|
11017
|
+
"../../../../../../../tmp/tmp-2794-Vw8u32F6zxkb/190256211b80/index.css": {
|
|
11018
11018
|
"bytes": 597,
|
|
11019
11019
|
"imports": [
|
|
11020
11020
|
{
|
|
@@ -11023,7 +11023,7 @@
|
|
|
11023
11023
|
"external": true
|
|
11024
11024
|
},
|
|
11025
11025
|
{
|
|
11026
|
-
"path": "../../../../../../../tmp/tmp-
|
|
11026
|
+
"path": "../../../../../../../tmp/tmp-2794-Vw8u32F6zxkb/190256212333/tldraw.css",
|
|
11027
11027
|
"kind": "import-rule",
|
|
11028
11028
|
"original": "@tldraw/tldraw/tldraw.css"
|
|
11029
11029
|
}
|
|
@@ -11098,7 +11098,7 @@
|
|
|
11098
11098
|
"original": "../../common/constants"
|
|
11099
11099
|
},
|
|
11100
11100
|
{
|
|
11101
|
-
"path": "../../../../../../../tmp/tmp-
|
|
11101
|
+
"path": "../../../../../../../tmp/tmp-2794-Vw8u32F6zxkb/190256211b80/index.css",
|
|
11102
11102
|
"kind": "import-statement",
|
|
11103
11103
|
"original": "@100mslive/hms-whiteboard/index.css"
|
|
11104
11104
|
},
|
|
@@ -11127,7 +11127,7 @@
|
|
|
11127
11127
|
"format": "esm"
|
|
11128
11128
|
},
|
|
11129
11129
|
"src/Prebuilt/components/VideoLayouts/GridLayout.tsx": {
|
|
11130
|
-
"bytes":
|
|
11130
|
+
"bytes": 5282,
|
|
11131
11131
|
"imports": [
|
|
11132
11132
|
{
|
|
11133
11133
|
"path": "react",
|
|
@@ -11144,16 +11144,6 @@
|
|
|
11144
11144
|
"kind": "import-statement",
|
|
11145
11145
|
"external": true
|
|
11146
11146
|
},
|
|
11147
|
-
{
|
|
11148
|
-
"path": "@100mslive/react-icons",
|
|
11149
|
-
"kind": "import-statement",
|
|
11150
|
-
"external": true
|
|
11151
|
-
},
|
|
11152
|
-
{
|
|
11153
|
-
"path": "src/Prebuilt/components/Toast/ToastManager.js",
|
|
11154
|
-
"kind": "import-statement",
|
|
11155
|
-
"original": "../Toast/ToastManager"
|
|
11156
|
-
},
|
|
11157
11147
|
{
|
|
11158
11148
|
"path": "src/Prebuilt/components/VideoLayouts/EqualProminence.tsx",
|
|
11159
11149
|
"kind": "import-statement",
|
|
@@ -14352,7 +14342,7 @@
|
|
|
14352
14342
|
"dist/index.js": {
|
|
14353
14343
|
"imports": [
|
|
14354
14344
|
{
|
|
14355
|
-
"path": "dist/chunk-
|
|
14345
|
+
"path": "dist/chunk-DYDYPNYY.js",
|
|
14356
14346
|
"kind": "import-statement"
|
|
14357
14347
|
}
|
|
14358
14348
|
],
|
|
@@ -14426,16 +14416,16 @@
|
|
|
14426
14416
|
"inputs": {},
|
|
14427
14417
|
"bytes": 1822
|
|
14428
14418
|
},
|
|
14429
|
-
"dist/HLSView-
|
|
14419
|
+
"dist/HLSView-USRUP6VG.js.map": {
|
|
14430
14420
|
"imports": [],
|
|
14431
14421
|
"exports": [],
|
|
14432
14422
|
"inputs": {},
|
|
14433
14423
|
"bytes": 100275
|
|
14434
14424
|
},
|
|
14435
|
-
"dist/HLSView-
|
|
14425
|
+
"dist/HLSView-USRUP6VG.js": {
|
|
14436
14426
|
"imports": [
|
|
14437
14427
|
{
|
|
14438
|
-
"path": "dist/chunk-
|
|
14428
|
+
"path": "dist/chunk-DYDYPNYY.js",
|
|
14439
14429
|
"kind": "import-statement"
|
|
14440
14430
|
},
|
|
14441
14431
|
{
|
|
@@ -14613,7 +14603,7 @@
|
|
|
14613
14603
|
"default"
|
|
14614
14604
|
],
|
|
14615
14605
|
"entryPoint": "src/Prebuilt/layouts/HLSView.jsx",
|
|
14616
|
-
"cssBundle": "dist/HLSView-
|
|
14606
|
+
"cssBundle": "dist/HLSView-7LHIA6HH.css",
|
|
14617
14607
|
"inputs": {
|
|
14618
14608
|
"src/Prebuilt/layouts/HLSView.jsx": {
|
|
14619
14609
|
"bytesInOutput": 27671
|
|
@@ -14672,13 +14662,13 @@
|
|
|
14672
14662
|
},
|
|
14673
14663
|
"bytes": 61702
|
|
14674
14664
|
},
|
|
14675
|
-
"dist/chunk-
|
|
14665
|
+
"dist/chunk-DYDYPNYY.js.map": {
|
|
14676
14666
|
"imports": [],
|
|
14677
14667
|
"exports": [],
|
|
14678
14668
|
"inputs": {},
|
|
14679
|
-
"bytes":
|
|
14669
|
+
"bytes": 3283688
|
|
14680
14670
|
},
|
|
14681
|
-
"dist/chunk-
|
|
14671
|
+
"dist/chunk-DYDYPNYY.js": {
|
|
14682
14672
|
"imports": [
|
|
14683
14673
|
{
|
|
14684
14674
|
"path": "react",
|
|
@@ -16900,11 +16890,6 @@
|
|
|
16900
16890
|
"kind": "import-statement",
|
|
16901
16891
|
"external": true
|
|
16902
16892
|
},
|
|
16903
|
-
{
|
|
16904
|
-
"path": "@100mslive/react-icons",
|
|
16905
|
-
"kind": "import-statement",
|
|
16906
|
-
"external": true
|
|
16907
|
-
},
|
|
16908
16893
|
{
|
|
16909
16894
|
"path": "react",
|
|
16910
16895
|
"kind": "import-statement",
|
|
@@ -17166,7 +17151,7 @@
|
|
|
17166
17151
|
"external": true
|
|
17167
17152
|
},
|
|
17168
17153
|
{
|
|
17169
|
-
"path": "dist/HLSView-
|
|
17154
|
+
"path": "dist/HLSView-USRUP6VG.js",
|
|
17170
17155
|
"kind": "dynamic-import"
|
|
17171
17156
|
},
|
|
17172
17157
|
{
|
|
@@ -17668,7 +17653,7 @@
|
|
|
17668
17653
|
],
|
|
17669
17654
|
"inputs": {
|
|
17670
17655
|
"<define:process.env>": {
|
|
17671
|
-
"bytesInOutput":
|
|
17656
|
+
"bytesInOutput": 17869
|
|
17672
17657
|
},
|
|
17673
17658
|
"../../node_modules/lodash/lodash.js": {
|
|
17674
17659
|
"bytesInOutput": 224310
|
|
@@ -18115,13 +18100,13 @@
|
|
|
18115
18100
|
"bytesInOutput": 1826
|
|
18116
18101
|
},
|
|
18117
18102
|
"src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx": {
|
|
18118
|
-
"bytesInOutput":
|
|
18103
|
+
"bytesInOutput": 12187
|
|
18119
18104
|
},
|
|
18120
18105
|
"src/Prebuilt/components/Header/StreamActions.tsx": {
|
|
18121
18106
|
"bytesInOutput": 9482
|
|
18122
18107
|
},
|
|
18123
18108
|
"../hms-video-store/dist/index.js": {
|
|
18124
|
-
"bytesInOutput":
|
|
18109
|
+
"bytesInOutput": 49655
|
|
18125
18110
|
},
|
|
18126
18111
|
"../../node_modules/reselect/es/index.js": {
|
|
18127
18112
|
"bytesInOutput": 2537
|
|
@@ -18460,7 +18445,7 @@
|
|
|
18460
18445
|
"bytesInOutput": 5314
|
|
18461
18446
|
},
|
|
18462
18447
|
"src/Prebuilt/components/VideoLayouts/GridLayout.tsx": {
|
|
18463
|
-
"bytesInOutput":
|
|
18448
|
+
"bytesInOutput": 4550
|
|
18464
18449
|
},
|
|
18465
18450
|
"src/Prebuilt/components/VideoLayouts/EqualProminence.tsx": {
|
|
18466
18451
|
"bytesInOutput": 1886
|
|
@@ -18510,7 +18495,7 @@
|
|
|
18510
18495
|
"src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
|
|
18511
18496
|
"bytesInOutput": 2793
|
|
18512
18497
|
},
|
|
18513
|
-
"../../../../../../../tmp/tmp-
|
|
18498
|
+
"../../../../../../../tmp/tmp-2794-Vw8u32F6zxkb/190256211b80/index.css": {
|
|
18514
18499
|
"bytesInOutput": 0
|
|
18515
18500
|
},
|
|
18516
18501
|
"src/Prebuilt/common/PeersSorter.ts": {
|
|
@@ -18652,7 +18637,7 @@
|
|
|
18652
18637
|
"bytesInOutput": 651
|
|
18653
18638
|
}
|
|
18654
18639
|
},
|
|
18655
|
-
"bytes":
|
|
18640
|
+
"bytes": 1348182
|
|
18656
18641
|
},
|
|
18657
18642
|
"dist/index.css.map": {
|
|
18658
18643
|
"imports": [],
|
|
@@ -18714,22 +18699,22 @@
|
|
|
18714
18699
|
}
|
|
18715
18700
|
],
|
|
18716
18701
|
"inputs": {
|
|
18717
|
-
"../../../../../../../tmp/tmp-
|
|
18702
|
+
"../../../../../../../tmp/tmp-2794-Vw8u32F6zxkb/190256212333/tldraw.css": {
|
|
18718
18703
|
"bytesInOutput": 75223
|
|
18719
18704
|
},
|
|
18720
|
-
"../../../../../../../tmp/tmp-
|
|
18705
|
+
"../../../../../../../tmp/tmp-2794-Vw8u32F6zxkb/190256211b80/index.css": {
|
|
18721
18706
|
"bytesInOutput": 401
|
|
18722
18707
|
}
|
|
18723
18708
|
},
|
|
18724
18709
|
"bytes": 75901
|
|
18725
18710
|
},
|
|
18726
|
-
"dist/HLSView-
|
|
18711
|
+
"dist/HLSView-7LHIA6HH.css.map": {
|
|
18727
18712
|
"imports": [],
|
|
18728
18713
|
"exports": [],
|
|
18729
18714
|
"inputs": {},
|
|
18730
18715
|
"bytes": 122402
|
|
18731
18716
|
},
|
|
18732
|
-
"dist/HLSView-
|
|
18717
|
+
"dist/HLSView-7LHIA6HH.css": {
|
|
18733
18718
|
"imports": [
|
|
18734
18719
|
{
|
|
18735
18720
|
"path": "https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap",
|
|
@@ -18783,10 +18768,10 @@
|
|
|
18783
18768
|
}
|
|
18784
18769
|
],
|
|
18785
18770
|
"inputs": {
|
|
18786
|
-
"../../../../../../../tmp/tmp-
|
|
18771
|
+
"../../../../../../../tmp/tmp-2794-Vw8u32F6zxkb/190256212333/tldraw.css": {
|
|
18787
18772
|
"bytesInOutput": 75223
|
|
18788
18773
|
},
|
|
18789
|
-
"../../../../../../../tmp/tmp-
|
|
18774
|
+
"../../../../../../../tmp/tmp-2794-Vw8u32F6zxkb/190256211b80/index.css": {
|
|
18790
18775
|
"bytesInOutput": 401
|
|
18791
18776
|
}
|
|
18792
18777
|
},
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"prebuilt",
|
|
11
11
|
"roomkit"
|
|
12
12
|
],
|
|
13
|
-
"version": "0.3.
|
|
13
|
+
"version": "0.3.14-alpha.0",
|
|
14
14
|
"author": "100ms",
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"repository": {
|
|
@@ -74,12 +74,12 @@
|
|
|
74
74
|
"react": ">=17.0.2 <19.0.0"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@100mslive/hls-player": "0.3.
|
|
77
|
+
"@100mslive/hls-player": "0.3.14-alpha.0",
|
|
78
78
|
"@100mslive/hms-noise-cancellation": "0.0.1",
|
|
79
|
-
"@100mslive/hms-virtual-background": "1.13.
|
|
80
|
-
"@100mslive/hms-whiteboard": "0.0.
|
|
81
|
-
"@100mslive/react-icons": "0.10.
|
|
82
|
-
"@100mslive/react-sdk": "0.10.
|
|
79
|
+
"@100mslive/hms-virtual-background": "1.13.14-alpha.0",
|
|
80
|
+
"@100mslive/hms-whiteboard": "0.0.4-alpha.0",
|
|
81
|
+
"@100mslive/react-icons": "0.10.14-alpha.0",
|
|
82
|
+
"@100mslive/react-sdk": "0.10.14-alpha.0",
|
|
83
83
|
"@100mslive/types-prebuilt": "0.12.9",
|
|
84
84
|
"@emoji-mart/data": "^1.0.6",
|
|
85
85
|
"@emoji-mart/react": "^1.0.1",
|
|
@@ -115,5 +115,5 @@
|
|
|
115
115
|
"uuid": "^8.3.2",
|
|
116
116
|
"worker-timers": "^7.0.40"
|
|
117
117
|
},
|
|
118
|
-
"gitHead": "
|
|
118
|
+
"gitHead": "8e40f00818c7057c6cdf817982d7ded8a4d44426"
|
|
119
119
|
}
|
|
@@ -56,7 +56,7 @@ import { useSheetToggle } from '../../AppData/useSheet';
|
|
|
56
56
|
// @ts-ignore: No implicit any
|
|
57
57
|
import { usePollViewToggle, useSidepaneToggle } from '../../AppData/useSidepane';
|
|
58
58
|
// @ts-ignore: No implicit Any
|
|
59
|
-
import {
|
|
59
|
+
import { useSetIsCaptionEnabled, useShowPolls } from '../../AppData/useUISettings';
|
|
60
60
|
// @ts-ignore: No implicit any
|
|
61
61
|
import { useDropdownList } from '../../hooks/useDropdownList';
|
|
62
62
|
import { useMyMetadata } from '../../hooks/useMetadata';
|
|
@@ -113,7 +113,7 @@ export const MwebOptions = ({
|
|
|
113
113
|
const isTranscriptionAllowed = useHMSStore(selectIsTranscriptionAllowedByMode(HMSTranscriptionMode.CAPTION));
|
|
114
114
|
const isTranscriptionEnabled = useHMSStore(selectIsTranscriptionEnabled);
|
|
115
115
|
|
|
116
|
-
const isCaptionEnabled =
|
|
116
|
+
const [isCaptionEnabled] = useSetIsCaptionEnabled();
|
|
117
117
|
useDropdownList({ open: openModals.size > 0 || openOptionsSheet || openSettingsSheet, name: 'MoreSettings' });
|
|
118
118
|
|
|
119
119
|
const updateState = (modalName: string, value: boolean) => {
|
|
@@ -1,19 +1,14 @@
|
|
|
1
1
|
import React, { useEffect, useMemo, useState } from 'react';
|
|
2
2
|
import { GridVideoTileLayout } from '@100mslive/types-prebuilt/elements/video_tile_layout';
|
|
3
3
|
import {
|
|
4
|
-
HMSTranscriptionInfo,
|
|
5
4
|
selectLocalPeerID,
|
|
6
5
|
selectLocalPeerRoleName,
|
|
7
6
|
selectPeers,
|
|
8
7
|
selectPeerScreenSharing,
|
|
9
|
-
selectTranscriptionsState,
|
|
10
8
|
selectWhiteboard,
|
|
11
9
|
useHMSStore,
|
|
12
10
|
useHMSVanillaStore,
|
|
13
11
|
} from '@100mslive/react-sdk';
|
|
14
|
-
import { AlertTriangleIcon } from '@100mslive/react-icons';
|
|
15
|
-
// @ts-ignore: No implicit Any
|
|
16
|
-
import { ToastManager } from '../Toast/ToastManager';
|
|
17
12
|
// @ts-ignore: No implicit Any
|
|
18
13
|
import { EqualProminence } from './EqualProminence';
|
|
19
14
|
import { RoleProminence } from './RoleProminence';
|
|
@@ -100,18 +95,6 @@ export const GridLayout = ({
|
|
|
100
95
|
objectFit: video_object_fit,
|
|
101
96
|
};
|
|
102
97
|
|
|
103
|
-
const transcriptionStates: HMSTranscriptionInfo[] | undefined = useHMSStore(selectTranscriptionsState);
|
|
104
|
-
|
|
105
|
-
useEffect(() => {
|
|
106
|
-
if (transcriptionStates && transcriptionStates.length > 0 && transcriptionStates[0].error) {
|
|
107
|
-
ToastManager.addToast({
|
|
108
|
-
title: `Failed to enable Closed Caption`,
|
|
109
|
-
variant: 'error',
|
|
110
|
-
icon: <AlertTriangleIcon style={{ marginRight: '0.5rem' }} />,
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
}, [transcriptionStates]);
|
|
114
|
-
|
|
115
98
|
useEffect(() => {
|
|
116
99
|
if (mainPage !== 0) {
|
|
117
100
|
return;
|
|
File without changes
|