react-native-screen-transitions 3.9.0-beta.2 → 3.9.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/shared/components/boundary/components/boundary-target.js +19 -14
- package/lib/commonjs/shared/components/boundary/components/boundary-target.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js +14 -7
- package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/components/host.js +1 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/components/host.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js +32 -2
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/index.js +4 -3
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/index.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/components/host.js +3 -2
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/components/host.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js +2 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.js +2 -3
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +1 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/index.js +1 -3
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/index.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/teleport.js +2 -1
- package/lib/commonjs/shared/components/boundary/portal/teleport.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/providers/boundary-root.provider.js +16 -3
- package/lib/commonjs/shared/components/boundary/providers/boundary-root.provider.js.map +1 -1
- package/lib/commonjs/shared/constants.js +4 -0
- package/lib/commonjs/shared/constants.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state/index.js +4 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state/index.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pan/activation/use-pan-activation.js +10 -10
- package/lib/commonjs/shared/providers/screen/gestures/pan/activation/use-pan-activation.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.js +10 -2
- package/lib/commonjs/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pan/use-build-pan-gesture.js +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pan/use-build-pan-gesture.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pinch/activation/use-pinch-activation.js +25 -3
- package/lib/commonjs/shared/providers/screen/gestures/pinch/activation/use-pinch-activation.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pinch/behavior/pinch-lifecycle.js +4 -6
- package/lib/commonjs/shared/providers/screen/gestures/pinch/behavior/pinch-lifecycle.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pinch/behavior/use-pinch-behavior.js +2 -2
- package/lib/commonjs/shared/providers/screen/gestures/pinch/behavior/use-pinch-behavior.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/scroll-coordination/use-scroll-gesture-coordination.js +6 -1
- package/lib/commonjs/shared/providers/screen/gestures/scroll-coordination/use-scroll-gesture-coordination.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/shared/snapshot.js +2 -0
- package/lib/commonjs/shared/providers/screen/gestures/shared/snapshot.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/shared/values.js +2 -0
- package/lib/commonjs/shared/providers/screen/gestures/shared/values.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js +11 -0
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -1
- package/lib/commonjs/shared/stores/gesture.store.js +8 -0
- package/lib/commonjs/shared/stores/gesture.store.js.map +1 -1
- package/lib/commonjs/shared/utils/animation/animate-to-progress.js +24 -7
- package/lib/commonjs/shared/utils/animation/animate-to-progress.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/math.js +2 -1
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/math.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/build.js +177 -314
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/build.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/config.js +12 -18
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/config.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/drag.js +196 -0
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/drag.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/helpers.js +94 -108
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/helpers.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/mask.js +72 -0
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/mask.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/targets.js +55 -0
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/targets.js.map +1 -0
- package/lib/module/shared/components/boundary/components/boundary-target.js +20 -15
- package/lib/module/shared/components/boundary/components/boundary-target.js.map +1 -1
- package/lib/module/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js +14 -7
- package/lib/module/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/components/host.js +2 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/components/host.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js +32 -2
- package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/index.js +5 -4
- package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/index.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/components/host.js +3 -2
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/components/host.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js +3 -2
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.js +3 -4
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +1 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/index.js +1 -3
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/index.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/teleport.js +1 -0
- package/lib/module/shared/components/boundary/portal/teleport.js.map +1 -1
- package/lib/module/shared/components/boundary/providers/boundary-root.provider.js +17 -4
- package/lib/module/shared/components/boundary/providers/boundary-root.provider.js.map +1 -1
- package/lib/module/shared/constants.js +4 -0
- package/lib/module/shared/constants.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state/index.js +4 -0
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state/index.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pan/activation/use-pan-activation.js +10 -10
- package/lib/module/shared/providers/screen/gestures/pan/activation/use-pan-activation.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.js +10 -2
- package/lib/module/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pan/use-build-pan-gesture.js +1 -1
- package/lib/module/shared/providers/screen/gestures/pan/use-build-pan-gesture.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pinch/activation/use-pinch-activation.js +23 -2
- package/lib/module/shared/providers/screen/gestures/pinch/activation/use-pinch-activation.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pinch/behavior/pinch-lifecycle.js +4 -6
- package/lib/module/shared/providers/screen/gestures/pinch/behavior/pinch-lifecycle.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pinch/behavior/use-pinch-behavior.js +2 -2
- package/lib/module/shared/providers/screen/gestures/pinch/behavior/use-pinch-behavior.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/scroll-coordination/use-scroll-gesture-coordination.js +6 -1
- package/lib/module/shared/providers/screen/gestures/scroll-coordination/use-scroll-gesture-coordination.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/shared/snapshot.js +2 -0
- package/lib/module/shared/providers/screen/gestures/shared/snapshot.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/shared/values.js +2 -0
- package/lib/module/shared/providers/screen/gestures/shared/values.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js +11 -0
- package/lib/module/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -1
- package/lib/module/shared/stores/gesture.store.js +8 -0
- package/lib/module/shared/stores/gesture.store.js.map +1 -1
- package/lib/module/shared/types/bounds.types.js +26 -0
- package/lib/module/shared/types/bounds.types.js.map +1 -1
- package/lib/module/shared/utils/animation/animate-to-progress.js +24 -7
- package/lib/module/shared/utils/animation/animate-to-progress.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/reveal/math.js +2 -1
- package/lib/module/shared/utils/bounds/navigation/reveal/math.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/zoom/build.js +181 -318
- package/lib/module/shared/utils/bounds/navigation/zoom/build.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/zoom/config.js +11 -17
- package/lib/module/shared/utils/bounds/navigation/zoom/config.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/zoom/drag.js +184 -0
- package/lib/module/shared/utils/bounds/navigation/zoom/drag.js.map +1 -0
- package/lib/module/shared/utils/bounds/navigation/zoom/helpers.js +91 -102
- package/lib/module/shared/utils/bounds/navigation/zoom/helpers.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/zoom/mask.js +67 -0
- package/lib/module/shared/utils/bounds/navigation/zoom/mask.js.map +1 -0
- package/lib/module/shared/utils/bounds/navigation/zoom/targets.js +50 -0
- package/lib/module/shared/utils/bounds/navigation/zoom/targets.js.map +1 -0
- package/lib/typescript/shared/components/boundary/components/boundary-target.d.ts +3 -1
- package/lib/typescript/shared/components/boundary/components/boundary-target.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/components/host.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/index.d.ts +1 -3
- package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/index.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/components/host.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.d.ts +2 -3
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/index.d.ts +2 -3
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/index.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/teleport.d.ts +1 -0
- package/lib/typescript/shared/components/boundary/portal/teleport.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/providers/boundary-root.provider.d.ts +1 -0
- package/lib/typescript/shared/components/boundary/providers/boundary-root.provider.d.ts.map +1 -1
- package/lib/typescript/shared/constants.d.ts.map +1 -1
- package/lib/typescript/shared/index.d.ts +1 -1
- package/lib/typescript/shared/index.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state/index.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pan/activation/use-pan-activation.d.ts +2 -0
- package/lib/typescript/shared/providers/screen/gestures/pan/activation/use-pan-activation.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.d.ts +2 -1
- package/lib/typescript/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pan/use-build-pan-gesture.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pinch/activation/use-pinch-activation.d.ts +2 -0
- package/lib/typescript/shared/providers/screen/gestures/pinch/activation/use-pinch-activation.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pinch/behavior/pinch-lifecycle.d.ts +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pinch/behavior/pinch-lifecycle.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pinch/behavior/use-pinch-behavior.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/scroll-coordination/use-scroll-gesture-coordination.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/shared/snapshot.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/shared/values.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts +4 -0
- package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts.map +1 -1
- package/lib/typescript/shared/stores/gesture.store.d.ts +4 -0
- package/lib/typescript/shared/stores/gesture.store.d.ts.map +1 -1
- package/lib/typescript/shared/types/bounds.types.d.ts +115 -88
- package/lib/typescript/shared/types/bounds.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/gesture.types.d.ts +10 -0
- package/lib/typescript/shared/types/gesture.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/utils/animation/animate-to-progress.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/reveal/math.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/zoom/build.d.ts +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/zoom/build.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/zoom/config.d.ts +7 -17
- package/lib/typescript/shared/utils/bounds/navigation/zoom/config.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/zoom/drag.d.ts +55 -0
- package/lib/typescript/shared/utils/bounds/navigation/zoom/drag.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/navigation/zoom/helpers.d.ts +31 -34
- package/lib/typescript/shared/utils/bounds/navigation/zoom/helpers.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/zoom/mask.d.ts +25 -0
- package/lib/typescript/shared/utils/bounds/navigation/zoom/mask.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/navigation/zoom/targets.d.ts +16 -0
- package/lib/typescript/shared/utils/bounds/navigation/zoom/targets.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/navigation/zoom/types.d.ts +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/zoom/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/shared/components/boundary/components/boundary-target.tsx +37 -26
- package/src/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.ts +16 -13
- package/src/shared/components/boundary/portal/components/boundary-content-portal/components/host.tsx +6 -2
- package/src/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.ts +46 -3
- package/src/shared/components/boundary/portal/components/boundary-content-portal/index.tsx +8 -5
- package/src/shared/components/boundary/portal/components/boundary-portal/components/host.tsx +3 -2
- package/src/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.tsx +3 -2
- package/src/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.tsx +4 -5
- package/src/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.ts +5 -1
- package/src/shared/components/boundary/portal/components/boundary-portal/index.tsx +1 -4
- package/src/shared/components/boundary/portal/teleport.ts +1 -0
- package/src/shared/components/boundary/providers/boundary-root.provider.tsx +23 -3
- package/src/shared/constants.ts +4 -0
- package/src/shared/index.ts +2 -0
- package/src/shared/providers/screen/animation/helpers/hydrate-transition-state/index.ts +8 -0
- package/src/shared/providers/screen/gestures/pan/activation/use-pan-activation.ts +16 -7
- package/src/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.ts +18 -1
- package/src/shared/providers/screen/gestures/pan/use-build-pan-gesture.ts +1 -0
- package/src/shared/providers/screen/gestures/pinch/activation/use-pinch-activation.ts +40 -2
- package/src/shared/providers/screen/gestures/pinch/behavior/pinch-lifecycle.ts +7 -11
- package/src/shared/providers/screen/gestures/pinch/behavior/use-pinch-behavior.ts +12 -15
- package/src/shared/providers/screen/gestures/scroll-coordination/use-scroll-gesture-coordination.ts +6 -1
- package/src/shared/providers/screen/gestures/shared/snapshot.ts +2 -0
- package/src/shared/providers/screen/gestures/shared/values.ts +2 -0
- package/src/shared/providers/screen/styles/hooks/use-maybe-block-visibility.tsx +14 -1
- package/src/shared/stores/gesture.store.ts +12 -0
- package/src/shared/types/bounds.types.ts +119 -90
- package/src/shared/types/gesture.types.ts +10 -0
- package/src/shared/types/index.ts +2 -0
- package/src/shared/utils/animation/animate-to-progress.ts +23 -7
- package/src/shared/utils/bounds/navigation/reveal/math.ts +2 -1
- package/src/shared/utils/bounds/navigation/zoom/build.ts +223 -411
- package/src/shared/utils/bounds/navigation/zoom/config.ts +15 -18
- package/src/shared/utils/bounds/navigation/zoom/drag.ts +327 -0
- package/src/shared/utils/bounds/navigation/zoom/helpers.ts +122 -184
- package/src/shared/utils/bounds/navigation/zoom/mask.ts +130 -0
- package/src/shared/utils/bounds/navigation/zoom/targets.ts +74 -0
- package/src/shared/utils/bounds/navigation/zoom/types.ts +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/math.js +0 -25
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/math.js.map +0 -1
- package/lib/module/shared/utils/bounds/navigation/zoom/math.js +0 -20
- package/lib/module/shared/utils/bounds/navigation/zoom/math.js.map +0 -1
- package/lib/typescript/shared/utils/bounds/navigation/zoom/math.d.ts +0 -8
- package/lib/typescript/shared/utils/bounds/navigation/zoom/math.d.ts.map +0 -1
- package/src/shared/utils/bounds/navigation/zoom/math.ts +0 -25
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-boundary-content-portal-attachment.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-boundary-content-portal-attachment.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.ts"],"names":[],"mappings":"AAyBA,UAAU,wCAAwC;IACjD,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,kCAAkC,GAAI,0BAGhD,wCAAwC;;;;;CA2R1C,CAAC"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
|
-
import type { ViewProps } from "react-native";
|
|
3
2
|
export { BoundaryContentPortalHost } from "./components/host";
|
|
4
3
|
type BoundaryContentPortalProps = {
|
|
5
4
|
boundaryId?: string;
|
|
6
5
|
children: ReactNode;
|
|
7
6
|
enabled: boolean;
|
|
8
|
-
pointerEvents?: ViewProps["pointerEvents"];
|
|
9
7
|
};
|
|
10
|
-
export declare const BoundaryContentPortal: import("react").MemoExoticComponent<({ boundaryId, children, enabled,
|
|
8
|
+
export declare const BoundaryContentPortal: import("react").MemoExoticComponent<({ boundaryId, children, enabled, }: BoundaryContentPortalProps) => string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined>;
|
|
11
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/components/boundary/portal/components/boundary-content-portal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIN,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/components/boundary/portal/components/boundary-content-portal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIN,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;AAUf,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,KAAK,0BAA0B,GAAG;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;CACjB,CAAC;AAeF,eAAO,MAAM,qBAAqB,2EAI/B,0BAA0B,6UAqB3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"host.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/components/host.tsx"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,SAAS,EAId,KAAK,SAAS,EACd,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"host.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/components/host.tsx"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,SAAS,EAId,KAAK,SAAS,EACd,MAAM,cAAc,CAAC;AAatB,MAAM,MAAM,eAAe,GAAG;IAC7B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC7B,CAAC;AAmFF,eAAO,MAAM,IAAI,8CAA6B,eAAe,6CAE3D,CAAC;AAEH,eAAO,MAAM,kBAAkB,oFAE7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"portal-boundary-host.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAe1E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAMrF,KAAK,uBAAuB,GAAG;IAC9B,IAAI,EAAE,wBAAwB,CAAC;IAC/B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,yDAG5B,uBAAuB,
|
|
1
|
+
{"version":3,"file":"portal-boundary-host.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAe1E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAMrF,KAAK,uBAAuB,GAAG;IAC9B,IAAI,EAAE,wBAAwB,CAAC;IAC/B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,yDAG5B,uBAAuB,oDA6HxB,CAAC"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
|
-
import type { View
|
|
2
|
+
import type { View } from "react-native";
|
|
3
3
|
import { type AnimatedRef } from "react-native-reanimated";
|
|
4
4
|
type BoundaryPortalSlotProps = {
|
|
5
5
|
id: string;
|
|
6
6
|
children: ReactNode;
|
|
7
7
|
enabled: boolean;
|
|
8
8
|
animatedProps: any;
|
|
9
|
-
pointerEvents?: ViewProps["pointerEvents"];
|
|
10
9
|
placeholderRef?: AnimatedRef<View>;
|
|
11
10
|
};
|
|
12
|
-
export declare const BoundaryPortalSlot: import("react").MemoExoticComponent<({ id, children, enabled, animatedProps,
|
|
11
|
+
export declare const BoundaryPortalSlot: import("react").MemoExoticComponent<({ id, children, enabled, animatedProps, placeholderRef, }: BoundaryPortalSlotProps) => string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined>;
|
|
13
12
|
export {};
|
|
14
13
|
//# sourceMappingURL=portal-slot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"portal-slot.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIN,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"portal-slot.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIN,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAiB,EAAE,KAAK,WAAW,EAAW,MAAM,yBAAyB,CAAC;AAsB9E,KAAK,uBAAuB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,GAAG,CAAC;IACnB,cAAc,CAAC,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,kBAAkB,kGAM5B,uBAAuB,6UAmCxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-boundary-portal-attachment.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.ts"],"names":[],"mappings":"AA0BA,UAAU,iCAAiC;IAC1C,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,2BAA2B,GAAI,0BAGzC,iCAAiC;;;;;
|
|
1
|
+
{"version":3,"file":"use-boundary-portal-attachment.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.ts"],"names":[],"mappings":"AA0BA,UAAU,iCAAiC;IAC1C,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,2BAA2B,GAAI,0BAGzC,iCAAiC;;;;;CA2NnC,CAAC"}
|
package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/index.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
|
-
import type { View
|
|
2
|
+
import type { View } from "react-native";
|
|
3
3
|
import type { AnimatedRef } from "react-native-reanimated";
|
|
4
4
|
type BoundaryPortalProps = {
|
|
5
5
|
boundaryId: string;
|
|
6
6
|
children: ReactNode;
|
|
7
7
|
enabled: boolean;
|
|
8
8
|
placeholderRef?: AnimatedRef<View>;
|
|
9
|
-
pointerEvents?: ViewProps["pointerEvents"];
|
|
10
9
|
};
|
|
11
|
-
export declare const BoundaryPortal: import("react").MemoExoticComponent<({ boundaryId, children, enabled, placeholderRef,
|
|
10
|
+
export declare const BoundaryPortal: import("react").MemoExoticComponent<({ boundaryId, children, enabled, placeholderRef, }: BoundaryPortalProps) => import("react/jsx-runtime").JSX.Element>;
|
|
12
11
|
export {};
|
|
13
12
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,KAAK,EAAE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAI3D,KAAK,mBAAmB,GAAG;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,cAAc,2FAKxB,mBAAmB,6CAgBpB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type ComponentType } from "react";
|
|
2
2
|
export declare const isTeleportAvailable: boolean;
|
|
3
|
+
export declare const PORTAL_POINTER_EVENTS: "box-none";
|
|
3
4
|
export declare const NativePortal: ComponentType<any> | null;
|
|
4
5
|
export declare const NativePortalProvider: ComponentType<any> | null;
|
|
5
6
|
export declare const NativePortalHost: ComponentType<any> | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"teleport.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/portal/teleport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAiC,MAAM,OAAO,CAAC;AAuC1E,eAAO,MAAM,mBAAmB,SACkB,CAAC;AACnD,eAAO,MAAM,YAAY,EAAE,aAAa,CAAC,GAAG,CAAC,GAAG,IAA0B,CAAC;AAC3E,eAAO,MAAM,oBAAoB,EAAE,aAAa,CAAC,GAAG,CAAC,GAAG,IAC/B,CAAC;AAC1B,eAAO,MAAM,gBAAgB,EAAE,aAAa,CAAC,GAAG,CAAC,GAAG,IAC5B,CAAC"}
|
|
1
|
+
{"version":3,"file":"teleport.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/portal/teleport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAiC,MAAM,OAAO,CAAC;AAuC1E,eAAO,MAAM,mBAAmB,SACkB,CAAC;AACnD,eAAO,MAAM,qBAAqB,EAAG,UAAmB,CAAC;AACzD,eAAO,MAAM,YAAY,EAAE,aAAa,CAAC,GAAG,CAAC,GAAG,IAA0B,CAAC;AAC3E,eAAO,MAAM,oBAAoB,EAAE,aAAa,CAAC,GAAG,CAAC,GAAG,IAC/B,CAAC;AAC1B,eAAO,MAAM,gBAAgB,EAAE,aAAa,CAAC,GAAG,CAAC,GAAG,IAC5B,CAAC"}
|
|
@@ -16,6 +16,7 @@ export type BoundaryRootRenderState = {
|
|
|
16
16
|
attachedStyle: unknown;
|
|
17
17
|
boundTag: BoundTag;
|
|
18
18
|
currentScreenKey: string;
|
|
19
|
+
handoffEnabled: boolean;
|
|
19
20
|
portalRuntime: BoundaryPortalRuntime;
|
|
20
21
|
ref: AnimatedRef<View>;
|
|
21
22
|
rootEscapePlaceholderRef: AnimatedRef<View>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boundary-root.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/providers/boundary-root.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,YAAY,EACjB,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"boundary-root.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/providers/boundary-root.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,YAAY,EACjB,KAAK,SAAS,EAMd,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAQvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAI7D,OAAO,EACN,KAAK,qBAAqB,EAE1B,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EACX,mBAAmB,EACnB,UAAU,EACV,gBAAgB,EAChB,MAAM,UAAU,CAAC;AAElB,UAAU,wBAAyB,SAAQ,uBAAuB;IACjE,iBAAiB,EAAE,CAClB,SAAS,EAAE,WAAW,CAAC,IAAI,CAAC,EAC5B,cAAc,EAAE,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ooks/navigation/use-screen-state";
|
|
1350
1350
|
export { type ScreenAnimationTarget, useScreenAnimation, } from "./providers/screen/animation";
|
|
1351
1351
|
export { type ScreenGestureTarget, useScreenGesture, } from "./providers/screen/gestures/hooks/use-screen-gesture";
|
|
1352
|
-
export type { AnimatedViewStyle, AnimationConfig, BoundaryTeleportControl, BoundsMotion, BoundsMotionFrame, BoundsMotionTransform, BoundsNavigationAccessor, BoundsNavigationRevealOptions, BoundsNavigationRevealStyle, BoundsNavigationZoomOpacityRange, BoundsNavigationZoomOpacityRanges, BoundsNavigationZoomOptions, BoundsNavigationZoomStyle, GestureHandoffValues, InactiveBehavior, OverlayProps, RawGestureValues, ScreenBackdropComponent, ScreenBackdropComponentProps, ScreenContentComponent, ScreenContentComponentProps, ScreenInterpolationProps, ScreenLayerComponentProps, ScreenStyleInterpolator, ScreenTransitionAccessor, ScreenTransitionConfig, ScreenTransitionDepthTarget, ScreenTransitionTarget, ScrollGestureAxis, ScrollGestureAxisState, ScrollGestureState, ScrollMetadataState, TransitionInterpolatedStyle, TransitionSlotProps, TransitionSlotStyle, TransitionSpec, } from "./types";
|
|
1352
|
+
export type { AnimatedViewStyle, AnimationConfig, BoundaryTeleportControl, BoundsMotion, BoundsMotionFrame, BoundsMotionTransform, BoundsNavigationAccessor, BoundsNavigationRevealOptions, BoundsNavigationRevealStyle, BoundsNavigationZoomAxisResponse, BoundsNavigationZoomDragOptions, BoundsNavigationZoomOpacityRange, BoundsNavigationZoomOpacityRanges, BoundsNavigationZoomOptions, BoundsNavigationZoomStyle, GestureHandoffValues, InactiveBehavior, OverlayProps, RawGestureValues, ScreenBackdropComponent, ScreenBackdropComponentProps, ScreenContentComponent, ScreenContentComponentProps, ScreenInterpolationProps, ScreenLayerComponentProps, ScreenStyleInterpolator, ScreenTransitionAccessor, ScreenTransitionConfig, ScreenTransitionDepthTarget, ScreenTransitionTarget, ScrollGestureAxis, ScrollGestureAxisState, ScrollGestureState, ScrollMetadataState, TransitionInterpolatedStyle, TransitionSlotProps, TransitionSlotStyle, TransitionSpec, } from "./types";
|
|
1353
1353
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAY,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,UAAU,MAAM,0BAA0B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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BAA2B,EAC3B,wBAAwB,EACxB,yBAAyB,EACzB,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,EACtB,2BAA2B,EAC3B,sBAAsB,EACtB,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,mBAAmB,EACnB,2BAA2B,EAC3B,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,GACd,MAAM,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/providers/screen/animation/helpers/hydrate-transition-state/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEX,6BAA6B,EAC7B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAOhE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAyC1C,eAAO,MAAM,sBAAsB,GAClC,GAAG,UAAU,EACb,YAAY,MAAM,EAClB,mBAAmB,6BAA6B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/providers/screen/animation/helpers/hydrate-transition-state/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEX,6BAA6B,EAC7B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAOhE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAyC1C,eAAO,MAAM,sBAAsB,GAClC,GAAG,UAAU,EACb,YAAY,MAAM,EAClB,mBAAmB,6BAA6B,yDA4LhD,CAAC"}
|
package/lib/typescript/shared/providers/screen/gestures/pan/activation/use-pan-activation.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { GestureStateManager, GestureTouchEvent } from "react-native-gesture-handler";
|
|
2
2
|
import { type SharedValue } from "react-native-reanimated";
|
|
3
|
+
import type { Direction } from "../../../../../types/ownership.types";
|
|
3
4
|
import type { ScreenOptionsContextValue } from "../../../options";
|
|
4
5
|
import type { DirectionClaimMap, GestureCompositionOwner, GestureDimensions, PanGestureRuntime, ScrollGestureState } from "../../types";
|
|
5
6
|
interface UsePanActivationProps {
|
|
@@ -13,6 +14,7 @@ interface UsePanActivationProps {
|
|
|
13
14
|
export declare const usePanActivation: ({ scrollState, childDirectionClaims, runtime, screenOptions, dimensions, gestureCompositionOwner, }: UsePanActivationProps) => {
|
|
14
15
|
onTouchesDown: (event: GestureTouchEvent, stateManager: GestureStateManager | undefined) => void;
|
|
15
16
|
onTouchesMove: (event: GestureTouchEvent, stateManager: GestureStateManager) => void;
|
|
17
|
+
pendingDirection: SharedValue<Direction | null>;
|
|
16
18
|
};
|
|
17
19
|
export {};
|
|
18
20
|
//# sourceMappingURL=use-pan-activation.d.ts.map
|
package/lib/typescript/shared/providers/screen/gestures/pan/activation/use-pan-activation.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-pan-activation.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/providers/screen/gestures/pan/activation/use-pan-activation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,mBAAmB,EACnB,iBAAiB,EACjB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,KAAK,WAAW,EAAkB,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"use-pan-activation.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/providers/screen/gestures/pan/activation/use-pan-activation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,mBAAmB,EACnB,iBAAiB,EACjB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,KAAK,WAAW,EAAkB,MAAM,yBAAyB,CAAC;AAG3E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAEtE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAElE,OAAO,KAAK,EACX,iBAAiB,EACjB,uBAAuB,EACvB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,MAAM,aAAa,CAAC;AAGrB,UAAU,qBAAqB;IAC9B,WAAW,EAAE,WAAW,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAAC;IACpD,oBAAoB,EAAE,WAAW,CAAC,iBAAiB,CAAC,CAAC;IACrD,OAAO,EAAE,WAAW,CAAC,iBAAiB,CAAC,CAAC;IACxC,aAAa,EAAE,yBAAyB,CAAC;IACzC,UAAU,EAAE,iBAAiB,CAAC;IAC9B,uBAAuB,EAAE,WAAW,CAAC,uBAAuB,CAAC,CAAC;CAC9D;AAED,eAAO,MAAM,gBAAgB,GAAI,qGAO9B,qBAAqB;2BAiBd,iBAAiB,gBACV,mBAAmB,GAAG,SAAS;2BA8BtC,iBAAiB,gBAAgB,mBAAmB;;CAuE7D,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { SharedValue } from "react-native-reanimated";
|
|
2
|
+
import type { Direction } from "../../../../../types/ownership.types";
|
|
2
3
|
import type { ScreenOptionsContextValue } from "../../../options";
|
|
3
4
|
import type { GestureCompositionOwner, GestureDimensions, PanBehavior, PanGestureRuntime } from "../../types";
|
|
4
|
-
export declare const usePanBehavior: (runtime: SharedValue<PanGestureRuntime>, screenOptions: ScreenOptionsContextValue, dimensions: GestureDimensions, gestureCompositionOwner: SharedValue<GestureCompositionOwner>) => PanBehavior;
|
|
5
|
+
export declare const usePanBehavior: (runtime: SharedValue<PanGestureRuntime>, screenOptions: ScreenOptionsContextValue, dimensions: GestureDimensions, gestureCompositionOwner: SharedValue<GestureCompositionOwner>, pendingDirection: SharedValue<Direction | null>) => PanBehavior;
|
|
5
6
|
//# sourceMappingURL=use-pan-behavior.d.ts.map
|
package/lib/typescript/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-pan-behavior.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAIlE,OAAO,KAAK,EACX,uBAAuB,EACvB,iBAAiB,EACjB,WAAW,EAEX,iBAAiB,EACjB,MAAM,aAAa,CAAC;AAYrB,eAAO,MAAM,cAAc,GAC1B,SAAS,WAAW,CAAC,iBAAiB,CAAC,EACvC,eAAe,yBAAyB,EACxC,YAAY,iBAAiB,EAC7B,yBAAyB,WAAW,CAAC,uBAAuB,CAAC,
|
|
1
|
+
{"version":3,"file":"use-pan-behavior.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAIlE,OAAO,KAAK,EACX,uBAAuB,EACvB,iBAAiB,EACjB,WAAW,EAEX,iBAAiB,EACjB,MAAM,aAAa,CAAC;AAYrB,eAAO,MAAM,cAAc,GAC1B,SAAS,WAAW,CAAC,iBAAiB,CAAC,EACvC,eAAe,yBAAyB,EACxC,YAAY,iBAAiB,EAC7B,yBAAyB,WAAW,CAAC,uBAAuB,CAAC,EAC7D,kBAAkB,WAAW,CAAC,SAAS,GAAG,IAAI,CAAC,KAC7C,WA6GF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-build-pan-gesture.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/gestures/pan/use-build-pan-gesture.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAG3D,OAAO,KAAK,EACX,iBAAiB,EACjB,uBAAuB,EACvB,UAAU,EACV,mBAAmB,EACnB,kBAAkB,EAClB,MAAM,UAAU,CAAC;AAIlB,UAAU,uBAAuB;IAChC,WAAW,EAAE,WAAW,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAAC;IACpD,aAAa,EAAE,mBAAmB,CAAC;IACnC,oBAAoB,EAAE,WAAW,CAAC,iBAAiB,CAAC,CAAC;IACrD,uBAAuB,EAAE,WAAW,CAAC,uBAAuB,CAAC,CAAC;CAC9D;AAED,eAAO,MAAM,kBAAkB,GAAI,gFAKhC,uBAAuB,KAAG,
|
|
1
|
+
{"version":3,"file":"use-build-pan-gesture.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/gestures/pan/use-build-pan-gesture.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAG3D,OAAO,KAAK,EACX,iBAAiB,EACjB,uBAAuB,EACvB,UAAU,EACV,mBAAmB,EACnB,kBAAkB,EAClB,MAAM,UAAU,CAAC;AAIlB,UAAU,uBAAuB;IAChC,WAAW,EAAE,WAAW,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAAC;IACpD,aAAa,EAAE,mBAAmB,CAAC;IACnC,oBAAoB,EAAE,WAAW,CAAC,iBAAiB,CAAC,CAAC;IACrD,uBAAuB,EAAE,WAAW,CAAC,uBAAuB,CAAC,CAAC;CAC9D;AAED,eAAO,MAAM,kBAAkB,GAAI,gFAKhC,uBAAuB,KAAG,UAwC5B,CAAC"}
|
package/lib/typescript/shared/providers/screen/gestures/pinch/activation/use-pinch-activation.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { GestureStateManager, GestureTouchEvent } from "react-native-gesture-handler";
|
|
2
2
|
import type { SharedValue } from "react-native-reanimated";
|
|
3
|
+
import type { GestureStoreMap } from "../../../../../stores/gesture.store";
|
|
3
4
|
import type { ScreenOptionsContextValue } from "../../../options";
|
|
4
5
|
import type { GestureCompositionOwner, PinchGestureRuntime } from "../../types";
|
|
6
|
+
export declare const updateAbsolutePinchFocalPoint: (event: GestureTouchEvent, gestures: GestureStoreMap, captureOrigin: boolean) => void;
|
|
5
7
|
interface UsePinchActivationProps {
|
|
6
8
|
runtime: SharedValue<PinchGestureRuntime>;
|
|
7
9
|
screenOptions: ScreenOptionsContextValue;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-pinch-activation.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/providers/screen/gestures/pinch/activation/use-pinch-activation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,mBAAmB,EACnB,iBAAiB,EACjB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAElE,OAAO,KAAK,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEhF,UAAU,uBAAuB;IAChC,OAAO,EAAE,WAAW,CAAC,mBAAmB,CAAC,CAAC;IAC1C,aAAa,EAAE,yBAAyB,CAAC;IACzC,uBAAuB,EAAE,WAAW,CAAC,uBAAuB,CAAC,CAAC;CAC9D;AAED,eAAO,MAAM,kBAAkB,GAAI,sDAIhC,uBAAuB;2BAGhB,iBAAiB,gBACV,mBAAmB,GAAG,SAAS;
|
|
1
|
+
{"version":3,"file":"use-pinch-activation.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/providers/screen/gestures/pinch/activation/use-pinch-activation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,mBAAmB,EACnB,iBAAiB,EACjB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAElE,OAAO,KAAK,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEhF,eAAO,MAAM,6BAA6B,GACzC,OAAO,iBAAiB,EACxB,UAAU,eAAe,EACzB,eAAe,OAAO,SAoBtB,CAAC;AAEF,UAAU,uBAAuB;IAChC,OAAO,EAAE,WAAW,CAAC,mBAAmB,CAAC,CAAC;IAC1C,aAAa,EAAE,yBAAyB,CAAC;IACzC,uBAAuB,EAAE,WAAW,CAAC,uBAAuB,CAAC,CAAC;CAC9D;AAED,eAAO,MAAM,kBAAkB,GAAI,sDAIhC,uBAAuB;2BAGhB,iBAAiB,gBACV,mBAAmB,GAAG,SAAS;2BAmCtC,iBAAiB,gBAAgB,mBAAmB;CAqC7D,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PinchGestureEvent, PinchGestureRuntime, PinchReleaseResult, PinchTrackState } from "../../types";
|
|
2
|
-
export declare const startPinchBase: (runtime: PinchGestureRuntime
|
|
2
|
+
export declare const startPinchBase: (runtime: PinchGestureRuntime) => void;
|
|
3
3
|
export declare const trackPinchGesture: (event: PinchGestureEvent, rawEvent: PinchGestureEvent, gestures: PinchGestureRuntime["stores"]["gestures"]) => PinchTrackState;
|
|
4
4
|
export declare const finalizePinchRelease: (release: PinchReleaseResult, runtime: PinchGestureRuntime, dismissScreen: ((finished: boolean) => void) | undefined, requestDismiss?: () => void) => void;
|
|
5
5
|
//# sourceMappingURL=pinch-lifecycle.d.ts.map
|
package/lib/typescript/shared/providers/screen/gestures/pinch/behavior/pinch-lifecycle.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pinch-lifecycle.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/providers/screen/gestures/pinch/behavior/pinch-lifecycle.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACX,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,EACf,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"pinch-lifecycle.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/providers/screen/gestures/pinch/behavior/pinch-lifecycle.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACX,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,EACf,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,cAAc,GAAI,SAAS,mBAAmB,SAuB1D,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC7B,OAAO,iBAAiB,EACxB,UAAU,iBAAiB,EAC3B,UAAU,mBAAmB,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,KACjD,eAsBF,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAChC,SAAS,kBAAkB,EAC3B,SAAS,mBAAmB,EAC5B,eAAe,CAAC,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC,GAAG,SAAS,EACxD,iBAAiB,MAAM,IAAI,SAuC3B,CAAC"}
|
package/lib/typescript/shared/providers/screen/gestures/pinch/behavior/use-pinch-behavior.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-pinch-behavior.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/providers/screen/gestures/pinch/behavior/use-pinch-behavior.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAGlE,OAAO,KAAK,EACX,uBAAuB,EACvB,aAAa,EAEb,mBAAmB,EACnB,MAAM,aAAa,CAAC;AAYrB,eAAO,MAAM,gBAAgB,GAC5B,SAAS,WAAW,CAAC,mBAAmB,CAAC,EACzC,eAAe,yBAAyB,EACxC,yBAAyB,WAAW,CAAC,uBAAuB,CAAC,KAC3D,
|
|
1
|
+
{"version":3,"file":"use-pinch-behavior.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/providers/screen/gestures/pinch/behavior/use-pinch-behavior.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAGlE,OAAO,KAAK,EACX,uBAAuB,EACvB,aAAa,EAEb,mBAAmB,EACnB,MAAM,aAAa,CAAC;AAYrB,eAAO,MAAM,gBAAgB,GAC5B,SAAS,WAAW,CAAC,mBAAmB,CAAC,EACzC,eAAe,yBAAyB,EACxC,yBAAyB,WAAW,CAAC,uBAAuB,CAAC,KAC3D,aAqEF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-scroll-gesture-coordination.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/gestures/scroll-coordination/use-scroll-gesture-coordination.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAYtD,OAAO,KAAK,EACX,iBAAiB,EAIjB,MAAM,UAAU,CAAC;AAYlB,UAAU,8BAA8B;IACvC,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9D,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC9C,SAAS,CAAC,EAAE,iBAAiB,CAAC;CAC9B;AA4CD;;;;;;;;GAQG;AACH,eAAO,MAAM,4BAA4B,GACxC,OAAO,8BAA8B;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"use-scroll-gesture-coordination.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/gestures/scroll-coordination/use-scroll-gesture-coordination.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAYtD,OAAO,KAAK,EACX,iBAAiB,EAIjB,MAAM,UAAU,CAAC;AAYlB,UAAU,8BAA8B;IACvC,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9D,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC9C,SAAS,CAAC,EAAE,iBAAiB,CAAC;CAC9B;AA4CD;;;;;;;;GAQG;AACH,eAAO,MAAM,4BAA4B,GACxC,OAAO,8BAA8B;;;;;;;;;;CA0NrC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/gestures/shared/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAExE,KAAK,6BAA6B,GAAG;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAClC,UAAU,eAAe,EACzB,UAAU,6BAA6B,
|
|
1
|
+
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/gestures/shared/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAExE,KAAK,6BAA6B,GAAG;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAClC,UAAU,eAAe,EACzB,UAAU,6BAA6B,SA0BvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"values.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/gestures/shared/values.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAExE,eAAO,MAAM,iBAAiB,GAAI,UAAU,eAAe,SAM1D,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,UAAU,eAAe,SAIpE,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,UAAU,eAAe,SAO/D,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,UAAU,eAAe,SAK/D,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,UAAU,eAAe,
|
|
1
|
+
{"version":3,"file":"values.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/gestures/shared/values.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAExE,eAAO,MAAM,iBAAiB,GAAI,UAAU,eAAe,SAM1D,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,UAAU,eAAe,SAIpE,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,UAAU,eAAe,SAO/D,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,UAAU,eAAe,SAK/D,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,UAAU,eAAe,SAMxD,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,UAAU,eAAe,SAKhE,CAAC;AAEF,eAAO,MAAM,4BAA4B,GAAI,UAAU,eAAe,SAMrE,CAAC"}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
export declare const useMaybeBlockVisibility: (isFloatingOverlay?: boolean) => {
|
|
2
2
|
animatedStyle: {
|
|
3
|
+
opacity: number;
|
|
4
|
+
transform?: undefined;
|
|
5
|
+
} | {
|
|
3
6
|
transform: {
|
|
4
7
|
translateY: number;
|
|
5
8
|
}[];
|
|
9
|
+
opacity?: undefined;
|
|
6
10
|
};
|
|
7
11
|
animatedProps: Partial<{
|
|
8
12
|
pointerEvents: "box-none" | "none";
|
package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-maybe-block-visibility.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/hooks/use-maybe-block-visibility.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,uBAAuB,GAAI,oBAAoB,OAAO
|
|
1
|
+
{"version":3,"file":"use-maybe-block-visibility.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/hooks/use-maybe-block-visibility.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,uBAAuB,GAAI,oBAAoB,OAAO;;;;;;;;;;;;;;CA2ElE,CAAC"}
|
|
@@ -19,6 +19,8 @@ type GestureSnapshotStoreMap = {
|
|
|
19
19
|
normScale: SharedValue<number>;
|
|
20
20
|
focalX: SharedValue<number>;
|
|
21
21
|
focalY: SharedValue<number>;
|
|
22
|
+
pinchOriginX: SharedValue<number>;
|
|
23
|
+
pinchOriginY: SharedValue<number>;
|
|
22
24
|
rotation: SharedValue<number>;
|
|
23
25
|
raw: GestureRawStoreMap;
|
|
24
26
|
active: SharedValue<ActiveGesture | null>;
|
|
@@ -41,6 +43,8 @@ export type GestureStoreMap = {
|
|
|
41
43
|
normScale: SharedValue<number>;
|
|
42
44
|
focalX: SharedValue<number>;
|
|
43
45
|
focalY: SharedValue<number>;
|
|
46
|
+
pinchOriginX: SharedValue<number>;
|
|
47
|
+
pinchOriginY: SharedValue<number>;
|
|
44
48
|
rotation: SharedValue<number>;
|
|
45
49
|
raw: GestureRawStoreMap;
|
|
46
50
|
internal: GestureInternalStoreMap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gesture.store.d.ts","sourceRoot":"","sources":["../../../../src/shared/stores/gesture.store.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,KAAK,WAAW,EAChB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EACX,aAAa,EACb,2BAA2B,EAC3B,MAAM,wBAAwB,C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AC,MAAM,CAAC,CAAC;IAC9B,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC9B,MAAM,EAAE,WAAW,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;IAC1C,wCAAwC;IACxC,SAAS,EAAE,WAAW,CAAC,2BAA2B,GAAG,IAAI,CAAC,CAAC;IAE3D;;OAEG;IACH,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,YAAY,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAChC,CAAC;AAmFF;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,2DAqDvB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ColorValue } from "react-native";
|
|
2
2
|
import { NAVIGATION_MASK_CONTAINER_STYLE_ID, NAVIGATION_MASK_ELEMENT_STYLE_ID } from "../constants";
|
|
3
3
|
import type { BoundsLink } from "../stores/bounds/types";
|
|
4
4
|
import type { BoundsComputeOptions, BoundsIdentityInput, BoundsMotion, BoundsMotionFrame, BoundsMotionTransform, BoundsStyleResult, BoundsValuesResult } from "../utils/bounds/types/options";
|
|
@@ -13,78 +13,138 @@ export type { BoundsLink, BoundsLinkStatus } from "../stores/bounds/types";
|
|
|
13
13
|
* so the target bound matches the source at progress start
|
|
14
14
|
*/
|
|
15
15
|
export type BoundsMethod = "transform" | "size" | "content";
|
|
16
|
+
/**
|
|
17
|
+
* Axis-specific response intensity used by {@linkcode BoundsNavigationZoomDragOptions}.
|
|
18
|
+
*
|
|
19
|
+
* `0` disables the response on an axis, `1` preserves the native zoom preset,
|
|
20
|
+
* and values above `1` exaggerate it.
|
|
21
|
+
*/
|
|
22
|
+
export type BoundsNavigationZoomAxisResponse = {
|
|
23
|
+
/** Horizontal gesture response multiplier. @default 1 */
|
|
24
|
+
horizontal?: number;
|
|
25
|
+
/** Vertical gesture response multiplier. @default 1 */
|
|
26
|
+
vertical?: number;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Adjusts the intensity of zoom's native drag behavior without replacing its
|
|
30
|
+
* built-in curves.
|
|
31
|
+
*
|
|
32
|
+
* @see {@linkcode BoundsNavigationZoomOptions.drag}
|
|
33
|
+
*/
|
|
34
|
+
export type BoundsNavigationZoomDragOptions = {
|
|
35
|
+
/**
|
|
36
|
+
* Multiplies the native rendered translation.
|
|
37
|
+
*
|
|
38
|
+
* @default { horizontal: 1, vertical: 1 }
|
|
39
|
+
*/
|
|
40
|
+
translation?: BoundsNavigationZoomAxisResponse;
|
|
41
|
+
/**
|
|
42
|
+
* Multiplies the native scale displacement from `1`.
|
|
43
|
+
*
|
|
44
|
+
* @default { horizontal: 1, vertical: 1 }
|
|
45
|
+
*/
|
|
46
|
+
scale?: BoundsNavigationZoomAxisResponse;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Legacy zoom opacity interpolation tuple.
|
|
50
|
+
*
|
|
51
|
+
* @deprecated Zoom opacity ownership now follows the native preset.
|
|
52
|
+
*/
|
|
53
|
+
export type BoundsNavigationZoomOpacityRange = readonly [
|
|
54
|
+
inputStart: number,
|
|
55
|
+
inputEnd: number,
|
|
56
|
+
outputStart?: number,
|
|
57
|
+
outputEnd?: number
|
|
58
|
+
];
|
|
59
|
+
/**
|
|
60
|
+
* Legacy opening and closing zoom opacity ranges.
|
|
61
|
+
*
|
|
62
|
+
* @deprecated Zoom opacity ownership now follows the native preset.
|
|
63
|
+
*/
|
|
64
|
+
export type BoundsNavigationZoomOpacityRanges = {
|
|
65
|
+
open?: BoundsNavigationZoomOpacityRange;
|
|
66
|
+
close?: BoundsNavigationZoomOpacityRange;
|
|
67
|
+
};
|
|
16
68
|
export type BoundsNavigationZoomOptions = {
|
|
17
|
-
target?: "bound" | "fullscreen" | MeasuredDimensions;
|
|
18
|
-
debug?: boolean;
|
|
19
|
-
borderRadius?: number;
|
|
20
69
|
/**
|
|
21
|
-
*
|
|
70
|
+
* Geometry that the zoomed content should resolve against.
|
|
71
|
+
*
|
|
72
|
+
* `"bound"` uses the paired destination boundary. `"fullscreen"` uses the
|
|
73
|
+
* screen, and measured dimensions provide an explicit target rectangle.
|
|
74
|
+
* When omitted, zoom keeps its native full-width aspect-ratio target.
|
|
75
|
+
*/
|
|
76
|
+
target?: BoundsComputeOptions["target"];
|
|
77
|
+
/**
|
|
78
|
+
* Keeps the focused screen content visible throughout the zoom.
|
|
22
79
|
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
80
|
+
* Enable this for handed-off or live content that should not use zoom's
|
|
81
|
+
* built-in focused-content opacity fade.
|
|
25
82
|
*
|
|
26
|
-
*
|
|
27
|
-
* - `inputStart`: transition progress start
|
|
28
|
-
* - `inputEnd`: transition progress end
|
|
29
|
-
* - `outputStart`: opacity at `inputStart` (defaults to built-in preset)
|
|
30
|
-
* - `outputEnd`: opacity at `inputEnd` (defaults to built-in preset)
|
|
83
|
+
* @default false
|
|
31
84
|
*/
|
|
32
|
-
|
|
85
|
+
keepFocusedVisible?: boolean;
|
|
33
86
|
/**
|
|
34
|
-
*
|
|
87
|
+
* Expanded transition clipping radius.
|
|
35
88
|
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
89
|
+
* Zoom interpolates from the measured source radius to this value while the
|
|
90
|
+
* screen is animating. This controls the visible clipping result regardless
|
|
91
|
+
* of whether a navigation mask is enabled.
|
|
38
92
|
*
|
|
39
|
-
*
|
|
40
|
-
* - `inputStart`: transition progress start
|
|
41
|
-
* - `inputEnd`: transition progress end
|
|
42
|
-
* - `outputStart`: opacity at `inputStart` (defaults to built-in preset)
|
|
43
|
-
* - `outputEnd`: opacity at `inputEnd` (defaults to built-in preset)
|
|
93
|
+
* @default 64
|
|
44
94
|
*/
|
|
45
|
-
|
|
95
|
+
borderRadius?: number;
|
|
46
96
|
/**
|
|
47
|
-
* Scale applied to the unfocused
|
|
48
|
-
*
|
|
97
|
+
* Scale applied to the unfocused screen while the zoom runs above it.
|
|
98
|
+
*
|
|
99
|
+
* @default 0.9375
|
|
49
100
|
*/
|
|
50
101
|
backgroundScale?: number;
|
|
51
102
|
/**
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
* Zoom lowers gesture sensitivity as the drag gets deeper so the content
|
|
55
|
-
* handoff stays stable. This value controls the starting/highest sensitivity
|
|
56
|
-
* in that curve.
|
|
103
|
+
* Color rendered behind the focused zoom content.
|
|
57
104
|
*
|
|
58
|
-
* @default
|
|
105
|
+
* @default "black"
|
|
59
106
|
*/
|
|
60
|
-
|
|
107
|
+
backdropColor?: ColorValue;
|
|
61
108
|
/**
|
|
62
|
-
*
|
|
109
|
+
* Maximum opacity reached by the zoom backdrop.
|
|
63
110
|
*
|
|
64
|
-
*
|
|
65
|
-
* to `0` to remove the velocity depth effect.
|
|
111
|
+
* Values are clamped between `0` and `1`.
|
|
66
112
|
*
|
|
67
|
-
* @default 0.
|
|
113
|
+
* @default 0.45
|
|
114
|
+
*/
|
|
115
|
+
backdropOpacity?: number;
|
|
116
|
+
/**
|
|
117
|
+
* Native drag-response intensity controls.
|
|
118
|
+
*/
|
|
119
|
+
drag?: BoundsNavigationZoomDragOptions;
|
|
120
|
+
/**
|
|
121
|
+
* @deprecated Ignored. Zoom no longer exposes a transition-specific debug
|
|
122
|
+
* overlay.
|
|
123
|
+
*/
|
|
124
|
+
debug?: boolean;
|
|
125
|
+
/**
|
|
126
|
+
* @deprecated Ignored. Zoom opacity ownership now follows the native preset.
|
|
127
|
+
*/
|
|
128
|
+
focusedElementOpacity?: BoundsNavigationZoomOpacityRanges;
|
|
129
|
+
/**
|
|
130
|
+
* @deprecated Ignored. Zoom opacity ownership now follows the native preset.
|
|
131
|
+
*/
|
|
132
|
+
unfocusedElementOpacity?: BoundsNavigationZoomOpacityRanges;
|
|
133
|
+
/**
|
|
134
|
+
* @deprecated Ignored. Zoom now owns its gesture sensitivity curve.
|
|
135
|
+
*/
|
|
136
|
+
maxSensitivity?: number;
|
|
137
|
+
/**
|
|
138
|
+
* @deprecated Ignored. Zoom now owns its velocity-depth behavior.
|
|
68
139
|
*/
|
|
69
140
|
velocityDepth?: number;
|
|
70
141
|
/**
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
* Gesture movement now always contributes to `progress`; use `transitionProgress`
|
|
74
|
-
* when a recipe needs transition progress without live gesture contribution.
|
|
75
|
-
* The zoom helper no longer reads this option.
|
|
76
|
-
*
|
|
77
|
-
* @deprecated Use `transitionProgress` from interpolation state instead.
|
|
142
|
+
* @deprecated Ignored. Gesture movement always contributes to `progress`.
|
|
78
143
|
*/
|
|
79
144
|
gestureProgressMode?: GestureProgressMode;
|
|
80
145
|
/**
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
* Tuple order:
|
|
85
|
-
* - `shrinkMin`: minimum scale when dragging toward dismissal
|
|
86
|
-
* - `growMax`: maximum scale when dragging opposite dismissal
|
|
87
|
-
* - `exponent`: curve exponent controlling how quickly scaling ramps
|
|
146
|
+
* @deprecated Ignored. Use `drag.scale.horizontal` to adjust response
|
|
147
|
+
* intensity without replacing the native curve.
|
|
88
148
|
*/
|
|
89
149
|
horizontalDragScale?: readonly [
|
|
90
150
|
shrinkMin: number,
|
|
@@ -92,13 +152,8 @@ export type BoundsNavigationZoomOptions = {
|
|
|
92
152
|
exponent?: number
|
|
93
153
|
];
|
|
94
154
|
/**
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
* Tuple order:
|
|
99
|
-
* - `shrinkMin`: minimum scale when dragging toward dismissal
|
|
100
|
-
* - `growMax`: maximum scale when dragging opposite dismissal
|
|
101
|
-
* - `exponent`: curve exponent controlling how quickly scaling ramps
|
|
155
|
+
* @deprecated Ignored. Use `drag.scale.vertical` to adjust response intensity
|
|
156
|
+
* without replacing the native curve.
|
|
102
157
|
*/
|
|
103
158
|
verticalDragScale?: readonly [
|
|
104
159
|
shrinkMin: number,
|
|
@@ -106,17 +161,8 @@ export type BoundsNavigationZoomOptions = {
|
|
|
106
161
|
exponent?: number
|
|
107
162
|
];
|
|
108
163
|
/**
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
* Tuple order:
|
|
112
|
-
* - `negativeMax`: multiplier when dragging left / negative
|
|
113
|
-
* - `positiveMax`: multiplier when dragging right / positive
|
|
114
|
-
* - `exponent`: curve exponent controlling how quickly translation ramps
|
|
115
|
-
*
|
|
116
|
-
* Examples:
|
|
117
|
-
* - `[0, 0]` disables horizontal drag translation
|
|
118
|
-
* - `[0.5, 0.5]` halves horizontal drag travel
|
|
119
|
-
* - `[1.2, 1.2]` amplifies horizontal drag travel
|
|
164
|
+
* @deprecated Ignored. Use `drag.translation.horizontal` to adjust response
|
|
165
|
+
* intensity without replacing the native curve.
|
|
120
166
|
*/
|
|
121
167
|
horizontalDragTranslation?: readonly [
|
|
122
168
|
negativeMax: number,
|
|
@@ -124,17 +170,8 @@ export type BoundsNavigationZoomOptions = {
|
|
|
124
170
|
exponent?: number
|
|
125
171
|
];
|
|
126
172
|
/**
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
* Tuple order:
|
|
130
|
-
* - `negativeMax`: multiplier when dragging up / negative
|
|
131
|
-
* - `positiveMax`: multiplier when dragging down / positive
|
|
132
|
-
* - `exponent`: curve exponent controlling how quickly translation ramps
|
|
133
|
-
*
|
|
134
|
-
* Examples:
|
|
135
|
-
* - `[0, 0]` disables vertical drag translation
|
|
136
|
-
* - `[0.5, 0.5]` halves vertical drag travel
|
|
137
|
-
* - `[1.2, 1.2]` amplifies vertical drag travel
|
|
173
|
+
* @deprecated Ignored. Use `drag.translation.vertical` to adjust response
|
|
174
|
+
* intensity without replacing the native curve.
|
|
138
175
|
*/
|
|
139
176
|
verticalDragTranslation?: readonly [
|
|
140
177
|
negativeMax: number,
|
|
@@ -142,16 +179,6 @@ export type BoundsNavigationZoomOptions = {
|
|
|
142
179
|
exponent?: number
|
|
143
180
|
];
|
|
144
181
|
};
|
|
145
|
-
export type BoundsNavigationZoomOpacityRange = readonly [
|
|
146
|
-
inputStart: number,
|
|
147
|
-
inputEnd: number,
|
|
148
|
-
outputStart?: number,
|
|
149
|
-
outputEnd?: number
|
|
150
|
-
];
|
|
151
|
-
export type BoundsNavigationZoomOpacityRanges = {
|
|
152
|
-
open?: BoundsNavigationZoomOpacityRange;
|
|
153
|
-
close?: BoundsNavigationZoomOpacityRange;
|
|
154
|
-
};
|
|
155
182
|
export type BoundsNavigationZoomStyle = TransitionInterpolatedStyle & {
|
|
156
183
|
content?: TransitionSlotStyle;
|
|
157
184
|
[NAVIGATION_MASK_CONTAINER_STYLE_ID]?: TransitionSlotStyle;
|