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

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/router-core",
3
- "version": "1.120.4-alpha.13",
3
+ "version": "1.120.4-alpha.19",
4
4
  "description": "Modern and scalable routing for React applications",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
package/src/link.ts CHANGED
@@ -424,6 +424,7 @@ export type ToSubOptionsProps<
424
424
  hash?: true | Updater<string>
425
425
  state?: true | NonNullableUpdater<ParsedHistoryState, HistoryState>
426
426
  from?: FromPathOption<TRouter, TFrom> & {}
427
+ relative?: 'route' | 'path'
427
428
  }
428
429
 
429
430
  export type ParamsReducerFn<
package/src/router.ts CHANGED
@@ -844,6 +844,8 @@ export class RouterCore<
844
844
  // router can be used in a non-react environment if necessary
845
845
  startTransition: StartTransitionFn = (fn) => fn()
846
846
 
847
+ isShell = false
848
+
847
849
  update: UpdateFn<
848
850
  TRouteTree,
849
851
  TTrailingSlashOption,
@@ -932,6 +934,10 @@ export class RouterCore<
932
934
  'selector(:active-view-transition-type(a)',
933
935
  )
934
936
  }
937
+
938
+ if ((this.latestLocation.search as any).__TSS_SHELL) {
939
+ this.isShell = true
940
+ }
935
941
  }
936
942
 
937
943
  get state() {