feat(ui): support window header actions and disclosure collapse icon

This commit is contained in:
Codex
2026-09-30 20:51:17 +03:00
parent 1b63366d2e
commit 77091fda98
10 changed files with 31 additions and 4 deletions
+2 -2
View File
@@ -244,7 +244,7 @@
"domPackage": "@nodedc/ui-dom",
"domExports": ["createModalController"],
"domContract": ["nodedc-overlay", "nodedc-window"],
"summary": "Canonical controlled window for modal and right-side panel presentations.",
"summary": "Canonical controlled window for modal and right-side panel presentations, with optional headerActions beside close.",
"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.",
@@ -373,7 +373,7 @@
"id": "feature-settings-window",
"status": "baseline",
"package": "@nodedc/ui-react",
"exports": ["FeatureSettingsWindow", "FeatureSettingsSection"],
"exports": ["FeatureSettingsWindow", "FeatureSettingsSection", "FeatureSettingsWindowProps"],
"domContract": ["nodedc-feature-settings-window", "nodedc-feature-settings__navigation", "nodedc-feature-settings__content"],
"summary": "Engine-derived large settings window with module identity, grouped feature navigation and application-owned content.",
"behavior": ["canonical modal focus behavior", "controlled active section", "grouped navigation", "responsive single-column layout"],
+1 -1
View File
@@ -18,7 +18,7 @@
"id": "navigation",
"label": "Навигация",
"referenceSources": ["launcher", "engine", "bim-viewer"],
"names": ["chevron-left", "chevron-right", "chevron-down", "grid", "list", "sliders", "search"]
"names": ["chevron-left", "chevron-right", "chevron-down", "chevron-up", "grid", "list", "sliders", "search"]
},
{
"id": "editing",