react-native-screen-transitions 3.5.0 → 3.5.1

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.
Files changed (136) hide show
  1. package/lib/commonjs/shared/components/create-boundary-component/create-boundary-component.js +2 -2
  2. package/lib/commonjs/shared/components/create-boundary-component/create-boundary-component.js.map +1 -1
  3. package/lib/commonjs/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js +3 -3
  4. package/lib/commonjs/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js.map +1 -1
  5. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-presence.js +3 -3
  6. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-presence.js.map +1 -1
  7. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.js +7 -6
  8. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.js.map +1 -1
  9. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-capture-source-boundary.js +2 -2
  10. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-capture-source-boundary.js.map +1 -1
  11. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-measurer.js +8 -8
  12. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-measurer.js.map +1 -1
  13. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-refresh-boundary.js +6 -5
  14. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-refresh-boundary.js.map +1 -1
  15. package/lib/commonjs/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.js +4 -4
  16. package/lib/commonjs/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.js.map +1 -1
  17. package/lib/commonjs/shared/providers/register-bounds.provider.js +8 -8
  18. package/lib/commonjs/shared/providers/register-bounds.provider.js.map +1 -1
  19. package/lib/commonjs/shared/providers/screen/styles/components/maybe-floating-container.js +1 -1
  20. package/lib/commonjs/shared/providers/screen/styles/components/maybe-floating-container.js.map +1 -1
  21. package/lib/commonjs/shared/stores/bounds/helpers/apply-measured-bounds-writes.js +6 -6
  22. package/lib/commonjs/shared/stores/bounds/helpers/apply-measured-bounds-writes.js.map +1 -1
  23. package/lib/commonjs/shared/stores/bounds/index.js +85 -1
  24. package/lib/commonjs/shared/stores/bounds/index.js.map +1 -1
  25. package/lib/commonjs/shared/stores/bounds/internals/registry.js +7 -0
  26. package/lib/commonjs/shared/stores/bounds/internals/registry.js.map +1 -1
  27. package/lib/commonjs/shared/stores/bounds/internals/resolver.js +3 -1
  28. package/lib/commonjs/shared/stores/bounds/internals/resolver.js.map +1 -1
  29. package/lib/commonjs/shared/utils/bounds/helpers/create-interpolators.js +3 -3
  30. package/lib/commonjs/shared/utils/bounds/helpers/create-interpolators.js.map +1 -1
  31. package/lib/commonjs/shared/utils/bounds/helpers/create-link-accessor.js +3 -3
  32. package/lib/commonjs/shared/utils/bounds/helpers/create-link-accessor.js.map +1 -1
  33. package/lib/commonjs/shared/utils/bounds/helpers/prepare-bound-styles.js +5 -4
  34. package/lib/commonjs/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
  35. package/lib/commonjs/shared/utils/bounds/helpers/styles/compute.js +2 -2
  36. package/lib/commonjs/shared/utils/bounds/helpers/styles/compute.js.map +1 -1
  37. package/lib/commonjs/shared/utils/bounds/zoom/build.js +4 -3
  38. package/lib/commonjs/shared/utils/bounds/zoom/build.js.map +1 -1
  39. package/lib/module/shared/components/create-boundary-component/create-boundary-component.js +2 -2
  40. package/lib/module/shared/components/create-boundary-component/create-boundary-component.js.map +1 -1
  41. package/lib/module/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js +3 -3
  42. package/lib/module/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js.map +1 -1
  43. package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-presence.js +3 -3
  44. package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-presence.js.map +1 -1
  45. package/lib/module/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.js +7 -6
  46. package/lib/module/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.js.map +1 -1
  47. package/lib/module/shared/components/create-boundary-component/hooks/use-capture-source-boundary.js +2 -2
  48. package/lib/module/shared/components/create-boundary-component/hooks/use-capture-source-boundary.js.map +1 -1
  49. package/lib/module/shared/components/create-boundary-component/hooks/use-measurer.js +8 -8
  50. package/lib/module/shared/components/create-boundary-component/hooks/use-measurer.js.map +1 -1
  51. package/lib/module/shared/components/create-boundary-component/hooks/use-refresh-boundary.js +6 -5
  52. package/lib/module/shared/components/create-boundary-component/hooks/use-refresh-boundary.js.map +1 -1
  53. package/lib/module/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.js +4 -4
  54. package/lib/module/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.js.map +1 -1
  55. package/lib/module/shared/providers/register-bounds.provider.js +8 -8
  56. package/lib/module/shared/providers/register-bounds.provider.js.map +1 -1
  57. package/lib/module/shared/providers/screen/styles/components/maybe-floating-container.js +1 -1
  58. package/lib/module/shared/providers/screen/styles/components/maybe-floating-container.js.map +1 -1
  59. package/lib/module/shared/stores/bounds/helpers/apply-measured-bounds-writes.js +6 -6
  60. package/lib/module/shared/stores/bounds/helpers/apply-measured-bounds-writes.js.map +1 -1
  61. package/lib/module/shared/stores/bounds/index.js +85 -1
  62. package/lib/module/shared/stores/bounds/index.js.map +1 -1
  63. package/lib/module/shared/stores/bounds/internals/registry.js +7 -0
  64. package/lib/module/shared/stores/bounds/internals/registry.js.map +1 -1
  65. package/lib/module/shared/stores/bounds/internals/resolver.js +3 -1
  66. package/lib/module/shared/stores/bounds/internals/resolver.js.map +1 -1
  67. package/lib/module/shared/utils/bounds/helpers/create-interpolators.js +3 -3
  68. package/lib/module/shared/utils/bounds/helpers/create-interpolators.js.map +1 -1
  69. package/lib/module/shared/utils/bounds/helpers/create-link-accessor.js +3 -3
  70. package/lib/module/shared/utils/bounds/helpers/create-link-accessor.js.map +1 -1
  71. package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js +5 -4
  72. package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
  73. package/lib/module/shared/utils/bounds/helpers/styles/compute.js +2 -2
  74. package/lib/module/shared/utils/bounds/helpers/styles/compute.js.map +1 -1
  75. package/lib/module/shared/utils/bounds/zoom/build.js +4 -3
  76. package/lib/module/shared/utils/bounds/zoom/build.js.map +1 -1
  77. package/lib/typescript/shared/components/create-boundary-component/components/boundary-target.d.ts +207 -4
  78. package/lib/typescript/shared/components/create-boundary-component/components/boundary-target.d.ts.map +1 -1
  79. package/lib/typescript/shared/components/create-boundary-component/helpers/resolve-pending-source-key.d.ts.map +1 -1
  80. package/lib/typescript/shared/components/create-boundary-component/hooks/use-boundary-presence.d.ts.map +1 -1
  81. package/lib/typescript/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.d.ts.map +1 -1
  82. package/lib/typescript/shared/components/create-boundary-component/hooks/use-capture-source-boundary.d.ts.map +1 -1
  83. package/lib/typescript/shared/components/create-boundary-component/hooks/use-measurer.d.ts.map +1 -1
  84. package/lib/typescript/shared/components/create-boundary-component/hooks/use-refresh-boundary.d.ts.map +1 -1
  85. package/lib/typescript/shared/components/create-boundary-component/index.d.ts +208 -4
  86. package/lib/typescript/shared/components/create-boundary-component/index.d.ts.map +1 -1
  87. package/lib/typescript/shared/components/create-transition-aware-component.d.ts +6 -5
  88. package/lib/typescript/shared/components/create-transition-aware-component.d.ts.map +1 -1
  89. package/lib/typescript/shared/components/overlay/variations/overlay-host.d.ts +1 -1
  90. package/lib/typescript/shared/components/overlay/variations/overlay-host.d.ts.map +1 -1
  91. package/lib/typescript/shared/components/scene-view.d.ts +1 -1
  92. package/lib/typescript/shared/components/scene-view.d.ts.map +1 -1
  93. package/lib/typescript/shared/components/screen-container/layers/backdrop.d.ts +2 -2
  94. package/lib/typescript/shared/components/screen-container/layers/backdrop.d.ts.map +1 -1
  95. package/lib/typescript/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.d.ts.map +1 -1
  96. package/lib/typescript/shared/index.d.ts +918 -656
  97. package/lib/typescript/shared/index.d.ts.map +1 -1
  98. package/lib/typescript/shared/providers/register-bounds.provider.d.ts.map +1 -1
  99. package/lib/typescript/shared/providers/screen/styles/components/maybe-floating-container.d.ts +1 -1
  100. package/lib/typescript/shared/providers/screen/styles/components/maybe-floating-container.d.ts.map +1 -1
  101. package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts +2 -2
  102. package/lib/typescript/shared/stores/bounds/index.d.ts +25 -0
  103. package/lib/typescript/shared/stores/bounds/index.d.ts.map +1 -1
  104. package/lib/typescript/shared/stores/bounds/internals/registry.d.ts.map +1 -1
  105. package/lib/typescript/shared/stores/bounds/internals/resolver.d.ts.map +1 -1
  106. package/lib/typescript/shared/stores/bounds/types.d.ts +3 -0
  107. package/lib/typescript/shared/stores/bounds/types.d.ts.map +1 -1
  108. package/lib/typescript/shared/utils/bounds/helpers/create-interpolators.d.ts.map +1 -1
  109. package/lib/typescript/shared/utils/bounds/helpers/create-link-accessor.d.ts +1 -1
  110. package/lib/typescript/shared/utils/bounds/helpers/create-link-accessor.d.ts.map +1 -1
  111. package/lib/typescript/shared/utils/bounds/helpers/prepare-bound-styles.d.ts +1 -1
  112. package/lib/typescript/shared/utils/bounds/helpers/prepare-bound-styles.d.ts.map +1 -1
  113. package/lib/typescript/shared/utils/bounds/helpers/styles/compute.d.ts +1 -1
  114. package/lib/typescript/shared/utils/bounds/helpers/styles/compute.d.ts.map +1 -1
  115. package/lib/typescript/shared/utils/bounds/zoom/build.d.ts.map +1 -1
  116. package/package.json +2 -1
  117. package/src/shared/components/create-boundary-component/create-boundary-component.tsx +2 -2
  118. package/src/shared/components/create-boundary-component/helpers/resolve-pending-source-key.ts +7 -4
  119. package/src/shared/components/create-boundary-component/hooks/use-boundary-presence.ts +6 -3
  120. package/src/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.ts +12 -7
  121. package/src/shared/components/create-boundary-component/hooks/use-capture-source-boundary.ts +2 -4
  122. package/src/shared/components/create-boundary-component/hooks/use-measurer.ts +14 -12
  123. package/src/shared/components/create-boundary-component/hooks/use-refresh-boundary.ts +6 -12
  124. package/src/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.ts +8 -4
  125. package/src/shared/providers/register-bounds.provider.tsx +13 -16
  126. package/src/shared/providers/screen/styles/components/maybe-floating-container.tsx +1 -1
  127. package/src/shared/stores/bounds/helpers/apply-measured-bounds-writes.ts +6 -6
  128. package/src/shared/stores/bounds/index.ts +182 -0
  129. package/src/shared/stores/bounds/internals/registry.ts +8 -0
  130. package/src/shared/stores/bounds/internals/resolver.ts +2 -0
  131. package/src/shared/stores/bounds/types.ts +3 -0
  132. package/src/shared/utils/bounds/helpers/create-interpolators.ts +3 -6
  133. package/src/shared/utils/bounds/helpers/create-link-accessor.ts +7 -6
  134. package/src/shared/utils/bounds/helpers/prepare-bound-styles.ts +8 -8
  135. package/src/shared/utils/bounds/helpers/styles/compute.ts +3 -5
  136. package/src/shared/utils/bounds/zoom/build.ts +5 -6
@@ -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,EAEN,uBAAuB,EACvB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,UAAU,MAAM,uCAAuC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAwDwyD,CAAC;;;;;;;;;;;;;;;;;;AArDx2D,wBAeE;AAEF,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EACN,kCAAkC,EAClC,gCAAgC,EAChC,eAAe,GACf,MAAM,aAAa,CAAC;AACrB,OAAO,EACN,KAAK,mBAAmB,EACxB,gBAAgB,GAChB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EACN,KAAK,WAAW,EAChB,cAAc,GACd,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACN,KAAK,qBAAqB,EAC1B,kBAAkB,GAClB,MAAM,8BAA8B,CAAC;AAEtC,YAAY,EACX,iBAAiB,EACjB,eAAe,EACf,wBAAwB,EACxB,gCAAgC,EAChC,iCAAiC,EACjC,2BAA2B,EAC3B,yBAAyB,EACzB,YAAY,EACZ,wBAAwB,EACxB,uBAAuB,EACvB,sBAAsB,EACtB,2BAA2B,EAC3B,mBAAmB,EACnB,cAAc,GACd,MAAM,SAAS,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"register-bounds.provider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/register-bounds.provider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAgC,MAAM,OAAO,CAAC;AACrE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EACN,KAAK,WAAW,EAIhB,KAAK,UAAU,EAGf,MAAM,yBAAyB,CAAC;AAkBjC,UAAU,yBAAyB;IAClC,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,oBAAoB,EAAE,MAAM,IAAI,CAAC;CACjC;AAED,UAAU,2BAA2B;IACpC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IAC/B,KAAK,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IACrD,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,SAAS,CAAC;CAC1D;AAqXD;;;;;;GAMG;AACH,QAAA,MAAM,sBAAsB,iDAA8C,CAAC;AAG3E,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
1
+ {"version":3,"file":"register-bounds.provider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/register-bounds.provider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAgC,MAAM,OAAO,CAAC;AACrE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EACN,KAAK,WAAW,EAIhB,KAAK,UAAU,EAGf,MAAM,yBAAyB,CAAC;AAuBjC,UAAU,yBAAyB;IAClC,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,oBAAoB,EAAE,MAAM,IAAI,CAAC;CACjC;AAED,UAAU,2BAA2B;IACpC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IAC/B,KAAK,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IACrD,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,SAAS,CAAC;CAC1D;AA6WD;;;;;;GAMG;AACH,QAAA,MAAM,sBAAsB,iDAA8C,CAAC;AAG3E,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
@@ -2,6 +2,6 @@ interface MaybeFloatingContainerProps {
2
2
  children: React.ReactNode;
3
3
  isFloatingOverlay?: boolean;
4
4
  }
5
- export declare const MaybeFloatingContainer: import("react").MemoExoticComponent<({ children, isFloatingOverlay, }: MaybeFloatingContainerProps) => string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined>;
5
+ export declare const MaybeFloatingContainer: import("react").NamedExoticComponent<MaybeFloatingContainerProps>;
6
6
  export {};
7
7
  //# sourceMappingURL=maybe-floating-container.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"maybe-floating-container.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/components/maybe-floating-container.tsx"],"names":[],"mappings":"AAGA,UAAU,2BAA2B;IACpC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,eAAO,MAAM,sBAAsB,yEAGhC,2BAA2B,6WAU5B,CAAC"}
1
+ {"version":3,"file":"maybe-floating-container.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/components/maybe-floating-container.tsx"],"names":[],"mappings":"AAGA,UAAU,2BAA2B;IACpC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,eAAO,MAAM,sBAAsB,mEAajC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  export declare const useMaybeBlockVisibility: (isFloatingOverlay?: boolean) => {
2
- animatedStyle: import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<{
2
+ animatedStyle: {
3
3
  opacity: number;
4
- }>;
4
+ };
5
5
  animatedProps: Partial<{
6
6
  pointerEvents: "none" | "box-none";
7
7
  }>;
@@ -1,8 +1,11 @@
1
+ import type { MeasuredDimensions, StyleProps } from "react-native-reanimated";
1
2
  import { clear, clearByAncestor, clearByBranch } from "./internals/clear";
2
3
  import { getGroupActiveId, setGroupActiveId } from "./internals/groups";
3
4
  import { getActiveLink, getEntry, getEntryConfig, getMeasuredEntry, getPendingLink, hasDestinationLink, hasSourceLink, removeEntry, setDestination, setEntry, setSource } from "./internals/registry";
4
5
  import { resolveTransitionPair } from "./internals/resolver";
6
+ import type { BoundaryConfig, MeasuredEntry, NavigatorKey, ScreenKey, TagID } from "./types";
5
7
  export type { BoundaryConfig, Entry, EntryPatch, MeasuredEntry, ResolvedTransitionPair, ResolveTransitionContext, } from "./types";
8
+ export type Snapshot = MeasuredEntry;
6
9
  export declare const BoundStore: {
7
10
  entry: {
8
11
  set: typeof setEntry;
@@ -29,5 +32,27 @@ export declare const BoundStore: {
29
32
  byAncestor: typeof clearByAncestor;
30
33
  byBranch: typeof clearByBranch;
31
34
  };
35
+ registerSnapshot: (tag: TagID, screenKey: ScreenKey, bounds: MeasuredDimensions, styles?: StyleProps, ancestorKeys?: ScreenKey[], navigatorKey?: NavigatorKey, ancestorNavigatorKeys?: NavigatorKey[]) => void;
36
+ getSnapshot: typeof getMeasuredEntry;
37
+ setLinkSource: (tag: TagID, screenKey: ScreenKey, bounds: MeasuredDimensions, styles?: StyleProps, ancestorKeys?: ScreenKey[], navigatorKey?: NavigatorKey, ancestorNavigatorKeys?: NavigatorKey[]) => void;
38
+ updateLinkSource: (tag: TagID, screenKey: ScreenKey, bounds: MeasuredDimensions, styles?: StyleProps, ancestorKeys?: ScreenKey[], navigatorKey?: NavigatorKey, ancestorNavigatorKeys?: NavigatorKey[]) => void;
39
+ setLinkDestination: (tag: TagID, screenKey: ScreenKey, bounds: MeasuredDimensions, styles?: StyleProps, ancestorKeys?: ScreenKey[], expectedSourceScreenKey?: ScreenKey, navigatorKey?: NavigatorKey, ancestorNavigatorKeys?: NavigatorKey[]) => void;
40
+ updateLinkDestination: (tag: TagID, screenKey: ScreenKey, bounds: MeasuredDimensions, styles?: StyleProps, ancestorKeys?: ScreenKey[], expectedSourceScreenKey?: ScreenKey, navigatorKey?: NavigatorKey, ancestorNavigatorKeys?: NavigatorKey[]) => void;
41
+ getActiveLink: typeof getActiveLink;
42
+ resolveTransitionPair: typeof resolveTransitionPair;
43
+ hasPendingLink: (tag: TagID) => boolean;
44
+ hasPendingLinkFromSource: (tag: TagID, sourceScreenKey: ScreenKey) => boolean;
45
+ getLatestPendingSourceScreenKey: (tag: TagID) => ScreenKey | null;
46
+ hasSourceLink: typeof hasSourceLink;
47
+ hasDestinationLink: typeof hasDestinationLink;
48
+ registerBoundaryPresence: (tag: TagID, screenKey: ScreenKey, ancestorKeys?: ScreenKey[], boundaryConfig?: BoundaryConfig, navigatorKey?: NavigatorKey, ancestorNavigatorKeys?: NavigatorKey[]) => void;
49
+ unregisterBoundaryPresence: (tag: TagID, screenKey: ScreenKey) => void;
50
+ hasBoundaryPresence: (tag: TagID, screenKey: ScreenKey) => boolean;
51
+ getBoundaryConfig: typeof getEntryConfig;
52
+ setGroupActiveId: typeof setGroupActiveId;
53
+ getGroupActiveId: typeof getGroupActiveId;
54
+ clear: typeof clear;
55
+ clearByAncestor: typeof clearByAncestor;
56
+ clearByBranch: typeof clearByBranch;
32
57
  };
33
58
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/stores/bounds/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACxE,OAAO,EACN,aAAa,EACb,QAAQ,EACR,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,WAAW,EACX,cAAc,EACd,QAAQ,EACR,SAAS,EACT,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,YAAY,EACX,cAAc,EACd,KAAK,EACL,UAAU,EACV,aAAa,EACb,sBAAsB,EACtB,wBAAwB,GACxB,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BtB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/stores/bounds/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACxE,OAAO,EACN,aAAa,EACb,QAAQ,EACR,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,WAAW,EACX,cAAc,EACd,QAAQ,EACR,SAAS,EACT,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EACX,cAAc,EACd,aAAa,EACb,YAAY,EACZ,SAAS,EACT,KAAK,EACL,MAAM,SAAS,CAAC;AAEjB,YAAY,EACX,cAAc,EACd,KAAK,EACL,UAAU,EACV,aAAa,EACb,sBAAsB,EACtB,wBAAwB,GACxB,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,QAAQ,GAAG,aAAa,CAAC;AAoJrC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;4BAjJjB,KAAK,aACC,SAAS,UACZ,kBAAkB,WAClB,UAAU,iBACH,SAAS,EAAE,iBACX,YAAY,0BACH,YAAY,EAAE;;yBAgDjC,KAAK,aACC,SAAS,UACZ,kBAAkB,WACjB,UAAU,iBACJ,SAAS,EAAE,iBACX,YAAY,0BACH,YAAY,EAAE;4BAgBjC,KAAK,aACC,SAAS,UACZ,kBAAkB,WACjB,UAAU,iBACJ,SAAS,EAAE,iBACX,YAAY,0BACH,YAAY,EAAE;8BAgBjC,KAAK,aACC,SAAS,UACZ,kBAAkB,WACjB,UAAU,iBACJ,SAAS,EAAE,4BACA,SAAS,iBACpB,YAAY,0BACH,YAAY,EAAE;iCAiBjC,KAAK,aACC,SAAS,UACZ,kBAAkB,WACjB,UAAU,iBACJ,SAAS,EAAE,4BACA,SAAS,iBACpB,YAAY,0BACH,YAAY,EAAE;;;0BAoDhB,KAAK;oCACK,KAAK,mBAAmB,SAAS;2CAtIpB,KAAK,KAAG,SAAS,GAAG,IAAI;;;oCA7BhE,KAAK,aACC,SAAS,iBACL,SAAS,EAAE,mBACT,cAAc,iBAChB,YAAY,0BACH,YAAY,EAAE;sCAaE,KAAK,aAAa,SAAS;+BAwJxC,KAAK,aAAa,SAAS;;;;;;;CAQtD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/internals/registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAG9E,OAAO,KAAK,EACX,cAAc,EACd,UAAU,EACV,aAAa,EACb,YAAY,EACZ,WAAW,EACX,SAAS,EACT,KAAK,EACL,OAAO,EAEP,MAAM,UAAU,CAAC;AAKlB,KAAK,m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CACtB,GAAG,EAAE,KAAK,EACV,eAAe,CAAC,EAAE,SAAS,GACzB,OAAO,GAAG,IAAI,CAShB;AAED,iBAAS,aAAa,CAAC,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,GAAG,OAAO,CAWhE;AAED,iBAAS,kBAAkB,CAAC,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,GAAG,OAAO,CAWrE;AAED,OAAO,EACN,aAAa,EACb,QAAQ,EACR,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,WAAW,EACX,cAAc,EACd,QAAQ,EACR,SAAS,GACT,CAAC"}
1
+ {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/internals/registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAG9E,OAAO,KAAK,EACX,cAAc,EACd,UAAU,EACV,aAAa,EACb,YAAY,EACZ,WAAW,EACX,SAAS,EACT,KAAK,EACL,OAAO,EAEP,MAAM,UAAU,CAAC;AAKlB,KAAK,mBAAmB,GAAG,SAAS,GAAG,SAAS,CAAC;AACjD,KAAK,wBAAwB,GAAG,QAAQ,GAAG,SAAS,CAAC;AAwOrD,iBAAS,QAAQ,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,GAAG,WAAW,GAAG,IAAI,CAGhE;AAED,iBAAS,gBAAgB,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,GAAG,aAAa,GAAG,IAAI,CAM1E;AAED,iBAAS,cAAc,CACtB,GAAG,EAAE,KAAK,EACV,SAAS,EAAE,SAAS,GAClB,cAAc,GAAG,IAAI,CAGvB;AAED,iBAAS,QAAQ,CAAC,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,QASpE;AAED,iBAAS,WAAW,CAAC,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,QAcpD;AAED,iBAAS,SAAS,CACjB,IAAI,EAAE,mBAAmB,EACzB,GAAG,EAAE,KAAK,EACV,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,kBAAkB,EAC1B,MAAM,GAAE,UAAe,EACvB,YAAY,CAAC,EAAE,SAAS,EAAE,EAC1B,YAAY,CAAC,EAAE,YAAY,EAC3B,qBAAqB,CAAC,EAAE,YAAY,EAAE,QAgDtC;AAED,iBAAS,cAAc,CACtB,IAAI,EAAE,wBAAwB,EAC9B,GAAG,EAAE,KAAK,EACV,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,kBAAkB,EAC1B,MAAM,GAAE,UAAe,EACvB,YAAY,CAAC,EAAE,SAAS,EAAE,EAC1B,uBAAuB,CAAC,EAAE,SAAS,EACnC,YAAY,CAAC,EAAE,YAAY,EAC3B,qBAAqB,CAAC,EAAE,YAAY,EAAE,QAyBtC;AAED,iBAAS,aAAa,CAAC,GAAG,EAAE,KAAK,EAAE,SAAS,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,IAAI,CAyBxE;AAED,iBAAS,cAAc,CACtB,GAAG,EAAE,KAAK,EACV,eAAe,CAAC,EAAE,SAAS,GACzB,OAAO,GAAG,IAAI,CAShB;AAED,iBAAS,aAAa,CAAC,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,GAAG,OAAO,CAWhE;AAED,iBAAS,kBAAkB,CAAC,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,GAAG,OAAO,CAWrE;AAED,OAAO,EACN,aAAa,EACb,QAAQ,EACR,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,WAAW,EACX,cAAc,EACd,QAAQ,EACR,SAAS,GACT,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/internals/resolver.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,sBAAsB,EACtB,wBAAwB,EAExB,KAAK,EAGL,MAAM,UAAU,CAAC;AA2DlB,iBAAS,qBAAqB,CAC7B,GAAG,EAAE,KAAK,EACV,OAAO,EAAE,wBAAwB,GAC/B,sBAAsB,CAuExB;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
1
+ {"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/internals/resolver.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,sBAAsB,EACtB,wBAAwB,EAExB,KAAK,EAGL,MAAM,UAAU,CAAC;AA2DlB,iBAAS,qBAAqB,CAC7B,GAAG,EAAE,KAAK,EACV,OAAO,EAAE,wBAAwB,GAC/B,sBAAsB,CAyExB;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
@@ -17,6 +17,7 @@ export type Entry = {
17
17
  ancestorKeys?: ScreenKey[];
18
18
  navigatorKey?: NavigatorKey;
19
19
  ancestorNavigatorKeys?: NavigatorKey[];
20
+ presenceCount?: number;
20
21
  };
21
22
  export type MeasuredEntry = Entry & {
22
23
  bounds: MeasuredDimensions;
@@ -28,6 +29,7 @@ export type EntryPatch = {
28
29
  ancestorKeys?: ScreenKey[] | null;
29
30
  navigatorKey?: NavigatorKey | null;
30
31
  ancestorNavigatorKeys?: NavigatorKey[] | null;
32
+ presenceCount?: number | null;
31
33
  };
32
34
  export type ScreenIdentifier = {
33
35
  screenKey: ScreenKey;
@@ -52,6 +54,7 @@ export type ResolvedTransitionPair = {
52
54
  destinationStyles: StyleProps | null;
53
55
  sourceScreenKey: ScreenKey | null;
54
56
  destinationScreenKey: ScreenKey | null;
57
+ usedPending: boolean;
55
58
  };
56
59
  export type ScreenEntry = Entry;
57
60
  export type TagState = {
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/stores/bounds/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAk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@@
1
- {"version":3,"file":"create-interpolators.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/utils/bounds/helpers/create-interpolators.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,KAAK,kBAAkB,EACvB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAG3D,KAAK,kBAAkB,GAAG;IACzB,QAAQ,EAAE,MAAM,IAAI,CAAC,wBAAwB,EAAE,QAAQ,CAAC,CAAC;IACzD,OAAO,EAAE,YAAY,CAAC,SAAS,CAAC,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,wBAGjC,kBAAkB;4BAId,OAAO,YACF,MAAM,aACL,MAAM,KACf,MAAM;6BAqEH,OAAO,YACF,MAAM,kBAAkB,wBACZ,MAAM,GAAG,MAAM,aAC1B,MAAM,KACf,MAAM;CAmBT,CAAC"}
1
+ {"version":3,"file":"create-interpolators.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/utils/bounds/helpers/create-interpolators.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,KAAK,kBAAkB,EACvB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAG3D,KAAK,kBAAkB,GAAG;IACzB,QAAQ,EAAE,MAAM,IAAI,CAAC,wBAAwB,EAAE,QAAQ,CAAC,CAAC;IACzD,OAAO,EAAE,YAAY,CAAC,SAAS,CAAC,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,wBAGjC,kBAAkB;4BAId,OAAO,YACF,MAAM,aACL,MAAM,KACf,MAAM;6BAkEH,OAAO,YACF,MAAM,kBAAkB,wBACZ,MAAM,GAAG,MAAM,aAC1B,MAAM,KACf,MAAM;CAmBT,CAAC"}
@@ -1,4 +1,4 @@
1
- import { type MeasuredEntry } from "../../../stores/bounds";
1
+ import type { MeasuredEntry } from "../../../stores/bounds/types";
2
2
  import type { ScreenInterpolationProps } from "../../../types/animation.types";
3
3
  import type { BoundsLink } from "../../../types/bounds.types";
4
4
  import type { BoundId } from "../types/options";
@@ -1 +1 @@
1
- {"version":3,"file":"create-link-accessor.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/utils/bounds/helpers/create-link-accessor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEhD,KAAK,QAAQ,GAAG,MAAM,IAAI,CAAC,wBAAwB,EAAE,QAAQ,CAAC,CAAC;AAE/D,MAAM,MAAM,YAAY,GAAG;IAC1B,WAAW,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,MAAM,KAAK,aAAa,GAAG,IAAI,CAAC;IAClE,WAAW,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,MAAM,KAAK,aAAa,GAAG,IAAI,CAAC;IAClE,OAAO,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,UAAU,GAAG,IAAI,CAAC;CAC7C,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,UAAU,QAAQ,KAAG,YAqCvD,CAAC"}
1
+ {"version":3,"file":"create-link-accessor.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/utils/bounds/helpers/create-link-accessor.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEhD,KAAK,QAAQ,GAAG,MAAM,IAAI,CAAC,wBAAwB,EAAE,QAAQ,CAAC,CAAC;AAE/D,MAAM,MAAM,YAAY,GAAG;IAC1B,WAAW,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,MAAM,KAAK,aAAa,GAAG,IAAI,CAAC;IAClE,WAAW,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,MAAM,KAAK,aAAa,GAAG,IAAI,CAAC;IAClE,OAAO,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,UAAU,GAAG,IAAI,CAAC;CAC7C,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,UAAU,QAAQ,KAAG,YAkCvD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { type ResolvedTransitionPair } from "../../../stores/bounds";
1
+ import type { ResolvedTransitionPair } from "../../../stores/bounds/types";
2
2
  import type { ScreenInterpolationProps } from "../../../types/animation.types";
3
3
  import type { BoundId, BoundsOptions, BoundsOptionsResult } from "../types/options";
4
4
  type BaseInterpolatorProps = Omit<ScreenInterpolationProps, "bounds">;
@@ -1 +1 @@
1
- {"version":3,"file":"prepare-bound-styles.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/utils/bounds/helpers/prepare-bound-styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,sBAAsB,EAC3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAE/E,OAAO,KAAK,EACX,OAAO,EACP,aAAa,E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CAAC,CAAC;IACX,YAAY,CAAC,EAAE,sBAAsB,CAAC;IACtC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,KAAK,wBAAwB,GAAG;IAC/B,KAAK,EAAE,IAAI,CAAC,wBAAwB,EAAE,QAAQ,CAAC,CAAC;IAChD,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,kCAKhC,wBAAwB,KAAG,aAkB7B,CAAC;AAaF,eAAO,MAAM,kBAAkB,GAAI,CAAC,SAAS,aAAa,EAAE,mCAIzD,iCAAiC,CAAC,CAAC,CAAC,KAAG,mBAAmB,CAAC,CAAC,CAwB9D,CAAC"}
@@ -1,4 +1,4 @@
1
- import { type ResolvedTransitionPair } from "../../../../stores/bounds";
1
+ import type { ResolvedTransitionPair } from "../../../../stores/bounds/types";
2
2
  import type { BoundsComputeParams, BoundsOptions } from "../../types/options";
3
3
  export declare const computeBoundStyles: ({ id, previous, current, next, progress, dimensions }: BoundsComputeParams, computeOptions?: BoundsOptions, resolvedPair?: ResolvedTransitionPair) => Readonly<{}>;
4
4
  //# sourceMappingURL=compute.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"compute.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/utils/bounds/helpers/styles/compute.ts"],"names":[],"mappings":"AAOA,OAAO,EAEN,KAAK,sBAAsB,EAC3B,MAAM,2BAA2B,CAAC;AAGnC,OAAO,KAAK,EAEX,mBAAmB,EACnB,aAAa,EACb,MAAM,qBAAqB,CAAC;AAiG7B,eAAO,MAAM,kBAAkB,GAC9B,uDAAuD,mBAAmB,EAC1E,iBAAgB,aAAkC,EAClD,eAAe,sBAAsB,iBAoFrC,CAAC"}
1
+ {"version":3,"file":"compute.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/utils/bounds/helpers/styles/compute.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAG9E,OAAO,KAAK,EAEX,mBAAmB,EACnB,aAAa,EACb,MAAM,qBAAqB,CAAC;AAiG7B,eAAO,MAAM,kBAAkB,GAC9B,uDAAuD,mBAAmB,EAC1E,iBAAgB,aAAkC,EAClD,eAAe,sBAAsB,iBAoFrC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/utils/bounds/zoom/build.ts"],"names":[],"mappings":"AAwCA,OAAO,KAAK,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AA2H5E,wBAAgB,eAAe,CAAC,EAC/B,GAAG,EACH,WAAW,EACX,KAAK,GACL,EAAE,qBAAqB,GAAG,qBAAqB,CA0X/C"}
1
+ {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/utils/bounds/zoom/build.ts"],"names":[],"mappings":"AAuCA,OAAO,KAAK,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AA2H5E,wBAAgB,eAAe,CAAC,EAC/B,GAAG,EACH,WAAW,EACX,KAAK,GACL,EAAE,qBAAqB,GAAG,qBAAqB,CA0X/C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-screen-transitions",
3
- "version": "3.5.0",
3
+ "version": "3.5.1",
4
4
  "description": "Easy screen transitions for React Native and Expo",
5
5
  "author": "Ed",
6
6
  "license": "MIT",
@@ -45,6 +45,7 @@
45
45
  "typecheck": "tsc -p tsconfig.typecheck.json",
46
46
  "prepublishOnly": "bun run build",
47
47
  "release": "release-it",
48
+ "release:patch": "release-it patch",
48
49
  "release:stable": "release-it",
49
50
  "release:beta": "release-it --preRelease=beta",
50
51
  "release:alpha": "release-it --preRelease=alpha",
@@ -15,7 +15,7 @@ import Animated, {
15
15
  import { NO_STYLES } from "../../constants";
16
16
  import { useDescriptorDerivations } from "../../providers/screen/descriptors";
17
17
  import { useScreenStyles } from "../../providers/screen/styles";
18
- import { BoundStore } from "../../stores/bounds";
18
+ import { setGroupActiveId } from "../../stores/bounds/internals/groups";
19
19
  import { prepareStyleForBounds } from "../../utils/bounds/helpers/styles/styles";
20
20
  import { useBoundaryPresence } from "./hooks/use-boundary-presence";
21
21
  import { useCaptureDestinationBoundary } from "./hooks/use-capture-destination-boundary";
@@ -183,7 +183,7 @@ export function createBoundaryComponent<P extends object>(
183
183
  (...args: unknown[]) => {
184
184
  // Press path has priority: capture source before user onPress/navigation.
185
185
  if (group) {
186
- runOnUI(BoundStore.group.setActiveId)(group, String(id));
186
+ runOnUI(setGroupActiveId)(group, String(id));
187
187
  }
188
188
  runOnUI(measureBoundary)({ intent: "capture-source" });
189
189
 
@@ -1,4 +1,7 @@
1
- import { BoundStore } from "../../../stores/bounds";
1
+ import {
2
+ getPendingLink,
3
+ hasSourceLink,
4
+ } from "../../../stores/bounds/internals/registry";
2
5
 
3
6
  export const resolvePendingSourceKey = (
4
7
  sharedBoundTag: string,
@@ -7,11 +10,11 @@ export const resolvePendingSourceKey = (
7
10
  "worklet";
8
11
  if (
9
12
  expectedSourceScreenKey &&
10
- (BoundStore.link.getPending(sharedBoundTag, expectedSourceScreenKey) ||
11
- BoundStore.link.hasSource(sharedBoundTag, expectedSourceScreenKey))
13
+ (getPendingLink(sharedBoundTag, expectedSourceScreenKey) ||
14
+ hasSourceLink(sharedBoundTag, expectedSourceScreenKey))
12
15
  ) {
13
16
  return expectedSourceScreenKey;
14
17
  }
15
18
 
16
- return BoundStore.link.getPending(sharedBoundTag)?.source.screenKey ?? null;
19
+ return getPendingLink(sharedBoundTag)?.source.screenKey ?? null;
17
20
  };
@@ -1,6 +1,9 @@
1
1
  import { useLayoutEffect } from "react";
2
2
  import { runOnUI } from "react-native-reanimated";
3
- import { BoundStore } from "../../../stores/bounds";
3
+ import {
4
+ removeEntry,
5
+ setEntry,
6
+ } from "../../../stores/bounds/internals/registry";
4
7
  import type { BoundaryConfigProps } from "../types";
5
8
 
6
9
  export const useBoundaryPresence = (params: {
@@ -28,7 +31,7 @@ export const useBoundaryPresence = (params: {
28
31
  useLayoutEffect(() => {
29
32
  if (!enabled) return;
30
33
 
31
- runOnUI(BoundStore.entry.set)(sharedBoundTag, currentScreenKey, {
34
+ runOnUI(setEntry)(sharedBoundTag, currentScreenKey, {
32
35
  ancestorKeys,
33
36
  boundaryConfig,
34
37
  navigatorKey,
@@ -36,7 +39,7 @@ export const useBoundaryPresence = (params: {
36
39
  });
37
40
 
38
41
  return () => {
39
- runOnUI(BoundStore.entry.remove)(sharedBoundTag, currentScreenKey);
42
+ runOnUI(removeEntry)(sharedBoundTag, currentScreenKey);
40
43
  };
41
44
  }, [
42
45
  enabled,
@@ -8,7 +8,12 @@ import {
8
8
  withTiming,
9
9
  } from "react-native-reanimated";
10
10
  import { AnimationStore } from "../../../stores/animation.store";
11
- import { BoundStore } from "../../../stores/bounds";
11
+ import { getGroupActiveId } from "../../../stores/bounds/internals/groups";
12
+ import {
13
+ getPendingLink,
14
+ hasDestinationLink,
15
+ hasSourceLink,
16
+ } from "../../../stores/bounds/internals/registry";
12
17
  import { SystemStore } from "../../../stores/system.store";
13
18
  import { resolvePendingSourceKey } from "../helpers/resolve-pending-source-key";
14
19
  import type { BoundaryId, MeasureParams } from "../types";
@@ -88,10 +93,10 @@ export const useCaptureDestinationBoundary = ({
88
93
  expectedSourceScreenKey,
89
94
  );
90
95
  const hasAttachableSourceLink = resolvedSourceKey
91
- ? BoundStore.link.getPending(sharedBoundTag, resolvedSourceKey) !==
92
- null || BoundStore.link.hasSource(sharedBoundTag, resolvedSourceKey)
96
+ ? getPendingLink(sharedBoundTag, resolvedSourceKey) !== null ||
97
+ hasSourceLink(sharedBoundTag, resolvedSourceKey)
93
98
  : false;
94
- const hasDestinationLink = BoundStore.link.hasDestination(
99
+ const hasDestination = hasDestinationLink(
95
100
  sharedBoundTag,
96
101
  currentScreenKey,
97
102
  );
@@ -100,13 +105,13 @@ export const useCaptureDestinationBoundary = ({
100
105
  enabled &&
101
106
  !!resolvedSourceKey &&
102
107
  hasAttachableSourceLink &&
103
- !hasDestinationLink;
108
+ !hasDestination;
104
109
 
105
110
  if (!shouldBlock) {
106
111
  return [0, retryTick] as const;
107
112
  }
108
113
 
109
- if (group && BoundStore.group.getActiveId(group) !== String(id)) {
114
+ if (group && getGroupActiveId(group) !== String(id)) {
110
115
  return [0, retryTick] as const;
111
116
  }
112
117
 
@@ -122,7 +127,7 @@ export const useCaptureDestinationBoundary = ({
122
127
  ensureLifecycleStartBlocked();
123
128
  measureBoundary({ intent: "complete-destination" });
124
129
 
125
- if (BoundStore.link.hasDestination(sharedBoundTag, currentScreenKey)) {
130
+ if (hasDestinationLink(sharedBoundTag, currentScreenKey)) {
126
131
  releaseLifecycleStartBlock();
127
132
  return;
128
133
  }
@@ -1,5 +1,5 @@
1
1
  import { useAnimatedReaction } from "react-native-reanimated";
2
- import { BoundStore } from "../../../stores/bounds";
2
+ import { getGroupActiveId } from "../../../stores/bounds/internals/groups";
3
3
  import type { BoundaryId, MeasureParams } from "../types";
4
4
 
5
5
  export const useCaptureSourceBoundary = (params: {
@@ -27,9 +27,7 @@ export const useCaptureSourceBoundary = (params: {
27
27
  if (!nextScreenKey) return;
28
28
  if (!captureSignal || captureSignal === previousCaptureSignal) return;
29
29
 
30
- const currentGroupActiveId = group
31
- ? BoundStore.group.getActiveId(group)
32
- : null;
30
+ const currentGroupActiveId = group ? getGroupActiveId(group) : null;
33
31
 
34
32
  if (group && currentGroupActiveId !== String(id)) {
35
33
  return;
@@ -6,8 +6,13 @@ import {
6
6
  measure,
7
7
  type StyleProps,
8
8
  } from "react-native-reanimated";
9
- import { BoundStore } from "../../../stores/bounds";
10
9
  import { applyMeasuredBoundsWrites } from "../../../stores/bounds/helpers/apply-measured-bounds-writes";
10
+ import {
11
+ getMeasuredEntry,
12
+ getPendingLink,
13
+ hasDestinationLink,
14
+ hasSourceLink,
15
+ } from "../../../stores/bounds/internals/registry";
11
16
  import { resolvePendingSourceKey } from "../helpers/resolve-pending-source-key";
12
17
  import type { MeasureParams } from "../types";
13
18
  import {
@@ -57,17 +62,14 @@ export const useMeasurer = ({
57
62
  undefined;
58
63
 
59
64
  const pendingLink = expectedSourceScreenKey
60
- ? BoundStore.link.getPending(sharedBoundTag, expectedSourceScreenKey)
61
- : BoundStore.link.getPending(sharedBoundTag);
65
+ ? getPendingLink(sharedBoundTag, expectedSourceScreenKey)
66
+ : getPendingLink(sharedBoundTag);
62
67
  const hasPendingLink = pendingLink !== null;
63
68
  const hasAttachableSourceLink = expectedSourceScreenKey
64
- ? BoundStore.link.hasSource(sharedBoundTag, expectedSourceScreenKey)
69
+ ? hasSourceLink(sharedBoundTag, expectedSourceScreenKey)
65
70
  : false;
66
- const hasSourceLink = BoundStore.link.hasSource(
67
- sharedBoundTag,
68
- currentScreenKey,
69
- );
70
- const hasDestinationLink = BoundStore.link.hasDestination(
71
+ const hasSource = hasSourceLink(sharedBoundTag, currentScreenKey);
72
+ const hasDestination = hasDestinationLink(
71
73
  sharedBoundTag,
72
74
  currentScreenKey,
73
75
  );
@@ -75,8 +77,8 @@ export const useMeasurer = ({
75
77
  const writePlan = resolveMeasureWritePlan({
76
78
  intents,
77
79
  hasPendingLink,
78
- hasSourceLink,
79
- hasDestinationLink,
80
+ hasSourceLink: hasSource,
81
+ hasDestinationLink: hasDestination,
80
82
  hasAttachableSourceLink,
81
83
  });
82
84
 
@@ -99,7 +101,7 @@ export const useMeasurer = ({
99
101
  return;
100
102
  }
101
103
 
102
- const existingMeasuredEntry = BoundStore.entry.getMeasured(
104
+ const existingMeasuredEntry = getMeasuredEntry(
103
105
  sharedBoundTag,
104
106
  currentScreenKey,
105
107
  );
@@ -1,6 +1,7 @@
1
1
  import { useAnimatedReaction } from "react-native-reanimated";
2
2
  import { AnimationStore } from "../../../stores/animation.store";
3
- import { BoundStore } from "../../../stores/bounds";
3
+ import { getGroupActiveId } from "../../../stores/bounds/internals/groups";
4
+ import { hasSourceLink } from "../../../stores/bounds/internals/registry";
4
5
  import { GestureStore } from "../../../stores/gesture.store";
5
6
  import type { BoundaryId, MeasureParams } from "../types";
6
7
 
@@ -51,9 +52,7 @@ export const useRefreshBoundary = ({
51
52
  if (!enabled || !hasNextScreen) return;
52
53
  if (nextValue === 0 || nextValue === previousValue) return;
53
54
 
54
- const currentGroupActiveId = group
55
- ? BoundStore.group.getActiveId(group)
56
- : null;
55
+ const currentGroupActiveId = group ? getGroupActiveId(group) : null;
57
56
 
58
57
  if (group && currentGroupActiveId !== String(id)) {
59
58
  return;
@@ -66,12 +65,9 @@ export const useRefreshBoundary = ({
66
65
  return;
67
66
  }
68
67
 
69
- const hasSourceLink = BoundStore.link.hasSource(
70
- sharedBoundTag,
71
- currentScreenKey,
72
- );
68
+ const hasSource = hasSourceLink(sharedBoundTag, currentScreenKey);
73
69
 
74
- const intent = !hasSourceLink
70
+ const intent = !hasSource
75
71
  ? "capture-source"
76
72
  : group
77
73
  ? "refresh-source"
@@ -92,9 +88,7 @@ export const useRefreshBoundary = ({
92
88
  if (!enabled || hasNextScreen) return;
93
89
  if (nextValue === 0 || nextValue === previousValue) return;
94
90
 
95
- const currentGroupActiveId = group
96
- ? BoundStore.group.getActiveId(group)
97
- : null;
91
+ const currentGroupActiveId = group ? getGroupActiveId(group) : null;
98
92
 
99
93
  if (group && currentGroupActiveId !== String(id)) {
100
94
  return;
@@ -1,6 +1,10 @@
1
1
  import { runOnUI } from "react-native-reanimated";
2
2
  import { AnimationStore } from "../../../../stores/animation.store";
3
- import { BoundStore } from "../../../../stores/bounds";
3
+ import {
4
+ clear,
5
+ clearByAncestor,
6
+ clearByBranch,
7
+ } from "../../../../stores/bounds/internals/clear";
4
8
  import { GestureStore } from "../../../../stores/gesture.store";
5
9
  import { SystemStore } from "../../../../stores/system.store";
6
10
 
@@ -17,13 +21,13 @@ export function resetStoresForScreen(
17
21
  "worklet";
18
22
  if (!isBranchScreen) return;
19
23
 
20
- BoundStore.cleanup.byScreen(routeKey);
24
+ clear(routeKey);
21
25
 
22
26
  if (branchNavigatorKey) {
23
- BoundStore.cleanup.byBranch(branchNavigatorKey);
27
+ clearByBranch(branchNavigatorKey);
24
28
  return;
25
29
  }
26
30
 
27
- BoundStore.cleanup.byAncestor(routeKey);
31
+ clearByAncestor(routeKey);
28
32
  })();
29
33
  }
@@ -14,8 +14,13 @@ import type { SharedValue } from "react-native-reanimated/lib/typescript/commonT
14
14
  import useStableCallback from "../hooks/use-stable-callback";
15
15
  import useStableCallbackValue from "../hooks/use-stable-callback-value";
16
16
  import { AnimationStore } from "../stores/animation.store";
17
- import { BoundStore } from "../stores/bounds";
18
17
  import { applyMeasuredBoundsWrites } from "../stores/bounds/helpers/apply-measured-bounds-writes";
18
+ import {
19
+ getMeasuredEntry,
20
+ getPendingLink,
21
+ hasDestinationLink,
22
+ hasSourceLink,
23
+ } from "../stores/bounds/internals/registry";
19
24
  import { prepareStyleForBounds } from "../utils/bounds/helpers/styles/styles";
20
25
  import createProvider from "../utils/create-provider";
21
26
  import { useDescriptorDerivations, useDescriptors } from "./screen/descriptors";
@@ -276,10 +281,7 @@ const registerBoundsBundle = createProvider("RegisterBounds", {
276
281
  }
277
282
 
278
283
  if (shouldSetSource && isAnimating.get()) {
279
- const existing = BoundStore.entry.getMeasured(
280
- sharedBoundTag,
281
- currentScreenKey,
282
- );
284
+ const existing = getMeasuredEntry(sharedBoundTag, currentScreenKey);
283
285
  if (existing) {
284
286
  applyMeasuredBoundsWrites({
285
287
  sharedBoundTag,
@@ -297,13 +299,9 @@ const registerBoundsBundle = createProvider("RegisterBounds", {
297
299
  return;
298
300
  }
299
301
 
300
- const hasPendingLink =
301
- BoundStore.link.getPending(sharedBoundTag) !== null;
302
- const hasSourceLink = BoundStore.link.hasSource(
303
- sharedBoundTag,
304
- currentScreenKey,
305
- );
306
- const hasDestinationLink = BoundStore.link.hasDestination(
302
+ const hasPending = getPendingLink(sharedBoundTag) !== null;
303
+ const hasSource = hasSourceLink(sharedBoundTag, currentScreenKey);
304
+ const hasDestination = hasDestinationLink(
307
305
  sharedBoundTag,
308
306
  currentScreenKey,
309
307
  );
@@ -315,11 +313,10 @@ const registerBoundsBundle = createProvider("RegisterBounds", {
315
313
  !wantsSetSource && !wantsSetDestination && !wantsUpdateSource;
316
314
 
317
315
  const canSetSource = wantsSetSource;
318
- const canSetDestination = wantsSetDestination && hasPendingLink;
319
- const canUpdateSource = wantsUpdateSource && hasSourceLink;
316
+ const canSetDestination = wantsSetDestination && hasPending;
317
+ const canUpdateSource = wantsUpdateSource && hasSource;
320
318
  const canSnapshotOnly =
321
- wantsSnapshotOnly &&
322
- (hasPendingLink || hasSourceLink || hasDestinationLink);
319
+ wantsSnapshotOnly && (hasPending || hasSource || hasDestination);
323
320
 
324
321
  if (
325
322
  !canSetSource &&
@@ -23,7 +23,7 @@ export const MaybeFloatingContainer = memo(function MaybeFloatingContainer({
23
23
 
24
24
  const styles = StyleSheet.create({
25
25
  float: {
26
- ...StyleSheet.absoluteFill,
26
+ ...StyleSheet.absoluteFillObject,
27
27
  zIndex: 999,
28
28
  },
29
29
  });
@@ -1,5 +1,5 @@
1
1
  import type { MeasuredDimensions, StyleProps } from "react-native-reanimated";
2
- import { BoundStore } from "..";
2
+ import { setDestination, setEntry, setSource } from "../internals/registry";
3
3
 
4
4
  type ApplyMeasuredBoundsWritesParams = {
5
5
  sharedBoundTag: string;
@@ -38,7 +38,7 @@ export const applyMeasuredBoundsWrites = (
38
38
  } = params;
39
39
 
40
40
  if (shouldWriteEntry) {
41
- BoundStore.entry.set(sharedBoundTag, currentScreenKey, {
41
+ setEntry(sharedBoundTag, currentScreenKey, {
42
42
  bounds: measured,
43
43
  styles: preparedStyles,
44
44
  ancestorKeys,
@@ -48,7 +48,7 @@ export const applyMeasuredBoundsWrites = (
48
48
  }
49
49
 
50
50
  if (shouldSetSource) {
51
- BoundStore.link.setSource(
51
+ setSource(
52
52
  "capture",
53
53
  sharedBoundTag,
54
54
  currentScreenKey,
@@ -61,7 +61,7 @@ export const applyMeasuredBoundsWrites = (
61
61
  }
62
62
 
63
63
  if (shouldUpdateSource) {
64
- BoundStore.link.setSource(
64
+ setSource(
65
65
  "refresh",
66
66
  sharedBoundTag,
67
67
  currentScreenKey,
@@ -74,7 +74,7 @@ export const applyMeasuredBoundsWrites = (
74
74
  }
75
75
 
76
76
  if (shouldUpdateDestination) {
77
- BoundStore.link.setDestination(
77
+ setDestination(
78
78
  "refresh",
79
79
  sharedBoundTag,
80
80
  currentScreenKey,
@@ -88,7 +88,7 @@ export const applyMeasuredBoundsWrites = (
88
88
  }
89
89
 
90
90
  if (shouldSetDestination) {
91
- BoundStore.link.setDestination(
91
+ setDestination(
92
92
  "attach",
93
93
  sharedBoundTag,
94
94
  currentScreenKey,