@kesha-antonov/react-native-chat 5.0.1 → 6.0.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/README.md +485 -178
- package/lib/Actions.d.ts.map +1 -1
- package/lib/Actions.js +121 -42
- package/lib/Actions.js.map +1 -1
- package/lib/Avatar.d.ts.map +1 -1
- package/lib/Avatar.js +171 -86
- package/lib/Avatar.js.map +1 -1
- package/lib/Bubble/BubbleBody.d.ts +15 -0
- package/lib/Bubble/BubbleBody.d.ts.map +1 -0
- package/lib/Bubble/BubbleBody.js +218 -0
- package/lib/Bubble/BubbleBody.js.map +1 -0
- package/lib/Bubble/BubbleContent.d.ts +23 -0
- package/lib/Bubble/BubbleContent.d.ts.map +1 -0
- package/lib/Bubble/BubbleContent.js +446 -0
- package/lib/Bubble/BubbleContent.js.map +1 -0
- package/lib/Bubble/BubbleMenu.d.ts +45 -0
- package/lib/Bubble/BubbleMenu.d.ts.map +1 -0
- package/lib/Bubble/BubbleMenu.js +289 -0
- package/lib/Bubble/BubbleMenu.js.map +1 -0
- package/lib/Bubble/BubbleMeta.d.ts +17 -0
- package/lib/Bubble/BubbleMeta.d.ts.map +1 -0
- package/lib/Bubble/BubbleMeta.js +453 -0
- package/lib/Bubble/BubbleMeta.js.map +1 -0
- package/lib/Bubble/LiftedBubble.d.ts +18 -0
- package/lib/Bubble/LiftedBubble.d.ts.map +1 -0
- package/lib/Bubble/LiftedBubble.js +109 -0
- package/lib/Bubble/LiftedBubble.js.map +1 -0
- package/lib/Bubble/PressableBubbleRow.d.ts +33 -0
- package/lib/Bubble/PressableBubbleRow.d.ts.map +1 -0
- package/lib/Bubble/PressableBubbleRow.js +172 -0
- package/lib/Bubble/PressableBubbleRow.js.map +1 -0
- package/lib/Bubble/index.d.ts +6 -13
- package/lib/Bubble/index.d.ts.map +1 -1
- package/lib/Bubble/index.js +379 -509
- package/lib/Bubble/index.js.map +1 -1
- package/lib/Bubble/layout.d.ts +47 -0
- package/lib/Bubble/layout.d.ts.map +1 -0
- package/lib/Bubble/layout.js +258 -0
- package/lib/Bubble/layout.js.map +1 -0
- package/lib/Bubble/styles.d.ts +108 -16
- package/lib/Bubble/styles.d.ts.map +1 -1
- package/lib/Bubble/styles.js +227 -107
- package/lib/Bubble/styles.js.map +1 -1
- package/lib/Bubble/types.d.ts +19 -3
- package/lib/Bubble/types.d.ts.map +1 -1
- package/lib/Bubble/types.js.map +1 -1
- package/lib/Chat/Chat.d.ts +5 -0
- package/lib/Chat/Chat.d.ts.map +1 -0
- package/lib/Chat/Chat.js +464 -0
- package/lib/Chat/Chat.js.map +1 -0
- package/lib/Chat/ChatBackground.d.ts +16 -0
- package/lib/Chat/ChatBackground.d.ts.map +1 -0
- package/lib/Chat/ChatBackground.js +43 -0
- package/lib/Chat/ChatBackground.js.map +1 -0
- package/lib/Chat/ChatKeyboardAvoidingView.js +19 -4
- package/lib/Chat/ChatKeyboardAvoidingView.js.map +1 -1
- package/lib/Chat/ChatMessageList.d.ts +27 -0
- package/lib/Chat/ChatMessageList.d.ts.map +1 -0
- package/lib/Chat/ChatMessageList.js +220 -0
- package/lib/Chat/ChatMessageList.js.map +1 -0
- package/lib/Chat/ChatProviders.d.ts +18 -0
- package/lib/Chat/ChatProviders.d.ts.map +1 -0
- package/lib/Chat/ChatProviders.js +87 -0
- package/lib/Chat/ChatProviders.js.map +1 -0
- package/lib/Chat/ChatSafeAreaProvider.d.ts +35 -0
- package/lib/Chat/ChatSafeAreaProvider.d.ts.map +1 -0
- package/lib/Chat/ChatSafeAreaProvider.js +123 -0
- package/lib/Chat/ChatSafeAreaProvider.js.map +1 -0
- package/lib/Chat/ChatSelectionBar.d.ts +20 -0
- package/lib/Chat/ChatSelectionBar.d.ts.map +1 -0
- package/lib/Chat/ChatSelectionBar.js +141 -0
- package/lib/Chat/ChatSelectionBar.js.map +1 -0
- package/lib/Chat/ChatWrapper.d.ts +11 -0
- package/lib/Chat/ChatWrapper.d.ts.map +1 -0
- package/lib/Chat/ChatWrapper.js +98 -0
- package/lib/Chat/ChatWrapper.js.map +1 -0
- package/lib/Chat/ComposerHost.d.ts +20 -0
- package/lib/Chat/ComposerHost.d.ts.map +1 -0
- package/lib/Chat/ComposerHost.js +118 -0
- package/lib/Chat/ComposerHost.js.map +1 -0
- package/lib/Chat/index.d.ts +1 -8
- package/lib/Chat/index.d.ts.map +1 -1
- package/lib/Chat/index.js +1 -337
- package/lib/Chat/index.js.map +1 -1
- package/lib/Chat/styles.d.ts +14 -2
- package/lib/Chat/styles.d.ts.map +1 -1
- package/lib/Chat/styles.js +19 -9
- package/lib/Chat/styles.js.map +1 -1
- package/lib/Chat/types.d.ts +145 -11
- package/lib/Chat/types.d.ts.map +1 -1
- package/lib/Chat/types.js.map +1 -1
- package/lib/Chat/useChatContextValue.d.ts +19 -0
- package/lib/Chat/useChatContextValue.d.ts.map +1 -0
- package/lib/Chat/useChatContextValue.js +158 -0
- package/lib/Chat/useChatContextValue.js.map +1 -0
- package/lib/Chat/useChatMedia.d.ts +22 -0
- package/lib/Chat/useChatMedia.d.ts.map +1 -0
- package/lib/Chat/useChatMedia.js +127 -0
- package/lib/Chat/useChatMedia.js.map +1 -0
- package/lib/Chat/useChatSelection.d.ts +15 -0
- package/lib/Chat/useChatSelection.d.ts.map +1 -0
- package/lib/Chat/useChatSelection.js +106 -0
- package/lib/Chat/useChatSelection.js.map +1 -0
- package/lib/Chat/useComposerHandlers.d.ts +34 -0
- package/lib/Chat/useComposerHandlers.d.ts.map +1 -0
- package/lib/Chat/useComposerHandlers.js +330 -0
- package/lib/Chat/useComposerHandlers.js.map +1 -0
- package/lib/Chat/useComposerState.d.ts +27 -0
- package/lib/Chat/useComposerState.d.ts.map +1 -0
- package/lib/Chat/useComposerState.js +272 -0
- package/lib/Chat/useComposerState.js.map +1 -0
- package/lib/Chat/useInitialLayout.d.ts +19 -0
- package/lib/Chat/useInitialLayout.d.ts.map +1 -0
- package/lib/Chat/useInitialLayout.js +70 -0
- package/lib/Chat/useInitialLayout.js.map +1 -0
- package/lib/Chat/useMessageActions.d.ts +37 -0
- package/lib/Chat/useMessageActions.d.ts.map +1 -0
- package/lib/Chat/useMessageActions.js +323 -0
- package/lib/Chat/useMessageActions.js.map +1 -0
- package/lib/Chat/useMessageNavigation.d.ts +21 -0
- package/lib/Chat/useMessageNavigation.d.ts.map +1 -0
- package/lib/Chat/useMessageNavigation.js +149 -0
- package/lib/Chat/useMessageNavigation.js.map +1 -0
- package/lib/Chat/useOptionalPeerHints.d.ts +6 -0
- package/lib/Chat/useOptionalPeerHints.d.ts.map +1 -0
- package/lib/Chat/useOptionalPeerHints.js +63 -0
- package/lib/Chat/useOptionalPeerHints.js.map +1 -0
- package/lib/Chat/useResolvedReactions.d.ts +31 -0
- package/lib/Chat/useResolvedReactions.d.ts.map +1 -0
- package/lib/Chat/useResolvedReactions.js +95 -0
- package/lib/Chat/useResolvedReactions.js.map +1 -0
- package/lib/ChatAvatar.d.ts.map +1 -1
- package/lib/ChatAvatar.js +229 -84
- package/lib/ChatAvatar.js.map +1 -1
- package/lib/ChatContext.js +20 -10
- package/lib/ChatContext.js.map +1 -1
- package/lib/ChatList/ChatListAvatar.d.ts +21 -0
- package/lib/ChatList/ChatListAvatar.d.ts.map +1 -0
- package/lib/ChatList/ChatListAvatar.js +178 -0
- package/lib/ChatList/ChatListAvatar.js.map +1 -0
- package/lib/ChatList/ChatListCell.d.ts +16 -0
- package/lib/ChatList/ChatListCell.d.ts.map +1 -0
- package/lib/ChatList/ChatListCell.js +506 -0
- package/lib/ChatList/ChatListCell.js.map +1 -0
- package/lib/ChatList/ChatListShimmer.d.ts +3 -0
- package/lib/ChatList/ChatListShimmer.d.ts.map +1 -0
- package/lib/ChatList/ChatListShimmer.js +235 -0
- package/lib/ChatList/ChatListShimmer.js.map +1 -0
- package/lib/ChatList/index.d.ts +16 -0
- package/lib/ChatList/index.d.ts.map +1 -0
- package/lib/ChatList/index.js +1301 -0
- package/lib/ChatList/index.js.map +1 -0
- package/lib/ChatList/types.d.ts +128 -0
- package/lib/ChatList/types.d.ts.map +1 -0
- package/lib/ChatList/types.js +2 -0
- package/lib/ChatList/types.js.map +1 -0
- package/lib/ChatList/useChatList.d.ts +30 -0
- package/lib/ChatList/useChatList.d.ts.map +1 -0
- package/lib/ChatList/useChatList.js +211 -0
- package/lib/ChatList/useChatList.js.map +1 -0
- package/lib/ChatList/utils.d.ts +28 -0
- package/lib/ChatList/utils.d.ts.map +1 -0
- package/lib/ChatList/utils.js +60 -0
- package/lib/ChatList/utils.js.map +1 -0
- package/lib/Color.js +19 -19
- package/lib/Color.js.map +1 -1
- package/lib/Composer.d.ts.map +1 -1
- package/lib/Composer.js +148 -70
- package/lib/Composer.js.map +1 -1
- package/lib/Constant.js +4 -4
- package/lib/Constant.js.map +1 -1
- package/lib/Day/index.d.ts.map +1 -1
- package/lib/Day/index.js +115 -28
- package/lib/Day/index.js.map +1 -1
- package/lib/Day/styles.d.ts +3 -3
- package/lib/Day/styles.d.ts.map +1 -1
- package/lib/Day/styles.js +20 -17
- package/lib/Day/styles.js.map +1 -1
- package/lib/Day/types.js.map +1 -1
- package/lib/Icons.d.ts +1 -1
- package/lib/Icons.d.ts.map +1 -1
- package/lib/Icons.js.map +1 -1
- package/lib/InputToolbar/FieldGroup.d.ts +28 -0
- package/lib/InputToolbar/FieldGroup.d.ts.map +1 -0
- package/lib/InputToolbar/FieldGroup.js +143 -0
- package/lib/InputToolbar/FieldGroup.js.map +1 -0
- package/lib/InputToolbar/TakePreviewBar.d.ts +17 -0
- package/lib/InputToolbar/TakePreviewBar.d.ts.map +1 -0
- package/lib/InputToolbar/TakePreviewBar.js +126 -0
- package/lib/InputToolbar/TakePreviewBar.js.map +1 -0
- package/lib/InputToolbar/animations.d.ts +105 -0
- package/lib/InputToolbar/animations.d.ts.map +1 -0
- package/lib/InputToolbar/animations.js +238 -0
- package/lib/InputToolbar/animations.js.map +1 -0
- package/lib/InputToolbar/fragments.d.ts +13 -0
- package/lib/InputToolbar/fragments.d.ts.map +1 -0
- package/lib/InputToolbar/fragments.js +207 -0
- package/lib/InputToolbar/fragments.js.map +1 -0
- package/lib/InputToolbar/index.d.ts +7 -0
- package/lib/InputToolbar/index.d.ts.map +1 -0
- package/lib/InputToolbar/index.js +444 -0
- package/lib/InputToolbar/index.js.map +1 -0
- package/lib/InputToolbar/recordingOptions.d.ts +14 -0
- package/lib/InputToolbar/recordingOptions.d.ts.map +1 -0
- package/lib/InputToolbar/recordingOptions.js +38 -0
- package/lib/InputToolbar/recordingOptions.js.map +1 -0
- package/lib/InputToolbar/styles.d.ts +118 -0
- package/lib/InputToolbar/styles.d.ts.map +1 -0
- package/lib/InputToolbar/styles.js +139 -0
- package/lib/InputToolbar/styles.js.map +1 -0
- package/lib/InputToolbar/types.d.ts +77 -0
- package/lib/InputToolbar/types.d.ts.map +1 -0
- package/lib/InputToolbar/types.js +2 -0
- package/lib/InputToolbar/types.js.map +1 -0
- package/lib/InputToolbar/useActionsFragment.d.ts +6 -0
- package/lib/InputToolbar/useActionsFragment.d.ts.map +1 -0
- package/lib/InputToolbar/useActionsFragment.js +139 -0
- package/lib/InputToolbar/useActionsFragment.js.map +1 -0
- package/lib/InputToolbar/useComposerEditing.d.ts +11 -0
- package/lib/InputToolbar/useComposerEditing.d.ts.map +1 -0
- package/lib/InputToolbar/useComposerEditing.js +116 -0
- package/lib/InputToolbar/useComposerEditing.js.map +1 -0
- package/lib/InputToolbar/useEmojiButton.d.ts +14 -0
- package/lib/InputToolbar/useEmojiButton.d.ts.map +1 -0
- package/lib/InputToolbar/useEmojiButton.js +120 -0
- package/lib/InputToolbar/useEmojiButton.js.map +1 -0
- package/lib/InputToolbar/useKeyboardInset.d.ts +9 -0
- package/lib/InputToolbar/useKeyboardInset.d.ts.map +1 -0
- package/lib/InputToolbar/useKeyboardInset.js +25 -0
- package/lib/InputToolbar/useKeyboardInset.js.map +1 -0
- package/lib/InputToolbar/useRecordMode.d.ts +19 -0
- package/lib/InputToolbar/useRecordMode.d.ts.map +1 -0
- package/lib/InputToolbar/useRecordMode.js +124 -0
- package/lib/InputToolbar/useRecordMode.js.map +1 -0
- package/lib/InputToolbar/useRecordTake.d.ts +46 -0
- package/lib/InputToolbar/useRecordTake.d.ts.map +1 -0
- package/lib/InputToolbar/useRecordTake.js +315 -0
- package/lib/InputToolbar/useRecordTake.js.map +1 -0
- package/lib/InputToolbar/useReturnAnimations.d.ts +18 -0
- package/lib/InputToolbar/useReturnAnimations.d.ts.map +1 -0
- package/lib/InputToolbar/useReturnAnimations.js +30 -0
- package/lib/InputToolbar/useReturnAnimations.js.map +1 -0
- package/lib/InputToolbar/useRightControl.d.ts +40 -0
- package/lib/InputToolbar/useRightControl.d.ts.map +1 -0
- package/lib/InputToolbar/useRightControl.js +129 -0
- package/lib/InputToolbar/useRightControl.js.map +1 -0
- package/lib/LoadEarlierMessages.d.ts +2 -0
- package/lib/LoadEarlierMessages.d.ts.map +1 -1
- package/lib/LoadEarlierMessages.js +153 -40
- package/lib/LoadEarlierMessages.js.map +1 -1
- package/lib/Message/SwipeToReply.d.ts +23 -0
- package/lib/Message/SwipeToReply.d.ts.map +1 -0
- package/lib/Message/SwipeToReply.js +337 -0
- package/lib/Message/SwipeToReply.js.map +1 -0
- package/lib/Message/index.d.ts.map +1 -1
- package/lib/Message/index.js +415 -176
- package/lib/Message/index.js.map +1 -1
- package/lib/Message/styles.d.ts +2 -2
- package/lib/Message/styles.js +14 -14
- package/lib/Message/styles.js.map +1 -1
- package/lib/Message/types.d.ts +5 -0
- package/lib/Message/types.d.ts.map +1 -1
- package/lib/Message/types.js.map +1 -1
- package/lib/MessageAudio.d.ts.map +1 -1
- package/lib/MessageAudio.js +647 -107
- package/lib/MessageAudio.js.map +1 -1
- package/lib/MessageFile.d.ts +11 -0
- package/lib/MessageFile.d.ts.map +1 -0
- package/lib/MessageFile.js +315 -0
- package/lib/MessageFile.js.map +1 -0
- package/lib/MessageImage.d.ts +2 -0
- package/lib/MessageImage.d.ts.map +1 -1
- package/lib/MessageImage.js +430 -161
- package/lib/MessageImage.js.map +1 -1
- package/lib/MessageLocation.d.ts.map +1 -1
- package/lib/MessageLocation.js +180 -68
- package/lib/MessageLocation.js.map +1 -1
- package/lib/MessageText.d.ts +8 -1
- package/lib/MessageText.d.ts.map +1 -1
- package/lib/MessageText.js +261 -69
- package/lib/MessageText.js.map +1 -1
- package/lib/MessageVideo/ExpoVideoPlayer.d.ts +6 -0
- package/lib/MessageVideo/ExpoVideoPlayer.d.ts.map +1 -0
- package/lib/MessageVideo/ExpoVideoPlayer.js +68 -0
- package/lib/MessageVideo/ExpoVideoPlayer.js.map +1 -0
- package/lib/MessageVideo/MirroredVideo.d.ts +17 -0
- package/lib/MessageVideo/MirroredVideo.d.ts.map +1 -0
- package/lib/MessageVideo/MirroredVideo.js +223 -0
- package/lib/MessageVideo/MirroredVideo.js.map +1 -0
- package/lib/MessageVideo/RoundNotePlayer.d.ts +4 -0
- package/lib/MessageVideo/RoundNotePlayer.d.ts.map +1 -0
- package/lib/MessageVideo/RoundNotePlayer.js +560 -0
- package/lib/MessageVideo/RoundNotePlayer.js.map +1 -0
- package/lib/MessageVideo/RoundTranscription.d.ts +27 -0
- package/lib/MessageVideo/RoundTranscription.d.ts.map +1 -0
- package/lib/MessageVideo/RoundTranscription.js +151 -0
- package/lib/MessageVideo/RoundTranscription.js.map +1 -0
- package/lib/MessageVideo/VideoTransferOverlay.d.ts +11 -0
- package/lib/MessageVideo/VideoTransferOverlay.d.ts.map +1 -0
- package/lib/MessageVideo/VideoTransferOverlay.js +88 -0
- package/lib/MessageVideo/VideoTransferOverlay.js.map +1 -0
- package/lib/MessageVideo/constants.d.ts +13 -0
- package/lib/MessageVideo/constants.d.ts.map +1 -0
- package/lib/MessageVideo/constants.js +15 -0
- package/lib/MessageVideo/constants.js.map +1 -0
- package/lib/{MessageVideo.d.ts → MessageVideo/index.d.ts} +2 -2
- package/lib/MessageVideo/index.d.ts.map +1 -0
- package/lib/MessageVideo/index.js +92 -0
- package/lib/MessageVideo/index.js.map +1 -0
- package/lib/MessageVideo/liftedMedia.d.ts +13 -0
- package/lib/MessageVideo/liftedMedia.d.ts.map +1 -0
- package/lib/MessageVideo/liftedMedia.js +106 -0
- package/lib/MessageVideo/liftedMedia.js.map +1 -0
- package/lib/MessageVideo/styles.d.ts +71 -0
- package/lib/MessageVideo/styles.d.ts.map +1 -0
- package/lib/MessageVideo/styles.js +78 -0
- package/lib/MessageVideo/styles.js.map +1 -0
- package/lib/MessageVideo/types.d.ts +27 -0
- package/lib/MessageVideo/types.d.ts.map +1 -0
- package/lib/MessageVideo/types.js +2 -0
- package/lib/MessageVideo/types.js.map +1 -0
- package/lib/MessageVideo/useNoteGrow.d.ts +16 -0
- package/lib/MessageVideo/useNoteGrow.d.ts.map +1 -0
- package/lib/MessageVideo/useNoteGrow.js +122 -0
- package/lib/MessageVideo/useNoteGrow.js.map +1 -0
- package/lib/MessageVideo/useNotePlayer.d.ts +14 -0
- package/lib/MessageVideo/useNotePlayer.d.ts.map +1 -0
- package/lib/MessageVideo/useNotePlayer.js +142 -0
- package/lib/MessageVideo/useNotePlayer.js.map +1 -0
- package/lib/MessageVideo/useRingSeek.d.ts +16 -0
- package/lib/MessageVideo/useRingSeek.d.ts.map +1 -0
- package/lib/MessageVideo/useRingSeek.js +157 -0
- package/lib/MessageVideo/useRingSeek.js.map +1 -0
- package/lib/MessageVideo/useRoundNotePlayback.d.ts +46 -0
- package/lib/MessageVideo/useRoundNotePlayback.d.ts.map +1 -0
- package/lib/MessageVideo/useRoundNotePlayback.js +508 -0
- package/lib/MessageVideo/useRoundNotePlayback.js.map +1 -0
- package/lib/MessageVideo/useSendFlightReveal.d.ts +9 -0
- package/lib/MessageVideo/useSendFlightReveal.d.ts.map +1 -0
- package/lib/MessageVideo/useSendFlightReveal.js +85 -0
- package/lib/MessageVideo/useSendFlightReveal.js.map +1 -0
- package/lib/MessageVideo/videoPlayers.d.ts +8 -0
- package/lib/MessageVideo/videoPlayers.d.ts.map +1 -0
- package/lib/MessageVideo/videoPlayers.js +33 -0
- package/lib/MessageVideo/videoPlayers.js.map +1 -0
- package/lib/MessagesContainer/components/DayAnimated/debug.js +38 -24
- package/lib/MessagesContainer/components/DayAnimated/debug.js.map +1 -1
- package/lib/MessagesContainer/components/DayAnimated/index.d.ts +1 -1
- package/lib/MessagesContainer/components/DayAnimated/index.d.ts.map +1 -1
- package/lib/MessagesContainer/components/DayAnimated/index.js +244 -112
- package/lib/MessagesContainer/components/DayAnimated/index.js.map +1 -1
- package/lib/MessagesContainer/components/DayAnimated/styles.d.ts +3 -3
- package/lib/MessagesContainer/components/DayAnimated/styles.js +8 -8
- package/lib/MessagesContainer/components/DayAnimated/styles.js.map +1 -1
- package/lib/MessagesContainer/components/DayAnimated/types.d.ts +4 -2
- package/lib/MessagesContainer/components/DayAnimated/types.d.ts.map +1 -1
- package/lib/MessagesContainer/components/DayAnimated/types.js.map +1 -1
- package/lib/MessagesContainer/components/DayAnimated/useScrollGatedOpacity.d.ts.map +1 -1
- package/lib/MessagesContainer/components/DayAnimated/useScrollGatedOpacity.js +34 -25
- package/lib/MessagesContainer/components/DayAnimated/useScrollGatedOpacity.js.map +1 -1
- package/lib/MessagesContainer/components/Item/index.d.ts +3 -4
- package/lib/MessagesContainer/components/Item/index.d.ts.map +1 -1
- package/lib/MessagesContainer/components/Item/index.js +289 -119
- package/lib/MessagesContainer/components/Item/index.js.map +1 -1
- package/lib/MessagesContainer/components/Item/types.d.ts +5 -0
- package/lib/MessagesContainer/components/Item/types.d.ts.map +1 -1
- package/lib/MessagesContainer/components/Item/types.js.map +1 -1
- package/lib/MessagesContainer/components/PageDownCounter.d.ts +14 -0
- package/lib/MessagesContainer/components/PageDownCounter.d.ts.map +1 -0
- package/lib/MessagesContainer/components/PageDownCounter.js +209 -0
- package/lib/MessagesContainer/components/PageDownCounter.js.map +1 -0
- package/lib/MessagesContainer/components/ScrollToBottomButton.d.ts +21 -0
- package/lib/MessagesContainer/components/ScrollToBottomButton.d.ts.map +1 -0
- package/lib/MessagesContainer/components/ScrollToBottomButton.js +195 -0
- package/lib/MessagesContainer/components/ScrollToBottomButton.js.map +1 -0
- package/lib/MessagesContainer/components/dayLayout.d.ts +2 -2
- package/lib/MessagesContainer/components/dayLayout.d.ts.map +1 -1
- package/lib/MessagesContainer/components/dayLayout.js +18 -13
- package/lib/MessagesContainer/components/dayLayout.js.map +1 -1
- package/lib/MessagesContainer/index.d.ts.map +1 -1
- package/lib/MessagesContainer/index.js +361 -420
- package/lib/MessagesContainer/index.js.map +1 -1
- package/lib/MessagesContainer/listState.d.ts +18 -0
- package/lib/MessagesContainer/listState.d.ts.map +1 -0
- package/lib/MessagesContainer/listState.js +25 -0
- package/lib/MessagesContainer/listState.js.map +1 -0
- package/lib/MessagesContainer/listTransitions.d.ts +10 -0
- package/lib/MessagesContainer/listTransitions.d.ts.map +1 -0
- package/lib/MessagesContainer/listTransitions.js +12 -0
- package/lib/MessagesContainer/listTransitions.js.map +1 -0
- package/lib/MessagesContainer/pageDownReturn.d.ts +11 -0
- package/lib/MessagesContainer/pageDownReturn.d.ts.map +1 -0
- package/lib/MessagesContainer/pageDownReturn.js +9 -0
- package/lib/MessagesContainer/pageDownReturn.js.map +1 -0
- package/lib/MessagesContainer/rowConfig.d.ts +39 -0
- package/lib/MessagesContainer/rowConfig.d.ts.map +1 -0
- package/lib/MessagesContainer/rowConfig.js +161 -0
- package/lib/MessagesContainer/rowConfig.js.map +1 -0
- package/lib/MessagesContainer/rowStore.d.ts +37 -0
- package/lib/MessagesContainer/rowStore.d.ts.map +1 -0
- package/lib/MessagesContainer/rowStore.js +140 -0
- package/lib/MessagesContainer/rowStore.js.map +1 -0
- package/lib/MessagesContainer/styles.d.ts +37 -31
- package/lib/MessagesContainer/styles.d.ts.map +1 -1
- package/lib/MessagesContainer/styles.js +75 -54
- package/lib/MessagesContainer/styles.js.map +1 -1
- package/lib/MessagesContainer/types.d.ts +33 -30
- package/lib/MessagesContainer/types.d.ts.map +1 -1
- package/lib/MessagesContainer/types.js +1 -9
- package/lib/MessagesContainer/types.js.map +1 -1
- package/lib/MessagesContainer/useCellLayouts.d.ts +17 -0
- package/lib/MessagesContainer/useCellLayouts.d.ts.map +1 -0
- package/lib/MessagesContainer/useCellLayouts.js +133 -0
- package/lib/MessagesContainer/useCellLayouts.js.map +1 -0
- package/lib/MessagesContainer/useDaysPositions.d.ts +18 -0
- package/lib/MessagesContainer/useDaysPositions.d.ts.map +1 -0
- package/lib/MessagesContainer/useDaysPositions.js +109 -0
- package/lib/MessagesContainer/useDaysPositions.js.map +1 -0
- package/lib/MessagesContainer/useListChrome.d.ts +14 -0
- package/lib/MessagesContainer/useListChrome.d.ts.map +1 -0
- package/lib/MessagesContainer/useListChrome.js +176 -0
- package/lib/MessagesContainer/useListChrome.js.map +1 -0
- package/lib/MessagesContainer/useListMetrics.d.ts +32 -0
- package/lib/MessagesContainer/useListMetrics.d.ts.map +1 -0
- package/lib/MessagesContainer/useListMetrics.js +176 -0
- package/lib/MessagesContainer/useListMetrics.js.map +1 -0
- package/lib/MessagesContainer/useMessageRows.d.ts +46 -0
- package/lib/MessagesContainer/useMessageRows.d.ts.map +1 -0
- package/lib/MessagesContainer/useMessageRows.js +228 -0
- package/lib/MessagesContainer/useMessageRows.js.map +1 -0
- package/lib/MessagesContainer/usePageDownUnread.d.ts +27 -0
- package/lib/MessagesContainer/usePageDownUnread.d.ts.map +1 -0
- package/lib/MessagesContainer/usePageDownUnread.js +152 -0
- package/lib/MessagesContainer/usePageDownUnread.js.map +1 -0
- package/lib/MessagesContainer/useScrollActivity.d.ts +13 -0
- package/lib/MessagesContainer/useScrollActivity.d.ts.map +1 -0
- package/lib/MessagesContainer/useScrollActivity.js +84 -0
- package/lib/MessagesContainer/useScrollActivity.js.map +1 -0
- package/lib/MessagesContainer/useScrollToBottom.d.ts +26 -0
- package/lib/MessagesContainer/useScrollToBottom.d.ts.map +1 -0
- package/lib/MessagesContainer/useScrollToBottom.js +164 -0
- package/lib/MessagesContainer/useScrollToBottom.js.map +1 -0
- package/lib/MessagesContainer/useTapToClosePanels.d.ts +7 -0
- package/lib/MessagesContainer/useTapToClosePanels.d.ts.map +1 -0
- package/lib/MessagesContainer/useTapToClosePanels.js +55 -0
- package/lib/MessagesContainer/useTapToClosePanels.js.map +1 -0
- package/lib/MessagesContainer/viewability.d.ts +9 -0
- package/lib/MessagesContainer/viewability.d.ts.map +1 -0
- package/lib/MessagesContainer/viewability.js +110 -0
- package/lib/MessagesContainer/viewability.js.map +1 -0
- package/lib/Models.d.ts +188 -3
- package/lib/Models.d.ts.map +1 -1
- package/lib/Models.js.map +1 -1
- package/lib/QuickReplies.js +234 -101
- package/lib/QuickReplies.js.map +1 -1
- package/lib/Reactions/MessageReactions.d.ts +5 -0
- package/lib/Reactions/MessageReactions.d.ts.map +1 -1
- package/lib/Reactions/MessageReactions.js +359 -80
- package/lib/Reactions/MessageReactions.js.map +1 -1
- package/lib/Reactions/ReactionPicker.d.ts +5 -3
- package/lib/Reactions/ReactionPicker.d.ts.map +1 -1
- package/lib/Reactions/ReactionPicker.js +68 -82
- package/lib/Reactions/ReactionPicker.js.map +1 -1
- package/lib/Reactions/index.js +1 -0
- package/lib/Reactions/index.js.map +1 -1
- package/lib/Reactions/types.d.ts +49 -5
- package/lib/Reactions/types.d.ts.map +1 -1
- package/lib/Reactions/types.js.map +1 -1
- package/lib/Reply/index.js.map +1 -1
- package/lib/Reply/types.d.ts +19 -3
- package/lib/Reply/types.d.ts.map +1 -1
- package/lib/Reply/types.js.map +1 -1
- package/lib/Send.d.ts +2 -2
- package/lib/Send.d.ts.map +1 -1
- package/lib/Send.js +218 -47
- package/lib/Send.js.map +1 -1
- package/lib/SystemMessage.d.ts.map +1 -1
- package/lib/SystemMessage.js +106 -37
- package/lib/SystemMessage.js.map +1 -1
- package/lib/Theme.d.ts +320 -23
- package/lib/Theme.d.ts.map +1 -1
- package/lib/Theme.js +548 -119
- package/lib/Theme.js.map +1 -1
- package/lib/Time.d.ts +7 -0
- package/lib/Time.d.ts.map +1 -1
- package/lib/Time.js +122 -30
- package/lib/Time.js.map +1 -1
- package/lib/TypingIndicator/index.d.ts +9 -1
- package/lib/TypingIndicator/index.d.ts.map +1 -1
- package/lib/TypingIndicator/index.js +318 -94
- package/lib/TypingIndicator/index.js.map +1 -1
- package/lib/TypingIndicator/styles.d.ts +6 -2
- package/lib/TypingIndicator/styles.d.ts.map +1 -1
- package/lib/TypingIndicator/styles.js +22 -18
- package/lib/TypingIndicator/styles.js.map +1 -1
- package/lib/TypingIndicator/types.js.map +1 -1
- package/lib/attachments/AttachmentButton.d.ts +18 -0
- package/lib/attachments/AttachmentButton.d.ts.map +1 -0
- package/lib/attachments/AttachmentButton.js +110 -0
- package/lib/attachments/AttachmentButton.js.map +1 -0
- package/lib/attachments/AttachmentMenu/CaptionBar.d.ts +15 -0
- package/lib/attachments/AttachmentMenu/CaptionBar.d.ts.map +1 -0
- package/lib/attachments/AttachmentMenu/CaptionBar.js +165 -0
- package/lib/attachments/AttachmentMenu/CaptionBar.js.map +1 -0
- package/lib/attachments/AttachmentMenu/GalleryCell.d.ts +14 -0
- package/lib/attachments/AttachmentMenu/GalleryCell.d.ts.map +1 -0
- package/lib/attachments/AttachmentMenu/GalleryCell.js +267 -0
- package/lib/attachments/AttachmentMenu/GalleryCell.js.map +1 -0
- package/lib/attachments/AttachmentMenu/GalleryGrid.d.ts +18 -0
- package/lib/attachments/AttachmentMenu/GalleryGrid.d.ts.map +1 -0
- package/lib/attachments/AttachmentMenu/GalleryGrid.js +184 -0
- package/lib/attachments/AttachmentMenu/GalleryGrid.js.map +1 -0
- package/lib/attachments/AttachmentMenu/TabBar.d.ts +14 -0
- package/lib/attachments/AttachmentMenu/TabBar.d.ts.map +1 -0
- package/lib/attachments/AttachmentMenu/TabBar.js +127 -0
- package/lib/attachments/AttachmentMenu/TabBar.js.map +1 -0
- package/lib/attachments/AttachmentMenu/TabButton.d.ts +15 -0
- package/lib/attachments/AttachmentMenu/TabButton.d.ts.map +1 -0
- package/lib/attachments/AttachmentMenu/TabButton.js +219 -0
- package/lib/attachments/AttachmentMenu/TabButton.js.map +1 -0
- package/lib/attachments/AttachmentMenu/TabPanel.d.ts +17 -0
- package/lib/attachments/AttachmentMenu/TabPanel.d.ts.map +1 -0
- package/lib/attachments/AttachmentMenu/TabPanel.js +170 -0
- package/lib/attachments/AttachmentMenu/TabPanel.js.map +1 -0
- package/lib/attachments/AttachmentMenu/constants.d.ts +54 -0
- package/lib/attachments/AttachmentMenu/constants.d.ts.map +1 -0
- package/lib/attachments/AttachmentMenu/constants.js +79 -0
- package/lib/attachments/AttachmentMenu/constants.js.map +1 -0
- package/lib/attachments/AttachmentMenu/index.d.ts +16 -0
- package/lib/attachments/AttachmentMenu/index.d.ts.map +1 -0
- package/lib/attachments/AttachmentMenu/index.js +498 -0
- package/lib/attachments/AttachmentMenu/index.js.map +1 -0
- package/lib/attachments/AttachmentMenu/styles.d.ts +259 -0
- package/lib/attachments/AttachmentMenu/styles.d.ts.map +1 -0
- package/lib/attachments/AttachmentMenu/styles.js +262 -0
- package/lib/attachments/AttachmentMenu/styles.js.map +1 -0
- package/lib/attachments/AttachmentMenu/useSheetPresence.d.ts +14 -0
- package/lib/attachments/AttachmentMenu/useSheetPresence.d.ts.map +1 -0
- package/lib/attachments/AttachmentMenu/useSheetPresence.js +74 -0
- package/lib/attachments/AttachmentMenu/useSheetPresence.js.map +1 -0
- package/lib/attachments/buildMessages.d.ts +36 -0
- package/lib/attachments/buildMessages.d.ts.map +1 -0
- package/lib/attachments/buildMessages.js +192 -0
- package/lib/attachments/buildMessages.js.map +1 -0
- package/lib/attachments/gallery.d.ts +28 -0
- package/lib/attachments/gallery.d.ts.map +1 -0
- package/lib/attachments/gallery.js +245 -0
- package/lib/attachments/gallery.js.map +1 -0
- package/lib/attachments/types.d.ts +69 -0
- package/lib/attachments/types.d.ts.map +1 -0
- package/lib/attachments/types.js +2 -0
- package/lib/attachments/types.js.map +1 -0
- package/lib/colorUtils.d.ts +24 -0
- package/lib/colorUtils.d.ts.map +1 -0
- package/lib/colorUtils.js +71 -0
- package/lib/colorUtils.js.map +1 -0
- package/lib/components/AttachmentSheet.d.ts +1 -1
- package/lib/components/AttachmentSheet.d.ts.map +1 -1
- package/lib/components/AttachmentSheet.js +515 -155
- package/lib/components/AttachmentSheet.js.map +1 -1
- package/lib/components/BasicMarkdown.d.ts +7 -1
- package/lib/components/BasicMarkdown.d.ts.map +1 -1
- package/lib/components/BasicMarkdown.js +234 -184
- package/lib/components/BasicMarkdown.js.map +1 -1
- package/lib/components/BubbleBackground.d.ts +55 -0
- package/lib/components/BubbleBackground.d.ts.map +1 -0
- package/lib/components/BubbleBackground.js +513 -0
- package/lib/components/BubbleBackground.js.map +1 -0
- package/lib/components/ChatEmpty.d.ts +18 -0
- package/lib/components/ChatEmpty.d.ts.map +1 -0
- package/lib/components/ChatEmpty.js +125 -0
- package/lib/components/ChatEmpty.js.map +1 -0
- package/lib/components/ChatLoadingOverlay.d.ts +10 -0
- package/lib/components/ChatLoadingOverlay.d.ts.map +1 -0
- package/lib/components/ChatLoadingOverlay.js +89 -0
- package/lib/components/ChatLoadingOverlay.js.map +1 -0
- package/lib/components/ChatOverlay.d.ts +9 -0
- package/lib/components/ChatOverlay.d.ts.map +1 -0
- package/lib/components/ChatOverlay.js +60 -0
- package/lib/components/ChatOverlay.js.map +1 -0
- package/lib/components/ChatWallpaper.d.ts +32 -0
- package/lib/components/ChatWallpaper.d.ts.map +1 -0
- package/lib/components/ChatWallpaper.js +277 -0
- package/lib/components/ChatWallpaper.js.map +1 -0
- package/lib/components/ContextMenu/MenuCard.d.ts +21 -0
- package/lib/components/ContextMenu/MenuCard.d.ts.map +1 -0
- package/lib/components/ContextMenu/MenuCard.js +265 -0
- package/lib/components/ContextMenu/MenuCard.js.map +1 -0
- package/lib/components/ContextMenu/ReactionButton.d.ts +15 -0
- package/lib/components/ContextMenu/ReactionButton.d.ts.map +1 -0
- package/lib/components/ContextMenu/ReactionButton.js +116 -0
- package/lib/components/ContextMenu/ReactionButton.js.map +1 -0
- package/lib/components/ContextMenu/ReactionFlight.d.ts +14 -0
- package/lib/components/ContextMenu/ReactionFlight.d.ts.map +1 -0
- package/lib/components/ContextMenu/ReactionFlight.js +111 -0
- package/lib/components/ContextMenu/ReactionFlight.js.map +1 -0
- package/lib/components/ContextMenu/ReactionsBar.d.ts +35 -0
- package/lib/components/ContextMenu/ReactionsBar.d.ts.map +1 -0
- package/lib/components/ContextMenu/ReactionsBar.js +354 -0
- package/lib/components/ContextMenu/ReactionsBar.js.map +1 -0
- package/lib/components/ContextMenu/constants.d.ts +68 -0
- package/lib/components/ContextMenu/constants.d.ts.map +1 -0
- package/lib/components/ContextMenu/constants.js +105 -0
- package/lib/components/ContextMenu/constants.js.map +1 -0
- package/lib/components/ContextMenu/index.d.ts +12 -0
- package/lib/components/ContextMenu/index.d.ts.map +1 -0
- package/lib/components/ContextMenu/index.js +476 -0
- package/lib/components/ContextMenu/index.js.map +1 -0
- package/lib/components/ContextMenu/placement.d.ts +50 -0
- package/lib/components/ContextMenu/placement.d.ts.map +1 -0
- package/lib/components/ContextMenu/placement.js +117 -0
- package/lib/components/ContextMenu/placement.js.map +1 -0
- package/lib/components/ContextMenu/styles.d.ts +199 -0
- package/lib/components/ContextMenu/styles.d.ts.map +1 -0
- package/lib/components/ContextMenu/styles.js +169 -0
- package/lib/components/ContextMenu/styles.js.map +1 -0
- package/lib/components/ContextMenu/types.d.ts +62 -0
- package/lib/components/ContextMenu/types.d.ts.map +1 -0
- package/lib/components/ContextMenu/types.js +2 -0
- package/lib/components/ContextMenu/types.js.map +1 -0
- package/lib/components/ContextMenu/useExpandPanel.d.ts +11 -0
- package/lib/components/ContextMenu/useExpandPanel.d.ts.map +1 -0
- package/lib/components/ContextMenu/useExpandPanel.js +81 -0
- package/lib/components/ContextMenu/useExpandPanel.js.map +1 -0
- package/lib/components/ContextMenu/useMenuPresence.d.ts +17 -0
- package/lib/components/ContextMenu/useMenuPresence.d.ts.map +1 -0
- package/lib/components/ContextMenu/useMenuPresence.js +125 -0
- package/lib/components/ContextMenu/useMenuPresence.js.map +1 -0
- package/lib/components/FloatingRoundNote.d.ts +13 -0
- package/lib/components/FloatingRoundNote.d.ts.map +1 -0
- package/lib/components/FloatingRoundNote.js +541 -0
- package/lib/components/FloatingRoundNote.js.map +1 -0
- package/lib/components/GlassSurface.d.ts +16 -0
- package/lib/components/GlassSurface.d.ts.map +1 -0
- package/lib/components/GlassSurface.js +114 -0
- package/lib/components/GlassSurface.js.map +1 -0
- package/lib/components/Icon.js +57 -8
- package/lib/components/Icon.js.map +1 -1
- package/lib/components/LinkPreviewCard.d.ts +36 -0
- package/lib/components/LinkPreviewCard.d.ts.map +1 -0
- package/lib/components/LinkPreviewCard.js +416 -0
- package/lib/components/LinkPreviewCard.js.map +1 -0
- package/lib/components/LucideIcon.d.ts.map +1 -1
- package/lib/components/LucideIcon.js +103 -106
- package/lib/components/LucideIcon.js.map +1 -1
- package/lib/components/MarkdownMessageText.d.ts +17 -2
- package/lib/components/MarkdownMessageText.d.ts.map +1 -1
- package/lib/components/MarkdownMessageText.js +270 -22
- package/lib/components/MarkdownMessageText.js.map +1 -1
- package/lib/components/MediaCard.d.ts.map +1 -1
- package/lib/components/MediaCard.js +223 -85
- package/lib/components/MediaCard.js.map +1 -1
- package/lib/components/MediaControls.js +1094 -450
- package/lib/components/MediaControls.js.map +1 -1
- package/lib/components/MediaLoader.d.ts +21 -0
- package/lib/components/MediaLoader.d.ts.map +1 -0
- package/lib/components/MediaLoader.js +61 -0
- package/lib/components/MediaLoader.js.map +1 -0
- package/lib/components/MessageReply.d.ts +2 -2
- package/lib/components/MessageReply.d.ts.map +1 -1
- package/lib/components/MessageReply.js +266 -83
- package/lib/components/MessageReply.js.map +1 -1
- package/lib/components/MessageStatus.d.ts +23 -0
- package/lib/components/MessageStatus.d.ts.map +1 -0
- package/lib/components/MessageStatus.js +499 -0
- package/lib/components/MessageStatus.js.map +1 -0
- package/lib/components/NoteIndicators.d.ts +25 -0
- package/lib/components/NoteIndicators.d.ts.map +1 -0
- package/lib/components/NoteIndicators.js +206 -0
- package/lib/components/NoteIndicators.js.map +1 -0
- package/lib/components/NowPlayingBar.d.ts +15 -0
- package/lib/components/NowPlayingBar.d.ts.map +1 -0
- package/lib/components/NowPlayingBar.js +261 -0
- package/lib/components/NowPlayingBar.js.map +1 -0
- package/lib/components/PlayPauseIcon.d.ts +13 -0
- package/lib/components/PlayPauseIcon.d.ts.map +1 -0
- package/lib/components/PlayPauseIcon.js +187 -0
- package/lib/components/PlayPauseIcon.js.map +1 -0
- package/lib/components/PlaybackSpeedPill.d.ts +11 -0
- package/lib/components/PlaybackSpeedPill.d.ts.map +1 -0
- package/lib/components/PlaybackSpeedPill.js +350 -0
- package/lib/components/PlaybackSpeedPill.js.map +1 -0
- package/lib/components/RadialProgress.d.ts +70 -0
- package/lib/components/RadialProgress.d.ts.map +1 -0
- package/lib/components/RadialProgress.js +864 -0
- package/lib/components/RadialProgress.js.map +1 -0
- package/lib/components/RecordButton/LockPill.d.ts +27 -0
- package/lib/components/RecordButton/LockPill.d.ts.map +1 -0
- package/lib/components/RecordButton/LockPill.js +182 -0
- package/lib/components/RecordButton/LockPill.js.map +1 -0
- package/lib/components/RecordButton/ModeButton.d.ts +18 -0
- package/lib/components/RecordButton/ModeButton.d.ts.map +1 -0
- package/lib/components/RecordButton/ModeButton.js +154 -0
- package/lib/components/RecordButton/ModeButton.js.map +1 -0
- package/lib/components/RecordButton/ResumeButton.d.ts +20 -0
- package/lib/components/RecordButton/ResumeButton.d.ts.map +1 -0
- package/lib/components/RecordButton/ResumeButton.js +63 -0
- package/lib/components/RecordButton/ResumeButton.js.map +1 -0
- package/lib/components/RecordButton/Tooltips.d.ts +20 -0
- package/lib/components/RecordButton/Tooltips.d.ts.map +1 -0
- package/lib/components/RecordButton/Tooltips.js +191 -0
- package/lib/components/RecordButton/Tooltips.js.map +1 -0
- package/lib/components/RecordButton/ViewOnceButton.d.ts +16 -0
- package/lib/components/RecordButton/ViewOnceButton.d.ts.map +1 -0
- package/lib/components/RecordButton/ViewOnceButton.js +96 -0
- package/lib/components/RecordButton/ViewOnceButton.js.map +1 -0
- package/lib/components/RecordButton/constants.d.ts +52 -0
- package/lib/components/RecordButton/constants.d.ts.map +1 -0
- package/lib/components/RecordButton/constants.js +58 -0
- package/lib/components/RecordButton/constants.js.map +1 -0
- package/lib/components/RecordButton/index.d.ts +14 -0
- package/lib/components/RecordButton/index.d.ts.map +1 -0
- package/lib/components/RecordButton/index.js +382 -0
- package/lib/components/RecordButton/index.js.map +1 -0
- package/lib/components/RecordButton/styles.d.ts +155 -0
- package/lib/components/RecordButton/styles.d.ts.map +1 -0
- package/lib/components/RecordButton/styles.js +161 -0
- package/lib/components/RecordButton/styles.js.map +1 -0
- package/lib/components/RecordButton/types.d.ts +63 -0
- package/lib/components/RecordButton/types.d.ts.map +1 -0
- package/lib/components/RecordButton/types.js +2 -0
- package/lib/components/RecordButton/types.js.map +1 -0
- package/lib/components/RecordButton/useRecordGesture.d.ts +28 -0
- package/lib/components/RecordButton/useRecordGesture.d.ts.map +1 -0
- package/lib/components/RecordButton/useRecordGesture.js +263 -0
- package/lib/components/RecordButton/useRecordGesture.js.map +1 -0
- package/lib/components/RecordButton/useRecordHints.d.ts +27 -0
- package/lib/components/RecordButton/useRecordHints.d.ts.map +1 -0
- package/lib/components/RecordButton/useRecordHints.js +210 -0
- package/lib/components/RecordButton/useRecordHints.js.map +1 -0
- package/lib/components/RecordButton/useRecordSlideDistance.d.ts +3 -0
- package/lib/components/RecordButton/useRecordSlideDistance.d.ts.map +1 -0
- package/lib/components/RecordButton/useRecordSlideDistance.js +15 -0
- package/lib/components/RecordButton/useRecordSlideDistance.js.map +1 -0
- package/lib/components/RecordButton/useRecordTake.d.ts +41 -0
- package/lib/components/RecordButton/useRecordTake.d.ts.map +1 -0
- package/lib/components/RecordButton/useRecordTake.js +349 -0
- package/lib/components/RecordButton/useRecordTake.js.map +1 -0
- package/lib/components/RecordButton/useSendFlight.d.ts +25 -0
- package/lib/components/RecordButton/useSendFlight.d.ts.map +1 -0
- package/lib/components/RecordButton/useSendFlight.js +162 -0
- package/lib/components/RecordButton/useSendFlight.js.map +1 -0
- package/lib/components/RecordCircle.d.ts +92 -0
- package/lib/components/RecordCircle.d.ts.map +1 -0
- package/lib/components/RecordCircle.js +629 -0
- package/lib/components/RecordCircle.js.map +1 -0
- package/lib/components/RecordingBar.d.ts +24 -0
- package/lib/components/RecordingBar.d.ts.map +1 -0
- package/lib/components/RecordingBar.js +766 -0
- package/lib/components/RecordingBar.js.map +1 -0
- package/lib/components/ReplyPreview.js +318 -135
- package/lib/components/ReplyPreview.js.map +1 -1
- package/lib/components/SelectionBar.d.ts +17 -0
- package/lib/components/SelectionBar.d.ts.map +1 -0
- package/lib/components/SelectionBar.js +214 -0
- package/lib/components/SelectionBar.js.map +1 -0
- package/lib/components/SelectionCheckbox.d.ts +12 -0
- package/lib/components/SelectionCheckbox.d.ts.map +1 -0
- package/lib/components/SelectionCheckbox.js +104 -0
- package/lib/components/SelectionCheckbox.js.map +1 -0
- package/lib/components/SendIcon.js +60 -26
- package/lib/components/SendIcon.js.map +1 -1
- package/lib/components/ServiceSpinner.d.ts +17 -0
- package/lib/components/ServiceSpinner.d.ts.map +1 -0
- package/lib/components/ServiceSpinner.js +77 -0
- package/lib/components/ServiceSpinner.js.map +1 -0
- package/lib/components/Spinner.d.ts +18 -0
- package/lib/components/Spinner.d.ts.map +1 -0
- package/lib/components/Spinner.js +169 -0
- package/lib/components/Spinner.js.map +1 -0
- package/lib/components/StreamingCursor.js +54 -9
- package/lib/components/StreamingCursor.js.map +1 -1
- package/lib/components/Ticks.d.ts +6 -5
- package/lib/components/Ticks.d.ts.map +1 -1
- package/lib/components/Ticks.js +272 -82
- package/lib/components/Ticks.js.map +1 -1
- package/lib/components/TouchableOpacity.d.ts.map +1 -1
- package/lib/components/TouchableOpacity.js +153 -51
- package/lib/components/TouchableOpacity.js.map +1 -1
- package/lib/components/TranscribeButton.d.ts +45 -0
- package/lib/components/TranscribeButton.d.ts.map +1 -0
- package/lib/components/TranscribeButton.js +549 -0
- package/lib/components/TranscribeButton.js.map +1 -0
- package/lib/components/TypingStatus.d.ts +29 -0
- package/lib/components/TypingStatus.d.ts.map +1 -0
- package/lib/components/TypingStatus.js +446 -0
- package/lib/components/TypingStatus.js.map +1 -0
- package/lib/components/UnreadSeparator.d.ts +8 -0
- package/lib/components/UnreadSeparator.d.ts.map +1 -0
- package/lib/components/UnreadSeparator.js +101 -0
- package/lib/components/UnreadSeparator.js.map +1 -0
- package/lib/components/VideoNoteCapture/ProgressRing.d.ts +16 -0
- package/lib/components/VideoNoteCapture/ProgressRing.d.ts.map +1 -0
- package/lib/components/VideoNoteCapture/ProgressRing.js +75 -0
- package/lib/components/VideoNoteCapture/ProgressRing.js.map +1 -0
- package/lib/components/VideoNoteCapture/VideoNoteCaptureView.d.ts +31 -0
- package/lib/components/VideoNoteCapture/VideoNoteCaptureView.d.ts.map +1 -0
- package/lib/components/VideoNoteCapture/VideoNoteCaptureView.js +500 -0
- package/lib/components/VideoNoteCapture/VideoNoteCaptureView.js.map +1 -0
- package/lib/components/VideoNoteCapture/VideoNotePreviewView.d.ts +12 -0
- package/lib/components/VideoNoteCapture/VideoNotePreviewView.d.ts.map +1 -0
- package/lib/components/VideoNoteCapture/VideoNotePreviewView.js +105 -0
- package/lib/components/VideoNoteCapture/VideoNotePreviewView.js.map +1 -0
- package/lib/components/VideoNoteCapture/VideoNoteStage.d.ts +12 -0
- package/lib/components/VideoNoteCapture/VideoNoteStage.d.ts.map +1 -0
- package/lib/components/VideoNoteCapture/VideoNoteStage.js +95 -0
- package/lib/components/VideoNoteCapture/VideoNoteStage.js.map +1 -0
- package/lib/components/VideoNoteCapture/constants.d.ts +50 -0
- package/lib/components/VideoNoteCapture/constants.d.ts.map +1 -0
- package/lib/components/VideoNoteCapture/constants.js +53 -0
- package/lib/components/VideoNoteCapture/constants.js.map +1 -0
- package/lib/components/VideoNoteCapture/index.d.ts +3 -0
- package/lib/components/VideoNoteCapture/index.d.ts.map +1 -0
- package/lib/components/VideoNoteCapture/index.js +2 -0
- package/lib/components/VideoNoteCapture/index.js.map +1 -0
- package/lib/components/VideoNoteCapture/optional.d.ts +6 -0
- package/lib/components/VideoNoteCapture/optional.d.ts.map +1 -0
- package/lib/components/VideoNoteCapture/optional.js +15 -0
- package/lib/components/VideoNoteCapture/optional.js.map +1 -0
- package/lib/components/VideoNoteCapture/sessionState.d.ts +10 -0
- package/lib/components/VideoNoteCapture/sessionState.d.ts.map +1 -0
- package/lib/components/VideoNoteCapture/sessionState.js +19 -0
- package/lib/components/VideoNoteCapture/sessionState.js.map +1 -0
- package/lib/components/VideoNoteCapture/styles.d.ts +84 -0
- package/lib/components/VideoNoteCapture/styles.d.ts.map +1 -0
- package/lib/components/VideoNoteCapture/styles.js +86 -0
- package/lib/components/VideoNoteCapture/styles.js.map +1 -0
- package/lib/components/VideoNoteCapture/types.d.ts +54 -0
- package/lib/components/VideoNoteCapture/types.d.ts.map +1 -0
- package/lib/components/VideoNoteCapture/types.js +2 -0
- package/lib/components/VideoNoteCapture/types.js.map +1 -0
- package/lib/components/VideoNoteCapture/useRoundAnimation.d.ts +47 -0
- package/lib/components/VideoNoteCapture/useRoundAnimation.d.ts.map +1 -0
- package/lib/components/VideoNoteCapture/useRoundAnimation.js +216 -0
- package/lib/components/VideoNoteCapture/useRoundAnimation.js.map +1 -0
- package/lib/components/VideoNoteCapture/useRoundLayout.d.ts +14 -0
- package/lib/components/VideoNoteCapture/useRoundLayout.d.ts.map +1 -0
- package/lib/components/VideoNoteCapture/useRoundLayout.js +61 -0
- package/lib/components/VideoNoteCapture/useRoundLayout.js.map +1 -0
- package/lib/components/VideoNoteCapture/useVideoNoteSession.d.ts +25 -0
- package/lib/components/VideoNoteCapture/useVideoNoteSession.d.ts.map +1 -0
- package/lib/components/VideoNoteCapture/useVideoNoteSession.js +611 -0
- package/lib/components/VideoNoteCapture/useVideoNoteSession.js.map +1 -0
- package/lib/components/VideoNoteOverlay.d.ts +42 -11
- package/lib/components/VideoNoteOverlay.d.ts.map +1 -1
- package/lib/components/VideoNoteOverlay.js +722 -135
- package/lib/components/VideoNoteOverlay.js.map +1 -1
- package/lib/components/VideoNoteRecorder/LiveVideoNote.d.ts +6 -0
- package/lib/components/VideoNoteRecorder/LiveVideoNote.d.ts.map +1 -0
- package/lib/components/VideoNoteRecorder/LiveVideoNote.js +205 -0
- package/lib/components/VideoNoteRecorder/LiveVideoNote.js.map +1 -0
- package/lib/components/VideoNoteRecorder/RecorderChrome.d.ts +35 -0
- package/lib/components/VideoNoteRecorder/RecorderChrome.d.ts.map +1 -0
- package/lib/components/VideoNoteRecorder/RecorderChrome.js +350 -0
- package/lib/components/VideoNoteRecorder/RecorderChrome.js.map +1 -0
- package/lib/components/VideoNoteRecorder/UnavailableVideoNote.d.ts +10 -0
- package/lib/components/VideoNoteRecorder/UnavailableVideoNote.d.ts.map +1 -0
- package/lib/components/VideoNoteRecorder/UnavailableVideoNote.js +52 -0
- package/lib/components/VideoNoteRecorder/UnavailableVideoNote.js.map +1 -0
- package/lib/components/VideoNoteRecorder/constants.d.ts +16 -0
- package/lib/components/VideoNoteRecorder/constants.d.ts.map +1 -0
- package/lib/components/VideoNoteRecorder/constants.js +30 -0
- package/lib/components/VideoNoteRecorder/constants.js.map +1 -0
- package/lib/components/{VideoNoteRecorder.d.ts → VideoNoteRecorder/index.d.ts} +5 -10
- package/lib/components/VideoNoteRecorder/index.d.ts.map +1 -0
- package/lib/components/VideoNoteRecorder/index.js +26 -0
- package/lib/components/VideoNoteRecorder/index.js.map +1 -0
- package/lib/components/VideoNoteRecorder/styles.d.ts +159 -0
- package/lib/components/VideoNoteRecorder/styles.d.ts.map +1 -0
- package/lib/components/VideoNoteRecorder/styles.js +170 -0
- package/lib/components/VideoNoteRecorder/styles.js.map +1 -0
- package/lib/components/VideoNoteRecorder/types.d.ts +7 -0
- package/lib/components/VideoNoteRecorder/types.d.ts.map +1 -0
- package/lib/components/VideoNoteRecorder/types.js +2 -0
- package/lib/components/VideoNoteRecorder/types.js.map +1 -0
- package/lib/components/VideoNoteRecorder/useRecordingTimer.d.ts +10 -0
- package/lib/components/VideoNoteRecorder/useRecordingTimer.d.ts.map +1 -0
- package/lib/components/VideoNoteRecorder/useRecordingTimer.js +134 -0
- package/lib/components/VideoNoteRecorder/useRecordingTimer.js.map +1 -0
- package/lib/components/VideoNoteRecorder/useVideoNoteRecording.d.ts +28 -0
- package/lib/components/VideoNoteRecorder/useVideoNoteRecording.d.ts.map +1 -0
- package/lib/components/VideoNoteRecorder/useVideoNoteRecording.js +287 -0
- package/lib/components/VideoNoteRecorder/useVideoNoteRecording.js.map +1 -0
- package/lib/components/VideoNoteRecorder/visionCameraHooks.d.ts +6 -0
- package/lib/components/VideoNoteRecorder/visionCameraHooks.d.ts.map +1 -0
- package/lib/components/VideoNoteRecorder/visionCameraHooks.js +11 -0
- package/lib/components/VideoNoteRecorder/visionCameraHooks.js.map +1 -0
- package/lib/components/VideoRecordButton.d.ts +1 -1
- package/lib/components/VideoRecordButton.d.ts.map +1 -1
- package/lib/components/VideoRecordButton.js +221 -92
- package/lib/components/VideoRecordButton.js.map +1 -1
- package/lib/components/ViewOnceBadge.d.ts +23 -0
- package/lib/components/ViewOnceBadge.d.ts.map +1 -0
- package/lib/components/ViewOnceBadge.js +233 -0
- package/lib/components/ViewOnceBadge.js.map +1 -0
- package/lib/components/VoiceMessageInput/RecordedVoicePreview.d.ts +16 -0
- package/lib/components/VoiceMessageInput/RecordedVoicePreview.d.ts.map +1 -0
- package/lib/components/VoiceMessageInput/RecordedVoicePreview.js +503 -0
- package/lib/components/VoiceMessageInput/RecordedVoicePreview.js.map +1 -0
- package/lib/components/VoiceMessageInput/constants.d.ts +16 -0
- package/lib/components/VoiceMessageInput/constants.d.ts.map +1 -0
- package/lib/components/VoiceMessageInput/constants.js +22 -0
- package/lib/components/VoiceMessageInput/constants.js.map +1 -0
- package/lib/components/VoiceMessageInput/formatElapsed.d.ts +2 -0
- package/lib/components/VoiceMessageInput/formatElapsed.d.ts.map +1 -0
- package/lib/components/VoiceMessageInput/formatElapsed.js +7 -0
- package/lib/components/VoiceMessageInput/formatElapsed.js.map +1 -0
- package/lib/components/VoiceMessageInput/index.d.ts +9 -0
- package/lib/components/VoiceMessageInput/index.d.ts.map +1 -0
- package/lib/components/VoiceMessageInput/index.js +148 -0
- package/lib/components/VoiceMessageInput/index.js.map +1 -0
- package/lib/components/VoiceMessageInput/previewStyles.d.ts +77 -0
- package/lib/components/VoiceMessageInput/previewStyles.d.ts.map +1 -0
- package/lib/components/VoiceMessageInput/previewStyles.js +80 -0
- package/lib/components/VoiceMessageInput/previewStyles.js.map +1 -0
- package/lib/components/VoiceMessageInput/previewWaveform.d.ts +15 -0
- package/lib/components/VoiceMessageInput/previewWaveform.d.ts.map +1 -0
- package/lib/components/VoiceMessageInput/previewWaveform.js +27 -0
- package/lib/components/VoiceMessageInput/previewWaveform.js.map +1 -0
- package/lib/components/VoiceMessageInput/recorder.d.ts +18 -0
- package/lib/components/VoiceMessageInput/recorder.d.ts.map +1 -0
- package/lib/components/VoiceMessageInput/recorder.js +80 -0
- package/lib/components/VoiceMessageInput/recorder.js.map +1 -0
- package/lib/components/VoiceMessageInput/types.d.ts +56 -0
- package/lib/components/VoiceMessageInput/types.d.ts.map +1 -0
- package/lib/components/VoiceMessageInput/types.js +2 -0
- package/lib/components/VoiceMessageInput/types.js.map +1 -0
- package/lib/components/VoiceMessageInput/useLazyRecorder.d.ts +7 -0
- package/lib/components/VoiceMessageInput/useLazyRecorder.d.ts.map +1 -0
- package/lib/components/VoiceMessageInput/useLazyRecorder.js +61 -0
- package/lib/components/VoiceMessageInput/useLazyRecorder.js.map +1 -0
- package/lib/components/VoiceMessageInput/useStateReport.d.ts +16 -0
- package/lib/components/VoiceMessageInput/useStateReport.d.ts.map +1 -0
- package/lib/components/VoiceMessageInput/useStateReport.js +81 -0
- package/lib/components/VoiceMessageInput/useStateReport.js.map +1 -0
- package/lib/components/VoiceMessageInput/useTakePreviewActions.d.ts +34 -0
- package/lib/components/VoiceMessageInput/useTakePreviewActions.d.ts.map +1 -0
- package/lib/components/VoiceMessageInput/useTakePreviewActions.js +207 -0
- package/lib/components/VoiceMessageInput/useTakePreviewActions.js.map +1 -0
- package/lib/components/VoiceMessageInput/useVoiceTake.d.ts +25 -0
- package/lib/components/VoiceMessageInput/useVoiceTake.d.ts.map +1 -0
- package/lib/components/VoiceMessageInput/useVoiceTake.js +424 -0
- package/lib/components/VoiceMessageInput/useVoiceTake.js.map +1 -0
- package/lib/components/WaveformPlayer/Bars.d.ts +30 -0
- package/lib/components/WaveformPlayer/Bars.d.ts.map +1 -0
- package/lib/components/WaveformPlayer/Bars.js +171 -0
- package/lib/components/WaveformPlayer/Bars.js.map +1 -0
- package/lib/components/WaveformPlayer/VoiceButton.d.ts +23 -0
- package/lib/components/WaveformPlayer/VoiceButton.d.ts.map +1 -0
- package/lib/components/WaveformPlayer/VoiceButton.js +111 -0
- package/lib/components/WaveformPlayer/VoiceButton.js.map +1 -0
- package/lib/components/WaveformPlayer/WaveformTrack.d.ts +31 -0
- package/lib/components/WaveformPlayer/WaveformTrack.d.ts.map +1 -0
- package/lib/components/WaveformPlayer/WaveformTrack.js +199 -0
- package/lib/components/WaveformPlayer/WaveformTrack.js.map +1 -0
- package/lib/components/WaveformPlayer/audio.d.ts +23 -0
- package/lib/components/WaveformPlayer/audio.d.ts.map +1 -0
- package/lib/components/WaveformPlayer/audio.js +97 -0
- package/lib/components/WaveformPlayer/audio.js.map +1 -0
- package/lib/components/WaveformPlayer/index.d.ts +13 -0
- package/lib/components/WaveformPlayer/index.d.ts.map +1 -0
- package/lib/components/WaveformPlayer/index.js +475 -0
- package/lib/components/WaveformPlayer/index.js.map +1 -0
- package/lib/components/WaveformPlayer/styles.d.ts +257 -0
- package/lib/components/WaveformPlayer/styles.d.ts.map +1 -0
- package/lib/components/WaveformPlayer/styles.js +120 -0
- package/lib/components/WaveformPlayer/styles.js.map +1 -0
- package/lib/components/WaveformPlayer/types.d.ts +32 -0
- package/lib/components/WaveformPlayer/types.d.ts.map +1 -0
- package/lib/components/WaveformPlayer/types.js +2 -0
- package/lib/components/WaveformPlayer/types.js.map +1 -0
- package/lib/components/WaveformPlayer/useSendFlightReveal.d.ts +21 -0
- package/lib/components/WaveformPlayer/useSendFlightReveal.d.ts.map +1 -0
- package/lib/components/WaveformPlayer/useSendFlightReveal.js +105 -0
- package/lib/components/WaveformPlayer/useSendFlightReveal.js.map +1 -0
- package/lib/components/WaveformPlayer/useVoicePlayback.d.ts +39 -0
- package/lib/components/WaveformPlayer/useVoicePlayback.d.ts.map +1 -0
- package/lib/components/WaveformPlayer/useVoicePlayback.js +401 -0
- package/lib/components/WaveformPlayer/useVoicePlayback.js.map +1 -0
- package/lib/components/WaveformPlayer/useVoiceSource.d.ts +38 -0
- package/lib/components/WaveformPlayer/useVoiceSource.d.ts.map +1 -0
- package/lib/components/WaveformPlayer/useVoiceSource.js +244 -0
- package/lib/components/WaveformPlayer/useVoiceSource.js.map +1 -0
- package/lib/components/WaveformPlayer/useWaveformMotion.d.ts +16 -0
- package/lib/components/WaveformPlayer/useWaveformMotion.d.ts.map +1 -0
- package/lib/components/WaveformPlayer/useWaveformMotion.js +135 -0
- package/lib/components/WaveformPlayer/useWaveformMotion.js.map +1 -0
- package/lib/components/WaveformPlayer/useWaveformScrub.d.ts +16 -0
- package/lib/components/WaveformPlayer/useWaveformScrub.d.ts.map +1 -0
- package/lib/components/WaveformPlayer/useWaveformScrub.js +168 -0
- package/lib/components/WaveformPlayer/useWaveformScrub.js.map +1 -0
- package/lib/components/composerPanels.d.ts +13 -0
- package/lib/components/composerPanels.d.ts.map +1 -0
- package/lib/components/composerPanels.js +22 -0
- package/lib/components/composerPanels.js.map +1 -0
- package/lib/components/defaultMessageActions.d.ts +30 -0
- package/lib/components/defaultMessageActions.d.ts.map +1 -0
- package/lib/components/defaultMessageActions.js +124 -0
- package/lib/components/defaultMessageActions.js.map +1 -0
- package/lib/components/earpiece.d.ts +56 -0
- package/lib/components/earpiece.d.ts.map +1 -0
- package/lib/components/earpiece.js +218 -0
- package/lib/components/earpiece.js.map +1 -0
- package/lib/components/floatingNoteMath.d.ts +66 -0
- package/lib/components/floatingNoteMath.d.ts.map +1 -0
- package/lib/components/floatingNoteMath.js +143 -0
- package/lib/components/floatingNoteMath.js.map +1 -0
- package/lib/components/haptics.d.ts +5 -0
- package/lib/components/haptics.d.ts.map +1 -0
- package/lib/components/haptics.js +26 -0
- package/lib/components/haptics.js.map +1 -0
- package/lib/components/mediaDownload.d.ts +14 -0
- package/lib/components/mediaDownload.d.ts.map +1 -0
- package/lib/components/mediaDownload.js +43 -0
- package/lib/components/mediaDownload.js.map +1 -0
- package/lib/components/mediaPalette.d.ts +7 -2
- package/lib/components/mediaPalette.d.ts.map +1 -1
- package/lib/components/mediaPalette.js +27 -15
- package/lib/components/mediaPalette.js.map +1 -1
- package/lib/components/mediaPlayback.d.ts +204 -5
- package/lib/components/mediaPlayback.d.ts.map +1 -1
- package/lib/components/mediaPlayback.js +746 -17
- package/lib/components/mediaPlayback.js.map +1 -1
- package/lib/components/mediaTransfer.d.ts +29 -0
- package/lib/components/mediaTransfer.d.ts.map +1 -0
- package/lib/components/mediaTransfer.js +52 -0
- package/lib/components/mediaTransfer.js.map +1 -0
- package/lib/components/mediaViewer/MediaViewer.d.ts +17 -0
- package/lib/components/mediaViewer/MediaViewer.d.ts.map +1 -0
- package/lib/components/mediaViewer/MediaViewer.js +347 -0
- package/lib/components/mediaViewer/MediaViewer.js.map +1 -0
- package/lib/components/mediaViewer/MediaViewerChrome.d.ts +14 -0
- package/lib/components/mediaViewer/MediaViewerChrome.d.ts.map +1 -0
- package/lib/components/mediaViewer/MediaViewerChrome.js +164 -0
- package/lib/components/mediaViewer/MediaViewerChrome.js.map +1 -0
- package/lib/components/mediaViewer/MediaViewerHost.d.ts +10 -0
- package/lib/components/mediaViewer/MediaViewerHost.d.ts.map +1 -0
- package/lib/components/mediaViewer/MediaViewerHost.js +76 -0
- package/lib/components/mediaViewer/MediaViewerHost.js.map +1 -0
- package/lib/components/mediaViewer/MediaViewerPage.d.ts +25 -0
- package/lib/components/mediaViewer/MediaViewerPage.d.ts.map +1 -0
- package/lib/components/mediaViewer/MediaViewerPage.js +194 -0
- package/lib/components/mediaViewer/MediaViewerPage.js.map +1 -0
- package/lib/components/mediaViewer/gallery.d.ts +27 -0
- package/lib/components/mediaViewer/gallery.d.ts.map +1 -0
- package/lib/components/mediaViewer/gallery.js +41 -0
- package/lib/components/mediaViewer/gallery.js.map +1 -0
- package/lib/components/messageHighlight.d.ts +41 -0
- package/lib/components/messageHighlight.d.ts.map +1 -0
- package/lib/components/messageHighlight.js +157 -0
- package/lib/components/messageHighlight.js.map +1 -0
- package/lib/components/messagePress.d.ts +14 -0
- package/lib/components/messagePress.d.ts.map +1 -0
- package/lib/components/messagePress.js +18 -0
- package/lib/components/messagePress.js.map +1 -0
- package/lib/components/messageSelection.d.ts +39 -0
- package/lib/components/messageSelection.d.ts.map +1 -0
- package/lib/components/messageSelection.js +135 -0
- package/lib/components/messageSelection.js.map +1 -0
- package/lib/components/recordingFeedback.d.ts +22 -0
- package/lib/components/recordingFeedback.d.ts.map +1 -0
- package/lib/components/recordingFeedback.js +80 -0
- package/lib/components/recordingFeedback.js.map +1 -0
- package/lib/components/recordingMeter.d.ts +19 -0
- package/lib/components/recordingMeter.d.ts.map +1 -0
- package/lib/components/recordingMeter.js +21 -0
- package/lib/components/recordingMeter.js.map +1 -0
- package/lib/components/roundNoteChrome.d.ts +107 -0
- package/lib/components/roundNoteChrome.d.ts.map +1 -0
- package/lib/components/roundNoteChrome.js +249 -0
- package/lib/components/roundNoteChrome.js.map +1 -0
- package/lib/components/roundNotePlayers.d.ts +78 -0
- package/lib/components/roundNotePlayers.d.ts.map +1 -0
- package/lib/components/roundNotePlayers.js +230 -0
- package/lib/components/roundNotePlayers.js.map +1 -0
- package/lib/components/sendFlight.d.ts +88 -0
- package/lib/components/sendFlight.d.ts.map +1 -0
- package/lib/components/sendFlight.js +146 -0
- package/lib/components/sendFlight.js.map +1 -0
- package/lib/components/viewOnce.d.ts +27 -0
- package/lib/components/viewOnce.d.ts.map +1 -0
- package/lib/components/viewOnce.js +168 -0
- package/lib/components/viewOnce.js.map +1 -0
- package/lib/components/visionCamera.d.ts +45 -0
- package/lib/components/visionCamera.d.ts.map +1 -0
- package/lib/components/visionCamera.js +117 -0
- package/lib/components/visionCamera.js.map +1 -0
- package/lib/components/voiceEditing.d.ts +34 -0
- package/lib/components/voiceEditing.d.ts.map +1 -0
- package/lib/components/voiceEditing.js +159 -0
- package/lib/components/voiceEditing.js.map +1 -0
- package/lib/components/voiceWaveform.d.ts +108 -0
- package/lib/components/voiceWaveform.d.ts.map +1 -0
- package/lib/components/voiceWaveform.js +165 -0
- package/lib/components/voiceWaveform.js.map +1 -0
- package/lib/components/wallpaperGradient.d.ts +16 -0
- package/lib/components/wallpaperGradient.d.ts.map +1 -0
- package/lib/components/wallpaperGradient.js +186 -0
- package/lib/components/wallpaperGradient.js.map +1 -0
- package/lib/components/windowInsets.d.ts +11 -0
- package/lib/components/windowInsets.d.ts.map +1 -0
- package/lib/components/windowInsets.js +44 -0
- package/lib/components/windowInsets.js.map +1 -0
- package/lib/dayjsLocales.js +15 -2
- package/lib/dayjsLocales.js.map +1 -1
- package/lib/emoji/EmojiGrid/BackspaceButton.d.ts +11 -0
- package/lib/emoji/EmojiGrid/BackspaceButton.d.ts.map +1 -0
- package/lib/emoji/EmojiGrid/BackspaceButton.js +111 -0
- package/lib/emoji/EmojiGrid/BackspaceButton.js.map +1 -0
- package/lib/emoji/EmojiGrid/EmojiRow.d.ts +15 -0
- package/lib/emoji/EmojiGrid/EmojiRow.d.ts.map +1 -0
- package/lib/emoji/EmojiGrid/EmojiRow.js +71 -0
- package/lib/emoji/EmojiGrid/EmojiRow.js.map +1 -0
- package/lib/emoji/EmojiGrid/Search.d.ts +29 -0
- package/lib/emoji/EmojiGrid/Search.d.ts.map +1 -0
- package/lib/emoji/EmojiGrid/Search.js +234 -0
- package/lib/emoji/EmojiGrid/Search.js.map +1 -0
- package/lib/emoji/EmojiGrid/TabStrip.d.ts +16 -0
- package/lib/emoji/EmojiGrid/TabStrip.d.ts.map +1 -0
- package/lib/emoji/EmojiGrid/TabStrip.js +237 -0
- package/lib/emoji/EmojiGrid/TabStrip.js.map +1 -0
- package/lib/emoji/EmojiGrid/TonePopup.d.ts +12 -0
- package/lib/emoji/EmojiGrid/TonePopup.d.ts.map +1 -0
- package/lib/emoji/EmojiGrid/TonePopup.js +137 -0
- package/lib/emoji/EmojiGrid/TonePopup.js.map +1 -0
- package/lib/emoji/EmojiGrid/constants.d.ts +29 -0
- package/lib/emoji/EmojiGrid/constants.d.ts.map +1 -0
- package/lib/emoji/EmojiGrid/constants.js +65 -0
- package/lib/emoji/EmojiGrid/constants.js.map +1 -0
- package/lib/emoji/EmojiGrid/index.d.ts +10 -0
- package/lib/emoji/EmojiGrid/index.d.ts.map +1 -0
- package/lib/emoji/EmojiGrid/index.js +450 -0
- package/lib/emoji/EmojiGrid/index.js.map +1 -0
- package/lib/emoji/EmojiGrid/items.d.ts +25 -0
- package/lib/emoji/EmojiGrid/items.d.ts.map +1 -0
- package/lib/emoji/EmojiGrid/items.js +75 -0
- package/lib/emoji/EmojiGrid/items.js.map +1 -0
- package/lib/emoji/EmojiGrid/styles.d.ts +181 -0
- package/lib/emoji/EmojiGrid/styles.d.ts.map +1 -0
- package/lib/emoji/EmojiGrid/styles.js +184 -0
- package/lib/emoji/EmojiGrid/styles.js.map +1 -0
- package/lib/emoji/EmojiGrid/types.d.ts +53 -0
- package/lib/emoji/EmojiGrid/types.d.ts.map +1 -0
- package/lib/emoji/EmojiGrid/types.js +2 -0
- package/lib/emoji/EmojiGrid/types.js.map +1 -0
- package/lib/emoji/EmojiGrid/useTabScroll.d.ts +19 -0
- package/lib/emoji/EmojiGrid/useTabScroll.d.ts.map +1 -0
- package/lib/emoji/EmojiGrid/useTabScroll.js +124 -0
- package/lib/emoji/EmojiGrid/useTabScroll.js.map +1 -0
- package/lib/emoji/EmojiKeyboard.d.ts +79 -0
- package/lib/emoji/EmojiKeyboard.d.ts.map +1 -0
- package/lib/emoji/EmojiKeyboard.js +445 -0
- package/lib/emoji/EmojiKeyboard.js.map +1 -0
- package/lib/emoji/defaultExpandedPicker.d.ts +5 -0
- package/lib/emoji/defaultExpandedPicker.d.ts.map +1 -0
- package/lib/emoji/defaultExpandedPicker.js +11 -0
- package/lib/emoji/defaultExpandedPicker.js.map +1 -0
- package/lib/emoji/emojiData.d.ts +2 -0
- package/lib/emoji/emojiData.d.ts.map +1 -0
- package/lib/emoji/emojiData.js +5 -0
- package/lib/emoji/emojiData.js.map +1 -0
- package/lib/emoji/emojiStore.d.ts +70 -0
- package/lib/emoji/emojiStore.d.ts.map +1 -0
- package/lib/emoji/emojiStore.js +246 -0
- package/lib/emoji/emojiStore.js.map +1 -0
- package/lib/emoji/textEditing.d.ts +20 -0
- package/lib/emoji/textEditing.d.ts.map +1 -0
- package/lib/emoji/textEditing.js +97 -0
- package/lib/emoji/textEditing.js.map +1 -0
- package/lib/emojiOnly.d.ts +11 -0
- package/lib/emojiOnly.d.ts.map +1 -0
- package/lib/emojiOnly.js +79 -0
- package/lib/emojiOnly.js.map +1 -0
- package/lib/gestures/useRowSwipe.d.ts +43 -0
- package/lib/gestures/useRowSwipe.d.ts.map +1 -0
- package/lib/gestures/useRowSwipe.js +74 -0
- package/lib/gestures/useRowSwipe.js.map +1 -0
- package/lib/hooks/useAnimatedPresence.d.ts +22 -0
- package/lib/hooks/useAnimatedPresence.d.ts.map +1 -0
- package/lib/hooks/useAnimatedPresence.js +97 -0
- package/lib/hooks/useAnimatedPresence.js.map +1 -0
- package/lib/hooks/useChatMessages.d.ts +39 -0
- package/lib/hooks/useChatMessages.d.ts.map +1 -0
- package/lib/hooks/useChatMessages.js +125 -0
- package/lib/hooks/useChatMessages.js.map +1 -0
- package/lib/hooks/useColorScheme.d.ts +7 -1
- package/lib/hooks/useColorScheme.d.ts.map +1 -1
- package/lib/hooks/useColorScheme.js +46 -8
- package/lib/hooks/useColorScheme.js.map +1 -1
- package/lib/hooks/useHasKeyboardProvider.js +18 -7
- package/lib/hooks/useHasKeyboardProvider.js.map +1 -1
- package/lib/hooks/useIcons.js +15 -2
- package/lib/hooks/useIcons.js.map +1 -1
- package/lib/hooks/useIsKeyboardVisible.js +39 -17
- package/lib/hooks/useIsKeyboardVisible.js.map +1 -1
- package/lib/hooks/useIsRTL.js +15 -2
- package/lib/hooks/useIsRTL.js.map +1 -1
- package/lib/hooks/useKeyboardVerticalOffset.d.ts +5 -3
- package/lib/hooks/useKeyboardVerticalOffset.d.ts.map +1 -1
- package/lib/hooks/useKeyboardVerticalOffset.js +52 -18
- package/lib/hooks/useKeyboardVerticalOffset.js.map +1 -1
- package/lib/hooks/useLabels.js +15 -2
- package/lib/hooks/useLabels.js.map +1 -1
- package/lib/hooks/useStreamingMessages.js +200 -86
- package/lib/hooks/useStreamingMessages.js.map +1 -1
- package/lib/hooks/useTheme.js +56 -7
- package/lib/hooks/useTheme.js.map +1 -1
- package/lib/hooks/useUpdateLayoutEffect.d.ts.map +1 -1
- package/lib/hooks/useUpdateLayoutEffect.js +35 -11
- package/lib/hooks/useUpdateLayoutEffect.js.map +1 -1
- package/lib/i18n.d.ts +182 -0
- package/lib/i18n.d.ts.map +1 -1
- package/lib/i18n.js +121 -23
- package/lib/i18n.js.map +1 -1
- package/lib/index.d.ts +31 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +18 -1
- package/lib/index.js.map +1 -1
- package/lib/linkParser.js +318 -185
- package/lib/linkParser.js.map +1 -1
- package/lib/locales/ar.d.ts.map +1 -1
- package/lib/locales/ar.js +110 -19
- package/lib/locales/ar.js.map +1 -1
- package/lib/locales/de.d.ts.map +1 -1
- package/lib/locales/de.js +110 -19
- package/lib/locales/de.js.map +1 -1
- package/lib/locales/es.d.ts.map +1 -1
- package/lib/locales/es.js +110 -19
- package/lib/locales/es.js.map +1 -1
- package/lib/locales/fr.d.ts.map +1 -1
- package/lib/locales/fr.js +110 -19
- package/lib/locales/fr.js.map +1 -1
- package/lib/locales/hi.d.ts.map +1 -1
- package/lib/locales/hi.js +110 -19
- package/lib/locales/hi.js.map +1 -1
- package/lib/locales/id.d.ts.map +1 -1
- package/lib/locales/id.js +110 -19
- package/lib/locales/id.js.map +1 -1
- package/lib/locales/index.js +19 -5
- package/lib/locales/index.js.map +1 -1
- package/lib/locales/it.d.ts.map +1 -1
- package/lib/locales/it.js +110 -19
- package/lib/locales/it.js.map +1 -1
- package/lib/locales/ja.d.ts.map +1 -1
- package/lib/locales/ja.js +110 -19
- package/lib/locales/ja.js.map +1 -1
- package/lib/locales/ko.d.ts.map +1 -1
- package/lib/locales/ko.js +110 -19
- package/lib/locales/ko.js.map +1 -1
- package/lib/locales/nl.d.ts.map +1 -1
- package/lib/locales/nl.js +110 -19
- package/lib/locales/nl.js.map +1 -1
- package/lib/locales/pl.d.ts.map +1 -1
- package/lib/locales/pl.js +110 -19
- package/lib/locales/pl.js.map +1 -1
- package/lib/locales/pt.d.ts.map +1 -1
- package/lib/locales/pt.js +110 -19
- package/lib/locales/pt.js.map +1 -1
- package/lib/locales/ru.d.ts.map +1 -1
- package/lib/locales/ru.js +110 -19
- package/lib/locales/ru.js.map +1 -1
- package/lib/locales/tr.d.ts.map +1 -1
- package/lib/locales/tr.js +110 -19
- package/lib/locales/tr.js.map +1 -1
- package/lib/locales/zh.d.ts.map +1 -1
- package/lib/locales/zh.js +110 -19
- package/lib/locales/zh.js.map +1 -1
- package/lib/logging.d.ts +5 -0
- package/lib/logging.d.ts.map +1 -1
- package/lib/logging.js +13 -1
- package/lib/logging.js.map +1 -1
- package/lib/messageUtils.d.ts +19 -0
- package/lib/messageUtils.d.ts.map +1 -0
- package/lib/messageUtils.js +61 -0
- package/lib/messageUtils.js.map +1 -0
- package/lib/motion.d.ts +21 -0
- package/lib/motion.d.ts.map +1 -0
- package/lib/motion.js +30 -0
- package/lib/motion.js.map +1 -0
- package/lib/optional/index.d.ts +99 -0
- package/lib/optional/index.d.ts.map +1 -0
- package/lib/optional/index.js +284 -0
- package/lib/optional/index.js.map +1 -0
- package/lib/rtl.js +7 -5
- package/lib/rtl.js.map +1 -1
- package/lib/store.d.ts +40 -0
- package/lib/store.d.ts.map +1 -0
- package/lib/store.js +127 -0
- package/lib/store.js.map +1 -0
- package/lib/styles.d.ts +2 -2
- package/lib/styles.d.ts.map +1 -1
- package/lib/styles.js +15 -15
- package/lib/styles.js.map +1 -1
- package/lib/types.js +1 -0
- package/lib/types.js.map +1 -1
- package/lib/utils.d.ts +15 -0
- package/lib/utils.d.ts.map +1 -1
- package/lib/utils.js +199 -94
- package/lib/utils.js.map +1 -1
- package/llms.txt +133 -31
- package/package.json +89 -46
- package/lib/InputToolbar.d.ts +0 -49
- package/lib/InputToolbar.d.ts.map +0 -1
- package/lib/InputToolbar.js +0 -338
- package/lib/InputToolbar.js.map +0 -1
- package/lib/MessageVideo.d.ts.map +0 -1
- package/lib/MessageVideo.js +0 -162
- package/lib/MessageVideo.js.map +0 -1
- package/lib/MessagesContainer/FlashList.d.ts +0 -9
- package/lib/MessagesContainer/FlashList.d.ts.map +0 -1
- package/lib/MessagesContainer/FlashList.js +0 -23
- package/lib/MessagesContainer/FlashList.js.map +0 -1
- package/lib/components/ContextMenu.d.ts +0 -25
- package/lib/components/ContextMenu.d.ts.map +0 -1
- package/lib/components/ContextMenu.js +0 -122
- package/lib/components/ContextMenu.js.map +0 -1
- package/lib/components/VideoNoteRecorder.d.ts.map +0 -1
- package/lib/components/VideoNoteRecorder.js +0 -634
- package/lib/components/VideoNoteRecorder.js.map +0 -1
- package/lib/components/VoiceMessageInput.d.ts +0 -33
- package/lib/components/VoiceMessageInput.d.ts.map +0 -1
- package/lib/components/VoiceMessageInput.js +0 -403
- package/lib/components/VoiceMessageInput.js.map +0 -1
- package/lib/components/WaveformPlayer.d.ts +0 -19
- package/lib/components/WaveformPlayer.d.ts.map +0 -1
- package/lib/components/WaveformPlayer.js +0 -367
- package/lib/components/WaveformPlayer.js.map +0 -1
|
@@ -0,0 +1,766 @@
|
|
|
1
|
+
import { c as _c } from "react/compiler-runtime";
|
|
2
|
+
import React, { useEffect, useState } from 'react';
|
|
3
|
+
import { Pressable, StyleSheet, Text, View } from 'react-native';
|
|
4
|
+
import Animated, { Easing, FadeOut, Keyframe, ReduceMotion, cancelAnimation, interpolate, useAnimatedStyle, useSharedValue, withDelay, withRepeat, withSequence, withTiming } from 'react-native-reanimated';
|
|
5
|
+
import { useIsRTL } from '../hooks/useIsRTL';
|
|
6
|
+
import { useLabels } from '../hooks/useLabels';
|
|
7
|
+
import { useThemedStyles } from '../hooks/useTheme';
|
|
8
|
+
import { useStore } from '../store';
|
|
9
|
+
import { ChevronIcon } from './MediaControls';
|
|
10
|
+
import { formatRecordingTime } from './recordingFeedback';
|
|
11
|
+
import { sameNumber } from './recordingMeter';
|
|
12
|
+
|
|
13
|
+
/** How long the cancelled bar stays up for the trash can (`recordDeleteImageView`). */
|
|
14
|
+
export const CANCEL_LINGER_MS = 900;
|
|
15
|
+
/** The trash can's own run, inside the linger. */
|
|
16
|
+
const TRASH_MS = 850;
|
|
17
|
+
/** `RecordDot`: fades to nothing over 600ms and back, linearly. */
|
|
18
|
+
const BLINK_MS = 600;
|
|
19
|
+
/** A changed timer digit rolls down 15 while crossfading (116ms). */
|
|
20
|
+
const DIGIT_ROLL = 15;
|
|
21
|
+
const DIGIT_MS = 116;
|
|
22
|
+
/** At rest the hint drifts 6 each way, a sweep a second (`SlideTextView`). */
|
|
23
|
+
const DRIFT = 6;
|
|
24
|
+
const DRIFT_SWEEP_MS = 1000;
|
|
25
|
+
/** On lock the hint drops 12 as CANCEL comes down 12 into its place, 300ms. */
|
|
26
|
+
const LOCK_SHIFT = 12;
|
|
27
|
+
const LOCK_MS = 300;
|
|
28
|
+
|
|
29
|
+
/** The bar's parts come in from 20 further along, over 150ms decelerate (`runningAnimation`). */
|
|
30
|
+
const PART_IN = new Keyframe({
|
|
31
|
+
0: {
|
|
32
|
+
opacity: 0,
|
|
33
|
+
transform: [{
|
|
34
|
+
translateX: 20
|
|
35
|
+
}]
|
|
36
|
+
},
|
|
37
|
+
100: {
|
|
38
|
+
opacity: 1,
|
|
39
|
+
transform: [{
|
|
40
|
+
translateX: 0
|
|
41
|
+
}],
|
|
42
|
+
easing: Easing.out(Easing.quad)
|
|
43
|
+
}
|
|
44
|
+
}).duration(150);
|
|
45
|
+
const PART_IN_RTL = new Keyframe({
|
|
46
|
+
0: {
|
|
47
|
+
opacity: 0,
|
|
48
|
+
transform: [{
|
|
49
|
+
translateX: -20
|
|
50
|
+
}]
|
|
51
|
+
},
|
|
52
|
+
100: {
|
|
53
|
+
opacity: 1,
|
|
54
|
+
transform: [{
|
|
55
|
+
translateX: 0
|
|
56
|
+
}],
|
|
57
|
+
easing: Easing.out(Easing.quad)
|
|
58
|
+
}
|
|
59
|
+
}).duration(150);
|
|
60
|
+
/** The red dot scales in from nothing. */
|
|
61
|
+
const DOT_IN = new Keyframe({
|
|
62
|
+
0: {
|
|
63
|
+
transform: [{
|
|
64
|
+
scale: 0
|
|
65
|
+
}]
|
|
66
|
+
},
|
|
67
|
+
100: {
|
|
68
|
+
transform: [{
|
|
69
|
+
scale: 1
|
|
70
|
+
}],
|
|
71
|
+
easing: Easing.out(Easing.quad)
|
|
72
|
+
}
|
|
73
|
+
}).duration(150);
|
|
74
|
+
const DIGIT_IN = new Keyframe({
|
|
75
|
+
0: {
|
|
76
|
+
opacity: 0,
|
|
77
|
+
transform: [{
|
|
78
|
+
translateY: -DIGIT_ROLL
|
|
79
|
+
}]
|
|
80
|
+
},
|
|
81
|
+
100: {
|
|
82
|
+
opacity: 1,
|
|
83
|
+
transform: [{
|
|
84
|
+
translateY: 0
|
|
85
|
+
}]
|
|
86
|
+
}
|
|
87
|
+
}).duration(DIGIT_MS);
|
|
88
|
+
const DIGIT_OUT = new Keyframe({
|
|
89
|
+
0: {
|
|
90
|
+
opacity: 1,
|
|
91
|
+
transform: [{
|
|
92
|
+
translateY: 0
|
|
93
|
+
}]
|
|
94
|
+
},
|
|
95
|
+
100: {
|
|
96
|
+
opacity: 0,
|
|
97
|
+
transform: [{
|
|
98
|
+
translateY: DIGIT_ROLL
|
|
99
|
+
}]
|
|
100
|
+
}
|
|
101
|
+
}).duration(DIGIT_MS);
|
|
102
|
+
const clamp01 = value => {
|
|
103
|
+
'worklet';
|
|
104
|
+
|
|
105
|
+
return value < 0 ? 0 : value > 1 ? 1 : value;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* The composer while a take records (`recordPanel`): the red dot, the timer,
|
|
109
|
+
* "slide to cancel" following the circle, and CANCEL once locked.
|
|
110
|
+
*/
|
|
111
|
+
export function RecordingBar(t0) {
|
|
112
|
+
const $ = _c(66);
|
|
113
|
+
const {
|
|
114
|
+
elapsed,
|
|
115
|
+
isLocked,
|
|
116
|
+
isBlinking,
|
|
117
|
+
isCancelled,
|
|
118
|
+
slideProgress,
|
|
119
|
+
slideDistance,
|
|
120
|
+
onCancel
|
|
121
|
+
} = t0;
|
|
122
|
+
const styles = useThemedStyles(createStyles);
|
|
123
|
+
const labels = useLabels();
|
|
124
|
+
const isRTL = useIsRTL();
|
|
125
|
+
const cancelSign = isRTL ? 1 : -1;
|
|
126
|
+
const [wasLocked, setWasLocked] = useState(isLocked);
|
|
127
|
+
if (isLocked && !wasLocked) {
|
|
128
|
+
setWasLocked(true);
|
|
129
|
+
} else {
|
|
130
|
+
if (!isLocked && !isCancelled && wasLocked) {
|
|
131
|
+
setWasLocked(false);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
const isShownLocked = isLocked || isCancelled && wasLocked;
|
|
135
|
+
const labelWidth = useSharedValue(0);
|
|
136
|
+
const drift = useSharedValue(0);
|
|
137
|
+
const lock = useSharedValue(isShownLocked ? 1 : 0);
|
|
138
|
+
const leave = useSharedValue(0);
|
|
139
|
+
let t1;
|
|
140
|
+
let t2;
|
|
141
|
+
if ($[0] !== isShownLocked || $[1] !== lock) {
|
|
142
|
+
t1 = () => {
|
|
143
|
+
lock.value = withTiming(isShownLocked ? 1 : 0, {
|
|
144
|
+
duration: LOCK_MS
|
|
145
|
+
});
|
|
146
|
+
};
|
|
147
|
+
t2 = [isShownLocked, lock];
|
|
148
|
+
$[0] = isShownLocked;
|
|
149
|
+
$[1] = lock;
|
|
150
|
+
$[2] = t1;
|
|
151
|
+
$[3] = t2;
|
|
152
|
+
} else {
|
|
153
|
+
t1 = $[2];
|
|
154
|
+
t2 = $[3];
|
|
155
|
+
}
|
|
156
|
+
useEffect(t1, t2);
|
|
157
|
+
let t3;
|
|
158
|
+
let t4;
|
|
159
|
+
if ($[4] !== isCancelled || $[5] !== leave) {
|
|
160
|
+
t3 = () => {
|
|
161
|
+
leave.value = isCancelled ? withDelay(200, withTiming(1, {
|
|
162
|
+
duration: 200
|
|
163
|
+
})) : 0;
|
|
164
|
+
};
|
|
165
|
+
t4 = [isCancelled, leave];
|
|
166
|
+
$[4] = isCancelled;
|
|
167
|
+
$[5] = leave;
|
|
168
|
+
$[6] = t3;
|
|
169
|
+
$[7] = t4;
|
|
170
|
+
} else {
|
|
171
|
+
t3 = $[6];
|
|
172
|
+
t4 = $[7];
|
|
173
|
+
}
|
|
174
|
+
useEffect(t3, t4);
|
|
175
|
+
let t5;
|
|
176
|
+
let t6;
|
|
177
|
+
if ($[8] !== drift) {
|
|
178
|
+
t5 = () => {
|
|
179
|
+
drift.value = withRepeat(withSequence(withTiming(1, {
|
|
180
|
+
duration: DRIFT_SWEEP_MS / 2,
|
|
181
|
+
easing: Easing.inOut(Easing.quad),
|
|
182
|
+
reduceMotion: ReduceMotion.System
|
|
183
|
+
}), withTiming(-1, {
|
|
184
|
+
duration: DRIFT_SWEEP_MS,
|
|
185
|
+
easing: Easing.inOut(Easing.quad),
|
|
186
|
+
reduceMotion: ReduceMotion.System
|
|
187
|
+
}), withTiming(0, {
|
|
188
|
+
duration: DRIFT_SWEEP_MS / 2,
|
|
189
|
+
easing: Easing.inOut(Easing.quad),
|
|
190
|
+
reduceMotion: ReduceMotion.System
|
|
191
|
+
})), -1);
|
|
192
|
+
return () => cancelAnimation(drift);
|
|
193
|
+
};
|
|
194
|
+
t6 = [drift];
|
|
195
|
+
$[8] = drift;
|
|
196
|
+
$[9] = t5;
|
|
197
|
+
$[10] = t6;
|
|
198
|
+
} else {
|
|
199
|
+
t5 = $[9];
|
|
200
|
+
t6 = $[10];
|
|
201
|
+
}
|
|
202
|
+
useEffect(t5, t6);
|
|
203
|
+
let t7;
|
|
204
|
+
if ($[11] !== labelWidth) {
|
|
205
|
+
t7 = event => {
|
|
206
|
+
labelWidth.value = event.nativeEvent.layout.width;
|
|
207
|
+
};
|
|
208
|
+
$[11] = labelWidth;
|
|
209
|
+
$[12] = t7;
|
|
210
|
+
} else {
|
|
211
|
+
t7 = $[12];
|
|
212
|
+
}
|
|
213
|
+
const onLabelLayout = t7;
|
|
214
|
+
const timerStyle = useAnimatedStyle(() => ({
|
|
215
|
+
opacity: 1 - leave.value,
|
|
216
|
+
transform: [{
|
|
217
|
+
translateX: cancelSign * 20 * leave.value
|
|
218
|
+
}]
|
|
219
|
+
}));
|
|
220
|
+
const hintStyle = useAnimatedStyle(() => {
|
|
221
|
+
const progress = slideProgress.value;
|
|
222
|
+
const circleOffset = cancelSign * slideDistance * (1 - progress);
|
|
223
|
+
const rest = clamp01((progress - 0.8) / 0.2);
|
|
224
|
+
return {
|
|
225
|
+
opacity: progress * (1 - lock.value) * (1 - leave.value),
|
|
226
|
+
transform: [{
|
|
227
|
+
translateX: cancelSign * (labelWidth.value / 4) * (1 - progress) + 0.3 * circleOffset + DRIFT * drift.value * rest + cancelSign * 20 * leave.value
|
|
228
|
+
}, {
|
|
229
|
+
translateY: LOCK_SHIFT * lock.value
|
|
230
|
+
}]
|
|
231
|
+
};
|
|
232
|
+
});
|
|
233
|
+
const cancelStyle = useAnimatedStyle(() => ({
|
|
234
|
+
opacity: lock.value * (1 - leave.value),
|
|
235
|
+
transform: [{
|
|
236
|
+
translateY: -LOCK_SHIFT * (1 - lock.value)
|
|
237
|
+
}]
|
|
238
|
+
}));
|
|
239
|
+
const partIn = isRTL ? PART_IN_RTL : PART_IN;
|
|
240
|
+
const t8 = isRTL && styles.rowReverse;
|
|
241
|
+
let t9;
|
|
242
|
+
if ($[13] !== styles.bar || $[14] !== t8) {
|
|
243
|
+
t9 = [styles.bar, t8];
|
|
244
|
+
$[13] = styles.bar;
|
|
245
|
+
$[14] = t8;
|
|
246
|
+
$[15] = t9;
|
|
247
|
+
} else {
|
|
248
|
+
t9 = $[15];
|
|
249
|
+
}
|
|
250
|
+
let t10;
|
|
251
|
+
if ($[16] === Symbol.for("react.memo_cache_sentinel")) {
|
|
252
|
+
t10 = FadeOut.duration(150);
|
|
253
|
+
$[16] = t10;
|
|
254
|
+
} else {
|
|
255
|
+
t10 = $[16];
|
|
256
|
+
}
|
|
257
|
+
let t11;
|
|
258
|
+
if ($[17] !== isBlinking || $[18] !== isCancelled) {
|
|
259
|
+
t11 = <Animated.View entering={DOT_IN}><RecordDot isBlinking={isBlinking} isCancelled={isCancelled} /></Animated.View>;
|
|
260
|
+
$[17] = isBlinking;
|
|
261
|
+
$[18] = isCancelled;
|
|
262
|
+
$[19] = t11;
|
|
263
|
+
} else {
|
|
264
|
+
t11 = $[19];
|
|
265
|
+
}
|
|
266
|
+
const t12 = isRTL ? styles.timerRTL : styles.timerLTR;
|
|
267
|
+
let t13;
|
|
268
|
+
if ($[20] !== elapsed || $[21] !== styles.timerText) {
|
|
269
|
+
t13 = <RecordingTime elapsed={elapsed} style={styles.timerText} />;
|
|
270
|
+
$[20] = elapsed;
|
|
271
|
+
$[21] = styles.timerText;
|
|
272
|
+
$[22] = t13;
|
|
273
|
+
} else {
|
|
274
|
+
t13 = $[22];
|
|
275
|
+
}
|
|
276
|
+
let t14;
|
|
277
|
+
if ($[23] !== t13 || $[24] !== timerStyle) {
|
|
278
|
+
t14 = <Animated.View style={timerStyle}>{t13}</Animated.View>;
|
|
279
|
+
$[23] = t13;
|
|
280
|
+
$[24] = timerStyle;
|
|
281
|
+
$[25] = t14;
|
|
282
|
+
} else {
|
|
283
|
+
t14 = $[25];
|
|
284
|
+
}
|
|
285
|
+
let t15;
|
|
286
|
+
if ($[26] !== partIn || $[27] !== t12 || $[28] !== t14) {
|
|
287
|
+
t15 = <Animated.View entering={partIn} style={t12}>{t14}</Animated.View>;
|
|
288
|
+
$[26] = partIn;
|
|
289
|
+
$[27] = t12;
|
|
290
|
+
$[28] = t14;
|
|
291
|
+
$[29] = t15;
|
|
292
|
+
} else {
|
|
293
|
+
t15 = $[29];
|
|
294
|
+
}
|
|
295
|
+
const t16 = isRTL && styles.rowReverse;
|
|
296
|
+
let t17;
|
|
297
|
+
if ($[30] !== hintStyle || $[31] !== styles.hint || $[32] !== t16) {
|
|
298
|
+
t17 = [styles.hint, t16, hintStyle];
|
|
299
|
+
$[30] = hintStyle;
|
|
300
|
+
$[31] = styles.hint;
|
|
301
|
+
$[32] = t16;
|
|
302
|
+
$[33] = t17;
|
|
303
|
+
} else {
|
|
304
|
+
t17 = $[33];
|
|
305
|
+
}
|
|
306
|
+
const t18 = isRTL ? "right" : "left";
|
|
307
|
+
let t19;
|
|
308
|
+
if ($[34] !== styles.hintColor.color || $[35] !== t18) {
|
|
309
|
+
t19 = <ChevronIcon color={styles.hintColor.color} size={12} direction={t18} />;
|
|
310
|
+
$[34] = styles.hintColor.color;
|
|
311
|
+
$[35] = t18;
|
|
312
|
+
$[36] = t19;
|
|
313
|
+
} else {
|
|
314
|
+
t19 = $[36];
|
|
315
|
+
}
|
|
316
|
+
let t20;
|
|
317
|
+
if ($[37] !== labels.slideToCancel || $[38] !== styles.hintText) {
|
|
318
|
+
t20 = <Text style={styles.hintText} numberOfLines={1}>{labels.slideToCancel}</Text>;
|
|
319
|
+
$[37] = labels.slideToCancel;
|
|
320
|
+
$[38] = styles.hintText;
|
|
321
|
+
$[39] = t20;
|
|
322
|
+
} else {
|
|
323
|
+
t20 = $[39];
|
|
324
|
+
}
|
|
325
|
+
let t21;
|
|
326
|
+
if ($[40] !== t17 || $[41] !== t19 || $[42] !== t20) {
|
|
327
|
+
t21 = <Animated.View style={t17}>{t19}{t20}</Animated.View>;
|
|
328
|
+
$[40] = t17;
|
|
329
|
+
$[41] = t19;
|
|
330
|
+
$[42] = t20;
|
|
331
|
+
$[43] = t21;
|
|
332
|
+
} else {
|
|
333
|
+
t21 = $[43];
|
|
334
|
+
}
|
|
335
|
+
let t22;
|
|
336
|
+
if ($[44] !== partIn || $[45] !== styles.hintFill || $[46] !== t21) {
|
|
337
|
+
t22 = <Animated.View entering={partIn} style={styles.hintFill} pointerEvents="none">{t21}</Animated.View>;
|
|
338
|
+
$[44] = partIn;
|
|
339
|
+
$[45] = styles.hintFill;
|
|
340
|
+
$[46] = t21;
|
|
341
|
+
$[47] = t22;
|
|
342
|
+
} else {
|
|
343
|
+
t22 = $[47];
|
|
344
|
+
}
|
|
345
|
+
let t23;
|
|
346
|
+
if ($[48] !== cancelStyle || $[49] !== isLocked || $[50] !== isShownLocked || $[51] !== labels.cancel || $[52] !== onCancel || $[53] !== styles.cancelText || $[54] !== styles.hintFill) {
|
|
347
|
+
t23 = isShownLocked && <Animated.View style={[styles.hintFill, cancelStyle]} pointerEvents={isLocked ? "auto" : "none"}><Pressable hitSlop={8} onPress={onCancel} accessibilityRole="button" accessibilityLabel="cancel recording"><Text style={styles.cancelText}>{labels.cancel.toLocaleUpperCase()}</Text></Pressable></Animated.View>;
|
|
348
|
+
$[48] = cancelStyle;
|
|
349
|
+
$[49] = isLocked;
|
|
350
|
+
$[50] = isShownLocked;
|
|
351
|
+
$[51] = labels.cancel;
|
|
352
|
+
$[52] = onCancel;
|
|
353
|
+
$[53] = styles.cancelText;
|
|
354
|
+
$[54] = styles.hintFill;
|
|
355
|
+
$[55] = t23;
|
|
356
|
+
} else {
|
|
357
|
+
t23 = $[55];
|
|
358
|
+
}
|
|
359
|
+
let t24;
|
|
360
|
+
if ($[56] !== onLabelLayout || $[57] !== styles.hintArea || $[58] !== t22 || $[59] !== t23) {
|
|
361
|
+
t24 = <View style={styles.hintArea} onLayout={onLabelLayout}>{t22}{t23}</View>;
|
|
362
|
+
$[56] = onLabelLayout;
|
|
363
|
+
$[57] = styles.hintArea;
|
|
364
|
+
$[58] = t22;
|
|
365
|
+
$[59] = t23;
|
|
366
|
+
$[60] = t24;
|
|
367
|
+
} else {
|
|
368
|
+
t24 = $[60];
|
|
369
|
+
}
|
|
370
|
+
let t25;
|
|
371
|
+
if ($[61] !== t11 || $[62] !== t15 || $[63] !== t24 || $[64] !== t9) {
|
|
372
|
+
t25 = <Animated.View style={t9} exiting={t10}>{t11}{t15}{t24}</Animated.View>;
|
|
373
|
+
$[61] = t11;
|
|
374
|
+
$[62] = t15;
|
|
375
|
+
$[63] = t24;
|
|
376
|
+
$[64] = t9;
|
|
377
|
+
$[65] = t25;
|
|
378
|
+
} else {
|
|
379
|
+
t25 = $[65];
|
|
380
|
+
}
|
|
381
|
+
return t25;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* The timer, one slot per character, so a changed digit rolls down out of
|
|
386
|
+
* its slot while the new one rolls in from above. The tenths are the
|
|
387
|
+
* exception: they only roll when a digit before them changes, and
|
|
388
|
+
* swaps the last one in place - rolled ten times a second, it never sat still
|
|
389
|
+
* long enough to read and the timer looked like it was shaking.
|
|
390
|
+
*/
|
|
391
|
+
function RecordingTime(t0) {
|
|
392
|
+
const $ = _c(5);
|
|
393
|
+
const {
|
|
394
|
+
elapsed,
|
|
395
|
+
style
|
|
396
|
+
} = t0;
|
|
397
|
+
const ms = useStore(elapsed, sameNumber, 0);
|
|
398
|
+
let t1;
|
|
399
|
+
if ($[0] !== ms) {
|
|
400
|
+
t1 = formatRecordingTime(ms);
|
|
401
|
+
$[0] = ms;
|
|
402
|
+
$[1] = t1;
|
|
403
|
+
} else {
|
|
404
|
+
t1 = $[1];
|
|
405
|
+
}
|
|
406
|
+
let t2;
|
|
407
|
+
if ($[2] !== style || $[3] !== t1) {
|
|
408
|
+
t2 = <RollingTimer text={t1} style={style} />;
|
|
409
|
+
$[2] = style;
|
|
410
|
+
$[3] = t1;
|
|
411
|
+
$[4] = t2;
|
|
412
|
+
} else {
|
|
413
|
+
t2 = $[4];
|
|
414
|
+
}
|
|
415
|
+
return t2;
|
|
416
|
+
}
|
|
417
|
+
function RollingTimer(t0) {
|
|
418
|
+
const $ = _c(15);
|
|
419
|
+
const {
|
|
420
|
+
text,
|
|
421
|
+
style
|
|
422
|
+
} = t0;
|
|
423
|
+
const styles = useThemedStyles(createStyles);
|
|
424
|
+
let T0;
|
|
425
|
+
let t1;
|
|
426
|
+
let t2;
|
|
427
|
+
let t3;
|
|
428
|
+
let t4;
|
|
429
|
+
if ($[0] !== style || $[1] !== styles.digitSlot || $[2] !== styles.timerRow || $[3] !== text) {
|
|
430
|
+
const chars = text.split("");
|
|
431
|
+
T0 = View;
|
|
432
|
+
t1 = styles.timerRow;
|
|
433
|
+
t2 = true;
|
|
434
|
+
t3 = text;
|
|
435
|
+
t4 = chars.map((char, index) => <View key={index} style={styles.digitSlot}>{index === chars.length - 1 ? <Text style={style}>{char}</Text> : <Animated.Text key={char} entering={DIGIT_IN} exiting={DIGIT_OUT} style={style}>{char}</Animated.Text>}</View>);
|
|
436
|
+
$[0] = style;
|
|
437
|
+
$[1] = styles.digitSlot;
|
|
438
|
+
$[2] = styles.timerRow;
|
|
439
|
+
$[3] = text;
|
|
440
|
+
$[4] = T0;
|
|
441
|
+
$[5] = t1;
|
|
442
|
+
$[6] = t2;
|
|
443
|
+
$[7] = t3;
|
|
444
|
+
$[8] = t4;
|
|
445
|
+
} else {
|
|
446
|
+
T0 = $[4];
|
|
447
|
+
t1 = $[5];
|
|
448
|
+
t2 = $[6];
|
|
449
|
+
t3 = $[7];
|
|
450
|
+
t4 = $[8];
|
|
451
|
+
}
|
|
452
|
+
let t5;
|
|
453
|
+
if ($[9] !== T0 || $[10] !== t1 || $[11] !== t2 || $[12] !== t3 || $[13] !== t4) {
|
|
454
|
+
t5 = <T0 style={t1} accessible={t2} accessibilityLabel={t3}>{t4}</T0>;
|
|
455
|
+
$[9] = T0;
|
|
456
|
+
$[10] = t1;
|
|
457
|
+
$[11] = t2;
|
|
458
|
+
$[12] = t3;
|
|
459
|
+
$[13] = t4;
|
|
460
|
+
$[14] = t5;
|
|
461
|
+
} else {
|
|
462
|
+
t5 = $[14];
|
|
463
|
+
}
|
|
464
|
+
return t5;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* The record dot: a 10pt red dot blinking 600ms out and 600ms in.
|
|
469
|
+
* On cancel it hops into a trash can: the can grows with its lid open, the dot falls in, the lid
|
|
470
|
+
* shuts and the can shrinks away.
|
|
471
|
+
*/
|
|
472
|
+
function RecordDot(t0) {
|
|
473
|
+
const $ = _c(38);
|
|
474
|
+
const {
|
|
475
|
+
isBlinking,
|
|
476
|
+
isCancelled
|
|
477
|
+
} = t0;
|
|
478
|
+
const styles = useThemedStyles(createStyles);
|
|
479
|
+
const blink = useSharedValue(1);
|
|
480
|
+
const trash = useSharedValue(0);
|
|
481
|
+
let t1;
|
|
482
|
+
let t2;
|
|
483
|
+
if ($[0] !== blink || $[1] !== isBlinking || $[2] !== isCancelled) {
|
|
484
|
+
t1 = () => {
|
|
485
|
+
if (!isBlinking || isCancelled) {
|
|
486
|
+
cancelAnimation(blink);
|
|
487
|
+
blink.value = withTiming(1, {
|
|
488
|
+
duration: 100
|
|
489
|
+
});
|
|
490
|
+
return;
|
|
491
|
+
}
|
|
492
|
+
blink.value = 1;
|
|
493
|
+
blink.value = withRepeat(withTiming(0, {
|
|
494
|
+
duration: BLINK_MS,
|
|
495
|
+
easing: Easing.linear,
|
|
496
|
+
reduceMotion: ReduceMotion.System
|
|
497
|
+
}), -1, true);
|
|
498
|
+
return () => cancelAnimation(blink);
|
|
499
|
+
};
|
|
500
|
+
t2 = [isBlinking, isCancelled, blink];
|
|
501
|
+
$[0] = blink;
|
|
502
|
+
$[1] = isBlinking;
|
|
503
|
+
$[2] = isCancelled;
|
|
504
|
+
$[3] = t1;
|
|
505
|
+
$[4] = t2;
|
|
506
|
+
} else {
|
|
507
|
+
t1 = $[3];
|
|
508
|
+
t2 = $[4];
|
|
509
|
+
}
|
|
510
|
+
useEffect(t1, t2);
|
|
511
|
+
let t3;
|
|
512
|
+
let t4;
|
|
513
|
+
if ($[5] !== isCancelled || $[6] !== trash) {
|
|
514
|
+
t3 = () => {
|
|
515
|
+
trash.value = isCancelled ? withTiming(1, {
|
|
516
|
+
duration: TRASH_MS,
|
|
517
|
+
easing: Easing.linear
|
|
518
|
+
}) : 0;
|
|
519
|
+
};
|
|
520
|
+
t4 = [isCancelled, trash];
|
|
521
|
+
$[5] = isCancelled;
|
|
522
|
+
$[6] = trash;
|
|
523
|
+
$[7] = t3;
|
|
524
|
+
$[8] = t4;
|
|
525
|
+
} else {
|
|
526
|
+
t3 = $[7];
|
|
527
|
+
t4 = $[8];
|
|
528
|
+
}
|
|
529
|
+
useEffect(t3, t4);
|
|
530
|
+
const dotStyle = useAnimatedStyle(() => {
|
|
531
|
+
const t = trash.value;
|
|
532
|
+
return {
|
|
533
|
+
opacity: blink.value,
|
|
534
|
+
transform: [{
|
|
535
|
+
translateY: interpolate(t, [0, 0.22, 0.5], [0, -16, 2], "clamp")
|
|
536
|
+
}, {
|
|
537
|
+
scale: interpolate(t, [0, 0.22, 0.45, 0.5], [1, 0.8, 0.6, 0], "clamp")
|
|
538
|
+
}]
|
|
539
|
+
};
|
|
540
|
+
});
|
|
541
|
+
const canStyle = useAnimatedStyle(() => {
|
|
542
|
+
const t_0 = trash.value;
|
|
543
|
+
const scale = interpolate(t_0, [0, 0.2, 0.72, 1], [0, 1, 1, 0], "clamp");
|
|
544
|
+
return {
|
|
545
|
+
opacity: scale > 0.01 ? 1 : 0,
|
|
546
|
+
transform: [{
|
|
547
|
+
scale
|
|
548
|
+
}]
|
|
549
|
+
};
|
|
550
|
+
});
|
|
551
|
+
const lidStyle = useAnimatedStyle(() => ({
|
|
552
|
+
transform: [{
|
|
553
|
+
translateX: -LID_WIDTH / 2
|
|
554
|
+
}, {
|
|
555
|
+
rotate: `${interpolate(trash.value, [0.04, 0.22, 0.5, 0.64], [0, -55, -55, 0], "clamp")}deg`
|
|
556
|
+
}, {
|
|
557
|
+
translateX: LID_WIDTH / 2
|
|
558
|
+
}]
|
|
559
|
+
}));
|
|
560
|
+
let t5;
|
|
561
|
+
if ($[9] !== canStyle || $[10] !== styles.can) {
|
|
562
|
+
t5 = [styles.can, canStyle];
|
|
563
|
+
$[9] = canStyle;
|
|
564
|
+
$[10] = styles.can;
|
|
565
|
+
$[11] = t5;
|
|
566
|
+
} else {
|
|
567
|
+
t5 = $[11];
|
|
568
|
+
}
|
|
569
|
+
let t6;
|
|
570
|
+
if ($[12] !== lidStyle || $[13] !== styles.lid) {
|
|
571
|
+
t6 = [styles.lid, lidStyle];
|
|
572
|
+
$[12] = lidStyle;
|
|
573
|
+
$[13] = styles.lid;
|
|
574
|
+
$[14] = t6;
|
|
575
|
+
} else {
|
|
576
|
+
t6 = $[14];
|
|
577
|
+
}
|
|
578
|
+
let t7;
|
|
579
|
+
if ($[15] !== styles.lidHandle) {
|
|
580
|
+
t7 = <View style={styles.lidHandle} />;
|
|
581
|
+
$[15] = styles.lidHandle;
|
|
582
|
+
$[16] = t7;
|
|
583
|
+
} else {
|
|
584
|
+
t7 = $[16];
|
|
585
|
+
}
|
|
586
|
+
let t8;
|
|
587
|
+
if ($[17] !== t6 || $[18] !== t7) {
|
|
588
|
+
t8 = <Animated.View style={t6}>{t7}</Animated.View>;
|
|
589
|
+
$[17] = t6;
|
|
590
|
+
$[18] = t7;
|
|
591
|
+
$[19] = t8;
|
|
592
|
+
} else {
|
|
593
|
+
t8 = $[19];
|
|
594
|
+
}
|
|
595
|
+
let t10;
|
|
596
|
+
let t9;
|
|
597
|
+
if ($[20] !== styles.canRib) {
|
|
598
|
+
t9 = <View style={styles.canRib} />;
|
|
599
|
+
t10 = <View style={styles.canRib} />;
|
|
600
|
+
$[20] = styles.canRib;
|
|
601
|
+
$[21] = t10;
|
|
602
|
+
$[22] = t9;
|
|
603
|
+
} else {
|
|
604
|
+
t10 = $[21];
|
|
605
|
+
t9 = $[22];
|
|
606
|
+
}
|
|
607
|
+
let t11;
|
|
608
|
+
if ($[23] !== styles.canBody || $[24] !== t10 || $[25] !== t9) {
|
|
609
|
+
t11 = <View style={styles.canBody}>{t9}{t10}</View>;
|
|
610
|
+
$[23] = styles.canBody;
|
|
611
|
+
$[24] = t10;
|
|
612
|
+
$[25] = t9;
|
|
613
|
+
$[26] = t11;
|
|
614
|
+
} else {
|
|
615
|
+
t11 = $[26];
|
|
616
|
+
}
|
|
617
|
+
let t12;
|
|
618
|
+
if ($[27] !== t11 || $[28] !== t5 || $[29] !== t8) {
|
|
619
|
+
t12 = <Animated.View style={t5} pointerEvents="none">{t8}{t11}</Animated.View>;
|
|
620
|
+
$[27] = t11;
|
|
621
|
+
$[28] = t5;
|
|
622
|
+
$[29] = t8;
|
|
623
|
+
$[30] = t12;
|
|
624
|
+
} else {
|
|
625
|
+
t12 = $[30];
|
|
626
|
+
}
|
|
627
|
+
let t13;
|
|
628
|
+
if ($[31] !== dotStyle || $[32] !== styles.dot) {
|
|
629
|
+
t13 = <Animated.View style={[styles.dot, dotStyle]} />;
|
|
630
|
+
$[31] = dotStyle;
|
|
631
|
+
$[32] = styles.dot;
|
|
632
|
+
$[33] = t13;
|
|
633
|
+
} else {
|
|
634
|
+
t13 = $[33];
|
|
635
|
+
}
|
|
636
|
+
let t14;
|
|
637
|
+
if ($[34] !== styles.dotSlot || $[35] !== t12 || $[36] !== t13) {
|
|
638
|
+
t14 = <View style={styles.dotSlot}>{t12}{t13}</View>;
|
|
639
|
+
$[34] = styles.dotSlot;
|
|
640
|
+
$[35] = t12;
|
|
641
|
+
$[36] = t13;
|
|
642
|
+
$[37] = t14;
|
|
643
|
+
} else {
|
|
644
|
+
t14 = $[37];
|
|
645
|
+
}
|
|
646
|
+
return t14;
|
|
647
|
+
}
|
|
648
|
+
const DOT_SIZE = 10;
|
|
649
|
+
const LID_WIDTH = 14;
|
|
650
|
+
const createStyles = theme => StyleSheet.create({
|
|
651
|
+
// Sized like the field so the row height does not jump.
|
|
652
|
+
bar: {
|
|
653
|
+
flex: 1,
|
|
654
|
+
flexDirection: 'row',
|
|
655
|
+
alignItems: 'center',
|
|
656
|
+
minHeight: theme.composer.minHeight,
|
|
657
|
+
paddingHorizontal: theme.composer.fieldPaddingH
|
|
658
|
+
},
|
|
659
|
+
rowReverse: {
|
|
660
|
+
flexDirection: 'row-reverse'
|
|
661
|
+
},
|
|
662
|
+
dotSlot: {
|
|
663
|
+
width: 16,
|
|
664
|
+
height: 24,
|
|
665
|
+
alignItems: 'center',
|
|
666
|
+
justifyContent: 'center'
|
|
667
|
+
},
|
|
668
|
+
dot: {
|
|
669
|
+
width: DOT_SIZE,
|
|
670
|
+
height: DOT_SIZE,
|
|
671
|
+
borderRadius: DOT_SIZE / 2,
|
|
672
|
+
backgroundColor: theme.colors.error
|
|
673
|
+
},
|
|
674
|
+
can: {
|
|
675
|
+
position: 'absolute',
|
|
676
|
+
bottom: 2,
|
|
677
|
+
alignItems: 'center'
|
|
678
|
+
},
|
|
679
|
+
lid: {
|
|
680
|
+
width: LID_WIDTH,
|
|
681
|
+
height: 2,
|
|
682
|
+
borderRadius: 1,
|
|
683
|
+
marginBottom: 1,
|
|
684
|
+
backgroundColor: theme.colors.placeholder,
|
|
685
|
+
alignItems: 'center'
|
|
686
|
+
},
|
|
687
|
+
lidHandle: {
|
|
688
|
+
position: 'absolute',
|
|
689
|
+
top: -2,
|
|
690
|
+
width: 5,
|
|
691
|
+
height: 2,
|
|
692
|
+
borderTopLeftRadius: 1,
|
|
693
|
+
borderTopRightRadius: 1,
|
|
694
|
+
backgroundColor: theme.colors.placeholder
|
|
695
|
+
},
|
|
696
|
+
canBody: {
|
|
697
|
+
width: 11,
|
|
698
|
+
height: 12,
|
|
699
|
+
borderWidth: 1.5,
|
|
700
|
+
borderTopWidth: 0,
|
|
701
|
+
borderBottomLeftRadius: 3,
|
|
702
|
+
borderBottomRightRadius: 3,
|
|
703
|
+
borderColor: theme.colors.placeholder,
|
|
704
|
+
flexDirection: 'row',
|
|
705
|
+
justifyContent: 'space-evenly',
|
|
706
|
+
paddingVertical: 2
|
|
707
|
+
},
|
|
708
|
+
canRib: {
|
|
709
|
+
width: 1,
|
|
710
|
+
backgroundColor: theme.colors.placeholder
|
|
711
|
+
},
|
|
712
|
+
timerLTR: {
|
|
713
|
+
marginLeft: 6
|
|
714
|
+
},
|
|
715
|
+
timerRTL: {
|
|
716
|
+
marginRight: 6
|
|
717
|
+
},
|
|
718
|
+
// `m:ss,t`: wide enough for the tenths so the bar does not jitter.
|
|
719
|
+
timerRow: {
|
|
720
|
+
flexDirection: 'row',
|
|
721
|
+
minWidth: 58
|
|
722
|
+
},
|
|
723
|
+
digitSlot: {
|
|
724
|
+
overflow: 'hidden'
|
|
725
|
+
},
|
|
726
|
+
timerText: {
|
|
727
|
+
fontSize: 15,
|
|
728
|
+
fontWeight: '600',
|
|
729
|
+
color: theme.colors.inputText,
|
|
730
|
+
fontVariant: ['tabular-nums']
|
|
731
|
+
},
|
|
732
|
+
hintArea: {
|
|
733
|
+
flex: 1,
|
|
734
|
+
alignSelf: 'stretch',
|
|
735
|
+
overflow: 'hidden'
|
|
736
|
+
},
|
|
737
|
+
hintFill: {
|
|
738
|
+
position: 'absolute',
|
|
739
|
+
top: 0,
|
|
740
|
+
left: 0,
|
|
741
|
+
right: 0,
|
|
742
|
+
bottom: 0,
|
|
743
|
+
alignItems: 'center',
|
|
744
|
+
justifyContent: 'center'
|
|
745
|
+
},
|
|
746
|
+
hint: {
|
|
747
|
+
flexDirection: 'row',
|
|
748
|
+
alignItems: 'center',
|
|
749
|
+
gap: 6
|
|
750
|
+
},
|
|
751
|
+
hintText: {
|
|
752
|
+
fontSize: 15,
|
|
753
|
+
color: theme.colors.placeholder
|
|
754
|
+
},
|
|
755
|
+
// Carries the chevron color through the StyleSheet so it stays themed.
|
|
756
|
+
hintColor: {
|
|
757
|
+
color: theme.colors.placeholder
|
|
758
|
+
},
|
|
759
|
+
cancelText: {
|
|
760
|
+
fontSize: 15,
|
|
761
|
+
fontWeight: '600',
|
|
762
|
+
letterSpacing: 0.5,
|
|
763
|
+
color: theme.colors.accent
|
|
764
|
+
}
|
|
765
|
+
});
|
|
766
|
+
//# sourceMappingURL=RecordingBar.js.map
|