@naviedu/room-platform-react 0.0.32 → 0.0.34
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/README.md +1 -3
- package/index.d.ts +0 -2
- package/index.esm.js +104 -106
- package/package.json +1 -1
- package/styles.css +31 -22
package/README.md
CHANGED
|
@@ -85,7 +85,6 @@ layout that allows the room to occupy the viewport.
|
|
|
85
85
|
| `launchToken` | Yes | Initial server-issued launch ticket. |
|
|
86
86
|
| `onLaunchTicketRequired` | Yes | Returns `{ launchToken }` when the current ticket or access session must be renewed. |
|
|
87
87
|
| `extensions` | No | Host-provided top-bar, workspace, sidebar, monitor, and participant extensions. |
|
|
88
|
-
| `isPracticeMode` | No | Enables practice-room presentation behavior. |
|
|
89
88
|
| `onError` | No | Receives connection, media, and action errors. |
|
|
90
89
|
| `onLifecycleEvent` | No | Receives exchange, renewal, and reconnect lifecycle events. |
|
|
91
90
|
| `onExit` | No | Called when the user chooses to leave the room. |
|
|
@@ -181,7 +180,6 @@ function HostToolbar({ actions, capabilities, connectionStatus, roomId }: RoomPl
|
|
|
181
180
|
topBarTrailing: HostToolbar,
|
|
182
181
|
sidebarTabs: [{ id: 'materials', title: 'Materials', component: HostMaterialsTab }],
|
|
183
182
|
mainWorkspace: {
|
|
184
|
-
placement: 'alongside-stage',
|
|
185
183
|
component: HostWorkspace,
|
|
186
184
|
},
|
|
187
185
|
}}
|
|
@@ -191,7 +189,7 @@ function HostToolbar({ actions, capabilities, connectionStatus, roomId }: RoomPl
|
|
|
191
189
|
Available extension slots are:
|
|
192
190
|
|
|
193
191
|
- `topBarLeading` and `topBarTrailing`
|
|
194
|
-
- `mainWorkspace`
|
|
192
|
+
- `mainWorkspace` for the practice workspace overlay
|
|
195
193
|
- `sidebarTabs`
|
|
196
194
|
- `participantTab` in `default` or `replace` mode
|
|
197
195
|
- `monitor` with a host-provided participant roster and eligibility flag
|
package/index.d.ts
CHANGED
|
@@ -343,7 +343,6 @@ export declare type RoomPlatformExtensions = {
|
|
|
343
343
|
roster: readonly RoomParticipantRosterEntry[];
|
|
344
344
|
};
|
|
345
345
|
mainWorkspace?: {
|
|
346
|
-
placement: 'overlay' | 'alongside-stage';
|
|
347
346
|
component: ComponentType<RoomPlatformExtensionProps>;
|
|
348
347
|
};
|
|
349
348
|
sidebarTabs?: readonly {
|
|
@@ -463,7 +462,6 @@ export declare type RoomPlatformPresentation = {
|
|
|
463
462
|
kind: 'whiteboard';
|
|
464
463
|
} | {
|
|
465
464
|
kind: 'workspace';
|
|
466
|
-
placement: 'overlay' | 'alongside-stage';
|
|
467
465
|
};
|
|
468
466
|
|
|
469
467
|
export declare type RoomPlatformPrivateRoomBannerState = Omit<RoomPlatformPrivateRoomStatusBannerProps, 'message'> & {
|