react-native-screen-transitions 3.5.0 → 3.5.2

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 (146) 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/overlay/variations/overlay-host.js +2 -4
  16. package/lib/commonjs/shared/components/overlay/variations/overlay-host.js.map +1 -1
  17. package/lib/commonjs/shared/components/screen-container/layers/backdrop.js +3 -3
  18. package/lib/commonjs/shared/components/screen-container/layers/backdrop.js.map +1 -1
  19. package/lib/commonjs/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.js +4 -4
  20. package/lib/commonjs/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.js.map +1 -1
  21. package/lib/commonjs/shared/providers/register-bounds.provider.js +8 -8
  22. package/lib/commonjs/shared/providers/register-bounds.provider.js.map +1 -1
  23. package/lib/commonjs/shared/providers/screen/styles/components/maybe-floating-container.js +1 -2
  24. package/lib/commonjs/shared/providers/screen/styles/components/maybe-floating-container.js.map +1 -1
  25. package/lib/commonjs/shared/stores/bounds/helpers/apply-measured-bounds-writes.js +6 -6
  26. package/lib/commonjs/shared/stores/bounds/helpers/apply-measured-bounds-writes.js.map +1 -1
  27. package/lib/commonjs/shared/stores/bounds/index.js +85 -1
  28. package/lib/commonjs/shared/stores/bounds/index.js.map +1 -1
  29. package/lib/commonjs/shared/stores/bounds/internals/registry.js +7 -0
  30. package/lib/commonjs/shared/stores/bounds/internals/registry.js.map +1 -1
  31. package/lib/commonjs/shared/stores/bounds/internals/resolver.js +3 -1
  32. package/lib/commonjs/shared/stores/bounds/internals/resolver.js.map +1 -1
  33. package/lib/commonjs/shared/utils/bounds/helpers/create-interpolators.js +3 -3
  34. package/lib/commonjs/shared/utils/bounds/helpers/create-interpolators.js.map +1 -1
  35. package/lib/commonjs/shared/utils/bounds/helpers/create-link-accessor.js +3 -3
  36. package/lib/commonjs/shared/utils/bounds/helpers/create-link-accessor.js.map +1 -1
  37. package/lib/commonjs/shared/utils/bounds/helpers/prepare-bound-styles.js +5 -4
  38. package/lib/commonjs/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
  39. package/lib/commonjs/shared/utils/bounds/helpers/styles/compute.js +2 -2
  40. package/lib/commonjs/shared/utils/bounds/helpers/styles/compute.js.map +1 -1
  41. package/lib/commonjs/shared/utils/bounds/zoom/build.js +4 -3
  42. package/lib/commonjs/shared/utils/bounds/zoom/build.js.map +1 -1
  43. package/lib/module/shared/components/create-boundary-component/create-boundary-component.js +2 -2
  44. package/lib/module/shared/components/create-boundary-component/create-boundary-component.js.map +1 -1
  45. package/lib/module/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js +3 -3
  46. package/lib/module/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js.map +1 -1
  47. package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-presence.js +3 -3
  48. package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-presence.js.map +1 -1
  49. package/lib/module/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.js +7 -6
  50. package/lib/module/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.js.map +1 -1
  51. package/lib/module/shared/components/create-boundary-component/hooks/use-capture-source-boundary.js +2 -2
  52. package/lib/module/shared/components/create-boundary-component/hooks/use-capture-source-boundary.js.map +1 -1
  53. package/lib/module/shared/components/create-boundary-component/hooks/use-measurer.js +8 -8
  54. package/lib/module/shared/components/create-boundary-component/hooks/use-measurer.js.map +1 -1
  55. package/lib/module/shared/components/create-boundary-component/hooks/use-refresh-boundary.js +6 -5
  56. package/lib/module/shared/components/create-boundary-component/hooks/use-refresh-boundary.js.map +1 -1
  57. package/lib/module/shared/components/overlay/variations/overlay-host.js +2 -4
  58. package/lib/module/shared/components/overlay/variations/overlay-host.js.map +1 -1
  59. package/lib/module/shared/components/screen-container/layers/backdrop.js +3 -3
  60. package/lib/module/shared/components/screen-container/layers/backdrop.js.map +1 -1
  61. package/lib/module/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.js +4 -4
  62. package/lib/module/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.js.map +1 -1
  63. package/lib/module/shared/providers/register-bounds.provider.js +8 -8
  64. package/lib/module/shared/providers/register-bounds.provider.js.map +1 -1
  65. package/lib/module/shared/providers/screen/styles/components/maybe-floating-container.js +1 -2
  66. package/lib/module/shared/providers/screen/styles/components/maybe-floating-container.js.map +1 -1
  67. package/lib/module/shared/stores/bounds/helpers/apply-measured-bounds-writes.js +6 -6
  68. package/lib/module/shared/stores/bounds/helpers/apply-measured-bounds-writes.js.map +1 -1
  69. package/lib/module/shared/stores/bounds/index.js +85 -1
  70. package/lib/module/shared/stores/bounds/index.js.map +1 -1
  71. package/lib/module/shared/stores/bounds/internals/registry.js +7 -0
  72. package/lib/module/shared/stores/bounds/internals/registry.js.map +1 -1
  73. package/lib/module/shared/stores/bounds/internals/resolver.js +3 -1
  74. package/lib/module/shared/stores/bounds/internals/resolver.js.map +1 -1
  75. package/lib/module/shared/utils/bounds/helpers/create-interpolators.js +3 -3
  76. package/lib/module/shared/utils/bounds/helpers/create-interpolators.js.map +1 -1
  77. package/lib/module/shared/utils/bounds/helpers/create-link-accessor.js +3 -3
  78. package/lib/module/shared/utils/bounds/helpers/create-link-accessor.js.map +1 -1
  79. package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js +5 -4
  80. package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
  81. package/lib/module/shared/utils/bounds/helpers/styles/compute.js +2 -2
  82. package/lib/module/shared/utils/bounds/helpers/styles/compute.js.map +1 -1
  83. package/lib/module/shared/utils/bounds/zoom/build.js +4 -3
  84. package/lib/module/shared/utils/bounds/zoom/build.js.map +1 -1
  85. package/lib/typescript/shared/components/create-boundary-component/components/boundary-target.d.ts +207 -4
  86. package/lib/typescript/shared/components/create-boundary-component/components/boundary-target.d.ts.map +1 -1
  87. package/lib/typescript/shared/components/create-boundary-component/helpers/resolve-pending-source-key.d.ts.map +1 -1
  88. package/lib/typescript/shared/components/create-boundary-component/hooks/use-boundary-presence.d.ts.map +1 -1
  89. package/lib/typescript/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.d.ts.map +1 -1
  90. package/lib/typescript/shared/components/create-boundary-component/hooks/use-capture-source-boundary.d.ts.map +1 -1
  91. package/lib/typescript/shared/components/create-boundary-component/hooks/use-measurer.d.ts.map +1 -1
  92. package/lib/typescript/shared/components/create-boundary-component/hooks/use-refresh-boundary.d.ts.map +1 -1
  93. package/lib/typescript/shared/components/create-boundary-component/index.d.ts +207 -3
  94. package/lib/typescript/shared/components/create-boundary-component/index.d.ts.map +1 -1
  95. package/lib/typescript/shared/components/create-transition-aware-component.d.ts +6 -5
  96. package/lib/typescript/shared/components/create-transition-aware-component.d.ts.map +1 -1
  97. package/lib/typescript/shared/components/overlay/variations/overlay-host.d.ts +1 -1
  98. package/lib/typescript/shared/components/overlay/variations/overlay-host.d.ts.map +1 -1
  99. package/lib/typescript/shared/components/scene-view.d.ts +1 -1
  100. package/lib/typescript/shared/components/scene-view.d.ts.map +1 -1
  101. package/lib/typescript/shared/components/screen-container/layers/backdrop.d.ts +2 -2
  102. package/lib/typescript/shared/components/screen-container/layers/backdrop.d.ts.map +1 -1
  103. package/lib/typescript/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.d.ts.map +1 -1
  104. package/lib/typescript/shared/index.d.ts +911 -649
  105. package/lib/typescript/shared/index.d.ts.map +1 -1
  106. package/lib/typescript/shared/providers/register-bounds.provider.d.ts.map +1 -1
  107. package/lib/typescript/shared/providers/screen/styles/components/maybe-floating-container.d.ts +1 -1
  108. package/lib/typescript/shared/providers/screen/styles/components/maybe-floating-container.d.ts.map +1 -1
  109. package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts +2 -2
  110. package/lib/typescript/shared/stores/bounds/index.d.ts +25 -0
  111. package/lib/typescript/shared/stores/bounds/index.d.ts.map +1 -1
  112. package/lib/typescript/shared/stores/bounds/internals/registry.d.ts.map +1 -1
  113. package/lib/typescript/shared/stores/bounds/internals/resolver.d.ts.map +1 -1
  114. package/lib/typescript/shared/stores/bounds/types.d.ts +3 -0
  115. package/lib/typescript/shared/stores/bounds/types.d.ts.map +1 -1
  116. package/lib/typescript/shared/utils/bounds/helpers/create-interpolators.d.ts.map +1 -1
  117. package/lib/typescript/shared/utils/bounds/helpers/create-link-accessor.d.ts +1 -1
  118. package/lib/typescript/shared/utils/bounds/helpers/create-link-accessor.d.ts.map +1 -1
  119. package/lib/typescript/shared/utils/bounds/helpers/prepare-bound-styles.d.ts +1 -1
  120. package/lib/typescript/shared/utils/bounds/helpers/prepare-bound-styles.d.ts.map +1 -1
  121. package/lib/typescript/shared/utils/bounds/helpers/styles/compute.d.ts +1 -1
  122. package/lib/typescript/shared/utils/bounds/helpers/styles/compute.d.ts.map +1 -1
  123. package/lib/typescript/shared/utils/bounds/zoom/build.d.ts.map +1 -1
  124. package/package.json +2 -37
  125. package/src/shared/components/create-boundary-component/create-boundary-component.tsx +2 -2
  126. package/src/shared/components/create-boundary-component/helpers/resolve-pending-source-key.ts +7 -4
  127. package/src/shared/components/create-boundary-component/hooks/use-boundary-presence.ts +6 -3
  128. package/src/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.ts +12 -7
  129. package/src/shared/components/create-boundary-component/hooks/use-capture-source-boundary.ts +2 -4
  130. package/src/shared/components/create-boundary-component/hooks/use-measurer.ts +14 -12
  131. package/src/shared/components/create-boundary-component/hooks/use-refresh-boundary.ts +6 -12
  132. package/src/shared/components/overlay/variations/overlay-host.tsx +5 -4
  133. package/src/shared/components/screen-container/layers/backdrop.tsx +3 -5
  134. package/src/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.ts +8 -4
  135. package/src/shared/providers/register-bounds.provider.tsx +13 -16
  136. package/src/shared/providers/screen/styles/components/maybe-floating-container.tsx +4 -2
  137. package/src/shared/stores/bounds/helpers/apply-measured-bounds-writes.ts +6 -6
  138. package/src/shared/stores/bounds/index.ts +182 -0
  139. package/src/shared/stores/bounds/internals/registry.ts +8 -0
  140. package/src/shared/stores/bounds/internals/resolver.ts +2 -0
  141. package/src/shared/stores/bounds/types.ts +3 -0
  142. package/src/shared/utils/bounds/helpers/create-interpolators.ts +3 -6
  143. package/src/shared/utils/bounds/helpers/create-link-accessor.ts +7 -6
  144. package/src/shared/utils/bounds/helpers/prepare-bound-styles.ts +8 -8
  145. package/src/shared/utils/bounds/helpers/styles/compute.ts +3 -5
  146. 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,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AqB,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,mEAgBjC,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,gBAAg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,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,mBAAmB,GAAG,SAAS,GAAG,SAAS,CAAC;AACjD,KAAK,wBAAwB,GAAG,QAAQ,GAAG,SAAS,CAAC;AAgOrD,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
+ {"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,G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AAI,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,kBAAkB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EACX,YAAY,EACZ,eAAe,EACf,MAAM,kCAAkC,CAAC;AAE1C,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC;AAC3B,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC;AAC/B,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC;AAElC,MAAM,MAAM,cAAc,GAAG;IAC5B,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,MAAM,CAAC,EAAE,OAAO,GAAG,YAAY,GAAG,kBAAkB,CAAC;IACrD,MAAM,CAAC,EAAE,YAAY,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG;IACnB,MAAM,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAClC,MAAM,EAAE,UAAU,CAAC;IACnB,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,YAAY,CAAC,EAAE,SAAS,EAAE,CAAC;IAC3B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,qBAAqB,CAAC,EAAE,YAAY,EAAE,CAAC;CACvC,CAA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C;IAChC,iBAAiB,EAAE,UAAU,GAAG,IAAI,CAAC;IACrC,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;IAClC,oBAAoB,EAAE,SAAS,GAAG,IAAI,CAAC;IACvC,WAAW,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,KAAK,CAAC;AAEhC,MAAM,MAAM,QAAQ,GAAG;IACtB,OAAO,EAAE,MAAM,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;IACxC,SAAS,EAAE,OAAO,EAAE,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACxB,QAAQ,EAAE,MAAM,CAAC;CACjB,CAAC"}
@@ -1 +1 @@
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,EACb,mBAAmB,EACnB,MAAM,kBAAkB,CAAC;AAI1B,KAAK,qBAAqB,GAAG,IAAI,CAAC,wBAAwB,EAAE,QAAQ,CAAC,CAAC;AAEtE,KAAK,iCAAiC,CAAC,CAAC,SAAS,aAAa,IAAI;IACjE,KAAK,EAAE,qBAAqB,CAAC;IAC7B,OAAO,EAAE,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,aAoB7B,CAAC;AAaF,eAAO,MAAM,kBAAkB,GAAI,CAAC,SAAS,aAAa,EAAE,mCAIzD,iCAAiC,CAAC,CAAC,CAAC,KAAG,mBAAmB,CAAC,CAAC,CAwB9D,CAAC"}
1
+ {"version":3,"file":"prepare-bound-styles.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/utils/bounds/helpers/prepare-bound-styles.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAE/E,OAAO,KAAK,EACX,OAAO,EACP,aAAa,EACb,mBAAmB,EACnB,MAAM,kBAAkB,CAAC;AAI1B,KAAK,qBAAqB,GAAG,IAAI,CAAC,wBAAwB,EAAE,QAAQ,CAAC,CAAC;AAEtE,KAAK,iCAAiC,CAAC,CAAC,SAAS,aAAa,IAAI;IACjE,KAAK,EAAE,qBAAqB,CAAC;IAC7B,OAAO,EAAE,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.2",
4
4
  "description": "Easy screen transitions for React Native and Expo",
5
5
  "author": "Ed",
6
6
  "license": "MIT",
@@ -43,16 +43,7 @@
43
43
  "build": "bob build",
44
44
  "lint": "biome check ./src",
45
45
  "typecheck": "tsc -p tsconfig.typecheck.json",
46
- "prepublishOnly": "bun run build",
47
- "release": "release-it",
48
- "release:stable": "release-it",
49
- "release:beta": "release-it --preRelease=beta",
50
- "release:alpha": "release-it --preRelease=alpha",
51
- "release:rc": "release-it --preRelease=rc",
52
- "release:dry-run": "release-it --dry-run",
53
- "release:alpha:dry-run": "release-it --preRelease=alpha --dry-run",
54
- "release:beta:dry-run": "release-it --preRelease=beta --dry-run",
55
- "release:rc:dry-run": "release-it --preRelease=rc --dry-run"
46
+ "prepublishOnly": "bun run build"
56
47
  },
57
48
  "keywords": [
58
49
  "react-native",
@@ -83,11 +74,9 @@
83
74
  "react-native-screens": ">=4.4.0"
84
75
  },
85
76
  "devDependencies": {
86
- "@release-it/conventional-changelog": "^10.0.1",
87
77
  "@testing-library/react-native": "13.3.3",
88
78
  "@types/react": "~19.1.10",
89
79
  "react-native-builder-bob": "0.39.0",
90
- "release-it": "^19.0.4",
91
80
  "typescript": "catalog:"
92
81
  },
93
82
  "react-native-builder-bob": {
@@ -104,29 +93,5 @@
104
93
  ]
105
94
  ]
106
95
  },
107
- "release-it": {
108
- "git": {
109
- "commitMessage": "chore: release ${version}",
110
- "tagName": "v${version}",
111
- "commitArgs": [
112
- "-n"
113
- ]
114
- },
115
- "npm": {
116
- "publish": true
117
- },
118
- "github": {
119
- "release": true
120
- },
121
- "plugins": {
122
- "@release-it/conventional-changelog": {
123
- "infile": "CHANGELOG.md",
124
- "preset": {
125
- "name": "angular"
126
- },
127
- "path": "."
128
- }
129
- }
130
- },
131
96
  "gitHead": "888d4df9936ec0e3b8221bea7cd81115e6301693"
132
97
  }
@@ -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;
@@ -45,11 +45,14 @@ export const OverlayHost = memo(function OverlayHost({
45
45
  return (
46
46
  <Animated.View
47
47
  pointerEvents="box-none"
48
- style={[styles.container, styles.floating, styles.absolute]}
48
+ style={[styles.container, styles.floating, StyleSheet.absoluteFill]}
49
49
  >
50
50
  <NavigationContext.Provider value={scene.descriptor.navigation as any}>
51
51
  <NavigationRouteContext.Provider value={scene.route}>
52
- <View pointerEvents="box-none" style={styles.overlay}>
52
+ <View
53
+ pointerEvents="box-none"
54
+ style={[StyleSheet.absoluteFill, styles.overlay]}
55
+ >
53
56
  <OverlayComponent {...overlayProps} />
54
57
  </View>
55
58
  </NavigationRouteContext.Provider>
@@ -60,13 +63,11 @@ export const OverlayHost = memo(function OverlayHost({
60
63
 
61
64
  const styles = StyleSheet.create({
62
65
  overlay: {
63
- ...StyleSheet.absoluteFillObject,
64
66
  zIndex: 1,
65
67
  },
66
68
  container: {
67
69
  flex: 1,
68
70
  },
69
- absolute: StyleSheet.absoluteFillObject,
70
71
  floating: {
71
72
  zIndex: 1000,
72
73
  },
@@ -118,7 +118,7 @@ export const BackdropLayer = memo(function BackdropLayer({
118
118
 
119
119
  return (
120
120
  <Pressable
121
- style={StyleSheet.absoluteFillObject}
121
+ style={StyleSheet.absoluteFill}
122
122
  pointerEvents={isBackdropActive ? "auto" : "none"}
123
123
  onPress={isBackdropActive ? handleBackdropPress : undefined}
124
124
  >
@@ -127,13 +127,11 @@ export const BackdropLayer = memo(function BackdropLayer({
127
127
  * animated style with animatedProps can break intensity updates. */}
128
128
  {AnimatedBackdropComponent && (
129
129
  <AnimatedBackdropComponent
130
- style={[StyleSheet.absoluteFillObject]}
130
+ style={[StyleSheet.absoluteFill]}
131
131
  animatedProps={animatedBackdropProps}
132
132
  />
133
133
  )}
134
- <Animated.View
135
- style={[StyleSheet.absoluteFillObject, animatedBackdropStyle]}
136
- />
134
+ <Animated.View style={[StyleSheet.absoluteFill, animatedBackdropStyle]} />
137
135
  </Pressable>
138
136
  );
139
137
  });
@@ -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
  }