react-native-macos 0.73.16 → 0.73.17

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: 73,
15
- patch: 16,
15
+ patch: 17,
16
16
  prerelease: null,
17
17
  };
@@ -69,6 +69,10 @@ const Platform: PlatformType = {
69
69
  // $FlowFixMe[object-this-reference]
70
70
  return this.constants.uiMode === 'tv';
71
71
  },
72
+ // $FlowFixMe[unsafe-getters-setters]
73
+ get isVision(): boolean {
74
+ return false;
75
+ },
72
76
  select: <T>(spec: PlatformSelectSpec<T>): T =>
73
77
  'android' in spec
74
78
  ? // $FlowFixMe[incompatible-return]
@@ -54,6 +54,8 @@ interface PlatformIOSStatic extends PlatformStatic {
54
54
  OS: 'ios';
55
55
  isPad: boolean;
56
56
  isTV: boolean;
57
+ isVision: boolean;
58
+ isMacCatalyst?: boolean | undefined;
57
59
  Version: string;
58
60
  }
59
61
 
@@ -41,6 +41,8 @@ type IOSPlatform = {
41
41
  // $FlowFixMe[unsafe-getters-setters]
42
42
  get isTV(): boolean,
43
43
  // $FlowFixMe[unsafe-getters-setters]
44
+ get isVision(): boolean,
45
+ // $FlowFixMe[unsafe-getters-setters]
44
46
  get isTesting(): boolean,
45
47
  // $FlowFixMe[unsafe-getters-setters]
46
48
  get isDisableAnimations(): boolean,
@@ -75,6 +77,8 @@ type AndroidPlatform = {
75
77
  // $FlowFixMe[unsafe-getters-setters]
76
78
  get isTV(): boolean,
77
79
  // $FlowFixMe[unsafe-getters-setters]
80
+ get isVision(): boolean,
81
+ // $FlowFixMe[unsafe-getters-setters]
78
82
  get isTesting(): boolean,
79
83
  // $FlowFixMe[unsafe-getters-setters]
80
84
  get isDisableAnimations(): boolean,
@@ -57,6 +57,11 @@ const Platform: PlatformType = {
57
57
  return this.constants.interfaceIdiom === 'tv';
58
58
  },
59
59
  // $FlowFixMe[unsafe-getters-setters]
60
+ get isVision(): boolean {
61
+ // $FlowFixMe[object-this-reference]
62
+ return this.constants.interfaceIdiom === 'vision';
63
+ },
64
+ // $FlowFixMe[unsafe-getters-setters]
60
65
  get isTesting(): boolean {
61
66
  if (__DEV__) {
62
67
  // $FlowFixMe[object-this-reference]
@@ -52,6 +52,10 @@ const Platform = {
52
52
  return false;
53
53
  },
54
54
  // $FlowFixMe[unsafe-getters-setters]
55
+ get isVision(): boolean {
56
+ return false;
57
+ },
58
+ // $FlowFixMe[unsafe-getters-setters]
55
59
  get isTesting(): boolean {
56
60
  if (__DEV__) {
57
61
  // $FlowFixMe[object-this-reference]
@@ -23,7 +23,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
23
23
  __rnVersion = @{
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(73),
26
- RCTVersionPatch: @(16),
26
+ RCTVersionPatch: @(17),
27
27
  RCTVersionPrerelease: [NSNull null],
28
28
  };
29
29
  });
@@ -30,6 +30,10 @@ static NSString *interfaceIdiom(UIUserInterfaceIdiom idiom)
30
30
  return @"tv";
31
31
  case UIUserInterfaceIdiomCarPlay:
32
32
  return @"carplay";
33
+ #if TARGET_OS_VISION
34
+ case UIUserInterfaceIdiomVision:
35
+ return @"vision";
36
+ #endif
33
37
  default:
34
38
  return @"unknown";
35
39
  }
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.73.16
1
+ VERSION_NAME=0.73.17
2
2
  react.internal.publishingGroup=com.facebook.react
3
3
 
4
4
  android.useAndroidX=true
@@ -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", 73,
20
- "patch", 16,
20
+ "patch", 17,
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 = 73;
20
- int32_t Patch = 16;
20
+ int32_t Patch = 17;
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.73.16",
3
+ "version": "0.73.17",
4
4
  "description": "React Native for macOS",
5
5
  "license": "MIT",
6
6
  "repository": {