react-native-macos 0.75.5 → 0.75.7

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,7 +16,7 @@ const version: $ReadOnly<{
16
16
  }> = {
17
17
  major: 0,
18
18
  minor: 75,
19
- patch: 5,
19
+ patch: 7,
20
20
  prerelease: null,
21
21
  };
22
22
 
@@ -23,7 +23,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
23
23
  __rnVersion = @{
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(75),
26
- RCTVersionPatch: @(5),
26
+ RCTVersionPatch: @(7),
27
27
  RCTVersionPrerelease: [NSNull null],
28
28
  };
29
29
  });
@@ -142,10 +142,10 @@ RCT_EXPORT_MODULE()
142
142
  styleMask:NSWindowStyleMaskBorderless
143
143
  backing:NSBackingStoreBuffered
144
144
  defer:YES];
145
- self->_window.releasedWhenClosed = NO;
146
145
  self->_window.backgroundColor = [NSColor clearColor];
147
146
 
148
147
  NSTextField *label = [[NSTextField alloc] initWithFrame:self->_window.contentView.bounds];
148
+ label.font = [NSFont monospacedDigitSystemFontOfSize:12.0 weight:NSFontWeightRegular];
149
149
  label.alignment = NSTextAlignmentCenter;
150
150
  label.bezeled = NO;
151
151
  label.editable = NO;
@@ -169,7 +169,11 @@ RCT_EXPORT_MODULE()
169
169
  self->_label.textColor = color;
170
170
 
171
171
  self->_label.backgroundColor = backgroundColor;
172
- [RCTKeyWindow() beginSheet:self->_window completionHandler:nil];
172
+ if (![[RCTKeyWindow() sheets] doesContain:self->_window]) {
173
+ [RCTKeyWindow() beginSheet:self->_window completionHandler:^(NSModalResponse returnCode) {
174
+ [self->_window orderOut:self];
175
+ }];
176
+ }
173
177
  #endif // macOS]
174
178
  });
175
179
 
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.75.5
1
+ VERSION_NAME=0.75.7
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", 75,
20
- "patch", 5,
20
+ "patch", 7,
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 = 75;
20
- int32_t Patch = 5;
20
+ int32_t Patch = 7;
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.75.5",
3
+ "version": "0.75.7",
4
4
  "description": "React Native for macOS",
5
5
  "license": "MIT",
6
6
  "repository": {