@whereby.com/browser-sdk 3.4.4 → 3.5.1

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.
@@ -156,19 +156,23 @@ interface GridProps {
156
156
  renderParticipant?: ({ participant }: {
157
157
  participant: ClientView;
158
158
  }) => React.ReactNode;
159
+ renderFloatingParticipant?: ({ participant }: {
160
+ participant: ClientView;
161
+ }) => React.ReactNode;
159
162
  gridGap?: number;
160
163
  videoGridGap?: number;
161
164
  enableSubgrid?: boolean;
162
165
  stageParticipantLimit?: number;
163
166
  enableParticipantMenu?: boolean;
167
+ enableConstrainedGrid?: boolean;
164
168
  }
165
- declare function Grid({ renderParticipant, stageParticipantLimit, gridGap, videoGridGap, enableSubgrid, enableParticipantMenu, }: GridProps): React.JSX.Element;
169
+ declare function Grid({ renderParticipant, renderFloatingParticipant, stageParticipantLimit, gridGap, videoGridGap, enableSubgrid, enableParticipantMenu, enableConstrainedGrid, }: GridProps): React.JSX.Element;
166
170
 
167
171
  declare const ParticipantMenu: (props: PopoverProps) => React.JSX.Element;
168
172
  declare const ParticipantMenuContent: React.ForwardRefExoticComponent<Omit<Omit<_radix_ui_react_popover.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
169
173
  declare const ParticipantMenuTrigger: React.ForwardRefExoticComponent<Omit<_radix_ui_react_popover.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
170
174
  declare const ParticipantMenuItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
171
- participantAction?: "maximize" | "spotlight" | undefined;
175
+ participantAction?: "maximize" | "spotlight" | "float" | undefined;
172
176
  } & React.RefAttributes<HTMLButtonElement>>;
173
177
 
174
178
  export { type ChatMessageState as ChatMessage, GridCell, GridVideoView, type LocalParticipantState as LocalParticipant, ParticipantMenu, ParticipantMenuContent, ParticipantMenuItem, ParticipantMenuTrigger, type RemoteParticipantState as RemoteParticipant, type RoomConnectionState as RoomConnection, type ScreenshareState as Screenshare, type UseLocalMediaResult, Grid as VideoGrid, VideoView, type WaitingParticipantState as WaitingParticipant, Provider as WherebyProvider, useLocalMedia, useRoomConnection };