react-native-reanimated 3.10.0 → 3.10.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.
- package/apple/LayoutReanimation/REAAnimationsManager.m +3 -0
- package/apple/LayoutReanimation/REASwizzledUIManager.mm +3 -4
- package/apple/REASlowAnimations.mm +1 -0
- package/lib/module/reanimated2/platform-specific/jsVersion.js +1 -1
- package/lib/module/reanimated2/platform-specific/jsVersion.js.map +1 -1
- package/lib/typescript/reanimated2/platform-specific/jsVersion.d.ts +1 -1
- package/package.json +1 -1
- package/src/reanimated2/platform-specific/jsVersion.ts +1 -1
|
@@ -94,6 +94,9 @@ BOOL REANodeFind(id<RCTComponent> view, int (^block)(id<RCTComponent>))
|
|
|
94
94
|
_clearAnimationConfigForTag = ^(NSNumber *tag) {
|
|
95
95
|
// default implementation, this block will be replaced by a setter
|
|
96
96
|
};
|
|
97
|
+
_clearSharedTransitionConfigForTag = ^(NSNumber *tag) {
|
|
98
|
+
// default implementation, this block will be replaced by a setter
|
|
99
|
+
};
|
|
97
100
|
#ifndef NDEBUG
|
|
98
101
|
_checkDuplicateSharedTag = ^(REAUIView *view, NSNumber *viewTag) {
|
|
99
102
|
// default implementation, this block will be replaced by a setter
|
|
@@ -220,8 +220,7 @@ std::atomic<bool> hasPendingBlocks;
|
|
|
220
220
|
CGSize contentSize = shadowView.layoutMetrics.frame.size;
|
|
221
221
|
|
|
222
222
|
RCTExecuteOnMainQueue(^{
|
|
223
|
-
|
|
224
|
-
REAUIView *view = [uiManager viewForReactTag:(NSNumber *)reactTag];
|
|
223
|
+
REAUIView *view = [originalSelf viewForReactTag:(NSNumber *)reactTag];
|
|
225
224
|
RCTAssert(view != nil, @"view (for ID %@) not found", reactTag);
|
|
226
225
|
|
|
227
226
|
RCTRootView *rootView = (RCTRootView *)[view superview];
|
|
@@ -245,7 +244,7 @@ std::atomic<bool> hasPendingBlocks;
|
|
|
245
244
|
for (NSNumber *reactTag in reactTags) {
|
|
246
245
|
RCTFrameData frameData = frameDataArray[index++];
|
|
247
246
|
|
|
248
|
-
REAUIView *view = [
|
|
247
|
+
REAUIView *view = [originalSelf viewForReactTag:(NSNumber *)reactTag];
|
|
249
248
|
CGRect frame = frameData.frame;
|
|
250
249
|
|
|
251
250
|
UIUserInterfaceLayoutDirection layoutDirection = frameData.layoutDirection;
|
|
@@ -331,7 +330,7 @@ std::atomic<bool> hasPendingBlocks;
|
|
|
331
330
|
index = 0;
|
|
332
331
|
for (NSNumber *reactTag in reactTags) {
|
|
333
332
|
RCTFrameData frameData = frameDataArray[index++];
|
|
334
|
-
REAUIView *view = [
|
|
333
|
+
REAUIView *view = [originalSelf viewForReactTag:(NSNumber *)reactTag];
|
|
335
334
|
BOOL isNew = frameData.isNew;
|
|
336
335
|
CGRect frame = frameData.frame;
|
|
337
336
|
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* with the version used to build the native part of the library in runtime.
|
|
6
6
|
* Remember to keep this in sync with the version declared in `package.json`
|
|
7
7
|
*/
|
|
8
|
-
export const jsVersion = '3.10.
|
|
8
|
+
export const jsVersion = '3.10.1';
|
|
9
9
|
//# sourceMappingURL=jsVersion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["jsVersion"],"sources":["jsVersion.ts"],"sourcesContent":["'use strict';\n/**\n * We hardcode the version of Reanimated here in order to compare it\n * with the version used to build the native part of the library in runtime.\n * Remember to keep this in sync with the version declared in `package.json`\n */\nexport const jsVersion = '3.10.
|
|
1
|
+
{"version":3,"names":["jsVersion"],"sources":["jsVersion.ts"],"sourcesContent":["'use strict';\n/**\n * We hardcode the version of Reanimated here in order to compare it\n * with the version used to build the native part of the library in runtime.\n * Remember to keep this in sync with the version declared in `package.json`\n */\nexport const jsVersion = '3.10.1';\n"],"mappings":"AAAA,YAAY;;AACZ;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,SAAS,GAAG,QAAQ","ignoreList":[]}
|
package/package.json
CHANGED