@100mslive/roomkit-react 0.3.2-alpha.0 → 0.3.2-alpha.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -37,7 +37,7 @@ import {
37
37
  useRoomLayoutHeader,
38
38
  useSidepaneToggle,
39
39
  useTheme
40
- } from "./chunk-E7AEJ446.js";
40
+ } from "./chunk-FKNIYFKS.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-C5XHK2VY.js.map
1425
+ //# sourceMappingURL=HLSView-7E6TK45Q.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
+ };