feat(ui): standardize collapsible application navigation

This commit is contained in:
Codex
2026-11-15 22:50:37 +03:00
parent d0648014f5
commit ae82c01049
8 changed files with 243 additions and 46 deletions
+7 -3
View File
@@ -779,6 +779,7 @@
"rules": [
"The bottom Launcher service rail is product-specific and is not part of the general application template.",
"Desktop page gap is 20 px and navigation width follows the Launcher 332–352 px range.",
"Shared navigationCollapsed state contracts the left column to a 4.55rem icon rail, preserves workspace identity and leaves the end column full-width. Width and content offset animate together with reduced-motion support.",
"Applications supply routes, profile data, stage media and panel content without changing shell geometry.",
"Light panels use the SEO white surface and shadow tokens rather than a dark shell with inverted text.",
"A layout-level save action belongs to ApplicationPanel.utilityActions and is never duplicated inside individual content cards.",
@@ -867,10 +868,10 @@
"domContract": [
"nodedc-admin-panel"
],
"summary": "Hub-derived left administration panel with context selectors, route navigation, close action and footer identity.",
"summary": "Shared collapsible left administration panel with context selectors, accessible icon rail, route navigation and footer identity.",
"anatomy": [
"eyebrow and title",
"close action",
"collapse/expand and close actions",
"workspace context",
"company context",
"route items",
@@ -879,7 +880,10 @@
"rules": [
"The panel shell, full-bleed pills and icon circles are library geometry; routes and identity data remain application-owned.",
"The desktop panel follows the Launcher 332–352 px width range with a 21.6 px shell radius and a 20 px page gap.",
"Active route state uses the active surface and icon contrast from the theme."
"Active route state uses the active surface and icon contrast from the theme.",
"All left navigation panels collapse to the shared 4.55rem icon rail; title, labels, close and secondary actions disappear. Icon names and hover/focus tooltips remain.",
"ApplicationShell owns synchronized rail/content width and route-independent collapse state without remounting the workspace. Right panels retain their width.",
"Use shell navigationCollapsed/onNavigationCollapsedChange for controlled state; standalone panels accept collapsed/onCollapsedChange. Respect reduced motion."
]
},
{