react-native-screen-transitions 3.4.0-alpha.5 → 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 +1058 -11
- 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/hooks/use-backdrop-pointer-events.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/index.js +12 -8
- package/lib/commonjs/shared/components/screen-container/index.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/backdrop.js +8 -10
- package/lib/commonjs/shared/components/screen-container/layers/backdrop.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/content.js +7 -10
- 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 +4 -1
- package/lib/commonjs/shared/constants.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state.js +33 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js +2 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/use-build-transition-state.js +1 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/use-build-transition-state.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 +57 -31
- 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/hooks/use-backdrop-pointer-events.js.map +1 -1
- package/lib/module/shared/components/screen-container/index.js +12 -8
- package/lib/module/shared/components/screen-container/index.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/backdrop.js +8 -10
- package/lib/module/shared/components/screen-container/layers/backdrop.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/content.js +7 -10
- 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 +4 -1
- package/lib/module/shared/constants.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state.js +32 -1
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/pipeline.js +2 -0
- package/lib/module/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/use-build-transition-state.js +1 -0
- package/lib/module/shared/providers/screen/animation/helpers/use-build-transition-state.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 +56 -29
- 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/hooks/use-backdrop-pointer-events.d.ts +1 -1
- package/lib/typescript/shared/components/screen-container/hooks/use-backdrop-pointer-events.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/backdrop.d.ts +5 -1
- 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 +3 -1
- package/lib/typescript/shared/components/screen-container/layers/content.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/layers/maybe-masked-navigation-container.d.ts.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/animation/helpers/hydrate-transition-state.d.ts +16 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/pipeline.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/use-build-transition-state.d.ts +1 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/use-build-transition-state.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 +16 -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 +4 -5
- 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/hooks/use-backdrop-pointer-events.ts +1 -2
- package/src/shared/components/screen-container/index.tsx +12 -6
- package/src/shared/components/screen-container/layers/backdrop.tsx +13 -7
- package/src/shared/components/screen-container/layers/content.tsx +47 -43
- 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 +3 -0
- package/src/shared/index.ts +0 -1
- package/src/shared/providers/screen/animation/helpers/hydrate-transition-state.ts +49 -1
- package/src/shared/providers/screen/animation/helpers/pipeline.ts +2 -0
- package/src/shared/providers/screen/animation/helpers/use-build-transition-state.ts +2 -0
- 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 +18 -10
- package/src/shared/types/index.ts +0 -1
- package/src/shared/types/screen.types.ts +5 -5
- 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 +94 -59
- package/lib/commonjs/shared/components/screen-container/deferred-visibility-host.js +0 -43
- 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 -38
- 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 -13
- 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 -37
- 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
|
@@ -11,9 +11,8 @@ var _reactNativeReanimated = _interopRequireWildcard(require("react-native-reani
|
|
|
11
11
|
var _constants = require("../../../constants");
|
|
12
12
|
var _gestures = require("../../../providers/gestures");
|
|
13
13
|
var _descriptors = require("../../../providers/screen/descriptors");
|
|
14
|
-
var _styles = require("../../../providers/screen/styles
|
|
14
|
+
var _styles = require("../../../providers/screen/styles");
|
|
15
15
|
var _resolveScreenTransitionOptions = require("../../../utils/resolve-screen-transition-options");
|
|
16
|
-
var _useBackdropPointerEvents = require("../hooks/use-backdrop-pointer-events");
|
|
17
16
|
var _useContentLayout = require("../hooks/use-content-layout");
|
|
18
17
|
var _maybeMaskedNavigationContainer = require("./maybe-masked-navigation-container");
|
|
19
18
|
var _surfaceContainer = require("./surface-container");
|
|
@@ -22,18 +21,16 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
22
21
|
/** biome-ignore-all lint/style/noNonNullAssertion: <Screen gesture is under the gesture context, so this will always exist.> */
|
|
23
22
|
|
|
24
23
|
const ContentLayer = exports.ContentLayer = /*#__PURE__*/(0, _react.memo)(({
|
|
25
|
-
children
|
|
24
|
+
children,
|
|
25
|
+
pointerEvents,
|
|
26
|
+
isBackdropActive
|
|
26
27
|
}) => {
|
|
27
28
|
const {
|
|
28
|
-
|
|
29
|
+
layerStylesMap
|
|
29
30
|
} = (0, _styles.useScreenStyles)();
|
|
30
31
|
const {
|
|
31
32
|
current
|
|
32
33
|
} = (0, _descriptors.useDescriptors)();
|
|
33
|
-
const {
|
|
34
|
-
pointerEvents,
|
|
35
|
-
isBackdropActive
|
|
36
|
-
} = (0, _useBackdropPointerEvents.useBackdropPointerEvents)();
|
|
37
34
|
const gestureContext = (0, _gestures.useGestureContext)();
|
|
38
35
|
const isNavigationMaskEnabled = (0, _resolveScreenTransitionOptions.resolveNavigationMaskEnabled)(current.options);
|
|
39
36
|
const contentPointerEvents = isBackdropActive ? "box-none" : pointerEvents;
|
|
@@ -42,12 +39,12 @@ const ContentLayer = exports.ContentLayer = /*#__PURE__*/(0, _react.memo)(({
|
|
|
42
39
|
const animatedContentStyle = (0, _reactNativeReanimated.useAnimatedStyle)(() => {
|
|
43
40
|
"worklet";
|
|
44
41
|
|
|
45
|
-
return
|
|
42
|
+
return layerStylesMap.value.content?.style || _constants.NO_STYLES;
|
|
46
43
|
});
|
|
47
44
|
const animatedContentProps = (0, _reactNativeReanimated.useAnimatedProps)(() => {
|
|
48
45
|
"worklet";
|
|
49
46
|
|
|
50
|
-
return
|
|
47
|
+
return layerStylesMap.value.content?.props ?? _constants.NO_PROPS;
|
|
51
48
|
});
|
|
52
49
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeGestureHandler.GestureDetector, {
|
|
53
50
|
gesture: gestureContext.panGesture,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_reactNative","_reactNativeGestureHandler","_reactNativeReanimated","_interopRequireWildcard","_constants","_gestures","_descriptors","_styles","_resolveScreenTransitionOptions","
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_reactNativeGestureHandler","_reactNativeReanimated","_interopRequireWildcard","_constants","_gestures","_descriptors","_styles","_resolveScreenTransitionOptions","_useContentLayout","_maybeMaskedNavigationContainer","_surfaceContainer","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ContentLayer","exports","memo","children","pointerEvents","isBackdropActive","layerStylesMap","useScreenStyles","current","useDescriptors","gestureContext","useGestureContext","isNavigationMaskEnabled","resolveNavigationMaskEnabled","options","contentPointerEvents","hasAutoSnapPoint","snapPoints","includes","handleContentLayout","useContentLayout","animatedContentStyle","useAnimatedStyle","value","content","style","NO_STYLES","animatedContentProps","useAnimatedProps","props","NO_PROPS","jsx","GestureDetector","gesture","panGesture","View","styles","animatedProps","MaybeMaskedNavigationContainer","enabled","SurfaceContainer","collapsable","onLayout","StyleSheet","create","flex"],"sourceRoot":"../../../../../../src","sources":["shared/components/screen-container/layers/content.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,0BAAA,GAAAF,OAAA;AACA,IAAAG,sBAAA,GAAAC,uBAAA,CAAAJ,OAAA;AAIA,IAAAK,UAAA,GAAAL,OAAA;AACA,IAAAM,SAAA,GAAAN,OAAA;AACA,IAAAO,YAAA,GAAA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B,WAAA,CAAAmD,GAAA,EAACrD,+BAAA,CAAA4D,8BAA8B;QAC9BlC,aAAa,EAAEW,oBAAqB;QACpCwB,OAAO,EAAE3B,uBAAwB;QAAAT,QAAA,eAEjC,IAAAvB,WAAA,CAAAmD,GAAA,EAACpD,iBAAA,CAAA6D,gBAAgB;UAACpC,aAAa,EAAEW,oBAAqB;UAAAZ,QAAA,EACpDa,gBAAgB,gBAChB,IAAApC,WAAA,CAAAmD,GAAA,EAAC/D,YAAA,CAAAmE,IAAI;YAACM,WAAW,EAAE,KAAM;YAACC,QAAQ,EAAEvB,mBAAoB;YAAAhB,QAAA,EACtDA;UAAQ,CACJ,CAAC,GAEPA;QACA,CACgB;MAAC,CACY;IAAC,CACnB;EAAC,CACA,CAAC;AAEpB,CACD,CAAC;AAED,MAAMiC,MAAM,GAAGO,uBAAU,CAACC,MAAM,CAAC;EAChCpB,OAAO,EAAE;IACRqB,IAAI,EAAE;EACP;AACD,CAAC,CAAC","ignoreList":[]}
|
package/lib/commonjs/shared/components/screen-container/layers/maybe-masked-navigation-container.js
CHANGED
|
@@ -8,7 +8,7 @@ var _react = require("react");
|
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
9
|
var _reactNativeReanimated = _interopRequireWildcard(require("react-native-reanimated"));
|
|
10
10
|
var _constants = require("../../../constants");
|
|
11
|
-
var _styles = require("../../../providers/screen/styles
|
|
11
|
+
var _styles = require("../../../providers/screen/styles");
|
|
12
12
|
var _logger = require("../../../utils/logger");
|
|
13
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
14
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
@@ -25,17 +25,17 @@ const MaybeMaskedNavigationContainer = exports.MaybeMaskedNavigationContainer =
|
|
|
25
25
|
pointerEvents
|
|
26
26
|
}) => {
|
|
27
27
|
const {
|
|
28
|
-
|
|
28
|
+
layerStylesMap
|
|
29
29
|
} = (0, _styles.useScreenStyles)();
|
|
30
30
|
const animatedNavigationMaskStyle = (0, _reactNativeReanimated.useAnimatedStyle)(() => {
|
|
31
31
|
"worklet";
|
|
32
32
|
|
|
33
|
-
return
|
|
33
|
+
return layerStylesMap.value[_constants.NAVIGATION_MASK_ELEMENT_STYLE_ID]?.style || _constants.NO_STYLES;
|
|
34
34
|
});
|
|
35
35
|
const animatedNavigationMaskContainerStyle = (0, _reactNativeReanimated.useAnimatedStyle)(() => {
|
|
36
36
|
"worklet";
|
|
37
37
|
|
|
38
|
-
return
|
|
38
|
+
return layerStylesMap.value[_constants.NAVIGATION_MASK_CONTAINER_STYLE_ID]?.style || _constants.NO_STYLES;
|
|
39
39
|
});
|
|
40
40
|
const maybeLogWarning = (0, _react.useCallback)(() => {
|
|
41
41
|
if (!enabled) return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_reactNative","_reactNativeReanimated","_interopRequireWildcard","_constants","_styles","_logger","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","LazyMaskedView","View","_","hasWarnedMissingMaskedView","MaybeMaskedNavigationContainer","exports","memo","enabled","children","pointerEvents","
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_reactNativeReanimated","_interopRequireWildcard","_constants","_styles","_logger","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","LazyMaskedView","View","_","hasWarnedMissingMaskedView","MaybeMaskedNavigationContainer","exports","memo","enabled","children","pointerEvents","layerStylesMap","useScreenStyles","animatedNavigationMaskStyle","useAnimatedStyle","value","NAVIGATION_MASK_ELEMENT_STYLE_ID","style","NO_STYLES","animatedNavigationMaskContainerStyle","NAVIGATION_MASK_CONTAINER_STYLE_ID","maybeLogWarning","useCallback","logger","warn","jsx","styles","navigationMaskedRoot","maskElement","navigationMaskElement","onLayout","navigationContainer","collapsable","StyleSheet","create","flex","backgroundColor"],"sourceRoot":"../../../../../../src","sources":["shared/components/screen-container/layers/maybe-masked-navigation-container.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAC,uBAAA,CAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AAKA,IAAAK,OAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AAA+C,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAG,wBAAAK,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAP,uBAAA,YAAAA,CAAAK,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,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hCA,0BAA0B,GAAG,IAAI;IACjCmB,cAAM,CAACC,IAAI,CACV,uHACD,CAAC;EACF,CAAC,EAAE,CAAChB,OAAO,CAAC,CAAC;EAEb,IAAI,CAACA,OAAO,IAAIP,cAAc,KAAKC,iBAAI,EAAE;IACxC,OAAOO,QAAQ;EAChB;EAEA,oBACC,IAAA5B,WAAA,CAAA4C,GAAA,EAACxB,cAAc;IACdgB,KAAK,EAAES,MAAM,CAACC;IACd;IAAA;IACAC,WAAW,eACV,IAAA/C,WAAA,CAAA4C,GAAA,EAACjD,sBAAA,CAAAgB,OAAQ,CAACU,IAAI;MACbe,KAAK,EAAE,CAACS,MAAM,CAACG,qBAAqB,EAAEhB,2BAA2B,CAAE;MACnEH,aAAa,EAAC;IAAM,CACpB,CACD;IACDA,aAAa,EAAEA,aAAc;IAC7BoB,QAAQ,EAAET,eAAgB;IAAAZ,QAAA,eAE1B,IAAA5B,WAAA,CAAA4C,GAAA,EAACjD,sBAAA,CAAAgB,OAAQ,CAACU,IAAI;MACbe,KAAK,EAAE,CACNS,MAAM,CAACK,mBAAmB,EAC1BZ,oCAAoC,CACnC;MACFT,aAAa,EAAEA,aAAc;MAC7BsB,WAAW,EAAE,KAAM;MAAAvB,QAAA,EAElBA;IAAQ,CACK;EAAC,CACD,CAAC;AAEnB,CACD,CAAC;AAED,MAAMiB,MAAM,GAAGO,uBAAU,CAACC,MAAM,CAAC;EAChCP,oBAAoB,EAAE;IACrBQ,IAAI,EAAE;EACP,CAAC;EACDJ,mBAAmB,EAAE;IACpBI,IAAI,EAAE;EACP,CAAC;EACDN,qBAAqB,EAAE;IACtBO,eAAe,EAAE;EAClB;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -9,7 +9,7 @@ var _reactNative = require("react-native");
|
|
|
9
9
|
var _reactNativeReanimated = _interopRequireWildcard(require("react-native-reanimated"));
|
|
10
10
|
var _constants = require("../../../constants");
|
|
11
11
|
var _descriptors = require("../../../providers/screen/descriptors");
|
|
12
|
-
var _styles = require("../../../providers/screen/styles
|
|
12
|
+
var _styles = require("../../../providers/screen/styles");
|
|
13
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
14
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
15
15
|
const SurfaceContainer = exports.SurfaceContainer = /*#__PURE__*/(0, _react.memo)(({
|
|
@@ -17,7 +17,7 @@ const SurfaceContainer = exports.SurfaceContainer = /*#__PURE__*/(0, _react.memo
|
|
|
17
17
|
pointerEvents
|
|
18
18
|
}) => {
|
|
19
19
|
const {
|
|
20
|
-
|
|
20
|
+
layerStylesMap
|
|
21
21
|
} = (0, _styles.useScreenStyles)();
|
|
22
22
|
const {
|
|
23
23
|
current
|
|
@@ -29,12 +29,12 @@ const SurfaceContainer = exports.SurfaceContainer = /*#__PURE__*/(0, _react.memo
|
|
|
29
29
|
const animatedSurfaceStyle = (0, _reactNativeReanimated.useAnimatedStyle)(() => {
|
|
30
30
|
"worklet";
|
|
31
31
|
|
|
32
|
-
return
|
|
32
|
+
return layerStylesMap.value.surface?.style ?? _constants.NO_STYLES;
|
|
33
33
|
});
|
|
34
34
|
const animatedSurfaceProps = (0, _reactNativeReanimated.useAnimatedProps)(() => {
|
|
35
35
|
"worklet";
|
|
36
36
|
|
|
37
|
-
return
|
|
37
|
+
return layerStylesMap.value.surface?.props ?? _constants.NO_PROPS;
|
|
38
38
|
});
|
|
39
39
|
if (!AnimatedSurfaceComponent) return children;
|
|
40
40
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(AnimatedSurfaceComponent, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_reactNative","_reactNativeReanimated","_interopRequireWildcard","_constants","_descriptors","_styles","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","SurfaceContainer","exports","memo","children","pointerEvents","
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_reactNativeReanimated","_interopRequireWildcard","_constants","_descriptors","_styles","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","SurfaceContainer","exports","memo","children","pointerEvents","layerStylesMap","useScreenStyles","current","useDescriptors","SurfaceComponent","options","surfaceComponent","AnimatedSurfaceComponent","useMemo","Animated","createAnimatedComponent","animatedSurfaceStyle","useAnimatedStyle","value","surface","style","NO_STYLES","animatedSurfaceProps","useAnimatedProps","props","NO_PROPS","jsx","styles","animatedProps","StyleSheet","create","flex"],"sourceRoot":"../../../../../../src","sources":["shared/components/screen-container/layers/surface-container.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAC,uBAAA,CAAAH,OAAA;AAIA,IAAAI,UAAA,GAAAJ,OAAA;AACA,IAAAK,YAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AAAmE,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAG,wBAAAK,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAP,uBAAA,YAAAA,CAAAK,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,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GAAG,IAAAC,uCAAgB,EAAC,MAAM;IACnD,SAAS;;IACT,OAAOZ,cAAc,CAACa,KAAK,CAACC,OAAO,EAAEC,KAAK,IAAIC,oBAAS;EACxD,CAAC,CAAC;EAEF,MAAMC,oBAAoB,GAAG,IAAAC,uCAAgB,EAAC,MAAM;IACnD,SAAS;;IACT,OAAOlB,cAAc,CAACa,KAAK,CAACC,OAAO,EAAEK,KAAK,IAAIC,mBAAQ;EACvD,CAAC,CAAC;EAEF,IAAI,CAACb,wBAAwB,EAAE,OAAOT,QAAQ;EAE9C,oBACC,IAAAvB,WAAA,CAAA8C,GAAA,EAACd,wBAAwB;IACxBQ,KAAK,EAAE,CAACO,MAAM,CAACR,OAAO,EAAEH,oBAAoB,CAAE;IAC9CY,aAAa,EAAEN,oBAAqB;IACpClB,aAAa,EAAEA,aAAc;IAAAD,QAAA,EAE5BA;EAAQ,CACgB,CAAC;AAE7B,CAAC,CAAC;AAEF,MAAMwB,MAAM,GAAGE,uBAAU,CAACC,MAAM,CAAC;EAChCX,OAAO,EAAE;IACRY,IAAI,EAAE;EACP;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -56,6 +56,7 @@ const createScreenTransitionState = (route, meta) => ({
|
|
|
56
56
|
closing: 0,
|
|
57
57
|
animating: 0,
|
|
58
58
|
settled: 1,
|
|
59
|
+
logicallySettled: 1,
|
|
59
60
|
entering: 0,
|
|
60
61
|
gesture: {
|
|
61
62
|
...DEFAULT_GESTURE_VALUES
|
|
@@ -80,6 +81,7 @@ const DEFAULT_SCREEN_TRANSITION_STATE = exports.DEFAULT_SCREEN_TRANSITION_STATE
|
|
|
80
81
|
closing: 0,
|
|
81
82
|
animating: 0,
|
|
82
83
|
settled: 1,
|
|
84
|
+
logicallySettled: 1,
|
|
83
85
|
entering: 0,
|
|
84
86
|
gesture: DEFAULT_GESTURE_VALUES,
|
|
85
87
|
route: {},
|
|
@@ -103,7 +105,8 @@ const EMPTY_BOUND_HELPER_RESULT_RAW = exports.EMPTY_BOUND_HELPER_RESULT_RAW = Ob
|
|
|
103
105
|
translateX: 0,
|
|
104
106
|
translateY: 0,
|
|
105
107
|
width: 0,
|
|
106
|
-
height: 0
|
|
108
|
+
height: 0,
|
|
109
|
+
...HIDDEN_STYLE
|
|
107
110
|
});
|
|
108
111
|
const ENTER_RANGE = exports.ENTER_RANGE = [0, 1];
|
|
109
112
|
const EXIT_RANGE = exports.EXIT_RANGE = [1, 2];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","MASK_STYLE_ID","exports","CONTAINER_STYLE_ID","NAVIGATION_MASK_ELEMENT_STYLE_ID","NAVIGATION_MASK_CONTAINER_STYLE_ID","NO_STYLES","Object","freeze","HIDDEN_STYLE","opacity","VISIBLE_STYLE","NO_PROPS","DEFAULT_GESTURE_VALUES","x","y","normX","normY","dismissing","dragging","direction","normalizedX","normalizedY","isDismissing","isDragging","createScreenTransitionState","route","meta","progress","closing","animating","settled","entering","gesture","layouts","screen","width","height","snapIndex","DEFAULT_SCREEN_TRANSITION_STATE","EMPTY_BOUND_HELPER_RESULT","EMPTY_BOUND_HELPER_RESULT_RAW","scaleX","scaleY","scale","translateX","translateY","ENTER_RANGE","EXIT_RANGE","FULLSCREEN_DIMENSIONS","dimensions","pageX","pageY","DEFAULT_GESTURE_VELOCITY_IMPACT","DEFAULT_GESTURE_SNAP_VELOCITY_IMPACT","DEFAULT_GESTURE_RELEASE_VELOCITY_MAX","DEFAULT_GESTURE_RELEASE_VELOCITY_SCALE","DEFAULT_GESTURE_DIRECTION","DEFAULT_GESTURE_DRIVES_PROGRESS","DEFAULT_GESTURE_SNAP_LOCKED","DEFAULT_GESTURE_ACTIVATION_AREA","IS_WEB","Platform","OS","TRUE","FALSE","EPSILON","ANIMATION_SNAP_THRESHOLD"],"sourceRoot":"../../../src","sources":["shared/constants.ts"],"mappings":";;;;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AAOA;AACA;AACA;AACA;AACO,MAAMC,a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E;IAAE,
|
|
1
|
+
{"version":3,"names":["_reactNative","require","MASK_STYLE_ID","exports","CONTAINER_STYLE_ID","NAVIGATION_MASK_ELEMENT_STYLE_ID","NAVIGATION_MASK_CONTAINER_STYLE_ID","NO_STYLES","Object","freeze","HIDDEN_STYLE","opacity","VISIBLE_STYLE","NO_PROPS","DEFAULT_GESTURE_VALUES","x","y","normX","normY","dismissing","dragging","direction","normalizedX","normalizedY","isDismissing","isDragging","createScreenTransitionState","route","meta","progress","closing","animating","settled","logicallySettled","entering","gesture","layouts","screen","width","height","snapIndex","DEFAULT_SCREEN_TRANSITION_STATE","EMPTY_BOUND_HELPER_RESULT","EMPTY_BOUND_HELPER_RESULT_RAW","scaleX","scaleY","scale","translateX","translateY","ENTER_RANGE","EXIT_RANGE","FULLSCREEN_DIMENSIONS","dimensions","pageX","pageY","DEFAULT_GESTURE_VELOCITY_IMPACT","DEFAULT_GESTURE_SNAP_VELOCITY_IMPACT","DEFAULT_GESTURE_RELEASE_VELOCITY_MAX","DEFAULT_GESTURE_RELEASE_VELOCITY_SCALE","DEFAULT_GESTURE_DIRECTION","DEFAULT_GESTURE_DRIVES_PROGRESS","DEFAULT_GESTURE_SNAP_LOCKED","DEFAULT_GESTURE_ACTIVATION_AREA","IS_WEB","Platform","OS","TRUE","FALSE","EPSILON","ANIMATION_SNAP_THRESHOLD"],"sourceRoot":"../../../src","sources":["shared/constants.ts"],"mappings":";;;;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AAOA;AACA;AACA;AACA;AACO,MAAMC,aAAa,GAAAC,OAAA,CAAAD,aAAA,GAAG,cAAc;AACpC,MAAME,kBAAkB,GAAAD,OAAA,CAAAC,kBAAA,GAAG,iBAAiB;;AAEnD;AACA;AACA;AACO,MAAMC,gCAAgC,GAAAF,OAAA,CAAAE,gCAAA,GAAG,uBAAuB;AAChE,MAAMC,kCAAkC,GAAAH,OAAA,CAAAG,kCAAA,GAAG,4BAA4B;;AAE9E;AACA;AACA;AACO,MAAMC,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U,CAACb;EACpB,CAAC;AACF,CAAC;AAACpC,OAAA,CAAAgD,qBAAA,GAAAA,qBAAA;AAEK,MAAMI,+BAA+B,GAAApD,OAAA,CAAAoD,+BAAA,GAAG,GAAG;AAC3C,MAAMC,oCAAoC,GAAArD,OAAA,CAAAqD,oCAAA,GAAG,GAAG;AAChD,MAAMC,oCAAoC,GAAAtD,OAAA,CAAAsD,oCAAA,GAAG,GAAG;AAChD,MAAMC,sCAAsC,GAAAvD,OAAA,CAAAuD,sCAAA,GAAG,CAAC;AAChD,MAAMC,yBAAyB,GAAAxD,OAAA,CAAAwD,yBAAA,GAAG,YAAY;AAC9C,MAAMC,+BAA+B,GAAAzD,OAAA,CAAAyD,+BAAA,GAAG,IAAI;AAC5C,MAAMC,2BAA2B,GAAA1D,OAAA,CAAA0D,2BAAA,GAAG,KAAK;AACzC,MAAMC,+BAA+C,GAAA3D,OAAA,CAAA2D,+BAAA,GAAG,QAAQ;AAEhE,MAAMC,MAAM,GAAA5D,OAAA,CAAA4D,MAAA,GAAGC,qBAAQ,CAACC,EAAE,KAAK,KAAK;AAEpC,MAAMC,IAAI,GAAA/D,OAAA,CAAA+D,IAAA,GAAG,CAAC;AACd,MAAMC,KAAK,GAAAhE,OAAA,CAAAgE,KAAA,GAAG,CAAC;;AAEtB;AACA;AACA;AACO,MAAMC,OAAO,GAAAjE,OAAA,CAAAiE,OAAA,GAAG,IAAI;;AAE3B;AACA;AACA;AACA;AACO,MAAMC,wBAAwB,GAAAlE,OAAA,CAAAkE,wBAAA,GAAG,IAAI","ignoreList":[]}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.hydrateTransitionState = void 0;
|
|
6
|
+
exports.hydrateTransitionState = exports.computeLogicallySettled = void 0;
|
|
7
7
|
var _constants = require("../../../../constants");
|
|
8
8
|
/**
|
|
9
9
|
* Computes the animated snap index based on progress and snap points.
|
|
@@ -23,6 +23,32 @@ const computeSnapIndex = (progress, snapPoints) => {
|
|
|
23
23
|
}
|
|
24
24
|
return snapPoints.length - 1;
|
|
25
25
|
};
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Determines whether the screen transition is logically settled.
|
|
29
|
+
*
|
|
30
|
+
* A transition is considered logically settled when:
|
|
31
|
+
* - The `settled` flag is explicitly set, OR
|
|
32
|
+
* - The screen is not being dragged AND the progress is within
|
|
33
|
+
* {@link ANIMATION_SNAP_THRESHOLD} of the target progress.
|
|
34
|
+
*/
|
|
35
|
+
const computeLogicallySettled = ({
|
|
36
|
+
progress,
|
|
37
|
+
targetProgress,
|
|
38
|
+
settled,
|
|
39
|
+
dragging
|
|
40
|
+
}) => {
|
|
41
|
+
"worklet";
|
|
42
|
+
|
|
43
|
+
if (settled) {
|
|
44
|
+
return _constants.TRUE;
|
|
45
|
+
}
|
|
46
|
+
if (dragging) {
|
|
47
|
+
return _constants.FALSE;
|
|
48
|
+
}
|
|
49
|
+
return Math.abs(progress - targetProgress) <= _constants.ANIMATION_SNAP_THRESHOLD ? _constants.TRUE : _constants.FALSE;
|
|
50
|
+
};
|
|
51
|
+
exports.computeLogicallySettled = computeLogicallySettled;
|
|
26
52
|
const hydrateTransitionState = (s, dimensions) => {
|
|
27
53
|
"worklet";
|
|
28
54
|
|
|
@@ -46,6 +72,12 @@ const hydrateTransitionState = (s, dimensions) => {
|
|
|
46
72
|
out.gesture.isDismissing = out.gesture.dismissing;
|
|
47
73
|
out.gesture.isDragging = out.gesture.dragging;
|
|
48
74
|
out.settled = out.animating || out.gesture.dismissing || out.closing ? 0 : 1;
|
|
75
|
+
out.logicallySettled = computeLogicallySettled({
|
|
76
|
+
progress: out.progress,
|
|
77
|
+
targetProgress: s.targetProgress.value,
|
|
78
|
+
settled: out.settled,
|
|
79
|
+
dragging: out.gesture.dragging
|
|
80
|
+
});
|
|
49
81
|
out.meta = s.meta;
|
|
50
82
|
out.layouts.screen.width = dimensions.width;
|
|
51
83
|
out.layouts.screen.height = dimensions.height;
|
package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_constants","require","computeSnapIndex","progress","snapPoints","length","i","t","hydrateTransitionState","s","dimensions","out","unwrapped","value","closing","entering","gesture","x","y","normX","normY","dismissing","
|
|
1
|
+
{"version":3,"names":["_constants","require","computeSnapIndex","progress","snapPoints","length","i","t","computeLogicallySettled","targetProgress","settled","dragging","TRUE","FALSE","Math","abs","ANIMATION_SNAP_THRESHOLD","exports","hydrateTransitionState","s","dimensions","out","unwrapped","value","closing","entering","gesture","x","y","normX","normY","dismissing","direction","isGestureSettling","EPSILON","animating","normalizedX","normalizedY","isDismissing","isDragging","logicallySettled","meta","layouts","screen","width","height","content","measuredContentLayout","undefined","resolvedAutoSnap","hasAutoSnapPoint","resolvedAutoSnapPoint","resolvedSnapPoints","sortedNumericSnapPoints","sort","a","b","snapIndex"],"sourceRoot":"../../../../../../../src","sources":["shared/providers/screen/animation/helpers/hydrate-transition-state.ts"],"mappings":";;;;;;AACA,IAAAA,UAAA,GAAAC,OAAA;AAkCA;AACA;AACA;AACA;AACA,MAAMC,gBAAgB,GAAGA,CAACC,QAAgB,EAAEC,UAAoB,KAAa;EAC5E,SAAS;;EACT,IAAIA,UAAU,CAACC,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,CAAC;EACtC,IAAIF,QAAQ,IAAIC,UAAU,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC;EACvC,IAAID,QAAQ,IAAIC,UAAU,CAACA,UAAU,CAACC,MAAM,GAAG,CAAC,CAAC,EAChD,OAAOD,UAAU,CAACC,MAAM,GAAG,CAAC;EAE7B,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGF,UAAU,CAACC,MAAM,GAAG,CAAC,EAAEC,CAAC,EAAE,EAAE;IAC/C,IAAIH,QAAQ,IAAIC,UAAU,CAAC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AC,CAACC,CAAC,EAAEC,CAAC,KAAKD,CAAC,GAAGC,CAAC,CAAC,GACtErC,CAAC,CAACkC,uBAAuB;EAE7BhC,GAAG,CAACoC,SAAS,GAAGvD,gBAAgB,CAACmB,GAAG,CAAClB,QAAQ,EAAEiD,kBAAkB,CAAC;EAElE,OAAO/B,GAAG;AACX,CAAC;AAACJ,OAAA,CAAAC,sBAAA,GAAAA,sBAAA","ignoreList":[]}
|
|
@@ -50,6 +50,7 @@ function useScreenAnimationPipeline() {
|
|
|
50
50
|
progress: 0,
|
|
51
51
|
stackProgress: 0,
|
|
52
52
|
snapIndex: -1,
|
|
53
|
+
logicallySettled: 1,
|
|
53
54
|
focused: true,
|
|
54
55
|
active: _constants.DEFAULT_SCREEN_TRANSITION_STATE,
|
|
55
56
|
navigationMaskEnabled: currentNavigationMaskEnabled,
|
|
@@ -90,6 +91,7 @@ function useScreenAnimationPipeline() {
|
|
|
90
91
|
progress,
|
|
91
92
|
stackProgress,
|
|
92
93
|
snapIndex: current.snapIndex,
|
|
94
|
+
logicallySettled: helpers.active.logicallySettled,
|
|
93
95
|
...helpers
|
|
94
96
|
};
|
|
95
97
|
boundsFrameProps.value = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_reactNative","_reactNativeReanimated","_reactNativeSafeAreaContext","_constants","_useStack","_bounds","_resolveScreenTransitionOptions","_descriptors","_derivations","_hasTransitionsEnabled","_hydrateTransitionState","_useBuildTransitionState","useScreenAnimationPipeline","flags","stackProgress","rootStackProgress","routeKeys","useStack","dimensions","useWindowDimensions","insets","useSafeAreaInsets","transitionsAlwaysOn","TRANSITIONS_ALWAYS_ON","current","currDescriptor","next","nextDescriptor","previous","prevDescriptor","useDescriptors","currentAnimation","useBuildTransitionState","nextAnimation","prevAnimation","currentRouteKey","route","key","currentIndex","indexOf","nextRouteKey","nextHasTransitions","hasTransitionsEnabled","options","currentNavigationMaskEnabled","resolveNavigationMaskEnabled","boundsFrameProps","useSharedValue","layouts","screen","undefined","DEFAULT_SCREEN_TRANSITION_STATE","progress","snapIndex","focused","active","navigationMaskEnabled","inactive","boundsAccessor","useMemo","createBoundsAccessor","value","screenInterpolatorProps","useDerivedValue","hydrateTransitionState","helpers","derivations","nextProps","nextInterpolator","screenStyleInterpolator","currentInterpolator"],"sourceRoot":"../../../../../../../src","sources":["shared/providers/screen/animation/helpers/pipeline.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAF,OAAA;AAKA,IAAAG,2BAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAL,OAAA;AAUA,IAAAM,OAAA,GAAAN,OAAA;AACA,IAAAO,+BAAA,GAAAP,OAAA;AACA,IAAAQ,YAAA,GAAAR,OAAA;AACA,IAAAS,YAAA,GAAAT,OAAA;AACA,IAAAU,sBAAA,GAAAV,OAAA;AACA,IAAAW,uBAAA,GAAAX,OAAA;AACA,IAAAY,wBAAA,GAAAZ,OAAA;AAWO,SAASa,0BAA0BA,CAAA,EAA4B;EACrE,MAAM;IAAEC,KAAK;IAAEC,aAAa,EAAEC,iBAAiB;IAAEC;EAAU,CAAC,GAAG,IAAAC,kBAAQ,EAAC,CAAC;EACzE,MAAMC,UAAU,GAAG,IAAAC,gCAAmB,EAAC,CAAC;EACxC,MAAMC,MAAM,GAAG,IAAAC,6CAAiB,EAAC,CAAC;EAClC,MAAMC,mBAAmB,GAAGT,KAAK,CAACU,qBAAqB;EAEvD,MAAM;IACLC,OAAO,EAAEC,cAAc;IACvBC,IAAI,EAAEC,cAAc;IACpBC,QAAQ,EAAEC;EACX,CAAC,GAAG,IAAAC,2BAAc,EAAC,CAAC;EAEpB,MAAMC,gBAAgB,GAAG,IAAAC,gDAAuB,EAACP,cAAc,EAAE,SAAS,CAAC;EAC3E,MAAMQ,aAAa,GAAG,IAAAD,gDAAuB,EAACL,cAAc,EAAE,MAAM,CAAC;EACrE,MAAMO,aAAa,GAAG,IAAAF,gDAAuB,EAACH,cAAc,EAAE,UAAU,CAAC;EAEzE,MAAMM,eAAe,GAAGV,cAAc,EAAEW,KAAK,EAAEC,GAAG;EAClD,MAAMC,YAAY,GAAGtB,SAAS,CAACuB,OAAO,CAACJ,eAAe,CAAC;EAEvD,MAAMK,YAAY,GAAGb,cAAc,EAAES,KAAK,EAAEC,GAAG;EAC/C,MAAMI,kBAAkB,GACvB,CAAC,CAACD,YAAY,IACd,IAAAE,4CAAqB,EAACf,cAAc,EAAEgB,OAAO,EAAErB,mBAAmB,CAAC;EAEpE,MAAMsB,4BAA4B,GAAG,IAAAC,4DAA4B,EAChEpB,cAAc,EAAEkB,OAAO,IAAI,CAAC,CAC7B,CAAC;EAED,MAAMG,gBAAgB,GAAG,IAAAC,qCAAc,EAA2B;IACjEC,OAAO,EAAE;MAAEC,MAAM,EAAE/B;IAAW,CAAC;IAC/BE,MAAM;IACNQ,QAAQ,EAAEsB,SAAS;IACnB1B,OAAO,EAAE2B,0CAA+B;IACxCzB,IAAI,EAAEwB,SAAS;IACfE,QAAQ,EAAE,CAAC;IACXtC,aAAa,EAAE,CAAC;IAChBuC,SAAS,EAAE,CAAC,CAAC;IACbC,OAAO,EAAE,IAAI;IACbC,MAAM,
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_reactNativeReanimated","_reactNativeSafeAreaContext","_constants","_useStack","_bounds","_resolveScreenTransitionOptions","_descriptors","_derivations","_hasTransitionsEnabled","_hydrateTransitionState","_useBuildTransitionState","useScreenAnimationPipeline","flags","stackProgress","rootStackProgress","routeKeys","useStack","dimensions","useWindowDimensions","insets","useSafeAreaInsets","transitionsAlwaysOn","TRANSITIONS_ALWAYS_ON","current","currDescriptor","next","nextDescriptor","previous","prevDescriptor","useDescriptors","currentAnimation","useBuildTransitionState","nextAnimation","prevAnimation","currentRouteKey","route","key","currentIndex","indexOf","nextRouteKey","nextHasTransitions","hasTransitionsEnabled","options","currentNavigationMaskEnabled","resolveNavigationMaskEnabled","boundsFrameProps","useSharedValue","layouts","screen","undefined","DEFAULT_SCREEN_TRANSITION_STATE","progress","snapIndex","logicallySettled","focused","active","navigationMaskEnabled","inactive","boundsAccessor","useMemo","createBoundsAccessor","value","screenInterpolatorProps","useDerivedValue","hydrateTransitionState","helpers","derivations","nextProps","nextInterpolator","screenStyleInterpolator","currentInterpolator"],"sourceRoot":"../../../../../../../src","sources":["shared/providers/screen/animation/helpers/pipeline.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAF,OAAA;AAKA,IAAAG,2BAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAL,OAAA;AAUA,IAAAM,OAAA,GAAAN,OAAA;AACA,IAAAO,+BAAA,GAAAP,OAAA;AACA,IAAAQ,YAAA,GAAAR,OAAA;AACA,IAAAS,YAAA,GAAAT,OAAA;AACA,IAAAU,sBAAA,GAAAV,OAAA;AACA,IAAAW,uBAAA,GAAAX,OAAA;AACA,IAAAY,wBAAA,GAAAZ,OAAA;AAWO,SAASa,0BAA0BA,CAAA,EAA4B;EACrE,MAAM;IAAEC,KAAK;IAAEC,aAAa,EAAEC,iBAAiB;IAAEC;EAAU,CAAC,GAAG,IAAAC,kBAAQ,EAAC,CAAC;EACzE,MAAMC,UAAU,GAAG,IAAAC,gCAAmB,EAAC,CAAC;EACxC,MAAMC,MAAM,GAAG,IAAAC,6CAAiB,EAAC,CAAC;EAClC,MAAMC,mBAAmB,GAAGT,KAAK,CAACU,qBAAqB;EAEvD,MAAM;IACLC,OAAO,EAAEC,cAAc;IACvBC,IAAI,EAAEC,cAAc;IACpBC,QAAQ,EAAEC;EACX,CAAC,GAAG,IAAAC,2BAAc,EAAC,CAAC;EAEpB,MAAMC,gBAAgB,GAAG,IAAAC,gDAAuB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BE,mBAAmB;IACnBZ;EACD,CAAC;AACF","ignoreList":[]}
|
package/lib/commonjs/shared/providers/screen/animation/helpers/use-build-transition-state.js
CHANGED
|
@@ -27,6 +27,7 @@ const useBuildTransitionState = (descriptor, slot) => {
|
|
|
27
27
|
closing: _animation.AnimationStore.getValue(key, "closing"),
|
|
28
28
|
entering: _animation.AnimationStore.getValue(key, "entering"),
|
|
29
29
|
animating: _animation.AnimationStore.getValue(key, "animating"),
|
|
30
|
+
targetProgress: _system.SystemStore.getValue(key, "targetProgress"),
|
|
30
31
|
resolvedAutoSnapPoint: _system.SystemStore.getValue(key, "resolvedAutoSnapPoint"),
|
|
31
32
|
measuredContentLayout: _system.SystemStore.getValue(key, "measuredContentLayout"),
|
|
32
33
|
hasAutoSnapPoint: snapPoints?.includes("auto") ?? false,
|
package/lib/commonjs/shared/providers/screen/animation/helpers/use-build-transition-state.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_constants","_animation","_gesture","_system","_worklet","useBuildTransitionState","descriptor","slot","key","route","meta","options","gestureEnabled","snapPoints","shouldUseNeutralNextGestures","length","useMemo","undefined","plainRoute","toPlainRoute","plainMeta","toPlainValue","sortedNumericSnapPoints","filter","p","sort","a","b","progress","AnimationStore","getValue","closing","entering","animating","
|
|
1
|
+
{"version":3,"names":["_react","require","_constants","_animation","_gesture","_system","_worklet","useBuildTransitionState","descriptor","slot","key","route","meta","options","gestureEnabled","snapPoints","shouldUseNeutralNextGestures","length","useMemo","undefined","plainRoute","toPlainRoute","plainMeta","toPlainValue","sortedNumericSnapPoints","filter","p","sort","a","b","progress","AnimationStore","getValue","closing","entering","animating","targetProgress","SystemStore","resolvedAutoSnapPoint","measuredContentLayout","hasAutoSnapPoint","includes","gesture","GestureStore","peekBag","getCachedBag","getBag","unwrapped","createScreenTransitionState","exports"],"sourceRoot":"../../../../../../../src","sources":["shared/providers/screen/animation/helpers/use-build-transition-state.ts"],"mappings":";;;;;;AAAA,IA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,CAACtB,GAAG,EAAE,SAAS,CAAC;MAChDwB,QAAQ,EAAEH,yBAAc,CAACC,QAAQ,CAACtB,GAAG,EAAE,UAAU,CAAC;MAClDyB,SAAS,EAAEJ,yBAAc,CAACC,QAAQ,CAACtB,GAAG,EAAE,WAAW,CAAC;MACpD0B,cAAc,EAAEC,mBAAW,CAACL,QAAQ,CAACtB,GAAG,EAAE,gBAAgB,CAAC;MAC3D4B,qBAAqB,EAAED,mBAAW,CAACL,QAAQ,CAACtB,GAAG,EAAE,uBAAuB,CAAC;MACzE6B,qBAAqB,EAAEF,mBAAW,CAACL,QAAQ,CAACtB,GAAG,EAAE,uBAAuB,CAAC;MACzE8B,gBAAgB,EAAEzB,UAAU,EAAE0B,QAAQ,CAAC,MAAM,CAAC,IAAI,KAAK;MACvDjB,uBAAuB;MACvBkB,OAAO,EAAE1B,4BAA4B,GACjC2B,qBAAY,CAACC,OAAO,CAAClC,GAAG,CAAC,IAAIiC,qBAAY,CAACE,YAAY,CAAC,CAAC,GACzDF,qBAAY,CAACG,MAAM,CAACpC,GAAG,CAAC;MAC3BC,KAAK,EAAES,UAAU;MACjBR,IAAI,EAAEU,SAAS;MACfyB,SAAS,EAAE,IAAAC,sCAA2B,EAAC5B,UAAU,EAAEE,SAAS;IAC7D,CAAC;EACF,CAAC,EAAE,CAACZ,GAAG,EAAEE,IAAI,EAAED,KAAK,EAAEK,4BAA4B,EAAED,UAAU,CAAC,CAAC;AACjE,CAAC;AAACkC,OAAA,CAAA1C,uBAAA,GAAAA,uBAAA","ignoreList":[]}
|
|
@@ -9,7 +9,7 @@ var _screenLifecycle = require("../../components/screen-lifecycle");
|
|
|
9
9
|
var _gestures = require("../gestures");
|
|
10
10
|
var _animation = require("./animation");
|
|
11
11
|
var _descriptors = require("./descriptors");
|
|
12
|
-
var _styles = require("./styles
|
|
12
|
+
var _styles = require("./styles");
|
|
13
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
14
|
function ScreenComposer({
|
|
15
15
|
previous,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_screenContainer","require","_screenLifecycle","_gestures","_animation","_descriptors","_styles","_jsxRuntime","ScreenComposer","previous","current","next","children","jsx","DescriptorsProvider","ScreenLifecycle","ScreenGestureProvider","ScreenAnimationProvider","ScreenStylesProvider","ScreenContainer"],"sourceRoot":"../../../../../src","sources":["shared/providers/screen/screen-composer.tsx"],"mappings":";;;;;;AACA,IAAAA,gBAAA,GAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;
|
|
1
|
+
{"version":3,"names":["_screenContainer","require","_screenLifecycle","_gestures","_animation","_descriptors","_styles","_jsxRuntime","ScreenComposer","previous","current","next","children","jsx","DescriptorsProvider","ScreenLifecycle","ScreenGestureProvider","ScreenAnimationProvider","ScreenStylesProvider","ScreenContainer"],"sourceRoot":"../../../../../src","sources":["shared/providers/screen/screen-composer.tsx"],"mappings":";;;;;;AACA,IAAAA,gBAAA,GAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AAAgD,IAAAM,WAAA,GAAAN,OAAA;AASzC,SAASO,cAAcA,CAAqC;EAClEC,QAAQ;EACRC,OAAO;EACPC,IAAI;EACJC;AACmB,CAAC,EAAE;EACtB,oBACC,IAAAL,WAAA,CAAAM,GAAA,EAACR,YAAA,CAAAS,mBAAmB;IAACL,QAAQ,EAAEA,QAAS;IAACC,OAAO,EAAEA,OAAQ;IAACC,IAAI,EAAEA,IAAK;IAAAC,QAAA,eACrE,IAAAL,WAAA,CAAAM,GAAA,EAACX,gBAAA,CAAAa,eAAe;MAAAH,QAAA,eACf,IAAAL,WAAA,CAAAM,GAAA,EAACV,SAAA,CAAAa,qBAAqB;QAAAJ,QAAA,eACrB,IAAAL,WAAA,CAAAM,GAAA,EAACT,UAAA,CAAAa,uBAAuB;UAAAL,QAAA,eACvB,IAAAL,WAAA,CAAAM,GAAA,EAACP,OAAA,CAAAY,oBAAoB;YAAAN,QAAA,eACpB,IAAAL,WAAA,CAAAM,GAAA,EAACb,gBAAA,CAAAmB,eAAe;cAAAP,QAAA,EAAEA;YAAQ,CAAkB;UAAC,CACxB;QAAC,CACC;MAAC,CACJ;IAAC,CACR;EAAC,CACE,CAAC;AAExB","ignoreList":[]}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.buildResolvedStyleMap = void 0;
|
|
7
|
+
var _constants = require("../../../../constants");
|
|
8
|
+
const IDENTITY_TRANSFORM = [{
|
|
9
|
+
translateX: 0
|
|
10
|
+
}, {
|
|
11
|
+
translateY: 0
|
|
12
|
+
}, {
|
|
13
|
+
scaleX: 1
|
|
14
|
+
}, {
|
|
15
|
+
scaleY: 1
|
|
16
|
+
}];
|
|
17
|
+
const ALWAYS_RESET_STYLE_VALUES = {
|
|
18
|
+
zIndex: 0,
|
|
19
|
+
elevation: 0
|
|
20
|
+
};
|
|
21
|
+
const hasAnyKeys = record => {
|
|
22
|
+
"worklet";
|
|
23
|
+
|
|
24
|
+
for (const _key in record) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
return false;
|
|
28
|
+
};
|
|
29
|
+
const collectStyleKeyMeta = record => {
|
|
30
|
+
"worklet";
|
|
31
|
+
|
|
32
|
+
const keys = {};
|
|
33
|
+
let hasAny = false;
|
|
34
|
+
if (!record) {
|
|
35
|
+
return {
|
|
36
|
+
keys,
|
|
37
|
+
hasAny
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
for (const key in record) {
|
|
41
|
+
keys[key] = true;
|
|
42
|
+
hasAny = true;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
keys,
|
|
46
|
+
hasAny
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
const collectRelevantSlotIds = ({
|
|
50
|
+
currentStylesMap,
|
|
51
|
+
fallbackStylesMap,
|
|
52
|
+
previousStyleKeysBySlot
|
|
53
|
+
}) => {
|
|
54
|
+
"worklet";
|
|
55
|
+
|
|
56
|
+
const slotIds = {};
|
|
57
|
+
for (const slotId in currentStylesMap) {
|
|
58
|
+
slotIds[slotId] = true;
|
|
59
|
+
}
|
|
60
|
+
for (const slotId in fallbackStylesMap) {
|
|
61
|
+
slotIds[slotId] = true;
|
|
62
|
+
}
|
|
63
|
+
for (const slotId in previousStyleKeysBySlot) {
|
|
64
|
+
slotIds[slotId] = true;
|
|
65
|
+
}
|
|
66
|
+
return slotIds;
|
|
67
|
+
};
|
|
68
|
+
const buildUnsetPatch = ({
|
|
69
|
+
previousKeys,
|
|
70
|
+
currentKeys
|
|
71
|
+
}) => {
|
|
72
|
+
"worklet";
|
|
73
|
+
|
|
74
|
+
const unsetPatch = {};
|
|
75
|
+
for (const key in previousKeys) {
|
|
76
|
+
if (currentKeys[key]) continue;
|
|
77
|
+
if (key === "transform") {
|
|
78
|
+
unsetPatch.transform = IDENTITY_TRANSFORM;
|
|
79
|
+
continue;
|
|
80
|
+
}
|
|
81
|
+
if (key in ALWAYS_RESET_STYLE_VALUES) {
|
|
82
|
+
unsetPatch[key] = ALWAYS_RESET_STYLE_VALUES[key];
|
|
83
|
+
continue;
|
|
84
|
+
}
|
|
85
|
+
unsetPatch[key] = undefined;
|
|
86
|
+
}
|
|
87
|
+
return unsetPatch;
|
|
88
|
+
};
|
|
89
|
+
const buildResolvedStyleMap = ({
|
|
90
|
+
currentStylesMap,
|
|
91
|
+
fallbackStylesMap,
|
|
92
|
+
previousStyleKeysBySlot
|
|
93
|
+
}) => {
|
|
94
|
+
"worklet";
|
|
95
|
+
|
|
96
|
+
const resolvedStylesMap = {};
|
|
97
|
+
const nextPreviousStyleKeysBySlot = {};
|
|
98
|
+
const slotIds = collectRelevantSlotIds({
|
|
99
|
+
currentStylesMap,
|
|
100
|
+
fallbackStylesMap,
|
|
101
|
+
previousStyleKeysBySlot
|
|
102
|
+
});
|
|
103
|
+
for (const slotId in slotIds) {
|
|
104
|
+
const slot = currentStylesMap[slotId] ?? fallbackStylesMap[slotId];
|
|
105
|
+
const baseStyle = slot?.style;
|
|
106
|
+
const {
|
|
107
|
+
keys: currentKeys,
|
|
108
|
+
hasAny: hasCurrentStyleKeys
|
|
109
|
+
} = collectStyleKeyMeta(baseStyle);
|
|
110
|
+
const unsetPatch = buildUnsetPatch({
|
|
111
|
+
previousKeys: previousStyleKeysBySlot[slotId] ?? {},
|
|
112
|
+
currentKeys
|
|
113
|
+
});
|
|
114
|
+
const hasUnsetPatch = hasAnyKeys(unsetPatch);
|
|
115
|
+
const hasProps = slot?.props !== undefined;
|
|
116
|
+
if (!slot && !hasUnsetPatch) {
|
|
117
|
+
continue;
|
|
118
|
+
}
|
|
119
|
+
const resolvedStyle = hasCurrentStyleKeys || hasUnsetPatch ? {
|
|
120
|
+
...unsetPatch,
|
|
121
|
+
...(slot?.style ?? _constants.NO_STYLES)
|
|
122
|
+
} : undefined;
|
|
123
|
+
if (resolvedStyle === undefined && !hasProps) {
|
|
124
|
+
continue;
|
|
125
|
+
}
|
|
126
|
+
const resolvedSlot = {};
|
|
127
|
+
if (resolvedStyle !== undefined) {
|
|
128
|
+
resolvedSlot.style = resolvedStyle;
|
|
129
|
+
}
|
|
130
|
+
if (hasProps) {
|
|
131
|
+
resolvedSlot.props = slot?.props;
|
|
132
|
+
}
|
|
133
|
+
resolvedStylesMap[slotId] = resolvedSlot;
|
|
134
|
+
if (hasCurrentStyleKeys) {
|
|
135
|
+
nextPreviousStyleKeysBySlot[slotId] = currentKeys;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
return {
|
|
139
|
+
resolvedStylesMap,
|
|
140
|
+
nextPreviousStyleKeysBySlot
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
exports.buildResolvedStyleMap = buildResolvedStyleMap;
|
|
144
|
+
//# sourceMappingURL=build-resolved-style-map.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_constants","require","IDENTITY_TRANSFORM","translateX","translateY","scaleX","scaleY","ALWAYS_RESET_STYLE_VALUES","zIndex","elevation","hasAnyKeys","record","_key","collectStyleKeyMeta","keys","hasAny","key","collectRelevantSlotIds","currentStylesMap","fallbackStylesMap","previousStyleKeysBySlot","slotIds","slotId","buildUnsetPatch","previousKeys","currentKeys","unsetPatch","transform","undefined","buildResolvedStyleMap","resolvedStylesMap","nextPreviousStyleKeysBySlot","slot","baseStyle","style","hasCurrentStyleKeys","hasUnsetPatch","hasProps","props","resolvedStyle","NO_STYLES","resolvedSlot","exports"],"sourceRoot":"../../../../../../../src","sources":["shared/providers/screen/styles/helpers/build-resolved-style-map.ts"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAaA,MAAMC,kBAAkB,GAAG,CAC1B;EAAEC,UAAU,EAAE;AAAE,CAAC,EACjB;EAAEC,UAAU,EAAE;AAAE,CAAC,EACjB;EAAEC,MAAM,EAAE;AAAE,CAAC,EACb;EAAEC,MAAM,EAAE;AAAE,CAAC,CACJ;AAEV,MAAMC,yBAAyB,GAAG;EACjCC,MAAM,EAAE,CAAC;EACTC,SAAS,EAAE;AACZ,CAAU;AAEV,MAAMC,UAAU,GAAIC,MAA+B,IAAK;EACvD,SAAS;;EACT,KAAK,MAAMC,IAAI,IAAID,MAAM,EAAE;IAC1B,OAAO,IAAI;EACZ;EACA,OAAO,KAAK;AACb,CAAC;AAED,MAAME,mBAAmB,GACxBF,MAAgC,IACd;EAClB,SAAS;;EACT,MAAMG,IAAiB,GAAG,CAAC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IAEA,IAAIF,QAAQ,EAAE;MACbI,YAAY,CAACH,KAAK,GAAGN,IAAI,EAAEM,KAAK;IACjC;IAEAR,iBAAiB,CAACR,MAAM,CAAC,GAAGmB,YAAY;IAExC,IAAIN,mBAAmB,EAAE;MACxBJ,2BAA2B,CAACT,MAAM,CAAC,GAAGG,WAAW;IAClD;EACD;EAEA,OAAO;IACNK,iBAAiB;IACjBC;EACD,CAAC;AACF,CAAC;AAACW,OAAA,CAAAb,qBAAA,GAAAA,qBAAA","ignoreList":[]}
|
package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-interpolated-style-output.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.resolveInterpolatedStyleOutput = void 0;
|
|
7
|
+
var _constants = require("../../../../constants");
|
|
8
|
+
var _normalizeInterpolatedStyle = require("../../../../utils/normalize-interpolated-style");
|
|
9
|
+
const resolveInterpolatedStyleOutput = raw => {
|
|
10
|
+
"worklet";
|
|
11
|
+
|
|
12
|
+
if (raw == null || typeof raw !== "object") {
|
|
13
|
+
return {
|
|
14
|
+
stylesMap: _constants.NO_STYLES,
|
|
15
|
+
wasLegacy: false
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
const {
|
|
19
|
+
result,
|
|
20
|
+
wasLegacy
|
|
21
|
+
} = (0, _normalizeInterpolatedStyle.normalizeInterpolatedStyle)(raw);
|
|
22
|
+
return {
|
|
23
|
+
stylesMap: result,
|
|
24
|
+
wasLegacy
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
exports.resolveInterpolatedStyleOutput = resolveInterpolatedStyleOutput;
|
|
28
|
+
//# sourceMappingURL=resolve-interpolated-style-output.js.map
|
package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-interpolated-style-output.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_constants","require","_normalizeInterpolatedStyle","resolveInterpolatedStyleOutput","raw","stylesMap","NO_STYLES","wasLegacy","result","normalizeInterpolatedStyle","exports"],"sourceRoot":"../../../../../../../src","sources":["shared/providers/screen/styles/helpers/resolve-interpolated-style-output.ts"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAKA,IAAAC,2BAAA,GAAAD,OAAA;AAOO,MAAME,8BAA8B,GAC1CC,GAAmD,IACd;EACrC,SAAS;;EAET,IAAIA,GAAG,IAAI,IAAI,IAAI,OAAOA,GAAG,KAAK,QAAQ,EAAE;IAC3C,OAAO;MACNC,SAAS,EAAEC,oBAAS;MACpBC,SAAS,EAAE;IACZ,CAAC;EACF;EAEA,MAAM;IAAEC,MAAM;IAAED;EAAU,CAAC,GAAG,IAAAE,sDAA0B,EAACL,GAAG,CAAC;EAE7D,OAAO;IACNC,SAAS,EAAEG,MAAM;IACjBD;EACD,CAAC;AACF,CAAC;AAACG,OAAA,CAAAP,8BAAA,GAAAA,8BAAA","ignoreList":[]}
|