@adia-ai/web-modules 0.7.27 → 0.7.28

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/CHANGELOG.md CHANGED
@@ -1,4 +1,12 @@
1
1
  # Changelog — @adia-ai/web-modules
2
+ ## [0.7.28] — 2026-07-14
3
+
4
+ ### Fixed — GH #223, editor-sidebar `expand()` permanent wedge
5
+ - **`editor/editor-sidebar/editor-sidebar.js` — `expand()` no longer permanently wedges after its own transition.** `expand()` sets the pane's target width, kicking off `pane-ui`'s own CSS width transition (`editor-shell.bespoke.css`). Early `ResizeObserver` samples mid-transition are legitimately still `<= SNAP_THRESHOLD` while animating TOWARD the (above-threshold) target — `#syncCollapsed()` couldn't tell that apart from a genuine drag-to-collapse settle, so it flipped `[collapsed]` back to `true` mid-flight. That re-matches the `!important` collapsed-width CSS rule, which snaps the pane straight back to 48px and permanently interrupts the transition — no further resize ever occurs to self-correct, making `expand()`/`toggle()` silent no-ops thereafter. Fixed with an `#expandInFlight` flag (set by `expand()`, cleared by the pane's own `transitionend` — or a bounded fallback timer sized to the actual computed transition-duration, in case an interrupted transition doesn't fire `transitionend`) that suppresses collapse-inference for the duration of an explicit `expand()`'s own transition; a genuinely small sample is trusted normally once the flag clears. New tests: 6 cases (mid-transition suppression, `transitionend` settling + resumed normal inference afterward, the timer fallback, the zero-duration no-transition-to-race case).
6
+
7
+ ### Maintenance
8
+ - **`dist/everything.min.js` rebuilt** to inline the `editor-sidebar.js` fix above.
9
+
2
10
  ## [0.7.27] — 2026-07-12
3
11
 
4
12
  ### Lockstep