mirror of
https://github.com/hanzoai/ui.git
synced 2026-11-21 00:18:41 +00:00
A new source-only @hanzo/gui package: a pannable/zoomable board of service nodes (ProjectCanvas over @xyflow/react) with live status (ServiceStatusBadge), metric sparklines (MetricSparkline), deploy timelines (DeployTimeline), an environment switcher (EnvSwitcher), and a tabbed service detail drawer (ServiceDetailDrawer) — plus the ServiceNode card and SourceRef/ReplicaPill primitives. Presentational + data-prop-driven; brand/white-label aware via the design tokens (semantic status palette overridable per brand). Pure folds (status normalization, layered graph layout, relative time) are unit-tested (17 tests). React-free logic re-exported at @hanzo/canvas/pure so data mappers and their tests never pull in JSX/xyflow. Co-authored-by: hanzo-dev <[email protected]>
22 lines
629 B
JSON
22 lines
629 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"jsx": "react-jsx",
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true
|
|
},
|
|
"include": ["src", "gui.config.ts", "gui.d.ts"],
|
|
"exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"]
|
|
}
|