@mustmove/bottom-sheet 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/components/bottomSheet/BottomSheet.js +1317 -0
- package/lib/commonjs/components/bottomSheet/BottomSheet.js.map +1 -0
- package/lib/commonjs/components/bottomSheet/BottomSheetBody.js +43 -0
- package/lib/commonjs/components/bottomSheet/BottomSheetBody.js.map +1 -0
- package/lib/commonjs/components/bottomSheet/BottomSheetContent.js +196 -0
- package/lib/commonjs/components/bottomSheet/BottomSheetContent.js.map +1 -0
- package/lib/commonjs/components/bottomSheet/constants.js +34 -0
- package/lib/commonjs/components/bottomSheet/constants.js.map +1 -0
- package/lib/commonjs/components/bottomSheet/index.js +14 -0
- package/lib/commonjs/components/bottomSheet/index.js.map +1 -0
- package/lib/commonjs/components/bottomSheet/styles.js +17 -0
- package/lib/commonjs/components/bottomSheet/styles.js.map +1 -0
- package/lib/commonjs/components/bottomSheetBackdrop/BottomSheetBackdrop.js +115 -0
- package/lib/commonjs/components/bottomSheetBackdrop/BottomSheetBackdrop.js.map +1 -0
- package/lib/commonjs/components/bottomSheetBackdrop/constants.js +16 -0
- package/lib/commonjs/components/bottomSheetBackdrop/constants.js.map +1 -0
- package/lib/commonjs/components/bottomSheetBackdrop/index.js +13 -0
- package/lib/commonjs/components/bottomSheetBackdrop/index.js.map +1 -0
- package/lib/commonjs/components/bottomSheetBackdrop/styles.js +14 -0
- package/lib/commonjs/components/bottomSheetBackdrop/styles.js.map +1 -0
- package/lib/commonjs/components/bottomSheetBackground/BottomSheetBackground.js +24 -0
- package/lib/commonjs/components/bottomSheetBackground/BottomSheetBackground.js.map +1 -0
- package/lib/commonjs/components/bottomSheetBackground/BottomSheetBackgroundContainer.js +33 -0
- package/lib/commonjs/components/bottomSheetBackground/BottomSheetBackgroundContainer.js.map +1 -0
- package/lib/commonjs/components/bottomSheetBackground/index.js +13 -0
- package/lib/commonjs/components/bottomSheetBackground/index.js.map +1 -0
- package/lib/commonjs/components/bottomSheetBackground/styles.js +15 -0
- package/lib/commonjs/components/bottomSheetBackground/styles.js.map +1 -0
- package/lib/commonjs/components/bottomSheetDraggableView/BottomSheetDraggableView.js +94 -0
- package/lib/commonjs/components/bottomSheetDraggableView/BottomSheetDraggableView.js.map +1 -0
- package/lib/commonjs/components/bottomSheetDraggableView/index.js +14 -0
- package/lib/commonjs/components/bottomSheetDraggableView/index.js.map +1 -0
- package/lib/commonjs/components/bottomSheetFooter/BottomSheetFooter.js +111 -0
- package/lib/commonjs/components/bottomSheetFooter/BottomSheetFooter.js.map +1 -0
- package/lib/commonjs/components/bottomSheetFooter/BottomSheetFooterContainer.js +54 -0
- package/lib/commonjs/components/bottomSheetFooter/BottomSheetFooterContainer.js.map +1 -0
- package/lib/commonjs/components/bottomSheetFooter/index.js +20 -0
- package/lib/commonjs/components/bottomSheetFooter/index.js.map +1 -0
- package/lib/commonjs/components/bottomSheetFooter/styles.js +18 -0
- package/lib/commonjs/components/bottomSheetFooter/styles.js.map +1 -0
- package/lib/commonjs/components/bottomSheetGestureHandlersProvider/BottomSheetGestureHandlersProvider.js +53 -0
- package/lib/commonjs/components/bottomSheetGestureHandlersProvider/BottomSheetGestureHandlersProvider.js.map +1 -0
- package/lib/commonjs/components/bottomSheetGestureHandlersProvider/index.js +14 -0
- package/lib/commonjs/components/bottomSheetGestureHandlersProvider/index.js.map +1 -0
- package/lib/commonjs/components/bottomSheetHandle/BottomSheetHandle.js +43 -0
- package/lib/commonjs/components/bottomSheetHandle/BottomSheetHandle.js.map +1 -0
- package/lib/commonjs/components/bottomSheetHandle/BottomSheetHandleContainer.js +153 -0
- package/lib/commonjs/components/bottomSheetHandle/BottomSheetHandleContainer.js.map +1 -0
- package/lib/commonjs/components/bottomSheetHandle/constants.js +11 -0
- package/lib/commonjs/components/bottomSheetHandle/constants.js.map +1 -0
- package/lib/commonjs/components/bottomSheetHandle/index.js +21 -0
- package/lib/commonjs/components/bottomSheetHandle/index.js.map +1 -0
- package/lib/commonjs/components/bottomSheetHandle/styles.js +27 -0
- package/lib/commonjs/components/bottomSheetHandle/styles.js.map +1 -0
- package/lib/commonjs/components/bottomSheetHostingContainer/BottomSheetHostingContainer.js +110 -0
- package/lib/commonjs/components/bottomSheetHostingContainer/BottomSheetHostingContainer.js.map +1 -0
- package/lib/commonjs/components/bottomSheetHostingContainer/index.js +13 -0
- package/lib/commonjs/components/bottomSheetHostingContainer/index.js.map +1 -0
- package/lib/commonjs/components/bottomSheetHostingContainer/styles.js +14 -0
- package/lib/commonjs/components/bottomSheetHostingContainer/styles.js.map +1 -0
- package/lib/commonjs/components/bottomSheetHostingContainer/styles.web.js +17 -0
- package/lib/commonjs/components/bottomSheetHostingContainer/styles.web.js.map +1 -0
- package/lib/commonjs/components/bottomSheetModal/BottomSheetModal.js +387 -0
- package/lib/commonjs/components/bottomSheetModal/BottomSheetModal.js.map +1 -0
- package/lib/commonjs/components/bottomSheetModal/constants.js +9 -0
- package/lib/commonjs/components/bottomSheetModal/constants.js.map +1 -0
- package/lib/commonjs/components/bottomSheetModal/index.js +14 -0
- package/lib/commonjs/components/bottomSheetModal/index.js.map +1 -0
- package/lib/commonjs/components/bottomSheetModalProvider/BottomSheetModalProvider.js +172 -0
- package/lib/commonjs/components/bottomSheetModalProvider/BottomSheetModalProvider.js.map +1 -0
- package/lib/commonjs/components/bottomSheetModalProvider/index.js +14 -0
- package/lib/commonjs/components/bottomSheetModalProvider/index.js.map +1 -0
- package/lib/commonjs/components/bottomSheetRefreshControl/BottomSheetRefreshControl.android.js +64 -0
- package/lib/commonjs/components/bottomSheetRefreshControl/BottomSheetRefreshControl.android.js.map +1 -0
- package/lib/commonjs/components/bottomSheetRefreshControl/BottomSheetRefreshControl.js +9 -0
- package/lib/commonjs/components/bottomSheetRefreshControl/BottomSheetRefreshControl.js.map +1 -0
- package/lib/commonjs/components/bottomSheetRefreshControl/index.js +10 -0
- package/lib/commonjs/components/bottomSheetRefreshControl/index.js.map +1 -0
- package/lib/commonjs/components/bottomSheetScrollable/BottomSheetDraggableScrollable.js +23 -0
- package/lib/commonjs/components/bottomSheetScrollable/BottomSheetDraggableScrollable.js.map +1 -0
- package/lib/commonjs/components/bottomSheetScrollable/BottomSheetFlashList.js +66 -0
- package/lib/commonjs/components/bottomSheetScrollable/BottomSheetFlashList.js.map +1 -0
- package/lib/commonjs/components/bottomSheetScrollable/BottomSheetFlashList.web.js +9 -0
- package/lib/commonjs/components/bottomSheetScrollable/BottomSheetFlashList.web.js.map +1 -0
- package/lib/commonjs/components/bottomSheetScrollable/BottomSheetFlatList.js +18 -0
- package/lib/commonjs/components/bottomSheetScrollable/BottomSheetFlatList.js.map +1 -0
- package/lib/commonjs/components/bottomSheetScrollable/BottomSheetScrollView.js +18 -0
- package/lib/commonjs/components/bottomSheetScrollable/BottomSheetScrollView.js.map +1 -0
- package/lib/commonjs/components/bottomSheetScrollable/BottomSheetSectionList.js +18 -0
- package/lib/commonjs/components/bottomSheetScrollable/BottomSheetSectionList.js.map +1 -0
- package/lib/commonjs/components/bottomSheetScrollable/BottomSheetVirtualizedList.js +18 -0
- package/lib/commonjs/components/bottomSheetScrollable/BottomSheetVirtualizedList.js.map +1 -0
- package/lib/commonjs/components/bottomSheetScrollable/ScrollableContainer.android.js +40 -0
- package/lib/commonjs/components/bottomSheetScrollable/ScrollableContainer.android.js.map +1 -0
- package/lib/commonjs/components/bottomSheetScrollable/ScrollableContainer.js +24 -0
- package/lib/commonjs/components/bottomSheetScrollable/ScrollableContainer.js.map +1 -0
- package/lib/commonjs/components/bottomSheetScrollable/ScrollableContainer.web.js +84 -0
- package/lib/commonjs/components/bottomSheetScrollable/ScrollableContainer.web.js.map +1 -0
- package/lib/commonjs/components/bottomSheetScrollable/createBottomSheetScrollableComponent.js +117 -0
- package/lib/commonjs/components/bottomSheetScrollable/createBottomSheetScrollableComponent.js.map +1 -0
- package/lib/commonjs/components/bottomSheetScrollable/index.js +49 -0
- package/lib/commonjs/components/bottomSheetScrollable/index.js.map +1 -0
- package/lib/commonjs/components/bottomSheetScrollable/styles.js +14 -0
- package/lib/commonjs/components/bottomSheetScrollable/styles.js.map +1 -0
- package/lib/commonjs/components/bottomSheetScrollable/useBottomSheetContentSizeSetter.js +39 -0
- package/lib/commonjs/components/bottomSheetScrollable/useBottomSheetContentSizeSetter.js.map +1 -0
- package/lib/commonjs/components/bottomSheetTextInput/BottomSheetTextInput.js +106 -0
- package/lib/commonjs/components/bottomSheetTextInput/BottomSheetTextInput.js.map +1 -0
- package/lib/commonjs/components/bottomSheetTextInput/index.js +14 -0
- package/lib/commonjs/components/bottomSheetTextInput/index.js.map +1 -0
- package/lib/commonjs/components/bottomSheetTextInput/types.js +6 -0
- package/lib/commonjs/components/bottomSheetTextInput/types.js.map +1 -0
- package/lib/commonjs/components/bottomSheetView/BottomSheetView.js +91 -0
- package/lib/commonjs/components/bottomSheetView/BottomSheetView.js.map +1 -0
- package/lib/commonjs/components/bottomSheetView/index.js +14 -0
- package/lib/commonjs/components/bottomSheetView/index.js.map +1 -0
- package/lib/commonjs/components/bottomSheetView/styles.js +16 -0
- package/lib/commonjs/components/bottomSheetView/styles.js.map +1 -0
- package/lib/commonjs/components/touchables/Touchables.ios.js +25 -0
- package/lib/commonjs/components/touchables/Touchables.ios.js.map +1 -0
- package/lib/commonjs/components/touchables/Touchables.js +25 -0
- package/lib/commonjs/components/touchables/Touchables.js.map +1 -0
- package/lib/commonjs/components/touchables/index.js +13 -0
- package/lib/commonjs/components/touchables/index.js.map +1 -0
- package/lib/commonjs/constants.js +138 -0
- package/lib/commonjs/constants.js.map +1 -0
- package/lib/commonjs/contexts/external.js +10 -0
- package/lib/commonjs/contexts/external.js.map +1 -0
- package/lib/commonjs/contexts/gesture.js +10 -0
- package/lib/commonjs/contexts/gesture.js.map +1 -0
- package/lib/commonjs/contexts/index.js +65 -0
- package/lib/commonjs/contexts/index.js.map +1 -0
- package/lib/commonjs/contexts/internal.js +10 -0
- package/lib/commonjs/contexts/internal.js.map +1 -0
- package/lib/commonjs/contexts/modal/external.js +10 -0
- package/lib/commonjs/contexts/modal/external.js.map +1 -0
- package/lib/commonjs/contexts/modal/internal.js +10 -0
- package/lib/commonjs/contexts/modal/internal.js.map +1 -0
- package/lib/commonjs/hooks/index.js +132 -0
- package/lib/commonjs/hooks/index.js.map +1 -0
- package/lib/commonjs/hooks/useAnimatedDetents.js +95 -0
- package/lib/commonjs/hooks/useAnimatedDetents.js.map +1 -0
- package/lib/commonjs/hooks/useAnimatedKeyboard.js +125 -0
- package/lib/commonjs/hooks/useAnimatedKeyboard.js.map +1 -0
- package/lib/commonjs/hooks/useAnimatedLayout.js +90 -0
- package/lib/commonjs/hooks/useAnimatedLayout.js.map +1 -0
- package/lib/commonjs/hooks/useBottomSheet.js +17 -0
- package/lib/commonjs/hooks/useBottomSheet.js.map +1 -0
- package/lib/commonjs/hooks/useBottomSheetContentContainerStyle.js +77 -0
- package/lib/commonjs/hooks/useBottomSheetContentContainerStyle.js.map +1 -0
- package/lib/commonjs/hooks/useBottomSheetGestureHandlers.js +17 -0
- package/lib/commonjs/hooks/useBottomSheetGestureHandlers.js.map +1 -0
- package/lib/commonjs/hooks/useBottomSheetInternal.js +16 -0
- package/lib/commonjs/hooks/useBottomSheetInternal.js.map +1 -0
- package/lib/commonjs/hooks/useBottomSheetModal.js +17 -0
- package/lib/commonjs/hooks/useBottomSheetModal.js.map +1 -0
- package/lib/commonjs/hooks/useBottomSheetModalInternal.js +16 -0
- package/lib/commonjs/hooks/useBottomSheetModalInternal.js.map +1 -0
- package/lib/commonjs/hooks/useBottomSheetScrollableCreator.js +58 -0
- package/lib/commonjs/hooks/useBottomSheetScrollableCreator.js.map +1 -0
- package/lib/commonjs/hooks/useBottomSheetSpringConfigs.js +15 -0
- package/lib/commonjs/hooks/useBottomSheetSpringConfigs.js.map +1 -0
- package/lib/commonjs/hooks/useBottomSheetTimingConfigs.js +32 -0
- package/lib/commonjs/hooks/useBottomSheetTimingConfigs.js.map +1 -0
- package/lib/commonjs/hooks/useBoundingClientRect.js +66 -0
- package/lib/commonjs/hooks/useBoundingClientRect.js.map +1 -0
- package/lib/commonjs/hooks/useGestureEventsHandlersDefault.js +299 -0
- package/lib/commonjs/hooks/useGestureEventsHandlersDefault.js.map +1 -0
- package/lib/commonjs/hooks/useGestureEventsHandlersDefault.web.js +295 -0
- package/lib/commonjs/hooks/useGestureEventsHandlersDefault.web.js.map +1 -0
- package/lib/commonjs/hooks/useGestureHandler.js +56 -0
- package/lib/commonjs/hooks/useGestureHandler.js.map +1 -0
- package/lib/commonjs/hooks/usePropsValidator.js +54 -0
- package/lib/commonjs/hooks/usePropsValidator.js.map +1 -0
- package/lib/commonjs/hooks/useReactiveSharedValue.js +48 -0
- package/lib/commonjs/hooks/useReactiveSharedValue.js.map +1 -0
- package/lib/commonjs/hooks/useScrollEventsHandlersDefault.js +132 -0
- package/lib/commonjs/hooks/useScrollEventsHandlersDefault.js.map +1 -0
- package/lib/commonjs/hooks/useScrollHandler.js +62 -0
- package/lib/commonjs/hooks/useScrollHandler.js.map +1 -0
- package/lib/commonjs/hooks/useScrollHandler.web.js +130 -0
- package/lib/commonjs/hooks/useScrollHandler.web.js.map +1 -0
- package/lib/commonjs/hooks/useScrollable.js +103 -0
- package/lib/commonjs/hooks/useScrollable.js.map +1 -0
- package/lib/commonjs/hooks/useScrollableSetter.js +47 -0
- package/lib/commonjs/hooks/useScrollableSetter.js.map +1 -0
- package/lib/commonjs/hooks/useStableCallback.js +25 -0
- package/lib/commonjs/hooks/useStableCallback.js.map +1 -0
- package/lib/commonjs/index.js +282 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/utilities/animate.js +41 -0
- package/lib/commonjs/utilities/animate.js.map +1 -0
- package/lib/commonjs/utilities/clamp.js +13 -0
- package/lib/commonjs/utilities/clamp.js.map +1 -0
- package/lib/commonjs/utilities/easingExp.js +19 -0
- package/lib/commonjs/utilities/easingExp.js.map +1 -0
- package/lib/commonjs/utilities/findNodeHandle.js +13 -0
- package/lib/commonjs/utilities/findNodeHandle.js.map +1 -0
- package/lib/commonjs/utilities/findNodeHandle.web.js +32 -0
- package/lib/commonjs/utilities/findNodeHandle.web.js.map +1 -0
- package/lib/commonjs/utilities/getKeyboardAnimationConfigs.js +44 -0
- package/lib/commonjs/utilities/getKeyboardAnimationConfigs.js.map +1 -0
- package/lib/commonjs/utilities/getRefNativeTag.web.js +11 -0
- package/lib/commonjs/utilities/getRefNativeTag.web.js.map +1 -0
- package/lib/commonjs/utilities/id.js +13 -0
- package/lib/commonjs/utilities/id.js.map +1 -0
- package/lib/commonjs/utilities/index.js +61 -0
- package/lib/commonjs/utilities/index.js.map +1 -0
- package/lib/commonjs/utilities/isFabricInstalled.js +16 -0
- package/lib/commonjs/utilities/isFabricInstalled.js.map +1 -0
- package/lib/commonjs/utilities/logger.js +44 -0
- package/lib/commonjs/utilities/logger.js.map +1 -0
- package/lib/commonjs/utilities/noop.js +13 -0
- package/lib/commonjs/utilities/noop.js.map +1 -0
- package/lib/commonjs/utilities/normalizeSnapPoint.js +22 -0
- package/lib/commonjs/utilities/normalizeSnapPoint.js.map +1 -0
- package/lib/commonjs/utilities/snapPoint.js +16 -0
- package/lib/commonjs/utilities/snapPoint.js.map +1 -0
- package/lib/commonjs/utilities/validateSnapPoint.js +15 -0
- package/lib/commonjs/utilities/validateSnapPoint.js.map +1 -0
- package/lib/module/components/bottomSheet/BottomSheet.js +1310 -0
- package/lib/module/components/bottomSheet/BottomSheet.js.map +1 -0
- package/lib/module/components/bottomSheet/BottomSheetBody.js +38 -0
- package/lib/module/components/bottomSheet/BottomSheetBody.js.map +1 -0
- package/lib/module/components/bottomSheet/BottomSheetContent.js +190 -0
- package/lib/module/components/bottomSheet/BottomSheetContent.js.map +1 -0
- package/lib/module/components/bottomSheet/constants.js +38 -0
- package/lib/module/components/bottomSheet/constants.js.map +1 -0
- package/lib/module/components/bottomSheet/index.js +4 -0
- package/lib/module/components/bottomSheet/index.js.map +1 -0
- package/lib/module/components/bottomSheet/styles.js +13 -0
- package/lib/module/components/bottomSheet/styles.js.map +1 -0
- package/lib/module/components/bottomSheetBackdrop/BottomSheetBackdrop.js +110 -0
- package/lib/module/components/bottomSheetBackdrop/BottomSheetBackdrop.js.map +1 -0
- package/lib/module/components/bottomSheetBackdrop/constants.js +13 -0
- package/lib/module/components/bottomSheetBackdrop/constants.js.map +1 -0
- package/lib/module/components/bottomSheetBackdrop/index.js +4 -0
- package/lib/module/components/bottomSheetBackdrop/index.js.map +1 -0
- package/lib/module/components/bottomSheetBackdrop/styles.js +10 -0
- package/lib/module/components/bottomSheetBackdrop/styles.js.map +1 -0
- package/lib/module/components/bottomSheetBackground/BottomSheetBackground.js +19 -0
- package/lib/module/components/bottomSheetBackground/BottomSheetBackground.js.map +1 -0
- package/lib/module/components/bottomSheetBackground/BottomSheetBackgroundContainer.js +28 -0
- package/lib/module/components/bottomSheetBackground/BottomSheetBackgroundContainer.js.map +1 -0
- package/lib/module/components/bottomSheetBackground/index.js +4 -0
- package/lib/module/components/bottomSheetBackground/index.js.map +1 -0
- package/lib/module/components/bottomSheetBackground/styles.js +11 -0
- package/lib/module/components/bottomSheetBackground/styles.js.map +1 -0
- package/lib/module/components/bottomSheetDraggableView/BottomSheetDraggableView.js +88 -0
- package/lib/module/components/bottomSheetDraggableView/BottomSheetDraggableView.js.map +1 -0
- package/lib/module/components/bottomSheetDraggableView/index.js +4 -0
- package/lib/module/components/bottomSheetDraggableView/index.js.map +1 -0
- package/lib/module/components/bottomSheetFooter/BottomSheetFooter.js +106 -0
- package/lib/module/components/bottomSheetFooter/BottomSheetFooter.js.map +1 -0
- package/lib/module/components/bottomSheetFooter/BottomSheetFooterContainer.js +49 -0
- package/lib/module/components/bottomSheetFooter/BottomSheetFooterContainer.js.map +1 -0
- package/lib/module/components/bottomSheetFooter/index.js +5 -0
- package/lib/module/components/bottomSheetFooter/index.js.map +1 -0
- package/lib/module/components/bottomSheetFooter/styles.js +14 -0
- package/lib/module/components/bottomSheetFooter/styles.js.map +1 -0
- package/lib/module/components/bottomSheetGestureHandlersProvider/BottomSheetGestureHandlersProvider.js +48 -0
- package/lib/module/components/bottomSheetGestureHandlersProvider/BottomSheetGestureHandlersProvider.js.map +1 -0
- package/lib/module/components/bottomSheetGestureHandlersProvider/index.js +4 -0
- package/lib/module/components/bottomSheetGestureHandlersProvider/index.js.map +1 -0
- package/lib/module/components/bottomSheetHandle/BottomSheetHandle.js +38 -0
- package/lib/module/components/bottomSheetHandle/BottomSheetHandle.js.map +1 -0
- package/lib/module/components/bottomSheetHandle/BottomSheetHandleContainer.js +147 -0
- package/lib/module/components/bottomSheetHandle/BottomSheetHandleContainer.js.map +1 -0
- package/lib/module/components/bottomSheetHandle/constants.js +8 -0
- package/lib/module/components/bottomSheetHandle/constants.js.map +1 -0
- package/lib/module/components/bottomSheetHandle/index.js +5 -0
- package/lib/module/components/bottomSheetHandle/index.js.map +1 -0
- package/lib/module/components/bottomSheetHandle/styles.js +23 -0
- package/lib/module/components/bottomSheetHandle/styles.js.map +1 -0
- package/lib/module/components/bottomSheetHostingContainer/BottomSheetHostingContainer.js +105 -0
- package/lib/module/components/bottomSheetHostingContainer/BottomSheetHostingContainer.js.map +1 -0
- package/lib/module/components/bottomSheetHostingContainer/index.js +4 -0
- package/lib/module/components/bottomSheetHostingContainer/index.js.map +1 -0
- package/lib/module/components/bottomSheetHostingContainer/styles.js +10 -0
- package/lib/module/components/bottomSheetHostingContainer/styles.js.map +1 -0
- package/lib/module/components/bottomSheetHostingContainer/styles.web.js +13 -0
- package/lib/module/components/bottomSheetHostingContainer/styles.web.js.map +1 -0
- package/lib/module/components/bottomSheetModal/BottomSheetModal.js +381 -0
- package/lib/module/components/bottomSheetModal/BottomSheetModal.js.map +1 -0
- package/lib/module/components/bottomSheetModal/constants.js +6 -0
- package/lib/module/components/bottomSheetModal/constants.js.map +1 -0
- package/lib/module/components/bottomSheetModal/index.js +4 -0
- package/lib/module/components/bottomSheetModal/index.js.map +1 -0
- package/lib/module/components/bottomSheetModalProvider/BottomSheetModalProvider.js +167 -0
- package/lib/module/components/bottomSheetModalProvider/BottomSheetModalProvider.js.map +1 -0
- package/lib/module/components/bottomSheetModalProvider/index.js +4 -0
- package/lib/module/components/bottomSheetModalProvider/index.js.map +1 -0
- package/lib/module/components/bottomSheetRefreshControl/BottomSheetRefreshControl.android.js +59 -0
- package/lib/module/components/bottomSheetRefreshControl/BottomSheetRefreshControl.android.js.map +1 -0
- package/lib/module/components/bottomSheetRefreshControl/BottomSheetRefreshControl.js +4 -0
- package/lib/module/components/bottomSheetRefreshControl/BottomSheetRefreshControl.js.map +1 -0
- package/lib/module/components/bottomSheetRefreshControl/index.js +5 -0
- package/lib/module/components/bottomSheetRefreshControl/index.js.map +1 -0
- package/lib/module/components/bottomSheetScrollable/BottomSheetDraggableScrollable.js +18 -0
- package/lib/module/components/bottomSheetScrollable/BottomSheetDraggableScrollable.js.map +1 -0
- package/lib/module/components/bottomSheetScrollable/BottomSheetFlashList.js +60 -0
- package/lib/module/components/bottomSheetScrollable/BottomSheetFlashList.js.map +1 -0
- package/lib/module/components/bottomSheetScrollable/BottomSheetFlashList.web.js +4 -0
- package/lib/module/components/bottomSheetScrollable/BottomSheetFlashList.web.js.map +1 -0
- package/lib/module/components/bottomSheetScrollable/BottomSheetFlatList.js +13 -0
- package/lib/module/components/bottomSheetScrollable/BottomSheetFlatList.js.map +1 -0
- package/lib/module/components/bottomSheetScrollable/BottomSheetScrollView.js +13 -0
- package/lib/module/components/bottomSheetScrollable/BottomSheetScrollView.js.map +1 -0
- package/lib/module/components/bottomSheetScrollable/BottomSheetSectionList.js +13 -0
- package/lib/module/components/bottomSheetScrollable/BottomSheetSectionList.js.map +1 -0
- package/lib/module/components/bottomSheetScrollable/BottomSheetVirtualizedList.js +13 -0
- package/lib/module/components/bottomSheetScrollable/BottomSheetVirtualizedList.js.map +1 -0
- package/lib/module/components/bottomSheetScrollable/ScrollableContainer.android.js +34 -0
- package/lib/module/components/bottomSheetScrollable/ScrollableContainer.android.js.map +1 -0
- package/lib/module/components/bottomSheetScrollable/ScrollableContainer.js +19 -0
- package/lib/module/components/bottomSheetScrollable/ScrollableContainer.js.map +1 -0
- package/lib/module/components/bottomSheetScrollable/ScrollableContainer.web.js +78 -0
- package/lib/module/components/bottomSheetScrollable/ScrollableContainer.web.js.map +1 -0
- package/lib/module/components/bottomSheetScrollable/createBottomSheetScrollableComponent.js +112 -0
- package/lib/module/components/bottomSheetScrollable/createBottomSheetScrollableComponent.js.map +1 -0
- package/lib/module/components/bottomSheetScrollable/index.js +9 -0
- package/lib/module/components/bottomSheetScrollable/index.js.map +1 -0
- package/lib/module/components/bottomSheetScrollable/styles.js +10 -0
- package/lib/module/components/bottomSheetScrollable/styles.js.map +1 -0
- package/lib/module/components/bottomSheetScrollable/useBottomSheetContentSizeSetter.js +36 -0
- package/lib/module/components/bottomSheetScrollable/useBottomSheetContentSizeSetter.js.map +1 -0
- package/lib/module/components/bottomSheetTextInput/BottomSheetTextInput.js +101 -0
- package/lib/module/components/bottomSheetTextInput/BottomSheetTextInput.js.map +1 -0
- package/lib/module/components/bottomSheetTextInput/index.js +4 -0
- package/lib/module/components/bottomSheetTextInput/index.js.map +1 -0
- package/lib/module/components/bottomSheetTextInput/types.js +4 -0
- package/lib/module/components/bottomSheetTextInput/types.js.map +1 -0
- package/lib/module/components/bottomSheetView/BottomSheetView.js +86 -0
- package/lib/module/components/bottomSheetView/BottomSheetView.js.map +1 -0
- package/lib/module/components/bottomSheetView/index.js +4 -0
- package/lib/module/components/bottomSheetView/index.js.map +1 -0
- package/lib/module/components/bottomSheetView/styles.js +12 -0
- package/lib/module/components/bottomSheetView/styles.js.map +1 -0
- package/lib/module/components/touchables/Touchables.ios.js +4 -0
- package/lib/module/components/touchables/Touchables.ios.js.map +1 -0
- package/lib/module/components/touchables/Touchables.js +4 -0
- package/lib/module/components/touchables/Touchables.js.map +1 -0
- package/lib/module/components/touchables/index.js +11 -0
- package/lib/module/components/touchables/index.js.map +1 -0
- package/lib/module/constants.js +131 -0
- package/lib/module/constants.js.map +1 -0
- package/lib/module/contexts/external.js +6 -0
- package/lib/module/contexts/external.js.map +1 -0
- package/lib/module/contexts/gesture.js +6 -0
- package/lib/module/contexts/gesture.js.map +1 -0
- package/lib/module/contexts/index.js +8 -0
- package/lib/module/contexts/index.js.map +1 -0
- package/lib/module/contexts/internal.js +6 -0
- package/lib/module/contexts/internal.js.map +1 -0
- package/lib/module/contexts/modal/external.js +6 -0
- package/lib/module/contexts/modal/external.js.map +1 -0
- package/lib/module/contexts/modal/internal.js +6 -0
- package/lib/module/contexts/modal/internal.js.map +1 -0
- package/lib/module/hooks/index.js +29 -0
- package/lib/module/hooks/index.js.map +1 -0
- package/lib/module/hooks/useAnimatedDetents.js +91 -0
- package/lib/module/hooks/useAnimatedDetents.js.map +1 -0
- package/lib/module/hooks/useAnimatedKeyboard.js +120 -0
- package/lib/module/hooks/useAnimatedKeyboard.js.map +1 -0
- package/lib/module/hooks/useAnimatedLayout.js +86 -0
- package/lib/module/hooks/useAnimatedLayout.js.map +1 -0
- package/lib/module/hooks/useBottomSheet.js +12 -0
- package/lib/module/hooks/useBottomSheet.js.map +1 -0
- package/lib/module/hooks/useBottomSheetContentContainerStyle.js +73 -0
- package/lib/module/hooks/useBottomSheetContentContainerStyle.js.map +1 -0
- package/lib/module/hooks/useBottomSheetGestureHandlers.js +12 -0
- package/lib/module/hooks/useBottomSheetGestureHandlers.js.map +1 -0
- package/lib/module/hooks/useBottomSheetInternal.js +12 -0
- package/lib/module/hooks/useBottomSheetInternal.js.map +1 -0
- package/lib/module/hooks/useBottomSheetModal.js +12 -0
- package/lib/module/hooks/useBottomSheetModal.js.map +1 -0
- package/lib/module/hooks/useBottomSheetModalInternal.js +12 -0
- package/lib/module/hooks/useBottomSheetModalInternal.js.map +1 -0
- package/lib/module/hooks/useBottomSheetScrollableCreator.js +54 -0
- package/lib/module/hooks/useBottomSheetScrollableCreator.js.map +1 -0
- package/lib/module/hooks/useBottomSheetSpringConfigs.js +10 -0
- package/lib/module/hooks/useBottomSheetSpringConfigs.js.map +1 -0
- package/lib/module/hooks/useBottomSheetTimingConfigs.js +28 -0
- package/lib/module/hooks/useBottomSheetTimingConfigs.js.map +1 -0
- package/lib/module/hooks/useBoundingClientRect.js +62 -0
- package/lib/module/hooks/useBoundingClientRect.js.map +1 -0
- package/lib/module/hooks/useGestureEventsHandlersDefault.js +294 -0
- package/lib/module/hooks/useGestureEventsHandlersDefault.js.map +1 -0
- package/lib/module/hooks/useGestureEventsHandlersDefault.web.js +290 -0
- package/lib/module/hooks/useGestureEventsHandlersDefault.web.js.map +1 -0
- package/lib/module/hooks/useGestureHandler.js +51 -0
- package/lib/module/hooks/useGestureHandler.js.map +1 -0
- package/lib/module/hooks/usePropsValidator.js +49 -0
- package/lib/module/hooks/usePropsValidator.js.map +1 -0
- package/lib/module/hooks/useReactiveSharedValue.js +43 -0
- package/lib/module/hooks/useReactiveSharedValue.js.map +1 -0
- package/lib/module/hooks/useScrollEventsHandlersDefault.js +127 -0
- package/lib/module/hooks/useScrollEventsHandlersDefault.js.map +1 -0
- package/lib/module/hooks/useScrollHandler.js +57 -0
- package/lib/module/hooks/useScrollHandler.js.map +1 -0
- package/lib/module/hooks/useScrollHandler.web.js +125 -0
- package/lib/module/hooks/useScrollHandler.web.js.map +1 -0
- package/lib/module/hooks/useScrollable.js +98 -0
- package/lib/module/hooks/useScrollable.js.map +1 -0
- package/lib/module/hooks/useScrollableSetter.js +42 -0
- package/lib/module/hooks/useScrollableSetter.js.map +1 -0
- package/lib/module/hooks/useStableCallback.js +21 -0
- package/lib/module/hooks/useStableCallback.js.map +1 -0
- package/lib/module/index.js +53 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/utilities/animate.js +36 -0
- package/lib/module/utilities/animate.js.map +1 -0
- package/lib/module/utilities/clamp.js +8 -0
- package/lib/module/utilities/clamp.js.map +1 -0
- package/lib/module/utilities/easingExp.js +14 -0
- package/lib/module/utilities/easingExp.js.map +1 -0
- package/lib/module/utilities/findNodeHandle.js +4 -0
- package/lib/module/utilities/findNodeHandle.js.map +1 -0
- package/lib/module/utilities/findNodeHandle.web.js +28 -0
- package/lib/module/utilities/findNodeHandle.web.js.map +1 -0
- package/lib/module/utilities/getKeyboardAnimationConfigs.js +39 -0
- package/lib/module/utilities/getKeyboardAnimationConfigs.js.map +1 -0
- package/lib/module/utilities/getRefNativeTag.web.js +7 -0
- package/lib/module/utilities/getRefNativeTag.web.js.map +1 -0
- package/lib/module/utilities/id.js +8 -0
- package/lib/module/utilities/id.js.map +1 -0
- package/lib/module/utilities/index.js +10 -0
- package/lib/module/utilities/index.js.map +1 -0
- package/lib/module/utilities/isFabricInstalled.js +12 -0
- package/lib/module/utilities/isFabricInstalled.js.map +1 -0
- package/lib/module/utilities/logger.js +39 -0
- package/lib/module/utilities/logger.js.map +1 -0
- package/lib/module/utilities/noop.js +8 -0
- package/lib/module/utilities/noop.js.map +1 -0
- package/lib/module/utilities/normalizeSnapPoint.js +17 -0
- package/lib/module/utilities/normalizeSnapPoint.js.map +1 -0
- package/lib/module/utilities/snapPoint.js +11 -0
- package/lib/module/utilities/snapPoint.js.map +1 -0
- package/lib/module/utilities/validateSnapPoint.js +9 -0
- package/lib/module/utilities/validateSnapPoint.js.map +1 -0
- package/lib/typescript/components/bottomSheet/BottomSheet.d.ts +7 -0
- package/lib/typescript/components/bottomSheet/BottomSheet.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheet/BottomSheetBody.d.ts +10 -0
- package/lib/typescript/components/bottomSheet/BottomSheetBody.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheet/BottomSheetContent.d.ts +12 -0
- package/lib/typescript/components/bottomSheet/BottomSheetContent.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheet/constants.d.ts +21 -0
- package/lib/typescript/components/bottomSheet/constants.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheet/index.d.ts +3 -0
- package/lib/typescript/components/bottomSheet/index.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheet/styles.d.ts +10 -0
- package/lib/typescript/components/bottomSheet/styles.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheet/types.d.ts +358 -0
- package/lib/typescript/components/bottomSheetBackdrop/BottomSheetBackdrop.d.ts +4 -0
- package/lib/typescript/components/bottomSheetBackdrop/BottomSheetBackdrop.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetBackdrop/constants.d.ts +11 -0
- package/lib/typescript/components/bottomSheetBackdrop/constants.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetBackdrop/index.d.ts +3 -0
- package/lib/typescript/components/bottomSheetBackdrop/index.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetBackdrop/styles.d.ts +11 -0
- package/lib/typescript/components/bottomSheetBackdrop/styles.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetBackdrop/types.d.ts +58 -0
- package/lib/typescript/components/bottomSheetBackground/BottomSheetBackground.d.ts +4 -0
- package/lib/typescript/components/bottomSheetBackground/BottomSheetBackground.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetBackground/BottomSheetBackgroundContainer.d.ts +4 -0
- package/lib/typescript/components/bottomSheetBackground/BottomSheetBackgroundContainer.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetBackground/index.d.ts +3 -0
- package/lib/typescript/components/bottomSheetBackground/index.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetBackground/styles.d.ts +9 -0
- package/lib/typescript/components/bottomSheetBackground/styles.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetBackground/types.d.ts +12 -0
- package/lib/typescript/components/bottomSheetDraggableView/BottomSheetDraggableView.d.ts +5 -0
- package/lib/typescript/components/bottomSheetDraggableView/BottomSheetDraggableView.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetDraggableView/index.d.ts +2 -0
- package/lib/typescript/components/bottomSheetDraggableView/index.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetDraggableView/types.d.ts +9 -0
- package/lib/typescript/components/bottomSheetFooter/BottomSheetFooter.d.ts +6 -0
- package/lib/typescript/components/bottomSheetFooter/BottomSheetFooter.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetFooter/BottomSheetFooterContainer.d.ts +4 -0
- package/lib/typescript/components/bottomSheetFooter/BottomSheetFooterContainer.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetFooter/index.d.ts +4 -0
- package/lib/typescript/components/bottomSheetFooter/index.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetFooter/styles.d.ts +11 -0
- package/lib/typescript/components/bottomSheetFooter/styles.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetFooter/types.d.ts +41 -0
- package/lib/typescript/components/bottomSheetGestureHandlersProvider/BottomSheetGestureHandlersProvider.d.ts +5 -0
- package/lib/typescript/components/bottomSheetGestureHandlersProvider/BottomSheetGestureHandlersProvider.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetGestureHandlersProvider/index.d.ts +2 -0
- package/lib/typescript/components/bottomSheetGestureHandlersProvider/index.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetGestureHandlersProvider/types.d.ts +8 -0
- package/lib/typescript/components/bottomSheetHandle/BottomSheetHandle.d.ts +6 -0
- package/lib/typescript/components/bottomSheetHandle/BottomSheetHandle.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetHandle/BottomSheetHandleContainer.d.ts +6 -0
- package/lib/typescript/components/bottomSheetHandle/BottomSheetHandleContainer.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetHandle/constants.d.ts +6 -0
- package/lib/typescript/components/bottomSheetHandle/constants.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetHandle/index.d.ts +4 -0
- package/lib/typescript/components/bottomSheetHandle/index.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetHandle/styles.d.ts +17 -0
- package/lib/typescript/components/bottomSheetHandle/styles.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetHandle/types.d.ts +52 -0
- package/lib/typescript/components/bottomSheetHostingContainer/BottomSheetHostingContainer.d.ts +6 -0
- package/lib/typescript/components/bottomSheetHostingContainer/BottomSheetHostingContainer.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetHostingContainer/index.d.ts +3 -0
- package/lib/typescript/components/bottomSheetHostingContainer/index.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetHostingContainer/styles.d.ts +11 -0
- package/lib/typescript/components/bottomSheetHostingContainer/styles.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetHostingContainer/styles.web.d.ts +10 -0
- package/lib/typescript/components/bottomSheetHostingContainer/styles.web.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetHostingContainer/types.d.ts +17 -0
- package/lib/typescript/components/bottomSheetModal/BottomSheetModal.d.ts +10 -0
- package/lib/typescript/components/bottomSheetModal/BottomSheetModal.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetModal/constants.d.ts +4 -0
- package/lib/typescript/components/bottomSheetModal/constants.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetModal/index.d.ts +3 -0
- package/lib/typescript/components/bottomSheetModal/index.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetModal/types.d.ts +67 -0
- package/lib/typescript/components/bottomSheetModalProvider/BottomSheetModalProvider.d.ts +5 -0
- package/lib/typescript/components/bottomSheetModalProvider/BottomSheetModalProvider.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetModalProvider/index.d.ts +2 -0
- package/lib/typescript/components/bottomSheetModalProvider/index.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetModalProvider/types.d.ts +12 -0
- package/lib/typescript/components/bottomSheetRefreshControl/BottomSheetRefreshControl.android.d.ts +10 -0
- package/lib/typescript/components/bottomSheetRefreshControl/BottomSheetRefreshControl.android.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetRefreshControl/BottomSheetRefreshControl.d.ts +3 -0
- package/lib/typescript/components/bottomSheetRefreshControl/BottomSheetRefreshControl.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetRefreshControl/index.d.ts +9 -0
- package/lib/typescript/components/bottomSheetRefreshControl/index.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetScrollable/BottomSheetDraggableScrollable.d.ts +9 -0
- package/lib/typescript/components/bottomSheetScrollable/BottomSheetDraggableScrollable.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetScrollable/BottomSheetFlashList.d.ts +11 -0
- package/lib/typescript/components/bottomSheetScrollable/BottomSheetFlashList.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetScrollable/BottomSheetFlashList.web.d.ts +3 -0
- package/lib/typescript/components/bottomSheetScrollable/BottomSheetFlashList.web.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetScrollable/BottomSheetFlatList.d.ts +5 -0
- package/lib/typescript/components/bottomSheetScrollable/BottomSheetFlatList.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetScrollable/BottomSheetScrollView.d.ts +5 -0
- package/lib/typescript/components/bottomSheetScrollable/BottomSheetScrollView.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetScrollable/BottomSheetSectionList.d.ts +6 -0
- package/lib/typescript/components/bottomSheetScrollable/BottomSheetSectionList.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetScrollable/BottomSheetVirtualizedList.d.ts +5 -0
- package/lib/typescript/components/bottomSheetScrollable/BottomSheetVirtualizedList.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetScrollable/ScrollableContainer.android.d.ts +13 -0
- package/lib/typescript/components/bottomSheetScrollable/ScrollableContainer.android.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetScrollable/ScrollableContainer.d.ts +9 -0
- package/lib/typescript/components/bottomSheetScrollable/ScrollableContainer.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetScrollable/ScrollableContainer.web.d.ts +14 -0
- package/lib/typescript/components/bottomSheetScrollable/ScrollableContainer.web.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetScrollable/createBottomSheetScrollableComponent.d.ts +4 -0
- package/lib/typescript/components/bottomSheetScrollable/createBottomSheetScrollableComponent.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetScrollable/index.d.ts +8 -0
- package/lib/typescript/components/bottomSheetScrollable/index.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetScrollable/styles.d.ts +7 -0
- package/lib/typescript/components/bottomSheetScrollable/styles.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetScrollable/types.d.ts +280 -0
- package/lib/typescript/components/bottomSheetScrollable/useBottomSheetContentSizeSetter.d.ts +8 -0
- package/lib/typescript/components/bottomSheetScrollable/useBottomSheetContentSizeSetter.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetTextInput/BottomSheetTextInput.d.ts +6 -0
- package/lib/typescript/components/bottomSheetTextInput/BottomSheetTextInput.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetTextInput/index.d.ts +3 -0
- package/lib/typescript/components/bottomSheetTextInput/index.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetTextInput/types.d.ts +4 -0
- package/lib/typescript/components/bottomSheetTextInput/types.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetView/BottomSheetView.d.ts +6 -0
- package/lib/typescript/components/bottomSheetView/BottomSheetView.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetView/index.d.ts +2 -0
- package/lib/typescript/components/bottomSheetView/index.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetView/styles.d.ts +9 -0
- package/lib/typescript/components/bottomSheetView/styles.d.ts.map +1 -0
- package/lib/typescript/components/bottomSheetView/types.d.ts +24 -0
- package/lib/typescript/components/touchables/Touchables.d.ts +2 -0
- package/lib/typescript/components/touchables/Touchables.d.ts.map +1 -0
- package/lib/typescript/components/touchables/Touchables.ios.d.ts +2 -0
- package/lib/typescript/components/touchables/Touchables.ios.d.ts.map +1 -0
- package/lib/typescript/components/touchables/index.d.ts +8 -0
- package/lib/typescript/components/touchables/index.d.ts.map +1 -0
- package/lib/typescript/constants.d.ts +96 -0
- package/lib/typescript/constants.d.ts.map +1 -0
- package/lib/typescript/contexts/external.d.ts +4 -0
- package/lib/typescript/contexts/external.d.ts.map +1 -0
- package/lib/typescript/contexts/gesture.d.ts +9 -0
- package/lib/typescript/contexts/gesture.d.ts.map +1 -0
- package/lib/typescript/contexts/index.d.ts +7 -0
- package/lib/typescript/contexts/index.d.ts.map +1 -0
- package/lib/typescript/contexts/internal.d.ts +29 -0
- package/lib/typescript/contexts/internal.d.ts.map +1 -0
- package/lib/typescript/contexts/modal/external.d.ts +7 -0
- package/lib/typescript/contexts/modal/external.d.ts.map +1 -0
- package/lib/typescript/contexts/modal/internal.d.ts +14 -0
- package/lib/typescript/contexts/modal/internal.d.ts.map +1 -0
- package/lib/typescript/hooks/index.d.ts +19 -0
- package/lib/typescript/hooks/index.d.ts.map +1 -0
- package/lib/typescript/hooks/useAnimatedDetents.d.ts +20 -0
- package/lib/typescript/hooks/useAnimatedDetents.d.ts.map +1 -0
- package/lib/typescript/hooks/useAnimatedKeyboard.d.ts +6 -0
- package/lib/typescript/hooks/useAnimatedKeyboard.d.ts.map +1 -0
- package/lib/typescript/hooks/useAnimatedLayout.d.ts +26 -0
- package/lib/typescript/hooks/useAnimatedLayout.d.ts.map +1 -0
- package/lib/typescript/hooks/useBottomSheet.d.ts +2 -0
- package/lib/typescript/hooks/useBottomSheet.d.ts.map +1 -0
- package/lib/typescript/hooks/useBottomSheetContentContainerStyle.d.ts +3 -0
- package/lib/typescript/hooks/useBottomSheetContentContainerStyle.d.ts.map +1 -0
- package/lib/typescript/hooks/useBottomSheetGestureHandlers.d.ts +2 -0
- package/lib/typescript/hooks/useBottomSheetGestureHandlers.d.ts.map +1 -0
- package/lib/typescript/hooks/useBottomSheetInternal.d.ts +4 -0
- package/lib/typescript/hooks/useBottomSheetInternal.d.ts.map +1 -0
- package/lib/typescript/hooks/useBottomSheetModal.d.ts +2 -0
- package/lib/typescript/hooks/useBottomSheetModal.d.ts.map +1 -0
- package/lib/typescript/hooks/useBottomSheetModalInternal.d.ts +4 -0
- package/lib/typescript/hooks/useBottomSheetModalInternal.d.ts.map +1 -0
- package/lib/typescript/hooks/useBottomSheetScrollableCreator.d.ts +29 -0
- package/lib/typescript/hooks/useBottomSheetScrollableCreator.d.ts.map +1 -0
- package/lib/typescript/hooks/useBottomSheetSpringConfigs.d.ts +7 -0
- package/lib/typescript/hooks/useBottomSheetSpringConfigs.d.ts.map +1 -0
- package/lib/typescript/hooks/useBottomSheetTimingConfigs.d.ts +21 -0
- package/lib/typescript/hooks/useBottomSheetTimingConfigs.d.ts.map +1 -0
- package/lib/typescript/hooks/useBoundingClientRect.d.ts +42 -0
- package/lib/typescript/hooks/useBoundingClientRect.d.ts.map +1 -0
- package/lib/typescript/hooks/useGestureEventsHandlersDefault.d.ts +3 -0
- package/lib/typescript/hooks/useGestureEventsHandlersDefault.d.ts.map +1 -0
- package/lib/typescript/hooks/useGestureEventsHandlersDefault.web.d.ts +8 -0
- package/lib/typescript/hooks/useGestureEventsHandlersDefault.web.d.ts.map +1 -0
- package/lib/typescript/hooks/useGestureHandler.d.ts +3 -0
- package/lib/typescript/hooks/useGestureHandler.d.ts.map +1 -0
- package/lib/typescript/hooks/usePropsValidator.d.ts +7 -0
- package/lib/typescript/hooks/usePropsValidator.d.ts.map +1 -0
- package/lib/typescript/hooks/useReactiveSharedValue.d.ts +4 -0
- package/lib/typescript/hooks/useReactiveSharedValue.d.ts.map +1 -0
- package/lib/typescript/hooks/useScrollEventsHandlersDefault.d.ts +7 -0
- package/lib/typescript/hooks/useScrollEventsHandlersDefault.d.ts.map +1 -0
- package/lib/typescript/hooks/useScrollHandler.d.ts +7 -0
- package/lib/typescript/hooks/useScrollHandler.d.ts.map +1 -0
- package/lib/typescript/hooks/useScrollHandler.web.d.ts +11 -0
- package/lib/typescript/hooks/useScrollHandler.web.d.ts.map +1 -0
- package/lib/typescript/hooks/useScrollable.d.ts +11 -0
- package/lib/typescript/hooks/useScrollable.d.ts.map +1 -0
- package/lib/typescript/hooks/useScrollableSetter.d.ts +6 -0
- package/lib/typescript/hooks/useScrollableSetter.d.ts.map +1 -0
- package/lib/typescript/hooks/useStableCallback.d.ts +7 -0
- package/lib/typescript/hooks/useStableCallback.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +35 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/types.d.ts +336 -0
- package/lib/typescript/utilities/animate.d.ts +11 -0
- package/lib/typescript/utilities/animate.d.ts.map +1 -0
- package/lib/typescript/utilities/clamp.d.ts +2 -0
- package/lib/typescript/utilities/clamp.d.ts.map +1 -0
- package/lib/typescript/utilities/easingExp.d.ts +8 -0
- package/lib/typescript/utilities/easingExp.d.ts.map +1 -0
- package/lib/typescript/utilities/findNodeHandle.d.ts +2 -0
- package/lib/typescript/utilities/findNodeHandle.d.ts.map +1 -0
- package/lib/typescript/utilities/findNodeHandle.web.d.ts +3 -0
- package/lib/typescript/utilities/findNodeHandle.web.d.ts.map +1 -0
- package/lib/typescript/utilities/getKeyboardAnimationConfigs.d.ts +21 -0
- package/lib/typescript/utilities/getKeyboardAnimationConfigs.d.ts.map +1 -0
- package/lib/typescript/utilities/getRefNativeTag.web.d.ts +3 -0
- package/lib/typescript/utilities/getRefNativeTag.web.d.ts.map +1 -0
- package/lib/typescript/utilities/id.d.ts +2 -0
- package/lib/typescript/utilities/id.d.ts.map +1 -0
- package/lib/typescript/utilities/index.d.ts +8 -0
- package/lib/typescript/utilities/index.d.ts.map +1 -0
- package/lib/typescript/utilities/isFabricInstalled.d.ts +7 -0
- package/lib/typescript/utilities/isFabricInstalled.d.ts.map +1 -0
- package/lib/typescript/utilities/logger.d.ts +11 -0
- package/lib/typescript/utilities/logger.d.ts.map +1 -0
- package/lib/typescript/utilities/noop.d.ts +4 -0
- package/lib/typescript/utilities/noop.d.ts.map +1 -0
- package/lib/typescript/utilities/normalizeSnapPoint.d.ts +5 -0
- package/lib/typescript/utilities/normalizeSnapPoint.d.ts.map +1 -0
- package/lib/typescript/utilities/snapPoint.d.ts +2 -0
- package/lib/typescript/utilities/snapPoint.d.ts.map +1 -0
- package/lib/typescript/utilities/validateSnapPoint.d.ts +2 -0
- package/lib/typescript/utilities/validateSnapPoint.d.ts.map +1 -0
- package/package.json +1 -5
- package/src/components/bottomSheet/BottomSheet.tsx +22 -5
- package/src/components/bottomSheet/BottomSheetContent.tsx +0 -1
package/lib/commonjs/components/bottomSheetScrollable/createBottomSheetScrollableComponent.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNativeGestureHandler","_reactNativeReanimated","_constants","_gesture","_hooks","_ScrollableContainer","_useBottomSheetContentSizeSetter","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","createBottomSheetScrollableComponent","type","ScrollableComponent","forwardRef","props","ref","focusHook","scrollEventsHandlersHook","enableFooterMarginAdjustment","overScrollMode","keyboardDismissMode","showsVerticalScrollIndicator","contentContainerStyle","_providedContentContainerStyle","refreshing","onRefresh","progressViewOffset","refreshControl","onScroll","onScrollBeginDrag","onScrollEndDrag","onContentSizeChange","rest","draggableGesture","useContext","BottomSheetDraggableContext","scrollableRef","scrollableContentOffsetY","scrollHandler","useScrollHandler","animatedScrollableStatus","animatedScrollableState","enableContentPanningGesture","useBottomSheetInternal","setContentSize","useBottomSheetContentSizeSetter","scrollableAnimatedProps","useAnimatedProps","decelerationRate","SCROLLABLE_DECELERATION_RATE_MAPPER","value","SCROLLABLE_STATUS","UNLOCKED","scrollableGesture","useMemo","Gesture","Native","simultaneousWithExternalGesture","shouldCancelWhenOutside","undefined","handleContentSizeChange","useStableCallback","contentWidth","contentHeight","useBottomSheetContentContainerStyle","useImperativeHandle","current","useScrollableSetter","jsx","ScrollableContainer","nativ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AEA,qBAAsB;MAC7CG,SAAS,EAAEA,SAAU;MACrBG,QAAQ,EAAEU,aAAc;MACxBP,mBAAmB,EAAE6B,uBAAwB;MAC7ChB,cAAc,EAAEA,cAAe;MAC/BhC,mBAAmB,EAAEA,mBAAoB;MACzCe,cAAc,EAAEA,cAAe;MAAA,GAC3BK;IAAI,CACT,CAAC;IAEJ;EACF,CAAC,CAAC;AACJ","ignoreList":[]}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "BottomSheetFlashList", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _BottomSheetFlashList.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "BottomSheetFlatList", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return _BottomSheetFlatList.default;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "BottomSheetScrollView", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _BottomSheetScrollView.default;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "BottomSheetSectionList", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () {
|
|
27
|
+
return _BottomSheetSectionList.default;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "BottomSheetVirtualizedList", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () {
|
|
33
|
+
return _BottomSheetVirtualizedList.default;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "createBottomSheetScrollableComponent", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () {
|
|
39
|
+
return _createBottomSheetScrollableComponent.createBottomSheetScrollableComponent;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
var _createBottomSheetScrollableComponent = require("./createBottomSheetScrollableComponent");
|
|
43
|
+
var _BottomSheetSectionList = _interopRequireDefault(require("./BottomSheetSectionList"));
|
|
44
|
+
var _BottomSheetFlatList = _interopRequireDefault(require("./BottomSheetFlatList"));
|
|
45
|
+
var _BottomSheetScrollView = _interopRequireDefault(require("./BottomSheetScrollView"));
|
|
46
|
+
var _BottomSheetVirtualizedList = _interopRequireDefault(require("./BottomSheetVirtualizedList"));
|
|
47
|
+
var _BottomSheetFlashList = _interopRequireDefault(require("./BottomSheetFlashList"));
|
|
48
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
49
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_createBottomSheetScrollableComponent","require","_BottomSheetSectionList","_interopRequireDefault","_BottomSheetFlatList","_BottomSheetScrollView","_BottomSheetVirtualizedList","_BottomSheetFlashList","e","__esModule","default"],"sourceRoot":"../../../../src","sources":["components/bottomSheetScrollable/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,qCAAA,GAAAC,OAAA;AACA,IAAAC,uBAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,oBAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,sBAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,2BAAA,GAAAH,sBAAA,CAAAF,OAAA;AAEA,IAAAM,qBAAA,GAAAJ,sBAAA,CAAAF,OAAA;AAAyE,SAAAE,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.styles = void 0;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
const styles = exports.styles = _reactNative.StyleSheet.create({
|
|
9
|
+
container: {
|
|
10
|
+
flex: 1,
|
|
11
|
+
overflow: 'visible'
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","styles","exports","StyleSheet","create","container","flex","overflow"],"sourceRoot":"../../../../src","sources":["components/bottomSheetScrollable/styles.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEO,MAAMC,MAAM,GAAAC,OAAA,CAAAD,MAAA,GAAGE,uBAAU,CAACC,MAAM,CAAC;EACtCC,SAAS,EAAE;IACTC,IAAI,EAAE,CAAC;IACPC,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useBottomSheetContentSizeSetter = useBottomSheetContentSizeSetter;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _hooks = require("../../hooks");
|
|
9
|
+
/**
|
|
10
|
+
* A hook to set the content size properly into the bottom sheet,
|
|
11
|
+
* internals.
|
|
12
|
+
*/
|
|
13
|
+
function useBottomSheetContentSizeSetter() {
|
|
14
|
+
//#region hooks
|
|
15
|
+
const {
|
|
16
|
+
enableDynamicSizing,
|
|
17
|
+
animatedLayoutState
|
|
18
|
+
} = (0, _hooks.useBottomSheetInternal)();
|
|
19
|
+
//#endregion
|
|
20
|
+
|
|
21
|
+
//#region methods
|
|
22
|
+
const setContentSize = (0, _react.useCallback)(contentHeight => {
|
|
23
|
+
if (!enableDynamicSizing) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
animatedLayoutState.modify(state => {
|
|
27
|
+
'worklet';
|
|
28
|
+
|
|
29
|
+
state.contentHeight = contentHeight;
|
|
30
|
+
return state;
|
|
31
|
+
});
|
|
32
|
+
}, [enableDynamicSizing, animatedLayoutState]);
|
|
33
|
+
//#endregion
|
|
34
|
+
|
|
35
|
+
return {
|
|
36
|
+
setContentSize
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=useBottomSheetContentSizeSetter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","_hooks","useBottomSheetContentSizeSetter","enableDynamicSizing","animatedLayoutState","useBottomSheetInternal","setContentSize","useCallback","contentHeight","modify","state"],"sourceRoot":"../../../../src","sources":["components/bottomSheetScrollable/useBottomSheetContentSizeSetter.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA;AACA;AACA;AACA;AACO,SAASE,+BAA+BA,CAAA,EAAG;EAChD;EACA,MAAM;IAAEC,mBAAmB;IAAEC;EAAoB,CAAC,GAAG,IAAAC,6BAAsB,EAAC,CAAC;EAC7E;;EAEA;EACA,MAAMC,cAAc,GAAG,IAAAC,kBAAW,EAC/BC,aAAqB,IAAK;IACzB,IAAI,CAACL,mBAAmB,EAAE;MACxB;IACF;IACAC,mBAAmB,CAACK,MAAM,CAACC,KAAK,IAAI;MAClC,SAAS;;MACTA,KAAK,CAACF,aAAa,GAAGA,aAAa;MACnC,OAAOE,KAAK;IACd,CAAC,CAAC;EACJ,CAAC,EACD,CAACP,mBAAmB,EAAEC,mBAAmB,CAC3C,CAAC;EACD;;EAEA,OAAO;IACLE;EACF,CAAC;AACH","ignoreList":[]}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _reactNativeGestureHandler = require("react-native-gesture-handler");
|
|
10
|
+
var _hooks = require("../../hooks");
|
|
11
|
+
var _utilities = require("../../utilities");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
14
|
+
const BottomSheetTextInputComponent = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
15
|
+
onFocus,
|
|
16
|
+
onBlur,
|
|
17
|
+
...rest
|
|
18
|
+
}, providedRef) => {
|
|
19
|
+
//#region refs
|
|
20
|
+
const ref = (0, _react.useRef)(null);
|
|
21
|
+
//#endregion
|
|
22
|
+
|
|
23
|
+
//#region hooks
|
|
24
|
+
const {
|
|
25
|
+
animatedKeyboardState,
|
|
26
|
+
textInputNodesRef
|
|
27
|
+
} = (0, _hooks.useBottomSheetInternal)();
|
|
28
|
+
//#endregion
|
|
29
|
+
|
|
30
|
+
//#region callbacks
|
|
31
|
+
const handleOnFocus = (0, _react.useCallback)(args => {
|
|
32
|
+
animatedKeyboardState.set(state => ({
|
|
33
|
+
...state,
|
|
34
|
+
target: args.nativeEvent.target
|
|
35
|
+
}));
|
|
36
|
+
if (onFocus) {
|
|
37
|
+
onFocus(args);
|
|
38
|
+
}
|
|
39
|
+
}, [onFocus, animatedKeyboardState]);
|
|
40
|
+
const handleOnBlur = (0, _react.useCallback)(args => {
|
|
41
|
+
const keyboardState = animatedKeyboardState.get();
|
|
42
|
+
const currentFocusedInput = (0, _utilities.findNodeHandle)(_reactNative.TextInput.State.currentlyFocusedInput());
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* we need to make sure that we only remove the target
|
|
46
|
+
* if the target belong to the current component and
|
|
47
|
+
* if the currently focused input is not in the targets set.
|
|
48
|
+
*/
|
|
49
|
+
const shouldRemoveCurrentTarget = keyboardState.target === args.nativeEvent.target;
|
|
50
|
+
const shouldIgnoreBlurEvent = currentFocusedInput && textInputNodesRef.current.has(currentFocusedInput);
|
|
51
|
+
if (shouldRemoveCurrentTarget && !shouldIgnoreBlurEvent) {
|
|
52
|
+
animatedKeyboardState.set(state => ({
|
|
53
|
+
...state,
|
|
54
|
+
target: undefined
|
|
55
|
+
}));
|
|
56
|
+
}
|
|
57
|
+
if (onBlur) {
|
|
58
|
+
onBlur(args);
|
|
59
|
+
}
|
|
60
|
+
}, [onBlur, animatedKeyboardState, textInputNodesRef]);
|
|
61
|
+
//#endregion
|
|
62
|
+
|
|
63
|
+
//#region effects
|
|
64
|
+
(0, _react.useEffect)(() => {
|
|
65
|
+
const componentNode = (0, _utilities.findNodeHandle)(ref.current);
|
|
66
|
+
if (!componentNode) {
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
if (!textInputNodesRef.current.has(componentNode)) {
|
|
70
|
+
textInputNodesRef.current.add(componentNode);
|
|
71
|
+
}
|
|
72
|
+
return () => {
|
|
73
|
+
const componentNode = (0, _utilities.findNodeHandle)(ref.current);
|
|
74
|
+
if (!componentNode) {
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
const keyboardState = animatedKeyboardState.get();
|
|
78
|
+
/**
|
|
79
|
+
* remove the keyboard state target if it belong
|
|
80
|
+
* to the current component.
|
|
81
|
+
*/
|
|
82
|
+
if (keyboardState.target === componentNode) {
|
|
83
|
+
animatedKeyboardState.set(state => ({
|
|
84
|
+
...state,
|
|
85
|
+
target: undefined
|
|
86
|
+
}));
|
|
87
|
+
}
|
|
88
|
+
if (textInputNodesRef.current.has(componentNode)) {
|
|
89
|
+
textInputNodesRef.current.delete(componentNode);
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
}, [textInputNodesRef, animatedKeyboardState]);
|
|
93
|
+
(0, _react.useImperativeHandle)(providedRef, () => ref.current ?? undefined, []);
|
|
94
|
+
//#endregion
|
|
95
|
+
|
|
96
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeGestureHandler.TextInput, {
|
|
97
|
+
ref: ref,
|
|
98
|
+
onFocus: handleOnFocus,
|
|
99
|
+
onBlur: handleOnBlur,
|
|
100
|
+
...rest
|
|
101
|
+
});
|
|
102
|
+
});
|
|
103
|
+
const BottomSheetTextInput = /*#__PURE__*/(0, _react.memo)(BottomSheetTextInputComponent);
|
|
104
|
+
BottomSheetTextInput.displayName = 'BottomSheetTextInput';
|
|
105
|
+
var _default = exports.default = BottomSheetTextInput;
|
|
106
|
+
//# sourceMappingURL=BottomSheetTextInput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeGestureHandler","_hooks","_utilities","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","BottomSheetTextInputComponent","forwardRef","onFocus","onBlur","rest","providedRef","ref","useRef","animatedKeyboardState","textInputNodesRef","useBottomSheetInternal","handleOnFocus","useCallback","args","state","target","nativeEvent","handleOnBlur","keyboardState","currentFocusedInput","findNodeHandle","RNTextInput","State","currentlyFocusedInput","shouldRemoveCurrentTarget","shouldIgnoreBlurEvent","current","undefined","useEffect","componentNode","add","delete","useImperativeHandle","jsx","TextInput","BottomSheetTextInput","memo","displayName","_default","exports"],"sourceRoot":"../../../../src","sources":["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,GACjBb;EAAI,CACT,CAAC;AAEN,CAAC,CAAC;AAEF,MAAM+B,oBAAoB,gBAAG,IAAAC,WAAI,EAACpC,6BAA6B,CAAC;AAChEmC,oBAAoB,CAACE,WAAW,GAAG,sBAAsB;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAhD,OAAA,GAE3C4C,oBAAoB","ignoreList":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "default", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _BottomSheetTextInput.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _BottomSheetTextInput = _interopRequireDefault(require("./BottomSheetTextInput"));
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_BottomSheetTextInput","_interopRequireDefault","require","e","__esModule","default"],"sourceRoot":"../../../../src","sources":["components/bottomSheetTextInput/index.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,qBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAiD,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/bottomSheetTextInput/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _constants = require("../../constants");
|
|
10
|
+
var _hooks = require("../../hooks");
|
|
11
|
+
var _utilities = require("../../utilities");
|
|
12
|
+
var _styles = require("./styles");
|
|
13
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
15
|
+
function BottomSheetViewComponent({
|
|
16
|
+
focusHook: useFocusHook = _react.useEffect,
|
|
17
|
+
enableFooterMarginAdjustment = false,
|
|
18
|
+
onLayout,
|
|
19
|
+
style: _providedStyle,
|
|
20
|
+
children,
|
|
21
|
+
...rest
|
|
22
|
+
}) {
|
|
23
|
+
//#region hooks
|
|
24
|
+
const {
|
|
25
|
+
animatedScrollableState,
|
|
26
|
+
enableDynamicSizing,
|
|
27
|
+
animatedLayoutState
|
|
28
|
+
} = (0, _hooks.useBottomSheetInternal)();
|
|
29
|
+
//#endregion
|
|
30
|
+
|
|
31
|
+
//#region styles
|
|
32
|
+
const containerStyle = (0, _hooks.useBottomSheetContentContainerStyle)(enableFooterMarginAdjustment, _providedStyle);
|
|
33
|
+
const style = (0, _react.useMemo)(() => [containerStyle, _styles.styles.container], [containerStyle]);
|
|
34
|
+
//#endregion
|
|
35
|
+
|
|
36
|
+
//#region callbacks
|
|
37
|
+
const handleSettingScrollable = (0, _react.useCallback)(() => {
|
|
38
|
+
animatedScrollableState.set(state => ({
|
|
39
|
+
...state,
|
|
40
|
+
contentOffsetY: 0,
|
|
41
|
+
type: _constants.SCROLLABLE_TYPE.VIEW
|
|
42
|
+
}));
|
|
43
|
+
}, [animatedScrollableState]);
|
|
44
|
+
const handleLayout = (0, _react.useCallback)(event => {
|
|
45
|
+
if (enableDynamicSizing) {
|
|
46
|
+
const {
|
|
47
|
+
nativeEvent: {
|
|
48
|
+
layout: {
|
|
49
|
+
height
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
} = event;
|
|
53
|
+
animatedLayoutState.modify(state => {
|
|
54
|
+
'worklet';
|
|
55
|
+
|
|
56
|
+
state.contentHeight = height;
|
|
57
|
+
return state;
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
if (onLayout) {
|
|
61
|
+
onLayout(event);
|
|
62
|
+
}
|
|
63
|
+
if (__DEV__) {
|
|
64
|
+
(0, _utilities.print)({
|
|
65
|
+
component: 'BottomSheetView',
|
|
66
|
+
method: 'handleLayout',
|
|
67
|
+
category: 'layout',
|
|
68
|
+
params: {
|
|
69
|
+
height: event.nativeEvent.layout.height
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
}, [onLayout, animatedLayoutState, enableDynamicSizing]);
|
|
74
|
+
//#endregion
|
|
75
|
+
|
|
76
|
+
//#region effects
|
|
77
|
+
useFocusHook(handleSettingScrollable);
|
|
78
|
+
//#endregion
|
|
79
|
+
|
|
80
|
+
//render
|
|
81
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
82
|
+
...rest,
|
|
83
|
+
onLayout: handleLayout,
|
|
84
|
+
style: style,
|
|
85
|
+
children: children
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
const BottomSheetView = /*#__PURE__*/(0, _react.memo)(BottomSheetViewComponent);
|
|
89
|
+
BottomSheetView.displayName = 'BottomSheetView';
|
|
90
|
+
var _default = exports.default = BottomSheetView;
|
|
91
|
+
//# sourceMappingURL=BottomSheetView.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_constants","_hooks","_utilities","_styles","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","BottomSheetViewComponent","focusHook","useFocusHook","useEffect","enableFooterMarginAdjustment","onLayout","style","_providedStyle","children","rest","animatedScrollableState","enableDynamicSizing","animatedLayoutState","useBottomSheetInternal","containerStyle","useBottomSheetContentContainerStyle","useMemo","styles","container","handleSettingScrollable","useCallback","state","contentOffsetY","type","SCROLLABLE_TYPE","VIEW","handleLayout","event","nativeEvent","layout","height","modify","contentHeight","__DEV__","print","component","method","category","params","jsx","View","BottomSheetView","memo","displayName","_default","exports"],"sourceRoot":"../../../../src","sources":["components/bottomSheetView/BottomSheetView.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AAIA,IAAAI,UAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AAAkC,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAD,wBAAAQ,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAV,uBAAA,YAAAA,CAAAQ,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAA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+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "default", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _BottomSheetView.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _BottomSheetView = _interopRequireDefault(require("./BottomSheetView"));
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_BottomSheetView","_interopRequireDefault","require","e","__esModule","default"],"sourceRoot":"../../../../src","sources":["components/bottomSheetView/index.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,gBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA4C,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.styles = void 0;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
const styles = exports.styles = _reactNative.StyleSheet.create({
|
|
9
|
+
container: {
|
|
10
|
+
position: 'absolute',
|
|
11
|
+
left: 0,
|
|
12
|
+
top: 0,
|
|
13
|
+
right: 0
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","styles","exports","StyleSheet","create","container","position","left","top","right"],"sourceRoot":"../../../../src","sources":["components/bottomSheetView/styles.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEO,MAAMC,MAAM,GAAAC,OAAA,CAAAD,MAAA,GAAGE,uBAAU,CAACC,MAAM,CAAC;EACtCC,SAAS,EAAE;IACTC,QAAQ,EAAE,UAAU;IACpBC,IAAI,EAAE,CAAC;IACPC,GAAG,EAAE,CAAC;IACNC,KAAK,EAAE;EACT;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "TouchableHighlight", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _reactNative.TouchableHighlight;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "TouchableOpacity", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return _reactNative.TouchableOpacity;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "TouchableWithoutFeedback", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _reactNative.TouchableWithoutFeedback;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
var _reactNative = require("react-native");
|
|
25
|
+
//# sourceMappingURL=Touchables.ios.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require"],"sourceRoot":"../../../../src","sources":["components/touchables/Touchables.ios.tsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA","ignoreList":[]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "TouchableHighlight", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _reactNativeGestureHandler.TouchableHighlight;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "TouchableOpacity", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return _reactNativeGestureHandler.TouchableOpacity;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "TouchableWithoutFeedback", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _reactNativeGestureHandler.TouchableWithoutFeedback;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
var _reactNativeGestureHandler = require("react-native-gesture-handler");
|
|
25
|
+
//# sourceMappingURL=Touchables.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNativeGestureHandler","require"],"sourceRoot":"../../../../src","sources":["components/touchables/Touchables.tsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,0BAAA,GAAAC,OAAA","ignoreList":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _Touchables = require("./Touchables");
|
|
8
|
+
var _default = exports.default = {
|
|
9
|
+
TouchableOpacity: _Touchables.TouchableOpacity,
|
|
10
|
+
TouchableHighlight: _Touchables.TouchableHighlight,
|
|
11
|
+
TouchableWithoutFeedback: _Touchables.TouchableWithoutFeedback
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_Touchables","require","_default","exports","default","TouchableOpacity","TouchableHighlight","TouchableWithoutFeedback"],"sourceRoot":"../../../../src","sources":["components/touchables/index.ts"],"mappings":";;;;;;AAMA,IAAAA,WAAA,GAAAC,OAAA;AAKsB,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEP;EACbC,gBAAgB,EAAEA,4BAAsD;EACxEC,kBAAkB,EAChBA,8BAA0D;EAC5DC,wBAAwB,EACtBA;AACJ,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.WINDOW_WIDTH = exports.WINDOW_HEIGHT = exports.SNAP_POINT_TYPE = exports.SHEET_STATE = exports.SCROLLABLE_TYPE = exports.SCROLLABLE_STATUS = exports.SCROLLABLE_DECELERATION_RATE_MAPPER = exports.SCREEN_WIDTH = exports.SCREEN_HEIGHT = exports.MODAL_STACK_BEHAVIOR = exports.KEYBOARD_STATUS = exports.KEYBOARD_INPUT_MODE = exports.KEYBOARD_DISMISS_THRESHOLD = exports.KEYBOARD_BLUR_BEHAVIOR = exports.KEYBOARD_BEHAVIOR = exports.INITIAL_LAYOUT_VALUE = exports.INITIAL_CONTAINER_LAYOUT = exports.GESTURE_SOURCE = exports.ANIMATION_STATUS = exports.ANIMATION_SOURCE = exports.ANIMATION_METHOD = exports.ANIMATION_EASING = exports.ANIMATION_DURATION = exports.ANIMATION_CONFIGS = void 0;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
var _reactNativeReanimated = require("react-native-reanimated");
|
|
9
|
+
const {
|
|
10
|
+
height: WINDOW_HEIGHT,
|
|
11
|
+
width: WINDOW_WIDTH
|
|
12
|
+
} = _reactNative.Dimensions.get('window');
|
|
13
|
+
exports.WINDOW_WIDTH = WINDOW_WIDTH;
|
|
14
|
+
exports.WINDOW_HEIGHT = WINDOW_HEIGHT;
|
|
15
|
+
const {
|
|
16
|
+
height: SCREEN_HEIGHT,
|
|
17
|
+
width: SCREEN_WIDTH
|
|
18
|
+
} = _reactNative.Dimensions.get('screen');
|
|
19
|
+
exports.SCREEN_WIDTH = SCREEN_WIDTH;
|
|
20
|
+
exports.SCREEN_HEIGHT = SCREEN_HEIGHT;
|
|
21
|
+
var GESTURE_SOURCE = exports.GESTURE_SOURCE = /*#__PURE__*/function (GESTURE_SOURCE) {
|
|
22
|
+
GESTURE_SOURCE[GESTURE_SOURCE["UNDETERMINED"] = 0] = "UNDETERMINED";
|
|
23
|
+
GESTURE_SOURCE[GESTURE_SOURCE["SCROLLABLE"] = 1] = "SCROLLABLE";
|
|
24
|
+
GESTURE_SOURCE[GESTURE_SOURCE["HANDLE"] = 2] = "HANDLE";
|
|
25
|
+
GESTURE_SOURCE[GESTURE_SOURCE["CONTENT"] = 3] = "CONTENT";
|
|
26
|
+
return GESTURE_SOURCE;
|
|
27
|
+
}(GESTURE_SOURCE || {});
|
|
28
|
+
var SHEET_STATE = exports.SHEET_STATE = /*#__PURE__*/function (SHEET_STATE) {
|
|
29
|
+
SHEET_STATE[SHEET_STATE["CLOSED"] = 0] = "CLOSED";
|
|
30
|
+
SHEET_STATE[SHEET_STATE["OPENED"] = 1] = "OPENED";
|
|
31
|
+
SHEET_STATE[SHEET_STATE["EXTENDED"] = 2] = "EXTENDED";
|
|
32
|
+
SHEET_STATE[SHEET_STATE["OVER_EXTENDED"] = 3] = "OVER_EXTENDED";
|
|
33
|
+
SHEET_STATE[SHEET_STATE["FILL_PARENT"] = 4] = "FILL_PARENT";
|
|
34
|
+
return SHEET_STATE;
|
|
35
|
+
}(SHEET_STATE || {});
|
|
36
|
+
var SCROLLABLE_STATUS = exports.SCROLLABLE_STATUS = /*#__PURE__*/function (SCROLLABLE_STATUS) {
|
|
37
|
+
SCROLLABLE_STATUS[SCROLLABLE_STATUS["LOCKED"] = 0] = "LOCKED";
|
|
38
|
+
SCROLLABLE_STATUS[SCROLLABLE_STATUS["UNLOCKED"] = 1] = "UNLOCKED";
|
|
39
|
+
SCROLLABLE_STATUS[SCROLLABLE_STATUS["UNDETERMINED"] = 2] = "UNDETERMINED";
|
|
40
|
+
return SCROLLABLE_STATUS;
|
|
41
|
+
}(SCROLLABLE_STATUS || {});
|
|
42
|
+
var SCROLLABLE_TYPE = exports.SCROLLABLE_TYPE = /*#__PURE__*/function (SCROLLABLE_TYPE) {
|
|
43
|
+
SCROLLABLE_TYPE[SCROLLABLE_TYPE["UNDETERMINED"] = 0] = "UNDETERMINED";
|
|
44
|
+
SCROLLABLE_TYPE[SCROLLABLE_TYPE["VIEW"] = 1] = "VIEW";
|
|
45
|
+
SCROLLABLE_TYPE[SCROLLABLE_TYPE["FLATLIST"] = 2] = "FLATLIST";
|
|
46
|
+
SCROLLABLE_TYPE[SCROLLABLE_TYPE["SCROLLVIEW"] = 3] = "SCROLLVIEW";
|
|
47
|
+
SCROLLABLE_TYPE[SCROLLABLE_TYPE["SECTIONLIST"] = 4] = "SECTIONLIST";
|
|
48
|
+
SCROLLABLE_TYPE[SCROLLABLE_TYPE["VIRTUALIZEDLIST"] = 5] = "VIRTUALIZEDLIST";
|
|
49
|
+
return SCROLLABLE_TYPE;
|
|
50
|
+
}(SCROLLABLE_TYPE || {});
|
|
51
|
+
var ANIMATION_STATUS = exports.ANIMATION_STATUS = /*#__PURE__*/function (ANIMATION_STATUS) {
|
|
52
|
+
ANIMATION_STATUS[ANIMATION_STATUS["UNDETERMINED"] = 0] = "UNDETERMINED";
|
|
53
|
+
ANIMATION_STATUS[ANIMATION_STATUS["RUNNING"] = 1] = "RUNNING";
|
|
54
|
+
ANIMATION_STATUS[ANIMATION_STATUS["STOPPED"] = 2] = "STOPPED";
|
|
55
|
+
ANIMATION_STATUS[ANIMATION_STATUS["INTERRUPTED"] = 3] = "INTERRUPTED";
|
|
56
|
+
return ANIMATION_STATUS;
|
|
57
|
+
}(ANIMATION_STATUS || {});
|
|
58
|
+
var ANIMATION_SOURCE = exports.ANIMATION_SOURCE = /*#__PURE__*/function (ANIMATION_SOURCE) {
|
|
59
|
+
ANIMATION_SOURCE[ANIMATION_SOURCE["NONE"] = 0] = "NONE";
|
|
60
|
+
ANIMATION_SOURCE[ANIMATION_SOURCE["MOUNT"] = 1] = "MOUNT";
|
|
61
|
+
ANIMATION_SOURCE[ANIMATION_SOURCE["GESTURE"] = 2] = "GESTURE";
|
|
62
|
+
ANIMATION_SOURCE[ANIMATION_SOURCE["USER"] = 3] = "USER";
|
|
63
|
+
ANIMATION_SOURCE[ANIMATION_SOURCE["CONTAINER_RESIZE"] = 4] = "CONTAINER_RESIZE";
|
|
64
|
+
ANIMATION_SOURCE[ANIMATION_SOURCE["SNAP_POINT_CHANGE"] = 5] = "SNAP_POINT_CHANGE";
|
|
65
|
+
ANIMATION_SOURCE[ANIMATION_SOURCE["KEYBOARD"] = 6] = "KEYBOARD";
|
|
66
|
+
return ANIMATION_SOURCE;
|
|
67
|
+
}(ANIMATION_SOURCE || {});
|
|
68
|
+
var ANIMATION_METHOD = exports.ANIMATION_METHOD = /*#__PURE__*/function (ANIMATION_METHOD) {
|
|
69
|
+
ANIMATION_METHOD[ANIMATION_METHOD["TIMING"] = 0] = "TIMING";
|
|
70
|
+
ANIMATION_METHOD[ANIMATION_METHOD["SPRING"] = 1] = "SPRING";
|
|
71
|
+
return ANIMATION_METHOD;
|
|
72
|
+
}(ANIMATION_METHOD || {});
|
|
73
|
+
var KEYBOARD_STATUS = exports.KEYBOARD_STATUS = /*#__PURE__*/function (KEYBOARD_STATUS) {
|
|
74
|
+
KEYBOARD_STATUS[KEYBOARD_STATUS["UNDETERMINED"] = 0] = "UNDETERMINED";
|
|
75
|
+
KEYBOARD_STATUS[KEYBOARD_STATUS["SHOWN"] = 1] = "SHOWN";
|
|
76
|
+
KEYBOARD_STATUS[KEYBOARD_STATUS["HIDDEN"] = 2] = "HIDDEN";
|
|
77
|
+
return KEYBOARD_STATUS;
|
|
78
|
+
}(KEYBOARD_STATUS || {});
|
|
79
|
+
var SNAP_POINT_TYPE = exports.SNAP_POINT_TYPE = /*#__PURE__*/function (SNAP_POINT_TYPE) {
|
|
80
|
+
SNAP_POINT_TYPE[SNAP_POINT_TYPE["PROVIDED"] = 0] = "PROVIDED";
|
|
81
|
+
SNAP_POINT_TYPE[SNAP_POINT_TYPE["DYNAMIC"] = 1] = "DYNAMIC";
|
|
82
|
+
return SNAP_POINT_TYPE;
|
|
83
|
+
}(SNAP_POINT_TYPE || {});
|
|
84
|
+
const ANIMATION_EASING = exports.ANIMATION_EASING = _reactNativeReanimated.Easing.out(_reactNativeReanimated.Easing.exp);
|
|
85
|
+
const ANIMATION_DURATION = exports.ANIMATION_DURATION = 250;
|
|
86
|
+
const ANIMATION_CONFIGS = exports.ANIMATION_CONFIGS = _reactNative.Platform.select({
|
|
87
|
+
android: {
|
|
88
|
+
duration: ANIMATION_DURATION,
|
|
89
|
+
easing: ANIMATION_EASING
|
|
90
|
+
},
|
|
91
|
+
default: {
|
|
92
|
+
damping: 500,
|
|
93
|
+
stiffness: 1000,
|
|
94
|
+
mass: 3,
|
|
95
|
+
overshootClamping: true,
|
|
96
|
+
restDisplacementThreshold: 10,
|
|
97
|
+
restSpeedThreshold: 10
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
const SCROLLABLE_DECELERATION_RATE_MAPPER = exports.SCROLLABLE_DECELERATION_RATE_MAPPER = {
|
|
101
|
+
[SCROLLABLE_STATUS.UNDETERMINED]: 0,
|
|
102
|
+
[SCROLLABLE_STATUS.LOCKED]: 0,
|
|
103
|
+
[SCROLLABLE_STATUS.UNLOCKED]: _reactNative.Platform.select({
|
|
104
|
+
ios: 0.998,
|
|
105
|
+
android: 0.985,
|
|
106
|
+
default: 1
|
|
107
|
+
})
|
|
108
|
+
};
|
|
109
|
+
const MODAL_STACK_BEHAVIOR = exports.MODAL_STACK_BEHAVIOR = {
|
|
110
|
+
replace: 'replace',
|
|
111
|
+
push: 'push',
|
|
112
|
+
switch: 'switch'
|
|
113
|
+
};
|
|
114
|
+
const KEYBOARD_BEHAVIOR = exports.KEYBOARD_BEHAVIOR = {
|
|
115
|
+
interactive: 'interactive',
|
|
116
|
+
extend: 'extend',
|
|
117
|
+
fillParent: 'fillParent'
|
|
118
|
+
};
|
|
119
|
+
const KEYBOARD_BLUR_BEHAVIOR = exports.KEYBOARD_BLUR_BEHAVIOR = {
|
|
120
|
+
none: 'none',
|
|
121
|
+
restore: 'restore'
|
|
122
|
+
};
|
|
123
|
+
const KEYBOARD_INPUT_MODE = exports.KEYBOARD_INPUT_MODE = {
|
|
124
|
+
adjustPan: 'adjustPan',
|
|
125
|
+
adjustResize: 'adjustResize'
|
|
126
|
+
};
|
|
127
|
+
const KEYBOARD_DISMISS_THRESHOLD = exports.KEYBOARD_DISMISS_THRESHOLD = 12.5;
|
|
128
|
+
const INITIAL_LAYOUT_VALUE = exports.INITIAL_LAYOUT_VALUE = -999;
|
|
129
|
+
const INITIAL_CONTAINER_LAYOUT = exports.INITIAL_CONTAINER_LAYOUT = {
|
|
130
|
+
height: INITIAL_LAYOUT_VALUE,
|
|
131
|
+
offset: {
|
|
132
|
+
top: 0,
|
|
133
|
+
bottom: 0,
|
|
134
|
+
right: 0,
|
|
135
|
+
left: 0
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
//# sourceMappingURL=constants.js.map
|