react-native-screen-transitions 2.4.0 → 2.4.2-beta.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/lib/commonjs/__configs__/presets.js.map +1 -1
- package/lib/commonjs/components/root-transition-aware.js.map +1 -1
- package/lib/commonjs/constants.js.map +1 -1
- package/lib/commonjs/hooks/animation/use-screen-animation.js +9 -5
- package/lib/commonjs/hooks/animation/use-screen-animation.js.map +1 -1
- package/lib/commonjs/index.js +7 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/integrations/blank-stack/components/Header.js +142 -0
- package/lib/commonjs/integrations/blank-stack/components/Header.js.map +1 -0
- package/lib/commonjs/integrations/blank-stack/components/Screens.js +64 -0
- package/lib/commonjs/integrations/blank-stack/components/Screens.js.map +1 -0
- package/lib/commonjs/integrations/blank-stack/components/StackView.js +94 -0
- package/lib/commonjs/integrations/blank-stack/components/StackView.js.map +1 -0
- package/lib/commonjs/integrations/blank-stack/navigators/createBlankStackNavigator.js +74 -0
- package/lib/commonjs/integrations/blank-stack/navigators/createBlankStackNavigator.js.map +1 -0
- package/lib/commonjs/integrations/blank-stack/utils/with-stack-navigation/_hooks/use-closing-route-keys.js +66 -0
- package/lib/commonjs/integrations/blank-stack/utils/with-stack-navigation/_hooks/use-closing-route-keys.js.map +1 -0
- package/lib/commonjs/integrations/blank-stack/utils/with-stack-navigation/_hooks/use-previous.js +16 -0
- package/lib/commonjs/integrations/blank-stack/utils/with-stack-navigation/_hooks/use-previous.js.map +1 -0
- package/lib/commonjs/integrations/blank-stack/utils/with-stack-navigation/_hooks/use-stack-navigation-state.js +208 -0
- package/lib/commonjs/integrations/blank-stack/utils/with-stack-navigation/_hooks/use-stack-navigation-state.js.map +1 -0
- package/lib/commonjs/{types/navigator.js → integrations/blank-stack/utils/with-stack-navigation/_types.js} +1 -1
- package/lib/commonjs/integrations/blank-stack/utils/with-stack-navigation/_types.js.map +1 -0
- package/lib/commonjs/integrations/blank-stack/utils/with-stack-navigation/_utils/are-descriptors-equal.js +15 -0
- package/lib/commonjs/integrations/blank-stack/utils/with-stack-navigation/_utils/are-descriptors-equal.js.map +1 -0
- package/lib/commonjs/integrations/blank-stack/utils/with-stack-navigation/_utils/calculateActiveScreensLimit.js +23 -0
- package/lib/commonjs/integrations/blank-stack/utils/with-stack-navigation/_utils/calculateActiveScreensLimit.js.map +1 -0
- package/lib/commonjs/integrations/blank-stack/utils/with-stack-navigation/_utils/compose-descriptors.js +15 -0
- package/lib/commonjs/integrations/blank-stack/utils/with-stack-navigation/_utils/compose-descriptors.js.map +1 -0
- package/lib/commonjs/integrations/blank-stack/utils/with-stack-navigation/_utils/have-same-route-keys.js +14 -0
- package/lib/commonjs/integrations/blank-stack/utils/with-stack-navigation/_utils/have-same-route-keys.js.map +1 -0
- package/lib/commonjs/integrations/blank-stack/utils/with-stack-navigation/_utils/routes-are-identical.js +13 -0
- package/lib/commonjs/integrations/blank-stack/utils/with-stack-navigation/_utils/routes-are-identical.js.map +1 -0
- package/lib/commonjs/integrations/blank-stack/utils/with-stack-navigation/index.js +71 -0
- package/lib/commonjs/integrations/blank-stack/utils/with-stack-navigation/index.js.map +1 -0
- package/lib/commonjs/integrations/native-stack/navigators/createNativeStackNavigator.js.map +1 -1
- package/lib/commonjs/integrations/native-stack/utils/getModalRoutesKeys.js.map +1 -1
- package/lib/commonjs/integrations/native-stack/utils/useInvalidPreventRemoveError.js.map +1 -1
- package/lib/commonjs/integrations/native-stack/views/NativeStackView.js.map +1 -1
- package/lib/commonjs/integrations/native-stack/views/NativeStackView.native.js.map +1 -1
- package/lib/commonjs/integrations/native-stack/views/useHeaderConfigProps.js.map +1 -1
- package/lib/commonjs/providers/keys.js.map +1 -1
- package/lib/commonjs/providers/screen-transition-provider.js.map +1 -1
- package/lib/commonjs/providers/transition-styles.js +18 -4
- package/lib/commonjs/providers/transition-styles.js.map +1 -1
- package/lib/commonjs/stores/animations.js.map +1 -1
- package/lib/commonjs/stores/bounds/index.js.map +1 -1
- package/lib/commonjs/stores/gestures.js.map +1 -1
- package/lib/commonjs/stores/utils/reset-stores-for-screen.js.map +1 -1
- package/lib/commonjs/types/blank-stack.navigator.js +6 -0
- package/lib/commonjs/types/{navigator.js.map → blank-stack.navigator.js.map} +1 -1
- package/lib/commonjs/types/native-stack.navigator.js +6 -0
- package/lib/commonjs/types/native-stack.navigator.js.map +1 -0
- package/lib/commonjs/utils/animation/derivations.js +1 -14
- package/lib/commonjs/utils/animation/derivations.js.map +1 -1
- package/lib/commonjs/utils/bounds/_utils/styles.js.map +1 -1
- package/lib/commonjs/utils/bounds/constants.js.map +1 -1
- package/lib/commonjs/utils/bounds/index.js +23 -90
- package/lib/commonjs/utils/bounds/index.js.map +1 -1
- package/lib/commonjs/utils/gesture/apply-offset-rules.js.map +1 -1
- package/lib/commonjs/utils/gesture/check-gesture-activation.js.map +1 -1
- package/lib/commonjs/utils/gesture/reset-gesture-values.js.map +1 -1
- package/lib/commonjs/utils/gesture/velocity.js +2 -2
- package/lib/commonjs/utils/gesture/velocity.js.map +1 -1
- package/lib/module/__configs__/presets.js.map +1 -1
- package/lib/module/components/root-transition-aware.js.map +1 -1
- package/lib/module/constants.js.map +1 -1
- package/lib/module/hooks/animation/use-screen-animation.js +9 -5
- package/lib/module/hooks/animation/use-screen-animation.js.map +1 -1
- package/lib/module/index.js +1 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/integrations/blank-stack/components/Header.js +138 -0
- package/lib/module/integrations/blank-stack/components/Header.js.map +1 -0
- package/lib/module/integrations/blank-stack/components/Screens.js +58 -0
- package/lib/module/integrations/blank-stack/components/Screens.js.map +1 -0
- package/lib/module/integrations/blank-stack/components/StackView.js +90 -0
- package/lib/module/integrations/blank-stack/components/StackView.js.map +1 -0
- package/lib/module/integrations/blank-stack/navigators/createBlankStackNavigator.js +68 -0
- package/lib/module/integrations/blank-stack/navigators/createBlankStackNavigator.js.map +1 -0
- package/lib/module/integrations/blank-stack/utils/with-stack-navigation/_hooks/use-closing-route-keys.js +60 -0
- package/lib/module/integrations/blank-stack/utils/with-stack-navigation/_hooks/use-closing-route-keys.js.map +1 -0
- package/lib/module/integrations/blank-stack/utils/with-stack-navigation/_hooks/use-previous.js +11 -0
- package/lib/module/integrations/blank-stack/utils/with-stack-navigation/_hooks/use-previous.js.map +1 -0
- package/lib/module/integrations/blank-stack/utils/with-stack-navigation/_hooks/use-stack-navigation-state.js +202 -0
- package/lib/module/integrations/blank-stack/utils/with-stack-navigation/_hooks/use-stack-navigation-state.js.map +1 -0
- package/lib/module/integrations/blank-stack/utils/with-stack-navigation/_types.js +4 -0
- package/lib/module/integrations/blank-stack/utils/with-stack-navigation/_types.js.map +1 -0
- package/lib/module/integrations/blank-stack/utils/with-stack-navigation/_utils/are-descriptors-equal.js +10 -0
- package/lib/module/integrations/blank-stack/utils/with-stack-navigation/_utils/are-descriptors-equal.js.map +1 -0
- package/lib/module/integrations/blank-stack/utils/with-stack-navigation/_utils/calculateActiveScreensLimit.js +19 -0
- package/lib/module/integrations/blank-stack/utils/with-stack-navigation/_utils/calculateActiveScreensLimit.js.map +1 -0
- package/lib/module/integrations/blank-stack/utils/with-stack-navigation/_utils/compose-descriptors.js +10 -0
- package/lib/module/integrations/blank-stack/utils/with-stack-navigation/_utils/compose-descriptors.js.map +1 -0
- package/lib/module/integrations/blank-stack/utils/with-stack-navigation/_utils/have-same-route-keys.js +9 -0
- package/lib/module/integrations/blank-stack/utils/with-stack-navigation/_utils/have-same-route-keys.js.map +1 -0
- package/lib/module/integrations/blank-stack/utils/with-stack-navigation/_utils/routes-are-identical.js +8 -0
- package/lib/module/integrations/blank-stack/utils/with-stack-navigation/_utils/routes-are-identical.js.map +1 -0
- package/lib/module/integrations/blank-stack/utils/with-stack-navigation/index.js +65 -0
- package/lib/module/integrations/blank-stack/utils/with-stack-navigation/index.js.map +1 -0
- package/lib/module/integrations/native-stack/navigators/createNativeStackNavigator.js.map +1 -1
- package/lib/module/integrations/native-stack/utils/getModalRoutesKeys.js.map +1 -1
- package/lib/module/integrations/native-stack/utils/useInvalidPreventRemoveError.js.map +1 -1
- package/lib/module/integrations/native-stack/views/NativeStackView.js.map +1 -1
- package/lib/module/integrations/native-stack/views/NativeStackView.native.js.map +1 -1
- package/lib/module/integrations/native-stack/views/useHeaderConfigProps.js.map +1 -1
- package/lib/module/providers/keys.js.map +1 -1
- package/lib/module/providers/screen-transition-provider.js.map +1 -1
- package/lib/module/providers/transition-styles.js +19 -5
- package/lib/module/providers/transition-styles.js.map +1 -1
- package/lib/module/stores/animations.js.map +1 -1
- package/lib/module/stores/bounds/index.js.map +1 -1
- package/lib/module/stores/gestures.js.map +1 -1
- package/lib/module/stores/utils/reset-stores-for-screen.js.map +1 -1
- package/lib/module/types/blank-stack.navigator.js +4 -0
- package/lib/module/types/{navigator.js.map → blank-stack.navigator.js.map} +1 -1
- package/lib/module/types/native-stack.navigator.js +4 -0
- package/lib/module/types/native-stack.navigator.js.map +1 -0
- package/lib/module/utils/animation/derivations.js +1 -14
- package/lib/module/utils/animation/derivations.js.map +1 -1
- package/lib/module/utils/bounds/_utils/styles.js.map +1 -1
- package/lib/module/utils/bounds/constants.js.map +1 -1
- package/lib/module/utils/bounds/index.js +24 -91
- package/lib/module/utils/bounds/index.js.map +1 -1
- package/lib/module/utils/gesture/apply-offset-rules.js.map +1 -1
- package/lib/module/utils/gesture/check-gesture-activation.js.map +1 -1
- package/lib/module/utils/gesture/reset-gesture-values.js.map +1 -1
- package/lib/module/utils/gesture/velocity.js +2 -2
- package/lib/module/utils/gesture/velocity.js.map +1 -1
- package/lib/typescript/__configs__/index.d.ts +9 -9
- package/lib/typescript/__configs__/index.d.ts.map +1 -1
- package/lib/typescript/__configs__/presets.d.ts +1 -1
- package/lib/typescript/__configs__/presets.d.ts.map +1 -1
- package/lib/typescript/components/root-transition-aware.d.ts.map +1 -1
- package/lib/typescript/constants.d.ts +2 -2
- package/lib/typescript/constants.d.ts.map +1 -1
- package/lib/typescript/hooks/animation/use-screen-animation.d.ts +1 -1
- package/lib/typescript/hooks/animation/use-screen-animation.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +20 -18
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/integrations/blank-stack/components/Header.d.ts +5 -0
- package/lib/typescript/integrations/blank-stack/components/Header.d.ts.map +1 -0
- package/lib/typescript/integrations/blank-stack/components/Screens.d.ts +15 -0
- package/lib/typescript/integrations/blank-stack/components/Screens.d.ts.map +1 -0
- package/lib/typescript/integrations/blank-stack/components/StackView.d.ts +2 -0
- package/lib/typescript/integrations/blank-stack/components/StackView.d.ts.map +1 -0
- package/lib/typescript/integrations/blank-stack/navigators/createBlankStackNavigator.d.ts +109 -0
- package/lib/typescript/integrations/blank-stack/navigators/createBlankStackNavigator.d.ts.map +1 -0
- package/lib/typescript/integrations/blank-stack/utils/with-stack-navigation/_hooks/use-closing-route-keys.d.ts +8 -0
- package/lib/typescript/integrations/blank-stack/utils/with-stack-navigation/_hooks/use-closing-route-keys.d.ts.map +1 -0
- package/lib/typescript/integrations/blank-stack/utils/with-stack-navigation/_hooks/use-previous.d.ts +2 -0
- package/lib/typescript/integrations/blank-stack/utils/with-stack-navigation/_hooks/use-previous.d.ts.map +1 -0
- package/lib/typescript/integrations/blank-stack/utils/with-stack-navigation/_hooks/use-stack-navigation-state.d.ts +20 -0
- package/lib/typescript/integrations/blank-stack/utils/with-stack-navigation/_hooks/use-stack-navigation-state.d.ts.map +1 -0
- package/lib/typescript/integrations/blank-stack/utils/with-stack-navigation/_types.d.ts +23 -0
- package/lib/typescript/integrations/blank-stack/utils/with-stack-navigation/_types.d.ts.map +1 -0
- package/lib/typescript/integrations/blank-stack/utils/with-stack-navigation/_utils/are-descriptors-equal.d.ts +3 -0
- package/lib/typescript/integrations/blank-stack/utils/with-stack-navigation/_utils/are-descriptors-equal.d.ts.map +1 -0
- package/lib/typescript/integrations/blank-stack/utils/with-stack-navigation/_utils/calculateActiveScreensLimit.d.ts +4 -0
- package/lib/typescript/integrations/blank-stack/utils/with-stack-navigation/_utils/calculateActiveScreensLimit.d.ts.map +1 -0
- package/lib/typescript/integrations/blank-stack/utils/with-stack-navigation/_utils/compose-descriptors.d.ts +4 -0
- package/lib/typescript/integrations/blank-stack/utils/with-stack-navigation/_utils/compose-descriptors.d.ts.map +1 -0
- package/lib/typescript/integrations/blank-stack/utils/with-stack-navigation/_utils/have-same-route-keys.d.ts +3 -0
- package/lib/typescript/integrations/blank-stack/utils/with-stack-navigation/_utils/have-same-route-keys.d.ts.map +1 -0
- package/lib/typescript/integrations/blank-stack/utils/with-stack-navigation/_utils/routes-are-identical.d.ts +3 -0
- package/lib/typescript/integrations/blank-stack/utils/with-stack-navigation/_utils/routes-are-identical.d.ts.map +1 -0
- package/lib/typescript/integrations/blank-stack/utils/with-stack-navigation/index.d.ts +6 -0
- package/lib/typescript/integrations/blank-stack/utils/with-stack-navigation/index.d.ts.map +1 -0
- package/lib/typescript/integrations/native-stack/navigators/createNativeStackNavigator.d.ts +1 -1
- package/lib/typescript/integrations/native-stack/navigators/createNativeStackNavigator.d.ts.map +1 -1
- package/lib/typescript/integrations/native-stack/utils/getModalRoutesKeys.d.ts +1 -1
- package/lib/typescript/integrations/native-stack/utils/getModalRoutesKeys.d.ts.map +1 -1
- package/lib/typescript/integrations/native-stack/utils/useInvalidPreventRemoveError.d.ts +1 -1
- package/lib/typescript/integrations/native-stack/utils/useInvalidPreventRemoveError.d.ts.map +1 -1
- package/lib/typescript/integrations/native-stack/views/NativeStackView.d.ts +1 -1
- package/lib/typescript/integrations/native-stack/views/NativeStackView.d.ts.map +1 -1
- package/lib/typescript/integrations/native-stack/views/NativeStackView.native.d.ts +1 -1
- package/lib/typescript/integrations/native-stack/views/NativeStackView.native.d.ts.map +1 -1
- package/lib/typescript/integrations/native-stack/views/useHeaderConfigProps.d.ts +1 -1
- package/lib/typescript/integrations/native-stack/views/useHeaderConfigProps.d.ts.map +1 -1
- package/lib/typescript/providers/keys.d.ts +1 -1
- package/lib/typescript/providers/keys.d.ts.map +1 -1
- package/lib/typescript/providers/screen-transition-provider.d.ts +1 -1
- package/lib/typescript/providers/screen-transition-provider.d.ts.map +1 -1
- package/lib/typescript/providers/transition-styles.d.ts.map +1 -1
- package/lib/typescript/stores/animations.d.ts +1 -1
- package/lib/typescript/stores/animations.d.ts.map +1 -1
- package/lib/typescript/stores/bounds/index.d.ts +1 -1
- package/lib/typescript/stores/bounds/index.d.ts.map +1 -1
- package/lib/typescript/stores/gestures.d.ts +1 -1
- package/lib/typescript/stores/gestures.d.ts.map +1 -1
- package/lib/typescript/stores/utils/reset-stores-for-screen.d.ts +1 -1
- package/lib/typescript/stores/utils/reset-stores-for-screen.d.ts.map +1 -1
- package/lib/typescript/types/animation.d.ts +2 -4
- package/lib/typescript/types/animation.d.ts.map +1 -1
- package/lib/typescript/types/blank-stack.navigator.d.ts +219 -0
- package/lib/typescript/types/blank-stack.navigator.d.ts.map +1 -0
- package/lib/typescript/types/bounds.d.ts +0 -57
- package/lib/typescript/types/bounds.d.ts.map +1 -1
- package/lib/typescript/types/{navigator.d.ts → native-stack.navigator.d.ts} +5 -1
- package/lib/typescript/types/native-stack.navigator.d.ts.map +1 -0
- package/lib/typescript/types/utils.d.ts.map +1 -1
- package/lib/typescript/utils/animation/derivations.d.ts +1 -4
- package/lib/typescript/utils/animation/derivations.d.ts.map +1 -1
- package/lib/typescript/utils/bounds/_types/builder.d.ts +2 -2
- package/lib/typescript/utils/bounds/_types/builder.d.ts.map +1 -1
- package/lib/typescript/utils/bounds/_utils/geometry.d.ts +2 -2
- package/lib/typescript/utils/bounds/_utils/geometry.d.ts.map +1 -1
- package/lib/typescript/utils/bounds/_utils/styles.d.ts +2 -1
- package/lib/typescript/utils/bounds/_utils/styles.d.ts.map +1 -1
- package/lib/typescript/utils/bounds/constants.d.ts +2 -2
- package/lib/typescript/utils/bounds/constants.d.ts.map +1 -1
- package/lib/typescript/utils/bounds/index.d.ts +4 -4
- package/lib/typescript/utils/bounds/index.d.ts.map +1 -1
- package/lib/typescript/utils/gesture/apply-offset-rules.d.ts +2 -2
- package/lib/typescript/utils/gesture/apply-offset-rules.d.ts.map +1 -1
- package/lib/typescript/utils/gesture/check-gesture-activation.d.ts +2 -2
- package/lib/typescript/utils/gesture/check-gesture-activation.d.ts.map +1 -1
- package/lib/typescript/utils/gesture/reset-gesture-values.d.ts.map +1 -1
- package/lib/typescript/utils/gesture/velocity.d.ts +1 -1
- package/lib/typescript/utils/gesture/velocity.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/__configs__/presets.ts +590 -590
- package/src/components/root-transition-aware.tsx +27 -27
- package/src/constants.ts +47 -47
- package/src/hooks/animation/use-screen-animation.tsx +52 -47
- package/src/index.ts +33 -22
- package/src/integrations/blank-stack/components/Header.tsx +143 -0
- package/src/integrations/blank-stack/components/Screens.tsx +96 -0
- package/src/integrations/blank-stack/components/StackView.tsx +106 -0
- package/src/integrations/blank-stack/navigators/createBlankStackNavigator.tsx +122 -0
- package/src/integrations/blank-stack/utils/with-stack-navigation/_hooks/use-closing-route-keys.tsx +62 -0
- package/src/integrations/blank-stack/utils/with-stack-navigation/_hooks/use-previous.tsx +11 -0
- package/src/integrations/blank-stack/utils/with-stack-navigation/_hooks/use-stack-navigation-state.tsx +280 -0
- package/src/integrations/blank-stack/utils/with-stack-navigation/_types.ts +36 -0
- package/src/integrations/blank-stack/utils/with-stack-navigation/_utils/are-descriptors-equal.ts +15 -0
- package/src/integrations/blank-stack/utils/with-stack-navigation/_utils/calculateActiveScreensLimit.ts +29 -0
- package/src/integrations/blank-stack/utils/with-stack-navigation/_utils/compose-descriptors.ts +17 -0
- package/src/integrations/blank-stack/utils/with-stack-navigation/_utils/have-same-route-keys.ts +12 -0
- package/src/integrations/blank-stack/utils/with-stack-navigation/_utils/routes-are-identical.ts +11 -0
- package/src/integrations/blank-stack/utils/with-stack-navigation/index.tsx +93 -0
- package/src/integrations/native-stack/navigators/createNativeStackNavigator.tsx +95 -95
- package/src/integrations/native-stack/utils/getModalRoutesKeys.ts +14 -14
- package/src/integrations/native-stack/utils/useInvalidPreventRemoveError.tsx +23 -23
- package/src/integrations/native-stack/views/NativeStackView.native.tsx +608 -608
- package/src/integrations/native-stack/views/NativeStackView.tsx +188 -188
- package/src/integrations/native-stack/views/useHeaderConfigProps.tsx +260 -260
- package/src/providers/keys.tsx +22 -22
- package/src/providers/screen-transition-provider.tsx +20 -20
- package/src/providers/transition-styles.tsx +24 -11
- package/src/stores/animations.ts +23 -23
- package/src/stores/bounds/index.ts +82 -82
- package/src/stores/gestures.ts +36 -36
- package/src/stores/utils/reset-stores-for-screen.ts +4 -4
- package/src/types/animation.ts +2 -4
- package/src/types/blank-stack.navigator.ts +271 -0
- package/src/types/bounds.ts +0 -64
- package/src/types/{navigator.ts → native-stack.navigator.ts} +5 -0
- package/src/types/utils.ts +1 -0
- package/src/utils/animation/derivations.ts +3 -20
- package/src/utils/bounds/_types/builder.ts +111 -111
- package/src/utils/bounds/_utils/geometry.ts +2 -2
- package/src/utils/bounds/_utils/styles.ts +2 -1
- package/src/utils/bounds/constants.ts +29 -29
- package/src/utils/bounds/index.ts +35 -105
- package/src/utils/gesture/apply-offset-rules.ts +271 -271
- package/src/utils/gesture/check-gesture-activation.ts +260 -260
- package/src/utils/gesture/reset-gesture-values.ts +1 -0
- package/src/utils/gesture/velocity.ts +1 -2
- package/lib/module/types/navigator.js +0 -4
- package/lib/typescript/types/navigator.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["GestureOffsetState","GESTURE_ACTIVATION_THRESHOLD_X","GESTURE_ACTIVATION_THRESHOLD_Y","GESTURE_FAIL_TOLERANCE_X","GESTURE_FAIL_TOLERANCE_Y","DEFAULT_EDGE_DISTANCE_HORIZONTAL","DEFAULT_EDGE_DISTANCE_VERTICAL","DEFAULT_ACTIVATION_AREA","normalizeSides","area","mode","left","right","top","bottom","s","computeEdgeConstraints","initialTouch","dimensions","sides","responseDistance","xDist","yDist","horizontalRight","x","horizontalLeft","width","verticalDown","y","verticalUp","height","calculateSwipeDirs","deltaX","deltaY","isVerticalSwipe","Math","abs","isHorizontalSwipe","isSwipingDown","isSwipingUp","isSwipingRight","isSwipingLeft","shouldActivateOrFail","params","hasHorizontal","hasVertical","allowedRight","allowedLeft","allowedUp","allowedDown","horizontalGateRight","horizontalGateLeft","verticalGateUp","verticalGateDown","shouldActivate","shouldFail","hasEnoughHorizontalMovement","hasAcceptableVerticalDeviation","rightOk","leftOk","hasEnoughVerticalMovement","hasAcceptableHorizontalDeviation","upOk","downOk","applyOffsetRules","touch","directions","manager","gestureOffsetState","activationArea","vertical","verticalInverted","horizontal","horizontalInverted","value","PENDING","PASSED","FAILED","fail"],"sourceRoot":"../../../../src","sources":["utils/gesture/check-gesture-activation.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"names":["GestureOffsetState","GESTURE_ACTIVATION_THRESHOLD_X","GESTURE_ACTIVATION_THRESHOLD_Y","GESTURE_FAIL_TOLERANCE_X","GESTURE_FAIL_TOLERANCE_Y","DEFAULT_EDGE_DISTANCE_HORIZONTAL","DEFAULT_EDGE_DISTANCE_VERTICAL","DEFAULT_ACTIVATION_AREA","normalizeSides","area","mode","left","right","top","bottom","s","computeEdgeConstraints","initialTouch","dimensions","sides","responseDistance","xDist","yDist","horizontalRight","x","horizontalLeft","width","verticalDown","y","verticalUp","height","calculateSwipeDirs","deltaX","deltaY","isVerticalSwipe","Math","abs","isHorizontalSwipe","isSwipingDown","isSwipingUp","isSwipingRight","isSwipingLeft","shouldActivateOrFail","params","hasHorizontal","hasVertical","allowedRight","allowedLeft","allowedUp","allowedDown","horizontalGateRight","horizontalGateLeft","verticalGateUp","verticalGateDown","shouldActivate","shouldFail","hasEnoughHorizontalMovement","hasAcceptableVerticalDeviation","rightOk","leftOk","hasEnoughVerticalMovement","hasAcceptableHorizontalDeviation","upOk","downOk","applyOffsetRules","touch","directions","manager","gestureOffsetState","activationArea","vertical","verticalInverted","horizontal","horizontalInverted","value","PENDING","PASSED","FAILED","fail"],"sourceRoot":"../../../../src","sources":["utils/gesture/check-gesture-activation.ts"],"mappings":";;AAEA,SAGEA,kBAAkB,QAEb,qBAAqB;AAwD5B;AACA;AACA;AACA,MAAMC,8BAA8B,GAAG,EAAE;AACzC,MAAMC,8BAA8B,GAAG,EAAE;AACzC,MAAMC,wBAAwB,GAAG,EAAE;AACnC,MAAMC,wBAAwB,GAAG,EAAE;AACnC,MAAMC,gCAAgC,GAAG,EAAE;AAC3C,MAAMC,8BAA8B,GAAG,GAAG;AAC1C,MAAMC,uBAAuB,GAAG,QAAiB;AAEjD,SAASC,cAAcA,CAACC,IAA4B,EAAmB;EACrE,SAAS;;EACT,IAAI,CAACA,IAAI,IAAI,OAAOA,IAAI,KAAK,QAAQ,EAAE;IACrC,MAAMC,IAAoB,GAAGD,IAAI,IAAIF,uBAAuB;IAC5D,OAAO;MAAEI,IAAI,EAAED,IAAI;MAAEE,KAAK,EAAEF,IAAI;MAAEG,GAAG,EAAEH,IAAI;MAAEI,MAAM,EAAEJ;IAAK,CAAC;EAC7D;EAEA,MAAMK,CAAiB,GAAGN,IAAsB;EAChD,OAAO;IACLE,IAAI,EAAEI,CAAC,CAACJ,IAAI,IAAIJ,uBAAuB;IACvCK,KAAK,EAAEG,CAAC,CAACH,KAAK,IAAIL,uBAAuB;IACzCM,GAAG,EAAEE,CAAC,CAACF,GAAG,IAAIN,uBAAuB;IACrCO,MAAM,EAAEC,CAAC,CAACD,MAAM,IAAIP;EACtB,CAAC;AACH;AAEA,SAASS,sBAAsBA,CAC7BC,YAAsC,EACtCC,UAAkB,EAClBC,KAAsB,EACtBC,gBAAyB,EACzB;EACA,SAAS;;EACT,MAAMC,KAAK,GAAGD,gBAAgB,IAAIf,gCAAgC;EAClE,MAAMiB,KAAK,GAAGF,gBAAgB,IAAId,8BAA8B;EAEhE,MAAMiB,eAAe,GAAGJ,KAAK,CAACR,IAAI,KAAK,QAAQ,IAAIM,YAAY,CAAC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ACXC,cAAc;IACdC;EACF,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["animate","velocity","resetGestureValues","spec","gestures","shouldDismiss","event","dimensions","vxNorm","normalize","velocityX","width","vyNorm","velocityY","height","nx","normalizedX","value","translationX","Math","max","ny","normalizedY","translationY","vxTowardZero","calculateRestoreVelocity","vyTowardZero","remainingAnimations","onFinish","finished","direction","x","y","isDragging","isDismissing","Number"],"sourceRoot":"../../../../src","sources":["utils/gesture/reset-gesture-values.ts"],"mappings":";;AAMA,SAASA,OAAO,QAAQ,sBAAsB;AAC9C,SAASC,QAAQ,QAAQ,YAAY;AAUrC,OAAO,MAAMC,kBAAkB,GAAGA,CAAC;EAClCC,IAAI;EACJC,QAAQ;EACRC,aAAa;EACbC,KAAK;EACLC;AACwB,CAAC,KAAK;EAC9B,SAAS;;EAET,MAAMC,MAAM,GAAGP,QAAQ,CAACQ,SAAS,CAACH,KAAK,CAACI,SAAS,EAAEH,UAAU,CAACI,KAAK,CAAC;EACpE,MAAMC,MAAM,GAAGX,QAAQ,CAACQ,SAAS,CAACH,KAAK,CAACO,SAAS,EAAEN,UAAU,CAACO,MAAM,CAAC;;EAErE;EACA,MAAMC,EAAE,GACPX,QAAQ,CAACY,WAAW,CAACC,KAAK,IAC1BX,KAAK,CAACY,YAAY,GAAGC,IAAI,CAACC,GAAG,CAAC,CAAC,EAAEb,UAAU,CAACI,KAAK,CAAC;
|
|
1
|
+
{"version":3,"names":["animate","velocity","resetGestureValues","spec","gestures","shouldDismiss","event","dimensions","vxNorm","normalize","velocityX","width","vyNorm","velocityY","height","nx","normalizedX","value","translationX","Math","max","ny","normalizedY","translationY","vxTowardZero","calculateRestoreVelocity","vyTowardZero","remainingAnimations","onFinish","finished","direction","x","y","isDragging","isDismissing","Number"],"sourceRoot":"../../../../src","sources":["utils/gesture/reset-gesture-values.ts"],"mappings":";;AAMA,SAASA,OAAO,QAAQ,sBAAsB;AAC9C,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I,QAAQ,CAAC;EAC5ExB,QAAQ,CAAC4B,CAAC,CAACf,KAAK,GAAGjB,OAAO,CAAC,CAAC,EAAE;IAAE,GAAGG,IAAI;IAAEF,QAAQ,EAAEyB;EAAa,CAAC,EAAEE,QAAQ,CAAC;EAC5ExB,QAAQ,CAACY,WAAW,CAACC,KAAK,GAAGjB,OAAO,CACnC,CAAC,EACD;IAAE,GAAGG,IAAI;IAAEF,QAAQ,EAAEuB;EAAa,CAAC,EACnCI,QACD,CAAC;EACDxB,QAAQ,CAACkB,WAAW,CAACL,KAAK,GAAGjB,OAAO,CACnC,CAAC,EACD;IAAE,GAAGG,IAAI;IAAEF,QAAQ,EAAEyB;EAAa,CAAC,EACnCE,QACD,CAAC;EACDxB,QAAQ,CAAC6B,UAAU,CAAChB,KAAK,GAAG,CAAC;EAC7Bb,QAAQ,CAAC8B,YAAY,CAACjB,KAAK,GAAGkB,MAAM,CAAC9B,aAAa,CAAC;AACpD,CAAC","ignoreList":[]}
|
|
@@ -18,10 +18,10 @@ const normalize = (velocityPixelsPerSecond, screenSize) => {
|
|
|
18
18
|
* Calculates a normalized velocity that moves the current value toward zero.
|
|
19
19
|
* Used for spring-back animations when dismissing gestures.
|
|
20
20
|
*/
|
|
21
|
-
const calculateRestoreVelocity = (currentValueNormalized, baseVelocityNormalized
|
|
21
|
+
const calculateRestoreVelocity = (currentValueNormalized, baseVelocityNormalized) => {
|
|
22
22
|
"worklet";
|
|
23
23
|
|
|
24
|
-
if (Math.abs(currentValueNormalized) <
|
|
24
|
+
if (Math.abs(currentValueNormalized) < NEAR_ZERO_THRESHOLD) return 0;
|
|
25
25
|
const directionTowardZero = Math.sign(currentValueNormalized) || 1;
|
|
26
26
|
const clampedVelocity = Math.min(Math.abs(baseVelocityNormalized), 1);
|
|
27
27
|
return -directionTowardZero * clampedVelocity;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["clamp","MAX_VELOCITY_MAGNITUDE","NEAR_ZERO_THRESHOLD","normalize","velocityPixelsPerSecond","screenSize","Math","max","calculateRestoreVelocity","currentValueNormalized","baseVelocityNormalized","
|
|
1
|
+
{"version":3,"names":["clamp","MAX_VELOCITY_MAGNITUDE","NEAR_ZERO_THRESHOLD","normalize","velocityPixelsPerSecond","screenSize","Math","max","calculateRestoreVelocity","currentValueNormalized","baseVelocityNormalized","abs","directionTowardZero","sign","clampedVelocity","min","calculateProgressVelocity","animations","shouldDismiss","event","dimensions","directions","currentProgress","progress","value","targetProgress","progressDelta","progressDirection","normalizedVelocityX","velocityX","width","normalizedVelocityY","velocityY","height","normalizedTranslationX","translationX","normalizedTranslationY","translationY","supportsHorizontalGestures","horizontal","horizontalInverted","supportsVerticalGestures","vertical","verticalInverted","progressVelocityMagnitude","shouldPassDismissalThreshold","translationPixels","velocityWeight","normalizedTranslation","normalizedVelocity","projectedNormalizedPosition","exceedsThreshold","hasMovement","velocity"],"sourceRoot":"../../../../src","sources":["utils/gesture/velocity.ts"],"mappings":";;AAIA,SAASA,KAAK,QAAQ,yBAAyB;AAgB/C,MAAMC,sBAAsB,GAAG,GAAG;AAClC,MAAMC,mBAAmB,GAAG,IAAI;;AAEhC;AACA;AACA;AACA;AACA,MAAMC,SAAS,GAAGA,CAACC,uBAA+B,EAAEC,UAAkB,KAAK;EAC1E,SAAS;;EACT,OAAOL,KAAK,CACXI,uBAAuB,GAAGE,IAAI,CAACC,GAAG,CAAC,CAAC,EAAEF,UAAU,CAAC,EACjD,CAACJ,sBAAsB,EACvBA,sBACD,CAAC;AACF,CAAC;;AAED;AACA;AACA;AACA;AACA,MAAMO,wBAAwB,GAAGA,CAChCC,sBAA8B,EAC9BC,sBAA8B,KAC1B;EACJ,SAAS;;EAET,IAAIJ,IAAI,CAACK,GAAG,CAACF,sBAAsB,CAAC,GAAGP,mBAAmB,EAAE,OAAO,CAAC;EAEpE,MAAMU,mBAAmB,GAAGN,IAAI,CAACO,IAAI,CAACJ,sBAAsB,CAAC,IAAI,CAAC;EAClE,MAAMK,e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AyB,GAAGtC,IAAI,CAACK,GAAG,CAACiB,mBAAmB,CAAC;EAC1D,CAAC,MAAM,IAAIa,wBAAwB,EAAE;IACpCG,yBAAyB,GAAGtC,IAAI,CAACK,GAAG,CAACoB,mBAAmB,CAAC;EAC1D,CAAC,MAAM;IACNa,yBAAyB,GAAGtC,IAAI,CAACC,GAAG,CACnCD,IAAI,CAACK,GAAG,CAACiB,mBAAmB,CAAC,EAC7BtB,IAAI,CAACK,GAAG,CAACoB,mBAAmB,CAC7B,CAAC;EACF;;EAEA;EACA,OACCJ,iBAAiB,GACjB3B,KAAK,CAAC4C,yBAAyB,EAAE,CAAC,EAAE3C,sBAAsB,CAAC;AAE7D,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,MAAM4C,4BAA4B,GAAGA,CACpCC,iBAAyB,EACzB1C,uBAA+B,EAC/BC,UAAkB,EAClB0C,cAAsB,KAClB;EACJ,SAAS;;EAET,MAAMC,qBAAqB,GAAGF,iBAAiB,GAAGxC,IAAI,CAACC,GAAG,CAAC,CAAC,EAAEF,UAAU,CAAC;EACzE,MAAM4C,kBAAkB,GAAG9C,SAAS,CAACC,uBAAuB,EAAEC,UAAU,CAAC;EAEzE,MAAM6C,2BAA2B,GAChCF,qBAAqB,GAAGC,kBAAkB,GAAGF,cAAc;EAE5D,MAAMI,gBAAgB,GAAG7C,IAAI,CAACK,GAAG,CAACuC,2BAA2B,CAAC,GAAG,GAAG;EAEpE,MAAME,WAAW,GAAGN,iBAAiB,KAAK,CAAC,IAAI1C,uBAAuB,KAAK,CAAC;EAE5E,OAAO+C,gBAAgB,IAAIC,WAAW;AACvC,CAAC;AAED,OAAO,MAAMC,QAAQ,GAAG;EACvBlD,SAAS;EACTK,wBAAwB;EACxBQ,yBAAyB;EACzB6B;AACD,CAAC","ignoreList":[]}
|
|
@@ -2,15 +2,15 @@ export declare const specs: {
|
|
|
2
2
|
DefaultSpec: import("react-native-reanimated/lib/typescript/animation/spring").SpringConfig;
|
|
3
3
|
};
|
|
4
4
|
export declare const presets: {
|
|
5
|
-
SlideFromTop: (config?: Partial<import("../types/navigator").ScreenTransitionConfig>) => import("../types/navigator").ScreenTransitionConfig;
|
|
6
|
-
ZoomIn: (config?: Partial<import("../types/navigator").ScreenTransitionConfig>) => import("../types/navigator").ScreenTransitionConfig;
|
|
7
|
-
SlideFromBottom: (config?: Partial<import("../types/navigator").ScreenTransitionConfig>) => import("../types/navigator").ScreenTransitionConfig;
|
|
8
|
-
DraggableCard: (config?: Partial<import("../types/navigator").ScreenTransitionConfig>) => import("../types/navigator").ScreenTransitionConfig;
|
|
9
|
-
ElasticCard: (config?: Partial<import("../types/navigator").ScreenTransitionConfig> & {
|
|
5
|
+
SlideFromTop: (config?: Partial<import("../types/native-stack.navigator").ScreenTransitionConfig>) => import("../types/native-stack.navigator").ScreenTransitionConfig;
|
|
6
|
+
ZoomIn: (config?: Partial<import("../types/native-stack.navigator").ScreenTransitionConfig>) => import("../types/native-stack.navigator").ScreenTransitionConfig;
|
|
7
|
+
SlideFromBottom: (config?: Partial<import("../types/native-stack.navigator").ScreenTransitionConfig>) => import("../types/native-stack.navigator").ScreenTransitionConfig;
|
|
8
|
+
DraggableCard: (config?: Partial<import("../types/native-stack.navigator").ScreenTransitionConfig>) => import("../types/native-stack.navigator").ScreenTransitionConfig;
|
|
9
|
+
ElasticCard: (config?: Partial<import("../types/native-stack.navigator").ScreenTransitionConfig> & {
|
|
10
10
|
elasticFactor?: number;
|
|
11
|
-
}) => import("../types/navigator").ScreenTransitionConfig;
|
|
12
|
-
SharedIGImage: (config?: Partial<import("../types/navigator").ScreenTransitionConfig>) => import("../types/navigator").ScreenTransitionConfig;
|
|
13
|
-
SharedAppleMusic: (config?: Partial<import("../types/navigator").ScreenTransitionConfig>) => import("../types/navigator").ScreenTransitionConfig;
|
|
14
|
-
SharedXImage: (config?: Partial<import("../types/navigator").ScreenTransitionConfig>) => import("../types/navigator").ScreenTransitionConfig;
|
|
11
|
+
}) => import("../types/native-stack.navigator").ScreenTransitionConfig;
|
|
12
|
+
SharedIGImage: (config?: Partial<import("../types/native-stack.navigator").ScreenTransitionConfig>) => import("../types/native-stack.navigator").ScreenTransitionConfig;
|
|
13
|
+
SharedAppleMusic: (config?: Partial<import("../types/native-stack.navigator").ScreenTransitionConfig>) => import("../types/native-stack.navigator").ScreenTransitionConfig;
|
|
14
|
+
SharedXImage: (config?: Partial<import("../types/native-stack.navigator").ScreenTransitionConfig>) => import("../types/native-stack.navigator").ScreenTransitionConfig;
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__configs__/index.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,KAAK;;CAEjB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__configs__/index.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,KAAK;;CAEjB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;;qBAU67F,CAAC;;;;;CADj9F,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ScreenTransitionConfig } from "../types/navigator";
|
|
1
|
+
import type { ScreenTransitionConfig } from "../types/native-stack.navigator";
|
|
2
2
|
export declare const SlideFromTop: (config?: Partial<ScreenTransitionConfig>) => ScreenTransitionConfig;
|
|
3
3
|
export declare const ZoomIn: (config?: Partial<ScreenTransitionConfig>) => ScreenTransitionConfig;
|
|
4
4
|
export declare const SlideFromBottom: (config?: Partial<ScreenTransitionConfig>) => ScreenTransitionConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presets.d.ts","sourceRoot":"","sources":["../../../src/__configs__/presets.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"presets.d.ts","sourceRoot":"","sources":["../../../src/__configs__/presets.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAK9E,eAAO,MAAM,YAAY,GACvB,SAAQ,OAAO,CAAC,sBAAsB,CAAM,KAC3C,sBA4BF,CAAC;AAEF,eAAO,MAAM,MAAM,GACjB,SAAQ,OAAO,CAAC,sBAAsB,CAAM,KAC3C,sBAkCF,CAAC;AAEF,eAAO,MAAM,eAAe,GAC1B,SAAQ,OAAO,CAAC,sBAAsB,CAAM,KAC3C,sBA2BF,CAAC;AAEF,eAAO,MAAM,aAAa,GACxB,SAAQ,OAAO,CAAC,sBAAsB,CAAM,KAC3C,sBAuCF,CAAC;AAEF,eAAO,MAAM,WAAW,GACtB,SAAQ,OAAO,CAAC,sBAAsB,CAAC,GAAG;IACxC,aAAa,CAAC,EAAE,MAAM,CAAC;CACC,KACzB,sBAyDF,CAAC;AAEF,eAAO,MAAM,aAAa,GACxB,SAAQ,OAAO,CAAC,sBAAsB,CAAM,KAC3C,sBA6HF,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAC3B,SAAQ,OAAO,CAAC,sBAAsB,CAAM,KAC3C,sBAmMF,CAAC;AAEF,eAAO,MAAM,YAAY,GACvB,SAAQ,OAAO,CAAC,sBAAsB,CAAM,KAC3C,sBA+EF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-transition-aware.d.ts","sourceRoot":"","sources":["../../../src/components/root-transition-aware.tsx"],"names":[],"mappings":"AAMA,KAAK,KAAK,GAAG;
|
|
1
|
+
{"version":3,"file":"root-transition-aware.d.ts","sourceRoot":"","sources":["../../../src/components/root-transition-aware.tsx"],"names":[],"mappings":"AAMA,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,mBAAmB,qDAAuB,KAAK,6CAwB1D,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { ScaledSize } from "react-native";
|
|
2
1
|
import type { MeasuredDimensions } from "react-native-reanimated";
|
|
3
2
|
import type { ScreenTransitionState } from "./types/animation";
|
|
4
3
|
import type { BoundEntry } from "./types/bounds";
|
|
5
4
|
import type { ActivationArea } from "./types/gesture";
|
|
5
|
+
import type { Layout } from "./types/native-stack.navigator";
|
|
6
6
|
import type { Complete } from "./types/utils";
|
|
7
7
|
import type { BoundsBuilderOptions } from "./utils/bounds/_types/builder";
|
|
8
8
|
/**
|
|
@@ -34,7 +34,7 @@ export declare const EMPTY_BOUND_HELPER_RESULT_RAW: Readonly<{
|
|
|
34
34
|
}>;
|
|
35
35
|
export declare const ENTER_RANGE: readonly [0, 1];
|
|
36
36
|
export declare const EXIT_RANGE: readonly [1, 2];
|
|
37
|
-
export declare const FULLSCREEN_DIMENSIONS: (dimensions:
|
|
37
|
+
export declare const FULLSCREEN_DIMENSIONS: (dimensions: Layout) => MeasuredDimensions;
|
|
38
38
|
export declare const DEFAULT_BUILDER_OPTIONS: Complete<Omit<BoundsBuilderOptions, "id">>;
|
|
39
39
|
/**
|
|
40
40
|
* Default gesture config
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,KAAK,EAAE,QAA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6 +1,6 @@
|
|
|
1
1
|
import type { ScreenInterpolationProps } from "../../types/animation";
|
|
2
2
|
export declare function _useScreenAnimation(): {
|
|
3
|
-
screenInterpolatorProps: import("react-native-reanimated").DerivedValue<ScreenInterpolationProps
|
|
3
|
+
screenInterpolatorProps: import("react-native-reanimated").DerivedValue<Omit<ScreenInterpolationProps, "bounds">>;
|
|
4
4
|
screenStyleInterpolator: import("../../types/animation").ScreenStyleInterpolator | undefined;
|
|
5
5
|
};
|
|
6
6
|
export declare function useScreenAnimation(): import("react-native-reanimated").DerivedValue<ScreenInterpolationProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-screen-animation.d.ts","sourceRoot":"","sources":["../../../../src/hooks/animation/use-screen-animation.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EACX,wBAAwB,EAExB,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"use-screen-animation.d.ts","sourceRoot":"","sources":["../../../../src/hooks/animation/use-screen-animation.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EACX,wBAAwB,EAExB,MAAM,uBAAuB,CAAC;AAyD/B,wBAAgB,mBAAmB;;;EAiElC;AAED,wBAAgB,kBAAkB,6EAUjC"}
|
|
@@ -3,8 +3,8 @@ import { createTransitionAwareComponent } from "./components/create-transition-a
|
|
|
3
3
|
import MaskedView from "./components/integrations/masked-view";
|
|
4
4
|
declare const _default: {
|
|
5
5
|
View: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
|
|
6
|
-
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
7
6
|
pointerEvents?: "none" | "auto" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"none" | "auto" | "box-none" | "box-only" | undefined> | undefined;
|
|
7
|
+
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
8
8
|
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
9
9
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
10
10
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
@@ -106,8 +106,8 @@ declare const _default: {
|
|
|
106
106
|
exiting?: import("react-native-reanimated").EntryOrExitLayoutType;
|
|
107
107
|
} & {
|
|
108
108
|
animatedProps?: import("react-native-reanimated/lib/typescript/css/types").AddArrayPropertyType<Partial<{
|
|
109
|
-
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
110
109
|
pointerEvents?: "none" | "auto" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"none" | "auto" | "box-none" | "box-only" | undefined> | undefined;
|
|
110
|
+
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
111
111
|
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
112
112
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
113
113
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
@@ -213,9 +213,9 @@ declare const _default: {
|
|
|
213
213
|
sharedBoundTag?: string;
|
|
214
214
|
} & import("react").RefAttributes<never>>>;
|
|
215
215
|
Pressable: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
|
|
216
|
-
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
217
216
|
key?: import("react").Key | import("react-native-reanimated").SharedValue<import("react").Key | null | undefined> | null | undefined;
|
|
218
217
|
pointerEvents?: "none" | "auto" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"none" | "auto" | "box-none" | "box-only" | undefined> | undefined;
|
|
218
|
+
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
219
219
|
children?: import("react").ReactNode | ((state: import("react-native").PressableStateCallbackType) => React.ReactNode) | import("react-native-reanimated").SharedValue<import("react").ReactNode | ((state: import("react-native").PressableStateCallbackType) => React.ReactNode)>;
|
|
220
220
|
ref?: import("react").Ref<View> | import("react-native-reanimated").SharedValue<import("react").Ref<View> | undefined> | undefined;
|
|
221
221
|
onPress?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | null | undefined> | null | undefined;
|
|
@@ -334,9 +334,9 @@ declare const _default: {
|
|
|
334
334
|
exiting?: import("react-native-reanimated").EntryOrExitLayoutType;
|
|
335
335
|
} & {
|
|
336
336
|
animatedProps?: import("react-native-reanimated/lib/typescript/css/types").AddArrayPropertyType<Partial<{
|
|
337
|
-
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
338
337
|
key?: import("react").Key | import("react-native-reanimated").SharedValue<import("react").Key | null | undefined> | null | undefined;
|
|
339
338
|
pointerEvents?: "none" | "auto" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"none" | "auto" | "box-none" | "box-only" | undefined> | undefined;
|
|
339
|
+
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
340
340
|
children?: import("react").ReactNode | ((state: import("react-native").PressableStateCallbackType) => React.ReactNode) | import("react-native-reanimated").SharedValue<import("react").ReactNode | ((state: import("react-native").PressableStateCallbackType) => React.ReactNode)>;
|
|
341
341
|
ref?: import("react").Ref<View> | import("react-native-reanimated").SharedValue<import("react").Ref<View> | undefined> | undefined;
|
|
342
342
|
onPress?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | null | undefined> | null | undefined;
|
|
@@ -459,9 +459,9 @@ declare const _default: {
|
|
|
459
459
|
sharedBoundTag?: string;
|
|
460
460
|
} & import("react").RefAttributes<View | import("react").Component<import("react-native").PressableProps & import("react").RefAttributes<View>, any, any>>>>;
|
|
461
461
|
ScrollView: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
|
|
462
|
-
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
463
462
|
horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
464
463
|
pointerEvents?: "none" | "auto" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"none" | "auto" | "box-none" | "box-only" | undefined> | undefined;
|
|
464
|
+
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
465
465
|
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
466
466
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
467
467
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
@@ -634,9 +634,9 @@ declare const _default: {
|
|
|
634
634
|
exiting?: import("react-native-reanimated").EntryOrExitLayoutType;
|
|
635
635
|
} & {
|
|
636
636
|
animatedProps?: import("react-native-reanimated/lib/typescript/css/types").AddArrayPropertyType<Partial<{
|
|
637
|
-
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
638
637
|
horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
639
638
|
pointerEvents?: "none" | "auto" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"none" | "auto" | "box-none" | "box-only" | undefined> | undefined;
|
|
639
|
+
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
640
640
|
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
641
641
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
642
642
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
@@ -813,11 +813,11 @@ declare const _default: {
|
|
|
813
813
|
sharedBoundTag?: string;
|
|
814
814
|
} & import("react").RefAttributes<never>>>;
|
|
815
815
|
FlatList: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
|
|
816
|
-
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
817
816
|
horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
818
817
|
pointerEvents?: "none" | "auto" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"none" | "auto" | "box-none" | "box-only" | undefined> | undefined;
|
|
819
818
|
inverted?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
820
819
|
data: ArrayLike<unknown> | import("react-native-reanimated").SharedValue<ArrayLike<unknown> | null | undefined> | null | undefined;
|
|
820
|
+
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
821
821
|
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
822
822
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
823
823
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
@@ -1055,11 +1055,11 @@ declare const _default: {
|
|
|
1055
1055
|
exiting?: import("react-native-reanimated").EntryOrExitLayoutType;
|
|
1056
1056
|
} & {
|
|
1057
1057
|
animatedProps?: import("react-native-reanimated/lib/typescript/css/types").AddArrayPropertyType<Partial<{
|
|
1058
|
-
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
1059
1058
|
horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
1060
1059
|
pointerEvents?: "none" | "auto" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"none" | "auto" | "box-none" | "box-only" | undefined> | undefined;
|
|
1061
1060
|
inverted?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
1062
1061
|
data: ArrayLike<unknown> | import("react-native-reanimated").SharedValue<ArrayLike<unknown> | null | undefined> | null | undefined;
|
|
1062
|
+
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
1063
1063
|
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
1064
1064
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
1065
1065
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
@@ -1302,16 +1302,16 @@ declare const _default: {
|
|
|
1302
1302
|
} & import("react").RefAttributes<never>>>;
|
|
1303
1303
|
MaskedView: typeof MaskedView;
|
|
1304
1304
|
presets: {
|
|
1305
|
-
SlideFromTop: (config?: Partial<import("./types/navigator").ScreenTransitionConfig>) => import("./types/navigator").ScreenTransitionConfig;
|
|
1306
|
-
ZoomIn: (config?: Partial<import("./types/navigator").ScreenTransitionConfig>) => import("./types/navigator").ScreenTransitionConfig;
|
|
1307
|
-
SlideFromBottom: (config?: Partial<import("./types/navigator").ScreenTransitionConfig>) => import("./types/navigator").ScreenTransitionConfig;
|
|
1308
|
-
DraggableCard: (config?: Partial<import("./types/navigator").ScreenTransitionConfig>) => import("./types/navigator").ScreenTransitionConfig;
|
|
1309
|
-
ElasticCard: (config?: Partial<import("./types/navigator").ScreenTransitionConfig> & {
|
|
1305
|
+
SlideFromTop: (config?: Partial<import("./types/native-stack.navigator").ScreenTransitionConfig>) => import("./types/native-stack.navigator").ScreenTransitionConfig;
|
|
1306
|
+
ZoomIn: (config?: Partial<import("./types/native-stack.navigator").ScreenTransitionConfig>) => import("./types/native-stack.navigator").ScreenTransitionConfig;
|
|
1307
|
+
SlideFromBottom: (config?: Partial<import("./types/native-stack.navigator").ScreenTransitionConfig>) => import("./types/native-stack.navigator").ScreenTransitionConfig;
|
|
1308
|
+
DraggableCard: (config?: Partial<import("./types/native-stack.navigator").ScreenTransitionConfig>) => import("./types/native-stack.navigator").ScreenTransitionConfig;
|
|
1309
|
+
ElasticCard: (config?: Partial<import("./types/native-stack.navigator").ScreenTransitionConfig> & {
|
|
1310
1310
|
elasticFactor?: number;
|
|
1311
|
-
}) => import("./types/navigator").ScreenTransitionConfig;
|
|
1312
|
-
SharedIGImage: (config?: Partial<import("./types/navigator").ScreenTransitionConfig>) => import("./types/navigator").ScreenTransitionConfig;
|
|
1313
|
-
SharedAppleMusic: (config?: Partial<import("./types/navigator").ScreenTransitionConfig>) => import("./types/navigator").ScreenTransitionConfig;
|
|
1314
|
-
SharedXImage: (config?: Partial<import("./types/navigator").ScreenTransitionConfig>) => import("./types/navigator").ScreenTransitionConfig;
|
|
1311
|
+
}) => import("./types/native-stack.navigator").ScreenTransitionConfig;
|
|
1312
|
+
SharedIGImage: (config?: Partial<import("./types/native-stack.navigator").ScreenTransitionConfig>) => import("./types/native-stack.navigator").ScreenTransitionConfig;
|
|
1313
|
+
SharedAppleMusic: (config?: Partial<import("./types/native-stack.navigator").ScreenTransitionConfig>) => import("./types/native-stack.navigator").ScreenTransitionConfig;
|
|
1314
|
+
SharedXImage: (config?: Partial<import("./types/native-stack.navigator").ScreenTransitionConfig>) => import("./types/native-stack.navigator").ScreenTransitionConfig;
|
|
1315
1315
|
};
|
|
1316
1316
|
specs: {
|
|
1317
1317
|
DefaultSpec: import("react-native-reanimated/lib/typescript/animation/spring").SpringConfig;
|
|
@@ -1321,5 +1321,7 @@ declare const _default: {
|
|
|
1321
1321
|
export default _default;
|
|
1322
1322
|
export { useScreenAnimation } from "./hooks/animation/use-screen-animation";
|
|
1323
1323
|
export { createNativeStackNavigator } from "./integrations/native-stack/navigators/createNativeStackNavigator";
|
|
1324
|
-
export
|
|
1324
|
+
export { createBlankStackNavigator } from "./integrations/blank-stack/navigators/createBlankStackNavigator";
|
|
1325
|
+
export type { NativeStackHeaderLeftProps, NativeStackHeaderProps, NativeStackHeaderRightProps, NativeStackNavigationEventMap, NativeStackNavigationOptions, NativeStackNavigationProp, NativeStackNavigatorProps, NativeStackOptionsArgs, NativeStackScreenProps, } from "./types/native-stack.navigator";
|
|
1326
|
+
export type { BlankStackHeaderProps, BlankStackNavigationEventMap, BlankStackNavigationOptions, BlankStackNavigationProp, BlankStackNavigatorProps, BlankStackOptionsArgs, BlankStackScreenProps, } from "./types/blank-stack.navigator";
|
|
1325
1327
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAErE,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,UAAU,MAAM,uCAAuC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA0C8xD,CAAC;;;;;;;;;;;AAxC91D,wBAaE;AAEF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,0BAA0B,EAAE,MAAM,mEAAmE,CAAC;AAC/G,OAAO,EAAE,yBAAyB,EAAE,MAAM,iEAAiE,CAAC;AAE5G,YAAY,EACV,0BAA0B,EAC1B,sBAAsB,EACtB,2BAA2B,EAC3B,6BAA6B,EAC7B,4BAA4B,EAC5B,yBAAyB,EACzB,yBAAyB,EACzB,sBAAsB,EACtB,sBAAsB,GACvB,MAAM,gCAAgC,CAAC;AAExC,YAAY,EACV,qBAAqB,EACrB,4BAA4B,EAC5B,2BAA2B,EAC3B,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,GACtB,MAAM,+BAA+B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/blank-stack/components/Header.tsx"],"names":[],"mappings":"AAsHA,eAAO,MAAM,MAAM;;;CAGlB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { NavigationRoute, ParamListBase } from "@react-navigation/native";
|
|
2
|
+
import type * as React from "react";
|
|
3
|
+
interface ScreenProps {
|
|
4
|
+
routeKey: string;
|
|
5
|
+
index: number;
|
|
6
|
+
routes: NavigationRoute<ParamListBase, string>[];
|
|
7
|
+
isPreloaded: boolean;
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
freezeOnBlur?: boolean;
|
|
10
|
+
shouldFreeze?: boolean;
|
|
11
|
+
activeScreensLimit: number;
|
|
12
|
+
}
|
|
13
|
+
export declare const Screen: ({ routeKey, index, routes, isPreloaded, activeScreensLimit, children, freezeOnBlur, shouldFreeze, }: ScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=Screens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Screens.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/blank-stack/components/Screens.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC/E,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAWpC,UAAU,WAAW;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,eAAe,CAAC,aAAa,EAAE,MAAM,CAAC,EAAE,CAAC;IACjD,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,kBAAkB,EAAE,MAAM,CAAC;CAC3B;AAUD,eAAO,MAAM,MAAM,GAAI,qGASpB,WAAW,4CAuDb,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StackView.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/blank-stack/components/StackView.tsx"],"names":[],"mappings":"AAuCA,eAAO,MAAM,SAAS,iIAkErB,CAAC"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { type NavigatorTypeBagBase, type ParamListBase, type StackNavigationState, type StaticConfig, type TypedNavigator } from "@react-navigation/native";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import type { BlankStackNavigationEventMap, BlankStackNavigationOptions, BlankStackNavigationProp, BlankStackNavigatorProps } from "../../../types/blank-stack.navigator";
|
|
4
|
+
declare function BlankStackNavigator({ id, initialRouteName, children, layout, screenListeners, screenOptions, screenLayout, ...rest }: BlankStackNavigatorProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare function createBlankStackNavigator<const ParamList extends ParamListBase, const NavigatorID extends string | undefined = undefined, const TypeBag extends NavigatorTypeBagBase = {
|
|
6
|
+
ParamList: ParamList;
|
|
7
|
+
NavigatorID: NavigatorID;
|
|
8
|
+
State: StackNavigationState<ParamList>;
|
|
9
|
+
ScreenOptions: BlankStackNavigationOptions;
|
|
10
|
+
EventMap: BlankStackNavigationEventMap;
|
|
11
|
+
NavigationList: {
|
|
12
|
+
[RouteName in keyof ParamList]: BlankStackNavigationProp<ParamList, RouteName, NavigatorID>;
|
|
13
|
+
};
|
|
14
|
+
Navigator: typeof BlankStackNavigator;
|
|
15
|
+
}, const Config extends StaticConfig<TypeBag> = StaticConfig<TypeBag>>(config?: Config): TypedNavigator<TypeBag, Config>;
|
|
16
|
+
export declare const BlankStack: React.ForwardRefExoticComponent<Omit<Omit<BlankStackNavigatorProps, "id" | "children" | "layout" | "screenLayout" | "initialRouteName" | "screenListeners" | "screenOptions" | "UNSTABLE_router"> & import("@react-navigation/native").DefaultRouterOptions<string> & {
|
|
17
|
+
children: React.ReactNode;
|
|
18
|
+
layout?: ((props: {
|
|
19
|
+
state: StackNavigationState<ParamListBase>;
|
|
20
|
+
navigation: import("@react-navigation/native").NavigationHelpers<ParamListBase, {}>;
|
|
21
|
+
descriptors: Record<string, import("@react-navigation/native").Descriptor<BlankStackNavigationOptions, import("@react-navigation/native").NavigationProp<ParamListBase, string, string | undefined, StackNavigationState<ParamListBase>, BlankStackNavigationOptions, BlankStackNavigationEventMap>, import("@react-navigation/native").RouteProp<ParamListBase, string>>>;
|
|
22
|
+
children: React.ReactNode;
|
|
23
|
+
}) => React.ReactElement) | undefined;
|
|
24
|
+
screenListeners?: Partial<{
|
|
25
|
+
transitionStart: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "transitionStart", unknown>;
|
|
26
|
+
transitionEnd: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "transitionEnd", unknown>;
|
|
27
|
+
gestureCancel: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "gestureCancel", unknown>;
|
|
28
|
+
sheetDetentChange: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "sheetDetentChange", unknown>;
|
|
29
|
+
focus: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "focus", unknown>;
|
|
30
|
+
blur: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "blur", unknown>;
|
|
31
|
+
state: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "state", unknown>;
|
|
32
|
+
beforeRemove: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "beforeRemove", true>;
|
|
33
|
+
}> | ((props: {
|
|
34
|
+
route: import("@react-navigation/native").RouteProp<ParamListBase, string>;
|
|
35
|
+
navigation: BlankStackNavigationProp<ParamListBase, string, undefined>;
|
|
36
|
+
}) => Partial<{
|
|
37
|
+
transitionStart: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "transitionStart", unknown>;
|
|
38
|
+
transitionEnd: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "transitionEnd", unknown>;
|
|
39
|
+
gestureCancel: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "gestureCancel", unknown>;
|
|
40
|
+
sheetDetentChange: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "sheetDetentChange", unknown>;
|
|
41
|
+
focus: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "focus", unknown>;
|
|
42
|
+
blur: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "blur", unknown>;
|
|
43
|
+
state: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "state", unknown>;
|
|
44
|
+
beforeRemove: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "beforeRemove", true>;
|
|
45
|
+
}>) | undefined;
|
|
46
|
+
screenOptions?: BlankStackNavigationOptions | ((props: {
|
|
47
|
+
route: import("@react-navigation/native").RouteProp<ParamListBase, string>;
|
|
48
|
+
navigation: BlankStackNavigationProp<ParamListBase, string, undefined>;
|
|
49
|
+
theme: ReactNavigation.Theme;
|
|
50
|
+
}) => BlankStackNavigationOptions) | undefined;
|
|
51
|
+
screenLayout?: ((props: import("@react-navigation/native").ScreenLayoutArgs<ParamListBase, string, BlankStackNavigationOptions, BlankStackNavigationProp<ParamListBase, string, undefined>>) => React.ReactElement) | undefined;
|
|
52
|
+
UNSTABLE_router?: (<Action extends Readonly<{
|
|
53
|
+
type: string;
|
|
54
|
+
payload?: object;
|
|
55
|
+
source?: string;
|
|
56
|
+
target?: string;
|
|
57
|
+
}>>(original: import("@react-navigation/native").Router<StackNavigationState<ParamListBase>, Action>) => Partial<import("@react-navigation/native").Router<StackNavigationState<ParamListBase>, Action>>) | undefined;
|
|
58
|
+
} & {
|
|
59
|
+
id?: undefined;
|
|
60
|
+
}, "children"> & Partial<Pick<Omit<BlankStackNavigatorProps, "id" | "children" | "layout" | "screenLayout" | "initialRouteName" | "screenListeners" | "screenOptions" | "UNSTABLE_router"> & import("@react-navigation/native").DefaultRouterOptions<string> & {
|
|
61
|
+
children: React.ReactNode;
|
|
62
|
+
layout?: ((props: {
|
|
63
|
+
state: StackNavigationState<ParamListBase>;
|
|
64
|
+
navigation: import("@react-navigation/native").NavigationHelpers<ParamListBase, {}>;
|
|
65
|
+
descriptors: Record<string, import("@react-navigation/native").Descriptor<BlankStackNavigationOptions, import("@react-navigation/native").NavigationProp<ParamListBase, string, string | undefined, StackNavigationState<ParamListBase>, BlankStackNavigationOptions, BlankStackNavigationEventMap>, import("@react-navigation/native").RouteProp<ParamListBase, string>>>;
|
|
66
|
+
children: React.ReactNode;
|
|
67
|
+
}) => React.ReactElement) | undefined;
|
|
68
|
+
screenListeners?: Partial<{
|
|
69
|
+
transitionStart: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "transitionStart", unknown>;
|
|
70
|
+
transitionEnd: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "transitionEnd", unknown>;
|
|
71
|
+
gestureCancel: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "gestureCancel", unknown>;
|
|
72
|
+
sheetDetentChange: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "sheetDetentChange", unknown>;
|
|
73
|
+
focus: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "focus", unknown>;
|
|
74
|
+
blur: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "blur", unknown>;
|
|
75
|
+
state: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "state", unknown>;
|
|
76
|
+
beforeRemove: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "beforeRemove", true>;
|
|
77
|
+
}> | ((props: {
|
|
78
|
+
route: import("@react-navigation/native").RouteProp<ParamListBase, string>;
|
|
79
|
+
navigation: BlankStackNavigationProp<ParamListBase, string, undefined>;
|
|
80
|
+
}) => Partial<{
|
|
81
|
+
transitionStart: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "transitionStart", unknown>;
|
|
82
|
+
transitionEnd: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "transitionEnd", unknown>;
|
|
83
|
+
gestureCancel: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "gestureCancel", unknown>;
|
|
84
|
+
sheetDetentChange: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "sheetDetentChange", unknown>;
|
|
85
|
+
focus: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "focus", unknown>;
|
|
86
|
+
blur: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "blur", unknown>;
|
|
87
|
+
state: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "state", unknown>;
|
|
88
|
+
beforeRemove: import("@react-navigation/native").EventListenerCallback<BlankStackNavigationEventMap & import("@react-navigation/native").EventMapCore<StackNavigationState<ParamListBase>>, "beforeRemove", true>;
|
|
89
|
+
}>) | undefined;
|
|
90
|
+
screenOptions?: BlankStackNavigationOptions | ((props: {
|
|
91
|
+
route: import("@react-navigation/native").RouteProp<ParamListBase, string>;
|
|
92
|
+
navigation: BlankStackNavigationProp<ParamListBase, string, undefined>;
|
|
93
|
+
theme: ReactNavigation.Theme;
|
|
94
|
+
}) => BlankStackNavigationOptions) | undefined;
|
|
95
|
+
screenLayout?: ((props: import("@react-navigation/native").ScreenLayoutArgs<ParamListBase, string, BlankStackNavigationOptions, BlankStackNavigationProp<ParamListBase, string, undefined>>) => React.ReactElement) | undefined;
|
|
96
|
+
UNSTABLE_router?: (<Action extends Readonly<{
|
|
97
|
+
type: string;
|
|
98
|
+
payload?: object;
|
|
99
|
+
source?: string;
|
|
100
|
+
target?: string;
|
|
101
|
+
}>>(original: import("@react-navigation/native").Router<StackNavigationState<ParamListBase>, Action>) => Partial<import("@react-navigation/native").Router<StackNavigationState<ParamListBase>, Action>>) | undefined;
|
|
102
|
+
} & {
|
|
103
|
+
id?: undefined;
|
|
104
|
+
}, "children">> & React.RefAttributes<unknown>> & {
|
|
105
|
+
Screen: (props: import("expo-router").ScreenProps<BlankStackNavigationOptions, StackNavigationState<ParamListBase>, BlankStackNavigationEventMap>) => null;
|
|
106
|
+
Protected: typeof import("expo-router/build/views/Protected").Protected;
|
|
107
|
+
};
|
|
108
|
+
export {};
|
|
109
|
+
//# sourceMappingURL=createBlankStackNavigator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createBlankStackNavigator.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/blank-stack/navigators/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;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKX,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const useClosingRouteKeys: () => {
|
|
2
|
+
ref: import("react").RefObject<Set<string>>;
|
|
3
|
+
shared: import("react-native-reanimated").SharedValue<string[]>;
|
|
4
|
+
add: (key: string) => void;
|
|
5
|
+
remove: (key: string) => void;
|
|
6
|
+
clear: () => void;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=use-closing-route-keys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-closing-route-keys.d.ts","sourceRoot":"","sources":["../../../../../../../src/integrations/blank-stack/utils/with-stack-navigation/_hooks/use-closing-route-keys.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB;;;;;;CAyD/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-previous.d.ts","sourceRoot":"","sources":["../../../../../../../src/integrations/blank-stack/utils/with-stack-navigation/_hooks/use-previous.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,GAAI,CAAC,EAAG,OAAO,CAAC,KAAG,CAAC,GAAG,IAQ9C,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type Route } from "@react-navigation/native";
|
|
2
|
+
import type { BlankStackDescriptorMap } from "../../../../../types/blank-stack.navigator";
|
|
3
|
+
import type { StackNavigationContextProps } from "../_types";
|
|
4
|
+
export declare const useStackNavigationState: (props: StackNavigationContextProps) => {
|
|
5
|
+
state: {
|
|
6
|
+
routes: import("@react-navigation/native").NavigationRoute<import("@react-navigation/native").ParamListBase, string>[];
|
|
7
|
+
descriptors: BlankStackDescriptorMap;
|
|
8
|
+
};
|
|
9
|
+
handleCloseRoute: (args_0: {
|
|
10
|
+
route: Route<string>;
|
|
11
|
+
}) => void;
|
|
12
|
+
closingRouteKeys: {
|
|
13
|
+
ref: import("react").RefObject<Set<string>>;
|
|
14
|
+
shared: import("react-native-reanimated").SharedValue<string[]>;
|
|
15
|
+
add: (key: string) => void;
|
|
16
|
+
remove: (key: string) => void;
|
|
17
|
+
clear: () => void;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=use-stack-navigation-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-stack-navigation-state.d.ts","sourceRoot":"","sources":["../../../../../../../src/integrations/blank-stack/utils/with-stack-navigation/_hooks/use-stack-navigation-state.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAgB,MAAM,0BAA0B,CAAC;AAGpE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AAC1F,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,WAAW,CAAC;AAwK7D,eAAO,MAAM,uBAAuB,GAAI,OAAO,2BAA2B;;;;;;eAsEjD,KAAK,CAAC,MAAM,CAAC;;;;;;;;;CAqCrC,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { NavigationRoute, ParamListBase, Route, RouteProp, StackNavigationState } from "@react-navigation/native";
|
|
2
|
+
import type React from "react";
|
|
3
|
+
import type { SharedValue } from "react-native-reanimated";
|
|
4
|
+
import type { BlankStackDescriptor, BlankStackDescriptorMap, BlankStackNavigationHelpers, BlankStackScene } from "../../../../types/blank-stack.navigator";
|
|
5
|
+
export interface StackNavigationContextValue {
|
|
6
|
+
routes: NavigationRoute<ParamListBase, string>[];
|
|
7
|
+
descriptors: BlankStackDescriptorMap;
|
|
8
|
+
scenes: BlankStackScene[];
|
|
9
|
+
activeScreensLimit: number;
|
|
10
|
+
closingRouteKeysShared: SharedValue<string[]>;
|
|
11
|
+
handleCloseRoute: (payload: {
|
|
12
|
+
route: Route<string>;
|
|
13
|
+
}) => void;
|
|
14
|
+
FloatHeader: React.MemoExoticComponent<() => React.JSX.Element | null>;
|
|
15
|
+
focusedIndex: number;
|
|
16
|
+
}
|
|
17
|
+
export interface StackNavigationContextProps {
|
|
18
|
+
state: StackNavigationState<ParamListBase>;
|
|
19
|
+
navigation: BlankStackNavigationHelpers;
|
|
20
|
+
descriptors: BlankStackDescriptorMap;
|
|
21
|
+
describe: (route: RouteProp<ParamListBase>, placeholder: boolean) => BlankStackDescriptor;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=_types.d.ts.map
|