react-native-macos 0.74.5 → 0.74.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.
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/React/Base/RCTVersion.m +1 -1
- package/React/CoreModules/RCTDevLoadingView.mm +3 -1
- package/React/Views/RCTShadowView.h +1 -1
- package/React/Views/RCTViewManager.h +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/package.json +1 -1
package/React/Base/RCTVersion.m
CHANGED
|
@@ -138,7 +138,7 @@ RCT_EXPORT_MODULE()
|
|
|
138
138
|
self->_label.font = [UIFont monospacedDigitSystemFontOfSize:12.0 weight:UIFontWeightRegular];
|
|
139
139
|
self->_label.textAlignment = NSTextAlignmentCenter;
|
|
140
140
|
#else // [macOS
|
|
141
|
-
self->_window = [[
|
|
141
|
+
self->_window = [[NSPanel alloc] initWithContentRect:NSMakeRect(0, 0, 375, 20)
|
|
142
142
|
styleMask:NSWindowStyleMaskBorderless
|
|
143
143
|
backing:NSBackingStoreBuffered
|
|
144
144
|
defer:YES];
|
|
@@ -214,6 +214,8 @@ RCT_EXPORT_METHOD(hide)
|
|
|
214
214
|
}];
|
|
215
215
|
#else // [macOS]
|
|
216
216
|
[RCTKeyWindow() endSheet:self->_window];
|
|
217
|
+
self->_window = nil;
|
|
218
|
+
self->_hiding = false;
|
|
217
219
|
#endif // macOS]
|
|
218
220
|
});
|
|
219
221
|
}
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
@class RCTRootShadowView;
|
|
18
18
|
@class RCTSparseArray;
|
|
19
19
|
|
|
20
|
-
typedef void (^RCTApplierBlock)(NSDictionary<NSNumber *, RCTPlatformView *> *viewRegistry); // [macOS]
|
|
20
|
+
typedef void (^RCTApplierBlock)(NSDictionary<NSNumber *, __kindof RCTPlatformView *> *viewRegistry); // [macOS]
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* ShadowView tree mirrors RCT view tree. Every node is highly stateful.
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
@class RCTSparseArray;
|
|
20
20
|
@class RCTUIManager;
|
|
21
21
|
|
|
22
|
-
typedef void (^RCTViewManagerUIBlock)(RCTUIManager *uiManager, NSDictionary<NSNumber *, RCTPlatformView *> *viewRegistry); // [macOS]
|
|
22
|
+
typedef void (^RCTViewManagerUIBlock)(RCTUIManager *uiManager, NSDictionary<NSNumber *, __kindof RCTPlatformView *> *viewRegistry); // [macOS]
|
|
23
23
|
|
|
24
24
|
@interface RCTViewManager : NSObject <RCTBridgeModule>
|
|
25
25
|
|