Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .changeset/big-terms-explain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"docs": minor
---

feat: Add 30 missing shadcn component documentation pages with examples

- Add documentation for Calendar, Chart, Combobox, Command, Data Table, Date Picker, Direction, Empty, Form, Hover Card, Input OTP, Item, Kbd, Menubar, Native Select, Navigation Menu, Pagination, Popover, Progress, Resizable, Scroll Area, Separator, Sheet, Sidebar, Sonner, Table, Tabs, Toggle, Toggle Group
- Create 50+ example files demonstrating component usage
- Fix Badge Polymorphic prop error, Scroll Area scrollbar positioning, Calendar heading reactivity
- Apply Biome formatting to all component files
- Achieve 100% parity with shadcn-ui component offerings
18 changes: 16 additions & 2 deletions apps/docs/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const theme = defineTheme({
export default defineConfig(
createWithSolidBase(theme)(
{
ssr: true,
ssr: false,
server: {
preset: "vercel",
prerender: {
Expand All @@ -21,8 +21,22 @@ export default defineConfig(
},
vite: {
plugins: [tailwindcss()],
resolve: {
conditions: ["solid", "browser", "development"]
},
optimizeDeps: {
exclude: [
"@modular-forms/solid"
]
},
server: {
port: parseInt(process.env.FRONTEND_PORT || "5173", 10)
port: parseInt(process.env.FRONTEND_PORT || "5173", 10),
hmr: {
protocol: 'ws',
host: 'localhost',
port: 24678,
clientPort: 24678
}
}
}
},
Expand Down
5 changes: 5 additions & 0 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,18 @@
"dependencies": {
"@corvu/calendar": "^0.1.2",
"@corvu/drawer": "^0.2.4",
"@corvu/resizable": "^0.2.5",
"@fontsource-variable/geist": "^5.2.8",
"@fontsource-variable/geist-mono": "^5.2.7",
"@kobalte/core": "^0.13.11",
"@kobalte/solidbase": "^0.2.20",
"@modular-forms/solid": "^0.25.1",
"@solid-primitives/storage": "^4.3.3",
"@solidjs/meta": "^0.29.4",
"@solidjs/router": "^0.15.3",
"@solidjs/start": "^1.2.0",
"@tanstack/solid-table": "^8.21.3",
"chart.js": "^4.5.1",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"embla-carousel": "^8.6.0",
Expand All @@ -29,6 +33,7 @@
"lucide-solid": "^0.562.0",
"rimraf": "^6.0.1",
"solid-js": "^1.9.9",
"solid-sonner": "^0.2.8",
"tailwind-merge": "^3.3.1",
"vinxi": "^0.5.7",
"zod": "^4.1.12"
Expand Down
143 changes: 141 additions & 2 deletions apps/docs/src/config/docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ export const docsConfig: Config = {
title: "Button Group",
href: "/docs/components/button-group"
},
{
title: "Calendar",
href: "/docs/components/calendar",
status: "new"
},
{
title: "Card",
href: "/docs/components/card"
Expand All @@ -80,6 +85,11 @@ export const docsConfig: Config = {
href: "/docs/components/carousel",
status: "new"
},
{
title: "Chart",
href: "/docs/components/chart",
status: "new"
},
{
title: "Checkbox",
href: "/docs/components/checkbox"
Expand All @@ -89,45 +99,174 @@ export const docsConfig: Config = {
href: "/docs/components/collapsible"
},
{
title: "Dialog",
href: "/docs/components/dialog"
title: "Combobox",
href: "/docs/components/combobox",
status: "new"
},
{
title: "Command",
href: "/docs/components/command",
status: "new"
},
{
title: "Context Menu",
href: "/docs/components/context-menu"
},
{
title: "Data Table",
href: "/docs/components/data-table",
status: "new"
},
{
title: "Date Picker",
href: "/docs/components/date-picker",
status: "new"
},
{
title: "Dialog",
href: "/docs/components/dialog"
},
{
title: "Direction",
href: "/docs/components/direction",
status: "new"
},
{
title: "Dropdown Menu",
href: "/docs/components/dropdown-menu"
},
{
title: "Empty",
href: "/docs/components/empty",
status: "new"
},
{
title: "Field",
href: "/docs/components/field"
},
{
title: "Form",
href: "/docs/components/form",
status: "new"
},
{
title: "Hover Card",
href: "/docs/components/hover-card",
status: "new"
},
{
title: "Input Group",
href: "/docs/components/input-group"
},
{
title: "Input OTP",
href: "/docs/components/input-otp",
status: "new"
},
{
title: "Item",
href: "/docs/components/item",
status: "new"
},
{
title: "Kbd",
href: "/docs/components/kbd",
status: "new"
},
{
title: "Label",
href: "/docs/components/label"
},
{
title: "Menubar",
href: "/docs/components/menubar",
status: "new"
},
{
title: "Native Select",
href: "/docs/components/native-select",
status: "new"
},
{
title: "Navigation Menu",
href: "/docs/components/navigation-menu",
status: "new"
},
{
title: "Pagination",
href: "/docs/components/pagination",
status: "new"
},
{
title: "Popover",
href: "/docs/components/popover",
status: "new"
},
{
title: "Progress",
href: "/docs/components/progress",
status: "new"
},
{
title: "Radio Group",
href: "/docs/components/radio-group"
},
{
title: "Resizable",
href: "/docs/components/resizable",
status: "new"
},
{
title: "Scroll Area",
href: "/docs/components/scroll-area",
status: "new"
},
{
title: "Select",
href: "/docs/components/select"
},
{
title: "Separator",
href: "/docs/components/separator"
},
{
title: "Sheet",
href: "/docs/components/sheet"
},
{
title: "Sidebar",
href: "/docs/components/sidebar"
},
{
title: "Slider",
href: "/docs/components/slider"
},
{
title: "Sonner",
href: "/docs/components/sonner",
status: "new"
},
{
title: "Switch",
href: "/docs/components/switch"
},
{
title: "Tabs",
href: "/docs/components/tabs"
},
{
title: "Table",
href: "/docs/components/table"
},
{
title: "Toggle",
href: "/docs/components/toggle"
},
{
title: "Toggle Group",
href: "/docs/components/toggle-group",
status: "new"
},
{
title: "Tooltip",
href: "/docs/components/tooltip"
Expand Down
Loading