Основная панель: без счётчика устройств, × редактора в своём слоте — ширина шапки не меняется (#647)

Счётчик «N устр.» и ключ count.devices удалены вместе с правилом
`.head .count` (скрывало счётчик на ≤1100 px). Крестик закрытия редактора
вынесен из активной кнопки режима в отдельный слот `.editor-close-slot`
сразу после группы кнопок режимов: 24 × 24 px (--hp-editor-close-size),
одинаковый в редакторе и вне его; вне редактора слот пуст, aria-hidden,
без фокуса и pointer-events. Кликабельная зона × — весь слот (≥24×24, #195),
глиф 13 px; × виден на любой ширине, где видны кнопки режимов.

Смок smoke_toolbar_stable_width (1400/1000/768/390 px, en/ru): ширина
шапки и отступы кнопок стабильны во всех переходах, × виден, попадание
в край зоны закрывает редактор, нет нового overflow. smoke_editor_tabs,
smoke_edge_cases, smoke_hidden_flag переведены на слот/список устройств.
6 мутантов. docs: UX-MODES.md, STYLING-HOOKS.md, data-hp-contract.json.

Issue: #647
User-Visible: yes
This commit is contained in:
Claude
2026-09-25 08:35:57 +00:00
committed by claude[bot]
parent 632d6a2f8e
commit f0ba7c5da9
88 changed files with 905 additions and 691 deletions
+1 -1
View File
@@ -402,7 +402,7 @@ kiosk mode.
Each active editor exposes one primary
`[data-hp="toolbar"][data-kind="plan|device|decor"]`. Tool and command launchers
use `[data-hp="tool"][data-tool="…"]`; the complete `data-tool` vocabulary is
in the JSON inventory. The toolbar X and the X on the active mode tab use
in the JSON inventory. The toolbar X and the header X (its own slot after the mode tabs, #647) use
`[data-hp="editor-close"]` while retaining `data-editor-navigation="view"`.
The three editor mode tabs are `[data-hp="mode-tab"][data-mode="plan|devices|decor"]`