{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "calendar", "type": "registry:ui", "title": "TAC Calendar", "description": "react-day-picker calendar with the nav-z-index + months-relative DayPicker-layout fix that ships with TAC.", "dependencies": [ "react-day-picker" ], "files": [ { "path": "src/components/primitives/calendar.tsx", "type": "registry:ui", "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { DayPicker, getDefaultClassNames } from \"react-day-picker\"\n\nimport { cn } from \"@workspace/ui/lib/utils\"\nimport { buttonVariants } from \"@workspace/ui/components/button\"\nimport {\n RiArrowLeftSLine,\n RiArrowRightSLine,\n} from \"@workspace/ui/icons\"\n\nfunction Calendar({\n className,\n classNames,\n showOutsideDays = true,\n ...props\n}: React.ComponentProps) {\n const defaults = getDefaultClassNames()\n\n return (\n {\n if (orientation === \"left\") {\n return \n }\n return \n },\n }}\n {...props}\n />\n )\n}\n\nexport { Calendar }\n" } ] }