audit tooltip

This commit is contained in:
2026-11-08 09:02:49 +07:00
parent 65cae95851
commit eb2273f87e
6 changed files with 289 additions and 37 deletions
+10 -1
View File
@@ -14,7 +14,6 @@ is the first downstream consumer; its screens drive the order.
Platform metric adoption continues one component at a time; each stop goes
through the review gate and a gallery pass.
- [ ] **Tooltip platform chrome** — overlay border gate.
- [ ] **Alert platform chrome** — overlay border gate.
- [ ] **Combobox platform chrome** — popup border behind
`Theme::borders.overlays`; the trigger follows the input stop's field
@@ -118,6 +117,16 @@ Gaps surfaced by the signed comparison; ordered by signed's usage.
`Theme::borders.overlays` (and dark mode), taking the surface color
where the platform paints none; the pill rides the popover elevation,
so dark mode's no-shadow rule applies to it too
- [x] Tooltip platform chrome — the panel border behind
`Theme::borders.overlays` (and dark mode), taking the surface color
where the platform paints none, and riding the popover elevation for
the light-mode shadow; anchored tooltips hang below the
hovered parent (`Tooltip::anchored(text, id)`) so they never cover it —
the element records its painted bounds with `record_anchor_bounds`
(`Button` does), the panel hangs below that with the spacing gap, and
it flips above the parent when it would overflow the window bottom
(the panel records its own height after the first frame); unanchored
tooltips fall back to the cursor-offset wrapper
- [x] Button, Checkbox, Switch, Radio + RadioGroup, Toggle, Link, Slider,
Progress, Avatar (image + seeded pixel-art fallback)
- [x] Spinner — painted ring + rotating-icon variant, indeterminate and