//#region src/lib/overlay-layer.d.ts export declare const BOARD_DRAG_OVERLAY_Z_INDEX = 75; /** * The shell's own sticky chrome: its top bar, and anything else the shell pins * around a view. * * Not part of the ladder below, which is for portalled surfaces: this one * stays in flow, so it only ever competes with the sticky chrome a view paints * inside the shell's scroller. A kanban board pins its header at z-20 and a * lane's row at z-10, and when the shell's content column (not the board) is * the scroll container the two tie and paint order decides which one wins. * Stated one step above that, and far below every portalled surface here, * which must still cover the shell. */ export declare const SHELL_CHROME_LAYER_CLASS_NAME = "z-30"; export declare const OVERLAY_LAYER_CLASS_NAMES: { /** Docked composer, suggestion chips, and other in-pane floating chrome. */ readonly chrome: "z-[80]"; /** * In-pane controls floating over the docked composer (a review bar, a * suggestion stepper). The composer's veil blurs everything beneath it with * `backdrop-filter`; one step above `chrome` keeps these controls sharp * regardless of mount order. */ readonly "chrome-raised": "z-[81]"; /** Dialogs, sheets, popovers: above chrome, below toasts. */ readonly default: "z-[85]"; /** Search sits a hair above a plain dialog so its own popup wins. */ readonly search: "z-[86]"; /** * Transient popups — menu, select, combobox, context menus, tooltips. Above everything * including the toast viewport (z-[90]), because any of them can be opened * *from* a dialog, a popover or a toast action and must cover its opener. * They sat at z-50 alongside dialogs, so which one won was decided by portal * mount order: a select inside a filter popover rendered behind it. */ readonly popup: "z-[100]"; /** Historical alias for `popup`; Search's own menus use the same band. */ readonly "search-child": "z-[100]"; }; export type OverlayLayer = keyof typeof OVERLAY_LAYER_CLASS_NAMES; /** * Gap kept between a collision-shifted floating surface and its boundary, in * pixels. Base UI's 5px default puts the popup shadow flush against the * viewport edge once `shift()` has to move a popup that is wider than its * anchor, which reads as a clipped surface rather than a repositioned one. */ export declare const OVERLAY_COLLISION_PADDING = 8; //#endregion