mirror of
https://github.com/hanzoai/ui.git
synced 2026-11-20 22:36:27 +00:00
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]>
54 lines
1.7 KiB
JSON
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"
|
|
}
|
|
}
|