Make the pickup box button hold-to-open and hold-to-close

Adds a reusable HoldButton that fires after an 800ms hold (pointer or
Space/Enter) with a fill showing progress, and cancels on early release.
The pickup box button now uses it, with extra space above it on mobile.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-01 11:35:05 +02:00
co-authored by Claude Opus 5.5
parent edd34a00a7
commit 3efde72524
4 changed files with 112 additions and 6 deletions
@@ -315,6 +315,7 @@
@media (max-width: $breakpoint-tablet) {
flex-basis: 100%;
justify-content: center;
margin-top: $space-2;
margin-bottom: $space-2;
}
}