@depup/react-native 0.86.0-depup.49 → 0.87.0-depup.0
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/ActionSheetIOS/ActionSheetIOS.js +19 -24
- package/Libraries/Alert/Alert.js +38 -1
- package/Libraries/Animated/AnimatedExports.js +22 -0
- package/Libraries/Animated/AnimatedExports.js.flow +1 -1
- package/Libraries/Animated/AnimatedImplementation.js +120 -3
- package/Libraries/Animated/Easing.js +4 -3
- package/Libraries/Animated/NativeAnimatedAllowlist.js +37 -0
- package/Libraries/Animated/animations/Animation.js +14 -5
- package/Libraries/Animated/animations/DecayAnimation.js +1 -0
- package/Libraries/Animated/animations/SpringAnimation.js +1 -0
- package/Libraries/Animated/animations/TimingAnimation.js +9 -0
- package/Libraries/Animated/createAnimatedComponent.js +3 -3
- package/Libraries/Animated/nodes/AnimatedColor.js +8 -8
- package/Libraries/Animated/nodes/AnimatedInterpolation.js +106 -0
- package/Libraries/Animated/nodes/AnimatedProps.js +27 -3
- package/Libraries/Animated/nodes/AnimatedValue.js +8 -0
- package/Libraries/Animated/nodes/AnimatedValueXY.js +2 -2
- package/Libraries/AppDelegate/RCTAppDelegate.h +5 -9
- package/Libraries/AppDelegate/RCTAppDelegate.mm +0 -20
- package/Libraries/AppDelegate/RCTAppSetupUtils.h +0 -18
- package/Libraries/AppDelegate/RCTAppSetupUtils.mm +0 -78
- package/Libraries/AppDelegate/RCTDefaultReactNativeFactoryDelegate.mm +18 -21
- package/Libraries/AppDelegate/RCTReactNativeFactory.h +5 -41
- package/Libraries/AppDelegate/RCTReactNativeFactory.mm +0 -82
- package/Libraries/AppDelegate/RCTRootViewFactory.h +4 -1
- package/Libraries/AppDelegate/RCTRootViewFactory.mm +3 -101
- package/Libraries/AppDelegate/React-RCTAppDelegate.podspec +1 -0
- package/Libraries/AppState/AppState.d.ts +4 -1
- package/Libraries/AppState/AppState.js +32 -17
- package/Libraries/BatchedBridge/MessageQueue.js +42 -51
- package/Libraries/BatchedBridge/NativeModules.js +7 -0
- package/Libraries/Blob/Blob.js +7 -1
- package/Libraries/Blob/FileReader.js +6 -0
- package/Libraries/Blob/URLSearchParams.js.flow +1 -1
- package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +20 -9
- package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.js +30 -43
- package/Libraries/Components/ActivityIndicator/ActivityIndicator.js +59 -49
- package/Libraries/Components/ActivityIndicator/ActivityIndicatorViewNativeComponent.js +2 -2
- package/Libraries/Components/Button.js +98 -183
- package/Libraries/Components/Clipboard/Clipboard.js +5 -0
- package/Libraries/Components/DrawerAndroid/AndroidDrawerLayoutNativeComponent.js +2 -2
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js +8 -69
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.d.ts +10 -1
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.ios.js +2 -0
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidTypes.js +26 -31
- package/Libraries/Components/Keyboard/Keyboard.js +23 -60
- package/Libraries/Components/Keyboard/KeyboardAvoidingView.js +15 -7
- package/Libraries/Components/Pressable/Pressable.js +39 -17
- package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.android.js +5 -6
- package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.js +4 -4
- package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidNativeComponent.js +2 -2
- package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidTypes.js +17 -0
- package/Libraries/Components/RefreshControl/AndroidSwipeRefreshLayoutNativeComponent.js +2 -2
- package/Libraries/Components/RefreshControl/PullToRefreshViewNativeComponent.js +2 -2
- package/Libraries/Components/RefreshControl/RefreshControl.js +40 -50
- package/Libraries/Components/SafeAreaView/RCTSafeAreaViewNativeComponent.js +2 -2
- package/Libraries/Components/SafeAreaView/SafeAreaView.js +8 -8
- package/Libraries/Components/ScrollView/AndroidHorizontalScrollContentViewNativeComponent.js +2 -2
- package/Libraries/Components/ScrollView/ScrollView.d.ts +55 -43
- package/Libraries/Components/ScrollView/ScrollView.js +205 -118
- package/Libraries/Components/ScrollView/ScrollViewCommands.js +4 -4
- package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +1 -1
- package/Libraries/Components/StatusBar/StatusBar.d.ts +7 -54
- package/Libraries/Components/StatusBar/StatusBar.js +84 -160
- package/Libraries/Components/Switch/AndroidSwitchNativeComponent.js +2 -2
- package/Libraries/Components/Switch/Switch.js +76 -75
- package/Libraries/Components/Switch/SwitchNativeComponent.js +2 -2
- package/Libraries/Components/TextInput/InputAccessoryView.js +13 -61
- package/Libraries/Components/TextInput/RCTInputAccessoryViewNativeComponent.js +2 -2
- package/Libraries/Components/TextInput/TextInput.d.ts +9 -2
- package/Libraries/Components/TextInput/TextInput.flow.js +19 -2
- package/Libraries/Components/TextInput/TextInput.js +116 -111
- package/Libraries/Components/TextInput/TextInputNativeCommands.js +3 -3
- package/Libraries/Components/ToastAndroid/ToastAndroid.android.js +25 -19
- package/Libraries/Components/Touchable/Touchable.js +94 -95
- package/Libraries/Components/Touchable/TouchableHighlight.js +45 -112
- package/Libraries/Components/Touchable/TouchableNativeFeedback.js +13 -25
- package/Libraries/Components/Touchable/TouchableOpacity.js +14 -84
- package/Libraries/Components/Touchable/TouchableWithoutFeedback.js +4 -3
- package/Libraries/Components/UnimplementedViews/UnimplementedNativeViewNativeComponent.js +2 -2
- package/Libraries/Components/View/ReactNativeStyleAttributes.js +1 -0
- package/Libraries/Components/View/View.js +83 -86
- package/Libraries/Components/View/ViewAccessibility.d.ts +11 -1
- package/Libraries/Components/View/ViewAccessibility.js +16 -5
- package/Libraries/Components/View/ViewNativeComponent.js +4 -6
- package/Libraries/Components/View/ViewPropTypes.js +65 -13
- package/Libraries/Core/InitializeCore.js +9 -1
- package/Libraries/Core/ReactFiberErrorDialog.js +3 -3
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Core/Timers/JSTimers.js +53 -52
- package/Libraries/Core/setUpGlobals.js +9 -4
- package/Libraries/Core/setUpNavigator.js +6 -1
- package/Libraries/Core/setUpReactDevTools.js +0 -118
- package/Libraries/Core/setUpXHR.js +6 -2
- package/Libraries/Debugging/DebuggingOverlay.js +2 -2
- package/Libraries/Debugging/DebuggingOverlayNativeComponent.js +2 -2
- package/Libraries/EventEmitter/NativeEventEmitter.js +29 -0
- package/Libraries/EventEmitter/RCTDeviceEventEmitter.js +7 -7
- package/Libraries/EventEmitter/RCTNativeAppEventEmitter.js +3 -0
- package/Libraries/Image/AssetSourceResolver.js +18 -27
- package/Libraries/Image/Image.android.js +13 -2
- package/Libraries/Image/Image.ios.js +3 -1
- package/Libraries/Image/ImageBackground.js +30 -18
- package/Libraries/Image/ImageProps.js +116 -117
- package/Libraries/Image/ImageSource.d.ts +1 -1
- package/Libraries/Image/ImageSource.js +9 -9
- package/Libraries/Image/ImageSourceUtils.js +10 -7
- package/Libraries/Image/ImageTypes.flow.js +2 -0
- package/Libraries/Image/ImageViewNativeComponent.js +1 -1
- package/Libraries/Image/RCTImageLoader.mm +60 -63
- package/Libraries/Image/RCTImageStoreManager.h +0 -2
- package/Libraries/Image/RelativeImageStub.js +1 -1
- package/Libraries/Image/resolveAssetSource.js +1 -1
- package/Libraries/Interaction/PanResponder.js +102 -97
- package/Libraries/LayoutAnimation/LayoutAnimation.js +22 -6
- package/Libraries/Linking/Linking.js +24 -23
- package/Libraries/Lists/FlatList.d.ts +6 -17
- package/Libraries/Lists/FlatList.js +7 -8
- package/Libraries/Lists/SectionList.js +7 -0
- package/Libraries/Lists/VirtualizedList.js +3 -0
- package/Libraries/Lists/VirtualizedSectionList.js +4 -0
- package/Libraries/LogBox/LogBox.js +3 -3
- package/Libraries/LogBox/UI/AnsiHighlight.js +2 -1
- package/Libraries/LogBox/UI/LogBoxInspectorCodeFrame.js +2 -2
- package/Libraries/LogBox/UI/LogBoxInspectorFooter.js +4 -1
- package/Libraries/LogBox/UI/LogBoxInspectorFooterButton.js +3 -1
- package/Libraries/LogBox/UI/LogBoxInspectorHeader.js +8 -2
- package/Libraries/LogBox/UI/LogBoxInspectorMessageHeader.js +9 -2
- package/Libraries/LogBox/UI/LogBoxInspectorReactFrames.js +17 -4
- package/Libraries/LogBox/UI/LogBoxInspectorSection.js +3 -1
- package/Libraries/LogBox/UI/LogBoxInspectorSourceMapStatus.js +3 -1
- package/Libraries/LogBox/UI/LogBoxInspectorStackFrame.js +2 -0
- package/Libraries/LogBox/UI/LogBoxInspectorStackFrames.js +4 -2
- package/Libraries/LogBox/UI/LogBoxMessage.js +18 -5
- package/Libraries/LogBox/UI/LogBoxNotificationCountBadge.js +4 -1
- package/Libraries/LogBox/UI/LogBoxNotificationMessage.js +1 -0
- package/Libraries/LogBox/UI/LogBoxStyle.js +0 -4
- package/Libraries/Modal/Modal.d.ts +5 -4
- package/Libraries/Modal/Modal.js +71 -37
- package/Libraries/Modal/RCTModalHostViewNativeComponent.js +2 -2
- package/Libraries/NativeComponent/BaseViewConfig.android.js +17 -0
- package/Libraries/NativeComponent/ViewConfig.js +3 -3
- package/Libraries/NativeComponent/ViewConfigIgnore.js +1 -1
- package/Libraries/Network/RCTHTTPRequestHandler.h +1 -1
- package/Libraries/Performance/Systrace.js +36 -0
- package/Libraries/PermissionsAndroid/PermissionsAndroid.d.ts +4 -2
- package/Libraries/PermissionsAndroid/PermissionsAndroid.js +29 -17
- package/Libraries/Pressability/Pressability.js +1 -1
- package/Libraries/PushNotificationIOS/PushNotificationIOS.js +4 -0
- package/Libraries/ReactNative/AppContainer-dev.js +3 -1
- package/Libraries/ReactNative/AppRegistry.flow.js +1 -0
- package/Libraries/ReactNative/AppRegistry.js +15 -11
- package/Libraries/ReactNative/AppRegistryImpl.js +57 -11
- package/Libraries/ReactNative/DisplayMode.js +1 -1
- package/Libraries/ReactNative/FabricUIManager.js +29 -26
- package/Libraries/ReactNative/I18nManager.js +20 -0
- package/Libraries/ReactNative/UIManager.js +53 -0
- package/Libraries/ReactNative/renderApplication.js +1 -1
- package/Libraries/ReactPrivate/ReactNativePrivateInterface.js +5 -126
- package/Libraries/ReactPrivate/ReactNativePrivateInterface.js.flow +5 -41
- package/Libraries/Renderer/shims/ReactNativeTypes.js +36 -36
- package/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js +4 -4
- package/Libraries/Settings/Settings.ios.js +22 -0
- package/Libraries/Share/Share.js +25 -28
- package/Libraries/StyleSheet/PlatformColorValueTypes.js.flow +6 -0
- package/Libraries/StyleSheet/StyleSheet.js +42 -2
- package/Libraries/StyleSheet/StyleSheet.js.flow +1 -1
- package/Libraries/StyleSheet/StyleSheetExports.js +7 -5
- package/Libraries/StyleSheet/StyleSheetExports.js.flow +1 -1
- package/Libraries/StyleSheet/StyleSheetTypes.d.ts +24 -3
- package/Libraries/StyleSheet/StyleSheetTypes.js +34 -6
- package/Libraries/StyleSheet/flattenStyle.js +28 -13
- package/Libraries/StyleSheet/private/_TransformStyle.js +16 -14
- package/Libraries/Text/Text.js +12 -9
- package/Libraries/Text/TextEffectNativeComponent.js +31 -0
- package/Libraries/Text/TextInput/Multiline/RCTUITextView.mm +0 -1
- package/Libraries/Text/TextInput/RCTBackedTextInputViewProtocol.h +0 -1
- package/Libraries/Text/TextInput/Singleline/RCTUITextField.mm +0 -1
- package/Libraries/Text/TextProps.js +59 -93
- package/Libraries/Text/requireNativeTextEffect.js +28 -0
- package/Libraries/TurboModule/RCTExport.js +1 -1
- package/Libraries/Types/CoreEventTypes.d.ts +8 -0
- package/Libraries/Types/CoreEventTypes.js +32 -29
- package/Libraries/Types/UIManagerJSInterface.js +2 -2
- package/Libraries/Utilities/Appearance.d.ts +32 -17
- package/Libraries/Utilities/Appearance.js +35 -18
- package/Libraries/Utilities/BackHandler.android.js +13 -28
- package/Libraries/Utilities/BackHandler.js.flow +18 -2
- package/Libraries/Utilities/DevSettings.js +8 -1
- package/Libraries/Utilities/Dimensions.js +18 -12
- package/Libraries/Utilities/PixelRatio.js +5 -2
- package/Libraries/Utilities/Platform.js.flow +4 -0
- package/Libraries/Utilities/PlatformTypes.js +77 -0
- package/Libraries/Utilities/differ/deepDiffer.js +5 -2
- package/Libraries/Utilities/useColorScheme.js +11 -1
- package/Libraries/Utilities/useWindowDimensions.js +6 -0
- package/Libraries/Vibration/Vibration.js +14 -11
- package/Libraries/vendor/emitter/EventEmitter.js +3 -3
- package/README.md +7 -9
- package/React/Base/RCTBridge+Private.h +0 -22
- package/React/Base/RCTBridge.h +10 -8
- package/React/Base/RCTBridge.mm +5 -447
- package/React/Base/RCTBridgeDelegate.h +1 -56
- package/React/Base/RCTBridgeModule.h +0 -9
- package/React/Base/RCTBridgeProxy.h +8 -0
- package/React/Base/RCTBridgeProxy.mm +3 -20
- package/React/Base/RCTBundleManager.h +0 -3
- package/React/Base/RCTBundleManager.m +0 -31
- package/React/Base/RCTBundleURLProvider.mm +4 -4
- package/React/Base/RCTCallableJSModules.m +0 -18
- package/React/Base/RCTConstants.h +1 -0
- package/React/Base/RCTConstants.m +1 -0
- package/React/Base/RCTConvert.mm +3 -0
- package/React/Base/RCTDisplayLink.h +3 -1
- package/React/Base/RCTJavaScriptExecutor.h +0 -69
- package/React/Base/RCTModuleData.mm +2 -483
- package/React/Base/RCTModuleRegistry.m +0 -25
- package/React/Base/RCTRootView.m +3 -374
- package/React/Base/RCTUtils.h +0 -3
- package/React/Base/RCTUtils.mm +17 -27
- package/React/Base/RCTVersion.m +1 -1
- package/React/Base/RCTViewRegistry.m +1 -29
- package/React/Base/Surface/RCTSurface.mm +1 -582
- package/React/Base/Surface/RCTSurfaceRootShadowView.m +0 -89
- package/React/Base/Surface/SurfaceHostingView/RCTSurfaceHostingProxyRootView.mm +0 -1
- package/React/CoreModules/PlatformStubs/RCTStatusBarManager.mm +0 -2
- package/React/CoreModules/RCTAlertController.mm +1 -0
- package/React/CoreModules/RCTAlertManager.mm +0 -5
- package/React/CoreModules/RCTLogBox.mm +0 -11
- package/React/CoreModules/RCTLogBoxView.h +0 -3
- package/React/CoreModules/RCTLogBoxView.mm +0 -31
- package/React/CoreModules/RCTPerfMonitor.mm +0 -2
- package/React/CoreModules/RCTStatusBarManager.mm +0 -11
- package/React/CxxModule/RCTCxxUtils.h +0 -8
- package/React/CxxModule/RCTCxxUtils.mm +0 -17
- package/React/FBReactNativeSpec/FBReactNativeSpec/FBReactNativeSpec-generated.mm +179 -7
- package/React/FBReactNativeSpec/FBReactNativeSpec/FBReactNativeSpec.h +100 -2
- package/React/FBReactNativeSpec/FBReactNativeSpecJSI.h +373 -119
- package/React/FBReactNativeSpec/react/renderer/components/FBReactNativeSpec/ComponentDescriptors.cpp +1 -1
- package/React/FBReactNativeSpec/react/renderer/components/FBReactNativeSpec/ComponentDescriptors.h +1 -1
- package/React/FBReactNativeSpec/react/renderer/components/FBReactNativeSpec/EventEmitters.cpp +71 -71
- package/React/FBReactNativeSpec/react/renderer/components/FBReactNativeSpec/EventEmitters.h +96 -96
- package/React/FBReactNativeSpec/react/renderer/components/FBReactNativeSpec/Props.cpp +357 -363
- package/React/FBReactNativeSpec/react/renderer/components/FBReactNativeSpec/Props.h +211 -212
- package/React/FBReactNativeSpec/react/renderer/components/FBReactNativeSpec/RCTComponentViewHelpers.h +107 -107
- package/React/FBReactNativeSpec/react/renderer/components/FBReactNativeSpec/ShadowNodes.cpp +1 -1
- package/React/FBReactNativeSpec/react/renderer/components/FBReactNativeSpec/ShadowNodes.h +11 -11
- package/React/FBReactNativeSpec/react/renderer/components/FBReactNativeSpec/States.h +2 -2
- package/React/Fabric/Mounting/ComponentViews/LegacyViewManagerInterop/RCTLegacyViewManagerInteropComponentView.h +4 -0
- package/React/Fabric/Mounting/ComponentViews/LegacyViewManagerInterop/RCTLegacyViewManagerInteropComponentView.mm +4 -0
- package/React/Fabric/Mounting/ComponentViews/LegacyViewManagerInterop/RCTLegacyViewManagerInteropCoordinatorAdapter.h +4 -0
- package/React/Fabric/Mounting/ComponentViews/LegacyViewManagerInterop/RCTLegacyViewManagerInteropCoordinatorAdapter.mm +5 -0
- package/React/Fabric/Mounting/ComponentViews/Modal/RCTModalHostViewComponentView.mm +0 -1
- package/React/Fabric/Mounting/ComponentViews/ScrollView/RCTEnhancedScrollView.mm +14 -0
- package/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm +12 -3
- package/React/Fabric/Mounting/ComponentViews/ScrollView/RCTVirtualViewContainerState.mm +12 -26
- package/React/Fabric/Mounting/ComponentViews/Text/RCTParagraphComponentView.mm +39 -4
- package/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.mm +5 -5
- package/React/Fabric/Mounting/ComponentViews/VirtualView/RCTVirtualViewComponentView.mm +0 -18
- package/React/Fabric/Mounting/RCTComponentViewFactory.mm +9 -5
- package/React/Fabric/RCTSurfacePresenter.mm +86 -5
- package/React/Fabric/RCTSurfacePresenterBridgeAdapter.h +2 -0
- package/React/I18n/RCTLocalizedString.mm +38 -2
- package/React/Modules/RCTEventEmitter.m +30 -10
- package/React/Modules/RCTI18nUtil.m +3 -1
- package/React/Modules/RCTUIManager.mm +0 -1501
- package/React/React-RCTFBReactNativeSpec.podspec +1 -1
- package/React/Tests/Text/RCTAttributedTextUtilsTest.mm +27 -0
- package/React/Views/RCTModalHostViewController.h +0 -15
- package/React/Views/RCTModalHostViewManager.h +0 -24
- package/React/Views/RCTShadowView.h +0 -2
- package/React/Views/RCTShadowView.m +0 -723
- package/React/Views/ScrollView/RCTScrollView.h +0 -81
- package/React/Views/ScrollView/RCTScrollableProtocol.h +0 -4
- package/React-Core-prebuilt.podspec +45 -17
- package/React-Core.podspec +9 -2
- package/ReactAndroid/api/ReactAndroid.api +128 -142
- package/ReactAndroid/build.gradle.kts +26 -21
- package/ReactAndroid/external-artifacts/build.gradle.kts +49 -0
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/hermes-engine/build.gradle.kts +14 -14
- package/ReactAndroid/src/debug/AndroidManifest.xml +6 -0
- package/ReactAndroid/src/debugOptimized/AndroidManifest.xml +22 -0
- package/ReactAndroid/src/main/java/com/facebook/react/BaseReactPackage.kt +3 -7
- package/ReactAndroid/src/main/java/com/facebook/react/ReactActivityDelegate.java +4 -2
- package/ReactAndroid/src/main/java/com/facebook/react/ReactDelegate.kt +4 -6
- package/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java +5 -7
- package/ReactAndroid/src/main/java/com/facebook/react/ReactNativeHost.kt +212 -0
- package/ReactAndroid/src/main/java/com/facebook/react/ReactRootView.java +0 -16
- package/ReactAndroid/src/main/java/com/facebook/react/animated/PropsAnimatedNode.kt +6 -1
- package/ReactAndroid/src/main/java/com/facebook/react/bridge/Arguments.kt +1 -0
- package/ReactAndroid/src/main/java/com/facebook/react/bridge/BridgeReactContext.kt +287 -0
- package/ReactAndroid/src/main/java/com/facebook/react/bridge/ColorPropConverter.kt +16 -0
- package/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactContext.java +15 -2
- package/ReactAndroid/src/main/java/com/facebook/react/bridge/interop/InteropModuleRegistry.kt +1 -3
- package/ReactAndroid/src/main/java/com/facebook/react/common/build/ReactBuildConfig.kt +4 -0
- package/ReactAndroid/src/main/java/com/facebook/react/common/mapbuffer/MapBuffer.kt +50 -2
- package/ReactAndroid/src/main/java/com/facebook/react/common/mapbuffer/ReadableMapBuffer.kt +63 -22
- package/ReactAndroid/src/main/java/com/facebook/react/common/mapbuffer/WritableMapBuffer.kt +33 -0
- package/ReactAndroid/src/main/java/com/facebook/react/defaults/DefaultNewArchitectureEntryPoint.kt +4 -12
- package/ReactAndroid/src/main/java/com/facebook/react/defaults/DefaultReactActivityDelegate.kt +14 -10
- package/ReactAndroid/src/main/java/com/facebook/react/defaults/DefaultReactNativeHost.kt +6 -6
- package/ReactAndroid/src/main/java/com/facebook/react/devsupport/BundleDownloader.kt +50 -47
- package/ReactAndroid/src/main/java/com/facebook/react/devsupport/DevServerHelper.kt +0 -4
- package/ReactAndroid/src/main/java/com/facebook/react/devsupport/DevSupportManagerFactory.kt +10 -10
- package/ReactAndroid/src/main/java/com/facebook/react/devsupport/LocalNetworkPermissionUtil.kt +49 -0
- package/ReactAndroid/src/main/java/com/facebook/react/devsupport/MultipartStreamReader.kt +101 -26
- package/ReactAndroid/src/main/java/com/facebook/react/fabric/FabricUIManager.java +40 -38
- package/ReactAndroid/src/main/java/com/facebook/react/fabric/FabricUIManagerBinding.kt +1 -10
- package/ReactAndroid/src/main/java/com/facebook/react/fabric/FabricUIManagerProviderImpl.kt +0 -3
- package/ReactAndroid/src/main/java/com/facebook/react/fabric/ViewTransitionSnapshotManager.kt +15 -11
- package/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/MountItemDispatcher.kt +4 -4
- package/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/MountingManager.kt +7 -13
- package/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.kt +195 -194
- package/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/mountitems/SynchronousMountItem.kt +12 -8
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlags.kt +30 -66
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxAccessor.kt +51 -111
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxInterop.kt +11 -23
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsDefaults.kt +12 -24
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsLocalAccessor.kt +57 -123
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsOverrides_RNOSS_Canary_Android.kt +7 -5
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsOverrides_RNOSS_Experimental_Android.kt +3 -5
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsProvider.kt +11 -23
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeNewArchitectureFeatureFlags.kt +0 -24
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeNewArchitectureFeatureFlagsDefaults.kt +0 -4
- package/ReactAndroid/src/main/java/com/facebook/react/modules/appearance/AppearanceModule.kt +1 -0
- package/ReactAndroid/src/main/java/com/facebook/react/modules/core/TimingModule.kt +3 -0
- package/ReactAndroid/src/main/java/com/facebook/react/modules/image/ImageLoaderModule.kt +50 -0
- package/ReactAndroid/src/main/java/com/facebook/react/modules/network/NetworkEventUtil.kt +53 -3
- package/ReactAndroid/src/main/java/com/facebook/react/modules/statusbar/StatusBarModule.kt +2 -77
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/websocket/WebSocketModule.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/runtime/BridgelessCatalystInstance.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/runtime/BridgelessReactContext.kt +9 -4
- package/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactHostImpl.kt +4 -19
- package/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactInstance.kt +1 -5
- package/ReactAndroid/src/main/java/com/facebook/react/touch/ReactInterceptingViewGroup.kt +4 -4
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/BaseViewManager.java +46 -9
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/DisplayMetricsHolder.kt +1 -49
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/HasChildPressedStateDelay.kt +29 -0
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/JSPointerDispatcher.kt +796 -0
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/JSTouchDispatcher.kt +2 -4
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/LayoutShadowNode.kt +27 -27
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/NativeViewHierarchyManager.kt +184 -0
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactShadowNode.kt +486 -0
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactShadowNodeImpl.java +8 -8
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ShadowNodeRegistry.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/SkewMatrixHelper.kt +200 -0
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ThemedReactContext.kt +3 -0
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/TouchTargetHelper.kt +6 -1
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/TransformHelper.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIBlock.kt +7 -1
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIManagerModule.kt +645 -0
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIManagerModuleConstantsHelper.kt +2 -3
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIViewOperationQueue.kt +142 -0
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewGroupManager.kt +0 -10
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewManager.java +3 -3
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewManagersPropertyCache.kt +527 -0
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewProps.kt +3 -1
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/style/BorderRadiusStyle.kt +6 -6
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/style/ColorStop.kt +6 -0
- package/ReactAndroid/src/main/java/com/facebook/react/util/AndroidVersion.kt +7 -0
- package/ReactAndroid/src/main/java/com/facebook/react/views/drawer/ReactDrawerLayout.kt +8 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/modal/ReactModalHostManager.kt +0 -3
- package/ReactAndroid/src/main/java/com/facebook/react/views/modal/ReactModalHostView.kt +2 -0
- package/ReactAndroid/src/main/java/com/facebook/react/views/progressbar/ReactProgressBarViewManager.kt +4 -4
- package/ReactAndroid/src/main/java/com/facebook/react/views/safeareaview/ReactSafeAreaView.kt +2 -0
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollView.kt +1640 -0
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollViewManager.kt +6 -6
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactNestedScrollView.kt +1317 -0
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactNestedScrollViewManager.kt +7 -7
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollView.kt +1309 -0
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollViewManager.kt +6 -6
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/VirtualViewContainer.kt +19 -33
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/VirtualViewContainerStateClassic.kt +8 -6
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/VirtualViewContainerStateExperimental.kt +4 -4
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/generate-nested-scroll-view.js +13 -20
- package/ReactAndroid/src/main/java/com/facebook/react/views/swiperefresh/ReactSwipeRefreshLayout.kt +7 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/MutableSpannableLayout.kt +107 -0
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/PreparedLayoutTextView.kt +122 -10
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextView.java +91 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextViewManager.kt +3 -0
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTypefaceUtils.kt +41 -0
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/TextAttributeProps.kt +48 -2
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/TextDecorationStyle.kt +200 -0
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/TextEffectRegistry.kt +45 -0
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/TextEffectSpanFactory.kt +17 -0
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/TextLayoutManager.kt +361 -15
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/internal/span/AnimatedEffectSpan.kt +37 -0
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/internal/span/{DrawCommandSpan.kt → CanvasEffectSpan.kt} +3 -4
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/internal/span/CustomStyleSpan.kt +23 -3
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/internal/span/ReactStrikethroughSpan.kt +30 -3
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/internal/span/ReactUnderlineSpan.kt +25 -3
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/internal/span/SetSpanOperation.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/internal/span/StatefulSpan.kt +21 -0
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/internal/span/TextEffectSpan.kt +19 -0
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/internal/span/TouchableSpan.kt +29 -0
- package/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.kt +81 -9
- package/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputManager.kt +4 -0
- package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewGroup.kt +3 -17
- package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewManager.kt +8 -0
- package/ReactAndroid/src/main/java/com/facebook/react/views/view/WindowUtil.kt +2 -0
- package/ReactAndroid/src/main/java/com/facebook/react/views/virtual/VirtualViewRenderState.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/virtual/view/ReactVirtualView.kt +7 -8
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaAlign.kt +45 -0
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaBoxSizing.kt +27 -0
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaConfig.kt +15 -0
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaConfigJNIBase.kt +6 -0
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaDimension.kt +27 -0
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaDisplay.kt +31 -0
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaEdge.kt +41 -0
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaErrata.kt +37 -0
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaExperimentalFeature.kt +27 -0
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaFlexDirection.kt +31 -0
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaGridTrackType.kt +33 -0
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaGutter.kt +29 -0
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaJustify.kt +43 -0
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaLogLevel.kt +39 -0
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaMeasureMode.kt +29 -0
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaNative.kt +16 -0
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaNode.kt +12 -2
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaNodeJNIBase.kt +762 -0
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaNodeJNIFinalizer.kt +4 -4
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaNodeType.kt +27 -0
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaOverflow.kt +29 -0
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaPositionType.kt +29 -0
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaProps.kt +24 -2
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaUnit.kt +37 -0
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaWrap.kt +29 -0
- package/ReactAndroid/src/main/jni/CMakeLists.txt +1 -2
- package/ReactAndroid/src/main/jni/first-party/yogajni/jni/YGJNIVanilla.cpp +94 -0
- package/ReactAndroid/src/main/jni/react/devsupport/JCxxInspectorPackagerConnectionDelegateImpl.cpp +3 -0
- package/ReactAndroid/src/main/jni/react/fabric/AndroidAnimationChoreographer.h +10 -10
- package/ReactAndroid/src/main/jni/react/fabric/CoreComponentsRegistry.cpp +3 -0
- package/ReactAndroid/src/main/jni/react/fabric/FabricUIManagerBinding.cpp +12 -15
- package/ReactAndroid/src/main/jni/react/fabric/FabricUIManagerBinding.h +1 -3
- package/ReactAndroid/src/main/jni/react/fabric/test/FabricMountingManagerTest.cpp +159 -0
- package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.cpp +69 -153
- package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.h +15 -33
- package/ReactAndroid/src/main/jni/react/jni/JReactMarker.cpp +10 -24
- package/ReactAndroid/src/main/jni/react/jni/JReactMarker.h +0 -2
- package/ReactAndroid/src/main/jni/react/mapbuffer/react/common/mapbuffer/JWritableMapBuffer.cpp +13 -0
- package/ReactAndroid/src/main/jni/react/runtime/jni/JReactInstance.cpp +4 -1
- package/ReactAndroid/src/main/jni/react/turbomodule/ReactCommon/TurboModuleManager.cpp +8 -0
- package/ReactAndroid/src/main/jni/react/turbomodule/ReactCommon/TurboModuleManager.h +4 -0
- package/ReactAndroid/src/main/res/views/uimanager/values/ids.xml +5 -0
- package/ReactAndroid/src/main/res/views/uimanager/values-zu/strings.xml +3 -0
- package/ReactApple/RCTAnimatedModuleProvider/React-RCTAnimatedModuleProvider.podspec +63 -0
- package/ReactCommon/React-Fabric.podspec +2 -0
- package/ReactCommon/ReactCommon.podspec +2 -12
- package/ReactCommon/cmake-utils/react-native-flags.cmake +1 -3
- package/ReactCommon/cxxreact/CMakeLists.txt +1 -0
- package/ReactCommon/cxxreact/ErrorUtils.h +2 -32
- package/ReactCommon/cxxreact/Instance.cpp +1 -26
- package/ReactCommon/cxxreact/Instance.h +0 -2
- package/ReactCommon/cxxreact/NativeToJsBridge.cpp +3 -2
- package/ReactCommon/cxxreact/RAMBundleRegistry.cpp +0 -12
- package/ReactCommon/cxxreact/RAMBundleRegistry.h +0 -5
- package/ReactCommon/cxxreact/React-cxxreact.podspec +2 -1
- package/ReactCommon/cxxreact/ReactMarker.cpp +4 -30
- package/ReactCommon/cxxreact/ReactMarker.h +38 -21
- package/ReactCommon/cxxreact/ReactNativeVersion.h +2 -2
- package/ReactCommon/cxxreact/TraceSection.h +1 -1
- package/ReactCommon/cxxreact/tests/methodcall.cpp +4 -0
- package/ReactCommon/hermes/executor/HermesExecutorFactory.cpp +6 -79
- package/ReactCommon/jserrorhandler/ErrorUtils.cpp +42 -0
- package/{React/CxxLogUtils/RCTDefaultCxxLogFunction.h → ReactCommon/jserrorhandler/ErrorUtils.h} +2 -2
- package/ReactCommon/jserrorhandler/JsErrorHandler.cpp +1 -1
- package/ReactCommon/jserrorhandler/React-jserrorhandler.podspec +2 -3
- package/ReactCommon/jsi/jsi/hermes-interfaces.h +53 -0
- package/ReactCommon/jsiexecutor/React-jsiexecutor.podspec +2 -1
- package/ReactCommon/jsiexecutor/jsireact/JSIExecutor.cpp +3 -14
- package/ReactCommon/jsiexecutor/jsireact/JSINativeModules.cpp +4 -13
- package/ReactCommon/jsinspector-modern/HostAgent.cpp +54 -0
- package/ReactCommon/jsinspector-modern/HostTarget.h +0 -7
- package/ReactCommon/jsinspector-modern/HostTargetTraceRecording.cpp +10 -7
- package/ReactCommon/jsinspector-modern/InspectorPackagerConnection.cpp +4 -1
- package/ReactCommon/jsinspector-modern/RuntimeAgent.cpp +7 -0
- package/ReactCommon/jsinspector-modern/RuntimeTarget.cpp +20 -0
- package/ReactCommon/jsinspector-modern/RuntimeTarget.h +16 -0
- package/ReactCommon/jsinspector-modern/SessionState.h +31 -0
- package/ReactCommon/jsinspector-modern/tests/HostTargetTest.cpp +53 -0
- package/ReactCommon/jsinspector-modern/tracing/HostTracingProfile.h +14 -1
- package/ReactCommon/jsinspector-modern/tracing/TraceRecordingState.h +11 -0
- package/ReactCommon/react/bridging/ArrayBuffer.h +180 -0
- package/ReactCommon/react/bridging/Bridging.h +1 -0
- package/ReactCommon/react/bridging/Convert.h +12 -0
- package/ReactCommon/react/bridging/React-bridging.podspec +44 -0
- package/ReactCommon/react/bridging/tests/BridgingTest.cpp +185 -11
- package/ReactCommon/react/bridging/tests/ClassTest.cpp +22 -0
- package/ReactCommon/react/cxxstableapi/CMakeLists.txt +18 -0
- package/ReactCommon/react/cxxstableapi/FrameworksGuard.h +35 -0
- package/ReactCommon/react/cxxstableapi/PrivateGuard.h +34 -0
- package/ReactCommon/react/cxxstableapi/React-cxxstableapi.podspec +34 -0
- package/ReactCommon/react/cxxstableapi/UmbrellaGuard.h +53 -0
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.cpp +21 -45
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.h +26 -56
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.cpp +134 -242
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.h +14 -26
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDefaults.h +20 -44
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDynamicProvider.h +43 -97
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsOverridesOSSCanary.h +10 -6
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsOverridesOSSExperimental.h +3 -7
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsOverridesOSSStable.h +0 -8
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsProvider.h +7 -13
- package/ReactCommon/react/nativemodule/core/ReactCommon/TurboModule.h +1 -0
- package/ReactCommon/react/nativemodule/core/iostests/RCTTurboModuleTests.mm +49 -0
- package/ReactCommon/react/nativemodule/core/platform/android/ReactCommon/JavaInteropTurboModule.cpp +4 -0
- package/ReactCommon/react/nativemodule/core/platform/android/ReactCommon/JavaInteropTurboModule.h +4 -0
- package/ReactCommon/react/nativemodule/core/platform/android/ReactCommon/JavaTurboModule.cpp +1 -1
- package/ReactCommon/react/nativemodule/core/platform/ios/React-NativeModulesApple.podspec +1 -1
- package/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTInteropTurboModule.h +4 -0
- package/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTInteropTurboModule.mm +4 -0
- package/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModule.mm +60 -3
- package/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModuleManager.h +0 -9
- package/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModuleManager.mm +37 -139
- package/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModuleWithJSIBindings.h +0 -3
- package/ReactCommon/react/nativemodule/defaults/DefaultTurboModules.cpp +6 -0
- package/ReactCommon/react/nativemodule/dom/NativeDOM.cpp +10 -4
- package/ReactCommon/react/nativemodule/dom/React-domnativemodule.podspec +1 -0
- package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.cpp +25 -55
- package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.h +11 -23
- package/ReactCommon/react/nativemodule/idlecallbacks/React-idlecallbacksnativemodule.podspec +1 -0
- package/ReactCommon/react/nativemodule/intersectionobserver/React-intersectionobservernativemodule.podspec +1 -0
- package/ReactCommon/react/nativemodule/mutationobserver/NativeMutationObserver.cpp +4 -0
- package/ReactCommon/react/nativemodule/mutationobserver/React-mutationobservernativemodule.podspec +1 -0
- package/ReactCommon/react/nativemodule/samples/platform/ios/ReactCommon/RCTSampleTurboModule.h +1 -1
- package/ReactCommon/react/nativemodule/webperformance/React-webperformancenativemodule.podspec +1 -0
- package/ReactCommon/react/renderer/animated/NativeAnimatedNodesManager.cpp +95 -63
- package/ReactCommon/react/renderer/animated/NativeAnimatedNodesManager.h +20 -1
- package/ReactCommon/react/renderer/animated/NativeAnimatedNodesManagerProvider.cpp +7 -10
- package/ReactCommon/react/renderer/animated/drivers/FrameAnimationDriver.cpp +20 -1
- package/ReactCommon/react/renderer/animated/drivers/FrameAnimationDriver.h +1 -0
- package/ReactCommon/react/renderer/animated/nodes/InterpolationAnimatedNode.cpp +67 -6
- package/ReactCommon/react/renderer/animated/nodes/InterpolationAnimatedNode.h +12 -0
- package/ReactCommon/react/renderer/animated/nodes/PropsAnimatedNode.cpp +25 -13
- package/ReactCommon/react/renderer/animated/nodes/PropsAnimatedNode.h +7 -0
- package/ReactCommon/react/renderer/animated/tests/AnimationDriverTests.cpp +48 -0
- package/ReactCommon/react/renderer/animated/tests/DecayAnimationDriverTest.cpp +245 -0
- package/ReactCommon/react/renderer/animated/tests/ManagedPropsMountingOverrideTests.cpp +204 -0
- package/ReactCommon/react/renderer/animationbackend/AnimatedPropsRegistry.cpp +10 -1
- package/ReactCommon/react/renderer/animationbackend/AnimatedPropsRegistry.h +1 -0
- package/ReactCommon/react/renderer/animationbackend/AnimationBackend.cpp +17 -0
- package/ReactCommon/react/renderer/animations/tests/LayoutAnimationTest.cpp +0 -2
- package/ReactCommon/react/renderer/attributedstring/TextAttributes.cpp +6 -2
- package/ReactCommon/react/renderer/attributedstring/TextAttributes.h +25 -1
- package/ReactCommon/react/renderer/attributedstring/conversions.h +29 -1
- package/ReactCommon/react/renderer/attributedstring/primitives.h +4 -2
- package/ReactCommon/react/renderer/attributedstring/tests/ParagraphAttributesTest.cpp +73 -0
- package/ReactCommon/react/renderer/componentregistry/ComponentDescriptorRegistry.cpp +6 -0
- package/ReactCommon/react/renderer/components/image/ImageProps.cpp +79 -126
- package/ReactCommon/react/renderer/components/legacyviewmanagerinterop/LegacyViewManagerInteropShadowNode.cpp +4 -0
- package/ReactCommon/react/renderer/components/legacyviewmanagerinterop/LegacyViewManagerInteropShadowNode.h +4 -0
- package/ReactCommon/react/renderer/components/legacyviewmanagerinterop/LegacyViewManagerInteropState.h +4 -0
- package/ReactCommon/react/renderer/components/legacyviewmanagerinterop/LegacyViewManagerInteropViewProps.cpp +5 -0
- package/ReactCommon/react/renderer/components/legacyviewmanagerinterop/LegacyViewManagerInteropViewProps.h +4 -0
- package/ReactCommon/react/renderer/components/legacyviewmanagerinterop/UnstableLegacyViewManagerAutomaticComponentDescriptor.cpp +5 -0
- package/ReactCommon/react/renderer/components/legacyviewmanagerinterop/UnstableLegacyViewManagerAutomaticComponentDescriptor.h +4 -0
- package/ReactCommon/react/renderer/components/legacyviewmanagerinterop/UnstableLegacyViewManagerAutomaticShadowNode.cpp +4 -0
- package/ReactCommon/react/renderer/components/legacyviewmanagerinterop/UnstableLegacyViewManagerAutomaticShadowNode.h +4 -0
- package/ReactCommon/react/renderer/components/legacyviewmanagerinterop/UnstableLegacyViewManagerInteropComponentDescriptor.h +4 -0
- package/ReactCommon/react/renderer/components/legacyviewmanagerinterop/platform/ios/react/renderer/components/legacyviewmanagerinterop/LegacyViewManagerInteropComponentDescriptor.h +4 -0
- package/ReactCommon/react/renderer/components/legacyviewmanagerinterop/platform/ios/react/renderer/components/legacyviewmanagerinterop/LegacyViewManagerInteropComponentDescriptor.mm +5 -0
- package/ReactCommon/react/renderer/components/legacyviewmanagerinterop/platform/ios/react/renderer/components/legacyviewmanagerinterop/RCTLegacyViewManagerInteropCoordinator.h +4 -0
- package/ReactCommon/react/renderer/components/legacyviewmanagerinterop/platform/ios/react/renderer/components/legacyviewmanagerinterop/RCTLegacyViewManagerInteropCoordinator.mm +5 -0
- package/ReactCommon/react/renderer/components/scrollview/BaseScrollViewProps.cpp +235 -352
- package/ReactCommon/react/renderer/components/scrollview/platform/android/react/renderer/components/scrollview/HostPlatformScrollViewProps.cpp +30 -46
- package/ReactCommon/react/renderer/components/text/BaseParagraphProps.cpp +17 -27
- package/ReactCommon/react/renderer/components/text/BaseTextProps.cpp +8 -10
- package/ReactCommon/react/renderer/components/text/BaseTextShadowNode.cpp +19 -0
- package/ReactCommon/react/renderer/components/text/TextEffectComponentDescriptor.h +17 -0
- package/ReactCommon/react/renderer/components/text/TextEffectProps.cpp +59 -0
- package/ReactCommon/react/renderer/components/text/TextEffectProps.h +30 -0
- package/{Libraries/Text/VirtualText/RCTVirtualTextView.mm → ReactCommon/react/renderer/components/text/TextEffectShadowNode.cpp} +4 -6
- package/ReactCommon/react/renderer/components/text/TextEffectShadowNode.h +26 -0
- package/ReactCommon/react/renderer/components/text/platform/android/react/renderer/components/text/HostPlatformParagraphProps.cpp +18 -28
- package/ReactCommon/react/renderer/components/text/tests/BaseTextShadowNodeTest.cpp +15 -0
- package/ReactCommon/react/renderer/components/textinput/platform/android/react/renderer/components/androidtextinput/AndroidTextInputProps.cpp +42 -50
- package/ReactCommon/react/renderer/components/view/AccessibilityProps.cpp +168 -754
- package/ReactCommon/react/renderer/components/view/AccessibilityProps.h +0 -9
- package/ReactCommon/react/renderer/components/view/BaseViewProps.cpp +248 -312
- package/ReactCommon/react/renderer/components/view/ViewShadowNode.cpp +0 -6
- package/ReactCommon/react/renderer/components/view/ViewShadowNode.h +2 -12
- package/ReactCommon/react/renderer/components/view/YogaLayoutableShadowNode.cpp +73 -27
- package/ReactCommon/react/renderer/components/view/YogaLayoutableShadowNode.h +7 -9
- package/ReactCommon/react/renderer/components/view/YogaStylableProps.cpp +3 -11
- package/ReactCommon/react/renderer/components/view/platform/android/react/renderer/components/view/HostPlatformViewProps.cpp +82 -162
- package/ReactCommon/react/renderer/components/view/primitives.h +5 -0
- package/ReactCommon/react/renderer/components/view/propsConversions.h +74 -42
- package/ReactCommon/react/renderer/components/view/tests/LayoutTest.cpp +5 -5
- package/ReactCommon/react/renderer/components/view/tests/ViewTest.cpp +353 -6
- package/ReactCommon/react/renderer/core/ConcreteComponentDescriptor.h +41 -16
- package/ReactCommon/react/renderer/core/ConcreteShadowNode.h +19 -0
- package/ReactCommon/react/renderer/core/EventEmitter.cpp +20 -4
- package/ReactCommon/react/renderer/core/LayoutMetrics.h +3 -0
- package/ReactCommon/react/renderer/core/Props.cpp +8 -39
- package/ReactCommon/react/renderer/core/Props.h +63 -13
- package/ReactCommon/react/renderer/core/RawProps.cpp +20 -3
- package/ReactCommon/react/renderer/core/RawProps.h +44 -0
- package/ReactCommon/react/renderer/core/RawPropsKeyMap.cpp +11 -27
- package/ReactCommon/react/renderer/core/RawPropsKeyMap.h +3 -3
- package/ReactCommon/react/renderer/core/RawPropsParser.cpp +4 -6
- package/ReactCommon/react/renderer/core/RawPropsParser.h +3 -3
- package/ReactCommon/react/renderer/core/ShadowNode.cpp +27 -19
- package/ReactCommon/react/renderer/core/ShadowNodeFamily.h +2 -0
- package/ReactCommon/react/renderer/core/StateData.h +4 -4
- package/ReactCommon/react/renderer/core/propsConversions.h +3 -7
- package/ReactCommon/react/renderer/core/tests/ComponentDescriptorTest.cpp +8 -0
- package/ReactCommon/react/renderer/core/tests/FindNodeAtPointTest.cpp +7 -7
- package/ReactCommon/react/renderer/core/tests/LayoutableShadowNodeTest.cpp +19 -19
- package/ReactCommon/react/renderer/core/tests/PropsConceptsTest.cpp +135 -0
- package/ReactCommon/react/renderer/core/tests/RawPropsTest.cpp +43 -53
- package/ReactCommon/react/renderer/element/tests/ElementTest.cpp +3 -3
- package/ReactCommon/react/renderer/imagemanager/platform/android/react/renderer/imagemanager/conversions.h +17 -0
- package/ReactCommon/react/renderer/imagemanager/platform/ios/react/renderer/imagemanager/RCTSyncImageManager.mm +1 -1
- package/ReactCommon/react/renderer/mapbuffer/MapBuffer.cpp +123 -33
- package/ReactCommon/react/renderer/mapbuffer/MapBuffer.h +26 -14
- package/ReactCommon/react/renderer/mapbuffer/MapBufferBuilder.cpp +96 -53
- package/ReactCommon/react/renderer/mapbuffer/MapBufferBuilder.h +4 -0
- package/ReactCommon/react/renderer/mapbuffer/tests/MapBufferTest.cpp +96 -1
- package/ReactCommon/react/renderer/mounting/Differentiator.cpp +29 -318
- package/ReactCommon/react/renderer/mounting/ShadowTree.cpp +105 -33
- package/ReactCommon/react/renderer/mounting/ShadowTree.h +2 -0
- package/ReactCommon/react/renderer/mounting/tests/DifferentiatorUnflattenTest.cpp +11 -3
- package/ReactCommon/react/renderer/mounting/tests/OrderIndexTest.cpp +1 -1
- package/ReactCommon/react/renderer/mounting/tests/ShadowTreeLifeCycleTest.cpp +15 -250
- package/ReactCommon/react/renderer/mounting/tests/ShadowTreeReactBranchingTest.cpp +141 -0
- package/ReactCommon/react/renderer/mounting/tests/StackingContextTest.cpp +1 -1
- package/ReactCommon/react/renderer/runtimescheduler/CMakeLists.txt +1 -0
- package/ReactCommon/react/renderer/runtimescheduler/React-runtimescheduler.podspec +1 -0
- package/ReactCommon/react/renderer/runtimescheduler/RuntimeScheduler.cpp +22 -2
- package/ReactCommon/react/renderer/runtimescheduler/RuntimeScheduler.h +13 -2
- package/ReactCommon/react/renderer/runtimescheduler/RuntimeScheduler_Legacy.cpp +13 -0
- package/ReactCommon/react/renderer/runtimescheduler/RuntimeScheduler_Legacy.h +9 -0
- package/ReactCommon/react/renderer/runtimescheduler/RuntimeScheduler_Modern.cpp +43 -5
- package/ReactCommon/react/renderer/runtimescheduler/RuntimeScheduler_Modern.h +17 -1
- package/ReactCommon/react/renderer/runtimescheduler/Task.h +4 -0
- package/ReactCommon/react/renderer/runtimescheduler/tests/RuntimeSchedulerTest.cpp +113 -8
- package/ReactCommon/react/renderer/scheduler/Scheduler.cpp +14 -6
- package/ReactCommon/react/renderer/scheduler/Scheduler.h +3 -2
- package/ReactCommon/react/renderer/scheduler/SurfaceHandler.cpp +1 -85
- package/ReactCommon/react/renderer/scheduler/SurfaceHandler.h +0 -6
- package/ReactCommon/react/renderer/scheduler/tests/SchedulerDelegateInvalidationTest.cpp +671 -0
- package/ReactCommon/react/renderer/textlayoutmanager/TextMeasureCache.h +22 -5
- package/ReactCommon/react/renderer/textlayoutmanager/platform/android/react/renderer/textlayoutmanager/TextLayoutManager.cpp +4 -2
- package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTAttributedTextUtils.h +11 -0
- package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTAttributedTextUtils.mm +65 -26
- package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTTextLayoutManager.mm +193 -1
- package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTTextPrimitivesConversions.h +14 -2
- package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/TextLayoutManager.mm +2 -1
- package/ReactCommon/react/renderer/textlayoutmanager/tests/TextLayoutManagerTest.cpp +86 -5
- package/ReactCommon/react/renderer/uimanager/UIManager.cpp +89 -94
- package/ReactCommon/react/renderer/uimanager/UIManager.h +2 -2
- package/ReactCommon/react/renderer/uimanager/UIManagerDelegate.h +1 -1
- package/ReactCommon/react/renderer/uimanager/tests/FabricUIManagerTest.cpp +144 -3
- package/ReactCommon/react/renderer/uimanager/tests/FindShadowNodeByTagTest.cpp +1 -52
- package/ReactCommon/react/renderer/uimanager/tests/PointerEventsProcessorTest.cpp +4 -4
- package/ReactCommon/react/renderer/viewtransition/ViewTransitionModule.cpp +88 -39
- package/ReactCommon/react/renderer/viewtransition/ViewTransitionModule.h +12 -2
- package/ReactCommon/react/runtime/PlatformTimerRegistry.h +10 -0
- package/ReactCommon/react/runtime/ReactInstance.cpp +79 -64
- package/ReactCommon/react/runtime/hermes/HermesInstance.cpp +0 -89
- package/ReactCommon/react/runtime/iostests/MainQueueCoordinatorTests.mm +99 -0
- package/ReactCommon/react/runtime/iostests/RCTInstanceTests.mm +244 -0
- package/ReactCommon/react/runtime/platform/ios/ReactCommon/ObjCTimerRegistry.h +1 -1
- package/ReactCommon/react/runtime/platform/ios/ReactCommon/RCTInstance.mm +47 -30
- package/ReactCommon/react/runtime/platform/ios/ReactCommon/RCTJscInstance.mm +3 -2
- package/ReactCommon/react/runtime/platform/ios/ReactCommon/RCTPerformanceLoggerUtils.mm +3 -2
- package/ReactCommon/react/runtime/tests/cxx/ReactInstanceTest.cpp +27 -3
- package/ReactCommon/react/runtime/tests/cxx/RuntimeExecutorShutdownTest.cpp +155 -0
- package/ReactCommon/react/utils/Telemetry.h +0 -13
- package/ReactCommon/react/utils/tests/Base64Tests.cpp +36 -0
- package/ReactCommon/reactperflogger/reactperflogger/ReactPerfettoLogger.cpp +0 -1
- package/ReactCommon/runtimeexecutor/platform/ios/ReactCommon/RuntimeExecutorSyncUIThreadUtils.mm +21 -38
- package/ReactCommon/yoga/Yoga.podspec +1 -1
- package/ReactCommon/yoga/yoga/YGEnums.cpp +2 -0
- package/ReactCommon/yoga/yoga/YGEnums.h +1 -0
- package/ReactCommon/yoga/yoga/YGNode.cpp +27 -0
- package/ReactCommon/yoga/yoga/YGNode.h +69 -0
- package/ReactCommon/yoga/yoga/YGNodeLayout.h +0 -2
- package/ReactCommon/yoga/yoga/algorithm/AbsoluteLayout.cpp +2 -1
- package/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp +294 -17
- package/ReactCommon/yoga/yoga/algorithm/CalculateLayout.h +1 -1
- package/ReactCommon/yoga/yoga/config/Config.h +1 -1
- package/ReactCommon/yoga/yoga/enums/Errata.h +1 -0
- package/ReactCommon/yoga/yoga/node/LayoutResults.h +8 -0
- package/ReactCommon/yoga/yoga/node/Node.cpp +32 -0
- package/ReactCommon/yoga/yoga/node/Node.h +33 -0
- package/changes.json +6 -14
- package/cli.js +3 -182
- package/flow/bom.js.flow +42 -42
- package/flow/cssom.js.flow +21 -21
- package/flow/dom.js.flow +128 -128
- package/flow/global.js +6 -0
- package/gradle/libs.versions.toml +7 -5
- package/index.js +53 -86
- package/index.js.flow +53 -23
- package/package.json +49 -68
- package/react-native.config.js +82 -1
- package/scripts/cocoapods/fabric.rb +1 -1
- package/scripts/cocoapods/jsengine.rb +1 -1
- package/scripts/cocoapods/new_architecture.rb +1 -1
- package/scripts/cocoapods/rncore.rb +36 -78
- package/scripts/cocoapods/rncore_facades.rb +232 -0
- package/scripts/cocoapods/rndependencies.rb +64 -3
- package/scripts/cocoapods/rndeps_facades.rb +193 -0
- package/scripts/cocoapods/spm.rb +78 -11
- package/scripts/cocoapods/utils.rb +5 -7
- package/scripts/codegen/generate-artifacts-executor/generateSchemaInfos.js +0 -1
- package/scripts/codegen/templates/Package.swift.spm-template +97 -0
- package/scripts/codegen/templates/ReactCodegen.podspec.template +1 -1
- package/scripts/hermes/hermes-utils.js +27 -58
- package/scripts/react-native-xcode.sh +20 -0
- package/scripts/react_native_pods.rb +71 -21
- package/scripts/react_native_pods_utils/script_phases.sh +4 -3
- package/scripts/replace-rncore-version.js +57 -86
- package/scripts/setup-apple-spm.js +1267 -0
- package/scripts/spm/__doc__/rfc-spm-xcframework.md +707 -0
- package/scripts/spm/__doc__/spm-autolinking-plugins.md +244 -0
- package/scripts/spm/__doc__/spm-header-paths-contract.md +97 -0
- package/scripts/spm/__doc__/spm-plugins-assessment.md +128 -0
- package/scripts/spm/__doc__/spm-scripts.md +486 -0
- package/scripts/spm/autolinking-plugins.js +331 -0
- package/scripts/spm/download-spm-artifacts.js +1409 -0
- package/scripts/spm/expand-spm-dependencies.js +216 -0
- package/scripts/spm/flavored-frameworks.js +1008 -0
- package/scripts/spm/generate-spm-autolinking-config.js +221 -0
- package/scripts/spm/generate-spm-autolinking.js +1888 -0
- package/scripts/spm/generate-spm-package.js +302 -0
- package/scripts/spm/generate-spm-xcodeproj.js +2266 -0
- package/scripts/spm/read-podspec.js +695 -0
- package/scripts/spm/scaffold-package-swift.js +1206 -0
- package/scripts/spm/spm-pbxproj.js +654 -0
- package/scripts/spm/spm-types.js +520 -0
- package/scripts/spm/spm-utils.js +645 -0
- package/scripts/spm/sync-spm-autolinking.js +160 -0
- package/sdks/.hermesv1version +1 -1
- package/sdks/hermes-engine/hermes-engine.podspec +9 -39
- package/sdks/hermes-engine/hermes-utils.rb +19 -73
- package/sdks/hermes-engine/utils/replace_hermes_version.js +18 -4
- package/sdks/hermes-engine/version.properties +1 -2
- package/settings.gradle.kts +0 -43
- package/src/asset-registry.js +29 -0
- package/src/private/animated/NativeAnimatedHelper.js +45 -21
- package/src/private/assets/AssetRegistry.js +52 -0
- package/src/private/{specs_DEPRECATED/components → components/activityindicator/specs}/ActivityIndicatorViewNativeComponent.js +5 -5
- package/src/private/{specs_DEPRECATED/components → components/debuggingoverlay/specs}/DebuggingOverlayNativeComponent.js +8 -8
- package/src/private/{specs_DEPRECATED/components → components/drawerlayoutandroid/specs}/AndroidDrawerLayoutNativeComponent.js +8 -8
- package/src/private/{specs_DEPRECATED/components → components/inputaccessoryview/specs}/RCTInputAccessoryViewNativeComponent.js +4 -4
- package/src/private/{specs_DEPRECATED/components → components/modal/specs}/RCTModalHostViewNativeComponent.js +4 -9
- package/src/private/{specs_DEPRECATED/components → components/progressbarandroid/specs}/ProgressBarAndroidNativeComponent.js +5 -5
- package/src/private/{specs_DEPRECATED/components → components/refreshcontrol/specs}/AndroidSwipeRefreshLayoutNativeComponent.js +7 -7
- package/src/private/{specs_DEPRECATED/components → components/refreshcontrol/specs}/PullToRefreshViewNativeComponent.js +7 -7
- package/src/private/components/safeareaview/SafeAreaView_INTERNAL_DO_NOT_USE.js +2 -2
- package/src/private/{specs_DEPRECATED/components → components/safeareaview/specs}/RCTSafeAreaViewNativeComponent.js +3 -3
- package/src/private/components/scrollview/HScrollViewNativeComponents.js +1 -1
- package/src/private/{specs_DEPRECATED/components → components/scrollview/specs}/AndroidHorizontalScrollContentViewNativeComponent.js +3 -3
- package/src/private/{specs_DEPRECATED/components → components/switch/specs}/AndroidSwitchNativeComponent.js +7 -7
- package/src/private/{specs_DEPRECATED/components → components/switch/specs}/SwitchNativeComponent.js +10 -7
- package/src/private/{specs_DEPRECATED/components → components/unimplementedview/specs}/UnimplementedNativeViewNativeComponent.js +4 -4
- package/src/private/components/virtualcollection/Virtual.js +5 -5
- package/src/private/components/virtualcollection/VirtualCollectionView.js +2 -6
- package/src/private/components/virtualcollection/column/VirtualColumn.js +1 -1
- package/src/private/components/virtualcollection/row/VirtualRow.js +1 -1
- package/src/private/devsupport/devmenu/elementinspector/Inspector.js +3 -1
- package/src/private/devsupport/devmenu/specs/NativeDevMenu.js +4 -4
- package/src/private/devsupport/rndevtools/specs/NativeReactDevToolsRuntimeSettingsModule.js +4 -2
- package/src/private/devsupport/rndevtools/specs/NativeReactDevToolsSettingsManager.js +2 -2
- package/src/private/featureflags/ReactNativeFeatureFlags.js +46 -70
- package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +88 -94
- package/src/private/renderer/errorhandling/ErrorHandlers.js +2 -2
- package/src/private/renderer/events/ReactNativeResponder.js +49 -4
- package/src/private/renderer/events/ResponderTouchHistoryStore.js +11 -2
- package/src/private/renderer/events/dispatchNativeEvent.js +71 -36
- package/src/private/setup/setUpDOM.js +19 -9
- package/src/private/setup/setUpIntersectionObserver.js +7 -0
- package/src/private/setup/setUpMutationObserver.js +3 -1
- package/src/private/specs_DEPRECATED/modules/NativeAccessibilityInfo.js +9 -9
- package/src/private/specs_DEPRECATED/modules/NativeAccessibilityManager.js +24 -24
- package/src/private/specs_DEPRECATED/modules/NativeActionSheetManager.js +28 -28
- package/src/private/specs_DEPRECATED/modules/NativeAlertManager.js +1 -1
- package/src/private/specs_DEPRECATED/modules/NativeAnimatedModule.js +45 -25
- package/src/private/specs_DEPRECATED/modules/NativeAnimatedTurboModule.js +44 -24
- package/src/private/specs_DEPRECATED/modules/NativeAppState.js +4 -4
- package/src/private/specs_DEPRECATED/modules/NativeAppearance.js +8 -6
- package/src/private/specs_DEPRECATED/modules/NativeBlobModule.js +7 -7
- package/src/private/specs_DEPRECATED/modules/NativeClipboard.js +3 -3
- package/src/private/specs_DEPRECATED/modules/NativeDevLoadingView.js +2 -2
- package/src/private/specs_DEPRECATED/modules/NativeDevSettings.js +11 -11
- package/src/private/specs_DEPRECATED/modules/NativeDeviceEventManager.js +1 -1
- package/src/private/specs_DEPRECATED/modules/NativeDeviceInfo.js +4 -4
- package/src/private/specs_DEPRECATED/modules/NativeDialogManagerAndroid.js +7 -7
- package/src/private/specs_DEPRECATED/modules/NativeExceptionsManager.js +4 -4
- package/src/private/specs_DEPRECATED/modules/NativeFileReaderModule.js +2 -2
- package/src/private/specs_DEPRECATED/modules/NativeFrameRateLogger.js +4 -4
- package/src/private/specs_DEPRECATED/modules/NativeHeadlessJsTaskSupport.js +2 -2
- package/src/private/specs_DEPRECATED/modules/NativeI18nManager.js +1 -1
- package/src/private/specs_DEPRECATED/modules/NativeImageEditor.js +13 -13
- package/src/private/specs_DEPRECATED/modules/NativeImageLoaderAndroid.js +9 -6
- package/src/private/specs_DEPRECATED/modules/NativeImageLoaderIOS.js +6 -6
- package/src/private/specs_DEPRECATED/modules/NativeImageStoreAndroid.js +2 -2
- package/src/private/specs_DEPRECATED/modules/NativeImageStoreIOS.js +8 -5
- package/src/private/specs_DEPRECATED/modules/NativeIntentAndroid.js +5 -5
- package/src/private/specs_DEPRECATED/modules/NativeJSCHeapCapture.js +1 -1
- package/src/private/specs_DEPRECATED/modules/NativeKeyboardObserver.js +2 -2
- package/src/private/specs_DEPRECATED/modules/NativeLinkingManager.js +6 -6
- package/src/private/specs_DEPRECATED/modules/NativeLogBox.js +2 -2
- package/src/private/specs_DEPRECATED/modules/NativeModalManager.js +2 -2
- package/src/private/specs_DEPRECATED/modules/NativeNetworkingAndroid.js +5 -5
- package/src/private/specs_DEPRECATED/modules/NativeNetworkingIOS.js +6 -6
- package/src/private/specs_DEPRECATED/modules/NativePermissionsAndroid.js +6 -4
- package/src/private/specs_DEPRECATED/modules/NativePlatformConstantsAndroid.js +2 -2
- package/src/private/specs_DEPRECATED/modules/NativePlatformConstantsIOS.js +1 -1
- package/src/private/specs_DEPRECATED/modules/NativePushNotificationManagerIOS.js +35 -31
- package/src/private/specs_DEPRECATED/modules/NativeRedBox.js +2 -2
- package/src/private/specs_DEPRECATED/modules/NativeSampleTurboModule.js +24 -24
- package/src/private/specs_DEPRECATED/modules/NativeSegmentFetcher.js +2 -2
- package/src/private/specs_DEPRECATED/modules/NativeSettingsManager.js +3 -3
- package/src/private/specs_DEPRECATED/modules/NativeShareModule.js +2 -2
- package/src/private/specs_DEPRECATED/modules/NativeSoundManager.js +1 -1
- package/src/private/specs_DEPRECATED/modules/NativeSourceCode.js +1 -1
- package/src/private/specs_DEPRECATED/modules/NativeStatusBarManagerAndroid.js +5 -17
- package/src/private/specs_DEPRECATED/modules/NativeStatusBarManagerIOS.js +10 -15
- package/src/private/specs_DEPRECATED/modules/NativeTiming.js +3 -3
- package/src/private/specs_DEPRECATED/modules/NativeToastAndroid.js +4 -4
- package/src/private/specs_DEPRECATED/modules/NativeUIManager.js +35 -22
- package/src/private/specs_DEPRECATED/modules/NativeVibration.js +4 -4
- package/src/private/specs_DEPRECATED/modules/NativeWebSocketModule.js +7 -7
- package/src/private/types/HostInstance.js +38 -80
- package/src/private/viewtransition/specs/NativeViewTransition.js +6 -4
- package/src/private/webapis/dom/abort-api/AbortController.js +92 -0
- package/src/private/webapis/dom/abort-api/AbortSignal.js +243 -0
- package/src/private/webapis/dom/events/CustomEvent.js +1 -1
- package/src/private/webapis/dom/events/Event.js +12 -12
- package/src/private/webapis/dom/events/EventTarget.js +146 -37
- package/src/private/webapis/dom/events/internals/EventInternals.js +36 -0
- package/src/private/webapis/dom/events/internals/EventTargetInternals.js +38 -3
- package/src/private/webapis/dom/nodes/ReactNativeDocument.js +11 -0
- package/src/private/webapis/dom/nodes/ReactNativeElement.js +105 -4
- package/src/private/webapis/dom/nodes/ReadOnlyCharacterData.js +11 -0
- package/src/private/webapis/dom/nodes/ReadOnlyElement.js +9 -0
- package/src/private/webapis/dom/nodes/ReadOnlyNode.js +34 -7
- package/src/private/webapis/dom/nodes/ReadOnlyText.js +33 -0
- package/src/private/webapis/dom/nodes/specs/NativeDOM.js +46 -42
- package/src/private/webapis/dom/oldstylecollections/HTMLCollection.js +12 -0
- package/src/private/webapis/dom/oldstylecollections/HTMLCollection.js.flow +4 -2
- package/src/private/webapis/dom/oldstylecollections/NodeList.js +10 -0
- package/src/private/webapis/dom/oldstylecollections/NodeList.js.flow +4 -3
- package/src/private/webapis/errors/DOMException.js +50 -50
- package/src/private/webapis/geometry/DOMRectList.js +12 -0
- package/src/private/webapis/geometry/DOMRectList.js.flow +3 -1
- package/src/private/webapis/html/events/MessageEvent.js +3 -3
- package/src/private/webapis/idlecallbacks/specs/NativeIdleCallbacks.js +2 -2
- package/src/private/webapis/intersectionobserver/IntersectionObserverEntry.js +13 -0
- package/src/private/webapis/intersectionobserver/internals/IntersectionObserverManager.js +3 -7
- package/src/private/webapis/intersectionobserver/specs/NativeIntersectionObserver.js +5 -5
- package/src/private/webapis/microtasks/specs/NativeMicrotasks.js +1 -1
- package/src/private/webapis/mutationobserver/MutationObserver.js +7 -7
- package/src/private/webapis/mutationobserver/MutationRecord.js +12 -0
- package/src/private/webapis/mutationobserver/internals/MutationObserverManager.js +5 -7
- package/src/private/webapis/mutationobserver/specs/NativeMutationObserver.js +5 -5
- package/src/private/webapis/performance/EventTiming.js +3 -3
- package/src/private/webapis/performance/PerformanceEntry.js +3 -3
- package/src/private/webapis/performance/PerformanceObserver.js +4 -4
- package/src/private/webapis/performance/ResourceTiming.js +13 -13
- package/src/private/webapis/performance/UserTiming.js +3 -3
- package/src/private/webapis/performance/internals/Utilities.js +1 -1
- package/src/private/webapis/performance/specs/NativePerformance.js +26 -20
- package/src/private/webapis/utils/ArrayLikeUtils.js +1 -1
- package/src/private/webapis/websockets/events/CloseEvent.js +3 -3
- package/src/private/webapis/xhr/events/ProgressEvent.js +3 -3
- package/src/react-private-interface.js +145 -0
- package/src/react-private-interface.js.flow +48 -0
- package/src/setup-env.js +22 -0
- package/src/types/globals.d.ts +33 -1
- package/src/unstable-internals-do-not-use.d.ts +214 -0
- package/src/unstable-internals-do-not-use.js +76 -0
- package/third-party-podspecs/ReactNativeDependencies.podspec +2 -2
- package/types/index.d.ts +0 -1
- package/types/public/DeprecatedPropertiesAlias.d.ts +0 -4
- package/types/public/ReactNativeTypes.d.ts +4 -2
- package/types_generated/Libraries/ActionSheetIOS/ActionSheetIOS.d.ts +26 -31
- package/types_generated/Libraries/Alert/Alert.d.ts +44 -7
- package/types_generated/Libraries/Animated/AnimatedEvent.d.ts +2 -2
- package/types_generated/Libraries/Animated/AnimatedExports.d.ts +2 -2
- package/types_generated/Libraries/Animated/AnimatedImplementation.d.ts +107 -3
- package/types_generated/Libraries/Animated/Easing.d.ts +5 -4
- package/types_generated/Libraries/Animated/animations/Animation.d.ts +7 -7
- package/types_generated/Libraries/Animated/animations/DecayAnimation.d.ts +5 -5
- package/types_generated/Libraries/Animated/animations/SpringAnimation.d.ts +49 -49
- package/types_generated/Libraries/Animated/animations/TimingAnimation.d.ts +13 -13
- package/types_generated/Libraries/Animated/components/AnimatedFlatList.d.ts +3 -3
- package/types_generated/Libraries/Animated/components/AnimatedSectionList.d.ts +3 -3
- package/types_generated/Libraries/Animated/createAnimatedComponent.d.ts +4 -4
- package/types_generated/Libraries/Animated/nodes/AnimatedColor.d.ts +2 -2
- package/types_generated/Libraries/Animated/nodes/AnimatedInterpolation.d.ts +9 -9
- package/types_generated/Libraries/Animated/nodes/AnimatedNode.d.ts +3 -3
- package/types_generated/Libraries/AppState/AppState.d.ts +41 -22
- package/types_generated/Libraries/BatchedBridge/NativeModules.d.ts +8 -1
- package/types_generated/Libraries/Blob/BlobTypes.d.ts +4 -4
- package/types_generated/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +37 -46
- package/types_generated/Libraries/Components/ActivityIndicator/ActivityIndicator.d.ts +92 -43
- package/types_generated/Libraries/Components/Button.d.ts +118 -197
- package/types_generated/Libraries/Components/Clipboard/Clipboard.d.ts +6 -1
- package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidTypes.d.ts +44 -63
- package/types_generated/Libraries/Components/Keyboard/Keyboard.d.ts +30 -61
- package/types_generated/Libraries/Components/Keyboard/KeyboardAvoidingView.d.ts +30 -21
- package/types_generated/Libraries/Components/Pressable/Pressable.d.ts +41 -17
- package/types_generated/Libraries/Components/Pressable/useAndroidRippleForView.d.ts +6 -6
- package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.d.ts +5 -5
- package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidTypes.d.ts +18 -1
- package/types_generated/Libraries/Components/RefreshControl/RefreshControl.d.ts +35 -52
- package/types_generated/Libraries/Components/SafeAreaView/SafeAreaView.d.ts +9 -11
- package/types_generated/Libraries/Components/ScrollView/ScrollView.d.ts +212 -88
- package/types_generated/Libraries/Components/ScrollView/ScrollViewStickyHeader.d.ts +4 -4
- package/types_generated/Libraries/Components/StatusBar/StatusBar.d.ts +29 -62
- package/types_generated/Libraries/Components/Switch/Switch.d.ts +75 -70
- package/types_generated/Libraries/Components/TextInput/InputAccessoryView.d.ts +16 -65
- package/types_generated/Libraries/Components/TextInput/TextInput.d.ts +118 -3
- package/types_generated/Libraries/Components/TextInput/TextInput.flow.d.ts +23 -8
- package/types_generated/Libraries/Components/ToastAndroid/ToastAndroid.d.ts +18 -18
- package/types_generated/Libraries/Components/Touchable/TouchableHighlight.d.ts +24 -13
- package/types_generated/Libraries/Components/Touchable/TouchableNativeFeedback.d.ts +27 -64
- package/types_generated/Libraries/Components/Touchable/TouchableOpacity.d.ts +18 -6
- package/types_generated/Libraries/Components/Touchable/TouchableWithoutFeedback.d.ts +28 -28
- package/types_generated/Libraries/Components/View/View.d.ts +13 -9
- package/types_generated/Libraries/Components/View/ViewAccessibility.d.ts +28 -17
- package/types_generated/Libraries/Components/View/ViewNativeComponent.d.ts +1 -2
- package/types_generated/Libraries/Components/View/ViewPropTypes.d.ts +75 -24
- package/types_generated/Libraries/Core/ExtendedError.d.ts +10 -10
- package/types_generated/Libraries/EventEmitter/NativeEventEmitter.d.ts +34 -1
- package/types_generated/Libraries/EventEmitter/RCTNativeAppEventEmitter.d.ts +4 -1
- package/types_generated/Libraries/Image/AssetSourceResolver.d.ts +2 -13
- package/types_generated/Libraries/Image/ImageBackground.d.ts +33 -22
- package/types_generated/Libraries/Image/ImageProps.d.ts +201 -251
- package/types_generated/Libraries/Image/ImageTypes.flow.d.ts +6 -5
- package/types_generated/Libraries/Interaction/PanResponder.d.ts +103 -97
- package/types_generated/Libraries/LayoutAnimation/LayoutAnimation.d.ts +18 -7
- package/types_generated/Libraries/Linking/Linking.d.ts +28 -20
- package/types_generated/Libraries/Lists/FlatList.d.ts +17 -18
- package/types_generated/Libraries/Lists/SectionList.d.ts +10 -5
- package/types_generated/Libraries/Lists/VirtualizedList.d.ts +3 -1
- package/types_generated/Libraries/Lists/VirtualizedSectionList.d.ts +3 -1
- package/types_generated/Libraries/LogBox/Data/LogBoxData.d.ts +2 -2
- package/types_generated/Libraries/LogBox/Data/LogBoxLog.d.ts +2 -2
- package/types_generated/Libraries/LogBox/Data/parseLogBoxLog.d.ts +2 -2
- package/types_generated/Libraries/LogBox/LogBox.d.ts +4 -1
- package/types_generated/Libraries/Modal/Modal.d.ts +70 -35
- package/types_generated/Libraries/Network/FormData.d.ts +5 -5
- package/types_generated/Libraries/Performance/Systrace.d.ts +11 -1
- package/types_generated/Libraries/PermissionsAndroid/PermissionsAndroid.d.ts +31 -21
- package/types_generated/Libraries/Pressability/Pressability.d.ts +5 -5
- package/types_generated/Libraries/PushNotificationIOS/PushNotificationIOS.d.ts +15 -11
- package/types_generated/Libraries/ReactNative/AppRegistry.flow.d.ts +5 -5
- package/types_generated/Libraries/ReactNative/AppRegistryImpl.d.ts +56 -9
- package/types_generated/Libraries/ReactNative/I18nManager.d.ts +20 -1
- package/types_generated/Libraries/ReactNative/IPerformanceLogger.flow.d.ts +5 -5
- package/types_generated/Libraries/ReactPrivate/ReactNativePrivateInterface.d.ts +6 -22
- package/types_generated/Libraries/Renderer/shims/ReactNativeTypes.d.ts +34 -34
- package/types_generated/Libraries/Share/Share.d.ts +36 -39
- package/types_generated/Libraries/StyleSheet/PlatformColorValueTypes.d.ts +7 -1
- package/types_generated/Libraries/StyleSheet/PlatformColorValueTypesIOS.d.ts +3 -3
- package/types_generated/Libraries/StyleSheet/StyleSheetTypes.d.ts +202 -181
- package/types_generated/Libraries/StyleSheet/private/_TransformStyle.d.ts +3 -3
- package/types_generated/Libraries/Text/Text.d.ts +10 -6
- package/types_generated/Libraries/Text/TextProps.d.ts +57 -102
- package/types_generated/Libraries/TurboModule/RCTExport.d.ts +2 -2
- package/types_generated/Libraries/Types/CoreEventTypes.d.ts +14 -8
- package/types_generated/Libraries/Utilities/Appearance.d.ts +25 -13
- package/types_generated/Libraries/Utilities/BackHandler.d.ts +17 -1
- package/types_generated/Libraries/Utilities/DevSettings.d.ts +9 -2
- package/types_generated/Libraries/Utilities/Dimensions.d.ts +19 -13
- package/types_generated/Libraries/Utilities/PixelRatio.d.ts +6 -3
- package/types_generated/Libraries/Utilities/Platform.d.ts +5 -1
- package/types_generated/Libraries/Utilities/PlatformTypes.d.ts +65 -6
- package/types_generated/Libraries/Utilities/codegenNativeComponent.d.ts +5 -5
- package/types_generated/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.d.ts +2 -2
- package/types_generated/Libraries/Utilities/differ/deepDiffer.d.ts +2 -2
- package/types_generated/Libraries/Utilities/useColorScheme.d.ts +12 -2
- package/types_generated/Libraries/Utilities/useWindowDimensions.d.ts +7 -1
- package/types_generated/Libraries/Vibration/Vibration.d.ts +14 -6
- package/types_generated/index.d.ts +31 -25
- package/types_generated/src/private/assets/AssetRegistry.d.ts +42 -0
- package/types_generated/src/private/components/virtualcollection/VirtualCollectionView.d.ts +5 -5
- package/types_generated/src/private/components/virtualcollection/column/VirtualColumn.d.ts +3 -3
- package/types_generated/src/private/components/virtualcollection/row/VirtualRow.d.ts +3 -3
- package/types_generated/src/private/components/virtualview/VirtualView.d.ts +7 -7
- package/types_generated/src/private/components/virtualview/VirtualViewExperimentalNativeComponent.d.ts +5 -5
- package/types_generated/src/private/components/virtualview/VirtualViewNativeComponent.d.ts +5 -5
- package/types_generated/src/private/renderer/events/dispatchNativeEvent.d.ts +26 -0
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeAppearance.d.ts +6 -5
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeDeviceInfo.d.ts +7 -7
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeExceptionsManager.d.ts +5 -5
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeUIManager.d.ts +8 -8
- package/types_generated/src/private/types/HostComponent.d.ts +3 -3
- package/types_generated/src/private/types/HostInstance.d.ts +39 -74
- package/types_generated/src/private/webapis/dom/events/CustomEvent.d.ts +2 -2
- package/types_generated/src/private/webapis/dom/events/Event.d.ts +4 -4
- package/types_generated/src/private/webapis/dom/events/EventTarget.d.ts +8 -8
- package/types_generated/src/private/webapis/dom/nodes/ReactNativeDocument.d.ts +3 -1
- package/types_generated/src/private/webapis/dom/nodes/ReactNativeElement.d.ts +57 -4
- package/types_generated/src/private/webapis/dom/nodes/ReadOnlyCharacterData.d.ts +3 -1
- package/types_generated/src/private/webapis/dom/nodes/ReadOnlyElement.d.ts +3 -1
- package/types_generated/src/private/webapis/dom/nodes/ReadOnlyNode.d.ts +4 -2
- package/types_generated/src/private/webapis/dom/nodes/ReadOnlyText.d.ts +3 -1
- package/types_generated/src/private/webapis/dom/nodes/specs/NativeDOM.d.ts +3 -3
- package/types_generated/src/private/webapis/dom/oldstylecollections/HTMLCollection.d.ts +3 -1
- package/types_generated/src/private/webapis/dom/oldstylecollections/NodeList.d.ts +3 -1
- package/types_generated/src/react-private-interface.d.ts +33 -0
- package/Libraries/AppDelegate/RCTArchConfiguratorProtocol.h +0 -38
- package/Libraries/Image/AssetRegistry.js +0 -14
- package/Libraries/Image/RCTImageShadowView.h +0 -17
- package/Libraries/Image/RCTImageShadowView.mm +0 -28
- package/Libraries/Image/RCTImageView.h +0 -32
- package/Libraries/Image/RCTImageView.mm +0 -508
- package/Libraries/Image/RCTImageViewManager.h +0 -17
- package/Libraries/Image/RCTImageViewManager.mm +0 -115
- package/Libraries/Interaction/InteractionManager.d.ts +0 -87
- package/Libraries/Interaction/InteractionManager.js +0 -189
- package/Libraries/Text/BaseText/RCTBaseTextShadowView.h +0 -35
- package/Libraries/Text/BaseText/RCTBaseTextShadowView.mm +0 -162
- package/Libraries/Text/BaseText/RCTBaseTextViewManager.h +0 -21
- package/Libraries/Text/BaseText/RCTBaseTextViewManager.mm +0 -64
- package/Libraries/Text/RCTTextAttributes.h +0 -107
- package/Libraries/Text/RCTTextAttributes.mm +0 -358
- package/Libraries/Text/RawText/RCTRawTextShadowView.h +0 -23
- package/Libraries/Text/RawText/RCTRawTextShadowView.mm +0 -38
- package/Libraries/Text/RawText/RCTRawTextViewManager.h +0 -21
- package/Libraries/Text/RawText/RCTRawTextViewManager.mm +0 -32
- package/Libraries/Text/Text/RCTTextShadowView.h +0 -33
- package/Libraries/Text/Text/RCTTextShadowView.mm +0 -469
- package/Libraries/Text/Text/RCTTextView.h +0 -34
- package/Libraries/Text/Text/RCTTextView.mm +0 -298
- package/Libraries/Text/Text/RCTTextViewManager.h +0 -19
- package/Libraries/Text/Text/RCTTextViewManager.mm +0 -97
- package/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputView.h +0 -21
- package/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputView.mm +0 -67
- package/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputViewManager.h +0 -21
- package/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputViewManager.mm +0 -28
- package/Libraries/Text/TextInput/RCTBaseTextInputShadowView.h +0 -30
- package/Libraries/Text/TextInput/RCTBaseTextInputShadowView.mm +0 -367
- package/Libraries/Text/TextInput/RCTBaseTextInputView.h +0 -68
- package/Libraries/Text/TextInput/RCTBaseTextInputView.mm +0 -849
- package/Libraries/Text/TextInput/RCTBaseTextInputViewManager.h +0 -17
- package/Libraries/Text/TextInput/RCTBaseTextInputViewManager.mm +0 -181
- package/Libraries/Text/TextInput/RCTInputAccessoryShadowView.h +0 -17
- package/Libraries/Text/TextInput/RCTInputAccessoryShadowView.mm +0 -24
- package/Libraries/Text/TextInput/RCTInputAccessoryView.h +0 -22
- package/Libraries/Text/TextInput/RCTInputAccessoryView.mm +0 -82
- package/Libraries/Text/TextInput/RCTInputAccessoryViewContent.h +0 -17
- package/Libraries/Text/TextInput/RCTInputAccessoryViewContent.mm +0 -78
- package/Libraries/Text/TextInput/RCTInputAccessoryViewManager.h +0 -17
- package/Libraries/Text/TextInput/RCTInputAccessoryViewManager.mm +0 -33
- package/Libraries/Text/TextInput/Singleline/RCTSinglelineTextInputView.h +0 -21
- package/Libraries/Text/TextInput/Singleline/RCTSinglelineTextInputView.mm +0 -43
- package/Libraries/Text/TextInput/Singleline/RCTSinglelineTextInputViewManager.h +0 -21
- package/Libraries/Text/TextInput/Singleline/RCTSinglelineTextInputViewManager.mm +0 -35
- package/Libraries/Text/VirtualText/RCTVirtualTextShadowView.h +0 -17
- package/Libraries/Text/VirtualText/RCTVirtualTextShadowView.mm +0 -42
- package/Libraries/Text/VirtualText/RCTVirtualTextView.h +0 -28
- package/Libraries/Text/VirtualText/RCTVirtualTextViewManager.h +0 -17
- package/Libraries/Text/VirtualText/RCTVirtualTextViewManager.mm +0 -30
- package/Libraries/Utilities/SceneTracker.js +0 -42
- package/Libraries/Wrapper/Example/RCTWrapperExampleView.h +0 -21
- package/Libraries/Wrapper/Example/RCTWrapperExampleView.m +0 -57
- package/Libraries/Wrapper/Example/RCTWrapperExampleViewController.h +0 -21
- package/Libraries/Wrapper/Example/RCTWrapperExampleViewController.m +0 -27
- package/Libraries/Wrapper/Example/RCTWrapperReactRootViewController.h +0 -25
- package/Libraries/Wrapper/Example/RCTWrapperReactRootViewController.m +0 -50
- package/Libraries/Wrapper/Example/RCTWrapperReactRootViewManager.h +0 -23
- package/Libraries/Wrapper/Example/RCTWrapperReactRootViewManager.m +0 -35
- package/Libraries/Wrapper/RCTWrapper.h +0 -73
- package/Libraries/Wrapper/RCTWrapperShadowView.h +0 -27
- package/Libraries/Wrapper/RCTWrapperShadowView.m +0 -138
- package/Libraries/Wrapper/RCTWrapperView.h +0 -42
- package/Libraries/Wrapper/RCTWrapperView.m +0 -99
- package/Libraries/Wrapper/RCTWrapperViewControllerHostingView.h +0 -30
- package/Libraries/Wrapper/RCTWrapperViewControllerHostingView.m +0 -137
- package/Libraries/Wrapper/RCTWrapperViewManager.h +0 -25
- package/Libraries/Wrapper/RCTWrapperViewManager.m +0 -31
- package/React/Base/RCTRootContentView.h +0 -43
- package/React/Base/RCTRootContentView.m +0 -111
- package/React/Base/RCTRootViewInternal.h +0 -28
- package/React/CxxBridge/RCTCxxBridge.mm +0 -1572
- package/React/CxxBridge/RCTJSIExecutorRuntimeInstaller.h +0 -25
- package/React/CxxBridge/RCTJSIExecutorRuntimeInstaller.mm +0 -34
- package/React/CxxBridge/RCTObjcExecutor.h +0 -34
- package/React/CxxBridge/RCTObjcExecutor.mm +0 -150
- package/React/CxxLogUtils/RCTDefaultCxxLogFunction.mm +0 -34
- package/React/CxxModule/DispatchMessageQueueThread.h +0 -50
- package/React/CxxModule/RCTCxxMethod.h +0 -17
- package/React/CxxModule/RCTCxxMethod.mm +0 -147
- package/React/CxxModule/RCTNativeModule.h +0 -34
- package/React/CxxModule/RCTNativeModule.mm +0 -241
- package/React/Fabric/RCTSurfacePresenterBridgeAdapter.mm +0 -205
- package/React/Tests/Text/RCTTextAttributesTest.mm +0 -49
- package/React/Views/RCTActivityIndicatorView.h +0 -16
- package/React/Views/RCTActivityIndicatorView.m +0 -26
- package/React/Views/RCTActivityIndicatorViewManager.h +0 -23
- package/React/Views/RCTActivityIndicatorViewManager.m +0 -65
- package/React/Views/RCTDebuggingOverlayManager.h +0 -17
- package/React/Views/RCTDebuggingOverlayManager.m +0 -68
- package/React/Views/RCTModalHostView.h +0 -64
- package/React/Views/RCTModalHostView.m +0 -264
- package/React/Views/RCTModalHostViewController.m +0 -74
- package/React/Views/RCTModalHostViewManager.m +0 -131
- package/React/Views/RCTModalManager.h +0 -22
- package/React/Views/RCTModalManager.m +0 -46
- package/React/Views/RCTRootShadowView.h +0 -35
- package/React/Views/RCTRootShadowView.m +0 -53
- package/React/Views/RCTShadowView+Internal.h +0 -18
- package/React/Views/RCTShadowView+Internal.m +0 -23
- package/React/Views/RCTSwitch.h +0 -22
- package/React/Views/RCTSwitch.m +0 -24
- package/React/Views/RCTSwitchManager.h +0 -17
- package/React/Views/RCTSwitchManager.m +0 -70
- package/React/Views/RefreshControl/RCTRefreshControl.h +0 -24
- package/React/Views/RefreshControl/RCTRefreshControl.m +0 -230
- package/React/Views/RefreshControl/RCTRefreshControlManager.h +0 -17
- package/React/Views/RefreshControl/RCTRefreshControlManager.m +0 -47
- package/React/Views/SafeAreaView/RCTSafeAreaShadowView.h +0 -21
- package/React/Views/SafeAreaView/RCTSafeAreaShadowView.m +0 -57
- package/React/Views/SafeAreaView/RCTSafeAreaView.h +0 -27
- package/React/Views/SafeAreaView/RCTSafeAreaView.m +0 -79
- package/React/Views/SafeAreaView/RCTSafeAreaViewLocalData.h +0 -25
- package/React/Views/SafeAreaView/RCTSafeAreaViewLocalData.m +0 -25
- package/React/Views/SafeAreaView/RCTSafeAreaViewManager.h +0 -21
- package/React/Views/SafeAreaView/RCTSafeAreaViewManager.m +0 -32
- package/React/Views/ScrollView/RCTScrollContentShadowView.h +0 -19
- package/React/Views/ScrollView/RCTScrollContentShadowView.m +0 -35
- package/React/Views/ScrollView/RCTScrollContentView.h +0 -19
- package/React/Views/ScrollView/RCTScrollContentView.m +0 -36
- package/React/Views/ScrollView/RCTScrollContentViewManager.h +0 -17
- package/React/Views/ScrollView/RCTScrollContentViewManager.m +0 -31
- package/React/Views/ScrollView/RCTScrollView.m +0 -1168
- package/React/Views/ScrollView/RCTScrollViewManager.h +0 -25
- package/React/Views/ScrollView/RCTScrollViewManager.m +0 -202
- package/ReactAndroid/src/main/java/com/facebook/react/ReactNativeHost.java +0 -251
- package/ReactAndroid/src/main/java/com/facebook/react/bridge/BridgeReactContext.java +0 -315
- package/ReactAndroid/src/main/java/com/facebook/react/common/ClearableSynchronizedPool.kt +0 -51
- package/ReactAndroid/src/main/java/com/facebook/react/fabric/AnimationBackendChoreographer.kt +0 -89
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/JSPointerDispatcher.java +0 -736
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/NativeViewHierarchyManager.java +0 -221
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactShadowNode.java +0 -399
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactZIndexedViewGroup.kt +0 -35
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIImplementation.java +0 -346
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIManagerModule.java +0 -666
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIViewOperationQueue.java +0 -147
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewGroupDrawingOrderHelper.kt +0 -113
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewManagersPropertyCache.java +0 -614
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollView.java +0 -1838
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactNestedScrollView.java +0 -1646
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollView.java +0 -1638
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaAlign.java +0 -51
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaBoxSizing.java +0 -33
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaDimension.java +0 -33
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaDisplay.java +0 -37
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaEdge.java +0 -47
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaErrata.java +0 -41
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaExperimentalFeature.java +0 -33
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaFlexDirection.java +0 -37
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaGridTrackType.java +0 -39
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaGutter.java +0 -35
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaJustify.java +0 -49
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaLogLevel.java +0 -45
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaMeasureMode.java +0 -35
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaNodeJNIBase.java +0 -928
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaNodeType.java +0 -33
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaOverflow.java +0 -35
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaPositionType.java +0 -35
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaUnit.java +0 -43
- package/ReactAndroid/src/main/java/com/facebook/yoga/YogaWrap.java +0 -35
- package/ReactAndroid/src/main/jni/react/fabric/JAnimationBackendChoreographer.cpp +0 -23
- package/ReactAndroid/src/main/jni/react/fabric/JAnimationBackendChoreographer.h +0 -37
- package/ReactCommon/cxxreact/JSIndexedRAMBundle.cpp +0 -135
- package/ReactCommon/cxxreact/JSIndexedRAMBundle.h +0 -72
- package/ReactCommon/hermes/inspector-modern/chrome/ConnectionDemux.cpp +0 -143
- package/ReactCommon/hermes/inspector-modern/chrome/ConnectionDemux.h +0 -55
- package/ReactCommon/hermes/inspector-modern/chrome/Registration.cpp +0 -78
- package/ReactCommon/hermes/inspector-modern/chrome/Registration.h +0 -39
- package/ReactCommon/hermes/inspector-modern/chrome/tests/ConnectionDemuxTests.cpp +0 -148
- package/ReactCommon/react/nativemodule/samples/platform/android/NativeSampleTurboModuleSpec.java +0 -168
- package/ReactCommon/react/nativemodule/samples/platform/android/ReactCommon/SampleTurboModuleSpec.cpp +0 -416
- package/ReactCommon/react/nativemodule/samples/platform/android/ReactCommon/SampleTurboModuleSpec.h +0 -31
- package/ReactCommon/react/nativemodule/samples/platform/ios/ReactCommon/RCTNativeSampleTurboModuleSpec.h +0 -134
- package/ReactCommon/react/nativemodule/samples/platform/ios/ReactCommon/RCTNativeSampleTurboModuleSpec.mm +0 -290
- package/ReactCommon/react/renderer/core/RawPropsKey.cpp +0 -62
- package/ReactCommon/react/renderer/core/RawPropsKey.h +0 -39
- package/ReactCommon/react/renderer/mounting/internal/DiffMap.h +0 -170
- package/ReactCommon/react/renderer/mounting/internal/LongestIncreasingSubsequence.h +0 -95
- package/ReactCommon/react/renderer/mounting/internal/TinyMap.h +0 -147
- package/ReactCommon/react/renderer/mounting/tests/LongestIncreasingSubsequenceTest.cpp +0 -154
- package/interface.js +0 -21
- package/jest-preset.js +0 -26
- package/rn-get-polyfills.js +0 -13
- package/sdks/.hermesversion +0 -1
- package/src/private/components/virtualcollection/debug/FlingItemOverlay.js +0 -13
- package/types/tsconfig.json +0 -15
- package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidNativeComponent.d.ts +0 -14
- package/types_generated/Libraries/Components/ScrollView/ScrollViewNativeComponent.d.ts +0 -21
- package/types_generated/Libraries/Components/ScrollView/ScrollViewNativeComponentType.d.ts +0 -134
- package/types_generated/Libraries/Components/Switch/AndroidSwitchNativeComponent.d.ts +0 -14
- package/types_generated/Libraries/Components/Switch/SwitchNativeComponent.d.ts +0 -14
- package/types_generated/Libraries/Components/Touchable/Touchable.d.ts +0 -262
- package/types_generated/Libraries/Interaction/InteractionManager.d.ts +0 -117
- package/types_generated/Libraries/NativeModules/specs/NativeDialogManagerAndroid.d.ts +0 -17
- package/types_generated/src/private/specs_DEPRECATED/components/AndroidSwitchNativeComponent.d.ts +0 -53
- package/types_generated/src/private/specs_DEPRECATED/components/ProgressBarAndroidNativeComponent.d.ts +0 -36
- package/types_generated/src/private/specs_DEPRECATED/components/SwitchNativeComponent.d.ts +0 -51
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeDialogManagerAndroid.d.ts +0 -37
- package/types_generated/tsconfig.test.json +0 -16
- /package/ReactCommon/{cxxreact → react/utils}/MoveWrapper.h +0 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<13efca0945b93b821e52cc043896aa47>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/Libraries/StyleSheet/StyleSheetTypes.js
|
|
@@ -65,21 +65,21 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
65
65
|
* It works similarly to `display` in CSS, but only support 'flex' and 'none'.
|
|
66
66
|
* 'flex' is the default.
|
|
67
67
|
*/
|
|
68
|
-
display?: "none" | "flex" | "contents";
|
|
68
|
+
display?: "none" | "flex" | "contents" | undefined;
|
|
69
69
|
/** `width` sets the width of this component.
|
|
70
70
|
*
|
|
71
71
|
* It works similarly to `width` in CSS, but in React Native you
|
|
72
72
|
* must use points or percentages. Ems and other units are not supported.
|
|
73
73
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/width for more details.
|
|
74
74
|
*/
|
|
75
|
-
width?: DimensionValue;
|
|
75
|
+
width?: DimensionValue | undefined;
|
|
76
76
|
/** `height` sets the height of this component.
|
|
77
77
|
*
|
|
78
78
|
* It works similarly to `height` in CSS, but in React Native you
|
|
79
79
|
* must use points or percentages. Ems and other units are not supported.
|
|
80
80
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/height for more details.
|
|
81
81
|
*/
|
|
82
|
-
height?: DimensionValue;
|
|
82
|
+
height?: DimensionValue | undefined;
|
|
83
83
|
/** `bottom` is the number of logical pixels to offset the bottom edge of
|
|
84
84
|
* this component.
|
|
85
85
|
*
|
|
@@ -89,14 +89,14 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
89
89
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/bottom
|
|
90
90
|
* for more details of how `bottom` affects layout.
|
|
91
91
|
*/
|
|
92
|
-
bottom?: DimensionValue;
|
|
92
|
+
bottom?: DimensionValue | undefined;
|
|
93
93
|
/**
|
|
94
94
|
* When the direction is `ltr`, `end` is equivalent to `right`.
|
|
95
95
|
* When the direction is `rtl`, `end` is equivalent to `left`.
|
|
96
96
|
*
|
|
97
97
|
* This style takes precedence over the `left` and `right` styles.
|
|
98
98
|
*/
|
|
99
|
-
end?: DimensionValue;
|
|
99
|
+
end?: DimensionValue | undefined;
|
|
100
100
|
/** `left` is the number of logical pixels to offset the left edge of
|
|
101
101
|
* this component.
|
|
102
102
|
*
|
|
@@ -106,7 +106,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
106
106
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/left
|
|
107
107
|
* for more details of how `left` affects layout.
|
|
108
108
|
*/
|
|
109
|
-
left?: DimensionValue;
|
|
109
|
+
left?: DimensionValue | undefined;
|
|
110
110
|
/** `right` is the number of logical pixels to offset the right edge of
|
|
111
111
|
* this component.
|
|
112
112
|
*
|
|
@@ -116,14 +116,14 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
116
116
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/right
|
|
117
117
|
* for more details of how `right` affects layout.
|
|
118
118
|
*/
|
|
119
|
-
right?: DimensionValue;
|
|
119
|
+
right?: DimensionValue | undefined;
|
|
120
120
|
/**
|
|
121
121
|
* When the direction is `ltr`, `start` is equivalent to `left`.
|
|
122
122
|
* When the direction is `rtl`, `start` is equivalent to `right`.
|
|
123
123
|
*
|
|
124
124
|
* This style takes precedence over the `left`, `right`, and `end` styles.
|
|
125
125
|
*/
|
|
126
|
-
start?: DimensionValue;
|
|
126
|
+
start?: DimensionValue | undefined;
|
|
127
127
|
/** `top` is the number of logical pixels to offset the top edge of
|
|
128
128
|
* this component.
|
|
129
129
|
*
|
|
@@ -133,7 +133,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
133
133
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/top
|
|
134
134
|
* for more details of how `top` affects layout.
|
|
135
135
|
*/
|
|
136
|
-
top?: DimensionValue;
|
|
136
|
+
top?: DimensionValue | undefined;
|
|
137
137
|
/** `inset` is a shorthand that corresponds to the top, right, bottom, and/or left properties.
|
|
138
138
|
*
|
|
139
139
|
* It works similarly to `inset` in CSS, but in React Native you
|
|
@@ -142,7 +142,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
142
142
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/inset
|
|
143
143
|
* for more details of how `inset` affects layout.
|
|
144
144
|
*/
|
|
145
|
-
inset?: DimensionValue;
|
|
145
|
+
inset?: DimensionValue | undefined;
|
|
146
146
|
/** `insetBlock` is a shorthand that corresponds to the `insetBlockStart` and `insetBlockEnd` properties.
|
|
147
147
|
*
|
|
148
148
|
* It works similarly to `inset-block` in CSS, but in React Native you
|
|
@@ -151,7 +151,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
151
151
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/inset-block
|
|
152
152
|
* for more details of how `inset-block` affects layout.
|
|
153
153
|
*/
|
|
154
|
-
insetBlock?: DimensionValue;
|
|
154
|
+
insetBlock?: DimensionValue | undefined;
|
|
155
155
|
/** `insetBlockEnd` is a logical property that sets the length that an
|
|
156
156
|
* element is offset in the block direction from its ending edge.
|
|
157
157
|
*
|
|
@@ -161,7 +161,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
161
161
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/inset-block-end
|
|
162
162
|
* for more details of how `inset-block-end` affects layout.
|
|
163
163
|
*/
|
|
164
|
-
insetBlockEnd?: DimensionValue;
|
|
164
|
+
insetBlockEnd?: DimensionValue | undefined;
|
|
165
165
|
/** `insetBlockStart` is a logical property that sets the length that an
|
|
166
166
|
* element is offset in the block direction from its starting edge.
|
|
167
167
|
*
|
|
@@ -171,7 +171,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
171
171
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/inset-block-start
|
|
172
172
|
* for more details of how `inset-block-start` affects layout.
|
|
173
173
|
*/
|
|
174
|
-
insetBlockStart?: DimensionValue;
|
|
174
|
+
insetBlockStart?: DimensionValue | undefined;
|
|
175
175
|
/** `insetInline` is a shorthand that corresponds to the `insetInlineStart` and `insetInlineEnd` properties.
|
|
176
176
|
*
|
|
177
177
|
* It works similarly to `inset-inline` in CSS, but in React Native you
|
|
@@ -180,7 +180,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
180
180
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/inset-inline
|
|
181
181
|
* for more details of how `inset-inline` affects layout.
|
|
182
182
|
*/
|
|
183
|
-
insetInline?: DimensionValue;
|
|
183
|
+
insetInline?: DimensionValue | undefined;
|
|
184
184
|
/** `insetInlineEnd` is a logical property that sets the length that an
|
|
185
185
|
* element is offset in the starting inline direction.
|
|
186
186
|
*
|
|
@@ -190,7 +190,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
190
190
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/inset-inline-end
|
|
191
191
|
* for more details of how `inset-inline-end` affects layout.
|
|
192
192
|
*/
|
|
193
|
-
insetInlineEnd?: DimensionValue;
|
|
193
|
+
insetInlineEnd?: DimensionValue | undefined;
|
|
194
194
|
/** `insetInlineStart` is a logical property that sets the length that an
|
|
195
195
|
* element is offset in the starting inline direction.
|
|
196
196
|
*
|
|
@@ -200,7 +200,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
200
200
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/inset-inline-start
|
|
201
201
|
* for more details of how `inset-inline-start` affects layout.
|
|
202
202
|
*/
|
|
203
|
-
insetInlineStart?: DimensionValue;
|
|
203
|
+
insetInlineStart?: DimensionValue | undefined;
|
|
204
204
|
/** `minWidth` is the minimum width for this component, in logical pixels.
|
|
205
205
|
*
|
|
206
206
|
* It works similarly to `min-width` in CSS, but in React Native you
|
|
@@ -209,7 +209,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
209
209
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/min-width
|
|
210
210
|
* for more details.
|
|
211
211
|
*/
|
|
212
|
-
minWidth?: DimensionValue;
|
|
212
|
+
minWidth?: DimensionValue | undefined;
|
|
213
213
|
/** `maxWidth` is the maximum width for this component, in logical pixels.
|
|
214
214
|
*
|
|
215
215
|
* It works similarly to `max-width` in CSS, but in React Native you
|
|
@@ -218,7 +218,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
218
218
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/max-width
|
|
219
219
|
* for more details.
|
|
220
220
|
*/
|
|
221
|
-
maxWidth?: DimensionValue;
|
|
221
|
+
maxWidth?: DimensionValue | undefined;
|
|
222
222
|
/** `minHeight` is the minimum height for this component, in logical pixels.
|
|
223
223
|
*
|
|
224
224
|
* It works similarly to `min-height` in CSS, but in React Native you
|
|
@@ -227,7 +227,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
227
227
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/min-height
|
|
228
228
|
* for more details.
|
|
229
229
|
*/
|
|
230
|
-
minHeight?: DimensionValue;
|
|
230
|
+
minHeight?: DimensionValue | undefined;
|
|
231
231
|
/** `maxHeight` is the maximum height for this component, in logical pixels.
|
|
232
232
|
*
|
|
233
233
|
* It works similarly to `max-height` in CSS, but in React Native you
|
|
@@ -236,190 +236,190 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
236
236
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/max-height
|
|
237
237
|
* for more details.
|
|
238
238
|
*/
|
|
239
|
-
maxHeight?: DimensionValue;
|
|
239
|
+
maxHeight?: DimensionValue | undefined;
|
|
240
240
|
/** Setting `margin` has the same effect as setting each of
|
|
241
241
|
* `marginTop`, `marginLeft`, `marginBottom`, and `marginRight`.
|
|
242
242
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/margin
|
|
243
243
|
* for more details.
|
|
244
244
|
*/
|
|
245
|
-
margin?: DimensionValue;
|
|
245
|
+
margin?: DimensionValue | undefined;
|
|
246
246
|
/** Setting `marginBlock` has the same effect as setting both
|
|
247
247
|
* `marginTop` and `marginBottom`.
|
|
248
248
|
*/
|
|
249
|
-
marginBlock?: DimensionValue;
|
|
249
|
+
marginBlock?: DimensionValue | undefined;
|
|
250
250
|
/** `marginBlockEnd` works like `margin-block-end`in CSS. Because React
|
|
251
251
|
* Native doesn not support `writing-mode` this is always mapped to
|
|
252
252
|
* `margin-bottom`. See https://developer.mozilla.org/en-US/docs/Web/CSS/margin-block-end
|
|
253
253
|
* for more details.
|
|
254
254
|
*/
|
|
255
|
-
marginBlockEnd?: DimensionValue;
|
|
255
|
+
marginBlockEnd?: DimensionValue | undefined;
|
|
256
256
|
/** `marginBlockEnd` works like `margin-block-end`in CSS. Because React
|
|
257
257
|
* Native doesn not support `writing-mode` this is always mapped to
|
|
258
258
|
* `margin-top`. See https://developer.mozilla.org/en-US/docs/Web/CSS/margin-block-end
|
|
259
259
|
* for more details.
|
|
260
260
|
*/
|
|
261
|
-
marginBlockStart?: DimensionValue;
|
|
261
|
+
marginBlockStart?: DimensionValue | undefined;
|
|
262
262
|
/** `marginBottom` works like `margin-bottom` in CSS.
|
|
263
263
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/margin-block-start
|
|
264
264
|
* for more details.
|
|
265
265
|
*/
|
|
266
|
-
marginBottom?: DimensionValue;
|
|
266
|
+
marginBottom?: DimensionValue | undefined;
|
|
267
267
|
/**
|
|
268
268
|
* When direction is `ltr`, `marginEnd` is equivalent to `marginRight`.
|
|
269
269
|
* When direction is `rtl`, `marginEnd` is equivalent to `marginLeft`.
|
|
270
270
|
*/
|
|
271
|
-
marginEnd?: DimensionValue;
|
|
271
|
+
marginEnd?: DimensionValue | undefined;
|
|
272
272
|
/** Setting `marginHorizontal` has the same effect as setting
|
|
273
273
|
* both `marginLeft` and `marginRight`.
|
|
274
274
|
*/
|
|
275
|
-
marginHorizontal?: DimensionValue;
|
|
275
|
+
marginHorizontal?: DimensionValue | undefined;
|
|
276
276
|
/** Setting `marginInline` has the same effect as setting
|
|
277
277
|
* both `marginLeft` and `marginRight`.
|
|
278
278
|
*/
|
|
279
|
-
marginInline?: DimensionValue;
|
|
279
|
+
marginInline?: DimensionValue | undefined;
|
|
280
280
|
/**
|
|
281
281
|
* When direction is `ltr`, `marginInlineEnd` is equivalent to `marginRight`.
|
|
282
282
|
* When direction is `rtl`, `marginInlineEnd` is equivalent to `marginLeft`.
|
|
283
283
|
*/
|
|
284
|
-
marginInlineEnd?: DimensionValue;
|
|
284
|
+
marginInlineEnd?: DimensionValue | undefined;
|
|
285
285
|
/**
|
|
286
286
|
* When direction is `ltr`, `marginInlineStart` is equivalent to `marginLeft`.
|
|
287
287
|
* When direction is `rtl`, `marginInlineStart` is equivalent to `marginRight`.
|
|
288
288
|
*/
|
|
289
|
-
marginInlineStart?: DimensionValue;
|
|
289
|
+
marginInlineStart?: DimensionValue | undefined;
|
|
290
290
|
/** `marginLeft` works like `margin-left` in CSS.
|
|
291
291
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left
|
|
292
292
|
* for more details.
|
|
293
293
|
*/
|
|
294
|
-
marginLeft?: DimensionValue;
|
|
294
|
+
marginLeft?: DimensionValue | undefined;
|
|
295
295
|
/** `marginRight` works like `margin-right` in CSS.
|
|
296
296
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right
|
|
297
297
|
* for more details.
|
|
298
298
|
*/
|
|
299
|
-
marginRight?: DimensionValue;
|
|
299
|
+
marginRight?: DimensionValue | undefined;
|
|
300
300
|
/**
|
|
301
301
|
* When direction is `ltr`, `marginStart` is equivalent to `marginLeft`.
|
|
302
302
|
* When direction is `rtl`, `marginStart` is equivalent to `marginRight`.
|
|
303
303
|
*/
|
|
304
|
-
marginStart?: DimensionValue;
|
|
304
|
+
marginStart?: DimensionValue | undefined;
|
|
305
305
|
/** `marginTop` works like `margin-top` in CSS.
|
|
306
306
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top
|
|
307
307
|
* for more details.
|
|
308
308
|
*/
|
|
309
|
-
marginTop?: DimensionValue;
|
|
309
|
+
marginTop?: DimensionValue | undefined;
|
|
310
310
|
/** Setting `marginVertical` has the same effect as setting both
|
|
311
311
|
* `marginTop` and `marginBottom`.
|
|
312
312
|
*/
|
|
313
|
-
marginVertical?: DimensionValue;
|
|
313
|
+
marginVertical?: DimensionValue | undefined;
|
|
314
314
|
/** Setting `padding` has the same effect as setting each of
|
|
315
315
|
* `paddingTop`, `paddingBottom`, `paddingLeft`, and `paddingRight`.
|
|
316
316
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/padding
|
|
317
317
|
* for more details.
|
|
318
318
|
*/
|
|
319
|
-
padding?: DimensionValue;
|
|
319
|
+
padding?: DimensionValue | undefined;
|
|
320
320
|
/** Setting `paddingBlock` is like setting both of
|
|
321
321
|
* `paddingTop` and `paddingBottom`.
|
|
322
322
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/padding-block
|
|
323
323
|
* for more details.
|
|
324
324
|
*/
|
|
325
|
-
paddingBlock?: DimensionValue;
|
|
325
|
+
paddingBlock?: DimensionValue | undefined;
|
|
326
326
|
/** `paddingBlockEnd` works like `padding-bottom` in CSS.
|
|
327
327
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/padding-block-end
|
|
328
328
|
* for more details.
|
|
329
329
|
*/
|
|
330
|
-
paddingBlockEnd?: DimensionValue;
|
|
330
|
+
paddingBlockEnd?: DimensionValue | undefined;
|
|
331
331
|
/** `paddingBlockStart` works like `padding-top` in CSS.
|
|
332
332
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/padding-block-start
|
|
333
333
|
* for more details.
|
|
334
334
|
*/
|
|
335
|
-
paddingBlockStart?: DimensionValue;
|
|
335
|
+
paddingBlockStart?: DimensionValue | undefined;
|
|
336
336
|
/** `paddingBottom` works like `padding-bottom` in CSS.
|
|
337
337
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/padding-bottom
|
|
338
338
|
* for more details.
|
|
339
339
|
*/
|
|
340
|
-
paddingBottom?: DimensionValue;
|
|
340
|
+
paddingBottom?: DimensionValue | undefined;
|
|
341
341
|
/**
|
|
342
342
|
* When direction is `ltr`, `paddingEnd` is equivalent to `paddingRight`.
|
|
343
343
|
* When direction is `rtl`, `paddingEnd` is equivalent to `paddingLeft`.
|
|
344
344
|
*/
|
|
345
|
-
paddingEnd?: DimensionValue;
|
|
345
|
+
paddingEnd?: DimensionValue | undefined;
|
|
346
346
|
/** Setting `paddingHorizontal` is like setting both of
|
|
347
347
|
* `paddingLeft` and `paddingRight`.
|
|
348
348
|
*/
|
|
349
|
-
paddingHorizontal?: DimensionValue;
|
|
349
|
+
paddingHorizontal?: DimensionValue | undefined;
|
|
350
350
|
/** Setting `paddingInline` is like setting both of
|
|
351
351
|
* `paddingLeft` and `paddingRight`.
|
|
352
352
|
*/
|
|
353
|
-
paddingInline?: DimensionValue;
|
|
353
|
+
paddingInline?: DimensionValue | undefined;
|
|
354
354
|
/**
|
|
355
355
|
* When direction is `ltr`, `paddingInlineEnd` is equivalent to `paddingRight`.
|
|
356
356
|
* When direction is `rtl`, `paddingInlineEnd` is equivalent to `paddingLeft`.
|
|
357
357
|
*/
|
|
358
|
-
paddingInlineEnd?: DimensionValue;
|
|
358
|
+
paddingInlineEnd?: DimensionValue | undefined;
|
|
359
359
|
/**
|
|
360
360
|
* When direction is `ltr`, `paddingInlineStart` is equivalent to `paddingLeft`.
|
|
361
361
|
* When direction is `rtl`, `paddingInlineStart` is equivalent to `paddingRight`.
|
|
362
362
|
*/
|
|
363
|
-
paddingInlineStart?: DimensionValue;
|
|
363
|
+
paddingInlineStart?: DimensionValue | undefined;
|
|
364
364
|
/** `paddingLeft` works like `padding-left` in CSS.
|
|
365
365
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/padding-left
|
|
366
366
|
* for more details.
|
|
367
367
|
*/
|
|
368
|
-
paddingLeft?: DimensionValue;
|
|
368
|
+
paddingLeft?: DimensionValue | undefined;
|
|
369
369
|
/** `paddingRight` works like `padding-right` in CSS.
|
|
370
370
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/padding-right
|
|
371
371
|
* for more details.
|
|
372
372
|
*/
|
|
373
|
-
paddingRight?: DimensionValue;
|
|
373
|
+
paddingRight?: DimensionValue | undefined;
|
|
374
374
|
/**
|
|
375
375
|
* When direction is `ltr`, `paddingStart` is equivalent to `paddingLeft`.
|
|
376
376
|
* When direction is `rtl`, `paddingStart` is equivalent to `paddingRight`.
|
|
377
377
|
*/
|
|
378
|
-
paddingStart?: DimensionValue;
|
|
378
|
+
paddingStart?: DimensionValue | undefined;
|
|
379
379
|
/** `paddingTop` works like `padding-top` in CSS.
|
|
380
380
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/padding-top
|
|
381
381
|
* for more details.
|
|
382
382
|
*/
|
|
383
|
-
paddingTop?: DimensionValue;
|
|
383
|
+
paddingTop?: DimensionValue | undefined;
|
|
384
384
|
/** Setting `paddingVertical` is like setting both of
|
|
385
385
|
* `paddingTop` and `paddingBottom`.
|
|
386
386
|
*/
|
|
387
|
-
paddingVertical?: DimensionValue;
|
|
387
|
+
paddingVertical?: DimensionValue | undefined;
|
|
388
388
|
/** `borderWidth` works like `border-width` in CSS.
|
|
389
389
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/border-width
|
|
390
390
|
* for more details.
|
|
391
391
|
*/
|
|
392
|
-
borderWidth?: number;
|
|
392
|
+
borderWidth?: number | undefined;
|
|
393
393
|
/** `borderBottomWidth` works like `border-bottom-width` in CSS.
|
|
394
394
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-width
|
|
395
395
|
* for more details.
|
|
396
396
|
*/
|
|
397
|
-
borderBottomWidth?: number;
|
|
397
|
+
borderBottomWidth?: number | undefined;
|
|
398
398
|
/**
|
|
399
399
|
* When direction is `ltr`, `borderEndWidth` is equivalent to `borderRightWidth`.
|
|
400
400
|
* When direction is `rtl`, `borderEndWidth` is equivalent to `borderLeftWidth`.
|
|
401
401
|
*/
|
|
402
|
-
borderEndWidth?: number;
|
|
402
|
+
borderEndWidth?: number | undefined;
|
|
403
403
|
/** `borderLeftWidth` works like `border-left-width` in CSS.
|
|
404
404
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/border-left-width
|
|
405
405
|
* for more details.
|
|
406
406
|
*/
|
|
407
|
-
borderLeftWidth?: number;
|
|
407
|
+
borderLeftWidth?: number | undefined;
|
|
408
408
|
/** `borderRightWidth` works like `border-right-width` in CSS.
|
|
409
409
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/border-right-width
|
|
410
410
|
* for more details.
|
|
411
411
|
*/
|
|
412
|
-
borderRightWidth?: number;
|
|
412
|
+
borderRightWidth?: number | undefined;
|
|
413
413
|
/**
|
|
414
414
|
* When direction is `ltr`, `borderStartWidth` is equivalent to `borderLeftWidth`.
|
|
415
415
|
* When direction is `rtl`, `borderStartWidth` is equivalent to `borderRightWidth`.
|
|
416
416
|
*/
|
|
417
|
-
borderStartWidth?: number;
|
|
417
|
+
borderStartWidth?: number | undefined;
|
|
418
418
|
/** `borderTopWidth` works like `border-top-width` in CSS.
|
|
419
419
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-width
|
|
420
420
|
* for more details.
|
|
421
421
|
*/
|
|
422
|
-
borderTopWidth?: number;
|
|
422
|
+
borderTopWidth?: number | undefined;
|
|
423
423
|
/** `position` in React Native is similar to regular CSS, but
|
|
424
424
|
* everything is set to `relative` by default.
|
|
425
425
|
*
|
|
@@ -437,7 +437,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
437
437
|
* for more details on how `position` differs between React Native
|
|
438
438
|
* and CSS.
|
|
439
439
|
*/
|
|
440
|
-
position?: "absolute" | "relative" | "static";
|
|
440
|
+
position?: "absolute" | "relative" | "static" | undefined;
|
|
441
441
|
/** `flexDirection` controls which directions children of a container go.
|
|
442
442
|
* `row` goes left to right, `column` goes top to bottom, and you may
|
|
443
443
|
* be able to guess what the other two do. It works like `flex-direction`
|
|
@@ -445,14 +445,14 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
445
445
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/flex-direction
|
|
446
446
|
* for more details.
|
|
447
447
|
*/
|
|
448
|
-
flexDirection?: "row" | "row-reverse" | "column" | "column-reverse";
|
|
448
|
+
flexDirection?: "row" | "row-reverse" | "column" | "column-reverse" | undefined;
|
|
449
449
|
/** `flexWrap` controls whether children can wrap around after they
|
|
450
450
|
* hit the end of a flex container.
|
|
451
451
|
* It works like `flex-wrap` in CSS (default: nowrap).
|
|
452
452
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/flex-wrap
|
|
453
453
|
* for more details.
|
|
454
454
|
*/
|
|
455
|
-
flexWrap?: "wrap" | "nowrap" | "wrap-reverse";
|
|
455
|
+
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
456
456
|
/** `justifyContent` aligns children in the main direction.
|
|
457
457
|
* For example, if children are flowing vertically, `justifyContent`
|
|
458
458
|
* controls how they align vertically.
|
|
@@ -460,7 +460,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
460
460
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
|
|
461
461
|
* for more details.
|
|
462
462
|
*/
|
|
463
|
-
justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly";
|
|
463
|
+
justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
464
464
|
/** `alignItems` aligns children in the cross direction.
|
|
465
465
|
* For example, if children are flowing vertically, `alignItems`
|
|
466
466
|
* controls how they align horizontally.
|
|
@@ -468,20 +468,20 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
468
468
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
|
|
469
469
|
* for more details.
|
|
470
470
|
*/
|
|
471
|
-
alignItems?: "flex-start" | "flex-end" | "center" | "stretch" | "baseline";
|
|
471
|
+
alignItems?: "flex-start" | "flex-end" | "center" | "stretch" | "baseline" | undefined;
|
|
472
472
|
/** `alignSelf` controls how a child aligns in the cross direction,
|
|
473
473
|
* overriding the `alignItems` of the parent. It works like `align-self`
|
|
474
474
|
* in CSS (default: auto).
|
|
475
475
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/align-self
|
|
476
476
|
* for more details.
|
|
477
477
|
*/
|
|
478
|
-
alignSelf?: "auto" | "flex-start" | "flex-end" | "center" | "stretch" | "baseline";
|
|
478
|
+
alignSelf?: "auto" | "flex-start" | "flex-end" | "center" | "stretch" | "baseline" | undefined;
|
|
479
479
|
/** `alignContent` controls how rows align in the cross direction,
|
|
480
480
|
* overriding the `alignContent` of the parent.
|
|
481
481
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
482
482
|
* for more details.
|
|
483
483
|
*/
|
|
484
|
-
alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | "space-evenly";
|
|
484
|
+
alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
485
485
|
/** `overflow` controls how children are measured and displayed.
|
|
486
486
|
* `overflow: hidden` causes views to be clipped while `overflow: scroll`
|
|
487
487
|
* causes views to be measured independently of their parents main axis.
|
|
@@ -491,7 +491,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
491
491
|
* `overflow: visible` only works on iOS. On Android, all views will clip
|
|
492
492
|
* their children.
|
|
493
493
|
*/
|
|
494
|
-
overflow?: "visible" | "hidden" | "scroll";
|
|
494
|
+
overflow?: "visible" | "hidden" | "scroll" | undefined;
|
|
495
495
|
/** In React Native `flex` does not work the same way that it does in CSS.
|
|
496
496
|
* `flex` is a number rather than a string, and it works
|
|
497
497
|
* according to the `Yoga` library
|
|
@@ -511,10 +511,10 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
511
511
|
*
|
|
512
512
|
* flexGrow, flexShrink, and flexBasis work the same as in CSS.
|
|
513
513
|
*/
|
|
514
|
-
flex?: number;
|
|
515
|
-
flexGrow?: number;
|
|
516
|
-
flexShrink?: number;
|
|
517
|
-
flexBasis?: number | string;
|
|
514
|
+
flex?: number | undefined;
|
|
515
|
+
flexGrow?: number | undefined;
|
|
516
|
+
flexShrink?: number | undefined;
|
|
517
|
+
flexBasis?: number | string | undefined;
|
|
518
518
|
/**
|
|
519
519
|
* Aspect ratio control the size of the undefined dimension of a node.
|
|
520
520
|
*
|
|
@@ -532,7 +532,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
532
532
|
* - aspectRatio: '1'
|
|
533
533
|
* - aspectRatio: '1'
|
|
534
534
|
*/
|
|
535
|
-
aspectRatio?: number | string;
|
|
535
|
+
aspectRatio?: number | string | undefined;
|
|
536
536
|
/**
|
|
537
537
|
* Box sizing controls whether certain size properties apply to the node's
|
|
538
538
|
* content box or border box. The size properties in question include `width`,
|
|
@@ -544,7 +544,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
544
544
|
* under `boxSizing: border-box` and 120px by 70px under
|
|
545
545
|
* `boxSizing: content-box`.
|
|
546
546
|
*/
|
|
547
|
-
boxSizing?: "border-box" | "content-box";
|
|
547
|
+
boxSizing?: "border-box" | "content-box" | undefined;
|
|
548
548
|
/** `zIndex` controls which components display on top of others.
|
|
549
549
|
* Normally, you don't use `zIndex`. Components render according to
|
|
550
550
|
* their order in the document tree, so later components draw over
|
|
@@ -557,7 +557,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
557
557
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/z-index for
|
|
558
558
|
* more details.
|
|
559
559
|
*/
|
|
560
|
-
zIndex?: number;
|
|
560
|
+
zIndex?: number | undefined;
|
|
561
561
|
/** `direction` specifies the directional flow of the user interface.
|
|
562
562
|
* The default is `inherit`, except for root node which will have
|
|
563
563
|
* value based on the current locale.
|
|
@@ -565,7 +565,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
565
565
|
* for more details.
|
|
566
566
|
* @platform ios
|
|
567
567
|
*/
|
|
568
|
-
direction?: "inherit" | "ltr" | "rtl";
|
|
568
|
+
direction?: "inherit" | "ltr" | "rtl" | undefined;
|
|
569
569
|
/**
|
|
570
570
|
* In React Native, gap works the same way it does in CSS.
|
|
571
571
|
* If there are two or more children in a container, they will be separated from each other
|
|
@@ -575,9 +575,9 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
575
575
|
* between children may be larger than the gap value.
|
|
576
576
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/gap for more details.
|
|
577
577
|
*/
|
|
578
|
-
rowGap?: number | string;
|
|
579
|
-
columnGap?: number | string;
|
|
580
|
-
gap?: number | string;
|
|
578
|
+
rowGap?: number | string | undefined;
|
|
579
|
+
columnGap?: number | string | undefined;
|
|
580
|
+
gap?: number | string | undefined;
|
|
581
581
|
}>;
|
|
582
582
|
/**
|
|
583
583
|
* These props can be used to dynamically generate shadows on views, images, text, etc.
|
|
@@ -594,25 +594,25 @@ export type ____ShadowStyle_InternalCore = Readonly<{
|
|
|
594
594
|
* Sets the drop shadow color
|
|
595
595
|
* @platform ios
|
|
596
596
|
*/
|
|
597
|
-
shadowColor?: ____ColorValue_Internal;
|
|
597
|
+
shadowColor?: ____ColorValue_Internal | undefined;
|
|
598
598
|
/**
|
|
599
599
|
* Sets the drop shadow offset
|
|
600
600
|
* @platform ios
|
|
601
601
|
*/
|
|
602
602
|
shadowOffset?: Readonly<{
|
|
603
|
-
width?: number;
|
|
604
|
-
height?: number;
|
|
605
|
-
}
|
|
603
|
+
width?: number | undefined;
|
|
604
|
+
height?: number | undefined;
|
|
605
|
+
}> | undefined;
|
|
606
606
|
/**
|
|
607
607
|
* Sets the drop shadow opacity (multiplied by the color's alpha component)
|
|
608
608
|
* @platform ios
|
|
609
609
|
*/
|
|
610
|
-
shadowOpacity?: number;
|
|
610
|
+
shadowOpacity?: number | undefined;
|
|
611
611
|
/**
|
|
612
612
|
* Sets the drop shadow blur radius
|
|
613
613
|
* @platform ios
|
|
614
614
|
*/
|
|
615
|
-
shadowRadius?: number;
|
|
615
|
+
shadowRadius?: number | undefined;
|
|
616
616
|
}>;
|
|
617
617
|
export type ____ShadowStyle_Internal = Readonly<Omit<____ShadowStyle_InternalCore, keyof ____ShadowStyle_InternalOverrides | keyof {}> & Omit<____ShadowStyle_InternalOverrides, keyof {}> & {}>;
|
|
618
618
|
export type FilterFunction = {
|
|
@@ -639,15 +639,15 @@ export type FilterFunction = {
|
|
|
639
639
|
export type DropShadowValue = {
|
|
640
640
|
offsetX: number | string;
|
|
641
641
|
offsetY: number | string;
|
|
642
|
-
standardDeviation?: number | string;
|
|
643
|
-
color?: ____ColorValue_Internal;
|
|
642
|
+
standardDeviation?: number | string | undefined;
|
|
643
|
+
color?: ____ColorValue_Internal | undefined;
|
|
644
644
|
};
|
|
645
645
|
type LinearGradientValue = {
|
|
646
646
|
type: "linear-gradient";
|
|
647
|
-
direction?: string;
|
|
647
|
+
direction?: string | undefined;
|
|
648
648
|
colorStops: ReadonlyArray<{
|
|
649
649
|
color: ____ColorValue_Internal;
|
|
650
|
-
positions?: ReadonlyArray<string
|
|
650
|
+
positions?: ReadonlyArray<string> | undefined;
|
|
651
651
|
}>;
|
|
652
652
|
};
|
|
653
653
|
type RadialExtent = "closest-corner" | "closest-side" | "farthest-corner" | "farthest-side";
|
|
@@ -676,7 +676,7 @@ type RadialGradientValue = {
|
|
|
676
676
|
position: RadialGradientPosition;
|
|
677
677
|
colorStops: ReadonlyArray<{
|
|
678
678
|
color: ____ColorValue_Internal;
|
|
679
|
-
positions?: ReadonlyArray<string
|
|
679
|
+
positions?: ReadonlyArray<string> | undefined;
|
|
680
680
|
}>;
|
|
681
681
|
};
|
|
682
682
|
export type BackgroundImageValue = LinearGradientValue | RadialGradientValue;
|
|
@@ -705,63 +705,79 @@ export type BackgroundRepeatValue = {
|
|
|
705
705
|
export type BoxShadowValue = {
|
|
706
706
|
offsetX: number | string;
|
|
707
707
|
offsetY: number | string;
|
|
708
|
-
color?: ____ColorValue_Internal;
|
|
709
|
-
blurRadius?: number | string;
|
|
710
|
-
spreadDistance?: number | string;
|
|
711
|
-
inset?: boolean;
|
|
708
|
+
color?: ____ColorValue_Internal | undefined;
|
|
709
|
+
blurRadius?: number | string | undefined;
|
|
710
|
+
spreadDistance?: number | string | undefined;
|
|
711
|
+
inset?: boolean | undefined;
|
|
712
712
|
};
|
|
713
713
|
type ____BlendMode_Internal = "normal" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "color" | "luminosity" | "plus-lighter";
|
|
714
714
|
export type ____ViewStyle_InternalBase = Readonly<{
|
|
715
|
-
backfaceVisibility?: "visible" | "hidden";
|
|
716
|
-
backgroundColor?: ____ColorValue_Internal;
|
|
717
|
-
borderColor?: ____ColorValue_Internal;
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
715
|
+
backfaceVisibility?: "visible" | "hidden" | undefined;
|
|
716
|
+
backgroundColor?: ____ColorValue_Internal | undefined;
|
|
717
|
+
borderColor?: ____ColorValue_Internal | undefined;
|
|
718
|
+
/**
|
|
719
|
+
* On iOS 13+, it is possible to change the corner curve of borders.
|
|
720
|
+
* @platform ios
|
|
721
|
+
*/
|
|
722
|
+
borderCurve?: "circular" | "continuous" | undefined;
|
|
723
|
+
borderBottomColor?: ____ColorValue_Internal | undefined;
|
|
724
|
+
borderEndColor?: ____ColorValue_Internal | undefined;
|
|
725
|
+
borderLeftColor?: ____ColorValue_Internal | undefined;
|
|
726
|
+
borderRightColor?: ____ColorValue_Internal | undefined;
|
|
727
|
+
borderStartColor?: ____ColorValue_Internal | undefined;
|
|
728
|
+
borderTopColor?: ____ColorValue_Internal | undefined;
|
|
729
|
+
borderBlockColor?: ____ColorValue_Internal | undefined;
|
|
730
|
+
borderBlockEndColor?: ____ColorValue_Internal | undefined;
|
|
731
|
+
borderBlockStartColor?: ____ColorValue_Internal | undefined;
|
|
732
|
+
borderRadius?: number | string | undefined;
|
|
733
|
+
borderBottomEndRadius?: number | string | undefined;
|
|
734
|
+
borderBottomLeftRadius?: number | string | undefined;
|
|
735
|
+
borderBottomRightRadius?: number | string | undefined;
|
|
736
|
+
borderBottomStartRadius?: number | string | undefined;
|
|
737
|
+
borderEndEndRadius?: number | string | undefined;
|
|
738
|
+
borderEndStartRadius?: number | string | undefined;
|
|
739
|
+
borderStartEndRadius?: number | string | undefined;
|
|
740
|
+
borderStartStartRadius?: number | string | undefined;
|
|
741
|
+
borderTopEndRadius?: number | string | undefined;
|
|
742
|
+
borderTopLeftRadius?: number | string | undefined;
|
|
743
|
+
borderTopRightRadius?: number | string | undefined;
|
|
744
|
+
borderTopStartRadius?: number | string | undefined;
|
|
745
|
+
borderStyle?: "solid" | "dotted" | "dashed" | undefined;
|
|
746
|
+
borderWidth?: number | undefined;
|
|
747
|
+
borderBottomWidth?: number | undefined;
|
|
748
|
+
borderEndWidth?: number | undefined;
|
|
749
|
+
borderLeftWidth?: number | undefined;
|
|
750
|
+
borderRightWidth?: number | undefined;
|
|
751
|
+
borderStartWidth?: number | undefined;
|
|
752
|
+
borderTopWidth?: number | undefined;
|
|
753
|
+
opacity?: number | undefined;
|
|
754
|
+
outlineColor?: ____ColorValue_Internal | undefined;
|
|
755
|
+
outlineOffset?: number | undefined;
|
|
756
|
+
outlineStyle?: "solid" | "dotted" | "dashed" | undefined;
|
|
757
|
+
outlineWidth?: number | undefined;
|
|
758
|
+
/**
|
|
759
|
+
* Sets the elevation of a view, using Android's underlying
|
|
760
|
+
* [elevation API](https://developer.android.com/training/material/shadows-clipping.html#Elevation).
|
|
761
|
+
* This adds a drop shadow to the item and affects z-order for overlapping views.
|
|
762
|
+
* Only supported on Android 5.0+, has no effect on earlier versions.
|
|
763
|
+
*
|
|
764
|
+
* @platform android
|
|
765
|
+
*/
|
|
766
|
+
elevation?: number | undefined;
|
|
767
|
+
/**
|
|
768
|
+
* Controls whether the View can be the target of touch events.
|
|
769
|
+
*/
|
|
770
|
+
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | undefined;
|
|
771
|
+
cursor?: CursorValue | undefined;
|
|
772
|
+
boxShadow?: ReadonlyArray<BoxShadowValue> | string | undefined;
|
|
773
|
+
filter?: ReadonlyArray<FilterFunction> | string | undefined;
|
|
774
|
+
mixBlendMode?: ____BlendMode_Internal | undefined;
|
|
775
|
+
backgroundImage?: ReadonlyArray<BackgroundImageValue> | string | undefined;
|
|
776
|
+
experimental_backgroundImage?: ReadonlyArray<BackgroundImageValue> | string | undefined;
|
|
777
|
+
experimental_backgroundSize?: ReadonlyArray<BackgroundSizeValue> | string | undefined;
|
|
778
|
+
experimental_backgroundPosition?: ReadonlyArray<BackgroundPositionValue> | string | undefined;
|
|
779
|
+
experimental_backgroundRepeat?: ReadonlyArray<BackgroundRepeatValue> | string | undefined;
|
|
780
|
+
isolation?: "auto" | "isolate" | undefined;
|
|
765
781
|
}>;
|
|
766
782
|
export type ____ViewStyle_InternalCore = Readonly<Omit<____LayoutStyle_Internal, keyof ____ShadowStyle_Internal | keyof ____TransformStyle_Internal | keyof ____ViewStyle_InternalBase | keyof {}> & Omit<____ShadowStyle_Internal, keyof ____TransformStyle_Internal | keyof ____ViewStyle_InternalBase | keyof {}> & Omit<____TransformStyle_Internal, keyof ____ViewStyle_InternalBase | keyof {}> & Omit<____ViewStyle_InternalBase, keyof {}> & {}>;
|
|
767
783
|
export type ____ViewStyle_Internal = Readonly<Omit<____ViewStyle_InternalCore, keyof ____ViewStyle_InternalOverrides | keyof {}> & Omit<____ViewStyle_InternalOverrides, keyof {}> & {}>;
|
|
@@ -784,57 +800,62 @@ export type ____FontWeight_Internal = "normal" | "bold" | "100" | "200" | "300"
|
|
|
784
800
|
export type ____FontVariant_Internal = "small-caps" | "oldstyle-nums" | "lining-nums" | "tabular-nums" | "common-ligatures" | "no-common-ligatures" | "discretionary-ligatures" | "no-discretionary-ligatures" | "historical-ligatures" | "no-historical-ligatures" | "contextual" | "no-contextual" | "proportional-nums" | "stylistic-one" | "stylistic-two" | "stylistic-three" | "stylistic-four" | "stylistic-five" | "stylistic-six" | "stylistic-seven" | "stylistic-eight" | "stylistic-nine" | "stylistic-ten" | "stylistic-eleven" | "stylistic-twelve" | "stylistic-thirteen" | "stylistic-fourteen" | "stylistic-fifteen" | "stylistic-sixteen" | "stylistic-seventeen" | "stylistic-eighteen" | "stylistic-nineteen" | "stylistic-twenty";
|
|
785
801
|
export type ____FontVariantArray_Internal = ReadonlyArray<____FontVariant_Internal>;
|
|
786
802
|
type ____TextStyle_InternalBase = Readonly<{
|
|
787
|
-
color?: ____ColorValue_Internal;
|
|
788
|
-
fontFamily?: string;
|
|
789
|
-
fontSize?: number;
|
|
790
|
-
fontStyle?: "normal" | "italic";
|
|
791
|
-
|
|
792
|
-
|
|
803
|
+
color?: ____ColorValue_Internal | undefined;
|
|
804
|
+
fontFamily?: string | undefined;
|
|
805
|
+
fontSize?: number | undefined;
|
|
806
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
807
|
+
/**
|
|
808
|
+
* Specifies font weight. The values 'normal' and 'bold' are supported
|
|
809
|
+
* for most fonts. Not all fonts have a variant for each of the numeric
|
|
810
|
+
* values, in that case the closest one is chosen.
|
|
811
|
+
*/
|
|
812
|
+
fontWeight?: ____FontWeight_Internal | undefined;
|
|
813
|
+
fontVariant?: ____FontVariantArray_Internal | string | undefined;
|
|
793
814
|
textShadowOffset?: Readonly<{
|
|
794
815
|
width: number;
|
|
795
816
|
height: number;
|
|
796
|
-
}
|
|
797
|
-
textShadowRadius?: number;
|
|
798
|
-
textShadowColor?: ____ColorValue_Internal;
|
|
799
|
-
letterSpacing?: number;
|
|
800
|
-
lineHeight?: number;
|
|
801
|
-
textAlign?: "auto" | "left" | "right" | "center" | "justify";
|
|
802
|
-
textAlignVertical?: "auto" | "top" | "bottom" | "center";
|
|
803
|
-
includeFontPadding?: boolean;
|
|
804
|
-
textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through";
|
|
805
|
-
textDecorationStyle?: "solid" | "double" | "dotted" | "dashed";
|
|
806
|
-
textDecorationColor?: ____ColorValue_Internal;
|
|
807
|
-
textTransform?: "none" | "capitalize" | "uppercase" | "lowercase";
|
|
808
|
-
userSelect?: "auto" | "text" | "none" | "contain" | "all";
|
|
809
|
-
verticalAlign?: "auto" | "top" | "bottom" | "middle";
|
|
810
|
-
writingDirection?: "auto" | "ltr" | "rtl";
|
|
817
|
+
}> | undefined;
|
|
818
|
+
textShadowRadius?: number | undefined;
|
|
819
|
+
textShadowColor?: ____ColorValue_Internal | undefined;
|
|
820
|
+
letterSpacing?: number | undefined;
|
|
821
|
+
lineHeight?: number | undefined;
|
|
822
|
+
textAlign?: "auto" | "left" | "right" | "center" | "justify" | "start" | "end" | undefined;
|
|
823
|
+
textAlignVertical?: "auto" | "top" | "bottom" | "center" | undefined;
|
|
824
|
+
includeFontPadding?: boolean | undefined;
|
|
825
|
+
textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through" | undefined;
|
|
826
|
+
textDecorationStyle?: "solid" | "double" | "dotted" | "dashed" | "wavy" | undefined;
|
|
827
|
+
textDecorationColor?: ____ColorValue_Internal | undefined;
|
|
828
|
+
textTransform?: "none" | "capitalize" | "uppercase" | "lowercase" | undefined;
|
|
829
|
+
userSelect?: "auto" | "text" | "none" | "contain" | "all" | undefined;
|
|
830
|
+
verticalAlign?: "auto" | "top" | "bottom" | "middle" | undefined;
|
|
831
|
+
writingDirection?: "auto" | "ltr" | "rtl" | undefined;
|
|
811
832
|
}>;
|
|
812
833
|
export type ____TextStyle_InternalCore = Readonly<Omit<____ViewStyle_Internal, keyof ____TextStyle_InternalBase | keyof {}> & Omit<____TextStyle_InternalBase, keyof {}> & {}>;
|
|
813
834
|
export type ____TextStyle_Internal = Readonly<Omit<____TextStyle_InternalCore, keyof ____TextStyle_InternalOverrides | keyof {}> & Omit<____TextStyle_InternalOverrides, keyof {}> & {}>;
|
|
814
835
|
export type ____ImageStyle_InternalCore = Readonly<Omit<____ViewStyle_Internal, keyof {
|
|
815
|
-
resizeMode?: ImageResizeMode;
|
|
816
|
-
objectFit?: "cover" | "contain" | "fill" | "scale-down" | "none";
|
|
817
|
-
tintColor?: ____ColorValue_Internal;
|
|
818
|
-
overlayColor?: ColorValue;
|
|
819
|
-
overflow?: "visible" | "hidden";
|
|
836
|
+
resizeMode?: ImageResizeMode | undefined;
|
|
837
|
+
objectFit?: "cover" | "contain" | "fill" | "scale-down" | "none" | undefined;
|
|
838
|
+
tintColor?: ____ColorValue_Internal | undefined;
|
|
839
|
+
overlayColor?: ColorValue | undefined;
|
|
840
|
+
overflow?: "visible" | "hidden" | undefined;
|
|
820
841
|
}> & {
|
|
821
|
-
resizeMode?: ImageResizeMode;
|
|
822
|
-
objectFit?: "cover" | "contain" | "fill" | "scale-down" | "none";
|
|
823
|
-
tintColor?: ____ColorValue_Internal;
|
|
824
|
-
overlayColor?: ColorValue;
|
|
825
|
-
overflow?: "visible" | "hidden";
|
|
842
|
+
resizeMode?: ImageResizeMode | undefined;
|
|
843
|
+
objectFit?: "cover" | "contain" | "fill" | "scale-down" | "none" | undefined;
|
|
844
|
+
tintColor?: ____ColorValue_Internal | undefined;
|
|
845
|
+
overlayColor?: ColorValue | undefined;
|
|
846
|
+
overflow?: "visible" | "hidden" | undefined;
|
|
826
847
|
}>;
|
|
827
848
|
export type ____ImageStyle_Internal = Readonly<Omit<____ImageStyle_InternalCore, keyof ____ImageStyle_InternalOverrides | keyof {}> & Omit<____ImageStyle_InternalOverrides, keyof {}> & {}>;
|
|
828
849
|
export type ____DangerouslyImpreciseStyle_InternalCore = Readonly<Omit<____TextStyle_Internal, keyof {
|
|
829
|
-
resizeMode?: ImageResizeMode;
|
|
830
|
-
objectFit?: "cover" | "contain" | "fill" | "scale-down" | "none";
|
|
831
|
-
tintColor?: ____ColorValue_Internal;
|
|
832
|
-
overlayColor?: ColorValue;
|
|
850
|
+
resizeMode?: ImageResizeMode | undefined;
|
|
851
|
+
objectFit?: "cover" | "contain" | "fill" | "scale-down" | "none" | undefined;
|
|
852
|
+
tintColor?: ____ColorValue_Internal | undefined;
|
|
853
|
+
overlayColor?: ColorValue | undefined;
|
|
833
854
|
}> & {
|
|
834
|
-
resizeMode?: ImageResizeMode;
|
|
835
|
-
objectFit?: "cover" | "contain" | "fill" | "scale-down" | "none";
|
|
836
|
-
tintColor?: ____ColorValue_Internal;
|
|
837
|
-
overlayColor?: ColorValue;
|
|
855
|
+
resizeMode?: ImageResizeMode | undefined;
|
|
856
|
+
objectFit?: "cover" | "contain" | "fill" | "scale-down" | "none" | undefined;
|
|
857
|
+
tintColor?: ____ColorValue_Internal | undefined;
|
|
858
|
+
overlayColor?: ColorValue | undefined;
|
|
838
859
|
}>;
|
|
839
860
|
export type ____DangerouslyImpreciseStyle_Internal = Readonly<Omit<____DangerouslyImpreciseStyle_InternalCore, keyof ____DangerouslyImpreciseStyle_InternalOverrides | keyof {}> & Omit<____DangerouslyImpreciseStyle_InternalOverrides, keyof {}> & {}>;
|
|
840
861
|
export type StyleProp<T> = null | void | T | false | "" | ReadonlyArray<StyleProp<T>>;
|