@react-navigation/native 8.0.0-alpha.4 → 8.0.0-alpha.41
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 +4 -6
- package/android/src/main/java/org/reactnavigation/MaterialSymbolModule.kt +20 -9
- package/android/src/main/java/org/reactnavigation/MaterialSymbolTypeface.kt +61 -18
- package/android/src/main/java/org/reactnavigation/MaterialSymbolView.kt +39 -14
- package/android/src/main/java/org/reactnavigation/MaterialSymbolViewManager.kt +14 -7
- package/android/src/main/java/org/reactnavigation/ReactNavigationPackage.kt +3 -1
- package/assets/fonts/MaterialSymbolsOutlined.codepoints +190 -24
- 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 +190 -24
- 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 +190 -24
- 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/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 +22 -9
- package/ios/ReactNavigationSFSymbolView.swift +355 -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 +10 -4
- 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 +23 -7
- package/lib/module/createMemoryHistory.js.map +1 -1
- package/lib/module/createStandardNavigationFactories.js +99 -0
- package/lib/module/createStandardNavigationFactories.js.map +1 -0
- package/lib/module/createStaticNavigation.js +5 -4
- 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 +7 -16
- package/lib/module/native/MaterialSymbol.android.js.map +1 -1
- package/lib/module/native/MaterialSymbol.js.map +1 -1
- package/lib/module/native/MaterialSymbolViewNativeComponent.ts +7 -4
- 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 +8 -15
- package/lib/module/useLinkBuilder.js.map +1 -1
- package/lib/module/useLinkProps.js +150 -68
- package/lib/module/useLinkProps.js.map +1 -1
- package/lib/module/useLinkTo.js +1 -1
- package/lib/module/useLinkTo.js.map +1 -1
- package/lib/module/useLinking.js +203 -32
- package/lib/module/useLinking.js.map +1 -1
- package/lib/module/useLinking.native.js +25 -8
- 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 +3 -8
- 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 +1 -1
- 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 +19 -8
- 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 +7 -7
- 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 +9 -4
- package/lib/typescript/src/native/MaterialSymbol.android.d.ts.map +1 -1
- package/lib/typescript/src/native/MaterialSymbol.d.ts +8 -3
- 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 +3 -3
- package/lib/typescript/src/native/MaterialSymbolViewNativeComponent.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 +241 -45
- 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 +27 -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 +56 -68
- 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/useLinking.d.ts +7 -45
- 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 +0 -2
- 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/NavigationContainer.tsx +134 -64
- package/src/__stubs__/createStackNavigator.tsx +19 -17
- package/src/checkSerializable.tsx +246 -0
- package/src/constants.native.tsx +10 -0
- package/src/constants.tsx +5 -0
- package/src/createMemoryHistory.tsx +28 -7
- package/src/createStandardNavigationFactories.tsx +219 -0
- package/src/createStaticNavigation.tsx +13 -17
- 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 +11 -22
- package/src/native/MaterialSymbol.tsx +7 -2
- package/src/native/MaterialSymbolData.tsx +166 -0
- package/src/native/MaterialSymbolViewNativeComponent.ts +7 -4
- 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 +297 -47
- 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 +52 -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 +16 -23
- package/src/useLinkProps.tsx +379 -126
- package/src/useLinkTo.tsx +1 -1
- package/src/useLinking.native.tsx +64 -35
- package/src/useLinking.tsx +323 -47
- package/src/useLocale.tsx +1 -1
- package/src/useMemoArray.tsx +41 -0
- package/src/useRoutePath.tsx +1 -1
- package/src/useScrollToTop.tsx +3 -9
- 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 -39
- package/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/ReactNavigationSFSymbolViewManagerInterface.java +0 -20
- 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 -106
- package/android/build/generated/source/codegen/jni/react/renderer/components/ReactNavigationSpec/Props.h +0 -118
- 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/outputs/logs/manifest-merger-debug-report.txt +0 -16
- 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/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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["MaterialSymbol","_","Error","getImageSource"],"sourceRoot":"../../../src","sources":["native/MaterialSymbol.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"names":["MaterialSymbol","_","Error","getImageSource"],"sourceRoot":"../../../src","sources":["native/MaterialSymbol.tsx"],"mappings":";;AAWA,OAAO,SAASA,cAAcA,CAACC,CAAsB,EAAsB;EACzE,MAAM,IAAIC,KAAK,CAAC,8CAA8C,CAAC;AACjE;AAEAF,cAAc,CAACG,cAAc,GAC3BF,CAAwB,IACA;EACxB,MAAM,IAAIC,KAAK,CACb,6DACF,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -2,22 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
4
|
codegenNativeComponent,
|
|
5
|
-
CodegenTypes,
|
|
5
|
+
type CodegenTypes,
|
|
6
6
|
type ColorValue,
|
|
7
7
|
type ViewProps,
|
|
8
8
|
} from 'react-native';
|
|
9
9
|
|
|
10
10
|
export interface NativeProps extends ViewProps {
|
|
11
11
|
name: string;
|
|
12
|
-
variant?: string;
|
|
12
|
+
variant?: string | undefined;
|
|
13
13
|
weight?: CodegenTypes.WithDefault<
|
|
14
14
|
0 | 100 | 200 | 300 | 400 | 500 | 600 | 700,
|
|
15
15
|
0
|
|
16
16
|
>;
|
|
17
17
|
size: CodegenTypes.Float;
|
|
18
|
-
color
|
|
18
|
+
color?: ColorValue | undefined;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
export default codegenNativeComponent<NativeProps>(
|
|
22
|
-
'ReactNavigationMaterialSymbolView'
|
|
22
|
+
'ReactNavigationMaterialSymbolView',
|
|
23
|
+
{
|
|
24
|
+
excludedPlatforms: ['iOS'],
|
|
25
|
+
}
|
|
23
26
|
);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* eslint-disable import-x/no-default-export */
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import {
|
|
4
|
+
codegenNativeCommands,
|
|
5
|
+
codegenNativeComponent,
|
|
6
|
+
type CodegenTypes,
|
|
7
|
+
type HostComponent,
|
|
8
|
+
type ViewProps,
|
|
9
|
+
} from 'react-native';
|
|
10
|
+
|
|
11
|
+
export interface NativeProps extends ViewProps {
|
|
12
|
+
direction?: CodegenTypes.WithDefault<'vertical' | 'horizontal', 'vertical'>;
|
|
13
|
+
edge?: CodegenTypes.WithDefault<'top' | 'right' | 'bottom' | 'left', 'top'>;
|
|
14
|
+
adaptive?: CodegenTypes.WithDefault<boolean, true>;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
interface NativeCommands {
|
|
18
|
+
relayout(viewRef: React.ComponentRef<HostComponent<NativeProps>>): void;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export const Commands = codegenNativeCommands<NativeCommands>({
|
|
22
|
+
supportedCommands: ['relayout'],
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
export default codegenNativeComponent<NativeProps>(
|
|
26
|
+
'ReactNavigationCornerInsetView',
|
|
27
|
+
{
|
|
28
|
+
excludedPlatforms: ['android'],
|
|
29
|
+
interfaceOnly: true,
|
|
30
|
+
}
|
|
31
|
+
);
|
|
@@ -9,38 +9,57 @@ export function SFSymbol({
|
|
|
9
9
|
color,
|
|
10
10
|
weight,
|
|
11
11
|
scale = 'medium',
|
|
12
|
-
|
|
12
|
+
variableValue,
|
|
13
|
+
variableValueMode = 'automatic',
|
|
14
|
+
colorRenderingMode = 'automatic',
|
|
15
|
+
renderingMode = 'monochrome',
|
|
13
16
|
colors,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
effect,
|
|
18
|
+
contentTransition,
|
|
19
|
+
style
|
|
17
20
|
}) {
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
} :
|
|
21
|
+
const effectConfig = typeof effect === 'string' ? {
|
|
22
|
+
type: effect
|
|
23
|
+
} : effect;
|
|
24
|
+
const contentTransitionConfig = typeof contentTransition === 'string' ? {
|
|
25
|
+
type: contentTransition
|
|
26
|
+
} : contentTransition;
|
|
27
|
+
const repeat = effectConfig?.repeat;
|
|
21
28
|
return /*#__PURE__*/_jsx(SFSymbolViewNativeComponent, {
|
|
22
29
|
name: name,
|
|
23
30
|
size: size,
|
|
24
31
|
color: color,
|
|
25
32
|
weight: typeof weight === 'string' ? FONT_WEIGHTS[weight] : weight ?? 0,
|
|
26
33
|
scale: scale,
|
|
27
|
-
|
|
34
|
+
variableValue: variableValue ?? -1,
|
|
35
|
+
variableValueMode: variableValueMode,
|
|
36
|
+
colorRenderingMode: colorRenderingMode,
|
|
37
|
+
renderingMode: renderingMode,
|
|
28
38
|
colorPrimary: colors?.primary ?? color,
|
|
29
39
|
colorSecondary: colors?.secondary,
|
|
30
40
|
colorTertiary: colors?.tertiary,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
41
|
+
effect: effectConfig?.type ?? '',
|
|
42
|
+
effectRepeat: typeof repeat === 'string' ? repeat : repeat ? 'periodic' : '',
|
|
43
|
+
effectRepeatCount: typeof repeat === 'object' ? repeat.count ?? 0 : 0,
|
|
44
|
+
effectRepeatDelay: typeof repeat === 'object' ? repeat.delay ?? 0 : 0,
|
|
45
|
+
effectSpeed: effectConfig?.speed ?? 1,
|
|
46
|
+
effectScope: effectConfig?.scope ?? '',
|
|
47
|
+
effectDirection: effectConfig?.direction ?? '',
|
|
48
|
+
effectVariant: effectConfig?.variant ?? '',
|
|
49
|
+
effectAngle: effectConfig?.angle ?? -1,
|
|
50
|
+
effectReversing: effectConfig?.reversing ?? false,
|
|
51
|
+
effectCumulative: effectConfig?.cumulative ?? false,
|
|
52
|
+
effectInactiveLayers: effectConfig?.inactiveLayers ?? '',
|
|
53
|
+
effectDrawDirection: effectConfig?.drawDirection ?? '',
|
|
54
|
+
contentTransition: contentTransitionConfig?.type ?? '',
|
|
55
|
+
contentTransitionSpeed: contentTransitionConfig?.speed ?? 1,
|
|
56
|
+
contentTransitionVariant: contentTransitionConfig?.variant ?? '',
|
|
57
|
+
contentTransitionScope: contentTransitionConfig?.scope ?? '',
|
|
58
|
+
contentTransitionMagic: contentTransitionConfig?.magic ?? false,
|
|
39
59
|
style: [{
|
|
40
60
|
width: size,
|
|
41
61
|
height: size
|
|
42
|
-
}, style]
|
|
43
|
-
...rest
|
|
62
|
+
}, style]
|
|
44
63
|
});
|
|
45
64
|
}
|
|
46
65
|
//# sourceMappingURL=SFSymbol.ios.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["FONT_WEIGHTS","SFSymbolViewNativeComponent","jsx","_jsx","SFSymbol","name","size","color","weight","scale","
|
|
1
|
+
{"version":3,"names":["FONT_WEIGHTS","SFSymbolViewNativeComponent","jsx","_jsx","SFSymbol","name","size","color","weight","scale","variableValue","variableValueMode","colorRenderingMode","renderingMode","colors","effect","contentTransition","style","effectConfig","type","contentTransitionConfig","repeat","colorPrimary","primary","colorSecondary","secondary","colorTertiary","tertiary","effectRepeat","effectRepeatCount","count","effectRepeatDelay","delay","effectSpeed","speed","effectScope","scope","effectDirection","direction","effectVariant","variant","effectAngle","angle","effectReversing","reversing","effectCumulative","cumulative","effectInactiveLayers","inactiveLayers","effectDrawDirection","drawDirection","contentTransitionSpeed","contentTransitionVariant","contentTransitionScope","contentTransitionMagic","magic","width","height"],"sourceRoot":"../../../src","sources":["native/SFSymbol.ios.tsx"],"mappings":";;AAEA,SAASA,YAAY,QAAQ,gBAAa;AAC1C,OAAOC,2BAA2B,MAAM,+BAA+B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AA4CxE,OAAO,SAASC,QAAQA,CAAC;EACvBC,IAAI;EACJC,IAAI,GAAG,EAAE;EACTC,KAAK;EACLC,MAAM;EACNC,KAAK,GAAG,QAAQ;EAChBC,aAAa;EACbC,iBAAiB,GAAG,WAAW;EAC/BC,kBAAkB,GAAG,WAAW;EAChCC,aAAa,GAAG,YAAY;EAC5BC,MAAM;EACNC,MAAM;EACNC,iBAAiB;EACjBC;AACa,CAAC,EAAsB;EACpC,MAAMC,YAA4C,GAChD,OAAOH,MAAM,KAAK,QAAQ,GAAG;IAAEI,IAAI,EAAEJ;EAAO,CAAC,GAAGA,MAAM;EACxD,MAAMK,uBAAkE,GACtE,OAAOJ,iBAAiB,KAAK,QAAQ,GACjC;IAAEG,IAAI,EAAEH;EAAkB,CAAC,GAC3BA,iBAAiB;EAEvB,MAAMK,MAAM,GAAGH,YAAY,EAAEG,MAAM;EAEnC,oBACElB,IAAA,CAACF,2BAA2B;IAC1BI,IAAI,EAAEA,IAAK;IACXC,IAAI,EAAEA,IAAK;IACXC,KAAK,EAAEA,KAAM;IACbC,MAAM,EAAE,OAAOA,MAAM,KAAK,QAAQ,GAAGR,YAAY,CAACQ,MAAM,CAAC,GAAIA,MAAM,IAAI,CAAG;IAC1EC,KAAK,EAAEA,KAAM;IACbC,aAAa,EAAEA,aAAa,IAAI,CAAC,CAAE;IACnCC,iBAAiB,EAAEA,iBAAkB;IACrCC,kBAAkB,EAAEA,kBAAmB;IACvCC,aAAa,EAAEA,aAAc;IAC7BS,YAAY,EAAER,MAAM,EAAES,OAAO,IAAIhB,KAAM;IACvCiB,cAAc,EAAEV,MAAM,EAAEW,SAAU;IAClCC,aAAa,EAAEZ,MAAM,EAAEa,QAAS;IAChCZ,MAAM,EAAEG,YAAY,EAAEC,IAAI,IAAI,EAAG;IACjCS,YAAY,EACV,OAAOP,MAAM,KAAK,QAAQ,GAAGA,MAAM,GAAGA,MAAM,GAAG,UAAU,GAAG,EAC7D;IACDQ,iBAAiB,EAAE,OAAOR,MAAM,KAAK,QAAQ,GAAIA,MAAM,CAACS,KAAK,IAAI,CAAC,GAAI,CAAE;IACxEC,iBAAiB,EAAE,OAAOV,MAAM,KAAK,QAAQ,GAAIA,MAAM,CAACW,KAAK,IAAI,CAAC,GAAI,CAAE;IACxEC,WAAW,EAAEf,YAAY,EAAEgB,KAAK,IAAI,CAAE;IACtCC,WAAW,EAAEjB,YAAY,EAAEkB,KAAK,IAAI,EAAG;IACvCC,eAAe,EAAEnB,YAAY,EAAEoB,SAAS,IAAI,EAAG;IAC/CC,aAAa,EAAErB,YAAY,EAAEsB,OAAO,IAAI,EAAG;IAC3CC,WAAW,EAAEvB,YAAY,EAAEwB,KAAK,IAAI,CAAC,CAAE;IACvCC,eAAe,EAAEzB,YAAY,EAAE0B,SAAS,IAAI,KAAM;IAClDC,gBAAgB,EAAE3B,YAAY,EAAE4B,UAAU,IAAI,KAAM;IACpDC,oBAAoB,EAAE7B,YAAY,EAAE8B,cAAc,IAAI,EAAG;IACzDC,mBAAmB,EAAE/B,YAAY,EAAEgC,aAAa,IAAI,EAAG;IACvDlC,iBAAiB,EAAEI,uBAAuB,EAAED,IAAI,IAAI,EAAG;IACvDgC,sBAAsB,EAAE/B,uBAAuB,EAAEc,KAAK,IAAI,CAAE;IAC5DkB,wBAAwB,EAAEhC,uBAAuB,EAAEoB,OAAO,IAAI,EAAG;IACjEa,sBAAsB,EAAEjC,uBAAuB,EAAEgB,KAAK,IAAI,EAAG;IAC7DkB,sBAAsB,EAAElC,uBAAuB,EAAEmC,KAAK,IAAI,KAAM;IAChEtC,KAAK,EAAE,CACL;MACEuC,KAAK,EAAElD,IAAI;MACXmD,MAAM,EAAEnD;IACV,CAAC,EACDW,KAAK;EACL,CACH,CAAC;AAEN","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["SFSymbol","_","Error"],"sourceRoot":"../../../src","sources":["native/SFSymbol.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"names":["SFSymbol","_","Error"],"sourceRoot":"../../../src","sources":["native/SFSymbol.tsx"],"mappings":";;AAWA,OAAO,SAASA,QAAQA,CAACC,CAAgB,EAAsB;EAC7D,MAAM,IAAIC,KAAK,CAAC,oCAAoC,CAAC;AACvD","ignoreList":[]}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
4
|
codegenNativeComponent,
|
|
5
|
-
CodegenTypes,
|
|
5
|
+
type CodegenTypes,
|
|
6
6
|
type ColorValue,
|
|
7
7
|
type ViewProps,
|
|
8
8
|
} from 'react-native';
|
|
@@ -10,23 +10,39 @@ import {
|
|
|
10
10
|
export interface NativeProps extends ViewProps {
|
|
11
11
|
name: string;
|
|
12
12
|
size: CodegenTypes.Float;
|
|
13
|
-
color?: ColorValue;
|
|
13
|
+
color?: ColorValue | undefined;
|
|
14
14
|
weight: CodegenTypes.Int32;
|
|
15
15
|
scale: string;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
16
|
+
variableValue: CodegenTypes.Float;
|
|
17
|
+
variableValueMode: string;
|
|
18
|
+
colorRenderingMode: string;
|
|
19
|
+
renderingMode: string;
|
|
20
|
+
colorPrimary?: ColorValue | undefined;
|
|
21
|
+
colorSecondary?: ColorValue | undefined;
|
|
22
|
+
colorTertiary?: ColorValue | undefined;
|
|
23
|
+
effect: string;
|
|
24
|
+
effectRepeat: string;
|
|
25
|
+
effectRepeatCount: CodegenTypes.Int32;
|
|
26
|
+
effectRepeatDelay: CodegenTypes.Float;
|
|
27
|
+
effectSpeed: CodegenTypes.Float;
|
|
28
|
+
effectScope: string;
|
|
29
|
+
effectDirection: string;
|
|
30
|
+
effectVariant: string;
|
|
31
|
+
effectAngle: CodegenTypes.Float;
|
|
32
|
+
effectReversing: boolean;
|
|
33
|
+
effectCumulative: boolean;
|
|
34
|
+
effectInactiveLayers: string;
|
|
35
|
+
effectDrawDirection: string;
|
|
36
|
+
contentTransition: string;
|
|
37
|
+
contentTransitionSpeed: CodegenTypes.Float;
|
|
38
|
+
contentTransitionVariant: string;
|
|
39
|
+
contentTransitionScope: string;
|
|
40
|
+
contentTransitionMagic: boolean;
|
|
28
41
|
}
|
|
29
42
|
|
|
30
43
|
export default codegenNativeComponent<NativeProps>(
|
|
31
|
-
'ReactNavigationSFSymbolView'
|
|
44
|
+
'ReactNavigationSFSymbolView',
|
|
45
|
+
{
|
|
46
|
+
excludedPlatforms: ['android'],
|
|
47
|
+
}
|
|
32
48
|
);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","ServerContext","createContext","undefined"],"sourceRoot":"../../../src","sources":["server/ServerContext.tsx"],"mappings":";;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAM9B,OAAO,MAAMC,aAAa,gBAAGD,KAAK,CAACE,aAAa,CAC9CC,SACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { ServerContext } from "./ServerContext.js";
|
|
5
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
+
/**
|
|
7
|
+
* Provider for request-scoped server navigation state.
|
|
8
|
+
*/
|
|
9
|
+
export function ServerContainer({
|
|
10
|
+
location,
|
|
11
|
+
children
|
|
12
|
+
}) {
|
|
13
|
+
const value = React.useMemo(() => ({
|
|
14
|
+
location
|
|
15
|
+
}), [location]);
|
|
16
|
+
return /*#__PURE__*/_jsx(ServerContext.Provider, {
|
|
17
|
+
value: value,
|
|
18
|
+
children: children
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","ServerContext","jsx","_jsx","ServerContainer","location","children","value","useMemo","Provider"],"sourceRoot":"../../../src","sources":["server/index.tsx"],"mappings":";;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAE9B,SAASC,aAAa,QAAQ,oBAAiB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAOhD;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAAC;EAAEC,QAAQ;EAAEC;AAA+B,CAAC,EAAE;EAC5E,MAAMC,KAAK,GAAGP,KAAK,CAACQ,OAAO,CAAC,OAAO;IAAEH;EAAS,CAAC,CAAC,EAAE,CAACA,QAAQ,CAAC,CAAC;EAE7D,oBACEF,IAAA,CAACF,aAAa,CAACQ,QAAQ;IAACF,KAAK,EAAEA,KAAM;IAAAD,QAAA,EAAEA;EAAQ,CAAyB,CAAC;AAE7E","ignoreList":[]}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { fonts } from
|
|
3
|
+
import { fonts } from './fonts';
|
|
4
4
|
export const DarkTheme = {
|
|
5
5
|
dark: true,
|
|
6
6
|
colors: {
|
|
7
7
|
primary: 'rgb(10, 132, 255)',
|
|
8
|
-
background: 'rgb(
|
|
9
|
-
card: 'rgb(
|
|
10
|
-
text: 'rgb(
|
|
11
|
-
border: 'rgb(
|
|
8
|
+
background: 'rgb(0, 0, 0)',
|
|
9
|
+
card: 'rgb(28, 28, 30)',
|
|
10
|
+
text: 'rgb(255, 255, 255)',
|
|
11
|
+
border: 'rgb(56, 56, 58)',
|
|
12
12
|
notification: 'rgb(255, 69, 58)'
|
|
13
13
|
},
|
|
14
14
|
fonts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["fonts","DarkTheme","dark","colors","primary","background","card","text","border","notification"],"sourceRoot":"../../../src","sources":["theming/DarkTheme.tsx"],"mappings":";;AAEA,SAASA,KAAK,QAAQ,
|
|
1
|
+
{"version":3,"names":["fonts","DarkTheme","dark","colors","primary","background","card","text","border","notification"],"sourceRoot":"../../../src","sources":["theming/DarkTheme.tsx"],"mappings":";;AAEA,SAASA,KAAK,QAAQ,SAAS;AAE/B,OAAO,MAAMC,SAAS,GAAG;EACvBC,IAAI,EAAE,IAAI;EACVC,MAAM,EAAE;IACNC,OAAO,EAAE,mBAAmB;IAC5BC,UAAU,EAAE,cAAc;IAC1BC,IAAI,EAAE,iBAAiB;IACvBC,IAAI,EAAE,oBAAoB;IAC1BC,MAAM,EAAE,iBAAiB;IACzBC,YAAY,EAAE;EAChB,CAAC;EACDT;AACF,CAA0B","ignoreList":[]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { fonts } from './fonts';
|
|
4
|
+
export const LightTheme = {
|
|
5
|
+
dark: false,
|
|
6
|
+
colors: {
|
|
7
|
+
primary: 'rgb(0, 122, 255)',
|
|
8
|
+
background: 'rgb(242, 242, 247)',
|
|
9
|
+
card: 'rgb(255, 255, 255)',
|
|
10
|
+
text: 'rgb(0, 0, 0)',
|
|
11
|
+
border: 'rgb(198, 198, 200)',
|
|
12
|
+
notification: 'rgb(255, 59, 48)'
|
|
13
|
+
},
|
|
14
|
+
fonts
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=LightTheme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["fonts","LightTheme","dark","colors","primary","background","card","text","border","notification"],"sourceRoot":"../../../src","sources":["theming/LightTheme.tsx"],"mappings":";;AAEA,SAASA,KAAK,QAAQ,SAAS;AAE/B,OAAO,MAAMC,UAAU,GAAG;EACxBC,IAAI,EAAE,KAAK;EACXC,MAAM,EAAE;IACNC,OAAO,EAAE,kBAAkB;IAC3BC,UAAU,EAAE,oBAAoB;IAChCC,IAAI,EAAE,oBAAoB;IAC1BC,IAAI,EAAE,cAAc;IACpBC,MAAM,EAAE,oBAAoB;IAC5BC,YAAY,EAAE;EAChB,CAAC;EACDT;AACF,CAA0B","ignoreList":[]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { fonts } from './fonts';
|
|
4
|
+
export const MaterialLightFallbackTheme = {
|
|
5
|
+
dark: false,
|
|
6
|
+
colors: {
|
|
7
|
+
primary: '#6750a4',
|
|
8
|
+
background: '#f3edf7',
|
|
9
|
+
card: '#fef7ff',
|
|
10
|
+
text: '#1d1b20',
|
|
11
|
+
border: '#cac4d0',
|
|
12
|
+
notification: '#ba1a1a'
|
|
13
|
+
},
|
|
14
|
+
fonts
|
|
15
|
+
};
|
|
16
|
+
export const MaterialDarkFallbackTheme = {
|
|
17
|
+
dark: true,
|
|
18
|
+
colors: {
|
|
19
|
+
primary: '#d0bcff',
|
|
20
|
+
background: '#211f26',
|
|
21
|
+
card: '#141218',
|
|
22
|
+
text: '#e6e0e9',
|
|
23
|
+
border: '#49454f',
|
|
24
|
+
notification: '#ffb4ab'
|
|
25
|
+
},
|
|
26
|
+
fonts
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=MaterialFallbackTheme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["fonts","MaterialLightFallbackTheme","dark","colors","primary","background","card","text","border","notification","MaterialDarkFallbackTheme"],"sourceRoot":"../../../src","sources":["theming/MaterialFallbackTheme.tsx"],"mappings":";;AAEA,SAASA,KAAK,QAAQ,SAAS;AAE/B,OAAO,MAAMC,0BAA0B,GAAG;EACxCC,IAAI,EAAE,KAAK;EACXC,MAAM,EAAE;IACNC,OAAO,EAAE,SAAS;IAClBC,UAAU,EAAE,SAAS;IACrBC,IAAI,EAAE,SAAS;IACfC,IAAI,EAAE,SAAS;IACfC,MAAM,EAAE,SAAS;IACjBC,YAAY,EAAE;EAChB,CAAC;EACDT;AACF,CAA0B;AAE1B,OAAO,MAAMU,yBAAyB,GAAG;EACvCR,IAAI,EAAE,IAAI;EACVC,MAAM,EAAE;IACNC,OAAO,EAAE,SAAS;IAClBC,UAAU,EAAE,SAAS;IACrBC,IAAI,EAAE,SAAS;IACfC,IAAI,EAAE,SAAS;IACfC,MAAM,EAAE,SAAS;IACjBC,YAAY,EAAE;EAChB,CAAC;EACDT;AACF,CAA0B","ignoreList":[]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { Platform, PlatformColor } from 'react-native';
|
|
4
|
+
import { fonts } from './fonts';
|
|
5
|
+
import { MaterialDarkFallbackTheme, MaterialLightFallbackTheme } from "./MaterialFallbackTheme.js";
|
|
6
|
+
const isDynamicThemeSupported = Platform.OS === 'android' && Platform.Version >= 34;
|
|
7
|
+
const MaterialLightDynamicTheme = {
|
|
8
|
+
dark: false,
|
|
9
|
+
colors: {
|
|
10
|
+
primary: PlatformColor('@android:color/system_primary_light'),
|
|
11
|
+
background: PlatformColor('@android:color/system_surface_container_light'),
|
|
12
|
+
card: PlatformColor('@android:color/system_background_light'),
|
|
13
|
+
text: PlatformColor('@android:color/system_on_surface_light'),
|
|
14
|
+
border: PlatformColor('@android:color/system_outline_variant_light'),
|
|
15
|
+
notification: PlatformColor('@android:color/system_error_light')
|
|
16
|
+
},
|
|
17
|
+
fonts
|
|
18
|
+
};
|
|
19
|
+
const MaterialDarkDynamicTheme = {
|
|
20
|
+
dark: true,
|
|
21
|
+
colors: {
|
|
22
|
+
primary: PlatformColor('@android:color/system_primary_dark'),
|
|
23
|
+
background: PlatformColor('@android:color/system_surface_container_dark'),
|
|
24
|
+
card: PlatformColor('@android:color/system_background_dark'),
|
|
25
|
+
text: PlatformColor('@android:color/system_on_surface_dark'),
|
|
26
|
+
border: PlatformColor('@android:color/system_outline_variant_dark'),
|
|
27
|
+
notification: PlatformColor('@android:color/system_error_dark')
|
|
28
|
+
},
|
|
29
|
+
fonts
|
|
30
|
+
};
|
|
31
|
+
export const MaterialLightTheme = isDynamicThemeSupported ? MaterialLightDynamicTheme : MaterialLightFallbackTheme;
|
|
32
|
+
export const MaterialDarkTheme = isDynamicThemeSupported ? MaterialDarkDynamicTheme : MaterialDarkFallbackTheme;
|
|
33
|
+
//# sourceMappingURL=MaterialTheme.android.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Platform","PlatformColor","fonts","MaterialDarkFallbackTheme","MaterialLightFallbackTheme","isDynamicThemeSupported","OS","Version","MaterialLightDynamicTheme","dark","colors","primary","background","card","text","border","notification","MaterialDarkDynamicTheme","MaterialLightTheme","MaterialDarkTheme"],"sourceRoot":"../../../src","sources":["theming/MaterialTheme.android.tsx"],"mappings":";;AACA,SAASA,QAAQ,EAAEC,aAAa,QAAQ,cAAc;AAEtD,SAASC,KAAK,QAAQ,SAAS;AAC/B,SACEC,yBAAyB,EACzBC,0BAA0B,QACrB,4BAAyB;AAEhC,MAAMC,uBAAuB,GAC3BL,QAAQ,CAACM,EAAE,KAAK,SAAS,IAAIN,QAAQ,CAACO,OAAO,IAAI,EAAE;AAErD,MAAMC,yBAAyB,GAAG;EAChCC,IAAI,EAAE,KAAK;EACXC,MAAM,EAAE;IACNC,OAAO,EAAEV,aAAa,CAAC,qCAAqC,CAAC;IAC7DW,UAAU,EAAEX,aAAa,CAAC,+CAA+C,CAAC;IAC1EY,IAAI,EAAEZ,aAAa,CAAC,wCAAwC,CAAC;IAC7Da,IAAI,EAAEb,aAAa,CAAC,wCAAwC,CAAC;IAC7Dc,MAAM,EAAEd,aAAa,CAAC,6CAA6C,CAAC;IACpEe,YAAY,EAAEf,aAAa,CAAC,mCAAmC;EACjE,CAAC;EACDC;AACF,CAA0B;AAE1B,MAAMe,wBAAwB,GAAG;EAC/BR,IAAI,EAAE,IAAI;EACVC,MAAM,EAAE;IACNC,OAAO,EAAEV,aAAa,CAAC,oCAAoC,CAAC;IAC5DW,UAAU,EAAEX,aAAa,CAAC,8CAA8C,CAAC;IACzEY,IAAI,EAAEZ,aAAa,CAAC,uCAAuC,CAAC;IAC5Da,IAAI,EAAEb,aAAa,CAAC,uCAAuC,CAAC;IAC5Dc,MAAM,EAAEd,aAAa,CAAC,4CAA4C,CAAC;IACnEe,YAAY,EAAEf,aAAa,CAAC,kCAAkC;EAChE,CAAC;EACDC;AACF,CAA0B;AAE1B,OAAO,MAAMgB,kBAAkB,GAAGb,uBAAuB,GACrDG,yBAAyB,GACzBJ,0BAA0B;AAE9B,OAAO,MAAMe,iBAAiB,GAAGd,uBAAuB,GACpDY,wBAAwB,GACxBd,yBAAyB","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["MaterialDarkFallbackTheme","MaterialDarkTheme","MaterialLightFallbackTheme","MaterialLightTheme"],"sourceRoot":"../../../src","sources":["theming/MaterialTheme.tsx"],"mappings":";;AAAA,SACEA,yBAAyB,IAAIC,iBAAiB,EAC9CC,0BAA0B,IAAIC,kBAAkB,QAC3C,4BAAyB","ignoreList":[]}
|
|
@@ -1,61 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { Platform } from 'react-native';
|
|
4
3
|
const WEB_FONT_STACK = 'system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"';
|
|
5
|
-
export const fonts =
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
fontWeight: '400'
|
|
10
|
-
},
|
|
11
|
-
medium: {
|
|
12
|
-
fontFamily: WEB_FONT_STACK,
|
|
13
|
-
fontWeight: '500'
|
|
14
|
-
},
|
|
15
|
-
bold: {
|
|
16
|
-
fontFamily: WEB_FONT_STACK,
|
|
17
|
-
fontWeight: '600'
|
|
18
|
-
},
|
|
19
|
-
heavy: {
|
|
20
|
-
fontFamily: WEB_FONT_STACK,
|
|
21
|
-
fontWeight: '700'
|
|
22
|
-
}
|
|
4
|
+
export const fonts = {
|
|
5
|
+
regular: {
|
|
6
|
+
fontFamily: WEB_FONT_STACK,
|
|
7
|
+
fontWeight: '400'
|
|
23
8
|
},
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
fontWeight: '400'
|
|
28
|
-
},
|
|
29
|
-
medium: {
|
|
30
|
-
fontFamily: 'System',
|
|
31
|
-
fontWeight: '500'
|
|
32
|
-
},
|
|
33
|
-
bold: {
|
|
34
|
-
fontFamily: 'System',
|
|
35
|
-
fontWeight: '600'
|
|
36
|
-
},
|
|
37
|
-
heavy: {
|
|
38
|
-
fontFamily: 'System',
|
|
39
|
-
fontWeight: '700'
|
|
40
|
-
}
|
|
9
|
+
medium: {
|
|
10
|
+
fontFamily: WEB_FONT_STACK,
|
|
11
|
+
fontWeight: '500'
|
|
41
12
|
},
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
fontWeight: 'normal'
|
|
50
|
-
},
|
|
51
|
-
bold: {
|
|
52
|
-
fontFamily: 'sans-serif',
|
|
53
|
-
fontWeight: '600'
|
|
54
|
-
},
|
|
55
|
-
heavy: {
|
|
56
|
-
fontFamily: 'sans-serif',
|
|
57
|
-
fontWeight: '700'
|
|
58
|
-
}
|
|
13
|
+
bold: {
|
|
14
|
+
fontFamily: WEB_FONT_STACK,
|
|
15
|
+
fontWeight: '600'
|
|
16
|
+
},
|
|
17
|
+
heavy: {
|
|
18
|
+
fontFamily: WEB_FONT_STACK,
|
|
19
|
+
fontWeight: '700'
|
|
59
20
|
}
|
|
60
|
-
}
|
|
21
|
+
};
|
|
61
22
|
//# sourceMappingURL=fonts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["WEB_FONT_STACK","fonts","regular","fontFamily","fontWeight","medium","bold","heavy"],"sourceRoot":"../../../src","sources":["theming/fonts.tsx"],"mappings":";;AAEA,MAAMA,cAAc,GAClB,uHAAuH;AAEzH,OAAO,MAAMC,KAAK,GAAG;EACnBC,OAAO,EAAE;IACPC,UAAU,EAAEH,cAAc;IAC1BI,UAAU,EAAE;EACd,CAAC;EACDC,MAAM,EAAE;IACNF,UAAU,EAAEH,cAAc;IAC1BI,UAAU,EAAE;EACd,CAAC;EACDE,IAAI,EAAE;IACJH,UAAU,EAAEH,cAAc;IAC1BI,UAAU,EAAE;EACd,CAAC;EACDG,KAAK,EAAE;IACLJ,UAAU,EAAEH,cAAc;IAC1BI,UAAU,EAAE;EACd;AACF,CAAmC","ignoreList":[]}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { Platform } from 'react-native';
|
|
4
|
+
export const fonts = Platform.select({
|
|
5
|
+
ios: {
|
|
6
|
+
regular: {
|
|
7
|
+
fontFamily: 'System',
|
|
8
|
+
fontWeight: '400'
|
|
9
|
+
},
|
|
10
|
+
medium: {
|
|
11
|
+
fontFamily: 'System',
|
|
12
|
+
fontWeight: '500'
|
|
13
|
+
},
|
|
14
|
+
bold: {
|
|
15
|
+
fontFamily: 'System',
|
|
16
|
+
fontWeight: '600'
|
|
17
|
+
},
|
|
18
|
+
heavy: {
|
|
19
|
+
fontFamily: 'System',
|
|
20
|
+
fontWeight: '700'
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
default: {
|
|
24
|
+
regular: {
|
|
25
|
+
fontFamily: 'sans-serif',
|
|
26
|
+
fontWeight: 'normal'
|
|
27
|
+
},
|
|
28
|
+
medium: {
|
|
29
|
+
fontFamily: 'sans-serif-medium',
|
|
30
|
+
fontWeight: 'normal'
|
|
31
|
+
},
|
|
32
|
+
bold: {
|
|
33
|
+
fontFamily: 'sans-serif',
|
|
34
|
+
fontWeight: '600'
|
|
35
|
+
},
|
|
36
|
+
heavy: {
|
|
37
|
+
fontFamily: 'sans-serif',
|
|
38
|
+
fontWeight: '700'
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
//# sourceMappingURL=fonts.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Platform","fonts","select","ios","regular","fontFamily","fontWeight","medium","bold","heavy","default"],"sourceRoot":"../../../src","sources":["theming/fonts.native.tsx"],"mappings":";;AACA,SAASA,QAAQ,QAAQ,cAAc;AAEvC,OAAO,MAAMC,KAAK,GAAGD,QAAQ,CAACE,MAAM,CAAC;EACnCC,GAAG,EAAE;IACHC,OAAO,EAAE;MACPC,UAAU,EAAE,QAAQ;MACpBC,UAAU,EAAE;IACd,CAAC;IACDC,MAAM,EAAE;MACNF,UAAU,EAAE,QAAQ;MACpBC,UAAU,EAAE;IACd,CAAC;IACDE,IAAI,EAAE;MACJH,UAAU,EAAE,QAAQ;MACpBC,UAAU,EAAE;IACd,CAAC;IACDG,KAAK,EAAE;MACLJ,UAAU,EAAE,QAAQ;MACpBC,UAAU,EAAE;IACd;EACF,CAAC;EACDI,OAAO,EAAE;IACPN,OAAO,EAAE;MACPC,UAAU,EAAE,YAAY;MACxBC,UAAU,EAAE;IACd,CAAC;IACDC,MAAM,EAAE;MACNF,UAAU,EAAE,mBAAmB;MAC/BC,UAAU,EAAE;IACd,CAAC;IACDE,IAAI,EAAE;MACJH,UAAU,EAAE,YAAY;MACxBC,UAAU,EAAE;IACd,CAAC;IACDG,KAAK,EAAE;MACLJ,UAAU,EAAE,YAAY;MACxBC,UAAU,EAAE;IACd;EACF;AACF,CAAmD,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useBackButton","_"],"sourceRoot":"../../src","sources":["useBackButton.tsx"],"mappings":";;AAKA,OAAO,SAASA,aAAaA,CAC3BC,
|
|
1
|
+
{"version":3,"names":["useBackButton","_"],"sourceRoot":"../../src","sources":["useBackButton.tsx"],"mappings":";;AAKA,OAAO,SAASA,aAAaA,CAC3BC,CAA4D,EAC5D;EACA;EACA;AAAA","ignoreList":[]}
|
|
@@ -4,7 +4,10 @@ import * as React from 'react';
|
|
|
4
4
|
import { BackHandler } from 'react-native';
|
|
5
5
|
export function useBackButton(ref) {
|
|
6
6
|
React.useEffect(() => {
|
|
7
|
-
|
|
7
|
+
// eslint-disable-next-line @eslint-react/web-api/no-leaked-event-listener
|
|
8
|
+
const subscription = BackHandler.addEventListener('hardwareBackPress',
|
|
9
|
+
// eslint-disable-next-line @eslint-react/web-api/no-leaked-event-listener
|
|
10
|
+
() => {
|
|
8
11
|
const navigation = ref.current;
|
|
9
12
|
if (navigation == null) {
|
|
10
13
|
return false;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","BackHandler","useBackButton","ref","useEffect","subscription","addEventListener","navigation","current","canGoBack","goBack","remove"],"sourceRoot":"../../src","sources":["useBackButton.native.tsx"],"mappings":";;AAIA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,WAAW,QAAQ,cAAc;AAE1C,OAAO,SAASC,aAAaA,CAC3BC,GAAkE,EAClE;EACAH,KAAK,CAACI,SAAS,CAAC,MAAM;IACpB,MAAMC,YAAY,GAAGJ,WAAW,CAACK,gBAAgB,CAC/C,mBAAmB,
|
|
1
|
+
{"version":3,"names":["React","BackHandler","useBackButton","ref","useEffect","subscription","addEventListener","navigation","current","canGoBack","goBack","remove"],"sourceRoot":"../../src","sources":["useBackButton.native.tsx"],"mappings":";;AAIA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,WAAW,QAAQ,cAAc;AAE1C,OAAO,SAASC,aAAaA,CAC3BC,GAAkE,EAClE;EACAH,KAAK,CAACI,SAAS,CAAC,MAAM;IACpB;IACA,MAAMC,YAAY,GAAGJ,WAAW,CAACK,gBAAgB,CAC/C,mBAAmB;IACnB;IACA,MAAM;MACJ,MAAMC,UAAU,GAAGJ,GAAG,CAACK,OAAO;MAE9B,IAAID,UAAU,IAAI,IAAI,EAAE;QACtB,OAAO,KAAK;MACd;MAEA,IAAIA,UAAU,CAACE,SAAS,CAAC,CAAC,EAAE;QAC1BF,UAAU,CAACG,MAAM,CAAC,CAAC;QAEnB,OAAO,IAAI;MACb;MAEA,OAAO,KAAK;IACd,CACF,CAAC;IAED,OAAO,MAAML,YAAY,CAACM,MAAM,CAAC,CAAC;EACpC,CAAC,EAAE,CAACR,GAAG,CAAC,CAAC;AACX","ignoreList":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import isEqual from 'fast-deep-equal';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
export function useDeepStableValue(value) {
|
|
6
|
+
const valueRef = React.useRef(value);
|
|
7
|
+
if (!isEqual(valueRef.current, value)) {
|
|
8
|
+
valueRef.current = value;
|
|
9
|
+
}
|
|
10
|
+
return valueRef.current;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=useDeepStableValue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["isEqual","React","useDeepStableValue","value","valueRef","useRef","current"],"sourceRoot":"../../src","sources":["useDeepStableValue.tsx"],"mappings":";;AAAA,OAAOA,OAAO,MAAM,iBAAiB;AACrC,OAAO,KAAKC,KAAK,MAAM,OAAO;AAE9B,OAAO,SAASC,kBAAkBA,CAAIC,KAAQ,EAAK;EACjD,MAAMC,QAAQ,GAAGH,KAAK,CAACI,MAAM,CAACF,KAAK,CAAC;EAEpC,IAAI,CAACH,OAAO,CAACI,QAAQ,CAACE,OAAO,EAAEH,KAAK,CAAC,EAAE;IACrCC,QAAQ,CAACE,OAAO,GAAGH,KAAK;EAC1B;EAEA,OAAOC,QAAQ,CAACE,OAAO;AACzB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useDocumentTitle","ref","enabled","formatter","options","route","title","name","useEffect","navigation","current","getCurrentOptions","getCurrentRoute","document","addListener","e","data"],"sourceRoot":"../../src","sources":["useDocumentTitle.tsx"],"mappings":";;AAIA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAI9B;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAC9BC,
|
|
1
|
+
{"version":3,"names":["React","useDocumentTitle","ref","enabled","formatter","options","route","title","name","useEffect","navigation","current","getCurrentOptions","getCurrentRoute","document","addListener","e","data"],"sourceRoot":"../../src","sources":["useDocumentTitle.tsx"],"mappings":";;AAIA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAI9B;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAC9BC,GAA8D,EAC9D;EACEC,OAAO,GAAG,IAAI;EACdC,SAAS,GAAGA,CAACC,OAAO,EAAEC,KAAK,KAAKD,OAAO,EAAEE,KAAK,IAAID,KAAK,EAAEE;AACrC,CAAC,GAAG,CAAC,CAAC,EAC5B;EACAR,KAAK,CAACS,SAAS,CAAC,MAAM;IACpB,IAAI,CAACN,OAAO,EAAE;MACZ;IACF;IAEA,MAAMO,UAAU,GAAGR,GAAG,CAACS,OAAO;IAE9B,IAAID,UAAU,EAAE;MACd,MAAMH,KAAK,GAAGH,SAAS,CACrBM,UAAU,CAACE,iBAAiB,CAAC,CAAC,EAC9BF,UAAU,CAACG,eAAe,CAAC,CAC7B,CAAC;MAEDC,QAAQ,CAACP,KAAK,GAAGA,KAAK;IACxB;IAEA,OAAOG,UAAU,EAAEK,WAAW,CAAC,SAAS,EAAGC,CAAC,IAAK;MAC/C,MAAMT,KAAK,GAAGH,SAAS,CAACY,CAAC,CAACC,IAAI,CAACZ,OAAO,EAAEK,UAAU,EAAEG,eAAe,CAAC,CAAC,CAAC;MAEtEC,QAAQ,CAACP,KAAK,GAAGA,KAAK;IACxB,CAAC,CAAC;EACJ,CAAC,CAAC;AACJ","ignoreList":[]}
|