Skip to content

Commit a3af7c8

Browse files
chore: set up shadcn/ui for offline use (#2)
* chore: update shadcn/ui alias paths * chore: add all shadcn ui components for offline use * chore: suppress/fix linting errors
1 parent a112171 commit a3af7c8

61 files changed

Lines changed: 7526 additions & 4 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

TODO.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Project Management
2+
3+
## Issues
4+
5+
### `TooltipProvider`
6+
7+
The `tooltip` component has been added. Remember to wrap your app with the `TooltipProvider` component.
8+
9+
```tsx title="app/layout.tsx"
10+
import { TooltipProvider } from "@/components/ui/tooltip"
11+
12+
export default function RootLayout({ children }: { children: React.ReactNode }) {
13+
return (
14+
<html lang="en">
15+
<body>
16+
<TooltipProvider>{children}</TooltipProvider>
17+
</body>
18+
</html>
19+
)
20+
}
21+
```

components.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
"iconLibrary": "phosphor",
1414
"rtl": false,
1515
"aliases": {
16+
"utils": "@/library/utilities/tailwind",
1617
"components": "@/components",
17-
"utils": "@/lib/utils",
1818
"ui": "@/components/ui",
19-
"lib": "@/lib",
20-
"hooks": "@/hooks"
19+
"lib": "@/library",
20+
"hooks": "@/library/hooks"
2121
},
2222
"menuColor": "default",
2323
"menuAccent": "subtle",

package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,23 @@
2525
"@tanstack/router-plugin": "^1.166.13",
2626
"class-variance-authority": "^0.7.1",
2727
"clsx": "^2.1.1",
28+
"cmdk": "^1.1.1",
29+
"date-fns": "^4.1.0",
30+
"embla-carousel-react": "^8.6.0",
31+
"input-otp": "^1.4.2",
32+
"next-themes": "^0.4.6",
2833
"nitro": "latest",
2934
"react": "^19.2.4",
35+
"react-day-picker": "^9.14.0",
3036
"react-dom": "^19.2.4",
37+
"react-resizable-panels": "^4.9.0",
38+
"recharts": "3.8.0",
3139
"shadcn": "^4.2.0",
40+
"sonner": "^2.0.7",
3241
"tailwind-merge": "^3.5.0",
3342
"tailwindcss": "^4.2.1",
3443
"tw-animate-css": "^1.4.0",
44+
"vaul": "^1.1.2",
3545
"vite-tsconfig-paths": "^5.1.4"
3646
},
3747
"devDependencies": {

0 commit comments

Comments
 (0)