Files
ui/pkgs/dashboard/package.json
zeekayandHanzo Dev 14781939e2 ui: move to the 8.x gui lineage, and fix the 39 errors that predate it (8.0.35)
The gui deps pinned ^7.3.0/^0.1.0, which cannot resolve to 8.x — a consumer
would have installed a 7.x copy alongside the 8.x one, which is the version
split that broke rendering before. Peer floors move to >=8.0.0 so the split
cannot re-form.

The build was already red at 8.0.33 (39 errors, unchanged by the bump).
Cause: pkgs/canvas augments GuiCustomConfig but never declared
@hanzogui/core, and TS drops a `declare module` whose package it cannot
resolve — silently, so every shorthand style prop went untyped and even
`bg` and `p` read as nonexistent. Declaring it fixes 36.

The last 3 are real: Switch and Checkbox are styled() components whose prop
types are enumerated explicitly, so they never accept the config's shorthand
vocabulary. They now use the canonical longhand names.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-30 20:43:19 -07:00

54 lines
1.7 KiB
JSON

{
"name": "@hanzo/dashboard",
"version": "0.1.0",
"type": "module",
"description": "Hanzo Dashboard — the reusable dashboard layer on @hanzo/gui: monochrome SVG charts, a videogame-like LivingOverview (count-up KPIs, live sparklines, streaming feed, health), the ProductLanding kit, and a RailwayPipeline deploy animation. Pure (data via props/loaders), typed, reduced-motion-guarded. Extracted from the Hanzo Cloud Console so every Hanzo app composes ONE dashboard system.",
"exports": {
".": {
"types": "./src/index.ts",
"default": "./src/index.ts"
},
"./dashboard.css": "./src/dashboard.css"
},
"main": "./src/index.ts",
"module": "./src/index.ts",
"types": "./src/index.ts",
"sideEffects": [
"*.css"
],
"files": [
"src"
],
"scripts": {
"tc": "tsc --noEmit",
"typecheck": "tsc --noEmit",
"build": "tsc --outDir dist --declaration --emitDeclarationOnly false --module ESNext --moduleResolution bundler --jsx react-jsx --esModuleInterop true --skipLibCheck true --sourceMap true",
"test": "bun test"
},
"peerDependencies": {
"@hanzo/gui": ">=8.0.0",
"@hanzogui/lucide-icons-2": ">=7.2.2",
"react": ">=19"
},
"devDependencies": {
"@hanzo/gui": "8.0.0",
"@hanzogui/config": "8.0.0",
"@hanzogui/core": "8.0.0",
"@hanzogui/lucide-icons-2": "8.0.0",
"@hanzogui/web": "8.0.0",
"@types/react": "^19.1.10",
"react": "^19.0.0",
"typescript": "^5.7.2"
},
"publishConfig": {
"access": "public"
},
"license": "BSD-3-Clause",
"author": "Hanzo AI <[email protected]>",
"repository": {
"type": "git",
"url": "git+https://github.com/hanzoai/ui.git",
"directory": "pkgs/dashboard"
}
}