@tanstack/router-core 1.120.4-alpha.13 → 1.120.4-alpha.15

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.
@@ -513,6 +513,7 @@ export declare class RouterCore<in out TRouteTree extends AnyRoute, in out TTrai
513
513
  */
514
514
  constructor(options: RouterConstructorOptions<TRouteTree, TTrailingSlashOption, TDefaultStructuralSharingOption, TRouterHistory, TDehydrated>);
515
515
  startTransition: StartTransitionFn;
516
+ isShell: boolean;
516
517
  update: UpdateFn<TRouteTree, TTrailingSlashOption, TDefaultStructuralSharingOption, TRouterHistory, TDehydrated>;
517
518
  get state(): RouterState<TRouteTree, import('./Matches.cjs').RouteMatch<any, any, any, any, any, any, any>>;
518
519
  buildRouteTree: () => void;
@@ -513,6 +513,7 @@ export declare class RouterCore<in out TRouteTree extends AnyRoute, in out TTrai
513
513
  */
514
514
  constructor(options: RouterConstructorOptions<TRouteTree, TTrailingSlashOption, TDefaultStructuralSharingOption, TRouterHistory, TDehydrated>);
515
515
  startTransition: StartTransitionFn;
516
+ isShell: boolean;
516
517
  update: UpdateFn<TRouteTree, TTrailingSlashOption, TDefaultStructuralSharingOption, TRouterHistory, TDehydrated>;
517
518
  get state(): RouterState<TRouteTree, import('./Matches.js').RouteMatch<any, any, any, any, any, any, any>>;
518
519
  buildRouteTree: () => void;
@@ -46,6 +46,7 @@ class RouterCore {
46
46
  this.isScrollRestoring = false;
47
47
  this.isScrollRestorationSetup = false;
48
48
  this.startTransition = (fn) => fn();
49
+ this.isShell = false;
49
50
  this.update = (newOptions) => {
50
51
  var _a;
51
52
  if (newOptions.notFoundRoute) {
@@ -100,6 +101,9 @@ class RouterCore {
100
101
  "selector(:active-view-transition-type(a)"
101
102
  );
102
103
  }
104
+ if (this.latestLocation.search.__TSS_SHELL) {
105
+ this.isShell = true;
106
+ }
103
107
  };
104
108
  this.buildRouteTree = () => {
105
109
  const { routesById, routesByPath, flatRoutes } = processRouteTree({