diff --git a/.changeset/neat-moles-brush.md b/.changeset/neat-moles-brush.md new file mode 100644 index 00000000..a7c44337 --- /dev/null +++ b/.changeset/neat-moles-brush.md @@ -0,0 +1,8 @@ +--- +"create-hwy": patch +"@hwy-js/build": patch +"hwy": patch +"@hwy-js/dev": patch +--- + +Update types diff --git a/.changeset/poor-phones-lie.md b/.changeset/poor-phones-lie.md new file mode 100644 index 00000000..4db09864 --- /dev/null +++ b/.changeset/poor-phones-lie.md @@ -0,0 +1,8 @@ +--- +"create-hwy": patch +"@hwy-js/build": patch +"hwy": patch +"@hwy-js/dev": patch +--- + +Add style types diff --git a/.changeset/pre.json b/.changeset/pre.json index fbe31c97..1282c3e6 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -13,6 +13,7 @@ "early-readers-rule", "famous-adults-push", "neat-moles-brush", + "poor-phones-lie", "rude-kiwis-approve" ] } diff --git a/docs/package-lock.json b/docs/package-lock.json index cfad79fa..89f85740 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -11,11 +11,11 @@ "@hono/node-server": "^1.2.0", "highlight.js": "^11.9.0", "hono": "^3.8.3", - "hwy": "0.4.2-beta.3" + "hwy": "0.4.2-beta.4" }, "devDependencies": { - "@hwy-js/build": "0.4.2-beta.3", - "@hwy-js/dev": "0.4.2-beta.3", + "@hwy-js/build": "0.4.2-beta.4", + "@hwy-js/dev": "0.4.2-beta.4", "@types/node": "^20.8.7", "@types/nprogress": "^0.2.2", "htmx.org": "^1.9.6", @@ -400,9 +400,9 @@ } }, "node_modules/@hwy-js/build": { - "version": "0.4.2-beta.3", - "resolved": "https://registry.npmjs.org/@hwy-js/build/-/build-0.4.2-beta.3.tgz", - "integrity": "sha512-EM3w1P4Ic+umNgPOyngTey4NTpln5jfzsXfc4b+2GzM5sshyKk3uEoQe5wJkAj5WmdUrN3UV9fe/YtBsMguexg==", + "version": "0.4.2-beta.4", + "resolved": "https://registry.npmjs.org/@hwy-js/build/-/build-0.4.2-beta.4.tgz", + "integrity": "sha512-gq7fG7PyZMNrsxIJ0BpUCrFcw7KsRoidJNnSTepm1K3c6cJV3tvomuRkw1A5HRUEVR3Fpv3rjObGv02Zv6hLSQ==", "dev": true, "dependencies": { "chokidar": "^3.5.3", @@ -417,9 +417,9 @@ } }, "node_modules/@hwy-js/dev": { - "version": "0.4.2-beta.3", - "resolved": "https://registry.npmjs.org/@hwy-js/dev/-/dev-0.4.2-beta.3.tgz", - "integrity": "sha512-cSxJ/IVCvwyqMgLXALlA+IKbCkYqdu0eBP0OVt7cVG6v07h0VaAg8Os+2WudC8z5RgPF8GWLItkQ9eyvztGsVQ==", + "version": "0.4.2-beta.4", + "resolved": "https://registry.npmjs.org/@hwy-js/dev/-/dev-0.4.2-beta.4.tgz", + "integrity": "sha512-fq2X3ZhW7mjjqGHIokmeDiKhv+YENYB9XMs8EBnaijfFupkXJ/DlDjBzSHkCv/rlDulOHLxrapwSeJfHvEBqrg==", "dev": true, "dependencies": { "picocolors": "^1.0.0" @@ -830,9 +830,9 @@ "dev": true }, "node_modules/hwy": { - "version": "0.4.2-beta.3", - "resolved": "https://registry.npmjs.org/hwy/-/hwy-0.4.2-beta.3.tgz", - "integrity": "sha512-ebOi8MCuzDOR6emoPC0WMgGCViNr1mcImURwOFjsFt0QPpi61JCAN/SuHUVfZr45TW4R7LBsqxbxRfxIvaz7aA==" + "version": "0.4.2-beta.4", + "resolved": "https://registry.npmjs.org/hwy/-/hwy-0.4.2-beta.4.tgz", + "integrity": "sha512-+rLOEwbc6ruAXoRf+xUj8jxlFinFMGdzFM3tyQ3w8zthbXRRm0tXbxjoZ20XOvZW924Qkw6J54PfC2vxHwvfVA==" }, "node_modules/inflight": { "version": "1.0.6", diff --git a/docs/package.json b/docs/package.json index 202cd985..939d9007 100644 --- a/docs/package.json +++ b/docs/package.json @@ -13,11 +13,11 @@ "@hono/node-server": "^1.2.0", "highlight.js": "^11.9.0", "hono": "^3.8.3", - "hwy": "0.4.2-beta.3" + "hwy": "0.4.2-beta.4" }, "devDependencies": { - "@hwy-js/build": "0.4.2-beta.3", - "@hwy-js/dev": "0.4.2-beta.3", + "@hwy-js/build": "0.4.2-beta.4", + "@hwy-js/dev": "0.4.2-beta.4", "@types/node": "^20.8.7", "@types/nprogress": "^0.2.2", "htmx.org": "^1.9.6", diff --git a/packages/build/CHANGELOG.md b/packages/build/CHANGELOG.md index fef56bf8..4a2439df 100644 --- a/packages/build/CHANGELOG.md +++ b/packages/build/CHANGELOG.md @@ -1,5 +1,11 @@ # @hwy-js/build +## 0.4.2-beta.4 + +### Patch Changes + +- Add style types + ## 0.4.2-beta.3 ### Patch Changes diff --git a/packages/build/package.json b/packages/build/package.json index 68430576..d7bc94e2 100644 --- a/packages/build/package.json +++ b/packages/build/package.json @@ -1,6 +1,6 @@ { "name": "@hwy-js/build", - "version": "0.4.2-beta.3", + "version": "0.4.2-beta.4", "author": { "name": "Samuel J. Cook" }, diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 84408d90..26554177 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,11 @@ # hwy +## 0.4.2-beta.4 + +### Patch Changes + +- Add style types + ## 0.4.2-beta.3 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 09c6ab5c..fd5126e2 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "hwy", - "version": "0.4.2-beta.3", + "version": "0.4.2-beta.4", "author": { "name": "Samuel J. Cook" }, diff --git a/packages/create-hwy/CHANGELOG.md b/packages/create-hwy/CHANGELOG.md index 5adcd685..51661e1c 100644 --- a/packages/create-hwy/CHANGELOG.md +++ b/packages/create-hwy/CHANGELOG.md @@ -1,5 +1,11 @@ # create-hwy +## 0.4.2-beta.4 + +### Patch Changes + +- Add style types + ## 0.4.2-beta.3 ### Patch Changes diff --git a/packages/create-hwy/package.json b/packages/create-hwy/package.json index ccad5cda..f5726884 100644 --- a/packages/create-hwy/package.json +++ b/packages/create-hwy/package.json @@ -1,6 +1,6 @@ { "name": "create-hwy", - "version": "0.4.2-beta.3", + "version": "0.4.2-beta.4", "author": { "name": "Samuel J. Cook" }, @@ -28,6 +28,7 @@ "picocolors": "^1.0.0" }, "devDependencies": { + "@hwy-js/dev": "workspace:*", "@types/inquirer": "^9.0.6", "@types/node": "^20.8.7", "@types/nprogress": "^0.2.2", diff --git a/packages/create-hwy/tsconfig.json b/packages/create-hwy/tsconfig.json index 1f6fca4e..23b74ea0 100644 --- a/packages/create-hwy/tsconfig.json +++ b/packages/create-hwy/tsconfig.json @@ -10,7 +10,8 @@ "verbatimModuleSyntax": true, "noEmit": true, "jsx": "react-jsx", - "jsxImportSource": "hono/jsx" + "jsxImportSource": "hono/jsx", + "types": ["@hwy-js/dev"] }, "exclude": ["node_modules", "dist"] } diff --git a/packages/dev/CHANGELOG.md b/packages/dev/CHANGELOG.md index 80594b80..b0d1e782 100644 --- a/packages/dev/CHANGELOG.md +++ b/packages/dev/CHANGELOG.md @@ -1,5 +1,11 @@ # @hwy-js/dev +## 0.4.2-beta.4 + +### Patch Changes + +- Add style types + ## 0.4.2-beta.3 ### Patch Changes diff --git a/packages/dev/index.ts b/packages/dev/index.ts index 681a59a9..191296de 100644 --- a/packages/dev/index.ts +++ b/packages/dev/index.ts @@ -286,6 +286,7 @@ declare global { dangerouslySetInnerHTML?: { __html: string }; class?: string | undefined; children?: Child | Child[]; + style?: Partial | string | undefined; } >; diff --git a/packages/dev/package.json b/packages/dev/package.json index 547c41d5..cd1ab703 100644 --- a/packages/dev/package.json +++ b/packages/dev/package.json @@ -1,6 +1,6 @@ { "name": "@hwy-js/dev", - "version": "0.4.2-beta.3", + "version": "0.4.2-beta.4", "author": { "name": "Samuel J. Cook" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6d41b7fa..d297a355 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -85,6 +85,9 @@ importers: specifier: ^1.0.0 version: 1.0.0 devDependencies: + '@hwy-js/dev': + specifier: workspace:* + version: link:../dev '@types/inquirer': specifier: ^9.0.6 version: 9.0.6