Files
zeekay 16c4453cc1 feat: sync with upstream shadcn/ui (through [email protected])
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.
2026-02-09 10:44:26 -08:00

15 lines
2.0 KiB
JSON

{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "field-choice-card",
"registryDependencies": [
"field"
],
"files": [
{
"path": "registry/new-york-v4/examples/field-choice-card.tsx",
"content": "import {\n Field,\n FieldContent,\n FieldDescription,\n FieldGroup,\n FieldLabel,\n FieldSet,\n FieldTitle,\n} from \"@/registry/new-york-v4/ui/field\"\nimport {\n RadioGroup,\n RadioGroupItem,\n} from \"@/registry/new-york-v4/ui/radio-group\"\n\nexport default function FieldChoiceCard() {\n return (\n <div className=\"w-full max-w-md\">\n <FieldGroup>\n <FieldSet>\n <FieldLabel htmlFor=\"compute-environment-p8w\">\n Compute Environment\n </FieldLabel>\n <FieldDescription>\n Select the compute environment for your cluster.\n </FieldDescription>\n <RadioGroup defaultValue=\"kubernetes\">\n <FieldLabel htmlFor=\"kubernetes-r2h\">\n <Field orientation=\"horizontal\">\n <FieldContent>\n <FieldTitle>Kubernetes</FieldTitle>\n <FieldDescription>\n Run GPU workloads on a K8s configured cluster.\n </FieldDescription>\n </FieldContent>\n <RadioGroupItem value=\"kubernetes\" id=\"kubernetes-r2h\" />\n </Field>\n </FieldLabel>\n <FieldLabel htmlFor=\"vm-z4k\">\n <Field orientation=\"horizontal\">\n <FieldContent>\n <FieldTitle>Virtual Machine</FieldTitle>\n <FieldDescription>\n Access a VM configured cluster to run GPU workloads.\n </FieldDescription>\n </FieldContent>\n <RadioGroupItem value=\"vm\" id=\"vm-z4k\" />\n </Field>\n </FieldLabel>\n </RadioGroup>\n </FieldSet>\n </FieldGroup>\n </div>\n )\n}\n",
"type": "registry:example"
}
],
"type": "registry:example"
}