react-native-tvos 0.86.0-2 → 0.86.3-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/React-RCTActionSheet.podspec +1 -1
- package/Libraries/Animated/components/AnimatedScrollView.js +1 -1
- package/Libraries/AppDelegate/React-RCTAppDelegate.podspec +1 -1
- package/Libraries/Blob/React-RCTBlob.podspec +1 -1
- package/Libraries/Components/Button.js +2 -2
- package/Libraries/Components/TV/TVFocusGuideView.js +31 -0
- package/Libraries/Components/TV/useFocusEnterLeave.js +112 -0
- package/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js +1 -1
- package/Libraries/Components/TextInput/TextInput.flow.js +1 -1
- package/Libraries/Components/Touchable/Touchable.d.ts +1 -1
- package/Libraries/Components/View/ViewAccessibility.d.ts +1 -1
- package/Libraries/Components/View/ViewAccessibility.js +1 -1
- package/Libraries/Core/ReactNativeVersion.js +2 -2
- package/Libraries/Core/Timers/JSTimers.js +1 -1
- package/Libraries/Core/setUpNavigator.js +1 -1
- package/Libraries/EventEmitter/RCTNativeAppEventEmitter.d.ts +1 -1
- package/Libraries/FBLazyVector/FBLazyVector.podspec +1 -1
- package/Libraries/Image/ImageSource.d.ts +1 -1
- package/Libraries/Image/RCTImageLoader.mm +1 -1
- package/Libraries/Image/React-RCTImage.podspec +1 -1
- package/Libraries/Interaction/PanResponder.js +1 -1
- package/Libraries/LinkingIOS/React-RCTLinking.podspec +1 -1
- package/Libraries/NativeAnimation/React-RCTAnimation.podspec +1 -1
- package/Libraries/Network/React-RCTNetwork.podspec +1 -1
- package/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec +1 -1
- package/Libraries/Renderer/README.md +2 -2
- package/Libraries/Required/RCTRequired.podspec +1 -1
- package/Libraries/Settings/React-RCTSettings.podspec +1 -1
- package/Libraries/Text/React-RCTText.podspec +1 -1
- package/Libraries/TypeSafety/RCTTypeSafety.podspec +1 -1
- package/Libraries/Utilities/PolyfillFunctions.js +1 -1
- package/Libraries/Vibration/React-RCTVibration.podspec +1 -1
- package/README-core.md +6 -6
- package/README.md +2 -0
- package/React/Base/RCTVersion.m +2 -2
- package/React/CoreModules/React-CoreModules.podspec +1 -1
- package/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm +1 -1
- package/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm +1 -1
- package/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.mm +43 -17
- package/React/React-RCTFBReactNativeSpec.podspec +1 -1
- package/React/React-RCTFabric.podspec +1 -1
- package/React/Runtime/React-RCTRuntime.podspec +1 -1
- package/React/Views/ScrollView/RCTScrollView.m +1 -1
- package/React-Core.podspec +1 -1
- package/React.podspec +1 -1
- package/ReactAndroid/build.gradle.kts +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/publish.gradle +5 -5
- package/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java +5 -4
- package/ReactAndroid/src/main/java/com/facebook/react/devsupport/CxxInspectorPackagerConnection.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.kt +49 -12
- package/ReactAndroid/src/main/java/com/facebook/react/modules/core/JavaTimerManager.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/modules/intent/IntentModule.kt +8 -4
- package/ReactAndroid/src/main/java/com/facebook/react/modules/network/NetworkingModule.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactInstance.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/BaseViewManager.java +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactNestedScrollViewManager.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollViewManager.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextView.java +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputManager.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextSelectionWatcher.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewGroup.kt +4 -4
- package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewManager.kt +1 -1
- package/ReactApple/Libraries/RCTFoundation/RCTDeprecation/RCTDeprecation.podspec +1 -1
- package/ReactApple/RCTSwiftUI/RCTSwiftUI.podspec +1 -1
- package/ReactApple/RCTSwiftUIWrapper/RCTSwiftUIWrapper.podspec +1 -1
- package/ReactCommon/React-Fabric.podspec +1 -1
- package/ReactCommon/React-FabricComponents.podspec +1 -1
- package/ReactCommon/React-FabricImage.podspec +1 -1
- package/ReactCommon/React-Mapbuffer.podspec +1 -1
- package/ReactCommon/ReactCommon.podspec +1 -1
- package/ReactCommon/callinvoker/React-callinvoker.podspec +1 -1
- package/ReactCommon/cxxreact/React-cxxreact.podspec +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +3 -3
- package/ReactCommon/hermes/React-hermes.podspec +1 -1
- package/ReactCommon/hermes/executor/React-jsitracing.podspec +1 -1
- package/ReactCommon/jserrorhandler/React-jserrorhandler.podspec +1 -1
- package/ReactCommon/jsi/React-jsi.podspec +1 -1
- package/ReactCommon/jsiexecutor/React-jsiexecutor.podspec +1 -1
- package/ReactCommon/jsinspector-modern/React-jsinspector.podspec +1 -1
- package/ReactCommon/jsinspector-modern/cdp/React-jsinspectorcdp.podspec +1 -1
- package/ReactCommon/jsinspector-modern/network/React-jsinspectornetwork.podspec +1 -1
- package/ReactCommon/jsinspector-modern/tracing/React-jsinspectortracing.podspec +1 -1
- package/ReactCommon/jsitooling/React-jsitooling.podspec +1 -1
- package/ReactCommon/logger/React-logger.podspec +1 -1
- package/ReactCommon/oscompat/React-oscompat.podspec +1 -1
- package/ReactCommon/react/debug/React-debug.podspec +1 -1
- package/ReactCommon/react/debug/redbox/JscSafeUrl.h +1 -1
- package/ReactCommon/react/featureflags/React-featureflags.podspec +1 -1
- 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.mm +1 -1
- package/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModule.mm +1 -1
- package/ReactCommon/react/nativemodule/defaults/React-defaultsnativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/dom/NativeDOM.cpp +10 -4
- package/ReactCommon/react/nativemodule/dom/React-domnativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/featureflags/React-featureflagsnativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/idlecallbacks/React-idlecallbacksnativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/intersectionobserver/React-intersectionobservernativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/microtasks/React-microtasksnativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/mutationobserver/React-mutationobservernativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/samples/ReactCommon-Samples.podspec +1 -1
- package/ReactCommon/react/nativemodule/viewtransition/React-viewtransitionnativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/webperformance/React-webperformancenativemodule.podspec +1 -1
- package/ReactCommon/react/networking/React-networking.podspec +1 -1
- package/ReactCommon/react/performance/cdpmetrics/React-performancecdpmetrics.podspec +1 -1
- package/ReactCommon/react/performance/timeline/React-performancetimeline.podspec +1 -1
- package/ReactCommon/react/renderer/animated/internal/primitives.h +1 -1
- package/ReactCommon/react/renderer/consistency/React-rendererconsistency.podspec +1 -1
- package/ReactCommon/react/renderer/core/EventEmitter.cpp +20 -4
- package/ReactCommon/react/renderer/core/ShadowNode.cpp +27 -19
- package/ReactCommon/react/renderer/core/ShadowNodeFamily.h +2 -0
- package/ReactCommon/react/renderer/css/React-renderercss.podspec +1 -1
- package/ReactCommon/react/renderer/debug/React-rendererdebug.podspec +1 -1
- package/ReactCommon/react/renderer/graphics/React-graphics.podspec +1 -1
- package/ReactCommon/react/renderer/imagemanager/platform/ios/React-ImageManager.podspec +1 -1
- package/ReactCommon/react/renderer/mounting/internal/CullingContext.cpp +1 -1
- package/ReactCommon/react/renderer/runtimescheduler/React-runtimescheduler.podspec +1 -1
- package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTFontUtils.mm +1 -1
- package/ReactCommon/react/renderer/uimanager/UIManager.cpp +58 -53
- package/ReactCommon/react/renderer/uimanager/tests/FabricUIManagerTest.cpp +144 -3
- package/ReactCommon/react/runtime/React-RuntimeCore.podspec +1 -1
- package/ReactCommon/react/runtime/React-RuntimeHermes.podspec +1 -1
- package/ReactCommon/react/runtime/platform/ios/React-RuntimeApple.podspec +1 -1
- package/ReactCommon/react/timing/React-timing.podspec +1 -1
- package/ReactCommon/react/utils/React-utils.podspec +1 -1
- package/ReactCommon/reactperflogger/React-perflogger.podspec +1 -1
- package/ReactCommon/runtimeexecutor/React-runtimeexecutor.podspec +1 -1
- package/ReactCommon/yoga/Yoga.podspec +2 -2
- package/ReactCommon/yoga/yoga/algorithm/AbsoluteLayout.cpp +2 -1
- package/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp +11 -7
- package/ReactCommon/yoga/yoga/algorithm/CalculateLayout.h +1 -1
- package/package.json +11 -11
- package/scripts/cocoapods/spm.rb +1 -1
- package/scripts/cocoapods/utils.rb +2 -2
- package/scripts/codegen/templates/ReactAppDependencyProvider.podspec.template +1 -1
- package/scripts/codegen/templates/ReactCodegen.podspec.template +1 -1
- package/scripts/ios-configure-glog.sh +1 -1
- package/sdks/.hermesv1version +1 -1
- package/sdks/hermes-engine/hermes-engine.podspec +7 -2
- package/sdks/hermes-engine/version.properties +1 -1
- package/src/private/types/HostInstance.js +1 -1
- package/src/types/globals.d.ts +2 -2
- package/third-party-podspecs/RCT-Folly.podspec +1 -1
- package/third-party-podspecs/ReactNativeDependencies.podspec +1 -1
- package/third-party-podspecs/glog.podspec +1 -1
- package/types/public/ReactNativeTVTypes.d.ts +12 -1
- package/types/public/ReactNativeTypes.d.ts +2 -2
- package/types_generated/Libraries/ActionSheetIOS/ActionSheetIOS.d.ts +101 -0
- package/types_generated/Libraries/Alert/Alert.d.ts +55 -0
- package/types_generated/Libraries/Animated/Animated.d.ts +14 -0
- package/types_generated/Libraries/Animated/AnimatedEvent.d.ts +30 -0
- package/types_generated/Libraries/Animated/AnimatedExports.d.ts +191 -0
- package/types_generated/Libraries/Animated/AnimatedImplementation.d.ts +128 -0
- package/types_generated/Libraries/Animated/AnimatedPlatformConfig.d.ts +13 -0
- package/types_generated/Libraries/Animated/Easing.d.ts +171 -0
- package/types_generated/Libraries/Animated/animations/Animation.d.ts +35 -0
- package/types_generated/Libraries/Animated/animations/DecayAnimation.d.ts +42 -0
- package/types_generated/Libraries/Animated/animations/SpringAnimation.d.ts +130 -0
- package/types_generated/Libraries/Animated/animations/TimingAnimation.d.ts +54 -0
- package/types_generated/Libraries/Animated/components/AnimatedFlatList.d.ts +22 -0
- package/types_generated/Libraries/Animated/components/AnimatedImage.d.ts +18 -0
- package/types_generated/Libraries/Animated/components/AnimatedScrollView.d.ts +23 -0
- package/types_generated/Libraries/Animated/components/AnimatedSectionList.d.ts +22 -0
- package/types_generated/Libraries/Animated/components/AnimatedText.d.ts +18 -0
- package/types_generated/Libraries/Animated/components/AnimatedView.d.ts +19 -0
- package/types_generated/Libraries/Animated/createAnimatedComponent.d.ts +44 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedAddition.d.ts +22 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedColor.d.ts +80 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedDiffClamp.d.ts +22 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedDivision.d.ts +22 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedInterpolation.d.ts +38 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedModulo.d.ts +22 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedMultiplication.d.ts +22 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedNode.d.ts +47 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedProps.d.ts +30 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedStyle.d.ts +32 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedSubtraction.d.ts +22 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedTracking.d.ts +21 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedValue.d.ts +126 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedValueXY.d.ts +135 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedWithChildren.d.ts +15 -0
- package/types_generated/Libraries/Animated/useAnimatedColor.d.ts +16 -0
- package/types_generated/Libraries/Animated/useAnimatedValue.d.ts +15 -0
- package/types_generated/Libraries/Animated/useAnimatedValueXY.d.ts +18 -0
- package/types_generated/Libraries/AppState/AppState.d.ts +63 -0
- package/types_generated/Libraries/BatchedBridge/BatchedBridge.d.ts +17 -0
- package/types_generated/Libraries/BatchedBridge/MessageQueue.d.ts +39 -0
- package/types_generated/Libraries/BatchedBridge/NativeModules.d.ts +20 -0
- package/types_generated/Libraries/Blob/Blob.d.ts +80 -0
- package/types_generated/Libraries/Blob/BlobTypes.d.ts +27 -0
- package/types_generated/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +232 -0
- package/types_generated/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.d.ts +20 -0
- package/types_generated/Libraries/Components/ActivityIndicator/ActivityIndicator.d.ts +84 -0
- package/types_generated/Libraries/Components/Button.d.ts +247 -0
- package/types_generated/Libraries/Components/Clipboard/Clipboard.d.ts +38 -0
- package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.d.ts +17 -0
- package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidFallback.d.ts +27 -0
- package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidTypes.d.ts +176 -0
- package/types_generated/Libraries/Components/Keyboard/Keyboard.d.ts +146 -0
- package/types_generated/Libraries/Components/Keyboard/KeyboardAvoidingView.d.ts +73 -0
- package/types_generated/Libraries/Components/LayoutConformance/LayoutConformance.d.ts +23 -0
- package/types_generated/Libraries/Components/Pressable/Pressable.d.ts +146 -0
- package/types_generated/Libraries/Components/Pressable/useAndroidRippleForView.d.ts +48 -0
- package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.d.ts +32 -0
- package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidNativeComponent.d.ts +14 -0
- package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidTypes.d.ts +50 -0
- package/types_generated/Libraries/Components/RefreshControl/RefreshControl.d.ts +113 -0
- package/types_generated/Libraries/Components/SafeAreaView/SafeAreaView.d.ts +33 -0
- package/types_generated/Libraries/Components/ScrollView/ScrollView.d.ts +581 -0
- package/types_generated/Libraries/Components/ScrollView/ScrollViewContext.d.ts +24 -0
- package/types_generated/Libraries/Components/ScrollView/ScrollViewNativeComponent.d.ts +21 -0
- package/types_generated/Libraries/Components/ScrollView/ScrollViewNativeComponentType.d.ts +140 -0
- package/types_generated/Libraries/Components/ScrollView/ScrollViewStickyHeader.d.ts +36 -0
- package/types_generated/Libraries/Components/StatusBar/StatusBar.d.ts +222 -0
- package/types_generated/Libraries/Components/Switch/AndroidSwitchNativeComponent.d.ts +14 -0
- package/types_generated/Libraries/Components/Switch/Switch.d.ts +138 -0
- package/types_generated/Libraries/Components/Switch/SwitchNativeComponent.d.ts +14 -0
- package/types_generated/Libraries/Components/TV/TVEventControl.d.ts +23 -0
- package/types_generated/Libraries/Components/TV/TVEventHandler.d.ts +21 -0
- package/types_generated/Libraries/Components/TV/TVFocusGuideView.d.ts +96 -0
- package/types_generated/Libraries/Components/TV/TVTextScrollView.d.ts +97 -0
- package/types_generated/Libraries/Components/TV/TVViewPropTypes.d.ts +123 -0
- package/types_generated/Libraries/Components/TV/tagForComponentOrHandle.d.ts +24 -0
- package/types_generated/Libraries/Components/TV/useTVEventHandler.d.ts +20 -0
- package/types_generated/Libraries/Components/TextInput/InputAccessoryView.d.ts +86 -0
- package/types_generated/Libraries/Components/TextInput/TextInput.d.ts +47 -0
- package/types_generated/Libraries/Components/TextInput/TextInput.flow.d.ts +1005 -0
- package/types_generated/Libraries/Components/TextInput/TextInputState.d.ts +54 -0
- package/types_generated/Libraries/Components/ToastAndroid/ToastAndroid.d.ts +99 -0
- package/types_generated/Libraries/Components/Touchable/Touchable.d.ts +257 -0
- package/types_generated/Libraries/Components/Touchable/TouchableHighlight.d.ts +51 -0
- package/types_generated/Libraries/Components/Touchable/TouchableNativeFeedback.d.ts +192 -0
- package/types_generated/Libraries/Components/Touchable/TouchableOpacity.d.ts +35 -0
- package/types_generated/Libraries/Components/Touchable/TouchableWithoutFeedback.d.ts +121 -0
- package/types_generated/Libraries/Components/View/View.d.ts +30 -0
- package/types_generated/Libraries/Components/View/ViewAccessibility.d.ts +415 -0
- package/types_generated/Libraries/Components/View/ViewNativeComponent.d.ts +39 -0
- package/types_generated/Libraries/Components/View/ViewPropTypes.d.ts +367 -0
- package/types_generated/Libraries/Core/Devtools/symbolicateStackTrace.d.ts +27 -0
- package/types_generated/Libraries/Core/ExceptionsManager.d.ts +43 -0
- package/types_generated/Libraries/Core/ExtendedError.d.ts +26 -0
- package/types_generated/Libraries/Core/NativeExceptionsManager.d.ts +17 -0
- package/types_generated/Libraries/Core/RawEventEmitter.d.ts +26 -0
- package/types_generated/Libraries/Core/ReactFiberErrorDialog.d.ts +27 -0
- package/types_generated/Libraries/Core/ReactNativeVersion.d.ts +48 -0
- package/types_generated/Libraries/Core/registerCallableModule.d.ts +18 -0
- package/types_generated/Libraries/EventEmitter/NativeEventEmitter.d.ts +42 -0
- package/types_generated/Libraries/EventEmitter/RCTDeviceEventEmitter.d.ts +19 -0
- package/types_generated/Libraries/EventEmitter/RCTEventEmitter.d.ts +18 -0
- package/types_generated/Libraries/EventEmitter/RCTNativeAppEventEmitter.d.ts +21 -0
- package/types_generated/Libraries/Image/AssetSourceResolver.d.ts +71 -0
- package/types_generated/Libraries/Image/Image.d.ts +18 -0
- package/types_generated/Libraries/Image/ImageBackground.d.ts +44 -0
- package/types_generated/Libraries/Image/ImageProps.d.ts +512 -0
- package/types_generated/Libraries/Image/ImageResizeMode.d.ts +17 -0
- package/types_generated/Libraries/Image/ImageSource.d.ts +94 -0
- package/types_generated/Libraries/Image/ImageTypes.flow.d.ts +61 -0
- package/types_generated/Libraries/Interaction/InteractionManager.d.ts +117 -0
- package/types_generated/Libraries/Interaction/PanResponder.d.ts +228 -0
- package/types_generated/Libraries/LayoutAnimation/LayoutAnimation.d.ts +76 -0
- package/types_generated/Libraries/Linking/Linking.d.ts +68 -0
- package/types_generated/Libraries/Lists/FlatList.d.ts +317 -0
- package/types_generated/Libraries/Lists/SectionList.d.ts +172 -0
- package/types_generated/Libraries/Lists/VirtualizedList.d.ts +19 -0
- package/types_generated/Libraries/Lists/VirtualizedSectionList.d.ts +19 -0
- package/types_generated/Libraries/LogBox/Data/LogBoxData.d.ts +78 -0
- package/types_generated/Libraries/LogBox/Data/LogBoxLog.d.ts +71 -0
- package/types_generated/Libraries/LogBox/Data/LogBoxSymbolication.d.ts +17 -0
- package/types_generated/Libraries/LogBox/Data/parseLogBoxLog.d.ts +49 -0
- package/types_generated/Libraries/LogBox/LogBox.d.ts +29 -0
- package/types_generated/Libraries/Modal/Modal.d.ts +110 -0
- package/types_generated/Libraries/NativeComponent/NativeComponentRegistry.d.ts +50 -0
- package/types_generated/Libraries/NativeModules/specs/NativeDialogManagerAndroid.d.ts +17 -0
- package/types_generated/Libraries/Network/FormData.d.ts +56 -0
- package/types_generated/Libraries/Network/RCTNetworking.d.ts +25 -0
- package/types_generated/Libraries/Network/RCTNetworkingEventDefinitions.flow.d.ts +22 -0
- package/types_generated/Libraries/Network/XMLHttpRequest.d.ts +114 -0
- package/types_generated/Libraries/Network/convertRequestBody.d.ts +21 -0
- package/types_generated/Libraries/Performance/Systrace.d.ts +61 -0
- package/types_generated/Libraries/PermissionsAndroid/PermissionsAndroid.d.ts +129 -0
- package/types_generated/Libraries/Pressability/Pressability.d.ts +241 -0
- package/types_generated/Libraries/Pressability/usePressability.d.ts +27 -0
- package/types_generated/Libraries/PushNotificationIOS/PushNotificationIOS.d.ts +323 -0
- package/types_generated/Libraries/ReactNative/AppRegistry.d.ts +14 -0
- package/types_generated/Libraries/ReactNative/AppRegistry.flow.d.ts +43 -0
- package/types_generated/Libraries/ReactNative/AppRegistryImpl.d.ts +73 -0
- package/types_generated/Libraries/ReactNative/DisplayMode.d.ts +24 -0
- package/types_generated/Libraries/ReactNative/I18nManager.d.ts +23 -0
- package/types_generated/Libraries/ReactNative/IPerformanceLogger.flow.d.ts +57 -0
- package/types_generated/Libraries/ReactNative/NativeI18nManager.d.ts +17 -0
- package/types_generated/Libraries/ReactNative/NativeUIManager.d.ts +17 -0
- package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance.d.ts +31 -0
- package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactNativeAttributePayload.d.ts +15 -0
- package/types_generated/Libraries/ReactNative/RendererImplementation.d.ts +36 -0
- package/types_generated/Libraries/ReactNative/RendererProxy.d.ts +13 -0
- package/types_generated/Libraries/ReactNative/RootTag.d.ts +22 -0
- package/types_generated/Libraries/ReactNative/UIManager.d.ts +17 -0
- package/types_generated/Libraries/ReactNative/requireNativeComponent.d.ts +25 -0
- package/types_generated/Libraries/ReactPrivate/ReactNativePrivateInterface.d.ts +33 -0
- package/types_generated/Libraries/Renderer/shims/ReactFabric.d.ts +17 -0
- package/types_generated/Libraries/Renderer/shims/ReactNativeTypes.d.ts +155 -0
- package/types_generated/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.d.ts +41 -0
- package/types_generated/Libraries/Settings/Settings.d.ts +21 -0
- package/types_generated/Libraries/Share/Share.d.ts +85 -0
- package/types_generated/Libraries/StyleSheet/EdgeInsetsPropType.d.ts +15 -0
- package/types_generated/Libraries/StyleSheet/PlatformColorValueTypes.d.ts +17 -0
- package/types_generated/Libraries/StyleSheet/PlatformColorValueTypesIOS.d.ts +27 -0
- package/types_generated/Libraries/StyleSheet/PointPropType.d.ts +16 -0
- package/types_generated/Libraries/StyleSheet/Rect.d.ts +22 -0
- package/types_generated/Libraries/StyleSheet/StyleSheet.d.ts +153 -0
- package/types_generated/Libraries/StyleSheet/StyleSheetExports.d.ts +94 -0
- package/types_generated/Libraries/StyleSheet/StyleSheetTypes.d.ts +851 -0
- package/types_generated/Libraries/StyleSheet/flattenStyle.d.ts +19 -0
- package/types_generated/Libraries/StyleSheet/private/_StyleSheetTypesOverrides.d.ts +17 -0
- package/types_generated/Libraries/StyleSheet/private/_TransformStyle.d.ts +76 -0
- package/types_generated/Libraries/StyleSheet/processColor.d.ts +18 -0
- package/types_generated/Libraries/Text/Text.d.ts +30 -0
- package/types_generated/Libraries/Text/TextAncestorContext.d.ts +20 -0
- package/types_generated/Libraries/Text/TextNativeComponent.d.ts +41 -0
- package/types_generated/Libraries/Text/TextProps.d.ts +220 -0
- package/types_generated/Libraries/TurboModule/RCTExport.d.ts +35 -0
- package/types_generated/Libraries/TurboModule/TurboModuleRegistry.d.ts +15 -0
- package/types_generated/Libraries/Types/CodegenTypes.d.ts +24 -0
- package/types_generated/Libraries/Types/CodegenTypesNamespace.d.ts +14 -0
- package/types_generated/Libraries/Types/CoreEventTypes.d.ts +355 -0
- package/types_generated/Libraries/Types/RootTagTypes.d.ts +13 -0
- package/types_generated/Libraries/Types/UIManagerJSInterface.d.ts +17 -0
- package/types_generated/Libraries/UTFSequence.d.ts +39 -0
- package/types_generated/Libraries/Utilities/Appearance.d.ts +31 -0
- package/types_generated/Libraries/Utilities/BackHandler.d.ts +27 -0
- package/types_generated/Libraries/Utilities/DevSettings.d.ts +34 -0
- package/types_generated/Libraries/Utilities/DeviceInfo.d.ts +17 -0
- package/types_generated/Libraries/Utilities/Dimensions.d.ts +54 -0
- package/types_generated/Libraries/Utilities/NativeAppearance.d.ts +17 -0
- package/types_generated/Libraries/Utilities/NativeDeviceInfo.d.ts +14 -0
- package/types_generated/Libraries/Utilities/PixelRatio.d.ts +110 -0
- package/types_generated/Libraries/Utilities/Platform.d.ts +16 -0
- package/types_generated/Libraries/Utilities/PlatformTypes.d.ts +134 -0
- package/types_generated/Libraries/Utilities/codegenNativeCommands.d.ts +19 -0
- package/types_generated/Libraries/Utilities/codegenNativeComponent.d.ts +24 -0
- package/types_generated/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.d.ts +33 -0
- package/types_generated/Libraries/Utilities/differ/deepDiffer.d.ts +19 -0
- package/types_generated/Libraries/Utilities/useColorScheme.d.ts +15 -0
- package/types_generated/Libraries/Utilities/useWindowDimensions.d.ts +15 -0
- package/types_generated/Libraries/Vibration/Vibration.d.ts +29 -0
- package/types_generated/Libraries/vendor/core/ErrorUtils.d.ts +39 -0
- package/types_generated/Libraries/vendor/emitter/EventEmitter.d.ts +67 -0
- package/types_generated/index.d.ts +184 -0
- package/types_generated/src/private/components/virtualcollection/FlingConstants.d.ts +20 -0
- package/types_generated/src/private/components/virtualcollection/Virtual.d.ts +46 -0
- package/types_generated/src/private/components/virtualcollection/VirtualCollectionView.d.ts +81 -0
- package/types_generated/src/private/components/virtualcollection/column/VirtualColumn.d.ts +23 -0
- package/types_generated/src/private/components/virtualcollection/column/VirtualColumnGenerator.d.ts +17 -0
- package/types_generated/src/private/components/virtualcollection/dom/getScrollParent.d.ts +21 -0
- package/types_generated/src/private/components/virtualcollection/row/VirtualRow.d.ts +23 -0
- package/types_generated/src/private/components/virtualview/VirtualView.d.ts +75 -0
- package/types_generated/src/private/components/virtualview/VirtualViewExperimentalNativeComponent.d.ts +107 -0
- package/types_generated/src/private/components/virtualview/VirtualViewNativeComponent.d.ts +107 -0
- package/types_generated/src/private/devsupport/devmenu/DevMenu.d.ts +28 -0
- package/types_generated/src/private/specs_DEPRECATED/components/AndroidSwitchNativeComponent.d.ts +53 -0
- package/types_generated/src/private/specs_DEPRECATED/components/ProgressBarAndroidNativeComponent.d.ts +36 -0
- package/types_generated/src/private/specs_DEPRECATED/components/SwitchNativeComponent.d.ts +51 -0
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeAppearance.d.ts +26 -0
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeDeviceInfo.d.ts +46 -0
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeDialogManagerAndroid.d.ts +37 -0
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeExceptionsManager.d.ts +45 -0
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeI18nManager.d.ts +27 -0
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeUIManager.d.ts +109 -0
- package/types_generated/src/private/styles/composeStyles.d.ts +19 -0
- package/types_generated/src/private/types/HostComponent.d.ts +19 -0
- package/types_generated/src/private/types/HostInstance.d.ts +92 -0
- package/types_generated/src/private/webapis/dom/events/CustomEvent.d.ts +27 -0
- package/types_generated/src/private/webapis/dom/events/Event.d.ts +50 -0
- package/types_generated/src/private/webapis/dom/events/EventTarget.d.ts +36 -0
- package/types_generated/src/private/webapis/dom/nodes/ReactNativeDocument.d.ts +33 -0
- package/types_generated/src/private/webapis/dom/nodes/ReactNativeElement.d.ts +36 -0
- package/types_generated/src/private/webapis/dom/nodes/ReadOnlyCharacterData.d.ts +30 -0
- package/types_generated/src/private/webapis/dom/nodes/ReadOnlyElement.d.ts +54 -0
- package/types_generated/src/private/webapis/dom/nodes/ReadOnlyNode.d.ts +129 -0
- package/types_generated/src/private/webapis/dom/nodes/ReadOnlyText.d.ts +24 -0
- package/types_generated/src/private/webapis/dom/nodes/internals/NodeInternals.d.ts +36 -0
- package/types_generated/src/private/webapis/dom/nodes/internals/ReactNativeDocumentElementInstanceHandle.d.ts +23 -0
- package/types_generated/src/private/webapis/dom/nodes/internals/ReactNativeDocumentInstanceHandle.d.ts +22 -0
- package/types_generated/src/private/webapis/dom/nodes/specs/NativeDOM.d.ts +229 -0
- package/types_generated/src/private/webapis/dom/oldstylecollections/HTMLCollection.d.ts +22 -0
- package/types_generated/src/private/webapis/dom/oldstylecollections/NodeList.d.ts +25 -0
- package/types_generated/src/private/webapis/geometry/DOMRect.d.ts +46 -0
- package/types_generated/src/private/webapis/geometry/DOMRectReadOnly.d.ts +73 -0
- package/types_generated/src/private/webapis/utils/ArrayLikeUtils.d.ts +27 -0
- package/types_generated/tsconfig.json +3 -0
- package/types_generated/tsconfig.test.json +16 -0
package/sdks/.hermesv1version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
hermes-v250829098.0.
|
|
1
|
+
hermes-v250829098.0.17
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
# LICENSE file in the root directory of this source tree.
|
|
5
5
|
|
|
6
6
|
require "json"
|
|
7
|
+
require "pathname"
|
|
7
8
|
require_relative "./hermes-utils.rb"
|
|
8
9
|
|
|
9
10
|
begin
|
|
@@ -74,7 +75,7 @@ Pod::Spec.new do |spec|
|
|
|
74
75
|
else
|
|
75
76
|
# Hermes v1 is shipping a jsi/hermes.h header which is imported by the hermes.h header
|
|
76
77
|
# and that file is not present in React Native's JSI
|
|
77
|
-
# (see https://github.com/
|
|
78
|
+
# (see https://github.com/react/react-native/tree/main/packages/react-native/ReactCommon/jsi/jsi/ where there is
|
|
78
79
|
# hermes-interface.h but not hermes.h)
|
|
79
80
|
ss.source_files = ["destroot/include/hermes/**/*.h", "destroot/include/jsi/hermes.h"]
|
|
80
81
|
end
|
|
@@ -91,9 +92,13 @@ Pod::Spec.new do |spec|
|
|
|
91
92
|
hermes_compiler_path = File.dirname(Pod::Executable.execute_command('node', ['-p',
|
|
92
93
|
"require.resolve(\"hermes-compiler\", {paths: [\"#{react_native_path}\"]})", __dir__]).strip
|
|
93
94
|
)
|
|
95
|
+
hermesc_path = File.join(hermes_compiler_path, 'hermesc', 'osx-bin', 'hermesc')
|
|
96
|
+
|
|
97
|
+
pods_root = Pod::Config.instance.sandbox.root
|
|
98
|
+
relative_hermesc = Pathname.new(hermesc_path).relative_path_from(pods_root)
|
|
94
99
|
|
|
95
100
|
spec.user_target_xcconfig = {
|
|
96
|
-
'HERMES_CLI_PATH' => "
|
|
101
|
+
'HERMES_CLI_PATH' => "$(PODS_ROOT)/#{relative_hermesc}"
|
|
97
102
|
}
|
|
98
103
|
end
|
|
99
104
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
HERMES_VERSION_NAME=0.17.0
|
|
2
|
-
HERMES_V1_VERSION_NAME=250829098.0.
|
|
2
|
+
HERMES_V1_VERSION_NAME=250829098.0.17
|
|
@@ -42,7 +42,7 @@ export type MeasureLayoutOnSuccessCallback = (
|
|
|
42
42
|
* Note, however, that they are not available on composite components that aren't directly backed by a
|
|
43
43
|
* native view. This will generally include most components that you define in your own app.
|
|
44
44
|
* For more information, see [Direct Manipulation](https://reactnative.dev/docs/the-new-architecture/direct-manipulation-new-architecture).
|
|
45
|
-
* @see https://github.com/
|
|
45
|
+
* @see https://github.com/react/react-native/blob/master/Libraries/Renderer/shims/ReactNativeTypes.js#L87
|
|
46
46
|
*/
|
|
47
47
|
export interface LegacyHostInstanceMethods {
|
|
48
48
|
/**
|
package/src/types/globals.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ declare global {
|
|
|
41
41
|
*
|
|
42
42
|
* global.XMLHttpRequest = global.originalXMLHttpRequest;
|
|
43
43
|
*
|
|
44
|
-
* @see https://github.com/
|
|
44
|
+
* @see https://github.com/react/react-native/issues/934
|
|
45
45
|
*/
|
|
46
46
|
const originalXMLHttpRequest: any;
|
|
47
47
|
|
|
@@ -237,7 +237,7 @@ declare global {
|
|
|
237
237
|
/**
|
|
238
238
|
* React Native's implementation of fetch allows this syntax for uploading files from
|
|
239
239
|
* local filesystem.
|
|
240
|
-
* See https://github.com/
|
|
240
|
+
* See https://github.com/react/react-native/blob/master/Libraries/Network/convertRequestBody.js#L22
|
|
241
241
|
*/
|
|
242
242
|
interface _SourceUri {
|
|
243
243
|
uri: string;
|
|
@@ -74,7 +74,7 @@ Pod::Spec.new do |spec|
|
|
|
74
74
|
'folly/portability/*.h',
|
|
75
75
|
'folly/system/*.h',
|
|
76
76
|
|
|
77
|
-
# workaround for https://github.com/
|
|
77
|
+
# workaround for https://github.com/react/react-native/issues/14326
|
|
78
78
|
spec.preserve_paths = 'folly/*.h',
|
|
79
79
|
'folly/algorithm/simd/*.h',
|
|
80
80
|
'folly/algorithm/simd/detail/*.h',
|
|
@@ -30,7 +30,7 @@ Pod::Spec.new do |spec|
|
|
|
30
30
|
spec.version = core_version
|
|
31
31
|
spec.summary = 'React Native Dependencies'
|
|
32
32
|
spec.description = 'ReactNativeDependencies is a podspec that contains all the third-party dependencies of React Native.'
|
|
33
|
-
spec.homepage = 'https://github.com/
|
|
33
|
+
spec.homepage = 'https://github.com/react/react-native'
|
|
34
34
|
spec.license = package['license']
|
|
35
35
|
spec.authors = 'meta'
|
|
36
36
|
spec.platforms = min_supported_versions
|
|
@@ -27,7 +27,7 @@ Pod::Spec.new do |spec|
|
|
|
27
27
|
'src/symbolize.cc',
|
|
28
28
|
'src/utilities.cc',
|
|
29
29
|
'src/vlog_is_on.cc'
|
|
30
|
-
# workaround for https://github.com/
|
|
30
|
+
# workaround for https://github.com/react/react-native/issues/14326
|
|
31
31
|
spec.preserve_paths = 'src/*.h',
|
|
32
32
|
'src/base/*.h'
|
|
33
33
|
spec.exclude_files = "src/windows/**/*"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { View, ScrollViewProps, HostComponent, EventSubscription, TVParallaxProperties } from 'react-native';
|
|
2
|
+
import type { View, ScrollViewProps, HostComponent, EventSubscription, TVParallaxProperties, FocusEvent, BlurEvent } from 'react-native';
|
|
3
3
|
|
|
4
4
|
declare module 'react-native' {
|
|
5
5
|
export type FocusDestination = null | number | React.Component<any, any> | React.ComponentClass<any>;
|
|
@@ -151,6 +151,17 @@ declare module 'react-native' {
|
|
|
151
151
|
* @deprecated Don't use it, no longer necessary.
|
|
152
152
|
*/
|
|
153
153
|
safePadding?: 'both' | 'vertical' | 'horizontal' | null | undefined;
|
|
154
|
+
/**
|
|
155
|
+
* Fires once when focus enters this focus guide's subtree from outside.
|
|
156
|
+
* Unlike `onFocus`, which bubbles and fires for every descendant, this
|
|
157
|
+
* does not fire again when focus moves between descendants.
|
|
158
|
+
*/
|
|
159
|
+
onFocusEnter?: ((event: FocusEvent) => void) | undefined;
|
|
160
|
+
/**
|
|
161
|
+
* Fires once when focus leaves this focus guide's subtree entirely. Does
|
|
162
|
+
* not fire when focus moves between descendants. Pairs with `onFocusEnter`.
|
|
163
|
+
*/
|
|
164
|
+
onFocusLeave?: ((event: BlurEvent) => void) | undefined;
|
|
154
165
|
}
|
|
155
166
|
|
|
156
167
|
export type FocusGuideMethods = {
|
|
@@ -40,7 +40,7 @@ export type MeasureLayoutOnSuccessCallback = (
|
|
|
40
40
|
* Note, however, that they are not available on composite components that aren't directly backed by a
|
|
41
41
|
* native view. This will generally include most components that you define in your own app.
|
|
42
42
|
* For more information, see [Direct Manipulation](https://reactnative.dev/docs/the-new-architecture/direct-manipulation-new-architecture).
|
|
43
|
-
* @see https://github.com/
|
|
43
|
+
* @see https://github.com/react/react-native/blob/master/Libraries/Renderer/shims/ReactNativeTypes.js#L87
|
|
44
44
|
*/
|
|
45
45
|
export interface NativeMethods {
|
|
46
46
|
/**
|
|
@@ -123,7 +123,7 @@ export type NativeMethodsMixinType = NativeMethods;
|
|
|
123
123
|
/**
|
|
124
124
|
* Represents a native component, such as those returned from `requireNativeComponent`.
|
|
125
125
|
*
|
|
126
|
-
* @see https://github.com/
|
|
126
|
+
* @see https://github.com/react/react-native/blob/v0.62.0-rc.5/Libraries/Renderer/shims/ReactNativeTypes.js
|
|
127
127
|
*
|
|
128
128
|
* @todo This should eventually be defined as an AbstractComponent, but that
|
|
129
129
|
* should first be introduced in the React typings.
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*
|
|
7
|
+
* @generated SignedSource<<95a43b38d9ff7bdac53651637184abce>>
|
|
8
|
+
*
|
|
9
|
+
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
+
* Original file: packages/react-native/Libraries/ActionSheetIOS/ActionSheetIOS.js
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import type { ProcessedColorValue } from "../StyleSheet/processColor";
|
|
14
|
+
import type { ColorValue } from "../StyleSheet/StyleSheet";
|
|
15
|
+
export type ActionSheetIOSOptions = Readonly<{
|
|
16
|
+
title?: string | undefined;
|
|
17
|
+
message?: string | undefined;
|
|
18
|
+
options: Array<string>;
|
|
19
|
+
destructiveButtonIndex?: (number | undefined) | (Array<number> | undefined);
|
|
20
|
+
cancelButtonIndex?: number | undefined;
|
|
21
|
+
anchor?: number | undefined;
|
|
22
|
+
tintColor?: ColorValue | ProcessedColorValue;
|
|
23
|
+
cancelButtonTintColor?: ColorValue | ProcessedColorValue;
|
|
24
|
+
disabledButtonTintColor?: ColorValue | ProcessedColorValue;
|
|
25
|
+
userInterfaceStyle?: string;
|
|
26
|
+
disabledButtonIndices?: Array<number>;
|
|
27
|
+
}>;
|
|
28
|
+
export type ShareActionSheetIOSOptions = Readonly<{
|
|
29
|
+
message?: string | undefined;
|
|
30
|
+
url?: string | undefined;
|
|
31
|
+
subject?: string | undefined;
|
|
32
|
+
anchor?: number | undefined;
|
|
33
|
+
tintColor?: number | undefined;
|
|
34
|
+
cancelButtonTintColor?: number | undefined;
|
|
35
|
+
disabledButtonTintColor?: number | undefined;
|
|
36
|
+
excludedActivityTypes?: Array<string> | undefined;
|
|
37
|
+
userInterfaceStyle?: string | undefined;
|
|
38
|
+
}>;
|
|
39
|
+
export type ShareActionSheetError = Readonly<{
|
|
40
|
+
domain: string;
|
|
41
|
+
code: string;
|
|
42
|
+
userInfo?: Object | undefined;
|
|
43
|
+
message: string;
|
|
44
|
+
}>;
|
|
45
|
+
declare const ActionSheetIOS: {
|
|
46
|
+
/**
|
|
47
|
+
* Display an iOS action sheet.
|
|
48
|
+
*
|
|
49
|
+
* The `options` object must contain one or more of:
|
|
50
|
+
*
|
|
51
|
+
* - `options` (array of strings) - a list of button titles (required)
|
|
52
|
+
* - `cancelButtonIndex` (int) - index of cancel button in `options`
|
|
53
|
+
* - `destructiveButtonIndex` (int or array of ints) - index or indices of destructive buttons in `options`
|
|
54
|
+
* - `title` (string) - a title to show above the action sheet
|
|
55
|
+
* - `message` (string) - a message to show below the title
|
|
56
|
+
* - `disabledButtonIndices` (array of numbers) - a list of button indices which should be disabled
|
|
57
|
+
*
|
|
58
|
+
* The 'callback' function takes one parameter, the zero-based index
|
|
59
|
+
* of the selected item.
|
|
60
|
+
*
|
|
61
|
+
* See https://reactnative.dev/docs/actionsheetios#showactionsheetwithoptions
|
|
62
|
+
*/
|
|
63
|
+
showActionSheetWithOptions(options: ActionSheetIOSOptions, callback: (buttonIndex: number) => void): void;
|
|
64
|
+
/**
|
|
65
|
+
* Display the iOS share sheet. The `options` object should contain
|
|
66
|
+
* one or both of `message` and `url` and can additionally have
|
|
67
|
+
* a `subject` or `excludedActivityTypes`:
|
|
68
|
+
*
|
|
69
|
+
* - `url` (string) - a URL to share
|
|
70
|
+
* - `message` (string) - a message to share
|
|
71
|
+
* - `subject` (string) - a subject for the message
|
|
72
|
+
* - `excludedActivityTypes` (array) - the activities to exclude from
|
|
73
|
+
* the ActionSheet
|
|
74
|
+
* - `tintColor` (color) - tint color of the buttons
|
|
75
|
+
*
|
|
76
|
+
* The 'failureCallback' function takes one parameter, an error object.
|
|
77
|
+
* The only property defined on this object is an optional `stack` property
|
|
78
|
+
* of type `string`.
|
|
79
|
+
*
|
|
80
|
+
* The 'successCallback' function takes two parameters:
|
|
81
|
+
*
|
|
82
|
+
* - a boolean value signifying success or failure
|
|
83
|
+
* - a string that, in the case of success, indicates the method of sharing
|
|
84
|
+
*
|
|
85
|
+
* See https://reactnative.dev/docs/actionsheetios#showshareactionsheetwithoptions
|
|
86
|
+
*/
|
|
87
|
+
showShareActionSheetWithOptions(options: ShareActionSheetIOSOptions, failureCallback: Function | ((error: ShareActionSheetError) => void), successCallback: Function | ((success: boolean, method: null | undefined | string) => void)): void;
|
|
88
|
+
/**
|
|
89
|
+
* Dismisses the most upper iOS action sheet presented, if no action sheet is
|
|
90
|
+
* present a warning is displayed.
|
|
91
|
+
*/
|
|
92
|
+
dismissActionSheet: () => void;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Display action sheets and share sheets on iOS.
|
|
96
|
+
*
|
|
97
|
+
* See https://reactnative.dev/docs/actionsheetios
|
|
98
|
+
*/
|
|
99
|
+
declare const $$ActionSheetIOS: typeof ActionSheetIOS;
|
|
100
|
+
declare type $$ActionSheetIOS = typeof $$ActionSheetIOS;
|
|
101
|
+
export default $$ActionSheetIOS;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*
|
|
7
|
+
* @generated SignedSource<<484ff2f44e1f2d26e098a2db0eb884b6>>
|
|
8
|
+
*
|
|
9
|
+
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
+
* Original file: packages/react-native/Libraries/Alert/Alert.js
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @platform ios
|
|
15
|
+
*/
|
|
16
|
+
export type AlertType = "default" | "plain-text" | "secure-text" | "login-password";
|
|
17
|
+
/**
|
|
18
|
+
* @platform ios
|
|
19
|
+
*/
|
|
20
|
+
export type AlertButtonStyle = "default" | "cancel" | "destructive";
|
|
21
|
+
export type AlertButton = {
|
|
22
|
+
text?: string;
|
|
23
|
+
onPress?: (((value?: string) => any) | undefined) | (Function | undefined);
|
|
24
|
+
isPreferred?: boolean;
|
|
25
|
+
style?: AlertButtonStyle;
|
|
26
|
+
};
|
|
27
|
+
export type AlertButtons = Array<AlertButton>;
|
|
28
|
+
export type AlertOptions = {
|
|
29
|
+
/** @platform android */
|
|
30
|
+
cancelable?: boolean | undefined;
|
|
31
|
+
userInterfaceStyle?: "unspecified" | "light" | "dark";
|
|
32
|
+
/** @platform android */
|
|
33
|
+
onDismiss?: (() => void) | undefined;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Launches an alert dialog with the specified title and message.
|
|
37
|
+
*
|
|
38
|
+
* Optionally provide a list of buttons. Tapping any button will fire the
|
|
39
|
+
* respective onPress callback and dismiss the alert. By default, the only
|
|
40
|
+
* button will be an 'OK' button.
|
|
41
|
+
*
|
|
42
|
+
* This is an API that works both on iOS and Android and can show static
|
|
43
|
+
* alerts. On iOS, you can show an alert that prompts the user to enter
|
|
44
|
+
* some information.
|
|
45
|
+
*
|
|
46
|
+
* See https://reactnative.dev/docs/alert
|
|
47
|
+
*/
|
|
48
|
+
declare class Alert {
|
|
49
|
+
static alert(title: null | undefined | string, message?: null | undefined | string, buttons?: AlertButtons, options?: AlertOptions): void;
|
|
50
|
+
/**
|
|
51
|
+
* @platform ios
|
|
52
|
+
*/
|
|
53
|
+
static prompt(title: null | undefined | string, message?: null | undefined | string, callbackOrButtons?: null | undefined | (((text: string) => void) | AlertButtons), type?: null | undefined | AlertType, defaultValue?: string, keyboardType?: string, options?: AlertOptions): void;
|
|
54
|
+
}
|
|
55
|
+
export default Alert;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*
|
|
7
|
+
* @generated SignedSource<<e78458e6def7485a52e194d9d7546970>>
|
|
8
|
+
*
|
|
9
|
+
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
+
* Original file: packages/react-native/Libraries/Animated/Animated.js.flow
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
export * as default from "./AnimatedExports";
|
|
14
|
+
export type { CompositeAnimation, Numeric } from "./AnimatedImplementation";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*
|
|
7
|
+
* @generated SignedSource<<2cf0278a72a69b6234a64ab49fe55c97>>
|
|
8
|
+
*
|
|
9
|
+
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
+
* Original file: packages/react-native/Libraries/Animated/AnimatedEvent.js
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import type { NativeSyntheticEvent } from "../Types/CoreEventTypes";
|
|
14
|
+
import type { PlatformConfig } from "./AnimatedPlatformConfig";
|
|
15
|
+
import AnimatedValue from "./nodes/AnimatedValue";
|
|
16
|
+
import AnimatedValueXY from "./nodes/AnimatedValueXY";
|
|
17
|
+
export type Mapping = {
|
|
18
|
+
[key: string]: Mapping;
|
|
19
|
+
} | AnimatedValue | AnimatedValueXY;
|
|
20
|
+
export type EventConfig<T> = {
|
|
21
|
+
listener?: (($$PARAM_0$$: NativeSyntheticEvent<T>) => unknown) | undefined;
|
|
22
|
+
useNativeDriver: boolean;
|
|
23
|
+
platformConfig?: PlatformConfig;
|
|
24
|
+
};
|
|
25
|
+
export declare function attachNativeEventImpl(viewRef: any, eventName: string, argMapping: ReadonlyArray<null | undefined | Mapping>, platformConfig: null | undefined | PlatformConfig): {
|
|
26
|
+
detach: () => void;
|
|
27
|
+
};
|
|
28
|
+
export declare class AnimatedEvent {
|
|
29
|
+
constructor(argMapping: ReadonlyArray<null | undefined | Mapping>, config: EventConfig<any>);
|
|
30
|
+
}
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*
|
|
7
|
+
* @generated SignedSource<<b22938b0a45198ad72c19fe5046c5f6a>>
|
|
8
|
+
*
|
|
9
|
+
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
+
* Original file: packages/react-native/Libraries/Animated/AnimatedExports.js.flow
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import AnimatedImplementation from "./AnimatedImplementation";
|
|
14
|
+
export type { CompositeAnimation } from "./AnimatedImplementation";
|
|
15
|
+
export type { DecayAnimationConfig } from "./animations/DecayAnimation";
|
|
16
|
+
export type { SpringAnimationConfig } from "./animations/SpringAnimation";
|
|
17
|
+
export type { TimingAnimationConfig } from "./animations/TimingAnimation";
|
|
18
|
+
export { default as FlatList } from "./components/AnimatedFlatList";
|
|
19
|
+
export { default as Image } from "./components/AnimatedImage";
|
|
20
|
+
export { default as ScrollView } from "./components/AnimatedScrollView";
|
|
21
|
+
export { default as SectionList } from "./components/AnimatedSectionList";
|
|
22
|
+
export { default as Text } from "./components/AnimatedText";
|
|
23
|
+
export { default as View } from "./components/AnimatedView";
|
|
24
|
+
export { default as Color } from "./nodes/AnimatedColor";
|
|
25
|
+
export { AnimatedEvent as Event } from "./AnimatedEvent";
|
|
26
|
+
export { default as Interpolation } from "./nodes/AnimatedInterpolation";
|
|
27
|
+
export { default as Node } from "./nodes/AnimatedNode";
|
|
28
|
+
export { default as Value } from "./nodes/AnimatedValue";
|
|
29
|
+
export { default as ValueXY } from "./nodes/AnimatedValueXY";
|
|
30
|
+
/** @deprecated Use Animated.Interpolation instead */
|
|
31
|
+
export type { default as AnimatedInterpolation } from "./nodes/AnimatedInterpolation";
|
|
32
|
+
/** @deprecated Use Animated.Color instead */
|
|
33
|
+
export type { default as AnimatedColor } from "./nodes/AnimatedColor";
|
|
34
|
+
export type { AnimatedValueConfig as AnimatedConfig } from "./nodes/AnimatedValue";
|
|
35
|
+
export type { default as AnimatedNode } from "./nodes/AnimatedNode";
|
|
36
|
+
export type { default as AnimatedAddition } from "./nodes/AnimatedAddition";
|
|
37
|
+
export type { default as AnimatedDiffClamp } from "./nodes/AnimatedDiffClamp";
|
|
38
|
+
export type { default as AnimatedDivision } from "./nodes/AnimatedDivision";
|
|
39
|
+
export type { InterpolationConfigType as InterpolationConfig } from "./nodes/AnimatedInterpolation";
|
|
40
|
+
export type { default as AnimatedModulo } from "./nodes/AnimatedModulo";
|
|
41
|
+
export type { default as AnimatedMultiplication } from "./nodes/AnimatedMultiplication";
|
|
42
|
+
export type { default as AnimatedSubtraction } from "./nodes/AnimatedSubtraction";
|
|
43
|
+
export type { WithAnimatedValue, AnimatedProps } from "./createAnimatedComponent";
|
|
44
|
+
export type { AnimatedComponentType as AnimatedComponent } from "./createAnimatedComponent";
|
|
45
|
+
/**
|
|
46
|
+
* Creates a new Animated value composed from two Animated values added
|
|
47
|
+
* together.
|
|
48
|
+
*
|
|
49
|
+
* See https://reactnative.dev/docs/animated#add
|
|
50
|
+
*/
|
|
51
|
+
export declare const add: typeof AnimatedImplementation.add;
|
|
52
|
+
export declare type add = typeof add;
|
|
53
|
+
/**
|
|
54
|
+
* Imperative API to attach an animated value to an event on a view. Prefer
|
|
55
|
+
* using `Animated.event` with `useNativeDrive: true` if possible.
|
|
56
|
+
*
|
|
57
|
+
* See https://reactnative.dev/docs/animated#attachnativeevent
|
|
58
|
+
*/
|
|
59
|
+
export declare const attachNativeEvent: typeof AnimatedImplementation.attachNativeEvent;
|
|
60
|
+
export declare type attachNativeEvent = typeof attachNativeEvent;
|
|
61
|
+
/**
|
|
62
|
+
* Make any React component Animatable. Used to create `Animated.View`, etc.
|
|
63
|
+
*
|
|
64
|
+
* See https://reactnative.dev/docs/animated#createanimatedcomponent
|
|
65
|
+
*/
|
|
66
|
+
export declare const createAnimatedComponent: typeof AnimatedImplementation.createAnimatedComponent;
|
|
67
|
+
export declare type createAnimatedComponent = typeof createAnimatedComponent;
|
|
68
|
+
/**
|
|
69
|
+
* Animates a value from an initial velocity to zero based on a decay
|
|
70
|
+
* coefficient.
|
|
71
|
+
*
|
|
72
|
+
* See https://reactnative.dev/docs/animated#decay
|
|
73
|
+
*/
|
|
74
|
+
export declare const decay: typeof AnimatedImplementation.decay;
|
|
75
|
+
export declare type decay = typeof decay;
|
|
76
|
+
/**
|
|
77
|
+
* Starts an animation after the given delay.
|
|
78
|
+
*
|
|
79
|
+
* See https://reactnative.dev/docs/animated#delay
|
|
80
|
+
*/
|
|
81
|
+
export declare const delay: typeof AnimatedImplementation.delay;
|
|
82
|
+
export declare type delay = typeof delay;
|
|
83
|
+
/**
|
|
84
|
+
* Create a new Animated value that is limited between 2 values. It uses the
|
|
85
|
+
* difference between the last value so even if the value is far from the
|
|
86
|
+
* bounds it will start changing when the value starts getting closer again.
|
|
87
|
+
*
|
|
88
|
+
* See https://reactnative.dev/docs/animated#diffclamp
|
|
89
|
+
*/
|
|
90
|
+
export declare const diffClamp: typeof AnimatedImplementation.diffClamp;
|
|
91
|
+
export declare type diffClamp = typeof diffClamp;
|
|
92
|
+
/**
|
|
93
|
+
* Creates a new Animated value composed by dividing the first Animated value
|
|
94
|
+
* by the second Animated value.
|
|
95
|
+
*
|
|
96
|
+
* See https://reactnative.dev/docs/animated#divide
|
|
97
|
+
*/
|
|
98
|
+
export declare const divide: typeof AnimatedImplementation.divide;
|
|
99
|
+
export declare type divide = typeof divide;
|
|
100
|
+
/**
|
|
101
|
+
* Takes an array of mappings and extracts values from each arg accordingly,
|
|
102
|
+
* then calls `setValue` on the mapped outputs.
|
|
103
|
+
*
|
|
104
|
+
* See https://reactnative.dev/docs/animated#event
|
|
105
|
+
*/
|
|
106
|
+
export declare const event: typeof AnimatedImplementation.event;
|
|
107
|
+
export declare type event = typeof event;
|
|
108
|
+
/**
|
|
109
|
+
* Advanced imperative API for snooping on animated events that are passed in
|
|
110
|
+
* through props. Use values directly where possible.
|
|
111
|
+
*
|
|
112
|
+
* See https://reactnative.dev/docs/animated#forkevent
|
|
113
|
+
*/
|
|
114
|
+
export declare const forkEvent: typeof AnimatedImplementation.forkEvent;
|
|
115
|
+
export declare type forkEvent = typeof forkEvent;
|
|
116
|
+
/**
|
|
117
|
+
* Loops a given animation continuously, so that each time it reaches the
|
|
118
|
+
* end, it resets and begins again from the start.
|
|
119
|
+
*
|
|
120
|
+
* See https://reactnative.dev/docs/animated#loop
|
|
121
|
+
*/
|
|
122
|
+
export declare const loop: typeof AnimatedImplementation.loop;
|
|
123
|
+
export declare type loop = typeof loop;
|
|
124
|
+
/**
|
|
125
|
+
* Creates a new Animated value that is the (non-negative) modulo of the
|
|
126
|
+
* provided Animated value.
|
|
127
|
+
*
|
|
128
|
+
* See https://reactnative.dev/docs/animated#modulo
|
|
129
|
+
*/
|
|
130
|
+
export declare const modulo: typeof AnimatedImplementation.modulo;
|
|
131
|
+
export declare type modulo = typeof modulo;
|
|
132
|
+
/**
|
|
133
|
+
* Creates a new Animated value composed from two Animated values multiplied
|
|
134
|
+
* together.
|
|
135
|
+
*
|
|
136
|
+
* See https://reactnative.dev/docs/animated#multiply
|
|
137
|
+
*/
|
|
138
|
+
export declare const multiply: typeof AnimatedImplementation.multiply;
|
|
139
|
+
export declare type multiply = typeof multiply;
|
|
140
|
+
/**
|
|
141
|
+
* Starts an array of animations all at the same time. By default, if one
|
|
142
|
+
* of the animations is stopped, they will all be stopped. You can override
|
|
143
|
+
* this with the `stopTogether` flag.
|
|
144
|
+
*
|
|
145
|
+
* See https://reactnative.dev/docs/animated#parallel
|
|
146
|
+
*/
|
|
147
|
+
export declare const parallel: typeof AnimatedImplementation.parallel;
|
|
148
|
+
export declare type parallel = typeof parallel;
|
|
149
|
+
/**
|
|
150
|
+
* Starts an array of animations in order, waiting for each to complete
|
|
151
|
+
* before starting the next. If the current running animation is stopped, no
|
|
152
|
+
* following animations will be started.
|
|
153
|
+
*
|
|
154
|
+
* See https://reactnative.dev/docs/animated#sequence
|
|
155
|
+
*/
|
|
156
|
+
export declare const sequence: typeof AnimatedImplementation.sequence;
|
|
157
|
+
export declare type sequence = typeof sequence;
|
|
158
|
+
/**
|
|
159
|
+
* Animates a value according to an analytical spring model based on
|
|
160
|
+
* damped harmonic oscillation.
|
|
161
|
+
*
|
|
162
|
+
* See https://reactnative.dev/docs/animated#spring
|
|
163
|
+
*/
|
|
164
|
+
export declare const spring: typeof AnimatedImplementation.spring;
|
|
165
|
+
export declare type spring = typeof spring;
|
|
166
|
+
/**
|
|
167
|
+
* Array of animations may run in parallel (overlap), but are started in
|
|
168
|
+
* sequence with successive delays. Nice for doing trailing effects.
|
|
169
|
+
*
|
|
170
|
+
* See https://reactnative.dev/docs/animated#stagger
|
|
171
|
+
*/
|
|
172
|
+
export declare const stagger: typeof AnimatedImplementation.stagger;
|
|
173
|
+
export declare type stagger = typeof stagger;
|
|
174
|
+
/**
|
|
175
|
+
* Creates a new Animated value composed by subtracting the second Animated
|
|
176
|
+
* value from the first Animated value.
|
|
177
|
+
*
|
|
178
|
+
* See https://reactnative.dev/docs/animated#subtract
|
|
179
|
+
*/
|
|
180
|
+
export declare const subtract: typeof AnimatedImplementation.subtract;
|
|
181
|
+
export declare type subtract = typeof subtract;
|
|
182
|
+
/**
|
|
183
|
+
* Animates a value along a timed easing curve. The Easing module has tons of
|
|
184
|
+
* predefined curves, or you can use your own function.
|
|
185
|
+
*
|
|
186
|
+
* See https://reactnative.dev/docs/animated#timing
|
|
187
|
+
*/
|
|
188
|
+
export declare const timing: typeof AnimatedImplementation.timing;
|
|
189
|
+
export declare type timing = typeof timing;
|
|
190
|
+
export declare const unforkEvent: typeof AnimatedImplementation.unforkEvent;
|
|
191
|
+
export declare type unforkEvent = typeof unforkEvent;
|