@tanstack/react-router 0.0.1-beta.162 → 0.0.1-beta.163

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.
@@ -7,7 +7,7 @@
7
7
  "name": "index.production.js",
8
8
  "children": [
9
9
  {
10
- "uid": "1c86-167",
10
+ "uid": "830a-169",
11
11
  "name": "\u0000rollupPluginBabelHelpers.js"
12
12
  },
13
13
  {
@@ -15,19 +15,28 @@
15
15
  "children": [
16
16
  {
17
17
  "name": "store/build/esm/index.js",
18
- "uid": "1c86-169"
18
+ "uid": "830a-171"
19
19
  },
20
20
  {
21
21
  "name": "react-store/build/esm/index.js",
22
- "uid": "1c86-171"
22
+ "uid": "830a-173"
23
23
  },
24
24
  {
25
25
  "name": "router-core/build/esm/index.js",
26
- "uid": "1c86-177"
26
+ "uid": "830a-179"
27
27
  },
28
28
  {
29
- "name": "react-router/src/index.tsx",
30
- "uid": "1c86-179"
29
+ "name": "react-router/src",
30
+ "children": [
31
+ {
32
+ "uid": "830a-181",
33
+ "name": "scroll-restoration.tsx"
34
+ },
35
+ {
36
+ "uid": "830a-183",
37
+ "name": "index.tsx"
38
+ }
39
+ ]
31
40
  }
32
41
  ]
33
42
  },
@@ -36,11 +45,11 @@
36
45
  "children": [
37
46
  {
38
47
  "name": "tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js",
39
- "uid": "1c86-173"
48
+ "uid": "830a-175"
40
49
  },
41
50
  {
42
51
  "name": "tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js",
43
- "uid": "1c86-175"
52
+ "uid": "830a-177"
44
53
  }
45
54
  ]
46
55
  }
@@ -50,194 +59,229 @@
50
59
  "isRoot": true
51
60
  },
52
61
  "nodeParts": {
53
- "1c86-167": {
62
+ "830a-169": {
54
63
  "renderedLength": 429,
55
64
  "gzipLength": 238,
56
65
  "brotliLength": 0,
57
- "mainUid": "1c86-166"
66
+ "mainUid": "830a-168"
58
67
  },
59
- "1c86-169": {
68
+ "830a-171": {
60
69
  "renderedLength": 1843,
61
70
  "gzipLength": 644,
62
71
  "brotliLength": 0,
63
- "mainUid": "1c86-168"
72
+ "mainUid": "830a-170"
64
73
  },
65
- "1c86-171": {
74
+ "830a-173": {
66
75
  "renderedLength": 1006,
67
76
  "gzipLength": 479,
68
77
  "brotliLength": 0,
69
- "mainUid": "1c86-170"
78
+ "mainUid": "830a-172"
70
79
  },
71
- "1c86-173": {
80
+ "830a-175": {
72
81
  "renderedLength": 181,
73
82
  "gzipLength": 129,
74
83
  "brotliLength": 0,
75
- "mainUid": "1c86-172"
84
+ "mainUid": "830a-174"
76
85
  },
77
- "1c86-175": {
86
+ "830a-177": {
78
87
  "renderedLength": 44,
79
88
  "gzipLength": 62,
80
89
  "brotliLength": 0,
81
- "mainUid": "1c86-174"
90
+ "mainUid": "830a-176"
82
91
  },
83
- "1c86-177": {
84
- "renderedLength": 56934,
85
- "gzipLength": 13356,
92
+ "830a-179": {
93
+ "renderedLength": 57185,
94
+ "gzipLength": 13483,
86
95
  "brotliLength": 0,
87
- "mainUid": "1c86-176"
96
+ "mainUid": "830a-178"
88
97
  },
89
- "1c86-179": {
98
+ "830a-181": {
99
+ "renderedLength": 4385,
100
+ "gzipLength": 1261,
101
+ "brotliLength": 0,
102
+ "mainUid": "830a-180"
103
+ },
104
+ "830a-183": {
90
105
  "renderedLength": 17058,
91
106
  "gzipLength": 3802,
92
107
  "brotliLength": 0,
93
- "mainUid": "1c86-178"
108
+ "mainUid": "830a-182"
94
109
  }
95
110
  },
96
111
  "nodeMetas": {
97
- "1c86-166": {
112
+ "830a-168": {
98
113
  "id": "\u0000rollupPluginBabelHelpers.js",
99
114
  "moduleParts": {
100
- "index.production.js": "1c86-167"
115
+ "index.production.js": "830a-169"
101
116
  },
102
117
  "imported": [],
103
118
  "importedBy": [
104
119
  {
105
- "uid": "1c86-178"
120
+ "uid": "830a-182"
106
121
  }
107
122
  ]
108
123
  },
109
- "1c86-168": {
124
+ "830a-170": {
110
125
  "id": "/packages/store/build/esm/index.js",
111
126
  "moduleParts": {
112
- "index.production.js": "1c86-169"
127
+ "index.production.js": "830a-171"
113
128
  },
114
129
  "imported": [],
115
130
  "importedBy": [
116
131
  {
117
- "uid": "1c86-170"
132
+ "uid": "830a-172"
118
133
  }
119
134
  ]
120
135
  },
121
- "1c86-170": {
136
+ "830a-172": {
122
137
  "id": "/packages/react-store/build/esm/index.js",
123
138
  "moduleParts": {
124
- "index.production.js": "1c86-171"
139
+ "index.production.js": "830a-173"
125
140
  },
126
141
  "imported": [
127
142
  {
128
- "uid": "1c86-181"
143
+ "uid": "830a-185"
129
144
  },
130
145
  {
131
- "uid": "1c86-168"
146
+ "uid": "830a-170"
132
147
  }
133
148
  ],
134
149
  "importedBy": [
135
150
  {
136
- "uid": "1c86-178"
151
+ "uid": "830a-182"
137
152
  },
138
153
  {
139
- "uid": "1c86-176"
154
+ "uid": "830a-178"
140
155
  }
141
156
  ]
142
157
  },
143
- "1c86-172": {
158
+ "830a-174": {
144
159
  "id": "/node_modules/.pnpm/tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js",
145
160
  "moduleParts": {
146
- "index.production.js": "1c86-173"
161
+ "index.production.js": "830a-175"
147
162
  },
148
163
  "imported": [],
149
164
  "importedBy": [
150
165
  {
151
- "uid": "1c86-178"
166
+ "uid": "830a-182"
152
167
  },
153
168
  {
154
- "uid": "1c86-176"
169
+ "uid": "830a-178"
155
170
  }
156
171
  ]
157
172
  },
158
- "1c86-174": {
173
+ "830a-176": {
159
174
  "id": "/node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js",
160
175
  "moduleParts": {
161
- "index.production.js": "1c86-175"
176
+ "index.production.js": "830a-177"
162
177
  },
163
178
  "imported": [],
164
179
  "importedBy": [
165
180
  {
166
- "uid": "1c86-178"
181
+ "uid": "830a-182"
167
182
  },
168
183
  {
169
- "uid": "1c86-176"
184
+ "uid": "830a-178"
170
185
  }
171
186
  ]
172
187
  },
173
- "1c86-176": {
188
+ "830a-178": {
174
189
  "id": "/packages/router-core/build/esm/index.js",
175
190
  "moduleParts": {
176
- "index.production.js": "1c86-177"
191
+ "index.production.js": "830a-179"
177
192
  },
178
193
  "imported": [
179
194
  {
180
- "uid": "1c86-172"
195
+ "uid": "830a-174"
181
196
  },
182
197
  {
183
- "uid": "1c86-174"
198
+ "uid": "830a-176"
184
199
  },
185
200
  {
186
- "uid": "1c86-170"
201
+ "uid": "830a-172"
187
202
  }
188
203
  ],
189
204
  "importedBy": [
190
205
  {
191
- "uid": "1c86-178"
206
+ "uid": "830a-182"
192
207
  }
193
208
  ]
194
209
  },
195
- "1c86-178": {
210
+ "830a-180": {
211
+ "id": "/packages/react-router/src/scroll-restoration.tsx",
212
+ "moduleParts": {
213
+ "index.production.js": "830a-181"
214
+ },
215
+ "imported": [
216
+ {
217
+ "uid": "830a-184"
218
+ },
219
+ {
220
+ "uid": "830a-182"
221
+ }
222
+ ],
223
+ "importedBy": [
224
+ {
225
+ "uid": "830a-182"
226
+ }
227
+ ]
228
+ },
229
+ "830a-182": {
196
230
  "id": "/packages/react-router/src/index.tsx",
197
231
  "moduleParts": {
198
- "index.production.js": "1c86-179"
232
+ "index.production.js": "830a-183"
199
233
  },
200
234
  "imported": [
201
235
  {
202
- "uid": "1c86-166"
236
+ "uid": "830a-168"
203
237
  },
204
238
  {
205
- "uid": "1c86-180"
239
+ "uid": "830a-184"
206
240
  },
207
241
  {
208
- "uid": "1c86-170"
242
+ "uid": "830a-172"
209
243
  },
210
244
  {
211
- "uid": "1c86-172"
245
+ "uid": "830a-174"
212
246
  },
213
247
  {
214
- "uid": "1c86-174"
248
+ "uid": "830a-176"
215
249
  },
216
250
  {
217
- "uid": "1c86-176"
251
+ "uid": "830a-178"
252
+ },
253
+ {
254
+ "uid": "830a-180"
255
+ }
256
+ ],
257
+ "importedBy": [
258
+ {
259
+ "uid": "830a-180"
218
260
  }
219
261
  ],
220
- "importedBy": [],
221
262
  "isEntry": true
222
263
  },
223
- "1c86-180": {
264
+ "830a-184": {
224
265
  "id": "react",
225
266
  "moduleParts": {},
226
267
  "imported": [],
227
268
  "importedBy": [
228
269
  {
229
- "uid": "1c86-178"
270
+ "uid": "830a-182"
271
+ },
272
+ {
273
+ "uid": "830a-180"
230
274
  }
231
275
  ],
232
276
  "isExternal": true
233
277
  },
234
- "1c86-181": {
278
+ "830a-185": {
235
279
  "id": "use-sync-external-store/shim/with-selector",
236
280
  "moduleParts": {},
237
281
  "imported": [],
238
282
  "importedBy": [
239
283
  {
240
- "uid": "1c86-170"
284
+ "uid": "830a-172"
241
285
  }
242
286
  ],
243
287
  "isExternal": true
@@ -15,6 +15,8 @@ import * as React from 'react';
15
15
  import { NoInfer } from '@tanstack/react-store';
16
16
  export { useStore } from '@tanstack/react-store';
17
17
 
18
+ declare function ScrollRestoration(): null;
19
+
18
20
  declare module '@tanstack/router-core' {
19
21
  interface RegisterRouteComponent<TProps extends Record<string, any>> {
20
22
  RouteComponent: RouteComponent<TProps>;
@@ -150,4 +152,4 @@ declare function useBlocker(message: string, condition?: boolean | any): void;
150
152
  declare function Block({ message, condition, children }: PromptProps): any;
151
153
  declare function shallow<T>(objA: T, objB: T): boolean;
152
154
 
153
- export { AnyRouteComponent, AsyncRouteComponent, Block, ErrorComponent, Link, LinkComponent, LinkPropsOptions, MakeLinkOptions, MakeLinkPropsOptions, MakeMatchRouteOptions, MakeUseMatchRouteOptions, MatchRoute, Navigate, Outlet, PromptProps, RouteComponent, RouteErrorComponent, RouteErrorComponentProps, RouteFromIdOrRoute, RouterProps, RouterProvider, SyncRouteComponent, lazyRouteComponent, matchIdsContext, routerContext, shallow, useBlocker, useDehydrate, useHydrate, useInjectHtml, useLinkProps, useLoader, useMatch, useMatchRoute, useMatches, useNavigate, useParams, useRouteContext, useRouter, useRouterContext, useRouterState, useSearch };
155
+ export { AnyRouteComponent, AsyncRouteComponent, Block, ErrorComponent, Link, LinkComponent, LinkPropsOptions, MakeLinkOptions, MakeLinkPropsOptions, MakeMatchRouteOptions, MakeUseMatchRouteOptions, MatchRoute, Navigate, Outlet, PromptProps, RouteComponent, RouteErrorComponent, RouteErrorComponentProps, RouteFromIdOrRoute, RouterProps, RouterProvider, ScrollRestoration, SyncRouteComponent, lazyRouteComponent, matchIdsContext, routerContext, shallow, useBlocker, useDehydrate, useHydrate, useInjectHtml, useLinkProps, useLoader, useMatch, useMatchRoute, useMatches, useNavigate, useParams, useRouteContext, useRouter, useRouterContext, useRouterState, useSearch };