@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.
Files changed (484) hide show
  1. package/android/build.gradle +101 -28
  2. package/android/src/main/java/org/reactnavigation/MaterialSymbolModule.kt +42 -13
  3. package/android/src/main/java/org/reactnavigation/MaterialSymbolTypeface.kt +126 -24
  4. package/android/src/main/java/org/reactnavigation/MaterialSymbolView.kt +42 -23
  5. package/android/src/main/java/org/reactnavigation/MaterialSymbolViewManager.kt +25 -7
  6. package/android/src/main/java/org/reactnavigation/ReactNavigationPackage.kt +3 -1
  7. package/ios/ReactNavigationCornerInsetView.h +14 -0
  8. package/ios/ReactNavigationCornerInsetView.mm +182 -0
  9. package/ios/ReactNavigationCornerInsetView.swift +193 -0
  10. package/ios/ReactNavigationCornerInsetViewComponentDescriptor.h +23 -0
  11. package/ios/ReactNavigationCornerInsetViewShadowNode.h +27 -0
  12. package/ios/ReactNavigationCornerInsetViewShadowNode.mm +42 -0
  13. package/ios/ReactNavigationCornerInsetViewState.h +19 -0
  14. package/ios/ReactNavigationSFSymbolView.mm +30 -10
  15. package/ios/ReactNavigationSFSymbolView.swift +361 -65
  16. package/lib/module/Link.js +80 -24
  17. package/lib/module/Link.js.map +1 -1
  18. package/lib/module/Link.native.js +72 -0
  19. package/lib/module/Link.native.js.map +1 -0
  20. package/lib/module/NavigationContainer.js +77 -33
  21. package/lib/module/NavigationContainer.js.map +1 -1
  22. package/lib/module/__stubs__/createStackNavigator.js +11 -8
  23. package/lib/module/__stubs__/createStackNavigator.js.map +1 -1
  24. package/lib/module/checkSerializable.js +180 -0
  25. package/lib/module/checkSerializable.js.map +1 -0
  26. package/lib/module/constants.js +5 -0
  27. package/lib/module/constants.js.map +1 -0
  28. package/lib/module/constants.native.js +6 -0
  29. package/lib/module/constants.native.js.map +1 -0
  30. package/lib/module/createMemoryHistory.js +27 -10
  31. package/lib/module/createMemoryHistory.js.map +1 -1
  32. package/lib/module/createStandardNavigationFactories.js +97 -0
  33. package/lib/module/createStandardNavigationFactories.js.map +1 -0
  34. package/lib/module/createStaticNavigation.js +7 -5
  35. package/lib/module/createStaticNavigation.js.map +1 -1
  36. package/lib/module/extractPathFromURL.js +2 -2
  37. package/lib/module/extractPathFromURL.js.map +1 -1
  38. package/lib/module/getStateBreadcrumb.js +37 -0
  39. package/lib/module/getStateBreadcrumb.js.map +1 -0
  40. package/lib/module/getStateFromHref.js +2 -2
  41. package/lib/module/getStateFromHref.js.map +1 -1
  42. package/lib/module/index.js +5 -3
  43. package/lib/module/index.js.map +1 -1
  44. package/lib/module/native/CornerInset.ios.js +69 -0
  45. package/lib/module/native/CornerInset.ios.js.map +1 -0
  46. package/lib/module/native/CornerInset.js +12 -0
  47. package/lib/module/native/CornerInset.js.map +1 -0
  48. package/lib/module/native/MaterialSymbol.android.js +19 -20
  49. package/lib/module/native/MaterialSymbol.android.js.map +1 -1
  50. package/lib/module/native/MaterialSymbol.js +3 -0
  51. package/lib/module/native/MaterialSymbol.js.map +1 -1
  52. package/lib/module/native/MaterialSymbolViewNativeComponent.ts +8 -4
  53. package/lib/module/native/NativeMaterialSymbolModule.js.map +1 -1
  54. package/lib/module/native/ReactNavigationCornerInsetViewNativeComponent.ts +31 -0
  55. package/lib/module/native/SFSymbol.ios.js +37 -18
  56. package/lib/module/native/SFSymbol.ios.js.map +1 -1
  57. package/lib/module/native/SFSymbol.js.map +1 -1
  58. package/lib/module/native/SFSymbolViewNativeComponent.ts +31 -15
  59. package/lib/module/server/ServerContext.js.map +1 -0
  60. package/lib/module/server/index.js +21 -0
  61. package/lib/module/server/index.js.map +1 -0
  62. package/lib/module/theming/DarkTheme.js +5 -5
  63. package/lib/module/theming/DarkTheme.js.map +1 -1
  64. package/lib/module/theming/LightTheme.js +16 -0
  65. package/lib/module/theming/LightTheme.js.map +1 -0
  66. package/lib/module/theming/MaterialFallbackTheme.js +28 -0
  67. package/lib/module/theming/MaterialFallbackTheme.js.map +1 -0
  68. package/lib/module/theming/MaterialTheme.android.js +33 -0
  69. package/lib/module/theming/MaterialTheme.android.js.map +1 -0
  70. package/lib/module/theming/MaterialTheme.js +4 -0
  71. package/lib/module/theming/MaterialTheme.js.map +1 -0
  72. package/lib/module/theming/fonts.js +15 -54
  73. package/lib/module/theming/fonts.js.map +1 -1
  74. package/lib/module/theming/fonts.native.js +42 -0
  75. package/lib/module/theming/fonts.native.js.map +1 -0
  76. package/lib/module/useBackButton.js.map +1 -1
  77. package/lib/module/useBackButton.native.js +4 -1
  78. package/lib/module/useBackButton.native.js.map +1 -1
  79. package/lib/module/useDeepStableValue.js +12 -0
  80. package/lib/module/useDeepStableValue.js.map +1 -0
  81. package/lib/module/useDocumentTitle.js.map +1 -1
  82. package/lib/module/useLinkBuilder.js +17 -17
  83. package/lib/module/useLinkBuilder.js.map +1 -1
  84. package/lib/module/useLinkProps.js +143 -68
  85. package/lib/module/useLinkProps.js.map +1 -1
  86. package/lib/module/useLinkTo.js +5 -5
  87. package/lib/module/useLinkTo.js.map +1 -1
  88. package/lib/module/useLinking.js +268 -58
  89. package/lib/module/useLinking.js.map +1 -1
  90. package/lib/module/useLinking.native.js +31 -12
  91. package/lib/module/useLinking.native.js.map +1 -1
  92. package/lib/module/useLocale.js +1 -1
  93. package/lib/module/useLocale.js.map +1 -1
  94. package/lib/module/useMemoArray.js +25 -0
  95. package/lib/module/useMemoArray.js.map +1 -0
  96. package/lib/module/useRoutePath.js +1 -1
  97. package/lib/module/useRoutePath.js.map +1 -1
  98. package/lib/module/useScrollToTop.js +6 -9
  99. package/lib/module/useScrollToTop.js.map +1 -1
  100. package/lib/module/useThenable.js +8 -6
  101. package/lib/module/useThenable.js.map +1 -1
  102. package/lib/typescript/src/Link.d.ts +17 -9
  103. package/lib/typescript/src/Link.d.ts.map +1 -1
  104. package/lib/typescript/src/Link.native.d.ts +4 -0
  105. package/lib/typescript/src/Link.native.d.ts.map +1 -0
  106. package/lib/typescript/src/LinkingContext.d.ts +2 -2
  107. package/lib/typescript/src/LinkingContext.d.ts.map +1 -1
  108. package/lib/typescript/src/LocaleDirContext.d.ts +1 -1
  109. package/lib/typescript/src/LocaleDirContext.d.ts.map +1 -1
  110. package/lib/typescript/src/NavigationContainer.d.ts +26 -14
  111. package/lib/typescript/src/NavigationContainer.d.ts.map +1 -1
  112. package/lib/typescript/src/__stubs__/createStackNavigator.d.ts +6 -9
  113. package/lib/typescript/src/__stubs__/createStackNavigator.d.ts.map +1 -1
  114. package/lib/typescript/src/checkSerializable.d.ts +12 -0
  115. package/lib/typescript/src/checkSerializable.d.ts.map +1 -0
  116. package/lib/typescript/src/constants.d.ts +4 -0
  117. package/lib/typescript/src/constants.d.ts.map +1 -0
  118. package/lib/typescript/src/constants.native.d.ts +4 -0
  119. package/lib/typescript/src/constants.native.d.ts.map +1 -0
  120. package/lib/typescript/src/createMemoryHistory.d.ts +1 -1
  121. package/lib/typescript/src/createMemoryHistory.d.ts.map +1 -1
  122. package/lib/typescript/src/createStandardNavigationFactories.d.ts +33 -0
  123. package/lib/typescript/src/createStandardNavigationFactories.d.ts.map +1 -0
  124. package/lib/typescript/src/createStaticNavigation.d.ts +9 -9
  125. package/lib/typescript/src/createStaticNavigation.d.ts.map +1 -1
  126. package/lib/typescript/src/extractPathFromURL.d.ts +1 -1
  127. package/lib/typescript/src/extractPathFromURL.d.ts.map +1 -1
  128. package/lib/typescript/src/getStateBreadcrumb.d.ts +3 -0
  129. package/lib/typescript/src/getStateBreadcrumb.d.ts.map +1 -0
  130. package/lib/typescript/src/getStateFromHref.d.ts +3 -3
  131. package/lib/typescript/src/getStateFromHref.d.ts.map +1 -1
  132. package/lib/typescript/src/index.d.ts +16 -14
  133. package/lib/typescript/src/index.d.ts.map +1 -1
  134. package/lib/typescript/src/native/CornerInset.d.ts +32 -0
  135. package/lib/typescript/src/native/CornerInset.d.ts.map +1 -0
  136. package/lib/typescript/src/native/CornerInset.ios.d.ts +8 -0
  137. package/lib/typescript/src/native/CornerInset.ios.d.ts.map +1 -0
  138. package/lib/typescript/src/native/MaterialSymbol.android.d.ts +11 -5
  139. package/lib/typescript/src/native/MaterialSymbol.android.d.ts.map +1 -1
  140. package/lib/typescript/src/native/MaterialSymbol.d.ts +10 -4
  141. package/lib/typescript/src/native/MaterialSymbol.d.ts.map +1 -1
  142. package/lib/typescript/src/native/MaterialSymbolData.d.ts +1 -1
  143. package/lib/typescript/src/native/MaterialSymbolData.d.ts.map +1 -1
  144. package/lib/typescript/src/native/MaterialSymbolViewNativeComponent.d.ts +4 -3
  145. package/lib/typescript/src/native/MaterialSymbolViewNativeComponent.d.ts.map +1 -1
  146. package/lib/typescript/src/native/NativeMaterialSymbolModule.d.ts +2 -1
  147. package/lib/typescript/src/native/NativeMaterialSymbolModule.d.ts.map +1 -1
  148. package/lib/typescript/src/native/ReactNavigationCornerInsetViewNativeComponent.d.ts +14 -0
  149. package/lib/typescript/src/native/ReactNavigationCornerInsetViewNativeComponent.d.ts.map +1 -0
  150. package/lib/typescript/src/native/SFSymbol.d.ts +8 -3
  151. package/lib/typescript/src/native/SFSymbol.d.ts.map +1 -1
  152. package/lib/typescript/src/native/SFSymbol.ios.d.ts +9 -4
  153. package/lib/typescript/src/native/SFSymbol.ios.d.ts.map +1 -1
  154. package/lib/typescript/src/native/SFSymbolViewNativeComponent.d.ts +27 -14
  155. package/lib/typescript/src/native/SFSymbolViewNativeComponent.d.ts.map +1 -1
  156. package/lib/typescript/src/native/types.d.ts +289 -52
  157. package/lib/typescript/src/native/types.d.ts.map +1 -1
  158. package/lib/typescript/src/{ServerContext.d.ts → server/ServerContext.d.ts} +1 -4
  159. package/lib/typescript/src/server/ServerContext.d.ts.map +1 -0
  160. package/lib/typescript/src/server/index.d.ts +10 -0
  161. package/lib/typescript/src/server/index.d.ts.map +1 -0
  162. package/lib/typescript/src/theming/DarkTheme.d.ts +4 -38
  163. package/lib/typescript/src/theming/DarkTheme.d.ts.map +1 -1
  164. package/lib/typescript/src/theming/LightTheme.d.ts +30 -0
  165. package/lib/typescript/src/theming/LightTheme.d.ts.map +1 -0
  166. package/lib/typescript/src/theming/{DefaultTheme.d.ts → MaterialFallbackTheme.d.ts} +25 -30
  167. package/lib/typescript/src/theming/MaterialFallbackTheme.d.ts.map +1 -0
  168. package/lib/typescript/src/theming/MaterialTheme.android.d.ts +115 -0
  169. package/lib/typescript/src/theming/MaterialTheme.android.d.ts.map +1 -0
  170. package/lib/typescript/src/theming/MaterialTheme.d.ts +2 -0
  171. package/lib/typescript/src/theming/MaterialTheme.d.ts.map +1 -0
  172. package/lib/typescript/src/theming/fonts.d.ts +0 -34
  173. package/lib/typescript/src/theming/fonts.d.ts.map +1 -1
  174. package/lib/typescript/src/theming/fonts.native.d.ts +36 -0
  175. package/lib/typescript/src/theming/fonts.native.d.ts.map +1 -0
  176. package/lib/typescript/src/types.d.ts +41 -21
  177. package/lib/typescript/src/types.d.ts.map +1 -1
  178. package/lib/typescript/src/useBackButton.d.ts +1 -1
  179. package/lib/typescript/src/useBackButton.d.ts.map +1 -1
  180. package/lib/typescript/src/useBackButton.native.d.ts.map +1 -1
  181. package/lib/typescript/src/useDeepStableValue.d.ts +2 -0
  182. package/lib/typescript/src/useDeepStableValue.d.ts.map +1 -0
  183. package/lib/typescript/src/useDocumentTitle.d.ts +2 -2
  184. package/lib/typescript/src/useDocumentTitle.d.ts.map +1 -1
  185. package/lib/typescript/src/useLinkBuilder.d.ts +62 -70
  186. package/lib/typescript/src/useLinkBuilder.d.ts.map +1 -1
  187. package/lib/typescript/src/useLinkProps.d.ts +36 -12
  188. package/lib/typescript/src/useLinkProps.d.ts.map +1 -1
  189. package/lib/typescript/src/useLinkTo.d.ts.map +1 -1
  190. package/lib/typescript/src/useLinking.d.ts +7 -49
  191. package/lib/typescript/src/useLinking.d.ts.map +1 -1
  192. package/lib/typescript/src/useLinking.native.d.ts +9 -83
  193. package/lib/typescript/src/useLinking.native.d.ts.map +1 -1
  194. package/lib/typescript/src/useLocale.d.ts +1 -1
  195. package/lib/typescript/src/useMemoArray.d.ts +2 -0
  196. package/lib/typescript/src/useMemoArray.d.ts.map +1 -0
  197. package/lib/typescript/src/useScrollToTop.d.ts +1 -4
  198. package/lib/typescript/src/useScrollToTop.d.ts.map +1 -1
  199. package/lib/typescript/src/useThenable.d.ts +1 -1
  200. package/lib/typescript/src/useThenable.d.ts.map +1 -1
  201. package/package.json +48 -23
  202. package/src/Link.native.tsx +69 -0
  203. package/src/Link.tsx +126 -37
  204. package/src/LinkingContext.tsx +1 -1
  205. package/src/NavigationContainer.tsx +141 -70
  206. package/src/__stubs__/createStackNavigator.tsx +20 -18
  207. package/src/checkSerializable.tsx +246 -0
  208. package/src/constants.native.tsx +10 -0
  209. package/src/constants.tsx +5 -0
  210. package/src/createMemoryHistory.tsx +32 -10
  211. package/src/createStandardNavigationFactories.tsx +217 -0
  212. package/src/createStaticNavigation.tsx +32 -31
  213. package/src/extractPathFromURL.tsx +5 -3
  214. package/src/getStateBreadcrumb.tsx +44 -0
  215. package/src/getStateFromHref.tsx +8 -3
  216. package/src/index.tsx +11 -2
  217. package/src/native/CornerInset.ios.tsx +87 -0
  218. package/src/native/CornerInset.tsx +44 -0
  219. package/src/native/MaterialSymbol.android.tsx +31 -26
  220. package/src/native/MaterialSymbol.tsx +16 -4
  221. package/src/native/MaterialSymbolData.tsx +200 -373
  222. package/src/native/MaterialSymbolViewNativeComponent.ts +8 -4
  223. package/src/native/NativeMaterialSymbolModule.ts +4 -1
  224. package/src/native/ReactNavigationCornerInsetViewNativeComponent.ts +31 -0
  225. package/src/native/SFSymbol.ios.tsx +80 -18
  226. package/src/native/SFSymbol.tsx +7 -2
  227. package/src/native/SFSymbolViewNativeComponent.ts +31 -15
  228. package/src/native/types.tsx +348 -54
  229. package/src/{ServerContext.tsx → server/ServerContext.tsx} +1 -4
  230. package/src/server/index.tsx +19 -0
  231. package/src/theming/DarkTheme.tsx +4 -4
  232. package/src/theming/{DefaultTheme.tsx → LightTheme.tsx} +4 -4
  233. package/src/theming/MaterialFallbackTheme.tsx +29 -0
  234. package/src/theming/MaterialTheme.android.tsx +45 -0
  235. package/src/theming/MaterialTheme.tsx +4 -0
  236. package/src/theming/fonts.native.tsx +41 -0
  237. package/src/theming/fonts.tsx +15 -54
  238. package/src/types.tsx +67 -45
  239. package/src/useBackButton.native.tsx +2 -0
  240. package/src/useBackButton.tsx +2 -2
  241. package/src/useDeepStableValue.tsx +12 -0
  242. package/src/useDocumentTitle.tsx +2 -2
  243. package/src/useLinkBuilder.tsx +29 -25
  244. package/src/useLinkProps.tsx +371 -127
  245. package/src/useLinkTo.tsx +9 -8
  246. package/src/useLinking.native.tsx +70 -39
  247. package/src/useLinking.tsx +426 -87
  248. package/src/useLocale.tsx +1 -1
  249. package/src/useMemoArray.tsx +41 -0
  250. package/src/useRoutePath.tsx +1 -1
  251. package/src/useScrollToTop.tsx +21 -13
  252. package/src/useThenable.tsx +9 -7
  253. package/android/build/.transforms/586a73aab4c351d3f13dc604ca6964e8/results.bin +0 -1
  254. package/android/build/.transforms/586a73aab4c351d3f13dc604ca6964e8/transformed/classes/classes_dex/classes.dex +0 -0
  255. package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/results.bin +0 -1
  256. package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/fbreact/specs/NativeMaterialSymbolModuleSpec.dex +0 -0
  257. package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/react/viewmanagers/ReactNavigationMaterialSymbolViewManagerDelegate.dex +0 -0
  258. package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/react/viewmanagers/ReactNavigationMaterialSymbolViewManagerInterface.dex +0 -0
  259. package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/react/viewmanagers/ReactNavigationSFSymbolViewManagerDelegate.dex +0 -0
  260. package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/react/viewmanagers/ReactNavigationSFSymbolViewManagerInterface.dex +0 -0
  261. package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/org/reactnavigation/BuildConfig.dex +0 -0
  262. package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/org/reactnavigation/MaterialSymbolModule$Companion.dex +0 -0
  263. package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/org/reactnavigation/MaterialSymbolModule$WhenMappings.dex +0 -0
  264. package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/org/reactnavigation/MaterialSymbolModule$getImageSource$1.dex +0 -0
  265. package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/org/reactnavigation/MaterialSymbolModule.dex +0 -0
  266. package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/org/reactnavigation/MaterialSymbolTypeface.dex +0 -0
  267. package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/org/reactnavigation/MaterialSymbolTypefaceResult.dex +0 -0
  268. package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/org/reactnavigation/MaterialSymbolView.dex +0 -0
  269. package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/org/reactnavigation/MaterialSymbolViewManager$Companion.dex +0 -0
  270. package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/org/reactnavigation/MaterialSymbolViewManager.dex +0 -0
  271. package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/org/reactnavigation/ReactNavigationPackage.dex +0 -0
  272. package/android/build/.transforms/fb9c4b42fa16b6541a5819cb4bf06272/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  273. package/android/build/generated/source/buildConfig/debug/org/reactnavigation/BuildConfig.java +0 -10
  274. package/android/build/generated/source/codegen/java/com/facebook/fbreact/specs/NativeMaterialSymbolModuleSpec.java +0 -39
  275. package/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/ReactNavigationMaterialSymbolViewManagerDelegate.java +0 -45
  276. package/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/ReactNavigationMaterialSymbolViewManagerInterface.java +0 -22
  277. package/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/ReactNavigationSFSymbolViewManagerDelegate.java +0 -81
  278. package/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/ReactNavigationSFSymbolViewManagerInterface.java +0 -34
  279. package/android/build/generated/source/codegen/jni/CMakeLists.txt +0 -28
  280. package/android/build/generated/source/codegen/jni/ReactNavigationSpec-generated.cpp +0 -32
  281. package/android/build/generated/source/codegen/jni/ReactNavigationSpec.h +0 -31
  282. package/android/build/generated/source/codegen/jni/react/renderer/components/ReactNavigationSpec/ComponentDescriptors.cpp +0 -23
  283. package/android/build/generated/source/codegen/jni/react/renderer/components/ReactNavigationSpec/ComponentDescriptors.h +0 -25
  284. package/android/build/generated/source/codegen/jni/react/renderer/components/ReactNavigationSpec/EventEmitters.cpp +0 -17
  285. package/android/build/generated/source/codegen/jni/react/renderer/components/ReactNavigationSpec/EventEmitters.h +0 -30
  286. package/android/build/generated/source/codegen/jni/react/renderer/components/ReactNavigationSpec/Props.cpp +0 -176
  287. package/android/build/generated/source/codegen/jni/react/renderer/components/ReactNavigationSpec/Props.h +0 -132
  288. package/android/build/generated/source/codegen/jni/react/renderer/components/ReactNavigationSpec/ReactNavigationSpecJSI-generated.cpp +0 -31
  289. package/android/build/generated/source/codegen/jni/react/renderer/components/ReactNavigationSpec/ReactNavigationSpecJSI.h +0 -71
  290. package/android/build/generated/source/codegen/jni/react/renderer/components/ReactNavigationSpec/ShadowNodes.cpp +0 -18
  291. package/android/build/generated/source/codegen/jni/react/renderer/components/ReactNavigationSpec/ShadowNodes.h +0 -43
  292. package/android/build/generated/source/codegen/jni/react/renderer/components/ReactNavigationSpec/States.cpp +0 -16
  293. package/android/build/generated/source/codegen/jni/react/renderer/components/ReactNavigationSpec/States.h +0 -22
  294. package/android/build/generated/source/codegen/schema.json +0 -1
  295. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -7
  296. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
  297. package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
  298. package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
  299. package/android/build/intermediates/assets/debug/mergeDebugAssets/fonts/MaterialSymbols.hash +0 -1
  300. package/android/build/intermediates/assets/debug/mergeDebugAssets/fonts/MaterialSymbolsOutlined_400.ttf +0 -0
  301. package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  302. package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  303. package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
  304. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -1
  305. package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
  306. package/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +0 -2
  307. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
  308. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
  309. package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/react-navigation_native_debug.kotlin_module +0 -0
  310. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/fbreact/specs/NativeMaterialSymbolModuleSpec.class +0 -0
  311. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/ReactNavigationMaterialSymbolViewManagerDelegate.class +0 -0
  312. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/ReactNavigationMaterialSymbolViewManagerInterface.class +0 -0
  313. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/ReactNavigationSFSymbolViewManagerDelegate.class +0 -0
  314. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/ReactNavigationSFSymbolViewManagerInterface.class +0 -0
  315. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/org/reactnavigation/BuildConfig.class +0 -0
  316. package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -2
  317. package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -7
  318. package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -7
  319. package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
  320. package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
  321. package/android/build/intermediates/react-navigation/fonts/MaterialSymbols.hash +0 -1
  322. package/android/build/intermediates/react-navigation/fonts/MaterialSymbolsOutlined_400.ttf +0 -0
  323. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/react-navigation_native_debug.kotlin_module +0 -0
  324. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/fbreact/specs/NativeMaterialSymbolModuleSpec.class +0 -0
  325. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/ReactNavigationMaterialSymbolViewManagerDelegate.class +0 -0
  326. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/ReactNavigationMaterialSymbolViewManagerInterface.class +0 -0
  327. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/ReactNavigationSFSymbolViewManagerDelegate.class +0 -0
  328. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/ReactNavigationSFSymbolViewManagerInterface.class +0 -0
  329. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/org/reactnavigation/BuildConfig.class +0 -0
  330. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/org/reactnavigation/MaterialSymbolModule$Companion.class +0 -0
  331. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/org/reactnavigation/MaterialSymbolModule$WhenMappings.class +0 -0
  332. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/org/reactnavigation/MaterialSymbolModule$getImageSource$1.class +0 -0
  333. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/org/reactnavigation/MaterialSymbolModule.class +0 -0
  334. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/org/reactnavigation/MaterialSymbolTypeface.class +0 -0
  335. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/org/reactnavigation/MaterialSymbolTypefaceResult.class +0 -0
  336. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/org/reactnavigation/MaterialSymbolView.class +0 -0
  337. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/org/reactnavigation/MaterialSymbolViewManager$Companion.class +0 -0
  338. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/org/reactnavigation/MaterialSymbolViewManager.class +0 -0
  339. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/org/reactnavigation/ReactNavigationPackage.class +0 -0
  340. package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  341. package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +0 -1
  342. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
  343. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  344. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  345. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
  346. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  347. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
  348. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
  349. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  350. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  351. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  352. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  353. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  354. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  355. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
  356. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  357. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  358. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  359. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  360. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  361. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  362. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
  363. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
  364. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
  365. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
  366. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
  367. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
  368. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
  369. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
  370. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  371. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  372. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  373. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  374. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  375. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  376. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
  377. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
  378. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  379. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  380. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  381. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  382. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  383. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
  384. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  385. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  386. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  387. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  388. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  389. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  390. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
  391. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  392. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
  393. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
  394. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
  395. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  396. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
  397. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
  398. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  399. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  400. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  401. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  402. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  403. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  404. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
  405. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +0 -2
  406. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
  407. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  408. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  409. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
  410. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  411. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
  412. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
  413. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
  414. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  415. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  416. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
  417. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  418. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
  419. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
  420. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
  421. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
  422. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  423. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
  424. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
  425. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
  426. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
  427. package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
  428. package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
  429. package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
  430. package/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -16
  431. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/ReactNavigationSFSymbolViewManagerDelegate.class.uniqueId0 +0 -0
  432. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/ReactNavigationSFSymbolViewManagerInterface.class.uniqueId1 +0 -0
  433. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  434. package/android/build/tmp/kotlin-classes/debug/META-INF/react-navigation_native_debug.kotlin_module +0 -0
  435. package/android/build/tmp/kotlin-classes/debug/org/reactnavigation/MaterialSymbolModule$Companion.class +0 -0
  436. package/android/build/tmp/kotlin-classes/debug/org/reactnavigation/MaterialSymbolModule$WhenMappings.class +0 -0
  437. package/android/build/tmp/kotlin-classes/debug/org/reactnavigation/MaterialSymbolModule$getImageSource$1.class +0 -0
  438. package/android/build/tmp/kotlin-classes/debug/org/reactnavigation/MaterialSymbolModule.class +0 -0
  439. package/android/build/tmp/kotlin-classes/debug/org/reactnavigation/MaterialSymbolTypeface.class +0 -0
  440. package/android/build/tmp/kotlin-classes/debug/org/reactnavigation/MaterialSymbolTypefaceResult.class +0 -0
  441. package/android/build/tmp/kotlin-classes/debug/org/reactnavigation/MaterialSymbolView.class +0 -0
  442. package/android/build/tmp/kotlin-classes/debug/org/reactnavigation/MaterialSymbolViewManager$Companion.class +0 -0
  443. package/android/build/tmp/kotlin-classes/debug/org/reactnavigation/MaterialSymbolViewManager.class +0 -0
  444. package/android/build/tmp/kotlin-classes/debug/org/reactnavigation/ReactNavigationPackage.class +0 -0
  445. package/assets/fonts/MaterialSymbolsOutlined.codepoints +0 -4102
  446. package/assets/fonts/MaterialSymbolsOutlined_100.ttf +0 -0
  447. package/assets/fonts/MaterialSymbolsOutlined_200.ttf +0 -0
  448. package/assets/fonts/MaterialSymbolsOutlined_300.ttf +0 -0
  449. package/assets/fonts/MaterialSymbolsOutlined_400.ttf +0 -0
  450. package/assets/fonts/MaterialSymbolsOutlined_500.ttf +0 -0
  451. package/assets/fonts/MaterialSymbolsOutlined_600.ttf +0 -0
  452. package/assets/fonts/MaterialSymbolsOutlined_700.ttf +0 -0
  453. package/assets/fonts/MaterialSymbolsRounded.codepoints +0 -4102
  454. package/assets/fonts/MaterialSymbolsRounded_100.ttf +0 -0
  455. package/assets/fonts/MaterialSymbolsRounded_200.ttf +0 -0
  456. package/assets/fonts/MaterialSymbolsRounded_300.ttf +0 -0
  457. package/assets/fonts/MaterialSymbolsRounded_400.ttf +0 -0
  458. package/assets/fonts/MaterialSymbolsRounded_500.ttf +0 -0
  459. package/assets/fonts/MaterialSymbolsRounded_600.ttf +0 -0
  460. package/assets/fonts/MaterialSymbolsRounded_700.ttf +0 -0
  461. package/assets/fonts/MaterialSymbolsSharp.codepoints +0 -4102
  462. package/assets/fonts/MaterialSymbolsSharp_100.ttf +0 -0
  463. package/assets/fonts/MaterialSymbolsSharp_200.ttf +0 -0
  464. package/assets/fonts/MaterialSymbolsSharp_300.ttf +0 -0
  465. package/assets/fonts/MaterialSymbolsSharp_400.ttf +0 -0
  466. package/assets/fonts/MaterialSymbolsSharp_500.ttf +0 -0
  467. package/assets/fonts/MaterialSymbolsSharp_600.ttf +0 -0
  468. package/assets/fonts/MaterialSymbolsSharp_700.ttf +0 -0
  469. package/lib/module/ServerContainer.js +0 -55
  470. package/lib/module/ServerContainer.js.map +0 -1
  471. package/lib/module/ServerContext.js.map +0 -1
  472. package/lib/module/__stubs__/window.js +0 -75
  473. package/lib/module/__stubs__/window.js.map +0 -1
  474. package/lib/module/theming/DefaultTheme.js +0 -16
  475. package/lib/module/theming/DefaultTheme.js.map +0 -1
  476. package/lib/typescript/src/ServerContainer.d.ts +0 -14
  477. package/lib/typescript/src/ServerContainer.d.ts.map +0 -1
  478. package/lib/typescript/src/ServerContext.d.ts.map +0 -1
  479. package/lib/typescript/src/__stubs__/window.d.ts +0 -18
  480. package/lib/typescript/src/__stubs__/window.d.ts.map +0 -1
  481. package/lib/typescript/src/theming/DefaultTheme.d.ts.map +0 -1
  482. package/src/ServerContainer.tsx +0 -57
  483. package/src/__stubs__/window.tsx +0 -77
  484. /package/lib/module/{ServerContext.js → server/ServerContext.js} +0 -0
@@ -6,23 +6,35 @@ import UIKit
6
6
  public var color: UIColor = .black
7
7
  public var weight: Int = 0
8
8
  public var scale: String = "medium"
9
- public var mode: String = "monochrome"
9
+ public var renderingMode: String = "monochrome"
10
10
  public var colorPrimary: UIColor?
11
11
  public var colorSecondary: UIColor?
12
12
  public var colorTertiary: UIColor?
13
- public var animation: String = ""
14
- public var animationRepeating: Bool = false
15
- public var animationRepeatCount: Int = 0
16
- public var animationSpeed: CGFloat = 1
17
- public var animationWholeSymbol: Bool = false
18
- public var animationDirection: String = ""
19
- public var animationReversing: Bool = false
20
- public var animationCumulative: Bool = false
13
+ public var effect: String = ""
14
+ public var variableValue: CGFloat = -1
15
+ public var variableValueMode: String = "automatic"
16
+ public var colorRenderingMode: String = "automatic"
17
+ public var effectRepeat: String = ""
18
+ public var effectRepeatCount: Int = 0
19
+ public var effectRepeatDelay: CGFloat = 0
20
+ public var effectSpeed: CGFloat = 1
21
+ public var effectScope: String = ""
22
+ public var effectDirection: String = ""
23
+ public var effectVariant: String = ""
24
+ public var effectAngle: CGFloat = -1
25
+ public var effectReversing: Bool = false
26
+ public var effectCumulative: Bool = false
27
+ public var effectInactiveLayers: String = ""
28
+ public var effectDrawDirection: String = ""
29
+ public var contentTransition: String = ""
30
+ public var contentTransitionSpeed: CGFloat = 1
31
+ public var contentTransitionVariant: String = ""
32
+ public var contentTransitionScope: String = ""
33
+ public var contentTransitionMagic: Bool = false
21
34
  }
22
35
 
23
36
  @objc public class ReactNavigationSFSymbolViewImpl: UIView {
24
37
  private var imageView: UIImageView
25
- private var currentAnimation: String = ""
26
38
 
27
39
  override init(frame: CGRect) {
28
40
  imageView = UIImageView()
@@ -47,36 +59,67 @@ import UIKit
47
59
  fatalError("init(coder:) has not been implemented")
48
60
  }
49
61
 
62
+ override public var semanticContentAttribute: UISemanticContentAttribute {
63
+ didSet {
64
+ imageView.semanticContentAttribute = semanticContentAttribute
65
+ }
66
+ }
67
+
50
68
  @objc public func updateProps(_ props: ReactNavigationSFSymbolViewImplProps, oldProps: ReactNavigationSFSymbolViewImplProps) {
51
69
  let needsImageUpdate =
52
70
  props.name != oldProps.name ||
53
71
  props.size != oldProps.size ||
54
72
  props.weight != oldProps.weight ||
55
73
  props.scale != oldProps.scale ||
56
- props.mode != oldProps.mode ||
74
+ props.variableValue != oldProps.variableValue ||
75
+ props.variableValueMode != oldProps.variableValueMode ||
76
+ props.colorRenderingMode != oldProps.colorRenderingMode ||
77
+ props.renderingMode != oldProps.renderingMode ||
57
78
  props.colorPrimary != oldProps.colorPrimary ||
58
79
  props.colorSecondary != oldProps.colorSecondary ||
59
80
  props.colorTertiary != oldProps.colorTertiary
60
81
 
61
82
  if needsImageUpdate {
62
83
  if let name = props.name {
84
+ // Content transitions animate between symbol contents, so only run them
85
+ // when the symbol or its variable value changes and a previous image
86
+ // exists. Configuration changes and the first appearance set the image
87
+ // directly to match native behavior.
88
+ let shouldAnimate =
89
+ imageView.image != nil &&
90
+ (props.name != oldProps.name || props.variableValue != oldProps.variableValue)
91
+
63
92
  let symbolWeight = Self.symbolWeight(from: props.weight)
64
93
  let symbolScale = Self.symbolScale(from: props.scale)
65
94
 
66
95
  var configuration = UIImage.SymbolConfiguration(pointSize: props.size, weight: symbolWeight, scale: symbolScale)
67
96
 
97
+ if #available(iOS 26.0, *) {
98
+ configuration = configuration.applying(
99
+ UIImage.SymbolConfiguration(
100
+ variableValueMode: Self.symbolVariableValueMode(from: props.variableValueMode)
101
+ )
102
+ )
103
+
104
+ configuration = configuration.applying(
105
+ UIImage.SymbolConfiguration(
106
+ colorRenderingMode: Self.symbolColorRenderingMode(from: props.colorRenderingMode)
107
+ )
108
+ )
109
+ }
110
+
68
111
  let primaryColor = props.colorPrimary ?? props.color
69
112
 
70
- switch props.mode {
113
+ switch props.renderingMode {
71
114
  case "hierarchical":
72
115
  configuration = configuration.applying(
73
116
  UIImage.SymbolConfiguration(hierarchicalColor: primaryColor)
74
117
  )
75
118
 
76
- let image = UIImage(systemName: name, withConfiguration: configuration)
119
+ let image = Self.symbolImage(name: name, configuration: configuration, props: props)
77
120
 
78
- imageView.image = image
79
121
  imageView.tintColor = nil
122
+ setImage(image, props: props, animated: shouldAnimate)
80
123
 
81
124
  case "palette":
82
125
  var paletteColors: [UIColor] = []
@@ -95,82 +138,148 @@ import UIKit
95
138
  UIImage.SymbolConfiguration(paletteColors: paletteColors)
96
139
  )
97
140
 
98
- let image = UIImage(systemName: name, withConfiguration: configuration)
141
+ let image = Self.symbolImage(name: name, configuration: configuration, props: props)
99
142
 
100
- imageView.image = image
101
143
  imageView.tintColor = nil
144
+ setImage(image, props: props, animated: shouldAnimate)
102
145
 
103
146
  case "multicolor":
104
147
  configuration = configuration.applying(
105
148
  UIImage.SymbolConfiguration.preferringMulticolor()
106
149
  )
107
150
 
108
- let image = UIImage(systemName: name, withConfiguration: configuration)
151
+ let image = Self.symbolImage(name: name, configuration: configuration, props: props)
109
152
 
110
- imageView.image = image
111
153
  imageView.tintColor = nil
154
+ setImage(image, props: props, animated: shouldAnimate)
112
155
 
113
156
  default:
114
157
  // monochrome
115
- let image = UIImage(systemName: name, withConfiguration: configuration)
158
+ let image = Self.symbolImage(name: name, configuration: configuration, props: props)
116
159
 
117
- imageView.image = image?.withRenderingMode(.alwaysTemplate)
118
160
  imageView.tintColor = primaryColor
161
+ setImage(image?.withRenderingMode(.alwaysTemplate), props: props, animated: shouldAnimate)
119
162
  }
120
163
  }
121
164
  }
122
165
 
123
- if !needsImageUpdate && props.color != oldProps.color && props.mode == "monochrome" {
166
+ if !needsImageUpdate && props.color != oldProps.color && props.renderingMode == "monochrome" {
124
167
  imageView.tintColor = props.colorPrimary ?? props.color
125
168
  }
126
169
 
127
- let animationChanged =
128
- props.animation != oldProps.animation ||
129
- props.animationRepeating != oldProps.animationRepeating ||
130
- props.animationRepeatCount != oldProps.animationRepeatCount ||
131
- props.animationSpeed != oldProps.animationSpeed ||
132
- props.animationWholeSymbol != oldProps.animationWholeSymbol ||
133
- props.animationDirection != oldProps.animationDirection ||
134
- props.animationReversing != oldProps.animationReversing ||
135
- props.animationCumulative != oldProps.animationCumulative
136
-
137
- if animationChanged {
138
- updateAnimation(props)
170
+ let effectChanged =
171
+ props.effect != oldProps.effect ||
172
+ props.effectRepeat != oldProps.effectRepeat ||
173
+ props.effectRepeatCount != oldProps.effectRepeatCount ||
174
+ props.effectRepeatDelay != oldProps.effectRepeatDelay ||
175
+ props.effectSpeed != oldProps.effectSpeed ||
176
+ props.effectScope != oldProps.effectScope ||
177
+ props.effectDirection != oldProps.effectDirection ||
178
+ props.effectVariant != oldProps.effectVariant ||
179
+ props.effectAngle != oldProps.effectAngle ||
180
+ props.effectReversing != oldProps.effectReversing ||
181
+ props.effectCumulative != oldProps.effectCumulative ||
182
+ props.effectInactiveLayers != oldProps.effectInactiveLayers ||
183
+ props.effectDrawDirection != oldProps.effectDrawDirection
184
+
185
+ if effectChanged {
186
+ updateEffect(props)
139
187
  }
140
188
  }
141
189
 
142
- private func updateAnimation(_ props: ReactNavigationSFSymbolViewImplProps) {
143
- guard #available(iOS 17.0, *) else { return }
190
+ private func setImage(_ image: UIImage?, props: ReactNavigationSFSymbolViewImplProps, animated: Bool) {
191
+ guard let image else {
192
+ imageView.image = nil
193
+ return
194
+ }
144
195
 
145
- imageView.removeAllSymbolEffects()
196
+ guard animated, #available(iOS 17.0, *) else {
197
+ imageView.image = image
198
+ return
199
+ }
146
200
 
147
- guard !props.animation.isEmpty else { return }
201
+ let options = Self.contentTransitionOptions(from: props)
202
+
203
+ switch props.contentTransition {
204
+ case "automatic":
205
+ imageView.setSymbolImage(
206
+ image,
207
+ contentTransition: .automatic,
208
+ options: options
209
+ )
210
+
211
+ case "replace":
212
+ var effect = ReplaceSymbolEffect.replace
213
+
214
+ switch props.contentTransitionVariant {
215
+ case "upUp":
216
+ effect = effect.upUp
217
+ case "offUp":
218
+ effect = effect.offUp
219
+ default:
220
+ effect = effect.downUp
221
+ }
148
222
 
149
- var options: SymbolEffectOptions = .default
223
+ if props.contentTransitionScope == "wholeSymbol" {
224
+ effect = effect.wholeSymbol
225
+ } else if props.contentTransitionScope == "byLayer" {
226
+ effect = effect.byLayer
227
+ }
150
228
 
151
- if props.animationRepeating {
152
- options = options.repeating
153
- } else if props.animationRepeatCount > 0 {
154
- options = options.repeat(props.animationRepeatCount)
229
+ if props.contentTransitionMagic, #available(iOS 18.0, *) {
230
+ imageView.setSymbolImage(
231
+ image,
232
+ contentTransition: effect.magic(fallback: effect),
233
+ options: options
234
+ )
235
+ } else {
236
+ imageView.setSymbolImage(
237
+ image,
238
+ contentTransition: effect,
239
+ options: options
240
+ )
241
+ }
242
+
243
+ default:
244
+ imageView.image = image
155
245
  }
246
+ }
247
+
248
+ @available(iOS 17.0, *)
249
+ private static func contentTransitionOptions(from props: ReactNavigationSFSymbolViewImplProps) -> SymbolEffectOptions {
250
+ var options: SymbolEffectOptions = .default
156
251
 
157
- if props.animationSpeed != 1 {
158
- options = options.speed(props.animationSpeed)
252
+ if props.contentTransitionSpeed != 1 {
253
+ options = options.speed(props.contentTransitionSpeed)
159
254
  }
160
255
 
161
- switch props.animation {
256
+ return options
257
+ }
258
+
259
+ private func updateEffect(_ props: ReactNavigationSFSymbolViewImplProps) {
260
+ guard #available(iOS 17.0, *) else { return }
261
+
262
+ imageView.removeAllSymbolEffects()
263
+
264
+ guard !props.effect.isEmpty else { return }
265
+
266
+ let options = Self.symbolEffectOptions(from: props)
267
+
268
+ switch props.effect {
162
269
  case "bounce":
163
270
  var effect = BounceSymbolEffect.bounce
164
271
 
165
- if props.animationWholeSymbol {
272
+ if props.effectScope == "wholeSymbol" {
166
273
  effect = effect.wholeSymbol
274
+ } else if props.effectScope == "byLayer" {
275
+ effect = effect.byLayer
167
276
  }
168
277
 
169
- if props.animationDirection == "up" {
278
+ if props.effectDirection == "up" {
170
279
  effect = effect.up
171
280
  }
172
281
 
173
- if props.animationDirection == "down" {
282
+ if props.effectDirection == "down" {
174
283
  effect = effect.down
175
284
  }
176
285
 
@@ -179,8 +288,10 @@ import UIKit
179
288
  case "pulse":
180
289
  var effect = PulseSymbolEffect.pulse
181
290
 
182
- if props.animationWholeSymbol {
291
+ if props.effectScope == "wholeSymbol" {
183
292
  effect = effect.wholeSymbol
293
+ } else if props.effectScope == "byLayer" {
294
+ effect = effect.byLayer
184
295
  }
185
296
 
186
297
  imageView.addSymbolEffect(effect, options: options)
@@ -188,15 +299,17 @@ import UIKit
188
299
  case "appear":
189
300
  var effect = AppearSymbolEffect.appear
190
301
 
191
- if props.animationWholeSymbol {
302
+ if props.effectScope == "wholeSymbol" {
192
303
  effect = effect.wholeSymbol
304
+ } else if props.effectScope == "byLayer" {
305
+ effect = effect.byLayer
193
306
  }
194
307
 
195
- if props.animationDirection == "up" {
308
+ if props.effectDirection == "up" {
196
309
  effect = effect.up
197
310
  }
198
311
 
199
- if props.animationDirection == "down" {
312
+ if props.effectDirection == "down" {
200
313
  effect = effect.down
201
314
  }
202
315
 
@@ -205,15 +318,17 @@ import UIKit
205
318
  case "disappear":
206
319
  var effect = DisappearSymbolEffect.disappear
207
320
 
208
- if props.animationWholeSymbol {
321
+ if props.effectScope == "wholeSymbol" {
209
322
  effect = effect.wholeSymbol
323
+ } else if props.effectScope == "byLayer" {
324
+ effect = effect.byLayer
210
325
  }
211
326
 
212
- if props.animationDirection == "up" {
327
+ if props.effectDirection == "up" {
213
328
  effect = effect.up
214
329
  }
215
330
 
216
- if props.animationDirection == "down" {
331
+ if props.effectDirection == "down" {
217
332
  effect = effect.down
218
333
  }
219
334
 
@@ -222,10 +337,37 @@ import UIKit
222
337
  case "variableColor":
223
338
  var effect = VariableColorSymbolEffect.variableColor
224
339
 
225
- if props.animationReversing {
226
- effect = props.animationCumulative ? effect.reversing.cumulative : effect.reversing.iterative
340
+ if props.effectReversing {
341
+ effect = props.effectCumulative ? effect.reversing.cumulative : effect.reversing.iterative
227
342
  } else {
228
- effect = props.animationCumulative ? effect.nonReversing.cumulative : effect.nonReversing.iterative
343
+ effect = props.effectCumulative ? effect.nonReversing.cumulative : effect.nonReversing.iterative
344
+ }
345
+
346
+ if props.effectInactiveLayers == "hide" {
347
+ effect = effect.hideInactiveLayers
348
+ }
349
+
350
+ if props.effectInactiveLayers == "dim" {
351
+ effect = effect.dimInactiveLayers
352
+ }
353
+
354
+ imageView.addSymbolEffect(effect, options: options)
355
+
356
+ case "scale":
357
+ var effect = ScaleSymbolEffect.scale
358
+
359
+ if props.effectScope == "wholeSymbol" {
360
+ effect = effect.wholeSymbol
361
+ } else if props.effectScope == "byLayer" {
362
+ effect = effect.byLayer
363
+ }
364
+
365
+ if props.effectDirection == "up" {
366
+ effect = effect.up
367
+ }
368
+
369
+ if props.effectDirection == "down" {
370
+ effect = effect.down
229
371
  }
230
372
 
231
373
  imageView.addSymbolEffect(effect, options: options)
@@ -234,8 +376,18 @@ import UIKit
234
376
  if #available(iOS 18.0, *) {
235
377
  var effect = BreatheSymbolEffect.breathe
236
378
 
237
- if props.animationWholeSymbol {
379
+ if props.effectVariant == "plain" {
380
+ effect = effect.plain
381
+ }
382
+
383
+ if props.effectVariant == "pulse" {
384
+ effect = effect.pulse
385
+ }
386
+
387
+ if props.effectScope == "wholeSymbol" {
238
388
  effect = effect.wholeSymbol
389
+ } else if props.effectScope == "byLayer" {
390
+ effect = effect.byLayer
239
391
  }
240
392
 
241
393
  imageView.addSymbolEffect(effect, options: options)
@@ -245,16 +397,30 @@ import UIKit
245
397
  if #available(iOS 18.0, *) {
246
398
  var effect = WiggleSymbolEffect.wiggle
247
399
 
248
- if props.animationWholeSymbol {
400
+ if props.effectScope == "wholeSymbol" {
249
401
  effect = effect.wholeSymbol
402
+ } else if props.effectScope == "byLayer" {
403
+ effect = effect.byLayer
250
404
  }
251
405
 
252
- if props.animationDirection == "up" {
406
+ if props.effectAngle >= 0 {
407
+ effect = effect.custom(angle: Double(props.effectAngle))
408
+ } else if props.effectDirection == "up" {
253
409
  effect = effect.up
254
- }
255
-
256
- if props.animationDirection == "down" {
410
+ } else if props.effectDirection == "down" {
257
411
  effect = effect.down
412
+ } else if props.effectDirection == "left" {
413
+ effect = effect.left
414
+ } else if props.effectDirection == "right" {
415
+ effect = effect.right
416
+ } else if props.effectDirection == "forward" {
417
+ effect = effect.forward
418
+ } else if props.effectDirection == "backward" {
419
+ effect = effect.backward
420
+ } else if props.effectDirection == "clockwise" {
421
+ effect = effect.clockwise
422
+ } else if props.effectDirection == "counterClockwise" {
423
+ effect = effect.counterClockwise
258
424
  }
259
425
 
260
426
  imageView.addSymbolEffect(effect, options: options)
@@ -264,8 +430,56 @@ import UIKit
264
430
  if #available(iOS 18.0, *) {
265
431
  var effect = RotateSymbolEffect.rotate
266
432
 
267
- if props.animationWholeSymbol {
433
+ if props.effectScope == "wholeSymbol" {
434
+ effect = effect.wholeSymbol
435
+ } else if props.effectScope == "byLayer" {
436
+ effect = effect.byLayer
437
+ }
438
+
439
+ if props.effectDirection == "clockwise" {
440
+ effect = effect.clockwise
441
+ }
442
+
443
+ if props.effectDirection == "counterClockwise" {
444
+ effect = effect.counterClockwise
445
+ }
446
+
447
+ imageView.addSymbolEffect(effect, options: options)
448
+ }
449
+
450
+ case "drawOn":
451
+ if #available(iOS 26.0, *) {
452
+ var effect = DrawOnSymbolEffect.drawOn
453
+
454
+ if props.effectScope == "wholeSymbol" {
268
455
  effect = effect.wholeSymbol
456
+ } else if props.effectScope == "individually" {
457
+ effect = effect.individually
458
+ } else if props.effectScope == "byLayer" {
459
+ effect = effect.byLayer
460
+ }
461
+
462
+ imageView.addSymbolEffect(effect, options: options)
463
+ }
464
+
465
+ case "drawOff":
466
+ if #available(iOS 26.0, *) {
467
+ var effect = DrawOffSymbolEffect.drawOff
468
+
469
+ if props.effectDrawDirection == "reversed" {
470
+ effect = effect.reversed
471
+ }
472
+
473
+ if props.effectDrawDirection == "nonReversed" {
474
+ effect = effect.nonReversed
475
+ }
476
+
477
+ if props.effectScope == "wholeSymbol" {
478
+ effect = effect.wholeSymbol
479
+ } else if props.effectScope == "individually" {
480
+ effect = effect.individually
481
+ } else if props.effectScope == "byLayer" {
482
+ effect = effect.byLayer
269
483
  }
270
484
 
271
485
  imageView.addSymbolEffect(effect, options: options)
@@ -275,6 +489,88 @@ import UIKit
275
489
  }
276
490
  }
277
491
 
492
+ @available(iOS 17.0, *)
493
+ private static func symbolEffectOptions(from props: ReactNavigationSFSymbolViewImplProps) -> SymbolEffectOptions {
494
+ var options: SymbolEffectOptions = .default
495
+
496
+ switch props.effectRepeat {
497
+ case "continuous":
498
+ if #available(iOS 18.0, *) {
499
+ options = options.repeat(.continuous)
500
+ } else {
501
+ options = options.repeating
502
+ }
503
+
504
+ case "nonRepeating":
505
+ options = options.nonRepeating
506
+
507
+ case "periodic":
508
+ if #available(iOS 18.0, *) {
509
+ let count: Int? = props.effectRepeatCount > 0 ? props.effectRepeatCount : nil
510
+ let delay: Double? = props.effectRepeatDelay > 0 ? Double(props.effectRepeatDelay) : nil
511
+
512
+ options = options.repeat(
513
+ .periodic(count, delay: delay)
514
+ )
515
+ } else if props.effectRepeatCount > 0 {
516
+ options = options.repeat(props.effectRepeatCount)
517
+ } else {
518
+ options = options.repeating
519
+ }
520
+
521
+ default:
522
+ break
523
+ }
524
+
525
+ if props.effectSpeed != 1 {
526
+ options = options.speed(props.effectSpeed)
527
+ }
528
+
529
+ return options
530
+ }
531
+
532
+ private static func symbolImage(
533
+ name: String,
534
+ configuration: UIImage.SymbolConfiguration,
535
+ props: ReactNavigationSFSymbolViewImplProps
536
+ ) -> UIImage? {
537
+ if props.variableValue >= 0 {
538
+ let variableValue = min(max(props.variableValue, 0), 1)
539
+
540
+ if #available(iOS 16.0, *) {
541
+ if let systemImage = UIImage(
542
+ systemName: name,
543
+ variableValue: Double(variableValue),
544
+ configuration: configuration
545
+ ) {
546
+ return systemImage
547
+ }
548
+ }
549
+ }
550
+
551
+ // Fall back to a custom symbol from the app's asset catalog.
552
+ return UIImage(systemName: name, withConfiguration: configuration)
553
+ ?? UIImage(named: name)?.applyingSymbolConfiguration(configuration)
554
+ }
555
+
556
+ @available(iOS 26.0, *)
557
+ private static func symbolVariableValueMode(from value: String) -> UIImage.SymbolVariableValueMode {
558
+ switch value {
559
+ case "color": return .color
560
+ case "draw": return .draw
561
+ default: return .automatic
562
+ }
563
+ }
564
+
565
+ @available(iOS 26.0, *)
566
+ private static func symbolColorRenderingMode(from value: String) -> UIImage.SymbolColorRenderingMode {
567
+ switch value {
568
+ case "flat": return .flat
569
+ case "gradient": return .gradient
570
+ default: return .automatic
571
+ }
572
+ }
573
+
278
574
  private static func symbolWeight(from value: Int) -> UIImage.SymbolWeight {
279
575
  switch value {
280
576
  case 100: return .thin