react-native-macos 0.68.68 → 0.68.70

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.
@@ -16,6 +16,6 @@
16
16
  exports.version = {
17
17
  major: 0,
18
18
  minor: 68,
19
- patch: 68,
19
+ patch: 70,
20
20
  prerelease: null,
21
21
  };
@@ -27,7 +27,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
27
27
  __rnVersion = @{
28
28
  RCTVersionMajor: @(0),
29
29
  RCTVersionMinor: @(68),
30
- RCTVersionPatch: @(68),
30
+ RCTVersionPatch: @(70),
31
31
  RCTVersionPrerelease: [NSNull null],
32
32
  };
33
33
  });
@@ -24,6 +24,7 @@
24
24
  #if !TARGET_OS_OSX // TODO(macOS GH#774)
25
25
  #import "RCTRefreshControl.h"
26
26
  #else
27
+ #import "RCTI18nUtil.h"
27
28
  #import "RCTViewKeyboardEvent.h"
28
29
  #endif // TODO(macOS GH#774)
29
30
 
@@ -257,6 +258,11 @@
257
258
  [NSAnimationContext beginGrouping];
258
259
  [[NSAnimationContext currentContext] setDuration:0.3];
259
260
  [[self.contentView animator] setBoundsOrigin:contentOffset];
261
+ // Handling a weird bug where setBoundsOrigin doesn't actually update view bounds
262
+ if ([[RCTI18nUtil sharedInstance] isRTL] && contentOffset.y < 1) {
263
+ [self.contentView scrollToPoint:contentOffset];
264
+ [self reflectScrolledClipView:self.contentView];
265
+ }
260
266
  [NSAnimationContext endGrouping];
261
267
  } else {
262
268
  self.contentOffset = contentOffset;
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.68.68
1
+ VERSION_NAME=0.68.70
2
2
  GROUP=com.facebook.react
3
3
 
4
4
  POM_NAME=ReactNative
@@ -21,6 +21,6 @@ public class ReactNativeVersion {
21
21
  public static final Map<String, Object> VERSION = MapBuilder.<String, Object>of(
22
22
  "major", 0,
23
23
  "minor", 68,
24
- "patch", 68,
24
+ "patch", 70,
25
25
  "prerelease", null);
26
26
  }
@@ -21,7 +21,7 @@ namespace facebook::react {
21
21
  constexpr struct {
22
22
  int32_t Major = 0;
23
23
  int32_t Minor = 68;
24
- int32_t Patch = 68;
24
+ int32_t Patch = 70;
25
25
  std::string_view Prerelease = "";
26
26
  } ReactNativeVersion;
27
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-macos",
3
- "version": "0.68.68",
3
+ "version": "0.68.70",
4
4
  "bin": "./cli.js",
5
5
  "description": "React Native for macOS",
6
6
  "license": "MIT",
package/template/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
4
- ruby '3.0.5'
4
+ ruby '3.0.6'
5
5
 
6
6
  gem 'cocoapods', '~> 1.11', '>= 1.11.2'
@@ -8,7 +8,7 @@ GEM
8
8
  i18n (>= 1.6, < 2)
9
9
  minitest (>= 5.1)
10
10
  tzinfo (~> 2.0)
11
- addressable (2.8.1)
11
+ addressable (2.8.4)
12
12
  public_suffix (>= 2.0.2, < 6.0)
13
13
  algoliasearch (1.27.5)
14
14
  httpclient (~> 2.8, >= 2.8.3)
@@ -92,7 +92,7 @@ DEPENDENCIES
92
92
  cocoapods (~> 1.11, >= 1.11.2)
93
93
 
94
94
  RUBY VERSION
95
- ruby 3.0.5p211
95
+ ruby 3.0.6p216
96
96
 
97
97
  BUNDLED WITH
98
- 2.4.8
98
+ 2.4.11
@@ -1 +1 @@
1
- 3.0.5
1
+ 3.0.6
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "react": "17.0.2",
15
- "react-native-macos": "0.68.68"
15
+ "react-native-macos": "0.68.70"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@babel/core": "^7.12.9",