@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,6 +1,6 @@
|
|
|
1
1
|
import type { ColorValue } from 'react-native';
|
|
2
|
-
import type { FONT_WEIGHTS } from './constants';
|
|
3
|
-
import type { MaterialSymbolName } from './MaterialSymbolData';
|
|
2
|
+
import type { FONT_WEIGHTS } from './constants.js';
|
|
3
|
+
import type { MaterialSymbolName } from './MaterialSymbolData.js';
|
|
4
4
|
export type MaterialSymbolOptions = {
|
|
5
5
|
/**
|
|
6
6
|
* The name of the Material Symbol to display.
|
|
@@ -28,7 +28,7 @@ export type MaterialSymbolOptions = {
|
|
|
28
28
|
*
|
|
29
29
|
* @default 'outlined'
|
|
30
30
|
*/
|
|
31
|
-
variant?: 'outlined' | 'rounded' | 'sharp';
|
|
31
|
+
variant?: 'outlined' | 'rounded' | 'sharp' | undefined;
|
|
32
32
|
/**
|
|
33
33
|
* The weight of the symbol.
|
|
34
34
|
*
|
|
@@ -53,72 +53,225 @@ export type MaterialSymbolOptions = {
|
|
|
53
53
|
*
|
|
54
54
|
* @default 400
|
|
55
55
|
*/
|
|
56
|
-
weight?: 'thin' | 'ultralight' | 'light' | 'regular' | 'medium' | 'semibold' | 'bold' | 100 | 200 | 300 | 400 | 500 | 600 | 700;
|
|
56
|
+
weight?: 'thin' | 'ultralight' | 'light' | 'regular' | 'medium' | 'semibold' | 'bold' | 100 | 200 | 300 | 400 | 500 | 600 | 700 | undefined;
|
|
57
57
|
/**
|
|
58
58
|
* The size of the symbol.
|
|
59
59
|
*
|
|
60
60
|
* @default 24
|
|
61
61
|
*/
|
|
62
|
-
size?: number;
|
|
62
|
+
size?: number | undefined;
|
|
63
63
|
/**
|
|
64
64
|
* The color of the symbol.
|
|
65
65
|
*
|
|
66
66
|
* @default 'black'
|
|
67
67
|
*/
|
|
68
|
-
color?: ColorValue;
|
|
68
|
+
color?: ColorValue | undefined;
|
|
69
69
|
};
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
export type
|
|
73
|
-
export type
|
|
70
|
+
type SFSymbolScale = 'small' | 'medium' | 'large';
|
|
71
|
+
type SFSymbolRenderingMode = 'monochrome' | 'hierarchical' | 'palette' | 'multicolor';
|
|
72
|
+
export type SFSymbolEffectName = 'bounce' | 'pulse' | 'appear' | 'disappear' | 'variableColor' | 'scale' | 'breathe' | 'wiggle' | 'rotate' | 'drawOn' | 'drawOff';
|
|
73
|
+
export type SFSymbolContentTransitionEffect = 'automatic' | 'replace';
|
|
74
|
+
export type SFSymbolEffectRepeat = 'continuous' | 'nonRepeating' | {
|
|
74
75
|
/**
|
|
75
|
-
*
|
|
76
|
+
* Number of times to repeat the effect.
|
|
76
77
|
*/
|
|
77
|
-
|
|
78
|
+
count?: number | undefined;
|
|
78
79
|
/**
|
|
79
|
-
*
|
|
80
|
+
* Delay in seconds between repeated effect cycles.
|
|
81
|
+
*/
|
|
82
|
+
delay?: number | undefined;
|
|
83
|
+
};
|
|
84
|
+
export type SFSymbolEffectScope = 'byLayer' | 'wholeSymbol' | 'individually';
|
|
85
|
+
export type SFSymbolEffectDirection = 'up' | 'down' | 'left' | 'right' | 'forward' | 'backward' | 'clockwise' | 'counterClockwise';
|
|
86
|
+
export type SFSymbolBreatheVariant = 'plain' | 'pulse';
|
|
87
|
+
export type SFSymbolDrawDirection = 'reversed' | 'nonReversed';
|
|
88
|
+
export type SFSymbolInactiveLayers = 'hide' | 'dim';
|
|
89
|
+
type SFSymbolEffectBaseConfig = {
|
|
90
|
+
/**
|
|
91
|
+
* Speed multiplier for the effect.
|
|
80
92
|
*
|
|
81
|
-
* @default
|
|
93
|
+
* @default 1
|
|
82
94
|
*/
|
|
83
|
-
|
|
95
|
+
speed?: number | undefined;
|
|
84
96
|
/**
|
|
85
|
-
*
|
|
86
|
-
* Ignored if `repeating` is `true`.
|
|
97
|
+
* Repeat behavior for the effect. Use an object for periodic repeats.
|
|
87
98
|
*/
|
|
88
|
-
|
|
99
|
+
repeat?: SFSymbolEffectRepeat | undefined;
|
|
100
|
+
};
|
|
101
|
+
type SFSymbolScopedEffectConfig = SFSymbolEffectBaseConfig & {
|
|
89
102
|
/**
|
|
90
|
-
*
|
|
103
|
+
* Whether to animate the whole symbol at once or by layer.
|
|
91
104
|
*
|
|
92
|
-
* @default
|
|
105
|
+
* @default 'byLayer'
|
|
106
|
+
*/
|
|
107
|
+
scope?: Extract<SFSymbolEffectScope, 'byLayer' | 'wholeSymbol'> | undefined;
|
|
108
|
+
};
|
|
109
|
+
type SFSymbolDirectionalEffectName = 'bounce' | 'appear' | 'disappear';
|
|
110
|
+
type SFSymbolDirectionalEffectConfig = SFSymbolScopedEffectConfig & {
|
|
111
|
+
/**
|
|
112
|
+
* The symbol effect to apply.
|
|
113
|
+
*/
|
|
114
|
+
type: SFSymbolDirectionalEffectName;
|
|
115
|
+
/**
|
|
116
|
+
* The direction the symbol moves during the effect.
|
|
117
|
+
*/
|
|
118
|
+
direction?: 'up' | 'down' | undefined;
|
|
119
|
+
};
|
|
120
|
+
type SFSymbolScaleEffectConfig = SFSymbolScopedEffectConfig & {
|
|
121
|
+
/**
|
|
122
|
+
* The symbol effect to apply.
|
|
123
|
+
*/
|
|
124
|
+
type: 'scale';
|
|
125
|
+
/**
|
|
126
|
+
* Whether the symbol scales up or down.
|
|
127
|
+
*/
|
|
128
|
+
direction?: 'up' | 'down' | undefined;
|
|
129
|
+
};
|
|
130
|
+
type SFSymbolBasicScopedEffectConfig = SFSymbolScopedEffectConfig & {
|
|
131
|
+
/**
|
|
132
|
+
* The symbol effect to apply.
|
|
133
|
+
*/
|
|
134
|
+
type: 'pulse';
|
|
135
|
+
};
|
|
136
|
+
type SFSymbolBreatheEffectConfig = SFSymbolScopedEffectConfig & {
|
|
137
|
+
/**
|
|
138
|
+
* The symbol effect to apply.
|
|
93
139
|
*/
|
|
94
|
-
|
|
140
|
+
type: 'breathe';
|
|
95
141
|
/**
|
|
96
|
-
*
|
|
142
|
+
* The breathe effect variant.
|
|
143
|
+
*/
|
|
144
|
+
variant?: SFSymbolBreatheVariant | undefined;
|
|
145
|
+
};
|
|
146
|
+
type SFSymbolWiggleEffectConfig = SFSymbolScopedEffectConfig & {
|
|
147
|
+
/**
|
|
148
|
+
* The symbol effect to apply.
|
|
149
|
+
*/
|
|
150
|
+
type: 'wiggle';
|
|
151
|
+
/**
|
|
152
|
+
* The direction the symbol wiggles toward.
|
|
153
|
+
*/
|
|
154
|
+
direction?: SFSymbolEffectDirection | undefined;
|
|
155
|
+
/**
|
|
156
|
+
* A custom wiggle angle in degrees. Overrides `direction` when set.
|
|
157
|
+
*/
|
|
158
|
+
angle?: number | undefined;
|
|
159
|
+
};
|
|
160
|
+
type SFSymbolRotateEffectConfig = SFSymbolScopedEffectConfig & {
|
|
161
|
+
/**
|
|
162
|
+
* The symbol effect to apply.
|
|
163
|
+
*/
|
|
164
|
+
type: 'rotate';
|
|
165
|
+
/**
|
|
166
|
+
* Which way the symbol rotates.
|
|
167
|
+
*/
|
|
168
|
+
direction?: 'clockwise' | 'counterClockwise' | undefined;
|
|
169
|
+
};
|
|
170
|
+
type SFSymbolDrawEffectConfig = SFSymbolEffectBaseConfig & {
|
|
171
|
+
/**
|
|
172
|
+
* The symbol effect to apply.
|
|
173
|
+
*/
|
|
174
|
+
type: 'drawOn';
|
|
175
|
+
/**
|
|
176
|
+
* Whether to animate the whole symbol at once, by layer, or individually.
|
|
97
177
|
*
|
|
98
|
-
* @default
|
|
178
|
+
* @default 'byLayer'
|
|
99
179
|
*/
|
|
100
|
-
|
|
180
|
+
scope?: SFSymbolEffectScope | undefined;
|
|
181
|
+
};
|
|
182
|
+
type SFSymbolDrawOffEffectConfig = SFSymbolEffectBaseConfig & {
|
|
101
183
|
/**
|
|
102
|
-
*
|
|
103
|
-
|
|
184
|
+
* The symbol effect to apply.
|
|
185
|
+
*/
|
|
186
|
+
type: 'drawOff';
|
|
187
|
+
/**
|
|
188
|
+
* Whether to animate the whole symbol at once, by layer, or individually.
|
|
189
|
+
*
|
|
190
|
+
* @default 'byLayer'
|
|
104
191
|
*/
|
|
105
|
-
|
|
192
|
+
scope?: SFSymbolEffectScope | undefined;
|
|
193
|
+
/**
|
|
194
|
+
* Whether the draw-off animation follows the symbol's authored draw
|
|
195
|
+
* order or plays it in reverse.
|
|
196
|
+
* - `nonReversed`: follows the symbol's draw order.
|
|
197
|
+
* - `reversed`: plays it in reverse.
|
|
198
|
+
*/
|
|
199
|
+
drawDirection?: SFSymbolDrawDirection | undefined;
|
|
200
|
+
};
|
|
201
|
+
type SFSymbolVariableColorEffectConfig = SFSymbolEffectBaseConfig & {
|
|
202
|
+
/**
|
|
203
|
+
* The symbol effect to apply.
|
|
204
|
+
*/
|
|
205
|
+
type: 'variableColor';
|
|
106
206
|
/**
|
|
107
207
|
* Whether the variable color effect reverses with each cycle.
|
|
108
|
-
* Only applicable to `variableColor`.
|
|
109
208
|
*
|
|
110
209
|
* @default false
|
|
111
210
|
*/
|
|
112
|
-
reversing?: boolean;
|
|
211
|
+
reversing?: boolean | undefined;
|
|
113
212
|
/**
|
|
114
|
-
* Whether
|
|
115
|
-
*
|
|
213
|
+
* Whether layers light up cumulatively and stay active through the
|
|
214
|
+
* cycle, rather than one at a time.
|
|
116
215
|
*
|
|
117
216
|
* @default false
|
|
118
217
|
*/
|
|
119
|
-
cumulative?: boolean;
|
|
218
|
+
cumulative?: boolean | undefined;
|
|
219
|
+
/**
|
|
220
|
+
* How layers that aren't currently active are displayed.
|
|
221
|
+
* - `hide`: inactive layers are invisible.
|
|
222
|
+
* - `dim`: inactive layers stay visible but faded.
|
|
223
|
+
*
|
|
224
|
+
* Defaults to the symbol's standard appearance when unset.
|
|
225
|
+
*/
|
|
226
|
+
inactiveLayers?: SFSymbolInactiveLayers | undefined;
|
|
227
|
+
};
|
|
228
|
+
type SFSymbolEffectConfig = SFSymbolDirectionalEffectConfig | SFSymbolScaleEffectConfig | SFSymbolBasicScopedEffectConfig | SFSymbolBreatheEffectConfig | SFSymbolWiggleEffectConfig | SFSymbolRotateEffectConfig | SFSymbolDrawEffectConfig | SFSymbolDrawOffEffectConfig | SFSymbolVariableColorEffectConfig;
|
|
229
|
+
export type SFSymbolContentTransitionScope = 'byLayer' | 'wholeSymbol';
|
|
230
|
+
export type SFSymbolReplaceTransitionVariant = 'downUp' | 'upUp' | 'offUp';
|
|
231
|
+
type SFSymbolContentTransitionBaseConfig = {
|
|
232
|
+
/**
|
|
233
|
+
* Speed multiplier for the transition.
|
|
234
|
+
*
|
|
235
|
+
* @default 1
|
|
236
|
+
*/
|
|
237
|
+
speed?: number | undefined;
|
|
120
238
|
};
|
|
121
|
-
|
|
239
|
+
type SFSymbolContentTransitionConfig = (SFSymbolContentTransitionBaseConfig & {
|
|
240
|
+
/**
|
|
241
|
+
* The transition effect to apply when the symbol `name` or `variableValue` changes.
|
|
242
|
+
*/
|
|
243
|
+
type: 'automatic';
|
|
244
|
+
}) | (SFSymbolContentTransitionBaseConfig & {
|
|
245
|
+
/**
|
|
246
|
+
* The transition effect to apply when the symbol `name` or `variableValue` changes.
|
|
247
|
+
*/
|
|
248
|
+
type: 'replace';
|
|
249
|
+
/**
|
|
250
|
+
* The direction the outgoing and incoming symbols move.
|
|
251
|
+
* - `downUp`: the old symbol slides down, the new one comes up.
|
|
252
|
+
* - `upUp`: both the old and new symbols move up.
|
|
253
|
+
* - `offUp`: the old symbol fades in place, the new one comes up.
|
|
254
|
+
*/
|
|
255
|
+
variant?: SFSymbolReplaceTransitionVariant | undefined;
|
|
256
|
+
/**
|
|
257
|
+
* Whether to transition the whole symbol at once or by layer.
|
|
258
|
+
*
|
|
259
|
+
* @default 'byLayer'
|
|
260
|
+
*/
|
|
261
|
+
scope?: SFSymbolContentTransitionScope | undefined;
|
|
262
|
+
/**
|
|
263
|
+
* Whether to prefer Magic Replace when possible.
|
|
264
|
+
*
|
|
265
|
+
* Falls back to regular Replace on iOS 17.
|
|
266
|
+
*
|
|
267
|
+
* @default false
|
|
268
|
+
*/
|
|
269
|
+
magic?: boolean | undefined;
|
|
270
|
+
});
|
|
271
|
+
type SFSymbolEffect = SFSymbolEffectName | SFSymbolEffectConfig;
|
|
272
|
+
type SFSymbolContentTransition = SFSymbolContentTransitionEffect | SFSymbolContentTransitionConfig;
|
|
273
|
+
type SFSymbolVariableValueMode = 'automatic' | 'color' | 'draw';
|
|
274
|
+
type SFSymbolColorRenderingMode = 'automatic' | 'flat' | 'gradient';
|
|
122
275
|
export type SFSymbolOptions = {
|
|
123
276
|
/**
|
|
124
277
|
* The name of the SF Symbol to display.
|
|
@@ -126,9 +279,10 @@ export type SFSymbolOptions = {
|
|
|
126
279
|
name: import('sf-symbols-typescript').SFSymbol;
|
|
127
280
|
/**
|
|
128
281
|
* The size of the symbol.
|
|
282
|
+
*
|
|
129
283
|
* @default 24
|
|
130
284
|
*/
|
|
131
|
-
size?: number;
|
|
285
|
+
size?: number | undefined;
|
|
132
286
|
/**
|
|
133
287
|
* The color of the symbol.
|
|
134
288
|
* Used as the tint color in monochrome mode, and as the fallback for
|
|
@@ -136,19 +290,41 @@ export type SFSymbolOptions = {
|
|
|
136
290
|
*
|
|
137
291
|
* @default 'black'
|
|
138
292
|
*/
|
|
139
|
-
color?: ColorValue;
|
|
293
|
+
color?: ColorValue | undefined;
|
|
140
294
|
/**
|
|
141
295
|
* The weight of the symbol.
|
|
142
296
|
*
|
|
143
297
|
* @default 'regular'
|
|
144
298
|
*/
|
|
145
|
-
weight?: keyof typeof FONT_WEIGHTS | (typeof FONT_WEIGHTS)[keyof typeof FONT_WEIGHTS];
|
|
299
|
+
weight?: keyof typeof FONT_WEIGHTS | (typeof FONT_WEIGHTS)[keyof typeof FONT_WEIGHTS] | undefined;
|
|
146
300
|
/**
|
|
147
|
-
* The scale
|
|
301
|
+
* The symbol's scale variant (`small`, `medium`, or `large`).
|
|
148
302
|
*
|
|
149
303
|
* @default 'medium'
|
|
150
304
|
*/
|
|
151
|
-
scale?: SFSymbolScale;
|
|
305
|
+
scale?: SFSymbolScale | undefined;
|
|
306
|
+
/**
|
|
307
|
+
* The value used to customize variable symbols.
|
|
308
|
+
* Must be between `0` and `1`.
|
|
309
|
+
*
|
|
310
|
+
* Variable symbols (e.g. `wifi`, `speaker.wave.3`) have layers that
|
|
311
|
+
* activate progressively to represent a magnitude. This controls how
|
|
312
|
+
* many are shown: `0` renders the fewest, `1` the full symbol.
|
|
313
|
+
*
|
|
314
|
+
* Has no effect on symbols that aren't variable.
|
|
315
|
+
*/
|
|
316
|
+
variableValue?: number | undefined;
|
|
317
|
+
/**
|
|
318
|
+
* How the partial state from `variableValue` is rendered.
|
|
319
|
+
* - `automatic`: the system chooses based on the symbol.
|
|
320
|
+
* - `color`: fades inactive layers using opacity.
|
|
321
|
+
* - `draw`: partially draws layers instead of fading them.
|
|
322
|
+
*
|
|
323
|
+
* Requires iOS 26+. Ignored on earlier versions.
|
|
324
|
+
*
|
|
325
|
+
* @default 'automatic'
|
|
326
|
+
*/
|
|
327
|
+
variableValueMode?: SFSymbolVariableValueMode | undefined;
|
|
152
328
|
/**
|
|
153
329
|
* The rendering mode of the symbol.
|
|
154
330
|
* - `monochrome`: Single color tint (default).
|
|
@@ -158,7 +334,7 @@ export type SFSymbolOptions = {
|
|
|
158
334
|
*
|
|
159
335
|
* @default 'monochrome'
|
|
160
336
|
*/
|
|
161
|
-
|
|
337
|
+
renderingMode?: SFSymbolRenderingMode | undefined;
|
|
162
338
|
/**
|
|
163
339
|
* The colors for non-monochrome rendering modes.
|
|
164
340
|
* - `hierarchical`: uses `primary` as the base color.
|
|
@@ -168,14 +344,34 @@ export type SFSymbolOptions = {
|
|
|
168
344
|
* Falls back to `color` for `primary` if not specified.
|
|
169
345
|
*/
|
|
170
346
|
colors?: {
|
|
171
|
-
primary?: ColorValue;
|
|
172
|
-
secondary?: ColorValue;
|
|
173
|
-
tertiary?: ColorValue;
|
|
174
|
-
};
|
|
347
|
+
primary?: ColorValue | undefined;
|
|
348
|
+
secondary?: ColorValue | undefined;
|
|
349
|
+
tertiary?: ColorValue | undefined;
|
|
350
|
+
} | undefined;
|
|
175
351
|
/**
|
|
176
|
-
*
|
|
352
|
+
* How color is applied across the symbol's layers.
|
|
353
|
+
* - `automatic`: the system chooses based on the symbol.
|
|
354
|
+
* - `flat`: a solid color per layer.
|
|
355
|
+
* - `gradient`: a gradient derived from each layer's color.
|
|
356
|
+
*
|
|
357
|
+
* Requires iOS 26+. Ignored on earlier versions.
|
|
358
|
+
*
|
|
359
|
+
* @default 'automatic'
|
|
360
|
+
*/
|
|
361
|
+
colorRenderingMode?: SFSymbolColorRenderingMode | undefined;
|
|
362
|
+
/**
|
|
363
|
+
* The effect to apply to the symbol.
|
|
364
|
+
*
|
|
365
|
+
* Requires iOS 17+. Effects introduced in later iOS versions are ignored
|
|
366
|
+
* on earlier versions.
|
|
367
|
+
*/
|
|
368
|
+
effect?: SFSymbolEffect | undefined;
|
|
369
|
+
/**
|
|
370
|
+
* The content transition to apply when the symbol `name` or `variableValue` changes.
|
|
371
|
+
*
|
|
177
372
|
* Requires iOS 17+. Ignored on earlier versions.
|
|
178
373
|
*/
|
|
179
|
-
|
|
374
|
+
contentTransition?: SFSymbolContentTransition | undefined;
|
|
180
375
|
};
|
|
376
|
+
export {};
|
|
181
377
|
//# 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,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;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IACvD;;;;;;;;;;;;;;;;;;;;;;;OAuBG;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;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B;;;;OAIG;IACH,KAAK,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,KAAK,aAAa,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAElD,KAAK,qBAAqB,GACtB,YAAY,GACZ,cAAc,GACd,SAAS,GACT,YAAY,CAAC;AAEjB,MAAM,MA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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"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const MaterialLightFallbackTheme: {
|
|
2
2
|
readonly dark: false;
|
|
3
3
|
readonly colors: {
|
|
4
|
-
readonly primary: "
|
|
5
|
-
readonly background: "
|
|
6
|
-
readonly card: "
|
|
7
|
-
readonly text: "
|
|
8
|
-
readonly border: "
|
|
9
|
-
readonly notification: "
|
|
4
|
+
readonly primary: "#6750a4";
|
|
5
|
+
readonly background: "#f3edf7";
|
|
6
|
+
readonly card: "#fef7ff";
|
|
7
|
+
readonly text: "#1d1b20";
|
|
8
|
+
readonly border: "#cac4d0";
|
|
9
|
+
readonly notification: "#ba1a1a";
|
|
10
10
|
};
|
|
11
11
|
readonly fonts: {
|
|
12
12
|
readonly regular: {
|
|
@@ -25,40 +25,35 @@ export declare const DefaultTheme: {
|
|
|
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
|
-
}
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export declare const MaterialDarkFallbackTheme: {
|
|
31
|
+
readonly dark: true;
|
|
32
|
+
readonly colors: {
|
|
33
|
+
readonly primary: "#d0bcff";
|
|
34
|
+
readonly background: "#211f26";
|
|
35
|
+
readonly card: "#141218";
|
|
36
|
+
readonly text: "#e6e0e9";
|
|
37
|
+
readonly border: "#49454f";
|
|
38
|
+
readonly notification: "#ffb4ab";
|
|
39
|
+
};
|
|
40
|
+
readonly fonts: {
|
|
29
41
|
readonly regular: {
|
|
30
|
-
readonly fontFamily: "
|
|
42
|
+
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
31
43
|
readonly fontWeight: "400";
|
|
32
44
|
};
|
|
33
45
|
readonly medium: {
|
|
34
|
-
readonly fontFamily: "
|
|
46
|
+
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
35
47
|
readonly fontWeight: "500";
|
|
36
48
|
};
|
|
37
49
|
readonly bold: {
|
|
38
|
-
readonly fontFamily: "
|
|
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";
|
|
50
|
+
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
56
51
|
readonly fontWeight: "600";
|
|
57
52
|
};
|
|
58
53
|
readonly heavy: {
|
|
59
|
-
readonly fontFamily: "sans-serif";
|
|
54
|
+
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
60
55
|
readonly fontWeight: "700";
|
|
61
56
|
};
|
|
62
57
|
};
|
|
63
58
|
};
|
|
64
|
-
//# sourceMappingURL=
|
|
59
|
+
//# sourceMappingURL=MaterialFallbackTheme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MaterialFallbackTheme.d.ts","sourceRoot":"","sources":["../../../../src/theming/MaterialFallbackTheme.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWb,CAAC;AAE3B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWZ,CAAC"}
|