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

@@ -16,15 +16,15 @@ export function Toast({ type, message, onClose, duration = 3000 }: ToastProps) {
}, [onClose, duration]);
const bgColor = {
success: 'bg-green-500',
error: 'bg-red-500',
warning: 'bg-yellow-500',
info: 'bg-blue-500',
success: 'bg-success',
error: 'bg-error',
warning: 'bg-warning',
info: 'bg-primary',
}[type];
return (
<div
className={`fixed bottom-4 right-4 ${bgColor} text-white px-4 py-2 rounded shadow-lg z-50 animate-fade-in`}
className={`fixed bottom-4 right-4 ${bgColor} text-foreground px-4 py-2 shadow-lg z-50 animate-fade-in`}
role="alert"
aria-live="polite"
>