react-native-macos 0.0.0-46da582b9 → 0.0.0-4a3b4bf8e

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.
@@ -1054,7 +1054,11 @@ class ScrollView extends React.Component<Props, State> {
1054
1054
  |},
1055
1055
  animated?: boolean, // deprecated, put this inside the rect argument instead
1056
1056
  ) => {
1057
- invariant(Platform.OS === 'ios', 'zoomToRect is not implemented');
1057
+ invariant(
1058
+ // [TODO(macOS GH#774)
1059
+ Platform.OS === 'ios' || Platform.OS === 'macos',
1060
+ 'zoomToRect is not implemented',
1061
+ ); // TODO [(macOS GH#774)
1058
1062
  if ('animated' in rect) {
1059
1063
  this._animated = rect.animated;
1060
1064
  delete rect.animated;
@@ -141,6 +141,7 @@ const RCTTextInputViewConfig = {
141
141
  autoCapitalize: true,
142
142
  keyboardAppearance: true,
143
143
  passwordRules: true,
144
+ grammarCheck: true, // TODO(macOS GH#774)
144
145
  spellCheck: true,
145
146
  selectTextOnFocus: true,
146
147
  text: true,
@@ -303,6 +303,14 @@ type IOSProps = $ReadOnly<{|
303
303
  */
304
304
  scrollEnabled?: ?boolean,
305
305
 
306
+ // [TODO(macOS GH#774)
307
+ /**
308
+ * If `false`, disables grammar-check.
309
+ * @platform macOS
310
+ */
311
+ grammarCheck?: ?boolean,
312
+ // ]TODO(macOS GH#774)
313
+
306
314
  /**
307
315
  * If `false`, disables spell-check style (i.e. red underlines).
308
316
  * The default value is inherited from `autoCorrect`.
@@ -17,5 +17,5 @@ exports.version = {
17
17
  major: 0,
18
18
  minor: 0,
19
19
  patch: 0,
20
- prerelease: '46da582b9',
20
+ prerelease: '4a3b4bf8e',
21
21
  };
@@ -17,6 +17,17 @@ NSString *const RCTTextAttributesTagAttributeName = @"RCTTextAttributesTagAttrib
17
17
 
18
18
  @implementation RCTTextAttributes
19
19
 
20
+ // [TODO(macOS GH#774)
21
+ + (RCTUIColor *)defaultForegroundColor
22
+ {
23
+ if (@available(iOS 13.0, *)) {
24
+ return [RCTUIColor labelColor];
25
+ } else {
26
+ return [RCTUIColor blackColor];
27
+ }
28
+ }
29
+ // ]TODO(macOS GH#774)
30
+
20
31
  - (instancetype)init
21
32
  {
22
33
  if (self = [super init]) {
@@ -31,13 +42,9 @@ NSString *const RCTTextAttributesTagAttributeName = @"RCTTextAttributesTagAttrib
31
42
  _textShadowRadius = NAN;
32
43
  _opacity = NAN;
33
44
  _textTransform = RCTTextTransformUndefined;
34
- // [TODO(OSS Candidate ISS#2710739)
35
- if (@available(iOS 13.0, *)) {
36
- _foregroundColor = [RCTUIColor labelColor];
37
- } else {
38
- _foregroundColor = [RCTUIColor blackColor];
39
- }
40
- // ]TODO(OSS Candidate ISS#2710739)
45
+ // [TODO(macOS GH#774)
46
+ _foregroundColor = [RCTTextAttributes defaultForegroundColor];
47
+ // ]TODO(macOS GH#774)
41
48
  }
42
49
 
43
50
  return self;
@@ -50,7 +57,7 @@ NSString *const RCTTextAttributesTagAttributeName = @"RCTTextAttributesTagAttrib
50
57
  // We will address this in the future.
51
58
 
52
59
  // Color
53
- _foregroundColor = textAttributes->_foregroundColor ?: _foregroundColor;
60
+ _foregroundColor = textAttributes->_foregroundColor == [RCTTextAttributes defaultForegroundColor] ? _foregroundColor : textAttributes->_foregroundColor;
54
61
  _backgroundColor = textAttributes->_backgroundColor ?: _backgroundColor;
55
62
  _opacity = !isnan(textAttributes->_opacity) ? (isnan(_opacity) ? 1.0 : _opacity) * textAttributes->_opacity : _opacity;
56
63
 
@@ -48,6 +48,8 @@
48
48
  #else // [TODO(macOS GH#774)
49
49
  _scrollView.documentView = _backedTextInputView;
50
50
  _scrollView.contentView.postsBoundsChangedNotifications = YES;
51
+ // Enable focus ring by default
52
+ _scrollView.enableFocusRing = YES;
51
53
  [self addSubview:_scrollView];
52
54
 
53
55
  // a register for those notifications on the content view.
@@ -89,6 +91,14 @@
89
91
  _scrollView.frame = UIEdgeInsetsInsetRect(self.bounds, reactBorderInsets);
90
92
  [self setNeedsLayout];
91
93
  }
94
+
95
+ - (void)setEnableFocusRing:(BOOL)enableFocusRing {
96
+ [super setEnableFocusRing:enableFocusRing];
97
+ if ([_scrollView respondsToSelector:@selector(setEnableFocusRing:)]) {
98
+ [_scrollView setEnableFocusRing:enableFocusRing];
99
+ }
100
+ }
101
+
92
102
  #endif // ]TODO(macOS GH#774)
93
103
 
94
104
  #pragma mark - UIScrollViewDelegate
@@ -46,11 +46,10 @@ static RCTUIColor *defaultPlaceholderColor() // TODO(OSS Candidate ISS#2710739)
46
46
  _placeholderView.numberOfLines = 0;
47
47
  [self addSubview:_placeholderView];
48
48
  #else // [TODO(macOS GH#774)
49
- NSTextCheckingTypes checkingTypes = 0;
50
- self.enabledTextCheckingTypes = checkingTypes;
51
49
  self.insertionPointColor = [NSColor selectedControlColor];
52
50
  // Fix blurry text on non-retina displays.
53
51
  self.canDrawSubviewsIntoLayer = YES;
52
+ self.allowsUndo = YES;
54
53
  #endif // ]TODO(macOS GH#774)
55
54
 
56
55
  _textInputDelegateAdapter = [[RCTBackedTextViewDelegateAdapter alloc] initWithTextView:self];
@@ -185,6 +184,18 @@ static RCTUIColor *defaultPlaceholderColor() // TODO(OSS Candidate ISS#2710739)
185
184
 
186
185
  return success;
187
186
  }
187
+
188
+ - (BOOL)resignFirstResponder
189
+ {
190
+ BOOL success = [super resignFirstResponder];
191
+
192
+ if (success) {
193
+ // Break undo coalescing when losing focus.
194
+ [self breakUndoCoalescing];
195
+ }
196
+
197
+ return success;
198
+ }
188
199
  #endif // ]TODO(macOS GH#774)
189
200
 
190
201
  - (void)setDefaultTextAttributes:(NSDictionary<NSAttributedStringKey, id> *)defaultTextAttributes
@@ -247,6 +258,9 @@ static RCTUIColor *defaultPlaceholderColor() // TODO(OSS Candidate ISS#2710739)
247
258
  }
248
259
  #else // [TODO(macOS GH#774)
249
260
  if (![self.textStorage isEqualTo:attributedText.string]) {
261
+ // Break undo coalescing when the text is changed by JS (e.g. autocomplete).
262
+ [self breakUndoCoalescing];
263
+
250
264
  if (attributedText != nil) {
251
265
  [self.textStorage setAttributedString:attributedText];
252
266
  } else {
@@ -263,6 +263,7 @@ static void *TextFieldSelectionObservingContext = &TextFieldSelectionObservingCo
263
263
  UITextRange *_previousSelectedTextRange;
264
264
  #else // [TODO(macOS GH#774)
265
265
  NSRange _previousSelectedTextRange;
266
+ NSUndoManager *_undoManager;
266
267
  #endif // ]TODO(macOS GH#774)
267
268
  }
268
269
 
@@ -428,6 +429,13 @@ static void *TextFieldSelectionObservingContext = &TextFieldSelectionObservingCo
428
429
  return commandHandled;
429
430
  }
430
431
 
432
+ - (NSUndoManager *)undoManagerForTextView:(NSTextView *)textView {
433
+ if (!_undoManager) {
434
+ _undoManager = [NSUndoManager new];
435
+ }
436
+ return _undoManager;
437
+ }
438
+
431
439
  #endif // ]TODO(macOS GH#774)
432
440
 
433
441
  #pragma mark - Public Interface
@@ -144,7 +144,7 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithFrame:(CGRect)frame)
144
144
  BOOL textNeedsUpdate = NO;
145
145
  // Remove tag attribute to ensure correct attributed string comparison.
146
146
  NSMutableAttributedString *const backedTextInputViewTextCopy = [self.backedTextInputView.attributedText mutableCopy];
147
- NSMutableAttributedString *const attributedTextCopy = [attributedText mutableCopy];
147
+ NSMutableAttributedString *const attributedTextCopy = [attributedText mutableCopy] ?: [NSMutableAttributedString new];
148
148
 
149
149
  [backedTextInputViewTextCopy removeAttribute:RCTTextAttributesTagAttributeName
150
150
  range:NSMakeRange(0, backedTextInputViewTextCopy.length)];
@@ -160,7 +160,13 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithFrame:(CGRect)frame)
160
160
  #else // [TODO(macOS GH#774)
161
161
  NSRange selection = [self.backedTextInputView selectedTextRange];
162
162
  #endif // ]TODO(macOS GH#774)
163
- NSInteger oldTextLength = self.backedTextInputView.attributedText.string.length;
163
+ NSAttributedString *oldAttributedText = [self.backedTextInputView.attributedText copy];
164
+ NSInteger oldTextLength = oldAttributedText.string.length;
165
+
166
+ [self.backedTextInputView.undoManager registerUndoWithTarget:self handler:^(RCTBaseTextInputView *strongSelf) {
167
+ strongSelf.attributedText = oldAttributedText;
168
+ [strongSelf textInputDidChange];
169
+ }];
164
170
 
165
171
  self.backedTextInputView.attributedText = attributedText;
166
172
 
@@ -38,7 +38,7 @@ RCT_EXPORT_MODULE()
38
38
 
39
39
  RCT_REMAP_NOT_OSX_VIEW_PROPERTY(autoCapitalize, backedTextInputView.autocapitalizationType, UITextAutocapitalizationType) // TODO(macOS GH#774)
40
40
  RCT_REMAP_NOT_OSX_VIEW_PROPERTY(autoCorrect, backedTextInputView.autocorrectionType, UITextAutocorrectionType) // TODO(macOS GH#774)
41
- RCT_REMAP_OSX_VIEW_PROPERTY(autoCorrect, backedTextInputView.automaticTextReplacementEnabled, BOOL) // TODO(macOS GH#774)
41
+ RCT_REMAP_OSX_VIEW_PROPERTY(autoCorrect, backedTextInputView.automaticSpellingCorrectionEnabled, BOOL) // TODO(macOS GH#774)
42
42
  RCT_REMAP_VIEW_PROPERTY(contextMenuHidden, backedTextInputView.contextMenuHidden, BOOL)
43
43
  RCT_REMAP_VIEW_PROPERTY(editable, backedTextInputView.editable, BOOL)
44
44
  RCT_REMAP_NOT_OSX_VIEW_PROPERTY(enablesReturnKeyAutomatically, backedTextInputView.enablesReturnKeyAutomatically, BOOL) // TODO(macOS GH#774)
@@ -48,8 +48,9 @@ RCT_REMAP_VIEW_PROPERTY(placeholderTextColor, backedTextInputView.placeholderCol
48
48
  RCT_REMAP_NOT_OSX_VIEW_PROPERTY(returnKeyType, backedTextInputView.returnKeyType, UIReturnKeyType) // TODO(macOS GH#774)
49
49
  RCT_REMAP_NOT_OSX_VIEW_PROPERTY(selectionColor, backedTextInputView.tintColor, UIColor) // TODO(macOS GH#774)
50
50
  RCT_REMAP_OSX_VIEW_PROPERTY(selectionColor, backedTextInputView.selectionColor, UIColor) // TODO(macOS GH#774)
51
+ RCT_REMAP_OSX_VIEW_PROPERTY(grammarCheck, backedTextInputView.grammarCheckingEnabled, BOOL) // TODO(macOS GH#774)
51
52
  RCT_REMAP_NOT_OSX_VIEW_PROPERTY(spellCheck, backedTextInputView.spellCheckingType, UITextSpellCheckingType) // TODO(macOS GH#774)
52
- RCT_REMAP_OSX_VIEW_PROPERTY(spellCheck, backedTextInputView.automaticSpellingCorrectionEnabled, BOOL) // TODO(macOS GH#774)
53
+ RCT_REMAP_OSX_VIEW_PROPERTY(spellCheck, backedTextInputView.continuousSpellCheckingEnabled, BOOL) // TODO(macOS GH#774)
53
54
  RCT_REMAP_NOT_OSX_VIEW_PROPERTY(caretHidden, backedTextInputView.caretHidden, BOOL) // TODO(macOS GH#774)
54
55
  RCT_REMAP_NOT_OSX_VIEW_PROPERTY(clearButtonMode, backedTextInputView.clearButtonMode, UITextFieldViewMode) // TODO(macOS GH#774)
55
56
  RCT_REMAP_VIEW_PROPERTY(scrollEnabled, backedTextInputView.scrollEnabled, BOOL)
@@ -28,6 +28,10 @@
28
28
 
29
29
  _backedTextInputView = [[RCTUITextField alloc] initWithFrame:self.bounds];
30
30
  _backedTextInputView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
31
+ #if TARGET_OS_OSX // [TODO(macOS GH#774)
32
+ _backedTextInputView.cell.scrollable = YES;
33
+ _backedTextInputView.cell.usesSingleLineMode = YES;
34
+ #endif // ]TODO(macOS GH#774)
31
35
  _backedTextInputView.textInputDelegate = self;
32
36
 
33
37
  [self addSubview:_backedTextInputView];
@@ -54,6 +54,8 @@ NS_ASSUME_NONNULL_BEGIN
54
54
  @property (nonatomic, assign) NSTextAlignment textAlignment;
55
55
  @property (nonatomic, getter=isAutomaticTextReplacementEnabled) BOOL automaticTextReplacementEnabled;
56
56
  @property (nonatomic, getter=isAutomaticSpellingCorrectionEnabled) BOOL automaticSpellingCorrectionEnabled;
57
+ @property (nonatomic, getter=isContinuousSpellCheckingEnabled) BOOL continuousSpellCheckingEnabled;
58
+ @property (nonatomic, getter=isGrammarCheckingEnabled) BOOL grammarCheckingEnabled;
57
59
  @property (nonatomic, assign) BOOL enableFocusRing;
58
60
  @property (nonatomic, strong, nullable) RCTUIColor *selectionColor;
59
61
  @property (weak, nullable) id<RCTUITextFieldDelegate> delegate;
@@ -26,6 +26,8 @@
26
26
  @property (nonatomic, assign) UIEdgeInsets textContainerInset;
27
27
  @property (nonatomic, getter=isAutomaticTextReplacementEnabled) BOOL automaticTextReplacementEnabled;
28
28
  @property (nonatomic, getter=isAutomaticSpellingCorrectionEnabled) BOOL automaticSpellingCorrectionEnabled;
29
+ @property (nonatomic, getter=isContinuousSpellCheckingEnabled) BOOL continuousSpellCheckingEnabled;
30
+ @property (nonatomic, getter=isGrammarCheckingEnabled) BOOL grammarCheckingEnabled;
29
31
  @property (nonatomic, strong, nullable) RCTUIColor *selectionColor;
30
32
 
31
33
  @end
@@ -70,6 +72,8 @@
70
72
  NSTextView *fieldEditor = (NSTextView *)[super setUpFieldEditorAttributes:textObj];
71
73
  fieldEditor.automaticSpellingCorrectionEnabled = self.isAutomaticSpellingCorrectionEnabled;
72
74
  fieldEditor.automaticTextReplacementEnabled = self.isAutomaticTextReplacementEnabled;
75
+ fieldEditor.continuousSpellCheckingEnabled = self.isContinuousSpellCheckingEnabled;
76
+ fieldEditor.grammarCheckingEnabled = self.isGrammarCheckingEnabled;
73
77
  NSMutableDictionary *selectTextAttributes = fieldEditor.selectedTextAttributes.mutableCopy;
74
78
  selectTextAttributes[NSBackgroundColorAttributeName] = self.selectionColor ?: [NSColor selectedControlColor];
75
79
  fieldEditor.selectedTextAttributes = selectTextAttributes;
@@ -196,6 +200,26 @@
196
200
  return ((RCTUITextFieldCell*)self.cell).isAutomaticSpellingCorrectionEnabled;
197
201
  }
198
202
 
203
+ - (void)setContinuousSpellCheckingEnabled:(BOOL)continuousSpellCheckingEnabled
204
+ {
205
+ ((RCTUITextFieldCell*)self.cell).continuousSpellCheckingEnabled = continuousSpellCheckingEnabled;
206
+ }
207
+
208
+ - (BOOL)isContinuousSpellCheckingEnabled
209
+ {
210
+ return ((RCTUITextFieldCell*)self.cell).isContinuousSpellCheckingEnabled;
211
+ }
212
+
213
+ - (void)setGrammarCheckingEnabled:(BOOL)grammarCheckingEnabled
214
+ {
215
+ ((RCTUITextFieldCell*)self.cell).grammarCheckingEnabled = grammarCheckingEnabled;
216
+ }
217
+
218
+ - (BOOL)isGrammarCheckingEnabled
219
+ {
220
+ return ((RCTUITextFieldCell*)self.cell).isGrammarCheckingEnabled;
221
+ }
222
+
199
223
  - (void)setSelectionColor:(RCTUIColor *)selectionColor // TODO(OSS Candidate ISS#2710739)
200
224
  {
201
225
  ((RCTUITextFieldCell*)self.cell).selectionColor = selectionColor;
@@ -129,6 +129,10 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithCoder:(NSCoder *)coder)
129
129
  // The assumption here is that a RCTUIView/RCTSurfaceView will always have a superview.
130
130
  CGPoint touchLocation = [self.view.superview convertPoint:touch.locationInWindow fromView:nil];
131
131
  NSView *targetView = [self.view hitTest:touchLocation];
132
+ // Don't record clicks on scrollbars.
133
+ if ([targetView isKindOfClass:[NSScroller class]]) {
134
+ continue;
135
+ }
132
136
  // Pair the mouse down events with mouse up events so our _nativeTouches cache doesn't get stale
133
137
  if ([targetView isKindOfClass:[NSControl class]]) {
134
138
  _shouldSendMouseUpOnSystemBehalf = [(NSControl*)targetView isEnabled];
@@ -221,7 +225,8 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithCoder:(NSCoder *)coder)
221
225
  NSEvent *nativeTouch = _nativeTouches[touchIndex];
222
226
  CGPoint location = nativeTouch.locationInWindow;
223
227
  CGPoint rootViewLocation = CGPointMake(location.x, CGRectGetHeight(self.view.window.frame) - location.y);
224
- CGPoint touchViewLocation = rootViewLocation;
228
+ NSView *touchView = _touchViews[touchIndex];
229
+ CGPoint touchViewLocation = [touchView convertPoint:location fromView:nil];
225
230
  #endif // ]TODO(macOS GH#774)
226
231
 
227
232
  NSMutableDictionary *reactTouch = _reactTouches[touchIndex];
@@ -394,6 +399,11 @@ static BOOL RCTAnyTouchesChanged(NSSet *touches) // [TODO(macOS GH#774)
394
399
  // "end"/"cancel" needs to remove the touch *after* extracting the event.
395
400
  [self _recordNewTouches:touches];
396
401
 
402
+ // [TODO(macOS GH#774) - Filter out touches that were ignored.
403
+ touches = [touches objectsPassingTest:^(id touch, BOOL *stop) {
404
+ return [_nativeTouches containsObject:touch];
405
+ }]; // ]TODO(macOS GH#774)
406
+
397
407
  [self _updateAndDispatchTouches:touches eventName:@"touchStart"];
398
408
 
399
409
  if (self.state == UIGestureRecognizerStatePossible) {
@@ -425,6 +425,8 @@ CGPathRef UIBezierPathCreateCGPathRef(UIBezierPath *path);
425
425
  @property (nonatomic, assign) CGFloat zoomScale;
426
426
  @property (nonatomic, assign) BOOL alwaysBounceHorizontal;
427
427
  @property (nonatomic, assign) BOOL alwaysBounceVertical;
428
+ // macOS specific properties
429
+ @property (nonatomic, assign) BOOL enableFocusRing;
428
430
 
429
431
  @end
430
432
 
@@ -28,7 +28,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
28
28
  RCTVersionMajor: @(0),
29
29
  RCTVersionMinor: @(0),
30
30
  RCTVersionPatch: @(0),
31
- RCTVersionPrerelease: @"46da582b9",
31
+ RCTVersionPrerelease: @"4a3b4bf8e",
32
32
  };
33
33
  });
34
34
  return __rnVersion;
@@ -51,7 +51,9 @@ static CVReturn RCTPlatformDisplayLinkCallBack(__unused CVDisplayLinkRef display
51
51
  if (rctDisplayLink->_runLoop != nil) {
52
52
  CFRunLoopRef cfRunLoop = [rctDisplayLink->_runLoop getCFRunLoop];
53
53
  CFRunLoopPerformBlock(cfRunLoop, (__bridge CFArrayRef)rctDisplayLink->_modes, ^{
54
- [rctDisplayLink tick];
54
+ @autoreleasepool {
55
+ [rctDisplayLink tick];
56
+ }
55
57
  });
56
58
  CFRunLoopWakeUp(cfRunLoop);
57
59
  }
@@ -429,6 +429,19 @@ static RCTUIView *RCTUIViewCommonInit(RCTUIView *self)
429
429
 
430
430
  @implementation RCTUIScrollView // TODO(macOS ISS#3536887)
431
431
 
432
+ - (void)setEnableFocusRing:(BOOL)enableFocusRing {
433
+ if (_enableFocusRing != enableFocusRing) {
434
+ _enableFocusRing = enableFocusRing;
435
+ }
436
+
437
+ if (enableFocusRing) {
438
+ // NSTextView has no focus ring by default so let's use the standard Aqua focus ring.
439
+ [self setFocusRingType:NSFocusRingTypeExterior];
440
+ } else {
441
+ [self setFocusRingType:NSFocusRingTypeNone];
442
+ }
443
+ }
444
+
432
445
  // UIScrollView properties missing from NSScrollView
433
446
  - (CGPoint)contentOffset
434
447
  {
@@ -226,7 +226,7 @@ RCT_EXPORT_METHOD(hide)
226
226
  [NSAnimationContext runAnimationGroup:^(__unused NSAnimationContext *context) {
227
227
  self->_window.animator.alphaValue = 0.0;
228
228
  } completionHandler:^{
229
- [self->_window orderFront:self];
229
+ [self->_window close];
230
230
  self->_window = nil;
231
231
  }];
232
232
  });
@@ -1596,6 +1596,9 @@ NSString* const downArrowPressKey = @"ArrowDown";
1596
1596
  BOOL tabKeyPressed = NO;
1597
1597
  BOOL escapeKeyPressed = NO;
1598
1598
  NSString *key = event.charactersIgnoringModifiers;
1599
+ if ([key length] == 0) {
1600
+ return nil;
1601
+ }
1599
1602
  unichar const code = [key characterAtIndex:0];
1600
1603
 
1601
1604
  // detect arrow key presses
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.0.0-46da582b9
1
+ VERSION_NAME=0.0.0-4a3b4bf8e
2
2
  GROUP=com.facebook.react
3
3
 
4
4
  POM_NAME=ReactNative
@@ -22,5 +22,5 @@ public class ReactNativeVersion {
22
22
  "major", 0,
23
23
  "minor", 0,
24
24
  "patch", 0,
25
- "prerelease", "46da582b9");
25
+ "prerelease", "4a3b4bf8e");
26
26
  }
@@ -22,7 +22,7 @@ constexpr struct {
22
22
  int32_t Major = 0;
23
23
  int32_t Minor = 0;
24
24
  int32_t Patch = 0;
25
- std::string_view Prerelease = "46da582b9";
25
+ std::string_view Prerelease = "4a3b4bf8e";
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-macos",
3
- "version": "0.0.0-46da582b9",
3
+ "version": "0.0.0-4a3b4bf8e",
4
4
  "bin": "./cli.js",
5
5
  "description": "React Native for macOS",
6
6
  "license": "MIT",
@@ -97,4 +97,4 @@ RUBY VERSION
97
97
  ruby 3.0.4p208
98
98
 
99
99
  BUNDLED WITH
100
- 2.3.18
100
+ 2.3.19
@@ -13,7 +13,7 @@
13
13
  "dependencies": {
14
14
  "react": "17.0.2",
15
15
  "react-native-macos": "1000.0.0",
16
- "react-native": "0.0.0-46da582b9"
16
+ "react-native": "0.0.0-4a3b4bf8e"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@babel/core": "^7.12.9",