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]>
80 lines
2.0 KiB
JSON
80 lines
2.0 KiB
JSON
{
|
|
"name": "@hanzo/canvas",
|
|
"version": "0.2.2",
|
|
"type": "module",
|
|
"description": "Railway-grade PaaS project canvas — a pannable/zoomable board of service nodes with live status, metric sparklines, deploy timelines, an environment switcher, and a service detail drawer. Host-agnostic @hanzo/gui React surface, brand/white-label aware, shared by every Hanzo console (hanzo/lux/zoo).",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"types": "./src/index.ts",
|
|
"default": "./src/index.ts"
|
|
},
|
|
"./pure": {
|
|
"types": "./src/pure.ts",
|
|
"default": "./src/pure.ts"
|
|
}
|
|
},
|
|
"main": "./src/index.ts",
|
|
"module": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"sideEffects": false,
|
|
"files": [
|
|
"src",
|
|
"dist",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/hanzoai/ui.git",
|
|
"directory": "pkgs/canvas"
|
|
},
|
|
"keywords": [
|
|
"paas",
|
|
"canvas",
|
|
"railway",
|
|
"service-map",
|
|
"deployments",
|
|
"dashboard",
|
|
"hanzo",
|
|
"hanzo-ai",
|
|
"hanzoai",
|
|
"gui",
|
|
"react"
|
|
],
|
|
"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",
|
|
"@xyflow/react": ">=12",
|
|
"react": ">=19",
|
|
"react-dom": ">=19"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@xyflow/react": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@hanzo/gui": "8.0.0",
|
|
"@hanzogui/config": "8.0.0",
|
|
"@hanzogui/core": "8.0.0",
|
|
"@hanzogui/web": "8.0.0",
|
|
"@types/react": "^19.1.10",
|
|
"@types/react-dom": "^19.1.7",
|
|
"@xyflow/react": "^12.11.1",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"typescript": "^5.7.2"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"license": "BSD-3-Clause",
|
|
"author": "Hanzo AI <[email protected]>"
|
|
}
|