expo-router 7.0.0-canary-20251206-615dec1 → 7.0.0-canary-20251211-7da85ea

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 (103) hide show
  1. package/android/build.gradle +2 -2
  2. package/build/ExpoRoot.d.ts.map +1 -1
  3. package/build/ExpoRoot.js +2 -1
  4. package/build/ExpoRoot.js.map +1 -1
  5. package/build/color/android.dynamic.types.d.ts +3 -3
  6. package/build/color/android.dynamic.types.js.map +1 -1
  7. package/build/color/android.material.types.d.ts +3 -3
  8. package/build/color/android.material.types.js.map +1 -1
  9. package/build/fork/getPathFromState.d.ts.map +1 -1
  10. package/build/fork/getPathFromState.js +2 -1
  11. package/build/fork/getPathFromState.js.map +1 -1
  12. package/build/fork/getStateFromPath-forks.d.ts.map +1 -1
  13. package/build/fork/getStateFromPath-forks.js +3 -7
  14. package/build/fork/getStateFromPath-forks.js.map +1 -1
  15. package/build/link/Link.d.ts +2 -0
  16. package/build/link/Link.d.ts.map +1 -1
  17. package/build/link/Link.js +2 -0
  18. package/build/link/Link.js.map +1 -1
  19. package/build/link/elements.d.ts +15 -4
  20. package/build/link/elements.d.ts.map +1 -1
  21. package/build/link/elements.js +7 -2
  22. package/build/link/elements.js.map +1 -1
  23. package/build/link/preview/native.d.ts +5 -1
  24. package/build/link/preview/native.d.ts.map +1 -1
  25. package/build/link/preview/native.js +12 -1
  26. package/build/link/preview/native.js.map +1 -1
  27. package/build/link/useLinkHooks.d.ts +1 -1
  28. package/build/link/zoom/link-apple-zoom-target.d.ts +3 -0
  29. package/build/link/zoom/link-apple-zoom-target.d.ts.map +1 -0
  30. package/build/link/zoom/link-apple-zoom-target.js +20 -0
  31. package/build/link/zoom/link-apple-zoom-target.js.map +1 -0
  32. package/build/link/zoom/useZoomTransitionPrimitives.ios.d.ts.map +1 -1
  33. package/build/link/zoom/useZoomTransitionPrimitives.ios.js +4 -1
  34. package/build/link/zoom/useZoomTransitionPrimitives.ios.js.map +1 -1
  35. package/build/link/zoom/zoom-transition-context.d.ts +7 -0
  36. package/build/link/zoom/zoom-transition-context.d.ts.map +1 -1
  37. package/build/link/zoom/zoom-transition-context.js +32 -1
  38. package/build/link/zoom/zoom-transition-context.js.map +1 -1
  39. package/build/loaders/utils.d.ts.map +1 -1
  40. package/build/loaders/utils.js +2 -1
  41. package/build/loaders/utils.js.map +1 -1
  42. package/build/native-tabs/NativeTabTrigger.d.ts +1 -1
  43. package/build/native-tabs/NativeTabTrigger.d.ts.map +1 -1
  44. package/build/native-tabs/NativeTabTrigger.js +5 -6
  45. package/build/native-tabs/NativeTabTrigger.js.map +1 -1
  46. package/build/native-tabs/NativeTabsView.web.js +1 -1
  47. package/build/native-tabs/NativeTabsView.web.js.map +1 -1
  48. package/build/onboard/Tutorial.d.ts.map +1 -1
  49. package/build/onboard/Tutorial.js +19 -8
  50. package/build/onboard/Tutorial.js.map +1 -1
  51. package/build/typed-routes/types.d.ts +4 -1
  52. package/build/typed-routes/types.d.ts.map +1 -1
  53. package/build/typed-routes/types.js.map +1 -1
  54. package/build/useScreens.d.ts.map +1 -1
  55. package/build/useScreens.js +6 -3
  56. package/build/useScreens.js.map +1 -1
  57. package/build/utils/url.d.ts +1 -0
  58. package/build/utils/url.d.ts.map +1 -1
  59. package/build/utils/url.js +9 -0
  60. package/build/utils/url.js.map +1 -1
  61. package/expo-module.config.json +1 -1
  62. package/ios/LinkPreview/LinkPreviewNativeActionView.swift +1 -1
  63. package/ios/LinkPreview/LinkPreviewNativeModule.swift +11 -0
  64. package/ios/LinkPreview/LinkZoomTransition.swift +126 -15
  65. package/ios/Toolbar/RouterToolbarHostView.swift +5 -1
  66. package/local-maven-repo/expo/modules/router/expo.modules.router/{7.0.0-canary-20251206-615dec1/expo.modules.router-7.0.0-canary-20251206-615dec1.module → 7.0.0-canary-20251211-7da85ea/expo.modules.router-7.0.0-canary-20251211-7da85ea.module} +7 -7
  67. package/local-maven-repo/expo/modules/router/expo.modules.router/7.0.0-canary-20251211-7da85ea/expo.modules.router-7.0.0-canary-20251211-7da85ea.module.md5 +1 -0
  68. package/local-maven-repo/expo/modules/router/expo.modules.router/7.0.0-canary-20251211-7da85ea/expo.modules.router-7.0.0-canary-20251211-7da85ea.module.sha1 +1 -0
  69. package/local-maven-repo/expo/modules/router/expo.modules.router/7.0.0-canary-20251211-7da85ea/expo.modules.router-7.0.0-canary-20251211-7da85ea.module.sha256 +1 -0
  70. package/local-maven-repo/expo/modules/router/expo.modules.router/7.0.0-canary-20251211-7da85ea/expo.modules.router-7.0.0-canary-20251211-7da85ea.module.sha512 +1 -0
  71. package/local-maven-repo/expo/modules/router/expo.modules.router/{7.0.0-canary-20251206-615dec1/expo.modules.router-7.0.0-canary-20251206-615dec1.pom → 7.0.0-canary-20251211-7da85ea/expo.modules.router-7.0.0-canary-20251211-7da85ea.pom} +1 -1
  72. package/local-maven-repo/expo/modules/router/expo.modules.router/7.0.0-canary-20251211-7da85ea/expo.modules.router-7.0.0-canary-20251211-7da85ea.pom.md5 +1 -0
  73. package/local-maven-repo/expo/modules/router/expo.modules.router/7.0.0-canary-20251211-7da85ea/expo.modules.router-7.0.0-canary-20251211-7da85ea.pom.sha1 +1 -0
  74. package/local-maven-repo/expo/modules/router/expo.modules.router/7.0.0-canary-20251211-7da85ea/expo.modules.router-7.0.0-canary-20251211-7da85ea.pom.sha256 +1 -0
  75. package/local-maven-repo/expo/modules/router/expo.modules.router/7.0.0-canary-20251211-7da85ea/expo.modules.router-7.0.0-canary-20251211-7da85ea.pom.sha512 +1 -0
  76. package/local-maven-repo/expo/modules/router/expo.modules.router/maven-metadata.xml +4 -4
  77. package/local-maven-repo/expo/modules/router/expo.modules.router/maven-metadata.xml.md5 +1 -1
  78. package/local-maven-repo/expo/modules/router/expo.modules.router/maven-metadata.xml.sha1 +1 -1
  79. package/local-maven-repo/expo/modules/router/expo.modules.router/maven-metadata.xml.sha256 +1 -1
  80. package/local-maven-repo/expo/modules/router/expo.modules.router/maven-metadata.xml.sha512 +1 -1
  81. package/package.json +12 -12
  82. package/build/onboard/createEntryFile.d.ts +0 -4
  83. package/build/onboard/createEntryFile.d.ts.map +0 -1
  84. package/build/onboard/createEntryFile.js +0 -63
  85. package/build/onboard/createEntryFile.js.map +0 -1
  86. package/local-maven-repo/expo/modules/router/expo.modules.router/7.0.0-canary-20251206-615dec1/expo.modules.router-7.0.0-canary-20251206-615dec1.module.md5 +0 -1
  87. package/local-maven-repo/expo/modules/router/expo.modules.router/7.0.0-canary-20251206-615dec1/expo.modules.router-7.0.0-canary-20251206-615dec1.module.sha1 +0 -1
  88. package/local-maven-repo/expo/modules/router/expo.modules.router/7.0.0-canary-20251206-615dec1/expo.modules.router-7.0.0-canary-20251206-615dec1.module.sha256 +0 -1
  89. package/local-maven-repo/expo/modules/router/expo.modules.router/7.0.0-canary-20251206-615dec1/expo.modules.router-7.0.0-canary-20251206-615dec1.module.sha512 +0 -1
  90. package/local-maven-repo/expo/modules/router/expo.modules.router/7.0.0-canary-20251206-615dec1/expo.modules.router-7.0.0-canary-20251206-615dec1.pom.md5 +0 -1
  91. package/local-maven-repo/expo/modules/router/expo.modules.router/7.0.0-canary-20251206-615dec1/expo.modules.router-7.0.0-canary-20251206-615dec1.pom.sha1 +0 -1
  92. package/local-maven-repo/expo/modules/router/expo.modules.router/7.0.0-canary-20251206-615dec1/expo.modules.router-7.0.0-canary-20251206-615dec1.pom.sha256 +0 -1
  93. package/local-maven-repo/expo/modules/router/expo.modules.router/7.0.0-canary-20251206-615dec1/expo.modules.router-7.0.0-canary-20251206-615dec1.pom.sha512 +0 -1
  94. /package/local-maven-repo/expo/modules/router/expo.modules.router/{7.0.0-canary-20251206-615dec1/expo.modules.router-7.0.0-canary-20251206-615dec1-sources.jar → 7.0.0-canary-20251211-7da85ea/expo.modules.router-7.0.0-canary-20251211-7da85ea-sources.jar} +0 -0
  95. /package/local-maven-repo/expo/modules/router/expo.modules.router/{7.0.0-canary-20251206-615dec1/expo.modules.router-7.0.0-canary-20251206-615dec1-sources.jar.md5 → 7.0.0-canary-20251211-7da85ea/expo.modules.router-7.0.0-canary-20251211-7da85ea-sources.jar.md5} +0 -0
  96. /package/local-maven-repo/expo/modules/router/expo.modules.router/{7.0.0-canary-20251206-615dec1/expo.modules.router-7.0.0-canary-20251206-615dec1-sources.jar.sha1 → 7.0.0-canary-20251211-7da85ea/expo.modules.router-7.0.0-canary-20251211-7da85ea-sources.jar.sha1} +0 -0
  97. /package/local-maven-repo/expo/modules/router/expo.modules.router/{7.0.0-canary-20251206-615dec1/expo.modules.router-7.0.0-canary-20251206-615dec1-sources.jar.sha256 → 7.0.0-canary-20251211-7da85ea/expo.modules.router-7.0.0-canary-20251211-7da85ea-sources.jar.sha256} +0 -0
  98. /package/local-maven-repo/expo/modules/router/expo.modules.router/{7.0.0-canary-20251206-615dec1/expo.modules.router-7.0.0-canary-20251206-615dec1-sources.jar.sha512 → 7.0.0-canary-20251211-7da85ea/expo.modules.router-7.0.0-canary-20251211-7da85ea-sources.jar.sha512} +0 -0
  99. /package/local-maven-repo/expo/modules/router/expo.modules.router/{7.0.0-canary-20251206-615dec1/expo.modules.router-7.0.0-canary-20251206-615dec1.aar → 7.0.0-canary-20251211-7da85ea/expo.modules.router-7.0.0-canary-20251211-7da85ea.aar} +0 -0
  100. /package/local-maven-repo/expo/modules/router/expo.modules.router/{7.0.0-canary-20251206-615dec1/expo.modules.router-7.0.0-canary-20251206-615dec1.aar.md5 → 7.0.0-canary-20251211-7da85ea/expo.modules.router-7.0.0-canary-20251211-7da85ea.aar.md5} +0 -0
  101. /package/local-maven-repo/expo/modules/router/expo.modules.router/{7.0.0-canary-20251206-615dec1/expo.modules.router-7.0.0-canary-20251206-615dec1.aar.sha1 → 7.0.0-canary-20251211-7da85ea/expo.modules.router-7.0.0-canary-20251211-7da85ea.aar.sha1} +0 -0
  102. /package/local-maven-repo/expo/modules/router/expo.modules.router/{7.0.0-canary-20251206-615dec1/expo.modules.router-7.0.0-canary-20251206-615dec1.aar.sha256 → 7.0.0-canary-20251211-7da85ea/expo.modules.router-7.0.0-canary-20251211-7da85ea.aar.sha256} +0 -0
  103. /package/local-maven-repo/expo/modules/router/expo.modules.router/{7.0.0-canary-20251206-615dec1/expo.modules.router-7.0.0-canary-20251206-615dec1.aar.sha512 → 7.0.0-canary-20251211-7da85ea/expo.modules.router-7.0.0-canary-20251211-7da85ea.aar.sha512} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"createEntryFile.d.ts","sourceRoot":"","sources":["../../src/onboard/createEntryFile.ts"],"names":[],"mappings":"AAEA,4DAA4D;AAC5D,wBAAgB,oBAAoB,kCAkBnC;AAED,wBAAgB,eAAe,WAE9B"}
@@ -1,63 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createEntryFileAsync = createEntryFileAsync;
4
- exports.getAbsolutePath = getAbsolutePath;
5
- const getDevServer_1 = require("../getDevServer");
6
- /** Middleware for creating an entry file in the project. */
7
- function createEntryFileAsync() {
8
- if (process.env.NODE_ENV === 'production') {
9
- // No dev server
10
- console.warn('createEntryFile() cannot be used in production');
11
- return;
12
- }
13
- // Pings middleware in the Expo CLI dev server.
14
- return fetch((0, getDevServer_1.getDevServer)().url + '_expo/touch', {
15
- method: 'POST',
16
- body: JSON.stringify({
17
- contents: TEMPLATE,
18
- // Legacy
19
- path: './app/index.js',
20
- // New
21
- absolutePath: getAbsolutePath(),
22
- }),
23
- });
24
- }
25
- function getAbsolutePath() {
26
- return process.env.EXPO_ROUTER_ABS_APP_ROOT + '/index.js';
27
- }
28
- const TEMPLATE = `import { StyleSheet, Text, View } from "react-native";
29
-
30
- export default function Page() {
31
- return (
32
- <View style={styles.container}>
33
- <View style={styles.main}>
34
- <Text style={styles.title}>Hello World</Text>
35
- <Text style={styles.subtitle}>This is the first page of your app.</Text>
36
- </View>
37
- </View>
38
- );
39
- }
40
-
41
- const styles = StyleSheet.create({
42
- container: {
43
- flex: 1,
44
- alignItems: "center",
45
- padding: 24,
46
- },
47
- main: {
48
- flex: 1,
49
- justifyContent: "center",
50
- maxWidth: 960,
51
- marginHorizontal: "auto",
52
- },
53
- title: {
54
- fontSize: 64,
55
- fontWeight: "bold",
56
- },
57
- subtitle: {
58
- fontSize: 36,
59
- color: "#38434D",
60
- },
61
- });
62
- `;
63
- //# sourceMappingURL=createEntryFile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createEntryFile.js","sourceRoot":"","sources":["../../src/onboard/createEntryFile.ts"],"names":[],"mappings":";;AAGA,oDAkBC;AAED,0CAEC;AAzBD,kDAA+C;AAE/C,4DAA4D;AAC5D,SAAgB,oBAAoB;IAClC,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,EAAE,CAAC;QAC1C,gBAAgB;QAChB,OAAO,CAAC,IAAI,CAAC,gDAAgD,CAAC,CAAC;QAC/D,OAAO;IACT,CAAC;IAED,+CAA+C;IAC/C,OAAO,KAAK,CAAC,IAAA,2BAAY,GAAE,CAAC,GAAG,GAAG,aAAa,EAAE;QAC/C,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC;YACnB,QAAQ,EAAE,QAAQ;YAClB,SAAS;YACT,IAAI,EAAE,gBAAgB;YACtB,MAAM;YACN,YAAY,EAAE,eAAe,EAAE;SAChC,CAAC;KACH,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,eAAe;IAC7B,OAAO,OAAO,CAAC,GAAG,CAAC,wBAAwB,GAAG,WAAW,CAAC;AAC5D,CAAC;AAED,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkChB,CAAC","sourcesContent":["import { getDevServer } from '../getDevServer';\n\n/** Middleware for creating an entry file in the project. */\nexport function createEntryFileAsync() {\n if (process.env.NODE_ENV === 'production') {\n // No dev server\n console.warn('createEntryFile() cannot be used in production');\n return;\n }\n\n // Pings middleware in the Expo CLI dev server.\n return fetch(getDevServer().url + '_expo/touch', {\n method: 'POST',\n body: JSON.stringify({\n contents: TEMPLATE,\n // Legacy\n path: './app/index.js',\n // New\n absolutePath: getAbsolutePath(),\n }),\n });\n}\n\nexport function getAbsolutePath() {\n return process.env.EXPO_ROUTER_ABS_APP_ROOT + '/index.js';\n}\n\nconst TEMPLATE = `import { StyleSheet, Text, View } from \"react-native\";\n\nexport default function Page() {\n return (\n <View style={styles.container}>\n <View style={styles.main}>\n <Text style={styles.title}>Hello World</Text>\n <Text style={styles.subtitle}>This is the first page of your app.</Text>\n </View>\n </View>\n );\n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n alignItems: \"center\",\n padding: 24,\n },\n main: {\n flex: 1,\n justifyContent: \"center\",\n maxWidth: 960,\n marginHorizontal: \"auto\",\n },\n title: {\n fontSize: 64,\n fontWeight: \"bold\",\n },\n subtitle: {\n fontSize: 36,\n color: \"#38434D\",\n },\n});\n`;\n"]}
@@ -1 +0,0 @@
1
- 9880b7b66c5cb7b9bddaae42392b9e47ad1ef16946140d9da816f36a04f63b64e658392e8cf8f26066e4f96b8f94953a7097873c70ec197e3b24eed7c9691ef9
@@ -1 +0,0 @@
1
- 44cc302cc47d06d42eb822f082d8e3108817b411414e68653227eeb44e2f8c98d4613104ce319ee6aba1222125bc575dd267fb3bbd0aba94d0bb53626bd389f3