The dialog face of CommandPalette was a modal centered on both axes and
sized to its rows, so its search field moved up and down with each query.
The box is now centered across the window with its top 15% of the window's
height down, and only its bottom edge moves as the rows come and go.
- ui-contract: FloatPlace::top_centered(share) places a float centered
across its bounds with its top at that share of their height. Its room is
held to the height that leaves the same share below it, measured in the
overlay's own bounds, so a body as tall as it may grow (in an embedded
shell, whose region lifts the modal's cap) does not push the top up.
- ui-patterns: the palette's dialog face uses it, at the share that matches
its 70% height cap.
- Tests: the palette's top and field stay put between a 12-row and a 1-row
query; in an embedded shell a 50-row list leaves the top in place; a
bounded float keeps its top for a short and a tall scrolling body.
Every slot and the full-window page take a version function of the app
state, read at the slot's turn in the pass. While it holds and no input
reaches the slot, the slot's chrome pane and its content replay their
last run; None runs the slot in every pass. The body runs every pass.
The MemoProps derive leaves a type parameter that only covered_by fields
name unbound, so a view can hold the shell's &mut S. PaneEdge derives
MemoProps.