react-native-macos 0.0.0-fdcec4d55 → 0.0.0-fe1f016b6

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.
Files changed (129) hide show
  1. package/Libraries/Components/ScrollView/ScrollView.js +11 -45
  2. package/Libraries/Components/TextInput/RCTTextInputViewConfig.js +1 -0
  3. package/Libraries/Components/TextInput/TextInput.js +118 -1
  4. package/Libraries/Components/View/ReactNativeStyleAttributes.js +1 -0
  5. package/Libraries/Components/View/ReactNativeViewAttributes.js +1 -0
  6. package/Libraries/Components/View/ReactNativeViewViewConfig.js +1 -0
  7. package/Libraries/Components/View/ReactNativeViewViewConfigMacOS.js +3 -3
  8. package/Libraries/Components/View/View.js +0 -7
  9. package/Libraries/Components/View/ViewPropTypes.js +10 -6
  10. package/Libraries/Core/ReactNativeVersion.js +1 -1
  11. package/Libraries/Image/RCTImageCache.m +1 -1
  12. package/Libraries/Image/RCTImageView.mm +14 -10
  13. package/Libraries/LinkingIOS/RCTLinkingManager.h +1 -0
  14. package/Libraries/LinkingIOS/macos/RCTLinkingManager.mm +12 -5
  15. package/Libraries/Lists/FlatList.js +25 -1
  16. package/Libraries/Lists/VirtualizedList.js +118 -113
  17. package/Libraries/Lists/VirtualizedSectionList.js +9 -5
  18. package/Libraries/StyleSheet/StyleSheetTypes.js +25 -0
  19. package/Libraries/Text/BaseText/RCTBaseTextViewManager.m +1 -0
  20. package/Libraries/Text/RCTTextAttributes.h +2 -0
  21. package/Libraries/Text/RCTTextAttributes.m +14 -5
  22. package/Libraries/Text/Text/RCTDynamicTypeRamp.h +40 -0
  23. package/Libraries/Text/Text/RCTDynamicTypeRamp.m +77 -0
  24. package/Libraries/Text/Text/RCTTextView.m +118 -47
  25. package/Libraries/Text/Text.js +0 -8
  26. package/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputView.h +8 -0
  27. package/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputView.m +57 -2
  28. package/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputViewManager.m +13 -0
  29. package/Libraries/Text/TextInput/Multiline/RCTUITextView.h +2 -1
  30. package/Libraries/Text/TextInput/Multiline/RCTUITextView.m +88 -3
  31. package/Libraries/Text/TextInput/RCTBackedTextInputDelegate.h +13 -1
  32. package/Libraries/Text/TextInput/RCTBackedTextInputDelegateAdapter.m +12 -3
  33. package/Libraries/Text/TextInput/RCTBackedTextInputViewProtocol.h +1 -0
  34. package/Libraries/Text/TextInput/RCTBaseTextInputShadowView.m +12 -0
  35. package/Libraries/Text/TextInput/RCTBaseTextInputView.h +9 -1
  36. package/Libraries/Text/TextInput/RCTBaseTextInputView.m +120 -2
  37. package/Libraries/Text/TextInput/RCTBaseTextInputViewManager.m +12 -1
  38. package/Libraries/Text/TextInput/Singleline/RCTUITextField.m +40 -0
  39. package/Libraries/Text/TextNativeComponent.js +2 -0
  40. package/Libraries/Text/TextProps.js +29 -0
  41. package/Libraries/Types/CoreEventTypes.js +0 -1
  42. package/Libraries/Utilities/codegenNativeComponent.js +1 -0
  43. package/React/Base/RCTAssert.h +4 -3
  44. package/React/Base/RCTAssert.m +11 -2
  45. package/React/Base/RCTBridge.m +1 -1
  46. package/React/Base/RCTConstants.h +3 -3
  47. package/React/Base/RCTConstants.m +6 -6
  48. package/React/Base/RCTConvert.m +8 -4
  49. package/React/Base/RCTEventDispatcherProtocol.h +5 -0
  50. package/React/Base/RCTRootView.m +0 -9
  51. package/React/Base/RCTTouchHandler.m +4 -0
  52. package/React/Base/RCTUIKit.h +8 -13
  53. package/React/Base/RCTUtils.m +33 -3
  54. package/React/Base/RCTVersion.m +1 -1
  55. package/React/Base/macOS/RCTUIKit.m +40 -0
  56. package/React/CoreModules/RCTAppearance.mm +21 -5
  57. package/React/CoreModules/RCTEventDispatcher.mm +6 -1
  58. package/React/CoreModules/RCTPerfMonitor.mm +1 -1
  59. package/React/Fabric/Mounting/ComponentViews/LegacyViewManagerInterop/RCTLegacyViewManagerInteropComponentView.h +1 -0
  60. package/React/Fabric/Mounting/ComponentViews/LegacyViewManagerInterop/RCTLegacyViewManagerInteropComponentView.mm +76 -19
  61. package/React/Fabric/Mounting/ComponentViews/Modal/RCTModalHostViewComponentView.mm +2 -1
  62. package/React/Fabric/Mounting/ComponentViews/SafeAreaView/RCTSafeAreaViewComponentView.mm +0 -1
  63. package/React/Fabric/Mounting/ComponentViews/ScrollView/RCTPullToRefreshViewComponentView.mm +1 -1
  64. package/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm +35 -9
  65. package/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.mm +8 -1
  66. package/React/Fabric/Mounting/RCTComponentViewFactory.mm +2 -9
  67. package/React/Fabric/Mounting/RCTComponentViewRegistry.h +0 -5
  68. package/React/Fabric/Mounting/RCTComponentViewRegistry.mm +0 -39
  69. package/React/Fabric/Mounting/RCTMountingManager.h +1 -1
  70. package/React/Fabric/Mounting/RCTMountingManager.mm +10 -9
  71. package/React/Fabric/Mounting/RCTMountingTransactionObserverCoordinator.h +5 -3
  72. package/React/Fabric/Mounting/RCTMountingTransactionObserverCoordinator.mm +10 -8
  73. package/React/Fabric/Mounting/RCTMountingTransactionObserving.h +5 -3
  74. package/React/Fabric/RCTConversions.h +9 -1
  75. package/React/Fabric/RCTImageResponseObserverProxy.h +1 -0
  76. package/React/Fabric/RCTLocalizationProvider.mm +10 -4
  77. package/React/Fabric/RCTScheduler.h +7 -0
  78. package/React/Fabric/RCTScheduler.mm +15 -0
  79. package/React/Fabric/RCTSurfacePresenter.h +2 -0
  80. package/React/Fabric/RCTSurfacePresenter.mm +44 -23
  81. package/React/Fabric/RCTSurfaceTouchHandler.mm +0 -1
  82. package/React/Modules/RCTUIManager.m +2 -1
  83. package/React/React-RCTFabric.podspec +1 -1
  84. package/React/Tests/Mounting/RCTComponentViewRegistryTests.mm +1 -0
  85. package/React/Views/RCTActivityIndicatorView.m +2 -1
  86. package/React/Views/RCTCursor.h +39 -0
  87. package/React/Views/RCTCursor.m +105 -0
  88. package/React/Views/RCTView.h +16 -0
  89. package/React/Views/RCTView.m +141 -191
  90. package/React/Views/RCTViewKeyboardEvent.h +6 -28
  91. package/React/Views/RCTViewKeyboardEvent.m +66 -61
  92. package/React/Views/RCTViewManager.m +18 -13
  93. package/React/Views/ScrollView/RCTScrollContentView.h +4 -0
  94. package/React/Views/ScrollView/RCTScrollContentView.m +18 -0
  95. package/React/Views/ScrollView/RCTScrollContentViewManager.m +2 -0
  96. package/React/Views/ScrollView/RCTScrollView.h +2 -1
  97. package/React/Views/ScrollView/RCTScrollView.m +70 -63
  98. package/React/Views/ScrollView/RCTScrollViewManager.m +1 -1
  99. package/React/Views/UIView+React.h +2 -0
  100. package/React/Views/UIView+React.m +23 -14
  101. package/ReactAndroid/gradle.properties +1 -1
  102. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
  103. package/ReactCommon/React-Fabric.podspec +1 -1
  104. package/ReactCommon/React-rncore.podspec +1 -1
  105. package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
  106. package/ReactCommon/react/renderer/components/legacyviewmanagerinterop/LegacyViewManagerInteropComponentDescriptor.mm +5 -0
  107. package/ReactCommon/react/renderer/components/legacyviewmanagerinterop/RCTLegacyViewManagerInteropCoordinator.mm +4 -2
  108. package/ReactCommon/react/renderer/core/EventDispatcher.cpp +21 -0
  109. package/ReactCommon/react/renderer/core/EventDispatcher.h +15 -0
  110. package/ReactCommon/react/renderer/core/EventListener.cpp +39 -0
  111. package/ReactCommon/react/renderer/core/EventListener.h +44 -0
  112. package/ReactCommon/react/renderer/graphics/React-graphics.podspec +1 -1
  113. package/ReactCommon/react/renderer/mounting/TelemetryController.cpp +6 -9
  114. package/ReactCommon/react/renderer/mounting/TelemetryController.h +7 -7
  115. package/ReactCommon/react/renderer/scheduler/Scheduler.cpp +18 -0
  116. package/ReactCommon/react/renderer/scheduler/Scheduler.h +9 -0
  117. package/ReactCommon/react/utils/ManagedObjectWrapper.h +1 -1
  118. package/ReactCommon/react/utils/ManagedObjectWrapper.mm +1 -3
  119. package/package.json +1 -1
  120. package/scripts/generate-artifacts.js +21 -17
  121. package/scripts/react_native_pods.rb +0 -3
  122. package/template/Gemfile.lock +7 -7
  123. package/template/android/gradlew.bat +89 -89
  124. package/template/ios/HelloWorldTests/HelloWorldTests.m +1 -0
  125. package/template/package.json +1 -1
  126. package/Libraries/Types/RootTagTypes.js~merged +0 -23
  127. package/ReactCommon/react/renderer/mounting/MountingTransactionMetadata.cpp +0 -12
  128. package/ReactCommon/react/renderer/mounting/MountingTransactionMetadata.h +0 -32
  129. package/third-party-podspecs/boost-for-react-native.podspec +0 -20
@@ -54,6 +54,7 @@
54
54
  return NO;
55
55
  }];
56
56
  }
57
+
57
58
  #ifdef DEBUG
58
59
  RCTSetLogFunction(RCTDefaultLogFunction);
59
60
  #endif
@@ -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-fdcec4d55"
16
+ "react-native": "0.0.0-fe1f016b6"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@babel/core": "^7.12.9",
@@ -1,23 +0,0 @@
1
- /**
2
- * Copyright (c) Facebook, Inc. and its affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @flow strict
8
- * @format
9
- */
10
-
11
- <<<<<<< HEAD
12
- export type {RootTag} from '../ReactNative/RootTag';
13
- =======
14
- <<<<<<< HEAD:Libraries/Components/DatePicker/DatePickerIOS.macos.js
15
- // TODO(macOS GH#774)
16
-
17
- 'use strict';
18
-
19
- module.exports = require('../UnimplementedViews/UnimplementedView');
20
- =======
21
- export type {RootTag} from '../ReactNative/RootTag';
22
- >>>>>>> facebook/0.66-stable:Libraries/Types/RootTagTypes.js
23
- >>>>>>> facebook/0.66-stable
@@ -1,12 +0,0 @@
1
- /*
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8
- #include "MountingTransactionMetadata.h"
9
-
10
- namespace facebook {
11
- namespace react {} // namespace react
12
- } // namespace facebook
@@ -1,32 +0,0 @@
1
- /*
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8
- #pragma once
9
-
10
- #include <react/renderer/mounting/MountingTransaction.h>
11
- #include <react/renderer/telemetry/TransactionTelemetry.h>
12
-
13
- namespace facebook {
14
- namespace react {
15
-
16
- /*
17
- * Contains all (meta)information related to a MountingTransaction except a list
18
- * of mutation instructions.
19
- * The class is meant to be used when a consumer should not have access to all
20
- * information about the transaction (incapsulation) but still needs to observe
21
- * it to produce some side-effects.
22
- */
23
- class MountingTransactionMetadata final {
24
- public:
25
- SurfaceId surfaceId;
26
- MountingTransaction::Number number;
27
- TransactionTelemetry telemetry;
28
- SurfaceTelemetry surfaceTelemetry;
29
- };
30
-
31
- } // namespace react
32
- } // namespace facebook
@@ -1,20 +0,0 @@
1
- # TODO(macOS GH#214)
2
- Pod::Spec.new do |spec|
3
- spec.name = 'boost-for-react-native'
4
- spec.version = '1.63.0'
5
- spec.license = { :type => 'Boost Software License', :file => "LICENSE_1_0.txt" }
6
- spec.homepage = 'http://www.boost.org'
7
- spec.summary = 'Boost provides free peer-reviewed portable C++ source libraries.'
8
- spec.authors = 'Rene Rivera'
9
- spec.source = { :git => 'https://github.com/react-native-community/boost-for-react-native.git',
10
- :tag => 'v1.63.0-0' }
11
-
12
- # Pinning to the same version as React.podspec.
13
- # TODO: Move this osx addition back upstream to https://github.com/react-native-community/boost-for-react-native
14
- spec.platforms = { :ios => '8.0', :osx => "10.15" }
15
- spec.requires_arc = false
16
-
17
- spec.module_name = 'boost'
18
- spec.header_dir = 'boost'
19
- spec.preserve_path = 'boost'
20
- end