mirror of
https://github.com/hanzoai/app.git
synced 2026-10-31 18:04:19 +00:00
Owner rule, 2026-10-22: no style={…} and no `inline-style:` exception.
The ten in pkg/ went this way:
- span.ts: the kept width is gui's own class (`--span` through
`$platform-web`), so a prerendered column is drawn at it; a drag still
writes the property on the element. Sidebar and Shell spread it.
- Drawer: the slide is gui props spread after the floor; its transform
reads the distance the drag writes. It carried everything RAISED did,
and won where they differed, so RAISED goes.
- Shell: the split's two columns spread nothing; @hanzo/build 0.2.90's
useSplit writes its settled state on them itself.
- Editor: the gutter's user-select rides `$platform-web`; the file is a
gui Text that renders the textarea, in `$mono` like its numbers (it
was the system's monospace).
- Start: the path is gui props. Upgrade: the title is `$serif`
(@hanzo/ui 8.29.33 names design's serif).
- @hanzo/glass 0.1.1: liquidGlass() hands gui props and LiquidGlass is a
gui View (`render` for its element, longhands, no shorthand config) at
its own subpath, @hanzo/glass/LiquidGlass, so the root still loads in
plain Node (the package check imports it).
Catalog: @hanzo/ui 8.29.33, @hanzo/build 0.2.90, @hanzo/design 0.5.39
(no `inline-style:` comment passes); peers raised to them.
hanzo-design.allow.json: unresolved-token 3 → 2, every line rewritten.
vitest: 61 files, 560 tests pass; glass 4 pass; tsc clean but for the
@hanzo/mod workspace import main already has.
Claude-Session: https://claude.ai/code/session_015XYKLjZtDTJEnMo4eK3AFH
40 lines
1.0 KiB
JSON
40 lines
1.0 KiB
JSON
{
|
|
"name": "@hanzo/glass",
|
|
"version": "0.1.1",
|
|
"description": "Liquid glass and specular refraction for Hanzo UI widgets, as @hanzo/gui props.",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./LiquidGlass": {
|
|
"types": "./dist/LiquidGlass.d.ts",
|
|
"import": "./dist/LiquidGlass.js",
|
|
"default": "./dist/LiquidGlass.js"
|
|
}
|
|
},
|
|
"license": "Apache-2.0 OR MIT",
|
|
"scripts": {
|
|
"build": "rm -rf dist && tsc -p tsconfig.build.json && node ../app/scripts/specifiers.mjs ./dist",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "catalog:",
|
|
"@types/react": "catalog:",
|
|
"react": "catalog:",
|
|
"typescript": "catalog:",
|
|
"vitest": "catalog:",
|
|
"@hanzo/gui": "catalog:"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=19.0.0",
|
|
"@hanzo/gui": "^8.3.5"
|
|
}
|
|
}
|