react-native-screen-transitions 3.6.0-alpha.1 → 3.6.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/component-stack/components/component-screen.js +1 -7
- package/lib/commonjs/component-stack/components/component-screen.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/create-boundary-component.js +27 -34
- package/lib/commonjs/shared/components/create-boundary-component/create-boundary-component.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-presence.js +4 -4
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-presence.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.js +17 -19
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-source-measurement.js +27 -7
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-source-measurement.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-measurer.js +23 -51
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-measurer.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-refresh-boundary.js +33 -40
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-refresh-boundary.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/index.js +3 -1
- package/lib/commonjs/shared/components/create-boundary-component/index.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/utils/destination-signals.js +75 -0
- package/lib/commonjs/shared/components/create-boundary-component/utils/destination-signals.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/{hooks/helpers/scroll-measurement.js → utils/measured-bounds.js} +15 -2
- package/lib/commonjs/shared/components/create-boundary-component/utils/measured-bounds.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/utils/refresh-signals.js +103 -0
- package/lib/commonjs/shared/components/create-boundary-component/utils/refresh-signals.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/utils/source-signals.js +52 -0
- package/lib/commonjs/shared/components/create-boundary-component/utils/source-signals.js.map +1 -0
- package/lib/commonjs/shared/components/native-screen.js +2 -13
- package/lib/commonjs/shared/components/native-screen.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/content.js +11 -1
- package/lib/commonjs/shared/components/screen-container/layers/content.js.map +1 -1
- package/lib/commonjs/shared/constants.js +5 -12
- package/lib/commonjs/shared/constants.js.map +1 -1
- package/lib/commonjs/shared/providers/helpers/measured-bounds-writes.js +35 -0
- package/lib/commonjs/shared/providers/helpers/measured-bounds-writes.js.map +1 -0
- package/lib/commonjs/shared/providers/register-bounds.provider.js +48 -55
- package/lib/commonjs/shared/providers/register-bounds.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.js +1 -10
- package/lib/commonjs/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/build-screen-transition-options.js +1 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/build-screen-transition-options.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state/index.js +26 -8
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state/index.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js +1 -2
- package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/selected-interpolator-options.js +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/selected-interpolator-options.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/use-build-transition-state.js +3 -4
- package/lib/commonjs/shared/providers/screen/animation/helpers/use-build-transition-state.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-activation.js +2 -2
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-activation.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-lifecycle.js +9 -2
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-lifecycle.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-release.js +19 -0
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-release.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-reset.js +2 -0
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-reset.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pan/use-pan-behavior.js +2 -2
- package/lib/commonjs/shared/providers/screen/gestures/pan/use-pan-behavior.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pinch/pinch-activation.js +2 -2
- package/lib/commonjs/shared/providers/screen/gestures/pinch/pinch-activation.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pinch/pinch-lifecycle.js +1 -0
- 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 +2 -2
- package/lib/commonjs/shared/providers/screen/gestures/pinch/use-pinch-behavior.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/shared/physics.js +18 -2
- package/lib/commonjs/shared/providers/screen/gestures/shared/physics.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/shared/policy.js +1 -5
- package/lib/commonjs/shared/providers/screen/gestures/shared/policy.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/options/helpers.js +3 -1
- package/lib/commonjs/shared/providers/screen/options/helpers.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +1 -4
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/helpers/link-pairs.helpers.js +125 -0
- package/lib/commonjs/shared/stores/bounds/helpers/link-pairs.helpers.js.map +1 -0
- package/lib/commonjs/shared/stores/bounds/index.js +6 -12
- package/lib/commonjs/shared/stores/bounds/index.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/clear.js +13 -21
- package/lib/commonjs/shared/stores/bounds/internals/clear.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/entries.js +49 -9
- package/lib/commonjs/shared/stores/bounds/internals/entries.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/links.js +143 -82
- package/lib/commonjs/shared/stores/bounds/internals/links.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/resolver.js +17 -43
- package/lib/commonjs/shared/stores/bounds/internals/resolver.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/state.js +26 -3
- package/lib/commonjs/shared/stores/bounds/internals/state.js.map +1 -1
- package/lib/commonjs/shared/stores/gesture.store.js +2 -0
- package/lib/commonjs/shared/stores/gesture.store.js.map +1 -1
- package/lib/commonjs/shared/types/gesture.types.js +2 -2
- package/lib/commonjs/shared/types/gesture.types.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/create-bounds-accessor-core.js +2 -1
- package/lib/commonjs/shared/utils/bounds/helpers/create-bounds-accessor-core.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/create-link-accessor.js +6 -5
- package/lib/commonjs/shared/utils/bounds/helpers/create-link-accessor.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/prepare-bound-styles.js +21 -8
- package/lib/commonjs/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/resolve-bounds-pair-key.js +23 -0
- package/lib/commonjs/shared/utils/bounds/helpers/resolve-bounds-pair-key.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/index.js +3 -2
- package/lib/commonjs/shared/utils/bounds/index.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/build.js +120 -205
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/build.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/config.js +15 -2
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/config.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/math.js +175 -14
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/math.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/build.js +2 -2
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/build.js.map +1 -1
- package/lib/commonjs/shared/utils/navigation/resolve-scene-neighbors.js +20 -19
- package/lib/commonjs/shared/utils/navigation/resolve-scene-neighbors.js.map +1 -1
- package/lib/module/component-stack/components/component-screen.js +2 -8
- package/lib/module/component-stack/components/component-screen.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/create-boundary-component.js +27 -34
- package/lib/module/shared/components/create-boundary-component/create-boundary-component.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-presence.js +4 -4
- package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-presence.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.js +18 -20
- package/lib/module/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-initial-source-measurement.js +28 -8
- package/lib/module/shared/components/create-boundary-component/hooks/use-initial-source-measurement.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-measurer.js +22 -50
- package/lib/module/shared/components/create-boundary-component/hooks/use-measurer.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-refresh-boundary.js +33 -40
- package/lib/module/shared/components/create-boundary-component/hooks/use-refresh-boundary.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/index.js +3 -1
- package/lib/module/shared/components/create-boundary-component/index.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/utils/destination-signals.js +70 -0
- package/lib/module/shared/components/create-boundary-component/utils/destination-signals.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/{hooks/helpers/scroll-measurement.js → utils/measured-bounds.js} +13 -1
- package/lib/module/shared/components/create-boundary-component/utils/measured-bounds.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/utils/refresh-signals.js +98 -0
- package/lib/module/shared/components/create-boundary-component/utils/refresh-signals.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/utils/source-signals.js +47 -0
- package/lib/module/shared/components/create-boundary-component/utils/source-signals.js.map +1 -0
- package/lib/module/shared/components/native-screen.js +3 -14
- package/lib/module/shared/components/native-screen.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/content.js +13 -3
- package/lib/module/shared/components/screen-container/layers/content.js.map +1 -1
- package/lib/module/shared/constants.js +4 -11
- package/lib/module/shared/constants.js.map +1 -1
- package/lib/module/shared/providers/helpers/measured-bounds-writes.js +30 -0
- package/lib/module/shared/providers/helpers/measured-bounds-writes.js.map +1 -0
- package/lib/module/shared/providers/register-bounds.provider.js +48 -55
- package/lib/module/shared/providers/register-bounds.provider.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.js +1 -10
- package/lib/module/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/build-screen-transition-options.js +1 -0
- package/lib/module/shared/providers/screen/animation/helpers/build-screen-transition-options.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state/index.js +26 -3
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state/index.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/pipeline.js +1 -2
- package/lib/module/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/selected-interpolator-options.js +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/selected-interpolator-options.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/use-build-transition-state.js +3 -4
- package/lib/module/shared/providers/screen/animation/helpers/use-build-transition-state.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pan/pan-activation.js +2 -2
- package/lib/module/shared/providers/screen/gestures/pan/pan-activation.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pan/pan-lifecycle.js +10 -3
- package/lib/module/shared/providers/screen/gestures/pan/pan-lifecycle.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pan/pan-release.js +20 -1
- package/lib/module/shared/providers/screen/gestures/pan/pan-release.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pan/pan-reset.js +2 -0
- package/lib/module/shared/providers/screen/gestures/pan/pan-reset.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pan/use-pan-behavior.js +3 -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-activation.js +3 -3
- package/lib/module/shared/providers/screen/gestures/pinch/pinch-activation.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pinch/pinch-lifecycle.js +1 -0
- 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 +3 -3
- package/lib/module/shared/providers/screen/gestures/pinch/use-pinch-behavior.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/shared/physics.js +15 -0
- package/lib/module/shared/providers/screen/gestures/shared/physics.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/shared/policy.js +3 -3
- package/lib/module/shared/providers/screen/gestures/shared/policy.js.map +1 -1
- package/lib/module/shared/providers/screen/options/helpers.js +3 -1
- package/lib/module/shared/providers/screen/options/helpers.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +1 -4
- package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
- package/lib/module/shared/providers/stack/direct.provider.js.map +1 -1
- package/lib/module/shared/providers/stack/managed.provider.js.map +1 -1
- package/lib/module/shared/stores/bounds/helpers/link-pairs.helpers.js +105 -0
- package/lib/module/shared/stores/bounds/helpers/link-pairs.helpers.js.map +1 -0
- package/lib/module/shared/stores/bounds/index.js +7 -13
- package/lib/module/shared/stores/bounds/index.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/clear.js +14 -22
- package/lib/module/shared/stores/bounds/internals/clear.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/entries.js +49 -9
- package/lib/module/shared/stores/bounds/internals/entries.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/links.js +139 -80
- package/lib/module/shared/stores/bounds/internals/links.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/resolver.js +17 -43
- package/lib/module/shared/stores/bounds/internals/resolver.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/state.js +25 -2
- package/lib/module/shared/stores/bounds/internals/state.js.map +1 -1
- package/lib/module/shared/stores/gesture.store.js +2 -0
- package/lib/module/shared/stores/gesture.store.js.map +1 -1
- package/lib/module/shared/types/animation.types.js +0 -4
- package/lib/module/shared/types/animation.types.js.map +1 -1
- package/lib/module/shared/types/bounds.types.js.map +1 -1
- package/lib/module/shared/types/gesture.types.js +0 -1
- package/lib/module/shared/types/gesture.types.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/create-bounds-accessor-core.js +2 -1
- package/lib/module/shared/utils/bounds/helpers/create-bounds-accessor-core.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/create-link-accessor.js +6 -5
- package/lib/module/shared/utils/bounds/helpers/create-link-accessor.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js +21 -8
- package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/resolve-bounds-pair-key.js +18 -0
- package/lib/module/shared/utils/bounds/helpers/resolve-bounds-pair-key.js.map +1 -0
- package/lib/module/shared/utils/bounds/index.js +3 -2
- package/lib/module/shared/utils/bounds/index.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/reveal/build.js +120 -205
- package/lib/module/shared/utils/bounds/navigation/reveal/build.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/reveal/config.js +14 -1
- package/lib/module/shared/utils/bounds/navigation/reveal/config.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/reveal/math.js +163 -12
- package/lib/module/shared/utils/bounds/navigation/reveal/math.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/zoom/build.js +2 -2
- package/lib/module/shared/utils/bounds/navigation/zoom/build.js.map +1 -1
- package/lib/module/shared/utils/navigation/resolve-scene-neighbors.js +20 -19
- package/lib/module/shared/utils/navigation/resolve-scene-neighbors.js.map +1 -1
- package/lib/typescript/component-stack/components/component-screen.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/components/boundary-target.d.ts +4 -207
- package/lib/typescript/shared/components/create-boundary-component/components/boundary-target.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/create-boundary-component.d.ts +1 -0
- package/lib/typescript/shared/components/create-boundary-component/create-boundary-component.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-boundary-presence.d.ts +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-boundary-presence.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.d.ts +5 -4
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-initial-source-measurement.d.ts +6 -2
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-initial-source-measurement.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-measurer.d.ts +5 -4
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-measurer.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-refresh-boundary.d.ts +7 -7
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-refresh-boundary.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/index.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/types.d.ts +11 -7
- package/lib/typescript/shared/components/create-boundary-component/types.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/utils/destination-signals.d.ts +10 -0
- package/lib/typescript/shared/components/create-boundary-component/utils/destination-signals.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/{hooks/helpers/scroll-measurement.d.ts → utils/measured-bounds.d.ts} +3 -2
- package/lib/typescript/shared/components/create-boundary-component/utils/measured-bounds.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/utils/refresh-signals.d.ts +22 -0
- package/lib/typescript/shared/components/create-boundary-component/utils/refresh-signals.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/utils/source-signals.d.ts +16 -0
- package/lib/typescript/shared/components/create-boundary-component/utils/source-signals.d.ts.map +1 -0
- package/lib/typescript/shared/components/native-screen.d.ts.map +1 -1
- package/lib/typescript/shared/components/overlay/variations/overlay-host.d.ts +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 +1 -1
- package/lib/typescript/shared/components/scene-view.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/layers/backdrop.d.ts +2 -2
- 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/constants.d.ts +1 -6
- package/lib/typescript/shared/constants.d.ts.map +1 -1
- package/lib/typescript/shared/index.d.ts +3 -3
- package/lib/typescript/shared/index.d.ts.map +1 -1
- package/lib/typescript/shared/providers/helpers/measured-bounds-writes.d.ts +21 -0
- package/lib/typescript/shared/providers/helpers/measured-bounds-writes.d.ts.map +1 -0
- package/lib/typescript/shared/providers/register-bounds.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/build-screen-transition-options.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state/index.d.ts +1 -2
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state/index.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state/types.d.ts +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state/types.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/pipeline.d.ts +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/pipeline.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/selected-interpolator-options.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/use-build-transition-state.d.ts +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/use-build-transition-state.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pan/pan-activation.d.ts.map +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/pan-release.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pan/pan-reset.d.ts +2 -1
- package/lib/typescript/shared/providers/screen/gestures/pan/pan-reset.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-activation.d.ts.map +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/gestures/shared/physics.d.ts +7 -0
- package/lib/typescript/shared/providers/screen/gestures/shared/physics.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/shared/policy.d.ts +0 -10
- package/lib/typescript/shared/providers/screen/gestures/shared/policy.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/types.d.ts +2 -0
- package/lib/typescript/shared/providers/screen/gestures/types.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/options/helpers.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/options/types.d.ts +1 -0
- package/lib/typescript/shared/providers/screen/options/types.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/components/maybe-floating-container.d.ts +1 -1
- package/lib/typescript/shared/providers/screen/styles/components/maybe-floating-container.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts.map +1 -1
- package/lib/typescript/shared/providers/stack/direct.provider.d.ts +1 -1
- package/lib/typescript/shared/providers/stack/direct.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/stack/managed.provider.d.ts +1 -1
- package/lib/typescript/shared/providers/stack/managed.provider.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/helpers/link-pairs.helpers.d.ts +18 -0
- package/lib/typescript/shared/stores/bounds/helpers/link-pairs.helpers.d.ts.map +1 -0
- package/lib/typescript/shared/stores/bounds/index.d.ts +6 -12
- package/lib/typescript/shared/stores/bounds/index.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/clear.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/entries.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/links.d.ts +13 -10
- package/lib/typescript/shared/stores/bounds/internals/links.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/resolver.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/state.d.ts +26 -5
- package/lib/typescript/shared/stores/bounds/internals/state.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/types.d.ts +14 -7
- package/lib/typescript/shared/stores/bounds/types.d.ts.map +1 -1
- package/lib/typescript/shared/stores/gesture.store.d.ts +1 -0
- package/lib/typescript/shared/stores/gesture.store.d.ts.map +1 -1
- package/lib/typescript/shared/types/animation.types.d.ts +4 -19
- package/lib/typescript/shared/types/animation.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/bounds.types.d.ts +69 -1
- package/lib/typescript/shared/types/bounds.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/gesture.types.d.ts +8 -1
- package/lib/typescript/shared/types/gesture.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/screen.types.d.ts +4 -14
- package/lib/typescript/shared/types/screen.types.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/create-bounds-accessor-core.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/create-link-accessor.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/prepare-bound-styles.d.ts +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/prepare-bound-styles.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/resolve-bounds-pair-key.d.ts +4 -0
- package/lib/typescript/shared/utils/bounds/helpers/resolve-bounds-pair-key.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/index.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/reveal/build.d.ts +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 +14 -1
- package/lib/typescript/shared/utils/bounds/navigation/reveal/config.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/reveal/math.d.ts +58 -7
- package/lib/typescript/shared/utils/bounds/navigation/reveal/math.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/reveal/types.d.ts +2 -1
- package/lib/typescript/shared/utils/bounds/navigation/reveal/types.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/types/options.d.ts +2 -3
- package/lib/typescript/shared/utils/bounds/types/options.d.ts.map +1 -1
- package/lib/typescript/shared/utils/navigation/resolve-scene-neighbors.d.ts +3 -2
- package/lib/typescript/shared/utils/navigation/resolve-scene-neighbors.d.ts.map +1 -1
- package/package.json +4 -3
- package/src/component-stack/components/component-screen.tsx +3 -11
- package/src/shared/components/create-boundary-component/create-boundary-component.tsx +30 -27
- package/src/shared/components/create-boundary-component/hooks/use-boundary-presence.ts +5 -5
- package/src/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.ts +25 -24
- package/src/shared/components/create-boundary-component/hooks/use-initial-source-measurement.ts +41 -11
- package/src/shared/components/create-boundary-component/hooks/use-measurer.ts +49 -64
- package/src/shared/components/create-boundary-component/hooks/use-refresh-boundary.ts +44 -83
- package/src/shared/components/create-boundary-component/index.tsx +3 -1
- package/src/shared/components/create-boundary-component/types.ts +13 -11
- package/src/shared/components/create-boundary-component/utils/destination-signals.ts +129 -0
- package/src/shared/components/create-boundary-component/{hooks/helpers/scroll-measurement.ts → utils/measured-bounds.ts} +25 -1
- package/src/shared/components/create-boundary-component/utils/refresh-signals.ts +164 -0
- package/src/shared/components/create-boundary-component/utils/source-signals.ts +72 -0
- package/src/shared/components/native-screen.tsx +3 -12
- package/src/shared/components/screen-container/layers/content.tsx +21 -2
- package/src/shared/constants.ts +1 -9
- package/src/shared/index.ts +0 -3
- package/src/shared/providers/helpers/measured-bounds-writes.ts +67 -0
- package/src/shared/providers/register-bounds.provider.tsx +68 -91
- package/src/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.ts +0 -14
- package/src/shared/providers/screen/animation/helpers/build-screen-transition-options.ts +1 -0
- package/src/shared/providers/screen/animation/helpers/hydrate-transition-state/index.ts +49 -4
- package/src/shared/providers/screen/animation/helpers/hydrate-transition-state/types.ts +1 -1
- package/src/shared/providers/screen/animation/helpers/pipeline.ts +2 -5
- package/src/shared/providers/screen/animation/helpers/selected-interpolator-options.ts +1 -0
- package/src/shared/providers/screen/animation/helpers/use-build-transition-state.ts +3 -12
- package/src/shared/providers/screen/gestures/pan/pan-activation.ts +4 -1
- package/src/shared/providers/screen/gestures/pan/pan-lifecycle.ts +18 -2
- package/src/shared/providers/screen/gestures/pan/pan-release.ts +33 -0
- package/src/shared/providers/screen/gestures/pan/pan-reset.ts +3 -0
- package/src/shared/providers/screen/gestures/pan/use-pan-behavior.ts +9 -6
- package/src/shared/providers/screen/gestures/pinch/pinch-activation.ts +5 -2
- package/src/shared/providers/screen/gestures/pinch/pinch-lifecycle.ts +1 -0
- package/src/shared/providers/screen/gestures/pinch/use-pinch-behavior.ts +9 -6
- package/src/shared/providers/screen/gestures/shared/physics.ts +25 -0
- package/src/shared/providers/screen/gestures/shared/policy.ts +3 -5
- package/src/shared/providers/screen/gestures/types.ts +2 -0
- package/src/shared/providers/screen/options/helpers.ts +9 -0
- package/src/shared/providers/screen/options/types.ts +1 -0
- package/src/shared/providers/screen/styles/hooks/use-interpolated-style-maps.tsx +0 -3
- package/src/shared/providers/stack/direct.provider.tsx +1 -1
- package/src/shared/providers/stack/managed.provider.tsx +1 -1
- package/src/shared/stores/bounds/helpers/link-pairs.helpers.ts +161 -0
- package/src/shared/stores/bounds/index.ts +10 -20
- package/src/shared/stores/bounds/internals/clear.ts +17 -41
- package/src/shared/stores/bounds/internals/entries.ts +56 -13
- package/src/shared/stores/bounds/internals/links.ts +222 -113
- package/src/shared/stores/bounds/internals/resolver.ts +23 -87
- package/src/shared/stores/bounds/internals/state.ts +27 -5
- package/src/shared/stores/bounds/types.ts +17 -7
- package/src/shared/stores/gesture.store.ts +3 -0
- package/src/shared/types/animation.types.ts +4 -23
- package/src/shared/types/bounds.types.ts +72 -1
- package/src/shared/types/gesture.types.ts +8 -2
- package/src/shared/types/index.ts +1 -4
- package/src/shared/types/screen.types.ts +4 -14
- package/src/shared/utils/bounds/helpers/create-bounds-accessor-core.ts +1 -0
- package/src/shared/utils/bounds/helpers/create-link-accessor.ts +6 -6
- package/src/shared/utils/bounds/helpers/prepare-bound-styles.ts +20 -11
- package/src/shared/utils/bounds/helpers/resolve-bounds-pair-key.ts +22 -0
- package/src/shared/utils/bounds/index.ts +3 -1
- package/src/shared/utils/bounds/navigation/reveal/build.ts +198 -308
- package/src/shared/utils/bounds/navigation/reveal/config.ts +20 -1
- package/src/shared/utils/bounds/navigation/reveal/math.ts +264 -18
- package/src/shared/utils/bounds/navigation/reveal/types.ts +2 -0
- package/src/shared/utils/bounds/navigation/zoom/build.ts +2 -2
- package/src/shared/utils/bounds/types/options.ts +2 -3
- package/src/shared/utils/navigation/resolve-scene-neighbors.ts +36 -23
- package/lib/commonjs/shared/components/create-boundary-component/helpers/apply-measured-bounds-writes.js +0 -43
- package/lib/commonjs/shared/components/create-boundary-component/helpers/apply-measured-bounds-writes.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js +0 -17
- package/lib/commonjs/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.js +0 -28
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js +0 -75
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement.js +0 -20
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/scroll-measurement.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/utils/build-boundary-match-key.js +0 -16
- package/lib/commonjs/shared/components/create-boundary-component/utils/build-boundary-match-key.js.map +0 -1
- package/lib/commonjs/shared/providers/layout-anchor.provider.js +0 -86
- package/lib/commonjs/shared/providers/layout-anchor.provider.js.map +0 -1
- package/lib/commonjs/shared/stores/bounds/helpers/entries.helpers.js +0 -49
- package/lib/commonjs/shared/stores/bounds/helpers/entries.helpers.js.map +0 -1
- package/lib/commonjs/shared/stores/bounds/helpers/find-latest.js +0 -25
- package/lib/commonjs/shared/stores/bounds/helpers/find-latest.js.map +0 -1
- package/lib/commonjs/shared/stores/bounds/helpers/groups.helpers.js +0 -30
- package/lib/commonjs/shared/stores/bounds/helpers/groups.helpers.js.map +0 -1
- package/lib/commonjs/shared/stores/bounds/helpers/link.helpers.js +0 -79
- package/lib/commonjs/shared/stores/bounds/helpers/link.helpers.js.map +0 -1
- package/lib/commonjs/shared/stores/bounds/helpers/matching.js +0 -13
- package/lib/commonjs/shared/stores/bounds/helpers/matching.js.map +0 -1
- package/lib/commonjs/shared/stores/bounds/helpers/tag-state.helpers.js +0 -30
- package/lib/commonjs/shared/stores/bounds/helpers/tag-state.helpers.js.map +0 -1
- package/lib/commonjs/shared/stores/bounds/internals/groups.js +0 -102
- package/lib/commonjs/shared/stores/bounds/internals/groups.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/helpers/apply-measured-bounds-writes.js +0 -38
- package/lib/module/shared/components/create-boundary-component/helpers/apply-measured-bounds-writes.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js +0 -12
- package/lib/module/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.js +0 -23
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js +0 -68
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement.js +0 -15
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/scroll-measurement.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/utils/build-boundary-match-key.js +0 -12
- package/lib/module/shared/components/create-boundary-component/utils/build-boundary-match-key.js.map +0 -1
- package/lib/module/shared/providers/layout-anchor.provider.js +0 -80
- package/lib/module/shared/providers/layout-anchor.provider.js.map +0 -1
- package/lib/module/shared/stores/bounds/helpers/entries.helpers.js +0 -42
- package/lib/module/shared/stores/bounds/helpers/entries.helpers.js.map +0 -1
- package/lib/module/shared/stores/bounds/helpers/find-latest.js +0 -19
- package/lib/module/shared/stores/bounds/helpers/find-latest.js.map +0 -1
- package/lib/module/shared/stores/bounds/helpers/groups.helpers.js +0 -23
- package/lib/module/shared/stores/bounds/helpers/groups.helpers.js.map +0 -1
- package/lib/module/shared/stores/bounds/helpers/link.helpers.js +0 -69
- package/lib/module/shared/stores/bounds/helpers/link.helpers.js.map +0 -1
- package/lib/module/shared/stores/bounds/helpers/matching.js +0 -9
- package/lib/module/shared/stores/bounds/helpers/matching.js.map +0 -1
- package/lib/module/shared/stores/bounds/helpers/tag-state.helpers.js +0 -24
- package/lib/module/shared/stores/bounds/helpers/tag-state.helpers.js.map +0 -1
- package/lib/module/shared/stores/bounds/internals/groups.js +0 -95
- package/lib/module/shared/stores/bounds/internals/groups.js.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/helpers/apply-measured-bounds-writes.d.ts +0 -15
- package/lib/typescript/shared/components/create-boundary-component/helpers/apply-measured-bounds-writes.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/helpers/resolve-pending-source-key.d.ts +0 -2
- package/lib/typescript/shared/components/create-boundary-component/helpers/resolve-pending-source-key.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.d.ts +0 -22
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement-rules.d.ts +0 -29
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement-rules.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement.d.ts +0 -3
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/scroll-measurement.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/utils/build-boundary-match-key.d.ts +0 -8
- package/lib/typescript/shared/components/create-boundary-component/utils/build-boundary-match-key.d.ts.map +0 -1
- package/lib/typescript/shared/providers/layout-anchor.provider.d.ts +0 -39
- package/lib/typescript/shared/providers/layout-anchor.provider.d.ts.map +0 -1
- package/lib/typescript/shared/stores/bounds/helpers/entries.helpers.d.ts +0 -5
- package/lib/typescript/shared/stores/bounds/helpers/entries.helpers.d.ts.map +0 -1
- package/lib/typescript/shared/stores/bounds/helpers/find-latest.d.ts +0 -3
- package/lib/typescript/shared/stores/bounds/helpers/find-latest.d.ts.map +0 -1
- package/lib/typescript/shared/stores/bounds/helpers/groups.helpers.d.ts +0 -10
- package/lib/typescript/shared/stores/bounds/helpers/groups.helpers.d.ts.map +0 -1
- package/lib/typescript/shared/stores/bounds/helpers/link.helpers.d.ts +0 -14
- package/lib/typescript/shared/stores/bounds/helpers/link.helpers.d.ts.map +0 -1
- package/lib/typescript/shared/stores/bounds/helpers/matching.d.ts +0 -3
- package/lib/typescript/shared/stores/bounds/helpers/matching.d.ts.map +0 -1
- package/lib/typescript/shared/stores/bounds/helpers/tag-state.helpers.d.ts +0 -5
- package/lib/typescript/shared/stores/bounds/helpers/tag-state.helpers.d.ts.map +0 -1
- package/lib/typescript/shared/stores/bounds/internals/groups.d.ts +0 -16
- package/lib/typescript/shared/stores/bounds/internals/groups.d.ts.map +0 -1
- package/src/shared/components/create-boundary-component/helpers/apply-measured-bounds-writes.ts +0 -83
- package/src/shared/components/create-boundary-component/helpers/resolve-pending-source-key.ts +0 -20
- package/src/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.ts +0 -48
- package/src/shared/components/create-boundary-component/hooks/helpers/measurement-rules.ts +0 -101
- package/src/shared/components/create-boundary-component/hooks/helpers/measurement.ts +0 -25
- package/src/shared/components/create-boundary-component/utils/build-boundary-match-key.ts +0 -14
- package/src/shared/providers/layout-anchor.provider.tsx +0 -112
- package/src/shared/stores/bounds/helpers/entries.helpers.ts +0 -55
- package/src/shared/stores/bounds/helpers/find-latest.ts +0 -22
- package/src/shared/stores/bounds/helpers/groups.helpers.ts +0 -27
- package/src/shared/stores/bounds/helpers/link.helpers.ts +0 -131
- package/src/shared/stores/bounds/helpers/matching.ts +0 -11
- package/src/shared/stores/bounds/helpers/tag-state.helpers.ts +0 -24
- package/src/shared/stores/bounds/internals/groups.ts +0 -116
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { getEntry } from "../../../stores/bounds/internals/entries";
|
|
4
|
-
import {
|
|
4
|
+
import { setActiveGroupId } from "../../../stores/bounds/internals/links";
|
|
5
5
|
import { DEFAULT_BOUNDS_OPTIONS } from "../constants";
|
|
6
6
|
import { createBoundTag } from "./create-bound-tag";
|
|
7
|
+
import { resolveBoundsPairKey } from "./resolve-bounds-pair-key";
|
|
7
8
|
import { computeBoundStyles } from "./styles/compute";
|
|
8
9
|
const buildBoundsOptions = ({
|
|
9
10
|
props,
|
|
@@ -28,22 +29,34 @@ const buildBoundsOptions = ({
|
|
|
28
29
|
};
|
|
29
30
|
return resolved;
|
|
30
31
|
};
|
|
31
|
-
const
|
|
32
|
+
const syncActiveGroupId = params => {
|
|
32
33
|
"worklet";
|
|
33
34
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
const {
|
|
36
|
+
props,
|
|
37
|
+
id,
|
|
38
|
+
group
|
|
39
|
+
} = params;
|
|
40
|
+
if (id == null || id === "" || !group) return;
|
|
41
|
+
const pairKey = resolveBoundsPairKey(props);
|
|
42
|
+
if (!pairKey) return;
|
|
43
|
+
setActiveGroupId(pairKey, group, String(id));
|
|
38
44
|
};
|
|
39
45
|
export const prepareBoundStyles = ({
|
|
40
46
|
props,
|
|
41
47
|
options,
|
|
42
|
-
resolvedPair
|
|
48
|
+
resolvedPair,
|
|
49
|
+
syncGroupActiveId = false
|
|
43
50
|
}) => {
|
|
44
51
|
"worklet";
|
|
45
52
|
|
|
46
|
-
|
|
53
|
+
if (syncGroupActiveId) {
|
|
54
|
+
syncActiveGroupId({
|
|
55
|
+
props,
|
|
56
|
+
id: options.id,
|
|
57
|
+
group: options.group
|
|
58
|
+
});
|
|
59
|
+
}
|
|
47
60
|
const resolved = buildBoundsOptions({
|
|
48
61
|
props,
|
|
49
62
|
id: options.id,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getEntry","
|
|
1
|
+
{"version":3,"names":["getEntry","setActiveGroupId","DEFAULT_BOUNDS_OPTIONS","createBoundTag","resolveBoundsPairKey","computeBoundStyles","buildBoundsOptions","props","id","group","overrides","tag","currentScreenKey","current","route","key","boundaryConfig","resolved","syncActiveGroupId","params","pairKey","String","prepareBoundStyles","options","resolvedPair","syncGroupActiveId","previous","next","progress","dimensions","layouts","screen"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/helpers/prepare-bound-styles.ts"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,0CAA0C;AACnE,SAASC,gBAAgB,QAAQ,wCAAwC;AAGzE,SAASC,sBAAsB,QAAQ,cAAc;AAMrD,SAASC,cAAc,QAAQ,oBAAoB;AACnD,SAASC,oBAAoB,QAAQ,2BAA2B;AAChE,SAASC,kBAAkB,QAAQ,kBAAkB;AAkBrD,MAAMC,kBAAkB,GAAGA,CAAC;EAC3BC,KAAK;EACLC,EAAE;EACFC,KAAK;EACLC;AACyB,CAAC,KAAoB;EAC9C,SAAS;;EAET,MAAMC,GAAG,GAAGR,cAAc,CAAC;IAAEK,EAAE;IAAEC;EAAM,CAAC,CAAC;EACzC,MAAMG,gBAAgB,GAAGL,KAAK,CAACM,OAAO,EAAEC,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BAAkB,CACxB;IACCG,EAAE,EAAES,QAAQ,CAACT,EAAE;IACfkB,QAAQ,EAAEnB,KAAK,CAACmB,QAAQ;IACxBb,OAAO,EAAEN,KAAK,CAACM,OAAO;IACtBc,IAAI,EAAEpB,KAAK,CAACoB,IAAI;IAChBC,QAAQ,EAAErB,KAAK,CAACqB,QAAQ;IACxBC,UAAU,EAAEtB,KAAK,CAACuB,OAAO,CAACC;EAC3B,CAAC,EACDd,QAAQ,EACRO,YACD,CAAC;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { createScreenPairKey } from "../../../stores/bounds/helpers/link-pairs.helpers";
|
|
4
|
+
export const resolveBoundsPairKey = props => {
|
|
5
|
+
"worklet";
|
|
6
|
+
|
|
7
|
+
const currentScreenKey = props.current?.route.key;
|
|
8
|
+
const previousScreenKey = props.previous?.route.key;
|
|
9
|
+
const nextScreenKey = props.next?.route.key;
|
|
10
|
+
if (nextScreenKey && currentScreenKey) {
|
|
11
|
+
return createScreenPairKey(currentScreenKey, nextScreenKey);
|
|
12
|
+
}
|
|
13
|
+
if (previousScreenKey && currentScreenKey) {
|
|
14
|
+
return createScreenPairKey(previousScreenKey, currentScreenKey);
|
|
15
|
+
}
|
|
16
|
+
return null;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=resolve-bounds-pair-key.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["createScreenPairKey","resolveBoundsPairKey","props","currentScreenKey","current","route","key","previousScreenKey","previous","nextScreenKey","next"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/helpers/resolve-bounds-pair-key.ts"],"mappings":";;AAAA,SAASA,mBAAmB,QAAQ,mDAAmD;AAIvF,OAAO,MAAMC,oBAAoB,GAChCC,KAA+B,IACL;EAC1B,SAAS;;EACT,MAAMC,gBAAgB,GAAGD,KAAK,CAACE,OAAO,EAAEC,KAAK,CAACC,GAAG;EACjD,MAAMC,iBAAiB,GAAGL,KAAK,CAACM,QAAQ,EAAEH,KAAK,CAACC,GAAG;EACnD,MAAMG,aAAa,GAAGP,KAAK,CAACQ,IAAI,EAAEL,KAAK,CAACC,GAAG;EAE3C,IAAIG,aAAa,IAAIN,gBAAgB,EAAE;IACtC,OAAOH,mBAAmB,CAACG,gBAAgB,EAAEM,aAAa,CAAC;EAC5D;EAEA,IAAIF,iBAAiB,IAAIJ,gBAAgB,EAAE;IAC1C,OAAOH,mBAAmB,CAACO,iBAAiB,EAAEJ,gBAAgB,CAAC;EAChE;EAEA,OAAO,IAAI;AACZ,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createBoundsAccessorCore","buildRevealStyles","buildZoomStyles","createBoundsAccessor","getProps","extendResult","target","props","tag","Object","defineProperty","value","zoom","zoomOptions","reveal","enumerable","configurable"],"sourceRoot":"../../../../../src","sources":["shared/utils/bounds/index.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"names":["createBoundsAccessorCore","buildRevealStyles","buildZoomStyles","createBoundsAccessor","getProps","extendResult","target","props","tag","Object","defineProperty","value","zoom","zoomOptions","reveal","revealOptions","enumerable","configurable"],"sourceRoot":"../../../../../src","sources":["shared/utils/bounds/index.ts"],"mappings":";;AAMA,SAASA,wBAAwB,QAAQ,uCAAuC;AAChF,SAASC,iBAAiB,QAAQ,2BAA2B;AAC7D,SAASC,eAAe,QAAQ,yBAAyB;AAEzD,OAAO,MAAMC,oBAAoB,GAChCC,QAAwC,IACpB;EACpB,SAAS;;EAET,OAAOJ,wBAAwB,CAAC;IAC/BI,QAAQ;IACRC,YAAY,EAAEA,CAAC;MAAEC,MAAM;MAAEC,KAAK;MAAEC;IAAI,CAAC,KAAK;MACzC,SAAS;;MACTC,MAAM,CAACC,cAAc,CAACJ,MAAM,EAAE,YAAY,EAAE;QAC3CK,KAAK,EAAE;UACNC,IAAI,EAAGC,WAAyC,IAAK;YACpD,SAAS;;YACT,OAAOX,eAAe,CAAC;cACtBK,KAAK;cACLC,GAAG;cACHK;YACD,CAAC,CAAC;UACH,CAAC;UACDC,MAAM,EAAGC,aAA6C,IAAK;YAC1D,SAAS;;YACT,OAAOd,iBAAiB,CAAC;cACxBM,KAAK;cACLC,GAAG;cACHO;YACD,CAAC,CAAC;UACH;QACD,CAAC;QACDC,UAAU,EAAE,KAAK;QACjBC,YAAY,EAAE;MACf,CAAC,CAAC;IACH;EACD,CAAC,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -1,124 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { interpolate } from "react-native-reanimated";
|
|
4
|
-
import {
|
|
4
|
+
import { NAVIGATION_MASK_ELEMENT_STYLE_ID } from "../../../../constants";
|
|
5
5
|
import { createLinkAccessor } from "../../helpers/create-link-accessor";
|
|
6
|
-
import { computeContentTransformGeometry } from "../../helpers/geometry";
|
|
7
6
|
import { getSourceBorderRadius } from "../helpers";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { resolveDirectionalDragTranslation } from "./math";
|
|
11
|
-
const IDENTITY_DRAG_SCALE_OUTPUT = [1, 1];
|
|
12
|
-
function resolveUniformScale({
|
|
13
|
-
sourceWidth,
|
|
14
|
-
sourceHeight,
|
|
15
|
-
destinationWidth,
|
|
16
|
-
destinationHeight
|
|
17
|
-
}) {
|
|
18
|
-
"worklet";
|
|
19
|
-
|
|
20
|
-
const sx = sourceWidth / destinationWidth;
|
|
21
|
-
const sy = sourceHeight / destinationHeight;
|
|
22
|
-
const sourceAspect = sourceWidth / sourceHeight;
|
|
23
|
-
const destinationAspect = destinationWidth / destinationHeight;
|
|
24
|
-
const aspectDifference = Math.abs(sourceAspect - destinationAspect);
|
|
25
|
-
return aspectDifference < 0.1 ? Math.max(sx, sy) : Math.min(sx, sy);
|
|
26
|
-
}
|
|
27
|
-
function resolveRevealGestureHandoff(rawDrag) {
|
|
28
|
-
"worklet";
|
|
29
|
-
|
|
30
|
-
const gestureSensitivity = interpolate(rawDrag, [0, 1], [0.8, 0.1], "clamp");
|
|
31
|
-
const releaseBoost = interpolate(rawDrag, [0, 1], [1, 1.4], "clamp");
|
|
32
|
-
const releaseSensitivity = interpolate(gestureSensitivity, [0.28, 0.9], [0.7, 1], "clamp");
|
|
33
|
-
return {
|
|
34
|
-
gestureSensitivity,
|
|
35
|
-
gestureReleaseVelocityScale: releaseBoost * releaseSensitivity
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
function resolveDismissScaleHandoff({
|
|
39
|
-
progress,
|
|
40
|
-
releaseScale,
|
|
41
|
-
targetScale,
|
|
42
|
-
rawDrag
|
|
43
|
-
}) {
|
|
44
|
-
"worklet";
|
|
45
|
-
|
|
46
|
-
const closeProgress = 1 - progress;
|
|
47
|
-
const scaleProgress = Math.sin(Math.PI / 2 * closeProgress);
|
|
48
|
-
const baseScale = releaseScale + (targetScale - releaseScale) * scaleProgress;
|
|
49
|
-
const orbitDepth = interpolate(rawDrag, [0, 1], [0, DISMISS_SCALE_ORBIT_DEPTH], "clamp");
|
|
50
|
-
const orbitScale = 1 - orbitDepth * Math.sin(Math.PI * closeProgress);
|
|
51
|
-
return baseScale * orbitScale;
|
|
52
|
-
}
|
|
53
|
-
function getBoundsCenterX(bounds) {
|
|
54
|
-
"worklet";
|
|
55
|
-
|
|
56
|
-
return bounds.pageX + bounds.width / 2;
|
|
57
|
-
}
|
|
58
|
-
function getBoundsCenterY(bounds) {
|
|
59
|
-
"worklet";
|
|
60
|
-
|
|
61
|
-
return bounds.pageY + bounds.height / 2;
|
|
62
|
-
}
|
|
63
|
-
function resolveRevealContentBaseTransform({
|
|
64
|
-
progress,
|
|
65
|
-
sourceBounds,
|
|
66
|
-
destinationBounds,
|
|
67
|
-
screenLayout
|
|
68
|
-
}) {
|
|
69
|
-
"worklet";
|
|
70
|
-
|
|
71
|
-
const geometry = computeContentTransformGeometry({
|
|
72
|
-
start: sourceBounds,
|
|
73
|
-
end: destinationBounds,
|
|
74
|
-
entering: true,
|
|
75
|
-
dimensions: screenLayout,
|
|
76
|
-
scaleMode: "uniform"
|
|
77
|
-
});
|
|
78
|
-
return {
|
|
79
|
-
translateX: interpolate(progress, [0, 1], [geometry.tx, 0], "clamp"),
|
|
80
|
-
translateY: interpolate(progress, [0, 1], [geometry.ty, 0], "clamp"),
|
|
81
|
-
scale: interpolate(progress, [0, 1], [geometry.s, 1], "clamp")
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
function resolveTrackedSourceElementTransform({
|
|
85
|
-
sourceBounds,
|
|
86
|
-
destinationBounds,
|
|
87
|
-
contentTranslateX,
|
|
88
|
-
contentTranslateY,
|
|
89
|
-
contentScale,
|
|
90
|
-
parentScale,
|
|
91
|
-
screenWidth,
|
|
92
|
-
screenHeight
|
|
93
|
-
}) {
|
|
94
|
-
"worklet";
|
|
95
|
-
|
|
96
|
-
const screenCenterX = screenWidth / 2;
|
|
97
|
-
const screenCenterY = screenHeight / 2;
|
|
98
|
-
const safeParentScale = Math.max(Math.abs(parentScale), EPSILON);
|
|
99
|
-
const safeSourceWidth = Math.max(Math.abs(sourceBounds.width), EPSILON);
|
|
100
|
-
const safeSourceHeight = Math.max(Math.abs(sourceBounds.height), EPSILON);
|
|
101
|
-
const sourceCenterX = getBoundsCenterX(sourceBounds);
|
|
102
|
-
const sourceCenterY = getBoundsCenterY(sourceBounds);
|
|
103
|
-
const destinationCenterX = getBoundsCenterX(destinationBounds);
|
|
104
|
-
const destinationCenterY = getBoundsCenterY(destinationBounds);
|
|
105
|
-
const trackedCenterX = screenCenterX + (destinationCenterX - screenCenterX) * contentScale + contentTranslateX;
|
|
106
|
-
const trackedCenterY = screenCenterY + (destinationCenterY - screenCenterY) * contentScale + contentTranslateY;
|
|
107
|
-
return {
|
|
108
|
-
translateX: (trackedCenterX - screenCenterX) / safeParentScale + screenCenterX - sourceCenterX,
|
|
109
|
-
translateY: (trackedCenterY - screenCenterY) / safeParentScale + screenCenterY - sourceCenterY,
|
|
110
|
-
scaleX: destinationBounds.width * contentScale / (safeSourceWidth * safeParentScale),
|
|
111
|
-
scaleY: destinationBounds.height * contentScale / (safeSourceHeight * safeParentScale)
|
|
112
|
-
};
|
|
113
|
-
}
|
|
114
|
-
|
|
7
|
+
import { CLOSE_SOURCE_HANDOFF_PROGRESS, CONTENT_CLOSING_OPACITY_OUTPUT, CONTENT_CLOSING_OPACITY_RANGE, CONTENT_ENTERING_OPACITY_OUTPUT, CONTENT_ENTERING_OPACITY_RANGE, CONTENT_SHADOW_OPACITY_OUTPUT, DISMISS_SCALE_ORBIT_DEPTH, DRAG_MASK_HEIGHT_COLLAPSE_END, HORIZONTAL_DRAG_MASK_COLLAPSE_SCALE, IDENTITY_DRAG_SCALE_OUTPUT, REVEAL_BORDER_RADIUS, REVEAL_SHADOW_OFFSET, REVEAL_USES_TRANSFORM_MASK, UNFOCUSED_ELEMENT_OPACITY_OUTPUT, ZERO_TO_ONE_RANGE } from "./config";
|
|
8
|
+
import { interpolateClamped, mixUnit, resolveAspectRatioMaskHeight, resolveDismissScaleHandoff, resolveRevealContentBaseTransform, resolveRevealDirectionalDragScale, resolveRevealGestureHandoff, resolveSafeScale, resolveTrackedSourceElementTransform, resolveUniformScale, resolveUnitDragTranslation } from "./math";
|
|
115
9
|
/* -------------------------------------------------------------------------- */
|
|
116
10
|
/* BUILD REVEAL STYLES */
|
|
117
11
|
/* -------------------------------------------------------------------------- */
|
|
118
12
|
|
|
119
13
|
export function buildRevealStyles({
|
|
120
14
|
tag,
|
|
121
|
-
props
|
|
15
|
+
props,
|
|
16
|
+
revealOptions
|
|
122
17
|
}) {
|
|
123
18
|
"worklet";
|
|
124
19
|
|
|
@@ -135,10 +30,14 @@ export function buildRevealStyles({
|
|
|
135
30
|
screen: screenLayout
|
|
136
31
|
}
|
|
137
32
|
} = props;
|
|
138
|
-
const
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
33
|
+
const borderRadius = revealOptions?.borderRadius ?? REVEAL_BORDER_RADIUS;
|
|
34
|
+
const borderContinuous = revealOptions?.borderContinuous ?? true;
|
|
35
|
+
const maxSensitivity = revealOptions?.maxSensitivity ?? 0.8;
|
|
36
|
+
const velocityDepth = revealOptions?.velocityDepth ?? DISMISS_SCALE_ORBIT_DEPTH;
|
|
37
|
+
const gestureProgressMode = revealOptions?.gestureProgressMode ?? "freeform";
|
|
38
|
+
const disablePointerEventsTillElementTransition = revealOptions?.disablePointerEventsTillElementTransition ?? true;
|
|
39
|
+
const maskSizingMode = revealOptions?.maskSizingMode ?? "auto";
|
|
40
|
+
const usesTransformMask = maskSizingMode === "auto" ? REVEAL_USES_TRANSFORM_MASK : maskSizingMode === "transform";
|
|
142
41
|
const boundsAccessor = createLinkAccessor(() => props);
|
|
143
42
|
const link = boundsAccessor.getLink(tag);
|
|
144
43
|
if (!link?.source?.bounds || !link.destination?.bounds) {
|
|
@@ -149,81 +48,70 @@ export function buildRevealStyles({
|
|
|
149
48
|
/* --------------------------- Gesture / Drag Values ------------------------- */
|
|
150
49
|
|
|
151
50
|
const initialGesture = props.active.gesture.active ?? props.active.gesture.direction;
|
|
152
|
-
const isHorizontalDismiss = initialGesture
|
|
153
|
-
const isVerticalDismiss = initialGesture
|
|
51
|
+
const isHorizontalDismiss = initialGesture === "horizontal" || initialGesture === "horizontal-inverted";
|
|
52
|
+
const isVerticalDismiss = initialGesture === "vertical" || initialGesture === "vertical-inverted";
|
|
154
53
|
const rawDrag = isHorizontalDismiss ? Math.abs(props.active.gesture.raw.normX) : isVerticalDismiss ? Math.abs(props.active.gesture.raw.normY) : 0;
|
|
155
|
-
const dragX =
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
exponent: 1
|
|
161
|
-
});
|
|
162
|
-
const dragY = resolveDirectionalDragTranslation({
|
|
163
|
-
translation: props.active.gesture.y,
|
|
164
|
-
dimension: screenLayout.height,
|
|
165
|
-
negativeMax: 1,
|
|
166
|
-
positiveMax: 1,
|
|
167
|
-
exponent: 1
|
|
168
|
-
});
|
|
169
|
-
const dragXScale = isHorizontalDismiss ? resolveDirectionalDragScale({
|
|
170
|
-
normalized: props.active.gesture.normX,
|
|
171
|
-
dismissDirection: initialGesture === "horizontal-inverted" ? "negative" : "positive",
|
|
172
|
-
shrinkMin: DRAG_DIRECTIONAL_SCALE_MIN,
|
|
173
|
-
growMax: DRAG_DIRECTIONAL_SCALE_MAX,
|
|
174
|
-
exponent: DRAG_DIRECTIONAL_SCALE_EXPONENT
|
|
175
|
-
}) : IDENTITY_DRAG_SCALE_OUTPUT[0];
|
|
176
|
-
const dragYScale = isVerticalDismiss ? resolveDirectionalDragScale({
|
|
177
|
-
normalized: props.active.gesture.normY,
|
|
178
|
-
dismissDirection: initialGesture === "vertical-inverted" ? "negative" : "positive",
|
|
179
|
-
shrinkMin: DRAG_DIRECTIONAL_SCALE_MIN,
|
|
180
|
-
growMax: DRAG_DIRECTIONAL_SCALE_MAX,
|
|
181
|
-
exponent: DRAG_DIRECTIONAL_SCALE_EXPONENT
|
|
182
|
-
}) : IDENTITY_DRAG_SCALE_OUTPUT[1];
|
|
183
|
-
const dragScale = combineScales(dragXScale, dragYScale);
|
|
54
|
+
const dragX = resolveUnitDragTranslation(props.active.gesture.x, screenLayout.width);
|
|
55
|
+
const dragY = resolveUnitDragTranslation(props.active.gesture.y, screenLayout.height);
|
|
56
|
+
const dragXScale = isHorizontalDismiss ? resolveRevealDirectionalDragScale(props.active.gesture.normX, initialGesture === "horizontal-inverted") : IDENTITY_DRAG_SCALE_OUTPUT[0];
|
|
57
|
+
const dragYScale = isVerticalDismiss ? resolveRevealDirectionalDragScale(props.active.gesture.normY, initialGesture === "vertical-inverted") : IDENTITY_DRAG_SCALE_OUTPUT[1];
|
|
58
|
+
const dragScale = dragXScale * dragYScale;
|
|
184
59
|
const initialDestinationTarget = props.active.closing && link.initialDestination?.bounds ? link.initialDestination.bounds : undefined;
|
|
185
60
|
|
|
186
61
|
/* ----------------------------- Focused Screen ----------------------------- */
|
|
187
62
|
|
|
188
63
|
if (focused) {
|
|
189
64
|
const contentRaw = link.compute({
|
|
190
|
-
|
|
65
|
+
raw: true,
|
|
66
|
+
scaleMode: "uniform",
|
|
191
67
|
method: "content",
|
|
192
68
|
target: initialDestinationTarget
|
|
193
69
|
});
|
|
194
70
|
const maskRaw = link.compute({
|
|
195
|
-
|
|
71
|
+
raw: true,
|
|
72
|
+
scaleMode: "uniform",
|
|
196
73
|
method: "size",
|
|
197
74
|
space: "absolute",
|
|
198
75
|
target: "fullscreen"
|
|
199
76
|
});
|
|
200
|
-
const maskBorderRadius =
|
|
201
|
-
const
|
|
77
|
+
const maskBorderRadius = mixUnit(sourceBorderRadius, borderRadius, progress);
|
|
78
|
+
const maskBorderCurve = borderContinuous ? "continuous" : undefined;
|
|
79
|
+
const maskSizeMultiplier = props.active.closing ? mixUnit(0.9, 1, props.active.progress) : 1;
|
|
202
80
|
const maskWidth = Math.max(1, maskRaw.width * maskSizeMultiplier);
|
|
203
81
|
const maskHeight = Math.max(1, maskRaw.height * maskSizeMultiplier);
|
|
204
82
|
const contentBaseScale = contentRaw.scale;
|
|
205
|
-
const
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
83
|
+
const safeContentBaseScale = resolveSafeScale(contentBaseScale);
|
|
84
|
+
let contentScale = contentBaseScale * dragScale;
|
|
85
|
+
if (props.active.gesture.dismissing) {
|
|
86
|
+
const contentTargetBounds = initialDestinationTarget ?? link.destination.bounds;
|
|
87
|
+
const sourceContentScale = resolveUniformScale({
|
|
88
|
+
sourceWidth: link.source.bounds.width,
|
|
89
|
+
sourceHeight: link.source.bounds.height,
|
|
90
|
+
destinationWidth: contentTargetBounds.width,
|
|
91
|
+
destinationHeight: contentTargetBounds.height
|
|
92
|
+
});
|
|
93
|
+
contentScale = resolveDismissScaleHandoff({
|
|
94
|
+
progress: props.active.progress,
|
|
95
|
+
releaseScale: dragScale,
|
|
96
|
+
targetScale: sourceContentScale,
|
|
97
|
+
velocity: props.active.gesture.velocity,
|
|
98
|
+
velocityDepth
|
|
99
|
+
});
|
|
100
|
+
}
|
|
219
101
|
const contentTranslateX = contentRaw.translateX + dragX;
|
|
220
102
|
const contentTranslateY = contentRaw.translateY + dragY;
|
|
221
103
|
const liveHorizontalDismissDrag = initialGesture === "horizontal-inverted" ? -props.active.gesture.normX : props.active.gesture.normX;
|
|
222
104
|
const liveVerticalDismissDrag = initialGesture === "vertical-inverted" ? -props.active.gesture.normY : props.active.gesture.normY;
|
|
223
105
|
const dismissProgressDrag = props.active.gesture.dismissing ? 1 - props.active.progress : 0;
|
|
224
106
|
const maskHeightCollapseDrag = isHorizontalDismiss || isVerticalDismiss ? Math.max(0, isHorizontalDismiss ? liveHorizontalDismissDrag * HORIZONTAL_DRAG_MASK_COLLAPSE_SCALE : 0, isVerticalDismiss ? liveVerticalDismissDrag : 0, dismissProgressDrag) : 0;
|
|
225
|
-
const
|
|
226
|
-
const
|
|
107
|
+
const maskAspectBounds = link.initialSource?.bounds ?? link.source.bounds;
|
|
108
|
+
const minMaskHeight = resolveAspectRatioMaskHeight({
|
|
109
|
+
maskWidth,
|
|
110
|
+
maskHeight,
|
|
111
|
+
targetWidth: maskAspectBounds.width,
|
|
112
|
+
targetHeight: maskAspectBounds.height
|
|
113
|
+
});
|
|
114
|
+
const renderedMaskHeight = interpolateClamped(maskHeightCollapseDrag, 0, DRAG_MASK_HEIGHT_COLLAPSE_END, maskHeight, minMaskHeight);
|
|
227
115
|
const maskCenterX = maskWidth / 2;
|
|
228
116
|
const maskCenterY = renderedMaskHeight / 2;
|
|
229
117
|
const maskCenteringOffsetX = (maskRaw.width - maskWidth) / 2;
|
|
@@ -238,17 +126,54 @@ export function buildRevealStyles({
|
|
|
238
126
|
const compensatedMaskTranslateX = (maskRaw.translateX - contentRaw.translateX + maskCenteringOffsetX + (1 - contentBaseScale) * (maskCenterX - contentCenterX)) / safeContentBaseScale;
|
|
239
127
|
const compensatedMaskTranslateY = (maskRaw.translateY - contentRaw.translateY + maskCenteringOffsetY + verticalCollapseOffsetY + (1 - contentBaseScale) * (maskCenterY - contentCenterY)) / safeContentBaseScale;
|
|
240
128
|
const compensatedMaskScale = 1 / safeContentBaseScale;
|
|
129
|
+
const maskBaseWidth = Math.max(1, screenLayout.width);
|
|
130
|
+
const maskBaseHeight = Math.max(1, screenLayout.height);
|
|
131
|
+
const maskScaleX = maskWidth / maskBaseWidth;
|
|
132
|
+
const maskScaleY = renderedMaskHeight / maskBaseHeight;
|
|
133
|
+
const transformMaskTranslateX = compensatedMaskTranslateX + (maskWidth - maskBaseWidth) / 2;
|
|
134
|
+
const transformMaskTranslateY = compensatedMaskTranslateY + (renderedMaskHeight - maskBaseHeight) / 2;
|
|
135
|
+
const maskElementStyle = usesTransformMask ? {
|
|
136
|
+
width: maskBaseWidth,
|
|
137
|
+
height: maskBaseHeight,
|
|
138
|
+
borderRadius: props.active.settled ? 0 : maskBorderRadius,
|
|
139
|
+
borderCurve: maskBorderCurve,
|
|
140
|
+
transform: [{
|
|
141
|
+
translateX: transformMaskTranslateX
|
|
142
|
+
}, {
|
|
143
|
+
translateY: transformMaskTranslateY
|
|
144
|
+
}, {
|
|
145
|
+
scaleX: maskScaleX * compensatedMaskScale
|
|
146
|
+
}, {
|
|
147
|
+
scaleY: maskScaleY * compensatedMaskScale
|
|
148
|
+
}]
|
|
149
|
+
} : {
|
|
150
|
+
width: maskWidth,
|
|
151
|
+
height: renderedMaskHeight,
|
|
152
|
+
borderRadius: props.active.settled ? 0 : maskBorderRadius,
|
|
153
|
+
borderCurve: maskBorderCurve,
|
|
154
|
+
transform: [{
|
|
155
|
+
translateX: compensatedMaskTranslateX
|
|
156
|
+
}, {
|
|
157
|
+
translateY: compensatedMaskTranslateY
|
|
158
|
+
}, {
|
|
159
|
+
scale: compensatedMaskScale
|
|
160
|
+
}]
|
|
161
|
+
};
|
|
241
162
|
const elementOffsetX = initialDestinationTarget ? initialDestinationTarget.pageX - link.destination.bounds.pageX : 0;
|
|
242
163
|
const elementOffsetY = initialDestinationTarget ? initialDestinationTarget.pageY - link.destination.bounds.pageY : 0;
|
|
243
|
-
const elementTX = props.active.closing ?
|
|
244
|
-
const elementY = props.active.closing ?
|
|
164
|
+
const elementTX = props.active.closing ? interpolateClamped(props.active.progress, CLOSE_SOURCE_HANDOFF_PROGRESS, 1, elementOffsetX, 0) : 0;
|
|
165
|
+
const elementY = props.active.closing ? interpolateClamped(props.active.progress, CLOSE_SOURCE_HANDOFF_PROGRESS, 1, elementOffsetY, 0) : 0;
|
|
245
166
|
const {
|
|
246
167
|
gestureSensitivity,
|
|
247
168
|
gestureReleaseVelocityScale
|
|
248
|
-
} = resolveRevealGestureHandoff(
|
|
169
|
+
} = resolveRevealGestureHandoff({
|
|
170
|
+
rawDrag,
|
|
171
|
+
maxSensitivity
|
|
172
|
+
});
|
|
249
173
|
return {
|
|
250
174
|
options: {
|
|
251
|
-
|
|
175
|
+
navigationMaskEnabled: true,
|
|
176
|
+
gestureProgressMode,
|
|
252
177
|
gestureSensitivity,
|
|
253
178
|
gestureReleaseVelocityScale
|
|
254
179
|
},
|
|
@@ -262,30 +187,15 @@ export function buildRevealStyles({
|
|
|
262
187
|
scale: contentScale
|
|
263
188
|
}],
|
|
264
189
|
shadowColor: "#000",
|
|
265
|
-
shadowOffset:
|
|
266
|
-
|
|
267
|
-
height: 2
|
|
268
|
-
},
|
|
269
|
-
shadowOpacity: interpolate(props.active.progress, [0, 1], [0, 0.25]),
|
|
190
|
+
shadowOffset: REVEAL_SHADOW_OFFSET,
|
|
191
|
+
shadowOpacity: interpolate(props.active.progress, ZERO_TO_ONE_RANGE, CONTENT_SHADOW_OPACITY_OUTPUT),
|
|
270
192
|
shadowRadius: 32,
|
|
271
193
|
elevation: 5,
|
|
272
|
-
opacity: props.active.entering ? interpolate(props.active.progress,
|
|
194
|
+
opacity: props.active.entering ? interpolate(props.active.progress, CONTENT_ENTERING_OPACITY_RANGE, CONTENT_ENTERING_OPACITY_OUTPUT) : interpolate(props.active.progress, CONTENT_CLOSING_OPACITY_RANGE, CONTENT_CLOSING_OPACITY_OUTPUT)
|
|
273
195
|
}
|
|
274
196
|
},
|
|
275
197
|
[NAVIGATION_MASK_ELEMENT_STYLE_ID]: {
|
|
276
|
-
style:
|
|
277
|
-
width: maskWidth,
|
|
278
|
-
height: renderedMaskHeight,
|
|
279
|
-
borderRadius: props.active.settled ? 0 : maskBorderRadius,
|
|
280
|
-
borderCurve: "continuous",
|
|
281
|
-
transform: [{
|
|
282
|
-
translateX: compensatedMaskTranslateX
|
|
283
|
-
}, {
|
|
284
|
-
translateY: compensatedMaskTranslateY
|
|
285
|
-
}, {
|
|
286
|
-
scale: compensatedMaskScale
|
|
287
|
-
}]
|
|
288
|
-
}
|
|
198
|
+
style: maskElementStyle
|
|
289
199
|
},
|
|
290
200
|
[link.id]: {
|
|
291
201
|
style: {
|
|
@@ -303,7 +213,7 @@ export function buildRevealStyles({
|
|
|
303
213
|
|
|
304
214
|
/* ---------------------------- Unfocused Screen ---------------------------- */
|
|
305
215
|
|
|
306
|
-
const unfocusedScale =
|
|
216
|
+
const unfocusedScale = mixUnit(1, 0.9375, props.active.progress);
|
|
307
217
|
const unfocusedContentScale = props.active.logicallySettled ? 1 : unfocusedScale;
|
|
308
218
|
const trackingContentTarget = initialDestinationTarget ?? link.destination.bounds;
|
|
309
219
|
const trackingContentBaseTransform = resolveRevealContentBaseTransform({
|
|
@@ -312,18 +222,22 @@ export function buildRevealStyles({
|
|
|
312
222
|
destinationBounds: trackingContentTarget,
|
|
313
223
|
screenLayout
|
|
314
224
|
});
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
225
|
+
let trackingContentScale = trackingContentBaseTransform.scale * dragScale;
|
|
226
|
+
if (props.active.gesture.dismissing) {
|
|
227
|
+
const trackingTargetScale = resolveUniformScale({
|
|
228
|
+
sourceWidth: link.source.bounds.width,
|
|
229
|
+
sourceHeight: link.source.bounds.height,
|
|
230
|
+
destinationWidth: trackingContentTarget.width,
|
|
231
|
+
destinationHeight: trackingContentTarget.height
|
|
232
|
+
});
|
|
233
|
+
trackingContentScale = resolveDismissScaleHandoff({
|
|
234
|
+
progress: props.active.progress,
|
|
235
|
+
releaseScale: dragScale,
|
|
236
|
+
targetScale: trackingTargetScale,
|
|
237
|
+
velocity: props.active.gesture.velocity,
|
|
238
|
+
velocityDepth
|
|
239
|
+
});
|
|
240
|
+
}
|
|
327
241
|
const trackingContentTranslateX = trackingContentBaseTransform.translateX + dragX;
|
|
328
242
|
const trackingContentTranslateY = trackingContentBaseTransform.translateY + dragY;
|
|
329
243
|
const trackedSourceElement = resolveTrackedSourceElementTransform({
|
|
@@ -338,7 +252,8 @@ export function buildRevealStyles({
|
|
|
338
252
|
});
|
|
339
253
|
return {
|
|
340
254
|
options: {
|
|
341
|
-
|
|
255
|
+
navigationMaskEnabled: true,
|
|
256
|
+
gestureProgressMode
|
|
342
257
|
},
|
|
343
258
|
content: {
|
|
344
259
|
style: {
|
|
@@ -346,13 +261,13 @@ export function buildRevealStyles({
|
|
|
346
261
|
scale: unfocusedContentScale
|
|
347
262
|
}]
|
|
348
263
|
},
|
|
349
|
-
props: {
|
|
264
|
+
props: disablePointerEventsTillElementTransition ? {
|
|
350
265
|
pointerEvents: props.active.progress <= CLOSE_SOURCE_HANDOFF_PROGRESS ? "auto" : "none"
|
|
351
|
-
}
|
|
266
|
+
} : undefined
|
|
352
267
|
},
|
|
353
268
|
[link.id]: {
|
|
354
269
|
style: {
|
|
355
|
-
opacity: props.active.closing ? 1 : interpolate(props.active.progress,
|
|
270
|
+
opacity: props.active.closing ? 1 : interpolate(props.active.progress, ZERO_TO_ONE_RANGE, UNFOCUSED_ELEMENT_OPACITY_OUTPUT),
|
|
356
271
|
zIndex: 9999,
|
|
357
272
|
elevation: 9999,
|
|
358
273
|
transform: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["interpolate","EPSILON","NAVIGATION_MASK_ELEMENT_STYLE_ID","createLinkAccessor","computeContentTransformGeometry","getSourceBorderRadius","combineScales","resolveDirectionalDragScale","CLOSE_SOURCE_HANDOFF_PROGRESS","DISMISS_SCALE_ORBIT_DEPTH","DRAG_DIRECTIONAL_SCALE_EXPONENT","DRAG_DIRECTIONAL_SCALE_MAX","DRAG_DIRECTIONAL_SCALE_MIN","DRAG_MASK_HEIGHT_COLLAPSE_END","HORIZONTAL_DRAG_MASK_COLLAPSE_SCALE","REVEAL_BORDER_RADIUS","resolveDirectionalDragTranslation","IDENTITY_DRAG_SCALE_OUTPUT","resolveUniformScale","sourceWidth","sourceHeight","destinationWidth","destinationHeight","sx","sy","sourceAspect","destinationAspect","aspectDifference","Math","abs","max","min","resolveRevealGestureHandoff","rawDrag","gestureSensitivity","releaseBoost","releaseSensitivity","gestureReleaseVelocityScale","resolveDismissScaleHandoff","progress","releaseScale","targetScale","closeProgress","scaleProgress","sin","PI","baseScale","orbitDepth","orbitScale","getBoundsCenterX","bounds","pageX","width","getBoundsCenterY","pageY","height","resolveRevealContentBaseTransform","sourceBounds","destinationBounds","screenLayout","geometry","start","end","entering","dimensions","scaleMode","translateX","tx","translateY","ty","scale","s","resolveTrackedSourceElementTransform","contentTranslateX","contentTranslateY","contentScale","parentScale","screenWidth","screenHeight","screenCenterX","screenCenterY","safeParentScale","safeSourceWidth","safeSourceHeight","sourceCenterX","sourceCenterY","destinationCenterX","destinationCenterY","trackedCenterX","trackedCenterY","scaleX","scaleY","buildRevealStyles","tag","props","focused","layouts","screen","baseRawOptions","raw","boundsAccessor","link","getLink","source","destination","sourceBorderRadius","initialGesture","active","gesture","direction","isHorizontalDismiss","includes","isVerticalDismiss","normX","normY","dragX","translation","x","dimension","negativeMax","positiveMax","exponent","dragY","y","dragXScale","normalized","dismissDirection","shrinkMin","growMax","dragYScale","dragScale","initialDestinationTarget","closing","initialDestination","undefined","contentRaw","compute","method","target","maskRaw","space","maskBorderRadius","maskSizeMultiplier","maskWidth","maskHeight","contentBaseScale","contentTargetBounds","sourceContentScale","safeContentBaseScale","dismissing","liveHorizontalDismissDrag","liveVerticalDismissDrag","dismissProgressDrag","maskHeightCollapseDrag","minMaskHeight","renderedMaskHeight","maskCenterX","maskCenterY","maskCenteringOffsetX","maskCenteringOffsetY","verticalCollapseOffsetY","contentCenterX","contentCenterY","compensatedMaskTranslateX","compensatedMaskTranslateY","compensatedMaskScale","elementOffsetX","elementOffsetY","elementTX","elementY","options","gestureProgressMode","content","style","transform","shadowColor","shadowOffset","shadowOpacity","shadowRadius","elevation","opacity","borderRadius","settled","borderCurve","id","position","zIndex","unfocusedScale","unfocusedContentScale","logicallySettled","trackingContentTarget","trackingContentBaseTransform","trackingTargetScale","trackingContentScale","trackingContentTranslateX","trackingContentTranslateY","trackedSourceElement","pointerEvents"],"sourceRoot":"../../../../../../../src","sources":["shared/utils/bounds/navigation/reveal/build.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAiC,yBAAyB;AAC9E,SACCC,OAAO,EACPC,gCAAgC,QAC1B,uBAAuB;AAC9B,SAASC,kBAAkB,QAAQ,oCAAoC;AACvE,SAASC,+BAA+B,QAAQ,wBAAwB;AACxE,SAASC,qBAAqB,QAAQ,YAAY;AAClD,SAASC,aAAa,EAAEC,2BAA2B,QAAQ,SAAS;AACpE,SACCC,6BAA6B,EAC7BC,yBAAyB,EACzBC,+BAA+B,EAC/BC,0BAA0B,EAC1BC,0BAA0B,EAC1BC,6BAA6B,EAC7BC,mCAAmC,EACnCC,oBAAoB,QACd,UAAU;AACjB,SAASC,iCAAiC,QAAQ,QAAQ;AAG1D,MAAMC,0BAA0B,G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,CAAC6F,IAAI,CAACmF,EAAE,GAAG;MACVX,KAAK,EAAE;QACNO,OAAO,EAAEtF,KAAK,CAACa,MAAM,CAACyB,OAAO,GAC1B,CAAC,GACDpI,WAAW,CAAC8F,KAAK,CAACa,MAAM,CAACpE,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,CAAC;QAE9DmJ,MAAM,EAAE,IAAI;QACZP,SAAS,EAAE,IAAI;QACfL,SAAS,EAAE,CACV;UACC5G,UAAU,EAAE4B,KAAK,CAACa,MAAM,CAACkF,gBAAgB,GACtC,CAAC,GACDO,oBAAoB,CAAClI;QACzB,CAAC,EACD;UACCE,UAAU,EAAE0B,KAAK,CAACa,MAAM,CAACkF,gBAAgB,GACtC,CAAC,GACDO,oBAAoB,CAAChI;QACzB,CAAC,EACD;UACCsB,MAAM,EAAEI,KAAK,CAACa,MAAM,CAACkF,gBAAgB,GAClC,CAAC,GACDO,oBAAoB,CAAC1G;QACzB,CAAC,EACD;UACCC,MAAM,EAAEG,KAAK,CAACa,MAAM,CAACkF,gBAAgB,GAClC,CAAC,GACDO,oBAAoB,CAACzG;QACzB,CAAC;MAEH;IACD;EACD,CAAC;AACF","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["interpolate","NAVIGATION_MASK_ELEMENT_STYLE_ID","createLinkAccessor","getSourceBorderRadius","CLOSE_SOURCE_HANDOFF_PROGRESS","CONTENT_CLOSING_OPACITY_OUTPUT","CONTENT_CLOSING_OPACITY_RANGE","CONTENT_ENTERING_OPACITY_OUTPUT","CONTENT_ENTERING_OPACITY_RANGE","CONTENT_SHADOW_OPACITY_OUTPUT","DISMISS_SCALE_ORBIT_DEPTH","DRAG_MASK_HEIGHT_COLLAPSE_END","HORIZONTAL_DRAG_MASK_COLLAPSE_SCALE","IDENTITY_DRAG_SCALE_OUTPUT","REVEAL_BORDER_RADIUS","REVEAL_SHADOW_OFFSET","REVEAL_USES_TRANSFORM_MASK","UNFOCUSED_ELEMENT_OPACITY_OUTPUT","ZERO_TO_ONE_RANGE","interpolateClamped","mixUnit","resolveAspectRatioMaskHeight","resolveDismissScaleHandoff","resolveRevealContentBaseTransform","resolveRevealDirectionalDragScale","resolveRevealGestureHandoff","resolveSafeScale","resolveTrackedSourceElementTransform","resolveUniformScale","resolveUnitDragTranslation","buildRevealStyles","tag","props","revealOptions","focused","progress","layouts","screen","screenLayout","borderRadius","borderContinuous","maxSensitivity","velocityDepth","gestureProgressMode","disablePointerEventsTillElementTransition","maskSizingMode","usesTransformMask","boundsAccessor","link","getLink","source","bounds","destination","sourceBorderRadius","initialGesture","active","gesture","direction","isHorizontalDismiss","isVerticalDismiss","rawDrag","Math","abs","raw","normX","normY","dragX","x","width","dragY","y","height","dragXScale","dragYScale","dragScale","initialDestinationTarget","closing","initialDestination","undefined","contentRaw","compute","scaleMode","method","target","maskRaw","space","maskBorderRadius","maskBorderCurve","maskSizeMultiplier","maskWidth","max","maskHeight","contentBaseScale","scale","safeContentBaseScale","contentScale","dismissing","contentTargetBounds","sourceContentScale","sourceWidth","sourceHeight","destinationWidth","destinationHeight","releaseScale","targetScale","velocity","contentTranslateX","translateX","contentTranslateY","translateY","liveHorizontalDismissDrag","liveVerticalDismissDrag","dismissProgressDrag","maskHeightCollapseDrag","maskAspectBounds","initialSource","minMaskHeight","targetWidth","targetHeight","renderedMaskHeight","maskCenterX","maskCenterY","maskCenteringOffsetX","maskCenteringOffsetY","verticalCollapseOffsetY","contentCenterX","contentCenterY","compensatedMaskTranslateX","compensatedMaskTranslateY","compensatedMaskScale","maskBaseWidth","maskBaseHeight","maskScaleX","maskScaleY","transformMaskTranslateX","transformMaskTranslateY","maskElementStyle","settled","borderCurve","transform","scaleX","scaleY","elementOffsetX","pageX","elementOffsetY","pageY","elementTX","elementY","gestureSensitivity","gestureReleaseVelocityScale","options","navigationMaskEnabled","content","style","shadowColor","shadowOffset","shadowOpacity","shadowRadius","elevation","opacity","entering","id","position","zIndex","unfocusedScale","unfocusedContentScale","logicallySettled","trackingContentTarget","trackingContentBaseTransform","sourceBounds","destinationBounds","trackingContentScale","trackingTargetScale","trackingContentTranslateX","trackingContentTranslateY","trackedSourceElement","parentScale","screenWidth","screenHeight","pointerEvents"],"sourceRoot":"../../../../../../../src","sources":["shared/utils/bounds/navigation/reveal/build.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,yBAAyB;AACrD,SAASC,gCAAgC,QAAQ,uBAAuB;AACxE,SAASC,kBAAkB,QAAQ,oCAAoC;AACvE,SAASC,qBAAqB,QAAQ,YAAY;AAClD,SACCC,6BAA6B,EAC7BC,8BAA8B,EAC9BC,6BAA6B,EAC7BC,+BAA+B,EAC/BC,8BAA8B,EAC9BC,6BAA6B,EAC7BC,yBAAyB,EACzBC,6BAA6B,EAC7BC,mCAAmC,EACnCC,0BAA0B,EAC1BC,oBAAoB,EACpBC,oBAAoB,EACpBC,0BAA0B,EAC1BC,gCAAgC,EAChCC,iBAAiB,QACX,UAAU;AACjB,SACCC,kBAAkB,EAClBC,OAAO,EACPC,4BAA4B,EAC5BC,0BAA0B,EAC1BC,iCAAiC,EACjCC,iCAAiC,EACjCC,2BAA2B,EAC3BC,gBAAgB,EAChBC,oCAAoC,EACpCC,mBAAmB,EACnBC,0BAA0B,QACpB,QAAQ;AAGf;AACA;AACA;;AAEA,OAAO,SAASC,iBAAiBA,CAAC;EACjCC,GAAG;EACHC,KAAK;EACLC;AACwB,CAAC,EAA2B;EACpD,SAAS;;EAET,IAAI,CAACF,GAAG,EAAE;IACT,OAAO,CAAC,CAAC;EACV;;EAEA;;EAEA,MAAM;IACLG,OAAO;IACPC,QAAQ;IACRC,OAAO,EAAE;MAAEC,MAAM,EAAEC;IAAa;EACjC,CAAC,GAAGN,KAAK;EACT,MAAMO,YAAY,GAAGN,aAAa,EAAEM,YAAY,IAAIzB,oBAAoB;EACxE,MAAM0B,gBAAgB,GAAGP,aAAa,EAAEO,gBAAgB,IAAI,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