Build [v1.10.4]

This commit is contained in:
2026-04-15 18:10:04 +03:00
parent 6760ab0abf
commit 2d162ff3c0
10 changed files with 237 additions and 226 deletions

View File

@@ -33,7 +33,7 @@ export default function CategoryManager({
</div>
<button
onClick={onAddCategory}
className="flex items-center gap-2 bg-indigo-600 hover:bg-indigo-500 text-white px-6 py-3 rounded-xl text-xs font-black transition-all shadow-xl shadow-indigo-600/10 active:scale-95 border border-indigo-500/30 tracking-tight"
className="flex items-center gap-2 bg-indigo-600 hover:bg-indigo-500 text-white px-6 py-3 rounded-xl text-sm font-black transition-all shadow-xl shadow-indigo-600/10 active:scale-95 border border-indigo-500/30 tracking-tight"
>
<Plus size={14} /> New Group
</button>
@@ -44,7 +44,7 @@ export default function CategoryManager({
<div key={cat.id} className="p-4 bg-slate-950/40 border border-slate-800/50 rounded-2xl flex items-center justify-between group hover:border-primary/40 transition-all">
<div className="min-w-0 pr-4">
<p className="text-sm font-bold text-slate-200 group-hover:text-primary transition-colors">{cat.name}</p>
<p className="text-[10px] text-slate-500 font-medium mt-0.5">{cat.description || 'General storage'}</p>
<p className="text-xs text-slate-500 font-medium mt-0.5">{cat.description || 'General storage'}</p>
</div>
<div className="flex gap-1 shrink-0">
<button
@@ -84,7 +84,7 @@ export default function CategoryManager({
</div>
<div className="space-y-6">
<div className="space-y-1.5">
<label className="text-[10px] font-black text-slate-500 tracking-tight ml-1">Group Identifier</label>
<label className="text-sm font-bold text-slate-400 tracking-tight ml-1">Group Identifier</label>
<input
type="text"
value={editCatForm.name}
@@ -93,14 +93,14 @@ export default function CategoryManager({
/>
</div>
<div className="space-y-1.5">
<label className="text-[10px] font-black text-slate-500 tracking-tight ml-1">Strategic Description</label>
<label className="text-sm font-bold text-slate-400 tracking-tight ml-1">Strategic Description</label>
<textarea
value={editCatForm.description}
onChange={(e) => setEditCatForm({...editCatForm, description: e.target.value})}
className="w-full bg-slate-950 border border-slate-800 rounded-2xl py-4 px-5 text-sm text-white focus:border-primary outline-none transition-all h-32 resize-none"
/>
</div>
<button onClick={onUpdateCategorySubmit} className="w-full bg-indigo-600 hover:bg-indigo-500 text-white font-black py-4 rounded-2xl shadow-xl shadow-indigo-600/20 active:scale-95 transition-all text-xs mb-4 tracking-tight">
<button onClick={onUpdateCategorySubmit} className="w-full bg-indigo-600 hover:bg-indigo-500 text-white font-black py-4 rounded-2xl shadow-xl shadow-indigo-600/20 active:scale-95 transition-all text-sm mb-4 tracking-tight">
Update Asset Group
</button>
</div>