react-native-screen-transitions 3.4.0-alpha.6 → 3.4.0-alpha.7
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 +136 -46
- package/lib/commonjs/blank-stack/navigators/create-blank-stack-navigator.js +27 -45
- 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 +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/components/boundary-target.js +39 -0
- package/lib/commonjs/shared/components/create-boundary-component/components/boundary-target.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/create-boundary-component.js +232 -0
- package/lib/commonjs/shared/components/create-boundary-component/create-boundary-component.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js +2 -4
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.js +4 -3
- 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-pending-destination-retry-measurement.js +2 -1
- 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/index.js +20 -214
- package/lib/commonjs/shared/components/create-boundary-component/index.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/providers/boundary-owner.provider.js +63 -0
- package/lib/commonjs/shared/components/create-boundary-component/providers/boundary-owner.provider.js.map +1 -0
- package/lib/commonjs/shared/components/create-transition-aware-component.js +29 -7
- package/lib/commonjs/shared/components/create-transition-aware-component.js.map +1 -1
- package/lib/commonjs/shared/components/overlay/variations/float-overlay.js +1 -1
- package/lib/commonjs/shared/components/screen-container/index.js +8 -12
- package/lib/commonjs/shared/components/screen-container/index.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/backdrop.js +4 -4
- package/lib/commonjs/shared/components/screen-container/layers/backdrop.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/content.js +4 -4
- 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 +4 -4
- package/lib/commonjs/shared/components/screen-container/layers/maybe-masked-navigation-container.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/surface-container.js +4 -4
- package/lib/commonjs/shared/components/screen-container/layers/surface-container.js.map +1 -1
- package/lib/commonjs/shared/constants.js +2 -1
- package/lib/commonjs/shared/constants.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/screen-composer.js +1 -1
- package/lib/commonjs/shared/providers/screen/screen-composer.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/helpers/build-resolved-style-map.js +144 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/build-resolved-style-map.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-interpolated-style-output.js +28 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-interpolated-style-output.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/split-normalized-style-maps.js +39 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/split-normalized-style-maps.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/index.js +25 -0
- package/lib/commonjs/shared/providers/screen/styles/index.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/{styles.provider.js → styles/styles.provider.js} +47 -39
- package/lib/commonjs/shared/providers/screen/styles/styles.provider.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/helpers/compute-bounds-styles.js +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/compute-bounds-styles.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/style-composers.js +21 -10
- package/lib/commonjs/shared/utils/bounds/helpers/style-composers.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/zoom/build.js +56 -30
- package/lib/commonjs/shared/utils/bounds/zoom/build.js.map +1 -1
- package/lib/module/blank-stack/navigators/create-blank-stack-navigator.js +27 -45
- 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 +1 -1
- package/lib/module/shared/components/create-boundary-component/components/boundary-target.js +34 -0
- package/lib/module/shared/components/create-boundary-component/components/boundary-target.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/create-boundary-component.js +227 -0
- package/lib/module/shared/components/create-boundary-component/create-boundary-component.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js +2 -4
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.js +4 -3
- 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-pending-destination-retry-measurement.js +2 -1
- 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/index.js +16 -213
- package/lib/module/shared/components/create-boundary-component/index.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/providers/boundary-owner.provider.js +56 -0
- package/lib/module/shared/components/create-boundary-component/providers/boundary-owner.provider.js.map +1 -0
- package/lib/module/shared/components/create-transition-aware-component.js +30 -8
- package/lib/module/shared/components/create-transition-aware-component.js.map +1 -1
- package/lib/module/shared/components/overlay/variations/float-overlay.js +1 -1
- package/lib/module/shared/components/overlay/variations/float-overlay.js.map +1 -1
- package/lib/module/shared/components/screen-container/index.js +8 -12
- package/lib/module/shared/components/screen-container/index.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/backdrop.js +4 -4
- package/lib/module/shared/components/screen-container/layers/backdrop.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/content.js +4 -4
- 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 +4 -4
- package/lib/module/shared/components/screen-container/layers/maybe-masked-navigation-container.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/surface-container.js +4 -4
- package/lib/module/shared/components/screen-container/layers/surface-container.js.map +1 -1
- package/lib/module/shared/constants.js +2 -1
- package/lib/module/shared/constants.js.map +1 -1
- package/lib/module/shared/providers/screen/screen-composer.js +1 -1
- package/lib/module/shared/providers/screen/screen-composer.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/helpers/build-resolved-style-map.js +139 -0
- package/lib/module/shared/providers/screen/styles/helpers/build-resolved-style-map.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/helpers/resolve-interpolated-style-output.js +23 -0
- package/lib/module/shared/providers/screen/styles/helpers/resolve-interpolated-style-output.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/helpers/split-normalized-style-maps.js +34 -0
- package/lib/module/shared/providers/screen/styles/helpers/split-normalized-style-maps.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/index.js +4 -0
- package/lib/module/shared/providers/screen/styles/index.js.map +1 -0
- package/lib/module/shared/providers/screen/{styles.provider.js → styles/styles.provider.js} +48 -40
- package/lib/module/shared/providers/screen/styles/styles.provider.js.map +1 -0
- package/lib/module/shared/utils/bounds/helpers/compute-bounds-styles.js +2 -2
- package/lib/module/shared/utils/bounds/helpers/compute-bounds-styles.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/style-composers.js +21 -10
- package/lib/module/shared/utils/bounds/helpers/style-composers.js.map +1 -1
- package/lib/module/shared/utils/bounds/zoom/build.js +55 -28
- package/lib/module/shared/utils/bounds/zoom/build.js.map +1 -1
- package/lib/typescript/blank-stack/navigators/create-blank-stack-navigator.d.ts +9 -15
- package/lib/typescript/blank-stack/navigators/create-blank-stack-navigator.d.ts.map +1 -1
- package/lib/typescript/blank-stack/types.d.ts +6 -4
- package/lib/typescript/blank-stack/types.d.ts.map +1 -1
- package/lib/typescript/component-stack/navigators/create-component-stack-navigator.d.ts +1 -1
- package/lib/typescript/shared/components/create-boundary-component/components/boundary-target.d.ts +209 -0
- package/lib/typescript/shared/components/create-boundary-component/components/boundary-target.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/create-boundary-component.d.ts +8 -0
- package/lib/typescript/shared/components/create-boundary-component/create-boundary-component.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement-rules.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.d.ts +2 -8
- 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-pending-destination-retry-measurement.d.ts +0 -1
- 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/index.d.ts +216 -12
- package/lib/typescript/shared/components/create-boundary-component/index.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/providers/boundary-owner.provider.d.ts +35 -0
- package/lib/typescript/shared/components/create-boundary-component/providers/boundary-owner.provider.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-transition-aware-component.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/index.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/layers/maybe-masked-navigation-container.d.ts.map +1 -1
- package/lib/typescript/shared/constants.d.ts +1 -0
- package/lib/typescript/shared/constants.d.ts.map +1 -1
- package/lib/typescript/shared/index.d.ts +209 -2
- package/lib/typescript/shared/index.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/helpers/build-resolved-style-map.d.ts +11 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/build-resolved-style-map.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-interpolated-style-output.d.ts +7 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-interpolated-style-output.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/split-normalized-style-maps.d.ts +6 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/split-normalized-style-maps.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/index.d.ts +2 -0
- package/lib/typescript/shared/providers/screen/styles/index.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/{styles.provider.d.ts → styles/styles.provider.d.ts} +3 -5
- package/lib/typescript/shared/providers/screen/styles/styles.provider.d.ts.map +1 -0
- package/lib/typescript/shared/types/animation.types.d.ts +3 -9
- package/lib/typescript/shared/types/animation.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/index.d.ts +1 -1
- package/lib/typescript/shared/types/index.d.ts.map +1 -1
- package/lib/typescript/shared/types/screen.types.d.ts +2 -4
- package/lib/typescript/shared/types/screen.types.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/compute-bounds-styles.d.ts +1 -11
- package/lib/typescript/shared/utils/bounds/helpers/compute-bounds-styles.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/style-composers.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/zoom/build.d.ts +1 -1
- package/lib/typescript/shared/utils/bounds/zoom/build.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/blank-stack/navigators/create-blank-stack-navigator.tsx +37 -80
- package/src/blank-stack/types.ts +7 -4
- package/src/component-stack/navigators/create-component-stack-navigator.tsx +1 -1
- package/src/shared/components/create-boundary-component/components/boundary-target.tsx +45 -0
- package/src/shared/components/create-boundary-component/create-boundary-component.tsx +282 -0
- package/src/shared/components/create-boundary-component/hooks/helpers/measurement-rules.ts +2 -7
- package/src/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.ts +6 -10
- package/src/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.ts +3 -2
- package/src/shared/components/create-boundary-component/index.tsx +16 -252
- package/src/shared/components/create-boundary-component/providers/boundary-owner.provider.tsx +109 -0
- package/src/shared/components/create-transition-aware-component.tsx +33 -5
- package/src/shared/components/overlay/variations/float-overlay.tsx +1 -1
- package/src/shared/components/screen-container/index.tsx +10 -13
- package/src/shared/components/screen-container/layers/backdrop.tsx +4 -4
- package/src/shared/components/screen-container/layers/content.tsx +4 -4
- package/src/shared/components/screen-container/layers/maybe-masked-navigation-container.tsx +6 -4
- package/src/shared/components/screen-container/layers/surface-container.tsx +4 -4
- package/src/shared/constants.ts +1 -0
- package/src/shared/index.ts +0 -1
- package/src/shared/providers/screen/screen-composer.tsx +1 -1
- package/src/shared/providers/screen/styles/helpers/build-resolved-style-map.ts +185 -0
- package/src/shared/providers/screen/styles/helpers/resolve-interpolated-style-output.ts +31 -0
- package/src/shared/providers/screen/styles/helpers/split-normalized-style-maps.ts +44 -0
- package/src/shared/providers/screen/styles/index.tsx +5 -0
- package/src/shared/providers/screen/styles/styles.provider.tsx +173 -0
- package/src/shared/types/animation.types.ts +3 -10
- package/src/shared/types/index.ts +0 -1
- package/src/shared/types/screen.types.ts +2 -4
- package/src/shared/utils/bounds/helpers/compute-bounds-styles.ts +2 -1
- package/src/shared/utils/bounds/helpers/style-composers.ts +11 -0
- package/src/shared/utils/bounds/zoom/build.ts +85 -70
- package/lib/commonjs/shared/components/screen-container/deferred-visibility-host.js +0 -45
- package/lib/commonjs/shared/components/screen-container/deferred-visibility-host.js.map +0 -1
- package/lib/commonjs/shared/hooks/animation/use-associated-style.js +0 -234
- package/lib/commonjs/shared/hooks/animation/use-associated-style.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/helpers/resolve-interpolated-style-output.js +0 -50
- package/lib/commonjs/shared/providers/screen/helpers/resolve-interpolated-style-output.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/styles.provider.js.map +0 -1
- package/lib/module/shared/components/screen-container/deferred-visibility-host.js +0 -40
- package/lib/module/shared/components/screen-container/deferred-visibility-host.js.map +0 -1
- package/lib/module/shared/hooks/animation/use-associated-style.js +0 -229
- package/lib/module/shared/hooks/animation/use-associated-style.js.map +0 -1
- package/lib/module/shared/providers/screen/helpers/resolve-interpolated-style-output.js +0 -44
- package/lib/module/shared/providers/screen/helpers/resolve-interpolated-style-output.js.map +0 -1
- package/lib/module/shared/providers/screen/styles.provider.js.map +0 -1
- package/lib/typescript/shared/components/screen-container/deferred-visibility-host.d.ts +0 -14
- package/lib/typescript/shared/components/screen-container/deferred-visibility-host.d.ts.map +0 -1
- package/lib/typescript/shared/hooks/animation/use-associated-style.d.ts +0 -32
- package/lib/typescript/shared/hooks/animation/use-associated-style.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/helpers/resolve-interpolated-style-output.d.ts +0 -14
- package/lib/typescript/shared/providers/screen/helpers/resolve-interpolated-style-output.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/styles.provider.d.ts.map +0 -1
- package/src/shared/components/screen-container/deferred-visibility-host.tsx +0 -44
- package/src/shared/hooks/animation/use-associated-style.ts +0 -297
- package/src/shared/providers/screen/helpers/resolve-interpolated-style-output.ts +0 -61
- package/src/shared/providers/screen/styles.provider.tsx +0 -164
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.buildZoomStyles =
|
|
6
|
+
exports.buildZoomStyles = buildZoomStyles;
|
|
7
7
|
var _reactNativeReanimated = require("react-native-reanimated");
|
|
8
8
|
var _constants = require("../../../constants");
|
|
9
9
|
var _bounds = require("../../../stores/bounds");
|
|
@@ -11,17 +11,22 @@ var _computeBoundsStyles = require("../helpers/compute-bounds-styles");
|
|
|
11
11
|
var _config = require("./config");
|
|
12
12
|
var _math = require("./math");
|
|
13
13
|
const IDENTITY_DRAG_SCALE_OUTPUT = [1, 1];
|
|
14
|
-
|
|
14
|
+
|
|
15
|
+
/* -------------------------------------------------------------------------- */
|
|
16
|
+
/* LOCAL HELPERS */
|
|
17
|
+
/* -------------------------------------------------------------------------- */
|
|
18
|
+
|
|
19
|
+
function getSourceBorderRadius(resolvedPair) {
|
|
15
20
|
"worklet";
|
|
16
21
|
|
|
17
22
|
return typeof resolvedPair.sourceStyles?.borderRadius === "number" ? resolvedPair.sourceStyles.borderRadius : 0;
|
|
18
|
-
}
|
|
19
|
-
|
|
23
|
+
}
|
|
24
|
+
function getZoomContentTarget({
|
|
20
25
|
explicitTarget,
|
|
21
26
|
screenLayout,
|
|
22
27
|
anchor,
|
|
23
28
|
resolvedPair
|
|
24
|
-
})
|
|
29
|
+
}) {
|
|
25
30
|
"worklet";
|
|
26
31
|
|
|
27
32
|
if (explicitTarget) return explicitTarget;
|
|
@@ -41,24 +46,32 @@ const getZoomContentTarget = ({
|
|
|
41
46
|
width: screenWidth,
|
|
42
47
|
height
|
|
43
48
|
};
|
|
44
|
-
}
|
|
45
|
-
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* -------------------------------------------------------------------------- */
|
|
52
|
+
/* BUILD ZOOM STYLES */
|
|
53
|
+
/* -------------------------------------------------------------------------- */
|
|
54
|
+
|
|
55
|
+
function buildZoomStyles({
|
|
46
56
|
resolvedTag,
|
|
47
57
|
zoomOptions,
|
|
48
58
|
props
|
|
49
|
-
})
|
|
59
|
+
}) {
|
|
50
60
|
"worklet";
|
|
51
61
|
|
|
52
62
|
if (!resolvedTag) return {};
|
|
63
|
+
|
|
64
|
+
/* ------------------------------ Shared Setup ------------------------------ */
|
|
65
|
+
|
|
53
66
|
const explicitTarget = zoomOptions?.target;
|
|
54
67
|
const debug = zoomOptions?.DEBUG === true;
|
|
55
68
|
const focused = props.focused;
|
|
56
69
|
const progress = props.progress;
|
|
70
|
+
const screenLayout = props.layouts.screen;
|
|
71
|
+
const isEnteringTransition = !props.next;
|
|
57
72
|
const currentRouteKey = props.current?.route.key;
|
|
58
73
|
const previousRouteKey = props.previous?.route.key;
|
|
59
74
|
const nextRouteKey = props.next?.route.key;
|
|
60
|
-
const entering = !props.next;
|
|
61
|
-
const screenLayout = props.layouts.screen;
|
|
62
75
|
const resolvedZoomAnchor = (0, _config.getZoomAnchor)(explicitTarget);
|
|
63
76
|
const zoomComputeParams = {
|
|
64
77
|
id: resolvedTag,
|
|
@@ -77,26 +90,33 @@ const buildZoomStyles = ({
|
|
|
77
90
|
currentScreenKey: currentRouteKey,
|
|
78
91
|
previousScreenKey: previousRouteKey,
|
|
79
92
|
nextScreenKey: nextRouteKey,
|
|
80
|
-
entering
|
|
93
|
+
entering: isEnteringTransition
|
|
81
94
|
});
|
|
82
95
|
const sourceBorderRadius = getSourceBorderRadius(resolvedPair);
|
|
83
96
|
const targetBorderRadius = zoomOptions?.borderRadius ?? sourceBorderRadius;
|
|
84
|
-
const
|
|
97
|
+
const sourceVisibilityStyle = {
|
|
85
98
|
[resolvedTag]: _constants.VISIBLE_STYLE
|
|
86
99
|
};
|
|
87
|
-
const
|
|
100
|
+
const focusedContentSlot = props.navigationMaskEnabled ? _constants.NAVIGATION_MASK_CONTAINER_STYLE_ID : "content";
|
|
101
|
+
|
|
102
|
+
/* --------------------------- Missing Source Guard -------------------------- */
|
|
88
103
|
|
|
89
104
|
// To avoid initial flickering, we'll want to hide if there are no source bounds
|
|
90
105
|
// But to also avoid scenarios where activeId changes in dst and theres a failed measurement,
|
|
91
106
|
// we should only hide if entering and there is no source bounds.
|
|
92
107
|
if (!resolvedPair.sourceBounds && props.active.entering) {
|
|
93
108
|
return {
|
|
94
|
-
[
|
|
109
|
+
[focusedContentSlot]: _constants.HIDDEN_STYLE
|
|
95
110
|
};
|
|
96
111
|
}
|
|
112
|
+
|
|
113
|
+
/* --------------------------- Gesture / Drag Values ------------------------- */
|
|
114
|
+
|
|
97
115
|
const normX = props.active.gesture.normX;
|
|
98
116
|
const normY = props.active.gesture.normY;
|
|
99
117
|
const initialDirection = props.active.gesture.direction;
|
|
118
|
+
const isHorizontalDismiss = initialDirection === "horizontal" || initialDirection === "horizontal-inverted";
|
|
119
|
+
const isVerticalDismiss = initialDirection === "vertical" || initialDirection === "vertical-inverted";
|
|
100
120
|
const dragX = (0, _math.normalizedToTranslation)({
|
|
101
121
|
normalized: normX,
|
|
102
122
|
dimension: screenLayout.width,
|
|
@@ -107,14 +127,14 @@ const buildZoomStyles = ({
|
|
|
107
127
|
dimension: screenLayout.height,
|
|
108
128
|
resistance: _config.ZOOM_DRAG_RESISTANCE
|
|
109
129
|
});
|
|
110
|
-
const dragXScale =
|
|
130
|
+
const dragXScale = isHorizontalDismiss ? (0, _math.resolveDirectionalDragScale)({
|
|
111
131
|
normalized: normX,
|
|
112
132
|
dismissDirection: initialDirection === "horizontal-inverted" ? "negative" : "positive",
|
|
113
133
|
shrinkMin: _config.ZOOM_DRAG_DIRECTIONAL_SCALE_MIN,
|
|
114
134
|
growMax: _config.ZOOM_DRAG_DIRECTIONAL_SCALE_MAX,
|
|
115
135
|
exponent: 2
|
|
116
136
|
}) : IDENTITY_DRAG_SCALE_OUTPUT[0];
|
|
117
|
-
const dragYScale =
|
|
137
|
+
const dragYScale = isVerticalDismiss ? (0, _math.resolveDirectionalDragScale)({
|
|
118
138
|
normalized: normY,
|
|
119
139
|
dismissDirection: initialDirection === "vertical-inverted" ? "negative" : "positive",
|
|
120
140
|
shrinkMin: _config.ZOOM_DRAG_DIRECTIONAL_SCALE_MIN,
|
|
@@ -122,8 +142,11 @@ const buildZoomStyles = ({
|
|
|
122
142
|
exponent: 2
|
|
123
143
|
}) : IDENTITY_DRAG_SCALE_OUTPUT[1];
|
|
124
144
|
const dragScale = (0, _math.combineScales)(dragXScale, dragYScale);
|
|
145
|
+
|
|
146
|
+
/* ----------------------------- Focused Screen ----------------------------- */
|
|
147
|
+
|
|
125
148
|
if (focused) {
|
|
126
|
-
const
|
|
149
|
+
const focusedContentTarget = getZoomContentTarget({
|
|
127
150
|
explicitTarget,
|
|
128
151
|
screenLayout,
|
|
129
152
|
anchor: _config.ZOOM_SHARED_OPTIONS.anchor,
|
|
@@ -133,7 +156,7 @@ const buildZoomStyles = ({
|
|
|
133
156
|
...baseRawOptions,
|
|
134
157
|
anchor: resolvedZoomAnchor,
|
|
135
158
|
method: "content",
|
|
136
|
-
target:
|
|
159
|
+
target: focusedContentTarget
|
|
137
160
|
}, resolvedPair);
|
|
138
161
|
const maskRaw = (0, _computeBoundsStyles.computeBoundStyles)(zoomComputeParams, {
|
|
139
162
|
...baseRawOptions,
|
|
@@ -176,10 +199,10 @@ const buildZoomStyles = ({
|
|
|
176
199
|
overflow: "hidden"
|
|
177
200
|
};
|
|
178
201
|
const focusedStyles = {
|
|
179
|
-
[
|
|
202
|
+
[focusedContentSlot]: {
|
|
180
203
|
style: focusedContentStyle
|
|
181
204
|
},
|
|
182
|
-
...
|
|
205
|
+
...sourceVisibilityStyle
|
|
183
206
|
};
|
|
184
207
|
if (props.navigationMaskEnabled) {
|
|
185
208
|
focusedStyles[_constants.NAVIGATION_MASK_ELEMENT_STYLE_ID] = {
|
|
@@ -199,11 +222,15 @@ const buildZoomStyles = ({
|
|
|
199
222
|
}
|
|
200
223
|
return focusedStyles;
|
|
201
224
|
}
|
|
225
|
+
|
|
226
|
+
/* ---------------------------- Unfocused Screen ---------------------------- */
|
|
227
|
+
|
|
202
228
|
const unfocusedFade = props.active?.closing ? (0, _reactNativeReanimated.interpolate)(progress, [1.6, 2], [1, debug ? 1 : 0], "clamp") : (0, _reactNativeReanimated.interpolate)(progress, [1, 1.5], [1, debug ? 1 : 0], "clamp");
|
|
203
229
|
const unfocusedScale = (0, _reactNativeReanimated.interpolate)(progress, [1, 2], [1, 0.95], "clamp");
|
|
204
230
|
const isUnfocusedIdle = props.active.settled === 1;
|
|
205
231
|
const shouldHideUnfocusedIdle = isUnfocusedIdle && !debug;
|
|
206
|
-
const
|
|
232
|
+
const shouldFreezeUnfocusedElement = props.active.logicallySettled && !props.active.closing;
|
|
233
|
+
const unfocusedElementTarget = explicitTarget !== undefined || resolvedPair.destinationBounds ? getZoomContentTarget({
|
|
207
234
|
explicitTarget,
|
|
208
235
|
screenLayout,
|
|
209
236
|
anchor: _config.ZOOM_SHARED_OPTIONS.anchor,
|
|
@@ -214,12 +241,12 @@ const buildZoomStyles = ({
|
|
|
214
241
|
anchor: resolvedZoomAnchor,
|
|
215
242
|
method: "transform",
|
|
216
243
|
space: "relative",
|
|
217
|
-
target:
|
|
244
|
+
target: unfocusedElementTarget
|
|
218
245
|
}, resolvedPair);
|
|
219
246
|
const boundTargetCenterX = explicitTarget === "bound" && resolvedPair.destinationBounds ? resolvedPair.destinationBounds.pageX + resolvedPair.destinationBounds.width / 2 : undefined;
|
|
220
247
|
const boundTargetCenterY = explicitTarget === "bound" && resolvedPair.destinationBounds ? resolvedPair.destinationBounds.pageY + resolvedPair.destinationBounds.height / 2 : undefined;
|
|
221
|
-
const elementCenterX = boundTargetCenterX ?? (typeof
|
|
222
|
-
const elementCenterY = boundTargetCenterY ?? (typeof
|
|
248
|
+
const elementCenterX = boundTargetCenterX ?? (typeof unfocusedElementTarget === "object" ? unfocusedElementTarget.pageX + unfocusedElementTarget.width / 2 : screenLayout.width / 2);
|
|
249
|
+
const elementCenterY = boundTargetCenterY ?? (typeof unfocusedElementTarget === "object" ? unfocusedElementTarget.pageY + unfocusedElementTarget.height / 2 : screenLayout.height / 2);
|
|
223
250
|
const scaleShiftX = (0, _math.computeCenterScaleShift)({
|
|
224
251
|
center: elementCenterX,
|
|
225
252
|
containerCenter: screenLayout.width / 2,
|
|
@@ -261,13 +288,13 @@ const buildZoomStyles = ({
|
|
|
261
288
|
elevation: 0
|
|
262
289
|
} : {
|
|
263
290
|
transform: [{
|
|
264
|
-
translateX:
|
|
291
|
+
translateX: shouldFreezeUnfocusedElement ? 0 : elementTranslateX
|
|
265
292
|
}, {
|
|
266
|
-
translateY:
|
|
293
|
+
translateY: shouldFreezeUnfocusedElement ? 0 : elementTranslateY
|
|
267
294
|
}, {
|
|
268
|
-
scaleX:
|
|
295
|
+
scaleX: shouldFreezeUnfocusedElement ? 1 : elementScaleX
|
|
269
296
|
}, {
|
|
270
|
-
scaleY:
|
|
297
|
+
scaleY: shouldFreezeUnfocusedElement ? 1 : elementScaleY
|
|
271
298
|
}],
|
|
272
299
|
opacity: debug ? 0.5 : unfocusedFade,
|
|
273
300
|
zIndex: 9999,
|
|
@@ -285,6 +312,5 @@ const buildZoomStyles = ({
|
|
|
285
312
|
style: resolvedElementStyle
|
|
286
313
|
}
|
|
287
314
|
};
|
|
288
|
-
}
|
|
289
|
-
exports.buildZoomStyles = buildZoomStyles;
|
|
315
|
+
}
|
|
290
316
|
//# sourceMappingURL=build.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNativeReanimated","require","_constants","_bounds","_computeBoundsStyles","_config","_math","IDENTITY_DRAG_SCALE_OUTPUT","getSourceBorderRadius","resolvedPair","sourceStyles","borderRadius","getZoomContentTarget","explicitTarget","screenLayout","anchor","sourceBounds","screenWidth","width","height","verticalAnchor","y","x","pageX","pageY","buildZoomStyles","resolvedTag","zoomOptions","props","target","debug","DEBUG","focused","progress","currentRouteKey","current","route","key","previousRouteKey","previous","nextRouteKey","next","entering","layouts","screen","resolvedZoomAnchor","getZoomAnchor","zoomComputeParams","id","dimensions","baseRawOptions","raw","scaleMode","ZOOM_SHARED_OPTIONS","BoundStore","resolveTransitionPair","currentScreenKey","previousScreenKey","nextScreenKey","sourceBorderRadius","targetBorderRadius","focusedVisibilityStyles","VISIBLE_STYLE","focusedContainerStyleId","navigationMaskEnabled","NAVIGATION_MASK_CONTAINER_STYLE_ID","active","HIDDEN_STYLE","normX","gesture","normY","initialDirection","direction","dragX","normalizedToTranslation","normalized","dimension","resistance","ZOOM_DRAG_RESISTANCE","dragY","dragXScale","resolveDirectionalDragScale","dismissDirection","shrinkMin","ZOOM_DRAG_DIRECTIONAL_SCALE_MIN","growMax","ZOOM_DRAG_DIRECTIONAL_SCALE_MAX","exponent","dragYScale","dragScale","combineScales","contentTarget","contentRaw","computeBoundStyles","method","maskRaw","space","focusedFade","closing","interpolate","shouldRemoveClipping","animating","focusedMaskBorderRadius","top","right","bottom","left","ZOOM_MASK_OUTSET","maskWidth","Math","max","toNumber","maskHeight","contentTranslateX","translateX","contentTranslateY","translateY","contentScale","scale","maskTranslateX","maskTranslateY","focusedContentStyle","opacity","transform","overflow","focusedStyles","style","NAVIGATION_MASK_ELEMENT_STYLE_ID","unfocusedFade","unfocusedScale","isUnfocusedIdle","settled","shouldHideUnfocusedIdle","elementTarget","undefined","destinationBounds","elementRaw","boundTargetCenterX","boundTargetCenterY","elementCenterX","elementCenterY","scaleShiftX","computeCenterScaleShift","center","containerCenter","scaleShiftY","compensatedGestureX","composeCompensatedTranslation","parentScale","centerShift","epsilon","EPSILON","compensatedGestureY","elementTranslateX","elementTranslateY","elementScaleX","scaleX","elementScaleY","scaleY","resolvedElementStyle","zIndex","elevation","logicallySettled","content","exports"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/zoom/build.ts"],"mappings":";;;;;;AAAA,IAAAA,sBAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAOA,IAAAE,OAAA,GAAAF,OAAA;AAMA,IAAAG,oBAAA,GAAAH,OAAA;AAEA,IAAAI,OAAA,GAAAJ,OAAA;AASA,IAAAK,KAAA,GAAAL,OAAA;AASA,MAAMM,0BAA0B,GAAG,CAAC,CAAC,EAAE,CAAC,CAAU;AAElD,MAAMC,qBAAqB,GAC1BC,YAAoC,IACxB;EACZ,SAAS;;EAET,OAAO,OAAOA,YAAY,CAACC,YAAY,EAAEC,YAAY,KAAK,QAAQ,GAC/DF,YAAY,CAACC,YAAY,CAACC,YAAY,GACtC,CAAC;AACL,CAAC;AAED,MAAMC,oBAAoB,GAAGA,CAAC;EAC7BC,cAAc;EACdC,YAAY;EACZC,MAAM;EACNN;AAMD,CAAC,KAAK;EACL,SAAS;;EAET,IAAII,cAAc,EAAE,OAAOA,cAAc;EAEzC,MAAMG,YAAY,GAAGP,YAAY,CAACO,YAAY;EAC9C,MAAMC,WAAW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sC,MAAM,CAACgC,OAAO,GACnD,CAAC,GACDuD;IACL,CAAC,EACD;MACCrC,UAAU,EACTxF,KAAK,CAACsC,MAAM,CAACgG,gBAAgB,IAAI,CAACtI,KAAK,CAACsC,MAAM,CAACgC,OAAO,GACnD,CAAC,GACDwD;IACL,CAAC,EACD;MACCE,MAAM,EACLhI,KAAK,CAACsC,MAAM,CAACgG,gBAAgB,IAAI,CAACtI,KAAK,CAACsC,MAAM,CAACgC,OAAO,GACnD,CAAC,GACDyD;IACL,CAAC,EACD;MACCG,MAAM,EACLlI,KAAK,CAACsC,MAAM,CAACgG,gBAAgB,IAAI,CAACtI,KAAK,CAACsC,MAAM,CAACgC,OAAO,GACnD,CAAC,GACD2D;IACL,CAAC,CACD;IACDnC,OAAO,EAAE5F,KAAK,GAAG,GAAG,GAAGkG,aAAa;IACpCgC,MAAM,EAAE,IAAI;IACZC,SAAS,EAAE;EACZ,CAAC;EAEH,OAAO;IACNE,OAAO,EAAE;MACRrC,KAAK,EAAE;QACNH,SAAS,EAAE,CAAC;UAAEL,KAAK,EAAEW;QAAe,CAAC;MACtC;IACD,CAAC;IACD,CAACvG,WAAW,GAAG;MACdoG,KAAK,EAAEiC;IACR;EACD,CAAC;AACF,CAAC;AAACK,OAAA,CAAA3I,eAAA,GAAAA,eAAA","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_reactNativeReanimated","require","_constants","_bounds","_computeBoundsStyles","_config","_math","IDENTITY_DRAG_SCALE_OUTPUT","getSourceBorderRadius","resolvedPair","sourceStyles","borderRadius","getZoomContentTarget","explicitTarget","screenLayout","anchor","sourceBounds","screenWidth","width","height","verticalAnchor","y","x","pageX","pageY","buildZoomStyles","resolvedTag","zoomOptions","props","target","debug","DEBUG","focused","progress","layouts","screen","isEnteringTransition","next","currentRouteKey","current","route","key","previousRouteKey","previous","nextRouteKey","resolvedZoomAnchor","getZoomAnchor","zoomComputeParams","id","dimensions","baseRawOptions","raw","scaleMode","ZOOM_SHARED_OPTIONS","BoundStore","resolveTransitionPair","currentScreenKey","previousScreenKey","nextScreenKey","entering","sourceBorderRadius","targetBorderRadius","sourceVisibilityStyle","VISIBLE_STYLE","focusedContentSlot","navigationMaskEnabled","NAVIGATION_MASK_CONTAINER_STYLE_ID","active","HIDDEN_STYLE","normX","gesture","normY","initialDirection","direction","isHorizontalDismiss","isVerticalDismiss","dragX","normalizedToTranslation","normalized","dimension","resistance","ZOOM_DRAG_RESISTANCE","dragY","dragXScale","resolveDirectionalDragScale","dismissDirection","shrinkMin","ZOOM_DRAG_DIRECTIONAL_SCALE_MIN","growMax","ZOOM_DRAG_DIRECTIONAL_SCALE_MAX","exponent","dragYScale","dragScale","combineScales","focusedContentTarget","contentRaw","computeBoundStyles","method","maskRaw","space","focusedFade","closing","interpolate","shouldRemoveClipping","animating","focusedMaskBorderRadius","top","right","bottom","left","ZOOM_MASK_OUTSET","maskWidth","Math","max","toNumber","maskHeight","contentTranslateX","translateX","contentTranslateY","translateY","contentScale","scale","maskTranslateX","maskTranslateY","focusedContentStyle","opacity","transform","overflow","focusedStyles","style","NAVIGATION_MASK_ELEMENT_STYLE_ID","unfocusedFade","unfocusedScale","isUnfocusedIdle","settled","shouldHideUnfocusedIdle","shouldFreezeUnfocusedElement","logicallySettled","unfocusedElementTarget","undefined","destinationBounds","elementRaw","boundTargetCenterX","boundTargetCenterY","elementCenterX","elementCenterY","scaleShiftX","computeCenterScaleShift","center","containerCenter","scaleShiftY","compensatedGestureX","composeCompensatedTranslation","parentScale","centerShift","epsilon","EPSILON","compensatedGestureY","elementTranslateX","elementTranslateY","elementScaleX","scaleX","elementScaleY","scaleY","resolvedElementStyle","zIndex","elevation","content"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/zoom/build.ts"],"mappings":";;;;;;AAAA,IAAAA,sBAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAOA,IAAAE,OAAA,GAAAF,OAAA;AAMA,IAAAG,oBAAA,GAAAH,OAAA;AAEA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KAAK,EAAEmC;IACR;EACD,CAAC;AACF","ignoreList":[]}
|
|
@@ -47,39 +47,32 @@ function BlankStackNavigatorInner({
|
|
|
47
47
|
})
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
|
-
function
|
|
51
|
-
independent,
|
|
52
|
-
enableNativeScreens
|
|
50
|
+
function BlankStackNavigator({
|
|
51
|
+
independent = false,
|
|
52
|
+
enableNativeScreens = true,
|
|
53
|
+
...rest
|
|
53
54
|
}) {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
return navigator;
|
|
65
|
-
}
|
|
66
|
-
return /*#__PURE__*/_jsx(NavigationIndependentTree, {
|
|
67
|
-
children: /*#__PURE__*/_jsx(NavigationContainer, {
|
|
68
|
-
children: /*#__PURE__*/_jsx(BlankStackContext.Provider, {
|
|
69
|
-
value: true,
|
|
70
|
-
children: navigator
|
|
71
|
-
})
|
|
72
|
-
})
|
|
73
|
-
});
|
|
55
|
+
const isNested = React.useContext(BlankStackContext);
|
|
56
|
+
const navigator = /*#__PURE__*/_jsx(BlankStackNavigatorInner, {
|
|
57
|
+
...rest,
|
|
58
|
+
...(!enableNativeScreens && {
|
|
59
|
+
DISABLE_NATIVE_SCREENS: true
|
|
60
|
+
}),
|
|
61
|
+
DISABLE_NATIVE_SCREEN_CONTAINER: independent
|
|
62
|
+
});
|
|
63
|
+
if (!independent || isNested) {
|
|
64
|
+
return navigator;
|
|
74
65
|
}
|
|
75
|
-
|
|
76
|
-
|
|
66
|
+
return /*#__PURE__*/_jsx(NavigationIndependentTree, {
|
|
67
|
+
children: /*#__PURE__*/_jsx(NavigationContainer, {
|
|
68
|
+
children: /*#__PURE__*/_jsx(BlankStackContext.Provider, {
|
|
69
|
+
value: true,
|
|
70
|
+
children: navigator
|
|
71
|
+
})
|
|
72
|
+
})
|
|
73
|
+
});
|
|
77
74
|
}
|
|
78
|
-
|
|
79
|
-
independent: false,
|
|
80
|
-
enableNativeScreens: true
|
|
81
|
-
});
|
|
82
|
-
|
|
75
|
+
BlankStackNavigator.displayName = "BlankStackNavigator";
|
|
83
76
|
/**
|
|
84
77
|
* Creates a blank stack navigator with gesture-driven transitions.
|
|
85
78
|
*
|
|
@@ -87,26 +80,15 @@ const BlankStackNavigator = createBlankStackNavigatorComponent({
|
|
|
87
80
|
* it participates in the current navigation tree and uses native screen
|
|
88
81
|
* primitives on supported native platforms.
|
|
89
82
|
*
|
|
90
|
-
*
|
|
83
|
+
* Blank stack also accepts navigator-specific props for embedded-flow behavior:
|
|
91
84
|
* - `independent: true` creates an isolated navigator for nested flows
|
|
92
85
|
* - `enableNativeScreens: false` renders the stack with regular views instead
|
|
93
86
|
* of `react-native-screens`
|
|
94
87
|
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
* itself is hosted.
|
|
88
|
+
* In the dynamic API, pass these to `<Stack.Navigator />`.
|
|
89
|
+
* In the static API, pass them in the same config object as `screens`.
|
|
98
90
|
*/
|
|
99
|
-
|
|
100
91
|
export function createBlankStackNavigator(config) {
|
|
101
|
-
|
|
102
|
-
independent = false,
|
|
103
|
-
enableNativeScreens = true,
|
|
104
|
-
...staticConfig
|
|
105
|
-
} = config ?? {};
|
|
106
|
-
const Navigator = createBlankStackNavigatorComponent({
|
|
107
|
-
independent,
|
|
108
|
-
enableNativeScreens
|
|
109
|
-
});
|
|
110
|
-
return createNavigatorFactory(Navigator)(config ? staticConfig : undefined);
|
|
92
|
+
return createNavigatorFactory(BlankStackNavigator)(config);
|
|
111
93
|
}
|
|
112
94
|
//# sourceMappingURL=create-blank-stack-navigator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createNavigatorFactory","NavigationContainer","NavigationIndependentTree","StackRouter","useNavigationBuilder","React","useTabPressReset","StackView","jsx","_jsx","BlankStackContext","createContext","displayName","BlankStackNavigatorInner","id","initialRouteName","children","layout","screenListeners","screenOptions","screenLayout","DISABLE_NATIVE_SCREENS","DISABLE_NATIVE_SCREEN_CONTAINER","rest","state","describe","descriptors","navigation","NavigationContent","index","key","
|
|
1
|
+
{"version":3,"names":["createNavigatorFactory","NavigationContainer","NavigationIndependentTree","StackRouter","useNavigationBuilder","React","useTabPressReset","StackView","jsx","_jsx","BlankStackContext","createContext","displayName","BlankStackNavigatorInner","id","initialRouteName","children","layout","screenListeners","screenOptions","screenLayout","DISABLE_NATIVE_SCREENS","DISABLE_NATIVE_SCREEN_CONTAINER","rest","state","describe","descriptors","navigation","NavigationContent","index","key","BlankStackNavigator","independent","enableNativeScreens","isNested","useContext","navigator","Provider","value","createBlankStackNavigator","config"],"sourceRoot":"../../../../src","sources":["blank-stack/navigators/create-blank-stack-navigator.tsx"],"mappings":";;AAAA,SACCA,sBAAsB,EACtBC,mBAAmB,EACnBC,yBAAyB,EAKzBC,WAAW,EAIXC,oBAAoB,QACd,0BAA0B;AACjC,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,SAASC,gBAAgB,QAAQ,mDAAmD;AACpF,SAASC,SAAS,QAAQ,0BAA0B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAiBrD,MAAMC,iBAAiB,gBAAGL,KAAK,CAACM,aAAa,CAAU,KAAK,CAAC;AAC7DD,iBAAiB,CAACE,WAAW,GAAG,mBAAmB;AAEnD,SAASC,wBAAwBA,CAAC;EACjCC,EAAE;EACFC,gBAAgB;EAChBC,QAAQ;EACRC,MAAM;EACNC,eAAe;EACfC,aAAa;EACbC,YAAY;EACZC,sBAAsB;EACtBC,+BAA+B;EAC/B,GAAGC;AAC2B,CAAC,EAAE;EACjC,MAAM;IAAEC,KAAK;IAAEC,QAAQ;IAAEC,WAAW;IAAEC,UAAU;IAAEC;EAAkB,CAAC,GACpExB,oBAAoB,CAMlBD,WAAW,EAAE;IACdW,EAAE;IACFC,gBAAgB;IAChBC,QAAQ;IACRC,MAAM;IACNC,eAAe;IAC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Ae,EAAmC;EACnD,OAAOxC,sBAAsB,CAAC+B,mBAAmB,CAAC,CAACS,MAAM,CAAC;AAC3D","ignoreList":[]}
|
|
@@ -75,7 +75,7 @@ function IsolatedComponentStackNavigator(props) {
|
|
|
75
75
|
/**
|
|
76
76
|
* @deprecated Component stack was originally introduced for independent,
|
|
77
77
|
* embedded navigation flows. Blank stack now supports that use case directly
|
|
78
|
-
* via
|
|
78
|
+
* via navigator props such as `<BlankStack.Navigator independent />`, with
|
|
79
79
|
* `enableNativeScreens` available when you need to switch between native
|
|
80
80
|
* screens and regular views. Prefer blank stack for new work; component stack
|
|
81
81
|
* will be removed in a future release.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { memo, useLayoutEffect } from "react";
|
|
4
|
+
import Animated, { useAnimatedRef } from "react-native-reanimated";
|
|
5
|
+
import { TARGET_OUTSIDE_OWNER_WARNING, useBoundaryOwnerContext } from "../providers/boundary-owner.provider";
|
|
6
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
+
export const BoundaryTarget = /*#__PURE__*/memo(function BoundaryTarget(props) {
|
|
8
|
+
const {
|
|
9
|
+
style,
|
|
10
|
+
...rest
|
|
11
|
+
} = props;
|
|
12
|
+
const targetAnimatedRef = useAnimatedRef();
|
|
13
|
+
const ownerContext = useBoundaryOwnerContext();
|
|
14
|
+
const isActiveTarget = ownerContext?.activeTargetRef === targetAnimatedRef;
|
|
15
|
+
useLayoutEffect(() => {
|
|
16
|
+
if (!ownerContext) {
|
|
17
|
+
if (__DEV__) {
|
|
18
|
+
console.warn(TARGET_OUTSIDE_OWNER_WARNING);
|
|
19
|
+
}
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
ownerContext.registerTargetRef(targetAnimatedRef);
|
|
23
|
+
return () => {
|
|
24
|
+
ownerContext.unregisterTargetRef(targetAnimatedRef);
|
|
25
|
+
};
|
|
26
|
+
}, [ownerContext, targetAnimatedRef]);
|
|
27
|
+
return /*#__PURE__*/_jsx(Animated.View, {
|
|
28
|
+
...rest,
|
|
29
|
+
ref: targetAnimatedRef,
|
|
30
|
+
style: [style, isActiveTarget ? ownerContext.associatedTargetStyles : undefined],
|
|
31
|
+
collapsable: false
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
//# sourceMappingURL=boundary-target.js.map
|
package/lib/module/shared/components/create-boundary-component/components/boundary-target.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["memo","useLayoutEffect","Animated","useAnimatedRef","TARGET_OUTSIDE_OWNER_WARNING","useBoundaryOwnerContext","jsx","_jsx","BoundaryTarget","props","style","rest","targetAnimatedRef","ownerContext","isActiveTarget","activeTargetRef","__DEV__","console","warn","registerTargetRef","unregisterTargetRef","View","ref","associatedTargetStyles","undefined","collapsable"],"sourceRoot":"../../../../../../src","sources":["shared/components/create-boundary-component/components/boundary-target.tsx"],"mappings":";;AACA,SAASA,IAAI,EAAEC,eAAe,QAAQ,OAAO;AAE7C,OAAOC,QAAQ,IAAIC,cAAc,QAAQ,yBAAyB;AAClE,SACCC,4BAA4B,EAC5BC,uBAAuB,QACjB,sCAAsC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAI9C,OAAO,MAAMC,cAAc,gBAAGR,IAAI,CAAC,SAASQ,cAAcA,CACzDC,KAA0B,EACzB;EACD,MAAM;IAAEC,KAAK;IAAE,GAAGC;EAAK,CAAC,GAAGF,KAAK;EAChC,MAAMG,iBAAiB,GAAGT,cAAc,CAAO,CAAC;EAChD,MAAMU,YAAY,GAAGR,uBAAuB,CAAC,CAAC;EAC9C,MAAMS,cAAc,GAAGD,YAAY,EAAEE,eAAe,KAAKH,iBAAiB;EAE1EX,eAAe,CAAC,MAAM;IACrB,IAAI,CAACY,YAAY,EAAE;MAClB,IAAIG,OAAO,EAAE;QACZC,OAAO,CAACC,IAAI,CAACd,4BAA4B,CAAC;MAC3C;MACA;IACD;IAEAS,YAAY,CAACM,iBAAiB,CAACP,iBAAiB,CAAC;IACjD,OAAO,MAAM;MACZC,YAAY,CAACO,mBAAmB,CAACR,iBAAiB,CAAC;IACpD,CAAC;EACF,CAAC,EAAE,CAACC,YAAY,EAAED,iBAAiB,CAAC,CAAC;EAErC,oBACCL,IAAA,CAACL,QAAQ,CAACmB,IAAI;IAAA,GACTV,IAAI;IACRW,GAAG,EAAEV,iBAAkB;IACvBF,KAAK,EAAE,CACNA,KAAK,EACLI,cAAc,GAAGD,YAAY,CAACU,sBAAsB,GAAGC,SAAS,CAC/D;IACFC,WAAW,EAAE;EAAM,CACnB,CAAC;AAEJ,CAAC,CAAC","ignoreList":[]}
|