@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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ColorValue } from 'react-native';
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
2
|
+
import type { LocaleDirection, SFSymbolNames } from '../types.js';
|
|
3
|
+
import type { FONT_WEIGHTS } from './constants.js';
|
|
4
|
+
import type { MaterialSymbolName } from './MaterialSymbolData.js';
|
|
4
5
|
export type MaterialSymbolOptions = {
|
|
5
6
|
/**
|
|
6
7
|
* The name of the Material Symbol to display.
|
|
@@ -13,12 +14,13 @@ export type MaterialSymbolOptions = {
|
|
|
13
14
|
*
|
|
14
15
|
* ```json
|
|
15
16
|
* "react-navigation": {
|
|
16
|
-
* "material-
|
|
17
|
+
* "material-symbols": {
|
|
17
18
|
* "fonts": [
|
|
18
19
|
* {
|
|
19
20
|
* "variant": "rounded",
|
|
20
|
-
* "
|
|
21
|
-
*
|
|
21
|
+
* "weights": [300],
|
|
22
|
+
* "fills": [0, 1]
|
|
23
|
+
* }
|
|
22
24
|
* ]
|
|
23
25
|
* }
|
|
24
26
|
* }
|
|
@@ -28,7 +30,7 @@ export type MaterialSymbolOptions = {
|
|
|
28
30
|
*
|
|
29
31
|
* @default 'outlined'
|
|
30
32
|
*/
|
|
31
|
-
variant?: 'outlined' | 'rounded' | 'sharp';
|
|
33
|
+
variant?: 'outlined' | 'rounded' | 'sharp' | undefined;
|
|
32
34
|
/**
|
|
33
35
|
* The weight of the symbol.
|
|
34
36
|
*
|
|
@@ -36,12 +38,13 @@ export type MaterialSymbolOptions = {
|
|
|
36
38
|
*
|
|
37
39
|
* ```json
|
|
38
40
|
* "react-navigation": {
|
|
39
|
-
* "material-
|
|
41
|
+
* "material-symbols": {
|
|
40
42
|
* "fonts": [
|
|
41
43
|
* {
|
|
42
44
|
* "variant": "rounded",
|
|
43
|
-
* "
|
|
44
|
-
*
|
|
45
|
+
* "weights": [300],
|
|
46
|
+
* "fills": [0, 1]
|
|
47
|
+
* }
|
|
45
48
|
* ]
|
|
46
49
|
* }
|
|
47
50
|
* }
|
|
@@ -53,82 +56,274 @@ export type MaterialSymbolOptions = {
|
|
|
53
56
|
*
|
|
54
57
|
* @default 400
|
|
55
58
|
*/
|
|
56
|
-
weight?: 'thin' | 'ultralight' | 'light' | 'regular' | 'medium' | 'semibold' | 'bold' | 100 | 200 | 300 | 400 | 500 | 600 | 700;
|
|
59
|
+
weight?: 'thin' | 'ultralight' | 'light' | 'regular' | 'medium' | 'semibold' | 'bold' | 100 | 200 | 300 | 400 | 500 | 600 | 700 | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* Whether to use the filled version of the symbol.
|
|
62
|
+
*
|
|
63
|
+
* Can be customized using `react-navigation` key in `package.json`:
|
|
64
|
+
*
|
|
65
|
+
* ```json
|
|
66
|
+
* "react-navigation": {
|
|
67
|
+
* "material-symbols": {
|
|
68
|
+
* "fonts": [
|
|
69
|
+
* {
|
|
70
|
+
* "variant": "rounded",
|
|
71
|
+
* "weights": [300],
|
|
72
|
+
* "fills": [0, 1]
|
|
73
|
+
* }
|
|
74
|
+
* ]
|
|
75
|
+
* }
|
|
76
|
+
* }
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
79
|
+
* Here:
|
|
80
|
+
* - `0`: Unfilled version
|
|
81
|
+
* - `1`: Filled version
|
|
82
|
+
*
|
|
83
|
+
* Automatically set if a single fill is available.
|
|
84
|
+
*
|
|
85
|
+
* @default false
|
|
86
|
+
*/
|
|
87
|
+
fill?: boolean | undefined;
|
|
57
88
|
/**
|
|
58
89
|
* The size of the symbol.
|
|
59
90
|
*
|
|
60
91
|
* @default 24
|
|
61
92
|
*/
|
|
62
|
-
size?: number;
|
|
93
|
+
size?: number | undefined;
|
|
63
94
|
/**
|
|
64
95
|
* The color of the symbol.
|
|
65
96
|
*
|
|
66
97
|
* @default 'black'
|
|
67
98
|
*/
|
|
68
|
-
color?: ColorValue;
|
|
99
|
+
color?: ColorValue | undefined;
|
|
69
100
|
};
|
|
70
|
-
export type
|
|
71
|
-
export type SFSymbolMode = 'monochrome' | 'hierarchical' | 'palette' | 'multicolor';
|
|
72
|
-
export type SFSymbolAnimationEffect = 'bounce' | 'pulse' | 'appear' | 'disappear' | 'variableColor' | 'breathe' | 'wiggle' | 'rotate';
|
|
73
|
-
export type SFSymbolAnimationConfig = {
|
|
101
|
+
export type MaterialSymbolImageSourceOptions = MaterialSymbolOptions & {
|
|
74
102
|
/**
|
|
75
|
-
* The
|
|
103
|
+
* The layout direction to render the symbol for.
|
|
104
|
+
*
|
|
105
|
+
* Symbols that support auto-mirroring are flipped horizontally in RTL.
|
|
106
|
+
*
|
|
107
|
+
* @default I18nManager.getConstants().isRTL ? 'rtl' : 'ltr'
|
|
76
108
|
*/
|
|
77
|
-
|
|
109
|
+
direction?: LocaleDirection | undefined;
|
|
110
|
+
};
|
|
111
|
+
type SFSymbolScale = 'small' | 'medium' | 'large';
|
|
112
|
+
type SFSymbolRenderingMode = 'monochrome' | 'hierarchical' | 'palette' | 'multicolor';
|
|
113
|
+
export type SFSymbolEffectName = 'bounce' | 'pulse' | 'appear' | 'disappear' | 'variableColor' | 'scale' | 'breathe' | 'wiggle' | 'rotate' | 'drawOn' | 'drawOff';
|
|
114
|
+
export type SFSymbolContentTransitionEffect = 'automatic' | 'replace';
|
|
115
|
+
export type SFSymbolEffectRepeat = 'continuous' | 'nonRepeating' | {
|
|
78
116
|
/**
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
* @default false
|
|
117
|
+
* Number of times to repeat the effect.
|
|
82
118
|
*/
|
|
83
|
-
|
|
119
|
+
count?: number | undefined;
|
|
84
120
|
/**
|
|
85
|
-
*
|
|
86
|
-
* Ignored if `repeating` is `true`.
|
|
121
|
+
* Delay in seconds between repeated effect cycles.
|
|
87
122
|
*/
|
|
88
|
-
|
|
123
|
+
delay?: number | undefined;
|
|
124
|
+
};
|
|
125
|
+
export type SFSymbolEffectScope = 'byLayer' | 'wholeSymbol' | 'individually';
|
|
126
|
+
export type SFSymbolEffectDirection = 'up' | 'down' | 'left' | 'right' | 'forward' | 'backward' | 'clockwise' | 'counterClockwise';
|
|
127
|
+
export type SFSymbolBreatheVariant = 'plain' | 'pulse';
|
|
128
|
+
export type SFSymbolDrawDirection = 'reversed' | 'nonReversed';
|
|
129
|
+
export type SFSymbolInactiveLayers = 'hide' | 'dim';
|
|
130
|
+
type SFSymbolEffectBaseConfig = {
|
|
89
131
|
/**
|
|
90
|
-
* Speed multiplier for the
|
|
132
|
+
* Speed multiplier for the effect.
|
|
91
133
|
*
|
|
92
134
|
* @default 1
|
|
93
135
|
*/
|
|
94
|
-
speed?: number;
|
|
136
|
+
speed?: number | undefined;
|
|
95
137
|
/**
|
|
96
|
-
*
|
|
138
|
+
* Repeat behavior for the effect. Use an object for periodic repeats.
|
|
139
|
+
*/
|
|
140
|
+
repeat?: SFSymbolEffectRepeat | undefined;
|
|
141
|
+
};
|
|
142
|
+
type SFSymbolScopedEffectConfig = SFSymbolEffectBaseConfig & {
|
|
143
|
+
/**
|
|
144
|
+
* Whether to animate the whole symbol at once or by layer.
|
|
97
145
|
*
|
|
98
|
-
* @default
|
|
146
|
+
* @default 'byLayer'
|
|
147
|
+
*/
|
|
148
|
+
scope?: Extract<SFSymbolEffectScope, 'byLayer' | 'wholeSymbol'> | undefined;
|
|
149
|
+
};
|
|
150
|
+
type SFSymbolDirectionalEffectName = 'bounce' | 'appear' | 'disappear';
|
|
151
|
+
type SFSymbolDirectionalEffectConfig = SFSymbolScopedEffectConfig & {
|
|
152
|
+
/**
|
|
153
|
+
* The symbol effect to apply.
|
|
154
|
+
*/
|
|
155
|
+
type: SFSymbolDirectionalEffectName;
|
|
156
|
+
/**
|
|
157
|
+
* The direction the symbol moves during the effect.
|
|
158
|
+
*/
|
|
159
|
+
direction?: 'up' | 'down' | undefined;
|
|
160
|
+
};
|
|
161
|
+
type SFSymbolScaleEffectConfig = SFSymbolScopedEffectConfig & {
|
|
162
|
+
/**
|
|
163
|
+
* The symbol effect to apply.
|
|
164
|
+
*/
|
|
165
|
+
type: 'scale';
|
|
166
|
+
/**
|
|
167
|
+
* Whether the symbol scales up or down.
|
|
168
|
+
*/
|
|
169
|
+
direction?: 'up' | 'down' | undefined;
|
|
170
|
+
};
|
|
171
|
+
type SFSymbolBasicScopedEffectConfig = SFSymbolScopedEffectConfig & {
|
|
172
|
+
/**
|
|
173
|
+
* The symbol effect to apply.
|
|
174
|
+
*/
|
|
175
|
+
type: 'pulse';
|
|
176
|
+
};
|
|
177
|
+
type SFSymbolBreatheEffectConfig = SFSymbolScopedEffectConfig & {
|
|
178
|
+
/**
|
|
179
|
+
* The symbol effect to apply.
|
|
180
|
+
*/
|
|
181
|
+
type: 'breathe';
|
|
182
|
+
/**
|
|
183
|
+
* The breathe effect variant.
|
|
184
|
+
*/
|
|
185
|
+
variant?: SFSymbolBreatheVariant | undefined;
|
|
186
|
+
};
|
|
187
|
+
type SFSymbolWiggleEffectConfig = SFSymbolScopedEffectConfig & {
|
|
188
|
+
/**
|
|
189
|
+
* The symbol effect to apply.
|
|
190
|
+
*/
|
|
191
|
+
type: 'wiggle';
|
|
192
|
+
/**
|
|
193
|
+
* The direction the symbol wiggles toward.
|
|
194
|
+
*/
|
|
195
|
+
direction?: SFSymbolEffectDirection | undefined;
|
|
196
|
+
/**
|
|
197
|
+
* A custom wiggle angle in degrees. Overrides `direction` when set.
|
|
198
|
+
*/
|
|
199
|
+
angle?: number | undefined;
|
|
200
|
+
};
|
|
201
|
+
type SFSymbolRotateEffectConfig = SFSymbolScopedEffectConfig & {
|
|
202
|
+
/**
|
|
203
|
+
* The symbol effect to apply.
|
|
99
204
|
*/
|
|
100
|
-
|
|
205
|
+
type: 'rotate';
|
|
101
206
|
/**
|
|
102
|
-
*
|
|
103
|
-
* Applicable to `bounce` and `wiggle`.
|
|
207
|
+
* Which way the symbol rotates.
|
|
104
208
|
*/
|
|
105
|
-
direction?: '
|
|
209
|
+
direction?: 'clockwise' | 'counterClockwise' | undefined;
|
|
210
|
+
};
|
|
211
|
+
type SFSymbolDrawEffectConfig = SFSymbolEffectBaseConfig & {
|
|
212
|
+
/**
|
|
213
|
+
* The symbol effect to apply.
|
|
214
|
+
*/
|
|
215
|
+
type: 'drawOn';
|
|
216
|
+
/**
|
|
217
|
+
* Whether to animate the whole symbol at once, by layer, or individually.
|
|
218
|
+
*
|
|
219
|
+
* @default 'byLayer'
|
|
220
|
+
*/
|
|
221
|
+
scope?: SFSymbolEffectScope | undefined;
|
|
222
|
+
};
|
|
223
|
+
type SFSymbolDrawOffEffectConfig = SFSymbolEffectBaseConfig & {
|
|
224
|
+
/**
|
|
225
|
+
* The symbol effect to apply.
|
|
226
|
+
*/
|
|
227
|
+
type: 'drawOff';
|
|
228
|
+
/**
|
|
229
|
+
* Whether to animate the whole symbol at once, by layer, or individually.
|
|
230
|
+
*
|
|
231
|
+
* @default 'byLayer'
|
|
232
|
+
*/
|
|
233
|
+
scope?: SFSymbolEffectScope | undefined;
|
|
234
|
+
/**
|
|
235
|
+
* Whether the draw-off animation follows the symbol's authored draw
|
|
236
|
+
* order or plays it in reverse.
|
|
237
|
+
* - `nonReversed`: follows the symbol's draw order.
|
|
238
|
+
* - `reversed`: plays it in reverse.
|
|
239
|
+
*/
|
|
240
|
+
drawDirection?: SFSymbolDrawDirection | undefined;
|
|
241
|
+
};
|
|
242
|
+
type SFSymbolVariableColorEffectConfig = SFSymbolEffectBaseConfig & {
|
|
243
|
+
/**
|
|
244
|
+
* The symbol effect to apply.
|
|
245
|
+
*/
|
|
246
|
+
type: 'variableColor';
|
|
106
247
|
/**
|
|
107
248
|
* Whether the variable color effect reverses with each cycle.
|
|
108
|
-
* Only applicable to `variableColor`.
|
|
109
249
|
*
|
|
110
250
|
* @default false
|
|
111
251
|
*/
|
|
112
|
-
reversing?: boolean;
|
|
252
|
+
reversing?: boolean | undefined;
|
|
113
253
|
/**
|
|
114
|
-
* Whether
|
|
115
|
-
*
|
|
254
|
+
* Whether layers light up cumulatively and stay active through the
|
|
255
|
+
* cycle, rather than one at a time.
|
|
116
256
|
*
|
|
117
257
|
* @default false
|
|
118
258
|
*/
|
|
119
|
-
cumulative?: boolean;
|
|
259
|
+
cumulative?: boolean | undefined;
|
|
260
|
+
/**
|
|
261
|
+
* How layers that aren't currently active are displayed.
|
|
262
|
+
* - `hide`: inactive layers are invisible.
|
|
263
|
+
* - `dim`: inactive layers stay visible but faded.
|
|
264
|
+
*
|
|
265
|
+
* Defaults to the symbol's standard appearance when unset.
|
|
266
|
+
*/
|
|
267
|
+
inactiveLayers?: SFSymbolInactiveLayers | undefined;
|
|
268
|
+
};
|
|
269
|
+
type SFSymbolEffectConfig = SFSymbolDirectionalEffectConfig | SFSymbolScaleEffectConfig | SFSymbolBasicScopedEffectConfig | SFSymbolBreatheEffectConfig | SFSymbolWiggleEffectConfig | SFSymbolRotateEffectConfig | SFSymbolDrawEffectConfig | SFSymbolDrawOffEffectConfig | SFSymbolVariableColorEffectConfig;
|
|
270
|
+
export type SFSymbolContentTransitionScope = 'byLayer' | 'wholeSymbol';
|
|
271
|
+
export type SFSymbolReplaceTransitionVariant = 'downUp' | 'upUp' | 'offUp';
|
|
272
|
+
type SFSymbolContentTransitionBaseConfig = {
|
|
273
|
+
/**
|
|
274
|
+
* Speed multiplier for the transition.
|
|
275
|
+
*
|
|
276
|
+
* @default 1
|
|
277
|
+
*/
|
|
278
|
+
speed?: number | undefined;
|
|
120
279
|
};
|
|
121
|
-
|
|
280
|
+
type SFSymbolContentTransitionConfig = (SFSymbolContentTransitionBaseConfig & {
|
|
281
|
+
/**
|
|
282
|
+
* The transition effect to apply when the symbol `name` or `variableValue` changes.
|
|
283
|
+
*/
|
|
284
|
+
type: 'automatic';
|
|
285
|
+
}) | (SFSymbolContentTransitionBaseConfig & {
|
|
286
|
+
/**
|
|
287
|
+
* The transition effect to apply when the symbol `name` or `variableValue` changes.
|
|
288
|
+
*/
|
|
289
|
+
type: 'replace';
|
|
290
|
+
/**
|
|
291
|
+
* The direction the outgoing and incoming symbols move.
|
|
292
|
+
* - `downUp`: the old symbol slides down, the new one comes up.
|
|
293
|
+
* - `upUp`: both the old and new symbols move up.
|
|
294
|
+
* - `offUp`: the old symbol fades in place, the new one comes up.
|
|
295
|
+
*/
|
|
296
|
+
variant?: SFSymbolReplaceTransitionVariant | undefined;
|
|
297
|
+
/**
|
|
298
|
+
* Whether to transition the whole symbol at once or by layer.
|
|
299
|
+
*
|
|
300
|
+
* @default 'byLayer'
|
|
301
|
+
*/
|
|
302
|
+
scope?: SFSymbolContentTransitionScope | undefined;
|
|
303
|
+
/**
|
|
304
|
+
* Whether to prefer Magic Replace when possible.
|
|
305
|
+
*
|
|
306
|
+
* Falls back to regular Replace on iOS 17.
|
|
307
|
+
*
|
|
308
|
+
* @default false
|
|
309
|
+
*/
|
|
310
|
+
magic?: boolean | undefined;
|
|
311
|
+
});
|
|
312
|
+
type SFSymbolEffect = SFSymbolEffectName | SFSymbolEffectConfig;
|
|
313
|
+
type SFSymbolContentTransition = SFSymbolContentTransitionEffect | SFSymbolContentTransitionConfig;
|
|
314
|
+
type SFSymbolVariableValueMode = 'automatic' | 'color' | 'draw';
|
|
315
|
+
type SFSymbolColorRenderingMode = 'automatic' | 'flat' | 'gradient';
|
|
122
316
|
export type SFSymbolOptions = {
|
|
123
317
|
/**
|
|
124
318
|
* The name of the SF Symbol to display.
|
|
125
319
|
*/
|
|
126
|
-
name: import('sf-symbols-typescript').SFSymbol
|
|
320
|
+
name: import('sf-symbols-typescript').SFSymbol | Extract<keyof SFSymbolNames, string>;
|
|
127
321
|
/**
|
|
128
322
|
* The size of the symbol.
|
|
323
|
+
*
|
|
129
324
|
* @default 24
|
|
130
325
|
*/
|
|
131
|
-
size?: number;
|
|
326
|
+
size?: number | undefined;
|
|
132
327
|
/**
|
|
133
328
|
* The color of the symbol.
|
|
134
329
|
* Used as the tint color in monochrome mode, and as the fallback for
|
|
@@ -136,19 +331,41 @@ export type SFSymbolOptions = {
|
|
|
136
331
|
*
|
|
137
332
|
* @default 'black'
|
|
138
333
|
*/
|
|
139
|
-
color?: ColorValue;
|
|
334
|
+
color?: ColorValue | undefined;
|
|
140
335
|
/**
|
|
141
336
|
* The weight of the symbol.
|
|
142
337
|
*
|
|
143
338
|
* @default 'regular'
|
|
144
339
|
*/
|
|
145
|
-
weight?: keyof typeof FONT_WEIGHTS | (typeof FONT_WEIGHTS)[keyof typeof FONT_WEIGHTS];
|
|
340
|
+
weight?: keyof typeof FONT_WEIGHTS | (typeof FONT_WEIGHTS)[keyof typeof FONT_WEIGHTS] | undefined;
|
|
146
341
|
/**
|
|
147
|
-
* The scale
|
|
342
|
+
* The symbol's scale variant (`small`, `medium`, or `large`).
|
|
148
343
|
*
|
|
149
344
|
* @default 'medium'
|
|
150
345
|
*/
|
|
151
|
-
scale?: SFSymbolScale;
|
|
346
|
+
scale?: SFSymbolScale | undefined;
|
|
347
|
+
/**
|
|
348
|
+
* The value used to customize variable symbols.
|
|
349
|
+
* Must be between `0` and `1`.
|
|
350
|
+
*
|
|
351
|
+
* Variable symbols (e.g. `wifi`, `speaker.wave.3`) have layers that
|
|
352
|
+
* activate progressively to represent a magnitude. This controls how
|
|
353
|
+
* many are shown: `0` renders the fewest, `1` the full symbol.
|
|
354
|
+
*
|
|
355
|
+
* Has no effect on symbols that aren't variable.
|
|
356
|
+
*/
|
|
357
|
+
variableValue?: number | undefined;
|
|
358
|
+
/**
|
|
359
|
+
* How the partial state from `variableValue` is rendered.
|
|
360
|
+
* - `automatic`: the system chooses based on the symbol.
|
|
361
|
+
* - `color`: fades inactive layers using opacity.
|
|
362
|
+
* - `draw`: partially draws layers instead of fading them.
|
|
363
|
+
*
|
|
364
|
+
* Requires iOS 26+. Ignored on earlier versions.
|
|
365
|
+
*
|
|
366
|
+
* @default 'automatic'
|
|
367
|
+
*/
|
|
368
|
+
variableValueMode?: SFSymbolVariableValueMode | undefined;
|
|
152
369
|
/**
|
|
153
370
|
* The rendering mode of the symbol.
|
|
154
371
|
* - `monochrome`: Single color tint (default).
|
|
@@ -158,7 +375,7 @@ export type SFSymbolOptions = {
|
|
|
158
375
|
*
|
|
159
376
|
* @default 'monochrome'
|
|
160
377
|
*/
|
|
161
|
-
|
|
378
|
+
renderingMode?: SFSymbolRenderingMode | undefined;
|
|
162
379
|
/**
|
|
163
380
|
* The colors for non-monochrome rendering modes.
|
|
164
381
|
* - `hierarchical`: uses `primary` as the base color.
|
|
@@ -168,14 +385,34 @@ export type SFSymbolOptions = {
|
|
|
168
385
|
* Falls back to `color` for `primary` if not specified.
|
|
169
386
|
*/
|
|
170
387
|
colors?: {
|
|
171
|
-
primary?: ColorValue;
|
|
172
|
-
secondary?: ColorValue;
|
|
173
|
-
tertiary?: ColorValue;
|
|
174
|
-
};
|
|
388
|
+
primary?: ColorValue | undefined;
|
|
389
|
+
secondary?: ColorValue | undefined;
|
|
390
|
+
tertiary?: ColorValue | undefined;
|
|
391
|
+
} | undefined;
|
|
392
|
+
/**
|
|
393
|
+
* How color is applied across the symbol's layers.
|
|
394
|
+
* - `automatic`: the system chooses based on the symbol.
|
|
395
|
+
* - `flat`: a solid color per layer.
|
|
396
|
+
* - `gradient`: a gradient derived from each layer's color.
|
|
397
|
+
*
|
|
398
|
+
* Requires iOS 26+. Ignored on earlier versions.
|
|
399
|
+
*
|
|
400
|
+
* @default 'automatic'
|
|
401
|
+
*/
|
|
402
|
+
colorRenderingMode?: SFSymbolColorRenderingMode | undefined;
|
|
175
403
|
/**
|
|
176
|
-
* The
|
|
404
|
+
* The effect to apply to the symbol.
|
|
405
|
+
*
|
|
406
|
+
* Requires iOS 17+. Effects introduced in later iOS versions are ignored
|
|
407
|
+
* on earlier versions.
|
|
408
|
+
*/
|
|
409
|
+
effect?: SFSymbolEffect | undefined;
|
|
410
|
+
/**
|
|
411
|
+
* The content transition to apply when the symbol `name` or `variableValue` changes.
|
|
412
|
+
*
|
|
177
413
|
* Requires iOS 17+. Ignored on earlier versions.
|
|
178
414
|
*/
|
|
179
|
-
|
|
415
|
+
contentTransition?: SFSymbolContentTransition | undefined;
|
|
180
416
|
};
|
|
417
|
+
export {};
|
|
181
418
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/native/types.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/native/types.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,aAAU,CAAC;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAa,CAAC;AAChD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAsB,CAAC;AAE/D,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,IAAI,EAAE,kBAAkB,CAAC;IACzB;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IACvD;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,MAAM,CAAC,EACH,MAAM,GACN,YAAY,GACZ,OAAO,GACP,SAAS,GACT,QAAQ,GACR,UAAU,GACV,MAAM,GACN,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,SAAS,CAAC;IACd;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B;;;;OAIG;IACH,KAAK,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG,qBAAqB,GAAG;IACrE;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,KAAK,aAAa,GAAG,O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;;OAKG;IACH,MAAM,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IACpC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;CAC3D,CAAC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export type ServerContextType = {
|
|
3
|
-
location
|
|
4
|
-
pathname: string;
|
|
5
|
-
search: string;
|
|
6
|
-
};
|
|
3
|
+
location: URL;
|
|
7
4
|
};
|
|
8
5
|
export declare const ServerContext: React.Context<ServerContextType | undefined>;
|
|
9
6
|
//# sourceMappingURL=ServerContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ServerContext.d.ts","sourceRoot":"","sources":["../../../../src/server/ServerContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,EAAE,GAAG,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,aAAa,8CAEzB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export type ServerContainerProps = {
|
|
3
|
+
location: URL;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Provider for request-scoped server navigation state.
|
|
8
|
+
*/
|
|
9
|
+
export declare function ServerContainer({ location, children }: ServerContainerProps): React.JSX.Element;
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/server/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,EAAE,GAAG,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF;;GAEG;AACH,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,oBAAoB,qBAM3E"}
|
|
@@ -2,10 +2,10 @@ export declare const DarkTheme: {
|
|
|
2
2
|
readonly dark: true;
|
|
3
3
|
readonly colors: {
|
|
4
4
|
readonly primary: "rgb(10, 132, 255)";
|
|
5
|
-
readonly background: "rgb(
|
|
6
|
-
readonly card: "rgb(
|
|
7
|
-
readonly text: "rgb(
|
|
8
|
-
readonly border: "rgb(
|
|
5
|
+
readonly background: "rgb(0, 0, 0)";
|
|
6
|
+
readonly card: "rgb(28, 28, 30)";
|
|
7
|
+
readonly text: "rgb(255, 255, 255)";
|
|
8
|
+
readonly border: "rgb(56, 56, 58)";
|
|
9
9
|
readonly notification: "rgb(255, 69, 58)";
|
|
10
10
|
};
|
|
11
11
|
readonly fonts: {
|
|
@@ -25,40 +25,6 @@ export declare const DarkTheme: {
|
|
|
25
25
|
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
26
26
|
readonly fontWeight: "700";
|
|
27
27
|
};
|
|
28
|
-
} | {
|
|
29
|
-
readonly regular: {
|
|
30
|
-
readonly fontFamily: "System";
|
|
31
|
-
readonly fontWeight: "400";
|
|
32
|
-
};
|
|
33
|
-
readonly medium: {
|
|
34
|
-
readonly fontFamily: "System";
|
|
35
|
-
readonly fontWeight: "500";
|
|
36
|
-
};
|
|
37
|
-
readonly bold: {
|
|
38
|
-
readonly fontFamily: "System";
|
|
39
|
-
readonly fontWeight: "600";
|
|
40
|
-
};
|
|
41
|
-
readonly heavy: {
|
|
42
|
-
readonly fontFamily: "System";
|
|
43
|
-
readonly fontWeight: "700";
|
|
44
|
-
};
|
|
45
|
-
} | {
|
|
46
|
-
readonly regular: {
|
|
47
|
-
readonly fontFamily: "sans-serif";
|
|
48
|
-
readonly fontWeight: "normal";
|
|
49
|
-
};
|
|
50
|
-
readonly medium: {
|
|
51
|
-
readonly fontFamily: "sans-serif-medium";
|
|
52
|
-
readonly fontWeight: "normal";
|
|
53
|
-
};
|
|
54
|
-
readonly bold: {
|
|
55
|
-
readonly fontFamily: "sans-serif";
|
|
56
|
-
readonly fontWeight: "600";
|
|
57
|
-
};
|
|
58
|
-
readonly heavy: {
|
|
59
|
-
readonly fontFamily: "sans-serif";
|
|
60
|
-
readonly fontWeight: "700";
|
|
61
|
-
};
|
|
62
28
|
};
|
|
63
29
|
};
|
|
64
30
|
//# sourceMappingURL=DarkTheme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DarkTheme.d.ts","sourceRoot":"","sources":["../../../../src/theming/DarkTheme.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"DarkTheme.d.ts","sourceRoot":"","sources":["../../../../src/theming/DarkTheme.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWI,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const LightTheme: {
|
|
2
|
+
readonly dark: false;
|
|
3
|
+
readonly colors: {
|
|
4
|
+
readonly primary: "rgb(0, 122, 255)";
|
|
5
|
+
readonly background: "rgb(242, 242, 247)";
|
|
6
|
+
readonly card: "rgb(255, 255, 255)";
|
|
7
|
+
readonly text: "rgb(0, 0, 0)";
|
|
8
|
+
readonly border: "rgb(198, 198, 200)";
|
|
9
|
+
readonly notification: "rgb(255, 59, 48)";
|
|
10
|
+
};
|
|
11
|
+
readonly fonts: {
|
|
12
|
+
readonly regular: {
|
|
13
|
+
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
14
|
+
readonly fontWeight: "400";
|
|
15
|
+
};
|
|
16
|
+
readonly medium: {
|
|
17
|
+
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
18
|
+
readonly fontWeight: "500";
|
|
19
|
+
};
|
|
20
|
+
readonly bold: {
|
|
21
|
+
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
22
|
+
readonly fontWeight: "600";
|
|
23
|
+
};
|
|
24
|
+
readonly heavy: {
|
|
25
|
+
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
26
|
+
readonly fontWeight: "700";
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=LightTheme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LightTheme.d.ts","sourceRoot":"","sources":["../../../../src/theming/LightTheme.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWG,CAAC"}
|