From 1c6f588a7ed5787c5bb438885b74c380394fce26 Mon Sep 17 00:00:00 2001 From: Kevin Abatan Date: Thu, 25 Dec 2025 22:12:17 +0100 Subject: [PATCH 1/5] chore: add FRONTEND_PORT env var to allow worktrees --- apps/docs/app.config.ts | 5 ++++- apps/docs/tsconfig.json | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/docs/app.config.ts b/apps/docs/app.config.ts index b836b7e6..fa4254d6 100644 --- a/apps/docs/app.config.ts +++ b/apps/docs/app.config.ts @@ -20,7 +20,10 @@ export default defineConfig( } }, vite: { - plugins: [tailwindcss()] + plugins: [tailwindcss()], + server: { + port: parseInt(process.env.FRONTEND_PORT || "5173", 10) + } } }, { diff --git a/apps/docs/tsconfig.json b/apps/docs/tsconfig.json index 047b6294..cbd39639 100644 --- a/apps/docs/tsconfig.json +++ b/apps/docs/tsconfig.json @@ -22,10 +22,8 @@ "noFallthroughCasesInSwitch": true, "noUncheckedIndexedAccess": true, "noImplicitOverride": true, - // Some stricter flags (disabled by default) "noUnusedLocals": true, "noUnusedParameters": true, - "noPropertyAccessFromIndexSignature": true, "baseUrl": ".", "paths": { "~/*": ["./src/*"] From 395c6ea4988546b6ee6f22457443184d450948ab Mon Sep 17 00:00:00 2001 From: Kevin Abatan Date: Fri, 26 Dec 2025 04:19:30 +0100 Subject: [PATCH 2/5] chore: adding trees to gitignore --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index dc1b5dd4..ad08f192 100644 --- a/.gitignore +++ b/.gitignore @@ -31,6 +31,10 @@ Thumbs.db # Claude .claude logs +trees/ + +# Worktree environment configs +**/.ports.env app.config.timestamp* From 12e4779d3933e09027773ea9c2972a8e85b6dd7c Mon Sep 17 00:00:00 2001 From: Kevin Abatan Date: Sat, 27 Dec 2025 00:35:05 +0100 Subject: [PATCH 3/5] refactor(checkbox): align with shadcn v4 patterns and add Kobalte links --- apps/docs/src/registry/ui/checkbox.tsx | 4 ++-- apps/docs/src/routes/docs/components/checkbox.mdx | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/docs/src/registry/ui/checkbox.tsx b/apps/docs/src/registry/ui/checkbox.tsx index f7362c19..727d0d4e 100644 --- a/apps/docs/src/registry/ui/checkbox.tsx +++ b/apps/docs/src/registry/ui/checkbox.tsx @@ -22,13 +22,13 @@ const Checkbox = ( diff --git a/apps/docs/src/routes/docs/components/checkbox.mdx b/apps/docs/src/routes/docs/components/checkbox.mdx index 1c68131b..a64d9bdf 100644 --- a/apps/docs/src/routes/docs/components/checkbox.mdx +++ b/apps/docs/src/routes/docs/components/checkbox.mdx @@ -1,6 +1,9 @@ --- title: Checkbox description: A control that allows the user to toggle between checked and not checked. +links: + doc: https://kobalte.dev/docs/core/components/checkbox + api: https://kobalte.dev/docs/core/components/checkbox#api-reference --- ::::tab-group[preview] From a1a87dba1b01c9e920d4fa77428d2ada4832447b Mon Sep 17 00:00:00 2001 From: Kevin Abatan Date: Sat, 27 Dec 2025 21:34:44 +0100 Subject: [PATCH 4/5] refactor: format some classes --- apps/docs/src/registry/ui/checkbox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/src/registry/ui/checkbox.tsx b/apps/docs/src/registry/ui/checkbox.tsx index 727d0d4e..5cf323df 100644 --- a/apps/docs/src/registry/ui/checkbox.tsx +++ b/apps/docs/src/registry/ui/checkbox.tsx @@ -22,7 +22,7 @@ const Checkbox = ( Date: Sun, 28 Dec 2025 01:13:09 +0100 Subject: [PATCH 5/5] refactor: format some classes --- apps/docs/src/registry/examples/checkbox-demo.tsx | 1 + apps/docs/src/registry/ui/checkbox.tsx | 14 +++++--------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/apps/docs/src/registry/examples/checkbox-demo.tsx b/apps/docs/src/registry/examples/checkbox-demo.tsx index 1bbf8c80..6d5d6c31 100644 --- a/apps/docs/src/registry/examples/checkbox-demo.tsx +++ b/apps/docs/src/registry/examples/checkbox-demo.tsx @@ -27,6 +27,7 @@ export default function CheckboxDemo() { >
diff --git a/apps/docs/src/registry/ui/checkbox.tsx b/apps/docs/src/registry/ui/checkbox.tsx index 5cf323df..9caadff5 100644 --- a/apps/docs/src/registry/ui/checkbox.tsx +++ b/apps/docs/src/registry/ui/checkbox.tsx @@ -12,20 +12,16 @@ type CheckboxRootProps = const Checkbox = ( props: PolymorphicProps> ) => { - const [local, others] = splitProps(props as CheckboxRootProps, ["class"]) + const [local, others] = splitProps(props as CheckboxRootProps, ["class", "id"]) return ( - - + +