react-native-macos 0.66.29 → 0.66.30
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/Libraries/Text/RawText/RCTRawTextShadowView.m +2 -0
- package/Libraries/Text/Text/RCTTextView.m +2 -0
- package/React/Base/RCTImageSource.m +2 -0
- package/React/Base/RCTJSStackFrame.m +2 -0
- package/React/Base/RCTJavaScriptLoader.mm +2 -0
- package/React/Base/RCTKeyCommands.m +2 -0
- package/React/Base/RCTModuleData.mm +2 -0
- package/React/Base/RCTModuleMethod.mm +2 -0
- package/React/Base/RCTTouchEvent.m +2 -0
- package/React/Base/RCTVersion.m +1 -1
- package/React/CxxModule/RCTCxxMethod.mm +2 -0
- package/React/Modules/RCTLayoutAnimation.m +2 -0
- package/React/Modules/RCTLayoutAnimationGroup.m +2 -0
- package/React/Views/RCTShadowView.m +2 -0
- package/React/Views/RCTView.m +2 -0
- package/React/Views/SafeAreaView/RCTSafeAreaView.m +2 -0
- 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/template/package.json +1 -1
|
@@ -24,10 +24,12 @@
|
|
|
24
24
|
[self.superview dirtyLayout];
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
#if DEBUG // TODO(macOS GH#774) description is a debug-only feature
|
|
27
28
|
- (NSString *)description
|
|
28
29
|
{
|
|
29
30
|
NSString *superDescription = super.description;
|
|
30
31
|
return [[superDescription substringToIndex:superDescription.length - 1] stringByAppendingFormat:@"; text: %@>", self.text];
|
|
31
32
|
}
|
|
33
|
+
#endif // TODO(macOS GH#774)
|
|
32
34
|
|
|
33
35
|
@end
|
|
@@ -99,6 +99,7 @@
|
|
|
99
99
|
}
|
|
100
100
|
#endif // ]TODO(macOS GH#774)
|
|
101
101
|
|
|
102
|
+
#if DEBUG // TODO(macOS GH#774) description is a debug-only feature
|
|
102
103
|
- (NSString *)description
|
|
103
104
|
{
|
|
104
105
|
NSString *superDescription = super.description;
|
|
@@ -112,6 +113,7 @@
|
|
|
112
113
|
}
|
|
113
114
|
// TODO(macOS GH#774)]
|
|
114
115
|
}
|
|
116
|
+
#endif // TODO(macOS GH#774)
|
|
115
117
|
|
|
116
118
|
- (void)setSelectable:(BOOL)selectable
|
|
117
119
|
{
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
(CGSizeEqualToSize(_size, object.size) || CGSizeEqualToSize(object.size, CGSizeZero));
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
+
#if DEBUG // TODO(macOS GH#774) description is a debug-only feature
|
|
45
46
|
- (NSString *)description
|
|
46
47
|
{
|
|
47
48
|
return [NSString stringWithFormat:@"<RCTImageSource: %p URL=%@, size=%@, scale=%0.f>",
|
|
@@ -50,6 +51,7 @@
|
|
|
50
51
|
NSStringFromCGSize(_size),
|
|
51
52
|
_scale];
|
|
52
53
|
}
|
|
54
|
+
#endif // TODO(macOS GH#774)
|
|
53
55
|
|
|
54
56
|
@end
|
|
55
57
|
|
|
@@ -136,6 +136,7 @@ static NSRegularExpression *RCTJSStackFrameRegex()
|
|
|
136
136
|
return stack;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
+
#if DEBUG // TODO(macOS GH#774) description is a debug-only feature
|
|
139
140
|
- (NSString *)description
|
|
140
141
|
{
|
|
141
142
|
return [NSString stringWithFormat:@"<%@: %p method name: %@; file name: %@; line: %ld; column: %ld>",
|
|
@@ -146,5 +147,6 @@ static NSRegularExpression *RCTJSStackFrameRegex()
|
|
|
146
147
|
(long)self.lineNumber,
|
|
147
148
|
(long)self.column];
|
|
148
149
|
}
|
|
150
|
+
#endif // TODO(macOS GH#774)
|
|
149
151
|
|
|
150
152
|
@end
|
|
@@ -62,6 +62,7 @@ static RCTSource *RCTSourceCreate(NSURL *url, NSData *data, int64_t length) NS_R
|
|
|
62
62
|
|
|
63
63
|
@implementation RCTLoadingProgress
|
|
64
64
|
|
|
65
|
+
#if DEBUG // TODO(macOS GH#774) description is a debug-only feature
|
|
65
66
|
- (NSString *)description
|
|
66
67
|
{
|
|
67
68
|
NSMutableString *desc = [NSMutableString new];
|
|
@@ -77,6 +78,7 @@ static RCTSource *RCTSourceCreate(NSURL *url, NSData *data, int64_t length) NS_R
|
|
|
77
78
|
[desc appendString:@"\u2026"];
|
|
78
79
|
return desc;
|
|
79
80
|
}
|
|
81
|
+
#endif // TODO(macOS GH#774)
|
|
80
82
|
|
|
81
83
|
@end
|
|
82
84
|
|
|
@@ -74,6 +74,7 @@ RCT_NOT_IMPLEMENTED(-(instancetype)init)
|
|
|
74
74
|
return [_key isEqual:input] && (_flags == flags || flags == 0);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
+
#if DEBUG // TODO(macOS GH#774) description is a debug-only feature
|
|
77
78
|
- (NSString *)description
|
|
78
79
|
{
|
|
79
80
|
return [NSString stringWithFormat:@"<%@:%p input=\"%@\" flags=%lld hasBlock=%@>",
|
|
@@ -83,6 +84,7 @@ RCT_NOT_IMPLEMENTED(-(instancetype)init)
|
|
|
83
84
|
(long long)_flags,
|
|
84
85
|
_block ? @"YES" : @"NO"];
|
|
85
86
|
}
|
|
87
|
+
#endif // TODO(macOS GH#774)
|
|
86
88
|
|
|
87
89
|
@end
|
|
88
90
|
|
|
@@ -570,9 +570,11 @@ RCT_NOT_IMPLEMENTED(-(instancetype)init);
|
|
|
570
570
|
_methodQueue = nil;
|
|
571
571
|
}
|
|
572
572
|
|
|
573
|
+
#if DEBUG // TODO(macOS GH#774) description is a debug-only feature
|
|
573
574
|
- (NSString *)description
|
|
574
575
|
{
|
|
575
576
|
return [NSString stringWithFormat:@"<%@: %p; name=\"%@\">", [self class], self, self.name];
|
|
576
577
|
}
|
|
578
|
+
#endif // TODO(macOS GH#774)
|
|
577
579
|
|
|
578
580
|
@end
|
|
@@ -602,6 +602,7 @@ RCT_EXTERN_C_END
|
|
|
602
602
|
return [NSString stringWithFormat:@"-[%@ %s]", _moduleClass, sel_getName(_selector)];
|
|
603
603
|
}
|
|
604
604
|
|
|
605
|
+
#if DEBUG // TODO(macOS GH#774) description is a debug-only feature
|
|
605
606
|
- (NSString *)description
|
|
606
607
|
{
|
|
607
608
|
return [NSString stringWithFormat:@"<%@: %p; exports %@ as %s(); type: %s>",
|
|
@@ -611,5 +612,6 @@ RCT_EXTERN_C_END
|
|
|
611
612
|
self.JSMethodName,
|
|
612
613
|
RCTFunctionDescriptorFromType(self.functionType)];
|
|
613
614
|
}
|
|
615
|
+
#endif // TODO(macOS GH#774)
|
|
614
616
|
|
|
615
617
|
@end
|
|
@@ -98,10 +98,12 @@ RCT_NOT_IMPLEMENTED(-(instancetype)init)
|
|
|
98
98
|
return _coalescingKey;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
+
#if DEBUG // TODO(macOS GH#774) description is a debug-only feature
|
|
101
102
|
- (NSString *)description
|
|
102
103
|
{
|
|
103
104
|
return [NSString
|
|
104
105
|
stringWithFormat:@"<%@: %p; name = %@; coalescing key = %hu>", [self class], self, _eventName, _coalescingKey];
|
|
105
106
|
}
|
|
107
|
+
#endif // TODO(macOS GH#774)
|
|
106
108
|
|
|
107
109
|
@end
|
package/React/Base/RCTVersion.m
CHANGED
|
@@ -131,9 +131,11 @@ using namespace facebook::react;
|
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
+
#if DEBUG // TODO(macOS GH#774) description is a debug-only feature
|
|
134
135
|
- (NSString *)description
|
|
135
136
|
{
|
|
136
137
|
return [NSString stringWithFormat:@"<%@: %p; name = %s>", [self class], self, self.JSMethodName];
|
|
137
138
|
}
|
|
139
|
+
#endif // TODO(macOS GH#774)
|
|
138
140
|
|
|
139
141
|
@end
|
|
@@ -190,6 +190,7 @@ static NSString *CAMediaTimingFunctionNameFromRCTAnimationType(RCTAnimationType
|
|
|
190
190
|
_animationType == animation.animationType;
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
+
#if DEBUG // TODO(macOS GH#774) description is a debug-only feature
|
|
193
194
|
- (NSString *)description
|
|
194
195
|
{
|
|
195
196
|
return [NSString
|
|
@@ -204,5 +205,6 @@ static NSString *CAMediaTimingFunctionNameFromRCTAnimationType(RCTAnimationType
|
|
|
204
205
|
_initialVelocity,
|
|
205
206
|
(long)_animationType];
|
|
206
207
|
}
|
|
208
|
+
#endif // TODO(macOS GH#774)
|
|
207
209
|
|
|
208
210
|
@end
|
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
[_deletingLayoutAnimation isEqual:deletingLayoutAnimation]);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
+
#if DEBUG // TODO(macOS GH#774) description is a debug-only feature
|
|
67
68
|
- (NSString *)description
|
|
68
69
|
{
|
|
69
70
|
return
|
|
@@ -75,5 +76,6 @@
|
|
|
75
76
|
[_updatingLayoutAnimation description],
|
|
76
77
|
[_deletingLayoutAnimation description]];
|
|
77
78
|
}
|
|
79
|
+
#endif // TODO(macOS GH#774)
|
|
78
80
|
|
|
79
81
|
@end
|
|
@@ -393,6 +393,7 @@ static void RCTProcessMetaPropsBorder(const YGValue metaProps[META_PROP_COUNT],
|
|
|
393
393
|
return self.reactTag;
|
|
394
394
|
}
|
|
395
395
|
|
|
396
|
+
#if DEBUG // TODO(macOS GH#774) description is a debug-only feature
|
|
396
397
|
- (NSString *)description
|
|
397
398
|
{
|
|
398
399
|
NSString *description = super.description;
|
|
@@ -403,6 +404,7 @@ static void RCTProcessMetaPropsBorder(const YGValue metaProps[META_PROP_COUNT],
|
|
|
403
404
|
NSStringFromCGRect(self.layoutMetrics.frame)];
|
|
404
405
|
return description;
|
|
405
406
|
}
|
|
407
|
+
#endif // TODO(macOS GH#774)
|
|
406
408
|
|
|
407
409
|
- (void)addRecursiveDescriptionToString:(NSMutableString *)string atLevel:(NSUInteger)level
|
|
408
410
|
{
|
package/React/Views/RCTView.m
CHANGED
|
@@ -711,6 +711,7 @@ RCT_NOT_IMPLEMENTED(-(instancetype)initWithCoder : unused)
|
|
|
711
711
|
}
|
|
712
712
|
#endif // ]TODO(macOS GH#774)
|
|
713
713
|
|
|
714
|
+
#if DEBUG // TODO(macOS GH#774) description is a debug-only feature
|
|
714
715
|
- (NSString *)description
|
|
715
716
|
{
|
|
716
717
|
NSString *superDescription = super.description;
|
|
@@ -722,6 +723,7 @@ RCT_NOT_IMPLEMENTED(-(instancetype)initWithCoder : unused)
|
|
|
722
723
|
return [superDescription stringByReplacingCharactersInRange:semicolonRange withString:replacement];
|
|
723
724
|
} // TODO(macOS GH#774)
|
|
724
725
|
}
|
|
726
|
+
#endif // TODO(macOS GH#774)
|
|
725
727
|
|
|
726
728
|
#if TARGET_OS_OSX // [TODO(macOS GH#774)
|
|
727
729
|
- (void)viewDidMoveToWindow
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
RCT_NOT_IMPLEMENTED(-(instancetype)initWithCoder : (NSCoder *)decoder)
|
|
31
31
|
RCT_NOT_IMPLEMENTED(-(instancetype)initWithFrame : (CGRect)frame)
|
|
32
32
|
|
|
33
|
+
#if DEBUG // TODO(macOS GH#774) description is a debug-only feature
|
|
33
34
|
- (NSString *)description
|
|
34
35
|
{
|
|
35
36
|
NSString *superDescription = [super description];
|
|
@@ -44,6 +45,7 @@ RCT_NOT_IMPLEMENTED(-(instancetype)initWithFrame : (CGRect)frame)
|
|
|
44
45
|
NSStringFromUIEdgeInsets([self safeAreaInsetsIfSupportedAndEnabled]),
|
|
45
46
|
NSStringFromUIEdgeInsets(_currentSafeAreaInsets)];
|
|
46
47
|
}
|
|
48
|
+
#endif // TODO(macOS GH#774)
|
|
47
49
|
|
|
48
50
|
- (BOOL)isSupportedByOS
|
|
49
51
|
{
|
package/package.json
CHANGED