@100mslive/react-native-room-kit 1.1.5 → 1.1.7
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/lib/commonjs/Icons/CC/assets/cc-off-med.png +0 -0
- package/lib/commonjs/Icons/CC/assets/cc-off-med@2x.png +0 -0
- package/lib/commonjs/Icons/CC/assets/cc-off-med@3x.png +0 -0
- package/lib/commonjs/Icons/CC/assets/cc-on-med.png +0 -0
- package/lib/commonjs/Icons/CC/assets/cc-on-med@2x.png +0 -0
- package/lib/commonjs/Icons/CC/assets/cc-on-med@3x.png +0 -0
- package/lib/commonjs/Icons/CC/index.js +39 -0
- package/lib/commonjs/Icons/CC/index.js.map +1 -0
- package/lib/commonjs/Icons/Close/assets/close-med.png +0 -0
- package/lib/commonjs/Icons/Close/assets/close-med@2x.png +0 -0
- package/lib/commonjs/Icons/Close/assets/close-med@3x.png +0 -0
- package/lib/commonjs/Icons/Close/index.js +7 -2
- package/lib/commonjs/Icons/Close/index.js.map +1 -1
- package/lib/commonjs/Icons/Maximize/assets/maximize-med.png +0 -0
- package/lib/commonjs/Icons/Maximize/assets/maximize-med@2x.png +0 -0
- package/lib/commonjs/Icons/Maximize/assets/maximize-med@3x.png +0 -0
- package/lib/commonjs/Icons/Maximize/index.js +7 -2
- package/lib/commonjs/Icons/Maximize/index.js.map +1 -1
- package/lib/commonjs/Icons/Minimize/assets/minimize-med.png +0 -0
- package/lib/commonjs/Icons/Minimize/assets/minimize-med@2x.png +0 -0
- package/lib/commonjs/Icons/Minimize/assets/minimize-med@3x.png +0 -0
- package/lib/commonjs/Icons/Minimize/index.js +7 -2
- package/lib/commonjs/Icons/Minimize/index.js.map +1 -1
- package/lib/commonjs/Icons/Pause/assets/pause-med.png +0 -0
- package/lib/commonjs/Icons/Pause/assets/pause-med@2x.png +0 -0
- package/lib/commonjs/Icons/Pause/assets/pause-med@3x.png +0 -0
- package/lib/commonjs/Icons/Pause/index.js +35 -0
- package/lib/commonjs/Icons/Pause/index.js.map +1 -0
- package/lib/commonjs/Icons/Play/assets/play-med.png +0 -0
- package/lib/commonjs/Icons/Play/assets/play-med@2x.png +0 -0
- package/lib/commonjs/Icons/Play/assets/play-med@3x.png +0 -0
- package/lib/commonjs/Icons/Play/index.js +35 -0
- package/lib/commonjs/Icons/Play/index.js.map +1 -0
- package/lib/commonjs/Icons/SeekArrow/assets/seek-backward-arrow.png +0 -0
- package/lib/commonjs/Icons/SeekArrow/assets/seek-backward-arrow@2x.png +0 -0
- package/lib/commonjs/Icons/SeekArrow/assets/seek-backward-arrow@3x.png +0 -0
- package/lib/commonjs/Icons/SeekArrow/assets/seek-forward-arrow.png +0 -0
- package/lib/commonjs/Icons/SeekArrow/assets/seek-forward-arrow@2x.png +0 -0
- package/lib/commonjs/Icons/SeekArrow/assets/seek-forward-arrow@3x.png +0 -0
- package/lib/commonjs/Icons/SeekArrow/index.js +34 -0
- package/lib/commonjs/Icons/SeekArrow/index.js.map +1 -0
- package/lib/commonjs/Icons/index.js +44 -0
- package/lib/commonjs/Icons/index.js.map +1 -1
- package/lib/commonjs/components/AnimatedHeader.js +1 -11
- package/lib/commonjs/components/AnimatedHeader.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatBanner.js +1 -0
- package/lib/commonjs/components/Chat/ChatBanner.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js +10 -7
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatList.js +4 -2
- package/lib/commonjs/components/Chat/ChatList.js.map +1 -1
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js +2 -1
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -1
- package/lib/commonjs/components/DisplayView.js +1 -9
- package/lib/commonjs/components/DisplayView.js.map +1 -1
- package/lib/commonjs/components/Footer.js +7 -44
- package/lib/commonjs/components/Footer.js.map +1 -1
- package/lib/commonjs/components/HLSAnimatedDescriptionPane.js +30 -0
- package/lib/commonjs/components/HLSAnimatedDescriptionPane.js.map +1 -0
- package/lib/commonjs/components/HLSChatFooterView.js +51 -0
- package/lib/commonjs/components/HLSChatFooterView.js.map +1 -0
- package/lib/commonjs/components/HLSChatHeaderView.js +130 -0
- package/lib/commonjs/components/HLSChatHeaderView.js.map +1 -0
- package/lib/commonjs/components/HLSChatMessages.js +54 -0
- package/lib/commonjs/components/HLSChatMessages.js.map +1 -0
- package/lib/commonjs/components/HLSChatView.js +49 -0
- package/lib/commonjs/components/HLSChatView.js.map +1 -0
- package/lib/commonjs/components/HLSCloseMeetingControl.js +41 -0
- package/lib/commonjs/components/HLSCloseMeetingControl.js.map +1 -0
- package/lib/commonjs/components/HLSClosedCaptionControl.js +109 -0
- package/lib/commonjs/components/HLSClosedCaptionControl.js.map +1 -0
- package/lib/commonjs/components/HLSDescriptionPane.js +145 -0
- package/lib/commonjs/components/HLSDescriptionPane.js.map +1 -0
- package/lib/commonjs/components/HLSDescriptionPaneHeader.js +70 -0
- package/lib/commonjs/components/HLSDescriptionPaneHeader.js.map +1 -0
- package/lib/commonjs/components/HLSDistanceFromLive.js +56 -0
- package/lib/commonjs/components/HLSDistanceFromLive.js.map +1 -0
- package/lib/commonjs/components/HLSFooter.js +1 -1
- package/lib/commonjs/components/HLSFooter.js.map +1 -1
- package/lib/commonjs/components/HLSFullScreenControl.js +42 -0
- package/lib/commonjs/components/HLSFullScreenControl.js.map +1 -0
- package/lib/commonjs/components/HLSGoLiveControl.js +78 -0
- package/lib/commonjs/components/HLSGoLiveControl.js.map +1 -0
- package/lib/commonjs/components/HLSHandRaiseButton.js +38 -0
- package/lib/commonjs/components/HLSHandRaiseButton.js.map +1 -0
- package/lib/commonjs/components/HLSManageChatTextInput.js +90 -0
- package/lib/commonjs/components/HLSManageChatTextInput.js.map +1 -0
- package/lib/commonjs/components/HLSNotifications.js +32 -0
- package/lib/commonjs/components/HLSNotifications.js.map +1 -0
- package/lib/commonjs/components/HLSPlayPauseControl.js +62 -0
- package/lib/commonjs/components/HLSPlayPauseControl.js.map +1 -0
- package/lib/commonjs/components/HLSPlayer.js +193 -0
- package/lib/commonjs/components/HLSPlayer.js.map +1 -0
- package/lib/commonjs/components/HLSPlayerContainer.js +123 -0
- package/lib/commonjs/components/HLSPlayerContainer.js.map +1 -0
- package/lib/commonjs/components/HLSPlayerControls.js +130 -0
- package/lib/commonjs/components/HLSPlayerControls.js.map +1 -0
- package/lib/commonjs/components/HLSRecordingStatusText.js +31 -0
- package/lib/commonjs/components/HLSRecordingStatusText.js.map +1 -0
- package/lib/commonjs/components/HLSRoomOptionsButton.js +25 -0
- package/lib/commonjs/components/HLSRoomOptionsButton.js.map +1 -0
- package/lib/commonjs/components/HLSSeekbackwardControl.js +67 -0
- package/lib/commonjs/components/HLSSeekbackwardControl.js.map +1 -0
- package/lib/commonjs/components/HLSSeekbar.js +285 -0
- package/lib/commonjs/components/HLSSeekbar.js.map +1 -0
- package/lib/commonjs/components/HLSSeekforwardControl.js +71 -0
- package/lib/commonjs/components/HLSSeekforwardControl.js.map +1 -0
- package/lib/commonjs/components/HLSStreamStartedTime.js +69 -0
- package/lib/commonjs/components/HLSStreamStartedTime.js.map +1 -0
- package/lib/commonjs/components/HLSViewerScreenContent.js +61 -0
- package/lib/commonjs/components/HLSViewerScreenContent.js.map +1 -0
- package/lib/commonjs/components/HMSHLSMessage.js +19 -41
- package/lib/commonjs/components/HMSHLSMessage.js.map +1 -1
- package/lib/commonjs/components/HMSHLSMessageList.js +2 -2
- package/lib/commonjs/components/HMSHLSMessageList.js.map +1 -1
- package/lib/commonjs/components/HMSHLSNotStarted.js +15 -7
- package/lib/commonjs/components/HMSHLSNotStarted.js.map +1 -1
- package/lib/commonjs/components/HMSKeyboardAvoidingView.js +5 -1
- package/lib/commonjs/components/HMSKeyboardAvoidingView.js.map +1 -1
- package/lib/commonjs/components/HMSLiveViewerCount.js +2 -4
- package/lib/commonjs/components/HMSLiveViewerCount.js.map +1 -1
- package/lib/commonjs/components/HMSNotification.js +3 -2
- package/lib/commonjs/components/HMSNotification.js.map +1 -1
- package/lib/commonjs/components/HMSNotifications.js +3 -1
- package/lib/commonjs/components/HMSNotifications.js.map +1 -1
- package/lib/commonjs/components/HMSOverlayChatView.js +7 -4
- package/lib/commonjs/components/HMSOverlayChatView.js.map +1 -1
- package/lib/commonjs/components/HMSOverlayMessageView.js +150 -0
- package/lib/commonjs/components/HMSOverlayMessageView.js.map +1 -0
- package/lib/commonjs/components/Meeting.js +3 -1
- package/lib/commonjs/components/Meeting.js.map +1 -1
- package/lib/commonjs/components/MeetingScreenContent.js +2 -9
- package/lib/commonjs/components/MeetingScreenContent.js.map +1 -1
- package/lib/commonjs/components/OverlayedViews.js +1 -1
- package/lib/commonjs/components/OverlayedViews.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsList.js +4 -4
- package/lib/commonjs/components/Participants/ParticipantsList.js.map +1 -1
- package/lib/commonjs/components/PressableIcon.js +1 -2
- package/lib/commonjs/components/PressableIcon.js.map +1 -1
- package/lib/commonjs/hooks-util.js +156 -5
- package/lib/commonjs/hooks-util.js.map +1 -1
- package/lib/commonjs/redux/actionTypes.js +6 -0
- package/lib/commonjs/redux/actionTypes.js.map +1 -1
- package/lib/commonjs/redux/actions/index.js +24 -3
- package/lib/commonjs/redux/actions/index.js.map +1 -1
- package/lib/commonjs/redux/reducers/appState.js +25 -1
- package/lib/commonjs/redux/reducers/appState.js.map +1 -1
- package/lib/module/Icons/CC/assets/cc-off-med.png +0 -0
- package/lib/module/Icons/CC/assets/cc-off-med@2x.png +0 -0
- package/lib/module/Icons/CC/assets/cc-off-med@3x.png +0 -0
- package/lib/module/Icons/CC/assets/cc-on-med.png +0 -0
- package/lib/module/Icons/CC/assets/cc-on-med@2x.png +0 -0
- package/lib/module/Icons/CC/assets/cc-on-med@3x.png +0 -0
- package/lib/module/Icons/CC/index.js +31 -0
- package/lib/module/Icons/CC/index.js.map +1 -0
- package/lib/module/Icons/Close/assets/close-med.png +0 -0
- package/lib/module/Icons/Close/assets/close-med@2x.png +0 -0
- package/lib/module/Icons/Close/assets/close-med@3x.png +0 -0
- package/lib/module/Icons/Close/index.js +7 -2
- package/lib/module/Icons/Close/index.js.map +1 -1
- package/lib/module/Icons/Maximize/assets/maximize-med.png +0 -0
- package/lib/module/Icons/Maximize/assets/maximize-med@2x.png +0 -0
- package/lib/module/Icons/Maximize/assets/maximize-med@3x.png +0 -0
- package/lib/module/Icons/Maximize/index.js +7 -2
- package/lib/module/Icons/Maximize/index.js.map +1 -1
- package/lib/module/Icons/Minimize/assets/minimize-med.png +0 -0
- package/lib/module/Icons/Minimize/assets/minimize-med@2x.png +0 -0
- package/lib/module/Icons/Minimize/assets/minimize-med@3x.png +0 -0
- package/lib/module/Icons/Minimize/index.js +7 -2
- package/lib/module/Icons/Minimize/index.js.map +1 -1
- package/lib/module/Icons/Pause/assets/pause-med.png +0 -0
- package/lib/module/Icons/Pause/assets/pause-med@2x.png +0 -0
- package/lib/module/Icons/Pause/assets/pause-med@3x.png +0 -0
- package/lib/module/Icons/Pause/index.js +27 -0
- package/lib/module/Icons/Pause/index.js.map +1 -0
- package/lib/module/Icons/Play/assets/play-med.png +0 -0
- package/lib/module/Icons/Play/assets/play-med@2x.png +0 -0
- package/lib/module/Icons/Play/assets/play-med@3x.png +0 -0
- package/lib/module/Icons/Play/index.js +27 -0
- package/lib/module/Icons/Play/index.js.map +1 -0
- package/lib/module/Icons/SeekArrow/assets/seek-backward-arrow.png +0 -0
- package/lib/module/Icons/SeekArrow/assets/seek-backward-arrow@2x.png +0 -0
- package/lib/module/Icons/SeekArrow/assets/seek-backward-arrow@3x.png +0 -0
- package/lib/module/Icons/SeekArrow/assets/seek-forward-arrow.png +0 -0
- package/lib/module/Icons/SeekArrow/assets/seek-forward-arrow@2x.png +0 -0
- package/lib/module/Icons/SeekArrow/assets/seek-forward-arrow@3x.png +0 -0
- package/lib/module/Icons/SeekArrow/index.js +26 -0
- package/lib/module/Icons/SeekArrow/index.js.map +1 -0
- package/lib/module/Icons/index.js +4 -0
- package/lib/module/Icons/index.js.map +1 -1
- package/lib/module/components/AnimatedHeader.js +1 -11
- package/lib/module/components/AnimatedHeader.js.map +1 -1
- package/lib/module/components/Chat/ChatBanner.js +1 -0
- package/lib/module/components/Chat/ChatBanner.js.map +1 -1
- package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js +10 -7
- package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -1
- package/lib/module/components/Chat/ChatList.js +4 -2
- package/lib/module/components/Chat/ChatList.js.map +1 -1
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js +3 -2
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -1
- package/lib/module/components/DisplayView.js +3 -11
- package/lib/module/components/DisplayView.js.map +1 -1
- package/lib/module/components/Footer.js +9 -46
- package/lib/module/components/Footer.js.map +1 -1
- package/lib/module/components/HLSAnimatedDescriptionPane.js +21 -0
- package/lib/module/components/HLSAnimatedDescriptionPane.js.map +1 -0
- package/lib/module/components/HLSChatFooterView.js +42 -0
- package/lib/module/components/HLSChatFooterView.js.map +1 -0
- package/lib/module/components/HLSChatHeaderView.js +121 -0
- package/lib/module/components/HLSChatHeaderView.js.map +1 -0
- package/lib/module/components/HLSChatMessages.js +45 -0
- package/lib/module/components/HLSChatMessages.js.map +1 -0
- package/lib/module/components/HLSChatView.js +40 -0
- package/lib/module/components/HLSChatView.js.map +1 -0
- package/lib/module/components/HLSCloseMeetingControl.js +33 -0
- package/lib/module/components/HLSCloseMeetingControl.js.map +1 -0
- package/lib/module/components/HLSClosedCaptionControl.js +100 -0
- package/lib/module/components/HLSClosedCaptionControl.js.map +1 -0
- package/lib/module/components/HLSDescriptionPane.js +136 -0
- package/lib/module/components/HLSDescriptionPane.js.map +1 -0
- package/lib/module/components/HLSDescriptionPaneHeader.js +61 -0
- package/lib/module/components/HLSDescriptionPaneHeader.js.map +1 -0
- package/lib/module/components/HLSDistanceFromLive.js +48 -0
- package/lib/module/components/HLSDistanceFromLive.js.map +1 -0
- package/lib/module/components/HLSFooter.js +2 -2
- package/lib/module/components/HLSFooter.js.map +1 -1
- package/lib/module/components/HLSFullScreenControl.js +34 -0
- package/lib/module/components/HLSFullScreenControl.js.map +1 -0
- package/lib/module/components/HLSGoLiveControl.js +70 -0
- package/lib/module/components/HLSGoLiveControl.js.map +1 -0
- package/lib/module/components/HLSHandRaiseButton.js +29 -0
- package/lib/module/components/HLSHandRaiseButton.js.map +1 -0
- package/lib/module/components/HLSManageChatTextInput.js +81 -0
- package/lib/module/components/HLSManageChatTextInput.js.map +1 -0
- package/lib/module/components/HLSNotifications.js +24 -0
- package/lib/module/components/HLSNotifications.js.map +1 -0
- package/lib/module/components/HLSPlayPauseControl.js +54 -0
- package/lib/module/components/HLSPlayPauseControl.js.map +1 -0
- package/lib/module/components/HLSPlayer.js +185 -0
- package/lib/module/components/HLSPlayer.js.map +1 -0
- package/lib/module/components/HLSPlayerContainer.js +115 -0
- package/lib/module/components/HLSPlayerContainer.js.map +1 -0
- package/lib/module/components/HLSPlayerControls.js +120 -0
- package/lib/module/components/HLSPlayerControls.js.map +1 -0
- package/lib/module/components/HLSRecordingStatusText.js +22 -0
- package/lib/module/components/HLSRecordingStatusText.js.map +1 -0
- package/lib/module/components/HLSRoomOptionsButton.js +16 -0
- package/lib/module/components/HLSRoomOptionsButton.js.map +1 -0
- package/lib/module/components/HLSSeekbackwardControl.js +59 -0
- package/lib/module/components/HLSSeekbackwardControl.js.map +1 -0
- package/lib/module/components/HLSSeekbar.js +276 -0
- package/lib/module/components/HLSSeekbar.js.map +1 -0
- package/lib/module/components/HLSSeekforwardControl.js +63 -0
- package/lib/module/components/HLSSeekforwardControl.js.map +1 -0
- package/lib/module/components/HLSStreamStartedTime.js +60 -0
- package/lib/module/components/HLSStreamStartedTime.js.map +1 -0
- package/lib/module/components/HLSViewerScreenContent.js +53 -0
- package/lib/module/components/HLSViewerScreenContent.js.map +1 -0
- package/lib/module/components/HMSHLSMessage.js +19 -41
- package/lib/module/components/HMSHLSMessage.js.map +1 -1
- package/lib/module/components/HMSHLSMessageList.js +2 -2
- package/lib/module/components/HMSHLSMessageList.js.map +1 -1
- package/lib/module/components/HMSHLSNotStarted.js +15 -7
- package/lib/module/components/HMSHLSNotStarted.js.map +1 -1
- package/lib/module/components/HMSKeyboardAvoidingView.js +5 -1
- package/lib/module/components/HMSKeyboardAvoidingView.js.map +1 -1
- package/lib/module/components/HMSLiveViewerCount.js +3 -5
- package/lib/module/components/HMSLiveViewerCount.js.map +1 -1
- package/lib/module/components/HMSNotification.js +4 -3
- package/lib/module/components/HMSNotification.js.map +1 -1
- package/lib/module/components/HMSNotifications.js +3 -1
- package/lib/module/components/HMSNotifications.js.map +1 -1
- package/lib/module/components/HMSOverlayChatView.js +5 -2
- package/lib/module/components/HMSOverlayChatView.js.map +1 -1
- package/lib/module/components/HMSOverlayMessageView.js +142 -0
- package/lib/module/components/HMSOverlayMessageView.js.map +1 -0
- package/lib/module/components/Meeting.js +4 -2
- package/lib/module/components/Meeting.js.map +1 -1
- package/lib/module/components/MeetingScreenContent.js +3 -10
- package/lib/module/components/MeetingScreenContent.js.map +1 -1
- package/lib/module/components/OverlayedViews.js +2 -2
- package/lib/module/components/OverlayedViews.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsList.js +4 -4
- package/lib/module/components/Participants/ParticipantsList.js.map +1 -1
- package/lib/module/components/PressableIcon.js +1 -2
- package/lib/module/components/PressableIcon.js.map +1 -1
- package/lib/module/hooks-util.js +154 -7
- package/lib/module/hooks-util.js.map +1 -1
- package/lib/module/redux/actionTypes.js +6 -0
- package/lib/module/redux/actionTypes.js.map +1 -1
- package/lib/module/redux/actions/index.js +18 -0
- package/lib/module/redux/actions/index.js.map +1 -1
- package/lib/module/redux/reducers/appState.js +25 -1
- package/lib/module/redux/reducers/appState.js.map +1 -1
- package/lib/typescript/Icons/CC/index.d.ts +9 -0
- package/lib/typescript/Icons/CC/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Close/index.d.ts +1 -0
- package/lib/typescript/Icons/Close/index.d.ts.map +1 -1
- package/lib/typescript/Icons/Maximize/index.d.ts +1 -0
- package/lib/typescript/Icons/Maximize/index.d.ts.map +1 -1
- package/lib/typescript/Icons/Minimize/index.d.ts +1 -0
- package/lib/typescript/Icons/Minimize/index.d.ts.map +1 -1
- package/lib/typescript/Icons/Pause/index.d.ts +8 -0
- package/lib/typescript/Icons/Pause/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Play/index.d.ts +8 -0
- package/lib/typescript/Icons/Play/index.d.ts.map +1 -0
- package/lib/typescript/Icons/SeekArrow/index.d.ts +8 -0
- package/lib/typescript/Icons/SeekArrow/index.d.ts.map +1 -0
- package/lib/typescript/Icons/index.d.ts +4 -0
- package/lib/typescript/Icons/index.d.ts.map +1 -1
- package/lib/typescript/components/AnimatedHeader.d.ts.map +1 -1
- package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts +4 -1
- package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts.map +1 -1
- package/lib/typescript/components/Chat/ChatList.d.ts +4 -1
- package/lib/typescript/components/Chat/ChatList.d.ts.map +1 -1
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsView.d.ts.map +1 -1
- package/lib/typescript/components/CustomButton.d.ts +5 -5
- package/lib/typescript/components/CustomButton.d.ts.map +1 -1
- package/lib/typescript/components/DisplayView.d.ts.map +1 -1
- package/lib/typescript/components/Footer.d.ts.map +1 -1
- package/lib/typescript/components/HLSAnimatedDescriptionPane.d.ts +10 -0
- package/lib/typescript/components/HLSAnimatedDescriptionPane.d.ts.map +1 -0
- package/lib/typescript/components/HLSChatFooterView.d.ts +3 -0
- package/lib/typescript/components/HLSChatFooterView.d.ts.map +1 -0
- package/lib/typescript/components/HLSChatHeaderView.d.ts +7 -0
- package/lib/typescript/components/HLSChatHeaderView.d.ts.map +1 -0
- package/lib/typescript/components/HLSChatMessages.d.ts +3 -0
- package/lib/typescript/components/HLSChatMessages.d.ts.map +1 -0
- package/lib/typescript/components/HLSChatView.d.ts +3 -0
- package/lib/typescript/components/HLSChatView.d.ts.map +1 -0
- package/lib/typescript/components/HLSCloseMeetingControl.d.ts +8 -0
- package/lib/typescript/components/HLSCloseMeetingControl.d.ts.map +1 -0
- package/lib/typescript/components/HLSClosedCaptionControl.d.ts +10 -0
- package/lib/typescript/components/HLSClosedCaptionControl.d.ts.map +1 -0
- package/lib/typescript/components/HLSDescriptionPane.d.ts +6 -0
- package/lib/typescript/components/HLSDescriptionPane.d.ts.map +1 -0
- package/lib/typescript/components/HLSDescriptionPaneHeader.d.ts +9 -0
- package/lib/typescript/components/HLSDescriptionPaneHeader.d.ts.map +1 -0
- package/lib/typescript/components/HLSDistanceFromLive.d.ts +8 -0
- package/lib/typescript/components/HLSDistanceFromLive.d.ts.map +1 -0
- package/lib/typescript/components/HLSFullScreenControl.d.ts +8 -0
- package/lib/typescript/components/HLSFullScreenControl.d.ts.map +1 -0
- package/lib/typescript/components/HLSGoLiveControl.d.ts +10 -0
- package/lib/typescript/components/HLSGoLiveControl.d.ts.map +1 -0
- package/lib/typescript/components/HLSHandRaiseButton.d.ts +3 -0
- package/lib/typescript/components/HLSHandRaiseButton.d.ts.map +1 -0
- package/lib/typescript/components/HLSManageChatTextInput.d.ts +3 -0
- package/lib/typescript/components/HLSManageChatTextInput.d.ts.map +1 -0
- package/lib/typescript/components/HLSNotifications.d.ts +3 -0
- package/lib/typescript/components/HLSNotifications.d.ts.map +1 -0
- package/lib/typescript/components/HLSPlayPauseControl.d.ts +8 -0
- package/lib/typescript/components/HLSPlayPauseControl.d.ts.map +1 -0
- package/lib/typescript/components/HLSPlayer.d.ts +6 -0
- package/lib/typescript/components/HLSPlayer.d.ts.map +1 -0
- package/lib/typescript/components/HLSPlayerContainer.d.ts +4 -0
- package/lib/typescript/components/HLSPlayerContainer.d.ts.map +1 -0
- package/lib/typescript/components/HLSPlayerControls.d.ts +14 -0
- package/lib/typescript/components/HLSPlayerControls.d.ts.map +1 -0
- package/lib/typescript/components/HLSRecordingStatusText.d.ts +9 -0
- package/lib/typescript/components/HLSRecordingStatusText.d.ts.map +1 -0
- package/lib/typescript/components/HLSRoomOptionsButton.d.ts +3 -0
- package/lib/typescript/components/HLSRoomOptionsButton.d.ts.map +1 -0
- package/lib/typescript/components/HLSSeekbackwardControl.d.ts +8 -0
- package/lib/typescript/components/HLSSeekbackwardControl.d.ts.map +1 -0
- package/lib/typescript/components/HLSSeekbar.d.ts +66 -0
- package/lib/typescript/components/HLSSeekbar.d.ts.map +1 -0
- package/lib/typescript/components/HLSSeekforwardControl.d.ts +8 -0
- package/lib/typescript/components/HLSSeekforwardControl.d.ts.map +1 -0
- package/lib/typescript/components/HLSStreamStartedTime.d.ts +6 -0
- package/lib/typescript/components/HLSStreamStartedTime.d.ts.map +1 -0
- package/lib/typescript/components/HLSViewerScreenContent.d.ts +6 -0
- package/lib/typescript/components/HLSViewerScreenContent.d.ts.map +1 -0
- package/lib/typescript/components/HMSHLSMessage.d.ts.map +1 -1
- package/lib/typescript/components/HMSHLSNotStarted.d.ts.map +1 -1
- package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts +2 -0
- package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts.map +1 -1
- package/lib/typescript/components/HMSLiveViewerCount.d.ts.map +1 -1
- package/lib/typescript/components/HMSNotification.d.ts.map +1 -1
- package/lib/typescript/components/HMSNotifications.d.ts.map +1 -1
- package/lib/typescript/components/HMSOverlayChatView.d.ts +2 -2
- package/lib/typescript/components/HMSOverlayChatView.d.ts.map +1 -1
- package/lib/typescript/components/HMSOverlayMessageView.d.ts +8 -0
- package/lib/typescript/components/HMSOverlayMessageView.d.ts.map +1 -0
- package/lib/typescript/components/Meeting.d.ts.map +1 -1
- package/lib/typescript/components/MeetingScreenContent.d.ts.map +1 -1
- package/lib/typescript/components/Modals.d.ts +3 -3
- package/lib/typescript/components/Modals.d.ts.map +1 -1
- package/lib/typescript/components/Participants/ParticipantsList.d.ts.map +1 -1
- package/lib/typescript/components/PressableIcon.d.ts.map +1 -1
- package/lib/typescript/components/Preview.d.ts.map +1 -1
- package/lib/typescript/hooks-util.d.ts +32 -8
- package/lib/typescript/hooks-util.d.ts.map +1 -1
- package/lib/typescript/redux/actionTypes.d.ts +3 -0
- package/lib/typescript/redux/actionTypes.d.ts.map +1 -1
- package/lib/typescript/redux/actions/index.d.ts +18 -0
- package/lib/typescript/redux/actions/index.d.ts.map +1 -1
- package/lib/typescript/redux/index.d.ts +19 -16
- package/lib/typescript/redux/index.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/appState.d.ts +3 -0
- package/lib/typescript/redux/reducers/appState.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/index.d.ts +19 -16
- package/lib/typescript/redux/reducers/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/Icons/CC/assets/cc-off-med.png +0 -0
- package/src/Icons/CC/assets/cc-off-med@2x.png +0 -0
- package/src/Icons/CC/assets/cc-off-med@3x.png +0 -0
- package/src/Icons/CC/assets/cc-on-med.png +0 -0
- package/src/Icons/CC/assets/cc-on-med@2x.png +0 -0
- package/src/Icons/CC/assets/cc-on-med@3x.png +0 -0
- package/src/Icons/CC/index.tsx +51 -0
- package/src/Icons/Close/assets/close-med.png +0 -0
- package/src/Icons/Close/assets/close-med@2x.png +0 -0
- package/src/Icons/Close/assets/close-med@3x.png +0 -0
- package/src/Icons/Close/index.tsx +19 -3
- package/src/Icons/Maximize/assets/maximize-med.png +0 -0
- package/src/Icons/Maximize/assets/maximize-med@2x.png +0 -0
- package/src/Icons/Maximize/assets/maximize-med@3x.png +0 -0
- package/src/Icons/Maximize/index.tsx +19 -3
- package/src/Icons/Minimize/assets/minimize-med.png +0 -0
- package/src/Icons/Minimize/assets/minimize-med@2x.png +0 -0
- package/src/Icons/Minimize/assets/minimize-med@3x.png +0 -0
- package/src/Icons/Minimize/index.tsx +19 -3
- package/src/Icons/Pause/assets/pause-med.png +0 -0
- package/src/Icons/Pause/assets/pause-med@2x.png +0 -0
- package/src/Icons/Pause/assets/pause-med@3x.png +0 -0
- package/src/Icons/Pause/index.tsx +36 -0
- package/src/Icons/Play/assets/play-med.png +0 -0
- package/src/Icons/Play/assets/play-med@2x.png +0 -0
- package/src/Icons/Play/assets/play-med@3x.png +0 -0
- package/src/Icons/Play/index.tsx +36 -0
- package/src/Icons/SeekArrow/assets/seek-backward-arrow.png +0 -0
- package/src/Icons/SeekArrow/assets/seek-backward-arrow@2x.png +0 -0
- package/src/Icons/SeekArrow/assets/seek-backward-arrow@3x.png +0 -0
- package/src/Icons/SeekArrow/assets/seek-forward-arrow.png +0 -0
- package/src/Icons/SeekArrow/assets/seek-forward-arrow@2x.png +0 -0
- package/src/Icons/SeekArrow/assets/seek-forward-arrow@3x.png +0 -0
- package/src/Icons/SeekArrow/index.tsx +40 -0
- package/src/Icons/index.ts +4 -0
- package/src/components/AnimatedHeader.tsx +1 -9
- package/src/components/Chat/ChatBanner.tsx +1 -0
- package/src/components/Chat/ChatFilterBottomSheetOpener.tsx +16 -8
- package/src/components/Chat/ChatList.tsx +4 -1
- package/src/components/ChatAndParticipants/ChatAndParticipantsView.tsx +6 -1
- package/src/components/DisplayView.tsx +9 -23
- package/src/components/Footer.tsx +8 -77
- package/src/components/HLSAnimatedDescriptionPane.tsx +36 -0
- package/src/components/HLSChatFooterView.tsx +53 -0
- package/src/components/HLSChatHeaderView.tsx +165 -0
- package/src/components/HLSChatMessages.tsx +60 -0
- package/src/components/HLSChatView.tsx +55 -0
- package/src/components/HLSCloseMeetingControl.tsx +39 -0
- package/src/components/HLSClosedCaptionControl.tsx +140 -0
- package/src/components/HLSDescriptionPane.tsx +168 -0
- package/src/components/HLSDescriptionPaneHeader.tsx +78 -0
- package/src/components/HLSDistanceFromLive.tsx +69 -0
- package/src/components/HLSFooter.tsx +2 -2
- package/src/components/HLSFullScreenControl.tsx +46 -0
- package/src/components/HLSGoLiveControl.tsx +104 -0
- package/src/components/HLSHandRaiseButton.tsx +41 -0
- package/src/components/HLSManageChatTextInput.tsx +98 -0
- package/src/components/HLSNotifications.tsx +33 -0
- package/src/components/HLSPlayPauseControl.tsx +69 -0
- package/src/components/HLSPlayer.tsx +264 -0
- package/src/components/HLSPlayerContainer.tsx +134 -0
- package/src/components/HLSPlayerControls.tsx +180 -0
- package/src/components/HLSRecordingStatusText.tsx +50 -0
- package/src/components/HLSRoomOptionsButton.tsx +19 -0
- package/src/components/HLSSeekbackwardControl.tsx +88 -0
- package/src/components/HLSSeekbar.tsx +381 -0
- package/src/components/HLSSeekforwardControl.tsx +97 -0
- package/src/components/HLSStreamStartedTime.tsx +79 -0
- package/src/components/HLSViewerScreenContent.tsx +96 -0
- package/src/components/HMSHLSMessage.tsx +32 -49
- package/src/components/HMSHLSMessageList.tsx +2 -2
- package/src/components/HMSHLSNotStarted.tsx +18 -7
- package/src/components/HMSKeyboardAvoidingView.tsx +16 -6
- package/src/components/HMSLiveViewerCount.tsx +2 -8
- package/src/components/HMSNotification.tsx +20 -14
- package/src/components/HMSNotifications.tsx +3 -1
- package/src/components/HMSOverlayChatView.tsx +10 -3
- package/src/components/HMSOverlayMessageView.tsx +189 -0
- package/src/components/Meeting.tsx +9 -1
- package/src/components/MeetingScreenContent.tsx +3 -7
- package/src/components/OverlayedViews.tsx +2 -2
- package/src/components/Participants/ParticipantsList.tsx +12 -10
- package/src/components/PressableIcon.tsx +1 -3
- package/src/hooks-util.ts +223 -6
- package/src/redux/actionTypes.ts +9 -0
- package/src/redux/actions/index.ts +15 -0
- package/src/redux/reducers/appState.ts +24 -0
- package/lib/commonjs/components/CustomHLSPlayerControls.js +0 -80
- package/lib/commonjs/components/CustomHLSPlayerControls.js.map +0 -1
- package/lib/commonjs/components/HLSView.js +0 -195
- package/lib/commonjs/components/HLSView.js.map +0 -1
- package/lib/module/components/CustomHLSPlayerControls.js +0 -72
- package/lib/module/components/CustomHLSPlayerControls.js.map +0 -1
- package/lib/module/components/HLSView.js +0 -186
- package/lib/module/components/HLSView.js.map +0 -1
- package/lib/typescript/components/CustomHLSPlayerControls.d.ts +0 -7
- package/lib/typescript/components/CustomHLSPlayerControls.d.ts.map +0 -1
- package/lib/typescript/components/HLSView.d.ts +0 -4
- package/lib/typescript/components/HLSView.d.ts.map +0 -1
- package/src/components/CustomHLSPlayerControls.tsx +0 -92
- package/src/components/HLSView.tsx +0 -251
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export declare const store: import("redux").Store<import("redux").EmptyObject & {
|
|
2
2
|
messages: {
|
|
3
3
|
messages: import("@100mslive/react-native-hms").HMSMessage[];
|
|
4
|
-
pinnedMessages: import("
|
|
4
|
+
pinnedMessages: import("../types").PinnedMessage[];
|
|
5
5
|
};
|
|
6
6
|
app: {
|
|
7
|
-
peerState: import("
|
|
8
|
-
pipModeStatus: import("
|
|
7
|
+
peerState: import("../utils/types").PeerTrackNode[];
|
|
8
|
+
pipModeStatus: import("../utils/types").PipModes;
|
|
9
9
|
rtcStats: Record<string, import("@100mslive/react-native-hms").HMSLocalAudioStats | import("@100mslive/react-native-hms").HMSRemoteAudioStats | import("@100mslive/react-native-hms").HMSRemoteVideoStats | import("@100mslive/react-native-hms").HMSLocalVideoStats[] | undefined>;
|
|
10
10
|
hlsAspectRatio: {
|
|
11
11
|
value: number;
|
|
@@ -19,28 +19,31 @@ export declare const store: import("redux").Store<import("redux").EmptyObject &
|
|
|
19
19
|
enableHLSPlayerControls: boolean;
|
|
20
20
|
showCustomHLSPlayerControls: boolean;
|
|
21
21
|
};
|
|
22
|
-
modalType: import("
|
|
22
|
+
modalType: import("../utils/types").ModalTypes;
|
|
23
23
|
peerToUpdate: import("@100mslive/react-native-hms").HMSPeer | null;
|
|
24
|
-
meetingState: import("
|
|
24
|
+
meetingState: import("../types").MeetingState;
|
|
25
25
|
startingHLSStream: boolean;
|
|
26
26
|
insetViewMinimized: boolean;
|
|
27
|
-
miniviewPeerTrackNode: import("
|
|
28
|
-
localPeerTrackNode: import("
|
|
27
|
+
miniviewPeerTrackNode: import("../utils/types").PeerTrackNode | null;
|
|
28
|
+
localPeerTrackNode: import("../utils/types").PeerTrackNode | null;
|
|
29
29
|
gridViewActivePage: number;
|
|
30
30
|
startingOrStoppingRecording: boolean;
|
|
31
|
-
fullScreenPeerTrackNode: import("
|
|
32
|
-
screensharePeerTrackNodes: import("
|
|
33
|
-
notifications: import("
|
|
31
|
+
fullScreenPeerTrackNode: import("../utils/types").PeerTrackNode | null;
|
|
32
|
+
screensharePeerTrackNodes: import("../utils/types").PeerTrackNode[];
|
|
33
|
+
notifications: import("../types").Notification[];
|
|
34
34
|
activeChatBottomSheetTab: "Chat" | "Participants";
|
|
35
35
|
chatFilterSheetVisible: boolean;
|
|
36
36
|
chatMoreActionsSheetVisible: boolean;
|
|
37
|
-
chatState: import("
|
|
37
|
+
chatState: import("../types").ChatState | null;
|
|
38
38
|
handleBackButton: boolean;
|
|
39
39
|
autoEnterPipMode: boolean;
|
|
40
40
|
editUsernameDisabled: boolean;
|
|
41
41
|
selectedMessageForAction: import("@100mslive/react-native-hms").HMSMessage | null;
|
|
42
42
|
initialRole: import("@100mslive/react-native-hms").HMSRole | null;
|
|
43
43
|
chatPeerBlacklist: string[];
|
|
44
|
+
hlsDescriptionPaneVisible: boolean;
|
|
45
|
+
hlsFullScreen: boolean;
|
|
46
|
+
hlsStreamPaused_android: boolean;
|
|
44
47
|
};
|
|
45
48
|
user: {
|
|
46
49
|
userName: string;
|
|
@@ -59,8 +62,8 @@ export declare const store: import("redux").Store<import("redux").EmptyObject &
|
|
|
59
62
|
token: string | undefined;
|
|
60
63
|
isHLSFlow: boolean;
|
|
61
64
|
roles: import("@100mslive/react-native-hms").HMSRole[];
|
|
62
|
-
iosBuildConfig: import("
|
|
63
|
-
onLeave: import("
|
|
65
|
+
iosBuildConfig: import("..").HMSIOSScreenShareConfig | null;
|
|
66
|
+
onLeave: import("..").OnLeaveHandler | undefined;
|
|
64
67
|
};
|
|
65
68
|
hmsStates: {
|
|
66
69
|
isLocalAudioMuted: boolean | undefined;
|
|
@@ -87,9 +90,9 @@ export declare const store: import("redux").Store<import("redux").EmptyObject &
|
|
|
87
90
|
};
|
|
88
91
|
polls: {
|
|
89
92
|
pollName: string;
|
|
90
|
-
pollConfig: import("
|
|
91
|
-
navigationStack: import("
|
|
92
|
-
questions: import("
|
|
93
|
+
pollConfig: import("./actionTypes").PollConfig;
|
|
94
|
+
navigationStack: import("./actionTypes").CreatePollStages[];
|
|
95
|
+
questions: import("./actionTypes").PollQuestionUI[];
|
|
93
96
|
deleteConfirmationVisible: boolean;
|
|
94
97
|
selectedPollQuestionIndex: number | null;
|
|
95
98
|
launchingPoll: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/redux/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/redux/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAA2B,CAAC;AAE9C,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,KAAK,CAAC,QAAQ,CAAC,CAAC;AAC1D,MAAM,MAAM,WAAW,GAAG,OAAO,KAAK,CAAC,QAAQ,CAAC"}
|
|
@@ -49,6 +49,9 @@ type IntialStateType = {
|
|
|
49
49
|
selectedMessageForAction: null | HMSMessage;
|
|
50
50
|
initialRole: HMSRole | null;
|
|
51
51
|
chatPeerBlacklist: string[];
|
|
52
|
+
hlsDescriptionPaneVisible: boolean;
|
|
53
|
+
hlsFullScreen: boolean;
|
|
54
|
+
hlsStreamPaused_android: boolean;
|
|
52
55
|
};
|
|
53
56
|
declare const appReducer: (state: IntialStateType | undefined, action: ActionType) => IntialStateType;
|
|
54
57
|
export default appReducer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appState.d.ts","sourceRoot":"","sources":["../../../../src/redux/reducers/appState.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAA2B,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,UAAU,EACV,OAAO,EACP,mBAAmB,EACnB,mBAAmB,EACnB,OAAO,EACR,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3D,KAAK,UAAU,GAAG;IAChB,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,SAAS,EAAE,aAAa,EAAE,CAAC;IAC3B,aAAa,EAAE,QAAQ,CAAC;IACxB,QAAQ,EAAE,MAAM,CACd,MAAM,EACJ,SAAS,GACT,kBAAkB,GAClB,kBAAkB,EAAE,GACpB,mBAAmB,GACnB,mBAAmB,CACtB,CAAC;IACF,cAAc,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9C,UAAU,EAAE;QACV,YAAY,EAAE,OAAO,CAAC;QACtB,aAAa,EAAE,OAAO,CAAC;QACvB,SAAS,EAAE,OAAO,CAAC;QACnB,YAAY,EAAE,OAAO,CAAC;QACtB,uBAAuB,EAAE,OAAO,CAAC;QACjC,2BAA2B,EAAE,OAAO,CAAC;KACtC,CAAC;IACF,SAAS,EAAE,UAAU,CAAC;IACtB,YAAY,EAAE,OAAO,GAAG,IAAI,CAAC;IAC7B,YAAY,EAAE,YAAY,CAAC;IAC3B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,qBAAqB,EAAE,IAAI,GAAG,aAAa,CAAC;IAC5C,kBAAkB,EAAE,IAAI,GAAG,aAAa,CAAC;IACzC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,2BAA2B,EAAE,OAAO,CAAC;IACrC,uBAAuB,EAAE,IAAI,GAAG,aAAa,CAAC;IAC9C,yBAAyB,EAAE,aAAa,EAAE,CAAC;IAC3C,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,wBAAwB,EAAE,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;IAC/D,sBAAsB,EAAE,OAAO,CAAC;IAChC,2BAA2B,EAAE,OAAO,CAAC;IACrC,SAAS,EAAE,IAAI,GAAG,SAAS,CAAC;IAC5B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,wBAAwB,EAAE,IAAI,GAAG,UAAU,CAAC;IAC5C,WAAW,EAAE,OAAO,GAAG,IAAI,CAAC;IAC5B,iBAAiB,EAAE,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"appState.d.ts","sourceRoot":"","sources":["../../../../src/redux/reducers/appState.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAA2B,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,UAAU,EACV,OAAO,EACP,mBAAmB,EACnB,mBAAmB,EACnB,OAAO,EACR,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3D,KAAK,UAAU,GAAG;IAChB,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,SAAS,EAAE,aAAa,EAAE,CAAC;IAC3B,aAAa,EAAE,QAAQ,CAAC;IACxB,QAAQ,EAAE,MAAM,CACd,MAAM,EACJ,SAAS,GACT,kBAAkB,GAClB,kBAAkB,EAAE,GACpB,mBAAmB,GACnB,mBAAmB,CACtB,CAAC;IACF,cAAc,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9C,UAAU,EAAE;QACV,YAAY,EAAE,OAAO,CAAC;QACtB,aAAa,EAAE,OAAO,CAAC;QACvB,SAAS,EAAE,OAAO,CAAC;QACnB,YAAY,EAAE,OAAO,CAAC;QACtB,uBAAuB,EAAE,OAAO,CAAC;QACjC,2BAA2B,EAAE,OAAO,CAAC;KACtC,CAAC;IACF,SAAS,EAAE,UAAU,CAAC;IACtB,YAAY,EAAE,OAAO,GAAG,IAAI,CAAC;IAC7B,YAAY,EAAE,YAAY,CAAC;IAC3B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,qBAAqB,EAAE,IAAI,GAAG,aAAa,CAAC;IAC5C,kBAAkB,EAAE,IAAI,GAAG,aAAa,CAAC;IACzC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,2BAA2B,EAAE,OAAO,CAAC;IACrC,uBAAuB,EAAE,IAAI,GAAG,aAAa,CAAC;IAC9C,yBAAyB,EAAE,aAAa,EAAE,CAAC;IAC3C,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,wBAAwB,EAAE,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;IAC/D,sBAAsB,EAAE,OAAO,CAAC;IAChC,2BAA2B,EAAE,OAAO,CAAC;IACrC,SAAS,EAAE,IAAI,GAAG,SAAS,CAAC;IAC5B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,wBAAwB,EAAE,IAAI,GAAG,UAAU,CAAC;IAC5C,WAAW,EAAE,OAAO,GAAG,IAAI,CAAC;IAC5B,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,yBAAyB,EAAE,OAAO,CAAC;IACnC,aAAa,EAAE,OAAO,CAAC;IACvB,uBAAuB,EAAE,OAAO,CAAC;CAClC,CAAC;AA0CF,QAAA,MAAM,UAAU,+CAEN,UAAU,KACjB,eAoRF,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
declare const _default: import("redux").Reducer<import("redux").CombinedState<{
|
|
2
2
|
messages: {
|
|
3
3
|
messages: import("@100mslive/react-native-hms").HMSMessage[];
|
|
4
|
-
pinnedMessages: import("
|
|
4
|
+
pinnedMessages: import("../../types").PinnedMessage[];
|
|
5
5
|
};
|
|
6
6
|
app: {
|
|
7
|
-
peerState: import("
|
|
8
|
-
pipModeStatus: import("
|
|
7
|
+
peerState: import("../../utils/types").PeerTrackNode[];
|
|
8
|
+
pipModeStatus: import("../../utils/types").PipModes;
|
|
9
9
|
rtcStats: Record<string, import("@100mslive/react-native-hms").HMSLocalAudioStats | import("@100mslive/react-native-hms").HMSRemoteAudioStats | import("@100mslive/react-native-hms").HMSRemoteVideoStats | import("@100mslive/react-native-hms").HMSLocalVideoStats[] | undefined>;
|
|
10
10
|
hlsAspectRatio: {
|
|
11
11
|
value: number;
|
|
@@ -19,28 +19,31 @@ declare const _default: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
19
19
|
enableHLSPlayerControls: boolean;
|
|
20
20
|
showCustomHLSPlayerControls: boolean;
|
|
21
21
|
};
|
|
22
|
-
modalType: import("
|
|
22
|
+
modalType: import("../../utils/types").ModalTypes;
|
|
23
23
|
peerToUpdate: import("@100mslive/react-native-hms").HMSPeer | null;
|
|
24
|
-
meetingState: import("
|
|
24
|
+
meetingState: import("../../types").MeetingState;
|
|
25
25
|
startingHLSStream: boolean;
|
|
26
26
|
insetViewMinimized: boolean;
|
|
27
|
-
miniviewPeerTrackNode: import("
|
|
28
|
-
localPeerTrackNode: import("
|
|
27
|
+
miniviewPeerTrackNode: import("../../utils/types").PeerTrackNode | null;
|
|
28
|
+
localPeerTrackNode: import("../../utils/types").PeerTrackNode | null;
|
|
29
29
|
gridViewActivePage: number;
|
|
30
30
|
startingOrStoppingRecording: boolean;
|
|
31
|
-
fullScreenPeerTrackNode: import("
|
|
32
|
-
screensharePeerTrackNodes: import("
|
|
33
|
-
notifications: import("
|
|
31
|
+
fullScreenPeerTrackNode: import("../../utils/types").PeerTrackNode | null;
|
|
32
|
+
screensharePeerTrackNodes: import("../../utils/types").PeerTrackNode[];
|
|
33
|
+
notifications: import("../../types").Notification[];
|
|
34
34
|
activeChatBottomSheetTab: "Chat" | "Participants";
|
|
35
35
|
chatFilterSheetVisible: boolean;
|
|
36
36
|
chatMoreActionsSheetVisible: boolean;
|
|
37
|
-
chatState: import("
|
|
37
|
+
chatState: import("../../types").ChatState | null;
|
|
38
38
|
handleBackButton: boolean;
|
|
39
39
|
autoEnterPipMode: boolean;
|
|
40
40
|
editUsernameDisabled: boolean;
|
|
41
41
|
selectedMessageForAction: import("@100mslive/react-native-hms").HMSMessage | null;
|
|
42
42
|
initialRole: import("@100mslive/react-native-hms").HMSRole | null;
|
|
43
43
|
chatPeerBlacklist: string[];
|
|
44
|
+
hlsDescriptionPaneVisible: boolean;
|
|
45
|
+
hlsFullScreen: boolean;
|
|
46
|
+
hlsStreamPaused_android: boolean;
|
|
44
47
|
};
|
|
45
48
|
user: {
|
|
46
49
|
userName: string;
|
|
@@ -59,8 +62,8 @@ declare const _default: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
59
62
|
token: string | undefined;
|
|
60
63
|
isHLSFlow: boolean;
|
|
61
64
|
roles: import("@100mslive/react-native-hms").HMSRole[];
|
|
62
|
-
iosBuildConfig: import("
|
|
63
|
-
onLeave: import("
|
|
65
|
+
iosBuildConfig: import("../..").HMSIOSScreenShareConfig | null;
|
|
66
|
+
onLeave: import("../..").OnLeaveHandler | undefined;
|
|
64
67
|
};
|
|
65
68
|
hmsStates: {
|
|
66
69
|
isLocalAudioMuted: boolean | undefined;
|
|
@@ -87,9 +90,9 @@ declare const _default: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
87
90
|
};
|
|
88
91
|
polls: {
|
|
89
92
|
pollName: string;
|
|
90
|
-
pollConfig: import("
|
|
91
|
-
navigationStack: import("
|
|
92
|
-
questions: import("
|
|
93
|
+
pollConfig: import("../actionTypes").PollConfig;
|
|
94
|
+
navigationStack: import("../actionTypes").CreatePollStages[];
|
|
95
|
+
questions: import("../actionTypes").PollQuestionUI[];
|
|
93
96
|
deleteConfirmationVisible: boolean;
|
|
94
97
|
selectedPollQuestionIndex: number | null;
|
|
95
98
|
launchingPoll: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/redux/reducers/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/redux/reducers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,wBAOG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@100mslive/react-native-room-kit",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"description": "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -140,14 +140,14 @@
|
|
|
140
140
|
"typescript": "^5.0.2"
|
|
141
141
|
},
|
|
142
142
|
"peerDependencies": {
|
|
143
|
-
"@100mslive/react-native-hms": "1.10.
|
|
143
|
+
"@100mslive/react-native-hms": "1.10.4",
|
|
144
144
|
"@react-native-community/blur": "^4.3.2",
|
|
145
145
|
"@react-native-masked-view/masked-view": "^0.2.9",
|
|
146
146
|
"@shopify/flash-list": "^1.4.3",
|
|
147
147
|
"lottie-react-native": "5.1.6",
|
|
148
148
|
"react": "*",
|
|
149
149
|
"react-native": "*",
|
|
150
|
-
"react-native-gesture-handler": "
|
|
150
|
+
"react-native-gesture-handler": "~2.15.0",
|
|
151
151
|
"react-native-linear-gradient": "^2.7.3",
|
|
152
152
|
"react-native-modal": "^12.1.0",
|
|
153
153
|
"react-native-reanimated": ">=2.17.0",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Image, StyleSheet } from 'react-native';
|
|
3
|
+
import type { ImageProps } from 'react-native';
|
|
4
|
+
|
|
5
|
+
import { useHMSRoomStyle } from '../../hooks-util';
|
|
6
|
+
|
|
7
|
+
interface CCIconProps extends Omit<ImageProps, 'source'> {
|
|
8
|
+
size?: 'medium';
|
|
9
|
+
enabled?: boolean;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const CCIcon: React.FC<CCIconProps> = ({
|
|
13
|
+
style,
|
|
14
|
+
size = 'medium',
|
|
15
|
+
enabled = false,
|
|
16
|
+
...restProps
|
|
17
|
+
}) => {
|
|
18
|
+
const iconStyles = useHMSRoomStyle((theme) => ({
|
|
19
|
+
tintColor: theme.palette.on_surface_high,
|
|
20
|
+
}));
|
|
21
|
+
|
|
22
|
+
return (
|
|
23
|
+
<Image
|
|
24
|
+
source={
|
|
25
|
+
enabled
|
|
26
|
+
? require('./assets/cc-on-med.png')
|
|
27
|
+
: require('./assets/cc-off-med.png')
|
|
28
|
+
}
|
|
29
|
+
style={[
|
|
30
|
+
styles.icon,
|
|
31
|
+
size === 'medium' ? styles.medSize : null,
|
|
32
|
+
iconStyles,
|
|
33
|
+
style,
|
|
34
|
+
]}
|
|
35
|
+
{...restProps}
|
|
36
|
+
/>
|
|
37
|
+
);
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
const styles = StyleSheet.create({
|
|
41
|
+
icon: {
|
|
42
|
+
width: 24,
|
|
43
|
+
height: 24,
|
|
44
|
+
alignItems: 'center',
|
|
45
|
+
justifyContent: 'center',
|
|
46
|
+
},
|
|
47
|
+
medSize: {
|
|
48
|
+
width: 32,
|
|
49
|
+
height: 32,
|
|
50
|
+
},
|
|
51
|
+
});
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -4,10 +4,13 @@ import type { ImageProps } from 'react-native';
|
|
|
4
4
|
|
|
5
5
|
import { useHMSRoomStyle } from '../../hooks-util';
|
|
6
6
|
|
|
7
|
-
interface CloseIconProps extends Omit<ImageProps, 'source'> {
|
|
7
|
+
interface CloseIconProps extends Omit<ImageProps, 'source'> {
|
|
8
|
+
size?: 'normal' | 'medium';
|
|
9
|
+
}
|
|
8
10
|
|
|
9
11
|
export const CloseIcon: React.FC<CloseIconProps> = ({
|
|
10
12
|
style,
|
|
13
|
+
size = 'normal',
|
|
11
14
|
...restProps
|
|
12
15
|
}) => {
|
|
13
16
|
const iconStyles = useHMSRoomStyle((theme) => ({
|
|
@@ -16,8 +19,17 @@ export const CloseIcon: React.FC<CloseIconProps> = ({
|
|
|
16
19
|
|
|
17
20
|
return (
|
|
18
21
|
<Image
|
|
19
|
-
source={
|
|
20
|
-
|
|
22
|
+
source={
|
|
23
|
+
size === 'medium'
|
|
24
|
+
? require('./assets/close-med.png')
|
|
25
|
+
: require('./assets/close.png')
|
|
26
|
+
}
|
|
27
|
+
style={[
|
|
28
|
+
styles.icon,
|
|
29
|
+
size === 'medium' ? styles.medSize : null,
|
|
30
|
+
iconStyles,
|
|
31
|
+
style,
|
|
32
|
+
]}
|
|
21
33
|
{...restProps}
|
|
22
34
|
/>
|
|
23
35
|
);
|
|
@@ -30,4 +42,8 @@ const styles = StyleSheet.create({
|
|
|
30
42
|
alignItems: 'center',
|
|
31
43
|
justifyContent: 'center',
|
|
32
44
|
},
|
|
45
|
+
medSize: {
|
|
46
|
+
width: 32,
|
|
47
|
+
height: 32,
|
|
48
|
+
},
|
|
33
49
|
});
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -4,10 +4,13 @@ import type { ImageProps } from 'react-native';
|
|
|
4
4
|
|
|
5
5
|
import { useHMSRoomStyle } from '../../hooks-util';
|
|
6
6
|
|
|
7
|
-
interface MaximizeIconProps extends Omit<ImageProps, 'source'> {
|
|
7
|
+
interface MaximizeIconProps extends Omit<ImageProps, 'source'> {
|
|
8
|
+
size?: 'normal' | 'medium';
|
|
9
|
+
}
|
|
8
10
|
|
|
9
11
|
export const MaximizeIcon: React.FC<MaximizeIconProps> = ({
|
|
10
12
|
style,
|
|
13
|
+
size = 'normal',
|
|
11
14
|
...restProps
|
|
12
15
|
}) => {
|
|
13
16
|
const iconStyles = useHMSRoomStyle((theme) => ({
|
|
@@ -16,8 +19,17 @@ export const MaximizeIcon: React.FC<MaximizeIconProps> = ({
|
|
|
16
19
|
|
|
17
20
|
return (
|
|
18
21
|
<Image
|
|
19
|
-
source={
|
|
20
|
-
|
|
22
|
+
source={
|
|
23
|
+
size === 'medium'
|
|
24
|
+
? require('./assets/maximize-med.png')
|
|
25
|
+
: require('./assets/maximize.png')
|
|
26
|
+
}
|
|
27
|
+
style={[
|
|
28
|
+
styles.icon,
|
|
29
|
+
iconStyles,
|
|
30
|
+
size === 'medium' ? styles.medSize : null,
|
|
31
|
+
style,
|
|
32
|
+
]}
|
|
21
33
|
{...restProps}
|
|
22
34
|
/>
|
|
23
35
|
);
|
|
@@ -30,4 +42,8 @@ const styles = StyleSheet.create({
|
|
|
30
42
|
alignItems: 'center',
|
|
31
43
|
justifyContent: 'center',
|
|
32
44
|
},
|
|
45
|
+
medSize: {
|
|
46
|
+
width: 32,
|
|
47
|
+
height: 32,
|
|
48
|
+
},
|
|
33
49
|
});
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -4,10 +4,13 @@ import type { ImageProps } from 'react-native';
|
|
|
4
4
|
|
|
5
5
|
import { useHMSRoomStyle } from '../../hooks-util';
|
|
6
6
|
|
|
7
|
-
interface MinimizeIconProps extends Omit<ImageProps, 'source'> {
|
|
7
|
+
interface MinimizeIconProps extends Omit<ImageProps, 'source'> {
|
|
8
|
+
size?: 'normal' | 'medium';
|
|
9
|
+
}
|
|
8
10
|
|
|
9
11
|
export const MinimizeIcon: React.FC<MinimizeIconProps> = ({
|
|
10
12
|
style,
|
|
13
|
+
size = 'normal',
|
|
11
14
|
...restProps
|
|
12
15
|
}) => {
|
|
13
16
|
const iconStyles = useHMSRoomStyle((theme) => ({
|
|
@@ -16,8 +19,17 @@ export const MinimizeIcon: React.FC<MinimizeIconProps> = ({
|
|
|
16
19
|
|
|
17
20
|
return (
|
|
18
21
|
<Image
|
|
19
|
-
source={
|
|
20
|
-
|
|
22
|
+
source={
|
|
23
|
+
size === 'medium'
|
|
24
|
+
? require('./assets/minimize-med.png')
|
|
25
|
+
: require('./assets/minimize.png')
|
|
26
|
+
}
|
|
27
|
+
style={[
|
|
28
|
+
styles.icon,
|
|
29
|
+
iconStyles,
|
|
30
|
+
size === 'medium' ? styles.medSize : null,
|
|
31
|
+
style,
|
|
32
|
+
]}
|
|
21
33
|
{...restProps}
|
|
22
34
|
/>
|
|
23
35
|
);
|
|
@@ -30,4 +42,8 @@ const styles = StyleSheet.create({
|
|
|
30
42
|
alignItems: 'center',
|
|
31
43
|
justifyContent: 'center',
|
|
32
44
|
},
|
|
45
|
+
medSize: {
|
|
46
|
+
width: 32,
|
|
47
|
+
height: 32,
|
|
48
|
+
},
|
|
33
49
|
});
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Image, StyleSheet } from 'react-native';
|
|
3
|
+
import type { ImageProps } from 'react-native';
|
|
4
|
+
|
|
5
|
+
interface PauseIconProps extends Omit<ImageProps, 'source'> {
|
|
6
|
+
size?: 'med';
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const PauseIcon: React.FC<PauseIconProps> = ({
|
|
10
|
+
style,
|
|
11
|
+
size = 'med',
|
|
12
|
+
...restProps
|
|
13
|
+
}) => {
|
|
14
|
+
if (size !== 'med') return null;
|
|
15
|
+
|
|
16
|
+
return (
|
|
17
|
+
<Image
|
|
18
|
+
source={require('./assets/pause-med.png')}
|
|
19
|
+
style={[styles.icon, styles.medIcon, style]}
|
|
20
|
+
{...restProps}
|
|
21
|
+
/>
|
|
22
|
+
);
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
const styles = StyleSheet.create({
|
|
26
|
+
icon: {
|
|
27
|
+
width: 24,
|
|
28
|
+
height: 24,
|
|
29
|
+
alignItems: 'center',
|
|
30
|
+
justifyContent: 'center',
|
|
31
|
+
},
|
|
32
|
+
medIcon: {
|
|
33
|
+
width: 48,
|
|
34
|
+
height: 48,
|
|
35
|
+
},
|
|
36
|
+
});
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Image, StyleSheet } from 'react-native';
|
|
3
|
+
import type { ImageProps } from 'react-native';
|
|
4
|
+
|
|
5
|
+
interface PlayIconProps extends Omit<ImageProps, 'source'> {
|
|
6
|
+
size?: 'med';
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const PlayIcon: React.FC<PlayIconProps> = ({
|
|
10
|
+
style,
|
|
11
|
+
size = 'med',
|
|
12
|
+
...restProps
|
|
13
|
+
}) => {
|
|
14
|
+
if (size !== 'med') return null;
|
|
15
|
+
|
|
16
|
+
return (
|
|
17
|
+
<Image
|
|
18
|
+
source={require('./assets/play-med.png')}
|
|
19
|
+
style={[styles.icon, styles.medIcon, style]}
|
|
20
|
+
{...restProps}
|
|
21
|
+
/>
|
|
22
|
+
);
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
const styles = StyleSheet.create({
|
|
26
|
+
icon: {
|
|
27
|
+
width: 24,
|
|
28
|
+
height: 24,
|
|
29
|
+
alignItems: 'center',
|
|
30
|
+
justifyContent: 'center',
|
|
31
|
+
},
|
|
32
|
+
medIcon: {
|
|
33
|
+
width: 48,
|
|
34
|
+
height: 48,
|
|
35
|
+
},
|
|
36
|
+
});
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Image, StyleSheet } from 'react-native';
|
|
3
|
+
import type { ImageProps } from 'react-native';
|
|
4
|
+
|
|
5
|
+
import { useHMSRoomStyle } from '../../hooks-util';
|
|
6
|
+
|
|
7
|
+
interface SeekArrowIconProps extends Omit<ImageProps, 'source'> {
|
|
8
|
+
type: 'forward' | 'backward';
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const SeekArrowIcon: React.FC<SeekArrowIconProps> = ({
|
|
12
|
+
style,
|
|
13
|
+
type,
|
|
14
|
+
...restProps
|
|
15
|
+
}) => {
|
|
16
|
+
const iconStyles = useHMSRoomStyle((theme) => ({
|
|
17
|
+
tintColor: theme.palette.on_surface_high,
|
|
18
|
+
}));
|
|
19
|
+
|
|
20
|
+
return (
|
|
21
|
+
<Image
|
|
22
|
+
source={
|
|
23
|
+
type === 'forward'
|
|
24
|
+
? require('./assets/seek-forward-arrow.png')
|
|
25
|
+
: require('./assets/seek-backward-arrow.png')
|
|
26
|
+
}
|
|
27
|
+
style={[styles.icon, iconStyles, style]}
|
|
28
|
+
{...restProps}
|
|
29
|
+
/>
|
|
30
|
+
);
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
const styles = StyleSheet.create({
|
|
34
|
+
icon: {
|
|
35
|
+
width: 32,
|
|
36
|
+
height: 32,
|
|
37
|
+
alignItems: 'center',
|
|
38
|
+
justifyContent: 'center',
|
|
39
|
+
},
|
|
40
|
+
});
|
package/src/Icons/index.ts
CHANGED
|
@@ -8,7 +8,6 @@ import Animated, {
|
|
|
8
8
|
import type { SharedValue } from 'react-native-reanimated';
|
|
9
9
|
|
|
10
10
|
import { useHeaderHeight } from './Header';
|
|
11
|
-
import { useIsHLSViewer } from '../hooks-util';
|
|
12
11
|
|
|
13
12
|
export interface AnimatedHeaderProps {
|
|
14
13
|
offset: SharedValue<number>;
|
|
@@ -18,23 +17,16 @@ export const AnimatedHeader: React.FC<AnimatedHeaderProps> = ({
|
|
|
18
17
|
children,
|
|
19
18
|
offset,
|
|
20
19
|
}) => {
|
|
21
|
-
const isHLSViewer = useIsHLSViewer();
|
|
22
20
|
const headerHeight = useHeaderHeight();
|
|
23
21
|
|
|
24
22
|
const animatedStyles = useAnimatedStyle(() => {
|
|
25
|
-
if (isHLSViewer) {
|
|
26
|
-
return {
|
|
27
|
-
opacity: offset.value,
|
|
28
|
-
transform: [{ translateY: 0 }],
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
23
|
return {
|
|
32
24
|
opacity: interpolate(offset.value, [0, 0.3, 1], [0, 0.7, 1]),
|
|
33
25
|
transform: [
|
|
34
26
|
{ translateY: interpolate(offset.value, [0, 1], [-headerHeight, 0]) },
|
|
35
27
|
],
|
|
36
28
|
};
|
|
37
|
-
}, [headerHeight
|
|
29
|
+
}, [headerHeight]);
|
|
38
30
|
|
|
39
31
|
const animatedProps = useAnimatedProps((): {
|
|
40
32
|
pointerEvents: 'none' | 'auto';
|