mirror of
https://github.com/hanzoai/billing.git
synced 2026-10-30 18:46:54 +00:00
A focused input painted THREE affordances (brightened border + 3px halo +
2px outline). Root cause: two rules in @hanzo/design's @layer base (inlined
into @hanzo/ui's dist/styles.css) both compute to (0,1,0) because :where()
zeroes specificity, so the generic `:focus-visible{outline:2px}` overrode the
field rule's own `outline:none`. The one-place fix already shipped in
@hanzo/design 0.4.9 / @hanzo/ui 8.0.69+ — but @hanzo/ui inlines the base layer
at ITS build time, so the layer billing renders is set by its @hanzo/ui pin,
not its @hanzo/design pin. Billing sat at ui 8.0.47 (the double-ring layer).
Bump ui ^8.0.47->^8.0.72 + design ^0.5.1 + the gui/shell peers (caret already
permitted it; this raises the floor past the fix), and delete billing's own 16
focus overrides across 12 files — after the bump they double-up (and the coupon
input painted nothing without removing them). Verified in a browser: one 2px
ring at 2px offset on billing/console/app, light + dark, :focus-visible correct
(a mouse-clicked button doesn't ring). tsc clean, build green, gui-css-check
24/24, the --page workaround re-checked at 8.0.72.
44 lines
993 B
JSON
44 lines
993 B
JSON
{
|
|
"name": "@hanzo/billing",
|
|
"version": "1.0.20",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "next build",
|
|
"postbuild": "gui-css-check",
|
|
"clean": "rimraf .next out",
|
|
"dev": "next dev --port 3005",
|
|
"start": "next start",
|
|
"lint": "node scripts/pci-scope.mjs",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@hanzo/design": "^0.5.1",
|
|
"@hanzo/gui": "^8.1.1",
|
|
"@hanzo/ui": "^8.0.72",
|
|
"@hanzogui/shell": "^8.1.5",
|
|
"@rainbow-me/rainbowkit": "^2.2.10",
|
|
"@tanstack/react-query": "^5.94.5",
|
|
"next": "^16.2.1",
|
|
"qr": "0.5.5",
|
|
"react": "^19.2.4",
|
|
"react-dom": "^19.2.4",
|
|
"viem": "^2.47.6",
|
|
"wagmi": "^3.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.5.0",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"zod": "3.25.76"
|
|
},
|
|
"onlyBuiltDependencies": [
|
|
"sharp"
|
|
]
|
|
},
|
|
"packageManager": "[email protected]"
|
|
}
|