docs(ui): record narrow modal gutter contract

This commit is contained in:
Codex
2026-09-30 21:34:29 +03:00
parent 2ee34ac912
commit 2d23a0262e
+1
View File
@@ -248,6 +248,7 @@
"behavior": ["portal to body", "focus entry", "modal-only focus trap", "focus restore", "Escape close", "backdrop close policy", "modal-only body scroll lock", "optional bounded dragging for modeless inspectors"],
"rules": [
"WindowFooterActions aligns modal actions to the trailing edge, including a footer with only one action group; actions wrap within narrow windows.",
"Centered windows at narrow widths subtract both overlay gutters from their maximum width and height.",
"Open state belongs to the application; focus/layer behavior belongs to the component.",
"The same window contract is used by Launcher, CMS and SEO; theme variables supply color differences.",
"A right-side inspector is modeless by default: no dimming, no backdrop blur, no backdrop close, no focus trap and no body scroll lock.",