@100mslive/roomkit-react 0.3.2-alpha.0 → 0.3.2-alpha.2
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-C5XHK2VY.js → HLSView-SF6SAQ5J.js} +2 -2
- package/dist/Prebuilt/components/Footer/ParticipantList.d.ts +2 -1
- package/dist/Prebuilt/components/Footer/RoleAccordion.d.ts +1 -0
- package/dist/Prebuilt/components/hooks/useGroupOnStageActions.d.ts +10 -0
- package/dist/Prebuilt/components/hooks/usePeerOnStageActions.d.ts +14 -0
- package/dist/{chunk-E7AEJ446.js → chunk-OYWNLHYU.js} +607 -490
- package/dist/chunk-OYWNLHYU.js.map +7 -0
- package/dist/index.cjs.js +1968 -1839
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +323 -210
- package/dist/meta.esbuild.json +136 -23
- package/package.json +7 -6
- package/src/Prebuilt/components/Footer/ParticipantList.tsx +90 -66
- package/src/Prebuilt/components/Footer/RoleAccordion.tsx +20 -1
- package/src/Prebuilt/components/MwebLandscapePrompt.tsx +1 -1
- package/src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx +0 -1
- package/src/Prebuilt/components/hooks/useGroupOnStageActions.tsx +54 -0
- package/src/Prebuilt/components/hooks/usePeerOnStageActions.tsx +49 -0
- package/src/Prebuilt/layouts/SidePane.tsx +0 -1
- package/dist/chunk-E7AEJ446.js.map +0 -7
- /package/dist/{HLSView-C5XHK2VY.js.map → HLSView-SF6SAQ5J.js.map} +0 -0
@@ -37,7 +37,7 @@ import {
|
|
37
37
|
useRoomLayoutHeader,
|
38
38
|
useSidepaneToggle,
|
39
39
|
useTheme
|
40
|
-
} from "./chunk-
|
40
|
+
} from "./chunk-OYWNLHYU.js";
|
41
41
|
|
42
42
|
// src/Prebuilt/layouts/HLSView.jsx
|
43
43
|
init_define_process_env();
|
@@ -1422,4 +1422,4 @@ var HLSView_default = HLSView;
|
|
1422
1422
|
export {
|
1423
1423
|
HLSView_default as default
|
1424
1424
|
};
|
1425
|
-
//# sourceMappingURL=HLSView-
|
1425
|
+
//# sourceMappingURL=HLSView-SF6SAQ5J.js.map
|
@@ -5,9 +5,10 @@ export declare const ParticipantList: ({ offStageRoles, onActive, }: {
|
|
5
5
|
onActive: (role: string) => void;
|
6
6
|
}) => React.JSX.Element | null;
|
7
7
|
export declare const ParticipantCount: () => React.JSX.Element | null;
|
8
|
-
export declare const Participant: ({ peer, isConnected, style, }: {
|
8
|
+
export declare const Participant: ({ peer, isConnected, isHandRaisedAccordion, style, }: {
|
9
9
|
peer: HMSPeer;
|
10
10
|
isConnected: boolean;
|
11
|
+
isHandRaisedAccordion?: boolean | undefined;
|
11
12
|
style: React.CSSProperties;
|
12
13
|
}) => React.JSX.Element;
|
13
14
|
export declare const ParticipantSearch: ({ onSearch, placeholder, inSidePane, }: {
|
@@ -3,6 +3,7 @@ import { HMSPeer } from '@100mslive/react-sdk';
|
|
3
3
|
export declare const ROW_HEIGHT = 50;
|
4
4
|
export interface ItemData {
|
5
5
|
peerList: HMSPeer[];
|
6
|
+
isHandRaisedAccordion?: boolean;
|
6
7
|
isConnected: boolean;
|
7
8
|
}
|
8
9
|
export declare function itemKey(index: number, data: ItemData): string;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { HMSPeer } from '@100mslive/react-sdk';
|
2
|
+
export declare const useGroupOnStageActions: ({ peers }: {
|
3
|
+
peers: HMSPeer[];
|
4
|
+
}) => {
|
5
|
+
lowerAllHands: () => Promise<void[]>;
|
6
|
+
bringAllToStage: () => Promise<(void | null)[]> | undefined;
|
7
|
+
canBringToStage: boolean | undefined;
|
8
|
+
bring_to_stage_label: string | undefined;
|
9
|
+
remove_from_stage_label: string | undefined;
|
10
|
+
};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const usePeerOnStageActions: ({ peerId, role }: {
|
3
|
+
peerId: string;
|
4
|
+
role: string;
|
5
|
+
}) => {
|
6
|
+
open: boolean;
|
7
|
+
setOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
8
|
+
lowerPeerHand: () => Promise<void>;
|
9
|
+
handleStageAction: () => Promise<void>;
|
10
|
+
shouldShowStageRoleChange: string | false | undefined;
|
11
|
+
isInStage: boolean;
|
12
|
+
bring_to_stage_label: string | undefined;
|
13
|
+
remove_from_stage_label: string | undefined;
|
14
|
+
};
|