react-native-screen-transitions 3.5.0-beta.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 (135) 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/commonjs/shared/utils/platform.js +1 -0
  40. package/lib/commonjs/shared/utils/platform.js.map +1 -1
  41. package/lib/module/shared/components/create-boundary-component/create-boundary-component.js +2 -2
  42. package/lib/module/shared/components/create-boundary-component/create-boundary-component.js.map +1 -1
  43. package/lib/module/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js +3 -3
  44. package/lib/module/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js.map +1 -1
  45. package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-presence.js +3 -3
  46. package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-presence.js.map +1 -1
  47. package/lib/module/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.js +7 -6
  48. package/lib/module/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.js.map +1 -1
  49. package/lib/module/shared/components/create-boundary-component/hooks/use-capture-source-boundary.js +2 -2
  50. package/lib/module/shared/components/create-boundary-component/hooks/use-capture-source-boundary.js.map +1 -1
  51. package/lib/module/shared/components/create-boundary-component/hooks/use-measurer.js +8 -8
  52. package/lib/module/shared/components/create-boundary-component/hooks/use-measurer.js.map +1 -1
  53. package/lib/module/shared/components/create-boundary-component/hooks/use-refresh-boundary.js +6 -5
  54. package/lib/module/shared/components/create-boundary-component/hooks/use-refresh-boundary.js.map +1 -1
  55. package/lib/module/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.js +4 -4
  56. package/lib/module/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.js.map +1 -1
  57. package/lib/module/shared/providers/register-bounds.provider.js +8 -8
  58. package/lib/module/shared/providers/register-bounds.provider.js.map +1 -1
  59. package/lib/module/shared/providers/screen/styles/components/maybe-floating-container.js +1 -1
  60. package/lib/module/shared/providers/screen/styles/components/maybe-floating-container.js.map +1 -1
  61. package/lib/module/shared/stores/bounds/helpers/apply-measured-bounds-writes.js +6 -6
  62. package/lib/module/shared/stores/bounds/helpers/apply-measured-bounds-writes.js.map +1 -1
  63. package/lib/module/shared/stores/bounds/index.js +85 -1
  64. package/lib/module/shared/stores/bounds/index.js.map +1 -1
  65. package/lib/module/shared/stores/bounds/internals/registry.js +7 -0
  66. package/lib/module/shared/stores/bounds/internals/registry.js.map +1 -1
  67. package/lib/module/shared/stores/bounds/internals/resolver.js +3 -1
  68. package/lib/module/shared/stores/bounds/internals/resolver.js.map +1 -1
  69. package/lib/module/shared/utils/bounds/helpers/create-interpolators.js +3 -3
  70. package/lib/module/shared/utils/bounds/helpers/create-interpolators.js.map +1 -1
  71. package/lib/module/shared/utils/bounds/helpers/create-link-accessor.js +3 -3
  72. package/lib/module/shared/utils/bounds/helpers/create-link-accessor.js.map +1 -1
  73. package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js +5 -4
  74. package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
  75. package/lib/module/shared/utils/bounds/helpers/styles/compute.js +2 -2
  76. package/lib/module/shared/utils/bounds/helpers/styles/compute.js.map +1 -1
  77. package/lib/module/shared/utils/bounds/zoom/build.js +4 -3
  78. package/lib/module/shared/utils/bounds/zoom/build.js.map +1 -1
  79. package/lib/module/shared/utils/platform.js +1 -0
  80. package/lib/module/shared/utils/platform.js.map +1 -1
  81. package/lib/typescript/shared/components/create-boundary-component/components/boundary-target.d.ts +206 -3
  82. package/lib/typescript/shared/components/create-boundary-component/components/boundary-target.d.ts.map +1 -1
  83. package/lib/typescript/shared/components/create-boundary-component/helpers/resolve-pending-source-key.d.ts.map +1 -1
  84. package/lib/typescript/shared/components/create-boundary-component/hooks/use-boundary-presence.d.ts.map +1 -1
  85. package/lib/typescript/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.d.ts.map +1 -1
  86. package/lib/typescript/shared/components/create-boundary-component/hooks/use-capture-source-boundary.d.ts.map +1 -1
  87. package/lib/typescript/shared/components/create-boundary-component/hooks/use-measurer.d.ts.map +1 -1
  88. package/lib/typescript/shared/components/create-boundary-component/hooks/use-refresh-boundary.d.ts.map +1 -1
  89. package/lib/typescript/shared/components/create-boundary-component/index.d.ts +207 -3
  90. package/lib/typescript/shared/components/create-boundary-component/index.d.ts.map +1 -1
  91. package/lib/typescript/shared/components/create-transition-aware-component.d.ts +6 -5
  92. package/lib/typescript/shared/components/create-transition-aware-component.d.ts.map +1 -1
  93. package/lib/typescript/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.d.ts.map +1 -1
  94. package/lib/typescript/shared/index.d.ts +916 -654
  95. package/lib/typescript/shared/index.d.ts.map +1 -1
  96. package/lib/typescript/shared/providers/register-bounds.provider.d.ts.map +1 -1
  97. package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts +2 -2
  98. package/lib/typescript/shared/stores/bounds/index.d.ts +25 -0
  99. package/lib/typescript/shared/stores/bounds/index.d.ts.map +1 -1
  100. package/lib/typescript/shared/stores/bounds/internals/registry.d.ts.map +1 -1
  101. package/lib/typescript/shared/stores/bounds/internals/resolver.d.ts.map +1 -1
  102. package/lib/typescript/shared/stores/bounds/types.d.ts +3 -0
  103. package/lib/typescript/shared/stores/bounds/types.d.ts.map +1 -1
  104. package/lib/typescript/shared/utils/bounds/helpers/create-interpolators.d.ts.map +1 -1
  105. package/lib/typescript/shared/utils/bounds/helpers/create-link-accessor.d.ts +1 -1
  106. package/lib/typescript/shared/utils/bounds/helpers/create-link-accessor.d.ts.map +1 -1
  107. package/lib/typescript/shared/utils/bounds/helpers/prepare-bound-styles.d.ts +1 -1
  108. package/lib/typescript/shared/utils/bounds/helpers/prepare-bound-styles.d.ts.map +1 -1
  109. package/lib/typescript/shared/utils/bounds/helpers/styles/compute.d.ts +1 -1
  110. package/lib/typescript/shared/utils/bounds/helpers/styles/compute.d.ts.map +1 -1
  111. package/lib/typescript/shared/utils/bounds/zoom/build.d.ts.map +1 -1
  112. package/lib/typescript/shared/utils/platform.d.ts +0 -3
  113. package/lib/typescript/shared/utils/platform.d.ts.map +1 -1
  114. package/package.json +2 -1
  115. package/src/shared/components/create-boundary-component/create-boundary-component.tsx +2 -2
  116. package/src/shared/components/create-boundary-component/helpers/resolve-pending-source-key.ts +7 -4
  117. package/src/shared/components/create-boundary-component/hooks/use-boundary-presence.ts +6 -3
  118. package/src/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.ts +12 -7
  119. package/src/shared/components/create-boundary-component/hooks/use-capture-source-boundary.ts +2 -4
  120. package/src/shared/components/create-boundary-component/hooks/use-measurer.ts +14 -12
  121. package/src/shared/components/create-boundary-component/hooks/use-refresh-boundary.ts +6 -12
  122. package/src/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.ts +8 -4
  123. package/src/shared/providers/register-bounds.provider.tsx +13 -16
  124. package/src/shared/providers/screen/styles/components/maybe-floating-container.tsx +1 -1
  125. package/src/shared/stores/bounds/helpers/apply-measured-bounds-writes.ts +6 -6
  126. package/src/shared/stores/bounds/index.ts +182 -0
  127. package/src/shared/stores/bounds/internals/registry.ts +8 -0
  128. package/src/shared/stores/bounds/internals/resolver.ts +2 -0
  129. package/src/shared/stores/bounds/types.ts +3 -0
  130. package/src/shared/utils/bounds/helpers/create-interpolators.ts +3 -6
  131. package/src/shared/utils/bounds/helpers/create-link-accessor.ts +7 -6
  132. package/src/shared/utils/bounds/helpers/prepare-bound-styles.ts +8 -8
  133. package/src/shared/utils/bounds/helpers/styles/compute.ts +3 -5
  134. package/src/shared/utils/bounds/zoom/build.ts +5 -6
  135. package/src/shared/utils/platform.ts +2 -0
@@ -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"}
@@ -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"}