import React from 'react'; // ========================================================== // COMPACT UI COMPONENTS // ========================================================== const SectionTitle = ({ children }: { children: React.ReactNode }) => (

{children}

); const CompactCard = ({ title, children, footer }: any) => (
{title && (
{title}
)}
{children}
{footer &&
{footer}
}
); const Badge = ({ children, variant = 'info' }: any) => { const styles: any = { success: 'bg-green-50 text-green-700 border-green-200', error: 'bg-red-50 text-red-700 border-red-200', warning: 'bg-amber-50 text-amber-700 border-amber-200', info: 'bg-brand-50 text-brand-700 border-brand-200', }; return ( {children} ); }; // ========================================================== // MAIN STYLE SHOWCASE // ========================================================== export function StyleGuideTree() { return (
{/* GLOBAL ACTION BAR */}
ERP-SYSTEM

Financial Postings & Asset Management

{/* ROW 1: ANALYTICS & STATS (Top Row) */} {[ { label: 'Total Debit', val: 'IDR 4.500.000.000', sub: '24 Entries Today', color: 'text-gray-900' }, { label: 'Total Credit', val: 'IDR 4.500.000.000', sub: 'Balanced', color: 'text-green-600' }, { label: 'Unposted Items', val: '12 Documents', sub: 'High Priority', color: 'text-amber-600' }, { label: 'System Health', val: '99.9%', sub: 'No Latency', color: 'text-brand-600' }, ].map((stat, i) => (

{stat.label}

{stat.val}

{stat.sub}

))} {/* ROW 2: FORMS & CONTROLS (Left Panel) */}
{/* ROW 3: COMPLEX DATA TABLE (Center Panel) */}
Line Item Entries (001 - 005)
{[10, 20, 30, 40, 50].map((item, idx) => ( ))}
Item GL Account Cost Center Amount (LC) Ind. Status
{item}
11000{idx}
Petty Cash - Main Office
CC-HEAD-01
{(item * 1500000).toLocaleString('id-ID')} {idx % 2 === 0 ? 'S' : 'H'} {idx === 2 ? 'Review' : 'Valid'}

Total Debit

IDR 450.000.000

Total Credit

IDR 450.000.000

{/* MESSAGE LOGS / ACTIVITY */}
{[ { t: '09:41', u: 'System', m: 'Auto-balancing completed successfully.' }, { t: '10:05', u: 'Admin', m: 'Modified Cost Center on Item 20.' }, ].map((log, i) => (
{log.t} {log.u}: {log.m}
))}
+ DROP FILES HERE
📄 invoice_001.pdf ×
); }