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":"create-transition-aware-component.d.ts","sourceRoot":"","sources":["../../../../src/shared/components/create-transition-aware-component.tsx"],"names":[],"mappings":"AAAA,wHAAwH;AACxH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,aAAa,EAAoB,MAAM,OAAO,CAAC;AAgB7D,UAAU,qCAAqC;IAC9C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,wBAAgB,8BAA8B,CAAC,CAAC,SAAS,MAAM,EAC9D,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,EACzB,OAAO,GAAE,qCAA0C;;;;;;;;;;;;;sEA6InD"}
1
+ {"version":3,"file":"create-transition-aware-component.d.ts","sourceRoot":"","sources":["../../../../src/shared/components/create-transition-aware-component.tsx"],"names":[],"mappings":"AAAA,wHAAwH;AACxH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,aAAa,EAAoB,MAAM,OAAO,CAAC;AAgB7D,UAAU,qCAAqC;IAC9C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,wBAAgB,8BAA8B,CAAC,CAAC,SAAS,MAAM,EAC9D,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,EACzB,OAAO,GAAE,qCAA0C;;;;;;;;;;;;;;sEA6InD"}
@@ -5,6 +5,6 @@ type OverlayHostProps = {
5
5
  scene: StackScene;
6
6
  overlayScreenState: OverlayScreenState<BaseDescriptor["navigation"]>;
7
7
  };
8
- export declare const OverlayHost: import("react").MemoExoticComponent<({ scene, overlayScreenState, }: OverlayHostProps) => import("react/jsx-runtime").JSX.Element | null>;
8
+ export declare const OverlayHost: import("react").NamedExoticComponent<OverlayHostProps>;
9
9
  export {};
10
10
  //# sourceMappingURL=overlay-host.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"overlay-host.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/overlay/variations/overlay-host.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAEtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAEX,kBAAkB,EAClB,MAAM,8BAA8B,CAAC;AAEtC,KAAK,gBAAgB,GAAG;IACvB,KAAK,EAAE,UAAU,CAAC;IAClB,kBAAkB,EAAE,kBAAkB,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,CAAC;CACrE,CAAC;AAEF,eAAO,MAAM,WAAW,uEAGrB,gBAAgB,oDAmCjB,CAAC"}
1
+ {"version":3,"file":"overlay-host.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/overlay/variations/overlay-host.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAEtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAEX,kBAAkB,EAClB,MAAM,8BAA8B,CAAC;AAEtC,KAAK,gBAAgB,GAAG;IACvB,KAAK,EAAE,UAAU,CAAC;IAClB,kBAAkB,EAAE,kBAAkB,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,CAAC;CACrE,CAAC;AAEF,eAAO,MAAM,WAAW,wDAsCtB,CAAC"}
@@ -8,6 +8,6 @@ type SceneViewProps = {
8
8
  * Wraps screen render output with navigation context providers
9
9
  * and optional screen overlay.
10
10
  */
11
- export declare const SceneView: React.MemoExoticComponent<({ descriptor, }: SceneViewProps) => import("react/jsx-runtime").JSX.Element>;
11
+ export declare const SceneView: React.NamedExoticComponent<SceneViewProps>;
12
12
  export {};
13
13
  //# sourceMappingURL=scene-view.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scene-view.d.ts","sourceRoot":"","sources":["../../../../src/shared/components/scene-view.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhE,KAAK,cAAc,GAAG;IACrB,UAAU,EAAE,mBAAmB,CAAC;CAChC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,SAAS,8CAEnB,cAAc,6CAUf,CAAC"}
1
+ {"version":3,"file":"scene-view.d.ts","sourceRoot":"","sources":["../../../../src/shared/components/scene-view.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhE,KAAK,cAAc,GAAG;IACrB,UAAU,EAAE,mBAAmB,CAAC;CAChC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,SAAS,4CAYpB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { BackdropBehavior } from "../../../types/screen.types";
2
- export declare const BackdropLayer: import("react").MemoExoticComponent<({ backdropBehavior, isBackdropActive, }: {
2
+ export declare const BackdropLayer: import("react").NamedExoticComponent<{
3
3
  backdropBehavior: BackdropBehavior;
4
4
  isBackdropActive: boolean;
5
- }) => import("react/jsx-runtime").JSX.Element>;
5
+ }>;
6
6
  //# sourceMappingURL=backdrop.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"backdrop.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-container/layers/backdrop.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAIpE,eAAO,MAAM,aAAa,gFAGvB;IACF,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,gBAAgB,EAAE,OAAO,CAAC;CAC1B,6CAiHC,CAAC"}
1
+ {"version":3,"file":"backdrop.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-container/layers/backdrop.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAIpE,eAAO,MAAM,aAAa;sBAIP,gBAAgB;sBAChB,OAAO;EAkHxB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"reset-stores-for-screen.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.ts"],"names":[],"mappings":"AAMA,wBAAgB,oBAAoB,CACnC,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,OAAO,EACvB,kBAAkB,CAAC,EAAE,MAAM,QAmB3B"}
1
+ {"version":3,"file":"reset-stores-for-screen.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.ts"],"names":[],"mappings":"AAUA,wBAAgB,oBAAoB,CACnC,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,OAAO,EACvB,kBAAkB,CAAC,EAAE,MAAM,QAmB3B"}