@burdenoff/fe-libs 2026.911.2 → 2026.911.4
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.
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Which of the panel's full-surface overlays is showing.
|
|
3
3
|
*
|
|
4
4
|
* ★★ THEY ARE MUTUALLY EXCLUSIVE, and that is not a style choice. The history
|
|
5
|
-
* drawer (`AssistantConversationList.tsx:
|
|
6
|
-
* (`AssistantPreviewOverlay.tsx:
|
|
5
|
+
* drawer (`AssistantConversationList.tsx:87`) and the preview surface
|
|
6
|
+
* (`preview/AssistantPreviewOverlay.tsx:145`) are BOTH `absolute inset-0 z-10` with an
|
|
7
7
|
* opaque `bg-bg-surface`, inside the same relative panel. Equal z-index means
|
|
8
8
|
* the later one in DOM order simply paints over the earlier one, so allowing
|
|
9
9
|
* both produces three separate defects at once:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOverlayFocus.d.ts","sourceRoot":"","sources":["../../../../src/shared/assistant/ui/useOverlayFocus.ts"],"names":[],"mappings":"AAmDA,wBAAgB,eAAe,CAAC,CAAC,SAAS,WAAW;AACnD,8EAA8E;AAC9E,iBAAiB,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"useOverlayFocus.d.ts","sourceRoot":"","sources":["../../../../src/shared/assistant/ui/useOverlayFocus.ts"],"names":[],"mappings":"AAmDA,wBAAgB,eAAe,CAAC,CAAC,SAAS,WAAW;AACnD,8EAA8E;AAC9E,iBAAiB,CAAC,EAAE,MAAM,uCAgE3B"}
|
|
@@ -9,7 +9,9 @@ function a(e) {
|
|
|
9
9
|
let t = document.activeElement;
|
|
10
10
|
if (!(n && (n === t || n.contains(t)))) return;
|
|
11
11
|
let r = e ? i?.querySelector(`[data-testid="${e}"]`) : null;
|
|
12
|
-
(r?.isConnected ? r : i)?.focus({ preventScroll: !0 })
|
|
12
|
+
(r?.isConnected ? r : i)?.focus({ preventScroll: !0 });
|
|
13
|
+
let a = document.activeElement;
|
|
14
|
+
i && a !== n && !n?.contains(a) && (i === a || i.contains(a)) || i?.focus({ preventScroll: !0 });
|
|
13
15
|
};
|
|
14
16
|
}, [e]), t;
|
|
15
17
|
}
|