@naviedu/room-platform-react 0.0.18 → 0.0.19
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 +14 -1
- package/index.esm.js +1077 -744
- package/package.json +1 -1
- package/styles.css +1 -1
package/index.d.ts
CHANGED
|
@@ -300,6 +300,17 @@ declare const RoomPlatformCapability: {
|
|
|
300
300
|
|
|
301
301
|
declare type RoomPlatformCapabilityName = (typeof RoomPlatformCapability)[keyof typeof RoomPlatformCapability];
|
|
302
302
|
|
|
303
|
+
export declare type RoomPlatformCompletionActionConfig = {
|
|
304
|
+
onConfirm: () => Promise<void>;
|
|
305
|
+
disabled?: boolean;
|
|
306
|
+
disabledReason?: string;
|
|
307
|
+
label?: string;
|
|
308
|
+
confirmationTitle?: string;
|
|
309
|
+
confirmationDescription?: string;
|
|
310
|
+
confirmationActionLabel?: string;
|
|
311
|
+
errorMessage?: string;
|
|
312
|
+
};
|
|
313
|
+
|
|
303
314
|
export declare type RoomPlatformConnectionStatus = 'connecting' | 'connected' | 'reconnecting' | 'error';
|
|
304
315
|
|
|
305
316
|
declare type RoomPlatformContextValue = {
|
|
@@ -620,6 +631,7 @@ export declare function RoomPlatformRoom(props: RoomPlatformRoomProps): JSX.Elem
|
|
|
620
631
|
|
|
621
632
|
export declare type RoomPlatformRoomProps = {
|
|
622
633
|
apiBaseUrl: string;
|
|
634
|
+
completionAction?: RoomPlatformCompletionActionConfig;
|
|
623
635
|
extensions?: RoomPlatformExtensions;
|
|
624
636
|
integrations?: RoomPlatformIntegrations;
|
|
625
637
|
launchToken: string;
|
|
@@ -674,10 +686,11 @@ export declare function RoomPlatformSpeakQueue({ activeSpeakerParticipantIdentit
|
|
|
674
686
|
raisedHandParticipantIdentities: readonly string[];
|
|
675
687
|
}): JSX.Element;
|
|
676
688
|
|
|
677
|
-
export declare function RoomPlatformTopBar({ monitorSelector, topBarLeading, topBarTrailing }: RoomPlatformTopBarProps): JSX.Element;
|
|
689
|
+
export declare function RoomPlatformTopBar({ monitorSelector, completionAction, topBarLeading, topBarTrailing, }: RoomPlatformTopBarProps): JSX.Element;
|
|
678
690
|
|
|
679
691
|
export declare type RoomPlatformTopBarProps = {
|
|
680
692
|
monitorSelector?: ReactNode;
|
|
693
|
+
completionAction?: ReactNode;
|
|
681
694
|
topBarLeading?: ReactNode;
|
|
682
695
|
topBarTrailing?: ReactNode;
|
|
683
696
|
};
|