@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","_interopRequireWildcard","require","_reactNative","_reactNativeIncallManager","_interopRequireDefault","_contexts","_ViewerLivestreamTopView","_ViewerLivestreamControls","_LivestreamLayout","_videoReactBindings","_Participant","_videoClient","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ViewerLivestream","ViewerLivestreamTopView","DefaultViewerLivestreamTopView","ViewerLivestreamControls","DefaultViewerLivestreamControls","LivestreamLayout","DefaultLivestreamLayout","FloatingParticipantView","DefaultFloatingParticipantView","LiveIndicator","FollowerCount","DurationBadge","ViewerLeaveStreamButton","onLeaveStreamHandler","theme","viewerLivestream","useTheme","useHasOngoingScreenShare","useParticipants","useCallStateHooks","hasOngoingScreenShare","currentSpeaker","floatingParticipant","hasVideo","topViewHeight","setTopViewHeight","React","useState","controlsHeight","setControlsHeight","useEffect","InCallManager","start","media","stop","topViewProps","onLayout","event","nativeEvent","layout","height","createElement","View","style","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeIncallManager","_interopRequireDefault","_contexts","_ViewerLivestreamTopView","_ViewerLivestreamControls","_LivestreamLayout","_videoReactBindings","_Participant","_videoClient","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ViewerLivestream","ViewerLivestreamTopView","DefaultViewerLivestreamTopView","ViewerLivestreamControls","DefaultViewerLivestreamControls","LivestreamLayout","DefaultLivestreamLayout","FloatingParticipantView","DefaultFloatingParticipantView","LiveIndicator","FollowerCount","DurationBadge","ViewerLeaveStreamButton","onLeaveStreamHandler","styles","useStyles","theme","viewerLivestream","useTheme","useHasOngoingScreenShare","useParticipants","useCallStateHooks","hasOngoingScreenShare","currentSpeaker","floatingParticipant","hasVideo","topViewHeight","setTopViewHeight","React","useState","controlsHeight","setControlsHeight","useEffect","InCallManager","start","media","stop","topViewProps","onLayout","event","nativeEvent","layout","height","createElement","View","style","container","participant","draggableContainerStyle","StyleSheet","absoluteFill","top","bottom","exports","useMemo","create","flex","paddingBottom","variants","insets","paddingLeft","left","paddingRight","right","paddingTop","backgroundColor","colors","sheetPrimary"],"sourceRoot":"../../../../../src","sources":["components/Livestream/ViewerLivestream/ViewerLivestream.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,yBAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,SAAA,GAAAJ,OAAA;AACA,IAAAK,wBAAA,GAAAL,OAAA;AAIA,IAAAM,yBAAA,GAAAN,OAAA;AAKA,IAAAO,iBAAA,GAAAP,OAAA;AAIA,IAAAQ,mBAAA,GAAAR,OAAA;AACA,IAAAS,YAAA,GAAAT,OAAA;AAIA,IAAAU,YAAA,GAAAV,OAAA;AAAmD,SAAAG,uBAAAQ,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,yBAAAH,CAAA,6BAAAI,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAD,wBAAA,YAAAA,CAAAH,CAAA,WAAAA,CAAA,GAAAM,CAAA,GAAAD,CAAA,KAAAL,CAAA;AAAA,SAAAZ,wBAAAY,CAAA,EAAAK,CAAA,SAAAA,CAAA,IAAAL,CAAA,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AAoB;IACjCwB,uBAAuB,EAAE,CACvBC,uBAAU,CAACC,YAAY,EACvB;MACEC,GAAG,EAAEzB,aAAa;MAClB0B,MAAM,EAAEtB;IACV,CAAC;EACD,CACH,CACF,EACFzB,gBAAgB,iBAAItC,MAAA,CAAAe,OAAA,CAAA6D,aAAA,CAACtC,gBAAgB,MAAE,CAAC,EACxCF,wBAAwB,iBACvBpC,MAAA,CAAAe,OAAA,CAAA6D,aAAA,CAACxC,wBAAwB;IACvBS,uBAAuB,EAAEA,uBAAwB;IACjDC,oBAAoB,EAAEA,oBAAqB;IAC3CyB,QAAQ,EAAGC,KAAK,IAAK;MACnBR,iBAAiB,CAACQ,KAAK,CAACC,WAAW,CAACC,MAAM,CAACC,MAAM,CAAC;IACpD;EAAE,CACH,CAEC,CAAC;AAEX,CAAC;AAACW,OAAA,CAAArD,gBAAA,GAAAA,gBAAA;AAEF,MAAMe,SAAS,GAAGA,CAAA,KAAM;EACtB,MAAM;IAAEC;EAAM,CAAC,GAAG,IAAAE,kBAAQ,EAAC,CAAC;EAC5B,OAAO,IAAAoC,cAAO,EACZ,MACEL,uBAAU,CAACM,MAAM,CAAC;IAChBT,SAAS,EAAE;MACTU,IAAI,EAAE,CAAC;MACPC,aAAa,EAAEzC,KAAK,CAAC0C,QAAQ,CAACC,MAAM,CAACP,MAAM;MAC3CQ,WAAW,EAAE5C,KAAK,CAAC0C,QAAQ,CAACC,MAAM,CAACE,IAAI;MACvCC,YAAY,EAAE9C,KAAK,CAAC0C,QAAQ,CAACC,MAAM,CAACI,KAAK;MACzCC,UAAU,EAAEhD,KAAK,CAAC0C,QAAQ,CAACC,MAAM,CAACR,GAAG;MACrCc,eAAe,EAAEjD,KAAK,CAACkD,MAAM,CAACC;IAChC;EACF,CAAC,CAAC,EACJ,CAACnD,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_common","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ReanimatedFloatingView","Error","Gesture","GestureDetector","Reanimated","useSharedValue","withTiming","useAnimatedStyle","withDelay","initialAlignment","containerHeight","containerWidth","children","start","x","y","translationX","translationY","opacity","rectangle","setRectangle","React","useState","snapAlignments","useMemo","FloatingViewAlignment","topLeft","topRight","bottomLeft","bottomRight","getSnapAlignments","rootContainerDimensions","width","height","floatingViewDimensions","dragGesture","Pan","onStart","_e","value","onUpdate","Math","max","min","onEnd","position","closestAlignment","getClosestSnapAlignment","useEffect","alignment","duration","animatedStyle","transform","translateX","translateY","createElement","gesture","View","style","onLayout","event","layout","nativeEvent","prev","floatingChildViewContainerStyle","_default","exports"],"sourceRoot":"../../../../../../src","sources":["components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AAMkB,SAAAG,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAL,wBAAAK,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,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AO,GAAGb,cAAc,CAAC,CAAC,CAAC;IACjC,MAAM,CAACc,SAAS,EAAEC,YAAY,CAAC,GAAGC,cAAK,CAACC,QAAQ,CAAkB,CAAC;IAEnE,MAAMC,cAAc,GAAG,IAAAC,cAAO,EAAC,MAAM;MACnC,IAAI,CAACL,SAAS,EAAE;QACd,OAAO;UACL,CAACM,6BAAqB,CAACC,OAAO,GAAG;YAAEZ,CAAC,EAAE,CAAC;YAAEC,CAAC,EAAE;UAAE,CAAC;UAC/C,CAACU,6BAAqB,CAACE,QAAQ,GAAG;YAAEb,CAAC,EAAE,CAAC;YAAEC,CAAC,EAAE;UAAE,CAAC;UAChD,CAACU,6BAAqB,CAACG,UAAU,GAAG;YAAEd,CAAC,EAAE,CAAC;YAAEC,CAAC,EAAE;UAAE,CAAC;UAClD,CAACU,6BAAqB,CAACI,WAAW,GAAG;YAAEf,CAAC,EAAE,CAAC;YAAEC,CAAC,EAAE;UAAE;QACpD,CAAC;MACH;
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_common","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ReanimatedFloatingView","Error","Gesture","GestureDetector","Reanimated","useSharedValue","withTiming","useAnimatedStyle","withDelay","initialAlignment","containerHeight","containerWidth","children","start","x","y","translationX","translationY","opacity","rectangle","setRectangle","React","useState","snapAlignments","useMemo","FloatingViewAlignment","topLeft","topRight","bottomLeft","bottomRight","getSnapAlignments","rootContainerDimensions","width","height","floatingViewDimensions","dragGesture","Pan","onStart","_e","value","onUpdate","Math","max","min","onEnd","position","closestAlignment","getClosestSnapAlignment","useEffect","alignment","duration","animatedStyle","transform","translateX","translateY","createElement","gesture","View","style","onLayout","event","layout","nativeEvent","prev","floatingChildViewContainerStyle","_default","exports"],"sourceRoot":"../../../../../../src","sources":["components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.tsx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AACqD,OAAO,EAAErB;MAAY,gBACpC5D,MAAA,CAAAW,OAAA,CAAAqE,aAAA,CAACnD,UAAU,CAACqD,IAAI;QAACC,KAAK,EAAEP;MAAc,gBACpC5E,MAAA,CAAAW,OAAA,CAAAqE,aAAA,CAAC7E,YAAA,CAAA+E,IAAI;QACHE,QAAQ,EAAGC,KAAK,IAAK;UACnB,MAAMC,MAAM,GAAGD,KAAK,CAACE,WAAW,CAACD,MAAM;UACvCzC,YAAY,CAAE2C,IAAI,IAAK;YACrB,IACEA,IAAI,IACJA,IAAI,CAAC/B,KAAK,KAAK6B,MAAM,CAAC7B,KAAK,IAC3B+B,IAAI,CAAC9B,MAAM,KAAK4B,MAAM,CAAC5B,MAAM,IAC7B8B,IAAI,CAACjD,CAAC,KAAK+C,MAAM,CAAC/C,CAAC,IACnBiD,IAAI,CAAChD,CAAC,KAAK8C,MAAM,CAAC9C,CAAC,EACnB;cACA,OAAOgD,IAAI;YACb;YACA,OAAOF,MAAM;UACf,CAAC,CAAC;QACJ,CAAE;QACFH,KAAK,EAAEM;MAAgC,GAEtCpD,QACG,CACS,CACF;IAAC;EAEtB,CAAC;AACH,CAAC,CAAC,OAAO/B,CAAC,EAAE,CAAC;AAAC,IAAAoF,QAAA,GAAAC,OAAA,CAAAhF,OAAA,GAECc,sBAAsB","ignoreList":[]}
|
|
@@ -26,12 +26,13 @@ const CustomLocalParticipantViewVideoFallback = () => {
|
|
|
26
26
|
floatingParticipantsView,
|
|
27
27
|
variants: {
|
|
28
28
|
iconSizes
|
|
29
|
-
}
|
|
29
|
+
},
|
|
30
|
+
defaults
|
|
30
31
|
}
|
|
31
32
|
} = (0, _ThemeContext.useTheme)();
|
|
32
33
|
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
33
34
|
style: [styles.videoFallback, {
|
|
34
|
-
backgroundColor: colors.
|
|
35
|
+
backgroundColor: colors.sheetSecondary
|
|
35
36
|
}, floatingParticipantsView.videoFallback]
|
|
36
37
|
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
37
38
|
style: {
|
|
@@ -39,7 +40,8 @@ const CustomLocalParticipantViewVideoFallback = () => {
|
|
|
39
40
|
width: iconSizes.md
|
|
40
41
|
}
|
|
41
42
|
}, /*#__PURE__*/_react.default.createElement(_icons.VideoSlash, {
|
|
42
|
-
color: colors.
|
|
43
|
+
color: colors.iconPrimary,
|
|
44
|
+
size: defaults.iconSize
|
|
43
45
|
})));
|
|
44
46
|
};
|
|
45
47
|
|
|
@@ -115,7 +117,7 @@ const FloatingParticipantView = ({
|
|
|
115
117
|
participant: participant,
|
|
116
118
|
trackType: "videoTrack",
|
|
117
119
|
style: [styles.participantViewContainer, participantViewStyle, {
|
|
118
|
-
shadowColor: colors.
|
|
120
|
+
shadowColor: colors.sheetPrimary
|
|
119
121
|
}, floatingParticipantsView.participantViewContainer]
|
|
120
122
|
// video z order must be one above the one used in grid view
|
|
121
123
|
// (which uses the default: 0)
|
|
@@ -128,7 +130,6 @@ const FloatingParticipantView = ({
|
|
|
128
130
|
exports.FloatingParticipantView = FloatingParticipantView;
|
|
129
131
|
const styles = _reactNative.StyleSheet.create({
|
|
130
132
|
container: {
|
|
131
|
-
margin: 8,
|
|
132
133
|
// Needed to make the view on top and draggable
|
|
133
134
|
zIndex: _constants.Z_INDEX.IN_MIDDLE,
|
|
134
135
|
flex: 1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_constants","_TestIds","_icons","_FloatingView","_common","_ParticipantView","_ThemeContext","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","CustomLocalParticipantViewVideoFallback","theme","colors","floatingParticipantsView","variants","iconSizes","useTheme","createElement","View","style","styles","videoFallback","backgroundColor","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_constants","_TestIds","_icons","_FloatingView","_common","_ParticipantView","_ThemeContext","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","CustomLocalParticipantViewVideoFallback","theme","colors","floatingParticipantsView","variants","iconSizes","defaults","useTheme","createElement","View","style","styles","videoFallback","backgroundColor","sheetSecondary","height","md","width","VideoSlash","color","iconPrimary","size","iconSize","FloatingParticipantView","alignment","onPressHandler","participant","participantViewStyle","draggableContainerStyle","ParticipantView","DefaultParticipantView","ParticipantNetworkQualityIndicator","ParticipantReaction","VideoRenderer","supportedReactions","videoZOrder","objectFit","floatingAlignmentMap","FloatingViewAlignment","topLeft","topRight","bottomLeft","bottomRight","containerDimensions","setContainerDimensions","React","useState","participantViewProps","ParticipantLabel","ParticipantVideoFallback","testID","ComponentTestIds","LOCAL_PARTICIPANT","container","pointerEvents","onLayout","event","nativeEvent","layout","prev","containerHeight","containerWidth","initialAlignment","Pressable","onPress","trackType","participantViewContainer","shadowColor","sheetPrimary","exports","StyleSheet","create","zIndex","Z_INDEX","IN_MIDDLE","flex","FLOATING_VIDEO_VIEW_STYLE","borderRadius","shadowOffset","shadowOpacity","shadowRadius","elevation","absoluteFillObject","alignItems","justifyContent"],"sourceRoot":"../../../../../src","sources":["components/Participant/FloatingParticipantView/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAOA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAN,sBAAA,CAAAC,OAAA;AAKA,IAAAM,OAAA,GAAAN,OAAA;AACA,IAAAO,gBAAA,GAAAP,OAAA;AAKA,IAAAQ,aAAA,GAAAR,OAAA;AAA0D,SAAAD,uBAAAU,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,SAAA,WAAAA,QAAA,GAAAC,MAAA,CAAAC,MA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3D,KAAK;IACtC4D,YAAY,EAAED,oCAAyB,CAACC,YAAY;IACpDC,YAAY,EAAE;MACZ7D,KAAK,EAAE,CAAC;MACRF,MAAM,EAAE;IACV,CAAC;IACDgE,aAAa,EAAE,IAAI;IACnBC,YAAY,EAAE,IAAI;IAClBC,SAAS,EAAE;EACb,CAAC;EACDrE,aAAa,EAAE;IACb,GAAG0D,uBAAU,CAACY,kBAAkB;IAChCC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.ParticipantLabel = void 0;
|
|
7
|
-
var _react =
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
9
|
var _icons = require("../../../icons");
|
|
10
10
|
var _videoReactBindings = require("@stream-io/video-react-bindings");
|
|
@@ -12,7 +12,10 @@ var _TestIds = require("../../../constants/TestIds");
|
|
|
12
12
|
var _constants = require("../../../constants");
|
|
13
13
|
var _videoClient = require("@stream-io/video-client");
|
|
14
14
|
var _ThemeContext = require("../../../contexts/ThemeContext");
|
|
15
|
+
var _SpeechIndicator = _interopRequireDefault(require("./SpeechIndicator"));
|
|
15
16
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
|
+
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); }
|
|
18
|
+
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; }
|
|
16
19
|
/**
|
|
17
20
|
* Props for the ParticipantLabel component.
|
|
18
21
|
*/
|
|
@@ -41,6 +44,7 @@ const ParticipantLabel = ({
|
|
|
41
44
|
}
|
|
42
45
|
}
|
|
43
46
|
} = (0, _ThemeContext.useTheme)();
|
|
47
|
+
const styles = useStyles();
|
|
44
48
|
const {
|
|
45
49
|
name,
|
|
46
50
|
userId,
|
|
@@ -66,7 +70,7 @@ const ParticipantLabel = ({
|
|
|
66
70
|
});
|
|
67
71
|
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
68
72
|
style: [styles.container, {
|
|
69
|
-
backgroundColor: colors.
|
|
73
|
+
backgroundColor: colors.sheetOverlay
|
|
70
74
|
}, container],
|
|
71
75
|
testID: _TestIds.ComponentTestIds.PARTICIPANT_SCREEN_SHARING
|
|
72
76
|
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
@@ -75,71 +79,90 @@ const ParticipantLabel = ({
|
|
|
75
79
|
width: iconSizes.md
|
|
76
80
|
}, screenShareIconContainer]
|
|
77
81
|
}, /*#__PURE__*/_react.default.createElement(_icons.ScreenShareIndicator, {
|
|
78
|
-
color: colors.
|
|
82
|
+
color: colors.iconPrimary
|
|
79
83
|
})), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
80
84
|
style: [styles.userNameLabel, {
|
|
81
|
-
color: colors.
|
|
85
|
+
color: colors.textPrimary
|
|
82
86
|
}, typefaces.caption, userNameLabel],
|
|
83
87
|
numberOfLines: 1
|
|
84
88
|
}, screenShareText));
|
|
85
89
|
}
|
|
86
90
|
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
87
91
|
style: [styles.container, {
|
|
88
|
-
backgroundColor: colors.
|
|
92
|
+
backgroundColor: colors.sheetOverlay
|
|
89
93
|
}, container]
|
|
94
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
95
|
+
style: styles.wrapper
|
|
90
96
|
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
91
|
-
style: [styles.userNameLabel,
|
|
92
|
-
color: colors.static_white
|
|
93
|
-
}, typefaces.caption, userNameLabel],
|
|
97
|
+
style: [styles.userNameLabel, userNameLabel],
|
|
94
98
|
numberOfLines: 1
|
|
95
99
|
}, participantLabel), isAudioMuted && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
96
|
-
style: [styles.audioMutedIconContainer,
|
|
97
|
-
height: iconSizes.xs,
|
|
98
|
-
width: iconSizes.xs
|
|
99
|
-
}, audioMutedIconContainer]
|
|
100
|
+
style: [styles.audioMutedIconContainer, audioMutedIconContainer]
|
|
100
101
|
}, /*#__PURE__*/_react.default.createElement(_icons.MicOff, {
|
|
101
|
-
color: colors.
|
|
102
|
+
color: colors.iconPrimary,
|
|
103
|
+
size: iconSizes.sm
|
|
102
104
|
})), isVideoMuted && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
103
|
-
style: [styles.videoMutedIconContainer,
|
|
104
|
-
height: iconSizes.xs,
|
|
105
|
-
width: iconSizes.xs
|
|
106
|
-
}, videoMutedIconContainer]
|
|
105
|
+
style: [styles.videoMutedIconContainer, videoMutedIconContainer]
|
|
107
106
|
}, /*#__PURE__*/_react.default.createElement(_icons.VideoSlash, {
|
|
108
|
-
color: colors.
|
|
107
|
+
color: colors.iconPrimary,
|
|
108
|
+
size: iconSizes.sm
|
|
109
109
|
})), isPinningEnabled && /*#__PURE__*/_react.default.createElement(_reactNative.Pressable, {
|
|
110
|
-
style: [styles.pinIconContainer,
|
|
111
|
-
height: iconSizes.xs,
|
|
112
|
-
width: iconSizes.xs
|
|
113
|
-
}, pinIconContainer],
|
|
110
|
+
style: [styles.pinIconContainer, pinIconContainer],
|
|
114
111
|
onPress: unPinParticipantHandler
|
|
115
112
|
}, /*#__PURE__*/_react.default.createElement(_icons.PinVertical, {
|
|
116
|
-
color: colors.
|
|
117
|
-
|
|
113
|
+
color: colors.iconPrimary,
|
|
114
|
+
size: iconSizes.sm
|
|
115
|
+
})), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
116
|
+
style: styles.indicatorWrapper
|
|
117
|
+
}, /*#__PURE__*/_react.default.createElement(_SpeechIndicator.default, {
|
|
118
|
+
isSpeaking: !isAudioMuted && participant.isDominantSpeaker
|
|
119
|
+
}))));
|
|
118
120
|
};
|
|
119
121
|
exports.ParticipantLabel = ParticipantLabel;
|
|
120
|
-
const
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
122
|
+
const useStyles = () => {
|
|
123
|
+
const {
|
|
124
|
+
theme
|
|
125
|
+
} = (0, _ThemeContext.useTheme)();
|
|
126
|
+
return (0, _react.useMemo)(() => _reactNative.StyleSheet.create({
|
|
127
|
+
indicatorWrapper: {
|
|
128
|
+
marginLeft: theme.variants.spacingSizes.sm
|
|
129
|
+
},
|
|
130
|
+
wrapper: {
|
|
131
|
+
flexDirection: 'row'
|
|
132
|
+
},
|
|
133
|
+
container: {
|
|
134
|
+
flexDirection: 'row',
|
|
135
|
+
alignItems: 'center',
|
|
136
|
+
padding: theme.variants.spacingSizes.sm,
|
|
137
|
+
maxHeight: 30,
|
|
138
|
+
borderTopRightRadius: 5,
|
|
139
|
+
marginBottom: -2,
|
|
140
|
+
flexShrink: 1,
|
|
141
|
+
zIndex: _constants.Z_INDEX.IN_FRONT
|
|
142
|
+
},
|
|
143
|
+
userNameLabel: {
|
|
144
|
+
flexShrink: 1,
|
|
145
|
+
marginTop: 3,
|
|
146
|
+
fontSize: 13,
|
|
147
|
+
fontWeight: '400',
|
|
148
|
+
color: theme.colors.textPrimary
|
|
149
|
+
},
|
|
150
|
+
screenShareIconContainer: {
|
|
151
|
+
marginRight: theme.variants.spacingSizes.sm,
|
|
152
|
+
justifyContent: 'center'
|
|
153
|
+
},
|
|
154
|
+
audioMutedIconContainer: {
|
|
155
|
+
marginLeft: theme.variants.spacingSizes.xs,
|
|
156
|
+
justifyContent: 'center'
|
|
157
|
+
},
|
|
158
|
+
videoMutedIconContainer: {
|
|
159
|
+
marginLeft: theme.variants.spacingSizes.xs,
|
|
160
|
+
justifyContent: 'center'
|
|
161
|
+
},
|
|
162
|
+
pinIconContainer: {
|
|
163
|
+
marginLeft: theme.variants.spacingSizes.xs,
|
|
164
|
+
justifyContent: 'center'
|
|
165
|
+
}
|
|
166
|
+
}), [theme]);
|
|
167
|
+
};
|
|
145
168
|
//# sourceMappingURL=ParticipantLabel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_icons","_videoReactBindings","_TestIds","_constants","_videoClient","_ThemeContext","_SpeechIndicator","_interopRequireDefault","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ParticipantLabel","participant","trackType","theme","colors","typefaces","variants","iconSizes","participantLabel","container","userNameLabel","audioMutedIconContainer","videoMutedIconContainer","pinIconContainer","screenShareIconContainer","useTheme","styles","useStyles","name","userId","pin","sessionId","isLocalParticipant","useCall","useI18n","participantName","isPinningEnabled","isLocalPin","isAudioMuted","hasAudio","isVideoMuted","hasVideo","unPinParticipantHandler","unpin","screenShareText","userName","createElement","View","style","backgroundColor","sheetOverlay","testID","ComponentTestIds","PARTICIPANT_SCREEN_SHARING","height","md","width","ScreenShareIndicator","color","iconPrimary","Text","textPrimary","caption","numberOfLines","wrapper","MicOff","size","sm","VideoSlash","Pressable","onPress","PinVertical","indicatorWrapper","isSpeaking","isDominantSpeaker","exports","useMemo","StyleSheet","create","marginLeft","spacingSizes","flexDirection","alignItems","padding","maxHeight","borderTopRightRadius","marginBottom","flexShrink","zIndex","Z_INDEX","IN_FRONT","marginTop","fontSize","fontWeight","marginRight","justifyContent","xs"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/ParticipantLabel.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AAMA,IAAAG,mBAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AAEA,IAAAK,UAAA,GAAAL,OAAA;AACA,IAAAM,YAAA,GAAAN,OAAA;AACA,IAAAO,aAAA,GAAAP,OAAA;AACA,IAAAQ,gBAAA,GAAAC,sBAAA,CAAAT,OAAA;AAAgD,SAAAS,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,yBAAAH,CAAA,6BAAAI,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAD,wBAAA,YAAAA,CAAAH,CAAA,WAAAA,CAAA,GAAAM,CAAA,GAAAD,CAAA,KAAAL,CAAA;AAAA,SAAAX,wBAAAW,CAAA,EAAAK,CAAA,SAAAA,CAAA,IAAAL,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAE,OAAA,EAAAF,CAAA,QAAAM,CAAA,GAAAH,wBAAA,CAAAE,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAC,GAAA,CAAAP,CAAA,UAAAM,CAAA,CAAAE,GAAA,CAA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YAAY,CAACb,EAAE;MACvCiB,SAAS,EAAE,EAAE;MACbC,oBAAoB,EAAE,CAAC;MACvBC,YAAY,EAAE,CAAC,CAAC;MAChBC,UAAU,EAAE,CAAC;MACbC,MAAM,EAAEC,kBAAO,CAACC;IAClB,CAAC;IACDtE,aAAa,EAAE;MACbmE,UAAU,EAAE,CAAC;MACbI,SAAS,EAAE,CAAC;MACZC,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE,KAAK;MACjBnC,KAAK,EAAE7C,KAAK,CAACC,MAAM,CAAC+C;IACtB,CAAC;IACDrC,wBAAwB,EAAE;MACxBsE,WAAW,EAAEjF,KAAK,CAACG,QAAQ,CAACgE,YAAY,CAACb,EAAE;MAC3C4B,cAAc,EAAE;IAClB,CAAC;IACD1E,uBAAuB,EAAE;MACvB0D,UAAU,EAAElE,KAAK,CAACG,QAAQ,CAACgE,YAAY,CAACgB,EAAE;MAC1CD,cAAc,EAAE;IAClB,CAAC;IACDzE,uBAAuB,EAAE;MACvByD,UAAU,EAAElE,KAAK,CAACG,QAAQ,CAACgE,YAAY,CAACgB,EAAE;MAC1CD,cAAc,EAAE;IAClB,CAAC;IACDxE,gBAAgB,EAAE;MAChBwD,UAAU,EAAElE,KAAK,CAACG,QAAQ,CAACgE,YAAY,CAACgB,EAAE;MAC1CD,cAAc,EAAE;IAClB;EACF,CAAC,CAAC,EACJ,CAAClF,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
|
package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js
CHANGED
|
@@ -29,11 +29,11 @@ const useConnectionQualitySignalColors = participant => {
|
|
|
29
29
|
}
|
|
30
30
|
switch (connectionQuality) {
|
|
31
31
|
case _videoClient.SfuModels.ConnectionQuality.EXCELLENT:
|
|
32
|
-
return [colors.
|
|
32
|
+
return [colors.iconSuccess, colors.iconSuccess, colors.iconSuccess];
|
|
33
33
|
case _videoClient.SfuModels.ConnectionQuality.GOOD:
|
|
34
|
-
return [colors.
|
|
34
|
+
return [colors.iconSuccess, colors.iconSuccess, colors.iconPrimary];
|
|
35
35
|
case _videoClient.SfuModels.ConnectionQuality.POOR:
|
|
36
|
-
return [colors.
|
|
36
|
+
return [colors.iconWarning, colors.iconPrimary, colors.iconPrimary];
|
|
37
37
|
default:
|
|
38
38
|
return null;
|
|
39
39
|
}
|
|
@@ -56,7 +56,7 @@ const ParticipantNetworkQualityIndicator = ({
|
|
|
56
56
|
}
|
|
57
57
|
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
58
58
|
style: [styles.container, {
|
|
59
|
-
backgroundColor: colors.
|
|
59
|
+
backgroundColor: colors.sheetOverlay,
|
|
60
60
|
height: iconSizes.lg,
|
|
61
61
|
width: iconSizes.lg
|
|
62
62
|
}, participantNetworkQualityIndicator.container]
|
|
@@ -91,7 +91,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
91
91
|
container: {
|
|
92
92
|
zIndex: _constants.Z_INDEX.IN_FRONT,
|
|
93
93
|
alignSelf: 'flex-end',
|
|
94
|
-
|
|
94
|
+
borderTopLeftRadius: 5
|
|
95
95
|
}
|
|
96
96
|
});
|
|
97
97
|
//# sourceMappingURL=ParticipantNetworkQualityIndicator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_reactNativeSvg","_videoClient","_react","_interopRequireDefault","_constants","_ThemeContext","e","__esModule","default","useConnectionQualitySignalColors","participant","theme","colors","useTheme","connectionQuality","SfuModels","ConnectionQuality","EXCELLENT","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_reactNativeSvg","_videoClient","_react","_interopRequireDefault","_constants","_ThemeContext","e","__esModule","default","useConnectionQualitySignalColors","participant","theme","colors","useTheme","connectionQuality","SfuModels","ConnectionQuality","EXCELLENT","iconSuccess","GOOD","iconPrimary","POOR","iconWarning","ParticipantNetworkQualityIndicator","variants","iconSizes","participantNetworkQualityIndicator","connectionQualityColors","createElement","View","style","styles","container","backgroundColor","sheetOverlay","height","lg","width","Svg","viewBox","fill","Path","d","stroke","strokeWidth","strokeLinecap","strokeLinejoin","exports","StyleSheet","create","zIndex","Z_INDEX","IN_FRONT","alignSelf","borderTopLeftRadius"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,UAAA,GAAAL,OAAA;AAEA,IAAAM,aAAA,GAAAN,OAAA;AAA0D,SAAAI,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE1D;AACA;AACA;;AAMA,MAAMG,gCAAgC,GACpCC,WAAgD,IAC7C;EACH,MAAM;IACJC,KAAK,EAAE;MAAEC;IAAO;EAClB,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EACd,MAAM;IAAEC;EAAkB,CAAC,GAAGJ,WAAW;EACzC,IAAI,CAACI,iBAAiB,EAAE;IACtB,OAAO,IAAI;EACb;EAEA,QAAQA,iBAAiB;IACvB,KAAKC,sBAAS,CAACC,iBAAiB,CAACC,SAAS;MACxC,OAAO,CAACL,MAAM,CAACM,WAAW,EAAEN,MAAM,CAACM,WAAW,EAAEN,MAAM,CAACM,WAAW,CAAC;IACrE,KAAKH,sBAAS,CAACC,iBAAiB,CAACG,IAAI;MACnC,OAAO,CAACP,MAAM,CAACM,WAAW,EAAEN,MAAM,CAACM,WAAW,EAAEN,MAAM,CAACQ,WAAW,CAAC;IACrE,KAAKL,sBAAS,CAACC,iBAAiB,CAACK,IAAI;MACnC,OAAO,CAACT,MAAM,CAACU,WAAW,EAAEV,MAAM,CAACQ,WAAW,EAAER,MAAM,CAACQ,WAAW,CAAC;IACrE;MACE,OAA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,OAAO;IACtBN,IAAI,EAAEb,uBAAuB,CAAC,CAAC;EAAE,CAClC,CAAC,eACFzB,MAAA,CAAAM,OAAA,CAAAoB,aAAA,CAAC5B,eAAA,CAAAyC,IAAI;IACHC,CAAC,EAAC,qCAAqC;IACvCC,MAAM,EAAEhB,uBAAuB,CAAC,CAAC,CAAE;IACnCiB,WAAW,EAAE,CAAE;IACfC,aAAa,EAAC,OAAO;IACrBC,cAAc,EAAC,OAAO;IACtBN,IAAI,EAAEb,uBAAuB,CAAC,CAAC;EAAE,CAClC,CACE,CACD,CAAC;AAEX,CAAC;AAACoB,OAAA,CAAAxB,kCAAA,GAAAA,kCAAA;AAEF,MAAMQ,MAAM,GAAGiB,uBAAU,CAACC,MAAM,CAAC;EAC/BjB,SAAS,EAAE;IACTkB,MAAM,EAAEC,kBAAO,CAACC,QAAQ;IACxBC,SAAS,EAAE,UAAU;IACrBC,mBAAmB,EAAE;EACvB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -28,12 +28,10 @@ const ParticipantReaction = ({
|
|
|
28
28
|
sessionId
|
|
29
29
|
} = participant;
|
|
30
30
|
const call = (0, _videoReactBindings.useCall)();
|
|
31
|
+
const styles = useStyles();
|
|
31
32
|
const {
|
|
32
33
|
theme: {
|
|
33
34
|
typefaces,
|
|
34
|
-
variants: {
|
|
35
|
-
iconSizes
|
|
36
|
-
},
|
|
37
35
|
participantReaction
|
|
38
36
|
}
|
|
39
37
|
} = (0, _ThemeContext.useTheme)();
|
|
@@ -49,20 +47,35 @@ const ParticipantReaction = ({
|
|
|
49
47
|
};
|
|
50
48
|
}, [call, hideAfterTimeoutInMs, sessionId, reaction]);
|
|
51
49
|
const currentReaction = reaction && supportedReactions.find(supportedReaction => supportedReaction.emoji_code === reaction.emoji_code);
|
|
52
|
-
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
53
|
-
style: [styles.container,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}, participantReaction.container]
|
|
50
|
+
return currentReaction?.icon != null && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
51
|
+
style: [styles.container, participantReaction.container]
|
|
52
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
53
|
+
style: styles.reaction
|
|
57
54
|
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
58
55
|
style: [participantReaction.reaction, typefaces.heading6]
|
|
59
|
-
}, currentReaction?.icon));
|
|
56
|
+
}, currentReaction?.icon)));
|
|
60
57
|
};
|
|
61
58
|
exports.ParticipantReaction = ParticipantReaction;
|
|
62
|
-
const
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
59
|
+
const useStyles = () => {
|
|
60
|
+
const {
|
|
61
|
+
theme
|
|
62
|
+
} = (0, _ThemeContext.useTheme)();
|
|
63
|
+
return (0, _react.useMemo)(() => _reactNative.StyleSheet.create({
|
|
64
|
+
container: {
|
|
65
|
+
flex: 1,
|
|
66
|
+
zIndex: _constants.Z_INDEX.IN_FRONT
|
|
67
|
+
},
|
|
68
|
+
reaction: {
|
|
69
|
+
borderRadius: theme.variants.borderRadiusSizes.sm,
|
|
70
|
+
backgroundColor: theme.colors.sheetOverlay,
|
|
71
|
+
alignSelf: 'flex-end',
|
|
72
|
+
marginRight: theme.variants.spacingSizes.md,
|
|
73
|
+
marginTop: theme.variants.spacingSizes.md,
|
|
74
|
+
height: theme.variants.roundButtonSizes.md,
|
|
75
|
+
width: theme.variants.roundButtonSizes.md,
|
|
76
|
+
alignItems: 'center',
|
|
77
|
+
justifyContent: 'center'
|
|
78
|
+
}
|
|
79
|
+
}), [theme]);
|
|
80
|
+
};
|
|
68
81
|
//# sourceMappingURL=ParticipantReaction.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_videoReactBindings","_constants","_ThemeContext","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ParticipantReaction","participant","supportedReactions","defaultEmojiReactions","hideAfterTimeoutInMs","reaction","sessionId","useCall","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_videoReactBindings","_constants","_ThemeContext","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ParticipantReaction","participant","supportedReactions","defaultEmojiReactions","hideAfterTimeoutInMs","reaction","sessionId","useCall","styles","useStyles","theme","typefaces","participantReaction","useTheme","useEffect","timeoutId","setTimeout","resetReaction","clearTimeout","currentReaction","find","supportedReaction","emoji_code","icon","createElement","View","style","container","Text","heading6","exports","useMemo","StyleSheet","create","flex","zIndex","Z_INDEX","IN_FRONT","borderRadius","variants","borderRadiusSizes","sm","backgroundColor","colors","sheetOverlay","alignSelf","marginRight","spacingSizes","md","marginTop","height","roundButtonSizes","width","alignItems","justifyContent"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/ParticipantReaction.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,mBAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AAEA,IAAAI,aAAA,GAAAJ,OAAA;AAA0D,SAAAK,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAP,wBAAAO,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OA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ACRiC,YAAY,EAAE5B,KAAK,CAAC6B,QAAQ,CAACC,iBAAiB,CAACC,EAAE;MACjDC,eAAe,EAAEhC,KAAK,CAACiC,MAAM,CAACC,YAAY;MAC1CC,SAAS,EAAE,UAAU;MACrBC,WAAW,EAAEpC,KAAK,CAAC6B,QAAQ,CAACQ,YAAY,CAACC,EAAE;MAC3CC,SAAS,EAAEvC,KAAK,CAAC6B,QAAQ,CAACQ,YAAY,CAACC,EAAE;MACzCE,MAAM,EAAExC,KAAK,CAAC6B,QAAQ,CAACY,gBAAgB,CAACH,EAAE;MAC1CI,KAAK,EAAE1C,KAAK,CAAC6B,QAAQ,CAACY,gBAAgB,CAACH,EAAE;MACzCK,UAAU,EAAE,QAAQ;MACpBC,cAAc,EAAE;IAClB;EACF,CAAC,CAAC,EACJ,CAAC5C,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -36,11 +36,11 @@ const ParticipantVideoFallback = ({
|
|
|
36
36
|
// Display the Participant name/user id if the image isn't present.
|
|
37
37
|
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
38
38
|
style: [styles.container, {
|
|
39
|
-
backgroundColor: colors.
|
|
39
|
+
backgroundColor: colors.sheetTertiary
|
|
40
40
|
}, participantVideoFallback.container]
|
|
41
41
|
}, !image ? /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
42
42
|
style: [{
|
|
43
|
-
color: colors.
|
|
43
|
+
color: colors.textPrimary
|
|
44
44
|
}, typefaces.bodyBold, participantVideoFallback.label]
|
|
45
45
|
}, participantLabel) : /*#__PURE__*/_react.default.createElement(_utility.Avatar, {
|
|
46
46
|
participant: participant,
|
package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_utility","_ThemeContext","e","__esModule","default","ParticipantVideoFallback","participant","theme","colors","typefaces","participantVideoFallback","useTheme","name","image","userId","participantLabel","createElement","View","style","styles","container","backgroundColor","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_utility","_ThemeContext","e","__esModule","default","ParticipantVideoFallback","participant","theme","colors","typefaces","participantVideoFallback","useTheme","name","image","userId","participantLabel","createElement","View","style","styles","container","backgroundColor","sheetTertiary","Text","color","textPrimary","bodyBold","label","Avatar","avatarContainer","avatarImage","text","avatarText","exports","StyleSheet","create","alignItems","justifyContent","absoluteFillObject"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/ParticipantVideoFallback.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AAEA,IAAAG,aAAA,GAAAH,OAAA;AAA0D,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE1D;AACA;AACA;;AAMA;AACA;AACA;AACO,MAAMG,wBAAwB,GAAGA,CAAC;EACvCC;AAC6B,CAAC,KAAK;EACnC,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC,SAAS;MAAEC;IAAyB;EACvD,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EACd,MAAM;IAAEC,IAAI;IAAEC,KAAK;IAAEC;EAAO,CAAC,GAAGR,WAAW;EAC3C,MAAMS,gBAAgB,GAAGH,IAAI,IAAIE,MAAM;;EAEvC;EACA,oBACElB,MAAA,CAAAQ,OAAA,CAAAY,aAAA,CAACjB,YAAA,CAAAkB,IAAI;IACHC,KAAK,EAAE,CACLC,MAAM,CAACC,SAAS,EAChB;MAAEC,eAAe,EAAEb,MAAM,CAACc;IAAc,CAAC,EACzCZ,wBAAwB,CAACU,SAAS;EAClC,GAED,CAACP,KAAK,gBACLjB,MAAA,CAAAQ,OAAA,CAAAY,aAAA,CAACjB,Y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