[bug]: date-picker.json not available - 404 error
Describe the bug
When trying to install date-picker component I receive 404 error. I have tried both using npx and plain browser and also tried different styles (new york or default). I can download other components (and their json definition files) via npx or browser.
Affected component/components
date-picker
How to reproduce
Go to https://ui.shadcn.com/r/styles/new-york/date-picker.json -> returns 404 https://ui.shadcn.com/r/styles/default/date-picker.json -> returns 404
or
npx shadcn@latest add date-picker
returns
Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.
The component at https://ui.shadcn.com/r/styles/new-york/date-picker.json was not found.
It may not exist at the registry. Please make sure it is a valid component.
Codesandbox/StackBlitz link
https://github.com/shadcn-ui/ui/issues/new?assignees=&labels=bug&projects=&template=bug_report.yml&title=%5Bbug%5D%3A+
Logs
see above for error messages
System Info
npx / web browser
Before submitting
- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Also, the date-picker.json file is not available in the main brach either so I guess it must have been deleted by accident?
I havent tried the library itself yet, but based on the documentation:
The Date Picker is built using a composition of the <Popover /> and the <Calendar /> components.
See installation instructions for the Popover and the Calendar components.
Hope this helps!
Sure but then you have sub-projects like AutoForm that rely on existence of date-picker.tsx which lead me to believe that there was a 'default' implementation. In any case, I think there should be - perhaps the one that comes with Auto-form
This issue has been automatically marked as stale due to one year of inactivity. It will be closed in 7 days unless there’s further input. If you believe this issue is still relevant, please leave a comment or provide updated details. Thank you. (This is an automated message)
This issue has been automatically closed due to one year of inactivity. If you’re still experiencing a similar problem or have additional details to share, please open a new issue following our current issue template. Your updated report helps us investigate and address concerns more efficiently. Thank you for your understanding! (This is an automated message)