react-native 0.84.0-nightly-20251230-fef5b8499 → 0.84.0-nightly-20251231-50f310dab
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/RCTConvert.h +2 -0
- package/React/Base/RCTConvert.mm +2 -0
- package/React/Base/RCTUtils.h +2 -0
- package/React/Base/RCTUtils.mm +2 -0
- package/React/Base/RCTVersion.m +1 -1
- package/React/Views/RCTModalHostView.h +2 -0
- package/React/Views/RCTModalHostView.m +8 -0
- package/React/Views/RCTModalHostViewController.h +2 -0
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
- package/ReactAndroid/src/main/res/views/uimanager/values-ne/strings.xml +1 -0
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/package.json +8 -8
|
@@ -29,7 +29,7 @@ export default class ReactNativeVersion {
|
|
|
29
29
|
static major: number = 0;
|
|
30
30
|
static minor: number = 84;
|
|
31
31
|
static patch: number = 0;
|
|
32
|
-
static prerelease: string | null = 'nightly-
|
|
32
|
+
static prerelease: string | null = 'nightly-20251231-50f310dab';
|
|
33
33
|
|
|
34
34
|
static getVersionString(): string {
|
|
35
35
|
return `${this.major}.${this.minor}.${this.patch}${this.prerelease != null ? `-${this.prerelease}` : ''}`;
|
package/React/Base/RCTConvert.h
CHANGED
|
@@ -79,7 +79,9 @@ typedef NSURL RCTFileURL;
|
|
|
79
79
|
+ (UIKeyboardAppearance)UIKeyboardAppearance:(id)json;
|
|
80
80
|
+ (UIReturnKeyType)UIReturnKeyType:(id)json;
|
|
81
81
|
+ (UIUserInterfaceStyle)UIUserInterfaceStyle:(id)json API_AVAILABLE(ios(12));
|
|
82
|
+
#if !TARGET_OS_TV
|
|
82
83
|
+ (UIInterfaceOrientationMask)UIInterfaceOrientationMask:(NSString *)orientation;
|
|
84
|
+
#endif
|
|
83
85
|
+ (UIModalPresentationStyle)UIModalPresentationStyle:(id)json;
|
|
84
86
|
|
|
85
87
|
#if !TARGET_OS_TV
|
package/React/Base/RCTConvert.mm
CHANGED
|
@@ -499,6 +499,7 @@ RCT_ENUM_CONVERTER(
|
|
|
499
499
|
UIUserInterfaceStyleUnspecified,
|
|
500
500
|
integerValue)
|
|
501
501
|
|
|
502
|
+
#if !TARGET_OS_TV
|
|
502
503
|
RCT_ENUM_CONVERTER(
|
|
503
504
|
UIInterfaceOrientationMask,
|
|
504
505
|
(@{
|
|
@@ -510,6 +511,7 @@ RCT_ENUM_CONVERTER(
|
|
|
510
511
|
}),
|
|
511
512
|
NSNotFound,
|
|
512
513
|
unsignedIntegerValue)
|
|
514
|
+
#endif
|
|
513
515
|
|
|
514
516
|
RCT_ENUM_CONVERTER(
|
|
515
517
|
UIModalPresentationStyle,
|
package/React/Base/RCTUtils.h
CHANGED
|
@@ -101,7 +101,9 @@ RCT_EXTERN UIWindow *__nullable RCTKeyWindow(void);
|
|
|
101
101
|
RCT_EXTERN UIViewController *__nullable RCTPresentedViewController(void);
|
|
102
102
|
|
|
103
103
|
// Retrieve current window UIStatusBarManager
|
|
104
|
+
#if !TARGET_OS_TV
|
|
104
105
|
RCT_EXTERN UIStatusBarManager *__nullable RCTUIStatusBarManager(void) API_AVAILABLE(ios(13));
|
|
106
|
+
#endif
|
|
105
107
|
|
|
106
108
|
// Does this device support force touch (aka 3D Touch)?
|
|
107
109
|
RCT_EXTERN BOOL RCTForceTouchAvailable(void);
|
package/React/Base/RCTUtils.mm
CHANGED
|
@@ -635,10 +635,12 @@ UIWindow *__nullable RCTKeyWindow(void)
|
|
|
635
635
|
return nil;
|
|
636
636
|
}
|
|
637
637
|
|
|
638
|
+
#if !TARGET_OS_TV
|
|
638
639
|
UIStatusBarManager *__nullable RCTUIStatusBarManager(void)
|
|
639
640
|
{
|
|
640
641
|
return RCTKeyWindow().windowScene.statusBarManager;
|
|
641
642
|
}
|
|
643
|
+
#endif
|
|
642
644
|
|
|
643
645
|
UIViewController *__nullable RCTPresentedViewController(void)
|
|
644
646
|
{
|
package/React/Base/RCTVersion.m
CHANGED
|
@@ -24,7 +24,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
|
|
|
24
24
|
RCTVersionMajor: @(0),
|
|
25
25
|
RCTVersionMinor: @(84),
|
|
26
26
|
RCTVersionPatch: @(0),
|
|
27
|
-
RCTVersionPrerelease: @"nightly-
|
|
27
|
+
RCTVersionPrerelease: @"nightly-20251231-50f310dab",
|
|
28
28
|
};
|
|
29
29
|
});
|
|
30
30
|
return __rnVersion;
|
|
@@ -38,8 +38,10 @@ __attribute__((deprecated("This API will be removed along with the legacy archit
|
|
|
38
38
|
|
|
39
39
|
@property (nonatomic, weak) id<RCTModalHostViewInteractor> delegate;
|
|
40
40
|
|
|
41
|
+
#if !TARGET_OS_TV
|
|
41
42
|
@property (nonatomic, copy) NSArray<NSString *> *supportedOrientations;
|
|
42
43
|
@property (nonatomic, copy) RCTDirectEventBlock onOrientationChange;
|
|
44
|
+
#endif
|
|
43
45
|
|
|
44
46
|
// Fabric only
|
|
45
47
|
@property (nonatomic, copy) RCTDirectEventBlock onDismiss;
|
|
@@ -25,7 +25,9 @@
|
|
|
25
25
|
RCTModalHostViewController *_modalViewController;
|
|
26
26
|
RCTTouchHandler *_touchHandler;
|
|
27
27
|
UIView *_reactSubview;
|
|
28
|
+
#if !TARGET_OS_TV
|
|
28
29
|
UIInterfaceOrientation _lastKnownOrientation;
|
|
30
|
+
#endif
|
|
29
31
|
RCTDirectEventBlock _onRequestClose;
|
|
30
32
|
}
|
|
31
33
|
|
|
@@ -90,6 +92,7 @@ RCT_NOT_IMPLEMENTED(-(instancetype)initWithCoder : coder)
|
|
|
90
92
|
|
|
91
93
|
- (void)notifyForOrientationChange
|
|
92
94
|
{
|
|
95
|
+
#if !TARGET_OS_TV
|
|
93
96
|
if (!_onOrientationChange) {
|
|
94
97
|
return;
|
|
95
98
|
}
|
|
@@ -106,6 +109,7 @@ RCT_NOT_IMPLEMENTED(-(instancetype)initWithCoder : coder)
|
|
|
106
109
|
@"orientation" : isPortrait ? @"portrait" : @"landscape",
|
|
107
110
|
};
|
|
108
111
|
_onOrientationChange(eventPayload);
|
|
112
|
+
#endif
|
|
109
113
|
}
|
|
110
114
|
|
|
111
115
|
- (void)insertReactSubview:(UIView *)subview atIndex:(NSInteger)atIndex
|
|
@@ -191,7 +195,9 @@ RCT_NOT_IMPLEMENTED(-(instancetype)initWithCoder : coder)
|
|
|
191
195
|
if (shouldBePresented) {
|
|
192
196
|
RCTAssert(self.reactViewController, @"Can't present modal view controller without a presenting view controller");
|
|
193
197
|
|
|
198
|
+
#if !TARGET_OS_TV
|
|
194
199
|
_modalViewController.supportedInterfaceOrientations = [self supportedOrientationsMask];
|
|
200
|
+
#endif
|
|
195
201
|
|
|
196
202
|
if ([self.animationType isEqualToString:@"fade"]) {
|
|
197
203
|
_modalViewController.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
|
|
@@ -224,6 +230,7 @@ RCT_NOT_IMPLEMENTED(-(instancetype)initWithCoder : coder)
|
|
|
224
230
|
transparent ? UIModalPresentationOverFullScreen : UIModalPresentationFullScreen;
|
|
225
231
|
}
|
|
226
232
|
|
|
233
|
+
#if !TARGET_OS_TV
|
|
227
234
|
- (UIInterfaceOrientationMask)supportedOrientationsMask
|
|
228
235
|
{
|
|
229
236
|
if (_supportedOrientations.count == 0) {
|
|
@@ -250,6 +257,7 @@ RCT_NOT_IMPLEMENTED(-(instancetype)initWithCoder : coder)
|
|
|
250
257
|
}
|
|
251
258
|
return supportedOrientations;
|
|
252
259
|
}
|
|
260
|
+
#endif
|
|
253
261
|
|
|
254
262
|
@end
|
|
255
263
|
|
|
@@ -14,7 +14,9 @@ __attribute__((deprecated("This API will be removed along with the legacy archit
|
|
|
14
14
|
|
|
15
15
|
@property (nonatomic, copy) void (^boundsDidChangeBlock)(CGRect newBounds);
|
|
16
16
|
|
|
17
|
+
#if !TARGET_OS_TV
|
|
17
18
|
@property (nonatomic, assign) UIInterfaceOrientationMask supportedInterfaceOrientations;
|
|
19
|
+
#endif
|
|
18
20
|
|
|
19
21
|
@end
|
|
20
22
|
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
<string name="menu_description" gender="unknown">मेनु</string>
|
|
12
12
|
<string name="menubar_description" gender="unknown">मेनु बार</string>
|
|
13
13
|
<string name="menuitem_description" gender="unknown">मेनु वस्तु</string>
|
|
14
|
+
<string name="progressbar_description" gender="unknown">प्रोगेस बार</string>
|
|
14
15
|
<string name="scrollbar_description" gender="unknown">स्क्रोल बार</string>
|
|
15
16
|
<string name="spinbutton_description" gender="unknown">स्पिन बटन</string>
|
|
16
17
|
<string name="rn_tab_description" gender="unknown">टयाब</string>
|
|
@@ -22,7 +22,7 @@ constexpr struct {
|
|
|
22
22
|
int32_t Major = 0;
|
|
23
23
|
int32_t Minor = 84;
|
|
24
24
|
int32_t Patch = 0;
|
|
25
|
-
std::string_view Prerelease = "nightly-
|
|
25
|
+
std::string_view Prerelease = "nightly-20251231-50f310dab";
|
|
26
26
|
} ReactNativeVersion;
|
|
27
27
|
|
|
28
28
|
} // namespace facebook::react
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native",
|
|
3
|
-
"version": "0.84.0-nightly-
|
|
3
|
+
"version": "0.84.0-nightly-20251231-50f310dab",
|
|
4
4
|
"description": "A framework for building native apps using React",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -160,13 +160,13 @@
|
|
|
160
160
|
},
|
|
161
161
|
"dependencies": {
|
|
162
162
|
"@jest/create-cache-key-function": "^29.7.0",
|
|
163
|
-
"@react-native/assets-registry": "0.84.0-nightly-
|
|
164
|
-
"@react-native/codegen": "0.84.0-nightly-
|
|
165
|
-
"@react-native/community-cli-plugin": "0.84.0-nightly-
|
|
166
|
-
"@react-native/gradle-plugin": "0.84.0-nightly-
|
|
167
|
-
"@react-native/js-polyfills": "0.84.0-nightly-
|
|
168
|
-
"@react-native/normalize-colors": "0.84.0-nightly-
|
|
169
|
-
"@react-native/virtualized-lists": "0.84.0-nightly-
|
|
163
|
+
"@react-native/assets-registry": "0.84.0-nightly-20251231-50f310dab",
|
|
164
|
+
"@react-native/codegen": "0.84.0-nightly-20251231-50f310dab",
|
|
165
|
+
"@react-native/community-cli-plugin": "0.84.0-nightly-20251231-50f310dab",
|
|
166
|
+
"@react-native/gradle-plugin": "0.84.0-nightly-20251231-50f310dab",
|
|
167
|
+
"@react-native/js-polyfills": "0.84.0-nightly-20251231-50f310dab",
|
|
168
|
+
"@react-native/normalize-colors": "0.84.0-nightly-20251231-50f310dab",
|
|
169
|
+
"@react-native/virtualized-lists": "0.84.0-nightly-20251231-50f310dab",
|
|
170
170
|
"abort-controller": "^3.0.0",
|
|
171
171
|
"anser": "^1.4.9",
|
|
172
172
|
"ansi-regex": "^5.0.0",
|