@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 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_videoReactBindings","_Avatar","_reactNativeWebrtc","_LobbyControls","_JoinCallButton","_ThemeContext","_useCallMediaStreamCleanup","_LobbyFooter","_useApplyDefaultMediaStreamSettings","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","Lobby","onJoinCallHandler","LobbyControls","DefaultLobbyControls","JoinCallButton","DefaultJoinCallButton","landscape","LobbyFooter","DefaultLobbyFooter","theme","colors","lobby","typefaces","useTheme","styles","useStyles","connectedUser","useConnectedUser","useCameraState","useCallSettings","useCallStateHooks","callSettings","isVideoEnabledInCall","video","enabled","isMute","cameraIsMuted","mediaStream","useI18n","localVideoStream","useApplyDefaultMediaStreamSettings","useCallMediaStreamCleanup","connectedUserAsParticipant","userId","id","image","name","createElement","View","style","container","Fragment","Text","heading","heading5","subHeading","videoContainer","backgroundColor","sheetTertiary","topView","RTCView","mirror","streamURL","toURL","objectFit","StyleSheet","absoluteFillObject","avatarContainer","Avatar","participant","ParticipantStatus","exports","participantLabel","participantStatusContainer","sheetOverlay","userNameLabel","color","textPrimary","caption","numberOfLines","useMemo","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"],"sour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ACC,YAAY,CAACU,EAAE;MAC7DG,UAAU,EAAE/E,KAAK,CAACiE,QAAQ,CAACS,MAAM,CAACM,GAAG;MACrChB,aAAa,EAAEhE,KAAK,CAACiE,QAAQ,CAACS,MAAM,CAACO;IACvC,CAAC;IACD5C,cAAc,EAAE;MACd6C,MAAM,EAAErF,SAAS,GAAG,KAAK,GAAG,KAAK;MACjCsF,YAAY,EAAEnF,KAAK,CAACiE,QAAQ,CAACmB,iBAAiB,CAAChB,EAAE;MACjDG,cAAc,EAAE,eAAe;MAC/Bc,UAAU,EAAE,QAAQ;MACpBC,QAAQ,EAAE;IACZ,CAAC;IACD9C,OAAO,EAAE,CAAC,CAAC;IACXc,0BAA0B,EAAE;MAC1BiC,SAAS,EAAE,YAAY;MACvBC,aAAa,EAAE,KAAK;MACpBH,UAAU,EAAE,QAAQ;MACpBI,OAAO,EAAEzF,KAAK,CAACiE,QAAQ,CAACC,YAAY,CAACU,EAAE;MACvCc,oBAAoB,EAAE1F,KAAK,CAACiE,QAAQ,CAACmB,iBAAiB,CAACR;IACzD,CAAC;IACD5B,eAAe,EAAE;MACfsB,IAAI,EAAE,CAAC;MACPC,cAAc,EAAE;IAClB,CAAC;IACDf,aAAa,EAAE;MACbmC,UAAU,EAAE;IACd;EACF,CAAC,CAAC,EACJ,CAAC3F,KAAK,EAAEH,SAAS,CACnB,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -4,11 +4,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.LobbyFooter = void 0;
|
|
7
|
-
var _react =
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
|
-
var _videoReactBindings = require("@stream-io/video-react-bindings");
|
|
10
9
|
var _ThemeContext = require("../../../contexts/ThemeContext");
|
|
11
|
-
|
|
10
|
+
var _videoReactBindings = require("@stream-io/video-react-bindings");
|
|
11
|
+
var _Lock = require("../../../icons/Lock");
|
|
12
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
13
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
12
14
|
/**
|
|
13
15
|
* Props for the Lobby Footer in the Lobby component.
|
|
14
16
|
*/
|
|
@@ -24,39 +26,74 @@ const LobbyFooter = ({
|
|
|
24
26
|
theme: {
|
|
25
27
|
colors,
|
|
26
28
|
lobby,
|
|
27
|
-
|
|
29
|
+
variants
|
|
28
30
|
}
|
|
29
31
|
} = (0, _ThemeContext.useTheme)();
|
|
32
|
+
const styles = useStyles();
|
|
30
33
|
const {
|
|
31
34
|
useCallSession
|
|
32
35
|
} = (0, _videoReactBindings.useCallStateHooks)();
|
|
33
36
|
const {
|
|
34
37
|
t
|
|
35
38
|
} = (0, _videoReactBindings.useI18n)();
|
|
36
|
-
const call = (0, _videoReactBindings.useCall)();
|
|
37
39
|
const session = useCallSession();
|
|
38
|
-
const
|
|
40
|
+
const numberOfParticipants = session?.participants.length;
|
|
41
|
+
const participantsText = (0, _react.useMemo)(() => {
|
|
42
|
+
if (!numberOfParticipants) {
|
|
43
|
+
return t('Currently there are no other participants in the call.');
|
|
44
|
+
}
|
|
45
|
+
if (numberOfParticipants === 1) {
|
|
46
|
+
return t('There is {{numberOfParticipants}} more person in the call.', {
|
|
47
|
+
numberOfParticipants
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
return t('There are {{numberOfParticipants}} more people in the call.', {
|
|
51
|
+
numberOfParticipants
|
|
52
|
+
});
|
|
53
|
+
}, [numberOfParticipants, t]);
|
|
39
54
|
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
40
|
-
style: [styles.
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.
|
|
55
|
+
style: [styles.mainContainer, lobby.infoContainer]
|
|
56
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
57
|
+
style: styles.textContainer
|
|
58
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
59
|
+
style: styles.iconContainer
|
|
60
|
+
}, /*#__PURE__*/_react.default.createElement(_Lock.Lock, {
|
|
61
|
+
color: colors.iconPrimary,
|
|
62
|
+
size: variants.iconSizes.md
|
|
63
|
+
})), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
44
64
|
style: [{
|
|
45
|
-
color: colors.
|
|
46
|
-
},
|
|
47
|
-
}, t('You are about to join a call
|
|
48
|
-
callId: call?.id
|
|
49
|
-
}) + ' ' + (participantsCount ? t('{{ numberOfParticipants }} participant(s) are in the call.', {
|
|
50
|
-
numberOfParticipants: participantsCount
|
|
51
|
-
}) : t('You are first to join the call.'))), JoinCallButton && /*#__PURE__*/_react.default.createElement(JoinCallButton, {
|
|
65
|
+
color: colors.textPrimary
|
|
66
|
+
}, styles.infoText, lobby.infoText]
|
|
67
|
+
}, t('You are about to join a call.') + ' ' + participantsText)), JoinCallButton && /*#__PURE__*/_react.default.createElement(JoinCallButton, {
|
|
52
68
|
onJoinCallHandler: onJoinCallHandler
|
|
53
69
|
}));
|
|
54
70
|
};
|
|
55
71
|
exports.LobbyFooter = LobbyFooter;
|
|
56
|
-
const
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
72
|
+
const useStyles = () => {
|
|
73
|
+
const {
|
|
74
|
+
theme
|
|
75
|
+
} = (0, _ThemeContext.useTheme)();
|
|
76
|
+
return (0, _react.useMemo)(() => _reactNative.StyleSheet.create({
|
|
77
|
+
mainContainer: {
|
|
78
|
+
padding: theme.variants.spacingSizes.sm
|
|
79
|
+
},
|
|
80
|
+
textContainer: {
|
|
81
|
+
flexDirection: 'row',
|
|
82
|
+
alignItems: 'center',
|
|
83
|
+
justifyContent: 'center',
|
|
84
|
+
backgroundColor: theme.colors.sheetTertiary,
|
|
85
|
+
paddingHorizontal: theme.variants.spacingSizes.md,
|
|
86
|
+
paddingVertical: theme.variants.spacingSizes.xs,
|
|
87
|
+
borderRadius: theme.variants.borderRadiusSizes.sm
|
|
88
|
+
},
|
|
89
|
+
iconContainer: {
|
|
90
|
+
marginRight: theme.variants.spacingSizes.sm
|
|
91
|
+
},
|
|
92
|
+
infoText: {
|
|
93
|
+
fontSize: theme.variants.fontSizes.sm,
|
|
94
|
+
lineHeight: 20,
|
|
95
|
+
fontWeight: '400'
|
|
96
|
+
}
|
|
97
|
+
}), [theme]);
|
|
98
|
+
};
|
|
62
99
|
//# sourceMappingURL=LobbyFooter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_ThemeContext","_videoReactBindings","_Lock","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","LobbyFooter","onJoinCallHandler","JoinCallButton","theme","colors","lobby","variants","useTheme","styles","useStyles","useCallSession","useCallStateHooks","useI18n","session","numberOfParticipants","participants","length","participantsText","useMemo","createElement","View","style","mainContainer","infoContainer","textContainer","iconContainer","Lock","color","iconPrimary","size","iconSizes","md","Text","textPrimary","infoText","exports","StyleSheet","create","padding","spacingSizes","sm","flexDirection","alignItems","justifyContent","backgroundColor","sheetTertiary","paddingHorizontal","paddingVertical","xs","borderRadius","borderRad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iC,YAAY,CAACR,EAAE;MACjDgB,eAAe,EAAE5C,KAAK,CAACG,QAAQ,CAACiC,YAAY,CAACS,EAAE;MAC/CC,YAAY,EAAE9C,KAAK,CAACG,QAAQ,CAAC4C,iBAAiB,CAACV;IACjD,CAAC;IACDf,aAAa,EAAE;MACb0B,WAAW,EAAEhD,KAAK,CAACG,QAAQ,CAACiC,YAAY,CAACC;IAC3C,CAAC;IACDN,QAAQ,EAAE;MACRkB,QAAQ,EAAEjD,KAAK,CAACG,QAAQ,CAAC+C,SAAS,CAACb,EAAE;MACrCc,UAAU,EAAE,EAAE;MACdC,UAAU,EAAE;IACd;EACF,CAAC,CAAC,EACJ,CAACpD,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -8,7 +8,6 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
9
|
var _videoReactBindings = require("@stream-io/video-react-bindings");
|
|
10
10
|
var _UserInfo = require("./UserInfo");
|
|
11
|
-
var _CallTopView = require("../CallTopView");
|
|
12
11
|
var _CallControls = require("../CallControls");
|
|
13
12
|
var _contexts = require("../../../contexts");
|
|
14
13
|
var _useApplyDefaultMediaStreamSettings = require("../../../hooks/useApplyDefaultMediaStreamSettings");
|
|
@@ -24,7 +23,6 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
24
23
|
const IncomingCall = ({
|
|
25
24
|
onAcceptCallHandler,
|
|
26
25
|
onRejectCallHandler,
|
|
27
|
-
CallTopView = _CallTopView.CallTopView,
|
|
28
26
|
IncomingCallControls = _CallControls.IncomingCallControls,
|
|
29
27
|
landscape
|
|
30
28
|
}) => {
|
|
@@ -42,13 +40,13 @@ const IncomingCall = ({
|
|
|
42
40
|
const landscapeContentStyles = {
|
|
43
41
|
flexDirection: landscape ? 'row' : 'column'
|
|
44
42
|
};
|
|
45
|
-
return /*#__PURE__*/_react.default.createElement(Background, null,
|
|
43
|
+
return /*#__PURE__*/_react.default.createElement(Background, null, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
46
44
|
style: [styles.content, landscapeContentStyles, incomingCall.content]
|
|
47
45
|
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
48
46
|
style: [styles.topContainer, incomingCall.topContainer]
|
|
49
47
|
}, /*#__PURE__*/_react.default.createElement(_UserInfo.UserInfo, null), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
50
48
|
style: [styles.incomingCallText, {
|
|
51
|
-
color: colors.
|
|
49
|
+
color: colors.textPrimary
|
|
52
50
|
}, typefaces.heading6, incomingCall.incomingCallText]
|
|
53
51
|
}, t('Incoming Call...'))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
54
52
|
style: [styles.bottomContainer, incomingCall.bottomContainer]
|
|
@@ -88,13 +86,13 @@ const Background = ({
|
|
|
88
86
|
uri: avatarsToShow[0]
|
|
89
87
|
},
|
|
90
88
|
style: [styles.background, {
|
|
91
|
-
backgroundColor: colors.
|
|
89
|
+
backgroundColor: colors.sheetTertiary
|
|
92
90
|
}, incomingCall.background]
|
|
93
91
|
}, children);
|
|
94
92
|
}
|
|
95
93
|
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
96
94
|
style: [styles.background, {
|
|
97
|
-
backgroundColor: colors.
|
|
95
|
+
backgroundColor: colors.sheetTertiary
|
|
98
96
|
}, incomingCall.background]
|
|
99
97
|
}, children);
|
|
100
98
|
};
|
|
@@ -106,7 +104,8 @@ const styles = exports.styles = _reactNative.StyleSheet.create({
|
|
|
106
104
|
flex: 1
|
|
107
105
|
},
|
|
108
106
|
topContainer: {
|
|
109
|
-
flex: 1
|
|
107
|
+
flex: 1,
|
|
108
|
+
justifyContent: 'center'
|
|
110
109
|
},
|
|
111
110
|
incomingCallText: {
|
|
112
111
|
marginTop: 8,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_videoReactBindings","_UserInfo","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_videoReactBindings","_UserInfo","_CallControls","_contexts","_useApplyDefaultMediaStreamSettings","e","__esModule","default","IncomingCall","onAcceptCallHandler","onRejectCallHandler","IncomingCallControls","DefaultIncomingCallControls","landscape","t","useI18n","theme","colors","incomingCall","typefaces","useTheme","useApplyDefaultMediaStreamSettings","landscapeContentStyles","flexDirection","createElement","Background","View","style","styles","content","topContainer","UserInfo","Text","incomingCallText","color","textPrimary","heading6","bottomContainer","incomingCallControls","exports","children","connectedUser","useConnectedUser","useCallMembers","useCallStateHooks","members","avatarsToShow","filter","user","id","map","image","length","ImageBackground","blurRadius","source","uri","background","backgroundColor","sheetTertiary","StyleSheet","create","flex","justifyContent","marginTop","textAlign"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/IncomingCall.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAOA,IAAAE,mBAAA,GAAAF,OAAA;AAKA,IAAAG,SAAA,GAAAH,OAAA;AACA,IAAAI,aAAA,GAAAJ,OAAA;AAIA,IAAAK,SAAA,GAAAL,OAAA;AACA,IAAAM,mCAAA,GAAAN,OAAA;AAAuG,SAAAD,uBAAAQ,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEvG;AACA;AACA;;AAaA;AACA;AACA;AACA;AACO,MAAMG,YAAY,GAAGA,CAAC;EAC3BC,mBAAmB;EACnBC,mBAAmB;EACnBC,oBAAoB,GAAGC,kCAA2B;EAClDC;AACiB,CAAC,KAAK;EACvB,MAAM;IAAEC;EAAE,CAAC,GAAG,IAAAC,2BAAO,EAAC,CAAC;EACvB,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC,YAAY;MAAEC;IAAU;EAC3C,CAAC,GAAG,IAAAC,kBAAQ,EA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MAAM,CAAC6B,UAAU,EACjB;MAAEC,eAAe,EAAEzC,MAAM,CAAC0C;IAAc,CAAC,EACzCzC,YAAY,CAACuC,UAAU;EACvB,GAEDjB,QACG,CAAC;AAEX,CAAC;AAEM,MAAMZ,MAAM,GAAAW,OAAA,CAAAX,MAAA,GAAGgC,uBAAU,CAACC,MAAM,CAAC;EACtCJ,UAAU,EAAE;IACVK,IAAI,EAAE;EACR,CAAC;EACDjC,OAAO,EAAE;IACPiC,IAAI,EAAE;EACR,CAAC;EACDhC,YAAY,EAAE;IAAEgC,IAAI,EAAE,CAAC;IAAEC,cAAc,EAAE;EAAS,CAAC;EACnD9B,gBAAgB,EAAE;IAChB+B,SAAS,EAAE,CAAC;IACZC,SAAS,EAAE;EACb,CAAC;EACD5B,eAAe,EAAE;IAAEyB,IAAI,EAAE,CAAC;IAAEC,cAAc,EAAE;EAAS,CAAC;EACtDzB,oBAAoB,EAAE;IACpByB,cAAc,EAAE;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -12,7 +12,6 @@ var _videoReactBindings = require("@stream-io/video-react-bindings");
|
|
|
12
12
|
var _reactNativeWebrtc = require("@stream-io/react-native-webrtc");
|
|
13
13
|
var _ThemeContext = require("../../../contexts/ThemeContext");
|
|
14
14
|
var _CallControls = require("../CallControls");
|
|
15
|
-
var _CallTopView = require("../CallTopView");
|
|
16
15
|
var _useCallMediaStreamCleanup = require("../../../hooks/internal/useCallMediaStreamCleanup");
|
|
17
16
|
var _useApplyDefaultMediaStreamSettings = require("../../../hooks/useApplyDefaultMediaStreamSettings");
|
|
18
17
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -25,7 +24,6 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
25
24
|
* Used after the user has initiated a call.
|
|
26
25
|
*/
|
|
27
26
|
const OutgoingCall = ({
|
|
28
|
-
CallTopView = _CallTopView.CallTopView,
|
|
29
27
|
OutgoingCallControls = _CallControls.OutgoingCallControls,
|
|
30
28
|
landscape
|
|
31
29
|
}) => {
|
|
@@ -46,13 +44,13 @@ const OutgoingCall = ({
|
|
|
46
44
|
};
|
|
47
45
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
48
46
|
style: [_reactNative.StyleSheet.absoluteFill, styles.container, outgoingCall.container]
|
|
49
|
-
},
|
|
47
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
50
48
|
style: [styles.content, landscapeContentStyles, outgoingCall.content]
|
|
51
49
|
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
52
50
|
style: [styles.topContainer, outgoingCall.topContainer]
|
|
53
51
|
}, /*#__PURE__*/_react.default.createElement(_UserInfo.UserInfo, null), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
54
52
|
style: [styles.callingText, {
|
|
55
|
-
color: colors.
|
|
53
|
+
color: colors.textPrimary
|
|
56
54
|
}, typefaces.heading6, outgoingCall.callingText]
|
|
57
55
|
}, t('Calling...'))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
58
56
|
style: [styles.bottomContainer, outgoingCall.bottomContainer]
|
|
@@ -79,13 +77,13 @@ const Background = () => {
|
|
|
79
77
|
if (isMute || !localVideoStream) {
|
|
80
78
|
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
81
79
|
style: [styles.background, {
|
|
82
|
-
backgroundColor: colors.
|
|
80
|
+
backgroundColor: colors.sheetSecondary
|
|
83
81
|
}, outgoingCall.background]
|
|
84
82
|
});
|
|
85
83
|
}
|
|
86
84
|
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
87
85
|
style: [styles.background, {
|
|
88
|
-
backgroundColor: colors.
|
|
86
|
+
backgroundColor: colors.sheetSecondary
|
|
89
87
|
}, outgoingCall.background]
|
|
90
88
|
}, /*#__PURE__*/_react.default.createElement(_reactNativeWebrtc.RTCView, {
|
|
91
89
|
streamURL: localVideoStream.toURL(),
|
|
@@ -103,7 +101,8 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
103
101
|
zIndex: _constants.Z_INDEX.IN_MIDDLE
|
|
104
102
|
},
|
|
105
103
|
topContainer: {
|
|
106
|
-
flex: 1
|
|
104
|
+
flex: 1,
|
|
105
|
+
justifyContent: 'center'
|
|
107
106
|
},
|
|
108
107
|
content: {
|
|
109
108
|
flex: 1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_UserInfo","_constants","_videoReactBindings","_reactNativeWebrtc","_ThemeContext","_CallControls","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_UserInfo","_constants","_videoReactBindings","_reactNativeWebrtc","_ThemeContext","_CallControls","_useCallMediaStreamCleanup","_useApplyDefaultMediaStreamSettings","e","__esModule","default","OutgoingCall","OutgoingCallControls","DefaultOutgoingCallControls","landscape","theme","colors","typefaces","outgoingCall","useTheme","t","useI18n","useApplyDefaultMediaStreamSettings","useCallMediaStreamCleanup","landscapeContentStyles","flexDirection","createElement","Fragment","View","style","StyleSheet","absoluteFill","styles","container","content","topContainer","UserInfo","Text","callingText","color","textPrimary","heading6","bottomContainer","outgoingCallControls","Background","exports","useCameraState","useCallStateHooks","isMute","camera","localVideoStream","state","mediaStream","background","backgroundColor","sheetSecondary","RTCView","streamURL","toURL","zOrder","Z_INDEX","IN_BACK","mirror","objectFit","create","flex","zIndex","IN_MIDDLE","justifyContent","marginTop","textAlign","alignSelf"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/OutgoingCall.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AACA,IAAAI,mBAAA,GAAAJ,OAAA;AACA,IAAAK,kBAAA,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AE,QAAQ;IAAEH,cAAc,EAAE;EAAS,CAAC;EAC3EzB,oBAAoB,EAAE;IACpByB,cAAc,EAAE;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -23,7 +23,6 @@ const RingingCallPanel = ({
|
|
|
23
23
|
IncomingCall = _IncomingCall.IncomingCall,
|
|
24
24
|
OutgoingCall = _OutgoingCall.OutgoingCall,
|
|
25
25
|
CallContent = _CallContent.CallContent,
|
|
26
|
-
CallTopView,
|
|
27
26
|
CallLeftIndicator = _CallLeftIndicator.CallLeftIndicator,
|
|
28
27
|
CallPreparingIndicator = _CallPreparingIndicator.CallPreparingIndicator,
|
|
29
28
|
landscape,
|
|
@@ -38,10 +37,8 @@ const RingingCallPanel = ({
|
|
|
38
37
|
switch (callingState) {
|
|
39
38
|
case _videoClient.CallingState.RINGING:
|
|
40
39
|
return isCallCreatedByMe ? OutgoingCall && /*#__PURE__*/_react.default.createElement(OutgoingCall, {
|
|
41
|
-
CallTopView: CallTopView,
|
|
42
40
|
landscape: landscape
|
|
43
41
|
}) : IncomingCall && /*#__PURE__*/_react.default.createElement(IncomingCall, {
|
|
44
|
-
CallTopView: CallTopView,
|
|
45
42
|
landscape: landscape
|
|
46
43
|
});
|
|
47
44
|
case _videoClient.CallingState.LEFT:
|
|
@@ -54,7 +51,6 @@ const RingingCallPanel = ({
|
|
|
54
51
|
});
|
|
55
52
|
default:
|
|
56
53
|
return CallContent && /*#__PURE__*/_react.default.createElement(CallContent, {
|
|
57
|
-
CallTopView: CallTopView,
|
|
58
54
|
landscape: landscape
|
|
59
55
|
});
|
|
60
56
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_videoClient","require","_videoReactBindings","_react","_interopRequireDefault","_reactNative","_CallContent","_IncomingCall","_OutgoingCall","_CallLeftIndicator","_CallPreparingIndicator","_contexts","e","__esModule","default","RingingCallPanel","IncomingCall","DefaultIncomingCall","OutgoingCall","DefaultOutgoingCall","CallContent","DefaultCallContent","
|
|
1
|
+
{"version":3,"names":["_videoClient","require","_videoReactBindings","_react","_interopRequireDefault","_reactNative","_CallContent","_IncomingCall","_OutgoingCall","_CallLeftIndicator","_CallPreparingIndicator","_contexts","e","__esModule","default","RingingCallPanel","IncomingCall","DefaultIncomingCall","OutgoingCall","DefaultOutgoingCall","CallContent","DefaultCallContent","CallLeftIndicator","DefaultCallLeftIndicator","CallPreparingIndicator","DefaultCallPreparingIndicator","landscape","onBackPress","call","useCall","isCallCreatedByMe","isCreatedByMe","useCallCallingState","useCallStateHooks","callingState","CallingState","RINGING","createElement","LEFT","IDLE","RingingCallContent","props","theme","ringingCallContent","useTheme","View","style","styles","container","exports","StyleSheet","create","absoluteFillObject"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/RingingCallContent.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,mBAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,YAAA,GAAAL,OAAA;AAIA,IAAAM,aAAA,GAAAN,OAAA;AAIA,IAAAO,aAAA,GAAAP,OAAA;AAIA,IAAAQ,kBAAA,GAAAR,OAAA;AAIA,IAAAS,uBAAA,GAAAT,OAAA;AAIA,IAAAU,SAAA,GAAAV,OAAA;AAA6C,SAAAG,uBAAAQ,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE7C;AACA;AACA;;AAkCA,MAAMG,gBAAgB,GAAGA,CAAC;EACxBC,YAAY,GAAGC,0BAAmB;EAClCC,YAAY,GAAGC,0BAAmB;EAClCC,WAAW,GAAGC,wBAAkB;EAChCC,iBAAiB,GAAGC,oCAAwB;EAC5CC,sBAAsB,GAAGC,8CAA6B;EACtDC,SAAS;EACTC;AACuB,CAAC,KAAK;EAC7B,MAAMC,IAAI,GAAG,IAAA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A,CAAAuB,aAAA,CAACtB,gBAAgB,EAAK0B,KAAQ,CAC1B,CAAC;AAEX,CAAC;AAACQ,OAAA,CAAAT,kBAAA,GAAAA,kBAAA;AAEF,MAAMO,MAAM,GAAGG,uBAAU,CAACC,MAAM,CAAC;EAC/BH,SAAS,EAAE;IACT,GAAGE,uBAAU,CAACE;EAChB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -21,7 +21,7 @@ const TextBasedIndicator = props => {
|
|
|
21
21
|
} = (0, _ThemeContext.useTheme)();
|
|
22
22
|
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
23
23
|
style: [styles.container, {
|
|
24
|
-
backgroundColor: colors.
|
|
24
|
+
backgroundColor: colors.sheetTertiary
|
|
25
25
|
}]
|
|
26
26
|
}, props.onBackPress && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
27
27
|
style: styles.backContainer
|
|
@@ -35,12 +35,12 @@ const TextBasedIndicator = props => {
|
|
|
35
35
|
width: iconSizes.md
|
|
36
36
|
}]
|
|
37
37
|
}, /*#__PURE__*/_react.default.createElement(_Back.Back, {
|
|
38
|
-
color: colors.
|
|
38
|
+
color: colors.iconPrimary
|
|
39
39
|
}))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
40
40
|
style: styles.textContainer
|
|
41
41
|
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
42
42
|
style: [styles.text, {
|
|
43
|
-
color: colors.
|
|
43
|
+
color: colors.textPrimary
|
|
44
44
|
}, typefaces.heading6]
|
|
45
45
|
}, props.text)));
|
|
46
46
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_ThemeContext","_Back","e","__esModule","default","TextBasedIndicator","props","theme","colors","typefaces","variants","iconSizes","useTheme","createElement","View","style","styles","container","backgroundColor","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_ThemeContext","_Back","e","__esModule","default","TextBasedIndicator","props","theme","colors","typefaces","variants","iconSizes","useTheme","createElement","View","style","styles","container","backgroundColor","sheetTertiary","onBackPress","backContainer","Pressable","onPress","pressed","opacity","height","md","width","Back","color","iconPrimary","textContainer","Text","text","textPrimary","heading6","exports","StyleSheet","create","flex","padding","paddingTop","justifyContent","alignItems","fontSize"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/TextBasedIndicator.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AAA2C,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAOpC,MAAMG,kBAAkB,GAAIC,KAA8B,IAAK;EACpE,MAAM;IACJC,KAAK,EAAE;MACLC,MAAM;MACNC,SAAS;MACTC,QAAQ,EAAE;QAAEC;MAAU;IACxB;EACF,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EAEd,oBACEhB,MAAA,CAAAQ,OAAA,CAAAS,aAAA,CAACd,YAAA,CAAAe,IAAI;IAACC,KAAK,EAAE,CAACC,MAAM,CAACC,SAAS,EAAE;MAAEC,eAAe,EAAEV,MAAM,CAACW;IAAc,CAAC;EAAE,GACxEb,KAAK,CAACc,WAAW,iBAChBxB,MAAA,CAAAQ,OAAA,CAAAS,aAAA,CAACd,YAAA,CAAAe,IAAI;IAACC,KAAK,EAAEC,MAAM,CAACK;EAAc,gBAChCzB,MAAA,CAAAQ,OAAA,CAAAS,aAAA,CAACd,YAAA,CAAAuB,SAAS;IACRC,OAAO,EAAEjB,KAAK,CAACc,WAAY;IAC3BL,KAAK,EAAEA,CAAC;MAAES;IAAQ,CAAC,KAAK,CACtB;MACEC,OAAO,EAAED,OAAO,GAAG,GAAG,GAAG,CAAC;MAC1BE,MAAM,EAAEf,SAAS,CAACgB,EAAE;MACpBC,KAAK,EAAEjB,SAAS,CAACgB;IACnB,CAAC;EACD,gBAEF/B,MAAA,CAAAQ,OAAA,CAAAS,aAAA,CAACZ,KAAA,CAAA4B,IAAI;IAACC,KAAK,EAAEtB,MAAM,CAACuB;EAAY,CAAE,CACzB,CACP,CACP,eACDnC,MAAA,CAAAQ,OAAA,CAAAS,aAAA,CAACd,YAAA,CAAAe,IAAI;IAACC,KAAK,EAAEC,MAAM,CAACgB;EAAc,gBAChCpC,MAAA,CAAAQ,OAAA,CAAAS,aAAA,CAACd,YAAA,CAAAkC,IAAI;IACHlB,KAAK,EAAE,CACLC,MAAM,CAACkB,IAAI,EACX;MAAEJ,KAAK,EAAEtB,MAAM,CAAC2B;IAAY,CAAC,EAC7B1B,SAAS,CAAC2B,QAAQ;EAClB,GAED9B,KAAK,CAAC4B,IACH,CACF,CACF,CAAC;AAEX,CAAC;AAACG,OAAA,CAAAhC,kBAAA,GAAAA,kBAAA;AAEF,MAAMW,MAAM,GAAGsB,uBAAU,CAACC,MAAM,CAAC;EAC/BtB,SAAS,EAAE;IACTuB,IAAI,EAAE;EACR,CAAC;EACDnB,aAAa,EAAE;IACboB,OAAO,EAAE,CAAC;IACVC,UAAU,EAAE;EACd,CAAC;EACDV,aAAa,EAAE;IACbQ,IAAI,EAAE,CAAC;IACPG,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE;EACd,CAAC;EACDV,IAAI,EAAE;IACJW,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_utils","_videoReactBindings","_ThemeContext","e","__esModule","default","AvatarModes","UserInfo","includeSelf","totalMembersToShow","theme","colors","typefaces","variants","avatarSizes","userInfo","useTheme","connectedUser","useConnectedUser","useCallMembers","useCallStateHooks","members","membersToShow","filter","user","user_id","id","slice","map","find","self","splice","memberUserIds","memberToShow","name","callTitle","generateCallTitle","avatarSizeModes","large","medium","small","mode","length","avatarStyles","height","width","borderRadius","marginVertical","fontStyleByMembersCount","heading5","heading4","createElement","View","style","styles","container","avatarGroup","image","Image","key","source","uri","Text","color","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_utils","_videoReactBindings","_ThemeContext","e","__esModule","default","AvatarModes","UserInfo","includeSelf","totalMembersToShow","theme","colors","typefaces","variants","avatarSizes","userInfo","useTheme","connectedUser","useConnectedUser","useCallMembers","useCallStateHooks","members","membersToShow","filter","user","user_id","id","slice","map","find","self","splice","memberUserIds","memberToShow","name","callTitle","generateCallTitle","avatarSizeModes","large","medium","small","mode","length","avatarStyles","height","width","borderRadius","marginVertical","fontStyleByMembersCount","heading5","heading4","createElement","View","style","styles","container","avatarGroup","image","Image","key","source","uri","Text","color","textPrimary","exports","StyleSheet","create","paddingHorizontal","display","flexDirection","justifyContent","flexWrap","textAlign","marginTop"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/UserInfo.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAH,OAAA;AAKA,IAAAI,aAAA,GAAAJ,OAAA;AAA0D,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,IAErDG,WAAW,0BAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAA,OAAXA,WAAW;AAAA,EAAXA,WAAW;AAoBT,MAAMC,QAAQ,GAAGA,CAAC;EACvBC,WAAW,GAAG,KAAK;EACnBC,kBAAkB,GAAG;AACT,CAAC,KAAK;EAClB,MAAM;IACJC,KAAK,EAAE;MACLC,MAAM;MACNC,SAAS;MACTC,QAAQ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;MAAEe,KAAK,EAAEpD,MAAM,CAACqD;IAAY,CAAC,EAC7BjD,QAAQ,CAACmB,IAAI;EACb,GAEDC,SACG,CACF,CAAC;AAEX,CAAC;AAAC8B,OAAA,CAAA1D,QAAA,GAAAA,QAAA;AAEF,MAAM+C,MAAM,GAAGY,uBAAU,CAACC,MAAM,CAAC;EAC/BZ,SAAS,EAAE;IACTa,iBAAiB,EAAE,EAAE;IACrBC,OAAO,EAAE,MAAM;IACfC,aAAa,EAAE,QAAQ;IACvBC,cAAc,EAAE;EAClB,CAAC;EACDf,WAAW,EAAE;IACXa,OAAO,EAAE,MAAM;IACfC,aAAa,EAAE,KAAK;IACpBC,cAAc,EAAE,cAAc;IAC9BC,QAAQ,EAAE;EACZ,CAAC;EACDtC,IAAI,EAAE;IACJuC,SAAS,EAAE,QAAQ;IACnBC,SAAS,EAAE;EACb;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -14,17 +14,6 @@ Object.keys(_CallContent).forEach(function (key) {
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
});
|
|
17
|
-
var _CallTopView = require("./CallTopView");
|
|
18
|
-
Object.keys(_CallTopView).forEach(function (key) {
|
|
19
|
-
if (key === "default" || key === "__esModule") return;
|
|
20
|
-
if (key in exports && exports[key] === _CallTopView[key]) return;
|
|
21
|
-
Object.defineProperty(exports, key, {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function () {
|
|
24
|
-
return _CallTopView[key];
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
17
|
var _CallLayout = require("./CallLayout");
|
|
29
18
|
Object.keys(_CallLayout).forEach(function (key) {
|
|
30
19
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_CallContent","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","
|
|
1
|
+
{"version":3,"names":["_CallContent","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_CallLayout","_C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75,7 +76,7 @@ const HostLivestream = ({
|
|
|
75
76
|
};
|
|
76
77
|
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
77
78
|
style: [styles.container, {
|
|
78
|
-
backgroundColor: colors.
|
|
79
|
+
backgroundColor: colors.sheetTertiary
|
|
79
80
|
}, hostLivestream.container]
|
|
80
81
|
}, HostLivestreamTopView && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
81
82
|
style: styles.topViewContainer,
|
|
@@ -103,23 +104,33 @@ const HostLivestream = ({
|
|
|
103
104
|
}));
|
|
104
105
|
};
|
|
105
106
|
exports.HostLivestream = HostLivestream;
|
|
106
|
-
const
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
},
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
107
|
+
const useStyles = () => {
|
|
108
|
+
const {
|
|
109
|
+
theme
|
|
110
|
+
} = (0, _contexts.useTheme)();
|
|
111
|
+
return (0, _react.useMemo)(() => _reactNative.StyleSheet.create({
|
|
112
|
+
container: {
|
|
113
|
+
flex: 1,
|
|
114
|
+
paddingBottom: theme.variants.insets.bottom,
|
|
115
|
+
paddingLeft: theme.variants.insets.left,
|
|
116
|
+
paddingRight: theme.variants.insets.right,
|
|
117
|
+
paddingTop: theme.variants.insets.top,
|
|
118
|
+
backgroundColor: theme.colors.sheetPrimary
|
|
119
|
+
},
|
|
120
|
+
topViewContainer: {
|
|
121
|
+
position: 'absolute',
|
|
122
|
+
top: 0,
|
|
123
|
+
left: 0,
|
|
124
|
+
right: 0,
|
|
125
|
+
zIndex: _constants.Z_INDEX.IN_FRONT
|
|
126
|
+
},
|
|
127
|
+
controlsViewContainer: {
|
|
128
|
+
position: 'absolute',
|
|
129
|
+
bottom: 0,
|
|
130
|
+
left: 0,
|
|
131
|
+
right: 0,
|
|
132
|
+
zIndex: _constants.Z_INDEX.IN_FRONT
|
|
133
|
+
}
|
|
134
|
+
}), [theme]);
|
|
135
|
+
};
|
|
125
136
|
//# sourceMappingURL=HostLivestream.js.map
|