react-router 7.5.0 → 7.5.1

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 (40) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist/development/{chunk-KNED5TY2.mjs → chunk-LSOULM7L.mjs} +586 -346
  3. package/dist/development/{future-ldDp5FKH.d.ts → data-CQbyyGzl.d.mts} +1 -11
  4. package/dist/{production/future-ldDp5FKH.d.mts → development/data-CQbyyGzl.d.ts} +1 -11
  5. package/dist/development/dom-export.d.mts +2 -2
  6. package/dist/development/dom-export.d.ts +2 -2
  7. package/dist/development/dom-export.js +479 -311
  8. package/dist/development/dom-export.mjs +18 -6
  9. package/dist/{production/fog-of-war-1hWhK5ey.d.mts → development/fog-of-war-CyHis97d.d.mts} +3 -2
  10. package/dist/development/{fog-of-war-oa9CGk10.d.ts → fog-of-war-D4x86-Xc.d.ts} +3 -2
  11. package/dist/development/index.d.mts +12 -8
  12. package/dist/development/index.d.ts +12 -8
  13. package/dist/development/index.js +587 -346
  14. package/dist/development/index.mjs +4 -2
  15. package/dist/development/lib/types/route-module.d.mts +2 -2
  16. package/dist/development/lib/types/route-module.d.ts +2 -2
  17. package/dist/development/lib/types/route-module.js +1 -1
  18. package/dist/development/lib/types/route-module.mjs +1 -1
  19. package/dist/development/{route-data-5OzAzQtT.d.mts → route-data-OcOrqK13.d.mts} +30 -7
  20. package/dist/{production/route-data-5OzAzQtT.d.mts → development/route-data-OcOrqK13.d.ts} +30 -7
  21. package/dist/production/{chunk-ZIM7OIE3.mjs → chunk-SAWFLE7G.mjs} +586 -346
  22. package/dist/production/{future-ldDp5FKH.d.ts → data-CQbyyGzl.d.mts} +1 -11
  23. package/dist/{development/future-ldDp5FKH.d.mts → production/data-CQbyyGzl.d.ts} +1 -11
  24. package/dist/production/dom-export.d.mts +2 -2
  25. package/dist/production/dom-export.d.ts +2 -2
  26. package/dist/production/dom-export.js +479 -311
  27. package/dist/production/dom-export.mjs +18 -6
  28. package/dist/{development/fog-of-war-1hWhK5ey.d.mts → production/fog-of-war-CyHis97d.d.mts} +3 -2
  29. package/dist/production/{fog-of-war-oa9CGk10.d.ts → fog-of-war-D4x86-Xc.d.ts} +3 -2
  30. package/dist/production/index.d.mts +12 -8
  31. package/dist/production/index.d.ts +12 -8
  32. package/dist/production/index.js +587 -346
  33. package/dist/production/index.mjs +4 -2
  34. package/dist/production/lib/types/route-module.d.mts +2 -2
  35. package/dist/production/lib/types/route-module.d.ts +2 -2
  36. package/dist/production/lib/types/route-module.js +1 -1
  37. package/dist/production/lib/types/route-module.mjs +1 -1
  38. package/dist/production/{route-data-5OzAzQtT.d.ts → route-data-OcOrqK13.d.mts} +30 -7
  39. package/dist/{development/route-data-5OzAzQtT.d.ts → production/route-data-OcOrqK13.d.ts} +30 -7
  40. package/package.json +1 -2
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v7.5.0
2
+ * react-router v7.5.1
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -74,6 +74,7 @@ import {
74
74
  getPatchRoutesOnNavigationFunction,
75
75
  getSingleFetchDataStrategy,
76
76
  href,
77
+ hydrationRouteProperties,
77
78
  invariant,
78
79
  isCookie,
79
80
  isRouteErrorResponse,
@@ -123,7 +124,7 @@ import {
123
124
  useSearchParams,
124
125
  useSubmit,
125
126
  useViewTransitionState
126
- } from "./chunk-KNED5TY2.mjs";
127
+ } from "./chunk-LSOULM7L.mjs";
127
128
  export {
128
129
  Await,
129
130
  BrowserRouter,
@@ -170,6 +171,7 @@ export {
170
171
  deserializeErrors as UNSAFE_deserializeErrors,
171
172
  getPatchRoutesOnNavigationFunction as UNSAFE_getPatchRoutesOnNavigationFunction,
172
173
  getSingleFetchDataStrategy as UNSAFE_getSingleFetchDataStrategy,
174
+ hydrationRouteProperties as UNSAFE_hydrationRouteProperties,
173
175
  invariant as UNSAFE_invariant,
174
176
  mapRouteProperties as UNSAFE_mapRouteProperties,
175
177
  shouldHydrateRouteLoader as UNSAFE_shouldHydrateRouteLoader,
@@ -1,5 +1,5 @@
1
- import { aE as LinkDescriptor, aB as MetaDescriptor, aT as ServerDataFrom, aU as ClientDataFrom, aV as Func, aW as unstable_MiddlewareNextFunction, E as Equal, u as unstable_RouterContextProvider, aX as Pretty } from '../../route-data-5OzAzQtT.mjs';
2
- import { M as MiddlewareEnabled, A as AppLoadContext } from '../../future-ldDp5FKH.mjs';
1
+ import { aE as LinkDescriptor, aB as MetaDescriptor, aV as ServerDataFrom, aW as ClientDataFrom, aX as Func, aY as unstable_MiddlewareNextFunction, E as Equal, u as unstable_RouterContextProvider, M as MiddlewareEnabled, aZ as Pretty } from '../../route-data-OcOrqK13.mjs';
2
+ import { A as AppLoadContext } from '../../data-CQbyyGzl.mjs';
3
3
  import 'react';
4
4
 
5
5
  type IsDefined<T> = Equal<T, undefined> extends true ? false : true;
@@ -1,5 +1,5 @@
1
- import { aE as LinkDescriptor, aB as MetaDescriptor, aT as ServerDataFrom, aU as ClientDataFrom, aV as Func, aW as unstable_MiddlewareNextFunction, E as Equal, u as unstable_RouterContextProvider, aX as Pretty } from '../../route-data-5OzAzQtT.js';
2
- import { M as MiddlewareEnabled, A as AppLoadContext } from '../../future-ldDp5FKH.js';
1
+ import { aE as LinkDescriptor, aB as MetaDescriptor, aV as ServerDataFrom, aW as ClientDataFrom, aX as Func, aY as unstable_MiddlewareNextFunction, E as Equal, u as unstable_RouterContextProvider, M as MiddlewareEnabled, aZ as Pretty } from '../../route-data-OcOrqK13.js';
2
+ import { A as AppLoadContext } from '../../data-CQbyyGzl.js';
3
3
  import 'react';
4
4
 
5
5
  type IsDefined<T> = Equal<T, undefined> extends true ? false : true;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v7.5.0
2
+ * react-router v7.5.1
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v7.5.0
2
+ * react-router v7.5.1
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -206,6 +206,16 @@ type UrlHistoryOptions = {
206
206
  v5Compat?: boolean;
207
207
  };
208
208
 
209
+ /**
210
+ * An augmentable interface users can modify in their app-code to opt into
211
+ * future-flag-specific types
212
+ */
213
+ interface Future {
214
+ }
215
+ type MiddlewareEnabled = Future extends {
216
+ unstable_middleware: infer T extends boolean;
217
+ } ? T : false;
218
+
209
219
  type MaybePromise<T> = T | Promise<T>;
210
220
  /**
211
221
  * Map of routeId -> data returned from a loader/action/error
@@ -289,6 +299,7 @@ declare class unstable_RouterContextProvider {
289
299
  get<T>(context: unstable_RouterContext<T>): T;
290
300
  set<C extends unstable_RouterContext>(context: C, value: C extends unstable_RouterContext<infer T> ? T : never): void;
291
301
  }
302
+ type DefaultContext = MiddlewareEnabled extends true ? unstable_RouterContextProvider : any;
292
303
  /**
293
304
  * @private
294
305
  * Arguments passed to route loader/action functions. Same for now but we keep
@@ -336,12 +347,12 @@ type unstable_MiddlewareFunction<Result = unknown> = (args: DataFunctionArgs<uns
336
347
  /**
337
348
  * Arguments passed to loader functions
338
349
  */
339
- interface LoaderFunctionArgs<Context = any> extends DataFunctionArgs<Context> {
350
+ interface LoaderFunctionArgs<Context = DefaultContext> extends DataFunctionArgs<Context> {
340
351
  }
341
352
  /**
342
353
  * Arguments passed to action functions
343
354
  */
344
- interface ActionFunctionArgs<Context = any> extends DataFunctionArgs<Context> {
355
+ interface ActionFunctionArgs<Context = DefaultContext> extends DataFunctionArgs<Context> {
345
356
  }
346
357
  /**
347
358
  * Loaders and actions can return anything
@@ -351,7 +362,7 @@ type DataFunctionReturnValue = MaybePromise<DataFunctionValue>;
351
362
  /**
352
363
  * Route loader function signature
353
364
  */
354
- type LoaderFunction<Context = any> = {
365
+ type LoaderFunction<Context = DefaultContext> = {
355
366
  (args: LoaderFunctionArgs<Context>, handlerCtx?: unknown): DataFunctionReturnValue;
356
367
  } & {
357
368
  hydrate?: boolean;
@@ -359,7 +370,7 @@ type LoaderFunction<Context = any> = {
359
370
  /**
360
371
  * Route action function signature
361
372
  */
362
- interface ActionFunction<Context = any> {
373
+ interface ActionFunction<Context = DefaultContext> {
363
374
  (args: ActionFunctionArgs<Context>, handlerCtx?: unknown): DataFunctionReturnValue;
364
375
  }
365
376
  /**
@@ -429,11 +440,22 @@ interface ShouldRevalidateFunction {
429
440
  (args: ShouldRevalidateFunctionArgs): boolean;
430
441
  }
431
442
  interface DataStrategyMatch extends AgnosticRouteMatch<string, AgnosticDataRouteObject> {
443
+ /**
444
+ * @private
445
+ */
446
+ _lazyPromises?: {
447
+ middleware: Promise<void> | undefined;
448
+ handler: Promise<void> | undefined;
449
+ route: Promise<void> | undefined;
450
+ };
432
451
  shouldLoad: boolean;
452
+ unstable_shouldRevalidateArgs: ShouldRevalidateFunctionArgs | null;
453
+ unstable_shouldCallHandler(defaultShouldRevalidate?: boolean): boolean;
433
454
  resolve: (handlerOverride?: (handler: (ctx?: unknown) => DataFunctionReturnValue) => DataFunctionReturnValue) => Promise<DataStrategyResult>;
434
455
  }
435
- interface DataStrategyFunctionArgs<Context = any> extends DataFunctionArgs<Context> {
456
+ interface DataStrategyFunctionArgs<Context = DefaultContext> extends DataFunctionArgs<Context> {
436
457
  matches: DataStrategyMatch[];
458
+ unstable_runClientMiddleware: (cb: DataStrategyFunction<Context>) => Promise<Record<string, DataStrategyResult>>;
437
459
  fetcherKey: string | null;
438
460
  }
439
461
  /**
@@ -443,7 +465,7 @@ interface DataStrategyResult {
443
465
  type: "data" | "error";
444
466
  result: unknown;
445
467
  }
446
- interface DataStrategyFunction<Context = any> {
468
+ interface DataStrategyFunction<Context = DefaultContext> {
447
469
  (args: DataStrategyFunctionArgs<Context>): Promise<Record<string, DataStrategyResult>>;
448
470
  }
449
471
  type AgnosticPatchRoutesOnNavigationFunctionArgs<O extends AgnosticRouteObject = AgnosticRouteObject, M extends AgnosticRouteMatch = AgnosticRouteMatch> = {
@@ -990,6 +1012,7 @@ interface RouterInit {
990
1012
  unstable_getContext?: () => MaybePromise<unstable_InitialContext>;
991
1013
  mapRouteProperties?: MapRoutePropertiesFunction;
992
1014
  future?: Partial<FutureConfig>;
1015
+ hydrationRouteProperties?: string[];
993
1016
  hydrationData?: HydrationState;
994
1017
  window?: Window;
995
1018
  dataStrategy?: DataStrategyFunction;
@@ -1713,4 +1736,4 @@ type ServerDataFrom<T> = ServerData<DataFrom<T>>;
1713
1736
  type ClientDataFrom<T> = ClientData<DataFrom<T>>;
1714
1737
  type SerializeFrom<T> = T extends (...args: infer Args) => unknown ? Args extends [ClientLoaderFunctionArgs | ClientActionFunctionArgs] ? ClientDataFrom<T> : ServerDataFrom<T> : T;
1715
1738
 
1716
- export { type FormEncType as $, type ActionFunctionArgs as A, type BlockerFunction as B, type CreateStaticHandlerOptions as C, type DataStrategyFunction as D, type Equal as E, type FutureConfig as F, type GetScrollPositionFunction as G, type HydrationState as H, type InitialEntry as I, type Fetcher as J, type NavigationStates as K, type LoaderFunctionArgs as L, type MetaFunction as M, type NavigateOptions as N, type RouterSubscriber as O, type ParamParseKey as P, type RouterNavigateOptions as Q, type RouterInit as R, type ServerRouteModule as S, type To as T, type UIMatch as U, type RouterFetchOptions as V, type DataStrategyFunctionArgs as W, type DataStrategyMatch as X, type DataStrategyResult as Y, DataWithResponseInit as Z, type ErrorResponse as _, type RouteModules as a, type FormMethod as a0, type HTMLFormMethod as a1, type LazyRouteFunction as a2, type unstable_MiddlewareFunction as a3, type PathParam as a4, type RedirectFunction as a5, type unstable_RouterContext as a6, type ShouldRevalidateFunction as a7, type ShouldRevalidateFunctionArgs as a8, unstable_createContext as a9, type MetaArgs as aA, type MetaDescriptor as aB, type PageLinkDescriptor as aC, type HtmlLinkDescriptor as aD, type LinkDescriptor as aE, type unstable_SerializesTo as aF, createBrowserHistory as aG, invariant as aH, createRouter as aI, ErrorResponseImpl as aJ, DataRouterContext as aK, DataRouterStateContext as aL, FetchersContext as aM, LocationContext as aN, NavigationContext as aO, RouteContext as aP, ViewTransitionContext as aQ, type RouteModule as aR, type History as aS, type ServerDataFrom as aT, type ClientDataFrom as aU, type Func as aV, type unstable_MiddlewareNextFunction as aW, type Pretty as aX, createPath as aa, parsePath as ab, IDLE_NAVIGATION as ac, IDLE_FETCHER as ad, IDLE_BLOCKER as ae, data as af, generatePath as ag, isRouteErrorResponse as ah, matchPath as ai, matchRoutes as aj, redirect as ak, redirectDocument as al, replace as am, resolvePath as an, type DataRouteMatch as ao, type DataRouteObject as ap, type Navigator as aq, type PatchRoutesOnNavigationFunction as ar, type PatchRoutesOnNavigationFunctionArgs as as, type RouteMatch as at, type ClientActionFunction as au, type ClientActionFunctionArgs as av, type ClientLoaderFunction as aw, type ClientLoaderFunctionArgs as ax, type HeadersArgs as ay, type HeadersFunction as az, type Router as b, type RouteManifest as c, type RelativeRoutingType as d, type Location as e, Action as f, type Path as g, type PathPattern as h, type PathMatch as i, type Params as j, type RouteObject as k, type Navigation as l, type RevalidationState as m, type SerializeFrom as n, type Blocker as o, type StaticHandlerContext as p, type StaticHandler as q, type unstable_InitialContext as r, type IndexRouteObject as s, type LoaderFunction as t, unstable_RouterContextProvider as u, type ActionFunction as v, type LinksFunction as w, type NonIndexRouteObject as x, type RouterState as y, type GetScrollRestorationKeyFunction as z };
1739
+ export { type FormEncType as $, type ActionFunctionArgs as A, type BlockerFunction as B, type CreateStaticHandlerOptions as C, type DataStrategyFunction as D, type Equal as E, type FutureConfig as F, type GetScrollPositionFunction as G, type HydrationState as H, type InitialEntry as I, type Fetcher as J, type NavigationStates as K, type LoaderFunctionArgs as L, type MiddlewareEnabled as M, type NavigateOptions as N, type RouterSubscriber as O, type ParamParseKey as P, type RouterNavigateOptions as Q, type RouterInit as R, type ServerRouteModule as S, type To as T, type UIMatch as U, type RouterFetchOptions as V, type DataStrategyFunctionArgs as W, type DataStrategyMatch as X, type DataStrategyResult as Y, DataWithResponseInit as Z, type ErrorResponse as _, type Router as a, type FormMethod as a0, type HTMLFormMethod as a1, type LazyRouteFunction as a2, type unstable_MiddlewareFunction as a3, type PathParam as a4, type RedirectFunction as a5, type unstable_RouterContext as a6, type ShouldRevalidateFunction as a7, type ShouldRevalidateFunctionArgs as a8, unstable_createContext as a9, type MetaArgs as aA, type MetaDescriptor as aB, type PageLinkDescriptor as aC, type HtmlLinkDescriptor as aD, type LinkDescriptor as aE, type Future as aF, type unstable_SerializesTo as aG, createBrowserHistory as aH, invariant as aI, createRouter as aJ, ErrorResponseImpl as aK, DataRouterContext as aL, DataRouterStateContext as aM, FetchersContext as aN, LocationContext as aO, NavigationContext as aP, RouteContext as aQ, ViewTransitionContext as aR, type RouteModules as aS, type RouteModule as aT, type History as aU, type ServerDataFrom as aV, type ClientDataFrom as aW, type Func as aX, type unstable_MiddlewareNextFunction as aY, type Pretty as aZ, createPath as aa, parsePath as ab, IDLE_NAVIGATION as ac, IDLE_FETCHER as ad, IDLE_BLOCKER as ae, data as af, generatePath as ag, isRouteErrorResponse as ah, matchPath as ai, matchRoutes as aj, redirect as ak, redirectDocument as al, replace as am, resolvePath as an, type DataRouteMatch as ao, type DataRouteObject as ap, type Navigator as aq, type PatchRoutesOnNavigationFunction as ar, type PatchRoutesOnNavigationFunctionArgs as as, type RouteMatch as at, type ClientActionFunction as au, type ClientActionFunctionArgs as av, type ClientLoaderFunction as aw, type ClientLoaderFunctionArgs as ax, type HeadersArgs as ay, type HeadersFunction as az, type RouteManifest as b, type RelativeRoutingType as c, type Location as d, Action as e, type Path as f, type PathPattern as g, type PathMatch as h, type Params as i, type RouteObject as j, type Navigation as k, type RevalidationState as l, type SerializeFrom as m, type Blocker as n, type StaticHandlerContext as o, type StaticHandler as p, type unstable_InitialContext as q, type IndexRouteObject as r, type LoaderFunction as s, type ActionFunction as t, unstable_RouterContextProvider as u, type MetaFunction as v, type LinksFunction as w, type NonIndexRouteObject as x, type RouterState as y, type GetScrollRestorationKeyFunction as z };
@@ -206,6 +206,16 @@ type UrlHistoryOptions = {
206
206
  v5Compat?: boolean;
207
207
  };
208
208
 
209
+ /**
210
+ * An augmentable interface users can modify in their app-code to opt into
211
+ * future-flag-specific types
212
+ */
213
+ interface Future {
214
+ }
215
+ type MiddlewareEnabled = Future extends {
216
+ unstable_middleware: infer T extends boolean;
217
+ } ? T : false;
218
+
209
219
  type MaybePromise<T> = T | Promise<T>;
210
220
  /**
211
221
  * Map of routeId -> data returned from a loader/action/error
@@ -289,6 +299,7 @@ declare class unstable_RouterContextProvider {
289
299
  get<T>(context: unstable_RouterContext<T>): T;
290
300
  set<C extends unstable_RouterContext>(context: C, value: C extends unstable_RouterContext<infer T> ? T : never): void;
291
301
  }
302
+ type DefaultContext = MiddlewareEnabled extends true ? unstable_RouterContextProvider : any;
292
303
  /**
293
304
  * @private
294
305
  * Arguments passed to route loader/action functions. Same for now but we keep
@@ -336,12 +347,12 @@ type unstable_MiddlewareFunction<Result = unknown> = (args: DataFunctionArgs<uns
336
347
  /**
337
348
  * Arguments passed to loader functions
338
349
  */
339
- interface LoaderFunctionArgs<Context = any> extends DataFunctionArgs<Context> {
350
+ interface LoaderFunctionArgs<Context = DefaultContext> extends DataFunctionArgs<Context> {
340
351
  }
341
352
  /**
342
353
  * Arguments passed to action functions
343
354
  */
344
- interface ActionFunctionArgs<Context = any> extends DataFunctionArgs<Context> {
355
+ interface ActionFunctionArgs<Context = DefaultContext> extends DataFunctionArgs<Context> {
345
356
  }
346
357
  /**
347
358
  * Loaders and actions can return anything
@@ -351,7 +362,7 @@ type DataFunctionReturnValue = MaybePromise<DataFunctionValue>;
351
362
  /**
352
363
  * Route loader function signature
353
364
  */
354
- type LoaderFunction<Context = any> = {
365
+ type LoaderFunction<Context = DefaultContext> = {
355
366
  (args: LoaderFunctionArgs<Context>, handlerCtx?: unknown): DataFunctionReturnValue;
356
367
  } & {
357
368
  hydrate?: boolean;
@@ -359,7 +370,7 @@ type LoaderFunction<Context = any> = {
359
370
  /**
360
371
  * Route action function signature
361
372
  */
362
- interface ActionFunction<Context = any> {
373
+ interface ActionFunction<Context = DefaultContext> {
363
374
  (args: ActionFunctionArgs<Context>, handlerCtx?: unknown): DataFunctionReturnValue;
364
375
  }
365
376
  /**
@@ -429,11 +440,22 @@ interface ShouldRevalidateFunction {
429
440
  (args: ShouldRevalidateFunctionArgs): boolean;
430
441
  }
431
442
  interface DataStrategyMatch extends AgnosticRouteMatch<string, AgnosticDataRouteObject> {
443
+ /**
444
+ * @private
445
+ */
446
+ _lazyPromises?: {
447
+ middleware: Promise<void> | undefined;
448
+ handler: Promise<void> | undefined;
449
+ route: Promise<void> | undefined;
450
+ };
432
451
  shouldLoad: boolean;
452
+ unstable_shouldRevalidateArgs: ShouldRevalidateFunctionArgs | null;
453
+ unstable_shouldCallHandler(defaultShouldRevalidate?: boolean): boolean;
433
454
  resolve: (handlerOverride?: (handler: (ctx?: unknown) => DataFunctionReturnValue) => DataFunctionReturnValue) => Promise<DataStrategyResult>;
434
455
  }
435
- interface DataStrategyFunctionArgs<Context = any> extends DataFunctionArgs<Context> {
456
+ interface DataStrategyFunctionArgs<Context = DefaultContext> extends DataFunctionArgs<Context> {
436
457
  matches: DataStrategyMatch[];
458
+ unstable_runClientMiddleware: (cb: DataStrategyFunction<Context>) => Promise<Record<string, DataStrategyResult>>;
437
459
  fetcherKey: string | null;
438
460
  }
439
461
  /**
@@ -443,7 +465,7 @@ interface DataStrategyResult {
443
465
  type: "data" | "error";
444
466
  result: unknown;
445
467
  }
446
- interface DataStrategyFunction<Context = any> {
468
+ interface DataStrategyFunction<Context = DefaultContext> {
447
469
  (args: DataStrategyFunctionArgs<Context>): Promise<Record<string, DataStrategyResult>>;
448
470
  }
449
471
  type AgnosticPatchRoutesOnNavigationFunctionArgs<O extends AgnosticRouteObject = AgnosticRouteObject, M extends AgnosticRouteMatch = AgnosticRouteMatch> = {
@@ -990,6 +1012,7 @@ interface RouterInit {
990
1012
  unstable_getContext?: () => MaybePromise<unstable_InitialContext>;
991
1013
  mapRouteProperties?: MapRoutePropertiesFunction;
992
1014
  future?: Partial<FutureConfig>;
1015
+ hydrationRouteProperties?: string[];
993
1016
  hydrationData?: HydrationState;
994
1017
  window?: Window;
995
1018
  dataStrategy?: DataStrategyFunction;
@@ -1713,4 +1736,4 @@ type ServerDataFrom<T> = ServerData<DataFrom<T>>;
1713
1736
  type ClientDataFrom<T> = ClientData<DataFrom<T>>;
1714
1737
  type SerializeFrom<T> = T extends (...args: infer Args) => unknown ? Args extends [ClientLoaderFunctionArgs | ClientActionFunctionArgs] ? ClientDataFrom<T> : ServerDataFrom<T> : T;
1715
1738
 
1716
- export { type FormEncType as $, type ActionFunctionArgs as A, type BlockerFunction as B, type CreateStaticHandlerOptions as C, type DataStrategyFunction as D, type Equal as E, type FutureConfig as F, type GetScrollPositionFunction as G, type HydrationState as H, type InitialEntry as I, type Fetcher as J, type NavigationStates as K, type LoaderFunctionArgs as L, type MetaFunction as M, type NavigateOptions as N, type RouterSubscriber as O, type ParamParseKey as P, type RouterNavigateOptions as Q, type RouterInit as R, type ServerRouteModule as S, type To as T, type UIMatch as U, type RouterFetchOptions as V, type DataStrategyFunctionArgs as W, type DataStrategyMatch as X, type DataStrategyResult as Y, DataWithResponseInit as Z, type ErrorResponse as _, type RouteModules as a, type FormMethod as a0, type HTMLFormMethod as a1, type LazyRouteFunction as a2, type unstable_MiddlewareFunction as a3, type PathParam as a4, type RedirectFunction as a5, type unstable_RouterContext as a6, type ShouldRevalidateFunction as a7, type ShouldRevalidateFunctionArgs as a8, unstable_createContext as a9, type MetaArgs as aA, type MetaDescriptor as aB, type PageLinkDescriptor as aC, type HtmlLinkDescriptor as aD, type LinkDescriptor as aE, type unstable_SerializesTo as aF, createBrowserHistory as aG, invariant as aH, createRouter as aI, ErrorResponseImpl as aJ, DataRouterContext as aK, DataRouterStateContext as aL, FetchersContext as aM, LocationContext as aN, NavigationContext as aO, RouteContext as aP, ViewTransitionContext as aQ, type RouteModule as aR, type History as aS, type ServerDataFrom as aT, type ClientDataFrom as aU, type Func as aV, type unstable_MiddlewareNextFunction as aW, type Pretty as aX, createPath as aa, parsePath as ab, IDLE_NAVIGATION as ac, IDLE_FETCHER as ad, IDLE_BLOCKER as ae, data as af, generatePath as ag, isRouteErrorResponse as ah, matchPath as ai, matchRoutes as aj, redirect as ak, redirectDocument as al, replace as am, resolvePath as an, type DataRouteMatch as ao, type DataRouteObject as ap, type Navigator as aq, type PatchRoutesOnNavigationFunction as ar, type PatchRoutesOnNavigationFunctionArgs as as, type RouteMatch as at, type ClientActionFunction as au, type ClientActionFunctionArgs as av, type ClientLoaderFunction as aw, type ClientLoaderFunctionArgs as ax, type HeadersArgs as ay, type HeadersFunction as az, type Router as b, type RouteManifest as c, type RelativeRoutingType as d, type Location as e, Action as f, type Path as g, type PathPattern as h, type PathMatch as i, type Params as j, type RouteObject as k, type Navigation as l, type RevalidationState as m, type SerializeFrom as n, type Blocker as o, type StaticHandlerContext as p, type StaticHandler as q, type unstable_InitialContext as r, type IndexRouteObject as s, type LoaderFunction as t, unstable_RouterContextProvider as u, type ActionFunction as v, type LinksFunction as w, type NonIndexRouteObject as x, type RouterState as y, type GetScrollRestorationKeyFunction as z };
1739
+ export { type FormEncType as $, type ActionFunctionArgs as A, type BlockerFunction as B, type CreateStaticHandlerOptions as C, type DataStrategyFunction as D, type Equal as E, type FutureConfig as F, type GetScrollPositionFunction as G, type HydrationState as H, type InitialEntry as I, type Fetcher as J, type NavigationStates as K, type LoaderFunctionArgs as L, type MiddlewareEnabled as M, type NavigateOptions as N, type RouterSubscriber as O, type ParamParseKey as P, type RouterNavigateOptions as Q, type RouterInit as R, type ServerRouteModule as S, type To as T, type UIMatch as U, type RouterFetchOptions as V, type DataStrategyFunctionArgs as W, type DataStrategyMatch as X, type DataStrategyResult as Y, DataWithResponseInit as Z, type ErrorResponse as _, type Router as a, type FormMethod as a0, type HTMLFormMethod as a1, type LazyRouteFunction as a2, type unstable_MiddlewareFunction as a3, type PathParam as a4, type RedirectFunction as a5, type unstable_RouterContext as a6, type ShouldRevalidateFunction as a7, type ShouldRevalidateFunctionArgs as a8, unstable_createContext as a9, type MetaArgs as aA, type MetaDescriptor as aB, type PageLinkDescriptor as aC, type HtmlLinkDescriptor as aD, type LinkDescriptor as aE, type Future as aF, type unstable_SerializesTo as aG, createBrowserHistory as aH, invariant as aI, createRouter as aJ, ErrorResponseImpl as aK, DataRouterContext as aL, DataRouterStateContext as aM, FetchersContext as aN, LocationContext as aO, NavigationContext as aP, RouteContext as aQ, ViewTransitionContext as aR, type RouteModules as aS, type RouteModule as aT, type History as aU, type ServerDataFrom as aV, type ClientDataFrom as aW, type Func as aX, type unstable_MiddlewareNextFunction as aY, type Pretty as aZ, createPath as aa, parsePath as ab, IDLE_NAVIGATION as ac, IDLE_FETCHER as ad, IDLE_BLOCKER as ae, data as af, generatePath as ag, isRouteErrorResponse as ah, matchPath as ai, matchRoutes as aj, redirect as ak, redirectDocument as al, replace as am, resolvePath as an, type DataRouteMatch as ao, type DataRouteObject as ap, type Navigator as aq, type PatchRoutesOnNavigationFunction as ar, type PatchRoutesOnNavigationFunctionArgs as as, type RouteMatch as at, type ClientActionFunction as au, type ClientActionFunctionArgs as av, type ClientLoaderFunction as aw, type ClientLoaderFunctionArgs as ax, type HeadersArgs as ay, type HeadersFunction as az, type RouteManifest as b, type RelativeRoutingType as c, type Location as d, Action as e, type Path as f, type PathPattern as g, type PathMatch as h, type Params as i, type RouteObject as j, type Navigation as k, type RevalidationState as l, type SerializeFrom as m, type Blocker as n, type StaticHandlerContext as o, type StaticHandler as p, type unstable_InitialContext as q, type IndexRouteObject as r, type LoaderFunction as s, type ActionFunction as t, unstable_RouterContextProvider as u, type MetaFunction as v, type LinksFunction as w, type NonIndexRouteObject as x, type RouterState as y, type GetScrollRestorationKeyFunction as z };