mirror of
https://github.com/dohooo/helmor.git
synced 2026-09-22 16:40:02 +08:00
f1901d911b
Switch all UI primitives from @base-ui/react to radix-ui. Reinstall 14 shadcn components via `npx shadcn add --overwrite`. Consumer code updated for Radix API differences: - `render` prop → `asChild` pattern (Tooltip, Collapsible, DropdownMenu) - `delay` → `delayDuration` on TooltipProvider - Remove unsupported `variant` prop on TabsTrigger - Remove `viewportRef`/`viewportClassName` on ScrollArea (use descendant selectors) - Add `scrollIntoView` mock in test setup for cmdk compatibility - Wrap test renders with TooltipProvider via renderWithProviders helper Repo picker redesigned with shadcn Command component (keyboard nav, cmdk search).
26 lines
481 B
JSON
26 lines
481 B
JSON
{
|
|
"$schema": "https://ui.shadcn.com/schema.json",
|
|
"style": "radix-nova",
|
|
"rsc": false,
|
|
"tsx": true,
|
|
"tailwind": {
|
|
"config": "",
|
|
"css": "src/App.css",
|
|
"baseColor": "neutral",
|
|
"cssVariables": true,
|
|
"prefix": ""
|
|
},
|
|
"iconLibrary": "lucide",
|
|
"rtl": false,
|
|
"aliases": {
|
|
"components": "@/components",
|
|
"utils": "@/lib/utils",
|
|
"ui": "@/components/ui",
|
|
"lib": "@/lib",
|
|
"hooks": "@/hooks"
|
|
},
|
|
"menuColor": "default",
|
|
"menuAccent": "subtle",
|
|
"registries": {}
|
|
}
|