@adia-ai/web-modules 0.6.25 → 0.6.26

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,5 +1,11 @@
1
1
  # Changelog — @adia-ai/web-modules
2
2
 
3
+ ## [0.6.26] — 2026-05-22
4
+
5
+ ### Fixed — `editor-sidebar` actually applies the FB-42 `#syncCollapsed` 0-width guard (FB-48)
6
+
7
+ - **The fix described in RESPONSE-42 (2026-05-22) was never applied to source** — RESPONSE-42 incorrectly cited the inbound-ticket commit `18925e3da` as the patch. FB-48 from color-app caught the discrepancy. The actual guard `if (rect.width === 0) return` is now applied to `#syncCollapsed()` in `editor-sidebar/editor-sidebar.js`. Symmetric with the `if (w > 0)` guard that already exists on the width-write branch of the same ResizeObserver callback.
8
+
3
9
  ## [0.6.25] — 2026-05-22
4
10
 
5
11
  ### Maintenance
@@ -171,6 +171,9 @@ class EditorSidebar extends UIElement {
171
171
  #syncCollapsed() {
172
172
  if (!this.#pane) return;
173
173
  const rect = this.#pane.getBoundingClientRect();
174
+ // §FB-42: a display:none host produces width=0 — not a real collapse signal.
175
+ // Symmetric with the `if (w > 0)` guard on the width-write branch above.
176
+ if (rect.width === 0) return;
174
177
  this.collapsed = rect.width <= SNAP_THRESHOLD;
175
178
  }
176
179
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adia-ai/web-modules",
3
- "version": "0.6.25",
3
+ "version": "0.6.26",
4
4
  "description": "AdiaUI composite custom elements \u2014 shell, chat, editor, runtime clusters built from @adia-ai/web-components primitives. Subpath exports per cluster.",
5
5
  "type": "module",
6
6
  "exports": {