mirror of
https://github.com/hanzoai/shadcn.git
synced 2026-11-03 03:18:52 +00:00
Squash merge of shadcn-ui/ui main branch into hanzo/ui, bringing in: - [email protected] through [email protected] releases - New apps/v4 directory structure - Registry system improvements and MCP server - Framework support (Vue, Svelte, React Native) - New templates (vite-app, monorepo-next, laravel) - Zod 4 compatibility (scoped override for zod@>4) - Test fixture corrections for alias resolution All 867 merge conflicts resolved preserving Hanzo customizations. 1020/1020 shadcn tests pass.
25 lines
1009 B
JSON
25 lines
1009 B
JSON
{
|
|
"name": "button-01",
|
|
"type": "registry:block",
|
|
"description": "A simple button.",
|
|
"files": [
|
|
{
|
|
"path": "blocks/button-01/page.tsx",
|
|
"content": "import { AmazingButton } from \"@/registry/new-york/blocks/button-01/components/amazing-button\"\n\nexport default function Page() {\n return (\n <div className=\"h-svh flex items-center justify-center\">\n <AmazingButton />\n </div>\n )\n}\n",
|
|
"type": "registry:page",
|
|
"target": "app/page.tsx"
|
|
},
|
|
{
|
|
"path": "blocks/button-01/components/amazing-button.tsx",
|
|
"content": "import { Button } from \"@/registry/new-york/ui/button\"\n\nexport function AmazingButton() {\n return (\n <Button className=\"bg-gradient-to-r from-purple-500 to-pink-500 hover:from-purple-600 hover:to-pink-600 text-white\">\n Amazing Button\n </Button>\n )\n}\n",
|
|
"type": "registry:component",
|
|
"target": ""
|
|
}
|
|
],
|
|
"meta": {
|
|
"iframeHeight": "300px"
|
|
},
|
|
"categories": [
|
|
"misc"
|
|
]
|
|
} |