@burdenoff/fe-libs 2026.1011.2 → 2026.1011.3
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.
|
@@ -184,7 +184,18 @@ export declare const ASSISTANT_SHEET_BASE_CLASS: string;
|
|
|
184
184
|
export declare const ASSISTANT_SHEET_COMPACT_CLASS = "h-[60vh] max-h-[60vh]";
|
|
185
185
|
/** Phone, expanded from the grab handle. */
|
|
186
186
|
export declare const ASSISTANT_SHEET_EXPANDED_CLASS = "h-[88vh] max-h-[88vh]";
|
|
187
|
-
/**
|
|
187
|
+
/**
|
|
188
|
+
* Desktop floating window, rising from the launcher, clamped to the viewport.
|
|
189
|
+
*
|
|
190
|
+
* ★★ THE HEIGHT CLAMP LEAVES THE SHELL HEADER FREE (BOFF-9092). The window is
|
|
191
|
+
* anchored `bottom-24` (6rem) and is 680px tall, shrinking only to
|
|
192
|
+
* `max-h`. That used to be `100vh - 8rem`, which puts the top edge at 32px on
|
|
193
|
+
* any viewport shorter than ~808px, UNDER the 56px shell header (`z-[100]`):
|
|
194
|
+
* the header covered the window's own header, its History and Close controls.
|
|
195
|
+
* The clamp now subtracts the bottom anchor, the header (`--assistant-overlay-top`,
|
|
196
|
+
* which the overlay sets on the sheet for both layouts; 56px when absent) and a
|
|
197
|
+
* 0.5rem breathing gap, so the top edge never rises above `header + 8px`.
|
|
198
|
+
*/
|
|
188
199
|
export declare const ASSISTANT_FLOATING_DESKTOP_CLASS: string;
|
|
189
200
|
/**
|
|
190
201
|
* Desktop docked side panel, from below the shell header to the bottom edge.
|
|
@@ -41,7 +41,7 @@ var v = 520, y = 24, b = "--assistant-panel-inset";
|
|
|
41
41
|
function x(e) {
|
|
42
42
|
return !e.isOpen || !e.isDesktop ? 0 : e.docked ? 440 : 544;
|
|
43
43
|
}
|
|
44
|
-
var S = "fixed z-50 flex flex-col overflow-hidden border border-border-default bg-bg-surface shadow-2xl inset-x-0 bottom-0 top-auto rounded-t-2xl animate-in slide-in-from-bottom-4 fade-in duration-200", C = "h-[60vh] max-h-[60vh]", w = "h-[88vh] max-h-[88vh]", T = "sm:inset-auto sm:top-auto sm:bottom-24 sm:right-6 sm:rounded-2xl sm:h-[680px] sm:max-h-[calc(100vh-
|
|
44
|
+
var S = "fixed z-50 flex flex-col overflow-hidden border border-border-default bg-bg-surface shadow-2xl inset-x-0 bottom-0 top-auto rounded-t-2xl animate-in slide-in-from-bottom-4 fade-in duration-200", C = "h-[60vh] max-h-[60vh]", w = "h-[88vh] max-h-[88vh]", T = "sm:inset-auto sm:top-auto sm:bottom-24 sm:right-6 sm:rounded-2xl sm:h-[680px] sm:max-h-[calc(100vh-6rem-var(--assistant-overlay-top,56px)-0.5rem)] sm:w-[520px] sm:max-w-[calc(100vw-2rem)]", E = "sm:left-auto sm:right-0 sm:top-[var(--assistant-overlay-top)] sm:bottom-0 sm:rounded-none sm:h-auto sm:max-h-none sm:w-[440px] sm:max-w-[calc(100vw-2rem)]";
|
|
45
45
|
function D(e) {
|
|
46
46
|
return [
|
|
47
47
|
S,
|