@100mslive/roomkit-react 0.1.8-alpha.0 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-IQRPLYNH.js → HLSView-DDGPZHA2.js} +3 -3
- package/dist/Prebuilt/App.d.ts +1 -0
- package/dist/Prebuilt/AppContext.d.ts +1 -0
- package/dist/Prebuilt/components/Footer/PaginatedParticipants.d.ts +5 -0
- package/dist/Prebuilt/components/Footer/RoleAccordion.d.ts +10 -3
- package/dist/Prebuilt/components/Notifications/HeadlessEndRoomListener.d.ts +2 -0
- package/dist/Prebuilt/components/PrebuiltTileElements.d.ts +2198 -0
- package/dist/{VirtualBackground-GP4ATXD3.js → VirtualBackground-UVZJVOA2.js} +3 -3
- package/dist/{chunk-Z3O2WGWV.js → chunk-6SQTFOK6.js} +2 -2
- package/dist/{chunk-Z3O2WGWV.js.map → chunk-6SQTFOK6.js.map} +1 -1
- package/dist/{chunk-2H5NIZB7.js → chunk-HUMNPIYI.js} +2 -2
- package/dist/{chunk-GLYGPYNS.js → chunk-PRM33R4R.js} +286 -251
- package/dist/chunk-PRM33R4R.js.map +7 -0
- package/dist/{conference-JD35TNH4.js → conference-N7S47TDK.js} +484 -385
- package/dist/conference-N7S47TDK.js.map +7 -0
- package/dist/index.cjs.js +1895 -1727
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.js +2 -2
- package/dist/meta.cjs.json +234 -42
- package/dist/meta.esbuild.json +267 -74
- package/package.json +6 -6
- package/src/AudioLevel/AudioLevel.tsx +1 -1
- package/src/Prebuilt/App.tsx +5 -0
- package/src/Prebuilt/AppContext.tsx +2 -0
- package/src/Prebuilt/common/constants.js +1 -1
- package/src/Prebuilt/components/AppData/AppData.jsx +1 -1
- package/src/Prebuilt/components/AppData/useUISettings.js +1 -1
- package/src/Prebuilt/components/Chip.tsx +6 -2
- package/src/Prebuilt/components/Footer/PaginatedParticipants.tsx +94 -0
- package/src/Prebuilt/components/Footer/ParticipantList.jsx +53 -23
- package/src/Prebuilt/components/Footer/RoleAccordion.tsx +86 -84
- package/src/Prebuilt/components/Footer/RoleOptions.tsx +1 -1
- package/src/Prebuilt/components/Notifications/HeadlessEndRoomListener.tsx +23 -0
- package/src/Prebuilt/components/Notifications/Notifications.jsx +1 -1
- package/src/Prebuilt/components/PrebuiltTileElements.tsx +5 -0
- package/src/Prebuilt/components/Preview/PreviewJoin.tsx +9 -6
- package/src/Prebuilt/components/SidePaneTabs.tsx +31 -5
- package/src/Prebuilt/components/VideoTile.jsx +19 -34
- package/src/Prebuilt/components/conference.jsx +4 -3
- package/src/Prebuilt/components/hooks/useDropdownSelection.jsx +1 -1
- package/src/Prebuilt/layouts/SidePane.tsx +1 -0
- package/dist/chunk-GLYGPYNS.js.map +0 -7
- package/dist/conference-JD35TNH4.js.map +0 -7
- /package/dist/{HLSView-IQRPLYNH.js.map → HLSView-DDGPZHA2.js.map} +0 -0
- /package/dist/{VirtualBackground-GP4ATXD3.js.map → VirtualBackground-UVZJVOA2.js.map} +0 -0
- /package/dist/{chunk-2H5NIZB7.js.map → chunk-HUMNPIYI.js.map} +0 -0
@@ -9,7 +9,7 @@ import {
|
|
9
9
|
Slider,
|
10
10
|
ToastManager,
|
11
11
|
useTheme
|
12
|
-
} from "./chunk-
|
12
|
+
} from "./chunk-PRM33R4R.js";
|
13
13
|
import {
|
14
14
|
Box,
|
15
15
|
Flex,
|
@@ -23,7 +23,7 @@ import {
|
|
23
23
|
__spreadValues,
|
24
24
|
config,
|
25
25
|
styled
|
26
|
-
} from "./chunk-
|
26
|
+
} from "./chunk-6SQTFOK6.js";
|
27
27
|
|
28
28
|
// src/Prebuilt/layouts/HLSView.jsx
|
29
29
|
import React10, { useCallback, useEffect as useEffect3, useRef as useRef2, useState as useState4 } from "react";
|
@@ -860,4 +860,4 @@ var HLSView_default = HLSView;
|
|
860
860
|
export {
|
861
861
|
HLSView_default as default
|
862
862
|
};
|
863
|
-
//# sourceMappingURL=HLSView-
|
863
|
+
//# sourceMappingURL=HLSView-DDGPZHA2.js.map
|
package/dist/Prebuilt/App.d.ts
CHANGED
@@ -7,6 +7,7 @@ declare type HMSPrebuiltContextType = {
|
|
7
7
|
userId?: string;
|
8
8
|
endpoints?: Record<string, string>;
|
9
9
|
onLeave?: () => void;
|
10
|
+
onJoin?: () => void;
|
10
11
|
};
|
11
12
|
export declare const HMSPrebuiltContext: React.Context<HMSPrebuiltContextType>;
|
12
13
|
export declare const useHMSPrebuiltContext: () => HMSPrebuiltContextType;
|
@@ -1,14 +1,21 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { HMSPeer } from '@100mslive/react-sdk';
|
3
|
-
|
3
|
+
export declare const ROW_HEIGHT = 50;
|
4
|
+
export interface ItemData {
|
4
5
|
peerList: HMSPeer[];
|
5
6
|
isConnected: boolean;
|
6
7
|
}
|
7
|
-
export declare
|
8
|
+
export declare function itemKey(index: number, data: ItemData): string;
|
9
|
+
export declare const VirtualizedParticipantItem: React.MemoExoticComponent<({ index, data }: {
|
10
|
+
index: number;
|
11
|
+
data: ItemData;
|
12
|
+
}) => React.JSX.Element>;
|
13
|
+
export declare const RoleAccordion: ({ peerList, roleName, isConnected, filter, isHandRaisedAccordion, offStageRoles, onActive, }: ItemData & {
|
8
14
|
roleName: string;
|
9
15
|
isHandRaisedAccordion?: boolean | undefined;
|
10
16
|
filter?: {
|
11
17
|
search: string;
|
12
18
|
} | undefined;
|
19
|
+
offStageRoles: string[];
|
20
|
+
onActive?: ((role: string) => void) | undefined;
|
13
21
|
}) => React.JSX.Element | null;
|
14
|
-
export {};
|