{"_id":"@deiondz/shadcn-fullcalendar","_rev":"1-bbe3c53c41cfe66c7678a93b42f26807","name":"@deiondz/shadcn-fullcalendar","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.1":{"name":"@deiondz/shadcn-fullcalendar","version":"1.0.1","keywords":[],"author":{"url":"https://github.com/deiondz/shadcn-fullcalender","name":"deiondz","email":"example@mail.com"},"license":"MIT","_id":"@deiondz/shadcn-fullcalendar@1.0.1","maintainers":[{"name":"deiondz","email":"deiondsouza12@gmail.com"}],"homepage":"https://github.com/deiondz/shadcn-fullcalender","bugs":{"url":"https://github.com/deiondz/shadcn-fullcalender/issues"},"dist":{"shasum":"963c1ca6360e46eedff9149d5288f2796735d42d","tarball":"https://registry.npmjs.org/@deiondz/shadcn-fullcalendar/-/shadcn-fullcalendar-1.0.1.tgz","fileCount":132,"integrity":"sha512-yEKv3MyR151PJ0IJq2WumG8/U4JuT6PNBN76H0MpveVFf4D9QKGu+xGaEh87dVOi8+ew/8wJIUhU5DzO+B2zlA==","signatures":[{"sig":"MEUCIQDUp60iQzzNqJhk8OEsJd5K5PxbFd8cESZjCAxDpYW2MQIgfVJ4OcJRpQRzhZoZ7UFWIu4ffLYUqKSJRWi2j0HU8wA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1757175},"main":"dist/index.umd.js","type":"module","types":"dist/index.d.ts","module":"dist/index.es.js","engines":{"node":">=18.0.0"},"gitHead":"70bcd3fa2cc9e301b19cd66931f29eedee9a80df","private":false,"scripts":{"dev":"vite --config vite.config.ts --port 3000","lint":"eslint .","build":"tsc -b && vite build --config vite.config.ts","preview":"vite preview"},"_npmUser":{"name":"deiondz","email":"deiondsouza12@gmail.com"},"repository":{"url":"git+https://github.com/deiondz/shadcn-fullcalender.git","type":"git"},"_npmVersion":"10.9.0","description":"Full Calendar build with shadcn/ui","directories":{},"_nodeVersion":"20.12.2","dependencies":{"clsx":"^2.1.1","cmdk":"^1.0.0","next-themes":"^0.4.3","lucide-react":"^0.441.0","iconsax-react":"^0.0.8","react-hook-form":"^7.53.0","react-day-picker":"^9.1.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.4.11","eslint":"^9.10.0","globals":"^15.9.0","postcss":"^8","@eslint/js":"^9.10.0","typescript":"^5","@types/node":"^20","tailwindcss":"^3.4.1","@types/react":"^18","autoprefixer":"^10.4.20","vite-plugin-dts":"^4.3.0","@types/react-dom":"^18","typescript-eslint":"^8.4.0","vite-tsconfig-paths":"^5.0.1","@vitejs/plugin-react":"^4.3.3","eslint-plugin-react-hooks":"5.1.0-rc-fb9a90fa48-20240614","eslint-plugin-react-refresh":"^0.4.11"},"peerDependencies":{"zod":"^3.23.8","vaul":"^0.9.3","dayjs":"^1.11.13","react":"^18","sonner":"^1.5.0","date-fns":"^4.0.0","react-dom":"^18","tailwind-merge":"^2.5.2","@hookform/resolvers":"^3.9.0","tailwindcss-animate":"^1.0.7","@radix-ui/react-slot":"^1.1.0","@radix-ui/react-tabs":"^1.1.0","@radix-ui/react-icons":"^1.3.0","@radix-ui/react-label":"^2.1.0","@radix-ui/react-toast":"^1.2.1","@radix-ui/react-avatar":"^1.1.0","@radix-ui/react-dialog":"^1.1.1","@radix-ui/react-select":"^2.1.1","@radix-ui/react-slider":"^1.2.0","@radix-ui/react-switch":"^1.1.0","@radix-ui/react-toggle":"^1.1.0","@radix-ui/react-menubar":"^1.1.1","@radix-ui/react-popover":"^1.1.1","@radix-ui/react-tooltip":"^1.1.2","@radix-ui/react-checkbox":"^1.1.1","@radix-ui/react-progress":"^1.1.0","class-variance-authority":"^0.7.0","@radix-ui/react-accordion":"^1.2.0","@radix-ui/react-separator":"^1.1.0","@radix-ui/react-hover-card":"^1.1.1","@radix-ui/react-collapsible":"^1.1.0","@radix-ui/react-radio-group":"^1.2.0","@radix-ui/react-scroll-area":"^1.1.0","@radix-ui/react-alert-dialog":"^1.1.1","@radix-ui/react-aspect-ratio":"^1.1.0","@radix-ui/react-context-menu":"^2.2.1","@radix-ui/react-toggle-group":"^1.1.0","@radix-ui/react-dropdown-menu":"^2.1.1","@radix-ui/react-navigation-menu":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/shadcn-fullcalendar_1.0.1_1731517724315_0.25129132709708357","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@deiondz/shadcn-fullcalendar","version":"1.0.2","description":"Full Calendar build with shadcn/ui","homepage":"https://github.com/deiondz/shadcn-fullcalender","author":{"name":"deiondz","email":"example@mail.com","url":"https://github.com/deiondz/shadcn-fullcalender"},"repository":{"url":"git+https://github.com/deiondz/shadcn-fullcalender.git","type":"git"},"private":false,"main":"dist/index.umd.js","module":"dist/index.es.js","types":"dist/index.d.ts","keywords":[],"license":"MIT","type":"module","engines":{"node":">=18.0.0"},"scripts":{"lint":"eslint .","preview":"vite preview","dev":"vite --config vite.config.ts --port 3000","build":"tsc -b && vite build --config vite.config.ts"},"dependencies":{"clsx":"^2.1.1","cmdk":"^1.0.4","iconsax-react":"^0.0.8","lucide-react":"^0.441.0","next-themes":"^0.4.3","react-day-picker":"^9.3.0","react-hook-form":"^7.53.2"},"peerDependencies":{"@hookform/resolvers":"^3.9.0","@radix-ui/react-accordion":"^1.2.0","@radix-ui/react-alert-dialog":"^1.1.1","@radix-ui/react-aspect-ratio":"^1.1.0","@radix-ui/react-avatar":"^1.1.0","@radix-ui/react-checkbox":"^1.1.1","@radix-ui/react-collapsible":"^1.1.0","@radix-ui/react-context-menu":"^2.2.1","@radix-ui/react-dialog":"^1.1.1","@radix-ui/react-dropdown-menu":"^2.1.1","@radix-ui/react-hover-card":"^1.1.1","@radix-ui/react-icons":"^1.3.0","@radix-ui/react-label":"^2.1.0","@radix-ui/react-menubar":"^1.1.1","@radix-ui/react-navigation-menu":"^1.2.0","@radix-ui/react-popover":"^1.1.1","@radix-ui/react-progress":"^1.1.0","@radix-ui/react-radio-group":"^1.2.0","@radix-ui/react-scroll-area":"^1.1.0","@radix-ui/react-select":"^2.1.1","@radix-ui/react-separator":"^1.1.0","@radix-ui/react-slider":"^1.2.0","@radix-ui/react-slot":"^1.1.0","@radix-ui/react-switch":"^1.1.0","@radix-ui/react-tabs":"^1.1.0","@radix-ui/react-toast":"^1.2.1","@radix-ui/react-toggle":"^1.1.0","@radix-ui/react-toggle-group":"^1.1.0","@radix-ui/react-tooltip":"^1.1.2","class-variance-authority":"^0.7.0","date-fns":"^4.0.0","dayjs":"^1.11.13","react":">=17.0.0","react-dom":">=17.0.0","sonner":"^1.5.0","tailwind-merge":"^2.5.2","tailwindcss-animate":"^1.0.7","vaul":"^0.9.3","zod":"^3.23.8"},"devDependencies":{"@eslint/js":"^9.14.0","@types/node":"^20.17.6","@types/react":"^18.3.12","@types/react-dom":"^18.3.1","@vitejs/plugin-react":"^4.3.3","autoprefixer":"^10.4.20","eslint":"^9.14.0","eslint-plugin-react-hooks":"5.1.0-rc-fb9a90fa48-20240614","eslint-plugin-react-refresh":"^0.4.14","globals":"^15.12.0","postcss":"^8.4.49","tailwindcss":"^3.4.14","typescript":"^5.6.3","typescript-eslint":"^8.14.0","vite":"^5.4.11","vite-plugin-dts":"^4.3.0","vite-tsconfig-paths":"^5.1.2"},"_id":"@deiondz/shadcn-fullcalendar@1.0.2","gitHead":"70bcd3fa2cc9e301b19cd66931f29eedee9a80df","bugs":{"url":"https://github.com/deiondz/shadcn-fullcalender/issues"},"_nodeVersion":"20.12.2","_npmVersion":"10.9.0","dist":{"integrity":"sha512-xSAgz5ao7jv2sPnsaBab1FvX8BHJdXi6aNPmLJwsBD+jpcZKDwAtmh5utTh0M9YrGTRSVQfozk3safhQxydg2A==","shasum":"07e80d6b2adb2dcb6984a0f4b30c3c5db7e052ba","tarball":"https://registry.npmjs.org/@deiondz/shadcn-fullcalendar/-/shadcn-fullcalendar-1.0.2.tgz","fileCount":132,"unpackedSize":1754504,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEkmm9FXaiky8AOqCPFrcUHLeu8tkk6RTSAjhMhzdSnvAiA6TteFXHVThytwrAPbsMHYCEUt6ktspus5VfA4DPufOg=="}]},"_npmUser":{"name":"deiondz","email":"deiondsouza12@gmail.com"},"directories":{},"maintainers":[{"name":"deiondz","email":"deiondsouza12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shadcn-fullcalendar_1.0.2_1731522223238_0.34516180534344487"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-13T17:08:44.213Z","modified":"2024-11-13T18:23:44.142Z","1.0.1":"2024-11-13T17:08:44.854Z","1.0.2":"2024-11-13T18:23:43.730Z"},"bugs":{"url":"https://github.com/deiondz/shadcn-fullcalender/issues"},"author":{"name":"deiondz","email":"example@mail.com","url":"https://github.com/deiondz/shadcn-fullcalender"},"license":"MIT","homepage":"https://github.com/deiondz/shadcn-fullcalender","keywords":[],"repository":{"url":"git+https://github.com/deiondz/shadcn-fullcalender.git","type":"git"},"description":"Full Calendar build with shadcn/ui","maintainers":[{"name":"deiondz","email":"deiondsouza12@gmail.com"}],"readme":"# Full Calendar Component\r\n\r\n## Overview\r\n\r\nThis repository contains a custom Full Calendar component recreated from [0xBoom's](https://github.com/0xBoom) version, which I originally discovered in a [GitHub discussion](https://github.com/shadcn-ui/ui/discussions/3214#discussioncomment-10702520) about Full Calendar components made with ShadCN. Since many people are eagerly awaiting the release of [his version](https://0xboom-shadcn-event-calendar.vercel.app/), I decided to create a similar one that includes both month and year views. While it may not yet have all of 0xBoom's features, I aimed to replicate the functionality as closely as possible. Looking forward to the official release! 🚀\r\n\r\n## Getting Started\r\n\r\nTo get started with the Full Calendar component, ensure you have the necessary dependencies installed in your project.\r\n\r\n## Usage\r\n\r\n```\r\nnpm install @deiondz/shadcn-fullcalendar\r\n```\r\n\r\nMinimal implementation in `src/index.tsx`\r\n\r\n```\r\nimport { newevents } from \"@/data/events\";\r\nimport { FullCalendar } from \"@deiondz/fullcalendar\";\r\nimport React from \"react\";\r\nimport ReactDOM from \"react-dom/client\";\r\n\r\nfunction App() {\r\n  return (\r\n    <div className=\"container mx-auto\">\r\n      <div className=\"grid grid-cols-1\">\r\n        <Fullcalendar\r\n          events={newevents}\r\n          config={{\r\n            addEventConfig: {\r\n              variant: \"primary\", // Default variant (can be 'primary', 'secondary', etc.)\r\n              buttonText: \"Add Event\", // Default button text\r\n              formTitle: \"Create a New Event\", // Default form title\r\n              formDescription: \"Testing\", // Default form description\r\n              icon: undefined, // Custom icon for the button, if needed\r\n              customForm: undefined, // Custom form component, if needed\r\n            },\r\n            animationConfig: {\r\n              duration: 300, // Default animation duration in milliseconds\r\n            },\r\n          }}\r\n        />\r\n      </div>\r\n    </div>\r\n  );\r\n}\r\n\r\nReactDOM.createRoot(document.getElementById(\"root\")!).render(<App />);\r\n```\r\n\r\n## Contributing\r\n\r\nFeel free to contribute to the project by submitting a pull request or opening an issue on the GitHub repository.\r\n\r\n## Questions & Suggestions\r\n\r\nIf you have any questions or suggestions, feel free to reach out on Twitter [@Deion_Dz](https://x.com/Deion_Dz).\r\n\r\n## Customization\r\n\r\nYou can customize the Full Calendar component by creating a config file and adding it to the component.\r\n\r\n### Config File Options\r\n\r\nThe config file contains options for customizing the component.\r\n\r\n### Rendering the Calendar\r\n\r\nPass the events and config to the Full Calendar component to render the calendar.\r\n","readmeFilename":"README.md"}