feat(ui): add command terminal icon and align window footer actions

This commit is contained in:
Codex
2026-09-28 18:43:06 +03:00
parent 9aa6f949b0
commit 1b63366d2e
7 changed files with 19 additions and 4 deletions
+2
View File
@@ -247,6 +247,7 @@
"summary": "Canonical controlled window for modal and right-side panel presentations.",
"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.",
"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.",
@@ -429,6 +430,7 @@
"variants": ["14 px", "16 px", "18 px"],
"rules": [
"Use semantic names from registry/icons.json.",
"Use terminal for a command console or command journal entry; activity remains telemetry and health.",
"Use layers for visibility controls of map or visual source layers; settings remains general configuration.",
"The containing component owns surface, hit target and state; the icon owns only the glyph and uses the canonical 16 px default without an extra CSS scale.",
"Do not copy complete Lucide or Font Awesome catalogs into an application."
+1 -1
View File
@@ -42,7 +42,7 @@
"id": "content",
"label": "Контент",
"referenceSources": ["seo", "bim-viewer", "engine"],
"names": ["camera", "plan", "play", "stop", "image", "video", "file", "folder", "clipboard", "settings"]
"names": ["camera", "plan", "play", "stop", "image", "video", "file", "folder", "clipboard", "settings", "terminal"]
}
],
"rules": [