react-native-macos 0.66.60 → 0.66.61

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.
@@ -12,6 +12,6 @@
12
12
  exports.version = {
13
13
  major: 0,
14
14
  minor: 66,
15
- patch: 60,
15
+ patch: 61,
16
16
  prerelease: null,
17
17
  };
@@ -369,6 +369,19 @@ class FlatList<ItemT> extends React.PureComponent<Props<ItemT>, void> {
369
369
  }
370
370
  }
371
371
 
372
+ // [TODO(macOS GH#750)
373
+ /**
374
+ * Move selection to the specified index
375
+ *
376
+ * @platform macos
377
+ */
378
+ selectRowAtIndex(index: number) {
379
+ if (this._listRef) {
380
+ this._listRef.selectRowAtIndex(index);
381
+ }
382
+ }
383
+ // ]TODO(macOS GH#750)
384
+
372
385
  /**
373
386
  * Provides a handle to the underlying scroll responder.
374
387
  */
@@ -592,6 +592,10 @@ class VirtualizedList extends React.PureComponent<Props, State> {
592
592
  this.scrollToOffset({offset: newOffset});
593
593
  }
594
594
  }
595
+
596
+ selectRowAtIndex(rowIndex: number) {
597
+ this._selectRowAtIndex(rowIndex);
598
+ }
595
599
  // ]TODO(macOS GH#774)
596
600
 
597
601
  recordInteraction() {
@@ -23,7 +23,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
23
23
  __rnVersion = @{
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(66),
26
- RCTVersionPatch: @(60),
26
+ RCTVersionPatch: @(61),
27
27
  RCTVersionPrerelease: [NSNull null],
28
28
  };
29
29
  });
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.66.60
1
+ VERSION_NAME=0.66.61
2
2
  GROUP=com.facebook.react
3
3
 
4
4
  POM_NAME=ReactNative
@@ -17,6 +17,6 @@ public class ReactNativeVersion {
17
17
  public static final Map<String, Object> VERSION = MapBuilder.<String, Object>of(
18
18
  "major", 0,
19
19
  "minor", 66,
20
- "patch", 60,
20
+ "patch", 61,
21
21
  "prerelease", null);
22
22
  }
@@ -17,7 +17,7 @@ namespace facebook::react {
17
17
  constexpr struct {
18
18
  int32_t Major = 0;
19
19
  int32_t Minor = 66;
20
- int32_t Patch = 60;
20
+ int32_t Patch = 61;
21
21
  std::string_view Prerelease = "";
22
22
  } ReactNativeVersion;
23
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-macos",
3
- "version": "0.66.60",
3
+ "version": "0.66.61",
4
4
  "bin": "./cli.js",
5
5
  "description": "React Native for macOS",
6
6
  "license": "MIT",
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "react": "17.0.2",
14
- "react-native": "0.66.60"
14
+ "react-native": "0.66.61"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@babel/core": "^7.12.9",