feat: add dropdown menu component using Radix UI

- Added a new `DropdownMenu` component with various subcomponents including `DropdownMenuTrigger`, `DropdownMenuContent`, and more.
- Updated `package.json` to include `@radix-ui/react-dropdown-menu` as a dependency.
- Updated `pnpm-lock.yaml` to reflect the new dependency and its version.
This commit is contained in:
typist
2025-10-28 22:23:40 +08:00
parent a6d9c23179
commit c6f442f6ff
3 changed files with 396 additions and 0 deletions

View File

@@ -14,6 +14,7 @@
},
"dependencies": {
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-separator": "^1.1.7",
"@radix-ui/react-slot": "^1.2.3",
"@radix-ui/react-tooltip": "^1.2.8",