@react-navigation/native 8.0.0-alpha.5 → 8.0.0-alpha.51
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/android/build.gradle +101 -28
- package/android/src/main/java/org/reactnavigation/MaterialSymbolModule.kt +42 -13
- package/android/src/main/java/org/reactnavigation/MaterialSymbolTypeface.kt +126 -24
- package/android/src/main/java/org/reactnavigation/MaterialSymbolView.kt +42 -23
- package/android/src/main/java/org/reactnavigation/MaterialSymbolViewManager.kt +25 -7
- package/android/src/main/java/org/reactnavigation/ReactNavigationPackage.kt +3 -1
- package/ios/ReactNavigationCornerInsetView.h +14 -0
- package/ios/ReactNavigationCornerInsetView.mm +182 -0
- package/ios/ReactNavigationCornerInsetView.swift +193 -0
- package/ios/ReactNavigationCornerInsetViewComponentDescriptor.h +23 -0
- package/ios/ReactNavigationCornerInsetViewShadowNode.h +27 -0
- package/ios/ReactNavigationCornerInsetViewShadowNode.mm +42 -0
- package/ios/ReactNavigationCornerInsetViewState.h +19 -0
- package/ios/ReactNavigationSFSymbolView.mm +30 -10
- package/ios/ReactNavigationSFSymbolView.swift +361 -65
- package/lib/module/Link.js +80 -24
- package/lib/module/Link.js.map +1 -1
- package/lib/module/Link.native.js +72 -0
- package/lib/module/Link.native.js.map +1 -0
- package/lib/module/NavigationContainer.js +77 -33
- package/lib/module/NavigationContainer.js.map +1 -1
- package/lib/module/__stubs__/createStackNavigator.js +11 -8
- package/lib/module/__stubs__/createStackNavigator.js.map +1 -1
- package/lib/module/checkSerializable.js +180 -0
- package/lib/module/checkSerializable.js.map +1 -0
- package/lib/module/constants.js +5 -0
- package/lib/module/constants.js.map +1 -0
- package/lib/module/constants.native.js +6 -0
- package/lib/module/constants.native.js.map +1 -0
- package/lib/module/createMemoryHistory.js +27 -10
- package/lib/module/createMemoryHistory.js.map +1 -1
- package/lib/module/createStandardNavigationFactories.js +97 -0
- package/lib/module/createStandardNavigationFactories.js.map +1 -0
- package/lib/module/createStaticNavigation.js +7 -5
- package/lib/module/createStaticNavigation.js.map +1 -1
- package/lib/module/extractPathFromURL.js +2 -2
- package/lib/module/extractPathFromURL.js.map +1 -1
- package/lib/module/getStateBreadcrumb.js +37 -0
- package/lib/module/getStateBreadcrumb.js.map +1 -0
- package/lib/module/getStateFromHref.js +2 -2
- package/lib/module/getStateFromHref.js.map +1 -1
- package/lib/module/index.js +5 -3
- package/lib/module/index.js.map +1 -1
- package/lib/module/native/CornerInset.ios.js +69 -0
- package/lib/module/native/CornerInset.ios.js.map +1 -0
- package/lib/module/native/CornerInset.js +12 -0
- package/lib/module/native/CornerInset.js.map +1 -0
- package/lib/module/native/MaterialSymbol.android.js +19 -20
- package/lib/module/native/MaterialSymbol.android.js.map +1 -1
- package/lib/module/native/MaterialSymbol.js +3 -0
- package/lib/module/native/MaterialSymbol.js.map +1 -1
- package/lib/module/native/MaterialSymbolViewNativeComponent.ts +8 -4
- package/lib/module/native/NativeMaterialSymbolModule.js.map +1 -1
- package/lib/module/native/ReactNavigationCornerInsetViewNativeComponent.ts +31 -0
- package/lib/module/native/SFSymbol.ios.js +37 -18
- package/lib/module/native/SFSymbol.ios.js.map +1 -1
- package/lib/module/native/SFSymbol.js.map +1 -1
- package/lib/module/native/SFSymbolViewNativeComponent.ts +31 -15
- package/lib/module/server/ServerContext.js.map +1 -0
- package/lib/module/server/index.js +21 -0
- package/lib/module/server/index.js.map +1 -0
- package/lib/module/theming/DarkTheme.js +5 -5
- package/lib/module/theming/DarkTheme.js.map +1 -1
- package/lib/module/theming/LightTheme.js +16 -0
- package/lib/module/theming/LightTheme.js.map +1 -0
- package/lib/module/theming/MaterialFallbackTheme.js +28 -0
- package/lib/module/theming/MaterialFallbackTheme.js.map +1 -0
- package/lib/module/theming/MaterialTheme.android.js +33 -0
- package/lib/module/theming/MaterialTheme.android.js.map +1 -0
- package/lib/module/theming/MaterialTheme.js +4 -0
- package/lib/module/theming/MaterialTheme.js.map +1 -0
- package/lib/module/theming/fonts.js +15 -54
- package/lib/module/theming/fonts.js.map +1 -1
- package/lib/module/theming/fonts.native.js +42 -0
- package/lib/module/theming/fonts.native.js.map +1 -0
- package/lib/module/useBackButton.js.map +1 -1
- package/lib/module/useBackButton.native.js +4 -1
- package/lib/module/useBackButton.native.js.map +1 -1
- package/lib/module/useDeepStableValue.js +12 -0
- package/lib/module/useDeepStableValue.js.map +1 -0
- package/lib/module/useDocumentTitle.js.map +1 -1
- package/lib/module/useLinkBuilder.js +17 -17
- package/lib/module/useLinkBuilder.js.map +1 -1
- package/lib/module/useLinkProps.js +143 -68
- package/lib/module/useLinkProps.js.map +1 -1
- package/lib/module/useLinkTo.js +5 -5
- package/lib/module/useLinkTo.js.map +1 -1
- package/lib/module/useLinking.js +268 -58
- package/lib/module/useLinking.js.map +1 -1
- package/lib/module/useLinking.native.js +31 -12
- package/lib/module/useLinking.native.js.map +1 -1
- package/lib/module/useLocale.js +1 -1
- package/lib/module/useLocale.js.map +1 -1
- package/lib/module/useMemoArray.js +25 -0
- package/lib/module/useMemoArray.js.map +1 -0
- package/lib/module/useRoutePath.js +1 -1
- package/lib/module/useRoutePath.js.map +1 -1
- package/lib/module/useScrollToTop.js +6 -9
- package/lib/module/useScrollToTop.js.map +1 -1
- package/lib/module/useThenable.js +8 -6
- package/lib/module/useThenable.js.map +1 -1
- package/lib/typescript/src/Link.d.ts +17 -9
- package/lib/typescript/src/Link.d.ts.map +1 -1
- package/lib/typescript/src/Link.native.d.ts +4 -0
- package/lib/typescript/src/Link.native.d.ts.map +1 -0
- package/lib/typescript/src/LinkingContext.d.ts +2 -2
- package/lib/typescript/src/LinkingContext.d.ts.map +1 -1
- package/lib/typescript/src/LocaleDirContext.d.ts +1 -1
- package/lib/typescript/src/LocaleDirContext.d.ts.map +1 -1
- package/lib/typescript/src/NavigationContainer.d.ts +26 -14
- package/lib/typescript/src/NavigationContainer.d.ts.map +1 -1
- package/lib/typescript/src/__stubs__/createStackNavigator.d.ts +6 -9
- package/lib/typescript/src/__stubs__/createStackNavigator.d.ts.map +1 -1
- package/lib/typescript/src/checkSerializable.d.ts +12 -0
- package/lib/typescript/src/checkSerializable.d.ts.map +1 -0
- package/lib/typescript/src/constants.d.ts +4 -0
- package/lib/typescript/src/constants.d.ts.map +1 -0
- package/lib/typescript/src/constants.native.d.ts +4 -0
- package/lib/typescript/src/constants.native.d.ts.map +1 -0
- package/lib/typescript/src/createMemoryHistory.d.ts +1 -1
- package/lib/typescript/src/createMemoryHistory.d.ts.map +1 -1
- package/lib/typescript/src/createStandardNavigationFactories.d.ts +33 -0
- package/lib/typescript/src/createStandardNavigationFactories.d.ts.map +1 -0
- package/lib/typescript/src/createStaticNavigation.d.ts +9 -9
- package/lib/typescript/src/createStaticNavigation.d.ts.map +1 -1
- package/lib/typescript/src/extractPathFromURL.d.ts +1 -1
- package/lib/typescript/src/extractPathFromURL.d.ts.map +1 -1
- package/lib/typescript/src/getStateBreadcrumb.d.ts +3 -0
- package/lib/typescript/src/getStateBreadcrumb.d.ts.map +1 -0
- package/lib/typescript/src/getStateFromHref.d.ts +3 -3
- package/lib/typescript/src/getStateFromHref.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +16 -14
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/native/CornerInset.d.ts +32 -0
- package/lib/typescript/src/native/CornerInset.d.ts.map +1 -0
- package/lib/typescript/src/native/CornerInset.ios.d.ts +8 -0
- package/lib/typescript/src/native/CornerInset.ios.d.ts.map +1 -0
- package/lib/typescript/src/native/MaterialSymbol.android.d.ts +11 -5
- package/lib/typescript/src/native/MaterialSymbol.android.d.ts.map +1 -1
- package/lib/typescript/src/native/MaterialSymbol.d.ts +10 -4
- package/lib/typescript/src/native/MaterialSymbol.d.ts.map +1 -1
- package/lib/typescript/src/native/MaterialSymbolData.d.ts +1 -1
- package/lib/typescript/src/native/MaterialSymbolData.d.ts.map +1 -1
- package/lib/typescript/src/native/MaterialSymbolViewNativeComponent.d.ts +4 -3
- package/lib/typescript/src/native/MaterialSymbolViewNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/native/NativeMaterialSymbolModule.d.ts +2 -1
- package/lib/typescript/src/native/NativeMaterialSymbolModule.d.ts.map +1 -1
- package/lib/typescript/src/native/ReactNavigationCornerInsetViewNativeComponent.d.ts +14 -0
- package/lib/typescript/src/native/ReactNavigationCornerInsetViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/src/native/SFSymbol.d.ts +8 -3
- package/lib/typescript/src/native/SFSymbol.d.ts.map +1 -1
- package/lib/typescript/src/native/SFSymbol.ios.d.ts +9 -4
- package/lib/typescript/src/native/SFSymbol.ios.d.ts.map +1 -1
- package/lib/typescript/src/native/SFSymbolViewNativeComponent.d.ts +27 -14
- package/lib/typescript/src/native/SFSymbolViewNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/native/types.d.ts +289 -52
- package/lib/typescript/src/native/types.d.ts.map +1 -1
- package/lib/typescript/src/{ServerContext.d.ts → server/ServerContext.d.ts} +1 -4
- package/lib/typescript/src/server/ServerContext.d.ts.map +1 -0
- package/lib/typescript/src/server/index.d.ts +10 -0
- package/lib/typescript/src/server/index.d.ts.map +1 -0
- package/lib/typescript/src/theming/DarkTheme.d.ts +4 -38
- package/lib/typescript/src/theming/DarkTheme.d.ts.map +1 -1
- package/lib/typescript/src/theming/LightTheme.d.ts +30 -0
- package/lib/typescript/src/theming/LightTheme.d.ts.map +1 -0
- package/lib/typescript/src/theming/{DefaultTheme.d.ts → MaterialFallbackTheme.d.ts} +25 -30
- package/lib/typescript/src/theming/MaterialFallbackTheme.d.ts.map +1 -0
- package/lib/typescript/src/theming/MaterialTheme.android.d.ts +115 -0
- package/lib/typescript/src/theming/MaterialTheme.android.d.ts.map +1 -0
- package/lib/typescript/src/theming/MaterialTheme.d.ts +2 -0
- package/lib/typescript/src/theming/MaterialTheme.d.ts.map +1 -0
- package/lib/typescript/src/theming/fonts.d.ts +0 -34
- package/lib/typescript/src/theming/fonts.d.ts.map +1 -1
- package/lib/typescript/src/theming/fonts.native.d.ts +36 -0
- package/lib/typescript/src/theming/fonts.native.d.ts.map +1 -0
- package/lib/typescript/src/types.d.ts +41 -21
- package/lib/typescript/src/types.d.ts.map +1 -1
- package/lib/typescript/src/useBackButton.d.ts +1 -1
- package/lib/typescript/src/useBackButton.d.ts.map +1 -1
- package/lib/typescript/src/useBackButton.native.d.ts.map +1 -1
- package/lib/typescript/src/useDeepStableValue.d.ts +2 -0
- package/lib/typescript/src/useDeepStableValue.d.ts.map +1 -0
- package/lib/typescript/src/useDocumentTitle.d.ts +2 -2
- package/lib/typescript/src/useDocumentTitle.d.ts.map +1 -1
- package/lib/typescript/src/useLinkBuilder.d.ts +62 -70
- package/lib/typescript/src/useLinkBuilder.d.ts.map +1 -1
- package/lib/typescript/src/useLinkProps.d.ts +36 -12
- package/lib/typescript/src/useLinkProps.d.ts.map +1 -1
- package/lib/typescript/src/useLinkTo.d.ts.map +1 -1
- package/lib/typescript/src/useLinking.d.ts +7 -49
- package/lib/typescript/src/useLinking.d.ts.map +1 -1
- package/lib/typescript/src/useLinking.native.d.ts +9 -83
- package/lib/typescript/src/useLinking.native.d.ts.map +1 -1
- package/lib/typescript/src/useLocale.d.ts +1 -1
- package/lib/typescript/src/useMemoArray.d.ts +2 -0
- package/lib/typescript/src/useMemoArray.d.ts.map +1 -0
- package/lib/typescript/src/useScrollToTop.d.ts +1 -4
- package/lib/typescript/src/useScrollToTop.d.ts.map +1 -1
- package/lib/typescript/src/useThenable.d.ts +1 -1
- package/lib/typescript/src/useThenable.d.ts.map +1 -1
- package/package.json +48 -23
- package/src/Link.native.tsx +69 -0
- package/src/Link.tsx +126 -37
- package/src/LinkingContext.tsx +1 -1
- package/src/NavigationContainer.tsx +141 -70
- package/src/__stubs__/createStackNavigator.tsx +20 -18
- package/src/checkSerializable.tsx +246 -0
- package/src/constants.native.tsx +10 -0
- package/src/constants.tsx +5 -0
- package/src/createMemoryHistory.tsx +32 -10
- package/src/createStandardNavigationFactories.tsx +217 -0
- package/src/createStaticNavigation.tsx +32 -31
- package/src/extractPathFromURL.tsx +5 -3
- package/src/getStateBreadcrumb.tsx +44 -0
- package/src/getStateFromHref.tsx +8 -3
- package/src/index.tsx +11 -2
- package/src/native/CornerInset.ios.tsx +87 -0
- package/src/native/CornerInset.tsx +44 -0
- package/src/native/MaterialSymbol.android.tsx +31 -26
- package/src/native/MaterialSymbol.tsx +16 -4
- package/src/native/MaterialSymbolData.tsx +200 -373
- package/src/native/MaterialSymbolViewNativeComponent.ts +8 -4
- package/src/native/NativeMaterialSymbolModule.ts +4 -1
- package/src/native/ReactNavigationCornerInsetViewNativeComponent.ts +31 -0
- package/src/native/SFSymbol.ios.tsx +80 -18
- package/src/native/SFSymbol.tsx +7 -2
- package/src/native/SFSymbolViewNativeComponent.ts +31 -15
- package/src/native/types.tsx +348 -54
- package/src/{ServerContext.tsx → server/ServerContext.tsx} +1 -4
- package/src/server/index.tsx +19 -0
- package/src/theming/DarkTheme.tsx +4 -4
- package/src/theming/{DefaultTheme.tsx → LightTheme.tsx} +4 -4
- package/src/theming/MaterialFallbackTheme.tsx +29 -0
- package/src/theming/MaterialTheme.android.tsx +45 -0
- package/src/theming/MaterialTheme.tsx +4 -0
- package/src/theming/fonts.native.tsx +41 -0
- package/src/theming/fonts.tsx +15 -54
- package/src/types.tsx +67 -45
- package/src/useBackButton.native.tsx +2 -0
- package/src/useBackButton.tsx +2 -2
- package/src/useDeepStableValue.tsx +12 -0
- package/src/useDocumentTitle.tsx +2 -2
- package/src/useLinkBuilder.tsx +29 -25
- package/src/useLinkProps.tsx +371 -127
- package/src/useLinkTo.tsx +9 -8
- package/src/useLinking.native.tsx +70 -39
- package/src/useLinking.tsx +426 -87
- package/src/useLocale.tsx +1 -1
- package/src/useMemoArray.tsx +41 -0
- package/src/useRoutePath.tsx +1 -1
- package/src/useScrollToTop.tsx +21 -13
- package/src/useThenable.tsx +9 -7
- package/android/build/.transforms/586a73aab4c351d3f13dc604ca6964e8/results.bin +0 -1
- package/android/build/.transforms/586a73aab4c351d3f13dc604ca6964e8/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/results.bin +0 -1
- package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/fbreact/specs/NativeMaterialSymbolModuleSpec.dex +0 -0
- package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/react/viewmanagers/ReactNavigationMaterialSymbolViewManagerDelegate.dex +0 -0
- package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/react/viewmanagers/ReactNavigationMaterialSymbolViewManagerInterface.dex +0 -0
- package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/react/viewmanagers/ReactNavigationSFSymbolViewManagerDelegate.dex +0 -0
- package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/react/viewmanagers/ReactNavigationSFSymbolViewManagerInterface.dex +0 -0
- package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/org/reactnavigation/BuildConfig.dex +0 -0
- package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/org/reactnavigation/MaterialSymbolModule$Companion.dex +0 -0
- package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/org/reactnavigation/MaterialSymbolModule$WhenMappings.dex +0 -0
- package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/org/reactnavigation/MaterialSymbolModule$getImageSource$1.dex +0 -0
- package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/org/reactnavigation/MaterialSymbolModule.dex +0 -0
- package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/org/reactnavigation/MaterialSymbolTypeface.dex +0 -0
- package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/org/reactnavigation/MaterialSymbolTypefaceResult.dex +0 -0
- package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/org/reactnavigation/MaterialSymbolView.dex +0 -0
- package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/org/reactnavigation/MaterialSymbolViewManager$Companion.dex +0 -0
- package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/org/reactnavigation/MaterialSymbolViewManager.dex +0 -0
- package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/org/reactnavigation/ReactNavigationPackage.dex +0 -0
- package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/generated/source/buildConfig/debug/org/reactnavigation/BuildConfig.java +0 -10
- package/android/build/generated/source/codegen/java/com/facebook/fbreact/specs/NativeMaterialSymbolModuleSpec.java +0 -39
- package/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/ReactNavigationMaterialSymbolViewManagerDelegate.java +0 -45
- package/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/ReactNavigationMaterialSymbolViewManagerInterface.java +0 -22
- package/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/ReactNavigationSFSymbolViewManagerDelegate.java +0 -81
- package/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/ReactNavigationSFSymbolViewManagerInterface.java +0 -34
- package/android/build/generated/source/codegen/jni/CMakeLists.txt +0 -28
- package/android/build/generated/source/codegen/jni/ReactNavigationSpec-generated.cpp +0 -32
- package/android/build/generated/source/codegen/jni/ReactNavigationSpec.h +0 -31
- package/android/build/generated/source/codegen/jni/react/renderer/components/ReactNavigationSpec/ComponentDescriptors.cpp +0 -23
- package/android/build/generated/source/codegen/jni/react/renderer/components/ReactNavigationSpec/ComponentDescriptors.h +0 -25
- package/android/build/generated/source/codegen/jni/react/renderer/components/ReactNavigationSpec/EventEmitters.cpp +0 -17
- package/android/build/generated/source/codegen/jni/react/renderer/components/ReactNavigationSpec/EventEmitters.h +0 -30
- package/android/build/generated/source/codegen/jni/react/renderer/components/ReactNavigationSpec/Props.cpp +0 -176
- package/android/build/generated/source/codegen/jni/react/renderer/components/ReactNavigationSpec/Props.h +0 -132
- package/android/build/generated/source/codegen/jni/react/renderer/components/ReactNavigationSpec/ReactNavigationSpecJSI-generated.cpp +0 -31
- package/android/build/generated/source/codegen/jni/react/renderer/components/ReactNavigationSpec/ReactNavigationSpecJSI.h +0 -71
- package/android/build/generated/source/codegen/jni/react/renderer/components/ReactNavigationSpec/ShadowNodes.cpp +0 -18
- package/android/build/generated/source/codegen/jni/react/renderer/components/ReactNavigationSpec/ShadowNodes.h +0 -43
- package/android/build/generated/source/codegen/jni/react/renderer/components/ReactNavigationSpec/States.cpp +0 -16
- package/android/build/generated/source/codegen/jni/react/renderer/components/ReactNavigationSpec/States.h +0 -22
- package/android/build/generated/source/codegen/schema.json +0 -1
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -7
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
- package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
- package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
- package/android/build/intermediates/assets/debug/mergeDebugAssets/fonts/MaterialSymbols.hash +0 -1
- package/android/build/intermediates/assets/debug/mergeDebugAssets/fonts/MaterialSymbolsOutlined_400.ttf +0 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -1
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
- package/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +0 -2
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
- package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/react-navigation_native_debug.kotlin_module +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/fbreact/specs/NativeMaterialSymbolModuleSpec.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/ReactNavigationMaterialSymbolViewManagerDelegate.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/ReactNavigationMaterialSymbolViewManagerInterface.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/ReactNavigationSFSymbolViewManagerDelegate.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/ReactNavigationSFSymbolViewManagerInterface.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/org/reactnavigation/BuildConfig.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -2
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -7
- package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -7
- package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
- package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
- package/android/build/intermediates/react-navigation/fonts/MaterialSymbols.hash +0 -1
- package/android/build/intermediates/react-navigation/fonts/MaterialSymbolsOutlined_400.ttf +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/react-navigation_native_debug.kotlin_module +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/fbreact/specs/NativeMaterialSymbolModuleSpec.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/ReactNavigationMaterialSymbolViewManagerDelegate.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/ReactNavigationMaterialSymbolViewManagerInterface.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/ReactNavigationSFSymbolViewManagerDelegate.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/ReactNavigationSFSymbolViewManagerInterface.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/org/reactnavigation/BuildConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/org/reactnavigation/MaterialSymbolModule$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/org/reactnavigation/MaterialSymbolModule$WhenMappings.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/org/reactnavigation/MaterialSymbolModule$getImageSource$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/org/reactnavigation/MaterialSymbolModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/org/reactnavigation/MaterialSymbolTypeface.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/org/reactnavigation/MaterialSymbolTypefaceResult.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/org/reactnavigation/MaterialSymbolView.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/org/reactnavigation/MaterialSymbolViewManager$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/org/reactnavigation/MaterialSymbolViewManager.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/org/reactnavigation/ReactNavigationPackage.class +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +0 -1
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +0 -2
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -16
- package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/ReactNavigationSFSymbolViewManagerDelegate.class.uniqueId0 +0 -0
- package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/ReactNavigationSFSymbolViewManagerInterface.class.uniqueId1 +0 -0
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/react-navigation_native_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/org/reactnavigation/MaterialSymbolModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/org/reactnavigation/MaterialSymbolModule$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/org/reactnavigation/MaterialSymbolModule$getImageSource$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/org/reactnavigation/MaterialSymbolModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/org/reactnavigation/MaterialSymbolTypeface.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/org/reactnavigation/MaterialSymbolTypefaceResult.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/org/reactnavigation/MaterialSymbolView.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/org/reactnavigation/MaterialSymbolViewManager$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/org/reactnavigation/MaterialSymbolViewManager.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/org/reactnavigation/ReactNavigationPackage.class +0 -0
- package/assets/fonts/MaterialSymbolsOutlined.codepoints +0 -4102
- package/assets/fonts/MaterialSymbolsOutlined_100.ttf +0 -0
- package/assets/fonts/MaterialSymbolsOutlined_200.ttf +0 -0
- package/assets/fonts/MaterialSymbolsOutlined_300.ttf +0 -0
- package/assets/fonts/MaterialSymbolsOutlined_400.ttf +0 -0
- package/assets/fonts/MaterialSymbolsOutlined_500.ttf +0 -0
- package/assets/fonts/MaterialSymbolsOutlined_600.ttf +0 -0
- package/assets/fonts/MaterialSymbolsOutlined_700.ttf +0 -0
- package/assets/fonts/MaterialSymbolsRounded.codepoints +0 -4102
- package/assets/fonts/MaterialSymbolsRounded_100.ttf +0 -0
- package/assets/fonts/MaterialSymbolsRounded_200.ttf +0 -0
- package/assets/fonts/MaterialSymbolsRounded_300.ttf +0 -0
- package/assets/fonts/MaterialSymbolsRounded_400.ttf +0 -0
- package/assets/fonts/MaterialSymbolsRounded_500.ttf +0 -0
- package/assets/fonts/MaterialSymbolsRounded_600.ttf +0 -0
- package/assets/fonts/MaterialSymbolsRounded_700.ttf +0 -0
- package/assets/fonts/MaterialSymbolsSharp.codepoints +0 -4102
- package/assets/fonts/MaterialSymbolsSharp_100.ttf +0 -0
- package/assets/fonts/MaterialSymbolsSharp_200.ttf +0 -0
- package/assets/fonts/MaterialSymbolsSharp_300.ttf +0 -0
- package/assets/fonts/MaterialSymbolsSharp_400.ttf +0 -0
- package/assets/fonts/MaterialSymbolsSharp_500.ttf +0 -0
- package/assets/fonts/MaterialSymbolsSharp_600.ttf +0 -0
- package/assets/fonts/MaterialSymbolsSharp_700.ttf +0 -0
- package/lib/module/ServerContainer.js +0 -55
- package/lib/module/ServerContainer.js.map +0 -1
- package/lib/module/ServerContext.js.map +0 -1
- package/lib/module/__stubs__/window.js +0 -75
- package/lib/module/__stubs__/window.js.map +0 -1
- package/lib/module/theming/DefaultTheme.js +0 -16
- package/lib/module/theming/DefaultTheme.js.map +0 -1
- package/lib/typescript/src/ServerContainer.d.ts +0 -14
- package/lib/typescript/src/ServerContainer.d.ts.map +0 -1
- package/lib/typescript/src/ServerContext.d.ts.map +0 -1
- package/lib/typescript/src/__stubs__/window.d.ts +0 -18
- package/lib/typescript/src/__stubs__/window.d.ts.map +0 -1
- package/lib/typescript/src/theming/DefaultTheme.d.ts.map +0 -1
- package/src/ServerContainer.tsx +0 -57
- package/src/__stubs__/window.tsx +0 -77
- /package/lib/module/{ServerContext.js → server/ServerContext.js} +0 -0
|
@@ -13,70 +13,65 @@ export declare function useBuildAction(): (href: string) => {
|
|
|
13
13
|
key: string;
|
|
14
14
|
index: number;
|
|
15
15
|
routeNames: string[];
|
|
16
|
-
history?: unknown[];
|
|
16
|
+
history?: unknown[] | undefined;
|
|
17
17
|
routes: import("@react-navigation/routers").NavigationRoute<import("@react-navigation/routers").ParamListBase, string>[];
|
|
18
18
|
type: string;
|
|
19
19
|
stale: false;
|
|
20
|
-
}
|
|
21
|
-
path?: string;
|
|
20
|
+
}>> | undefined;
|
|
21
|
+
path?: string | undefined;
|
|
22
22
|
};
|
|
23
|
+
target: string | undefined;
|
|
23
24
|
} | {
|
|
24
25
|
type: "GO_BACK";
|
|
25
|
-
source?: string;
|
|
26
|
-
target
|
|
26
|
+
source?: string | undefined;
|
|
27
|
+
target: string | undefined;
|
|
27
28
|
} | {
|
|
28
29
|
type: "NAVIGATE";
|
|
29
30
|
payload: {
|
|
30
31
|
name: string;
|
|
31
|
-
params?: object;
|
|
32
|
-
path
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
*/
|
|
36
|
-
? /**
|
|
37
|
-
* Helper to build a href for a screen based on the linking options.
|
|
38
|
-
*/: string;
|
|
39
|
-
merge?: boolean;
|
|
40
|
-
pop?: boolean;
|
|
32
|
+
params?: object | undefined;
|
|
33
|
+
path?: string | undefined;
|
|
34
|
+
merge?: boolean | undefined;
|
|
35
|
+
pop?: boolean | undefined;
|
|
41
36
|
};
|
|
42
|
-
source?: string;
|
|
43
|
-
target
|
|
37
|
+
source?: string | undefined;
|
|
38
|
+
target: string | undefined;
|
|
44
39
|
} | {
|
|
45
40
|
type: "SET_PARAMS";
|
|
46
41
|
payload: {
|
|
47
|
-
params?: object;
|
|
42
|
+
params?: object | undefined;
|
|
48
43
|
};
|
|
49
|
-
source?: string;
|
|
50
|
-
target
|
|
44
|
+
source?: string | undefined;
|
|
45
|
+
target: string | undefined;
|
|
51
46
|
} | {
|
|
52
47
|
type: "REPLACE_PARAMS";
|
|
53
48
|
payload: {
|
|
54
|
-
params?: object;
|
|
49
|
+
params?: object | undefined;
|
|
55
50
|
};
|
|
56
|
-
source?: string;
|
|
57
|
-
target
|
|
51
|
+
source?: string | undefined;
|
|
52
|
+
target: string | undefined;
|
|
58
53
|
} | {
|
|
59
54
|
type: "PUSH_PARAMS";
|
|
60
55
|
payload: {
|
|
61
|
-
params?: object;
|
|
56
|
+
params?: object | undefined;
|
|
62
57
|
};
|
|
63
|
-
source?: string;
|
|
64
|
-
target
|
|
58
|
+
source?: string | undefined;
|
|
59
|
+
target: string | undefined;
|
|
65
60
|
} | {
|
|
66
61
|
type: "PRELOAD";
|
|
67
62
|
payload: {
|
|
68
63
|
name: string;
|
|
69
|
-
params?: object;
|
|
64
|
+
params?: object | undefined;
|
|
70
65
|
};
|
|
71
|
-
source?: string;
|
|
72
|
-
target
|
|
66
|
+
source?: string | undefined;
|
|
67
|
+
target: string | undefined;
|
|
73
68
|
} | {
|
|
74
|
-
|
|
75
|
-
|
|
69
|
+
type: "RESET";
|
|
70
|
+
payload: Readonly<{
|
|
76
71
|
key: string;
|
|
77
72
|
index: number;
|
|
78
73
|
routeNames: string[];
|
|
79
|
-
history?: unknown[];
|
|
74
|
+
history?: unknown[] | undefined;
|
|
80
75
|
routes: import("@react-navigation/routers").NavigationRoute<import("@react-navigation/routers").ParamListBase, string>[];
|
|
81
76
|
type: string;
|
|
82
77
|
stale: false;
|
|
@@ -84,7 +79,7 @@ export declare function useBuildAction(): (href: string) => {
|
|
|
84
79
|
key: string;
|
|
85
80
|
index: number;
|
|
86
81
|
routeNames: string[];
|
|
87
|
-
history?: unknown[];
|
|
82
|
+
history?: unknown[] | undefined;
|
|
88
83
|
routes: import("@react-navigation/routers").NavigationRoute<import("@react-navigation/routers").ParamListBase, string>[];
|
|
89
84
|
type: string;
|
|
90
85
|
stale: false;
|
|
@@ -92,13 +87,14 @@ export declare function useBuildAction(): (href: string) => {
|
|
|
92
87
|
key: string;
|
|
93
88
|
index: number;
|
|
94
89
|
routeNames: string[];
|
|
95
|
-
history?: unknown[];
|
|
90
|
+
history?: unknown[] | undefined;
|
|
96
91
|
routes: import("@react-navigation/routers").NavigationRoute<import("@react-navigation/routers").ParamListBase, string>[];
|
|
97
92
|
type: string;
|
|
98
93
|
stale: false;
|
|
99
94
|
}>, "routes"> & {
|
|
100
95
|
routes: Omit<import("@react-navigation/routers").Route<string>, "key">[];
|
|
101
|
-
})
|
|
96
|
+
});
|
|
97
|
+
target: string | undefined;
|
|
102
98
|
};
|
|
103
99
|
/**
|
|
104
100
|
* Helpers to build href or action based on the linking options.
|
|
@@ -115,70 +111,65 @@ export declare function useLinkBuilder(): {
|
|
|
115
111
|
key: string;
|
|
116
112
|
index: number;
|
|
117
113
|
routeNames: string[];
|
|
118
|
-
history?: unknown[];
|
|
114
|
+
history?: unknown[] | undefined;
|
|
119
115
|
routes: import("@react-navigation/routers").NavigationRoute<import("@react-navigation/routers").ParamListBase, string>[];
|
|
120
116
|
type: string;
|
|
121
117
|
stale: false;
|
|
122
|
-
}
|
|
123
|
-
path?: string;
|
|
118
|
+
}>> | undefined;
|
|
119
|
+
path?: string | undefined;
|
|
124
120
|
};
|
|
121
|
+
target: string | undefined;
|
|
125
122
|
} | {
|
|
126
123
|
type: "GO_BACK";
|
|
127
|
-
source?: string;
|
|
128
|
-
target
|
|
124
|
+
source?: string | undefined;
|
|
125
|
+
target: string | undefined;
|
|
129
126
|
} | {
|
|
130
127
|
type: "NAVIGATE";
|
|
131
128
|
payload: {
|
|
132
129
|
name: string;
|
|
133
|
-
params?: object;
|
|
134
|
-
path
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
*/
|
|
138
|
-
? /**
|
|
139
|
-
* Helper to build a href for a screen based on the linking options.
|
|
140
|
-
*/: string;
|
|
141
|
-
merge?: boolean;
|
|
142
|
-
pop?: boolean;
|
|
130
|
+
params?: object | undefined;
|
|
131
|
+
path?: string | undefined;
|
|
132
|
+
merge?: boolean | undefined;
|
|
133
|
+
pop?: boolean | undefined;
|
|
143
134
|
};
|
|
144
|
-
source?: string;
|
|
145
|
-
target
|
|
135
|
+
source?: string | undefined;
|
|
136
|
+
target: string | undefined;
|
|
146
137
|
} | {
|
|
147
138
|
type: "SET_PARAMS";
|
|
148
139
|
payload: {
|
|
149
|
-
params?: object;
|
|
140
|
+
params?: object | undefined;
|
|
150
141
|
};
|
|
151
|
-
source?: string;
|
|
152
|
-
target
|
|
142
|
+
source?: string | undefined;
|
|
143
|
+
target: string | undefined;
|
|
153
144
|
} | {
|
|
154
145
|
type: "REPLACE_PARAMS";
|
|
155
146
|
payload: {
|
|
156
|
-
params?: object;
|
|
147
|
+
params?: object | undefined;
|
|
157
148
|
};
|
|
158
|
-
source?: string;
|
|
159
|
-
target
|
|
149
|
+
source?: string | undefined;
|
|
150
|
+
target: string | undefined;
|
|
160
151
|
} | {
|
|
161
152
|
type: "PUSH_PARAMS";
|
|
162
153
|
payload: {
|
|
163
|
-
params?: object;
|
|
154
|
+
params?: object | undefined;
|
|
164
155
|
};
|
|
165
|
-
source?: string;
|
|
166
|
-
target
|
|
156
|
+
source?: string | undefined;
|
|
157
|
+
target: string | undefined;
|
|
167
158
|
} | {
|
|
168
159
|
type: "PRELOAD";
|
|
169
160
|
payload: {
|
|
170
161
|
name: string;
|
|
171
|
-
params?: object;
|
|
162
|
+
params?: object | undefined;
|
|
172
163
|
};
|
|
173
|
-
source?: string;
|
|
174
|
-
target
|
|
164
|
+
source?: string | undefined;
|
|
165
|
+
target: string | undefined;
|
|
175
166
|
} | {
|
|
176
|
-
|
|
177
|
-
|
|
167
|
+
type: "RESET";
|
|
168
|
+
payload: Readonly<{
|
|
178
169
|
key: string;
|
|
179
170
|
index: number;
|
|
180
171
|
routeNames: string[];
|
|
181
|
-
history?: unknown[];
|
|
172
|
+
history?: unknown[] | undefined;
|
|
182
173
|
routes: import("@react-navigation/routers").NavigationRoute<import("@react-navigation/routers").ParamListBase, string>[];
|
|
183
174
|
type: string;
|
|
184
175
|
stale: false;
|
|
@@ -186,7 +177,7 @@ export declare function useLinkBuilder(): {
|
|
|
186
177
|
key: string;
|
|
187
178
|
index: number;
|
|
188
179
|
routeNames: string[];
|
|
189
|
-
history?: unknown[];
|
|
180
|
+
history?: unknown[] | undefined;
|
|
190
181
|
routes: import("@react-navigation/routers").NavigationRoute<import("@react-navigation/routers").ParamListBase, string>[];
|
|
191
182
|
type: string;
|
|
192
183
|
stale: false;
|
|
@@ -194,13 +185,14 @@ export declare function useLinkBuilder(): {
|
|
|
194
185
|
key: string;
|
|
195
186
|
index: number;
|
|
196
187
|
routeNames: string[];
|
|
197
|
-
history?: unknown[];
|
|
188
|
+
history?: unknown[] | undefined;
|
|
198
189
|
routes: import("@react-navigation/routers").NavigationRoute<import("@react-navigation/routers").ParamListBase, string>[];
|
|
199
190
|
type: string;
|
|
200
191
|
stale: false;
|
|
201
192
|
}>, "routes"> & {
|
|
202
193
|
routes: Omit<import("@react-navigation/routers").Route<string>, "key">[];
|
|
203
|
-
})
|
|
194
|
+
});
|
|
195
|
+
target: string | undefined;
|
|
204
196
|
};
|
|
205
197
|
};
|
|
206
198
|
//# sourceMappingURL=useLinkBuilder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLinkBuilder.d.ts","sourceRoot":"","sources":["../../../src/useLinkBuilder.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useLinkBuilder.d.ts","sourceRoot":"","sources":["../../../src/useLinkBuilder.tsx"],"names":[],"mappings":"AAuBA;;GAEG;AACH,wBAAgB,YAAY,WAUjB,MAAM,WAAW,MAAM,wBAuDjC;AAED;;GAEG;AACH,wBAAgB,cAAc,WAenB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;cA7FQ,CAAC;YAMzB,CAAA;aAAmC,CAAC;WACnC,CAAC;;;;;;;cAWQ,CAAC;;;;;;;cAON,CAAL;;;;;;;cAWS,CAHD;;;;;;;;cAGC,CAAH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8EN;AAED;;;;GAIG;AACH,wBAAgB,cAAc;sBAvGnB,MAAM,WAAW,MAAM;wBA2EvB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;kBA7FQ,CAAC;gBAMzB,CAAA;iBAAmC,CAAC;eACnC,CAAC;;;;;;;kBAWQ,CAAC;;;;;;;kBAON,CAAL;;;;;;;kBAWS,CAHD;;;;;;;;kBAGC,CAAH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6FN"}
|
|
@@ -1,32 +1,56 @@
|
|
|
1
|
-
import { type NavigationAction, type RootParamList } from '@react-navigation/core';
|
|
1
|
+
import { type NavigationAction, type NavigatorScreenParams, type ParamListForNavigator, type RootParamList } from '@react-navigation/core';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
href?: string;
|
|
6
|
-
action?: NavigationAction;
|
|
7
|
-
|
|
3
|
+
import type { GestureResponderEvent } from 'react-native';
|
|
4
|
+
type LinkScreenTargetProps<ParamList extends {}, RouteName extends Extract<keyof ParamList, string> = Extract<keyof ParamList, string>> = RouteName extends unknown ? undefined extends ParamList[RouteName] ? {
|
|
5
|
+
href?: string | undefined;
|
|
6
|
+
action?: NavigationAction | undefined;
|
|
7
|
+
in?: Extract<keyof ParamList, string> | undefined;
|
|
8
8
|
screen: RouteName;
|
|
9
|
-
params?: ParamList[RouteName];
|
|
9
|
+
params?: ParamList[RouteName] | undefined;
|
|
10
10
|
} : {
|
|
11
|
+
href?: string | undefined;
|
|
12
|
+
action?: NavigationAction | undefined;
|
|
13
|
+
in?: Extract<keyof ParamList, string> | undefined;
|
|
11
14
|
screen: RouteName;
|
|
12
15
|
params: ParamList[RouteName];
|
|
13
|
-
} : never
|
|
14
|
-
|
|
16
|
+
} : never;
|
|
17
|
+
type LinkScreenTargetPropsWithIn<ParamList extends {}, RouteName extends Extract<keyof ParamList, string> = Extract<keyof ParamList, string>> = RouteName extends unknown ? undefined extends ParamList[RouteName] ? {
|
|
18
|
+
href?: string | undefined;
|
|
19
|
+
action?: NavigationAction | undefined;
|
|
20
|
+
in: Extract<keyof ParamList, string>;
|
|
21
|
+
screen: RouteName;
|
|
22
|
+
params?: ParamList[RouteName] | undefined;
|
|
23
|
+
} : {
|
|
24
|
+
href?: string | undefined;
|
|
25
|
+
action?: NavigationAction | undefined;
|
|
26
|
+
in: Extract<keyof ParamList, string>;
|
|
27
|
+
screen: RouteName;
|
|
28
|
+
params: ParamList[RouteName];
|
|
29
|
+
} : never;
|
|
30
|
+
type LinkPropsWithInForParams<Params> = [Params] extends [never] ? never : [Params] extends [NavigatorScreenParams<infer Navigator>] ? ParamListForNavigator<Navigator> extends infer NestedParamList extends {} ? LinkScreenTargetPropsWithIn<NestedParamList> | LinkPropsWithIn<NestedParamList> : never : never;
|
|
31
|
+
type LinkPropsWithIn<ParamList extends {}> = string extends keyof ParamList ? never : {
|
|
32
|
+
[RouteName in keyof ParamList]: LinkPropsWithInForParams<Exclude<ParamList[RouteName], undefined>>;
|
|
33
|
+
}[keyof ParamList];
|
|
34
|
+
export type LinkProps<ParamList extends {} = RootParamList, RouteName extends Extract<keyof ParamList, string> = Extract<keyof ParamList, string>> = LinkScreenTargetProps<ParamList, RouteName> | LinkPropsWithIn<ParamList> | {
|
|
35
|
+
href?: string | undefined;
|
|
15
36
|
action: NavigationAction;
|
|
37
|
+
in?: undefined;
|
|
16
38
|
screen?: undefined;
|
|
17
39
|
params?: undefined;
|
|
18
40
|
};
|
|
19
41
|
/**
|
|
20
42
|
* Hook to get props for an anchor tag so it can work with in page navigation.
|
|
21
43
|
*
|
|
44
|
+
* @param props.in Name of the current or parent screen whose navigator contains the target screen.
|
|
22
45
|
* @param props.screen Name of the screen to navigate to (e.g. `'Feeds'`).
|
|
23
46
|
* @param props.params Params to pass to the screen to navigate to (e.g. `{ sort: 'hot' }`).
|
|
24
47
|
* @param props.href Optional absolute path to use for the href (e.g. `/feeds/hot`).
|
|
25
|
-
* @param props.action Optional action to
|
|
48
|
+
* @param props.action Optional action to override the in-page navigation. The `href` is still derived from `screen`, so this can be used to render a link while dispatching a different action (e.g. a `replace`).
|
|
26
49
|
*/
|
|
27
|
-
export declare function useLinkProps<
|
|
28
|
-
href: string | undefined;
|
|
50
|
+
export declare function useLinkProps<ParamList extends {} = RootParamList, RouteName extends Extract<keyof ParamList, string> = Extract<keyof ParamList, string>>({ in: parent, screen, params, action, ...rest }: LinkProps<NoInfer<ParamList>, RouteName>): {
|
|
51
|
+
href: string | LinkScreenTargetProps<NoInfer<ParamList>, RouteName>["href"] | undefined;
|
|
29
52
|
role: "link";
|
|
30
53
|
onPress: (e?: React.MouseEvent<HTMLAnchorElement, MouseEvent> | GestureResponderEvent) => void;
|
|
31
54
|
};
|
|
55
|
+
export {};
|
|
32
56
|
//# sourceMappingURL=useLinkProps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLinkProps.d.ts","sourceRoot":"","sources":["../../../src/useLinkProps.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"useLinkProps.d.ts","sourceRoot":"","sources":["../../../src/useLinkProps.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,gBAAgB,EAOrB,KAAK,qBAAqB,EAE1B,KAAK,qBAAqB,EAC1B,KAAK,aAAa,EACnB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAO1D,KAAK,qBAAqB,CACxB,SAAS,SAAS,EAAE,EACpB,SAAS,SAAS,OAAO,CAAC,MAAM,SAAS,EAAE,MAAM,CAAC,GAAG,OAAO,CAC1D,MAAM,SAAS,EACf,MAAM,CACP,IACC,SAAS,SAAS,OAAO,GACzB,SAAS,SAAS,SAAS,CAAC,SAAS,CAAC,GACpC;IACE,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACtC,EAAE,CAAC,EAAE,OAAO,CAAC,MAAM,SAAS,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC;IAClD,MAAM,EAAE,SAAS,CAAC;IAClB,MAAM,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC;CAC3C,GACD;IACE,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACtC,EAAE,CAAC,EAAE,OAAO,CAAC,MAAM,SAAS,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC;IAClD,MAAM,EAAE,SAAS,CAAC;IAClB,MAAM,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,GACH,KAAK,CAAC;AAEV,KAAK,2BAA2B,CAC9B,SAAS,SAAS,EAAE,EACpB,SAAS,SAAS,OAAO,CAAC,MAAM,SAAS,EAAE,MAAM,CAAC,GAAG,OAAO,CAC1D,MAAM,SAAS,EACf,MAAM,CACP,IACC,SAAS,SAAS,OAAO,GACzB,SAAS,SAAS,SAAS,CAAC,SAAS,CAAC,GACpC;IACE,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACtC,EAAE,EAAE,OAAO,CAAC,MAAM,SAAS,EAAE,MAAM,CAAC,CAAC;IACrC,MAAM,EAAE,SAAS,CAAC;IAClB,MAAM,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC;CAC3C,GACD;IACE,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACtC,EAAE,EAAE,OAAO,CAAC,MAAM,SAAS,EAAE,MAAM,CAAC,CAAC;IACrC,MAAM,EAAE,SAAS,CAAC;IAClB,MAAM,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,GACH,KAAK,CAAC;AAEV,KAAK,wBAAwB,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,GAC5D,KAAK,GACL,CAAC,MAAM,CAAC,SAAS,CAAC,qBAAqB,CAAC,MAAM,SAAS,CAAC,CAAC,GACvD,qBAAqB,CAAC,SAAS,CAAC,SAAS,MAAM,eAAe,SAAS,EAAE,GAEnE,2BAA2B,CAAC,eAAe,CAAC,GAC5C,eAAe,CAAC,eAAe,CAAC,GACpC,KAAK,GACP,KAAK,CAAC;AAEZ,KAAK,eAAe,CAAC,SAAS,SAAS,EAAE,IAAI,MAAM,SAAS,MAAM,SAAS,GACvE,KAAK,GACL;KACG,SAAS,IAAI,MAAM,SAAS,GAAG,wBAAwB,CACtD,OAAO,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC,CACzC;CACF,CAAC,MAAM,SAAS,CAAC,CAAC;AAEvB,MAAM,MAAM,SAAS,CACnB,SAAS,SAAS,EAAE,GAAG,aAAa,EACpC,SAAS,SAAS,OAAO,CAAC,MAAM,SAAS,EAAE,MAAM,CAAC,GAAG,OAAO,CAC1D,MAAM,SAAS,EACf,MAAM,CACP,IAEC,qBAAqB,CAAC,SAAS,EAAE,SAAS,CAAC,GAC3C,eAAe,CAAC,SAAS,CAAC,GAC1B;IACE,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,MAAM,EAAE,gBAAgB,CAAC;IACzB,EAAE,CAAC,EAAE,SAAS,CAAC;IACf,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB,CAAC;AAoJN;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAC1B,SAAS,SAAS,EAAE,GAAG,aAAa,EACpC,SAAS,SAAS,OAAO,CAAC,MAAM,SAAS,EAAE,MAAM,CAAC,GAAG,OAAO,CAC1D,MAAM,SAAS,EACf,MAAM,CACP,EACD,EACA,EAAE,EAAE,MAAM,EACV,MAAM,EACN,MAAM,EACN,MAAM,EACN,GAAG,IAAI,EACR,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC;;;kBAqCjC,KAAK,CAAC,UAAU,CAAC,iBAAiB,EAAE,UAAU,CAAC,GAC/C,qBAAqB;EAmH9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLinkTo.d.ts","sourceRoot":"","sources":["../../../src/useLinkTo.tsx"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,wBAAgB,SAAS,
|
|
1
|
+
{"version":3,"file":"useLinkTo.d.ts","sourceRoot":"","sources":["../../../src/useLinkTo.tsx"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,wBAAgB,SAAS,WAYd,MAAM,UAShB"}
|
|
@@ -1,58 +1,16 @@
|
|
|
1
|
-
import { type NavigationContainerRef, type ParamListBase } from '@react-navigation/core';
|
|
1
|
+
import { type NavigationContainerRef, type ParamListBase, type PartialState } from '@react-navigation/core';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import type { LinkingOptions } from './types';
|
|
4
|
-
import type { Thenable } from './useThenable';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
*/
|
|
8
|
-
export declare const series: (cb: () => Promise<void>) => () => void;
|
|
9
|
-
type Options = LinkingOptions<ParamListBase>;
|
|
10
|
-
export declare function useLinking(ref: React.RefObject<NavigationContainerRef<ParamListBase> | null>, { enabled, config, getStateFromPath, getPathFromState, getActionFromState, }: Options): {
|
|
11
|
-
getInitialState: () => Thenable<(Partial<Omit<Readonly<{
|
|
3
|
+
import type { LinkingOptions } from './types.js';
|
|
4
|
+
import type { Thenable } from './useThenable.js';
|
|
5
|
+
export declare function useLinking<ParamList extends ParamListBase>(ref: React.RefObject<NavigationContainerRef<ParamList> | null>, { enabled, config, getStateFromPath, getPathFromState, getActionFromState, }: LinkingOptions<ParamList>): {
|
|
6
|
+
getInitialState: () => Thenable<PartialState<Readonly<{
|
|
12
7
|
key: string;
|
|
13
8
|
index: number;
|
|
14
9
|
routeNames: string[];
|
|
15
|
-
history?: unknown[];
|
|
10
|
+
history?: unknown[] | undefined;
|
|
16
11
|
routes: import("@react-navigation/routers").NavigationRoute<ParamListBase, string>[];
|
|
17
12
|
type: string;
|
|
18
13
|
stale: false;
|
|
19
|
-
}
|
|
20
|
-
stale?: true;
|
|
21
|
-
routes: import("@react-navigation/routers").PartialRoute<Readonly<{
|
|
22
|
-
key: string;
|
|
23
|
-
name: string;
|
|
24
|
-
path?: string;
|
|
25
|
-
history?: {
|
|
26
|
-
type: "params";
|
|
27
|
-
params: object;
|
|
28
|
-
}[];
|
|
29
|
-
} & Readonly<{
|
|
30
|
-
params?: Readonly<object | undefined>;
|
|
31
|
-
}>>>[];
|
|
32
|
-
}> & {
|
|
33
|
-
state?: Partial<Omit<Readonly<{
|
|
34
|
-
key: string;
|
|
35
|
-
index: number;
|
|
36
|
-
routeNames: string[];
|
|
37
|
-
history?: unknown[];
|
|
38
|
-
routes: import("@react-navigation/routers").NavigationRoute<ParamListBase, string>[];
|
|
39
|
-
type: string;
|
|
40
|
-
stale: false;
|
|
41
|
-
}>, "stale" | "routes">> & Readonly<{
|
|
42
|
-
stale?: true;
|
|
43
|
-
routes: import("@react-navigation/routers").PartialRoute<Readonly<{
|
|
44
|
-
key: string;
|
|
45
|
-
name: string;
|
|
46
|
-
path?: string;
|
|
47
|
-
history?: {
|
|
48
|
-
type: "params";
|
|
49
|
-
params: object;
|
|
50
|
-
}[];
|
|
51
|
-
} & Readonly<{
|
|
52
|
-
params?: Readonly<object | undefined>;
|
|
53
|
-
}>>>[];
|
|
54
|
-
}> & /*elided*/ any;
|
|
55
|
-
}) | undefined>;
|
|
14
|
+
}>> | undefined>;
|
|
56
15
|
};
|
|
57
|
-
export {};
|
|
58
16
|
//# sourceMappingURL=useLinking.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLinking.d.ts","sourceRoot":"","sources":["../../../src/useLinking.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"useLinking.d.ts","sourceRoot":"","sources":["../../../src/useLinking.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,sBAAsB,EAE3B,KAAK,aAAa,EAClB,KAAK,YAAY,EAElB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAS,CAAC;AAC9C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAe,CAAC;AAoN9C,wBAAgB,UAAU,CAAC,SAAS,SAAS,aAAa,EACxD,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,EAC9D,EACE,OAAc,EACd,MAAM,EACN,gBAA0C,EAC1C,gBAA0C,EAC1C,kBAA8C,GAC/C,EAAE,cAAc,CAAC,SAAS,CAAC;;;;;;;;;;EAwhB7B"}
|
|
@@ -1,98 +1,24 @@
|
|
|
1
|
-
import { type NavigationContainerRef, type ParamListBase } from '@react-navigation/core';
|
|
1
|
+
import { type NavigationContainerRef, type ParamListBase, type PartialState } from '@react-navigation/core';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import type { LinkingOptions } from './types';
|
|
4
|
-
import type { Thenable } from './useThenable';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
getInitialState: () => Thenable<(Partial<Omit<Readonly<{
|
|
3
|
+
import type { LinkingOptions } from './types.js';
|
|
4
|
+
import type { Thenable } from './useThenable.js';
|
|
5
|
+
export declare function useLinking<ParamList extends ParamListBase>(ref: React.RefObject<NavigationContainerRef<ParamList> | null>, { enabled, prefixes, filter, config, getInitialURL, subscribe, getStateFromPath, getActionFromState, }: LinkingOptions<ParamListBase>): {
|
|
6
|
+
getInitialState: () => Thenable<PartialState<Readonly<{
|
|
8
7
|
key: string;
|
|
9
8
|
index: number;
|
|
10
9
|
routeNames: string[];
|
|
11
|
-
history?: unknown[];
|
|
10
|
+
history?: unknown[] | undefined;
|
|
12
11
|
routes: import("@react-navigation/routers").NavigationRoute<ParamListBase, string>[];
|
|
13
12
|
type: string;
|
|
14
13
|
stale: false;
|
|
15
|
-
}
|
|
16
|
-
stale?: true;
|
|
17
|
-
routes: import("@react-navigation/routers").PartialRoute<Readonly<{
|
|
18
|
-
key: string;
|
|
19
|
-
name: string;
|
|
20
|
-
path?: string;
|
|
21
|
-
history?: {
|
|
22
|
-
type: "params";
|
|
23
|
-
params: object;
|
|
24
|
-
}[];
|
|
25
|
-
} & Readonly<{
|
|
26
|
-
params?: Readonly<object | undefined>;
|
|
27
|
-
}>>>[];
|
|
28
|
-
}> & {
|
|
29
|
-
state?: Partial<Omit<Readonly<{
|
|
30
|
-
key: string;
|
|
31
|
-
index: number;
|
|
32
|
-
routeNames: string[];
|
|
33
|
-
history?: unknown[];
|
|
34
|
-
routes: import("@react-navigation/routers").NavigationRoute<ParamListBase, string>[];
|
|
35
|
-
type: string;
|
|
36
|
-
stale: false;
|
|
37
|
-
}>, "stale" | "routes">> & Readonly<{
|
|
38
|
-
stale?: true;
|
|
39
|
-
routes: import("@react-navigation/routers").PartialRoute<Readonly<{
|
|
40
|
-
key: string;
|
|
41
|
-
name: string;
|
|
42
|
-
path?: string;
|
|
43
|
-
history?: {
|
|
44
|
-
type: "params";
|
|
45
|
-
params: object;
|
|
46
|
-
}[];
|
|
47
|
-
} & Readonly<{
|
|
48
|
-
params?: Readonly<object | undefined>;
|
|
49
|
-
}>>>[];
|
|
50
|
-
}> & /*elided*/ any;
|
|
51
|
-
}) | undefined> | Promise<(Partial<Omit<Readonly<{
|
|
14
|
+
}>> | undefined> | Promise<PartialState<Readonly<{
|
|
52
15
|
key: string;
|
|
53
16
|
index: number;
|
|
54
17
|
routeNames: string[];
|
|
55
|
-
history?: unknown[];
|
|
18
|
+
history?: unknown[] | undefined;
|
|
56
19
|
routes: import("@react-navigation/routers").NavigationRoute<ParamListBase, string>[];
|
|
57
20
|
type: string;
|
|
58
21
|
stale: false;
|
|
59
|
-
}
|
|
60
|
-
stale?: true;
|
|
61
|
-
routes: import("@react-navigation/routers").PartialRoute<Readonly<{
|
|
62
|
-
key: string;
|
|
63
|
-
name: string;
|
|
64
|
-
path?: string;
|
|
65
|
-
history?: {
|
|
66
|
-
type: "params";
|
|
67
|
-
params: object;
|
|
68
|
-
}[];
|
|
69
|
-
} & Readonly<{
|
|
70
|
-
params?: Readonly<object | undefined>;
|
|
71
|
-
}>>>[];
|
|
72
|
-
}> & {
|
|
73
|
-
state?: Partial<Omit<Readonly<{
|
|
74
|
-
key: string;
|
|
75
|
-
index: number;
|
|
76
|
-
routeNames: string[];
|
|
77
|
-
history?: unknown[];
|
|
78
|
-
routes: import("@react-navigation/routers").NavigationRoute<ParamListBase, string>[];
|
|
79
|
-
type: string;
|
|
80
|
-
stale: false;
|
|
81
|
-
}>, "stale" | "routes">> & Readonly<{
|
|
82
|
-
stale?: true;
|
|
83
|
-
routes: import("@react-navigation/routers").PartialRoute<Readonly<{
|
|
84
|
-
key: string;
|
|
85
|
-
name: string;
|
|
86
|
-
path?: string;
|
|
87
|
-
history?: {
|
|
88
|
-
type: "params";
|
|
89
|
-
params: object;
|
|
90
|
-
}[];
|
|
91
|
-
} & Readonly<{
|
|
92
|
-
params?: Readonly<object | undefined>;
|
|
93
|
-
}>>>[];
|
|
94
|
-
}> & /*elided*/ any;
|
|
95
|
-
}) | undefined>;
|
|
22
|
+
}>> | undefined>;
|
|
96
23
|
};
|
|
97
|
-
export {};
|
|
98
24
|
//# sourceMappingURL=useLinking.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLinking.native.d.ts","sourceRoot":"","sources":["../../../src/useLinking.native.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,sBAAsB,
|
|
1
|
+
{"version":3,"file":"useLinking.native.d.ts","sourceRoot":"","sources":["../../../src/useLinking.native.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,sBAAsB,EAE3B,KAAK,aAAa,EAClB,KAAK,YAAY,EAElB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAS,CAAC;AAC9C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAe,CAAC;AAI9C,wBAAgB,UAAU,CAAC,SAAS,SAAS,aAAa,EACxD,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,EAC9D,EACE,OAAc,EACd,QAAgB,EAChB,MAAM,EACN,MAAM,EACN,aAQI,EACJ,SAQC,EACD,gBAA0C,EAC1C,kBAA8C,GAC/C,EAAE,cAAc,CAAC,aAAa,CAAC;;;;;;;;;;;;;;;;;;EAmLjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMemoArray.d.ts","sourceRoot":"","sources":["../../../src/useMemoArray.tsx"],"names":[],"mappings":"AAEA,wBAAgB,YAAY,CAAC,CAAC,EAC5B,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,OAAO,EAAE,CAAC,EAAE,GAC7C,CAAC,EAAE,CAoCL"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { ScrollView } from 'react-native';
|
|
3
2
|
type ScrollOptions = {
|
|
4
3
|
x?: number;
|
|
5
4
|
y?: number;
|
|
@@ -18,9 +17,7 @@ type ScrollableView = {
|
|
|
18
17
|
scrollResponderScrollTo(options: ScrollOptions): void;
|
|
19
18
|
};
|
|
20
19
|
type ScrollableWrapper = {
|
|
21
|
-
getScrollResponder(): React.ReactNode |
|
|
22
|
-
} | {
|
|
23
|
-
getNode(): ScrollableView;
|
|
20
|
+
getScrollResponder(): React.ReactNode | ScrollableView;
|
|
24
21
|
} | ScrollableView | null;
|
|
25
22
|
export declare function useScrollToTop(ref: React.RefObject<ScrollableWrapper>): void;
|
|
26
23
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useScrollToTop.d.ts","sourceRoot":"","sources":["../../../src/useScrollToTop.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"useScrollToTop.d.ts","sourceRoot":"","sources":["../../../src/useScrollToTop.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,KAAK,aAAa,GAAG;IAAE,CAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAEpE,KAAK,cAAc,GACf;IAAE,WAAW,IAAI,IAAI,CAAA;CAAE,GACvB;IAAE,QAAQ,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI,CAAA;CAAE,GAC1C;IAAE,cAAc,CAAC,OAAO,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,IAAI,CAAA;CAAE,GACzE;IAAE,uBAAuB,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI,CAAA;CAAE,CAAC;AAE9D,KAAK,iBAAiB,GAClB;IAAE,kBAAkB,IAAI,KAAK,CAAC,SAAS,GAAG,cAAc,CAAA;CAAE,GAC1D,cAAc,GACd,IAAI,CAAC;AA8BT,wBAAgB,cAAc,CAAC,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,QAgFrE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type Thenable<T> = {
|
|
2
2
|
then(onfulfilled?: (value: T) => unknown): PromiseLike<unknown>;
|
|
3
3
|
};
|
|
4
|
-
export declare function useThenable<T>(create: () => Thenable<T> | undefined): [boolean, T | undefined];
|
|
4
|
+
export declare function useThenable<T>(create: () => Thenable<T> | T | undefined): [boolean, T | undefined];
|
|
5
5
|
//# sourceMappingURL=useThenable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useThenable.d.ts","sourceRoot":"","sources":["../../../src/useThenable.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI;IACxB,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,OAAO,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;CACjE,CAAC;AAEF,wBAAgB,WAAW,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC,CAAC,CAAC,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"useThenable.d.ts","sourceRoot":"","sources":["../../../src/useThenable.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI;IACxB,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,OAAO,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;CACjE,CAAC;AAEF,wBAAgB,WAAW,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,SAAS,4BA6CvE"}
|