{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "year-range-calendar",
  "type": "registry:ui",
  "title": "Year 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/year-calendar.json"
  ],
  "files": [
    {
      "path": "react/year-range-calendar.tsx",
      "content": "'use client'\n\nimport type * as React from 'react' // base-ui-next/ui year-range-calendar@0.1.0\nimport { YearRangeCalendar as YearRangeCalendarPrimitive } from '@base-ui-next/react/year-range-calendar'\nimport { cn } from '@/lib/utils'\nimport { YearCalendarContent } from '@/components/ui/year-calendar'\n\nconst yearCalendarClassName =\n  'group/year-calendar w-fit bg-background p-3 in-data-[slot=card-content]:bg-transparent in-data-[slot=popover-content]:bg-transparent in-data-[slot=year-picker-popup]:bg-transparent in-data-[slot=year-range-picker-popup]:bg-transparent'\n\ntype YearRangeCalendarProps = YearRangeCalendarPrimitive.Root.Props &\n  React.ComponentProps<typeof YearCalendarContent>\n\n// No shadcn item: the Year Calendar's markup on the range Root, Base UI's ID as slug.\nfunction YearRangeCalendar({\n  className,\n  children,\n  buttonVariant,\n  ...props\n}: YearRangeCalendarProps) {\n  return (\n    <YearRangeCalendarPrimitive.Root\n      data-slot=\"year-range-calendar\"\n      className={cn(yearCalendarClassName, className)}\n      {...props}\n    >\n      {children ?? <YearCalendarContent buttonVariant={buttonVariant} />}\n    </YearRangeCalendarPrimitive.Root>\n  )\n}\n\nexport { YearRangeCalendar }\n",
      "type": "registry:ui",
      "target": "@ui/year-range-calendar.tsx"
    }
  ],
  "meta": {
    "baseUiNext": {
      "version": "0.1.0",
      "hash": "7945329683a3596f5fd90bdbc5828ddddc2d268abc5d870c7ea2bf6b27497131",
      "files": {
        "@ui/year-range-calendar.tsx": "08fba662250c5703c03a366daa2e8beeea19e1ab7135a67a79bae5582444ecba"
      }
    }
  }
}
