From 2d23a0262e869adb4c6850abdc353c71facc2ca4 Mon Sep 17 00:00:00 2001 From: Codex Date: Wed, 30 Sep 2026 21:34:29 +0300 Subject: [PATCH] docs(ui): record narrow modal gutter contract --- registry/components.json | 1 + 1 file changed, 1 insertion(+) diff --git a/registry/components.json b/registry/components.json index 9a420d5..cefaef5 100644 --- a/registry/components.json +++ b/registry/components.json @@ -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.",