const PDS = window.PrestigeServicesDesignSystem_020573;
function PortalSidebar({ active, onNav }) {
const items = [["dashboard", "Dashboard"], ["properties", "Properties"], ["workorders", "Work Orders"], ["projects", "Projects"], ["financials", "Financials"], ["documents", "Documents"]];
return (
);
}
function StatCard({ label, value, delta, tone }) {
const [hover, setHover] = React.useState(false);
return (
setHover(true)} onMouseLeave={() => setHover(false)}
style={{
position: "relative", background: "var(--surface-card)", border: "1px solid var(--border-default)",
padding: "22px 24px", overflow: "hidden",
transform: hover ? "translateY(-6px)" : "none", boxShadow: hover ? "var(--shadow-hover)" : "none",
transition: "transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out)",
}}>
{label}
{value}
{delta &&
{delta}
}
);
}
Object.assign(window, { PortalSidebar, StatCard });