@byline/host-tanstack-start 4.12.0 → 4.13.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.
@@ -9,7 +9,7 @@ const MIN_VISIBLE_MS = 250;
9
9
  const FINISH_EXIT_MS = 350;
10
10
  function RouteProgressBar() {
11
11
  const isNavigating = useRouterState({
12
- select: (s)=>s.isLoading || s.isTransitioning
12
+ select: (s)=>s.isLoading
13
13
  });
14
14
  const [phase, setPhase] = useState('idle');
15
15
  const showTimerRef = useRef(null);
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "private": false,
4
4
  "type": "module",
5
5
  "license": "MPL-2.0",
6
- "version": "4.12.0",
6
+ "version": "4.13.1",
7
7
  "engines": {
8
8
  "node": ">=20.9.0"
9
9
  },
@@ -117,13 +117,13 @@
117
117
  "react-json-view-lite": "^2.5.0",
118
118
  "react-swipeable": "^7.0.2",
119
119
  "zod": "^4.4.3",
120
- "@byline/ai": "4.12.0",
121
- "@byline/client": "4.12.0",
122
- "@byline/auth": "4.12.0",
123
- "@byline/admin": "4.12.0",
124
- "@byline/core": "4.12.0",
125
- "@byline/ui": "4.12.0",
126
- "@byline/i18n": "4.12.0"
120
+ "@byline/admin": "4.13.1",
121
+ "@byline/auth": "4.13.1",
122
+ "@byline/ai": "4.13.1",
123
+ "@byline/core": "4.13.1",
124
+ "@byline/i18n": "4.13.1",
125
+ "@byline/client": "4.13.1",
126
+ "@byline/ui": "4.13.1"
127
127
  },
128
128
  "peerDependencies": {
129
129
  "@tanstack/react-router": "^1.167.0",
@@ -133,12 +133,12 @@
133
133
  "vite": "^8.0.0"
134
134
  },
135
135
  "devDependencies": {
136
- "@biomejs/biome": "2.5.6",
136
+ "@biomejs/biome": "2.5.9",
137
137
  "@rsbuild/plugin-react": "^2.1.0",
138
138
  "@rslib/core": "^0.23.2",
139
- "@tanstack/react-router": "^1.170.18",
140
- "@tanstack/react-start": "^1.168.34",
141
- "@types/node": "^26.1.2",
139
+ "@tanstack/react-router": "^1.170.30",
140
+ "@tanstack/react-start": "^1.168.47",
141
+ "@types/node": "^26.2.0",
142
142
  "@types/react": "19.2.18",
143
143
  "@types/react-dom": "19.2.4",
144
144
  "lightningcss": "^1.33.0",
@@ -148,8 +148,8 @@
148
148
  "rimraf": "^6.1.3",
149
149
  "typescript": "^7.0.2",
150
150
  "typescript-plugin-css-modules": "^5.2.0",
151
- "vite": "^8.2.0",
152
- "vitest": "^4.1.10"
151
+ "vite": "^8.2.1",
152
+ "vitest": "^4.1.11"
153
153
  },
154
154
  "publishConfig": {
155
155
  "access": "public",
@@ -38,8 +38,14 @@ const FINISH_EXIT_MS = 350
38
38
  type Phase = 'idle' | 'visible' | 'finishing'
39
39
 
40
40
  export function RouteProgressBar() {
41
+ // `isLoading` is the whole navigation-in-flight signal: router-core derives
42
+ // it as `status === 'pending'`, set when a navigation starts and cleared in
43
+ // the same batch that commits the new matches. TanStack Router 1.170.30
44
+ // (router-core 1.171.25) removed `isTransitioning` from `RouterState` —
45
+ // Transitioner now uses the standalone `React.startTransition`, which has no
46
+ // pending flag — so there is nothing further to OR in here.
41
47
  const isNavigating = useRouterState({
42
- select: (s) => s.isLoading || s.isTransitioning,
48
+ select: (s) => s.isLoading,
43
49
  })
44
50
  const [phase, setPhase] = useState<Phase>('idle')
45
51
  const showTimerRef = useRef<ReturnType<typeof setTimeout> | null>(null)