@stream-io/video-react-native-sdk 1.3.7 → 1.4.0
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/CHANGELOG.md +16 -0
- package/dist/commonjs/components/Call/CallContent/CallContent.js +25 -20
- package/dist/commonjs/components/Call/CallContent/CallContent.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js +8 -6
- package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/CallControls.js +2 -2
- package/dist/commonjs/components/Call/CallControls/CallControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/CallControlsButton.js +11 -18
- package/dist/commonjs/components/Call/CallControls/CallControlsButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/HangupCallButton.js +8 -13
- package/dist/commonjs/components/Call/CallControls/HangupCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js +5 -1
- package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/LobbyControls.js +16 -9
- package/dist/commonjs/components/Call/CallControls/LobbyControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ReactionsButton.js +3 -3
- package/dist/commonjs/components/Call/CallControls/ReactionsButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/RejectCallButton.js +8 -6
- package/dist/commonjs/components/Call/CallControls/RejectCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js +10 -6
- package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js +10 -10
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js +9 -6
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js +10 -6
- package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js +10 -10
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js +9 -6
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/index.js +0 -11
- package/dist/commonjs/components/Call/CallControls/index.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js +32 -28
- package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js +1 -1
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js +31 -25
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
- package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js +32 -17
- package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
- package/dist/commonjs/components/Call/Lobby/JoinCallButton.js +21 -14
- package/dist/commonjs/components/Call/Lobby/JoinCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/Lobby/Lobby.js +66 -94
- package/dist/commonjs/components/Call/Lobby/Lobby.js.map +1 -1
- package/dist/commonjs/components/Call/Lobby/LobbyFooter.js +60 -23
- package/dist/commonjs/components/Call/Lobby/LobbyFooter.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js +6 -7
- package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js +6 -7
- package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js +0 -4
- package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js +3 -3
- package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js.map +1 -1
- package/dist/commonjs/components/Call/index.js +0 -11
- package/dist/commonjs/components/Call/index.js.map +1 -1
- package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js +31 -20
- package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js +2 -2
- package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +7 -5
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +5 -3
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +7 -5
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +2 -2
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js +1 -1
- package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js +2 -2
- package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js +2 -2
- package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js +2 -2
- package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
- package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js +16 -5
- package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
- package/dist/commonjs/components/Participant/FloatingParticipantView/index.js +6 -5
- package/dist/commonjs/components/Participant/FloatingParticipantView/index.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js +72 -49
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +5 -5
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js +28 -15
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js +2 -2
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js +29 -21
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js +86 -0
- package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -0
- package/dist/commonjs/components/utility/Avatar.js +1 -1
- package/dist/commonjs/components/utility/Avatar.js.map +1 -1
- package/dist/commonjs/components/utility/ScreenShareOverlay.js +6 -5
- package/dist/commonjs/components/utility/ScreenShareOverlay.js.map +1 -1
- package/dist/commonjs/constants/TestIds.js +1 -1
- package/dist/commonjs/constants/TestIds.js.map +1 -1
- package/dist/commonjs/constants/index.js +24 -5
- package/dist/commonjs/constants/index.js.map +1 -1
- package/dist/commonjs/icons/CameraSwitch.js +6 -3
- package/dist/commonjs/icons/CameraSwitch.js.map +1 -1
- package/dist/commonjs/icons/IconWrapper.js +25 -0
- package/dist/commonjs/icons/IconWrapper.js.map +1 -0
- package/dist/commonjs/icons/Lock.js +26 -0
- package/dist/commonjs/icons/Lock.js.map +1 -0
- package/dist/commonjs/icons/Mic.js +6 -6
- package/dist/commonjs/icons/Mic.js.map +1 -1
- package/dist/commonjs/icons/MicOff.js +6 -3
- package/dist/commonjs/icons/MicOff.js.map +1 -1
- package/dist/commonjs/icons/Phone.js +13 -3
- package/dist/commonjs/icons/Phone.js.map +1 -1
- package/dist/commonjs/icons/PhoneDown.js +6 -3
- package/dist/commonjs/icons/PhoneDown.js.map +1 -1
- package/dist/commonjs/icons/PinVertical.js +5 -2
- package/dist/commonjs/icons/PinVertical.js.map +1 -1
- package/dist/commonjs/icons/Reaction.js +3 -1
- package/dist/commonjs/icons/Reaction.js.map +1 -1
- package/dist/commonjs/icons/ScreenShare.js +6 -3
- package/dist/commonjs/icons/ScreenShare.js.map +1 -1
- package/dist/commonjs/icons/StopScreenShare.js +5 -2
- package/dist/commonjs/icons/StopScreenShare.js.map +1 -1
- package/dist/commonjs/icons/Video.js +6 -3
- package/dist/commonjs/icons/Video.js.map +1 -1
- package/dist/commonjs/icons/VideoSlash.js +6 -3
- package/dist/commonjs/icons/VideoSlash.js.map +1 -1
- package/dist/commonjs/icons/index.js +11 -22
- package/dist/commonjs/icons/index.js.map +1 -1
- package/dist/commonjs/theme/colors.js +22 -39
- package/dist/commonjs/theme/colors.js.map +1 -1
- package/dist/commonjs/theme/constants.js +44 -44
- package/dist/commonjs/theme/constants.js.map +1 -1
- package/dist/commonjs/theme/index.js +11 -10
- package/dist/commonjs/theme/index.js.map +1 -1
- package/dist/commonjs/theme/theme.js +46 -9
- package/dist/commonjs/theme/theme.js.map +1 -1
- package/dist/commonjs/translations/en.json +7 -3
- package/dist/commonjs/version.js +1 -1
- package/dist/module/components/Call/CallContent/CallContent.js +26 -21
- package/dist/module/components/Call/CallContent/CallContent.js.map +1 -1
- package/dist/module/components/Call/CallControls/AcceptCallButton.js +9 -7
- package/dist/module/components/Call/CallControls/AcceptCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/CallControls.js +2 -2
- package/dist/module/components/Call/CallControls/CallControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/CallControlsButton.js +11 -18
- package/dist/module/components/Call/CallControls/CallControlsButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/HangupCallButton.js +8 -13
- package/dist/module/components/Call/CallControls/HangupCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/IncomingCallControls.js +5 -1
- package/dist/module/components/Call/CallControls/IncomingCallControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/LobbyControls.js +14 -8
- package/dist/module/components/Call/CallControls/LobbyControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/ReactionsButton.js +4 -4
- package/dist/module/components/Call/CallControls/ReactionsButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/RejectCallButton.js +9 -7
- package/dist/module/components/Call/CallControls/RejectCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js +10 -6
- package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js +11 -11
- package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js +10 -7
- package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js +11 -7
- package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js +11 -11
- package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js +10 -7
- package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/index.js +0 -1
- package/dist/module/components/Call/CallControls/index.js.map +1 -1
- package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js +33 -29
- package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
- package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js +1 -1
- package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
- package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js +29 -24
- package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
- package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js +32 -17
- package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
- package/dist/module/components/Call/Lobby/JoinCallButton.js +19 -13
- package/dist/module/components/Call/Lobby/JoinCallButton.js.map +1 -1
- package/dist/module/components/Call/Lobby/Lobby.js +64 -93
- package/dist/module/components/Call/Lobby/Lobby.js.map +1 -1
- package/dist/module/components/Call/Lobby/LobbyFooter.js +58 -22
- package/dist/module/components/Call/Lobby/LobbyFooter.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/IncomingCall.js +6 -7
- package/dist/module/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/OutgoingCall.js +6 -7
- package/dist/module/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/RingingCallContent.js +0 -4
- package/dist/module/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js +3 -3
- package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/UserInfo.js +1 -1
- package/dist/module/components/Call/RingingCallContent/UserInfo.js.map +1 -1
- package/dist/module/components/Call/index.js +0 -1
- package/dist/module/components/Call/index.js.map +1 -1
- package/dist/module/components/Livestream/HostLivestream/HostLivestream.js +32 -21
- package/dist/module/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js +1 -1
- package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js +2 -2
- package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +8 -6
- package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +5 -3
- package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +8 -6
- package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +2 -2
- package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +1 -1
- package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js +1 -1
- package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js +2 -2
- package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js +2 -2
- package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js +2 -2
- package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
- package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js +17 -6
- package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/index.js +6 -5
- package/dist/module/components/Participant/FloatingParticipantView/index.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js +70 -49
- package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +5 -5
- package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js +29 -16
- package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js +2 -2
- package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantView.js +27 -20
- package/dist/module/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js +78 -0
- package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -0
- package/dist/module/components/utility/Avatar.js +1 -1
- package/dist/module/components/utility/Avatar.js.map +1 -1
- package/dist/module/components/utility/ScreenShareOverlay.js +6 -5
- package/dist/module/components/utility/ScreenShareOverlay.js.map +1 -1
- package/dist/module/constants/TestIds.js +1 -1
- package/dist/module/constants/TestIds.js.map +1 -1
- package/dist/module/constants/index.js +23 -4
- package/dist/module/constants/index.js.map +1 -1
- package/dist/module/icons/CameraSwitch.js +6 -3
- package/dist/module/icons/CameraSwitch.js.map +1 -1
- package/dist/module/icons/IconWrapper.js +17 -0
- package/dist/module/icons/IconWrapper.js.map +1 -0
- package/dist/module/icons/Lock.js +16 -0
- package/dist/module/icons/Lock.js.map +1 -0
- package/dist/module/icons/Mic.js +6 -6
- package/dist/module/icons/Mic.js.map +1 -1
- package/dist/module/icons/MicOff.js +6 -3
- package/dist/module/icons/MicOff.js.map +1 -1
- package/dist/module/icons/Phone.js +13 -3
- package/dist/module/icons/Phone.js.map +1 -1
- package/dist/module/icons/PhoneDown.js +6 -3
- package/dist/module/icons/PhoneDown.js.map +1 -1
- package/dist/module/icons/PinVertical.js +5 -2
- package/dist/module/icons/PinVertical.js.map +1 -1
- package/dist/module/icons/Reaction.js +3 -1
- package/dist/module/icons/Reaction.js.map +1 -1
- package/dist/module/icons/ScreenShare.js +6 -3
- package/dist/module/icons/ScreenShare.js.map +1 -1
- package/dist/module/icons/StopScreenShare.js +5 -2
- package/dist/module/icons/StopScreenShare.js.map +1 -1
- package/dist/module/icons/Video.js +6 -3
- package/dist/module/icons/Video.js.map +1 -1
- package/dist/module/icons/VideoSlash.js +6 -3
- package/dist/module/icons/VideoSlash.js.map +1 -1
- package/dist/module/icons/index.js +1 -2
- package/dist/module/icons/index.js.map +1 -1
- package/dist/module/theme/colors.js +22 -39
- package/dist/module/theme/colors.js.map +1 -1
- package/dist/module/theme/constants.js +44 -44
- package/dist/module/theme/constants.js.map +1 -1
- package/dist/module/theme/index.js +1 -5
- package/dist/module/theme/index.js.map +1 -1
- package/dist/module/theme/theme.js +46 -9
- package/dist/module/theme/theme.js.map +1 -1
- package/dist/module/translations/en.json +7 -3
- package/dist/module/version.js +1 -1
- package/dist/typescript/components/Call/CallContent/CallContent.d.ts +2 -7
- package/dist/typescript/components/Call/CallContent/CallContent.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/AcceptCallButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/CallControlsButton.d.ts +4 -0
- package/dist/typescript/components/Call/CallControls/CallControlsButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/HangupCallButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/IncomingCallControls.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/LobbyControls.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/ReactionsButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/RejectCallButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/ScreenShareToggleButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/ToggleAudioPreviewButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/ToggleAudioPublishingButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/ToggleCameraFaceButton.d.ts +6 -1
- package/dist/typescript/components/Call/CallControls/ToggleCameraFaceButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/ToggleVideoPreviewButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/ToggleVideoPublishingButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/index.d.ts +0 -1
- package/dist/typescript/components/Call/CallControls/index.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/internal/ReactionsPicker.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts.map +1 -1
- package/dist/typescript/components/Call/Lobby/JoinCallButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/Lobby/Lobby.d.ts.map +1 -1
- package/dist/typescript/components/Call/Lobby/LobbyFooter.d.ts.map +1 -1
- package/dist/typescript/components/Call/RingingCallContent/IncomingCall.d.ts +2 -6
- package/dist/typescript/components/Call/RingingCallContent/IncomingCall.d.ts.map +1 -1
- package/dist/typescript/components/Call/RingingCallContent/OutgoingCall.d.ts +1 -6
- package/dist/typescript/components/Call/RingingCallContent/OutgoingCall.d.ts.map +1 -1
- package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts +0 -5
- package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts.map +1 -1
- package/dist/typescript/components/Call/index.d.ts +0 -1
- package/dist/typescript/components/Call/index.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/HostLivestream/HostLivestream.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamControls/LivestreamAudioControlButton.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamControls/LivestreamVideoControlButton.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamControls/ViewerLivestreamControls.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/ViewerLivestream/ViewerLivestream.d.ts.map +1 -1
- package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.d.ts.map +1 -1
- package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts.map +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantLabel.d.ts.map +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts.map +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantVideoFallback.d.ts.map +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts.map +1 -1
- package/dist/typescript/components/Participant/ParticipantView/SpeechIndicator.d.ts +18 -0
- package/dist/typescript/components/Participant/ParticipantView/SpeechIndicator.d.ts.map +1 -0
- package/dist/typescript/components/utility/Avatar.d.ts.map +1 -1
- package/dist/typescript/constants/TestIds.d.ts +2 -2
- package/dist/typescript/constants/TestIds.d.ts.map +1 -1
- package/dist/typescript/constants/index.d.ts +0 -1
- package/dist/typescript/constants/index.d.ts.map +1 -1
- package/dist/typescript/icons/CameraSwitch.d.ts +2 -1
- package/dist/typescript/icons/CameraSwitch.d.ts.map +1 -1
- package/dist/typescript/icons/IconWrapper.d.ts +6 -0
- package/dist/typescript/icons/IconWrapper.d.ts.map +1 -0
- package/dist/typescript/icons/{Chat.d.ts → Lock.d.ts} +3 -2
- package/dist/typescript/icons/Lock.d.ts.map +1 -0
- package/dist/typescript/icons/Mic.d.ts +2 -1
- package/dist/typescript/icons/Mic.d.ts.map +1 -1
- package/dist/typescript/icons/MicOff.d.ts +2 -1
- package/dist/typescript/icons/MicOff.d.ts.map +1 -1
- package/dist/typescript/icons/Phone.d.ts +2 -1
- package/dist/typescript/icons/Phone.d.ts.map +1 -1
- package/dist/typescript/icons/PhoneDown.d.ts +2 -1
- package/dist/typescript/icons/PhoneDown.d.ts.map +1 -1
- package/dist/typescript/icons/PinVertical.d.ts +2 -1
- package/dist/typescript/icons/PinVertical.d.ts.map +1 -1
- package/dist/typescript/icons/ScreenShare.d.ts +2 -1
- package/dist/typescript/icons/ScreenShare.d.ts.map +1 -1
- package/dist/typescript/icons/StopScreenShare.d.ts +2 -1
- package/dist/typescript/icons/StopScreenShare.d.ts.map +1 -1
- package/dist/typescript/icons/Video.d.ts +2 -1
- package/dist/typescript/icons/Video.d.ts.map +1 -1
- package/dist/typescript/icons/VideoSlash.d.ts +2 -1
- package/dist/typescript/icons/VideoSlash.d.ts.map +1 -1
- package/dist/typescript/icons/index.d.ts +1 -2
- package/dist/typescript/icons/index.d.ts.map +1 -1
- package/dist/typescript/theme/colors.d.ts +5 -38
- package/dist/typescript/theme/colors.d.ts.map +1 -1
- package/dist/typescript/theme/constants.d.ts +44 -44
- package/dist/typescript/theme/constants.d.ts.map +1 -1
- package/dist/typescript/theme/index.d.ts +1 -2
- package/dist/typescript/theme/index.d.ts.map +1 -1
- package/dist/typescript/theme/theme.d.ts +23 -31
- package/dist/typescript/theme/theme.d.ts.map +1 -1
- package/dist/typescript/theme/types.d.ts +65 -18
- package/dist/typescript/theme/types.d.ts.map +1 -1
- package/dist/typescript/translations/index.d.ts +5 -1
- package/dist/typescript/translations/index.d.ts.map +1 -1
- package/dist/typescript/version.d.ts +1 -1
- package/package.json +3 -3
- package/src/components/Call/CallContent/CallContent.tsx +25 -33
- package/src/components/Call/CallControls/AcceptCallButton.tsx +7 -5
- package/src/components/Call/CallControls/CallControls.tsx +2 -2
- package/src/components/Call/CallControls/CallControlsButton.tsx +14 -20
- package/src/components/Call/CallControls/HangupCallButton.tsx +6 -11
- package/src/components/Call/CallControls/IncomingCallControls.tsx +5 -1
- package/src/components/Call/CallControls/LobbyControls.tsx +16 -8
- package/src/components/Call/CallControls/ReactionsButton.tsx +4 -2
- package/src/components/Call/CallControls/RejectCallButton.tsx +7 -5
- package/src/components/Call/CallControls/ScreenShareToggleButton.tsx +18 -7
- package/src/components/Call/CallControls/ToggleAudioPreviewButton.tsx +11 -13
- package/src/components/Call/CallControls/ToggleAudioPublishingButton.tsx +12 -8
- package/src/components/Call/CallControls/ToggleCameraFaceButton.tsx +23 -10
- package/src/components/Call/CallControls/ToggleVideoPreviewButton.tsx +11 -14
- package/src/components/Call/CallControls/ToggleVideoPublishingButton.tsx +15 -8
- package/src/components/Call/CallControls/index.tsx +0 -1
- package/src/components/Call/CallControls/internal/ReactionsPicker.tsx +34 -32
- package/src/components/Call/CallLayout/CallParticipantsGrid.tsx +2 -4
- package/src/components/Call/CallLayout/CallParticipantsSpotlight.tsx +29 -23
- package/src/components/Call/CallParticipantsList/CallParticipantsList.tsx +34 -15
- package/src/components/Call/Lobby/JoinCallButton.tsx +21 -15
- package/src/components/Call/Lobby/Lobby.tsx +74 -121
- package/src/components/Call/Lobby/LobbyFooter.tsx +63 -41
- package/src/components/Call/RingingCallContent/IncomingCall.tsx +4 -14
- package/src/components/Call/RingingCallContent/OutgoingCall.tsx +4 -14
- package/src/components/Call/RingingCallContent/RingingCallContent.tsx +3 -17
- package/src/components/Call/RingingCallContent/TextBasedIndicator.tsx +3 -3
- package/src/components/Call/RingingCallContent/UserInfo.tsx +1 -1
- package/src/components/Call/index.ts +0 -1
- package/src/components/Livestream/HostLivestream/HostLivestream.tsx +34 -23
- package/src/components/Livestream/LivestreamControls/HostLivestreamControls.tsx +1 -1
- package/src/components/Livestream/LivestreamControls/HostStartStreamButton.tsx +4 -4
- package/src/components/Livestream/LivestreamControls/LivestreamAudioControlButton.tsx +9 -7
- package/src/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.tsx +4 -4
- package/src/components/Livestream/LivestreamControls/LivestreamVideoControlButton.tsx +9 -7
- package/src/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.tsx +2 -4
- package/src/components/Livestream/LivestreamControls/ViewerLivestreamControls.tsx +1 -3
- package/src/components/Livestream/LivestreamLayout/LivestreamLayout.tsx +1 -1
- package/src/components/Livestream/LivestreamTopView/DurationBadge.tsx +2 -2
- package/src/components/Livestream/LivestreamTopView/FollowerCount.tsx +2 -2
- package/src/components/Livestream/LivestreamTopView/HostLivestreamTopView.tsx +1 -1
- package/src/components/Livestream/LivestreamTopView/LiveIndicator.tsx +2 -2
- package/src/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.tsx +1 -1
- package/src/components/Livestream/ViewerLivestream/ViewerLivestream.tsx +19 -6
- package/src/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.tsx +0 -1
- package/src/components/Participant/FloatingParticipantView/index.tsx +4 -6
- package/src/components/Participant/ParticipantView/ParticipantLabel.tsx +87 -87
- package/src/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.tsx +5 -5
- package/src/components/Participant/ParticipantView/ParticipantReaction.tsx +36 -26
- package/src/components/Participant/ParticipantView/ParticipantVideoFallback.tsx +2 -6
- package/src/components/Participant/ParticipantView/ParticipantView.tsx +33 -22
- package/src/components/Participant/ParticipantView/SpeechIndicator.tsx +103 -0
- package/src/components/utility/Avatar.tsx +2 -4
- package/src/components/utility/ScreenShareOverlay.tsx +5 -5
- package/src/constants/TestIds.ts +1 -1
- package/src/constants/index.ts +27 -5
- package/src/icons/CameraSwitch.tsx +4 -3
- package/src/icons/IconWrapper.tsx +15 -0
- package/src/icons/Lock.tsx +19 -0
- package/src/icons/Mic.tsx +4 -7
- package/src/icons/MicOff.tsx +4 -3
- package/src/icons/Phone.tsx +11 -3
- package/src/icons/PhoneDown.tsx +9 -3
- package/src/icons/PinVertical.tsx +3 -2
- package/src/icons/Reaction.tsx +1 -1
- package/src/icons/ScreenShare.tsx +9 -3
- package/src/icons/StopScreenShare.tsx +3 -2
- package/src/icons/Video.tsx +4 -3
- package/src/icons/VideoSlash.tsx +9 -3
- package/src/icons/index.tsx +1 -2
- package/src/theme/colors.ts +27 -42
- package/src/theme/constants.ts +51 -44
- package/src/theme/index.ts +1 -8
- package/src/theme/theme.ts +77 -40
- package/src/theme/types.ts +72 -21
- package/src/translations/en.json +7 -3
- package/src/version.ts +1 -1
- package/dist/commonjs/components/Call/CallControls/ChatButton.js +0 -84
- package/dist/commonjs/components/Call/CallControls/ChatButton.js.map +0 -1
- package/dist/commonjs/components/Call/CallTopView/CallTopView.js +0 -120
- package/dist/commonjs/components/Call/CallTopView/CallTopView.js.map +0 -1
- package/dist/commonjs/components/Call/CallTopView/ParticipantsInfoBadge.js +0 -105
- package/dist/commonjs/components/Call/CallTopView/ParticipantsInfoBadge.js.map +0 -1
- package/dist/commonjs/components/Call/CallTopView/index.js +0 -28
- package/dist/commonjs/components/Call/CallTopView/index.js.map +0 -1
- package/dist/commonjs/icons/Chat.js +0 -19
- package/dist/commonjs/icons/Chat.js.map +0 -1
- package/dist/commonjs/icons/Participants.js +0 -21
- package/dist/commonjs/icons/Participants.js.map +0 -1
- package/dist/module/components/Call/CallControls/ChatButton.js +0 -77
- package/dist/module/components/Call/CallControls/ChatButton.js.map +0 -1
- package/dist/module/components/Call/CallTopView/CallTopView.js +0 -111
- package/dist/module/components/Call/CallTopView/CallTopView.js.map +0 -1
- package/dist/module/components/Call/CallTopView/ParticipantsInfoBadge.js +0 -98
- package/dist/module/components/Call/CallTopView/ParticipantsInfoBadge.js.map +0 -1
- package/dist/module/components/Call/CallTopView/index.js +0 -3
- package/dist/module/components/Call/CallTopView/index.js.map +0 -1
- package/dist/module/icons/Chat.js +0 -11
- package/dist/module/icons/Chat.js.map +0 -1
- package/dist/module/icons/Participants.js +0 -13
- package/dist/module/icons/Participants.js.map +0 -1
- package/dist/typescript/components/Call/CallControls/ChatButton.d.ts +0 -22
- package/dist/typescript/components/Call/CallControls/ChatButton.d.ts.map +0 -1
- package/dist/typescript/components/Call/CallTopView/CallTopView.d.ts +0 -29
- package/dist/typescript/components/Call/CallTopView/CallTopView.d.ts.map +0 -1
- package/dist/typescript/components/Call/CallTopView/ParticipantsInfoBadge.d.ts +0 -12
- package/dist/typescript/components/Call/CallTopView/ParticipantsInfoBadge.d.ts.map +0 -1
- package/dist/typescript/components/Call/CallTopView/index.d.ts +0 -3
- package/dist/typescript/components/Call/CallTopView/index.d.ts.map +0 -1
- package/dist/typescript/icons/Chat.d.ts.map +0 -1
- package/dist/typescript/icons/Participants.d.ts +0 -8
- package/dist/typescript/icons/Participants.d.ts.map +0 -1
- package/src/components/Call/CallControls/ChatButton.tsx +0 -90
- package/src/components/Call/CallTopView/CallTopView.tsx +0 -162
- package/src/components/Call/CallTopView/ParticipantsInfoBadge.tsx +0 -119
- package/src/components/Call/CallTopView/index.ts +0 -2
- package/src/icons/Chat.tsx +0 -16
- package/src/icons/Participants.tsx +0 -18
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
|
-
import React from 'react';
|
|
2
|
+
import React, { useMemo } from 'react';
|
|
3
3
|
import { hasScreenShare, speakerLayoutSortPreset } from '@stream-io/video-client';
|
|
4
4
|
import { useCallStateHooks } from '@stream-io/video-react-bindings';
|
|
5
5
|
import { StyleSheet, View } from 'react-native';
|
|
@@ -33,10 +33,11 @@ export const CallParticipantsSpotlight = ({
|
|
|
33
33
|
}) => {
|
|
34
34
|
const {
|
|
35
35
|
theme: {
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
callParticipantsSpotlight,
|
|
37
|
+
variants
|
|
38
38
|
}
|
|
39
39
|
} = useTheme();
|
|
40
|
+
const styles = useStyles();
|
|
40
41
|
const {
|
|
41
42
|
useParticipants
|
|
42
43
|
} = useCallStateHooks();
|
|
@@ -63,14 +64,12 @@ export const CallParticipantsSpotlight = ({
|
|
|
63
64
|
flexDirection: landscape ? 'row' : 'column'
|
|
64
65
|
};
|
|
65
66
|
const spotlightContainerLandscapeStyles = {
|
|
66
|
-
marginHorizontal: landscape ? 0 :
|
|
67
|
+
marginHorizontal: landscape ? 0 : variants.spacingSizes.xs
|
|
67
68
|
};
|
|
68
69
|
const showShareScreenOverlay = participantInSpotlight?.isLocalParticipant && isScreenShareOnSpotlight && ScreenShareOverlay;
|
|
69
70
|
return /*#__PURE__*/React.createElement(View, {
|
|
70
71
|
testID: ComponentTestIds.CALL_PARTICIPANTS_SPOTLIGHT,
|
|
71
|
-
style: [styles.container, landscapeStyles,
|
|
72
|
-
backgroundColor: colors.dark_gray
|
|
73
|
-
}, callParticipantsSpotlight.container]
|
|
72
|
+
style: [styles.container, landscapeStyles, callParticipantsSpotlight.container]
|
|
74
73
|
}, participantInSpotlight && ParticipantView && (showShareScreenOverlay ? /*#__PURE__*/React.createElement(ScreenShareOverlay, null) : /*#__PURE__*/React.createElement(ParticipantView, _extends({
|
|
75
74
|
participant: participantInSpotlight,
|
|
76
75
|
style: isUserAloneInCall ? [styles.fullScreenSpotlightContainer, callParticipantsSpotlight.fullScreenSpotlightContainer] : [styles.spotlightContainer, spotlightContainerLandscapeStyles, callParticipantsSpotlight.spotlightContainer],
|
|
@@ -87,21 +86,27 @@ export const CallParticipantsSpotlight = ({
|
|
|
87
86
|
landscape: landscape
|
|
88
87
|
}, callParticipantsListProps))));
|
|
89
88
|
};
|
|
90
|
-
const
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
89
|
+
const useStyles = () => {
|
|
90
|
+
const {
|
|
91
|
+
theme
|
|
92
|
+
} = useTheme();
|
|
93
|
+
return useMemo(() => StyleSheet.create({
|
|
94
|
+
container: {
|
|
95
|
+
flex: 1,
|
|
96
|
+
backgroundColor: theme.colors.sheetPrimary
|
|
97
|
+
},
|
|
98
|
+
fullScreenSpotlightContainer: {
|
|
99
|
+
flex: 1
|
|
100
|
+
},
|
|
101
|
+
spotlightContainer: {
|
|
102
|
+
flex: 2,
|
|
103
|
+
overflow: 'hidden',
|
|
104
|
+
borderRadius: theme.variants.borderRadiusSizes.sm,
|
|
105
|
+
marginHorizontal: theme.variants.spacingSizes.sm
|
|
106
|
+
},
|
|
107
|
+
callParticipantsListContainer: {
|
|
108
|
+
flex: 1
|
|
109
|
+
}
|
|
110
|
+
}), [theme]);
|
|
111
|
+
};
|
|
107
112
|
//# sourceMappingURL=CallParticipantsSpotlight.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","hasScreenShare","speakerLayoutSortPreset","useCallStateHooks","StyleSheet","View","useDebouncedValue","ComponentTestIds","CallParticipantsList","DefaultCallParticipantsList","ParticipantView","DefaultParticipantView","useTheme","useIsInPiPMode","CallParticipantsSpotlight","ParticipantLabel","ParticipantNetworkQualityIndicator","ParticipantReaction","ParticipantVideoFallback","ScreenShareOverlay","VideoRenderer","supportedReactions","landscape","disablePictureInPicture","theme","
|
|
1
|
+
{"version":3,"names":["React","useMemo","hasScreenShare","speakerLayoutSortPreset","useCallStateHooks","StyleSheet","View","useDebouncedValue","ComponentTestIds","CallParticipantsList","DefaultCallParticipantsList","ParticipantView","DefaultParticipantView","useTheme","useIsInPiPMode","CallParticipantsSpotlight","ParticipantLabel","ParticipantNetworkQualityIndicator","ParticipantReaction","ParticipantVideoFallback","ScreenShareOverlay","VideoRenderer","supportedReactions","landscape","disablePictureInPicture","theme","callParticipantsSpotlight","variants","styles","useStyles","useParticipants","_allParticipants","sortBy","allParticipants","participantInSpotlight","otherParticipants","isScreenShareOnSpotlight","isUserAloneInCall","length","isInPiP","participantViewProps","callParticipantsListProps","landscapeStyles","flexDirection","spotlightContainerLandscapeStyles","marginHorizontal","spacingSizes","xs","showShareScreenOverlay","isLocalParticipant","createElement","testID","CALL_PARTICIPANTS_SPOTLIGHT","style","container","_extends","participant","fullScreenSpotlightContainer","spotlightContainer","objectFit","trackType","callParticipantsListContainer","participants","horizontal","numberOfColumns","create","flex","backgroundColor","colors","sheetPrimary","overflow","borderRadius","borderRadiusSizes","sm"],"sourceRoot":"../../../../../src","sources":["components/Call/CallLayout/CallParticipantsSpotlight.tsx"],"mappings":";AAAA,OAAO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ignoreList":[]}
|
|
@@ -6,6 +6,7 @@ import { useDebouncedValue } from '../../../utils/hooks/useDebouncedValue';
|
|
|
6
6
|
import { useCall } from '@stream-io/video-react-bindings';
|
|
7
7
|
import { ComponentTestIds } from '../../../constants/TestIds';
|
|
8
8
|
import { ParticipantView as DefaultParticipantView } from '../../Participant/ParticipantView';
|
|
9
|
+
import { useTheme } from '../../../contexts';
|
|
9
10
|
const VIEWABILITY_CONFIG = {
|
|
10
11
|
waitForInteraction: false,
|
|
11
12
|
itemVisiblePercentThreshold: 60
|
|
@@ -34,6 +35,7 @@ export const CallParticipantsList = ({
|
|
|
34
35
|
supportedReactions,
|
|
35
36
|
landscape
|
|
36
37
|
}) => {
|
|
38
|
+
const styles = useStyles();
|
|
37
39
|
const [containerLayout, setContainerLayout] = useState({
|
|
38
40
|
width: 0,
|
|
39
41
|
height: 0
|
|
@@ -115,12 +117,14 @@ export const CallParticipantsList = ({
|
|
|
115
117
|
containerWidth: containerLayout.width,
|
|
116
118
|
participantsLength: participants.length,
|
|
117
119
|
numberOfColumns,
|
|
118
|
-
horizontal
|
|
120
|
+
horizontal,
|
|
121
|
+
margin: styles.participant.margin
|
|
119
122
|
});
|
|
120
123
|
const itemContainerStyle = useMemo(() => {
|
|
121
124
|
const style = {
|
|
122
125
|
width: itemWidth,
|
|
123
|
-
height: itemHeight
|
|
126
|
+
height: itemHeight,
|
|
127
|
+
margin: styles.participant.margin
|
|
124
128
|
};
|
|
125
129
|
if (horizontal) {
|
|
126
130
|
return [styles.participantWrapperHorizontal, style];
|
|
@@ -129,7 +133,7 @@ export const CallParticipantsList = ({
|
|
|
129
133
|
return [styles.landScapeStyle, style];
|
|
130
134
|
}
|
|
131
135
|
return style;
|
|
132
|
-
}, [itemWidth, itemHeight, horizontal, landscape]);
|
|
136
|
+
}, [itemWidth, itemHeight, horizontal, landscape, styles]);
|
|
133
137
|
const participantProps = {
|
|
134
138
|
ParticipantLabel,
|
|
135
139
|
ParticipantNetworkQualityIndicator,
|
|
@@ -183,19 +187,27 @@ export const CallParticipantsList = ({
|
|
|
183
187
|
testID: ComponentTestIds.CALL_PARTICIPANTS_LIST
|
|
184
188
|
});
|
|
185
189
|
};
|
|
186
|
-
const
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
}
|
|
190
|
+
const useStyles = () => {
|
|
191
|
+
const {
|
|
192
|
+
theme
|
|
193
|
+
} = useTheme();
|
|
194
|
+
return useMemo(() => StyleSheet.create({
|
|
195
|
+
flexed: {
|
|
196
|
+
flex: 1
|
|
197
|
+
},
|
|
198
|
+
participantWrapperHorizontal: {
|
|
199
|
+
// note: if marginHorizontal is changed, be sure to change the width calculation in calculateParticipantViewSize function
|
|
200
|
+
marginHorizontal: theme.variants.spacingSizes.sm,
|
|
201
|
+
borderRadius: theme.variants.borderRadiusSizes.sm
|
|
202
|
+
},
|
|
203
|
+
landScapeStyle: {
|
|
204
|
+
borderRadius: theme.variants.borderRadiusSizes.sm
|
|
205
|
+
},
|
|
206
|
+
participant: {
|
|
207
|
+
margin: theme.variants.spacingSizes.xs
|
|
208
|
+
}
|
|
209
|
+
}), [theme]);
|
|
210
|
+
};
|
|
199
211
|
|
|
200
212
|
/**
|
|
201
213
|
* This function calculates the size of the participant view based on the size of the container (the phone's screen size) and the number of participants.
|
|
@@ -211,7 +223,8 @@ function calculateParticipantViewSize({
|
|
|
211
223
|
containerWidth,
|
|
212
224
|
participantsLength,
|
|
213
225
|
numberOfColumns,
|
|
214
|
-
horizontal
|
|
226
|
+
horizontal,
|
|
227
|
+
margin
|
|
215
228
|
}) {
|
|
216
229
|
let itemHeight = containerHeight;
|
|
217
230
|
// in vertical mode, we calculate the height of the participant view based on the containerHeight (aka the phone's screen height)
|
|
@@ -229,6 +242,8 @@ function calculateParticipantViewSize({
|
|
|
229
242
|
// in horizontal mode we apply margin of 8 to the participant view and that should be subtracted from the width
|
|
230
243
|
itemWidth = itemWidth - 8 * 2;
|
|
231
244
|
}
|
|
245
|
+
itemHeight = itemHeight - margin;
|
|
246
|
+
itemWidth = itemWidth - margin;
|
|
232
247
|
return {
|
|
233
248
|
itemHeight,
|
|
234
249
|
itemWidth
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useCallback","useMemo","useReducer","useRef","useState","FlatList","StyleSheet","VisibilityState","useDebouncedValue","useCall","ComponentTestIds","ParticipantView","DefaultParticipantView","VIEWABILITY_CONFIG","waitForInteraction","itemVisiblePercentThreshold","CallParticipantsList","numberOfColumns","horizontal","participants","ParticipantLabel","ParticipantNetworkQualityIndicator","ParticipantReaction","ParticipantVideoFallback","VideoRenderer","supportedReactions","landscape","containerLayout","setContainerLayout","width","height","viewableParticipantSessionIds","Set","_forceUpdateValue","forceUpdate","x","forceUpdateValue","activeCall","activeCallRef","current","onViewableItemsChanged","viewableItems","participantPatches","mustUpdate","newVisibleParticipantSessionIds","map","v","key","oldVisibleParticipantSessionIds","forEach","has","viewportVisibilityState","videoTrack","VISIBLE","screenShareTrack","UNKNOWN","state","updateParticipants","keyExtractor","item","sessionId","onLayout","event","nativeEvent","layout","prev","itemHeight","itemWidth","calculateParticipantViewSize","containerHeight","containerWidth","participantsLength","length","
|
|
1
|
+
{"version":3,"names":["React","useCallback","useMemo","useReducer","useRef","useState","FlatList","StyleSheet","VisibilityState","useDebouncedValue","useCall","ComponentTestIds","ParticipantView","DefaultParticipantView","useTheme","VIEWABILITY_CONFIG","waitForInteraction","itemVisiblePercentThreshold","CallParticipantsList","numberOfColumns","horizontal","participants","ParticipantLabel","ParticipantNetworkQualityIndicator","ParticipantReaction","ParticipantVideoFallback","VideoRenderer","supportedReactions","landscape","styles","useStyles","containerLayout","setContainerLayout","width","height","viewableParticipantSessionIds","Set","_forceUpdateValue","forceUpdate","x","forceUpdateValue","activeCall","activeCallRef","current","onViewableItemsChanged","viewableItems","participantPatches","mustUpdate","newVisibleParticipantSessionIds","map","v","key","oldVisibleParticipantSessionIds","forEach","has","viewportVisibilityState","videoTrack","VISIBLE","screenShareTrack","UNKNOWN","state","updateParticipants","keyExtractor","item","sessionId","onLayout","event","nativeEvent","layout","prev","itemHeight","itemWidth","calculateParticipantViewSize","containerHeight","containerWidth","participantsLength","length","margin","participant","itemContainerStyle","style","participantWrapperHorizontal","landScapeStyle","participantProps","renderItem","isVisible","createElement","Fragment","_extends","trackType","shouldWrapByColumns","index","flexed","undefined","data","viewabilityConfig","numColumns","showsHorizontalScrollIndicator","extraData","testID","CALL_PARTICIPANTS_LIST","theme","create","flex","marginHorizontal","variants","spacingSizes","sm","borderRadius","borderRadiusSizes","xs"],"sourceRoot":"../../../../../src","sources":["components/Call/CallParticipantsList/CallParticipantsList.tsx"],"mappings":";AAAA,OAAOA,KAAK,IACVC,WAAW,EACXC,OAAO,EACPC,UAAU,EACVC,MAAM,EACNC,QAAQ,QACH,OAAO;AACd,SAASC,QAAQ,EAAaC,UAAU,QAAmB,cAAc;AAEzE,SAGEC,eAAe,QACV,yBAAyB;AAChC,SAASC,iBAAiB,QAAQ,wCAAwC;AAC1E,SAASC,OAAO,QAAQ,iCAAiC;AACzD,SAASC,gBAAgB,QAAQ,4BAA4B;AAC7D,SACEC,eAAe,IAAIC,sBAAsB,QAGpC,mCAAmC;AAE1C,SAASC,QAAQ,QAAQ,mBAAmB;AAM5C,MAAMC,kBAAsD,GAAG;EAC7DC,kBAAkB,EAAE,KAAK;EACzBC,2BAA2B,EAAE;AAC/B,CAAC;;AAUD;AACA;AACA;;AAuBA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,oBAAoB,GAAGA,CAAC;EACnCC,eAAe,GAAG,CAAC;EACnBC,UAAU;EACVC,YAAY;EACZT,eAAe,GAAGC,sBAAsB;EACxCS,gBAAgB;EAChBC,kCAAkC;EAClCC,mBAAmB;EACnBC,wBAAwB;EACxBC,aAAa;EACbC,kBAAk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+
import React, { useMemo } from 'react';
|
|
2
2
|
import { Pressable, StyleSheet, Text } from 'react-native';
|
|
3
3
|
import { useCall, useI18n } from '@stream-io/video-react-bindings';
|
|
4
4
|
import { useTheme } from '../../../contexts/ThemeContext';
|
|
@@ -22,6 +22,7 @@ export const JoinCallButton = ({
|
|
|
22
22
|
joinCallButton
|
|
23
23
|
}
|
|
24
24
|
} = useTheme();
|
|
25
|
+
const styles = useStyles();
|
|
25
26
|
const {
|
|
26
27
|
t
|
|
27
28
|
} = useI18n();
|
|
@@ -45,23 +46,28 @@ export const JoinCallButton = ({
|
|
|
45
46
|
};
|
|
46
47
|
return /*#__PURE__*/React.createElement(Pressable, {
|
|
47
48
|
style: [styles.container, {
|
|
48
|
-
backgroundColor: colors.
|
|
49
|
+
backgroundColor: colors.buttonPrimary
|
|
49
50
|
}, joinCallButton.container],
|
|
50
51
|
onPress: onPress
|
|
51
52
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
52
53
|
style: [styles.label, {
|
|
53
|
-
color: colors.
|
|
54
|
+
color: colors.textPrimary
|
|
54
55
|
}, typefaces.subtitleBold, joinCallButton.label]
|
|
55
56
|
}, t('Join')));
|
|
56
57
|
};
|
|
57
|
-
const
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
58
|
+
const useStyles = () => {
|
|
59
|
+
const {
|
|
60
|
+
theme
|
|
61
|
+
} = useTheme();
|
|
62
|
+
return useMemo(() => StyleSheet.create({
|
|
63
|
+
container: {
|
|
64
|
+
borderRadius: theme.variants.borderRadiusSizes.lg,
|
|
65
|
+
marginTop: theme.variants.spacingSizes.md,
|
|
66
|
+
paddingVertical: theme.variants.spacingSizes.sm
|
|
67
|
+
},
|
|
68
|
+
label: {
|
|
69
|
+
textAlign: 'center'
|
|
70
|
+
}
|
|
71
|
+
}), [theme]);
|
|
72
|
+
};
|
|
67
73
|
//# sourceMappingURL=JoinCallButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Pressable","StyleSheet","Text","useCall","useI18n","useTheme","getLogger","JoinCallButton","onJoinCallHandler","onPressHandler","theme","colors","typefaces","joinCallButton","t","call","onPress","join","create","error","logger","createElement","style","
|
|
1
|
+
{"version":3,"names":["React","useMemo","Pressable","StyleSheet","Text","useCall","useI18n","useTheme","getLogger","JoinCallButton","onJoinCallHandler","onPressHandler","theme","colors","typefaces","joinCallButton","styles","useStyles","t","call","onPress","join","create","error","logger","createElement","style","container","backgroundColor","buttonPrimary","label","color","textPrimary","subtitleBold","borderRadius","variants","borderRadiusSizes","lg","marginTop","spacingSizes","md","paddingVertical","sm","textAlign"],"sourceRoot":"../../../../../src","sources":["components/Call/Lobby/JoinCallButton.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AAEtC,SAASC,SAAS,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC1D,SAASC,OAAO,EAAEC,OAAO,QAAQ,iCAAiC;AAClE,SAASC,QAAQ,QAAQ,gCAAgC;AACzD,SAASC,SAAS,QAAQ,yBAAyB;;AAEnD;AACA;AACA;;AAKA;AACA;AACA;AACA,OAAO,MAAMC,cAAc,GAAGA,CAAC;EAC7BC,iBAAiB;EACjBC;AACmB,CAAC,KAAK;EACzB,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC,SAAS;MAAEC;IAAe;EAC7C,CAAC,GAAGR,QAAQ,CAAC,CAAC;EACd,MAAMS,MAAM,GAAGC,SAAS,CAAC,CAAC;EAC1B,MAAM;IAAEC;EAAE,CAAC,GAAGZ,OAAO,CAAC,CAAC;EACvB,MAAMa,IAAI,GAAGd,OAAO,CAAC,CAAC;EAEtB,MAAMe,OAAO,GAAG,MAAAA,CAAA,KAAY;IAC1B,IAAIT,cAAc,EAAE;MAClBA,cAAc,CAAC,CAAC;MAChB;IACF;IACA,IAAI;M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R,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { useMemo } from 'react';
|
|
2
2
|
import { StyleSheet, Text, View } from 'react-native';
|
|
3
|
-
import { MicOff } from '../../../icons';
|
|
4
3
|
import { useCallStateHooks, useConnectedUser, useI18n } from '@stream-io/video-react-bindings';
|
|
5
4
|
import { Avatar } from '../../utility/Avatar';
|
|
6
|
-
import { LOBBY_VIDEO_VIEW_HEIGHT } from '../../../constants';
|
|
7
5
|
import { RTCView } from '@stream-io/react-native-webrtc';
|
|
8
6
|
import { LobbyControls as DefaultLobbyControls } from '../CallControls/LobbyControls';
|
|
9
7
|
import { JoinCallButton as DefaultJoinCallButton } from './JoinCallButton';
|
|
@@ -33,6 +31,7 @@ export const Lobby = ({
|
|
|
33
31
|
typefaces
|
|
34
32
|
}
|
|
35
33
|
} = useTheme();
|
|
34
|
+
const styles = useStyles(landscape);
|
|
36
35
|
const connectedUser = useConnectedUser();
|
|
37
36
|
const {
|
|
38
37
|
useCameraState,
|
|
@@ -55,26 +54,15 @@ export const Lobby = ({
|
|
|
55
54
|
image: connectedUser?.image,
|
|
56
55
|
name: connectedUser?.name
|
|
57
56
|
};
|
|
58
|
-
const landscapeStyles = {
|
|
59
|
-
flexDirection: landscape ? 'row' : 'column'
|
|
60
|
-
};
|
|
61
57
|
return /*#__PURE__*/React.createElement(View, {
|
|
62
|
-
style: [styles.container,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
},
|
|
66
|
-
style: [styles.
|
|
67
|
-
}, /*#__PURE__*/React.createElement(
|
|
68
|
-
style: [styles.heading, {
|
|
69
|
-
color: colors.static_white
|
|
70
|
-
}, typefaces.heading4, lobby.heading]
|
|
71
|
-
}, t('Before Joining')), /*#__PURE__*/React.createElement(Text, {
|
|
72
|
-
style: [styles.subHeading, {
|
|
73
|
-
color: colors.text_low_emphasis
|
|
74
|
-
}, typefaces.subtitle]
|
|
75
|
-
}, isVideoEnabledInCall ? t('Setup your audio and video') : t('Setup your audio')), isVideoEnabledInCall && /*#__PURE__*/React.createElement(View, {
|
|
58
|
+
style: [styles.container, lobby.container]
|
|
59
|
+
}, connectedUser && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text, {
|
|
60
|
+
style: [styles.heading, typefaces.heading5, lobby.heading]
|
|
61
|
+
}, t('Before joining')), /*#__PURE__*/React.createElement(Text, {
|
|
62
|
+
style: [styles.subHeading, lobby.subHeading]
|
|
63
|
+
}, t('Setup your audio and video')), isVideoEnabledInCall && /*#__PURE__*/React.createElement(View, {
|
|
76
64
|
style: [styles.videoContainer, {
|
|
77
|
-
backgroundColor: colors.
|
|
65
|
+
backgroundColor: colors.sheetTertiary
|
|
78
66
|
}, lobby.videoContainer]
|
|
79
67
|
}, /*#__PURE__*/React.createElement(View, {
|
|
80
68
|
style: styles.topView
|
|
@@ -87,96 +75,79 @@ export const Lobby = ({
|
|
|
87
75
|
style: [styles.avatarContainer, lobby.avatarContainer]
|
|
88
76
|
}, /*#__PURE__*/React.createElement(Avatar, {
|
|
89
77
|
participant: connectedUserAsParticipant
|
|
90
|
-
})), /*#__PURE__*/React.createElement(ParticipantStatus, null))), /*#__PURE__*/React.createElement(
|
|
91
|
-
style: [styles.bottomContainer, lobby.bottomContainer]
|
|
92
|
-
}, LobbyControls && /*#__PURE__*/React.createElement(LobbyControls, null), LobbyFooter && /*#__PURE__*/React.createElement(LobbyFooter, {
|
|
78
|
+
})), /*#__PURE__*/React.createElement(ParticipantStatus, null))), LobbyControls && /*#__PURE__*/React.createElement(LobbyControls, null), LobbyFooter && /*#__PURE__*/React.createElement(LobbyFooter, {
|
|
93
79
|
JoinCallButton: JoinCallButton,
|
|
94
80
|
onJoinCallHandler: onJoinCallHandler
|
|
95
|
-
}))
|
|
81
|
+
}));
|
|
96
82
|
};
|
|
97
83
|
const ParticipantStatus = () => {
|
|
98
84
|
const {
|
|
99
85
|
theme: {
|
|
100
86
|
colors,
|
|
101
87
|
typefaces,
|
|
102
|
-
lobby
|
|
103
|
-
variants: {
|
|
104
|
-
iconSizes
|
|
105
|
-
}
|
|
88
|
+
lobby
|
|
106
89
|
}
|
|
107
90
|
} = useTheme();
|
|
91
|
+
const styles = useStyles();
|
|
108
92
|
const connectedUser = useConnectedUser();
|
|
109
|
-
const {
|
|
110
|
-
useMicrophoneState
|
|
111
|
-
} = useCallStateHooks();
|
|
112
93
|
const participantLabel = connectedUser?.name ?? connectedUser?.id;
|
|
113
|
-
const {
|
|
114
|
-
status: micStatus
|
|
115
|
-
} = useMicrophoneState();
|
|
116
94
|
return /*#__PURE__*/React.createElement(View, {
|
|
117
95
|
style: [styles.participantStatusContainer, {
|
|
118
|
-
backgroundColor: colors.
|
|
96
|
+
backgroundColor: colors.sheetOverlay
|
|
119
97
|
}, lobby.participantStatusContainer]
|
|
120
98
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
121
99
|
style: [styles.userNameLabel, {
|
|
122
|
-
color: colors.
|
|
100
|
+
color: colors.textPrimary
|
|
123
101
|
}, typefaces.caption, lobby.userNameLabel],
|
|
124
102
|
numberOfLines: 1
|
|
125
|
-
}, participantLabel)
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
|
|
103
|
+
}, participantLabel));
|
|
104
|
+
};
|
|
105
|
+
const useStyles = (landscape = false) => {
|
|
106
|
+
const {
|
|
107
|
+
theme
|
|
108
|
+
} = useTheme();
|
|
109
|
+
return useMemo(() => StyleSheet.create({
|
|
110
|
+
heading: {
|
|
111
|
+
textAlign: 'center',
|
|
112
|
+
color: theme.colors.textPrimary,
|
|
113
|
+
paddingBottom: theme.variants.spacingSizes.xs
|
|
114
|
+
},
|
|
115
|
+
subHeading: {
|
|
116
|
+
textAlign: 'center',
|
|
117
|
+
paddingBottom: theme.variants.spacingSizes.md,
|
|
118
|
+
color: theme.colors.textSecondary
|
|
119
|
+
},
|
|
120
|
+
container: {
|
|
121
|
+
flex: 1,
|
|
122
|
+
justifyContent: 'center',
|
|
123
|
+
backgroundColor: theme.colors.sheetPrimary,
|
|
124
|
+
paddingRight: theme.variants.insets.right + theme.variants.spacingSizes.sm,
|
|
125
|
+
paddingLeft: theme.variants.insets.left + theme.variants.spacingSizes.sm,
|
|
126
|
+
paddingTop: theme.variants.insets.top,
|
|
127
|
+
paddingBottom: theme.variants.insets.bottom
|
|
128
|
+
},
|
|
129
|
+
videoContainer: {
|
|
130
|
+
height: landscape ? '40%' : '50%',
|
|
131
|
+
borderRadius: theme.variants.borderRadiusSizes.md,
|
|
132
|
+
justifyContent: 'space-between',
|
|
133
|
+
alignItems: 'center',
|
|
134
|
+
overflow: 'hidden'
|
|
135
|
+
},
|
|
136
|
+
topView: {},
|
|
137
|
+
participantStatusContainer: {
|
|
138
|
+
alignSelf: 'flex-start',
|
|
139
|
+
flexDirection: 'row',
|
|
140
|
+
alignItems: 'center',
|
|
141
|
+
padding: theme.variants.spacingSizes.sm,
|
|
142
|
+
borderTopRightRadius: theme.variants.borderRadiusSizes.sm
|
|
143
|
+
},
|
|
144
|
+
avatarContainer: {
|
|
145
|
+
flex: 2,
|
|
146
|
+
justifyContent: 'center'
|
|
147
|
+
},
|
|
148
|
+
userNameLabel: {
|
|
149
|
+
flexShrink: 1
|
|
150
|
+
}
|
|
151
|
+
}), [theme, landscape]);
|
|
133
152
|
};
|
|
134
|
-
const styles = StyleSheet.create({
|
|
135
|
-
container: {
|
|
136
|
-
flex: 1,
|
|
137
|
-
justifyContent: 'space-evenly'
|
|
138
|
-
},
|
|
139
|
-
topContainer: {
|
|
140
|
-
flex: 2,
|
|
141
|
-
justifyContent: 'space-evenly',
|
|
142
|
-
paddingHorizontal: 12
|
|
143
|
-
},
|
|
144
|
-
heading: {
|
|
145
|
-
textAlign: 'center'
|
|
146
|
-
},
|
|
147
|
-
subHeading: {
|
|
148
|
-
textAlign: 'center'
|
|
149
|
-
},
|
|
150
|
-
videoContainer: {
|
|
151
|
-
height: LOBBY_VIDEO_VIEW_HEIGHT,
|
|
152
|
-
borderRadius: 20,
|
|
153
|
-
justifyContent: 'space-between',
|
|
154
|
-
alignItems: 'center',
|
|
155
|
-
overflow: 'hidden',
|
|
156
|
-
padding: 8
|
|
157
|
-
},
|
|
158
|
-
topView: {},
|
|
159
|
-
bottomContainer: {
|
|
160
|
-
flex: 2,
|
|
161
|
-
justifyContent: 'space-evenly',
|
|
162
|
-
paddingHorizontal: 12
|
|
163
|
-
},
|
|
164
|
-
participantStatusContainer: {
|
|
165
|
-
alignSelf: 'flex-start',
|
|
166
|
-
flexDirection: 'row',
|
|
167
|
-
alignItems: 'center',
|
|
168
|
-
padding: 8,
|
|
169
|
-
borderRadius: 5
|
|
170
|
-
},
|
|
171
|
-
avatarContainer: {
|
|
172
|
-
flex: 2,
|
|
173
|
-
justifyContent: 'center'
|
|
174
|
-
},
|
|
175
|
-
userNameLabel: {
|
|
176
|
-
flexShrink: 1
|
|
177
|
-
},
|
|
178
|
-
audioMutedIconContainer: {
|
|
179
|
-
marginLeft: 8
|
|
180
|
-
}
|
|
181
|
-
});
|
|
182
153
|
//# sourceMappingURL=Lobby.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","Text","View","
|
|
1
|
+
{"version":3,"names":["React","useMemo","StyleSheet","Text","View","useCallStateHooks","useConnectedUser","useI18n","Avatar","RTCView","LobbyControls","DefaultLobbyControls","JoinCallButton","DefaultJoinCallButton","useTheme","useCallMediaStreamCleanup","LobbyFooter","DefaultLobbyFooter","useApplyDefaultMediaStreamSettings","Lobby","onJoinCallHandler","landscape","theme","colors","lobby","typefaces","styles","useStyles","connectedUser","useCameraState","useCallSettings","callSettings","isVideoEnabledInCall","video","enabled","isMute","cameraIsMuted","mediaStream","t","localVideoStream","connectedUserAsParticipant","userId","id","image","name","createElement","style","container","Fragment","heading","heading5","subHeading","videoContainer","backgroundColor","sheetTertiary","topView","mirror","streamURL","toURL","objectFit","absoluteFillObject","avatarContainer","participant","ParticipantStatus","participantLabel","participantStatusContainer","sheetOverlay","userNameLabel","color","textPrimary","caption","numberOfLines","create","textAlign","paddingBottom","variants","spacingSizes","xs","md","textSecondary","flex","justifyContent","sheetPrimary","paddingRight","insets","right","sm","paddingLeft","left","paddingTop","top","bottom","height","borderRadius","borderRadiusSizes","alignItems","overflow","alignSelf","flexDirection","padding","borderTopRightRadius","flexShrink"],"sourceRoot":"../../../../../src","sources":["components/Call/Lobby/Lobby.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAmBC,OAAO,QAAQ,OAAO;AACrD,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACrD,SACEC,iBAAiB,EACjBC,gBAAgB,EAChBC,OAAO,QACF,iCAAiC;AACxC,SAASC,MAAM,QAAQ,sBAAsB;AAE7C,SAASC,OAAO,QAAQ,gCAAgC;AACxD,SAASC,aAAa,IAAIC,oBAAoB,QAAQ,+BAA+B;AACrF,SACEC,cAAc,IAAIC,qBAAqB,QAElC,kBAAkB;AACzB,SAASC,QAAQ,QAAQ,gCAAgC;AACzD,SAASC,yBAAyB,QAAQ,mDAAmD;AAE7F,SACEC,WAAW,IAAIC,kBAAkB,QAE5B,eAAe;AACtB,SAASC,kCAAkC,QAAQ,mDAAmD;;AAEtG;AACA;AACA;;AAyBA;AACA;AACA;AACA,OAAO,MAAMC,KAAK,GAAGA,CAAC;EACpBC,iBAAiB;EACjBV,aAAa,GAAGC,oBAAoB;EACpCC,cAAc,GAAGC,qBAAqB;EACtCQ,SAAS,GAAG,KAAK;EACjBL,WAAW,GAAGC;AACJ,CAAC,KAAK;EAChB,MAAM;IACJK,KAAK,EAAE;MAAEC,MAAM;MAAEC,KAAK;MAAEC;IAAU;EACpC,CAAC,GAAGX,QAAQ,CAAC,CAAC;EACd,MAAMY,MAAM,GAAGC,SAAS,CAACN,SAAS,CAAC;EACnC,MAAMO,aAAa,GAAGtB,gB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