Build [v1.14.24]

This commit is contained in:
2026-04-25 12:04:02 +03:00
parent 33c1555d8c
commit 3257a2cf48
50 changed files with 837 additions and 845 deletions

View File

@@ -32,7 +32,7 @@ export default function ScannerSection({
return (
<div className="w-full px-1 space-y-3 md:space-y-4">
{/* Mode Switcher */}
<div className="flex p-1.5 bg-surface rounded-2xl shadow-inner w-full gap-1">
<div className="flex p-1.5 bg-surface shadow-inner w-full gap-1">
{[
{ id: 'CHECK_IN', label: 'Check In', icon: ArrowDownCircle },
{ id: 'CHECK_OUT', label: 'Check Out', icon: ArrowUpCircle },
@@ -43,8 +43,8 @@ export default function ScannerSection({
data-testid={m.id === 'CHECK_IN' ? 'operation-checkin' : m.id === 'CHECK_OUT' ? 'operation-checkout' : undefined}
onClick={() => onModeChange(m.id)}
className={cn(
"flex-1 py-3.5 rounded-xl text-xs sm:text-sm font-normal transition-all flex items-center justify-center gap-3",
mode === m.id ? "bg-slate-800 text-primary shadow-lg ring-1 ring-primary/20" : "text-muted hover:text-secondary"
"flex-1 py-3.5 text-xs sm:text-sm font-normal transition-all flex items-center justify-center gap-3",
mode === m.id ? "bg-surface-container text-primary shadow-lg ring-1 ring-primary/20" : "text-secondary hover:text-foreground"
)}
>
<m.icon size={18} className={mode === m.id ? "scale-110 transition-transform" : ""} />
@@ -54,14 +54,14 @@ export default function ScannerSection({
</div>
{/* Scanner Section */}
<section className="glass-card rounded-3xl p-6">
<section className="glass-card p-6">
{showScanner ? (
<div className="space-y-2 md:space-y-3">
<div className="flex justify-between items-center">
<h2 className="text-lg font-normal">scanning...</h2>
<button
onClick={() => onShowScanner(false)}
className="p-2.5 bg-surface border border-slate-800 text-secondary rounded-xl hover:text-rose-500 transition-all active:scale-95"
className="p-2.5 bg-surface border border-outline/30 text-secondary hover:text-error transition-all active:scale-95"
>
<X size={18} />
</button>