Files
zeekay 05fc512820 feat: sync upstream shadcn/ui — [email protected], v4 app, font system, chart improvements
Upstream sync from shadcn-ui/ui (1686 commits since last merge base).

Key changes:
- packages/shadcn upgraded to 4.1.0 (CLI font transformers, scaffold from github, chart colors)
- apps/v4 replaces apps/www as the primary docs/registry app
- Font system: 25+ heading font registries, font markers utility, @supports override
- Chart improvements: recharts v3 compat, radial chart fixes
- templates/ updated with monorepo variants (astro, vite, react-router, start)
- skills/shadcn AI skill definitions added
- deprecated/ removed (auth, auth-firebase, cli, www)

Preserved Hanzo-only paths: app/, pkg/, demo/, docs/, template/next/
2026-03-24 19:04:31 -07:00

15 lines
1006 B
JSON

{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "checkbox-with-text",
"registryDependencies": [
"checkbox"
],
"files": [
{
"path": "registry/new-york-v4/examples/checkbox-with-text.tsx",
"content": "\"use client\"\n\nimport { Checkbox } from \"@/registry/new-york-v4/ui/checkbox\"\n\nexport default function CheckboxWithText() {\n return (\n <div className=\"items-top flex gap-2\">\n <Checkbox id=\"terms1\" />\n <div className=\"grid gap-1.5 leading-none\">\n <label\n htmlFor=\"terms1\"\n className=\"text-sm leading-none font-medium peer-disabled:cursor-not-allowed peer-disabled:opacity-70\"\n >\n Accept terms and conditions\n </label>\n <p className=\"text-sm text-muted-foreground\">\n You agree to our Terms of Service and Privacy Policy.\n </p>\n </div>\n </div>\n )\n}\n",
"type": "registry:example"
}
],
"type": "registry:example"
}