@100mslive/roomkit-react 0.3.13-alpha.3 → 0.3.13
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-BPYGVRXI.css → HLSView-MSHPSUUJ.css} +3 -3
- package/dist/{HLSView-BPYGVRXI.css.map → HLSView-MSHPSUUJ.css.map} +1 -1
- package/dist/{HLSView-LLRW3DIQ.js → HLSView-U4CRLAPX.js} +2 -2
- package/dist/{chunk-DNADAU4F.js → chunk-XIFK5DB3.js} +20 -8
- package/dist/chunk-XIFK5DB3.js.map +7 -0
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +122 -110
- 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 +34 -19
- package/dist/meta.esbuild.json +45 -30
- package/package.json +7 -7
- package/src/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.tsx +1 -1
- package/src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx +3 -6
- package/src/Prebuilt/components/VideoLayouts/GridLayout.tsx +17 -0
- package/dist/chunk-DNADAU4F.js.map +0 -7
- /package/dist/{HLSView-LLRW3DIQ.js.map → HLSView-U4CRLAPX.js.map} +0 -0
package/dist/meta.esbuild.json
CHANGED
|
@@ -2450,7 +2450,7 @@
|
|
|
2450
2450
|
"format": "esm"
|
|
2451
2451
|
},
|
|
2452
2452
|
"src/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.tsx": {
|
|
2453
|
-
"bytes":
|
|
2453
|
+
"bytes": 3577,
|
|
2454
2454
|
"imports": [
|
|
2455
2455
|
{
|
|
2456
2456
|
"path": "react",
|
|
@@ -4941,7 +4941,7 @@
|
|
|
4941
4941
|
"format": "cjs"
|
|
4942
4942
|
},
|
|
4943
4943
|
"../hms-video-store/dist/index.js": {
|
|
4944
|
-
"bytes":
|
|
4944
|
+
"bytes": 339559,
|
|
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": 13438,
|
|
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-2872-xxVMM16lBgRS/1901733b2e73/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-2872-xxVMM16lBgRS/1901733b2d51/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-2872-xxVMM16lBgRS/1901733b2e73/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-2872-xxVMM16lBgRS/1901733b2d51/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": 5927,
|
|
11131
11131
|
"imports": [
|
|
11132
11132
|
{
|
|
11133
11133
|
"path": "react",
|
|
@@ -11144,6 +11144,16 @@
|
|
|
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
|
+
},
|
|
11147
11157
|
{
|
|
11148
11158
|
"path": "src/Prebuilt/components/VideoLayouts/EqualProminence.tsx",
|
|
11149
11159
|
"kind": "import-statement",
|
|
@@ -14342,7 +14352,7 @@
|
|
|
14342
14352
|
"dist/index.js": {
|
|
14343
14353
|
"imports": [
|
|
14344
14354
|
{
|
|
14345
|
-
"path": "dist/chunk-
|
|
14355
|
+
"path": "dist/chunk-XIFK5DB3.js",
|
|
14346
14356
|
"kind": "import-statement"
|
|
14347
14357
|
}
|
|
14348
14358
|
],
|
|
@@ -14416,16 +14426,16 @@
|
|
|
14416
14426
|
"inputs": {},
|
|
14417
14427
|
"bytes": 1822
|
|
14418
14428
|
},
|
|
14419
|
-
"dist/HLSView-
|
|
14429
|
+
"dist/HLSView-U4CRLAPX.js.map": {
|
|
14420
14430
|
"imports": [],
|
|
14421
14431
|
"exports": [],
|
|
14422
14432
|
"inputs": {},
|
|
14423
14433
|
"bytes": 100275
|
|
14424
14434
|
},
|
|
14425
|
-
"dist/HLSView-
|
|
14435
|
+
"dist/HLSView-U4CRLAPX.js": {
|
|
14426
14436
|
"imports": [
|
|
14427
14437
|
{
|
|
14428
|
-
"path": "dist/chunk-
|
|
14438
|
+
"path": "dist/chunk-XIFK5DB3.js",
|
|
14429
14439
|
"kind": "import-statement"
|
|
14430
14440
|
},
|
|
14431
14441
|
{
|
|
@@ -14603,7 +14613,7 @@
|
|
|
14603
14613
|
"default"
|
|
14604
14614
|
],
|
|
14605
14615
|
"entryPoint": "src/Prebuilt/layouts/HLSView.jsx",
|
|
14606
|
-
"cssBundle": "dist/HLSView-
|
|
14616
|
+
"cssBundle": "dist/HLSView-MSHPSUUJ.css",
|
|
14607
14617
|
"inputs": {
|
|
14608
14618
|
"src/Prebuilt/layouts/HLSView.jsx": {
|
|
14609
14619
|
"bytesInOutput": 27671
|
|
@@ -14662,13 +14672,13 @@
|
|
|
14662
14672
|
},
|
|
14663
14673
|
"bytes": 61702
|
|
14664
14674
|
},
|
|
14665
|
-
"dist/chunk-
|
|
14675
|
+
"dist/chunk-XIFK5DB3.js.map": {
|
|
14666
14676
|
"imports": [],
|
|
14667
14677
|
"exports": [],
|
|
14668
14678
|
"inputs": {},
|
|
14669
|
-
"bytes":
|
|
14679
|
+
"bytes": 3284493
|
|
14670
14680
|
},
|
|
14671
|
-
"dist/chunk-
|
|
14681
|
+
"dist/chunk-XIFK5DB3.js": {
|
|
14672
14682
|
"imports": [
|
|
14673
14683
|
{
|
|
14674
14684
|
"path": "react",
|
|
@@ -16890,6 +16900,11 @@
|
|
|
16890
16900
|
"kind": "import-statement",
|
|
16891
16901
|
"external": true
|
|
16892
16902
|
},
|
|
16903
|
+
{
|
|
16904
|
+
"path": "@100mslive/react-icons",
|
|
16905
|
+
"kind": "import-statement",
|
|
16906
|
+
"external": true
|
|
16907
|
+
},
|
|
16893
16908
|
{
|
|
16894
16909
|
"path": "react",
|
|
16895
16910
|
"kind": "import-statement",
|
|
@@ -17151,7 +17166,7 @@
|
|
|
17151
17166
|
"external": true
|
|
17152
17167
|
},
|
|
17153
17168
|
{
|
|
17154
|
-
"path": "dist/HLSView-
|
|
17169
|
+
"path": "dist/HLSView-U4CRLAPX.js",
|
|
17155
17170
|
"kind": "dynamic-import"
|
|
17156
17171
|
},
|
|
17157
17172
|
{
|
|
@@ -17653,7 +17668,7 @@
|
|
|
17653
17668
|
],
|
|
17654
17669
|
"inputs": {
|
|
17655
17670
|
"<define:process.env>": {
|
|
17656
|
-
"bytesInOutput":
|
|
17671
|
+
"bytesInOutput": 17748
|
|
17657
17672
|
},
|
|
17658
17673
|
"../../node_modules/lodash/lodash.js": {
|
|
17659
17674
|
"bytesInOutput": 224310
|
|
@@ -17965,7 +17980,7 @@
|
|
|
17965
17980
|
"bytesInOutput": 13384
|
|
17966
17981
|
},
|
|
17967
17982
|
"src/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.tsx": {
|
|
17968
|
-
"bytesInOutput":
|
|
17983
|
+
"bytesInOutput": 3207
|
|
17969
17984
|
},
|
|
17970
17985
|
"src/Prebuilt/IconButton.tsx": {
|
|
17971
17986
|
"bytesInOutput": 487
|
|
@@ -18100,13 +18115,13 @@
|
|
|
18100
18115
|
"bytesInOutput": 1826
|
|
18101
18116
|
},
|
|
18102
18117
|
"src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx": {
|
|
18103
|
-
"bytesInOutput":
|
|
18118
|
+
"bytesInOutput": 12182
|
|
18104
18119
|
},
|
|
18105
18120
|
"src/Prebuilt/components/Header/StreamActions.tsx": {
|
|
18106
18121
|
"bytesInOutput": 9482
|
|
18107
18122
|
},
|
|
18108
18123
|
"../hms-video-store/dist/index.js": {
|
|
18109
|
-
"bytesInOutput":
|
|
18124
|
+
"bytesInOutput": 49647
|
|
18110
18125
|
},
|
|
18111
18126
|
"../../node_modules/reselect/es/index.js": {
|
|
18112
18127
|
"bytesInOutput": 2537
|
|
@@ -18445,7 +18460,7 @@
|
|
|
18445
18460
|
"bytesInOutput": 5314
|
|
18446
18461
|
},
|
|
18447
18462
|
"src/Prebuilt/components/VideoLayouts/GridLayout.tsx": {
|
|
18448
|
-
"bytesInOutput":
|
|
18463
|
+
"bytesInOutput": 5114
|
|
18449
18464
|
},
|
|
18450
18465
|
"src/Prebuilt/components/VideoLayouts/EqualProminence.tsx": {
|
|
18451
18466
|
"bytesInOutput": 1886
|
|
@@ -18495,7 +18510,7 @@
|
|
|
18495
18510
|
"src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
|
|
18496
18511
|
"bytesInOutput": 2793
|
|
18497
18512
|
},
|
|
18498
|
-
"../../../../../../../tmp/tmp-
|
|
18513
|
+
"../../../../../../../tmp/tmp-2872-xxVMM16lBgRS/1901733b2d51/index.css": {
|
|
18499
18514
|
"bytesInOutput": 0
|
|
18500
18515
|
},
|
|
18501
18516
|
"src/Prebuilt/common/PeersSorter.ts": {
|
|
@@ -18637,7 +18652,7 @@
|
|
|
18637
18652
|
"bytesInOutput": 651
|
|
18638
18653
|
}
|
|
18639
18654
|
},
|
|
18640
|
-
"bytes":
|
|
18655
|
+
"bytes": 1348612
|
|
18641
18656
|
},
|
|
18642
18657
|
"dist/index.css.map": {
|
|
18643
18658
|
"imports": [],
|
|
@@ -18699,22 +18714,22 @@
|
|
|
18699
18714
|
}
|
|
18700
18715
|
],
|
|
18701
18716
|
"inputs": {
|
|
18702
|
-
"../../../../../../../tmp/tmp-
|
|
18717
|
+
"../../../../../../../tmp/tmp-2872-xxVMM16lBgRS/1901733b2e73/tldraw.css": {
|
|
18703
18718
|
"bytesInOutput": 75223
|
|
18704
18719
|
},
|
|
18705
|
-
"../../../../../../../tmp/tmp-
|
|
18720
|
+
"../../../../../../../tmp/tmp-2872-xxVMM16lBgRS/1901733b2d51/index.css": {
|
|
18706
18721
|
"bytesInOutput": 401
|
|
18707
18722
|
}
|
|
18708
18723
|
},
|
|
18709
18724
|
"bytes": 75901
|
|
18710
18725
|
},
|
|
18711
|
-
"dist/HLSView-
|
|
18726
|
+
"dist/HLSView-MSHPSUUJ.css.map": {
|
|
18712
18727
|
"imports": [],
|
|
18713
18728
|
"exports": [],
|
|
18714
18729
|
"inputs": {},
|
|
18715
18730
|
"bytes": 122402
|
|
18716
18731
|
},
|
|
18717
|
-
"dist/HLSView-
|
|
18732
|
+
"dist/HLSView-MSHPSUUJ.css": {
|
|
18718
18733
|
"imports": [
|
|
18719
18734
|
{
|
|
18720
18735
|
"path": "https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap",
|
|
@@ -18768,10 +18783,10 @@
|
|
|
18768
18783
|
}
|
|
18769
18784
|
],
|
|
18770
18785
|
"inputs": {
|
|
18771
|
-
"../../../../../../../tmp/tmp-
|
|
18786
|
+
"../../../../../../../tmp/tmp-2872-xxVMM16lBgRS/1901733b2e73/tldraw.css": {
|
|
18772
18787
|
"bytesInOutput": 75223
|
|
18773
18788
|
},
|
|
18774
|
-
"../../../../../../../tmp/tmp-
|
|
18789
|
+
"../../../../../../../tmp/tmp-2872-xxVMM16lBgRS/1901733b2d51/index.css": {
|
|
18775
18790
|
"bytesInOutput": 401
|
|
18776
18791
|
}
|
|
18777
18792
|
},
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"prebuilt",
|
|
11
11
|
"roomkit"
|
|
12
12
|
],
|
|
13
|
-
"version": "0.3.13
|
|
13
|
+
"version": "0.3.13",
|
|
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.13
|
|
77
|
+
"@100mslive/hls-player": "0.3.13",
|
|
78
78
|
"@100mslive/hms-noise-cancellation": "0.0.1",
|
|
79
|
-
"@100mslive/hms-virtual-background": "1.13.13
|
|
80
|
-
"@100mslive/hms-whiteboard": "0.0.3
|
|
81
|
-
"@100mslive/react-icons": "0.10.13
|
|
82
|
-
"@100mslive/react-sdk": "0.10.13
|
|
79
|
+
"@100mslive/hms-virtual-background": "1.13.13",
|
|
80
|
+
"@100mslive/hms-whiteboard": "0.0.3",
|
|
81
|
+
"@100mslive/react-icons": "0.10.13",
|
|
82
|
+
"@100mslive/react-sdk": "0.10.13",
|
|
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": "802d2f81f4920926428d58c1466bc03e32ce7c10"
|
|
119
119
|
}
|
|
@@ -111,7 +111,7 @@ export const IconButtonWithOptions = ({
|
|
|
111
111
|
const commonProps = { disabled, active };
|
|
112
112
|
return (
|
|
113
113
|
<Flex>
|
|
114
|
-
<IconSection {...commonProps} onClick={onClick} hideOptions={hideOptions}>
|
|
114
|
+
<IconSection {...commonProps} onClick={onClick} hideOptions={hideOptions} className="__cancel-drag-event">
|
|
115
115
|
<Tooltip disabled={!tooltipMessage} title={tooltipMessage}>
|
|
116
116
|
<Icon {...commonProps}>{icon}</Icon>
|
|
117
117
|
</Tooltip>
|
|
@@ -55,11 +55,8 @@ import { useRoomLayoutHeader } from '../../../provider/roomLayoutProvider/hooks/
|
|
|
55
55
|
import { useSheetToggle } from '../../AppData/useSheet';
|
|
56
56
|
// @ts-ignore: No implicit any
|
|
57
57
|
import { usePollViewToggle, useSidepaneToggle } from '../../AppData/useSidepane';
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
useShowPolls,
|
|
61
|
-
// @ts-ignore: No implicit Any
|
|
62
|
-
} from '../../AppData/useUISettings';
|
|
58
|
+
// @ts-ignore: No implicit Any
|
|
59
|
+
import { useIsCaptionEnabled, useShowPolls } from '../../AppData/useUISettings';
|
|
63
60
|
// @ts-ignore: No implicit any
|
|
64
61
|
import { useDropdownList } from '../../hooks/useDropdownList';
|
|
65
62
|
import { useMyMetadata } from '../../hooks/useMetadata';
|
|
@@ -116,7 +113,7 @@ export const MwebOptions = ({
|
|
|
116
113
|
const isTranscriptionAllowed = useHMSStore(selectIsTranscriptionAllowedByMode(HMSTranscriptionMode.CAPTION));
|
|
117
114
|
const isTranscriptionEnabled = useHMSStore(selectIsTranscriptionEnabled);
|
|
118
115
|
|
|
119
|
-
const
|
|
116
|
+
const isCaptionEnabled = useIsCaptionEnabled();
|
|
120
117
|
useDropdownList({ open: openModals.size > 0 || openOptionsSheet || openSettingsSheet, name: 'MoreSettings' });
|
|
121
118
|
|
|
122
119
|
const updateState = (modalName: string, value: boolean) => {
|
|
@@ -1,14 +1,19 @@
|
|
|
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,
|
|
4
5
|
selectLocalPeerID,
|
|
5
6
|
selectLocalPeerRoleName,
|
|
6
7
|
selectPeers,
|
|
7
8
|
selectPeerScreenSharing,
|
|
9
|
+
selectTranscriptionsState,
|
|
8
10
|
selectWhiteboard,
|
|
9
11
|
useHMSStore,
|
|
10
12
|
useHMSVanillaStore,
|
|
11
13
|
} from '@100mslive/react-sdk';
|
|
14
|
+
import { AlertTriangleIcon } from '@100mslive/react-icons';
|
|
15
|
+
// @ts-ignore: No implicit Any
|
|
16
|
+
import { ToastManager } from '../Toast/ToastManager';
|
|
12
17
|
// @ts-ignore: No implicit Any
|
|
13
18
|
import { EqualProminence } from './EqualProminence';
|
|
14
19
|
import { RoleProminence } from './RoleProminence';
|
|
@@ -95,6 +100,18 @@ export const GridLayout = ({
|
|
|
95
100
|
objectFit: video_object_fit,
|
|
96
101
|
};
|
|
97
102
|
|
|
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
|
+
|
|
98
115
|
useEffect(() => {
|
|
99
116
|
if (mainPage !== 0) {
|
|
100
117
|
return;
|