@tanstack/react-router 0.0.1-beta.204 → 0.0.1-beta.206
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/RouterProvider.js +963 -0
- package/build/cjs/RouterProvider.js.map +1 -0
- package/build/cjs/fileRoute.js +29 -0
- package/build/cjs/fileRoute.js.map +1 -0
- package/build/cjs/index.js +69 -21
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/path.js +211 -0
- package/build/cjs/path.js.map +1 -0
- package/build/cjs/qss.js +65 -0
- package/build/cjs/qss.js.map +1 -0
- package/build/cjs/react.js +148 -190
- package/build/cjs/react.js.map +1 -1
- package/build/cjs/redirects.js +27 -0
- package/build/cjs/redirects.js.map +1 -0
- package/build/cjs/route.js +136 -0
- package/build/cjs/route.js.map +1 -0
- package/build/cjs/router.js +203 -0
- package/build/cjs/router.js.map +1 -0
- package/build/cjs/searchParams.js +83 -0
- package/build/cjs/searchParams.js.map +1 -0
- package/build/cjs/utils.js +196 -0
- package/build/cjs/utils.js.map +1 -0
- package/build/esm/index.js +1801 -211
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +385 -164
- package/build/types/RouteMatch.d.ts +23 -0
- package/build/types/RouterProvider.d.ts +54 -0
- package/build/types/awaited.d.ts +0 -8
- package/build/types/defer.d.ts +0 -0
- package/build/types/fileRoute.d.ts +17 -0
- package/build/types/history.d.ts +7 -0
- package/build/types/index.d.ts +17 -4
- package/build/types/link.d.ts +98 -0
- package/build/types/location.d.ts +14 -0
- package/build/types/path.d.ts +16 -0
- package/build/types/qss.d.ts +2 -0
- package/build/types/react.d.ts +23 -83
- package/build/types/redirects.d.ts +10 -0
- package/build/types/route.d.ts +222 -0
- package/build/types/routeInfo.d.ts +22 -0
- package/build/types/router.d.ts +115 -0
- package/build/types/scroll-restoration.d.ts +0 -3
- package/build/types/searchParams.d.ts +7 -0
- package/build/types/utils.d.ts +48 -0
- package/build/umd/index.development.js +1118 -1540
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +2 -33
- package/build/umd/index.production.js.map +1 -1
- package/package.json +2 -4
- package/src/RouteMatch.ts +28 -0
- package/src/RouterProvider.tsx +1390 -0
- package/src/awaited.tsx +40 -40
- package/src/defer.ts +55 -0
- package/src/fileRoute.ts +143 -0
- package/src/history.ts +8 -0
- package/src/index.tsx +18 -5
- package/src/link.ts +347 -0
- package/src/location.ts +14 -0
- package/src/path.ts +256 -0
- package/src/qss.ts +53 -0
- package/src/react.tsx +174 -422
- package/src/redirects.ts +31 -0
- package/src/route.ts +710 -0
- package/src/routeInfo.ts +68 -0
- package/src/router.ts +373 -0
- package/src/scroll-restoration.tsx +205 -27
- package/src/searchParams.ts +78 -0
- package/src/utils.ts +257 -0
- package/build/cjs/awaited.js +0 -45
- package/build/cjs/awaited.js.map +0 -1
- package/build/cjs/scroll-restoration.js +0 -56
- package/build/cjs/scroll-restoration.js.map +0 -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":"
|
|
4027
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages","children":[{"name":"history/build/esm/index.js","uid":"8d0d-5"},{"name":"react-router/src","children":[{"uid":"8d0d-11","name":"utils.ts"},{"uid":"8d0d-13","name":"path.ts"},{"uid":"8d0d-15","name":"qss.ts"},{"uid":"8d0d-19","name":"searchParams.ts"},{"uid":"8d0d-21","name":"router.ts"},{"uid":"8d0d-23","name":"redirects.ts"},{"uid":"8d0d-25","name":"RouterProvider.tsx"},{"uid":"8d0d-27","name":"react.tsx"},{"uid":"8d0d-29","name":"route.ts"},{"uid":"8d0d-31","name":"fileRoute.ts"},{"uid":"8d0d-33","name":"index.tsx"}]}]},{"name":"node_modules/.pnpm","children":[{"name":"tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js","uid":"8d0d-7"},{"name":"tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js","uid":"8d0d-9"}]},{"uid":"8d0d-17","name":"\u0000rollupPluginBabelHelpers.js"}]}],"isRoot":true},"nodeParts":{"8d0d-5":{"renderedLength":9130,"gzipLength":2727,"brotliLength":0,"mainUid":"8d0d-4"},"8d0d-7":{"renderedLength":181,"gzipLength":129,"brotliLength":0,"mainUid":"8d0d-6"},"8d0d-9":{"renderedLength":44,"gzipLength":62,"brotliLength":0,"mainUid":"8d0d-8"},"8d0d-11":{"renderedLength":4036,"gzipLength":1408,"brotliLength":0,"mainUid":"8d0d-10"},"8d0d-13":{"renderedLength":5666,"gzipLength":1414,"brotliLength":0,"mainUid":"8d0d-12"},"8d0d-15":{"renderedLength":1281,"gzipLength":547,"brotliLength":0,"mainUid":"8d0d-14"},"8d0d-17":{"renderedLength":429,"gzipLength":238,"brotliLength":0,"mainUid":"8d0d-16"},"8d0d-19":{"renderedLength":1706,"gzipLength":575,"brotliLength":0,"mainUid":"8d0d-18"},"8d0d-21":{"renderedLength":5373,"gzipLength":1755,"brotliLength":0,"mainUid":"8d0d-20"},"8d0d-23":{"renderedLength":172,"gzipLength":132,"brotliLength":0,"mainUid":"8d0d-22"},"8d0d-25":{"renderedLength":31134,"gzipLength":7324,"brotliLength":0,"mainUid":"8d0d-24"},"8d0d-27":{"renderedLength":15630,"gzipLength":3722,"brotliLength":0,"mainUid":"8d0d-26"},"8d0d-29":{"renderedLength":2804,"gzipLength":943,"brotliLength":0,"mainUid":"8d0d-28"},"8d0d-31":{"renderedLength":203,"gzipLength":140,"brotliLength":0,"mainUid":"8d0d-30"},"8d0d-33":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"8d0d-32"}},"nodeMetas":{"8d0d-4":{"id":"/packages/history/build/esm/index.js","moduleParts":{"index.production.js":"8d0d-5"},"imported":[],"importedBy":[{"uid":"8d0d-32"}]},"8d0d-6":{"id":"/node_modules/.pnpm/tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js","moduleParts":{"index.production.js":"8d0d-7"},"imported":[],"importedBy":[{"uid":"8d0d-32"},{"uid":"8d0d-28"},{"uid":"8d0d-26"},{"uid":"8d0d-24"}]},"8d0d-8":{"id":"/node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js","moduleParts":{"index.production.js":"8d0d-9"},"imported":[],"importedBy":[{"uid":"8d0d-32"},{"uid":"8d0d-26"}]},"8d0d-10":{"id":"/packages/react-router/src/utils.ts","moduleParts":{"index.production.js":"8d0d-11"},"imported":[{"uid":"8d0d-39"}],"importedBy":[{"uid":"8d0d-32"},{"uid":"8d0d-12"},{"uid":"8d0d-26"},{"uid":"8d0d-24"}]},"8d0d-12":{"id":"/packages/react-router/src/path.ts","moduleParts":{"index.production.js":"8d0d-13"},"imported":[{"uid":"8d0d-10"}],"importedBy":[{"uid":"8d0d-32"},{"uid":"8d0d-28"},{"uid":"8d0d-24"}]},"8d0d-14":{"id":"/packages/react-router/src/qss.ts","moduleParts":{"index.production.js":"8d0d-15"},"imported":[],"importedBy":[{"uid":"8d0d-32"},{"uid":"8d0d-18"}]},"8d0d-16":{"id":"\u0000rollupPluginBabelHelpers.js","moduleParts":{"index.production.js":"8d0d-17"},"imported":[],"importedBy":[{"uid":"8d0d-26"}]},"8d0d-18":{"id":"/packages/react-router/src/searchParams.ts","moduleParts":{"index.production.js":"8d0d-19"},"imported":[{"uid":"8d0d-14"}],"importedBy":[{"uid":"8d0d-32"},{"uid":"8d0d-20"}]},"8d0d-20":{"id":"/packages/react-router/src/router.ts","moduleParts":{"index.production.js":"8d0d-21"},"imported":[{"uid":"8d0d-18"}],"importedBy":[{"uid":"8d0d-32"},{"uid":"8d0d-24"}]},"8d0d-22":{"id":"/packages/react-router/src/redirects.ts","moduleParts":{"index.production.js":"8d0d-23"},"imported":[],"importedBy":[{"uid":"8d0d-32"},{"uid":"8d0d-24"}]},"8d0d-24":{"id":"/packages/react-router/src/RouterProvider.tsx","moduleParts":{"index.production.js":"8d0d-25"},"imported":[{"uid":"8d0d-39"},{"uid":"8d0d-20"},{"uid":"8d0d-22"},{"uid":"8d0d-10"},{"uid":"8d0d-26"},{"uid":"8d0d-12"},{"uid":"8d0d-6"},{"uid":"8d0d-32"}],"importedBy":[{"uid":"8d0d-32"},{"uid":"8d0d-26"}]},"8d0d-26":{"id":"/packages/react-router/src/react.tsx","moduleParts":{"index.production.js":"8d0d-27"},"imported":[{"uid":"8d0d-16"},{"uid":"8d0d-39"},{"uid":"8d0d-6"},{"uid":"8d0d-8"},{"uid":"8d0d-28"},{"uid":"8d0d-10"},{"uid":"8d0d-24"}],"importedBy":[{"uid":"8d0d-32"},{"uid":"8d0d-28"},{"uid":"8d0d-24"}]},"8d0d-28":{"id":"/packages/react-router/src/route.ts","moduleParts":{"index.production.js":"8d0d-29"},"imported":[{"uid":"8d0d-6"},{"uid":"8d0d-12"},{"uid":"8d0d-26"}],"importedBy":[{"uid":"8d0d-32"},{"uid":"8d0d-30"},{"uid":"8d0d-26"}]},"8d0d-30":{"id":"/packages/react-router/src/fileRoute.ts","moduleParts":{"index.production.js":"8d0d-31"},"imported":[{"uid":"8d0d-28"}],"importedBy":[{"uid":"8d0d-32"}]},"8d0d-32":{"id":"/packages/react-router/src/index.tsx","moduleParts":{"index.production.js":"8d0d-33"},"imported":[{"uid":"8d0d-4"},{"uid":"8d0d-6"},{"uid":"8d0d-8"},{"uid":"8d0d-34"},{"uid":"8d0d-12"},{"uid":"8d0d-14"},{"uid":"8d0d-28"},{"uid":"8d0d-30"},{"uid":"8d0d-35"},{"uid":"8d0d-20"},{"uid":"8d0d-18"},{"uid":"8d0d-10"},{"uid":"8d0d-26"},{"uid":"8d0d-36"},{"uid":"8d0d-37"},{"uid":"8d0d-22"},{"uid":"8d0d-38"},{"uid":"8d0d-24"}],"importedBy":[{"uid":"8d0d-24"}],"isEntry":true},"8d0d-34":{"id":"/packages/react-router/src/link.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"8d0d-32"}]},"8d0d-35":{"id":"/packages/react-router/src/routeInfo.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"8d0d-32"}]},"8d0d-36":{"id":"/packages/react-router/src/history.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"8d0d-32"}]},"8d0d-37":{"id":"/packages/react-router/src/RouteMatch.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"8d0d-32"}]},"8d0d-38":{"id":"/packages/react-router/src/location.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"8d0d-32"}]},"8d0d-39":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"8d0d-10"},{"uid":"8d0d-26"},{"uid":"8d0d-24"}],"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;
|