feat(ui): add flat surfaces and compact profile/site controls

This commit is contained in:
DCCONSTRUCTIONS
2026-11-05 12:33:25 +03:00
parent 4904fbe1f7
commit 8addef187b
12 changed files with 98 additions and 10 deletions
+7
View File
@@ -105,3 +105,10 @@ collections and knowledge content remain domain UI. No package source is copied
or maintained as a local component fork. Remove this adapter as those domain
renderers move to direct component composition. CMS CI rejects stale generated
assets; the existing Git-to-canonical-runner deployment foundation is unchanged.
CMS visual follow-up, 2026-11-05: flat theme edges, neutral white default accent,
UserProfileMenu with a session avatar and inbox glyph, FeatureSettingsWindow,
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.
+6
View File
@@ -524,3 +524,9 @@ Exact `RangeControl` editors synchronize external controlled-value changes while
Window: `rect` / `onRectCommit` — восстановление и фиксация геометрии инструментов; см. WINDOWS_AND_LAYERS.md. Иконка `minus` дополняет `plus` для управления масштабом содержимого.
`EditorDockLayout` / `EditorWorkspace`: переносимый редактор с закреплённым основным видом, четырьмя зонами стыковки, разделителями и отрываемыми панелями. Управляемый `EditorDockState` хранится в документе приложения. Шапка редактора не участвует в стыковке; возврат восстанавливает исходный вид. Контракт, keyboard и минимумы — в WINDOWS_AND_LAYERS.md.
## 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.
`Select variant="split" shape="pill"` aligns a compact workspace/site selector with adjacent round actions, preserving the shared dimensions and keyboard behavior.
+4
View File
@@ -76,3 +76,7 @@ other consumers. Light theme retains its legible light surfaces. Reapplying
Feature settings use the same geometry, focus, scrolling and responsive behavior.
Application code owns section names and icons; tracker/VPS sections follow the
text-only Mission equipment menu. Environment settings may retain their icons.
## Flat surfaces
`applyNodedcTheme(root, { theme, accent, edges: "flat" })` removes decorative borders and rims from controls, navigation and portal surfaces. Focus uses a contrasting fill; geometry and focus behavior remain unchanged. CMS uses flat surfaces with a white default accent. Other consumers keep `edges: "default"`.