@naviedu/room-platform-react 0.0.52 → 0.0.53
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/index.d.ts +10 -4
- package/index.esm.js +921 -948
- package/package.json +1 -1
- package/styles.css +1 -1
package/index.d.ts
CHANGED
|
@@ -482,7 +482,7 @@ export declare type RoomPlatformPrivateRoomConnectionProps = {
|
|
|
482
482
|
children: ReactNode;
|
|
483
483
|
};
|
|
484
484
|
|
|
485
|
-
export declare function RoomPlatformPrivateRoomControlBar({ publishEnabled, permissions, screenShareDisabled, onStartScreenShare, onStopScreenShare, onEnd, onEndingChange, onEnded, }: RoomPlatformPrivateRoomControlBarProps): JSX.Element;
|
|
485
|
+
export declare function RoomPlatformPrivateRoomControlBar({ publishEnabled, permissions, screenShareDisabled, onStartScreenShare, onStopScreenShare, onEnd, onEndingChange, onEnded, isFullscreen, isTheaterMode, onToggleFullscreen, onToggleTheaterMode, }: RoomPlatformPrivateRoomControlBarProps): JSX.Element;
|
|
486
486
|
|
|
487
487
|
export declare type RoomPlatformPrivateRoomControlBarProps = {
|
|
488
488
|
publishEnabled: boolean;
|
|
@@ -493,9 +493,13 @@ export declare type RoomPlatformPrivateRoomControlBarProps = {
|
|
|
493
493
|
onEnd: () => Promise<void> | void;
|
|
494
494
|
onEndingChange?: (isEnding: boolean) => void;
|
|
495
495
|
onEnded?: () => void;
|
|
496
|
+
isFullscreen?: boolean;
|
|
497
|
+
isTheaterMode?: boolean;
|
|
498
|
+
onToggleFullscreen?: () => void;
|
|
499
|
+
onToggleTheaterMode?: () => void;
|
|
496
500
|
};
|
|
497
501
|
|
|
498
|
-
export declare function RoomPlatformPrivateRoomExperience({ state, connection, currentExternalActorId, onEnd, onEndingChange, onEnded, onStartScreenShare, onStopScreenShare, whiteboard, }: RoomPlatformPrivateRoomExperienceProps): JSX.Element;
|
|
502
|
+
export declare function RoomPlatformPrivateRoomExperience({ state, connection, currentExternalActorId, onEnd, onEndingChange, onEnded, onStartScreenShare, onStopScreenShare, topBar, whiteboard, }: RoomPlatformPrivateRoomExperienceProps): JSX.Element;
|
|
499
503
|
|
|
500
504
|
export declare type RoomPlatformPrivateRoomExperienceProps = {
|
|
501
505
|
state: RoomPrivateRoomState;
|
|
@@ -506,6 +510,7 @@ export declare type RoomPlatformPrivateRoomExperienceProps = {
|
|
|
506
510
|
onEnded?: () => void;
|
|
507
511
|
onStartScreenShare: () => Promise<void>;
|
|
508
512
|
onStopScreenShare: () => Promise<void>;
|
|
513
|
+
topBar?: ReactNode;
|
|
509
514
|
whiteboard?: ReactNode;
|
|
510
515
|
};
|
|
511
516
|
|
|
@@ -540,14 +545,15 @@ export declare type RoomPlatformPrivateRoomRuntimeState = {
|
|
|
540
545
|
setIsAcceptingPrivateRoom: (value: boolean) => void;
|
|
541
546
|
};
|
|
542
547
|
|
|
543
|
-
export declare function RoomPlatformPrivateRoomStage({ callerExternalActorId, studentExternalActorId, activeScreenShareExternalActorId, chat, controlBar, whiteboard, }: RoomPlatformPrivateRoomStageProps): JSX.Element;
|
|
548
|
+
export declare function RoomPlatformPrivateRoomStage({ callerExternalActorId, studentExternalActorId, activeScreenShareExternalActorId, chat, controlBar, topBar, whiteboard, }: RoomPlatformPrivateRoomStageProps): JSX.Element;
|
|
544
549
|
|
|
545
550
|
export declare type RoomPlatformPrivateRoomStageProps = {
|
|
546
551
|
callerExternalActorId: string;
|
|
547
552
|
studentExternalActorId: string;
|
|
548
553
|
activeScreenShareExternalActorId?: string;
|
|
549
554
|
chat?: ReactNode;
|
|
550
|
-
controlBar?: ReactNode;
|
|
555
|
+
controlBar?: ReactNode | ((controls: RoomPlatformShellControls) => ReactNode);
|
|
556
|
+
topBar?: ReactNode;
|
|
551
557
|
whiteboard?: ReactNode;
|
|
552
558
|
};
|
|
553
559
|
|