@tanstack/react-router 0.0.1-beta.203 → 0.0.1-beta.205
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 +961 -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 +1799 -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 +1116 -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 +4 -4
- package/src/RouteMatch.ts +28 -0
- package/src/RouterProvider.tsx +1384 -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":"d6b9-5"},{"name":"react-router/src","children":[{"uid":"d6b9-11","name":"utils.ts"},{"uid":"d6b9-13","name":"path.ts"},{"uid":"d6b9-15","name":"qss.ts"},{"uid":"d6b9-19","name":"searchParams.ts"},{"uid":"d6b9-21","name":"router.ts"},{"uid":"d6b9-23","name":"redirects.ts"},{"uid":"d6b9-25","name":"RouterProvider.tsx"},{"uid":"d6b9-27","name":"react.tsx"},{"uid":"d6b9-29","name":"route.ts"},{"uid":"d6b9-31","name":"fileRoute.ts"},{"uid":"d6b9-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":"d6b9-7"},{"name":"tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js","uid":"d6b9-9"}]},{"uid":"d6b9-17","name":"\u0000rollupPluginBabelHelpers.js"}]}],"isRoot":true},"nodeParts":{"d6b9-5":{"renderedLength":9130,"gzipLength":2727,"brotliLength":0,"mainUid":"d6b9-4"},"d6b9-7":{"renderedLength":181,"gzipLength":129,"brotliLength":0,"mainUid":"d6b9-6"},"d6b9-9":{"renderedLength":44,"gzipLength":62,"brotliLength":0,"mainUid":"d6b9-8"},"d6b9-11":{"renderedLength":4036,"gzipLength":1408,"brotliLength":0,"mainUid":"d6b9-10"},"d6b9-13":{"renderedLength":5666,"gzipLength":1414,"brotliLength":0,"mainUid":"d6b9-12"},"d6b9-15":{"renderedLength":1281,"gzipLength":547,"brotliLength":0,"mainUid":"d6b9-14"},"d6b9-17":{"renderedLength":429,"gzipLength":238,"brotliLength":0,"mainUid":"d6b9-16"},"d6b9-19":{"renderedLength":1706,"gzipLength":575,"brotliLength":0,"mainUid":"d6b9-18"},"d6b9-21":{"renderedLength":5373,"gzipLength":1755,"brotliLength":0,"mainUid":"d6b9-20"},"d6b9-23":{"renderedLength":172,"gzipLength":132,"brotliLength":0,"mainUid":"d6b9-22"},"d6b9-25":{"renderedLength":30851,"gzipLength":7272,"brotliLength":0,"mainUid":"d6b9-24"},"d6b9-27":{"renderedLength":15630,"gzipLength":3722,"brotliLength":0,"mainUid":"d6b9-26"},"d6b9-29":{"renderedLength":2804,"gzipLength":943,"brotliLength":0,"mainUid":"d6b9-28"},"d6b9-31":{"renderedLength":203,"gzipLength":140,"brotliLength":0,"mainUid":"d6b9-30"},"d6b9-33":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"d6b9-32"}},"nodeMetas":{"d6b9-4":{"id":"/packages/history/build/esm/index.js","moduleParts":{"index.production.js":"d6b9-5"},"imported":[],"importedBy":[{"uid":"d6b9-32"}]},"d6b9-6":{"id":"/node_modules/.pnpm/tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js","moduleParts":{"index.production.js":"d6b9-7"},"imported":[],"importedBy":[{"uid":"d6b9-32"},{"uid":"d6b9-28"},{"uid":"d6b9-26"},{"uid":"d6b9-24"}]},"d6b9-8":{"id":"/node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js","moduleParts":{"index.production.js":"d6b9-9"},"imported":[],"importedBy":[{"uid":"d6b9-32"},{"uid":"d6b9-26"}]},"d6b9-10":{"id":"/packages/react-router/src/utils.ts","moduleParts":{"index.production.js":"d6b9-11"},"imported":[{"uid":"d6b9-39"}],"importedBy":[{"uid":"d6b9-32"},{"uid":"d6b9-12"},{"uid":"d6b9-26"},{"uid":"d6b9-24"}]},"d6b9-12":{"id":"/packages/react-router/src/path.ts","moduleParts":{"index.production.js":"d6b9-13"},"imported":[{"uid":"d6b9-10"}],"importedBy":[{"uid":"d6b9-32"},{"uid":"d6b9-28"},{"uid":"d6b9-24"}]},"d6b9-14":{"id":"/packages/react-router/src/qss.ts","moduleParts":{"index.production.js":"d6b9-15"},"imported":[],"importedBy":[{"uid":"d6b9-32"},{"uid":"d6b9-18"}]},"d6b9-16":{"id":"\u0000rollupPluginBabelHelpers.js","moduleParts":{"index.production.js":"d6b9-17"},"imported":[],"importedBy":[{"uid":"d6b9-26"}]},"d6b9-18":{"id":"/packages/react-router/src/searchParams.ts","moduleParts":{"index.production.js":"d6b9-19"},"imported":[{"uid":"d6b9-14"}],"importedBy":[{"uid":"d6b9-32"},{"uid":"d6b9-20"}]},"d6b9-20":{"id":"/packages/react-router/src/router.ts","moduleParts":{"index.production.js":"d6b9-21"},"imported":[{"uid":"d6b9-18"}],"importedBy":[{"uid":"d6b9-32"},{"uid":"d6b9-24"}]},"d6b9-22":{"id":"/packages/react-router/src/redirects.ts","moduleParts":{"index.production.js":"d6b9-23"},"imported":[],"importedBy":[{"uid":"d6b9-32"},{"uid":"d6b9-24"}]},"d6b9-24":{"id":"/packages/react-router/src/RouterProvider.tsx","moduleParts":{"index.production.js":"d6b9-25"},"imported":[{"uid":"d6b9-39"},{"uid":"d6b9-20"},{"uid":"d6b9-22"},{"uid":"d6b9-10"},{"uid":"d6b9-26"},{"uid":"d6b9-12"},{"uid":"d6b9-6"},{"uid":"d6b9-32"}],"importedBy":[{"uid":"d6b9-32"},{"uid":"d6b9-26"}]},"d6b9-26":{"id":"/packages/react-router/src/react.tsx","moduleParts":{"index.production.js":"d6b9-27"},"imported":[{"uid":"d6b9-16"},{"uid":"d6b9-39"},{"uid":"d6b9-6"},{"uid":"d6b9-8"},{"uid":"d6b9-28"},{"uid":"d6b9-10"},{"uid":"d6b9-24"}],"importedBy":[{"uid":"d6b9-32"},{"uid":"d6b9-28"},{"uid":"d6b9-24"}]},"d6b9-28":{"id":"/packages/react-router/src/route.ts","moduleParts":{"index.production.js":"d6b9-29"},"imported":[{"uid":"d6b9-6"},{"uid":"d6b9-12"},{"uid":"d6b9-26"}],"importedBy":[{"uid":"d6b9-32"},{"uid":"d6b9-30"},{"uid":"d6b9-26"}]},"d6b9-30":{"id":"/packages/react-router/src/fileRoute.ts","moduleParts":{"index.production.js":"d6b9-31"},"imported":[{"uid":"d6b9-28"}],"importedBy":[{"uid":"d6b9-32"}]},"d6b9-32":{"id":"/packages/react-router/src/index.tsx","moduleParts":{"index.production.js":"d6b9-33"},"imported":[{"uid":"d6b9-4"},{"uid":"d6b9-6"},{"uid":"d6b9-8"},{"uid":"d6b9-34"},{"uid":"d6b9-12"},{"uid":"d6b9-14"},{"uid":"d6b9-28"},{"uid":"d6b9-30"},{"uid":"d6b9-35"},{"uid":"d6b9-20"},{"uid":"d6b9-18"},{"uid":"d6b9-10"},{"uid":"d6b9-26"},{"uid":"d6b9-36"},{"uid":"d6b9-37"},{"uid":"d6b9-22"},{"uid":"d6b9-38"},{"uid":"d6b9-24"}],"importedBy":[{"uid":"d6b9-24"}],"isEntry":true},"d6b9-34":{"id":"/packages/react-router/src/link.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"d6b9-32"}]},"d6b9-35":{"id":"/packages/react-router/src/routeInfo.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"d6b9-32"}]},"d6b9-36":{"id":"/packages/react-router/src/history.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"d6b9-32"}]},"d6b9-37":{"id":"/packages/react-router/src/RouteMatch.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"d6b9-32"}]},"d6b9-38":{"id":"/packages/react-router/src/location.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"d6b9-32"}]},"d6b9-39":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"d6b9-10"},{"uid":"d6b9-26"},{"uid":"d6b9-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;
|