Use Vaul on small screens

This commit is contained in:
Sebastien Castiel
2023-12-15 13:05:52 -05:00
parent 95bbcf352f
commit ceb6a7d707
3 changed files with 78 additions and 16 deletions

15
package-lock.json generated
View File

@@ -25,7 +25,7 @@
"clsx": "^2.0.0",
"lucide-react": "^0.290.0",
"nanoid": "^5.0.4",
"next": "^14.0.1",
"next": "14.0.1",
"next-plausible": "^3.12.0",
"next-themes": "^0.2.1",
"next13-progressbar": "^1.1.1",
@@ -36,6 +36,7 @@
"tailwind-merge": "^1.14.0",
"tailwindcss-animate": "^1.0.7",
"uuid": "^9.0.1",
"vaul": "^0.7.9",
"zod": "^3.22.4"
},
"devDependencies": {
@@ -6036,6 +6037,18 @@
"uuid": "dist/bin/uuid"
}
},
"node_modules/vaul": {
"version": "0.7.9",
"resolved": "https://registry.npmjs.org/vaul/-/vaul-0.7.9.tgz",
"integrity": "sha512-RrcnGOHOq/cEU3YpyyZrnjh0H79xMpF3IrHZs9ichvHlpKjLDc4Vwjn4VkuGzeUGrmQ3wamfm/cpdKWpvBIgQw==",
"dependencies": {
"@radix-ui/react-dialog": "^1.0.4"
},
"peerDependencies": {
"react": "^16.8 || ^17.0 || ^18.0",
"react-dom": "^16.8 || ^17.0 || ^18.0"
}
},
"node_modules/watchpack": {
"version": "2.4.0",
"resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz",