From 6f99e4b08e9c5363f6fcb22cbc589901bd3d6f3b Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Fri, 16 Jan 2026 13:40:31 -0800 Subject: [PATCH] don't depend on hono --- package.json | 4 ++-- src/types.ts | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 3889fa9..a10c87b 100644 --- a/package.json +++ b/package.json @@ -7,14 +7,14 @@ "dev": "bun run --hot test/server.tsx" }, "devDependencies": { - "@types/bun": "latest" + "@types/bun": "latest", + "hono": "^4.10.7" }, "peerDependencies": { "typescript": "^5" }, "dependencies": { "forge": "git+https://git.nose.space/defunkt/forge", - "hono": "^4.10.7", "lucide-static": "^0.555.0" } } \ No newline at end of file diff --git a/src/types.ts b/src/types.ts index aea1847..aa3b657 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,6 +1,3 @@ -import "hono/jsx" -import type { JSX } from "hono/jsx" - export type TailwindSize = 0 | 0.5 | 1 | 1.5 | 2 | 2.5 | 3 | 3.5 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 /** @@ -9,6 +6,6 @@ export type TailwindSize = 0 | 0.5 | 1 | 1.5 | 2 | 2.5 | 3 | 3.5 | 4 | 5 | 6 | 7 export type CommonHTMLProps = { class?: string id?: string - style?: JSX.CSSProperties + style?: Record ref?: any }