refactor: migrate dropdown menu components to base-ui library

- Replaced Radix UI dropdown menu components with Base UI equivalents.
- Updated component structure and props to align with new library.
- Enhanced styling and accessibility features across dropdown items, triggers, and content.
- Introduced new components: DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, and DropdownMenuSubTrigger.
- Removed deprecated components and streamlined imports for better maintainability.
This commit is contained in:
2026-02-09 00:31:24 +08:00
parent 4a9bbf1911
commit 0ced574b8b
3 changed files with 233 additions and 1143 deletions

View File

@@ -24,15 +24,6 @@
"@kevisual/cnb": "^0.0.20",
"@kevisual/context": "^0.0.4",
"@kevisual/router": "0.0.70",
"@radix-ui/react-avatar": "^1.1.11",
"@radix-ui/react-checkbox": "^1.3.3",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-label": "^2.1.8",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-separator": "^1.1.8",
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-tabs": "^1.1.13",
"@tanstack/react-router": "^1.158.4",
"ai": "^6.0.77",
"class-variance-authority": "^0.7.1",