react-native-screen-transitions 3.4.0-alpha.0 → 3.4.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -1046
- package/lib/commonjs/blank-stack/navigators/create-blank-stack-navigator.js +69 -2
- package/lib/commonjs/blank-stack/navigators/create-blank-stack-navigator.js.map +1 -1
- package/lib/commonjs/component-stack/navigators/create-component-stack-navigator.js +9 -0
- package/lib/commonjs/component-stack/navigators/create-component-stack-navigator.js.map +1 -1
- package/lib/commonjs/shared/animation/snap-to.js +5 -1
- package/lib/commonjs/shared/animation/snap-to.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js +195 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-auto-source-measurement.js +7 -14
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-auto-source-measurement.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.js +19 -18
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-deferred-measurement-trigger.js +54 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-deferred-measurement-trigger.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-group-active-measurement.js +40 -8
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-group-active-measurement.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-group-active-source-measurement.js +72 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-group-active-source-measurement.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-layout-handler.js +16 -7
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-layout-handler.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.js +7 -4
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.js +14 -15
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.js +27 -9
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/index.js +22 -8
- package/lib/commonjs/shared/components/create-boundary-component/index.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/utils/build-boundary-match-key.js +5 -10
- package/lib/commonjs/shared/components/create-boundary-component/utils/build-boundary-match-key.js.map +1 -1
- package/lib/commonjs/shared/components/create-transition-aware-component.js +3 -2
- package/lib/commonjs/shared/components/create-transition-aware-component.js.map +1 -1
- package/lib/commonjs/shared/components/native-screen-container.js +12 -6
- package/lib/commonjs/shared/components/native-screen-container.js.map +1 -1
- package/lib/commonjs/shared/components/native-screen.js +35 -8
- package/lib/commonjs/shared/components/native-screen.js.map +1 -1
- package/lib/commonjs/shared/components/overlay/helpers/get-active-overlay.js +2 -2
- package/lib/commonjs/shared/components/overlay/helpers/get-active-overlay.js.map +1 -1
- package/lib/commonjs/shared/components/overlay/index.js +1 -3
- package/lib/commonjs/shared/components/overlay/index.js.map +1 -1
- package/lib/commonjs/shared/components/overlay/variations/overlay-host.js +2 -16
- package/lib/commonjs/shared/components/overlay/variations/overlay-host.js.map +1 -1
- package/lib/commonjs/shared/components/scene-view.js +2 -4
- package/lib/commonjs/shared/components/scene-view.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/hooks/use-content-layout.js +60 -0
- package/lib/commonjs/shared/components/screen-container/hooks/use-content-layout.js.map +1 -0
- package/lib/commonjs/shared/components/screen-container/layers/backdrop.js +9 -6
- package/lib/commonjs/shared/components/screen-container/layers/backdrop.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/content.js +16 -56
- package/lib/commonjs/shared/components/screen-container/layers/content.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/maybe-masked-navigation-container.js +86 -0
- package/lib/commonjs/shared/components/screen-container/layers/maybe-masked-navigation-container.js.map +1 -0
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition/index.js.map +1 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-open-transition.js +17 -4
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-open-transition.js.map +1 -1
- package/lib/commonjs/shared/constants.js +6 -2
- package/lib/commonjs/shared/constants.js.map +1 -1
- package/lib/commonjs/shared/hooks/gestures/resolve-screen-gesture-target.js +49 -0
- package/lib/commonjs/shared/hooks/gestures/resolve-screen-gesture-target.js.map +1 -0
- package/lib/commonjs/shared/hooks/gestures/types.js +2 -0
- package/lib/commonjs/shared/hooks/gestures/types.js.map +1 -0
- package/lib/commonjs/shared/hooks/gestures/use-screen-gesture.js +7 -3
- package/lib/commonjs/shared/hooks/gestures/use-screen-gesture.js.map +1 -1
- package/lib/commonjs/shared/hooks/navigation/use-stack.js.map +1 -1
- package/lib/commonjs/shared/index.js +15 -3
- package/lib/commonjs/shared/index.js.map +1 -1
- package/lib/commonjs/shared/providers/gestures/handlers/use-handlers.js +61 -25
- package/lib/commonjs/shared/providers/gestures/handlers/use-handlers.js.map +1 -1
- package/lib/commonjs/shared/providers/gestures/helpers/gesture-activation.js +11 -6
- package/lib/commonjs/shared/providers/gestures/helpers/gesture-activation.js.map +1 -1
- package/lib/commonjs/shared/providers/gestures/helpers/gesture-snap-points.js +44 -0
- package/lib/commonjs/shared/providers/gestures/helpers/gesture-snap-points.js.map +1 -0
- package/lib/commonjs/shared/providers/layout-anchor.provider.js +4 -6
- package/lib/commonjs/shared/providers/layout-anchor.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/animation.provider.js +31 -17
- package/lib/commonjs/shared/providers/screen/animation/animation.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/derivations.js +1 -9
- package/lib/commonjs/shared/providers/screen/animation/helpers/derivations.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js +25 -13
- package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/resolve-screen-animation-target.js +33 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/resolve-screen-animation-target.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/animation/types.js +2 -0
- package/lib/commonjs/shared/providers/screen/animation/types.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/animation/use-screen-animation.js +9 -3
- package/lib/commonjs/shared/providers/screen/animation/use-screen-animation.js.map +1 -1
- package/lib/commonjs/shared/providers/stack/core.provider.js +14 -21
- package/lib/commonjs/shared/providers/stack/core.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/stack/direct.provider.js +1 -1
- package/lib/commonjs/shared/providers/stack/direct.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/stack/helpers/use-processed-routes.js +1 -1
- package/lib/commonjs/shared/providers/stack/helpers/use-processed-routes.js.map +1 -1
- package/lib/commonjs/shared/stores/animation.store.js +10 -2
- package/lib/commonjs/shared/stores/animation.store.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/presence.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/resolver.js +7 -0
- package/lib/commonjs/shared/stores/bounds/internals/resolver.js.map +1 -1
- package/lib/commonjs/shared/utils/animation/animate-to-progress.js +6 -0
- package/lib/commonjs/shared/utils/animation/animate-to-progress.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/compute-bounds-styles.js +33 -9
- package/lib/commonjs/shared/utils/bounds/helpers/compute-bounds-styles.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/geometry.js +3 -2
- package/lib/commonjs/shared/utils/bounds/helpers/geometry.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/interpolators.js +3 -2
- package/lib/commonjs/shared/utils/bounds/helpers/interpolators.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/link-accessor.js +2 -2
- package/lib/commonjs/shared/utils/bounds/helpers/link-accessor.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/resolve-bound-tag.js +4 -8
- package/lib/commonjs/shared/utils/bounds/helpers/resolve-bound-tag.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/style-composers.js +4 -3
- package/lib/commonjs/shared/utils/bounds/helpers/style-composers.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/index.js +13 -3
- package/lib/commonjs/shared/utils/bounds/index.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/types/frame-props.js +6 -0
- package/lib/commonjs/shared/utils/bounds/types/frame-props.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/zoom/accessor.js +54 -0
- package/lib/commonjs/shared/utils/bounds/zoom/accessor.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/zoom/build.js +548 -0
- package/lib/commonjs/shared/utils/bounds/zoom/build.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/zoom/config.js +118 -0
- package/lib/commonjs/shared/utils/bounds/zoom/config.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/zoom/index.js +20 -0
- package/lib/commonjs/shared/utils/bounds/zoom/index.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/zoom/types.js.map +1 -0
- package/lib/commonjs/shared/utils/gesture/validate-snap-points.js +11 -5
- package/lib/commonjs/shared/utils/gesture/validate-snap-points.js.map +1 -1
- package/lib/commonjs/shared/utils/overlay/visibility.js +2 -9
- package/lib/commonjs/shared/utils/overlay/visibility.js.map +1 -1
- package/lib/commonjs/shared/utils/resolve-screen-transition-options.js +25 -0
- package/lib/commonjs/shared/utils/resolve-screen-transition-options.js.map +1 -0
- package/lib/module/blank-stack/navigators/create-blank-stack-navigator.js +69 -3
- package/lib/module/blank-stack/navigators/create-blank-stack-navigator.js.map +1 -1
- package/lib/module/component-stack/navigators/create-component-stack-navigator.js +9 -0
- package/lib/module/component-stack/navigators/create-component-stack-navigator.js.map +1 -1
- package/lib/module/shared/animation/snap-to.js +5 -1
- package/lib/module/shared/animation/snap-to.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js +182 -0
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/hooks/use-auto-source-measurement.js +7 -14
- package/lib/module/shared/components/create-boundary-component/hooks/use-auto-source-measurement.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.js +19 -18
- package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-deferred-measurement-trigger.js +49 -0
- package/lib/module/shared/components/create-boundary-component/hooks/use-deferred-measurement-trigger.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/hooks/use-group-active-measurement.js +41 -8
- package/lib/module/shared/components/create-boundary-component/hooks/use-group-active-measurement.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-group-active-source-measurement.js +67 -0
- package/lib/module/shared/components/create-boundary-component/hooks/use-group-active-source-measurement.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/hooks/use-initial-layout-handler.js +16 -7
- package/lib/module/shared/components/create-boundary-component/hooks/use-initial-layout-handler.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.js +7 -4
- package/lib/module/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.js +14 -15
- package/lib/module/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.js +27 -9
- package/lib/module/shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/index.js +22 -8
- package/lib/module/shared/components/create-boundary-component/index.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/utils/build-boundary-match-key.js +5 -10
- package/lib/module/shared/components/create-boundary-component/utils/build-boundary-match-key.js.map +1 -1
- package/lib/module/shared/components/create-transition-aware-component.js +3 -2
- package/lib/module/shared/components/create-transition-aware-component.js.map +1 -1
- package/lib/module/shared/components/native-screen-container.js +12 -6
- package/lib/module/shared/components/native-screen-container.js.map +1 -1
- package/lib/module/shared/components/native-screen.js +35 -8
- package/lib/module/shared/components/native-screen.js.map +1 -1
- package/lib/module/shared/components/overlay/helpers/get-active-overlay.js +3 -3
- package/lib/module/shared/components/overlay/helpers/get-active-overlay.js.map +1 -1
- package/lib/module/shared/components/overlay/index.js +1 -3
- package/lib/module/shared/components/overlay/index.js.map +1 -1
- package/lib/module/shared/components/overlay/variations/overlay-host.js +3 -17
- package/lib/module/shared/components/overlay/variations/overlay-host.js.map +1 -1
- package/lib/module/shared/components/scene-view.js +3 -5
- package/lib/module/shared/components/scene-view.js.map +1 -1
- package/lib/module/shared/components/screen-container/hooks/use-content-layout.js +56 -0
- package/lib/module/shared/components/screen-container/hooks/use-content-layout.js.map +1 -0
- package/lib/module/shared/components/screen-container/layers/backdrop.js +9 -6
- package/lib/module/shared/components/screen-container/layers/backdrop.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/content.js +18 -58
- package/lib/module/shared/components/screen-container/layers/content.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/maybe-masked-navigation-container.js +81 -0
- package/lib/module/shared/components/screen-container/layers/maybe-masked-navigation-container.js.map +1 -0
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition/index.js.map +1 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/use-open-transition.js +17 -4
- package/lib/module/shared/components/screen-lifecycle/hooks/use-open-transition.js.map +1 -1
- package/lib/module/shared/constants.js +6 -2
- package/lib/module/shared/constants.js.map +1 -1
- package/lib/module/shared/hooks/gestures/resolve-screen-gesture-target.js +45 -0
- package/lib/module/shared/hooks/gestures/resolve-screen-gesture-target.js.map +1 -0
- package/lib/module/shared/hooks/gestures/types.js +2 -0
- package/lib/module/shared/hooks/gestures/types.js.map +1 -0
- package/lib/module/shared/hooks/gestures/use-screen-gesture.js +7 -4
- package/lib/module/shared/hooks/gestures/use-screen-gesture.js.map +1 -1
- package/lib/module/shared/hooks/navigation/use-stack.js.map +1 -1
- package/lib/module/shared/index.js +1 -2
- package/lib/module/shared/index.js.map +1 -1
- package/lib/module/shared/providers/gestures/handlers/use-handlers.js +61 -25
- package/lib/module/shared/providers/gestures/handlers/use-handlers.js.map +1 -1
- package/lib/module/shared/providers/gestures/helpers/gesture-activation.js +11 -6
- package/lib/module/shared/providers/gestures/helpers/gesture-activation.js.map +1 -1
- package/lib/module/shared/providers/gestures/helpers/gesture-snap-points.js +38 -0
- package/lib/module/shared/providers/gestures/helpers/gesture-snap-points.js.map +1 -0
- package/lib/module/shared/providers/layout-anchor.provider.js +4 -6
- package/lib/module/shared/providers/layout-anchor.provider.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/animation.provider.js +30 -15
- package/lib/module/shared/providers/screen/animation/animation.provider.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/derivations.js +1 -9
- package/lib/module/shared/providers/screen/animation/helpers/derivations.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/pipeline.js +25 -13
- package/lib/module/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/resolve-screen-animation-target.js +29 -0
- package/lib/module/shared/providers/screen/animation/helpers/resolve-screen-animation-target.js.map +1 -0
- package/lib/module/shared/providers/screen/animation/index.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/types.js +2 -0
- package/lib/module/shared/providers/screen/animation/types.js.map +1 -0
- package/lib/module/shared/providers/screen/animation/use-screen-animation.js +9 -3
- package/lib/module/shared/providers/screen/animation/use-screen-animation.js.map +1 -1
- package/lib/module/shared/providers/stack/core.provider.js +14 -21
- package/lib/module/shared/providers/stack/core.provider.js.map +1 -1
- package/lib/module/shared/providers/stack/direct.provider.js +2 -2
- package/lib/module/shared/providers/stack/direct.provider.js.map +1 -1
- package/lib/module/shared/providers/stack/helpers/use-processed-routes.js +2 -2
- package/lib/module/shared/providers/stack/helpers/use-processed-routes.js.map +1 -1
- package/lib/module/shared/stores/animation.store.js +10 -2
- package/lib/module/shared/stores/animation.store.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/presence.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/resolver.js +7 -0
- package/lib/module/shared/stores/bounds/internals/resolver.js.map +1 -1
- package/lib/module/shared/utils/animation/animate-to-progress.js +6 -0
- package/lib/module/shared/utils/animation/animate-to-progress.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/compute-bounds-styles.js +33 -9
- package/lib/module/shared/utils/bounds/helpers/compute-bounds-styles.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/geometry.js +3 -2
- package/lib/module/shared/utils/bounds/helpers/geometry.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/interpolators.js +3 -2
- package/lib/module/shared/utils/bounds/helpers/interpolators.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/link-accessor.js +2 -2
- package/lib/module/shared/utils/bounds/helpers/link-accessor.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/resolve-bound-tag.js +4 -8
- package/lib/module/shared/utils/bounds/helpers/resolve-bound-tag.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/style-composers.js +4 -3
- package/lib/module/shared/utils/bounds/helpers/style-composers.js.map +1 -1
- package/lib/module/shared/utils/bounds/index.js +13 -3
- package/lib/module/shared/utils/bounds/index.js.map +1 -1
- package/lib/module/shared/utils/bounds/types/frame-props.js +4 -0
- package/lib/module/shared/utils/bounds/types/frame-props.js.map +1 -0
- package/lib/module/shared/utils/bounds/zoom/accessor.js +49 -0
- package/lib/module/shared/utils/bounds/zoom/accessor.js.map +1 -0
- package/lib/module/shared/utils/bounds/zoom/build.js +543 -0
- package/lib/module/shared/utils/bounds/zoom/build.js.map +1 -0
- package/lib/module/shared/utils/bounds/zoom/config.js +112 -0
- package/lib/module/shared/utils/bounds/zoom/config.js.map +1 -0
- package/lib/module/shared/utils/bounds/zoom/index.js +5 -0
- package/lib/module/shared/utils/bounds/zoom/index.js.map +1 -0
- package/lib/module/shared/utils/bounds/zoom/types.js.map +1 -0
- package/lib/module/shared/utils/gesture/validate-snap-points.js +11 -5
- package/lib/module/shared/utils/gesture/validate-snap-points.js.map +1 -1
- package/lib/module/shared/utils/overlay/visibility.js +1 -7
- package/lib/module/shared/utils/overlay/visibility.js.map +1 -1
- package/lib/module/shared/utils/resolve-screen-transition-options.js +19 -0
- package/lib/module/shared/utils/resolve-screen-transition-options.js.map +1 -0
- 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 +29 -4
- package/lib/typescript/blank-stack/navigators/create-blank-stack-navigator.d.ts.map +1 -1
- package/lib/typescript/blank-stack/types.d.ts +33 -4
- package/lib/typescript/blank-stack/types.d.ts.map +1 -1
- package/lib/typescript/component-stack/navigators/create-component-stack-navigator.d.ts +8 -0
- package/lib/typescript/component-stack/navigators/create-component-stack-navigator.d.ts.map +1 -1
- package/lib/typescript/shared/animation/snap-to.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement-rules.d.ts +81 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement-rules.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-auto-source-measurement.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.d.ts +2 -3
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-deferred-measurement-trigger.d.ts +11 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-deferred-measurement-trigger.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-group-active-measurement.d.ts +2 -2
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-group-active-measurement.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-group-active-source-measurement.d.ts +11 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-group-active-source-measurement.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-initial-layout-handler.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.d.ts +3 -3
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.d.ts +2 -2
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/index.d.ts +5 -3
- package/lib/typescript/shared/components/create-boundary-component/index.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/types.d.ts +2 -4
- package/lib/typescript/shared/components/create-boundary-component/types.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/utils/build-boundary-match-key.d.ts +0 -1
- package/lib/typescript/shared/components/create-boundary-component/utils/build-boundary-match-key.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-transition-aware-component.d.ts +1 -0
- package/lib/typescript/shared/components/create-transition-aware-component.d.ts.map +1 -1
- package/lib/typescript/shared/components/native-screen-container.d.ts.map +1 -1
- package/lib/typescript/shared/components/native-screen.d.ts.map +1 -1
- package/lib/typescript/shared/components/overlay/helpers/get-active-overlay.d.ts +1 -1
- package/lib/typescript/shared/components/overlay/index.d.ts +0 -2
- package/lib/typescript/shared/components/overlay/index.d.ts.map +1 -1
- package/lib/typescript/shared/components/overlay/variations/overlay-host.d.ts.map +1 -1
- package/lib/typescript/shared/components/scene-view.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/hooks/use-content-layout.d.ts +3 -0
- package/lib/typescript/shared/components/screen-container/hooks/use-content-layout.d.ts.map +1 -0
- package/lib/typescript/shared/components/screen-container/layers/backdrop.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/layers/content.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/layers/maybe-masked-navigation-container.d.ts +9 -0
- package/lib/typescript/shared/components/screen-container/layers/maybe-masked-navigation-container.d.ts.map +1 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition/index.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-open-transition.d.ts.map +1 -1
- package/lib/typescript/shared/constants.d.ts +3 -0
- package/lib/typescript/shared/constants.d.ts.map +1 -1
- package/lib/typescript/shared/hooks/gestures/resolve-screen-gesture-target.d.ts +10 -0
- package/lib/typescript/shared/hooks/gestures/resolve-screen-gesture-target.d.ts.map +1 -0
- package/lib/typescript/shared/hooks/gestures/types.d.ts +4 -0
- package/lib/typescript/shared/hooks/gestures/types.d.ts.map +1 -0
- package/lib/typescript/shared/hooks/gestures/use-screen-gesture.d.ts +4 -2
- package/lib/typescript/shared/hooks/gestures/use-screen-gesture.d.ts.map +1 -1
- package/lib/typescript/shared/hooks/navigation/use-stack.d.ts +1 -2
- package/lib/typescript/shared/hooks/navigation/use-stack.d.ts.map +1 -1
- package/lib/typescript/shared/index.d.ts +16 -18
- package/lib/typescript/shared/index.d.ts.map +1 -1
- package/lib/typescript/shared/providers/gestures/handlers/use-handlers.d.ts +1 -1
- package/lib/typescript/shared/providers/gestures/handlers/use-handlers.d.ts.map +1 -1
- package/lib/typescript/shared/providers/gestures/helpers/gesture-activation.d.ts.map +1 -1
- package/lib/typescript/shared/providers/gestures/helpers/gesture-snap-points.d.ts +18 -0
- package/lib/typescript/shared/providers/gestures/helpers/gesture-snap-points.d.ts.map +1 -0
- package/lib/typescript/shared/providers/layout-anchor.provider.d.ts +1 -1
- package/lib/typescript/shared/providers/layout-anchor.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/animation.provider.d.ts +6 -3
- package/lib/typescript/shared/providers/screen/animation/animation.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/derivations.d.ts +0 -2
- package/lib/typescript/shared/providers/screen/animation/helpers/derivations.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/pipeline.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/resolve-screen-animation-target.d.ts +11 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/resolve-screen-animation-target.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/animation/index.d.ts +1 -1
- package/lib/typescript/shared/providers/screen/animation/index.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/types.d.ts +4 -0
- package/lib/typescript/shared/providers/screen/animation/types.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/animation/use-screen-animation.d.ts +5 -1
- package/lib/typescript/shared/providers/screen/animation/use-screen-animation.d.ts.map +1 -1
- package/lib/typescript/shared/providers/stack/core.provider.d.ts +2 -0
- package/lib/typescript/shared/providers/stack/core.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/stack/direct.provider.d.ts.map +1 -1
- package/lib/typescript/shared/stores/animation.store.d.ts +8 -2
- package/lib/typescript/shared/stores/animation.store.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/presence.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/resolver.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/types.d.ts +2 -0
- package/lib/typescript/shared/stores/bounds/types.d.ts.map +1 -1
- package/lib/typescript/shared/types/animation.types.d.ts +33 -51
- package/lib/typescript/shared/types/animation.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/bounds.types.d.ts +46 -9
- package/lib/typescript/shared/types/bounds.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/index.d.ts +3 -3
- package/lib/typescript/shared/types/index.d.ts.map +1 -1
- package/lib/typescript/shared/types/overlay.types.d.ts +1 -22
- package/lib/typescript/shared/types/overlay.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/screen.types.d.ts +62 -37
- package/lib/typescript/shared/types/screen.types.d.ts.map +1 -1
- package/lib/typescript/shared/utils/animation/animate-to-progress.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/build-bounds-options.d.ts +2 -2
- package/lib/typescript/shared/utils/bounds/helpers/build-bounds-options.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/compute-bounds-styles.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/geometry.d.ts +3 -2
- package/lib/typescript/shared/utils/bounds/helpers/geometry.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/interpolators.d.ts +3 -2
- package/lib/typescript/shared/utils/bounds/helpers/interpolators.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/link-accessor.d.ts +3 -2
- package/lib/typescript/shared/utils/bounds/helpers/link-accessor.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/resolve-bound-tag.d.ts +2 -1
- package/lib/typescript/shared/utils/bounds/helpers/resolve-bound-tag.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/style-composers.d.ts +4 -3
- package/lib/typescript/shared/utils/bounds/helpers/style-composers.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/index.d.ts +2 -2
- package/lib/typescript/shared/utils/bounds/index.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/types/frame-props.d.ts +5 -0
- package/lib/typescript/shared/utils/bounds/types/frame-props.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/types/options.d.ts +5 -4
- package/lib/typescript/shared/utils/bounds/types/options.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/zoom/accessor.d.ts +17 -0
- package/lib/typescript/shared/utils/bounds/zoom/accessor.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/zoom/build.d.ts +4 -0
- package/lib/typescript/shared/utils/bounds/zoom/build.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/zoom/config.d.ts +43 -0
- package/lib/typescript/shared/utils/bounds/zoom/config.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/zoom/index.d.ts +3 -0
- package/lib/typescript/shared/utils/bounds/zoom/index.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/zoom/types.d.ts +17 -0
- package/lib/typescript/shared/utils/bounds/zoom/types.d.ts.map +1 -0
- package/lib/typescript/shared/utils/gesture/validate-snap-points.d.ts +5 -3
- package/lib/typescript/shared/utils/gesture/validate-snap-points.d.ts.map +1 -1
- package/lib/typescript/shared/utils/overlay/visibility.d.ts +1 -4
- package/lib/typescript/shared/utils/overlay/visibility.d.ts.map +1 -1
- package/lib/typescript/shared/utils/resolve-screen-transition-options.d.ts +5 -0
- package/lib/typescript/shared/utils/resolve-screen-transition-options.d.ts.map +1 -0
- package/package.json +3 -2
- package/src/blank-stack/index.ts +1 -0
- package/src/blank-stack/navigators/create-blank-stack-navigator.tsx +138 -19
- package/src/blank-stack/types.ts +33 -5
- package/src/component-stack/navigators/create-component-stack-navigator.tsx +8 -0
- package/src/shared/animation/snap-to.ts +12 -1
- package/src/shared/components/create-boundary-component/hooks/helpers/measurement-rules.ts +258 -0
- package/src/shared/components/create-boundary-component/hooks/use-auto-source-measurement.ts +7 -17
- package/src/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.ts +38 -28
- package/src/shared/components/create-boundary-component/hooks/use-deferred-measurement-trigger.ts +58 -0
- package/src/shared/components/create-boundary-component/hooks/use-group-active-measurement.ts +41 -10
- package/src/shared/components/create-boundary-component/hooks/use-group-active-source-measurement.ts +82 -0
- package/src/shared/components/create-boundary-component/hooks/use-initial-layout-handler.ts +24 -12
- package/src/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.ts +11 -9
- package/src/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.ts +29 -26
- package/src/shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.ts +26 -17
- package/src/shared/components/create-boundary-component/index.tsx +25 -6
- package/src/shared/components/create-boundary-component/types.ts +8 -4
- package/src/shared/components/create-boundary-component/utils/build-boundary-match-key.ts +2 -14
- package/src/shared/components/create-transition-aware-component.tsx +5 -2
- package/src/shared/components/native-screen-container.tsx +11 -3
- package/src/shared/components/native-screen.tsx +65 -20
- package/src/shared/components/overlay/helpers/get-active-overlay.ts +3 -3
- package/src/shared/components/overlay/index.ts +0 -2
- package/src/shared/components/overlay/variations/overlay-host.tsx +2 -16
- package/src/shared/components/scene-view.tsx +0 -3
- package/src/shared/components/screen-container/hooks/use-content-layout.ts +82 -0
- package/src/shared/components/screen-container/layers/backdrop.tsx +25 -6
- package/src/shared/components/screen-container/layers/content.tsx +23 -82
- package/src/shared/components/screen-container/layers/maybe-masked-navigation-container.tsx +101 -0
- package/src/shared/components/screen-lifecycle/hooks/use-close-transition/index.ts +1 -2
- package/src/shared/components/screen-lifecycle/hooks/use-open-transition.ts +20 -6
- package/src/shared/constants.ts +6 -2
- package/src/shared/hooks/gestures/resolve-screen-gesture-target.ts +66 -0
- package/src/shared/hooks/gestures/types.ts +5 -0
- package/src/shared/hooks/gestures/use-screen-gesture.ts +10 -3
- package/src/shared/hooks/navigation/use-stack.tsx +1 -2
- package/src/shared/index.ts +14 -16
- package/src/shared/providers/gestures/handlers/use-handlers.ts +75 -29
- package/src/shared/providers/gestures/helpers/gesture-activation.ts +11 -6
- package/src/shared/providers/gestures/helpers/gesture-snap-points.ts +72 -0
- package/src/shared/providers/layout-anchor.provider.tsx +2 -5
- package/src/shared/providers/register-bounds.provider.tsx +1 -1
- package/src/shared/providers/screen/animation/animation.provider.tsx +46 -10
- package/src/shared/providers/screen/animation/helpers/derivations.ts +0 -8
- package/src/shared/providers/screen/animation/helpers/pipeline.ts +51 -14
- package/src/shared/providers/screen/animation/helpers/resolve-screen-animation-target.ts +44 -0
- package/src/shared/providers/screen/animation/index.tsx +4 -1
- package/src/shared/providers/screen/animation/types.ts +5 -0
- package/src/shared/providers/screen/animation/use-screen-animation.tsx +16 -3
- package/src/shared/providers/stack/core.provider.tsx +27 -14
- package/src/shared/providers/stack/direct.provider.tsx +2 -5
- package/src/shared/providers/stack/helpers/use-processed-routes.ts +2 -2
- package/src/shared/stores/animation.store.ts +21 -5
- package/src/shared/stores/bounds/internals/presence.ts +3 -1
- package/src/shared/stores/bounds/internals/resolver.ts +13 -1
- package/src/shared/stores/bounds/types.ts +2 -0
- package/src/shared/types/animation.types.ts +32 -58
- package/src/shared/types/bounds.types.ts +30 -10
- package/src/shared/types/index.ts +2 -15
- package/src/shared/types/overlay.types.ts +1 -28
- package/src/shared/types/screen.types.ts +67 -38
- package/src/shared/utils/animation/animate-to-progress.ts +7 -0
- package/src/shared/utils/bounds/helpers/build-bounds-options.ts +2 -2
- package/src/shared/utils/bounds/helpers/compute-bounds-styles.ts +47 -8
- package/src/shared/utils/bounds/helpers/geometry.ts +3 -2
- package/src/shared/utils/bounds/helpers/interpolators.ts +8 -6
- package/src/shared/utils/bounds/helpers/link-accessor.ts +10 -6
- package/src/shared/utils/bounds/helpers/resolve-bound-tag.ts +7 -10
- package/src/shared/utils/bounds/helpers/style-composers.ts +4 -3
- package/src/shared/utils/bounds/index.ts +22 -13
- package/src/shared/utils/bounds/types/frame-props.ts +5 -0
- package/src/shared/utils/bounds/types/options.ts +6 -4
- package/src/shared/utils/bounds/zoom/accessor.ts +69 -0
- package/src/shared/utils/bounds/zoom/build.ts +715 -0
- package/src/shared/utils/bounds/zoom/config.ts +179 -0
- package/src/shared/utils/bounds/zoom/index.ts +2 -0
- package/src/shared/utils/bounds/zoom/types.ts +22 -0
- package/src/shared/utils/gesture/validate-snap-points.ts +20 -8
- package/src/shared/utils/overlay/visibility.ts +1 -16
- package/src/shared/utils/resolve-screen-transition-options.ts +37 -0
- package/lib/commonjs/shared/components/overlay/variations/screen-overlay.js +0 -64
- package/lib/commonjs/shared/components/overlay/variations/screen-overlay.js.map +0 -1
- package/lib/commonjs/shared/providers/viewport.provider.js +0 -33
- package/lib/commonjs/shared/providers/viewport.provider.js.map +0 -1
- package/lib/commonjs/shared/utils/bounds/helpers/math.js +0 -132
- package/lib/commonjs/shared/utils/bounds/helpers/math.js.map +0 -1
- package/lib/commonjs/shared/utils/bounds/helpers/navigation-accessor.js +0 -45
- package/lib/commonjs/shared/utils/bounds/helpers/navigation-accessor.js.map +0 -1
- package/lib/commonjs/shared/utils/bounds/sugar/navigation/helpers.js +0 -60
- package/lib/commonjs/shared/utils/bounds/sugar/navigation/helpers.js.map +0 -1
- package/lib/commonjs/shared/utils/bounds/sugar/navigation/index.js +0 -20
- package/lib/commonjs/shared/utils/bounds/sugar/navigation/index.js.map +0 -1
- package/lib/commonjs/shared/utils/bounds/sugar/navigation/types.js.map +0 -1
- package/lib/commonjs/shared/utils/bounds/sugar/navigation/zoom.js +0 -295
- package/lib/commonjs/shared/utils/bounds/sugar/navigation/zoom.js.map +0 -1
- package/lib/module/shared/components/overlay/variations/screen-overlay.js +0 -61
- package/lib/module/shared/components/overlay/variations/screen-overlay.js.map +0 -1
- package/lib/module/shared/providers/viewport.provider.js +0 -27
- package/lib/module/shared/providers/viewport.provider.js.map +0 -1
- package/lib/module/shared/utils/bounds/helpers/math.js +0 -115
- package/lib/module/shared/utils/bounds/helpers/math.js.map +0 -1
- package/lib/module/shared/utils/bounds/helpers/navigation-accessor.js +0 -40
- package/lib/module/shared/utils/bounds/helpers/navigation-accessor.js.map +0 -1
- package/lib/module/shared/utils/bounds/sugar/navigation/helpers.js +0 -54
- package/lib/module/shared/utils/bounds/sugar/navigation/helpers.js.map +0 -1
- package/lib/module/shared/utils/bounds/sugar/navigation/index.js +0 -15
- package/lib/module/shared/utils/bounds/sugar/navigation/index.js.map +0 -1
- package/lib/module/shared/utils/bounds/sugar/navigation/types.js.map +0 -1
- package/lib/module/shared/utils/bounds/sugar/navigation/zoom.js +0 -290
- package/lib/module/shared/utils/bounds/sugar/navigation/zoom.js.map +0 -1
- package/lib/typescript/shared/components/overlay/variations/screen-overlay.d.ts +0 -10
- package/lib/typescript/shared/components/overlay/variations/screen-overlay.d.ts.map +0 -1
- package/lib/typescript/shared/providers/viewport.provider.d.ts +0 -13
- package/lib/typescript/shared/providers/viewport.provider.d.ts.map +0 -1
- package/lib/typescript/shared/utils/bounds/helpers/math.d.ts +0 -38
- package/lib/typescript/shared/utils/bounds/helpers/math.d.ts.map +0 -1
- package/lib/typescript/shared/utils/bounds/helpers/navigation-accessor.d.ts +0 -16
- package/lib/typescript/shared/utils/bounds/helpers/navigation-accessor.d.ts.map +0 -1
- package/lib/typescript/shared/utils/bounds/sugar/navigation/helpers.d.ts +0 -17
- package/lib/typescript/shared/utils/bounds/sugar/navigation/helpers.d.ts.map +0 -1
- package/lib/typescript/shared/utils/bounds/sugar/navigation/index.d.ts +0 -3
- package/lib/typescript/shared/utils/bounds/sugar/navigation/index.d.ts.map +0 -1
- package/lib/typescript/shared/utils/bounds/sugar/navigation/types.d.ts +0 -18
- package/lib/typescript/shared/utils/bounds/sugar/navigation/types.d.ts.map +0 -1
- package/lib/typescript/shared/utils/bounds/sugar/navigation/zoom.d.ts +0 -4
- package/lib/typescript/shared/utils/bounds/sugar/navigation/zoom.d.ts.map +0 -1
- package/src/shared/components/overlay/variations/screen-overlay.tsx +0 -68
- package/src/shared/providers/viewport.provider.tsx +0 -39
- package/src/shared/utils/bounds/helpers/math.ts +0 -161
- package/src/shared/utils/bounds/helpers/navigation-accessor.ts +0 -61
- package/src/shared/utils/bounds/sugar/navigation/helpers.ts +0 -74
- package/src/shared/utils/bounds/sugar/navigation/index.ts +0 -14
- package/src/shared/utils/bounds/sugar/navigation/types.ts +0 -26
- package/src/shared/utils/bounds/sugar/navigation/zoom.ts +0 -348
- /package/lib/commonjs/shared/utils/bounds/{sugar/navigation → zoom}/types.js +0 -0
- /package/lib/module/shared/utils/bounds/{sugar/navigation → zoom}/types.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BoundStore","DEFAULT_DRAG_RESISTANCE","DEFAULT_DRAG_DIRECTIONAL_SCALE_MIN","DEFAULT_DRAG_DIRECTIONAL_SCALE_MAX","DEFAULT_MASK_BORDER_RADIUS","ZERO_OUTSET","Object","freeze","top","right","bottom","left","toNumber","value","fallback","isFiniteNumber","Number","isFinite","normalizeOutset","normalizeZoomOptions","zoomOptions","resolvedMaskRadius","mask","borderRadius","maskBorderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderCurve","outset","motion","dragResistance","dragDirectionalScaleMin","dragDirectionalScaleMax","resolveZoomConfig","id","group","currentRouteKey","resolveTag","defaultAnchor","resolvedTag","boundaryConfig","getBoundaryConfig","effectiveConfig","scopedLink","getActiveLink","link","source","screenKey","sharedOptions","anchor","scaleMode","explicitTarget","target","resolvedZoomOptions"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/zoom/config.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,wBAAwB;AAKnD,MAAMC,uBAAuB,GAAG,GAAG;AACnC,MAAMC,kCAAkC,GAAG,IAAI;AAC/C,MAAMC,kCAAkC,GAAG,IAAI;AAM/C,MAAMC,0BAA2C,GAAG,EAAE;AAEtD,MAAMC,WAAW,GAAGC,MAAM,CAACC,MAAM,CAAC;EACjCC,GAAG,EAAE,CAAC;EACNC,KAAK,EAAE,CAAC;EACRC,MAAM,EAAE,CAAC;EACTC,IAAI,EAAE;AACP,CAAC,CAAC;AA0BF,OAAO,MAAMC,QAAQ,GAAGA,CAACC,KAAc,EAAEC,QAAQ,GAAG,CAAC,KAAa;EACjE,SAAS;;EACT,OAAO,OAAOD,KAAK,KAAK,QAAQ,GAAGA,KAAK,GAAGC,QAAQ;AACpD,CAAC;AAED,MAAMC,cAAc,GAAIF,KAAc,IAAsB;EAC3D,SAAS;;EACT,OAAO,OAAOA,KAAK,KAAK,QAAQ,IAAIG,MAAM,CAACC,QAAQ,CAACJ,KAAK,CAAC;AAC3D,CAAC;AAED,MAAMK,eAAe,GAAIL,KAAsB,IAAyB;EACvE,SAAS;;EACT,IAAI,OAAOA,KAAK,KAAK,QAAQ,EAAE;IAC9B,OAAO;MACNL,GAAG,EAAEK,KAAK;MACVJ,KAAK,EAAEI,KAAK;MACZH,MAAM,EAAEG,KAAK;MACbF,IAAI,EAAEE;IACP,CAAC;EACF;EAEA,IAAI,CAACA,KAAK,EAAE;IACX,OAAOR,WAAW;EACnB;EAEA,OAAO;IACNG,GAAG,EAAEO,cAAc,CAACF,KAAK,CAACL,GAAG,CAAC,GAAGK,KAAK,CAACL,GAAG,GAAG,CAAC;IAC9CC,KAAK,EAAEM,cAAc,CAACF,KAAK,CAACJ,KAAK,CAAC,GAAGI,KAAK,CAACJ,KAAK,GAAG,CAAC;IACpDC,MAAM,EAAEK,cAAc,CAACF,KAAK,CAACH,MAAM,CAAC,GAAGG,KAAK,CAACH,MAAM,GAAG,CAAC;IACvDC,IAAI,EAAEI,cAAc,CAACF,KAAK,CAACF,IAAI,CAAC,GAAGE,KAAK,CAACF,IAAI,GAAG;EACjD,CAAC;AACF,CAAC;AAED,MAAMQ,oBAAoB,GACzBC,WAAyC,IAChB;EACzB,SAAS;;EAET,MAAMC,kBAAkB,GACvBD,WAAW,EAAEE,IAAI,EAAEC,YAAY,KAC9BR,cAAc,CAACK,WAAW,EAAEI,gBAAgB,CAAC,GAC3CJ,WAAW,EAAEI,gBAAgB,GAC7BpB,0BAA0B,CAAC;EAE/B,OAAO;IACNkB,IAAI,EAAE;MACLC,YAAY,EAAEF,kBAAkB;MAChCI,mBAAmB,EAAEL,WAAW,EAAEE,IAAI,EAAEG,mBAAmB;MAC3DC,oBAAoB,EAAEN,WAAW,EAAEE,IAAI,EAAEI,oBAAoB;MAC7DC,sBAAsB,EAAEP,WAAW,EAAEE,IAAI,EAAEK,sBAAsB;MACjEC,uBAAuB,EAAER,WAAW,EAAEE,IAAI,EAAEM,uBAAuB;MACnEC,WAAW,EAAET,WAAW,EAAEE,IAAI,EAAEO,WAAW;MAC3CC,MAAM,EAAEZ,eAAe,CAACE,WAAW,EAAEE,IAAI,EAAEQ,MAAM;IAClD,CAAC;IACDC,MAAM,EAAE;MACPC,cAAc,EAAEjB,cAAc,CAACK,WAAW,EAAEW,MAAM,EAAEC,cAAc,CAAC,GAChEZ,WAAW,CAACW,MAAM,CAACC,cAAc,GACjC/B,uBAAuB;MAC1BgC,uBAAuB,EAAElB,cAAc,CACtCK,WAAW,EAAEW,MAAM,EAAEE,uBACtB,CAAC,GACEb,WAAW,CAACW,MAAM,CAACE,uBAAuB,GAC1C/B,kCAAkC;MACrCgC,uBAAuB,EAAE/B;IAC1B;EACD,CAAC;AACF,CAAC;AAED,OAAO,MAAMgC,iBAAiB,GAAGA,CAAC;EACjCC,EAAE;EACFC,KAAK;EACLjB,WAAW;EACXkB,eAAe;EACfC,UAAU;EACVC;AAQD,CAAC,KAKW;EACX,SAAS;;EACT,MAAMC,WAAW,GAAGF,UAAU,CAAC;IAAEH,EAAE;IAAEC;EAAM,CAAC,CAAC;EAC7C,IAAI,CAACI,WAAW,EAAE,OAAO,IAAI;;EAE7B;EACA,MAAMC,cAAc,GAAGJ,eAAe,GACnCtC,UAAU,CAAC2C,iBAAiB,CAACF,WAAW,EAAEH,eAAe,CAAC,GAC1D,IAAI;;EAEP;EACA;EACA;EACA,IAAIM,eAAe,GAAGF,cAAc;EACpC,IAAI,CAACE,eAAe,EAAE;IACrB;IACA;IACA;IACA,MAAMC,UAAU,GAAGP,eAAe,GAC/BtC,UAAU,CAAC8C,aAAa,CAACL,WAAW,EAAEH,eAAe,CAAC,GACtD,IAAI;IACP,MAAMS,IAAI,GAAGF,UAAU,IAAI7C,UAAU,CAAC8C,aAAa,CAACL,WAAW,CAAC;IAChE,IAAIM,IAAI,EAAEC,MAAM,EAAE;MACjBJ,eAAe,GAAG5C,UAAU,CAAC2C,iBAAiB,CAC7CF,WAAW,EACXM,IAAI,CAACC,MAAM,CAACC,SACb,CAAC;IACF;EACD;EAEA,MAAMC,aAAqC,GAAG;IAC7CC,MAAM,EAAE/B,WAAW,EAAE+B,MAAM,IAAIP,eAAe,EAAEO,MAAM,IAAIX,aAAa;IACvEY,SAAS,EACRhC,WAAW,EAAEgC,SAAS,IAAIR,eAAe,EAAEQ,SAAS,IAAI;EAC1D,CAAC;EAED,MAAMC,cAAc,GAAGjC,WAAW,EAAEkC,MAAM,IAAIV,eAAe,EAAEU,MAAM;EACrE,MAAMC,mBAAmB,GAAGpC,oBAAoB,CAACC,WAAW,CAAC;EAE7D,OAAO;IACNqB,WAAW;IACXS,aAAa;IACbG,cAAc;IACdjC,WAAW,EAAEmC;EACd,CAAC;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["createZoomAccessor","buildZoomStyles"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/zoom/index.ts"],"mappings":";;AAAA,SAASA,kBAAkB,QAAQ,YAAY;AAC/C,SAASC,eAAe,QAAQ,SAAS","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/zoom/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Filters snap points to only valid, finite values.
|
|
4
|
+
* Filters snap points to only valid, finite numeric values.
|
|
5
5
|
* Excludes zero (dismiss) when canDismiss is false.
|
|
6
6
|
*/
|
|
7
7
|
export function sanitizeSnapPoints(snapPoints, canDismiss) {
|
|
8
8
|
"worklet";
|
|
9
9
|
|
|
10
|
-
return snapPoints.filter(point => canDismiss ? Number.isFinite(point) : Number.isFinite(point) && point > 0);
|
|
10
|
+
return snapPoints.filter(point => typeof point === "number" && (canDismiss ? Number.isFinite(point) : Number.isFinite(point) && point > 0));
|
|
11
11
|
}
|
|
12
12
|
export const validateSnapPoints = ({
|
|
13
13
|
snapPoints,
|
|
@@ -16,15 +16,20 @@ export const validateSnapPoints = ({
|
|
|
16
16
|
if (!snapPoints || snapPoints.length === 0) {
|
|
17
17
|
return {
|
|
18
18
|
hasSnapPoints: false,
|
|
19
|
+
hasAutoSnapPoint: false,
|
|
19
20
|
snapPoints: [],
|
|
20
21
|
minSnapPoint: -1,
|
|
21
22
|
maxSnapPoint: -1
|
|
22
23
|
};
|
|
23
24
|
}
|
|
25
|
+
const hasAuto = snapPoints.includes("auto");
|
|
24
26
|
const normalizedSnaps = sanitizeSnapPoints(snapPoints, canDismiss ?? false);
|
|
25
|
-
|
|
27
|
+
|
|
28
|
+
// hasSnapPoints is true if there are valid numeric points OR an 'auto' point
|
|
29
|
+
if (normalizedSnaps.length === 0 && !hasAuto) {
|
|
26
30
|
return {
|
|
27
31
|
hasSnapPoints: false,
|
|
32
|
+
hasAutoSnapPoint: false,
|
|
28
33
|
snapPoints: [],
|
|
29
34
|
minSnapPoint: -1,
|
|
30
35
|
maxSnapPoint: -1
|
|
@@ -32,10 +37,11 @@ export const validateSnapPoints = ({
|
|
|
32
37
|
}
|
|
33
38
|
const sortedSnaps = normalizedSnaps.slice().sort((a, b) => a - b);
|
|
34
39
|
// Clamp to snap point bounds (dismiss at 0 only if allowed)
|
|
35
|
-
const minProgress = canDismiss ? 0 : sortedSnaps[0];
|
|
36
|
-
const maxProgress = sortedSnaps[sortedSnaps.length - 1];
|
|
40
|
+
const minProgress = canDismiss ? 0 : sortedSnaps[0] ?? -1;
|
|
41
|
+
const maxProgress = sortedSnaps[sortedSnaps.length - 1] ?? -1;
|
|
37
42
|
return {
|
|
38
43
|
hasSnapPoints: true,
|
|
44
|
+
hasAutoSnapPoint: hasAuto,
|
|
39
45
|
snapPoints: sortedSnaps,
|
|
40
46
|
minSnapPoint: minProgress,
|
|
41
47
|
maxSnapPoint: maxProgress
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["sanitizeSnapPoints","snapPoints","canDismiss","filter","point","Number","isFinite","validateSnapPoints","length","hasSnapPoints","minSnapPoint","maxSnapPoint","normalizedSnaps","sortedSnaps","slice","sort","a","b","minProgress","maxProgress"],"sourceRoot":"../../../../../src","sources":["shared/utils/gesture/validate-snap-points.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"names":["sanitizeSnapPoints","snapPoints","canDismiss","filter","point","Number","isFinite","validateSnapPoints","length","hasSnapPoints","hasAutoSnapPoint","minSnapPoint","maxSnapPoint","hasAuto","includes","normalizedSnaps","sortedSnaps","slice","sort","a","b","minProgress","maxProgress"],"sourceRoot":"../../../../../src","sources":["shared/utils/gesture/validate-snap-points.ts"],"mappings":";;AAEA;AACA;AACA;AACA;AACA,OAAO,SAASA,kBAAkBA,CACjCC,UAAuB,EACvBC,UAAmB,EACR;EACX,SAAS;;EACT,OAAOD,UAAU,CAACE,MAAM,CACtBC,KAAK,IACL,OAAOA,KAAK,KAAK,QAAQ,KACxBF,UAAU,GACRG,MAAM,CAACC,QAAQ,CAACF,KAAK,CAAC,GACtBC,MAAM,CAACC,QAAQ,CAACF,KAAK,CAAC,IAAIA,KAAK,GAAG,CAAC,CACxC,CAAC;AACF;AAeA,OAAO,MAAMG,kBAAkB,GAAGA,CAAC;EAClCN,UAAU;EACVC;AAC0B,CAAC,KAAgC;EAC3D,IAAI,CAACD,UAAU,IAAIA,UAAU,CAACO,MAAM,KAAK,CAAC,EAAE;IAC3C,OAAO;MACNC,aAAa,EAAE,KAAK;MACpBC,gBAAgB,EAAE,KAAK;MACvBT,UAAU,EAAE,EAAE;MACdU,YAAY,EAAE,CAAC,CAAC;MAChBC,YAAY,EAAE,CAAC;IAChB,CAAC;EACF;EAEA,MAAMC,OAAO,GAAGZ,UAAU,CAACa,QAAQ,CAAC,MAAM,CAAC;EAC3C,MAAMC,eAAe,GAAGf,kBAAkB,CAACC,UAAU,EAAEC,UAAU,IAAI,KAAK,CAAC;;EAE3E;EACA,IAAIa,eAAe,CAACP,MAAM,KAAK,CAAC,IAAI,CAACK,OAAO,EAAE;IAC7C,OAAO;MACNJ,aAAa,EAAE,KAAK;MACpBC,gBAAgB,EAAE,KAAK;MACvBT,UAAU,EAAE,EAAE;MACdU,YAAY,EAAE,CAAC,CAAC;MAChBC,YAAY,EAAE,CAAC;IAChB,CAAC;EACF;EAEA,MAAMI,WAAW,GAAGD,eAAe,CAACE,KAAK,CAAC,CAAC,CAACC,IAAI,CAAC,CAACC,CAAC,EAAEC,CAAC,KAAKD,CAAC,GAAGC,CAAC,CAAC;EACjE;EACA,MAAMC,WAAW,GAAGnB,UAAU,GAAG,CAAC,GAAIc,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAE;EAC3D,MAAMM,WAAW,GAAGN,WAAW,CAACA,WAAW,CAACR,MAAM,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC;EAE7D,OAAO;IACNC,aAAa,EAAE,IAAI;IACnBC,gBAAgB,EAAEG,OAAO;IACzBZ,UAAU,EAAEe,WAAW;IACvBL,YAAY,EAAEU,WAAW;IACzBT,YAAY,EAAEU;EACf,CAAC;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
const isOverlayVisible = options => {
|
|
3
|
+
export const isOverlayVisible = options => {
|
|
4
4
|
return Boolean(options?.overlay) && options?.overlayShown !== false;
|
|
5
5
|
};
|
|
6
|
-
export const isFloatOverlayVisible = options => {
|
|
7
|
-
return isOverlayVisible(options) && options?.overlayMode !== "screen";
|
|
8
|
-
};
|
|
9
|
-
export const isScreenOverlayVisible = options => {
|
|
10
|
-
return isOverlayVisible(options) && options?.overlayMode === "screen";
|
|
11
|
-
};
|
|
12
6
|
//# sourceMappingURL=visibility.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["isOverlayVisible","options","Boolean","overlay","overlayShown"
|
|
1
|
+
{"version":3,"names":["isOverlayVisible","options","Boolean","overlay","overlayShown"],"sourceRoot":"../../../../../src","sources":["shared/utils/overlay/visibility.ts"],"mappings":";;AAKA,OAAO,MAAMA,gBAAgB,GAAIC,OAA4B,IAAc;EAC1E,OAAOC,OAAO,CAACD,OAAO,EAAEE,OAAO,CAAC,IAAIF,OAAO,EAAEG,YAAY,KAAK,KAAK;AACpE,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
export const DEFAULT_SHEET_SCROLL_GESTURE_BEHAVIOR = "expand-and-collapse";
|
|
4
|
+
export const resolveSheetScrollGestureBehavior = options => {
|
|
5
|
+
const explicitBehavior = options.sheetScrollGestureBehavior;
|
|
6
|
+
if (explicitBehavior) return explicitBehavior;
|
|
7
|
+
const legacyBehavior = options.expandViaScrollView;
|
|
8
|
+
if (legacyBehavior !== undefined) {
|
|
9
|
+
return legacyBehavior ? "expand-and-collapse" : "collapse-only";
|
|
10
|
+
}
|
|
11
|
+
return DEFAULT_SHEET_SCROLL_GESTURE_BEHAVIOR;
|
|
12
|
+
};
|
|
13
|
+
export const resolveNavigationMaskEnabled = options => {
|
|
14
|
+
if (options.navigationMaskEnabled !== undefined) {
|
|
15
|
+
return options.navigationMaskEnabled;
|
|
16
|
+
}
|
|
17
|
+
return options.maskEnabled ?? false;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=resolve-screen-transition-options.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["DEFAULT_SHEET_SCROLL_GESTURE_BEHAVIOR","resolveSheetScrollGestureBehavior","options","explicitBehavior","sheetScrollGestureBehavior","legacyBehavior","expandViaScrollView","undefined","resolveNavigationMaskEnabled","navigationMaskEnabled","maskEnabled"],"sourceRoot":"../../../../src","sources":["shared/utils/resolve-screen-transition-options.ts"],"mappings":";;AAKA,OAAO,MAAMA,qCAAiE,GAC7E,qBAAqB;AAEtB,OAAO,MAAMC,iCAAiC,GAC7CC,OAGC,IAC+B;EAChC,MAAMC,gBAAgB,GAAGD,OAAO,CAACE,0BAA0B;EAC3D,IAAID,gBAAgB,EAAE,OAAOA,gBAAgB;EAE7C,MAAME,cAAc,GAAGH,OAAO,CAACI,mBAAmB;EAClD,IAAID,cAAc,KAAKE,SAAS,EAAE;IACjC,OAAOF,cAAc,GAAG,qBAAqB,GAAG,eAAe;EAChE;EAEA,OAAOL,qCAAqC;AAC7C,CAAC;AAED,OAAO,MAAMQ,4BAA4B,GACxCN,OAGC,IACY;EACb,IAAIA,OAAO,CAACO,qBAAqB,KAAKF,SAAS,EAAE;IAChD,OAAOL,OAAO,CAACO,qBAAqB;EACrC;EAEA,OAAOP,OAAO,CAACQ,WAAW,IAAI,KAAK;AACpC,CAAC","ignoreList":[]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { createBlankStackNavigator } from "../blank-stack/navigators/create-blank-stack-navigator";
|
|
2
|
-
export type { BlankStackNavigationEventMap, BlankStackNavigationOptions, BlankStackNavigationProp, BlankStackNavigatorProps, BlankStackOptionsArgs, BlankStackOverlayProps, BlankStackScreenProps, } from "../blank-stack/types";
|
|
2
|
+
export type { BlankStackFactoryOptions, BlankStackNavigationEventMap, BlankStackNavigationOptions, BlankStackNavigationProp, BlankStackNavigatorProps, BlankStackOptionsArgs, BlankStackOverlayProps, BlankStackScreenProps, } from "../blank-stack/types";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blank-stack/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,wDAAwD,CAAC;AACnG,YAAY,EACX,4BAA4B,EAC5B,2BAA2B,EAC3B,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,GACrB,MAAM,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blank-stack/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,wDAAwD,CAAC;AACnG,YAAY,EACX,wBAAwB,EACxB,4BAA4B,EAC5B,2BAA2B,EAC3B,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,GACrB,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { type NavigatorTypeBagBase, type ParamListBase, type StackNavigationState, type StaticConfig, type TypedNavigator } from "@react-navigation/native";
|
|
2
|
-
import type { BlankStackNavigationEventMap, BlankStackNavigationOptions, BlankStackNavigationProp, BlankStackNavigatorProps } from "../types";
|
|
3
|
-
declare
|
|
4
|
-
|
|
2
|
+
import type { BlankStackFactoryOptions, BlankStackNavigationEventMap, BlankStackNavigationOptions, BlankStackNavigationProp, BlankStackNavigatorProps } from "../types";
|
|
3
|
+
declare const BlankStackNavigator: {
|
|
4
|
+
(props: BlankStackNavigatorProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
type BlankStackTypeBag<ParamList extends ParamListBase, NavigatorID extends string | undefined> = {
|
|
5
8
|
ParamList: ParamList;
|
|
6
9
|
NavigatorID: NavigatorID;
|
|
7
10
|
State: StackNavigationState<ParamList>;
|
|
@@ -11,6 +14,28 @@ export declare function createBlankStackNavigator<const ParamList extends ParamL
|
|
|
11
14
|
[RouteName in keyof ParamList]: BlankStackNavigationProp<ParamList, RouteName, NavigatorID>;
|
|
12
15
|
};
|
|
13
16
|
Navigator: typeof BlankStackNavigator;
|
|
14
|
-
}
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Creates a blank stack navigator with gesture-driven transitions.
|
|
20
|
+
*
|
|
21
|
+
* By default, blank stack behaves like the existing top-level blank stack:
|
|
22
|
+
* it participates in the current navigation tree and uses native screen
|
|
23
|
+
* primitives on supported native platforms.
|
|
24
|
+
*
|
|
25
|
+
* Pass {@link BlankStackFactoryOptions} when you need embedded-flow behavior:
|
|
26
|
+
* - `independent: true` creates an isolated navigator for nested flows
|
|
27
|
+
* - `enableNativeScreens: false` renders the stack with regular views instead
|
|
28
|
+
* of `react-native-screens`
|
|
29
|
+
*
|
|
30
|
+
* These options are factory-only. Use screen options for per-screen transition
|
|
31
|
+
* behavior, and use factory options when you need to change how the navigator
|
|
32
|
+
* itself is hosted.
|
|
33
|
+
*/
|
|
34
|
+
export declare function createBlankStackNavigator<const ParamList extends ParamListBase, const NavigatorID extends string | undefined = undefined, const TypeBag extends NavigatorTypeBagBase = BlankStackTypeBag<ParamList, NavigatorID>>(): TypedNavigator<TypeBag, StaticConfig<TypeBag>>;
|
|
35
|
+
export declare function createBlankStackNavigator<const ParamList extends ParamListBase, const NavigatorID extends string | undefined = undefined, const TypeBag extends NavigatorTypeBagBase = BlankStackTypeBag<ParamList, NavigatorID>>(
|
|
36
|
+
/**
|
|
37
|
+
* Factory-level hosting options for the blank stack.
|
|
38
|
+
*/
|
|
39
|
+
options: BlankStackFactoryOptions): TypedNavigator<TypeBag, StaticConfig<TypeBag>>;
|
|
15
40
|
export {};
|
|
16
41
|
//# sourceMappingURL=create-blank-stack-navigator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-blank-stack-navigator.d.ts","sourceRoot":"","sources":["../../../../src/blank-stack/navigators/create-blank-stack-navigator.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"create-blank-stack-navigator.d.ts","sourceRoot":"","sources":["../../../../src/blank-stack/navigators/create-blank-stack-navigator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIN,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAElB,KAAK,oBAAoB,EAGzB,KAAK,YAAY,EACjB,KAAK,cAAc,EAEnB,MAAM,0BAA0B,CAAC;AAIlC,OAAO,KAAK,EACX,wBAAwB,EACxB,4BAA4B,EAC5B,2BAA2B,EAC3B,wBAAwB,EACxB,wBAAwB,EACxB,MAAM,UAAU,CAAC;AA+FlB,QAAA,MAAM,mBAAmB;YAnCY,wBAAwB;;CAsC3D,CAAC;AAEH,KAAK,iBAAiB,CACrB,SAAS,SAAS,aAAa,EAC/B,WAAW,SAAS,MAAM,GAAG,SAAS,IACnC;IACH,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,WAAW,CAAC;IACzB,KAAK,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;IACvC,aAAa,EAAE,2BAA2B,CAAC;IAC3C,QAAQ,EAAE,4BAA4B,CAAC;IACvC,cAAc,EAAE;SACd,SAAS,IAAI,MAAM,SAAS,GAAG,wBAAwB,CACvD,SAAS,EACT,SAAS,EACT,WAAW,CACX;KACD,CAAC;IACF,SAAS,EAAE,OAAO,mBAAmB,CAAC;CACtC,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,yBAAyB,CACxC,KAAK,CAAC,SAAS,SAAS,aAAa,EACrC,KAAK,CAAC,WAAW,SAAS,MAAM,GAAG,SAAS,GAAG,SAAS,EACxD,KAAK,CAAC,OAAO,SAAS,oBAAoB,GAAG,iBAAiB,CAC7D,SAAS,EACT,WAAW,CACX,KACG,cAAc,CAAC,OAAO,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC;AACpD,wBAAgB,yBAAyB,CACxC,KAAK,CAAC,SAAS,SAAS,aAAa,EACrC,KAAK,CAAC,WAAW,SAAS,MAAM,GAAG,SAAS,GAAG,SAAS,EACxD,KAAK,CAAC,OAAO,SAAS,oBAAoB,GAAG,iBAAiB,CAC7D,SAAS,EACT,WAAW,CACX;AAED;;GAEG;AACH,OAAO,EAAE,wBAAwB,GAC/B,cAAc,CAAC,OAAO,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC"}
|
|
@@ -11,9 +11,38 @@ export type BlankStackOptionsArgs<ParamList extends ParamListBase, RouteName ext
|
|
|
11
11
|
theme: Theme;
|
|
12
12
|
};
|
|
13
13
|
export type BlankStackNavigationHelpers = NavigationHelpers<ParamListBase, BlankStackNavigationEventMap>;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
/**
|
|
15
|
+
* Factory-only options for `createBlankStackNavigator`.
|
|
16
|
+
*
|
|
17
|
+
* Use these when you need to change how the blank stack itself is hosted,
|
|
18
|
+
* not how individual screens transition.
|
|
19
|
+
*/
|
|
20
|
+
export interface BlankStackFactoryOptions {
|
|
21
|
+
/**
|
|
22
|
+
* Creates an isolated navigation tree for embedded flows.
|
|
23
|
+
*
|
|
24
|
+
* Use this when the blank stack needs to live inside another screen or host
|
|
25
|
+
* application without joining the parent React Navigation tree.
|
|
26
|
+
*
|
|
27
|
+
* When enabled, the navigator:
|
|
28
|
+
* - wraps itself in `NavigationIndependentTree` + `NavigationContainer`
|
|
29
|
+
* - skips the shared native `ScreenContainer`
|
|
30
|
+
*
|
|
31
|
+
* Leave this disabled for normal top-level app stacks.
|
|
32
|
+
*/
|
|
33
|
+
independent?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Enables native screen primitives on supported native platforms.
|
|
36
|
+
*
|
|
37
|
+
* Use this when you want the embedded blank stack to keep `react-native-screens`
|
|
38
|
+
* behavior such as native activity state and freezing.
|
|
39
|
+
*
|
|
40
|
+
* Set this to `false` when you want the blank stack to render with regular
|
|
41
|
+
* views instead of native screen primitives. This is useful for embedded
|
|
42
|
+
* flows where plain views are a better fit than native screen layering.
|
|
43
|
+
*/
|
|
44
|
+
enableNativeScreens?: boolean;
|
|
45
|
+
}
|
|
17
46
|
/**
|
|
18
47
|
* Props passed to overlay components in blank-stack.
|
|
19
48
|
* Uses the shared OverlayProps type with blank-stack's navigation type.
|
|
@@ -37,7 +66,7 @@ export type BlankStackNavigationOptions = BlankStackScreenTransitionConfig & {
|
|
|
37
66
|
*/
|
|
38
67
|
freezeOnBlur?: boolean;
|
|
39
68
|
};
|
|
40
|
-
export type BlankStackNavigatorProps = DefaultNavigatorOptions<ParamListBase, string | undefined, StackNavigationState<ParamListBase>, BlankStackNavigationOptions, BlankStackNavigationEventMap, BlankStackNavigationProp<ParamListBase>> & StackRouterOptions
|
|
69
|
+
export type BlankStackNavigatorProps = DefaultNavigatorOptions<ParamListBase, string | undefined, StackNavigationState<ParamListBase>, BlankStackNavigationOptions, BlankStackNavigationEventMap, BlankStackNavigationProp<ParamListBase>> & StackRouterOptions;
|
|
41
70
|
export type BlankStackDescriptor = Descriptor<BlankStackNavigationOptions, BlankStackNavigationProp<ParamListBase>, RouteProp<ParamListBase>>;
|
|
42
71
|
export {};
|
|
43
72
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/blank-stack/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,uBAAuB,EACvB,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,SAAS,EACT,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,KAAK,EACL,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAElE,MAAM,MAAM,4BAA4B,GAAG,EAAE,CAAC;AAE9C,MAAM,MAAM,wBAAwB,CACnC,SAAS,SAAS,aAAa,EAC/B,SAAS,SAAS,MAAM,SAAS,GAAG,MAAM,EAC1C,WAAW,SAAS,MAAM,GAAG,SAAS,GAAG,SAAS,IAC/C,cAAc,CACjB,SAAS,EACT,SAAS,EACT,WAAW,EACX,oBAAoB,CAAC,SAAS,CAAC,EAC/B,2BAA2B,EAC3B,4BAA4B,CAC5B,GACA,kBAAkB,CAAC,SAAS,CAAC,CAAC;AAE/B,MAAM,MAAM,qBAAqB,CAChC,SAAS,SAAS,aAAa,EAC/B,SAAS,SAAS,MAAM,SAAS,GAAG,MAAM,EAC1C,WAAW,SAAS,MAAM,GAAG,SAAS,GAAG,SAAS,IAC/C;IACH,UAAU,EAAE,wBAAwB,CAAC,SAAS,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;IACxE,KAAK,EAAE,SAAS,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,qBAAqB,CAChC,SAAS,SAAS,aAAa,EAC/B,SAAS,SAAS,MAAM,SAAS,GAAG,MAAM,SAAS,EACnD,WAAW,SAAS,MAAM,GAAG,SAAS,GAAG,SAAS,IAC/C,qBAAqB,CAAC,SAAS,EAAE,SAAS,EAAE,WAAW,CAAC,GAAG;IAC9D,KAAK,EAAE,KAAK,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,CAC1D,aAAa,EACb,4BAA4B,CAC5B,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/blank-stack/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,uBAAuB,EACvB,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,SAAS,EACT,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,KAAK,EACL,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAElE,MAAM,MAAM,4BAA4B,GAAG,EAAE,CAAC;AAE9C,MAAM,MAAM,wBAAwB,CACnC,SAAS,SAAS,aAAa,EAC/B,SAAS,SAAS,MAAM,SAAS,GAAG,MAAM,EAC1C,WAAW,SAAS,MAAM,GAAG,SAAS,GAAG,SAAS,IAC/C,cAAc,CACjB,SAAS,EACT,SAAS,EACT,WAAW,EACX,oBAAoB,CAAC,SAAS,CAAC,EAC/B,2BAA2B,EAC3B,4BAA4B,CAC5B,GACA,kBAAkB,CAAC,SAAS,CAAC,CAAC;AAE/B,MAAM,MAAM,qBAAqB,CAChC,SAAS,SAAS,aAAa,EAC/B,SAAS,SAAS,MAAM,SAAS,GAAG,MAAM,EAC1C,WAAW,SAAS,MAAM,GAAG,SAAS,GAAG,SAAS,IAC/C;IACH,UAAU,EAAE,wBAAwB,CAAC,SAAS,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;IACxE,KAAK,EAAE,SAAS,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,qBAAqB,CAChC,SAAS,SAAS,aAAa,EAC/B,SAAS,SAAS,MAAM,SAAS,GAAG,MAAM,SAAS,EACnD,WAAW,SAAS,MAAM,GAAG,SAAS,GAAG,SAAS,IAC/C,qBAAqB,CAAC,SAAS,EAAE,SAAS,EAAE,WAAW,CAAC,GAAG;IAC9D,KAAK,EAAE,KAAK,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,CAC1D,aAAa,EACb,4BAA4B,CAC5B,CAAC;AAEF;;;;;GAKG;AACH,MAAM,WAAW,wBAAwB;IACxC;;;;;;;;;;;OAWG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;;;;;;OASG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG,YAAY,CAChD,wBAAwB,CAAC,aAAa,CAAC,CACvC,CAAC;AAEF,KAAK,gCAAgC,GAAG,sBAAsB,GAAG;IAChE;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,gCAAgC,GAAG;IAC5E;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,uBAAuB,CAC7D,aAAa,EACb,MAAM,GAAG,SAAS,EAClB,oBAAoB,CAAC,aAAa,CAAC,EACnC,2BAA2B,EAC3B,4BAA4B,EAC5B,wBAAwB,CAAC,aAAa,CAAC,CACvC,GACA,kBAAkB,CAAC;AAEpB,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAC5C,2BAA2B,EAC3B,wBAAwB,CAAC,aAAa,CAAC,EACvC,SAAS,CAAC,aAAa,CAAC,CACxB,CAAC"}
|
|
@@ -8,6 +8,14 @@ import type { ComponentStackNavigationEventMap, ComponentStackNavigationOptions,
|
|
|
8
8
|
* to isolate from Expo Router / React Navigation.
|
|
9
9
|
*/
|
|
10
10
|
declare function IsolatedComponentStackNavigator(props: ComponentStackNavigatorProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated Component stack was originally introduced for independent,
|
|
13
|
+
* embedded navigation flows. Blank stack now supports that use case directly
|
|
14
|
+
* via `createBlankStackNavigator({ independent: true })`, with
|
|
15
|
+
* `enableNativeScreens` available when you need to switch between native
|
|
16
|
+
* screens and regular views. Prefer blank stack for new work; component stack
|
|
17
|
+
* will be removed in a future release.
|
|
18
|
+
*/
|
|
11
19
|
export declare function createComponentStackNavigator<const ParamList extends ParamListBase, const NavigatorID extends string | undefined = undefined, const TypeBag extends NavigatorTypeBagBase = {
|
|
12
20
|
ParamList: ParamList;
|
|
13
21
|
NavigatorID: NavigatorID;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-component-stack-navigator.d.ts","sourceRoot":"","sources":["../../../../src/component-stack/navigators/create-component-stack-navigator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIN,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAElB,KAAK,oBAAoB,EAGzB,KAAK,YAAY,EACjB,KAAK,cAAc,EAEnB,MAAM,0BAA0B,CAAC;AAGlC,OAAO,KAAK,EACX,gCAAgC,EAChC,+BAA+B,EAC/B,4BAA4B,EAC5B,4BAA4B,EAC5B,MAAM,UAAU,CAAC;AAmDlB;;;;;;GAMG;AACH,iBAAS,+BAA+B,CAAC,KAAK,EAAE,4BAA4B,2CAgB3E;AAED,wBAAgB,6BAA6B,CAC5C,KAAK,CAAC,SAAS,SAAS,aAAa,EACrC,KAAK,CAAC,WAAW,SAAS,MAAM,GAAG,SAAS,GAAG,SAAS,EACxD,KAAK,CAAC,OAAO,SAAS,oBAAoB,GAAG;IAC5C,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,WAAW,CAAC;IACzB,KAAK,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;IACvC,aAAa,EAAE,+BAA+B,CAAC;IAC/C,QAAQ,EAAE,gCAAgC,CAAC;IAC3C,cAAc,EAAE;SACd,SAAS,IAAI,MAAM,SAAS,GAAG,4BAA4B,CAC3D,SAAS,EACT,SAAS,EACT,WAAW,CACX;KACD,CAAC;IACF,SAAS,EAAE,OAAO,+BAA+B,CAAC;CAClD,EACD,KAAK,CAAC,MAAM,SAAS,YAAY,CAAC,OAAO,CAAC,GAAG,YAAY,CAAC,OAAO,CAAC,EACjE,MAAM,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC,OAAO,EAAE,MAAM,CAAC,CAElD"}
|
|
1
|
+
{"version":3,"file":"create-component-stack-navigator.d.ts","sourceRoot":"","sources":["../../../../src/component-stack/navigators/create-component-stack-navigator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIN,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAElB,KAAK,oBAAoB,EAGzB,KAAK,YAAY,EACjB,KAAK,cAAc,EAEnB,MAAM,0BAA0B,CAAC;AAGlC,OAAO,KAAK,EACX,gCAAgC,EAChC,+BAA+B,EAC/B,4BAA4B,EAC5B,4BAA4B,EAC5B,MAAM,UAAU,CAAC;AAmDlB;;;;;;GAMG;AACH,iBAAS,+BAA+B,CAAC,KAAK,EAAE,4BAA4B,2CAgB3E;AAED;;;;;;;GAOG;AACH,wBAAgB,6BAA6B,CAC5C,KAAK,CAAC,SAAS,SAAS,aAAa,EACrC,KAAK,CAAC,WAAW,SAAS,MAAM,GAAG,SAAS,GAAG,SAAS,EACxD,KAAK,CAAC,OAAO,SAAS,oBAAoB,GAAG;IAC5C,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,WAAW,CAAC;IACzB,KAAK,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;IACvC,aAAa,EAAE,+BAA+B,CAAC;IAC/C,QAAQ,EAAE,gCAAgC,CAAC;IAC3C,cAAc,EAAE;SACd,SAAS,IAAI,MAAM,SAAS,GAAG,4BAA4B,CAC3D,SAAS,EACT,SAAS,EACT,WAAW,CACX;KACD,CAAC;IACF,SAAS,EAAE,OAAO,+BAA+B,CAAC;CAClD,EACD,KAAK,CAAC,MAAM,SAAS,YAAY,CAAC,OAAO,CAAC,GAAG,YAAY,CAAC,OAAO,CAAC,EACjE,MAAM,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC,OAAO,EAAE,MAAM,CAAC,CAElD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snap-to.d.ts","sourceRoot":"","sources":["../../../../src/shared/animation/snap-to.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"snap-to.d.ts","sourceRoot":"","sources":["../../../../src/shared/animation/snap-to.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAwB5D,wBAAgB,qBAAqB,CACpC,UAAU,EAAE,YAAY,CAAC,YAAY,CAAC,EACtC,KAAK,EAAE,MAAM,GACX,OAAO,CA8BT;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAS1C"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import type { MeasurementIntent } from "../../types";
|
|
2
|
+
type PresenceLikeEntry = {
|
|
3
|
+
count: number;
|
|
4
|
+
ancestorKeys?: string[];
|
|
5
|
+
};
|
|
6
|
+
export type MeasurementIntentFlags = {
|
|
7
|
+
captureSource: boolean;
|
|
8
|
+
completeDestination: boolean;
|
|
9
|
+
refreshSource: boolean;
|
|
10
|
+
refreshDestination: boolean;
|
|
11
|
+
snapshotOnly: boolean;
|
|
12
|
+
};
|
|
13
|
+
export type MeasurementWritePlan = {
|
|
14
|
+
captureSource: boolean;
|
|
15
|
+
completeDestination: boolean;
|
|
16
|
+
refreshSource: boolean;
|
|
17
|
+
refreshDestination: boolean;
|
|
18
|
+
registerSnapshot: boolean;
|
|
19
|
+
writesAny: boolean;
|
|
20
|
+
wantsDestinationWrite: boolean;
|
|
21
|
+
};
|
|
22
|
+
export type DeferredMeasurementAction = "clear-pending" | "queue-or-flush" | "noop";
|
|
23
|
+
export declare const getMeasurementIntentFlags: (intent?: MeasurementIntent | readonly MeasurementIntent[]) => MeasurementIntentFlags;
|
|
24
|
+
export declare const resolveMeasurementWritePlan: (params: {
|
|
25
|
+
intents: MeasurementIntentFlags;
|
|
26
|
+
hasPendingLink: boolean;
|
|
27
|
+
hasSourceLink: boolean;
|
|
28
|
+
hasDestinationLink: boolean;
|
|
29
|
+
}) => MeasurementWritePlan;
|
|
30
|
+
export declare const resolveAutoSourceCaptureSignal: (params: {
|
|
31
|
+
enabled: boolean;
|
|
32
|
+
nextScreenKey?: string;
|
|
33
|
+
tagPresence?: Record<string, PresenceLikeEntry>;
|
|
34
|
+
}) => string | 0;
|
|
35
|
+
export declare const resolvePendingDestinationCaptureSignal: (params: {
|
|
36
|
+
enabled: boolean;
|
|
37
|
+
resolvedSourceKey?: string | null;
|
|
38
|
+
hasPendingLinkFromSource: boolean;
|
|
39
|
+
}) => string | 0;
|
|
40
|
+
export declare const resolvePendingDestinationRetrySignal: (params: {
|
|
41
|
+
enabled: boolean;
|
|
42
|
+
retryCount: number;
|
|
43
|
+
maxRetries: number;
|
|
44
|
+
isAnimating: boolean;
|
|
45
|
+
hasDestinationLink: boolean;
|
|
46
|
+
progress: number;
|
|
47
|
+
retryProgressMax: number;
|
|
48
|
+
retryProgressBuckets: number;
|
|
49
|
+
resolvedSourceKey?: string | null;
|
|
50
|
+
hasPendingLinkFromSource: boolean;
|
|
51
|
+
}) => number;
|
|
52
|
+
export declare const resolveInitialLayoutMeasurementIntent: (params: {
|
|
53
|
+
enabled: boolean;
|
|
54
|
+
hasSharedBoundTag: boolean;
|
|
55
|
+
hasMeasuredOnLayout: boolean;
|
|
56
|
+
isAnyAnimating: boolean;
|
|
57
|
+
hasPendingLinkFromSource: boolean;
|
|
58
|
+
}) => MeasurementIntent | readonly MeasurementIntent[] | null;
|
|
59
|
+
export declare const resolveGroupActiveMeasurementAction: (params: {
|
|
60
|
+
enabled: boolean;
|
|
61
|
+
isEligible: boolean;
|
|
62
|
+
memberId: string;
|
|
63
|
+
activeId: string | null;
|
|
64
|
+
previousActiveId: string | null;
|
|
65
|
+
}) => DeferredMeasurementAction;
|
|
66
|
+
export declare const canFlushGroupActiveMeasurement: (params: {
|
|
67
|
+
enabled: boolean;
|
|
68
|
+
isEligible: boolean;
|
|
69
|
+
memberId: string;
|
|
70
|
+
activeId: string | null;
|
|
71
|
+
}) => boolean;
|
|
72
|
+
export declare const shouldTriggerScrollSettledRefresh: (params: {
|
|
73
|
+
enabled: boolean;
|
|
74
|
+
group: string | undefined;
|
|
75
|
+
hasNextScreen: boolean;
|
|
76
|
+
hasSettledSignal: boolean;
|
|
77
|
+
signal: number;
|
|
78
|
+
previousSignal: number | null;
|
|
79
|
+
}) => boolean;
|
|
80
|
+
export {};
|
|
81
|
+
//# sourceMappingURL=measurement-rules.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"measurement-rules.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/create-boundary-component/hooks/helpers/measurement-rules.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-auto-source-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-auto-source-measurement.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"use-auto-source-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-auto-source-measurement.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAG3D,eAAO,MAAM,wBAAwB,GAAI,QAAQ;IAChD,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oBAAoB,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACpE,SA6BA,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { View } from "react-native";
|
|
2
|
-
import { type AnimatedRef, type MeasuredDimensions, type StyleProps } from "react-native-reanimated";
|
|
3
|
-
import type { AnimationStore } from "../../../stores/animation.store";
|
|
2
|
+
import { type AnimatedRef, type MeasuredDimensions, type SharedValue, type StyleProps } from "react-native-reanimated";
|
|
4
3
|
import type { MaybeMeasureAndStoreParams } from "../types";
|
|
5
4
|
type LayoutAnchor = {
|
|
6
5
|
correctMeasurement: (measured: MeasuredDimensions) => MeasuredDimensions;
|
|
@@ -14,7 +13,7 @@ export declare const useBoundaryMeasureAndStore: (params: {
|
|
|
14
13
|
ancestorKeys: string[];
|
|
15
14
|
navigatorKey?: string;
|
|
16
15
|
ancestorNavigatorKeys?: string[];
|
|
17
|
-
isAnimating:
|
|
16
|
+
isAnimating: SharedValue<number>;
|
|
18
17
|
preparedStyles: StyleProps;
|
|
19
18
|
animatedRef: AnimatedRef<View>;
|
|
20
19
|
layoutAnchor: LayoutAnchor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-boundary-measure-and-store.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EACN,KAAK,WAAW,EAChB,KAAK,kBAAkB,EAEvB,KAAK,
|
|
1
|
+
{"version":3,"file":"use-boundary-measure-and-store.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EACN,KAAK,WAAW,EAChB,KAAK,kBAAkB,EAEvB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,MAAM,yBAAyB,CAAC;AAKjC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAM3D,KAAK,YAAY,GAAG;IACnB,kBAAkB,EAAE,CAAC,QAAQ,EAAE,kBAAkB,KAAK,kBAAkB,CAAC;IACzE,uBAAuB,CAAC,EAAE,CAAC,QAAQ,EAAE,kBAAkB,KAAK,OAAO,CAAC;CACpE,GAAG,IAAI,CAAC;AAoBT,eAAO,MAAM,0BAA0B,GAAI,QAAQ;IAClD,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;IACjC,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,cAAc,EAAE,UAAU,CAAC;IAC3B,WAAW,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IAC/B,YAAY,EAAE,YAAY,CAAC;CAC3B,8DAqIA,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type SharedValue } from "react-native-reanimated";
|
|
2
|
+
export declare const useDeferredMeasurementTrigger: (params: {
|
|
3
|
+
enabled: boolean;
|
|
4
|
+
isAnimating: SharedValue<number>;
|
|
5
|
+
canFlush?: () => boolean;
|
|
6
|
+
onFlush: () => void;
|
|
7
|
+
}) => {
|
|
8
|
+
clearPendingMeasurement: () => void;
|
|
9
|
+
queueOrFlushMeasurement: () => void;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=use-deferred-measurement-trigger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-deferred-measurement-trigger.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-deferred-measurement-trigger.ts"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,WAAW,EAGhB,MAAM,yBAAyB,CAAC;AAEjC,eAAO,MAAM,6BAA6B,GAAI,QAAQ;IACrD,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,OAAO,CAAC;IACzB,OAAO,EAAE,MAAM,IAAI,CAAC;CACpB;;;CA6CA,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type SharedValue } from "react-native-reanimated";
|
|
2
2
|
import type { BoundaryId, MaybeMeasureAndStoreParams } from "../types";
|
|
3
3
|
/**
|
|
4
4
|
* Watches the group's active id in the BoundStore.
|
|
@@ -12,7 +12,7 @@ export declare const useGroupActiveMeasurement: (params: {
|
|
|
12
12
|
group: string | undefined;
|
|
13
13
|
id: BoundaryId;
|
|
14
14
|
shouldUpdateDestination: boolean;
|
|
15
|
-
isAnimating:
|
|
15
|
+
isAnimating: SharedValue<number>;
|
|
16
16
|
maybeMeasureAndStore: (options: MaybeMeasureAndStoreParams) => void;
|
|
17
17
|
}) => void;
|
|
18
18
|
//# sourceMappingURL=use-group-active-measurement.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-group-active-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-group-active-measurement.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-group-active-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-group-active-measurement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAuB,MAAM,yBAAyB,CAAC;AAEhF,OAAO,KAAK,EAAE,UAAU,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAOvE;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB,GAAI,QAAQ;IACjD,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,EAAE,EAAE,UAAU,CAAC;IACf,uBAAuB,EAAE,OAAO,CAAC;IACjC,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,oBAAoB,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACpE,SAkEA,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type SharedValue } from "react-native-reanimated";
|
|
2
|
+
import type { BoundaryId, MaybeMeasureAndStoreParams } from "../types";
|
|
3
|
+
export declare const useGroupActiveSourceMeasurement: (params: {
|
|
4
|
+
enabled: boolean;
|
|
5
|
+
group: string | undefined;
|
|
6
|
+
id: BoundaryId;
|
|
7
|
+
hasNextScreen: boolean;
|
|
8
|
+
isAnimating: SharedValue<number>;
|
|
9
|
+
maybeMeasureAndStore: (options: MaybeMeasureAndStoreParams) => void;
|
|
10
|
+
}) => void;
|
|
11
|
+
//# sourceMappingURL=use-group-active-source-measurement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-group-active-source-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-group-active-source-measurement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAuB,MAAM,yBAAyB,CAAC;AAEhF,OAAO,KAAK,EAAE,UAAU,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAOvE,eAAO,MAAM,+BAA+B,GAAI,QAAQ;IACvD,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,EAAE,EAAE,UAAU,CAAC;IACf,aAAa,EAAE,OAAO,CAAC;IACvB,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,oBAAoB,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACpE,SAiEA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-initial-layout-handler.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-initial-layout-handler.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"use-initial-layout-handler.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-initial-layout-handler.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAG3D,eAAO,MAAM,uBAAuB,GAAI,QAAQ;IAC/C,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,oBAAoB,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACpE,SA+EA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-pending-destination-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"use-pending-destination-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAG3D,eAAO,MAAM,gCAAgC,GAAI,QAAQ;IACxD,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,oBAAoB,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACpE,SAqCA,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type SharedValue } from "react-native-reanimated";
|
|
2
2
|
import type { MaybeMeasureAndStoreParams } from "../types";
|
|
3
3
|
export declare const usePendingDestinationRetryMeasurement: (params: {
|
|
4
4
|
sharedBoundTag: string;
|
|
5
5
|
enabled: boolean;
|
|
6
6
|
currentScreenKey: string;
|
|
7
7
|
expectedSourceScreenKey?: string;
|
|
8
|
-
progress:
|
|
9
|
-
animating:
|
|
8
|
+
progress: SharedValue<number>;
|
|
9
|
+
animating: SharedValue<number>;
|
|
10
10
|
maybeMeasureAndStore: (options: MaybeMeasureAndStoreParams) => void;
|
|
11
11
|
}) => void;
|
|
12
12
|
//# sourceMappingURL=use-pending-destination-retry-measurement.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-pending-destination-retry-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-pending-destination-retry-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,WAAW,EAGhB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAG3D,eAAO,MAAM,qCAAqC,GAAI,QAAQ;IAC7D,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC9B,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC/B,oBAAoB,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACpE,SAmEA,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type SharedValue } from "react-native-reanimated";
|
|
2
2
|
import type { MaybeMeasureAndStoreParams } from "../types";
|
|
3
3
|
export declare const useScrollSettledMeasurement: (params: {
|
|
4
4
|
enabled: boolean;
|
|
5
5
|
group: string | undefined;
|
|
6
6
|
hasNextScreen: boolean;
|
|
7
|
-
isAnimating:
|
|
7
|
+
isAnimating: SharedValue<number>;
|
|
8
8
|
maybeMeasureAndStore: (options: MaybeMeasureAndStoreParams) => void;
|
|
9
9
|
}) => void;
|
|
10
10
|
//# sourceMappingURL=use-scroll-settled-measurement.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-scroll-settled-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-scroll-settled-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAuB,MAAM,yBAAyB,CAAC;AAEhF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAI3D,eAAO,MAAM,2BAA2B,GAAI,QAAQ;IACnD,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,aAAa,EAAE,OAAO,CAAC;IACvB,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,oBAAoB,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACpE,SAoCA,CAAC"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { type ComponentType } from "react";
|
|
2
2
|
import { View as RNView } from "react-native";
|
|
3
3
|
import type { BoundaryComponentProps } from "./types";
|
|
4
|
-
|
|
4
|
+
interface CreateBoundaryComponentOptions {
|
|
5
|
+
alreadyAnimated?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare function createBoundaryComponent<P extends object>(Wrapped: ComponentType<P>, options?: CreateBoundaryComponentOptions): React.MemoExoticComponent<React.ForwardRefExoticComponent<BoundaryComponentProps<P> & React.RefAttributes<React.ComponentRef<typeof Wrapped>>>>;
|
|
5
8
|
/**
|
|
6
9
|
* Shared-boundary components.
|
|
7
10
|
*
|
|
@@ -24,7 +27,6 @@ export declare const Boundary: {
|
|
|
24
27
|
View: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<import("react-native").ViewProps, "id"> & import("./types").BoundaryOwnProps & import("react").RefAttributes<never>>>;
|
|
25
28
|
/** Pressable boundary wrapper with press-priority source capture. */
|
|
26
29
|
Pressable: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<import("react-native").PressableProps & import("react").RefAttributes<RNView>, "id"> & import("./types").BoundaryOwnProps & import("react").RefAttributes<RNView | import("react").Component<import("react-native").PressableProps & import("react").RefAttributes<RNView>, any, any>>>>;
|
|
27
|
-
/** Factory for custom boundary wrappers. */
|
|
28
|
-
createBoundaryComponent: typeof createBoundaryComponent;
|
|
29
30
|
};
|
|
31
|
+
export {};
|
|
30
32
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/create-boundary-component/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,aAAa,EAKlB,MAAM,OAAO,CAAC;AACf,OAAO,EAAa,IAAI,IAAI,MAAM,EAAa,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/create-boundary-component/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,aAAa,EAKlB,MAAM,OAAO,CAAC;AACf,OAAO,EAAa,IAAI,IAAI,MAAM,EAAa,MAAM,cAAc,CAAC;AAiBpE,OAAO,KAAK,EAAE,sBAAsB,EAAuB,MAAM,SAAS,CAAC;AAQ3E,UAAU,8BAA8B;IACvC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,MAAM,EACvD,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,EACzB,OAAO,GAAE,8BAAmC,GA8MX,KAAK,CAAC,mBAAmB,CACzD,KAAK,CAAC,yBAAyB,CAC9B,sBAAsB,CAAC,CAAC,CAAC,GACxB,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,OAAO,CAAC,CAAC,CACxD,CACD,CACD;AASD;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,QAAQ;IACpB,8DAA8D;;IAE9D,qEAAqE;;CAErE,CAAC"}
|
|
@@ -29,10 +29,8 @@ export interface BoundaryOwnProps extends BoundaryConfigProps {
|
|
|
29
29
|
export type BoundaryComponentProps<P extends object> = Omit<P, "id"> & BoundaryOwnProps;
|
|
30
30
|
/** Convenience alias for a View-based boundary (the most common case). */
|
|
31
31
|
export type BoundaryProps = BoundaryComponentProps<ViewProps>;
|
|
32
|
+
export type MeasurementIntent = "capture-source" | "complete-destination" | "refresh-source" | "refresh-destination" | "snapshot-only";
|
|
32
33
|
export interface MaybeMeasureAndStoreParams {
|
|
33
|
-
|
|
34
|
-
shouldSetDestination?: boolean;
|
|
35
|
-
shouldUpdateSource?: boolean;
|
|
36
|
-
shouldUpdateDestination?: boolean;
|
|
34
|
+
intent?: MeasurementIntent | readonly MeasurementIntent[];
|
|
37
35
|
}
|
|
38
36
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/create-boundary-component/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;AAEzC,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACrC,aAAa,EACb,QAAQ,GAAG,WAAW,GAAG,QAAQ,GAAG,QAAQ,CAC5C,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,gBAAiB,SAAQ,mBAAmB;IAC5D;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,EAAE,UAAU,CAAC;CACf;AAED;;;GAGG;AACH,MAAM,MAAM,sBAAsB,CAAC,CAAC,SAAS,MAAM,IAAI,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,GACnE,gBAAgB,CAAC;AAElB,0EAA0E;AAC1E,MAAM,MAAM,aAAa,GAAG,sBAAsB,CAAC,SAAS,CAAC,CAAC;AAE9D,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/create-boundary-component/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;AAEzC,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACrC,aAAa,EACb,QAAQ,GAAG,WAAW,GAAG,QAAQ,GAAG,QAAQ,CAC5C,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,gBAAiB,SAAQ,mBAAmB;IAC5D;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,EAAE,UAAU,CAAC;CACf;AAED;;;GAGG;AACH,MAAM,MAAM,sBAAsB,CAAC,CAAC,SAAS,MAAM,IAAI,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,GACnE,gBAAgB,CAAC;AAElB,0EAA0E;AAC1E,MAAM,MAAM,aAAa,GAAG,sBAAsB,CAAC,SAAS,CAAC,CAAC;AAE9D,MAAM,MAAM,iBAAiB,GAC1B,gBAAgB,GAChB,sBAAsB,GACtB,gBAAgB,GAChB,qBAAqB,GACrB,eAAe,CAAC;AAEnB,MAAM,WAAW,0BAA0B;IAC1C,MAAM,CAAC,EAAE,iBAAiB,GAAG,SAAS,iBAAiB,EAAE,CAAC;CAC1D"}
|
|
@@ -4,6 +4,5 @@ type BuildBoundaryMatchKeyParams = {
|
|
|
4
4
|
id: BoundaryId;
|
|
5
5
|
};
|
|
6
6
|
export declare function buildBoundaryMatchKey(params: BuildBoundaryMatchKeyParams): string;
|
|
7
|
-
export declare function buildBoundaryMatchKey(group: string | undefined, id: BoundaryId): string;
|
|
8
7
|
export {};
|
|
9
8
|
//# sourceMappingURL=build-boundary-match-key.d.ts.map
|