{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hud-calendar",
  "type": "registry:ui",
  "title": "HUD Calendar",
  "description": "Mono grid calendar with accent selection and range tint.",
  "dependencies": [
    "react-day-picker"
  ],
  "registryDependencies": [
    "utils"
  ],
  "files": [
    {
      "path": "registry/hud/hud-calendar.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { DayPicker } from \"react-day-picker\"\nimport { cn } from \"@/lib/utils\"\n\nfunction HudCalendar({\n  className,\n  classNames,\n  showOutsideDays = true,\n  ...props\n}: React.ComponentProps<typeof DayPicker>) {\n  return (\n    <DayPicker\n      showOutsideDays={showOutsideDays}\n      className={cn(\"inline-block border border-border bg-[#0F1113] p-4\", className)}\n      classNames={{\n        months: \"relative flex flex-col gap-4\",\n        month: \"flex flex-col gap-3\",\n        month_caption: \"flex h-7 items-center justify-center\",\n        caption_label:\n          \"font-sans text-[15px] font-semibold uppercase tracking-[0.16em] text-foreground\",\n        nav: \"absolute inset-x-0 top-0 z-10 flex h-7 items-center justify-between\",\n        button_previous:\n          \"cursor-pointer font-mono text-[10px] text-[#5A6065] transition-colors outline-none hover:text-primary\",\n        button_next:\n          \"cursor-pointer font-mono text-[10px] text-[#5A6065] transition-colors outline-none hover:text-primary\",\n        month_grid: \"w-full border-collapse\",\n        weekdays: \"flex gap-0.5\",\n        weekday: \"w-8 pb-1 text-center font-mono text-[10px] uppercase text-[#4A5054]\",\n        week: \"mt-0.5 flex gap-0.5\",\n        day: \"p-0 text-center font-mono text-[10px] text-[#8A9094]\",\n        day_button:\n          \"size-8 cursor-pointer text-inherit outline-none transition-colors hover:bg-accent\",\n        today: \"[&>button]:text-primary\",\n        selected: \"bg-primary text-primary-foreground\",\n        range_start: \"bg-primary text-primary-foreground\",\n        range_end: \"bg-primary text-primary-foreground\",\n        range_middle: \"bg-primary/15 text-foreground\",\n        outside: \"text-[#3A4045]\",\n        disabled: \"text-[#3A4045] opacity-50\",\n        hidden: \"invisible\",\n        ...classNames,\n      }}\n      components={{\n        Chevron: ({ orientation }) => (\n          <span aria-hidden>{orientation === \"left\" ? \"‹\" : \"›\"}</span>\n        ),\n      }}\n      modifiersClassNames={{\n        selected: \"bg-primary text-primary-foreground\",\n        range_middle: \"bg-primary/15 text-foreground\",\n      }}\n      {...props}\n    />\n  )\n}\n\nexport { HudCalendar }\n",
      "type": "registry:ui"
    }
  ]
}