@stream-io/video-react-native-sdk 1.3.7 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/commonjs/components/Call/CallContent/CallContent.js +25 -20
- package/dist/commonjs/components/Call/CallContent/CallContent.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js +8 -6
- package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/CallControls.js +2 -2
- package/dist/commonjs/components/Call/CallControls/CallControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/CallControlsButton.js +11 -18
- package/dist/commonjs/components/Call/CallControls/CallControlsButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/HangupCallButton.js +8 -13
- package/dist/commonjs/components/Call/CallControls/HangupCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js +5 -1
- package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/LobbyControls.js +16 -9
- package/dist/commonjs/components/Call/CallControls/LobbyControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ReactionsButton.js +3 -3
- package/dist/commonjs/components/Call/CallControls/ReactionsButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/RejectCallButton.js +8 -6
- package/dist/commonjs/components/Call/CallControls/RejectCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js +10 -6
- package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js +10 -10
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js +9 -6
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js +10 -6
- package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js +10 -10
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js +9 -6
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/index.js +0 -11
- package/dist/commonjs/components/Call/CallControls/index.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js +32 -28
- package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js +1 -1
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js +31 -25
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
- package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js +32 -17
- package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
- package/dist/commonjs/components/Call/Lobby/JoinCallButton.js +21 -14
- package/dist/commonjs/components/Call/Lobby/JoinCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/Lobby/Lobby.js +66 -94
- package/dist/commonjs/components/Call/Lobby/Lobby.js.map +1 -1
- package/dist/commonjs/components/Call/Lobby/LobbyFooter.js +60 -23
- package/dist/commonjs/components/Call/Lobby/LobbyFooter.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js +6 -7
- package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js +6 -7
- package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js +0 -4
- package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js +3 -3
- package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js.map +1 -1
- package/dist/commonjs/components/Call/index.js +0 -11
- package/dist/commonjs/components/Call/index.js.map +1 -1
- package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js +31 -20
- package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js +2 -2
- package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +7 -5
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +5 -3
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +7 -5
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +2 -2
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js +1 -1
- package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js +2 -2
- package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js +2 -2
- package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js +2 -2
- package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
- package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js +16 -5
- package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
- package/dist/commonjs/components/Participant/FloatingParticipantView/index.js +6 -5
- package/dist/commonjs/components/Participant/FloatingParticipantView/index.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js +72 -49
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +5 -5
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js +28 -15
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js +2 -2
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js +29 -21
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js +86 -0
- package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -0
- package/dist/commonjs/components/utility/Avatar.js +1 -1
- package/dist/commonjs/components/utility/Avatar.js.map +1 -1
- package/dist/commonjs/components/utility/ScreenShareOverlay.js +6 -5
- package/dist/commonjs/components/utility/ScreenShareOverlay.js.map +1 -1
- package/dist/commonjs/constants/TestIds.js +1 -1
- package/dist/commonjs/constants/TestIds.js.map +1 -1
- package/dist/commonjs/constants/index.js +24 -5
- package/dist/commonjs/constants/index.js.map +1 -1
- package/dist/commonjs/icons/CameraSwitch.js +6 -3
- package/dist/commonjs/icons/CameraSwitch.js.map +1 -1
- package/dist/commonjs/icons/IconWrapper.js +25 -0
- package/dist/commonjs/icons/IconWrapper.js.map +1 -0
- package/dist/commonjs/icons/Lock.js +26 -0
- package/dist/commonjs/icons/Lock.js.map +1 -0
- package/dist/commonjs/icons/Mic.js +6 -6
- package/dist/commonjs/icons/Mic.js.map +1 -1
- package/dist/commonjs/icons/MicOff.js +6 -3
- package/dist/commonjs/icons/MicOff.js.map +1 -1
- package/dist/commonjs/icons/Phone.js +13 -3
- package/dist/commonjs/icons/Phone.js.map +1 -1
- package/dist/commonjs/icons/PhoneDown.js +6 -3
- package/dist/commonjs/icons/PhoneDown.js.map +1 -1
- package/dist/commonjs/icons/PinVertical.js +5 -2
- package/dist/commonjs/icons/PinVertical.js.map +1 -1
- package/dist/commonjs/icons/Reaction.js +3 -1
- package/dist/commonjs/icons/Reaction.js.map +1 -1
- package/dist/commonjs/icons/ScreenShare.js +6 -3
- package/dist/commonjs/icons/ScreenShare.js.map +1 -1
- package/dist/commonjs/icons/StopScreenShare.js +5 -2
- package/dist/commonjs/icons/StopScreenShare.js.map +1 -1
- package/dist/commonjs/icons/Video.js +6 -3
- package/dist/commonjs/icons/Video.js.map +1 -1
- package/dist/commonjs/icons/VideoSlash.js +6 -3
- package/dist/commonjs/icons/VideoSlash.js.map +1 -1
- package/dist/commonjs/icons/index.js +11 -22
- package/dist/commonjs/icons/index.js.map +1 -1
- package/dist/commonjs/theme/colors.js +22 -39
- package/dist/commonjs/theme/colors.js.map +1 -1
- package/dist/commonjs/theme/constants.js +44 -44
- package/dist/commonjs/theme/constants.js.map +1 -1
- package/dist/commonjs/theme/index.js +11 -10
- package/dist/commonjs/theme/index.js.map +1 -1
- package/dist/commonjs/theme/theme.js +46 -9
- package/dist/commonjs/theme/theme.js.map +1 -1
- package/dist/commonjs/translations/en.json +7 -3
- package/dist/commonjs/version.js +1 -1
- package/dist/module/components/Call/CallContent/CallContent.js +26 -21
- package/dist/module/components/Call/CallContent/CallContent.js.map +1 -1
- package/dist/module/components/Call/CallControls/AcceptCallButton.js +9 -7
- package/dist/module/components/Call/CallControls/AcceptCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/CallControls.js +2 -2
- package/dist/module/components/Call/CallControls/CallControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/CallControlsButton.js +11 -18
- package/dist/module/components/Call/CallControls/CallControlsButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/HangupCallButton.js +8 -13
- package/dist/module/components/Call/CallControls/HangupCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/IncomingCallControls.js +5 -1
- package/dist/module/components/Call/CallControls/IncomingCallControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/LobbyControls.js +14 -8
- package/dist/module/components/Call/CallControls/LobbyControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/ReactionsButton.js +4 -4
- package/dist/module/components/Call/CallControls/ReactionsButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/RejectCallButton.js +9 -7
- package/dist/module/components/Call/CallControls/RejectCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js +10 -6
- package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js +11 -11
- package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js +10 -7
- package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js +11 -7
- package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js +11 -11
- package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js +10 -7
- package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/index.js +0 -1
- package/dist/module/components/Call/CallControls/index.js.map +1 -1
- package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js +33 -29
- package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
- package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js +1 -1
- package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
- package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js +29 -24
- package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
- package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js +32 -17
- package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
- package/dist/module/components/Call/Lobby/JoinCallButton.js +19 -13
- package/dist/module/components/Call/Lobby/JoinCallButton.js.map +1 -1
- package/dist/module/components/Call/Lobby/Lobby.js +64 -93
- package/dist/module/components/Call/Lobby/Lobby.js.map +1 -1
- package/dist/module/components/Call/Lobby/LobbyFooter.js +58 -22
- package/dist/module/components/Call/Lobby/LobbyFooter.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/IncomingCall.js +6 -7
- package/dist/module/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/OutgoingCall.js +6 -7
- package/dist/module/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/RingingCallContent.js +0 -4
- package/dist/module/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js +3 -3
- package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/UserInfo.js +1 -1
- package/dist/module/components/Call/RingingCallContent/UserInfo.js.map +1 -1
- package/dist/module/components/Call/index.js +0 -1
- package/dist/module/components/Call/index.js.map +1 -1
- package/dist/module/components/Livestream/HostLivestream/HostLivestream.js +32 -21
- package/dist/module/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js +1 -1
- package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js +2 -2
- package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +8 -6
- package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +5 -3
- package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +8 -6
- package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +2 -2
- package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +1 -1
- package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js +1 -1
- package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js +2 -2
- package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js +2 -2
- package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js +2 -2
- package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
- package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js +17 -6
- package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/index.js +6 -5
- package/dist/module/components/Participant/FloatingParticipantView/index.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js +70 -49
- package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +5 -5
- package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js +29 -16
- package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js +2 -2
- package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantView.js +27 -20
- package/dist/module/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js +78 -0
- package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -0
- package/dist/module/components/utility/Avatar.js +1 -1
- package/dist/module/components/utility/Avatar.js.map +1 -1
- package/dist/module/components/utility/ScreenShareOverlay.js +6 -5
- package/dist/module/components/utility/ScreenShareOverlay.js.map +1 -1
- package/dist/module/constants/TestIds.js +1 -1
- package/dist/module/constants/TestIds.js.map +1 -1
- package/dist/module/constants/index.js +23 -4
- package/dist/module/constants/index.js.map +1 -1
- package/dist/module/icons/CameraSwitch.js +6 -3
- package/dist/module/icons/CameraSwitch.js.map +1 -1
- package/dist/module/icons/IconWrapper.js +17 -0
- package/dist/module/icons/IconWrapper.js.map +1 -0
- package/dist/module/icons/Lock.js +16 -0
- package/dist/module/icons/Lock.js.map +1 -0
- package/dist/module/icons/Mic.js +6 -6
- package/dist/module/icons/Mic.js.map +1 -1
- package/dist/module/icons/MicOff.js +6 -3
- package/dist/module/icons/MicOff.js.map +1 -1
- package/dist/module/icons/Phone.js +13 -3
- package/dist/module/icons/Phone.js.map +1 -1
- package/dist/module/icons/PhoneDown.js +6 -3
- package/dist/module/icons/PhoneDown.js.map +1 -1
- package/dist/module/icons/PinVertical.js +5 -2
- package/dist/module/icons/PinVertical.js.map +1 -1
- package/dist/module/icons/Reaction.js +3 -1
- package/dist/module/icons/Reaction.js.map +1 -1
- package/dist/module/icons/ScreenShare.js +6 -3
- package/dist/module/icons/ScreenShare.js.map +1 -1
- package/dist/module/icons/StopScreenShare.js +5 -2
- package/dist/module/icons/StopScreenShare.js.map +1 -1
- package/dist/module/icons/Video.js +6 -3
- package/dist/module/icons/Video.js.map +1 -1
- package/dist/module/icons/VideoSlash.js +6 -3
- package/dist/module/icons/VideoSlash.js.map +1 -1
- package/dist/module/icons/index.js +1 -2
- package/dist/module/icons/index.js.map +1 -1
- package/dist/module/theme/colors.js +22 -39
- package/dist/module/theme/colors.js.map +1 -1
- package/dist/module/theme/constants.js +44 -44
- package/dist/module/theme/constants.js.map +1 -1
- package/dist/module/theme/index.js +1 -5
- package/dist/module/theme/index.js.map +1 -1
- package/dist/module/theme/theme.js +46 -9
- package/dist/module/theme/theme.js.map +1 -1
- package/dist/module/translations/en.json +7 -3
- package/dist/module/version.js +1 -1
- package/dist/typescript/components/Call/CallContent/CallContent.d.ts +2 -7
- package/dist/typescript/components/Call/CallContent/CallContent.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/AcceptCallButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/CallControlsButton.d.ts +4 -0
- package/dist/typescript/components/Call/CallControls/CallControlsButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/HangupCallButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/IncomingCallControls.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/LobbyControls.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/ReactionsButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/RejectCallButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/ScreenShareToggleButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/ToggleAudioPreviewButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/ToggleAudioPublishingButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/ToggleCameraFaceButton.d.ts +6 -1
- package/dist/typescript/components/Call/CallControls/ToggleCameraFaceButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/ToggleVideoPreviewButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/ToggleVideoPublishingButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/index.d.ts +0 -1
- package/dist/typescript/components/Call/CallControls/index.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/internal/ReactionsPicker.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts.map +1 -1
- package/dist/typescript/components/Call/Lobby/JoinCallButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/Lobby/Lobby.d.ts.map +1 -1
- package/dist/typescript/components/Call/Lobby/LobbyFooter.d.ts.map +1 -1
- package/dist/typescript/components/Call/RingingCallContent/IncomingCall.d.ts +2 -6
- package/dist/typescript/components/Call/RingingCallContent/IncomingCall.d.ts.map +1 -1
- package/dist/typescript/components/Call/RingingCallContent/OutgoingCall.d.ts +1 -6
- package/dist/typescript/components/Call/RingingCallContent/OutgoingCall.d.ts.map +1 -1
- package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts +0 -5
- package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts.map +1 -1
- package/dist/typescript/components/Call/index.d.ts +0 -1
- package/dist/typescript/components/Call/index.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/HostLivestream/HostLivestream.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamControls/LivestreamAudioControlButton.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamControls/LivestreamVideoControlButton.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamControls/ViewerLivestreamControls.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/ViewerLivestream/ViewerLivestream.d.ts.map +1 -1
- package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.d.ts.map +1 -1
- package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts.map +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantLabel.d.ts.map +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts.map +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantVideoFallback.d.ts.map +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts.map +1 -1
- package/dist/typescript/components/Participant/ParticipantView/SpeechIndicator.d.ts +18 -0
- package/dist/typescript/components/Participant/ParticipantView/SpeechIndicator.d.ts.map +1 -0
- package/dist/typescript/components/utility/Avatar.d.ts.map +1 -1
- package/dist/typescript/constants/TestIds.d.ts +2 -2
- package/dist/typescript/constants/TestIds.d.ts.map +1 -1
- package/dist/typescript/constants/index.d.ts +0 -1
- package/dist/typescript/constants/index.d.ts.map +1 -1
- package/dist/typescript/icons/CameraSwitch.d.ts +2 -1
- package/dist/typescript/icons/CameraSwitch.d.ts.map +1 -1
- package/dist/typescript/icons/IconWrapper.d.ts +6 -0
- package/dist/typescript/icons/IconWrapper.d.ts.map +1 -0
- package/dist/typescript/icons/{Chat.d.ts → Lock.d.ts} +3 -2
- package/dist/typescript/icons/Lock.d.ts.map +1 -0
- package/dist/typescript/icons/Mic.d.ts +2 -1
- package/dist/typescript/icons/Mic.d.ts.map +1 -1
- package/dist/typescript/icons/MicOff.d.ts +2 -1
- package/dist/typescript/icons/MicOff.d.ts.map +1 -1
- package/dist/typescript/icons/Phone.d.ts +2 -1
- package/dist/typescript/icons/Phone.d.ts.map +1 -1
- package/dist/typescript/icons/PhoneDown.d.ts +2 -1
- package/dist/typescript/icons/PhoneDown.d.ts.map +1 -1
- package/dist/typescript/icons/PinVertical.d.ts +2 -1
- package/dist/typescript/icons/PinVertical.d.ts.map +1 -1
- package/dist/typescript/icons/ScreenShare.d.ts +2 -1
- package/dist/typescript/icons/ScreenShare.d.ts.map +1 -1
- package/dist/typescript/icons/StopScreenShare.d.ts +2 -1
- package/dist/typescript/icons/StopScreenShare.d.ts.map +1 -1
- package/dist/typescript/icons/Video.d.ts +2 -1
- package/dist/typescript/icons/Video.d.ts.map +1 -1
- package/dist/typescript/icons/VideoSlash.d.ts +2 -1
- package/dist/typescript/icons/VideoSlash.d.ts.map +1 -1
- package/dist/typescript/icons/index.d.ts +1 -2
- package/dist/typescript/icons/index.d.ts.map +1 -1
- package/dist/typescript/theme/colors.d.ts +5 -38
- package/dist/typescript/theme/colors.d.ts.map +1 -1
- package/dist/typescript/theme/constants.d.ts +44 -44
- package/dist/typescript/theme/constants.d.ts.map +1 -1
- package/dist/typescript/theme/index.d.ts +1 -2
- package/dist/typescript/theme/index.d.ts.map +1 -1
- package/dist/typescript/theme/theme.d.ts +23 -31
- package/dist/typescript/theme/theme.d.ts.map +1 -1
- package/dist/typescript/theme/types.d.ts +65 -18
- package/dist/typescript/theme/types.d.ts.map +1 -1
- package/dist/typescript/translations/index.d.ts +5 -1
- package/dist/typescript/translations/index.d.ts.map +1 -1
- package/dist/typescript/version.d.ts +1 -1
- package/package.json +3 -3
- package/src/components/Call/CallContent/CallContent.tsx +25 -33
- package/src/components/Call/CallControls/AcceptCallButton.tsx +7 -5
- package/src/components/Call/CallControls/CallControls.tsx +2 -2
- package/src/components/Call/CallControls/CallControlsButton.tsx +14 -20
- package/src/components/Call/CallControls/HangupCallButton.tsx +6 -11
- package/src/components/Call/CallControls/IncomingCallControls.tsx +5 -1
- package/src/components/Call/CallControls/LobbyControls.tsx +16 -8
- package/src/components/Call/CallControls/ReactionsButton.tsx +4 -2
- package/src/components/Call/CallControls/RejectCallButton.tsx +7 -5
- package/src/components/Call/CallControls/ScreenShareToggleButton.tsx +18 -7
- package/src/components/Call/CallControls/ToggleAudioPreviewButton.tsx +11 -13
- package/src/components/Call/CallControls/ToggleAudioPublishingButton.tsx +12 -8
- package/src/components/Call/CallControls/ToggleCameraFaceButton.tsx +23 -10
- package/src/components/Call/CallControls/ToggleVideoPreviewButton.tsx +11 -14
- package/src/components/Call/CallControls/ToggleVideoPublishingButton.tsx +15 -8
- package/src/components/Call/CallControls/index.tsx +0 -1
- package/src/components/Call/CallControls/internal/ReactionsPicker.tsx +34 -32
- package/src/components/Call/CallLayout/CallParticipantsGrid.tsx +2 -4
- package/src/components/Call/CallLayout/CallParticipantsSpotlight.tsx +29 -23
- package/src/components/Call/CallParticipantsList/CallParticipantsList.tsx +34 -15
- package/src/components/Call/Lobby/JoinCallButton.tsx +21 -15
- package/src/components/Call/Lobby/Lobby.tsx +74 -121
- package/src/components/Call/Lobby/LobbyFooter.tsx +63 -41
- package/src/components/Call/RingingCallContent/IncomingCall.tsx +4 -14
- package/src/components/Call/RingingCallContent/OutgoingCall.tsx +4 -14
- package/src/components/Call/RingingCallContent/RingingCallContent.tsx +3 -17
- package/src/components/Call/RingingCallContent/TextBasedIndicator.tsx +3 -3
- package/src/components/Call/RingingCallContent/UserInfo.tsx +1 -1
- package/src/components/Call/index.ts +0 -1
- package/src/components/Livestream/HostLivestream/HostLivestream.tsx +34 -23
- package/src/components/Livestream/LivestreamControls/HostLivestreamControls.tsx +1 -1
- package/src/components/Livestream/LivestreamControls/HostStartStreamButton.tsx +4 -4
- package/src/components/Livestream/LivestreamControls/LivestreamAudioControlButton.tsx +9 -7
- package/src/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.tsx +4 -4
- package/src/components/Livestream/LivestreamControls/LivestreamVideoControlButton.tsx +9 -7
- package/src/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.tsx +2 -4
- package/src/components/Livestream/LivestreamControls/ViewerLivestreamControls.tsx +1 -3
- package/src/components/Livestream/LivestreamLayout/LivestreamLayout.tsx +1 -1
- package/src/components/Livestream/LivestreamTopView/DurationBadge.tsx +2 -2
- package/src/components/Livestream/LivestreamTopView/FollowerCount.tsx +2 -2
- package/src/components/Livestream/LivestreamTopView/HostLivestreamTopView.tsx +1 -1
- package/src/components/Livestream/LivestreamTopView/LiveIndicator.tsx +2 -2
- package/src/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.tsx +1 -1
- package/src/components/Livestream/ViewerLivestream/ViewerLivestream.tsx +19 -6
- package/src/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.tsx +0 -1
- package/src/components/Participant/FloatingParticipantView/index.tsx +4 -6
- package/src/components/Participant/ParticipantView/ParticipantLabel.tsx +87 -87
- package/src/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.tsx +5 -5
- package/src/components/Participant/ParticipantView/ParticipantReaction.tsx +36 -26
- package/src/components/Participant/ParticipantView/ParticipantVideoFallback.tsx +2 -6
- package/src/components/Participant/ParticipantView/ParticipantView.tsx +33 -22
- package/src/components/Participant/ParticipantView/SpeechIndicator.tsx +103 -0
- package/src/components/utility/Avatar.tsx +2 -4
- package/src/components/utility/ScreenShareOverlay.tsx +5 -5
- package/src/constants/TestIds.ts +1 -1
- package/src/constants/index.ts +27 -5
- package/src/icons/CameraSwitch.tsx +4 -3
- package/src/icons/IconWrapper.tsx +15 -0
- package/src/icons/Lock.tsx +19 -0
- package/src/icons/Mic.tsx +4 -7
- package/src/icons/MicOff.tsx +4 -3
- package/src/icons/Phone.tsx +11 -3
- package/src/icons/PhoneDown.tsx +9 -3
- package/src/icons/PinVertical.tsx +3 -2
- package/src/icons/Reaction.tsx +1 -1
- package/src/icons/ScreenShare.tsx +9 -3
- package/src/icons/StopScreenShare.tsx +3 -2
- package/src/icons/Video.tsx +4 -3
- package/src/icons/VideoSlash.tsx +9 -3
- package/src/icons/index.tsx +1 -2
- package/src/theme/colors.ts +27 -42
- package/src/theme/constants.ts +51 -44
- package/src/theme/index.ts +1 -8
- package/src/theme/theme.ts +77 -40
- package/src/theme/types.ts +72 -21
- package/src/translations/en.json +7 -3
- package/src/version.ts +1 -1
- package/dist/commonjs/components/Call/CallControls/ChatButton.js +0 -84
- package/dist/commonjs/components/Call/CallControls/ChatButton.js.map +0 -1
- package/dist/commonjs/components/Call/CallTopView/CallTopView.js +0 -120
- package/dist/commonjs/components/Call/CallTopView/CallTopView.js.map +0 -1
- package/dist/commonjs/components/Call/CallTopView/ParticipantsInfoBadge.js +0 -105
- package/dist/commonjs/components/Call/CallTopView/ParticipantsInfoBadge.js.map +0 -1
- package/dist/commonjs/components/Call/CallTopView/index.js +0 -28
- package/dist/commonjs/components/Call/CallTopView/index.js.map +0 -1
- package/dist/commonjs/icons/Chat.js +0 -19
- package/dist/commonjs/icons/Chat.js.map +0 -1
- package/dist/commonjs/icons/Participants.js +0 -21
- package/dist/commonjs/icons/Participants.js.map +0 -1
- package/dist/module/components/Call/CallControls/ChatButton.js +0 -77
- package/dist/module/components/Call/CallControls/ChatButton.js.map +0 -1
- package/dist/module/components/Call/CallTopView/CallTopView.js +0 -111
- package/dist/module/components/Call/CallTopView/CallTopView.js.map +0 -1
- package/dist/module/components/Call/CallTopView/ParticipantsInfoBadge.js +0 -98
- package/dist/module/components/Call/CallTopView/ParticipantsInfoBadge.js.map +0 -1
- package/dist/module/components/Call/CallTopView/index.js +0 -3
- package/dist/module/components/Call/CallTopView/index.js.map +0 -1
- package/dist/module/icons/Chat.js +0 -11
- package/dist/module/icons/Chat.js.map +0 -1
- package/dist/module/icons/Participants.js +0 -13
- package/dist/module/icons/Participants.js.map +0 -1
- package/dist/typescript/components/Call/CallControls/ChatButton.d.ts +0 -22
- package/dist/typescript/components/Call/CallControls/ChatButton.d.ts.map +0 -1
- package/dist/typescript/components/Call/CallTopView/CallTopView.d.ts +0 -29
- package/dist/typescript/components/Call/CallTopView/CallTopView.d.ts.map +0 -1
- package/dist/typescript/components/Call/CallTopView/ParticipantsInfoBadge.d.ts +0 -12
- package/dist/typescript/components/Call/CallTopView/ParticipantsInfoBadge.d.ts.map +0 -1
- package/dist/typescript/components/Call/CallTopView/index.d.ts +0 -3
- package/dist/typescript/components/Call/CallTopView/index.d.ts.map +0 -1
- package/dist/typescript/icons/Chat.d.ts.map +0 -1
- package/dist/typescript/icons/Participants.d.ts +0 -8
- package/dist/typescript/icons/Participants.d.ts.map +0 -1
- package/src/components/Call/CallControls/ChatButton.tsx +0 -90
- package/src/components/Call/CallTopView/CallTopView.tsx +0 -162
- package/src/components/Call/CallTopView/ParticipantsInfoBadge.tsx +0 -119
- package/src/components/Call/CallTopView/index.ts +0 -2
- package/src/icons/Chat.tsx +0 -16
- package/src/icons/Participants.tsx +0 -18
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { useMemo } from 'react';
|
|
2
2
|
import { LobbyProps } from './Lobby';
|
|
3
3
|
import { Pressable, StyleSheet, Text } from 'react-native';
|
|
4
4
|
import { useCall, useI18n } from '@stream-io/video-react-bindings';
|
|
@@ -22,6 +22,7 @@ export const JoinCallButton = ({
|
|
|
22
22
|
const {
|
|
23
23
|
theme: { colors, typefaces, joinCallButton },
|
|
24
24
|
} = useTheme();
|
|
25
|
+
const styles = useStyles();
|
|
25
26
|
const { t } = useI18n();
|
|
26
27
|
const call = useCall();
|
|
27
28
|
|
|
@@ -45,7 +46,7 @@ export const JoinCallButton = ({
|
|
|
45
46
|
<Pressable
|
|
46
47
|
style={[
|
|
47
48
|
styles.container,
|
|
48
|
-
{ backgroundColor: colors.
|
|
49
|
+
{ backgroundColor: colors.buttonPrimary },
|
|
49
50
|
joinCallButton.container,
|
|
50
51
|
]}
|
|
51
52
|
onPress={onPress}
|
|
@@ -53,9 +54,7 @@ export const JoinCallButton = ({
|
|
|
53
54
|
<Text
|
|
54
55
|
style={[
|
|
55
56
|
styles.label,
|
|
56
|
-
{
|
|
57
|
-
color: colors.static_white,
|
|
58
|
-
},
|
|
57
|
+
{ color: colors.textPrimary },
|
|
59
58
|
typefaces.subtitleBold,
|
|
60
59
|
joinCallButton.label,
|
|
61
60
|
]}
|
|
@@ -66,13 +65,20 @@ export const JoinCallButton = ({
|
|
|
66
65
|
);
|
|
67
66
|
};
|
|
68
67
|
|
|
69
|
-
const
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}
|
|
68
|
+
const useStyles = () => {
|
|
69
|
+
const { theme } = useTheme();
|
|
70
|
+
return useMemo(
|
|
71
|
+
() =>
|
|
72
|
+
StyleSheet.create({
|
|
73
|
+
container: {
|
|
74
|
+
borderRadius: theme.variants.borderRadiusSizes.lg,
|
|
75
|
+
marginTop: theme.variants.spacingSizes.md,
|
|
76
|
+
paddingVertical: theme.variants.spacingSizes.sm,
|
|
77
|
+
},
|
|
78
|
+
label: {
|
|
79
|
+
textAlign: 'center',
|
|
80
|
+
},
|
|
81
|
+
}),
|
|
82
|
+
[theme]
|
|
83
|
+
);
|
|
84
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import React, { ComponentType } from 'react';
|
|
2
|
-
import { StyleSheet, Text, View
|
|
3
|
-
import { MicOff } from '../../../icons';
|
|
1
|
+
import React, { ComponentType, useMemo } from 'react';
|
|
2
|
+
import { StyleSheet, Text, View } from 'react-native';
|
|
4
3
|
import {
|
|
5
4
|
useCallStateHooks,
|
|
6
5
|
useConnectedUser,
|
|
@@ -8,7 +7,6 @@ import {
|
|
|
8
7
|
} from '@stream-io/video-react-bindings';
|
|
9
8
|
import { Avatar } from '../../utility/Avatar';
|
|
10
9
|
import { StreamVideoParticipant } from '@stream-io/video-client';
|
|
11
|
-
import { LOBBY_VIDEO_VIEW_HEIGHT } from '../../../constants';
|
|
12
10
|
import { RTCView } from '@stream-io/react-native-webrtc';
|
|
13
11
|
import { LobbyControls as DefaultLobbyControls } from '../CallControls/LobbyControls';
|
|
14
12
|
import {
|
|
@@ -64,6 +62,7 @@ export const Lobby = ({
|
|
|
64
62
|
const {
|
|
65
63
|
theme: { colors, lobby, typefaces },
|
|
66
64
|
} = useTheme();
|
|
65
|
+
const styles = useStyles(landscape);
|
|
67
66
|
const connectedUser = useConnectedUser();
|
|
68
67
|
const { useCameraState, useCallSettings } = useCallStateHooks();
|
|
69
68
|
const callSettings = useCallSettings();
|
|
@@ -81,47 +80,21 @@ export const Lobby = ({
|
|
|
81
80
|
name: connectedUser?.name,
|
|
82
81
|
} as StreamVideoParticipant;
|
|
83
82
|
|
|
84
|
-
const landscapeStyles: ViewStyle = {
|
|
85
|
-
flexDirection: landscape ? 'row' : 'column',
|
|
86
|
-
};
|
|
87
|
-
|
|
88
83
|
return (
|
|
89
|
-
<View
|
|
90
|
-
style={[
|
|
91
|
-
styles.container,
|
|
92
|
-
landscapeStyles,
|
|
93
|
-
{ backgroundColor: colors.static_grey },
|
|
94
|
-
lobby.container,
|
|
95
|
-
]}
|
|
96
|
-
>
|
|
84
|
+
<View style={[styles.container, lobby.container]}>
|
|
97
85
|
{connectedUser && (
|
|
98
|
-
|
|
99
|
-
<Text
|
|
100
|
-
|
|
101
|
-
styles.heading,
|
|
102
|
-
{ color: colors.static_white },
|
|
103
|
-
typefaces.heading4,
|
|
104
|
-
lobby.heading,
|
|
105
|
-
]}
|
|
106
|
-
>
|
|
107
|
-
{t('Before Joining')}
|
|
86
|
+
<>
|
|
87
|
+
<Text style={[styles.heading, typefaces.heading5, lobby.heading]}>
|
|
88
|
+
{t('Before joining')}
|
|
108
89
|
</Text>
|
|
109
|
-
<Text
|
|
110
|
-
|
|
111
|
-
styles.subHeading,
|
|
112
|
-
{ color: colors.text_low_emphasis },
|
|
113
|
-
typefaces.subtitle,
|
|
114
|
-
]}
|
|
115
|
-
>
|
|
116
|
-
{isVideoEnabledInCall
|
|
117
|
-
? t('Setup your audio and video')
|
|
118
|
-
: t('Setup your audio')}
|
|
90
|
+
<Text style={[styles.subHeading, lobby.subHeading]}>
|
|
91
|
+
{t('Setup your audio and video')}
|
|
119
92
|
</Text>
|
|
120
93
|
{isVideoEnabledInCall && (
|
|
121
94
|
<View
|
|
122
95
|
style={[
|
|
123
96
|
styles.videoContainer,
|
|
124
|
-
{ backgroundColor: colors.
|
|
97
|
+
{ backgroundColor: colors.sheetTertiary },
|
|
125
98
|
lobby.videoContainer,
|
|
126
99
|
]}
|
|
127
100
|
>
|
|
@@ -141,48 +114,38 @@ export const Lobby = ({
|
|
|
141
114
|
<ParticipantStatus />
|
|
142
115
|
</View>
|
|
143
116
|
)}
|
|
144
|
-
|
|
117
|
+
</>
|
|
118
|
+
)}
|
|
119
|
+
{LobbyControls && <LobbyControls />}
|
|
120
|
+
{LobbyFooter && (
|
|
121
|
+
<LobbyFooter
|
|
122
|
+
JoinCallButton={JoinCallButton}
|
|
123
|
+
onJoinCallHandler={onJoinCallHandler}
|
|
124
|
+
/>
|
|
145
125
|
)}
|
|
146
|
-
<View style={[styles.bottomContainer, lobby.bottomContainer]}>
|
|
147
|
-
{LobbyControls && <LobbyControls />}
|
|
148
|
-
{LobbyFooter && (
|
|
149
|
-
<LobbyFooter
|
|
150
|
-
JoinCallButton={JoinCallButton}
|
|
151
|
-
onJoinCallHandler={onJoinCallHandler}
|
|
152
|
-
/>
|
|
153
|
-
)}
|
|
154
|
-
</View>
|
|
155
126
|
</View>
|
|
156
127
|
);
|
|
157
128
|
};
|
|
158
129
|
|
|
159
130
|
const ParticipantStatus = () => {
|
|
160
131
|
const {
|
|
161
|
-
theme: {
|
|
162
|
-
colors,
|
|
163
|
-
typefaces,
|
|
164
|
-
lobby,
|
|
165
|
-
variants: { iconSizes },
|
|
166
|
-
},
|
|
132
|
+
theme: { colors, typefaces, lobby },
|
|
167
133
|
} = useTheme();
|
|
134
|
+
const styles = useStyles();
|
|
168
135
|
const connectedUser = useConnectedUser();
|
|
169
|
-
const { useMicrophoneState } = useCallStateHooks();
|
|
170
136
|
const participantLabel = connectedUser?.name ?? connectedUser?.id;
|
|
171
|
-
const { status: micStatus } = useMicrophoneState();
|
|
172
137
|
return (
|
|
173
138
|
<View
|
|
174
139
|
style={[
|
|
175
140
|
styles.participantStatusContainer,
|
|
176
|
-
{
|
|
177
|
-
backgroundColor: colors.static_overlay,
|
|
178
|
-
},
|
|
141
|
+
{ backgroundColor: colors.sheetOverlay },
|
|
179
142
|
lobby.participantStatusContainer,
|
|
180
143
|
]}
|
|
181
144
|
>
|
|
182
145
|
<Text
|
|
183
146
|
style={[
|
|
184
147
|
styles.userNameLabel,
|
|
185
|
-
{ color: colors.
|
|
148
|
+
{ color: colors.textPrimary },
|
|
186
149
|
typefaces.caption,
|
|
187
150
|
lobby.userNameLabel,
|
|
188
151
|
]}
|
|
@@ -190,69 +153,59 @@ const ParticipantStatus = () => {
|
|
|
190
153
|
>
|
|
191
154
|
{participantLabel}
|
|
192
155
|
</Text>
|
|
193
|
-
{(!micStatus || micStatus === 'disabled') && (
|
|
194
|
-
<View
|
|
195
|
-
style={[
|
|
196
|
-
styles.audioMutedIconContainer,
|
|
197
|
-
{
|
|
198
|
-
height: iconSizes.xs,
|
|
199
|
-
width: iconSizes.xs,
|
|
200
|
-
},
|
|
201
|
-
lobby.audioMutedIconContainer,
|
|
202
|
-
]}
|
|
203
|
-
>
|
|
204
|
-
<MicOff color={colors.error} />
|
|
205
|
-
</View>
|
|
206
|
-
)}
|
|
207
156
|
</View>
|
|
208
157
|
);
|
|
209
158
|
};
|
|
210
159
|
|
|
211
|
-
const
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
}
|
|
160
|
+
const useStyles = (landscape = false) => {
|
|
161
|
+
const { theme } = useTheme();
|
|
162
|
+
return useMemo(
|
|
163
|
+
() =>
|
|
164
|
+
StyleSheet.create({
|
|
165
|
+
heading: {
|
|
166
|
+
textAlign: 'center',
|
|
167
|
+
color: theme.colors.textPrimary,
|
|
168
|
+
paddingBottom: theme.variants.spacingSizes.xs,
|
|
169
|
+
},
|
|
170
|
+
subHeading: {
|
|
171
|
+
textAlign: 'center',
|
|
172
|
+
paddingBottom: theme.variants.spacingSizes.md,
|
|
173
|
+
color: theme.colors.textSecondary,
|
|
174
|
+
},
|
|
175
|
+
container: {
|
|
176
|
+
flex: 1,
|
|
177
|
+
justifyContent: 'center',
|
|
178
|
+
backgroundColor: theme.colors.sheetPrimary,
|
|
179
|
+
paddingRight:
|
|
180
|
+
theme.variants.insets.right + theme.variants.spacingSizes.sm,
|
|
181
|
+
paddingLeft:
|
|
182
|
+
theme.variants.insets.left + theme.variants.spacingSizes.sm,
|
|
183
|
+
paddingTop: theme.variants.insets.top,
|
|
184
|
+
paddingBottom: theme.variants.insets.bottom,
|
|
185
|
+
},
|
|
186
|
+
videoContainer: {
|
|
187
|
+
height: landscape ? '40%' : '50%',
|
|
188
|
+
borderRadius: theme.variants.borderRadiusSizes.md,
|
|
189
|
+
justifyContent: 'space-between',
|
|
190
|
+
alignItems: 'center',
|
|
191
|
+
overflow: 'hidden',
|
|
192
|
+
},
|
|
193
|
+
topView: {},
|
|
194
|
+
participantStatusContainer: {
|
|
195
|
+
alignSelf: 'flex-start',
|
|
196
|
+
flexDirection: 'row',
|
|
197
|
+
alignItems: 'center',
|
|
198
|
+
padding: theme.variants.spacingSizes.sm,
|
|
199
|
+
borderTopRightRadius: theme.variants.borderRadiusSizes.sm,
|
|
200
|
+
},
|
|
201
|
+
avatarContainer: {
|
|
202
|
+
flex: 2,
|
|
203
|
+
justifyContent: 'center',
|
|
204
|
+
},
|
|
205
|
+
userNameLabel: {
|
|
206
|
+
flexShrink: 1,
|
|
207
|
+
},
|
|
208
|
+
}),
|
|
209
|
+
[theme, landscape]
|
|
210
|
+
);
|
|
211
|
+
};
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { useMemo } from 'react';
|
|
2
2
|
import { LobbyProps } from './Lobby';
|
|
3
3
|
import { View, StyleSheet, Text } from 'react-native';
|
|
4
|
-
import {
|
|
5
|
-
useCall,
|
|
6
|
-
useCallStateHooks,
|
|
7
|
-
useI18n,
|
|
8
|
-
} from '@stream-io/video-react-bindings';
|
|
9
4
|
import { useTheme } from '../../../contexts/ThemeContext';
|
|
5
|
+
import { useCallStateHooks, useI18n } from '@stream-io/video-react-bindings';
|
|
6
|
+
import { Lock } from '../../../icons/Lock';
|
|
10
7
|
|
|
11
8
|
/**
|
|
12
9
|
* Props for the Lobby Footer in the Lobby component.
|
|
@@ -24,42 +21,44 @@ export const LobbyFooter = ({
|
|
|
24
21
|
JoinCallButton,
|
|
25
22
|
}: LobbyFooterProps) => {
|
|
26
23
|
const {
|
|
27
|
-
theme: { colors, lobby,
|
|
24
|
+
theme: { colors, lobby, variants },
|
|
28
25
|
} = useTheme();
|
|
26
|
+
const styles = useStyles();
|
|
29
27
|
const { useCallSession } = useCallStateHooks();
|
|
30
|
-
|
|
31
28
|
const { t } = useI18n();
|
|
32
|
-
|
|
33
|
-
const call = useCall();
|
|
34
29
|
const session = useCallSession();
|
|
30
|
+
const numberOfParticipants = session?.participants.length;
|
|
35
31
|
|
|
36
|
-
const
|
|
32
|
+
const participantsText = useMemo(() => {
|
|
33
|
+
if (!numberOfParticipants) {
|
|
34
|
+
return t('Currently there are no other participants in the call.');
|
|
35
|
+
}
|
|
36
|
+
if (numberOfParticipants === 1) {
|
|
37
|
+
return t('There is {{numberOfParticipants}} more person in the call.', {
|
|
38
|
+
numberOfParticipants,
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
return t('There are {{numberOfParticipants}} more people in the call.', {
|
|
42
|
+
numberOfParticipants,
|
|
43
|
+
});
|
|
44
|
+
}, [numberOfParticipants, t]);
|
|
37
45
|
|
|
38
46
|
return (
|
|
39
|
-
<View
|
|
40
|
-
style={
|
|
41
|
-
styles.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
callId: call?.id,
|
|
55
|
-
}) +
|
|
56
|
-
' ' +
|
|
57
|
-
(participantsCount
|
|
58
|
-
? t('{{ numberOfParticipants }} participant(s) are in the call.', {
|
|
59
|
-
numberOfParticipants: participantsCount,
|
|
60
|
-
})
|
|
61
|
-
: t('You are first to join the call.'))}
|
|
62
|
-
</Text>
|
|
47
|
+
<View style={[styles.mainContainer, lobby.infoContainer]}>
|
|
48
|
+
<View style={styles.textContainer}>
|
|
49
|
+
<View style={styles.iconContainer}>
|
|
50
|
+
<Lock color={colors.iconPrimary} size={variants.iconSizes.md} />
|
|
51
|
+
</View>
|
|
52
|
+
<Text
|
|
53
|
+
style={[
|
|
54
|
+
{ color: colors.textPrimary },
|
|
55
|
+
styles.infoText,
|
|
56
|
+
lobby.infoText,
|
|
57
|
+
]}
|
|
58
|
+
>
|
|
59
|
+
{t('You are about to join a call.') + ' ' + participantsText}
|
|
60
|
+
</Text>
|
|
61
|
+
</View>
|
|
63
62
|
{JoinCallButton && (
|
|
64
63
|
<JoinCallButton onJoinCallHandler={onJoinCallHandler} />
|
|
65
64
|
)}
|
|
@@ -67,9 +66,32 @@ export const LobbyFooter = ({
|
|
|
67
66
|
);
|
|
68
67
|
};
|
|
69
68
|
|
|
70
|
-
const
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
69
|
+
const useStyles = () => {
|
|
70
|
+
const { theme } = useTheme();
|
|
71
|
+
return useMemo(
|
|
72
|
+
() =>
|
|
73
|
+
StyleSheet.create({
|
|
74
|
+
mainContainer: {
|
|
75
|
+
padding: theme.variants.spacingSizes.sm,
|
|
76
|
+
},
|
|
77
|
+
textContainer: {
|
|
78
|
+
flexDirection: 'row',
|
|
79
|
+
alignItems: 'center',
|
|
80
|
+
justifyContent: 'center',
|
|
81
|
+
backgroundColor: theme.colors.sheetTertiary,
|
|
82
|
+
paddingHorizontal: theme.variants.spacingSizes.md,
|
|
83
|
+
paddingVertical: theme.variants.spacingSizes.xs,
|
|
84
|
+
borderRadius: theme.variants.borderRadiusSizes.sm,
|
|
85
|
+
},
|
|
86
|
+
iconContainer: {
|
|
87
|
+
marginRight: theme.variants.spacingSizes.sm,
|
|
88
|
+
},
|
|
89
|
+
infoText: {
|
|
90
|
+
fontSize: theme.variants.fontSizes.sm,
|
|
91
|
+
lineHeight: 20,
|
|
92
|
+
fontWeight: '400',
|
|
93
|
+
},
|
|
94
|
+
}),
|
|
95
|
+
[theme]
|
|
96
|
+
);
|
|
97
|
+
};
|
|
@@ -12,10 +12,6 @@ import {
|
|
|
12
12
|
useI18n,
|
|
13
13
|
} from '@stream-io/video-react-bindings';
|
|
14
14
|
import { UserInfo } from './UserInfo';
|
|
15
|
-
import {
|
|
16
|
-
CallTopView as DefaultCallTopView,
|
|
17
|
-
CallTopViewProps,
|
|
18
|
-
} from '../CallTopView';
|
|
19
15
|
import {
|
|
20
16
|
IncomingCallControls as DefaultIncomingCallControls,
|
|
21
17
|
IncomingCallControlsProps,
|
|
@@ -27,10 +23,6 @@ import { useApplyDefaultMediaStreamSettings } from '../../../hooks/useApplyDefau
|
|
|
27
23
|
* Props for the IncomingCall Component.
|
|
28
24
|
*/
|
|
29
25
|
export type IncomingCallProps = IncomingCallControlsProps & {
|
|
30
|
-
/**
|
|
31
|
-
* Prop to customize the CallTopView component in the IncomingCall component.
|
|
32
|
-
*/
|
|
33
|
-
CallTopView?: React.ComponentType<CallTopViewProps> | null;
|
|
34
26
|
/**
|
|
35
27
|
* Prop to customize the IncomingCall controls.
|
|
36
28
|
*/
|
|
@@ -49,7 +41,6 @@ export type IncomingCallProps = IncomingCallControlsProps & {
|
|
|
49
41
|
export const IncomingCall = ({
|
|
50
42
|
onAcceptCallHandler,
|
|
51
43
|
onRejectCallHandler,
|
|
52
|
-
CallTopView = DefaultCallTopView,
|
|
53
44
|
IncomingCallControls = DefaultIncomingCallControls,
|
|
54
45
|
landscape,
|
|
55
46
|
}: IncomingCallProps) => {
|
|
@@ -66,7 +57,6 @@ export const IncomingCall = ({
|
|
|
66
57
|
|
|
67
58
|
return (
|
|
68
59
|
<Background>
|
|
69
|
-
{CallTopView && <CallTopView />}
|
|
70
60
|
<View
|
|
71
61
|
style={[styles.content, landscapeContentStyles, incomingCall.content]}
|
|
72
62
|
>
|
|
@@ -75,7 +65,7 @@ export const IncomingCall = ({
|
|
|
75
65
|
<Text
|
|
76
66
|
style={[
|
|
77
67
|
styles.incomingCallText,
|
|
78
|
-
{ color: colors.
|
|
68
|
+
{ color: colors.textPrimary },
|
|
79
69
|
typefaces.heading6,
|
|
80
70
|
incomingCall.incomingCallText,
|
|
81
71
|
]}
|
|
@@ -128,7 +118,7 @@ const Background: React.FunctionComponent<{
|
|
|
128
118
|
}}
|
|
129
119
|
style={[
|
|
130
120
|
styles.background,
|
|
131
|
-
{ backgroundColor: colors.
|
|
121
|
+
{ backgroundColor: colors.sheetTertiary },
|
|
132
122
|
incomingCall.background,
|
|
133
123
|
]}
|
|
134
124
|
>
|
|
@@ -140,7 +130,7 @@ const Background: React.FunctionComponent<{
|
|
|
140
130
|
<View
|
|
141
131
|
style={[
|
|
142
132
|
styles.background,
|
|
143
|
-
{ backgroundColor: colors.
|
|
133
|
+
{ backgroundColor: colors.sheetTertiary },
|
|
144
134
|
incomingCall.background,
|
|
145
135
|
]}
|
|
146
136
|
>
|
|
@@ -156,7 +146,7 @@ export const styles = StyleSheet.create({
|
|
|
156
146
|
content: {
|
|
157
147
|
flex: 1,
|
|
158
148
|
},
|
|
159
|
-
topContainer: { flex: 1 },
|
|
149
|
+
topContainer: { flex: 1, justifyContent: 'center' },
|
|
160
150
|
incomingCallText: {
|
|
161
151
|
marginTop: 8,
|
|
162
152
|
textAlign: 'center',
|
|
@@ -9,10 +9,6 @@ import {
|
|
|
9
9
|
OutgoingCallControls as DefaultOutgoingCallControls,
|
|
10
10
|
OutgoingCallControlsProps,
|
|
11
11
|
} from '../CallControls';
|
|
12
|
-
import {
|
|
13
|
-
CallTopView as DefaultCallTopView,
|
|
14
|
-
CallTopViewProps,
|
|
15
|
-
} from '../CallTopView';
|
|
16
12
|
import { useCallMediaStreamCleanup } from '../../../hooks/internal/useCallMediaStreamCleanup';
|
|
17
13
|
import { useApplyDefaultMediaStreamSettings } from '../../../hooks/useApplyDefaultMediaStreamSettings';
|
|
18
14
|
|
|
@@ -20,10 +16,6 @@ import { useApplyDefaultMediaStreamSettings } from '../../../hooks/useApplyDefau
|
|
|
20
16
|
* Props for the OutgoingCall Component.
|
|
21
17
|
*/
|
|
22
18
|
export type OutgoingCallProps = OutgoingCallControlsProps & {
|
|
23
|
-
/**
|
|
24
|
-
* Prop to customize the CallTopView component in the IncomingCall component.
|
|
25
|
-
*/
|
|
26
|
-
CallTopView?: React.ComponentType<CallTopViewProps> | null;
|
|
27
19
|
/**
|
|
28
20
|
* Prop to customize the OutgoingCall controls.
|
|
29
21
|
*/
|
|
@@ -40,7 +32,6 @@ export type OutgoingCallProps = OutgoingCallControlsProps & {
|
|
|
40
32
|
* Used after the user has initiated a call.
|
|
41
33
|
*/
|
|
42
34
|
export const OutgoingCall = ({
|
|
43
|
-
CallTopView = DefaultCallTopView,
|
|
44
35
|
OutgoingCallControls = DefaultOutgoingCallControls,
|
|
45
36
|
landscape,
|
|
46
37
|
}: OutgoingCallProps) => {
|
|
@@ -65,7 +56,6 @@ export const OutgoingCall = ({
|
|
|
65
56
|
outgoingCall.container,
|
|
66
57
|
]}
|
|
67
58
|
>
|
|
68
|
-
{CallTopView && <CallTopView />}
|
|
69
59
|
<View
|
|
70
60
|
style={[styles.content, landscapeContentStyles, outgoingCall.content]}
|
|
71
61
|
>
|
|
@@ -74,7 +64,7 @@ export const OutgoingCall = ({
|
|
|
74
64
|
<Text
|
|
75
65
|
style={[
|
|
76
66
|
styles.callingText,
|
|
77
|
-
{ color: colors.
|
|
67
|
+
{ color: colors.textPrimary },
|
|
78
68
|
typefaces.heading6,
|
|
79
69
|
outgoingCall.callingText,
|
|
80
70
|
]}
|
|
@@ -115,7 +105,7 @@ const Background = () => {
|
|
|
115
105
|
<View
|
|
116
106
|
style={[
|
|
117
107
|
styles.background,
|
|
118
|
-
{ backgroundColor: colors.
|
|
108
|
+
{ backgroundColor: colors.sheetSecondary },
|
|
119
109
|
outgoingCall.background,
|
|
120
110
|
]}
|
|
121
111
|
/>
|
|
@@ -125,7 +115,7 @@ const Background = () => {
|
|
|
125
115
|
<View
|
|
126
116
|
style={[
|
|
127
117
|
styles.background,
|
|
128
|
-
{ backgroundColor: colors.
|
|
118
|
+
{ backgroundColor: colors.sheetSecondary },
|
|
129
119
|
outgoingCall.background,
|
|
130
120
|
]}
|
|
131
121
|
>
|
|
@@ -147,7 +137,7 @@ const styles = StyleSheet.create({
|
|
|
147
137
|
container: {
|
|
148
138
|
zIndex: Z_INDEX.IN_MIDDLE,
|
|
149
139
|
},
|
|
150
|
-
topContainer: { flex: 1 },
|
|
140
|
+
topContainer: { flex: 1, justifyContent: 'center' },
|
|
151
141
|
content: {
|
|
152
142
|
flex: 1,
|
|
153
143
|
},
|
|
@@ -6,7 +6,6 @@ import {
|
|
|
6
6
|
CallContent as DefaultCallContent,
|
|
7
7
|
CallContentProps,
|
|
8
8
|
} from '../CallContent';
|
|
9
|
-
import { CallTopViewProps } from '../CallTopView';
|
|
10
9
|
import {
|
|
11
10
|
IncomingCall as DefaultIncomingCall,
|
|
12
11
|
IncomingCallProps,
|
|
@@ -41,10 +40,6 @@ export type RingingCallContentProps = {
|
|
|
41
40
|
* Prop to customize the accepted CallContent component in the RingingCallContent. This is shown after the call is accepted.
|
|
42
41
|
*/
|
|
43
42
|
CallContent?: React.ComponentType<CallContentProps> | null;
|
|
44
|
-
/**
|
|
45
|
-
* Prop to customize the CallTopView component in the RingingCallContent.
|
|
46
|
-
*/
|
|
47
|
-
CallTopView?: React.ComponentType<CallTopViewProps> | null;
|
|
48
43
|
/**
|
|
49
44
|
* Prop to override the component shown when the call is left.
|
|
50
45
|
*/
|
|
@@ -69,7 +64,6 @@ const RingingCallPanel = ({
|
|
|
69
64
|
IncomingCall = DefaultIncomingCall,
|
|
70
65
|
OutgoingCall = DefaultOutgoingCall,
|
|
71
66
|
CallContent = DefaultCallContent,
|
|
72
|
-
CallTopView,
|
|
73
67
|
CallLeftIndicator = DefaultCallLeftIndicator,
|
|
74
68
|
CallPreparingIndicator = DefaultCallPreparingIndicator,
|
|
75
69
|
landscape,
|
|
@@ -84,12 +78,8 @@ const RingingCallPanel = ({
|
|
|
84
78
|
switch (callingState) {
|
|
85
79
|
case CallingState.RINGING:
|
|
86
80
|
return isCallCreatedByMe
|
|
87
|
-
? OutgoingCall &&
|
|
88
|
-
|
|
89
|
-
)
|
|
90
|
-
: IncomingCall && (
|
|
91
|
-
<IncomingCall CallTopView={CallTopView} landscape={landscape} />
|
|
92
|
-
);
|
|
81
|
+
? OutgoingCall && <OutgoingCall landscape={landscape} />
|
|
82
|
+
: IncomingCall && <IncomingCall landscape={landscape} />;
|
|
93
83
|
case CallingState.LEFT:
|
|
94
84
|
return (
|
|
95
85
|
CallLeftIndicator && <CallLeftIndicator onBackPress={onBackPress} />
|
|
@@ -101,11 +91,7 @@ const RingingCallPanel = ({
|
|
|
101
91
|
)
|
|
102
92
|
);
|
|
103
93
|
default:
|
|
104
|
-
return
|
|
105
|
-
CallContent && (
|
|
106
|
-
<CallContent CallTopView={CallTopView} landscape={landscape} />
|
|
107
|
-
)
|
|
108
|
-
);
|
|
94
|
+
return CallContent && <CallContent landscape={landscape} />;
|
|
109
95
|
}
|
|
110
96
|
};
|
|
111
97
|
|
|
@@ -18,7 +18,7 @@ export const TextBasedIndicator = (props: TextBasedIndicatorProps) => {
|
|
|
18
18
|
} = useTheme();
|
|
19
19
|
|
|
20
20
|
return (
|
|
21
|
-
<View style={[styles.container, { backgroundColor: colors.
|
|
21
|
+
<View style={[styles.container, { backgroundColor: colors.sheetTertiary }]}>
|
|
22
22
|
{props.onBackPress && (
|
|
23
23
|
<View style={styles.backContainer}>
|
|
24
24
|
<Pressable
|
|
@@ -31,7 +31,7 @@ export const TextBasedIndicator = (props: TextBasedIndicatorProps) => {
|
|
|
31
31
|
},
|
|
32
32
|
]}
|
|
33
33
|
>
|
|
34
|
-
<Back color={colors.
|
|
34
|
+
<Back color={colors.iconPrimary} />
|
|
35
35
|
</Pressable>
|
|
36
36
|
</View>
|
|
37
37
|
)}
|
|
@@ -39,7 +39,7 @@ export const TextBasedIndicator = (props: TextBasedIndicatorProps) => {
|
|
|
39
39
|
<Text
|
|
40
40
|
style={[
|
|
41
41
|
styles.text,
|
|
42
|
-
{ color: colors.
|
|
42
|
+
{ color: colors.textPrimary },
|
|
43
43
|
typefaces.heading6,
|
|
44
44
|
]}
|
|
45
45
|
>
|