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
1.6 KiB
JSON

{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "field-select",
"registryDependencies": [
"field"
],
"files": [
{
"path": "registry/new-york-v4/examples/field-select.tsx",
"content": "import {\n Field,\n FieldDescription,\n FieldLabel,\n} from \"@/registry/new-york-v4/ui/field\"\nimport {\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from \"@/registry/new-york-v4/ui/select\"\n\nexport default function FieldSelect() {\n return (\n <div className=\"w-full max-w-md\">\n <Field>\n <FieldLabel>Department</FieldLabel>\n <Select>\n <SelectTrigger>\n <SelectValue placeholder=\"Choose department\" />\n </SelectTrigger>\n <SelectContent>\n <SelectItem value=\"engineering\">Engineering</SelectItem>\n <SelectItem value=\"design\">Design</SelectItem>\n <SelectItem value=\"marketing\">Marketing</SelectItem>\n <SelectItem value=\"sales\">Sales</SelectItem>\n <SelectItem value=\"support\">Customer Support</SelectItem>\n <SelectItem value=\"hr\">Human Resources</SelectItem>\n <SelectItem value=\"finance\">Finance</SelectItem>\n <SelectItem value=\"operations\">Operations</SelectItem>\n </SelectContent>\n </Select>\n <FieldDescription>\n Select your department or area of work.\n </FieldDescription>\n </Field>\n </div>\n )\n}\n",
"type": "registry:example"
}
],
"type": "registry:example"
}