{"_id":"@calendar-engine-io/calendar-component","_rev":"4-713c8500b9183cc7575f79637a15beb0","name":"@calendar-engine-io/calendar-component","dist-tags":{"latest":"0.5.9"},"versions":{"0.1.0":{"name":"@calendar-engine-io/calendar-component","version":"0.1.0","keywords":["react","calendar","component","typescript","shadcn","tailwind"],"author":{"name":"CalendarEngine.io"},"license":"MIT","_id":"@calendar-engine-io/calendar-component@0.1.0","maintainers":[{"name":"faribauc","email":"christophefaribault@gmail.com"}],"homepage":"https://github.com/calendar-engine-io/calendar-component#readme","bugs":{"url":"https://github.com/calendar-engine-io/calendar-component/issues"},"dist":{"shasum":"aa3240291306849e4288a270809539743eaa9775","tarball":"https://registry.npmjs.org/@calendar-engine-io/calendar-component/-/calendar-component-0.1.0.tgz","fileCount":20,"integrity":"sha512-286FtiUl+Ugqxg2PmCTXXtaMBXWCNFcxj1O4SUqJRZVrDT7VHVupiKTI2LseYbHa+bseXPKKGYRk/a3PZplZlQ==","signatures":[{"sig":"MEUCIQD+oKLhCb9NWrH0Dh55x5AhLtRLFMqLIsm8frH9MphGMQIgIFoHm3Rs/jLhE84ggzCnx2xZaG3+TlB6FpJ4tM2ZL6g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":679125},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./styles":"./dist/style.css"},"gitHead":"b9bc22aee1c9c746b97a934ea157ab4093fa739d","scripts":{"lint":"biome lint .","build":"vite build --mode library","check":"biome check .","format":"biome format --write .","lint:fix":"biome lint --write .","build:lib":"vite build --mode library","check:fix":"biome check --write .","storybook":"storybook dev -p 6006","prepublishOnly":"npm run build","build-storybook":"storybook build"},"_npmUser":{"name":"faribauc","email":"christophefaribault@gmail.com"},"repository":{"url":"git+https://github.com/calendar-engine-io/calendar-component.git","type":"git"},"_npmVersion":"11.6.1","description":"A React compound component for calendar with month/week/day views","directories":{},"_nodeVersion":"24.11.0","dependencies":{"clsx":"^2.1.1","react":"^16.8.0","date-fns":"^2.30.0","react-dom":"^16.8.0","lucide-react":"^0.294.0","tailwind-merge":"^2.6.0","class-variance-authority":"^0.7.1","@radix-ui/react-scroll-area":"^1.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.4.21","postcss":"^8.5.6","storybook":"10.0.6","typescript":"^5.9.3","tailwindcss":"^3.4.18","@types/react":"^16.14.0","autoprefixer":"^10.4.21","@biomejs/biome":"^1.9.4","vite-plugin-dts":"^4.5.4","@types/react-dom":"^16.9.0","tailwindcss-animate":"^1.0.7","@vitejs/plugin-react":"^4.7.0","@storybook/addon-docs":"10.0.6","@storybook/react-vite":"10.0.6","@storybook/addon-links":"10.0.6"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/calendar-component_0.1.0_1765246550329_0.3885730304570767","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@calendar-engine-io/calendar-component","version":"0.2.0","keywords":["react","calendar","component","typescript","shadcn","tailwind"],"author":{"name":"CalendarEngine.io"},"license":"MIT","_id":"@calendar-engine-io/calendar-component@0.2.0","maintainers":[{"name":"faribauc","email":"christophefaribault@gmail.com"}],"homepage":"https://github.com/calendar-engine-io/calendar-component#readme","bugs":{"url":"https://github.com/calendar-engine-io/calendar-component/issues"},"dist":{"shasum":"c0ebb2b04ba1a54ff25149ddea6b22ef94b1c672","tarball":"https://registry.npmjs.org/@calendar-engine-io/calendar-component/-/calendar-component-0.2.0.tgz","fileCount":20,"integrity":"sha512-K4orQ9dA1bBU4LzLGTDya9/mtxBCj1UatuPTriiDch1huYXbfheCSecp1aVqR9dH8ONPtXFY2H5ghK0P+tn2iA==","signatures":[{"sig":"MEQCIB5+NONN9NLawDmOKZnknq2M48dG+iXZ+Um2ClIzzTvHAiAvF6nka1vvvEyhC/Mm84+eOvlFMEnJ052rNSWt0nKjqA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":679125},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./styles":"./dist/style.css"},"gitHead":"5aab126174060d624caf191f89585b76033608a6","scripts":{"lint":"biome lint .","build":"vite build --mode library","check":"biome check .","format":"biome format --write .","lint:fix":"biome lint --write .","build:lib":"vite build --mode library","check:fix":"biome check --write .","storybook":"storybook dev -p 6006","prepublishOnly":"npm run build","build-storybook":"storybook build"},"_npmUser":{"name":"faribauc","email":"christophefaribault@gmail.com"},"repository":{"url":"git+https://github.com/calendar-engine-io/calendar-component.git","type":"git"},"_npmVersion":"11.6.1","description":"A React compound component for calendar with month/week/day views","directories":{},"_nodeVersion":"24.11.0","dependencies":{"clsx":"^2.1.1","react":"^16.8.0","date-fns":"^2.30.0","react-dom":"^16.8.0","lucide-react":"^0.294.0","tailwind-merge":"^2.6.0","class-variance-authority":"^0.7.1","@radix-ui/react-scroll-area":"^1.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.4.21","postcss":"^8.5.6","storybook":"10.0.6","typescript":"^5.9.3","tailwindcss":"^3.4.18","@types/react":"^16.14.0","autoprefixer":"^10.4.21","@biomejs/biome":"^1.9.4","vite-plugin-dts":"^4.5.4","@types/react-dom":"^16.9.0","tailwindcss-animate":"^1.0.7","@vitejs/plugin-react":"^4.7.0","@storybook/addon-docs":"10.0.6","@storybook/react-vite":"10.0.6","@storybook/addon-links":"10.0.6"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/calendar-component_0.2.0_1765247156169_0.618749211050371","host":"s3://npm-registry-packages-npm-production"}},"0.5.8":{"name":"@calendar-engine-io/calendar-component","version":"0.5.8","keywords":["react","calendar","component","typescript","shadcn","tailwind"],"author":{"name":"CalendarEngine.io"},"license":"MIT","_id":"@calendar-engine-io/calendar-component@0.5.8","maintainers":[{"name":"faribauc","email":"christophefaribault@gmail.com"}],"homepage":"https://github.com/calendar-engine-io/calendar-component#readme","bugs":{"url":"https://github.com/calendar-engine-io/calendar-component/issues"},"dist":{"shasum":"4a698b39a4dd0624c46954830213313c05eb016b","tarball":"https://registry.npmjs.org/@calendar-engine-io/calendar-component/-/calendar-component-0.5.8.tgz","fileCount":20,"integrity":"sha512-DBCLv69PsNSQgX+tBHl2jhvg1WS4zDAyTK7nmteDrTfR6ZbWdNZ9BcKYYsa8phI7Fi3dqp/8wQiGWbS/Hds+Cg==","signatures":[{"sig":"MEUCIHtA27v79nAbWISm4Q6iDTHc7YTC/Ad7AxkOnYAyf1TqAiEA+GSqkJ1jQfoOz5MPdMxkz/OoKVHArJvE/TARWixDC+Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":689123},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./styles":"./dist/style.css"},"gitHead":"5217281841d0081ebea146a3d0541f9f203c67ca","scripts":{"lint":"biome lint .","build":"vite build --mode library","check":"biome check .","format":"biome format --write .","lint:fix":"biome lint --write .","build:lib":"vite build --mode library","check:fix":"biome check --write .","storybook":"storybook dev -p 6006","prepublishOnly":"npm run build","build-storybook":"storybook build"},"_npmUser":{"name":"faribauc","email":"christophefaribault@gmail.com"},"repository":{"url":"git+https://github.com/calendar-engine-io/calendar-component.git","type":"git"},"_npmVersion":"11.6.1","description":"A React compound component for calendar with month/week/day views","directories":{},"_nodeVersion":"24.11.0","dependencies":{"clsx":"^2.1.1","react":"^16.8.0","date-fns":"^2.30.0","react-dom":"^16.8.0","lucide-react":"^0.294.0","tailwind-merge":"^2.6.0","class-variance-authority":"^0.7.1","@radix-ui/react-scroll-area":"^1.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.4.21","postcss":"^8.5.6","storybook":"10.0.6","typescript":"^5.9.3","tailwindcss":"^3.4.18","@types/react":"^16.14.0","autoprefixer":"^10.4.21","@biomejs/biome":"^1.9.4","vite-plugin-dts":"^4.5.4","@types/react-dom":"^16.9.0","tailwindcss-animate":"^1.0.7","@vitejs/plugin-react":"^4.7.0","@storybook/addon-docs":"10.0.6","@storybook/react-vite":"10.0.6","@storybook/addon-links":"10.0.6"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/calendar-component_0.5.8_1765254246440_0.7551104407564653","host":"s3://npm-registry-packages-npm-production"}},"0.5.9":{"name":"@calendar-engine-io/calendar-component","version":"0.5.9","description":"A React compound component for calendar with month/week/day views","type":"module","keywords":["react","calendar","component","typescript","shadcn","tailwind"],"author":{"name":"CalendarEngine.io"},"license":"MIT","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"},"./styles":"./dist/style.css"},"repository":{"type":"git","url":"git+https://github.com/calendar-engine-io/calendar-component.git"},"homepage":"https://github.com/calendar-engine-io/calendar-component#readme","bugs":{"url":"https://github.com/calendar-engine-io/calendar-component/issues"},"engines":{"node":">=18.0.0"},"publishConfig":{"access":"public"},"scripts":{"build":"vite build --mode library","build:lib":"vite build --mode library","prepublishOnly":"npm run build","storybook":"storybook dev -p 6006","build-storybook":"storybook build","lint":"biome lint .","lint:fix":"biome lint --write .","format":"biome format --write .","check":"biome check .","check:fix":"biome check --write ."},"dependencies":{"@radix-ui/react-scroll-area":"^1.0.6","react":"^16.8.0","react-dom":"^16.8.0","date-fns":"^2.30.0","clsx":"^2.1.1","tailwind-merge":"^2.6.0","class-variance-authority":"^0.7.1","lucide-react":"^0.294.0"},"devDependencies":{"@biomejs/biome":"^1.9.4","@storybook/addon-links":"10.0.6","@storybook/react-vite":"10.0.6","@types/react":"^16.14.0","@types/react-dom":"^16.9.0","@vitejs/plugin-react":"^4.7.0","autoprefixer":"^10.4.21","postcss":"^8.5.6","storybook":"10.0.6","tailwindcss":"^3.4.18","tailwindcss-animate":"^1.0.7","typescript":"^5.9.3","vite":"^5.4.21","vite-plugin-dts":"^4.5.4","@storybook/addon-docs":"10.0.6"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"gitHead":"cd40823e613c1b363eede7dce18481a889261b78","_id":"@calendar-engine-io/calendar-component@0.5.9","_nodeVersion":"24.11.0","_npmVersion":"11.6.1","dist":{"integrity":"sha512-XXxEaKzgWyjPMhiSjtFPc8dPR4p/5GukJeIi/SHwe2LuBs9pQtshinS9S6sH8tg95mw+Zzi9Qf5gcr48y2njFA==","shasum":"9d8334d44f26011652914559fa343c4ea055d7f7","tarball":"https://registry.npmjs.org/@calendar-engine-io/calendar-component/-/calendar-component-0.5.9.tgz","fileCount":20,"unpackedSize":689123,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCip9edNUCxbB/Zx6sAbHbbaQRPh9j2HmuAQAMUezlg3gIgJx+XvKMkY3q1G+8QoVfz6Vwc+PapO4DE4Ji34LhgVvs="}]},"_npmUser":{"name":"faribauc","email":"christophefaribault@gmail.com"},"directories":{},"maintainers":[{"name":"faribauc","email":"christophefaribault@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/calendar-component_0.5.9_1765254454756_0.9154029282564611"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-09T02:15:50.211Z","modified":"2025-12-09T04:27:35.203Z","0.1.0":"2025-12-09T02:15:50.661Z","0.2.0":"2025-12-09T02:25:56.369Z","0.5.8":"2025-12-09T04:24:06.687Z","0.5.9":"2025-12-09T04:27:34.976Z"},"bugs":{"url":"https://github.com/calendar-engine-io/calendar-component/issues"},"author":{"name":"CalendarEngine.io"},"license":"MIT","homepage":"https://github.com/calendar-engine-io/calendar-component#readme","keywords":["react","calendar","component","typescript","shadcn","tailwind"],"repository":{"type":"git","url":"git+https://github.com/calendar-engine-io/calendar-component.git"},"description":"A React compound component for calendar with month/week/day views","maintainers":[{"name":"faribauc","email":"christophefaribault@gmail.com"}],"readme":"# Calendar Component\r\n\r\nA flexible React compound component library for displaying calendars with month, week, and day views. Built with React, TypeScript, and shadcn/ui components.\r\n\r\n## Features\r\n\r\n- 📅 Multiple views (Month, Week, Day)\r\n- 🔄 Multi-day and all-day events\r\n- 📊 Intelligent event stacking\r\n- 🎨 Custom event colors\r\n- ⌨️ Keyboard shortcuts\r\n- 🎯 Date/time selection\r\n- ♿ Accessible (ARIA labels, keyboard navigation)\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @calendar-engine-io/calendar-component\r\n# or\r\nbun add @calendar-engine-io/calendar-component\r\n# or\r\nyarn add @calendar-engine-io/calendar-component\r\n# or\r\npnpm add @calendar-engine-io/calendar-component\r\n```\r\n\r\n## Usage\r\n\r\n```tsx\r\nimport { Calendar } from '@calendar-engine-io/calendar-component'\r\nimport '@calendar-engine-io/calendar-component/styles'\r\nimport type { CalendarEvent } from '@calendar-engine-io/calendar-component'\r\n\r\nconst events: CalendarEvent[] = [\r\n  {\r\n    id: '1',\r\n    title: 'Team Meeting',\r\n    start: new Date(2024, 0, 15, 10, 0),\r\n    end: new Date(2024, 0, 15, 11, 30),\r\n    color: '#3b82f6',\r\n    description: 'Weekly team sync',\r\n  },\r\n  {\r\n    id: '2',\r\n    title: 'Multi-day Event',\r\n    start: new Date(2024, 0, 18, 0, 0),\r\n    end: new Date(2024, 0, 20, 23, 59),\r\n    color: '#ef4444',\r\n  },\r\n  {\r\n    id: '3',\r\n    title: 'Holiday',\r\n    start: new Date(2024, 0, 25),\r\n    end: new Date(2024, 0, 25),\r\n    allDay: true,\r\n    color: '#10b981',\r\n  },\r\n]\r\n\r\nfunction App() {\r\n  const handleEventClick = (event: CalendarEvent) => {\r\n    console.log('Event clicked:', event)\r\n    // Open event details modal, navigate to event page, etc.\r\n  }\r\n\r\n  const handleDateSelect = (date: Date) => {\r\n    console.log('Date selected:', date.toISOString())\r\n    // Open a creation dialog, fetch events, etc.\r\n  }\r\n\r\n  return (\r\n    <Calendar\r\n      initialDate={new Date()}\r\n      initialView=\"month\"\r\n      initialEvents={events}\r\n      onEventClick={handleEventClick}\r\n      onDateSelect={handleDateSelect}\r\n    />\r\n  )\r\n}\r\n```\r\n\r\n### Required Setup\r\n\r\nMake sure you have Tailwind CSS configured in your project. The component requires Tailwind CSS to work properly.\r\n\r\n## Development\r\n\r\n### Prerequisites\r\n\r\n- Node.js 18+ or Bun\r\n- React 16.8.0+\r\n\r\n### Setup\r\n\r\n```bash\r\n# Install dependencies\r\nbun install\r\n\r\n# Start Storybook\r\nbun run storybook\r\n```\r\n\r\n### Build\r\n\r\n```bash\r\n# Build the library\r\nbun run build\r\n```\r\n\r\n### Storybook\r\n\r\nThis project uses Storybook for component development and documentation.\r\n\r\n```bash\r\n# Start Storybook development server\r\nbun run storybook\r\n\r\n# Build static Storybook\r\nbun run build-storybook\r\n```\r\n\r\nVisit `http://localhost:6006` to view the interactive component documentation.\r\n","readmeFilename":"README.md"}