@tanstack/react-router 0.0.1-beta.213 → 0.0.1-beta.215
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/build/cjs/CatchBoundary.js +1 -0
- package/build/cjs/CatchBoundary.js.map +1 -1
- package/build/cjs/Matches.js +14 -4
- package/build/cjs/Matches.js.map +1 -1
- package/build/cjs/RouterProvider.js +80 -69
- package/build/cjs/RouterProvider.js.map +1 -1
- package/build/cjs/fileRoute.js.map +1 -1
- package/build/cjs/index.js +1 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/route.js +6 -0
- package/build/cjs/route.js.map +1 -1
- package/build/cjs/router.js.map +1 -1
- package/build/esm/index.js +101 -74
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +267 -267
- package/build/types/Matches.d.ts +4 -1
- package/build/types/RouterProvider.d.ts +2 -1
- package/build/types/fileRoute.d.ts +3 -3
- package/build/types/route.d.ts +28 -20
- package/build/types/router.d.ts +1 -1
- package/build/umd/index.development.js +101 -73
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +2 -2
- package/src/CatchBoundary.tsx +1 -0
- package/src/Matches.tsx +31 -9
- package/src/RouterProvider.tsx +97 -89
- package/src/fileRoute.ts +10 -2
- package/src/route.ts +58 -17
- package/src/router.ts +1 -1
package/build/stats-html.html
CHANGED
|
@@ -4024,7 +4024,7 @@ var drawChart = (function (exports) {
|
|
|
4024
4024
|
</script>
|
|
4025
4025
|
<script>
|
|
4026
4026
|
/*<!--*/
|
|
4027
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages","children":[{"name":"history/build/esm/index.js","uid":"
|
|
4027
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages","children":[{"name":"history/build/esm/index.js","uid":"b3bf-5"},{"name":"react-router/src","children":[{"uid":"b3bf-11","name":"CatchBoundary.tsx"},{"uid":"b3bf-13","name":"utils.ts"},{"uid":"b3bf-15","name":"path.ts"},{"uid":"b3bf-17","name":"redirects.ts"},{"uid":"b3bf-19","name":"qss.ts"},{"uid":"b3bf-21","name":"searchParams.ts"},{"uid":"b3bf-23","name":"router.ts"},{"uid":"b3bf-25","name":"RouterProvider.tsx"},{"uid":"b3bf-27","name":"Matches.tsx"},{"uid":"b3bf-29","name":"useParams.tsx"},{"uid":"b3bf-31","name":"useSearch.tsx"},{"uid":"b3bf-33","name":"route.ts"},{"uid":"b3bf-35","name":"fileRoute.ts"},{"uid":"b3bf-37","name":"lazyRouteComponent.tsx"},{"uid":"b3bf-41","name":"link.tsx"},{"uid":"b3bf-43","name":"scroll-restoration.tsx"},{"uid":"b3bf-45","name":"useBlocker.tsx"},{"uid":"b3bf-47","name":"useNavigate.tsx"},{"uid":"b3bf-49","name":"index.tsx"}]}]},{"name":"node_modules/.pnpm","children":[{"name":"tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js","uid":"b3bf-7"},{"name":"tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js","uid":"b3bf-9"}]},{"uid":"b3bf-39","name":"\u0000rollupPluginBabelHelpers.js"}]}],"isRoot":true},"nodeParts":{"b3bf-5":{"renderedLength":9142,"gzipLength":2723,"brotliLength":0,"mainUid":"b3bf-4"},"b3bf-7":{"renderedLength":181,"gzipLength":129,"brotliLength":0,"mainUid":"b3bf-6"},"b3bf-9":{"renderedLength":44,"gzipLength":62,"brotliLength":0,"mainUid":"b3bf-8"},"b3bf-11":{"renderedLength":2487,"gzipLength":780,"brotliLength":0,"mainUid":"b3bf-10"},"b3bf-13":{"renderedLength":4873,"gzipLength":1636,"brotliLength":0,"mainUid":"b3bf-12"},"b3bf-15":{"renderedLength":5666,"gzipLength":1414,"brotliLength":0,"mainUid":"b3bf-14"},"b3bf-17":{"renderedLength":172,"gzipLength":132,"brotliLength":0,"mainUid":"b3bf-16"},"b3bf-19":{"renderedLength":1281,"gzipLength":547,"brotliLength":0,"mainUid":"b3bf-18"},"b3bf-21":{"renderedLength":1706,"gzipLength":575,"brotliLength":0,"mainUid":"b3bf-20"},"b3bf-23":{"renderedLength":5376,"gzipLength":1756,"brotliLength":0,"mainUid":"b3bf-22"},"b3bf-25":{"renderedLength":32944,"gzipLength":7619,"brotliLength":0,"mainUid":"b3bf-24"},"b3bf-27":{"renderedLength":6024,"gzipLength":1285,"brotliLength":0,"mainUid":"b3bf-26"},"b3bf-29":{"renderedLength":213,"gzipLength":147,"brotliLength":0,"mainUid":"b3bf-28"},"b3bf-31":{"renderedLength":182,"gzipLength":128,"brotliLength":0,"mainUid":"b3bf-30"},"b3bf-33":{"renderedLength":2744,"gzipLength":906,"brotliLength":0,"mainUid":"b3bf-32"},"b3bf-35":{"renderedLength":203,"gzipLength":140,"brotliLength":0,"mainUid":"b3bf-34"},"b3bf-37":{"renderedLength":479,"gzipLength":256,"brotliLength":0,"mainUid":"b3bf-36"},"b3bf-39":{"renderedLength":429,"gzipLength":238,"brotliLength":0,"mainUid":"b3bf-38"},"b3bf-41":{"renderedLength":2866,"gzipLength":974,"brotliLength":0,"mainUid":"b3bf-40"},"b3bf-43":{"renderedLength":4949,"gzipLength":1328,"brotliLength":0,"mainUid":"b3bf-42"},"b3bf-45":{"renderedLength":490,"gzipLength":250,"brotliLength":0,"mainUid":"b3bf-44"},"b3bf-47":{"renderedLength":695,"gzipLength":280,"brotliLength":0,"mainUid":"b3bf-46"},"b3bf-49":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"b3bf-48"}},"nodeMetas":{"b3bf-4":{"id":"/packages/history/build/esm/index.js","moduleParts":{"index.production.js":"b3bf-5"},"imported":[],"importedBy":[{"uid":"b3bf-48"},{"uid":"b3bf-24"}]},"b3bf-6":{"id":"/node_modules/.pnpm/tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js","moduleParts":{"index.production.js":"b3bf-7"},"imported":[],"importedBy":[{"uid":"b3bf-48"},{"uid":"b3bf-26"},{"uid":"b3bf-32"},{"uid":"b3bf-24"}]},"b3bf-8":{"id":"/node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js","moduleParts":{"index.production.js":"b3bf-9"},"imported":[],"importedBy":[{"uid":"b3bf-48"},{"uid":"b3bf-26"},{"uid":"b3bf-24"}]},"b3bf-10":{"id":"/packages/react-router/src/CatchBoundary.tsx","moduleParts":{"index.production.js":"b3bf-11"},"imported":[{"uid":"b3bf-53"}],"importedBy":[{"uid":"b3bf-48"},{"uid":"b3bf-26"}]},"b3bf-12":{"id":"/packages/react-router/src/utils.ts","moduleParts":{"index.production.js":"b3bf-13"},"imported":[{"uid":"b3bf-53"},{"uid":"b3bf-26"}],"importedBy":[{"uid":"b3bf-48"},{"uid":"b3bf-40"},{"uid":"b3bf-14"},{"uid":"b3bf-24"},{"uid":"b3bf-42"},{"uid":"b3bf-46"},{"uid":"b3bf-28"}]},"b3bf-14":{"id":"/packages/react-router/src/path.ts","moduleParts":{"index.production.js":"b3bf-15"},"imported":[{"uid":"b3bf-12"}],"importedBy":[{"uid":"b3bf-48"},{"uid":"b3bf-32"},{"uid":"b3bf-24"}]},"b3bf-16":{"id":"/packages/react-router/src/redirects.ts","moduleParts":{"index.production.js":"b3bf-17"},"imported":[],"importedBy":[{"uid":"b3bf-48"},{"uid":"b3bf-24"}]},"b3bf-18":{"id":"/packages/react-router/src/qss.ts","moduleParts":{"index.production.js":"b3bf-19"},"imported":[],"importedBy":[{"uid":"b3bf-48"},{"uid":"b3bf-20"}]},"b3bf-20":{"id":"/packages/react-router/src/searchParams.ts","moduleParts":{"index.production.js":"b3bf-21"},"imported":[{"uid":"b3bf-18"}],"importedBy":[{"uid":"b3bf-48"},{"uid":"b3bf-22"}]},"b3bf-22":{"id":"/packages/react-router/src/router.ts","moduleParts":{"index.production.js":"b3bf-23"},"imported":[{"uid":"b3bf-20"}],"importedBy":[{"uid":"b3bf-48"},{"uid":"b3bf-24"}]},"b3bf-24":{"id":"/packages/react-router/src/RouterProvider.tsx","moduleParts":{"index.production.js":"b3bf-25"},"imported":[{"uid":"b3bf-4"},{"uid":"b3bf-53"},{"uid":"b3bf-6"},{"uid":"b3bf-8"},{"uid":"b3bf-26"},{"uid":"b3bf-14"},{"uid":"b3bf-16"},{"uid":"b3bf-22"},{"uid":"b3bf-12"}],"importedBy":[{"uid":"b3bf-48"},{"uid":"b3bf-40"},{"uid":"b3bf-26"},{"uid":"b3bf-42"},{"uid":"b3bf-44"},{"uid":"b3bf-46"},{"uid":"b3bf-28"}]},"b3bf-26":{"id":"/packages/react-router/src/Matches.tsx","moduleParts":{"index.production.js":"b3bf-27"},"imported":[{"uid":"b3bf-53"},{"uid":"b3bf-6"},{"uid":"b3bf-8"},{"uid":"b3bf-10"},{"uid":"b3bf-24"},{"uid":"b3bf-32"}],"importedBy":[{"uid":"b3bf-48"},{"uid":"b3bf-40"},{"uid":"b3bf-32"},{"uid":"b3bf-24"},{"uid":"b3bf-46"},{"uid":"b3bf-30"},{"uid":"b3bf-12"}]},"b3bf-28":{"id":"/packages/react-router/src/useParams.tsx","moduleParts":{"index.production.js":"b3bf-29"},"imported":[{"uid":"b3bf-12"},{"uid":"b3bf-24"}],"importedBy":[{"uid":"b3bf-48"},{"uid":"b3bf-32"}]},"b3bf-30":{"id":"/packages/react-router/src/useSearch.tsx","moduleParts":{"index.production.js":"b3bf-31"},"imported":[{"uid":"b3bf-26"}],"importedBy":[{"uid":"b3bf-48"},{"uid":"b3bf-32"}]},"b3bf-32":{"id":"/packages/react-router/src/route.ts","moduleParts":{"index.production.js":"b3bf-33"},"imported":[{"uid":"b3bf-6"},{"uid":"b3bf-26"},{"uid":"b3bf-14"},{"uid":"b3bf-28"},{"uid":"b3bf-30"}],"importedBy":[{"uid":"b3bf-48"},{"uid":"b3bf-34"},{"uid":"b3bf-26"}]},"b3bf-34":{"id":"/packages/react-router/src/fileRoute.ts","moduleParts":{"index.production.js":"b3bf-35"},"imported":[{"uid":"b3bf-32"}],"importedBy":[{"uid":"b3bf-48"}]},"b3bf-36":{"id":"/packages/react-router/src/lazyRouteComponent.tsx","moduleParts":{"index.production.js":"b3bf-37"},"imported":[{"uid":"b3bf-53"}],"importedBy":[{"uid":"b3bf-48"}]},"b3bf-38":{"id":"\u0000rollupPluginBabelHelpers.js","moduleParts":{"index.production.js":"b3bf-39"},"imported":[],"importedBy":[{"uid":"b3bf-40"}]},"b3bf-40":{"id":"/packages/react-router/src/link.tsx","moduleParts":{"index.production.js":"b3bf-41"},"imported":[{"uid":"b3bf-38"},{"uid":"b3bf-53"},{"uid":"b3bf-26"},{"uid":"b3bf-24"},{"uid":"b3bf-12"}],"importedBy":[{"uid":"b3bf-48"}]},"b3bf-42":{"id":"/packages/react-router/src/scroll-restoration.tsx","moduleParts":{"index.production.js":"b3bf-43"},"imported":[{"uid":"b3bf-53"},{"uid":"b3bf-24"},{"uid":"b3bf-12"}],"importedBy":[{"uid":"b3bf-48"}]},"b3bf-44":{"id":"/packages/react-router/src/useBlocker.tsx","moduleParts":{"index.production.js":"b3bf-45"},"imported":[{"uid":"b3bf-53"},{"uid":"b3bf-24"}],"importedBy":[{"uid":"b3bf-48"}]},"b3bf-46":{"id":"/packages/react-router/src/useNavigate.tsx","moduleParts":{"index.production.js":"b3bf-47"},"imported":[{"uid":"b3bf-53"},{"uid":"b3bf-26"},{"uid":"b3bf-24"},{"uid":"b3bf-12"}],"importedBy":[{"uid":"b3bf-48"}]},"b3bf-48":{"id":"/packages/react-router/src/index.tsx","moduleParts":{"index.production.js":"b3bf-49"},"imported":[{"uid":"b3bf-4"},{"uid":"b3bf-6"},{"uid":"b3bf-8"},{"uid":"b3bf-10"},{"uid":"b3bf-34"},{"uid":"b3bf-50"},{"uid":"b3bf-48"},{"uid":"b3bf-36"},{"uid":"b3bf-40"},{"uid":"b3bf-51"},{"uid":"b3bf-26"},{"uid":"b3bf-14"},{"uid":"b3bf-18"},{"uid":"b3bf-16"},{"uid":"b3bf-32"},{"uid":"b3bf-52"},{"uid":"b3bf-22"},{"uid":"b3bf-24"},{"uid":"b3bf-42"},{"uid":"b3bf-20"},{"uid":"b3bf-44"},{"uid":"b3bf-46"},{"uid":"b3bf-28"},{"uid":"b3bf-30"},{"uid":"b3bf-12"}],"importedBy":[{"uid":"b3bf-48"}],"isEntry":true},"b3bf-50":{"id":"/packages/react-router/src/history.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"b3bf-48"}]},"b3bf-51":{"id":"/packages/react-router/src/location.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"b3bf-48"}]},"b3bf-52":{"id":"/packages/react-router/src/routeInfo.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"b3bf-48"}]},"b3bf-53":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"b3bf-10"},{"uid":"b3bf-36"},{"uid":"b3bf-40"},{"uid":"b3bf-26"},{"uid":"b3bf-24"},{"uid":"b3bf-42"},{"uid":"b3bf-44"},{"uid":"b3bf-46"},{"uid":"b3bf-12"}],"isExternal":true}},"env":{"rollup":"2.79.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
4028
4028
|
|
|
4029
4029
|
const run = () => {
|
|
4030
4030
|
const width = window.innerWidth;
|