@zegocloud/zego-uikit-prebuilt 1.8.0 → 1.8.2

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 CHANGED
@@ -128,14 +128,16 @@ declare interface ZegoCloudRoomConfig {
128
128
  showInviteToCohostButton?: boolean; // Whether to show the button that is used to invite the audience to co-host on the host end.
129
129
  showRemoveCohostButton?: boolean; // Whether to show the button that is used to remove the audience on the host end.
130
130
  showRequestToCohostButton?: boolean; // Whether to show the button that is used to request to co-host on the audience end.
131
+ rightPanelExpandedType?: RightPanelExpandedType; // Controls the type of the information displayed on the right panel, display "None" by default.
132
+
131
133
  // 1.4 Leaving view
132
134
  showLeavingView?: boolean; // Whether to display the leaving view. Displayed by default.
133
135
 
134
136
  // 2 Related event callbacks
135
- onJoinRoom?: (users: ZegoUser[]) => void; // Callback for participants join the room.
136
- onLeaveRoom?: (users: ZegoUser[]) => void; // Callback for participants exits the room.
137
- onUserJoin?: (user: ZegoUser[]) => void; // Callback for other participants join the call.
138
- onUserLeave?: (user: ZegoUser[]) => void; // Callback for other participants leave the call.
137
+ onJoinRoom?: () => void; // Callback for participants join the room.
138
+ onLeaveRoom?: () => void; // Callback for participants exits the room.
139
+ onUserJoin?: (users: ZegoUser[]) => void; // Callback for other participants join the call.
140
+ onUserLeave?: (users: ZegoUser[]) => void; // Callback for other participants leave the call.
139
141
  onUserAvatarSetter?: (user: ZegoUser[]) => void; // Callback for the user avatar can be set.
140
142
  onLiveStart?: (user: ZegoUser) => void; // Callback for livestream starts.
141
143
  onLiveEnd?: (user: ZegoUser) => void; // Callback for livestream ends.
@@ -146,6 +148,13 @@ declare interface ZegoCloudRoomConfig {
146
148
  messages: ZegoSignalingInRoomTextMessage[]
147
149
  ) => void; // Callback for room signaling text message
148
150
  }
151
+
152
+ export enum RightPanelExpandedType {
153
+ None = "None",
154
+ RoomDetails = "RoomDetails",
155
+ RoomMembers = "RoomMembers",
156
+ RoomMessages = "RoomMessages",
157
+ }
149
158
  declare interface ZegoSignalingInRoomTextMessage {
150
159
  messageID: string;
151
160
  timestamp: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zegocloud/zego-uikit-prebuilt",
3
- "version": "1.8.0",
3
+ "version": "1.8.2",
4
4
  "description": "zegocloud prebuilt meeting webrtc sdk",
5
5
  "keywords": [
6
6
  "sdk",