{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "month-range-calendar",
  "type": "registry:ui",
  "title": "Month Range Calendar",
  "dependencies": [
    "@base-ui-next/react"
  ],
  "registryDependencies": [
    "https://hamur.dev/r/react/utils.json",
    "https://hamur.dev/r/react/button.json",
    "https://hamur.dev/r/react/month-calendar.json"
  ],
  "files": [
    {
      "path": "react/month-range-calendar.tsx",
      "content": "'use client'\n\nimport type * as React from 'react' // base-ui-next/ui month-range-calendar@0.1.0\nimport { MonthRangeCalendar as MonthRangeCalendarPrimitive } from '@base-ui-next/react/month-range-calendar'\nimport { cn } from '@/lib/utils'\nimport { MonthCalendarContent } from '@/components/ui/month-calendar'\n\nconst monthCalendarClassName =\n  'group/month-calendar w-fit bg-background p-3 in-data-[slot=card-content]:bg-transparent in-data-[slot=popover-content]:bg-transparent in-data-[slot=month-picker-popup]:bg-transparent in-data-[slot=month-range-picker-popup]:bg-transparent'\n\ntype MonthRangeCalendarProps = MonthRangeCalendarPrimitive.Root.Props &\n  Pick<React.ComponentProps<typeof MonthCalendarContent>, 'buttonVariant'>\n\n// No shadcn item: the Month Calendar's markup on the range Root, Base UI's ID as slug.\nfunction MonthRangeCalendar({\n  className,\n  children,\n  buttonVariant,\n  ...props\n}: MonthRangeCalendarProps) {\n  return (\n    <MonthRangeCalendarPrimitive.Root\n      data-slot=\"month-range-calendar\"\n      className={cn(monthCalendarClassName, className)}\n      {...props}\n    >\n      {children ?? (\n        <MonthCalendarContent years={props.visibleYears} buttonVariant={buttonVariant} />\n      )}\n    </MonthRangeCalendarPrimitive.Root>\n  )\n}\n\nexport { MonthRangeCalendar }\n",
      "type": "registry:ui",
      "target": "@ui/month-range-calendar.tsx"
    }
  ],
  "meta": {
    "baseUiNext": {
      "version": "0.1.0",
      "hash": "f7c2e6695d9c7c90d347c31ae85e448556e34af57aa07351281fcce2850b651c",
      "files": {
        "@ui/month-range-calendar.tsx": "3af9818e9176da9c100e4ab7bd84bf83a50f62088c62adabbd0319db3af7eba2"
      }
    }
  }
}
