@klodd/ds 3.10.4 → 3.10.6
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/js/turbo-nav.js
CHANGED
|
@@ -291,6 +291,13 @@
|
|
|
291
291
|
const guardedSwap = () => { swapDone = true; swap(); };
|
|
292
292
|
try {
|
|
293
293
|
const transition = document.startViewTransition( guardedSwap );
|
|
294
|
+
// Silence rejections on all three transition promises
|
|
295
|
+
// (ready, updateCallbackDone, finished). InvalidStateError
|
|
296
|
+
// can fire on any of them when browser VT-state goes bad.
|
|
297
|
+
// Without this, unhandled rejections show as console
|
|
298
|
+
// exceptions even though navigation otherwise works.
|
|
299
|
+
[ transition.ready, transition.updateCallbackDone, transition.finished ]
|
|
300
|
+
.forEach( ( p ) => p.catch( () => {} ) );
|
|
294
301
|
try { await transition.finished; } catch ( _ ) { /* ignore */ }
|
|
295
302
|
} catch ( _ ) {
|
|
296
303
|
// startViewTransition() threw synchronously (e.g. InvalidStateError).
|
package/package.json
CHANGED
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
# 0014 - Ekonom colored-row/colored-bar migration
|
|
2
2
|
|
|
3
3
|
## Status
|
|
4
|
-
|
|
4
|
+
Closed 2026-05-10.
|
|
5
|
+
|
|
6
|
+
## Decision
|
|
7
|
+
Option B: minimal cleanup.
|
|
8
|
+
|
|
9
|
+
Ekonom uses .cat-list-row without border-left as a deliberate visual
|
|
10
|
+
choice. border-left on categorized rows is unwanted in current apps.
|
|
11
|
+
.colored-row remains in the package for future apps that may want
|
|
12
|
+
the pattern.
|
|
13
|
+
|
|
14
|
+
Dead --row-accent bindings removed from ekonom-domain.css.
|
|
5
15
|
|
|
6
16
|
## Context
|
|
7
17
|
Paketet har .colored-row och .colored-bar med --row-accent/--bar-accent
|