{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "p-calendar-7",
  "description": "Calendar with disabled dates",
  "dependencies": [
    "date-fns"
  ],
  "registryDependencies": [
    "@coss/calendar"
  ],
  "files": [
    {
      "path": "registry/default/particles/p-calendar-7.tsx",
      "content": "\"use client\";\n\nimport { addDays } from \"date-fns\";\nimport { Calendar } from \"@/registry/default/ui/calendar\";\n\nexport default function Particle() {\n  const today = new Date();\n\n  return (\n    <Calendar\n      disabled={[\n        { before: new Date() },\n        new Date(),\n        { dayOfWeek: [0, 6] },\n        {\n          from: addDays(today, 14),\n          to: addDays(today, 16),\n        },\n        {\n          from: addDays(today, 23),\n          to: addDays(today, 24),\n        },\n      ]}\n      excludeDisabled\n      mode=\"range\"\n    />\n  );\n}\n",
      "type": "registry:block"
    }
  ],
  "categories": [
    "calendar"
  ],
  "type": "registry:block"
}