Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Calendar component externally consumable #294

Closed
rafeememon opened this issue Jan 9, 2016 · 6 comments
Closed

Make Calendar component externally consumable #294

rafeememon opened this issue Jan 9, 2016 · 6 comments

Comments

@rafeememon
Copy link
Contributor

The Calendar component is useful on its own if a consumer simply wants to display a calendar with selectable dates on a page. I think it would be great if it was easy to import and consume only this component outside of the dropdown menu. This can already be done to an extent, but to get to the ideal state I think a couple things need to happen:

  1. API: The required Calendar props should be stripped down to only what is necessary. It should have roughly the same required props as DatePicker (mainly the props that specify which dates can be selected), but I think it would be a huge help if we have a solid answer for Use moment locales for customization #277 to make this as good as possible.

  2. Styles: The standalone component should look good outside of the dropdown menu. This may already be the case but it should be addressed.

@rafeememon rafeememon added this to the V1.0 milestone Jan 9, 2016
@uniphil
Copy link
Contributor

uniphil commented Jan 28, 2016

ooh this would be awesome!

@mike-engel
Copy link

@rafeememon This would be great! I'm currently working on a project that needs just this. Right now, however, I have to download a zip of the project and reference the calendar object locally. Would you consider adding the src folder to the package.json files key? That way I could just install this package and get at the singular calendar component (and its required files). Thanks!

@rafeememon
Copy link
Contributor Author

Hey @mike-engel, glad you would find this useful. I think the way this would work is we would publish a lib directory which is src cross-compiled with babel. I'd like to get the API in a slightly more usable state before we do this though.

@mike-engel
Copy link

Thanks @rafeememon. Is there anything I can help with?

@rafeememon
Copy link
Contributor Author

Now publishing compiled class files with #404, but not sure the API is in its final state where we can declare this finished yet.

@martijnrusschen martijnrusschen removed this from the v1.0 milestone Dec 17, 2017
@stale
Copy link

stale bot commented Aug 30, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Aug 30, 2019
@stale stale bot closed this as completed Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants