fix(ui): compose canonical three-part profile header

This commit is contained in:
DCCONSTRUCTIONS
2026-11-05 12:51:53 +03:00
parent 8addef187b
commit fdc93a3136
5 changed files with 27 additions and 7 deletions
+3
View File
@@ -112,3 +112,6 @@ ColorField, pill-shaped split Select, and the canonical six-dot DragHandle.
UI preferences belong to browser-local storage; site content and deployment
credentials stay in the existing CMS model. Immutable npm snapshots retain
package semver and are identified by source commit plus archive SHA-256.
CMS uses `UserProfileMenu variant="header"`: profile label, menu icon, avatar.
The menu opens settings; the application does not add a fourth action.
+1 -1
View File
@@ -527,6 +527,6 @@ Window: `rect` / `onRectCommit` — восстановление и фиксац
## Flat surface profile and profile trigger
The shared theme supports `edges: "flat"` for borderless surfaces, including portal windows. Keyboard focus changes the fill and foreground instead of adding an outline. The living catalog exposes this alongside the Mission appearance switch. `UserProfileMenu.triggerIcon` accepts a canonical icon between the label and avatar; CMS uses `triggerLabel="Профиль"` and `triggerIcon="inbox"`, followed by a separate settings IconButton.
The shared theme supports `edges: "flat"` for borderless surfaces, including portal windows. Keyboard focus changes the fill and foreground instead of adding an outline. The living catalog exposes this alongside the Mission appearance switch. `UserProfileMenu variant="header"` composes the canonical profile label, independent inbox/menu button and avatar. CMS puts settings inside that menu. No additional settings button or HeaderProfile wrapper is needed; spacing comes from existing HeaderProfileButton and IconButton geometry.
`Select variant="split" shape="pill"` aligns a compact workspace/site selector with adjacent round actions, preserving the shared dimensions and keyboard behavior.