Files
Mark Tolmacs b505c6f47f feat(editor): place the default UI and host UI through one Region model
Move the region primitives (registry, RegionCluster, <Region>/<Region.Item>)
to ui/regions/. They read UIEnvironment and a RegionRegistryContext instead
of App internals. FloatingStatusStack moves to components/.

The default UI now places its own items with <Region.Item> (priority
Infinity, mobile="hide"), so host items and the editor's share one model.
`order` positions a host item among the editor's, and ties keep mount
order, the editor's first. With ui={false}, the outlets for <MainMenu>,
<DefaultSidebar.Trigger> and renderTopLeftUI/renderTopRightUI stay.

Open top-center and bottom-center to region items:
- top-center: the default toolbar is the region's item at order 0
  (DefaultToolbar). Toolbar folding moves into the toolbar and measures the
  region's whole row, so it folds to make room for host items next to it.
  Those items keep their size. Without the toolbar (ui={false}, view mode),
  items collapse as in other regions: the column track is
  minmax(<fully collapsed>, <fully expanded>). Rename --exc-toolbar-track
  to --exc-top-center-track.
- bottom-center: <Footer> is a collapse="shrink" item that takes the
  leftover width; other items collapse to fit the band's flexible track.
  Remove FooterCenterTunnel.

DefaultToolbar reads app state from context. A region renders an item's
content with its previous props before the new ones are registered, which
closed the tablet freedraw popover as soon as it opened.

Headless example: the toolbar (collapse="render", symbols when collapsed),
the style bar and the command palette trigger are region items in
top-center, bottom-center and top-right. This drops the absolute
positioning and the properties panel offset.
2026-12-04 09:54:57 +00:00
..