ui-preview: hold <id or key> <pseudo> - hover, active, focus, focus-visible, checked or disabled held on from the next frame on top of the real input, by the element's key (so through model and load), let go with "" or reset; ludic.ui's held.ludic keeps them and the matcher asks it first; protocol-v1.md and smoke.txt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
3d5aaa6f6e
commit
aac58ec6fa
10 changed files with 122 additions and 1 deletions
7
changes/ui-preview-hold.md
Normal file
7
changes/ui-preview-hold.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
bump: minor
|
||||
type: feature
|
||||
**ui-preview `hold`: a pseudo-class held on without input.** `hold "<id or key>" "hover"` (also `active`,
|
||||
`focus`, `focus-visible`, `checked`, `disabled`) shows a story's element as if it were hovered or focused
|
||||
from the next frame, on top of the real input; `tree`, `box` and `rules` answer as if it were real. `""`
|
||||
lets go of one element's holds, `hold "" ""` of all, and `reset` clears them. ludic.ui keeps the holds
|
||||
(`ui_hold`, `ui_hold_clear`, held.ludic); a game holds none, and the matcher's check of an empty table is all it costs.
|
||||
Loading…
Add table
Add a link
Reference in a new issue