@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
|
@@ -27,11 +27,11 @@ const useConnectionQualitySignalColors = (
|
|
|
27
27
|
|
|
28
28
|
switch (connectionQuality) {
|
|
29
29
|
case SfuModels.ConnectionQuality.EXCELLENT:
|
|
30
|
-
return [colors.
|
|
30
|
+
return [colors.iconSuccess, colors.iconSuccess, colors.iconSuccess];
|
|
31
31
|
case SfuModels.ConnectionQuality.GOOD:
|
|
32
|
-
return [colors.
|
|
32
|
+
return [colors.iconSuccess, colors.iconSuccess, colors.iconPrimary];
|
|
33
33
|
case SfuModels.ConnectionQuality.POOR:
|
|
34
|
-
return [colors.
|
|
34
|
+
return [colors.iconWarning, colors.iconPrimary, colors.iconPrimary];
|
|
35
35
|
default:
|
|
36
36
|
return null;
|
|
37
37
|
}
|
|
@@ -57,7 +57,7 @@ export const ParticipantNetworkQualityIndicator = ({
|
|
|
57
57
|
style={[
|
|
58
58
|
styles.container,
|
|
59
59
|
{
|
|
60
|
-
backgroundColor: colors.
|
|
60
|
+
backgroundColor: colors.sheetOverlay,
|
|
61
61
|
height: iconSizes.lg,
|
|
62
62
|
width: iconSizes.lg,
|
|
63
63
|
},
|
|
@@ -98,6 +98,6 @@ const styles = StyleSheet.create({
|
|
|
98
98
|
container: {
|
|
99
99
|
zIndex: Z_INDEX.IN_FRONT,
|
|
100
100
|
alignSelf: 'flex-end',
|
|
101
|
-
|
|
101
|
+
borderTopLeftRadius: 5,
|
|
102
102
|
},
|
|
103
103
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useEffect } from 'react';
|
|
1
|
+
import React, { useEffect, useMemo } from 'react';
|
|
2
2
|
import { StyleSheet, Text, View } from 'react-native';
|
|
3
3
|
import { useCall } from '@stream-io/video-react-bindings';
|
|
4
4
|
import { Z_INDEX, defaultEmojiReactions } from '../../../constants';
|
|
@@ -32,12 +32,9 @@ export const ParticipantReaction = ({
|
|
|
32
32
|
}: ParticipantReactionProps) => {
|
|
33
33
|
const { reaction, sessionId } = participant;
|
|
34
34
|
const call = useCall();
|
|
35
|
+
const styles = useStyles();
|
|
35
36
|
const {
|
|
36
|
-
theme: {
|
|
37
|
-
typefaces,
|
|
38
|
-
variants: { iconSizes },
|
|
39
|
-
participantReaction,
|
|
40
|
-
},
|
|
37
|
+
theme: { typefaces, participantReaction },
|
|
41
38
|
} = useTheme();
|
|
42
39
|
|
|
43
40
|
useEffect(() => {
|
|
@@ -60,26 +57,39 @@ export const ParticipantReaction = ({
|
|
|
60
57
|
);
|
|
61
58
|
|
|
62
59
|
return (
|
|
63
|
-
|
|
64
|
-
style={[
|
|
65
|
-
styles.
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
>
|
|
73
|
-
<Text style={[participantReaction.reaction, typefaces.heading6]}>
|
|
74
|
-
{currentReaction?.icon}
|
|
75
|
-
</Text>
|
|
76
|
-
</View>
|
|
60
|
+
currentReaction?.icon != null && (
|
|
61
|
+
<View style={[styles.container, participantReaction.container]}>
|
|
62
|
+
<View style={styles.reaction}>
|
|
63
|
+
<Text style={[participantReaction.reaction, typefaces.heading6]}>
|
|
64
|
+
{currentReaction?.icon}
|
|
65
|
+
</Text>
|
|
66
|
+
</View>
|
|
67
|
+
</View>
|
|
68
|
+
)
|
|
77
69
|
);
|
|
78
70
|
};
|
|
79
71
|
|
|
80
|
-
const
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
72
|
+
const useStyles = () => {
|
|
73
|
+
const { theme } = useTheme();
|
|
74
|
+
return useMemo(
|
|
75
|
+
() =>
|
|
76
|
+
StyleSheet.create({
|
|
77
|
+
container: {
|
|
78
|
+
flex: 1,
|
|
79
|
+
zIndex: Z_INDEX.IN_FRONT,
|
|
80
|
+
},
|
|
81
|
+
reaction: {
|
|
82
|
+
borderRadius: theme.variants.borderRadiusSizes.sm,
|
|
83
|
+
backgroundColor: theme.colors.sheetOverlay,
|
|
84
|
+
alignSelf: 'flex-end',
|
|
85
|
+
marginRight: theme.variants.spacingSizes.md,
|
|
86
|
+
marginTop: theme.variants.spacingSizes.md,
|
|
87
|
+
height: theme.variants.roundButtonSizes.md,
|
|
88
|
+
width: theme.variants.roundButtonSizes.md,
|
|
89
|
+
alignItems: 'center',
|
|
90
|
+
justifyContent: 'center',
|
|
91
|
+
},
|
|
92
|
+
}),
|
|
93
|
+
[theme]
|
|
94
|
+
);
|
|
95
|
+
};
|
|
@@ -29,18 +29,14 @@ export const ParticipantVideoFallback = ({
|
|
|
29
29
|
<View
|
|
30
30
|
style={[
|
|
31
31
|
styles.container,
|
|
32
|
-
{
|
|
33
|
-
backgroundColor: colors.static_grey,
|
|
34
|
-
},
|
|
32
|
+
{ backgroundColor: colors.sheetTertiary },
|
|
35
33
|
participantVideoFallback.container,
|
|
36
34
|
]}
|
|
37
35
|
>
|
|
38
36
|
{!image ? (
|
|
39
37
|
<Text
|
|
40
38
|
style={[
|
|
41
|
-
{
|
|
42
|
-
color: colors.static_white,
|
|
43
|
-
},
|
|
39
|
+
{ color: colors.textPrimary },
|
|
44
40
|
typefaces.bodyBold,
|
|
45
41
|
participantVideoFallback.label,
|
|
46
42
|
]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { ComponentType } from 'react';
|
|
1
|
+
import React, { ComponentType, useMemo } from 'react';
|
|
2
2
|
import { StyleProp, StyleSheet, View, ViewStyle } from 'react-native';
|
|
3
3
|
import {
|
|
4
4
|
StreamVideoParticipant,
|
|
@@ -113,13 +113,12 @@ export const ParticipantView = ({
|
|
|
113
113
|
theme: { colors, participantView },
|
|
114
114
|
} = useTheme();
|
|
115
115
|
const { isSpeaking, userId } = participant;
|
|
116
|
+
const styles = useStyles();
|
|
116
117
|
const isScreenSharing = trackType === 'screenShareTrack';
|
|
117
118
|
const applySpeakerStyle = isSpeaking && !isScreenSharing;
|
|
118
119
|
const speakerStyle = applySpeakerStyle && [
|
|
119
120
|
styles.highligtedContainer,
|
|
120
|
-
{
|
|
121
|
-
borderColor: colors.primary,
|
|
122
|
-
},
|
|
121
|
+
{ borderColor: colors.buttonPrimary },
|
|
123
122
|
participantView.highligtedContainer,
|
|
124
123
|
];
|
|
125
124
|
|
|
@@ -148,7 +147,13 @@ export const ParticipantView = ({
|
|
|
148
147
|
videoZOrder={videoZOrder}
|
|
149
148
|
/>
|
|
150
149
|
)}
|
|
151
|
-
<View
|
|
150
|
+
<View
|
|
151
|
+
style={[
|
|
152
|
+
styles.footerContainer,
|
|
153
|
+
participantView.footerContainer,
|
|
154
|
+
!ParticipantLabel && styles.networkIndicatorOnly,
|
|
155
|
+
]}
|
|
156
|
+
>
|
|
152
157
|
{ParticipantLabel && (
|
|
153
158
|
<ParticipantLabel participant={participant} trackType={trackType} />
|
|
154
159
|
)}
|
|
@@ -160,20 +165,26 @@ export const ParticipantView = ({
|
|
|
160
165
|
);
|
|
161
166
|
};
|
|
162
167
|
|
|
163
|
-
const
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
168
|
+
const useStyles = () => {
|
|
169
|
+
const { theme } = useTheme();
|
|
170
|
+
return useMemo(
|
|
171
|
+
() =>
|
|
172
|
+
StyleSheet.create({
|
|
173
|
+
container: {
|
|
174
|
+
overflow: 'hidden',
|
|
175
|
+
justifyContent: 'flex-end',
|
|
176
|
+
borderRadius: theme.variants.borderRadiusSizes.md,
|
|
177
|
+
},
|
|
178
|
+
footerContainer: {
|
|
179
|
+
flexDirection: 'row',
|
|
180
|
+
justifyContent: 'space-between',
|
|
181
|
+
alignItems: 'center',
|
|
182
|
+
},
|
|
183
|
+
highligtedContainer: {
|
|
184
|
+
borderWidth: 2,
|
|
185
|
+
},
|
|
186
|
+
networkIndicatorOnly: { justifyContent: 'flex-end' },
|
|
187
|
+
}),
|
|
188
|
+
[theme]
|
|
189
|
+
);
|
|
190
|
+
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import React, { useEffect, useMemo, useState } from 'react';
|
|
2
|
+
import { View, Animated, StyleSheet } from 'react-native';
|
|
3
|
+
import { useTheme } from '../../..';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Props for the SpeechIndicator component.
|
|
7
|
+
*/
|
|
8
|
+
export type SpeechIndicatorProps = {
|
|
9
|
+
/**
|
|
10
|
+
* Indicates whether the participant is speaking.
|
|
11
|
+
* If true, the animation will run, otherwise the bars will remain static.
|
|
12
|
+
*/
|
|
13
|
+
isSpeaking: boolean;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The SpeechIndicator component displays animated bars to indicate speech activity.
|
|
18
|
+
* The bars animate when `isSpeaking` is true, mimicking a sound meter.
|
|
19
|
+
*/
|
|
20
|
+
export const SpeechIndicator = ({ isSpeaking }: SpeechIndicatorProps) => {
|
|
21
|
+
const styles = useStyles();
|
|
22
|
+
|
|
23
|
+
const [animationValues] = useState(() => [
|
|
24
|
+
new Animated.Value(0.6),
|
|
25
|
+
new Animated.Value(0.6),
|
|
26
|
+
new Animated.Value(0.6),
|
|
27
|
+
]);
|
|
28
|
+
|
|
29
|
+
useEffect(() => {
|
|
30
|
+
if (isSpeaking) {
|
|
31
|
+
animationValues.forEach((animatedValue, index) => {
|
|
32
|
+
Animated.loop(
|
|
33
|
+
Animated.sequence([
|
|
34
|
+
Animated.timing(animatedValue, {
|
|
35
|
+
toValue: index % 2 === 0 ? 0.3 : 1.1,
|
|
36
|
+
duration: (index + 1) * 300,
|
|
37
|
+
useNativeDriver: true,
|
|
38
|
+
}),
|
|
39
|
+
Animated.timing(animatedValue, {
|
|
40
|
+
toValue: 0.6,
|
|
41
|
+
duration: (index + 1) * 300,
|
|
42
|
+
useNativeDriver: true,
|
|
43
|
+
}),
|
|
44
|
+
])
|
|
45
|
+
).start();
|
|
46
|
+
});
|
|
47
|
+
} else {
|
|
48
|
+
animationValues.forEach((animatedValue) => {
|
|
49
|
+
animatedValue.setValue(0.3); // Set a smaller value for a reduced default height
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
}, [isSpeaking, animationValues]);
|
|
53
|
+
|
|
54
|
+
const barStyle = (animatedValue: Animated.Value) => ({
|
|
55
|
+
transform: [{ scaleY: animatedValue }],
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
return (
|
|
59
|
+
<View style={[styles.container]}>
|
|
60
|
+
{animationValues.map((animatedValue, index) => (
|
|
61
|
+
<Animated.View
|
|
62
|
+
key={index}
|
|
63
|
+
style={[
|
|
64
|
+
styles.bar,
|
|
65
|
+
isSpeaking ? barStyle(animatedValue) : styles.smallBar, // Apply smaller bar style when not speaking
|
|
66
|
+
]}
|
|
67
|
+
/>
|
|
68
|
+
))}
|
|
69
|
+
</View>
|
|
70
|
+
);
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
const useStyles = () => {
|
|
74
|
+
const { theme } = useTheme();
|
|
75
|
+
return useMemo(
|
|
76
|
+
() =>
|
|
77
|
+
StyleSheet.create({
|
|
78
|
+
container: {
|
|
79
|
+
flexDirection: 'row',
|
|
80
|
+
justifyContent: 'space-between',
|
|
81
|
+
alignItems: 'center',
|
|
82
|
+
height: theme.variants.roundButtonSizes.sm,
|
|
83
|
+
width: theme.variants.roundButtonSizes.sm,
|
|
84
|
+
borderRadius: 5,
|
|
85
|
+
gap: 1,
|
|
86
|
+
backgroundColor: theme.colors.sheetOverlay,
|
|
87
|
+
padding: 5,
|
|
88
|
+
},
|
|
89
|
+
smallBar: {
|
|
90
|
+
height: '30%', // Smaller default height when animation is not running
|
|
91
|
+
},
|
|
92
|
+
bar: {
|
|
93
|
+
width: 3,
|
|
94
|
+
height: '100%',
|
|
95
|
+
backgroundColor: theme.colors.iconSecondary,
|
|
96
|
+
borderRadius: 2,
|
|
97
|
+
},
|
|
98
|
+
}),
|
|
99
|
+
[theme]
|
|
100
|
+
);
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
export default SpeechIndicator;
|
|
@@ -69,9 +69,7 @@ export const Avatar = (props: AvatarProps) => {
|
|
|
69
69
|
height: size,
|
|
70
70
|
width: size,
|
|
71
71
|
},
|
|
72
|
-
{
|
|
73
|
-
backgroundColor: colors.primary,
|
|
74
|
-
},
|
|
72
|
+
{ backgroundColor: colors.primary },
|
|
75
73
|
avatar.container,
|
|
76
74
|
styleProp?.container,
|
|
77
75
|
]}
|
|
@@ -88,7 +86,7 @@ export const Avatar = (props: AvatarProps) => {
|
|
|
88
86
|
<Text
|
|
89
87
|
style={[
|
|
90
88
|
styles.text,
|
|
91
|
-
{ fontSize: size / 2, color: colors.
|
|
89
|
+
{ fontSize: size / 2, color: colors.textPrimary },
|
|
92
90
|
typefaces.heading6,
|
|
93
91
|
avatar.text,
|
|
94
92
|
styleProp?.text,
|
|
@@ -33,7 +33,7 @@ export const ScreenShareOverlay = ({}: ScreenShareOverlayProps) => {
|
|
|
33
33
|
<View
|
|
34
34
|
style={[
|
|
35
35
|
styles.container,
|
|
36
|
-
{ backgroundColor: colors.
|
|
36
|
+
{ backgroundColor: colors.sheetTertiary },
|
|
37
37
|
screenshareOverlay.container,
|
|
38
38
|
]}
|
|
39
39
|
>
|
|
@@ -41,7 +41,7 @@ export const ScreenShareOverlay = ({}: ScreenShareOverlayProps) => {
|
|
|
41
41
|
style={[
|
|
42
42
|
styles.text,
|
|
43
43
|
typefaces.subtitleBold,
|
|
44
|
-
{ color: colors.
|
|
44
|
+
{ color: colors.textPrimary },
|
|
45
45
|
screenshareOverlay.text,
|
|
46
46
|
]}
|
|
47
47
|
>
|
|
@@ -53,7 +53,7 @@ export const ScreenShareOverlay = ({}: ScreenShareOverlayProps) => {
|
|
|
53
53
|
return [
|
|
54
54
|
styles.button,
|
|
55
55
|
{
|
|
56
|
-
backgroundColor: colors.
|
|
56
|
+
backgroundColor: colors.sheetSecondary,
|
|
57
57
|
opacity: pressed ? 0.2 : 1,
|
|
58
58
|
},
|
|
59
59
|
screenshareOverlay.button,
|
|
@@ -67,12 +67,12 @@ export const ScreenShareOverlay = ({}: ScreenShareOverlayProps) => {
|
|
|
67
67
|
screenshareOverlay.buttonIcon,
|
|
68
68
|
]}
|
|
69
69
|
>
|
|
70
|
-
<StopScreenShare color={colors.
|
|
70
|
+
<StopScreenShare size={iconSizes.xs} color={colors.iconPrimary} />
|
|
71
71
|
</View>
|
|
72
72
|
<Text
|
|
73
73
|
style={[
|
|
74
74
|
styles.buttonText,
|
|
75
|
-
{ color: colors.
|
|
75
|
+
{ color: colors.textPrimary },
|
|
76
76
|
screenshareOverlay.buttonText,
|
|
77
77
|
]}
|
|
78
78
|
>
|
package/src/constants/TestIds.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export enum IconTestIds {
|
|
2
2
|
MUTED_VIDEO = 'muted-video-icon',
|
|
3
3
|
HANG_UP_CALL = 'hang-up-call-icon',
|
|
4
|
+
PHONE = 'phone-icon',
|
|
4
5
|
SCREEN_SHARE_INDICATOR = 'screen-share-indicator-icon',
|
|
5
6
|
SCREEN_SHARE = 'screen-share-icon',
|
|
6
7
|
}
|
|
@@ -15,7 +16,6 @@ export enum ComponentTestIds {
|
|
|
15
16
|
PARTICIPANTS_INFO = 'participants-info',
|
|
16
17
|
PARTICIPANT_SCREEN_SHARING = 'participant-screen-sharing',
|
|
17
18
|
REACTIONS_PICKER = 'reactions-picker',
|
|
18
|
-
CHAT_UNREAD_BADGE_COUNT_INDICATOR = 'chat-unread-badge-count-indicator',
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
export enum ButtonTestIds {
|
package/src/constants/index.ts
CHANGED
|
@@ -6,9 +6,13 @@ export const FLOATING_VIDEO_VIEW_STYLE = {
|
|
|
6
6
|
borderRadius: 10,
|
|
7
7
|
};
|
|
8
8
|
|
|
9
|
-
export const LOBBY_VIDEO_VIEW_HEIGHT = 240;
|
|
10
|
-
|
|
11
9
|
export const defaultEmojiReactions: StreamReactionType[] = [
|
|
10
|
+
{
|
|
11
|
+
type: 'reaction',
|
|
12
|
+
emoji_code: ':rolling_on_the_floor_laughing:',
|
|
13
|
+
custom: {},
|
|
14
|
+
icon: '🤣',
|
|
15
|
+
},
|
|
12
16
|
{
|
|
13
17
|
type: 'reaction',
|
|
14
18
|
emoji_code: ':like:',
|
|
@@ -16,10 +20,16 @@ export const defaultEmojiReactions: StreamReactionType[] = [
|
|
|
16
20
|
icon: '👍',
|
|
17
21
|
},
|
|
18
22
|
{
|
|
19
|
-
type: '
|
|
20
|
-
emoji_code: ':
|
|
23
|
+
type: 'reaction',
|
|
24
|
+
emoji_code: ':rocket:',
|
|
21
25
|
custom: {},
|
|
22
|
-
icon: '
|
|
26
|
+
icon: '🚀',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
type: 'reaction',
|
|
30
|
+
emoji_code: ':dislike:',
|
|
31
|
+
custom: {},
|
|
32
|
+
icon: '👎',
|
|
23
33
|
},
|
|
24
34
|
{
|
|
25
35
|
type: 'reaction',
|
|
@@ -27,6 +37,18 @@ export const defaultEmojiReactions: StreamReactionType[] = [
|
|
|
27
37
|
custom: {},
|
|
28
38
|
icon: '🎉',
|
|
29
39
|
},
|
|
40
|
+
{
|
|
41
|
+
type: 'reaction',
|
|
42
|
+
emoji_code: ':raised-hands:',
|
|
43
|
+
custom: {},
|
|
44
|
+
icon: '🙌',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
type: 'raised-hand',
|
|
48
|
+
emoji_code: ':raised-hand:',
|
|
49
|
+
custom: {},
|
|
50
|
+
icon: '✋',
|
|
51
|
+
},
|
|
30
52
|
];
|
|
31
53
|
|
|
32
54
|
export const Z_INDEX = {
|
|
@@ -4,12 +4,13 @@ import { ColorValue } from 'react-native/types';
|
|
|
4
4
|
|
|
5
5
|
type Props = {
|
|
6
6
|
color: ColorValue;
|
|
7
|
+
size: number;
|
|
7
8
|
};
|
|
8
9
|
|
|
9
|
-
export const CameraSwitch = ({ color }: Props) => (
|
|
10
|
-
<Svg viewBox=
|
|
10
|
+
export const CameraSwitch = ({ color, size }: Props) => (
|
|
11
|
+
<Svg viewBox={'0 0 24 24'} width={size} height={size}>
|
|
11
12
|
<Path
|
|
12
|
-
d="
|
|
13
|
+
d="M20 5.5H16.83L15.59 4.15C15.22 3.74 14.68 3.5 14.12 3.5H9.88C9.32 3.5 8.78 3.74 8.4 4.15L7.17 5.5H4C2.9 5.5 2 6.4 2 7.5V19.5C2 20.6 2.9 21.5 4 21.5H20C21.1 21.5 22 20.6 22 19.5V7.5C22 6.4 21.1 5.5 20 5.5ZM13.67 18.2C13.15 18.39 12.59 18.5 12 18.5C9.24 18.5 7 16.26 7 13.5H5L7.5 11L10 13.5H8C8 15.71 9.79 17.5 12 17.5C12.46 17.5 12.91 17.42 13.32 17.27C13.51 17.2 13.71 17.24 13.85 17.38C14.11 17.64 14.01 18.07 13.67 18.2ZM16.5 16L14 13.5H16C16 11.29 14.21 9.5 12 9.5C11.54 9.5 11.09 9.58 10.68 9.73C10.49 9.8 10.29 9.76 10.15 9.62C9.89 9.36 9.99 8.93 10.33 8.8C10.85 8.61 11.41 8.5 12 8.5C14.76 8.5 17 10.74 17 13.5H19L16.5 16Z"
|
|
13
14
|
fill={color}
|
|
14
15
|
/>
|
|
15
16
|
</Svg>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import { View, StyleSheet } from 'react-native';
|
|
4
|
+
|
|
5
|
+
export const IconWrapper = ({ children }: { children: ReactNode }) => {
|
|
6
|
+
return <View style={styles.container}>{children}</View>;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
const styles = StyleSheet.create({
|
|
10
|
+
container: {
|
|
11
|
+
justifyContent: 'center',
|
|
12
|
+
alignItems: 'center',
|
|
13
|
+
flex: 1,
|
|
14
|
+
},
|
|
15
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
import { ColorValue } from 'react-native/types';
|
|
4
|
+
|
|
5
|
+
type Props = {
|
|
6
|
+
color: ColorValue;
|
|
7
|
+
size: number;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export const Lock = ({ color, size }: Props) => {
|
|
11
|
+
return (
|
|
12
|
+
<Svg viewBox={'0 0 23 25'} width={size} height={size}>
|
|
13
|
+
<Path
|
|
14
|
+
fill={color}
|
|
15
|
+
d="M15.1992 23.5273C15.2852 23.3164 15.3281 23.1055 15.3281 22.8945C15.3281 22.3633 15.1836 21.8438 14.8945 21.3359L9.82031 12.2539C9.53125 11.7305 9.13672 11.332 8.63672 11.0586C8.14453 10.7773 7.625 10.6367 7.07812 10.6367C6.96094 10.6367 6.86719 10.6406 6.79688 10.6484C6.96875 10.4531 7.17188 10.293 7.40625 10.168C7.64844 10.043 7.92578 9.96484 8.23828 9.93359V7.08594C8.23828 5.98438 8.39844 5.02344 8.71875 4.20312C9.04688 3.38281 9.49219 2.70312 10.0547 2.16406C10.6172 1.61719 11.2539 1.21094 11.9648 0.945312C12.6758 0.671875 13.4141 0.535156 14.1797 0.535156C14.9453 0.535156 15.6836 0.671875 16.3945 0.945312C17.1055 1.21094 17.7422 1.61719 18.3047 2.16406C18.8672 2.70312 19.3125 3.38281 19.6406 4.20312C19.9688 5.02344 20.1328 5.98438 20.1328 7.08594V9.93359C20.7969 10.0273 21.3008 10.3047 21.6445 10.7656C21.9961 11.2188 22.1719 11.8516 22.1719 12.6641V20.7383C22.1719 21.6602 21.9492 22.3555 21.5039 22.8242C21.0586 23.293 20.4062 23.5273 19.5469 23.5273H15.1992ZM10.0898 9.88672H18.2695V6.82812C18.2695 5.84375 18.0781 5.01562 17.6953 4.34375C17.3203 3.67188 16.8203 3.16406 16.1953 2.82031C15.5781 2.47656 14.9062 2.30469 14.1797 2.30469C13.4453 2.30469 12.7695 2.47656 12.1523 2.82031C11.5352 3.16406 11.0352 3.67188 10.6523 4.34375C10.2773 5.01562 10.0898 5.84375 10.0898 6.82812V9.88672ZM1.98047 24.4648C1.49609 24.4648 1.11328 24.3125 0.832031 24.0078C0.542969 23.7031 0.398438 23.332 0.398438 22.8945C0.398438 22.6211 0.46875 22.3633 0.609375 22.1211L5.68359 13.0391C5.83203 12.7734 6.03125 12.5742 6.28125 12.4414C6.53125 12.3008 6.78906 12.2305 7.05469 12.2305C7.32031 12.2305 7.57422 12.3008 7.81641 12.4414C8.05859 12.5742 8.25781 12.7734 8.41406 13.0391L13.5 22.1094C13.6406 22.3594 13.7109 22.6211 13.7109 22.8945C13.7109 23.332 13.5664 23.7031 13.2773 24.0078C12.9961 24.3125 12.6133 24.4648 12.1289 24.4648H1.98047ZM7.05469 22.6836C7.32812 22.6836 7.55859 22.5859 7.74609 22.3906C7.94141 22.1953 8.04297 21.9609 8.05078 21.6875C8.05078 21.4219 7.95312 21.1914 7.75781 20.9961C7.5625 20.8008 7.32812 20.7031 7.05469 20.7031C6.78906 20.7031 6.55859 20.8008 6.36328 20.9961C6.16797 21.1914 6.07031 21.4219 6.07031 21.6875C6.07031 21.9609 6.16797 22.1953 6.36328 22.3906C6.55859 22.5859 6.78906 22.6836 7.05469 22.6836ZM7.05469 19.8828C7.26562 19.8828 7.43359 19.8203 7.55859 19.6953C7.69141 19.5703 7.76172 19.4062 7.76953 19.2031L7.86328 15.8516C7.87109 15.6172 7.80078 15.4258 7.65234 15.2773C7.50391 15.1211 7.30469 15.043 7.05469 15.043C6.8125 15.043 6.61719 15.1211 6.46875 15.2773C6.32031 15.4258 6.25 15.6172 6.25781 15.8516L6.35156 19.2031C6.35156 19.4062 6.41797 19.5703 6.55078 19.6953C6.68359 19.8203 6.85156 19.8828 7.05469 19.8828Z"
|
|
16
|
+
/>
|
|
17
|
+
</Svg>
|
|
18
|
+
);
|
|
19
|
+
};
|
package/src/icons/Mic.tsx
CHANGED
|
@@ -4,16 +4,13 @@ import { ColorValue } from 'react-native/types';
|
|
|
4
4
|
|
|
5
5
|
type Props = {
|
|
6
6
|
color: ColorValue;
|
|
7
|
+
size: number;
|
|
7
8
|
};
|
|
8
9
|
|
|
9
|
-
export const Mic = ({ color }: Props) => (
|
|
10
|
-
<Svg viewBox=
|
|
10
|
+
export const Mic = ({ color, size }: Props) => (
|
|
11
|
+
<Svg viewBox={'0 0 27 27'} width={size} height={size}>
|
|
11
12
|
<Path
|
|
12
|
-
d="
|
|
13
|
-
fill={color}
|
|
14
|
-
/>
|
|
15
|
-
<Path
|
|
16
|
-
d="M18.407 13.295c0 3.96-3.318 7.176-7.407 7.176-4.09 0-7.408-3.215-7.408-7.176H.63c0 5.066 3.867 9.228 8.89 9.931v4.42h2.962v-4.42c5.022-.703 8.89-4.865 8.89-9.931h-2.964Z"
|
|
13
|
+
d="M13.9992 16.9166C15.9358 16.9166 17.4992 15.3533 17.4992 13.4166V6.41663C17.4992 4.47996 15.9358 2.91663 13.9992 2.91663C12.0625 2.91663 10.4992 4.47996 10.4992 6.41663V13.4166C10.4992 15.3533 12.0625 16.9166 13.9992 16.9166ZM20.8942 13.4166C20.3225 13.4166 19.8442 13.8366 19.7508 14.4083C19.2725 17.15 16.8808 19.25 13.9992 19.25C11.1175 19.25 8.72584 17.15 8.2475 14.4083C8.15417 13.8366 7.67584 13.4166 7.10417 13.4166C6.3925 13.4166 5.8325 14.0466 5.9375 14.7466C6.50917 18.2466 9.30917 20.9883 12.8325 21.49V23.9166C12.8325 24.5583 13.3575 25.0833 13.9992 25.0833C14.6408 25.0833 15.1658 24.5583 15.1658 23.9166V21.49C18.6892 20.9883 21.4892 18.2466 22.0608 14.7466C22.1775 14.0466 21.6058 13.4166 20.8942 13.4166Z"
|
|
17
14
|
fill={color}
|
|
18
15
|
/>
|
|
19
16
|
</Svg>
|
package/src/icons/MicOff.tsx
CHANGED
|
@@ -4,12 +4,13 @@ import { ColorValue } from 'react-native/types';
|
|
|
4
4
|
|
|
5
5
|
type Props = {
|
|
6
6
|
color: ColorValue;
|
|
7
|
+
size: number;
|
|
7
8
|
};
|
|
8
9
|
|
|
9
|
-
export const MicOff = ({ color }: Props) => (
|
|
10
|
-
<Svg viewBox=
|
|
10
|
+
export const MicOff = ({ color, size }: Props) => (
|
|
11
|
+
<Svg viewBox={'0 0 27 27'} width={size} height={size}>
|
|
11
12
|
<Path
|
|
12
|
-
d="
|
|
13
|
+
d="M17.9067 12.95V6.41663C17.9067 4.47996 16.3434 2.91663 14.4067 2.91663C12.61 2.91663 11.1517 4.26996 10.9534 6.00829L17.9067 12.95ZM21.5 13.4166C21.0217 13.4166 20.6017 13.7666 20.5317 14.245C20.4734 14.6183 20.3917 14.9916 20.2751 15.33L21.7567 16.8116C22.1067 16.1116 22.3634 15.3533 22.4917 14.5483C22.5734 13.9533 22.1067 13.4166 21.5 13.4166ZM4.73505 4.73663C4.28005 5.19163 4.28005 5.92663 4.73505 6.38163L10.9067 12.565V13.0666C10.9067 14.455 11.6067 15.7733 12.8084 16.4616C13.6834 16.9633 14.4534 16.975 15.165 16.8233L17.1017 18.76C16.2734 19.145 15.3517 19.3666 14.4067 19.3666C11.4434 19.3666 8.71338 17.3016 8.28172 14.245C8.21172 13.7666 7.79172 13.4166 7.31338 13.4166C6.70672 13.4166 6.24005 13.9533 6.32172 14.5483C6.85838 18.0016 9.77505 20.7316 13.24 21.2566V23.9166C13.24 24.5583 13.765 25.0833 14.4067 25.0833C15.0484 25.0833 15.5734 24.5583 15.5734 23.9166V21.2566C16.635 21.105 17.6384 20.7316 18.5484 20.2066L22.6201 24.2783C23.0751 24.7333 23.8101 24.7333 24.2651 24.2783C24.7201 23.8233 24.7201 23.0883 24.2651 22.6333L6.38005 4.73663C5.92505 4.28163 5.19005 4.28163 4.73505 4.73663Z"
|
|
13
14
|
fill={color}
|
|
14
15
|
/>
|
|
15
16
|
</Svg>
|
package/src/icons/Phone.tsx
CHANGED
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Svg, Path } from 'react-native-svg';
|
|
3
3
|
import { ColorValue } from 'react-native/types';
|
|
4
|
+
import { IconTestIds } from '../constants/TestIds';
|
|
4
5
|
|
|
5
6
|
type Props = {
|
|
6
7
|
color: ColorValue;
|
|
8
|
+
size: number;
|
|
7
9
|
};
|
|
8
10
|
|
|
9
|
-
export const Phone = ({ color }: Props) => (
|
|
10
|
-
<Svg
|
|
11
|
+
export const Phone = ({ color, size }: Props) => (
|
|
12
|
+
<Svg
|
|
13
|
+
viewBox="0 0 24 9"
|
|
14
|
+
width={size}
|
|
15
|
+
height={size}
|
|
16
|
+
style={{ transform: [{ rotate: '-130deg' }] }}
|
|
17
|
+
testID={IconTestIds.PHONE}
|
|
18
|
+
>
|
|
11
19
|
<Path
|
|
12
|
-
d="
|
|
20
|
+
d="M12 0.0546875C16.4531 0.0449219 20.5156 0.962891 22.5566 3.00391C23.4648 3.91211 23.9727 5.02539 23.9336 6.38281C23.9043 7.19336 23.6406 7.87695 23.1621 8.33594C22.7617 8.73633 22.2246 8.9707 21.5898 8.86328L17.9863 8.25781C17.4004 8.16016 17.0098 7.98438 16.7559 7.73047C16.4238 7.39844 16.3262 6.91992 16.3164 6.28516L16.3066 5.26953C16.3066 5.11328 16.248 4.98633 16.1504 4.89844C16.043 4.79102 15.8965 4.73242 15.7891 4.69336C15.0957 4.49805 13.709 4.39062 12 4.39062C10.291 4.39062 8.89453 4.54688 8.21094 4.69336C8.09375 4.72266 7.9375 4.78125 7.83008 4.89844C7.74219 4.99609 7.67383 5.11328 7.67383 5.26953V6.28516C7.66406 6.91992 7.56641 7.4082 7.23438 7.73047C6.98047 7.98438 6.58984 8.16016 6.01367 8.25781L2.37109 8.87305C1.74609 8.9707 1.22852 8.75586 0.837891 8.36523C0.369141 7.89648 0.105469 7.19336 0.0761719 6.39258C0.0078125 5.03516 0.486328 3.92188 1.4043 3.00391C3.44531 0.962891 7.53711 0.0546875 12 0.0546875Z"
|
|
13
21
|
fill={color}
|
|
14
22
|
/>
|
|
15
23
|
</Svg>
|
package/src/icons/PhoneDown.tsx
CHANGED
|
@@ -5,12 +5,18 @@ import { IconTestIds } from '../constants/TestIds';
|
|
|
5
5
|
|
|
6
6
|
type Props = {
|
|
7
7
|
color: ColorValue;
|
|
8
|
+
size: number;
|
|
8
9
|
};
|
|
9
10
|
|
|
10
|
-
export const PhoneDown = ({ color }: Props) => (
|
|
11
|
-
<Svg
|
|
11
|
+
export const PhoneDown = ({ color, size }: Props) => (
|
|
12
|
+
<Svg
|
|
13
|
+
viewBox={'0 0 24 9'}
|
|
14
|
+
width={size}
|
|
15
|
+
height={size}
|
|
16
|
+
testID={IconTestIds.HANG_UP_CALL}
|
|
17
|
+
>
|
|
12
18
|
<Path
|
|
13
|
-
d="
|
|
19
|
+
d="M12 0.0546875C16.4531 0.0449219 20.5156 0.962891 22.5566 3.00391C23.4648 3.91211 23.9727 5.02539 23.9336 6.38281C23.9043 7.19336 23.6406 7.87695 23.1621 8.33594C22.7617 8.73633 22.2246 8.9707 21.5898 8.86328L17.9863 8.25781C17.4004 8.16016 17.0098 7.98438 16.7559 7.73047C16.4238 7.39844 16.3262 6.91992 16.3164 6.28516L16.3066 5.26953C16.3066 5.11328 16.248 4.98633 16.1504 4.89844C16.043 4.79102 15.8965 4.73242 15.7891 4.69336C15.0957 4.49805 13.709 4.39062 12 4.39062C10.291 4.39062 8.89453 4.54688 8.21094 4.69336C8.09375 4.72266 7.9375 4.78125 7.83008 4.89844C7.74219 4.99609 7.67383 5.11328 7.67383 5.26953V6.28516C7.66406 6.91992 7.56641 7.4082 7.23438 7.73047C6.98047 7.98438 6.58984 8.16016 6.01367 8.25781L2.37109 8.87305C1.74609 8.9707 1.22852 8.75586 0.837891 8.36523C0.369141 7.89648 0.105469 7.19336 0.0761719 6.39258C0.0078125 5.03516 0.486328 3.92188 1.4043 3.00391C3.44531 0.962891 7.53711 0.0546875 12 0.0546875Z"
|
|
14
20
|
fill={color}
|
|
15
21
|
/>
|
|
16
22
|
</Svg>
|
|
@@ -4,10 +4,11 @@ import { ColorValue } from 'react-native/types';
|
|
|
4
4
|
|
|
5
5
|
type Props = {
|
|
6
6
|
color: ColorValue;
|
|
7
|
+
size: number;
|
|
7
8
|
};
|
|
8
9
|
|
|
9
|
-
export const PinVertical = ({ color }: Props) => (
|
|
10
|
-
<Svg viewBox="0 0 21 20">
|
|
10
|
+
export const PinVertical = ({ color, size }: Props) => (
|
|
11
|
+
<Svg viewBox="0 0 21 20" width={size} height={size}>
|
|
11
12
|
<Path
|
|
12
13
|
fill={color}
|
|
13
14
|
d="M12.0682 3.45222V7.46363C12.0682 8.36218 12.365 9.19656 12.8705 9.87047H8.05678C8.57827 9.18051 8.85906 8.34614 8.85906 7.46363V3.45222H12.0682ZM14.475 1.84766H6.45222C6.01096 1.84766 5.64994 2.20868 5.64994 2.64994C5.64994 3.09119 6.01096 3.45222 6.45222 3.45222H7.2545V7.46363C7.2545 8.79541 6.17944 9.87047 4.84766 9.87047V11.475H9.63728V17.091L10.4396 17.8933L11.2418 17.091V11.475H16.0796V9.87047C14.7478 9.87047 13.6728 8.79541 13.6728 7.46363V3.45222H14.475C14.9163 3.45222 15.2773 3.09119 15.2773 2.64994C15.2773 2.20868 14.9163 1.84766 14.475 1.84766Z"
|