react-native-screen-transitions 3.6.0 → 3.7.0-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/README.md +2 -2
- package/lib/commonjs/blank-stack/components/stack-view.js +35 -39
- package/lib/commonjs/blank-stack/components/stack-view.js.map +1 -1
- package/lib/commonjs/blank-stack/navigators/create-blank-stack-navigator.js +7 -14
- package/lib/commonjs/blank-stack/navigators/create-blank-stack-navigator.js.map +1 -1
- package/lib/commonjs/component-stack/components/stack-view.js +4 -11
- package/lib/commonjs/component-stack/components/stack-view.js.map +1 -1
- package/lib/commonjs/component-stack/navigators/create-component-stack-navigator.js +1 -1
- package/lib/commonjs/native-stack/navigators/createNativeStackNavigator.js +6 -0
- package/lib/commonjs/native-stack/navigators/createNativeStackNavigator.js.map +1 -1
- package/lib/commonjs/shared/adapters/with-screen-transitions/context.js +28 -0
- package/lib/commonjs/shared/adapters/with-screen-transitions/context.js.map +1 -0
- package/lib/commonjs/shared/adapters/with-screen-transitions/index.js +69 -0
- package/lib/commonjs/shared/adapters/with-screen-transitions/index.js.map +1 -0
- package/lib/commonjs/shared/adapters/with-screen-transitions/options.js +57 -0
- package/lib/commonjs/shared/adapters/with-screen-transitions/options.js.map +1 -0
- package/lib/commonjs/shared/adapters/with-screen-transitions/stack-layout.js +143 -0
- package/lib/commonjs/shared/adapters/with-screen-transitions/stack-layout.js.map +1 -0
- package/lib/commonjs/shared/adapters/with-screen-transitions/types.js +6 -0
- package/lib/commonjs/shared/adapters/with-screen-transitions/types.js.map +1 -0
- package/lib/commonjs/shared/components/activity/helpers.js +9 -0
- package/lib/commonjs/shared/components/activity/helpers.js.map +1 -0
- package/lib/commonjs/shared/components/activity/index.js +20 -0
- package/lib/commonjs/shared/components/activity/index.js.map +1 -0
- package/lib/commonjs/shared/components/activity/variants/activity-container.js +29 -0
- package/lib/commonjs/shared/components/activity/variants/activity-container.js.map +1 -0
- package/lib/commonjs/shared/components/activity/variants/activity-screen.js +107 -0
- package/lib/commonjs/shared/components/activity/variants/activity-screen.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-measurer.js +10 -4
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-measurer.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/utils/measured-bounds.js +13 -1
- package/lib/commonjs/shared/components/create-boundary-component/utils/measured-bounds.js.map +1 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js +8 -17
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js.map +1 -1
- package/lib/commonjs/shared/components/screen-lifecycle/index.js +1 -1
- package/lib/commonjs/shared/components/screen-lifecycle/index.js.map +1 -1
- package/lib/commonjs/shared/hooks/navigation/use-navigation-helpers.js +10 -4
- package/lib/commonjs/shared/hooks/navigation/use-navigation-helpers.js.map +1 -1
- package/lib/commonjs/shared/hooks/navigation/use-stack.js +63 -6
- package/lib/commonjs/shared/hooks/navigation/use-stack.js.map +1 -1
- package/lib/commonjs/shared/index.js +8 -0
- package/lib/commonjs/shared/index.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/descriptors/descriptors.provider.js +18 -29
- package/lib/commonjs/shared/providers/screen/descriptors/descriptors.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/descriptors/index.js +6 -0
- package/lib/commonjs/shared/providers/screen/descriptors/index.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/ownership/resolve-ownership.js +2 -1
- package/lib/commonjs/shared/providers/screen/gestures/ownership/resolve-ownership.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.js +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-lifecycle.js +4 -1
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-lifecycle.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pan/use-pan-behavior.js +4 -3
- package/lib/commonjs/shared/providers/screen/gestures/pan/use-pan-behavior.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pinch/pinch-lifecycle.js +4 -1
- package/lib/commonjs/shared/providers/screen/gestures/pinch/pinch-lifecycle.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pinch/use-pinch-behavior.js +4 -3
- package/lib/commonjs/shared/providers/screen/gestures/pinch/use-pinch-behavior.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js +7 -28
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js +16 -1
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.js +2 -14
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.js.map +1 -1
- package/lib/commonjs/shared/providers/stack/direct.provider.js +4 -3
- package/lib/commonjs/shared/providers/stack/direct.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/stack/helpers/managed-stack-state/helpers/build-managed-stack-state.js +197 -0
- package/lib/commonjs/shared/providers/stack/helpers/managed-stack-state/helpers/build-managed-stack-state.js.map +1 -0
- package/lib/commonjs/shared/providers/stack/helpers/managed-stack-state/helpers/derive-managed-stack-state.js +58 -0
- package/lib/commonjs/shared/providers/stack/helpers/managed-stack-state/helpers/derive-managed-stack-state.js.map +1 -0
- package/lib/commonjs/shared/providers/stack/helpers/managed-stack-state/helpers/helpers.js +92 -0
- package/lib/commonjs/shared/providers/stack/helpers/managed-stack-state/helpers/helpers.js.map +1 -0
- package/lib/commonjs/shared/providers/stack/helpers/managed-stack-state/helpers/reconcile-managed-routes.js +118 -0
- package/lib/commonjs/shared/providers/stack/helpers/managed-stack-state/helpers/reconcile-managed-routes.js.map +1 -0
- package/lib/commonjs/shared/providers/stack/helpers/managed-stack-state/helpers/types.js +6 -0
- package/lib/commonjs/shared/providers/stack/helpers/managed-stack-state/helpers/types.js.map +1 -0
- package/lib/commonjs/shared/providers/stack/helpers/managed-stack-state/index.js +24 -0
- package/lib/commonjs/shared/providers/stack/helpers/managed-stack-state/index.js.map +1 -0
- package/lib/commonjs/shared/providers/stack/helpers/managed-stack-state/managed-stack-controller.js +131 -0
- package/lib/commonjs/shared/providers/stack/helpers/managed-stack-state/managed-stack-controller.js.map +1 -0
- package/lib/commonjs/shared/providers/stack/managed.provider.js +18 -29
- package/lib/commonjs/shared/providers/stack/managed.provider.js.map +1 -1
- package/lib/commonjs/shared/types/stack.types.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/build.js +4 -4
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/build.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/config.js +2 -1
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/config.js.map +1 -1
- package/lib/commonjs/shared/utils/create-provider.js +99 -10
- package/lib/commonjs/shared/utils/create-provider.js.map +1 -1
- package/lib/commonjs/shared/utils/navigation/resolve-scene-neighbors.js +8 -5
- package/lib/commonjs/shared/utils/navigation/resolve-scene-neighbors.js.map +1 -1
- package/lib/commonjs/shared/utils/navigation/sync-routes-with-removed.js +23 -6
- package/lib/commonjs/shared/utils/navigation/sync-routes-with-removed.js.map +1 -1
- package/lib/commonjs/shared/utils/visibility-block-offset.js +13 -0
- package/lib/commonjs/shared/utils/visibility-block-offset.js.map +1 -0
- package/lib/module/blank-stack/components/stack-view.js +36 -40
- package/lib/module/blank-stack/components/stack-view.js.map +1 -1
- package/lib/module/blank-stack/navigators/create-blank-stack-navigator.js +7 -14
- package/lib/module/blank-stack/navigators/create-blank-stack-navigator.js.map +1 -1
- package/lib/module/component-stack/components/stack-view.js +4 -11
- package/lib/module/component-stack/components/stack-view.js.map +1 -1
- package/lib/module/component-stack/navigators/create-component-stack-navigator.js +1 -1
- package/lib/module/native-stack/navigators/createNativeStackNavigator.js +6 -0
- package/lib/module/native-stack/navigators/createNativeStackNavigator.js.map +1 -1
- package/lib/module/shared/adapters/with-screen-transitions/context.js +23 -0
- package/lib/module/shared/adapters/with-screen-transitions/context.js.map +1 -0
- package/lib/module/shared/adapters/with-screen-transitions/index.js +65 -0
- package/lib/module/shared/adapters/with-screen-transitions/index.js.map +1 -0
- package/lib/module/shared/adapters/with-screen-transitions/options.js +52 -0
- package/lib/module/shared/adapters/with-screen-transitions/options.js.map +1 -0
- package/lib/module/shared/adapters/with-screen-transitions/stack-layout.js +138 -0
- package/lib/module/shared/adapters/with-screen-transitions/stack-layout.js.map +1 -0
- package/lib/module/shared/adapters/with-screen-transitions/types.js +4 -0
- package/lib/module/shared/adapters/with-screen-transitions/types.js.map +1 -0
- package/lib/module/shared/components/activity/helpers.js +5 -0
- package/lib/module/shared/components/activity/helpers.js.map +1 -0
- package/lib/module/shared/components/activity/index.js +5 -0
- package/lib/module/shared/components/activity/index.js.map +1 -0
- package/lib/module/shared/components/activity/variants/activity-container.js +24 -0
- package/lib/module/shared/components/activity/variants/activity-container.js.map +1 -0
- package/lib/module/shared/components/activity/variants/activity-screen.js +103 -0
- package/lib/module/shared/components/activity/variants/activity-screen.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/hooks/use-measurer.js +11 -5
- package/lib/module/shared/components/create-boundary-component/hooks/use-measurer.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/utils/measured-bounds.js +11 -0
- package/lib/module/shared/components/create-boundary-component/utils/measured-bounds.js.map +1 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js +8 -17
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js.map +1 -1
- package/lib/module/shared/components/screen-lifecycle/index.js +1 -1
- package/lib/module/shared/components/screen-lifecycle/index.js.map +1 -1
- package/lib/module/shared/hooks/navigation/use-navigation-helpers.js +11 -5
- package/lib/module/shared/hooks/navigation/use-navigation-helpers.js.map +1 -1
- package/lib/module/shared/hooks/navigation/use-stack.js +63 -6
- package/lib/module/shared/hooks/navigation/use-stack.js.map +1 -1
- package/lib/module/shared/index.js +3 -0
- package/lib/module/shared/index.js.map +1 -1
- package/lib/module/shared/providers/screen/descriptors/descriptors.provider.js +17 -29
- package/lib/module/shared/providers/screen/descriptors/descriptors.provider.js.map +1 -1
- package/lib/module/shared/providers/screen/descriptors/index.js +1 -1
- package/lib/module/shared/providers/screen/descriptors/index.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/ownership/resolve-ownership.js +2 -1
- package/lib/module/shared/providers/screen/gestures/ownership/resolve-ownership.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.js +2 -2
- package/lib/module/shared/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pan/pan-lifecycle.js +5 -2
- package/lib/module/shared/providers/screen/gestures/pan/pan-lifecycle.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pan/use-pan-behavior.js +4 -3
- package/lib/module/shared/providers/screen/gestures/pan/use-pan-behavior.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pinch/pinch-lifecycle.js +5 -2
- package/lib/module/shared/providers/screen/gestures/pinch/pinch-lifecycle.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pinch/use-pinch-behavior.js +4 -3
- package/lib/module/shared/providers/screen/gestures/pinch/use-pinch-behavior.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js +7 -28
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js +16 -1
- package/lib/module/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.js +3 -15
- package/lib/module/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.js.map +1 -1
- package/lib/module/shared/providers/stack/direct.provider.js +5 -4
- package/lib/module/shared/providers/stack/direct.provider.js.map +1 -1
- package/lib/module/shared/providers/stack/helpers/managed-stack-state/helpers/build-managed-stack-state.js +192 -0
- package/lib/module/shared/providers/stack/helpers/managed-stack-state/helpers/build-managed-stack-state.js.map +1 -0
- package/lib/module/shared/providers/stack/helpers/managed-stack-state/helpers/derive-managed-stack-state.js +53 -0
- package/lib/module/shared/providers/stack/helpers/managed-stack-state/helpers/derive-managed-stack-state.js.map +1 -0
- package/lib/module/shared/providers/stack/helpers/managed-stack-state/helpers/helpers.js +78 -0
- package/lib/module/shared/providers/stack/helpers/managed-stack-state/helpers/helpers.js.map +1 -0
- package/lib/module/shared/providers/stack/helpers/managed-stack-state/helpers/reconcile-managed-routes.js +113 -0
- package/lib/module/shared/providers/stack/helpers/managed-stack-state/helpers/reconcile-managed-routes.js.map +1 -0
- package/lib/module/shared/providers/stack/helpers/managed-stack-state/helpers/types.js +4 -0
- package/lib/module/shared/providers/stack/helpers/managed-stack-state/helpers/types.js.map +1 -0
- package/lib/module/shared/providers/stack/helpers/managed-stack-state/index.js +19 -0
- package/lib/module/shared/providers/stack/helpers/managed-stack-state/index.js.map +1 -0
- package/lib/module/shared/providers/stack/helpers/managed-stack-state/managed-stack-controller.js +126 -0
- package/lib/module/shared/providers/stack/helpers/managed-stack-state/managed-stack-controller.js.map +1 -0
- package/lib/module/shared/providers/stack/managed.provider.js +19 -30
- package/lib/module/shared/providers/stack/managed.provider.js.map +1 -1
- package/lib/module/shared/types/stack.types.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/reveal/build.js +5 -5
- package/lib/module/shared/utils/bounds/navigation/reveal/build.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/reveal/config.js +1 -0
- package/lib/module/shared/utils/bounds/navigation/reveal/config.js.map +1 -1
- package/lib/module/shared/utils/create-provider.js +100 -11
- package/lib/module/shared/utils/create-provider.js.map +1 -1
- package/lib/module/shared/utils/navigation/resolve-scene-neighbors.js +8 -5
- package/lib/module/shared/utils/navigation/resolve-scene-neighbors.js.map +1 -1
- package/lib/module/shared/utils/navigation/sync-routes-with-removed.js +23 -6
- package/lib/module/shared/utils/navigation/sync-routes-with-removed.js.map +1 -1
- package/lib/module/shared/utils/visibility-block-offset.js +8 -0
- package/lib/module/shared/utils/visibility-block-offset.js.map +1 -0
- package/lib/typescript/blank-stack/components/stack-view.d.ts.map +1 -1
- package/lib/typescript/blank-stack/index.d.ts +1 -1
- package/lib/typescript/blank-stack/index.d.ts.map +1 -1
- package/lib/typescript/blank-stack/navigators/create-blank-stack-navigator.d.ts +4 -6
- package/lib/typescript/blank-stack/navigators/create-blank-stack-navigator.d.ts.map +1 -1
- package/lib/typescript/blank-stack/types.d.ts +41 -29
- package/lib/typescript/blank-stack/types.d.ts.map +1 -1
- package/lib/typescript/component-stack/components/stack-view.d.ts.map +1 -1
- package/lib/typescript/component-stack/navigators/create-component-stack-navigator.d.ts +1 -1
- package/lib/typescript/native-stack/navigators/createNativeStackNavigator.d.ts +5 -0
- package/lib/typescript/native-stack/navigators/createNativeStackNavigator.d.ts.map +1 -1
- package/lib/typescript/native-stack/types.d.ts +25 -0
- package/lib/typescript/native-stack/types.d.ts.map +1 -1
- package/lib/typescript/shared/adapters/with-screen-transitions/context.d.ts +15 -0
- package/lib/typescript/shared/adapters/with-screen-transitions/context.d.ts.map +1 -0
- package/lib/typescript/shared/adapters/with-screen-transitions/index.d.ts +10 -0
- package/lib/typescript/shared/adapters/with-screen-transitions/index.d.ts.map +1 -0
- package/lib/typescript/shared/adapters/with-screen-transitions/options.d.ts +9 -0
- package/lib/typescript/shared/adapters/with-screen-transitions/options.d.ts.map +1 -0
- package/lib/typescript/shared/adapters/with-screen-transitions/stack-layout.d.ts +12 -0
- package/lib/typescript/shared/adapters/with-screen-transitions/stack-layout.d.ts.map +1 -0
- package/lib/typescript/shared/adapters/with-screen-transitions/types.d.ts +24 -0
- package/lib/typescript/shared/adapters/with-screen-transitions/types.d.ts.map +1 -0
- package/lib/typescript/shared/components/activity/helpers.d.ts +4 -0
- package/lib/typescript/shared/components/activity/helpers.d.ts.map +1 -0
- package/lib/typescript/shared/components/activity/index.d.ts +3 -0
- package/lib/typescript/shared/components/activity/index.d.ts.map +1 -0
- package/lib/typescript/shared/components/activity/variants/activity-container.d.ts +6 -0
- package/lib/typescript/shared/components/activity/variants/activity-container.d.ts.map +1 -0
- package/lib/typescript/shared/components/activity/variants/activity-screen.d.ts +13 -0
- package/lib/typescript/shared/components/activity/variants/activity-screen.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-measurer.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/index.d.ts +2 -2
- package/lib/typescript/shared/components/create-boundary-component/utils/measured-bounds.d.ts +1 -0
- package/lib/typescript/shared/components/create-boundary-component/utils/measured-bounds.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition-intent.d.ts +1 -2
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition-intent.d.ts.map +1 -1
- package/lib/typescript/shared/hooks/navigation/use-navigation-helpers.d.ts +1 -0
- package/lib/typescript/shared/hooks/navigation/use-navigation-helpers.d.ts.map +1 -1
- package/lib/typescript/shared/hooks/navigation/use-stack.d.ts +13 -1
- package/lib/typescript/shared/hooks/navigation/use-stack.d.ts.map +1 -1
- package/lib/typescript/shared/index.d.ts +15 -11
- package/lib/typescript/shared/index.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/descriptors/descriptors.provider.d.ts +11 -3
- package/lib/typescript/shared/providers/screen/descriptors/descriptors.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/descriptors/index.d.ts +1 -1
- package/lib/typescript/shared/providers/screen/descriptors/index.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/ownership/resolve-ownership.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pan/pan-lifecycle.d.ts +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pan/pan-lifecycle.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pan/use-pan-behavior.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pinch/pinch-lifecycle.d.ts +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pinch/pinch-lifecycle.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pinch/use-pinch-behavior.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/index.d.ts +1 -2
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/index.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts +3 -1
- package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.d.ts.map +1 -1
- package/lib/typescript/shared/providers/stack/direct.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/stack/helpers/managed-stack-state/helpers/build-managed-stack-state.d.ts +13 -0
- package/lib/typescript/shared/providers/stack/helpers/managed-stack-state/helpers/build-managed-stack-state.d.ts.map +1 -0
- package/lib/typescript/shared/providers/stack/helpers/managed-stack-state/helpers/derive-managed-stack-state.d.ts +12 -0
- package/lib/typescript/shared/providers/stack/helpers/managed-stack-state/helpers/derive-managed-stack-state.d.ts.map +1 -0
- package/lib/typescript/shared/providers/stack/helpers/managed-stack-state/helpers/helpers.d.ts +13 -0
- package/lib/typescript/shared/providers/stack/helpers/managed-stack-state/helpers/helpers.d.ts.map +1 -0
- package/lib/typescript/shared/providers/stack/helpers/managed-stack-state/helpers/reconcile-managed-routes.d.ts +12 -0
- package/lib/typescript/shared/providers/stack/helpers/managed-stack-state/helpers/reconcile-managed-routes.d.ts.map +1 -0
- package/lib/typescript/shared/providers/stack/helpers/managed-stack-state/helpers/types.d.ts +40 -0
- package/lib/typescript/shared/providers/stack/helpers/managed-stack-state/helpers/types.d.ts.map +1 -0
- package/lib/typescript/shared/providers/stack/helpers/managed-stack-state/index.d.ts +12 -0
- package/lib/typescript/shared/providers/stack/helpers/managed-stack-state/index.d.ts.map +1 -0
- package/lib/typescript/shared/providers/stack/helpers/managed-stack-state/managed-stack-controller.d.ts +13 -0
- package/lib/typescript/shared/providers/stack/helpers/managed-stack-state/managed-stack-controller.d.ts.map +1 -0
- package/lib/typescript/shared/providers/stack/managed.provider.d.ts.map +1 -1
- package/lib/typescript/shared/types/bounds.types.d.ts +19 -0
- package/lib/typescript/shared/types/bounds.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/index.d.ts +2 -2
- package/lib/typescript/shared/types/index.d.ts.map +1 -1
- package/lib/typescript/shared/types/providers/managed-stack.types.d.ts +3 -9
- package/lib/typescript/shared/types/providers/managed-stack.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/screen.types.d.ts +24 -0
- package/lib/typescript/shared/types/screen.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/stack.types.d.ts +7 -0
- package/lib/typescript/shared/types/stack.types.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/reveal/build.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/reveal/config.d.ts +1 -0
- package/lib/typescript/shared/utils/bounds/navigation/reveal/config.d.ts.map +1 -1
- package/lib/typescript/shared/utils/create-provider.d.ts +17 -3
- package/lib/typescript/shared/utils/create-provider.d.ts.map +1 -1
- package/lib/typescript/shared/utils/navigation/resolve-scene-neighbors.d.ts +2 -1
- package/lib/typescript/shared/utils/navigation/resolve-scene-neighbors.d.ts.map +1 -1
- package/lib/typescript/shared/utils/navigation/sync-routes-with-removed.d.ts +2 -1
- package/lib/typescript/shared/utils/navigation/sync-routes-with-removed.d.ts.map +1 -1
- package/lib/typescript/shared/utils/visibility-block-offset.d.ts +2 -0
- package/lib/typescript/shared/utils/visibility-block-offset.d.ts.map +1 -0
- package/package.json +11 -1
- package/src/blank-stack/components/stack-view.tsx +54 -48
- package/src/blank-stack/index.ts +1 -0
- package/src/blank-stack/navigators/create-blank-stack-navigator.tsx +7 -15
- package/src/blank-stack/types.ts +44 -29
- package/src/component-stack/components/stack-view.tsx +4 -11
- package/src/component-stack/navigators/create-component-stack-navigator.tsx +1 -1
- package/src/native-stack/navigators/createNativeStackNavigator.tsx +5 -0
- package/src/native-stack/types.ts +25 -0
- package/src/shared/adapters/with-screen-transitions/context.tsx +42 -0
- package/src/shared/adapters/with-screen-transitions/index.tsx +150 -0
- package/src/shared/adapters/with-screen-transitions/options.ts +101 -0
- package/src/shared/adapters/with-screen-transitions/stack-layout.tsx +233 -0
- package/src/shared/adapters/with-screen-transitions/types.ts +28 -0
- package/src/shared/components/activity/helpers.ts +8 -0
- package/src/shared/components/activity/index.tsx +2 -0
- package/src/shared/components/activity/variants/activity-container.tsx +25 -0
- package/src/shared/components/activity/variants/activity-screen.tsx +133 -0
- package/src/shared/components/create-boundary-component/hooks/use-measurer.ts +23 -4
- package/src/shared/components/create-boundary-component/utils/measured-bounds.ts +15 -0
- package/src/shared/components/screen-lifecycle/hooks/use-close-transition-intent.ts +9 -26
- package/src/shared/components/screen-lifecycle/index.tsx +1 -1
- package/src/shared/hooks/navigation/use-navigation-helpers.ts +9 -3
- package/src/shared/hooks/navigation/use-stack.tsx +115 -6
- package/src/shared/index.ts +5 -0
- package/src/shared/providers/screen/descriptors/descriptors.provider.tsx +31 -31
- package/src/shared/providers/screen/descriptors/index.tsx +1 -0
- package/src/shared/providers/screen/gestures/ownership/resolve-ownership.ts +2 -1
- package/src/shared/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.ts +2 -2
- package/src/shared/providers/screen/gestures/pan/pan-lifecycle.ts +7 -2
- package/src/shared/providers/screen/gestures/pan/use-pan-behavior.ts +10 -2
- package/src/shared/providers/screen/gestures/pinch/pinch-lifecycle.ts +7 -2
- package/src/shared/providers/screen/gestures/pinch/use-pinch-behavior.ts +8 -3
- package/src/shared/providers/screen/styles/helpers/resolve-slot-styles/index.ts +12 -53
- package/src/shared/providers/screen/styles/hooks/use-maybe-block-visibility.tsx +17 -1
- package/src/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.tsx +3 -16
- package/src/shared/providers/stack/direct.provider.tsx +13 -4
- package/src/shared/providers/stack/helpers/managed-stack-state/helpers/build-managed-stack-state.ts +365 -0
- package/src/shared/providers/stack/helpers/managed-stack-state/helpers/derive-managed-stack-state.ts +121 -0
- package/src/shared/providers/stack/helpers/managed-stack-state/helpers/helpers.ts +158 -0
- package/src/shared/providers/stack/helpers/managed-stack-state/helpers/reconcile-managed-routes.ts +188 -0
- package/src/shared/providers/stack/helpers/managed-stack-state/helpers/types.ts +57 -0
- package/src/shared/providers/stack/helpers/managed-stack-state/index.ts +40 -0
- package/src/shared/providers/stack/helpers/managed-stack-state/managed-stack-controller.ts +160 -0
- package/src/shared/providers/stack/managed.provider.tsx +23 -39
- package/src/shared/types/bounds.types.ts +19 -0
- package/src/shared/types/index.ts +3 -0
- package/src/shared/types/providers/managed-stack.types.ts +6 -8
- package/src/shared/types/screen.types.ts +25 -0
- package/src/shared/types/stack.types.ts +11 -0
- package/src/shared/utils/bounds/navigation/reveal/build.ts +10 -6
- package/src/shared/utils/bounds/navigation/reveal/config.ts +1 -0
- package/src/shared/utils/create-provider.tsx +183 -8
- package/src/shared/utils/navigation/resolve-scene-neighbors.ts +9 -4
- package/src/shared/utils/navigation/sync-routes-with-removed.ts +38 -7
- package/src/shared/utils/visibility-block-offset.ts +4 -0
- package/lib/commonjs/blank-stack/components/stack-view.native.js +0 -64
- package/lib/commonjs/blank-stack/components/stack-view.native.js.map +0 -1
- package/lib/commonjs/shared/components/native-screen-container.js +0 -42
- package/lib/commonjs/shared/components/native-screen-container.js.map +0 -1
- package/lib/commonjs/shared/components/native-screen.js +0 -125
- package/lib/commonjs/shared/components/native-screen.js.map +0 -1
- package/lib/commonjs/shared/providers/stack/helpers/use-local-routes/helpers/align-routes-with-latest.js +0 -51
- package/lib/commonjs/shared/providers/stack/helpers/use-local-routes/helpers/align-routes-with-latest.js.map +0 -1
- package/lib/commonjs/shared/providers/stack/helpers/use-local-routes/helpers/are-descriptors-equal.js +0 -15
- package/lib/commonjs/shared/providers/stack/helpers/use-local-routes/helpers/are-descriptors-equal.js.map +0 -1
- package/lib/commonjs/shared/providers/stack/helpers/use-local-routes/helpers/have-same-route-keys.js +0 -14
- package/lib/commonjs/shared/providers/stack/helpers/use-local-routes/helpers/have-same-route-keys.js.map +0 -1
- package/lib/commonjs/shared/providers/stack/helpers/use-local-routes/helpers/routes-are-identical.js +0 -13
- package/lib/commonjs/shared/providers/stack/helpers/use-local-routes/helpers/routes-are-identical.js.map +0 -1
- package/lib/commonjs/shared/providers/stack/helpers/use-local-routes/index.js +0 -101
- package/lib/commonjs/shared/providers/stack/helpers/use-local-routes/index.js.map +0 -1
- package/lib/module/blank-stack/components/stack-view.native.js +0 -60
- package/lib/module/blank-stack/components/stack-view.native.js.map +0 -1
- package/lib/module/shared/components/native-screen-container.js +0 -37
- package/lib/module/shared/components/native-screen-container.js.map +0 -1
- package/lib/module/shared/components/native-screen.js +0 -119
- package/lib/module/shared/components/native-screen.js.map +0 -1
- package/lib/module/shared/providers/stack/helpers/use-local-routes/helpers/align-routes-with-latest.js +0 -47
- package/lib/module/shared/providers/stack/helpers/use-local-routes/helpers/align-routes-with-latest.js.map +0 -1
- package/lib/module/shared/providers/stack/helpers/use-local-routes/helpers/are-descriptors-equal.js +0 -10
- package/lib/module/shared/providers/stack/helpers/use-local-routes/helpers/are-descriptors-equal.js.map +0 -1
- package/lib/module/shared/providers/stack/helpers/use-local-routes/helpers/have-same-route-keys.js +0 -9
- package/lib/module/shared/providers/stack/helpers/use-local-routes/helpers/have-same-route-keys.js.map +0 -1
- package/lib/module/shared/providers/stack/helpers/use-local-routes/helpers/routes-are-identical.js +0 -8
- package/lib/module/shared/providers/stack/helpers/use-local-routes/helpers/routes-are-identical.js.map +0 -1
- package/lib/module/shared/providers/stack/helpers/use-local-routes/index.js +0 -95
- package/lib/module/shared/providers/stack/helpers/use-local-routes/index.js.map +0 -1
- package/lib/typescript/blank-stack/components/stack-view.native.d.ts +0 -3
- package/lib/typescript/blank-stack/components/stack-view.native.d.ts.map +0 -1
- package/lib/typescript/shared/components/native-screen-container.d.ts +0 -6
- package/lib/typescript/shared/components/native-screen-container.d.ts.map +0 -1
- package/lib/typescript/shared/components/native-screen.d.ts +0 -12
- package/lib/typescript/shared/components/native-screen.d.ts.map +0 -1
- package/lib/typescript/shared/providers/stack/helpers/use-local-routes/helpers/align-routes-with-latest.d.ts +0 -10
- package/lib/typescript/shared/providers/stack/helpers/use-local-routes/helpers/align-routes-with-latest.d.ts.map +0 -1
- package/lib/typescript/shared/providers/stack/helpers/use-local-routes/helpers/are-descriptors-equal.d.ts +0 -2
- package/lib/typescript/shared/providers/stack/helpers/use-local-routes/helpers/are-descriptors-equal.d.ts.map +0 -1
- package/lib/typescript/shared/providers/stack/helpers/use-local-routes/helpers/have-same-route-keys.d.ts +0 -3
- package/lib/typescript/shared/providers/stack/helpers/use-local-routes/helpers/have-same-route-keys.d.ts.map +0 -1
- package/lib/typescript/shared/providers/stack/helpers/use-local-routes/helpers/routes-are-identical.d.ts +0 -3
- package/lib/typescript/shared/providers/stack/helpers/use-local-routes/helpers/routes-are-identical.d.ts.map +0 -1
- package/lib/typescript/shared/providers/stack/helpers/use-local-routes/index.d.ts +0 -19
- package/lib/typescript/shared/providers/stack/helpers/use-local-routes/index.d.ts.map +0 -1
- package/src/blank-stack/components/stack-view.native.tsx +0 -74
- package/src/shared/components/native-screen-container.tsx +0 -33
- package/src/shared/components/native-screen.tsx +0 -176
- package/src/shared/providers/stack/helpers/use-local-routes/helpers/align-routes-with-latest.ts +0 -65
- package/src/shared/providers/stack/helpers/use-local-routes/helpers/are-descriptors-equal.ts +0 -15
- package/src/shared/providers/stack/helpers/use-local-routes/helpers/have-same-route-keys.ts +0 -12
- package/src/shared/providers/stack/helpers/use-local-routes/helpers/routes-are-identical.ts +0 -11
- package/src/shared/providers/stack/helpers/use-local-routes/index.ts +0 -147
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { BaseStackDescriptor, BaseStackScene } from "../../types";
|
|
2
|
+
export type ScreenTransitionsAdapterScene = BaseStackScene<BaseStackDescriptor> & {
|
|
3
|
+
previousDescriptor?: BaseStackDescriptor;
|
|
4
|
+
nextDescriptor?: BaseStackDescriptor;
|
|
5
|
+
};
|
|
6
|
+
export interface ScreenTransitionsAdapterContextValue {
|
|
7
|
+
routeIndexByKey: ReadonlyMap<string, number>;
|
|
8
|
+
scenes: ScreenTransitionsAdapterScene[];
|
|
9
|
+
}
|
|
10
|
+
export declare function ScreenTransitionsAdapterProvider({ children, value, }: {
|
|
11
|
+
children: React.ReactNode;
|
|
12
|
+
value: ScreenTransitionsAdapterContextValue;
|
|
13
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare function useScreenTransitionsAdapterContext(): ScreenTransitionsAdapterContextValue;
|
|
15
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../src/shared/adapters/with-screen-transitions/context.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEvE,MAAM,MAAM,6BAA6B,GACxC,cAAc,CAAC,mBAAmB,CAAC,GAAG;IACrC,kBAAkB,CAAC,EAAE,mBAAmB,CAAC;IACzC,cAAc,CAAC,EAAE,mBAAmB,CAAC;CACrC,CAAC;AAEH,MAAM,WAAW,oCAAoC;IACpD,eAAe,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7C,MAAM,EAAE,6BAA6B,EAAE,CAAC;CACxC;AAOD,wBAAgB,gCAAgC,CAAC,EAChD,QAAQ,EACR,KAAK,GACL,EAAE;IACF,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,oCAAoC,CAAC;CAC5C,2CAMA;AAED,wBAAgB,kCAAkC,yCAQjD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { NavigatorTypeBagBase, TypedNavigator } from "@react-navigation/native";
|
|
2
|
+
import type { NativeStackAdapterOptions } from "./options";
|
|
3
|
+
import type { NavigatorWithScreenTransitions } from "./types";
|
|
4
|
+
export type { NativeStackAdapterOptions } from "./options";
|
|
5
|
+
type ScreenTransitionsNavigatorTypeBag<TBag extends NavigatorTypeBagBase> = Omit<TBag, "ScreenOptions"> & {
|
|
6
|
+
ScreenOptions: NativeStackAdapterOptions<TBag["ScreenOptions"]>;
|
|
7
|
+
};
|
|
8
|
+
export declare function withScreenTransitions<TBag extends NavigatorTypeBagBase, TConfig>(navigator: TypedNavigator<TBag, TConfig>): TypedNavigator<ScreenTransitionsNavigatorTypeBag<TBag>, TConfig>;
|
|
9
|
+
export declare function withScreenTransitions<TNavigator extends NavigatorWithScreenTransitions>(navigator: TNavigator): TNavigator;
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/adapters/with-screen-transitions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,oBAAoB,EACpB,cAAc,EACd,MAAM,0BAA0B,CAAC;AAUlC,OAAO,KAAK,EAEX,yBAAyB,EACzB,MAAM,WAAW,CAAC;AAMnB,OAAO,KAAK,EAGX,8BAA8B,EAG9B,MAAM,SAAS,CAAC;AAEjB,YAAY,EAAE,yBAAyB,EAAE,MAAM,WAAW,CAAC;AAQ3D,KAAK,iCAAiC,CAAC,IAAI,SAAS,oBAAoB,IACvE,IAAI,CAAC,IAAI,EAAE,eAAe,CAAC,GAAG;IAC7B,aAAa,EAAE,yBAAyB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;CAChE,CAAC;AAuCH,wBAAgB,qBAAqB,CACpC,IAAI,SAAS,oBAAoB,EACjC,OAAO,EAEP,SAAS,EAAE,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,GACtC,cAAc,CAAC,iCAAiC,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,CAAC;AACpE,wBAAgB,qBAAqB,CACpC,UAAU,SAAS,8BAA8B,EAChD,SAAS,EAAE,UAAU,GAAG,UAAU,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ScreenTransitionConfig } from "../../types";
|
|
2
|
+
export type AdapterDescriptorOptions = ScreenTransitionConfig & {
|
|
3
|
+
enableTransitions?: boolean;
|
|
4
|
+
};
|
|
5
|
+
export type NativeStackAdapterOptions<TNativeOptions extends object = Record<string, unknown>> = Omit<TNativeOptions, keyof AdapterDescriptorOptions> & AdapterDescriptorOptions;
|
|
6
|
+
export type NativeStackAdapterOptionInput = Record<string, unknown> | ((...args: any[]) => Record<string, unknown> | undefined);
|
|
7
|
+
export declare function adaptNativeStackTransitionOptions<TOptions extends NativeStackAdapterOptionInput | undefined>(options: TOptions): TOptions;
|
|
8
|
+
export declare function resolveAdapterTransitionOptions<TOptions extends AdapterDescriptorOptions>(options: TOptions): TOptions & ScreenTransitionConfig;
|
|
9
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../../src/shared/adapters/with-screen-transitions/options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAS1D,MAAM,MAAM,wBAAwB,GAAG,sBAAsB,GAAG;IAC/D,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,yBAAyB,CACpC,cAAc,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IACpD,IAAI,CAAC,cAAc,EAAE,MAAM,wBAAwB,CAAC,GACvD,wBAAwB,CAAC;AAoB1B,MAAM,MAAM,6BAA6B,GACtC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACvB,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC,CAAC;AAM7D,wBAAgB,iCAAiC,CAChD,QAAQ,SAAS,6BAA6B,GAAG,SAAS,EACzD,OAAO,EAAE,QAAQ,GAAG,QAAQ,CA6B7B;AAED,wBAAgB,+BAA+B,CAC9C,QAAQ,SAAS,wBAAwB,EACxC,OAAO,EAAE,QAAQ,GAAG,QAAQ,GAAG,sBAAsB,CAqBtD"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { NavigatorLayout, NavigatorLayoutArgs, ScreenLayout, ScreenLayoutArgs } from "./types";
|
|
2
|
+
type ScreenTransitionsStackContentProps = {
|
|
3
|
+
layout?: NavigatorLayout;
|
|
4
|
+
layoutArgs: NavigatorLayoutArgs;
|
|
5
|
+
};
|
|
6
|
+
export declare const ScreenTransitionsStackLayout: import("react").FC<ScreenTransitionsStackContentProps & import("../../providers/stack/core.provider").StackCoreConfig>;
|
|
7
|
+
export declare function ScreenTransitionsScreenLayout({ screenLayout, screenLayoutArgs, }: {
|
|
8
|
+
screenLayout?: ScreenLayout;
|
|
9
|
+
screenLayoutArgs: ScreenLayoutArgs;
|
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=stack-layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stack-layout.d.ts","sourceRoot":"","sources":["../../../../../src/shared/adapters/with-screen-transitions/stack-layout.tsx"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EACX,eAAe,EACf,mBAAmB,EACnB,YAAY,EACZ,gBAAgB,EAChB,MAAM,SAAS,CAAC;AAyGjB,KAAK,kCAAkC,GAAG;IACzC,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,UAAU,EAAE,mBAAmB,CAAC;CAChC,CAAC;AAyDF,eAAO,MAAM,4BAA4B,wHAGxC,CAAC;AAEF,wBAAgB,6BAA6B,CAAC,EAC7C,YAAY,EACZ,gBAAgB,GAChB,EAAE;IACF,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,gBAAgB,EAAE,gBAAgB,CAAC;CACnC,2CAsBA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { ComponentType, ReactNode } from "react";
|
|
2
|
+
export type NavigatorLayoutArgs = {
|
|
3
|
+
state: any;
|
|
4
|
+
navigation: any;
|
|
5
|
+
descriptors: Record<string, any>;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
};
|
|
8
|
+
export type NavigatorLayout = (props: NavigatorLayoutArgs) => React.ReactElement;
|
|
9
|
+
export type ScreenLayoutArgs = {
|
|
10
|
+
route: {
|
|
11
|
+
key: string;
|
|
12
|
+
};
|
|
13
|
+
navigation: any;
|
|
14
|
+
options: any;
|
|
15
|
+
theme: any;
|
|
16
|
+
children: ReactNode;
|
|
17
|
+
};
|
|
18
|
+
export type ScreenLayout = (props: ScreenLayoutArgs) => React.ReactElement;
|
|
19
|
+
export type NavigatorWithScreenTransitions = {
|
|
20
|
+
Navigator: ComponentType<any>;
|
|
21
|
+
Screen: unknown;
|
|
22
|
+
Group: unknown;
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/adapters/with-screen-transitions/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,MAAM,MAAM,mBAAmB,GAAG;IACjC,KAAK,EAAE,GAAG,CAAC;IACX,UAAU,EAAE,GAAG,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjC,QAAQ,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,CAC7B,KAAK,EAAE,mBAAmB,KACtB,KAAK,CAAC,YAAY,CAAC;AAExB,MAAM,MAAM,gBAAgB,GAAG;IAC9B,KAAK,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IACvB,UAAU,EAAE,GAAG,CAAC;IAChB,OAAO,EAAE,GAAG,CAAC;IACb,KAAK,EAAE,GAAG,CAAC;IACX,QAAQ,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,CAAC,KAAK,EAAE,gBAAgB,KAAK,KAAK,CAAC,YAAY,CAAC;AAE3E,MAAM,MAAM,8BAA8B,GAAG;IAC5C,SAAS,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAC9B,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;CACf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/activity/helpers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEjE,YAAY,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEjE,eAAO,MAAM,yBAAyB,EAAE,gBAE7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/activity/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"activity-container.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/activity/variants/activity-container.tsx"],"names":[],"mappings":"AAMA,UAAU,KAAK;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED,eAAO,MAAM,iBAAiB,GAAI,cAAc,KAAK,4CAQpD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
import type { StackSceneActivity } from "../../../types/stack.types";
|
|
3
|
+
import { type InactiveBehavior } from "../helpers";
|
|
4
|
+
interface ActivityScreenProps {
|
|
5
|
+
activity: StackSceneActivity;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
inactiveBehavior?: InactiveBehavior;
|
|
8
|
+
paintDriverRouteKey?: string;
|
|
9
|
+
hasNestedState?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const ActivityScreen: React.MemoExoticComponent<({ activity, children, inactiveBehavior, paintDriverRouteKey, hasNestedState, }: ActivityScreenProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=activity-screen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"activity-screen.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/activity/variants/activity-screen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AASpC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAA6B,KAAK,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAiB9E,UAAU,mBAAmB;IAC5B,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,cAAc,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,eAAO,MAAM,cAAc,6GAMxB,mBAAmB,oDAqFpB,CAAC"}
|
package/lib/typescript/shared/components/create-boundary-component/hooks/use-measurer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-measurer.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-measurer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"use-measurer.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-measurer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AASvE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAOhD,UAAU,iBAAiB;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,UAAU,CAAC;IAC3B,mBAAmB,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;CACvC;AAED,eAAO,MAAM,WAAW,GAAI,8FAQzB,iBAAiB,KAAG,eAkGtB,CAAC"}
|
|
@@ -35,13 +35,13 @@ export declare const Boundary: {
|
|
|
35
35
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
36
36
|
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"auto" | "none" | "box-none" | "box-only" | undefined> | undefined;
|
|
37
37
|
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
38
|
+
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
38
39
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
39
40
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
40
41
|
onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
|
|
41
42
|
removeClippedSubviews?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
42
43
|
testID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
43
44
|
nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
44
|
-
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
45
45
|
collapsableChildren?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
46
46
|
onBlur?: ((e: import("react-native").BlurEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").BlurEvent) => void) | null | undefined> | null | undefined;
|
|
47
47
|
onFocus?: ((e: import("react-native").FocusEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").FocusEvent) => void) | null | undefined> | null | undefined;
|
|
@@ -138,13 +138,13 @@ export declare const Boundary: {
|
|
|
138
138
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
139
139
|
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"auto" | "none" | "box-none" | "box-only" | undefined> | undefined;
|
|
140
140
|
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
141
|
+
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
141
142
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
142
143
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
143
144
|
onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
|
|
144
145
|
removeClippedSubviews?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
145
146
|
testID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
146
147
|
nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
147
|
-
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
148
148
|
collapsableChildren?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
149
149
|
onBlur?: ((e: import("react-native").BlurEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").BlurEvent) => void) | null | undefined> | null | undefined;
|
|
150
150
|
onFocus?: ((e: import("react-native").FocusEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").FocusEvent) => void) | null | undefined> | null | undefined;
|
package/lib/typescript/shared/components/create-boundary-component/utils/measured-bounds.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type { View } from "react-native";
|
|
|
2
2
|
import { type AnimatedRef, type MeasuredDimensions } from "react-native-reanimated";
|
|
3
3
|
import type { ScrollGestureState } from "../../../types/gesture.types";
|
|
4
4
|
export declare const adjustedMeasuredBoundsForOverscrollDeltas: (measured: MeasuredDimensions, scrollState: ScrollGestureState | null) => MeasuredDimensions;
|
|
5
|
+
export declare const applyVisibilityBlockOffset: (measured: MeasuredDimensions, offset: number) => MeasuredDimensions;
|
|
5
6
|
export declare const isMeasurementInViewport: (measured: MeasuredDimensions, viewportWidth: number, viewportHeight: number) => boolean;
|
|
6
7
|
export declare const measureWithOverscrollAwareness: (ref: AnimatedRef<View>, scrollState: ScrollGestureState | null) => MeasuredDimensions | null;
|
|
7
8
|
//# sourceMappingURL=measured-bounds.d.ts.map
|
package/lib/typescript/shared/components/create-boundary-component/utils/measured-bounds.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"measured-bounds.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/utils/measured-bounds.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EACN,KAAK,WAAW,EAChB,KAAK,kBAAkB,EAEvB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAEX,kBAAkB,EAClB,MAAM,8BAA8B,CAAC;AAatC,eAAO,MAAM,yCAAyC,GACrD,UAAU,kBAAkB,EAC5B,aAAa,kBAAkB,GAAG,IAAI,KACpC,kBAqBF,CAAC;AAEF,eAAO,MAAM,uBAAuB,GACnC,UAAU,kBAAkB,EAC5B,eAAe,MAAM,EACrB,gBAAgB,MAAM,KACpB,OAkBF,CAAC;AAEF,eAAO,MAAM,8BAA8B,GAC1C,KAAK,WAAW,CAAC,IAAI,CAAC,EACtB,aAAa,kBAAkB,GAAG,IAAI,KACpC,kBAAkB,GAAG,IAMvB,CAAC"}
|
|
1
|
+
{"version":3,"file":"measured-bounds.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/utils/measured-bounds.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EACN,KAAK,WAAW,EAChB,KAAK,kBAAkB,EAEvB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAEX,kBAAkB,EAClB,MAAM,8BAA8B,CAAC;AAatC,eAAO,MAAM,yCAAyC,GACrD,UAAU,kBAAkB,EAC5B,aAAa,kBAAkB,GAAG,IAAI,KACpC,kBAqBF,CAAC;AAEF,eAAO,MAAM,0BAA0B,GACtC,UAAU,kBAAkB,EAC5B,QAAQ,MAAM,KACZ,kBAUF,CAAC;AAEF,eAAO,MAAM,uBAAuB,GACnC,UAAU,kBAAkB,EAC5B,eAAe,MAAM,EACrB,gBAAgB,MAAM,KACpB,OAkBF,CAAC;AAEF,eAAO,MAAM,8BAA8B,GAC1C,KAAK,WAAW,CAAC,IAAI,CAAC,EACtB,aAAa,kBAAkB,GAAG,IAAI,KACpC,kBAAkB,GAAG,IAMvB,CAAC"}
|
package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition-intent.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { type BaseDescriptor } from "../../../providers/screen/descriptors";
|
|
2
|
-
import type { AnimationStoreMap } from "../../../stores/animation.store";
|
|
3
2
|
import { type SystemStoreMap } from "../../../stores/system.store";
|
|
4
3
|
/**
|
|
5
4
|
* Handles close transition intent and returns finish callbacks for cleanup.
|
|
6
5
|
*/
|
|
7
|
-
export declare function useCloseTransitionIntent(current: BaseDescriptor,
|
|
6
|
+
export declare function useCloseTransitionIntent(current: BaseDescriptor, system: SystemStoreMap): {
|
|
8
7
|
handleManagedCloseEnd?: (finished: boolean) => void;
|
|
9
8
|
handleNativeCloseEnd?: (finished: boolean) => void;
|
|
10
9
|
};
|
package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition-intent.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-close-transition-intent.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-lifecycle/hooks/use-close-transition-intent.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-close-transition-intent.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-lifecycle/hooks/use-close-transition-intent.ts"],"names":[],"mappings":"AAGA,OAAO,EACN,KAAK,cAAc,EAEnB,MAAM,uCAAuC,CAAC;AAI/C,OAAO,EAGN,KAAK,cAAc,EACnB,MAAM,8BAA8B,CAAC;AA+FtC;;GAEG;AACH,wBAAgB,wBAAwB,CACvC,OAAO,EAAE,cAAc,EACvB,MAAM,EAAE,cAAc,GACpB;IACF,qBAAqB,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IACpD,oBAAoB,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CACnD,CAqBA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-navigation-helpers.d.ts","sourceRoot":"","sources":["../../../../../src/shared/hooks/navigation/use-navigation-helpers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-navigation-helpers.d.ts","sourceRoot":"","sources":["../../../../../src/shared/hooks/navigation/use-navigation-helpers.ts"],"names":[],"mappings":"AAKA,wBAAgB,oBAAoB;yBAQG,OAAO;0BAJN,OAAO;EAqB9C"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Route } from "@react-navigation/native";
|
|
2
|
+
import { type ReactNode } from "react";
|
|
2
3
|
import type { DerivedValue } from "react-native-reanimated";
|
|
3
4
|
import type { StackCoreContextValue } from "../../providers/stack/core.provider";
|
|
4
5
|
import type { OverlayProps } from "../../types/overlay.types";
|
|
@@ -12,13 +13,24 @@ export interface StackDescriptor<TRoute extends BaseStackRoute = Route<string>,
|
|
|
12
13
|
};
|
|
13
14
|
}
|
|
14
15
|
export type StackScene<TDescriptor extends StackDescriptor = StackDescriptor> = BaseStackScene<TDescriptor>;
|
|
16
|
+
type StackDismissRequest = (payload: {
|
|
17
|
+
route: BaseStackRoute;
|
|
18
|
+
}) => boolean;
|
|
19
|
+
type StackSelector<T> = (stack: StackContextValue) => T;
|
|
15
20
|
export interface StackContextValue extends StackCoreContextValue {
|
|
16
21
|
navigatorKey: string;
|
|
17
22
|
routeKeys: string[];
|
|
18
23
|
routes: Route<string>[];
|
|
19
24
|
scenes: StackScene[];
|
|
20
25
|
optimisticFocusedIndex: DerivedValue<number>;
|
|
26
|
+
focusedIndex: number;
|
|
27
|
+
requestDismiss?: StackDismissRequest;
|
|
21
28
|
}
|
|
22
|
-
export declare
|
|
29
|
+
export declare function StackProvider({ children, value, }: {
|
|
30
|
+
children: ReactNode;
|
|
31
|
+
value: StackContextValue;
|
|
32
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
23
33
|
export declare function useStack<T extends StackContextValue = StackContextValue>(): T;
|
|
34
|
+
export declare function useStack<T>(selector: StackSelector<T>): T;
|
|
35
|
+
export {};
|
|
24
36
|
//# sourceMappingURL=use-stack.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-stack.d.ts","sourceRoot":"","sources":["../../../../../src/shared/hooks/navigation/use-stack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"use-stack.d.ts","sourceRoot":"","sources":["../../../../../src/shared/hooks/navigation/use-stack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAEN,KAAK,SAAS,EAMd,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AACjF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EACX,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,EACd,cAAc,EACd,MAAM,yBAAyB,CAAC;AAEjC,MAAM,WAAW,eAAe,CAC/B,MAAM,SAAS,cAAc,GAAG,KAAK,CAAC,MAAM,CAAC,EAC7C,WAAW,SAAS,mBAAmB,GAAG,mBAAmB,CAC5D,SAAQ,mBAAmB,CAAC,MAAM,EAAE,WAAW,CAAC;IACjD,OAAO,EAAE,mBAAmB,CAAC,SAAS,CAAC,GAAG;QACzC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,KAAK,CAAC,SAAS,CAAC;QACnD,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAC/B,iBAAiB,CAAC,EAAE,OAAO,CAAC;KAC5B,CAAC;CACF;AAED,MAAM,MAAM,UAAU,CAAC,WAAW,SAAS,eAAe,GAAG,eAAe,IAC3E,cAAc,CAAC,WAAW,CAAC,CAAC;AAE7B,KAAK,mBAAmB,GAAG,CAAC,OAAO,EAAE;IAAE,KAAK,EAAE,cAAc,CAAA;CAAE,KAAK,OAAO,CAAC;AAC3E,KAAK,aAAa,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,iBAAiB,KAAK,CAAC,CAAC;AAExD,MAAM,WAAW,iBAAkB,SAAQ,qBAAqB;IAC/D,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC;IACxB,MAAM,EAAE,UAAU,EAAE,CAAC;IACrB,sBAAsB,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC7C,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,mBAAmB,CAAC;CACrC;AA6CD,wBAAgB,aAAa,CAAC,EAC7B,QAAQ,EACR,KAAK,GACL,EAAE;IACF,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,EAAE,iBAAiB,CAAC;CACzB,2CAyBA;AAYD,wBAAgB,QAAQ,CAAC,CAAC,SAAS,iBAAiB,GAAG,iBAAiB,KAAK,CAAC,CAAC;AAC/E,wBAAgB,QAAQ,CAAC,CAAC,EAAE,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { ScrollView, View } from "react-native";
|
|
2
|
+
import { withScreenTransitions } from "./adapters/with-screen-transitions";
|
|
2
3
|
import { createBoundaryComponent } from "./components/create-boundary-component";
|
|
3
4
|
import { createTransitionAwareComponent } from "./components/create-transition-aware-component";
|
|
4
5
|
import MaskedView from "./components/integrations/masked-view";
|
|
5
6
|
declare const _default: {
|
|
6
7
|
createTransitionAwareComponent: typeof createTransitionAwareComponent;
|
|
7
8
|
createBoundaryComponent: typeof createBoundaryComponent;
|
|
9
|
+
withScreenTransitions: typeof withScreenTransitions;
|
|
8
10
|
Boundary: {
|
|
9
11
|
View: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<import("react-native").ViewProps, "id"> & import("./components/create-boundary-component/types").BoundaryOwnProps & import("react").RefAttributes<never>>>;
|
|
10
12
|
Trigger: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<import("react-native").PressableProps & import("react").RefAttributes<View>, "id"> & import("./components/create-boundary-component/types").BoundaryOwnProps & import("react").RefAttributes<View | import("react").Component<import("react-native").PressableProps & import("react").RefAttributes<View>, any, any>>>>;
|
|
@@ -12,13 +14,13 @@ declare const _default: {
|
|
|
12
14
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
13
15
|
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"auto" | "none" | "box-none" | "box-only" | undefined> | undefined;
|
|
14
16
|
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
17
|
+
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
15
18
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
16
19
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
17
20
|
onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
|
|
18
21
|
removeClippedSubviews?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
19
22
|
testID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
20
23
|
nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
21
|
-
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
22
24
|
collapsableChildren?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
23
25
|
onBlur?: ((e: import("react-native").BlurEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").BlurEvent) => void) | null | undefined> | null | undefined;
|
|
24
26
|
onFocus?: ((e: import("react-native").FocusEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").FocusEvent) => void) | null | undefined> | null | undefined;
|
|
@@ -115,13 +117,13 @@ declare const _default: {
|
|
|
115
117
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
116
118
|
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"auto" | "none" | "box-none" | "box-only" | undefined> | undefined;
|
|
117
119
|
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
120
|
+
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
118
121
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
119
122
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
120
123
|
onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
|
|
121
124
|
removeClippedSubviews?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
122
125
|
testID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
123
126
|
nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
124
|
-
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
125
127
|
collapsableChildren?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
126
128
|
onBlur?: ((e: import("react-native").BlurEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").BlurEvent) => void) | null | undefined> | null | undefined;
|
|
127
129
|
onFocus?: ((e: import("react-native").FocusEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").FocusEvent) => void) | null | undefined> | null | undefined;
|
|
@@ -220,13 +222,13 @@ declare const _default: {
|
|
|
220
222
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
221
223
|
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"auto" | "none" | "box-none" | "box-only" | undefined> | undefined;
|
|
222
224
|
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
225
|
+
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
223
226
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
224
227
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
225
228
|
onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
|
|
226
229
|
removeClippedSubviews?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
227
230
|
testID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
228
231
|
nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
229
|
-
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
230
232
|
collapsableChildren?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
231
233
|
onBlur?: ((e: import("react-native").BlurEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").BlurEvent) => void) | null | undefined> | null | undefined;
|
|
232
234
|
onFocus?: ((e: import("react-native").FocusEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").FocusEvent) => void) | null | undefined> | null | undefined;
|
|
@@ -323,13 +325,13 @@ declare const _default: {
|
|
|
323
325
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
324
326
|
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"auto" | "none" | "box-none" | "box-only" | undefined> | undefined;
|
|
325
327
|
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
328
|
+
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
326
329
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
327
330
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
328
331
|
onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
|
|
329
332
|
removeClippedSubviews?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
330
333
|
testID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
331
334
|
nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
332
|
-
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
333
335
|
collapsableChildren?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
334
336
|
onBlur?: ((e: import("react-native").BlurEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").BlurEvent) => void) | null | undefined> | null | undefined;
|
|
335
337
|
onFocus?: ((e: import("react-native").FocusEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").FocusEvent) => void) | null | undefined> | null | undefined;
|
|
@@ -433,13 +435,13 @@ declare const _default: {
|
|
|
433
435
|
key?: import("react").Key | import("react-native-reanimated").SharedValue<import("react").Key | null | undefined> | null | undefined;
|
|
434
436
|
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)>;
|
|
435
437
|
ref?: import("react").Ref<View> | import("react-native-reanimated").SharedValue<import("react").Ref<View> | undefined> | undefined;
|
|
438
|
+
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
436
439
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
437
440
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
438
441
|
onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
|
|
439
442
|
removeClippedSubviews?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
440
443
|
testID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
441
444
|
nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
442
|
-
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
443
445
|
collapsableChildren?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
444
446
|
onBlur?: ((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | null | undefined> | null | undefined;
|
|
445
447
|
onFocus?: ((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | null | undefined> | null | undefined;
|
|
@@ -554,13 +556,13 @@ declare const _default: {
|
|
|
554
556
|
key?: import("react").Key | import("react-native-reanimated").SharedValue<import("react").Key | null | undefined> | null | undefined;
|
|
555
557
|
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)>;
|
|
556
558
|
ref?: import("react").Ref<View> | import("react-native-reanimated").SharedValue<import("react").Ref<View> | undefined> | undefined;
|
|
559
|
+
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
557
560
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
558
561
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
559
562
|
onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
|
|
560
563
|
removeClippedSubviews?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
561
564
|
testID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
562
565
|
nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
563
|
-
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
564
566
|
collapsableChildren?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
565
567
|
onBlur?: ((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | null | undefined> | null | undefined;
|
|
566
568
|
onFocus?: ((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | null | undefined> | null | undefined;
|
|
@@ -679,13 +681,13 @@ declare const _default: {
|
|
|
679
681
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
680
682
|
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"auto" | "none" | "box-none" | "box-only" | undefined> | undefined;
|
|
681
683
|
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
684
|
+
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
682
685
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
683
686
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
684
687
|
onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
|
|
685
688
|
removeClippedSubviews?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
686
689
|
testID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
687
690
|
nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
688
|
-
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
689
691
|
collapsableChildren?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
690
692
|
onBlur?: ((e: import("react-native").BlurEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").BlurEvent) => void) | null | undefined> | null | undefined;
|
|
691
693
|
onFocus?: ((e: import("react-native").FocusEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").FocusEvent) => void) | null | undefined> | null | undefined;
|
|
@@ -854,13 +856,13 @@ declare const _default: {
|
|
|
854
856
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
855
857
|
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"auto" | "none" | "box-none" | "box-only" | undefined> | undefined;
|
|
856
858
|
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
859
|
+
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
857
860
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
858
861
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
859
862
|
onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
|
|
860
863
|
removeClippedSubviews?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
861
864
|
testID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
862
865
|
nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
863
|
-
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
864
866
|
collapsableChildren?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
865
867
|
onBlur?: ((e: import("react-native").BlurEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").BlurEvent) => void) | null | undefined> | null | undefined;
|
|
866
868
|
onFocus?: ((e: import("react-native").FocusEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").FocusEvent) => void) | null | undefined> | null | undefined;
|
|
@@ -1034,13 +1036,13 @@ declare const _default: {
|
|
|
1034
1036
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
1035
1037
|
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"auto" | "none" | "box-none" | "box-only" | undefined> | undefined;
|
|
1036
1038
|
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
1039
|
+
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
1037
1040
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
1038
1041
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
1039
1042
|
onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
|
|
1040
1043
|
removeClippedSubviews?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
1041
1044
|
testID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
1042
1045
|
nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
1043
|
-
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
1044
1046
|
collapsableChildren?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
1045
1047
|
onBlur?: ((e: import("react-native").BlurEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").BlurEvent) => void) | null | undefined> | null | undefined;
|
|
1046
1048
|
onFocus?: ((e: import("react-native").FocusEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").FocusEvent) => void) | null | undefined> | null | undefined;
|
|
@@ -1276,13 +1278,13 @@ declare const _default: {
|
|
|
1276
1278
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
1277
1279
|
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"auto" | "none" | "box-none" | "box-only" | undefined> | undefined;
|
|
1278
1280
|
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
1281
|
+
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
1279
1282
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
1280
1283
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
1281
1284
|
onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
|
|
1282
1285
|
removeClippedSubviews?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
1283
1286
|
testID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
1284
1287
|
nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
1285
|
-
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
1286
1288
|
collapsableChildren?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
1287
1289
|
onBlur?: ((e: import("react-native").BlurEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").BlurEvent) => void) | null | undefined> | null | undefined;
|
|
1288
1290
|
onFocus?: ((e: import("react-native").FocusEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").FocusEvent) => void) | null | undefined> | null | undefined;
|
|
@@ -1544,11 +1546,13 @@ declare const _default: {
|
|
|
1544
1546
|
};
|
|
1545
1547
|
};
|
|
1546
1548
|
export default _default;
|
|
1549
|
+
export type { NativeStackAdapterOptions } from "./adapters/with-screen-transitions";
|
|
1550
|
+
export { withScreenTransitions } from "./adapters/with-screen-transitions";
|
|
1547
1551
|
export { snapTo } from "./animation/snap-to";
|
|
1548
1552
|
export { NAVIGATION_MASK_CONTAINER_STYLE_ID, NAVIGATION_MASK_ELEMENT_STYLE_ID, TRANSFORM_RESET, } from "./constants";
|
|
1549
1553
|
export { useHistory } from "./hooks/navigation/use-history";
|
|
1550
1554
|
export { type ScreenState, useScreenState, } from "./hooks/navigation/use-screen-state";
|
|
1551
1555
|
export { type ScreenAnimationTarget, useScreenAnimation, } from "./providers/screen/animation";
|
|
1552
1556
|
export { type ScreenGestureTarget, useScreenGesture, } from "./providers/screen/gestures/hooks/use-screen-gesture";
|
|
1553
|
-
export type { AnimatedViewStyle, AnimationConfig, BoundsNavigationAccessor, BoundsNavigationRevealStyle, BoundsNavigationZoomOpacityRange, BoundsNavigationZoomOpacityRanges, BoundsNavigationZoomOptions, BoundsNavigationZoomStyle, OverlayProps, ScreenInterpolationProps, ScreenStyleInterpolator, ScreenTransitionConfig, TransitionInterpolatedStyle, TransitionSlotStyle, TransitionSpec, } from "./types";
|
|
1557
|
+
export type { AnimatedViewStyle, AnimationConfig, BoundsNavigationAccessor, BoundsNavigationRevealStyle, BoundsNavigationZoomOpacityRange, BoundsNavigationZoomOpacityRanges, BoundsNavigationZoomOptions, BoundsNavigationZoomStyle, InactiveBehavior, OverlayProps, ScreenInterpolationProps, ScreenStyleInterpolator, ScreenTransitionConfig, TransitionInterpolatedStyle, TransitionSlotStyle, TransitionSpec, } from "./types";
|
|
1554
1558
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAEN,uBAAuB,EACvB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,UAAU,MAAM,uCAAuC,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAEN,uBAAuB,EACvB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,UAAU,MAAM,uCAAuC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA6Di+C,CAAC;;;;;;;;;;;;;;;;;;AA1DjiD,wBAgBE;AAEF,YAAY,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AACpF,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EACN,kCAAkC,EAClC,gCAAgC,EAChC,eAAe,GACf,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EACN,KAAK,WAAW,EAChB,cAAc,GACd,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACN,KAAK,qBAAqB,EAC1B,kBAAkB,GAClB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACN,KAAK,mBAAmB,EACxB,gBAAgB,GAChB,MAAM,sDAAsD,CAAC;AAE9D,YAAY,EACX,iBAAiB,EACjB,eAAe,EACf,wBAAwB,EACxB,2BAA2B,EAC3B,gCAAgC,EAChC,iCAAiC,EACjC,2BAA2B,EAC3B,yBAAyB,EACzB,gBAAgB,EAChB,YAAY,EACZ,wBAAwB,EACxB,uBAAuB,EACvB,sBAAsB,EACtB,2BAA2B,EAC3B,mBAAmB,EACnB,cAAc,GACd,MAAM,SAAS,CAAC"}
|
|
@@ -3,8 +3,8 @@ import type { BaseStackDescriptor } from "../../../types/stack.types";
|
|
|
3
3
|
import type { DescriptorDerivations } from "./helpers/derive-descriptor-derivations";
|
|
4
4
|
/**
|
|
5
5
|
* Base descriptor interface - minimal contract for all stack types.
|
|
6
|
-
* This allows
|
|
7
|
-
*
|
|
6
|
+
* This allows stack implementations to work with the shared providers without
|
|
7
|
+
* tight coupling to React Navigation.
|
|
8
8
|
*/
|
|
9
9
|
export type BaseDescriptor = BaseStackDescriptor;
|
|
10
10
|
export interface DescriptorsContextValue<TDescriptor extends BaseDescriptor = BaseDescriptor> {
|
|
@@ -13,14 +13,22 @@ export interface DescriptorsContextValue<TDescriptor extends BaseDescriptor = Ba
|
|
|
13
13
|
next?: TDescriptor;
|
|
14
14
|
}
|
|
15
15
|
export type DescriptorDerivationsContextValue = DescriptorDerivations;
|
|
16
|
+
interface DescriptorStoreValue<TDescriptor extends BaseDescriptor = BaseDescriptor> {
|
|
17
|
+
descriptors: DescriptorsContextValue<TDescriptor>;
|
|
18
|
+
derivations: DescriptorDerivationsContextValue;
|
|
19
|
+
}
|
|
16
20
|
interface DescriptorsProviderProps<TDescriptor extends BaseDescriptor> {
|
|
17
21
|
children: ReactNode;
|
|
18
22
|
previous?: TDescriptor;
|
|
19
23
|
current: TDescriptor;
|
|
20
24
|
next?: TDescriptor;
|
|
21
25
|
}
|
|
26
|
+
declare const useDescriptorsStore: {
|
|
27
|
+
(): DescriptorStoreValue<BaseDescriptor>;
|
|
28
|
+
<Selected>(selector: (value: DescriptorStoreValue<BaseDescriptor>) => Selected): Selected;
|
|
29
|
+
};
|
|
22
30
|
export declare function DescriptorsProvider<TDescriptor extends BaseDescriptor>({ children, previous, current, next, }: DescriptorsProviderProps<TDescriptor>): import("react/jsx-runtime").JSX.Element;
|
|
23
31
|
export declare function useDescriptors<TDescriptor extends BaseDescriptor = BaseDescriptor>(): DescriptorsContextValue<TDescriptor>;
|
|
24
32
|
export declare function useDescriptorDerivations(): DescriptorDerivationsContextValue;
|
|
25
|
-
export {};
|
|
33
|
+
export { useDescriptorsStore };
|
|
26
34
|
//# sourceMappingURL=descriptors.provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"descriptors.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/descriptors/descriptors.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAIrF;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,mBAAmB,CAAC;AAEjD,MAAM,WAAW,uBAAuB,CACvC,WAAW,SAAS,cAAc,GAAG,cAAc;IAEnD,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,CAAC,EAAE,WAAW,CAAC;CACnB;AAED,MAAM,MAAM,iCAAiC,GAAG,qBAAqB,CAAC;AAEtE,UAAU,wBAAwB,CAAC,WAAW,SAAS,cAAc;IACpE,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,CAAC,EAAE,WAAW,CAAC;CACnB;
|
|
1
|
+
{"version":3,"file":"descriptors.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/descriptors/descriptors.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAIrF;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,mBAAmB,CAAC;AAEjD,MAAM,WAAW,uBAAuB,CACvC,WAAW,SAAS,cAAc,GAAG,cAAc;IAEnD,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,CAAC,EAAE,WAAW,CAAC;CACnB;AAED,MAAM,MAAM,iCAAiC,GAAG,qBAAqB,CAAC;AAEtE,UAAU,oBAAoB,CAC7B,WAAW,SAAS,cAAc,GAAG,cAAc;IAEnD,WAAW,EAAE,uBAAuB,CAAC,WAAW,CAAC,CAAC;IAClD,WAAW,EAAE,iCAAiC,CAAC;CAC/C;AAED,UAAU,wBAAwB,CAAC,WAAW,SAAS,cAAc;IACpE,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,CAAC,EAAE,WAAW,CAAC;CACnB;AAED,QAAA,MAEC,mBAAmB;;;CAmClB,CAAC;AAEH,wBAAgB,mBAAmB,CAAC,WAAW,SAAS,cAAc,EAAE,EACvE,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,IAAI,GACJ,EAAE,wBAAwB,CAAC,WAAW,CAAC,2CASvC;AAED,wBAAgB,cAAc,CAC7B,WAAW,SAAS,cAAc,GAAG,cAAc,KAI9C,uBAAuB,CAAC,WAAW,CAAC,CACzC;AAED,wBAAgB,wBAAwB,IAAI,iCAAiC,CAE5E;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { type BaseDescriptor, DescriptorsProvider, useDescriptorDerivations, useDescriptors, } from "./descriptors.provider";
|
|
1
|
+
export { type BaseDescriptor, DescriptorsProvider, useDescriptorDerivations, useDescriptors, useDescriptorsStore, } from "./descriptors.provider";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/descriptors/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,cAAc,EACnB,mBAAmB,EACnB,wBAAwB,EACxB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/descriptors/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,cAAc,EACnB,mBAAmB,EACnB,wBAAwB,EACxB,cAAc,EACd,mBAAmB,GACnB,MAAM,wBAAwB,CAAC"}
|
package/lib/typescript/shared/providers/screen/gestures/ownership/resolve-ownership.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolve-ownership.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/gestures/ownership/resolve-ownership.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,iBAAiB,EAEjB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAEN,KAAK,kBAAkB,EAGvB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C;;;GAGG;AACH,UAAU,qBAAqB;IAC9B,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,cAAc,EAAE,qBAAqB,GAAG,IAAI,CAAC;CAC7C;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,gBAAgB,CAC/B,UAAU,EAAE,iBAAiB,EAC7B,cAAc,EAAE,qBAAqB,GAAG,IAAI,GAC1C,kBAAkB,CAYpB;AA4BD;;GAEG;AACH,wBAAgB,uBAAuB,CACtC,UAAU,EAAE,cAAc,EAC1B,YAAY,EAAE,MAAM,GAClB,OAAO,
|
|
1
|
+
{"version":3,"file":"resolve-ownership.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/gestures/ownership/resolve-ownership.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,iBAAiB,EAEjB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAEN,KAAK,kBAAkB,EAGvB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C;;;GAGG;AACH,UAAU,qBAAqB;IAC9B,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,cAAc,EAAE,qBAAqB,GAAG,IAAI,CAAC;CAC7C;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,gBAAgB,CAC/B,UAAU,EAAE,iBAAiB,EAC7B,cAAc,EAAE,qBAAqB,GAAG,IAAI,GAC1C,kBAAkB,CAYpB;AA4BD;;GAEG;AACH,wBAAgB,uBAAuB,CACtC,UAAU,EAAE,cAAc,EAC1B,YAAY,EAAE,MAAM,GAClB,OAAO,CAOT"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GestureDimensions, PanGestureEvent, PanGestureRuntime, PanReleaseResult, PanTrackState } from "../types";
|
|
2
2
|
export declare const startPanBase: (runtime: PanGestureRuntime) => void;
|
|
3
3
|
export declare const trackPanGesture: (event: PanGestureEvent, rawEvent: PanGestureEvent, gestures: PanGestureRuntime["stores"]["gestures"], dimensions: GestureDimensions) => PanTrackState;
|
|
4
|
-
export declare const finalizePanRelease: (release: PanReleaseResult, runtime: PanGestureRuntime, dismissScreen: (() => void) | undefined, dimensions: GestureDimensions, rawEvent: PanGestureEvent) => void;
|
|
4
|
+
export declare const finalizePanRelease: (release: PanReleaseResult, runtime: PanGestureRuntime, dismissScreen: ((finished: boolean) => void) | undefined, dimensions: GestureDimensions, rawEvent: PanGestureEvent, requestDismiss?: () => void) => void;
|
|
5
5
|
//# sourceMappingURL=pan-lifecycle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pan-lifecycle.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/gestures/pan/pan-lifecycle.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACX,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EACb,MAAM,UAAU,CAAC;AAIlB,eAAO,MAAM,YAAY,GAAI,SAAS,iBAAiB,SA6BtD,CAAC;AAEF,eAAO,MAAM,eAAe,GAC3B,OAAO,eAAe,EACtB,UAAU,eAAe,EACzB,UAAU,iBAAiB,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,EACjD,YAAY,iBAAiB,KAC3B,aAqCF,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAC9B,SAAS,gBAAgB,EACzB,SAAS,iBAAiB,EAC1B,eAAe,CAAC,
|
|
1
|
+
{"version":3,"file":"pan-lifecycle.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/gestures/pan/pan-lifecycle.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACX,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EACb,MAAM,UAAU,CAAC;AAIlB,eAAO,MAAM,YAAY,GAAI,SAAS,iBAAiB,SA6BtD,CAAC;AAEF,eAAO,MAAM,eAAe,GAC3B,OAAO,eAAe,EACtB,UAAU,eAAe,EACzB,UAAU,iBAAiB,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,EACjD,YAAY,iBAAiB,KAC3B,aAqCF,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAC9B,SAAS,gBAAgB,EACzB,SAAS,iBAAiB,EAC1B,eAAe,CAAC,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC,GAAG,SAAS,EACxD,YAAY,iBAAiB,EAC7B,UAAU,eAAe,EACzB,iBAAiB,MAAM,IAAI,SAkD3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-pan-behavior.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/gestures/pan/use-pan-behavior.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAG/D,OAAO,KAAK,EACX,iBAAiB,EACjB,WAAW,EAEX,iBAAiB,EACjB,MAAM,UAAU,CAAC;AAYlB,eAAO,MAAM,cAAc,GAC1B,SAAS,WAAW,CAAC,iBAAiB,CAAC,EACvC,eAAe,yBAAyB,EACxC,YAAY,iBAAiB,KAC3B,
|
|
1
|
+
{"version":3,"file":"use-pan-behavior.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/gestures/pan/use-pan-behavior.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAG/D,OAAO,KAAK,EACX,iBAAiB,EACjB,WAAW,EAEX,iBAAiB,EACjB,MAAM,UAAU,CAAC;AAYlB,eAAO,MAAM,cAAc,GAC1B,SAAS,WAAW,CAAC,iBAAiB,CAAC,EACvC,eAAe,yBAAyB,EACxC,YAAY,iBAAiB,KAC3B,WAwEF,CAAC"}
|