test: v0.3.0 z_tier + persistent + input_block assertions

Add 25 new W.2 assertions covering panel v0.3.0 features:
- persistent flag auto-opens at register-time
- z_tier render-order hud->normal->top
- within-tier open-order preserved
- input_block='none' passes through (no handler call)
- input_block='self' hit-tests within bounds
- input_block='all' swallows outside-clicks (modal block)
- persistent + close() no-op when focused is persistent
- close(id) explicit DOES close persistent
- Loud-Error on unknown z_tier
- Loud-Error on unknown input_block
- default input_block per tier (hud=none, normal=self, top=all)
- point_in_any_panel public API

Total: 79 assertions pass. Manifest bumped to 0.3.0 + panel-dep to 0.3.0.
This commit is contained in:
Calic
2026-06-15 02:25:52 +02:00
parent ce46125435
commit 07f55c6412
3 changed files with 253 additions and 11 deletions

View File

@@ -1,9 +1,9 @@
{
"id": "lib-core.panel-test",
"role": "test",
"version": "0.2.0",
"version": "0.3.0",
"api_min": "0.1",
"deps": [
{"id": "lib-core.panel", "version": "0.2.0"}
{"id": "lib-core.panel", "version": "0.3.0"}
]
}