@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
|
@@ -12,6 +12,7 @@ var _StopScreenShare = require("../../../icons/StopScreenShare");
|
|
|
12
12
|
var _CallControlsButton = require("./CallControlsButton");
|
|
13
13
|
var _ThemeContext = require("../../../contexts/ThemeContext");
|
|
14
14
|
var _useScreenShareButton = require("../../../hooks/useScreenShareButton");
|
|
15
|
+
var _icons = require("../../../icons");
|
|
15
16
|
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); }
|
|
16
17
|
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; }
|
|
17
18
|
/**
|
|
@@ -29,7 +30,8 @@ const ScreenShareToggleButton = ({
|
|
|
29
30
|
const {
|
|
30
31
|
theme: {
|
|
31
32
|
colors,
|
|
32
|
-
screenShareToggleButton
|
|
33
|
+
screenShareToggleButton,
|
|
34
|
+
variants
|
|
33
35
|
}
|
|
34
36
|
} = (0, _ThemeContext.useTheme)();
|
|
35
37
|
const screenCapturePickerViewiOSRef = (0, _react.useRef)(null);
|
|
@@ -40,16 +42,18 @@ const ScreenShareToggleButton = ({
|
|
|
40
42
|
if (!onPress) return null;
|
|
41
43
|
return /*#__PURE__*/_react.default.createElement(_CallControlsButton.CallControlsButton, {
|
|
42
44
|
onPress: onPress,
|
|
43
|
-
color: hasPublishedScreenShare ? colors.
|
|
45
|
+
color: hasPublishedScreenShare ? colors.buttonWarning : colors.buttonSecondary,
|
|
44
46
|
style: {
|
|
45
47
|
container: screenShareToggleButton.container,
|
|
46
48
|
svgContainer: screenShareToggleButton.svgContainer
|
|
47
49
|
}
|
|
48
|
-
}, hasPublishedScreenShare ? /*#__PURE__*/_react.default.createElement(_StopScreenShare.StopScreenShare, {
|
|
49
|
-
|
|
50
|
+
}, /*#__PURE__*/_react.default.createElement(_icons.IconWrapper, null, hasPublishedScreenShare ? /*#__PURE__*/_react.default.createElement(_StopScreenShare.StopScreenShare, {
|
|
51
|
+
size: variants.iconSizes.md,
|
|
52
|
+
color: colors.iconPrimary
|
|
50
53
|
}) : /*#__PURE__*/_react.default.createElement(_ScreenShare.ScreenShare, {
|
|
51
|
-
|
|
52
|
-
|
|
54
|
+
size: variants.iconSizes.md,
|
|
55
|
+
color: colors.iconPrimary
|
|
56
|
+
})), _reactNative.Platform.OS === 'ios' && /*#__PURE__*/_react.default.createElement(_reactNativeWebrtc.ScreenCapturePickerView, {
|
|
53
57
|
ref: screenCapturePickerViewiOSRef
|
|
54
58
|
}));
|
|
55
59
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeWebrtc","_ScreenShare","_StopScreenShare","_CallControlsButton","_ThemeContext","_useScreenShareButton","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ScreenShareToggleButton","onScreenShareStartedHandler","onScreenShareStoppedHandler","theme","colors","screenShareToggleButton","useTheme","screenCapturePickerViewiOSRef","useRef","onPress","hasPublishedScreenShare","useScreenShareButton","createElement","CallControlsButton","color","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeWebrtc","_ScreenShare","_StopScreenShare","_CallControlsButton","_ThemeContext","_useScreenShareButton","_icons","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ScreenShareToggleButton","onScreenShareStartedHandler","onScreenShareStoppedHandler","theme","colors","screenShareToggleButton","variants","useTheme","screenCapturePickerViewiOSRef","useRef","onPress","hasPublishedScreenShare","useScreenShareButton","createElement","CallControlsButton","color","buttonWarning","buttonSecondary","style","container","svgContainer","IconWrapper","StopScreenShare","size","iconSizes","md","iconPrimary","ScreenShare","Platform","OS","ScreenCapturePickerView","ref","exports"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ScreenShareToggleButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,kBAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AACA,IAAAI,gBAAA,GAAAJ,OAAA;AACA,IAAAK,mBAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAN,OAAA;AACA,IAAAO,qBAAA,GAAAP,OAAA;AACA,IAAAQ,MAAA,GAAAR,OAAA;AAA6C,SAAAS,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,SAAAX,wBAAAW,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,wB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BJ,OAAO,EAAEA,OAAQ;IACjBK,KAAK,EACHJ,uBAAuB,GAAGP,MAAM,CAACY,aAAa,GAAGZ,MAAM,CAACa,eACzD;IACDC,KAAK,EAAE;MACLC,SAAS,EAAEd,uBAAuB,CAACc,SAAS;MAC5CC,YAAY,EAAEf,uBAAuB,CAACe;IACxC;EAAE,gBAEFnD,MAAA,CAAAiB,OAAA,CAAA2B,aAAA,CAAClC,MAAA,CAAA0C,WAAW,QACTV,uBAAuB,gBACtB1C,MAAA,CAAAiB,OAAA,CAAA2B,aAAA,CAACtC,gBAAA,CAAA+C,eAAe;IACdC,IAAI,EAAEjB,QAAQ,CAACkB,SAAS,CAACC,EAAG;IAC5BV,KAAK,EAAEX,MAAM,CAACsB;EAAY,CAC3B,CAAC,gBAEFzD,MAAA,CAAAiB,OAAA,CAAA2B,aAAA,CAACvC,YAAA,CAAAqD,WAAW;IACVJ,IAAI,EAAEjB,QAAQ,CAACkB,SAAS,CAACC,EAAG;IAC5BV,KAAK,EAAEX,MAAM,CAACsB;EAAY,CAC3B,CAEQ,CAAC,EACbE,qBAAQ,CAACC,EAAE,KAAK,KAAK,iBACpB5D,MAAA,CAAAiB,OAAA,CAAA2B,aAAA,CAACxC,kBAAA,CAAAyD,uBAAuB;IAACC,GAAG,EAAEvB;EAA8B,CAAE,CAE9C,CAAC;AAEzB,CAAC;AAACwB,OAAA,CAAAhC,uBAAA,GAAAA,uBAAA","ignoreList":[]}
|
|
@@ -26,7 +26,8 @@ const ToggleAudioPreviewButton = ({
|
|
|
26
26
|
toggleAudioPreviewButton,
|
|
27
27
|
variants: {
|
|
28
28
|
buttonSizes
|
|
29
|
-
}
|
|
29
|
+
},
|
|
30
|
+
defaults
|
|
30
31
|
}
|
|
31
32
|
} = (0, _contexts.useTheme)();
|
|
32
33
|
const {
|
|
@@ -45,20 +46,19 @@ const ToggleAudioPreviewButton = ({
|
|
|
45
46
|
};
|
|
46
47
|
return /*#__PURE__*/_react.default.createElement(_CallControlsButton.CallControlsButton, {
|
|
47
48
|
onPress: onPress,
|
|
48
|
-
color: !optimisticIsMute ? colors.
|
|
49
|
+
color: !optimisticIsMute ? colors.buttonSecondary : colors.buttonWarning,
|
|
49
50
|
size: buttonSizes.md,
|
|
50
51
|
style: {
|
|
51
|
-
container:
|
|
52
|
-
shadowColor: !optimisticIsMute ? colors.static_white : colors.static_black,
|
|
53
|
-
...toggleAudioPreviewButton.container
|
|
54
|
-
},
|
|
52
|
+
container: toggleAudioPreviewButton.container,
|
|
55
53
|
svgContainer: toggleAudioPreviewButton.svgContainer
|
|
56
54
|
}
|
|
57
|
-
}, !optimisticIsMute ? /*#__PURE__*/_react.default.createElement(_icons.Mic, {
|
|
58
|
-
color: colors.
|
|
55
|
+
}, /*#__PURE__*/_react.default.createElement(_icons.IconWrapper, null, !optimisticIsMute ? /*#__PURE__*/_react.default.createElement(_icons.Mic, {
|
|
56
|
+
color: colors.iconPrimary,
|
|
57
|
+
size: defaults.iconSize
|
|
59
58
|
}) : /*#__PURE__*/_react.default.createElement(_icons.MicOff, {
|
|
60
|
-
color: colors.
|
|
61
|
-
|
|
59
|
+
color: colors.iconPrimary,
|
|
60
|
+
size: defaults.iconSize
|
|
61
|
+
})));
|
|
62
62
|
};
|
|
63
63
|
exports.ToggleAudioPreviewButton = ToggleAudioPreviewButton;
|
|
64
64
|
//# sourceMappingURL=ToggleAudioPreviewButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_videoReactBindings","require","_react","_interopRequireDefault","_contexts","_icons","_CallControlsButton","e","__esModule","default","ToggleAudioPreviewButton","onPressHandler","theme","colors","toggleAudioPreviewButton","variants","buttonSizes","useTheme","useMicrophoneState","useCallStateHooks","optimisticIsMute","microphone","onPress","toggle","createElement","CallControlsButton","color","
|
|
1
|
+
{"version":3,"names":["_videoReactBindings","require","_react","_interopRequireDefault","_contexts","_icons","_CallControlsButton","e","__esModule","default","ToggleAudioPreviewButton","onPressHandler","theme","colors","toggleAudioPreviewButton","variants","buttonSizes","defaults","useTheme","useMicrophoneState","useCallStateHooks","optimisticIsMute","microphone","onPress","toggle","createElement","CallControlsButton","color","buttonSecondary","buttonWarning","size","md","style","container","svgContainer","IconWrapper","Mic","iconPrimary","iconSize","MicOff","exports"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleAudioPreviewButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,mBAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,mBAAA,GAAAL,OAAA;AAA0D,SAAAE,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE1D;AACA;AACA;;AASA;AACA;AACA;AACO,MAAMG,wBAAwB,GAAGA,CAAC;EACvCC;AAC6B,CAAC,KAAK;EACnC,MAAM;IACJC,KAAK,EAAE;MACLC,MAAM;MACNC,wBAAwB;MACxBC,QAAQ,EAAE;QAAEC;MAAY,CAAC;MACzBC;IACF;EACF,CAAC,GAAG,IAAAC,kBAAQ,EAAC,CAAC;EACd,MAAM;IAAEC;EAAmB,CAAC,GAAG,IAAAC,qCAAiB,EAAC,CAAC;EAClD,MAAM;IAAEC,gBAAgB;IAAEC;EAAW,CAAC,GAAGH,kBAAkB,CAAC,CAAC;EAE7D,MAAMI,OAAO,GAAG,MAAAA,CAAA,KAAY;IAC1B,IAAIZ,cAAc,EAAE;MAClBA,cAAc,CAAC,CAAC;MAChB;IACF;IACA,MAAMW,UAAU,CAACE,MAAM,CAAC,CAAC;EAC3B,CAAC;EAED,oBACEtB,MAAA,CAAAO,OAAA,CAAAgB,aAAA,CAACnB,mBAAA,CAAAoB,kBAAkB;IACjBH,OAAO,EAAEA,OAAQ;IACjBI,KAAK,EAAE,CAACN,gBAAgB,GAAGR,MAAM,CAACe,eAAe,GAAGf,MAAM,CAACgB,aAAc;IACzEC,IAAI,EAAEd,WAAW,CAACe,EAAG;IACrBC,KAAK,EAAE;MACLC,SAAS,EAAEnB,wBAAwB,CAACmB,SAAS;MAC7CC,YAAY,EAAEpB,wBAAwB,CAACoB;IACzC;EAAE,gBAEFhC,MAAA,CAAAO,OAAA,CAAAgB,aAAA,CAACpB,MAAA,CAAA8B,WAAW,QACT,CAACd,gBAAgB,gBAChBnB,MAAA,CAAAO,OAAA,CAAAgB,aAAA,CAACpB,MAAA,CAAA+B,GAAG;IAACT,KAAK,EAAEd,MAAM,CAACwB,WAAY;IAACP,IAAI,EAAEb,QAAQ,CAACqB;EAAS,CAAE,CAAC,gBAE3DpC,MAAA,CAAAO,OAAA,CAAAgB,aAAA,CAACpB,MAAA,CAAAkC,MAAM;IAACZ,KAAK,EAAEd,MAAM,CAACwB,WAAY;IAACP,IAAI,EAAEb,QAAQ,CAACqB;EAAS,CAAE,CAEpD,CACK,CAAC;AAEzB,CAAC;AAACE,OAAA,CAAA9B,wBAAA,GAAAA,wBAAA","ignoreList":[]}
|
|
@@ -31,7 +31,8 @@ const ToggleAudioPublishingButton = ({
|
|
|
31
31
|
const {
|
|
32
32
|
theme: {
|
|
33
33
|
colors,
|
|
34
|
-
toggleAudioPublishingButton
|
|
34
|
+
toggleAudioPublishingButton,
|
|
35
|
+
defaults
|
|
35
36
|
}
|
|
36
37
|
} = (0, _ThemeContext.useTheme)();
|
|
37
38
|
const onPress = async () => {
|
|
@@ -45,13 +46,15 @@ const ToggleAudioPublishingButton = ({
|
|
|
45
46
|
requiredGrants: [_videoClient.OwnCapability.SEND_AUDIO]
|
|
46
47
|
}, /*#__PURE__*/_react.default.createElement(_CallControlsButton.CallControlsButton, {
|
|
47
48
|
onPress: onPress,
|
|
48
|
-
color: !optimisticIsMute ? colors.
|
|
49
|
+
color: !optimisticIsMute ? colors.buttonSecondary : colors.buttonWarning,
|
|
49
50
|
style: toggleAudioPublishingButton
|
|
50
|
-
}, !optimisticIsMute ? /*#__PURE__*/_react.default.createElement(_icons.Mic, {
|
|
51
|
-
color: colors.
|
|
51
|
+
}, /*#__PURE__*/_react.default.createElement(_icons.IconWrapper, null, !optimisticIsMute ? /*#__PURE__*/_react.default.createElement(_icons.Mic, {
|
|
52
|
+
color: colors.iconPrimary,
|
|
53
|
+
size: defaults.iconSize
|
|
52
54
|
}) : /*#__PURE__*/_react.default.createElement(_icons.MicOff, {
|
|
53
|
-
color: colors.
|
|
54
|
-
|
|
55
|
+
color: colors.iconPrimary,
|
|
56
|
+
size: defaults.iconSize
|
|
57
|
+
}))));
|
|
55
58
|
};
|
|
56
59
|
exports.ToggleAudioPublishingButton = ToggleAudioPublishingButton;
|
|
57
60
|
//# sourceMappingURL=ToggleAudioPublishingButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_videoClient","_videoReactBindings","_CallControlsButton","_icons","_ThemeContext","e","__esModule","default","ToggleAudioPublishingButton","onPressHandler","useMicrophoneState","useCallStateHooks","optimisticIsMute","microphone","theme","colors","toggleAudioPublishingButton","useTheme","onPress","toggle","createElement","Restricted","requiredGrants","OwnCapability","SEND_AUDIO","CallControlsButton","color","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_videoClient","_videoReactBindings","_CallControlsButton","_icons","_ThemeContext","e","__esModule","default","ToggleAudioPublishingButton","onPressHandler","useMicrophoneState","useCallStateHooks","optimisticIsMute","microphone","theme","colors","toggleAudioPublishingButton","defaults","useTheme","onPress","toggle","createElement","Restricted","requiredGrants","OwnCapability","SEND_AUDIO","CallControlsButton","color","buttonSecondary","buttonWarning","style","IconWrapper","Mic","iconPrimary","size","iconSize","MicOff","exports"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleAudioPublishingButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IA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B,GAAG;IAACL,KAAK,EAAEZ,MAAM,CAACkB,WAAY;IAACC,IAAI,EAAEjB,QAAQ,CAACkB;EAAS,CAAE,CAAC,gBAE3DtC,MAAA,CAAAU,OAAA,CAAAc,aAAA,CAAClB,MAAA,CAAAiC,MAAM;IAACT,KAAK,EAAEZ,MAAM,CAACkB,WAAY;IAACC,IAAI,EAAEjB,QAAQ,CAACkB;EAAS,CAAE,CAEpD,CACK,CACV,CAAC;AAEjB,CAAC;AAACE,OAAA,CAAA7B,2BAAA,GAAAA,2BAAA","ignoreList":[]}
|
|
@@ -19,7 +19,8 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
19
19
|
* Button to toggle camera face(front/back) when in the call.
|
|
20
20
|
*/
|
|
21
21
|
const ToggleCameraFaceButton = ({
|
|
22
|
-
onPressHandler
|
|
22
|
+
onPressHandler,
|
|
23
|
+
backgroundColor
|
|
23
24
|
}) => {
|
|
24
25
|
const {
|
|
25
26
|
useCameraState,
|
|
@@ -35,7 +36,8 @@ const ToggleCameraFaceButton = ({
|
|
|
35
36
|
const {
|
|
36
37
|
theme: {
|
|
37
38
|
colors,
|
|
38
|
-
toggleCameraFaceButton
|
|
39
|
+
toggleCameraFaceButton,
|
|
40
|
+
variants
|
|
39
41
|
}
|
|
40
42
|
} = (0, _ThemeContext.useTheme)();
|
|
41
43
|
const onPress = async () => {
|
|
@@ -52,12 +54,14 @@ const ToggleCameraFaceButton = ({
|
|
|
52
54
|
requiredGrants: [_videoClient.OwnCapability.SEND_VIDEO]
|
|
53
55
|
}, /*#__PURE__*/_react.default.createElement(_CallControlsButton.CallControlsButton, {
|
|
54
56
|
onPress: onPress,
|
|
55
|
-
color:
|
|
57
|
+
color: backgroundColor || colors.buttonSecondary,
|
|
58
|
+
disabledColor: backgroundColor || colors.sheetSecondary,
|
|
56
59
|
disabled: optimisticIsMute,
|
|
57
60
|
style: toggleCameraFaceButton
|
|
58
|
-
}, /*#__PURE__*/_react.default.createElement(_icons.CameraSwitch, {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
+
}, /*#__PURE__*/_react.default.createElement(_icons.IconWrapper, null, /*#__PURE__*/_react.default.createElement(_icons.CameraSwitch, {
|
|
62
|
+
size: variants.iconSizes.md,
|
|
63
|
+
color: optimisticIsMute ? colors.buttonDisabled : direction === 'front' || direction === undefined ? colors.iconPrimary : colors.buttonPrimary
|
|
64
|
+
}))));
|
|
61
65
|
};
|
|
62
66
|
exports.ToggleCameraFaceButton = ToggleCameraFaceButton;
|
|
63
67
|
//# sourceMappingURL=ToggleCameraFaceButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_videoClient","require","_videoReactBindings","_react","_interopRequireDefault","_CallControlsButton","_icons","_ThemeContext","e","__esModule","default","ToggleCameraFaceButton","onPressHandler","useCameraState","useCallSettings","useCallStateHooks","camera","optimisticIsMute","direction","callSettings","isVideoEnabledInCall","video","enabled","theme","colors","toggleCameraFaceButton","useTheme","onPress","flip","createElement","Restricted","requiredGrants","OwnCapability","SEND_VIDEO","CallControlsButton","color","
|
|
1
|
+
{"version":3,"names":["_videoClient","require","_videoReactBindings","_react","_interopRequireDefault","_CallControlsButton","_icons","_ThemeContext","e","__esModule","default","ToggleCameraFaceButton","onPressHandler","backgroundColor","useCameraState","useCallSettings","useCallStateHooks","camera","optimisticIsMute","direction","callSettings","isVideoEnabledInCall","video","enabled","theme","colors","toggleCameraFaceButton","variants","useTheme","onPress","flip","createElement","Restricted","requiredGrants","OwnCapability","SEND_VIDEO","CallControlsButton","color","buttonSecondary","disabledColor","sheetSecondary","disabled","style","IconWrapper","CameraSwitch","size","iconSizes","md","buttonDisabled","undefined","iconPrimary","buttonPrimary","exports"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleCameraFaceButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,mBAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAC,sBAAA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AIY,MAAM,CAACe,cAAe;IACxDC,QAAQ,EAAEvB,gBAAiB;IAC3BwB,KAAK,EAAEhB;EAAuB,gBAE9BvB,MAAA,CAAAO,OAAA,CAAAqB,aAAA,CAACzB,MAAA,CAAAqC,WAAW,qBACVxC,MAAA,CAAAO,OAAA,CAAAqB,aAAA,CAACzB,MAAA,CAAAsC,YAAY;IACXC,IAAI,EAAElB,QAAQ,CAACmB,SAAS,CAACC,EAAG;IAC5BV,KAAK,EACHnB,gBAAgB,GACZO,MAAM,CAACuB,cAAc,GACrB7B,SAAS,KAAK,OAAO,IAAIA,SAAS,KAAK8B,SAAS,GAC9CxB,MAAM,CAACyB,WAAW,GAClBzB,MAAM,CAAC0B;EACd,CACF,CACU,CACK,CACV,CAAC;AAEjB,CAAC;AAACC,OAAA,CAAAzC,sBAAA,GAAAA,sBAAA","ignoreList":[]}
|
|
@@ -25,7 +25,8 @@ const ToggleVideoPreviewButton = ({
|
|
|
25
25
|
colors,
|
|
26
26
|
toggleVideoPreviewButton,
|
|
27
27
|
variants: {
|
|
28
|
-
buttonSizes
|
|
28
|
+
buttonSizes,
|
|
29
|
+
iconSizes
|
|
29
30
|
}
|
|
30
31
|
}
|
|
31
32
|
} = (0, _contexts.useTheme)();
|
|
@@ -51,20 +52,19 @@ const ToggleVideoPreviewButton = ({
|
|
|
51
52
|
}
|
|
52
53
|
return /*#__PURE__*/_react.default.createElement(_CallControlsButton.CallControlsButton, {
|
|
53
54
|
onPress: onPress,
|
|
54
|
-
color: !optimisticIsMute ? colors.
|
|
55
|
+
color: !optimisticIsMute ? colors.buttonSecondary : colors.buttonWarning,
|
|
55
56
|
size: buttonSizes.md,
|
|
56
57
|
style: {
|
|
57
|
-
container:
|
|
58
|
-
shadowColor: !optimisticIsMute ? colors.static_white : colors.static_black,
|
|
59
|
-
...toggleVideoPreviewButton.container
|
|
60
|
-
},
|
|
58
|
+
container: toggleVideoPreviewButton.container,
|
|
61
59
|
svgContainer: toggleVideoPreviewButton.svgContainer
|
|
62
60
|
}
|
|
63
|
-
}, !optimisticIsMute ? /*#__PURE__*/_react.default.createElement(_icons.Video, {
|
|
64
|
-
color: colors.
|
|
61
|
+
}, /*#__PURE__*/_react.default.createElement(_icons.IconWrapper, null, !optimisticIsMute ? /*#__PURE__*/_react.default.createElement(_icons.Video, {
|
|
62
|
+
color: colors.iconPrimary,
|
|
63
|
+
size: iconSizes.lg
|
|
65
64
|
}) : /*#__PURE__*/_react.default.createElement(_icons.VideoSlash, {
|
|
66
|
-
color: colors.
|
|
67
|
-
|
|
65
|
+
color: colors.iconPrimary,
|
|
66
|
+
size: iconSizes.lg
|
|
67
|
+
})));
|
|
68
68
|
};
|
|
69
69
|
exports.ToggleVideoPreviewButton = ToggleVideoPreviewButton;
|
|
70
70
|
//# sourceMappingURL=ToggleVideoPreviewButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_videoReactBindings","_contexts","_CallControlsButton","_icons","e","__esModule","default","ToggleVideoPreviewButton","onPressHandler","theme","colors","toggleVideoPreviewButton","variants","buttonSizes","useTheme","useCameraState","useCallSettings","useCallStateHooks","callSettings","isVideoEnabledInCall","video","enabled","optimisticIsMute","camera","onPress","toggle","createElement","CallControlsButton","color","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_videoReactBindings","_contexts","_CallControlsButton","_icons","e","__esModule","default","ToggleVideoPreviewButton","onPressHandler","theme","colors","toggleVideoPreviewButton","variants","buttonSizes","iconSizes","useTheme","useCameraState","useCallSettings","useCallStateHooks","callSettings","isVideoEnabledInCall","video","enabled","optimisticIsMute","camera","onPress","toggle","createElement","CallControlsButton","color","buttonSecondary","buttonWarning","size","md","style","container","svgContainer","IconWrapper","Video","iconPrimary","lg","VideoSlash","exports"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleVideoPreviewButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;A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B,SAAS;MAC7CC,YAAY,EAAEzB,wBAAwB,CAACyB;IACzC;EAAE,gBAEFvC,MAAA,CAAAS,OAAA,CAAAqB,aAAA,CAACxB,MAAA,CAAAkC,WAAW,QACT,CAACd,gBAAgB,gBAChB1B,MAAA,CAAAS,OAAA,CAAAqB,aAAA,CAACxB,MAAA,CAAAmC,KAAK;IAACT,KAAK,EAAEnB,MAAM,CAAC6B,WAAY;IAACP,IAAI,EAAElB,SAAS,CAAC0B;EAAG,CAAE,CAAC,gBAExD3C,MAAA,CAAAS,OAAA,CAAAqB,aAAA,CAACxB,MAAA,CAAAsC,UAAU;IAACZ,KAAK,EAAEnB,MAAM,CAAC6B,WAAY;IAACP,IAAI,EAAElB,SAAS,CAAC0B;EAAG,CAAE,CAEnD,CACK,CAAC;AAEzB,CAAC;AAACE,OAAA,CAAAnC,wBAAA,GAAAA,wBAAA","ignoreList":[]}
|
|
@@ -33,7 +33,8 @@ const ToggleVideoPublishingButton = ({
|
|
|
33
33
|
const isVideoEnabledInCall = callSettings?.video.enabled;
|
|
34
34
|
const {
|
|
35
35
|
theme: {
|
|
36
|
-
colors
|
|
36
|
+
colors,
|
|
37
|
+
variants
|
|
37
38
|
}
|
|
38
39
|
} = (0, _ThemeContext.useTheme)();
|
|
39
40
|
const onPress = async () => {
|
|
@@ -50,12 +51,14 @@ const ToggleVideoPublishingButton = ({
|
|
|
50
51
|
requiredGrants: [_videoClient.OwnCapability.SEND_VIDEO]
|
|
51
52
|
}, /*#__PURE__*/_react.default.createElement(_CallControlsButton.CallControlsButton, {
|
|
52
53
|
onPress: onPress,
|
|
53
|
-
color: !optimisticIsMute ? colors.
|
|
54
|
-
}, !optimisticIsMute ? /*#__PURE__*/_react.default.createElement(_icons.Video, {
|
|
55
|
-
color: colors.
|
|
54
|
+
color: !optimisticIsMute ? colors.buttonSecondary : colors.buttonWarning
|
|
55
|
+
}, /*#__PURE__*/_react.default.createElement(_icons.IconWrapper, null, !optimisticIsMute ? /*#__PURE__*/_react.default.createElement(_icons.Video, {
|
|
56
|
+
color: colors.iconPrimary,
|
|
57
|
+
size: variants.iconSizes.md
|
|
56
58
|
}) : /*#__PURE__*/_react.default.createElement(_icons.VideoSlash, {
|
|
57
|
-
color: colors.
|
|
58
|
-
|
|
59
|
+
color: colors.iconPrimary,
|
|
60
|
+
size: variants.iconSizes.md
|
|
61
|
+
}))));
|
|
59
62
|
};
|
|
60
63
|
exports.ToggleVideoPublishingButton = ToggleVideoPublishingButton;
|
|
61
64
|
//# sourceMappingURL=ToggleVideoPublishingButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_videoClient","_videoReactBindings","_CallControlsButton","_icons","_ThemeContext","e","__esModule","default","ToggleVideoPublishingButton","onPressHandler","useCameraState","useCallSettings","useCallStateHooks","camera","optimisticIsMute","callSettings","isVideoEnabledInCall","video","enabled","theme","colors","useTheme","onPress","toggle","createElement","Restricted","requiredGrants","OwnCapability","SEND_VIDEO","CallControlsButton","color","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_videoClient","_videoReactBindings","_CallControlsButton","_icons","_ThemeContext","e","__esModule","default","ToggleVideoPublishingButton","onPressHandler","useCameraState","useCallSettings","useCallStateHooks","camera","optimisticIsMute","callSettings","isVideoEnabledInCall","video","enabled","theme","colors","variants","useTheme","onPress","toggle","createElement","Restricted","requiredGrants","OwnCapability","SEND_VIDEO","CallControlsButton","color","buttonSecondary","buttonWarning","IconWrapper","Video","iconPrimary","size","iconSizes","md","VideoSlash","exports"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleVideoPublishingButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,mBAAA,GAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,aAAA,G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,MAAA,CAAAgC,KAAK;IAACJ,KAAK,EAAEX,MAAM,CAACgB,WAAY;IAACC,IAAI,EAAEhB,QAAQ,CAACiB,SAAS,CAACC;EAAG,CAAE,CAAC,gBAEjE1C,MAAA,CAAAU,OAAA,CAAAkB,aAAA,CAACtB,MAAA,CAAAqC,UAAU;IACTT,KAAK,EAAEX,MAAM,CAACgB,WAAY;IAC1BC,IAAI,EAAEhB,QAAQ,CAACiB,SAAS,CAACC;EAAG,CAC7B,CAEQ,CACK,CACV,CAAC;AAEjB,CAAC;AAACE,OAAA,CAAAjC,2BAAA,GAAAA,2BAAA","ignoreList":[]}
|
|
@@ -91,17 +91,6 @@ Object.keys(_ToggleCameraFaceButton).forEach(function (key) {
|
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
93
|
});
|
|
94
|
-
var _ChatButton = require("./ChatButton");
|
|
95
|
-
Object.keys(_ChatButton).forEach(function (key) {
|
|
96
|
-
if (key === "default" || key === "__esModule") return;
|
|
97
|
-
if (key in exports && exports[key] === _ChatButton[key]) return;
|
|
98
|
-
Object.defineProperty(exports, key, {
|
|
99
|
-
enumerable: true,
|
|
100
|
-
get: function () {
|
|
101
|
-
return _ChatButton[key];
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
});
|
|
105
94
|
var _ReactionsButton = require("./ReactionsButton");
|
|
106
95
|
Object.keys(_ReactionsButton).forEach(function (key) {
|
|
107
96
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_AcceptCallButton","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_RejectCallButton","_HangupCallButton","_ToggleAudioPreviewButton","_ToggleVideoPreviewButton","_ToggleAudioPublishingButton","_ToggleVideoPublishingButton","_ToggleCameraFaceButton","
|
|
1
|
+
{"version":3,"names":["_AcceptCallButton","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_RejectCallButton","_HangupCallButton","_ToggleAudioPreviewButton","_ToggleVideoPreviewButton","_ToggleAudioPublishingButton","_ToggleVideoPublishingButton","_ToggleCameraFaceButton","_ReactionsButton","_CallControls","_CallControlsButton","_LobbyControls","_IncomingCallControls","_OutgoingCallControls","_ScreenShareToggleButton"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/index.tsx"],"mappings":";;;;;AAAA,IAAAA,iBAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,iBAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,iBAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,iBAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,iBAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,iBAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,iBAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,iBAAA,CAAAL,GAAA;IAAA;EAAA;AAAA;AACA,IAAAM,iBAAA,GAAAV,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAQ,iBAAA,EAAAP,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAM,iBAAA,CAAAN,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAA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,GAAA;IAAA;EAAA;AAAA;AACA,IAAAiB,qBAAA,GAAArB,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAmB,qBAAA,EAAAlB,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAiB,qBAAA,CAAAjB,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAa,qBAAA,CAAAjB,GAAA;IAAA;EAAA;AAAA;AACA,IAAAkB,wBAAA,GAAAtB,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAoB,wBAAA,EAAAnB,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAkB,wBAAA,CAAAlB,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAc,wBAAA,CAAAlB,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -13,8 +13,6 @@ var _ThemeContext = require("../../../../contexts/ThemeContext");
|
|
|
13
13
|
var _constants = require("../../../../constants");
|
|
14
14
|
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); }
|
|
15
15
|
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
|
-
const TOP_PADDING = 4;
|
|
17
|
-
const REACTION_MARGIN_BOTTOM = 4;
|
|
18
16
|
const ReactionsPicker = ({
|
|
19
17
|
supportedReactions = _constants.defaultEmojiReactions,
|
|
20
18
|
reactionsButtonLayoutRectangle,
|
|
@@ -23,17 +21,19 @@ const ReactionsPicker = ({
|
|
|
23
21
|
const {
|
|
24
22
|
theme: {
|
|
25
23
|
colors,
|
|
26
|
-
reactionsPicker
|
|
24
|
+
reactionsPicker,
|
|
25
|
+
variants
|
|
27
26
|
}
|
|
28
27
|
} = (0, _ThemeContext.useTheme)();
|
|
28
|
+
const styles = useStyles();
|
|
29
29
|
const call = (0, _videoReactBindings.useCall)();
|
|
30
30
|
const size = reactionsButtonLayoutRectangle?.width ?? 0;
|
|
31
31
|
const reactionItemSize = size * 0.8;
|
|
32
32
|
const popupHeight =
|
|
33
33
|
// the top padding
|
|
34
|
-
|
|
34
|
+
variants.spacingSizes.xs +
|
|
35
35
|
// take margins into account
|
|
36
|
-
|
|
36
|
+
variants.spacingSizes.xs * supportedReactions.length +
|
|
37
37
|
// the size of the reaction icon items (same size as reactions button * amount of reactions)
|
|
38
38
|
reactionItemSize * supportedReactions.length;
|
|
39
39
|
const reactionsPopupStyle = {
|
|
@@ -89,7 +89,7 @@ const ReactionsPicker = ({
|
|
|
89
89
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactNative.Pressable, {
|
|
90
90
|
testID: _TestIds.ComponentTestIds.REACTIONS_PICKER,
|
|
91
91
|
style: [styles.reactionsPopup, reactionsPopupStyle, {
|
|
92
|
-
backgroundColor: colors.
|
|
92
|
+
backgroundColor: colors.sheetSecondary
|
|
93
93
|
}, reactionsPicker.reactionsPopup],
|
|
94
94
|
onPress: () => {
|
|
95
95
|
onClose();
|
|
@@ -97,8 +97,7 @@ const ReactionsPicker = ({
|
|
|
97
97
|
}, supportedReactions.map(supportedReaction => /*#__PURE__*/_react.default.createElement(_reactNative.Pressable, {
|
|
98
98
|
key: supportedReaction.emoji_code,
|
|
99
99
|
style: [styles.reactionItem, reactionItemStyle, {
|
|
100
|
-
|
|
101
|
-
backgroundColor: colors.overlay
|
|
100
|
+
backgroundColor: colors.buttonSecondary
|
|
102
101
|
}, reactionsPicker.reactionItem],
|
|
103
102
|
onPress: () => {
|
|
104
103
|
onClose({
|
|
@@ -117,29 +116,34 @@ const ReactionsPicker = ({
|
|
|
117
116
|
}, reactionsPicker.reactionText]
|
|
118
117
|
}, supportedReaction.icon)))), /*#__PURE__*/_react.default.createElement(_reactNative.Pressable, {
|
|
119
118
|
style: [reactionsButtonDimmerStyle, {
|
|
120
|
-
backgroundColor: colors.
|
|
119
|
+
backgroundColor: colors.sheetSecondary
|
|
121
120
|
}, reactionsPicker.reactionsButtonDimmer],
|
|
122
121
|
onPress: () => onClose()
|
|
123
122
|
}));
|
|
124
123
|
};
|
|
125
124
|
exports.ReactionsPicker = ReactionsPicker;
|
|
126
|
-
const
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
}
|
|
125
|
+
const useStyles = () => {
|
|
126
|
+
const {
|
|
127
|
+
theme
|
|
128
|
+
} = (0, _ThemeContext.useTheme)();
|
|
129
|
+
return (0, _react.useMemo)(() => _reactNative.StyleSheet.create({
|
|
130
|
+
reactionsPopup: {
|
|
131
|
+
position: 'absolute',
|
|
132
|
+
alignItems: 'center',
|
|
133
|
+
paddingTop: theme.variants.spacingSizes.xs
|
|
134
|
+
},
|
|
135
|
+
reactionsButtonDimmer: {
|
|
136
|
+
position: 'absolute',
|
|
137
|
+
opacity: 0.5
|
|
138
|
+
},
|
|
139
|
+
reactionItem: {
|
|
140
|
+
alignItems: 'center',
|
|
141
|
+
justifyContent: 'center',
|
|
142
|
+
marginBottom: theme.variants.spacingSizes.xs
|
|
143
|
+
},
|
|
144
|
+
reactionText: {
|
|
145
|
+
fontSize: 18.5
|
|
146
|
+
}
|
|
147
|
+
}), [theme]);
|
|
148
|
+
};
|
|
145
149
|
//# sourceMappingURL=ReactionsPicker.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_videoReactBindings","_videoClient","_TestIds","_ThemeContext","_constants","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_videoReactBindings","_videoClient","_TestIds","_ThemeContext","_constants","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ReactionsPicker","supportedReactions","defaultEmojiReactions","reactionsButtonLayoutRectangle","onRequestedClose","theme","colors","reactionsPicker","variants","useTheme","styles","useStyles","useCall","size","width","reactionItemSize","popupHeight","spacingSizes","xs","length","reactionsPopupStyle","top","y","left","x","height","borderTopStartRadius","borderTopEndRadius","elasticAnimRef","useRef","Animated","Value","useEffect","timing","current","toValue","duration","useNativeDriver","easing","Easing","elastic","start","reactionItemStyle","borderRadius","reactionsButtonDimmerStyle","reactionsButtonDimmer","onClose","reaction","sendReaction","catch","logger","getLogger","linear","createElement","Fragment","Pressable","testID","ComponentTestIds","REACTIONS_PICKER","style","reactionsPopup","backgroundColor","sheetSecondary","onPress","map","supportedReaction","key","emoji_code","reactionItem","buttonSecondary","type","custom","Text","reactionText","transform","scaleY","scaleX","icon","exports","useMemo","StyleSheet","create","position","alignItems","paddingTop","opacity","justifyContent","marginBottom","fontSize"],"sourceRoot":"../../../../../../src","sources":["components/Call/CallControls/internal/ReactionsPicker.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAOA,IAAAE,mBAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAL,OAAA;AAEA,IAAAM,UAAA,GAAAN,OAAA;AAA8D,SAAAO,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,SAAAT,wBAAAS,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,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAhB,CAAA,EAAAc,CAAA,SAAAG,CAAA,GAAAP,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,EAAAc,CAAA,UAAAG,CAAA,KAAAA,CAAA,CAAAV,GAAA,IAAAU,CAAA,CAAAC,GAAA,IAAAP,MAAA,CAAAC,cAAA,CAAAJ,CAAA,EAAAM,CA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C5B,GAEDR,iBAAiB,CAACY,IACN,CACN,CACZ,CACQ,CAAC,eAEZ1G,MAAA,CAAAe,OAAA,CAAAmE,aAAA,CAAC/E,YAAA,CAAAiF,SAAS;IACRI,KAAK,EAAE,CACLf,0BAA0B,EAC1B;MACEiB,eAAe,EAAEvD,MAAM,CAACwD;IAC1B,CAAC,EACDvD,eAAe,CAACsC,qBAAqB,CACrC;IACFkB,OAAO,EAAEA,CAAA,KAAMjB,OAAO,CAAC;EAAE,CAC1B,CACD,CAAC;AAEP,CAAC;AAACgC,OAAA,CAAA9E,eAAA,GAAAA,eAAA;AAEF,MAAMW,SAAS,GAAGA,CAAA,KAAM;EACtB,MAAM;IAAEN;EAAM,CAAC,GAAG,IAAAI,sBAAQ,EAAC,CAAC;EAC5B,OAAO,IAAAsE,cAAO,EACZ,MACEC,uBAAU,CAACC,MAAM,CAAC;IAChBrB,cAAc,EAAE;MACdsB,QAAQ,EAAE,UAAU;MACpBC,UAAU,EAAE,QAAQ;MACpBC,UAAU,EAAE/E,KAAK,CAACG,QAAQ,CAACS,YAAY,CAACC;IAC1C,CAAC;IACD2B,qBAAqB,EAAE;MACrBqC,QAAQ,EAAE,UAAU;MACpBG,OAAO,EAAE;IACX,CAAC;IACDjB,YAAY,EAAE;MACZe,UAAU,EAAE,QAAQ;MACpBG,cAAc,EAAE,QAAQ;MACxBC,YAAY,EAAElF,KAAK,CAACG,QAAQ,CAACS,YAAY,CAACC;IAC5C,CAAC;IACDuD,YAAY,EAAE;MACZe,QAAQ,EAAE;IACZ;EACF,CAAC,CAAC,EACJ,CAACnF,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -70,7 +70,7 @@ const CallParticipantsGrid = ({
|
|
|
70
70
|
};
|
|
71
71
|
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
72
72
|
style: [styles.container, landscapeStyles, {
|
|
73
|
-
backgroundColor: colors.
|
|
73
|
+
backgroundColor: colors.sheetPrimary
|
|
74
74
|
}, callParticipantsGrid.container],
|
|
75
75
|
testID: _TestIds.ComponentTestIds.CALL_PARTICIPANTS_GRID
|
|
76
76
|
}, CallParticipantsList && /*#__PURE__*/_react.default.createElement(CallParticipantsList, _extends({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_videoReactBindings","_useDebouncedValue","_CallParticipantsList","_TestIds","_ThemeContext","_useIsInPiPMode","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","CallParticipantsGrid","CallParticipantsList","DefaultCallParticipantsList","ParticipantLabel","ParticipantNetworkQualityIndicator","ParticipantReaction","ParticipantVideoFallback","ParticipantView","VideoRenderer","showLocalParticipant","supportedReactions","landscape","disablePictureInPicture","theme","colors","callParticipantsGrid","useTheme","useRemoteParticipants","useParticipants","useLocalParticipant","useCallStateHooks","_remoteParticipants","localParticipant","_allParticipants","remoteParticipants","useDebouncedValue","allParticipants","landscapeStyles","flexDirection","isInPiPMode","useIsInPiPMode","showFloatingView","participants","participantViewProps","createElement","View","style","styles","container","backgroundColor","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_videoReactBindings","_useDebouncedValue","_CallParticipantsList","_TestIds","_ThemeContext","_useIsInPiPMode","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","CallParticipantsGrid","CallParticipantsList","DefaultCallParticipantsList","ParticipantLabel","ParticipantNetworkQualityIndicator","ParticipantReaction","ParticipantVideoFallback","ParticipantView","VideoRenderer","showLocalParticipant","supportedReactions","landscape","disablePictureInPicture","theme","colors","callParticipantsGrid","useTheme","useRemoteParticipants","useParticipants","useLocalParticipant","useCallStateHooks","_remoteParticipants","localParticipant","_allParticipants","remoteParticipants","useDebouncedValue","allParticipants","landscapeStyles","flexDirection","isInPiPMode","useIsInPiPMode","showFloatingView","participants","participantViewProps","createElement","View","style","styles","container","backgroundColor","sheetPrimary","testID","ComponentTestIds","CALL_PARTICIPANTS_GRID","exports","StyleSheet","create","flex"],"sourceRoot":"../../../../../src","sources":["components/Call/CallLayout/CallParticipantsGrid.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,mBAAA,GAAAF,OAAA;AACA,IAAAG,kBAAA,GAAAH,OAAA;AACA,IAAAI,qBAAA,GAAAJ,OAAA;AAIA,IAAAK,QAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAN,OAAA;AAGA,IAAAO,eAAA,GAAAP,OAAA;AAA+D,SAAAD,uBAAAS,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,SAAA,WAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,CAAA,aAAAP,CAAA,MAAAA,CAAA,GAAAQ,SAAA,CAAAC,MAAA,EAAAT,CAAA,UAAAU,CAAA,GAAAF,SAAA,CAAAR,CAAA,YAAAW,CAAA,IAAAD,CAAA,OAAAE,cAAA,CAAAC,IAAA,CAAAH,CAAA,EAAAC,CAAA,MAAAJ,CAAA,CAAAI,CAAA,IAAAD,CAAA,CAAAC,CAAA,aAAAJ,CAAA,KAAAJ,QAAA,CAAAW,KAAA,OAAAN,SAAA;AAG/D;AACA;AACA;;AAkBA;AACA;AACA;AACO,MAAMO,oBAAoB,GAAGA,CAAC;EACnCC,oBAAoB,GAAGC,0CAA2B;EAClDC,gBAAgB;EAChBC,kCAAkC;EAClCC,mBAAmB;EACnBC,wBAAwB;EACxBC,eAAe;EACfC,aAAa;EACbC,oBAAoB,GAAG,KAAK;EAC5BC,kBAAkB;EAClBC,SAAS;EACTC;AACyB,CAAC,KAAK;EAC/B,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAq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