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.
@@ -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
- RCTUIManager *uiManager = [self valueForKey:@"_uiManager"];
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 = [uiManager viewForReactTag:(NSNumber *)reactTag];
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 = [uiManager viewForReactTag:(NSNumber *)reactTag];
333
+ REAUIView *view = [originalSelf viewForReactTag:(NSNumber *)reactTag];
335
334
  BOOL isNew = frameData.isNew;
336
335
  CGRect frame = frameData.frame;
337
336
 
@@ -1,3 +1,4 @@
1
+ #import <QuartzCore/QuartzCore.h>
1
2
  #import <RNReanimated/REASlowAnimations.h>
2
3
  #if TARGET_IPHONE_SIMULATOR
3
4
  #import <dlfcn.h>
@@ -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.0';
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.0';\n"],"mappings":"AAAA,YAAY;;AACZ;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,SAAS,GAAG,QAAQ","ignoreList":[]}
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":[]}
@@ -3,4 +3,4 @@
3
3
  * with the version used to build the native part of the library in runtime.
4
4
  * Remember to keep this in sync with the version declared in `package.json`
5
5
  */
6
- export declare const jsVersion = "3.10.0";
6
+ export declare const jsVersion = "3.10.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-reanimated",
3
- "version": "3.10.0",
3
+ "version": "3.10.1",
4
4
  "description": "More powerful alternative to Animated library for React Native.",
5
5
  "scripts": {
6
6
  "test": "yarn run format:js && yarn run lint:js && yarn run test:unit",
@@ -4,4 +4,4 @@
4
4
  * with the version used to build the native part of the library in runtime.
5
5
  * Remember to keep this in sync with the version declared in `package.json`
6
6
  */
7
- export const jsVersion = '3.10.0';
7
+ export const jsVersion = '3.10.1';