feat(ui): a title shows for the keyboard's focus as well as the pointer

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-24 22:06:27 +03:00
parent d15cc79822
commit 077b38e684
9 changed files with 78 additions and 12 deletions

View file

@ -509,7 +509,9 @@ applies to both:
(the default), `center` or `end` along that side. Where it would leave its bounds it opens to
the other side and is kept inside them: `within="panel"` names the element, and by default it
is the nearest scroll box (or `overflow` box) around it, else the screen.
- `title="..."` shows a tooltip (`.ui-tooltip`) after the pointer rests for half a second. A
- `title="..."` shows a tooltip (`.ui-tooltip`) after the pointer rests for half a second, or
under the element when the keyboard's focus (`:focus-visible`) has rested on it as long; moving
the pointer gives the tooltip back to the pointer. A
newline or a written `\n` in it starts another line (`.ui-tooltip-text` each).
- `<progress value max>` and `<meter value min max>` fill (`.ui-fill`) as far as their value.
- **Natives** are for what markup cannot say. `ui_native("minimap", measure, draw)` makes