Everything
@@ -28,7 +28,7 @@ export function DemoNotifications() {
Available
@@ -37,7 +37,7 @@ export function DemoNotifications() {
Ignoring
diff --git a/apps/www/app/(app)/examples/cards/components/team-members.tsx b/apps/www/app/(app)/examples/cards/components/team-members.tsx
index ff8d9a58176..52e841535a8 100644
--- a/apps/www/app/(app)/examples/cards/components/team-members.tsx
+++ b/apps/www/app/(app)/examples/cards/components/team-members.tsx
@@ -1,4 +1,4 @@
-import { ChevronDownIcon } from "@radix-ui/react-icons"
+import { ChevronDown } from "lucide-react"
import {
Avatar,
@@ -51,8 +51,7 @@ export function DemoTeamMembers() {
Documentation
-
- You can customize the theme using{" "}
-
- CSS variables
-
- .{" "}
-
- Click here
- {" "}
- to learn more.
-
Documentation
-
- You can customize the theme using{" "}
-
- CSS variables
-
- .{" "}
-
- Click here
- {" "}
- to learn more.
-
\n Push Notifications\n
\n\n Send notifications to device.\n
\n\n {notification.title}\n
\n\n {notification.description}\n
\n\n The React Framework – created and maintained by @vercel.\n
\n\n Beautifully designed components built with Radix UI and\n Tailwind CSS.\n
\n \n\n {children}\n
\n \n\n Set the dimensions for the layer.\n
\n\n An open-source UI component library.\n
\nAdd to library
\n\n {JSON.stringify(data, null, 2)}
\n
\n ),\n })\n }\n\n return (\n \n \n )\n}\n",
+ "content": "\"use client\"\n\nimport { zodResolver } from \"@hookform/resolvers/zod\"\nimport { Check, ChevronsUpDown } from \"lucide-react\"\nimport { useForm } from \"react-hook-form\"\nimport { z } from \"zod\"\n\nimport { cn } from \"@/lib/utils\"\nimport { toast } from \"@/registry/default/hooks/use-toast\"\nimport { Button } from \"@/registry/default/ui/button\"\nimport {\n Command,\n CommandEmpty,\n CommandGroup,\n CommandInput,\n CommandItem,\n CommandList,\n} from \"@/registry/default/ui/command\"\nimport {\n Form,\n FormControl,\n FormDescription,\n FormField,\n FormItem,\n FormLabel,\n FormMessage,\n} from \"@/registry/default/ui/form\"\nimport {\n Popover,\n PopoverContent,\n PopoverTrigger,\n} from \"@/registry/default/ui/popover\"\n\nconst languages = [\n { label: \"English\", value: \"en\" },\n { label: \"French\", value: \"fr\" },\n { label: \"German\", value: \"de\" },\n { label: \"Spanish\", value: \"es\" },\n { label: \"Portuguese\", value: \"pt\" },\n { label: \"Russian\", value: \"ru\" },\n { label: \"Japanese\", value: \"ja\" },\n { label: \"Korean\", value: \"ko\" },\n { label: \"Chinese\", value: \"zh\" },\n] as const\n\nconst FormSchema = z.object({\n language: z.string({\n required_error: \"Please select a language.\",\n }),\n})\n\nexport default function ComboboxForm() {\n const form = useForm\n {JSON.stringify(data, null, 2)}
\n
\n ),\n })\n }\n\n return (\n \n \n )\n}\n",
"type": "registry:example",
"target": ""
}
diff --git a/apps/www/public/r/styles/default/data-table-demo.json b/apps/www/public/r/styles/default/data-table-demo.json
index f9dbcec58c2..31afff9333c 100644
--- a/apps/www/public/r/styles/default/data-table-demo.json
+++ b/apps/www/public/r/styles/default/data-table-demo.json
@@ -7,7 +7,7 @@
"files": [
{
"path": "example/data-table-demo.tsx",
- "content": "\"use client\"\n\nimport * as React from \"react\"\nimport {\n ColumnDef,\n ColumnFiltersState,\n SortingState,\n VisibilityState,\n flexRender,\n getCoreRowModel,\n getFilteredRowModel,\n getPaginationRowModel,\n getSortedRowModel,\n useReactTable,\n} from \"@tanstack/react-table\"\nimport { ArrowUpDown, ChevronDown, MoreHorizontal } from \"lucide-react\"\n\nimport { Button } from \"@/registry/default/ui/button\"\nimport { Checkbox } from \"@/registry/default/ui/checkbox\"\nimport {\n DropdownMenu,\n DropdownMenuCheckboxItem,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuTrigger,\n} from \"@/registry/default/ui/dropdown-menu\"\nimport { Input } from \"@/registry/default/ui/input\"\nimport {\n Table,\n TableBody,\n TableCell,\n TableHead,\n TableHeader,\n TableRow,\n} from \"@/registry/default/ui/table\"\n\nconst data: Payment[] = [\n {\n id: \"m5gr84i9\",\n amount: 316,\n status: \"success\",\n email: \"ken99@yahoo.com\",\n },\n {\n id: \"3u1reuv4\",\n amount: 242,\n status: \"success\",\n email: \"Abe45@gmail.com\",\n },\n {\n id: \"derv1ws0\",\n amount: 837,\n status: \"processing\",\n email: \"Monserrat44@gmail.com\",\n },\n {\n id: \"5kma53ae\",\n amount: 874,\n status: \"success\",\n email: \"Silas22@gmail.com\",\n },\n {\n id: \"bhqecj4p\",\n amount: 721,\n status: \"failed\",\n email: \"carmella@hotmail.com\",\n },\n]\n\nexport type Payment = {\n id: string\n amount: number\n status: \"pending\" | \"processing\" | \"success\" | \"failed\"\n email: string\n}\n\nexport const columns: ColumnDefDocumentation
\n\n You can customize the theme using{\" \"}\n \n CSS variables\n
\n .{\" \"}\n \n Click here\n {\" \"}\n to learn more.\n
\n Push Notifications\n
\n\n Send notifications to device.\n
\n\n {notification.title}\n
\n\n {notification.description}\n
\n\n The React Framework – created and maintained by @vercel.\n
\n\n Beautifully designed components built with Radix UI and\n Tailwind CSS.\n
\n \n\n {children}\n
\n \n\n Set the dimensions for the layer.\n
\n\n An open-source UI component library.\n
\nAdd to library
\n\n {JSON.stringify(data, null, 2)}
\n
\n ),\n })\n }\n\n return (\n \n \n )\n}\n",
+ "content": "\"use client\"\n\nimport { zodResolver } from \"@hookform/resolvers/zod\"\nimport { format } from \"date-fns\"\nimport { CalendarIcon } from \"lucide-react\"\nimport { useForm } from \"react-hook-form\"\nimport { z } from \"zod\"\n\nimport { cn } from \"@/lib/utils\"\nimport { toast } from \"@/registry/new-york/hooks/use-toast\"\nimport { Button } from \"@/registry/new-york/ui/button\"\nimport { Calendar } from \"@/registry/new-york/ui/calendar\"\nimport {\n Form,\n FormControl,\n FormDescription,\n FormField,\n FormItem,\n FormLabel,\n FormMessage,\n} from \"@/registry/new-york/ui/form\"\nimport {\n Popover,\n PopoverContent,\n PopoverTrigger,\n} from \"@/registry/new-york/ui/popover\"\n\nconst FormSchema = z.object({\n dob: z.date({\n required_error: \"A date of birth is required.\",\n }),\n})\n\nexport default function CalendarForm() {\n const form = useForm\n {JSON.stringify(data, null, 2)}
\n
\n ),\n })\n }\n\n return (\n \n \n )\n}\n",
"type": "registry:example",
"target": ""
}
diff --git a/apps/www/public/r/styles/new-york/calendar.json b/apps/www/public/r/styles/new-york/calendar.json
index 2aafb7948c3..cd5ba6bc99c 100644
--- a/apps/www/public/r/styles/new-york/calendar.json
+++ b/apps/www/public/r/styles/new-york/calendar.json
@@ -11,7 +11,7 @@
"files": [
{
"path": "ui/calendar.tsx",
- "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { ChevronLeftIcon, ChevronRightIcon } from \"@radix-ui/react-icons\"\nimport { DayPicker } from \"react-day-picker\"\n\nimport { cn } from \"@/lib/utils\"\nimport { buttonVariants } from \"@/registry/new-york/ui/button\"\n\nexport type CalendarProps = React.ComponentProps\n Push Notifications\n
\n\n Send notifications to device.\n
\n\n {notification.title}\n
\n\n {notification.description}\n
\n\n Push Notifications\n
\n\n Send notifications to device.\n
\n\n {notification.title}\n
\n\n {notification.description}\n
\n\n \n {label}\n \n Create a new project\n
\n\n \n {label}\n \n Create a new project\n
\n\n {JSON.stringify(data, null, 2)}
\n
\n ),\n })\n }\n\n return (\n \n \n )\n}\n",
+ "content": "\"use client\"\n\nimport { zodResolver } from \"@hookform/resolvers/zod\"\nimport { Check, ChevronsUpDown } from \"lucide-react\"\nimport { useForm } from \"react-hook-form\"\nimport { z } from \"zod\"\n\nimport { cn } from \"@/lib/utils\"\nimport { toast } from \"@/registry/new-york/hooks/use-toast\"\nimport { Button } from \"@/registry/new-york/ui/button\"\nimport {\n Command,\n CommandEmpty,\n CommandGroup,\n CommandInput,\n CommandItem,\n CommandList,\n} from \"@/registry/new-york/ui/command\"\nimport {\n Form,\n FormControl,\n FormDescription,\n FormField,\n FormItem,\n FormLabel,\n FormMessage,\n} from \"@/registry/new-york/ui/form\"\nimport {\n Popover,\n PopoverContent,\n PopoverTrigger,\n} from \"@/registry/new-york/ui/popover\"\n\nconst languages = [\n { label: \"English\", value: \"en\" },\n { label: \"French\", value: \"fr\" },\n { label: \"German\", value: \"de\" },\n { label: \"Spanish\", value: \"es\" },\n { label: \"Portuguese\", value: \"pt\" },\n { label: \"Russian\", value: \"ru\" },\n { label: \"Japanese\", value: \"ja\" },\n { label: \"Korean\", value: \"ko\" },\n { label: \"Chinese\", value: \"zh\" },\n] as const\n\nconst FormSchema = z.object({\n language: z.string({\n required_error: \"Please select a language.\",\n }),\n})\n\nexport default function ComboboxForm() {\n const form = useForm\n {JSON.stringify(data, null, 2)}
\n
\n ),\n })\n }\n\n return (\n \n \n )\n}\n",
"type": "registry:example",
"target": ""
}
diff --git a/apps/www/public/r/styles/new-york/command-demo.json b/apps/www/public/r/styles/new-york/command-demo.json
index 3409b5abfe7..7d6465f82ad 100644
--- a/apps/www/public/r/styles/new-york/command-demo.json
+++ b/apps/www/public/r/styles/new-york/command-demo.json
@@ -7,7 +7,7 @@
"files": [
{
"path": "example/command-demo.tsx",
- "content": "import {\n CalendarIcon,\n EnvelopeClosedIcon,\n FaceIcon,\n GearIcon,\n PersonIcon,\n RocketIcon,\n} from \"@radix-ui/react-icons\"\n\nimport {\n Command,\n CommandEmpty,\n CommandGroup,\n CommandInput,\n CommandItem,\n CommandList,\n CommandSeparator,\n CommandShortcut,\n} from \"@/registry/new-york/ui/command\"\n\nexport default function CommandDemo() {\n return (\n \n Press{\" \"}\n \n ⌘J\n \n
\n\n Press{\" \"}\n \n ⌘J\n \n
\n\n {JSON.stringify(data, null, 2)}
\n
\n ),\n })\n }\n\n return (\n \n \n )\n}\n",
+ "content": "\"use client\"\n\nimport { zodResolver } from \"@hookform/resolvers/zod\"\nimport { format } from \"date-fns\"\nimport { CalendarIcon } from \"lucide-react\"\nimport { useForm } from \"react-hook-form\"\nimport { z } from \"zod\"\n\nimport { cn } from \"@/lib/utils\"\nimport { toast } from \"@/registry/new-york/hooks/use-toast\"\nimport { Button } from \"@/registry/new-york/ui/button\"\nimport { Calendar } from \"@/registry/new-york/ui/calendar\"\nimport {\n Form,\n FormControl,\n FormDescription,\n FormField,\n FormItem,\n FormLabel,\n FormMessage,\n} from \"@/registry/new-york/ui/form\"\nimport {\n Popover,\n PopoverContent,\n PopoverTrigger,\n} from \"@/registry/new-york/ui/popover\"\n\nconst FormSchema = z.object({\n dob: z.date({\n required_error: \"A date of birth is required.\",\n }),\n})\n\nexport default function DatePickerForm() {\n const form = useForm\n {JSON.stringify(data, null, 2)}
\n
\n ),\n })\n }\n\n return (\n \n \n )\n}\n",
"type": "registry:example",
"target": ""
}
diff --git a/apps/www/public/r/styles/new-york/date-picker-with-presets.json b/apps/www/public/r/styles/new-york/date-picker-with-presets.json
index 2a24bea81f4..f42b35fb6d7 100644
--- a/apps/www/public/r/styles/new-york/date-picker-with-presets.json
+++ b/apps/www/public/r/styles/new-york/date-picker-with-presets.json
@@ -13,7 +13,7 @@
"files": [
{
"path": "example/date-picker-with-presets.tsx",
- "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { CalendarIcon } from \"@radix-ui/react-icons\"\nimport { addDays, format } from \"date-fns\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/registry/new-york/ui/button\"\nimport { Calendar } from \"@/registry/new-york/ui/calendar\"\nimport {\n Popover,\n PopoverContent,\n PopoverTrigger,\n} from \"@/registry/new-york/ui/popover\"\nimport {\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from \"@/registry/new-york/ui/select\"\n\nexport default function DatePickerWithPresets() {\n const [date, setDate] = React.useState\n The React Framework – created and maintained by @vercel.\n
\n\n The React Framework – created and maintained by @vercel.\n
\n