@naviedu/room-platform-react 0.0.56 → 0.0.57

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.
Files changed (2) hide show
  1. package/index.esm.js +21 -21
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -28153,29 +28153,29 @@ function RoomPlatformPrivateRoomStage(param) {
28153
28153
  })
28154
28154
  });
28155
28155
  var mainPanel = function(controls) {
28156
- return /*#__PURE__*/ jsx("div", {
28156
+ return /*#__PURE__*/ jsxs("div", {
28157
28157
  className: "flex min-h-0 flex-1 items-center justify-center bg-slate-950 p-2 sm:p-4",
28158
- children: /*#__PURE__*/ jsx(RoomPlatformControlAnchor, {
28159
- anchorKind: "video-frame",
28160
- anchorScope: "frame",
28161
- className: "h-full max-h-full w-full max-w-full flex-none bg-slate-950",
28162
- controlBar: typeof controlBar === 'function' ? controlBar(controls) : controlBar,
28163
- children: /*#__PURE__*/ jsx("section", {
28164
- "data-testid": "classroom-video-frame",
28165
- className: "relative h-full min-h-0 w-full overflow-hidden rounded-lg bg-slate-950 text-white",
28166
- children: /*#__PURE__*/ jsxs("div", {
28167
- "data-testid": "private-live-room-main-stage",
28168
- className: "relative flex h-full min-h-0 min-w-0 items-center justify-center overflow-hidden rounded-lg",
28169
- children: [
28170
- mainStage,
28171
- hasActiveScreenShare && screenShareCameraTrack ? /*#__PURE__*/ jsx(RoomPlatformCameraOverlay, {
28172
- testId: "private-live-room-camera-overlay",
28173
- trackRef: screenShareCameraTrack
28174
- }) : null
28175
- ]
28158
+ children: [
28159
+ /*#__PURE__*/ jsx(RoomPlatformControlAnchor, {
28160
+ anchorKind: "video-frame",
28161
+ anchorScope: "frame",
28162
+ className: "h-full max-h-full w-full max-w-full flex-none bg-slate-950",
28163
+ controlBar: typeof controlBar === 'function' ? controlBar(controls) : controlBar,
28164
+ children: /*#__PURE__*/ jsx("section", {
28165
+ "data-testid": "classroom-video-frame",
28166
+ className: "relative h-full min-h-0 w-full overflow-hidden rounded-lg bg-slate-950 text-white",
28167
+ children: /*#__PURE__*/ jsx("div", {
28168
+ "data-testid": "private-live-room-main-stage",
28169
+ className: "relative flex h-full min-h-0 min-w-0 items-center justify-center overflow-hidden rounded-lg",
28170
+ children: mainStage
28171
+ })
28176
28172
  })
28177
- })
28178
- })
28173
+ }),
28174
+ hasActiveScreenShare && screenShareCameraTrack ? /*#__PURE__*/ jsx(RoomPlatformCameraOverlay, {
28175
+ testId: "private-live-room-camera-overlay",
28176
+ trackRef: screenShareCameraTrack
28177
+ }) : null
28178
+ ]
28179
28179
  });
28180
28180
  };
28181
28181
  var sidebar = /*#__PURE__*/ jsxs("aside", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naviedu/room-platform-react",
3
- "version": "0.0.56",
3
+ "version": "0.0.57",
4
4
  "type": "module",
5
5
  "main": "./index.esm.js",
6
6
  "module": "./index.esm.js",