{"$schema":"https://ui.shadcn.com/schema/registry-item.json","type":"registry:block","registryDependencies":["alert-dialog","avatar","badge","button","card","checkbox","field","input","switch","toggle-group","@efferd/indicator","@efferd/app-shell-3"],"name":"settings-3","description":"Agent settings with a status preview card, availability, notification toggles, and a danger zone.","categories":["settings"],"files":[{"path":"registry/blocks/settings/3/agent-preview.tsx","type":"registry:component","content":"import {\n\tAvatar,\n\tAvatarFallback,\n\tAvatarImage,\n} from \"@/components/ui/avatar\";\nimport { Badge } from \"@/components/ui/badge\";\nimport {\n\tCard,\n\tCardContent,\n\tCardFooter,\n\tCardHeader,\n} from \"@/components/ui/card\";\nimport { StatusIndicator } from \"@/components/indicator\";\n\nconst stats = [\n\t{ label: \"CSAT\", value: \"94%\" },\n\t{ label: \"Assigned\", value: \"6\" },\n\t{ label: \"Reply\", value: \"4.1m\" },\n] as const;\n\nexport function AgentPreview() {\n\treturn (\n\t\t<Card className=\"h-full gap-0 shadow-none dark:ring-0\">\n\t\t\t<CardHeader>\n\t\t\t\t<Badge variant=\"secondary\">Public Preview</Badge>\n\t\t\t</CardHeader>\n\t\t\t<CardContent className=\"flex flex-1 flex-col items-start justify-center px-(--card-spacing) py-8\">\n\t\t\t\t<Avatar className=\"size-20\">\n\t\t\t\t\t<AvatarImage alt=\"\" src=\"https://github.com/shabanhr.png\" />\n\t\t\t\t\t<AvatarFallback>SH</AvatarFallback>\n\t\t\t\t</Avatar>\n\t\t\t\t<p className=\"mt-4 text-balance font-heading font-medium text-xl\">\n\t\t\t\t\tShaban Haider\n\t\t\t\t</p>\n\t\t\t\t<p className=\"mt-1 text-pretty text-muted-foreground text-sm\">\n\t\t\t\t\tSupport lead · Karachi\n\t\t\t\t</p>\n\t\t\t\t<div className=\"mt-3 flex items-center gap-1.5 text-xs\">\n\t\t\t\t\t<StatusIndicator color=\"emerald\" />\n\t\t\t\t\t<span>Online</span>\n\t\t\t\t\t<span className=\"truncate text-muted-foreground\">\n\t\t\t\t\t\t· typically replies in 4.1m\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t\t{/* <blockquote className=\"mt-6 w-full text-pretty rounded-lg border bg-muted/40 p-3 text-left text-sm\">\n\t\t\t\t\tHi, I&apos;m Shaban. I&apos;ll take it from here.\n\t\t\t\t</blockquote> */}\n\t\t\t</CardContent>\n\t\t\t<CardFooter className=\"grid w-full grid-cols-3 divide-x border-t\">\n\t\t\t\t{stats.map((stat) => (\n\t\t\t\t\t<div className=\"flex flex-col gap-1 ps-4\" key={stat.label}>\n\t\t\t\t\t\t<p className=\"text-[10px] text-mono text-muted-foreground\">\n\t\t\t\t\t\t\t{stat.label}\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p className=\"font-medium text-sm tabular-nums\">{stat.value}</p>\n\t\t\t\t\t</div>\n\t\t\t\t))}\n\t\t\t</CardFooter>\n\t\t</Card>\n\t);\n}\n"},{"path":"registry/blocks/settings/3/availability-settings.tsx","type":"registry:component","content":"\"use client\";\nimport { CardContent } from \"@/components/ui/card\";\nimport { FieldGroup, FieldSeparator } from \"@/components/ui/field\";\nimport { Input } from \"@/components/ui/input\";\nimport { Switch } from \"@/components/ui/switch\";\nimport {\n\tToggleGroup,\n\tToggleGroupItem,\n} from \"@/components/ui/toggle-group\";\nimport { StatusIndicator } from \"@/components/indicator\";\nimport { SettingField } from \"@/components/settings-field\";\nimport { SettingsSection } from \"@/components/settings-section\";\n\nconst statuses = [\n\t{ value: \"online\", label: \"Online\", color: \"emerald\" },\n\t{ value: \"away\", label: \"Away\", color: \"amber\" },\n\t{ value: \"offline\", label: \"Offline\", color: \"rose\" },\n] as const;\n\nexport function AvailabilitySettings() {\n\treturn (\n\t\t<SettingsSection\n\t\t\tdescription=\"When and how much work gets routed to you.\"\n\t\t\ttitle=\"Availability\"\n\t\t>\n\t\t\t<CardContent className=\"flex-1 px-0 py-(--card-spacing)\">\n\t\t\t\t<FieldGroup className=\"gap-5\">\n\t\t\t\t\t<SettingField\n\t\t\t\t\t\tdescription=\"Shown to teammates in the queue.\"\n\t\t\t\t\t\thtmlFor=\"status\"\n\t\t\t\t\t\tlabel=\"Status\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<ToggleGroup\n\t\t\t\t\t\t\taria-label=\"Status\"\n\t\t\t\t\t\t\tdefaultValue=\"online\"\n\t\t\t\t\t\t\tid=\"status\"\n\t\t\t\t\t\t\ttype=\"single\"\n\t\t\t\t\t\t\tvariant=\"outline\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{statuses.map((status) => (\n\t\t\t\t\t\t\t\t<ToggleGroupItem key={status.value} value={status.value}>\n\t\t\t\t\t\t\t\t\t<StatusIndicator color={status.color} pulse={false} />\n\t\t\t\t\t\t\t\t\t{status.label}\n\t\t\t\t\t\t\t\t</ToggleGroupItem>\n\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t</ToggleGroup>\n\t\t\t\t\t</SettingField>\n\t\t\t\t\t<FieldSeparator />\n\t\t\t\t\t<SettingField\n\t\t\t\t\t\tdescription=\"Outside these hours you're set to away.\"\n\t\t\t\t\t\thtmlFor=\"hours-start\"\n\t\t\t\t\t\tlabel=\"Working hours\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<div className=\"flex items-center gap-2\">\n\t\t\t\t\t\t\t<Input\n\t\t\t\t\t\t\t\taria-label=\"Start time\"\n\t\t\t\t\t\t\t\tclassName=\"w-32\"\n\t\t\t\t\t\t\t\tdefaultValue=\"09:00\"\n\t\t\t\t\t\t\t\tid=\"hours-start\"\n\t\t\t\t\t\t\t\ttype=\"time\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<span className=\"text-muted-foreground text-xs\">to</span>\n\t\t\t\t\t\t\t<Input\n\t\t\t\t\t\t\t\taria-label=\"End time\"\n\t\t\t\t\t\t\t\tclassName=\"w-32\"\n\t\t\t\t\t\t\t\tdefaultValue=\"17:00\"\n\t\t\t\t\t\t\t\ttype=\"time\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</SettingField>\n\n\t\t\t\t\t<FieldSeparator />\n\t\t\t\t\t<SettingField\n\t\t\t\t\t\tdescription=\"Assign new threads to you automatically.\"\n\t\t\t\t\t\thtmlFor=\"auto-assign\"\n\t\t\t\t\t\tlabel=\"Auto-assign\"\n\t\t\t\t\t\torientation=\"horizontal\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<Switch defaultChecked id=\"auto-assign\" />\n\t\t\t\t\t</SettingField>\n\t\t\t\t</FieldGroup>\n\t\t\t</CardContent>\n\t\t</SettingsSection>\n\t);\n}\n"},{"path":"registry/blocks/settings/3/danger-settings.tsx","type":"registry:component","content":"import {\n\tAlertDialog,\n\tAlertDialogAction,\n\tAlertDialogCancel,\n\tAlertDialogContent,\n\tAlertDialogDescription,\n\tAlertDialogFooter,\n\tAlertDialogHeader,\n\tAlertDialogTitle,\n\tAlertDialogTrigger,\n} from \"@/components/ui/alert-dialog\";\nimport { Button } from \"@/components/ui/button\";\nimport { CardContent } from \"@/components/ui/card\";\nimport { FieldGroup, FieldSeparator } from \"@/components/ui/field\";\nimport { SettingField } from \"@/components/settings-field\";\nimport { SettingsSection } from \"@/components/settings-section\";\n\nexport function DangerSettings() {\n\treturn (\n\t\t<SettingsSection\n\t\t\tclassName=\"lg:col-span-4\"\n\t\t\tdescription=\"Irreversible and destructive actions.\"\n\t\t\ttitle=\"Danger zone\"\n\t\t>\n\t\t\t<CardContent className=\"flex-1 px-0 py-(--card-spacing)\">\n\t\t\t\t<FieldGroup className=\"gap-5\">\n\t\t\t\t\t<SettingField\n\t\t\t\t\t\tdescription=\"End every signed-in session except this one.\"\n\t\t\t\t\t\thtmlFor=\"sign-out-sessions\"\n\t\t\t\t\t\tlabel=\"Sessions\"\n\t\t\t\t\t\torientation=\"horizontal\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\tid=\"sign-out-sessions\"\n\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\tvariant=\"outline\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tSign out all\n\t\t\t\t\t\t</Button>\n\t\t\t\t\t</SettingField>\n\t\t\t\t\t<FieldSeparator />\n\t\t\t\t\t<SettingField\n\t\t\t\t\t\tdescription=\"Remove your account and assigned threads.\"\n\t\t\t\t\t\thtmlFor=\"delete-account\"\n\t\t\t\t\t\tlabel=\"Delete account\"\n\t\t\t\t\t\torientation=\"horizontal\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<AlertDialog>\n\t\t\t\t\t\t\t<AlertDialogTrigger asChild>\n\t\t\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\t\t\tid=\"delete-account\"\n\t\t\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\tvariant=\"destructive\"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t\t</AlertDialogTrigger>\n\t\t\t\t\t\t\t<AlertDialogContent size=\"sm\">\n\t\t\t\t\t\t\t\t<AlertDialogHeader>\n\t\t\t\t\t\t\t\t\t<AlertDialogTitle>Delete your account?</AlertDialogTitle>\n\t\t\t\t\t\t\t\t\t<AlertDialogDescription>\n\t\t\t\t\t\t\t\t\t\tThis permanently removes your profile, open conversations\n\t\t\t\t\t\t\t\t\t\tassigned to you, and notification preferences. This cannot\n\t\t\t\t\t\t\t\t\t\tbe undone.\n\t\t\t\t\t\t\t\t\t</AlertDialogDescription>\n\t\t\t\t\t\t\t\t</AlertDialogHeader>\n\t\t\t\t\t\t\t\t<AlertDialogFooter>\n\t\t\t\t\t\t\t\t\t<AlertDialogCancel>Cancel</AlertDialogCancel>\n\t\t\t\t\t\t\t\t\t<AlertDialogAction variant=\"destructive\">\n\t\t\t\t\t\t\t\t\t\tDelete account\n\t\t\t\t\t\t\t\t\t</AlertDialogAction>\n\t\t\t\t\t\t\t\t</AlertDialogFooter>\n\t\t\t\t\t\t\t</AlertDialogContent>\n\t\t\t\t\t\t</AlertDialog>\n\t\t\t\t\t</SettingField>\n\t\t\t\t</FieldGroup>\n\t\t\t</CardContent>\n\t\t</SettingsSection>\n\t);\n}\n"},{"path":"registry/blocks/settings/3/notification-settings.tsx","type":"registry:component","content":"import { Fragment } from \"react\";\nimport { CardContent } from \"@/components/ui/card\";\nimport { Checkbox } from \"@/components/ui/checkbox\";\nimport { FieldGroup, FieldSeparator } from \"@/components/ui/field\";\nimport { SettingField } from \"@/components/settings-field\";\nimport { SettingsSection } from \"@/components/settings-section\";\n\nconst methods = [\"Email\", \"Push\", \"Desktop\"] as const;\n\ntype Method = (typeof methods)[number];\n\nconst events: {\n\tid: string;\n\tlabel: string;\n\tdescription: string;\n\tenabled: Method[];\n}[] = [\n\t{\n\t\tid: \"assigned\",\n\t\tlabel: \"Conversation assigned\",\n\t\tdescription: \"A thread is routed to you.\",\n\t\tenabled: [\"Email\", \"Push\", \"Desktop\"],\n\t},\n\t{\n\t\tid: \"reply\",\n\t\tlabel: \"Customer replied\",\n\t\tdescription: \"New message on your open threads.\",\n\t\tenabled: [\"Push\", \"Desktop\"],\n\t},\n\t{\n\t\tid: \"mention\",\n\t\tlabel: \"Mentioned\",\n\t\tdescription: \"A teammate @mentions you in a note.\",\n\t\tenabled: [\"Email\", \"Push\"],\n\t},\n\t{\n\t\tid: \"sla\",\n\t\tlabel: \"SLA at risk\",\n\t\tdescription: \"A reply is due in under 15 minutes.\",\n\t\tenabled: [\"Email\", \"Push\", \"Desktop\"],\n\t},\n];\n\nexport function NotificationSettings() {\n\treturn (\n\t\t<SettingsSection\n\t\t\tdescription=\"Pick how you hear about each event.\"\n\t\t\ttitle=\"Notifications\"\n\t\t>\n\t\t\t<CardContent className=\"flex-1 px-0 py-(--card-spacing)\">\n\t\t\t\t<FieldGroup className=\"gap-5\">\n\t\t\t\t\t<div className=\"flex justify-end px-(--card-spacing)\">\n\t\t\t\t\t\t<div className=\"grid w-56 grid-cols-3 justify-items-center gap-2\">\n\t\t\t\t\t\t\t{methods.map((method) => (\n\t\t\t\t\t\t\t\t<span className=\"text-muted-foreground text-xs\" key={method}>\n\t\t\t\t\t\t\t\t\t{method}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t{events.map((event, index) => (\n\t\t\t\t\t\t<Fragment key={event.id}>\n\t\t\t\t\t\t\t{index > 0 && <FieldSeparator />}\n\t\t\t\t\t\t\t<SettingField\n\t\t\t\t\t\t\t\tdescription={event.description}\n\t\t\t\t\t\t\t\thtmlFor={`${event.id}-email`}\n\t\t\t\t\t\t\t\tlabel={event.label}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<div className=\"grid w-56 grid-cols-3 justify-items-center gap-2\">\n\t\t\t\t\t\t\t\t\t{methods.map((method) => (\n\t\t\t\t\t\t\t\t\t\t<Checkbox\n\t\t\t\t\t\t\t\t\t\t\taria-label={`${event.label} via ${method}`}\n\t\t\t\t\t\t\t\t\t\t\tdefaultChecked={event.enabled.includes(method)}\n\t\t\t\t\t\t\t\t\t\t\tid={`${event.id}-${method.toLowerCase()}`}\n\t\t\t\t\t\t\t\t\t\t\tkey={method}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</SettingField>\n\t\t\t\t\t\t</Fragment>\n\t\t\t\t\t))}\n\t\t\t\t</FieldGroup>\n\t\t\t</CardContent>\n\t\t</SettingsSection>\n\t);\n}\n"},{"path":"registry/blocks/settings/3/profile-settings.tsx","type":"registry:component","content":"\"use client\";\nimport { useEffect, useState } from \"react\";\nimport {\n\tAvatar,\n\tAvatarFallback,\n\tAvatarImage,\n} from \"@/components/ui/avatar\";\nimport { Button } from \"@/components/ui/button\";\nimport { CardContent, CardFooter } from \"@/components/ui/card\";\nimport { FieldGroup, FieldSeparator } from \"@/components/ui/field\";\nimport { Input } from \"@/components/ui/input\";\n\nimport { SettingField } from \"@/components/settings-field\";\nimport { SettingsSection } from \"@/components/settings-section\";\n\nconst defaultSrc = \"https://github.com/shabanhr.png\";\n\nexport function ProfileSettings() {\n\treturn (\n\t\t<SettingsSection\n\t\t\tdescription=\"How you appear to teammates and customers.\"\n\t\t\ttitle=\"Profile\"\n\t\t>\n\t\t\t<CardContent className=\"flex-1 px-0 py-(--card-spacing)\">\n\t\t\t\t<FieldGroup className=\"gap-5\">\n\t\t\t\t\t<SettingField\n\t\t\t\t\t\tclassName=\"[&>[data-slot=field-content]:last-child]:w-full\"\n\t\t\t\t\t\tdescription=\"Click to upload a square image, at least 256px.\"\n\t\t\t\t\t\thtmlFor=\"avatar\"\n\t\t\t\t\t\tlabel=\"Your Avatar\"\n\t\t\t\t\t\torientation=\"horizontal\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<SettingsAvatar />\n\t\t\t\t\t</SettingField>\n\t\t\t\t\t<FieldSeparator />\n\t\t\t\t\t<SettingField\n\t\t\t\t\t\tdescription=\"Used in comments, invoices, and the sidebar.\"\n\t\t\t\t\t\thtmlFor=\"display-name\"\n\t\t\t\t\t\tlabel=\"Display name\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<Input\n\t\t\t\t\t\t\tautoComplete=\"name\"\n\t\t\t\t\t\t\tdefaultValue=\"Shaban Haider\"\n\t\t\t\t\t\t\tid=\"display-name\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</SettingField>\n\t\t\t\t\t<FieldSeparator />\n\t\t\t\t\t<SettingField\n\t\t\t\t\t\tdescription=\"Sign-in and billing receipts go here.\"\n\t\t\t\t\t\thtmlFor=\"email\"\n\t\t\t\t\t\tlabel=\"Primary Email\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<Input\n\t\t\t\t\t\t\tautoComplete=\"email\"\n\t\t\t\t\t\t\tdefaultValue=\"shaban@efferd.com\"\n\t\t\t\t\t\t\tid=\"email\"\n\t\t\t\t\t\t\ttype=\"email\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</SettingField>\n\t\t\t\t</FieldGroup>\n\t\t\t</CardContent>\n\t\t\t<CardFooter className=\"justify-end gap-2 border-t\">\n\t\t\t\t<Button type=\"button\" variant=\"ghost\">\n\t\t\t\t\tCancel\n\t\t\t\t</Button>\n\t\t\t\t<Button type=\"button\">Save changes</Button>\n\t\t\t</CardFooter>\n\t\t</SettingsSection>\n\t);\n}\n\nfunction SettingsAvatar() {\n\tconst [src, setSrc] = useState(defaultSrc);\n\n\tuseEffect(() => {\n\t\tif (!src.startsWith(\"blob:\")) {\n\t\t\treturn;\n\t\t}\n\t\treturn () => URL.revokeObjectURL(src);\n\t}, [src]);\n\n\treturn (\n\t\t<div className=\"flex w-full items-center justify-between gap-4\">\n\t\t\t<Avatar className=\"size-16\">\n\t\t\t\t<AvatarImage alt=\"\" src={src} />\n\t\t\t\t<AvatarFallback>SH</AvatarFallback>\n\t\t\t</Avatar>\n\t\t\t<div className=\"flex items-center\">\n\t\t\t\t<Button\n\t\t\t\t\tclassName=\"text-destructive\"\n\t\t\t\t\tdisabled={!src}\n\t\t\t\t\tonClick={() => setSrc(\"\")}\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\tvariant=\"link\"\n\t\t\t\t>\n\t\t\t\t\tDelete\n\t\t\t\t</Button>\n\t\t\t\t<Button asChild variant=\"link\">\n\t\t\t\t\t<label className=\"cursor-pointer\" htmlFor=\"avatar\">\n\t\t\t\t\t\tUpdate\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\taccept=\"image/*\"\n\t\t\t\t\t\t\tclassName=\"sr-only\"\n\t\t\t\t\t\t\tid=\"avatar\"\n\t\t\t\t\t\t\tonChange={(event) => {\n\t\t\t\t\t\t\t\tconst file = event.target.files?.[0];\n\t\t\t\t\t\t\t\tif (!file) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tsetSrc(URL.createObjectURL(file));\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\ttype=\"file\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</label>\n\t\t\t\t</Button>\n\t\t\t</div>\n\t\t</div>\n\t);\n}\n"},{"path":"registry/blocks/settings/3/settings-field.tsx","type":"registry:component","content":"import { cn } from \"@/lib/utils\";\nimport {\n\tField,\n\tFieldContent,\n\tFieldDescription,\n\tFieldLabel,\n} from \"@/components/ui/field\";\n\nexport function SettingField({\n\tlabel,\n\tdescription,\n\thtmlFor,\n\tchildren,\n\tclassName,\n\t...props\n}: React.ComponentProps<typeof Field> & {\n\tlabel: string;\n\tdescription: string;\n\thtmlFor: string;\n\tchildren: React.ReactNode;\n\tclassName?: string;\n}) {\n\treturn (\n\t\t<Field\n\t\t\tclassName={cn(\n\t\t\t\t\"px-(--card-spacing) @md/field-group:has-[>[data-slot=field-content]]:items-center\",\n\t\t\t\tclassName\n\t\t\t)}\n\t\t\torientation=\"responsive\"\n\t\t\t{...props}\n\t\t>\n\t\t\t<FieldContent>\n\t\t\t\t<FieldLabel className=\"font-normal\" htmlFor={htmlFor}>\n\t\t\t\t\t{label}\n\t\t\t\t</FieldLabel>\n\t\t\t\t<FieldDescription className=\"text-xs\">{description}</FieldDescription>\n\t\t\t</FieldContent>\n\t\t\t<FieldContent className=\"items-end\">{children}</FieldContent>\n\t\t</Field>\n\t);\n}\n"},{"path":"registry/blocks/settings/3/settings-section.tsx","type":"registry:component","content":"import { cn } from \"@/lib/utils\";\nimport {\n\tCard,\n\tCardDescription,\n\tCardHeader,\n\tCardTitle,\n} from \"@/components/ui/card\";\n\nexport function SettingsSection({\n\ttitle,\n\tdescription,\n\tchildren,\n\tclassName,\n\t...props\n}: Omit<React.ComponentProps<typeof Card>, \"title\"> & {\n\ttitle: string;\n\tdescription: string;\n}) {\n\treturn (\n\t\t<Card\n\t\t\tclassName={cn(\"gap-0 pb-0 shadow-none dark:ring-0\", className)}\n\t\t\t{...props}\n\t\t>\n\t\t\t<CardHeader className=\"border-b\">\n\t\t\t\t<CardTitle>{title}</CardTitle>\n\t\t\t\t<CardDescription>{description}</CardDescription>\n\t\t\t</CardHeader>\n\t\t\t{children}\n\t\t</Card>\n\t);\n}\n"},{"path":"registry/blocks/settings/3/settings.tsx","type":"registry:component","content":"import { AgentPreview } from \"@/components/agent-preview\";\nimport { AvailabilitySettings } from \"@/components/availability-settings\";\nimport { DangerSettings } from \"@/components/danger-settings\";\nimport { NotificationSettings } from \"@/components/notification-settings\";\nimport { ProfileSettings } from \"@/components/profile-settings\";\n\nexport function Settings() {\n\treturn (\n\t\t<div className=\"flex w-full flex-col gap-4\">\n\t\t\t<div className=\"grid w-full gap-4 lg:grid-cols-2 xl:grid-cols-[.3fr_1fr]\">\n\t\t\t\t<AgentPreview />\n\t\t\t\t<ProfileSettings />\n\t\t\t</div>\n\t\t\t<div className=\"grid w-full gap-4 xl:grid-cols-2\">\n\t\t\t\t<AvailabilitySettings />\n\t\t\t\t<NotificationSettings />\n\t\t\t</div>\n\t\t\t<DangerSettings />\n\t\t</div>\n\t);\n}\n"}]}