-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Add READMEs for DatePicker and TimePicker #18072
Comments
Can I pick this one? It's my first time contributing to open source, but I think I can do this properly. |
@jpbelo Awesome!! Go for it :D. Excited to see your pull request! |
I eventually sorted it out by installing webpack-cli manually. |
@mkaz - do you propose to deprecate the old one with a note for developers to use new components instead? I'm fine with that, I just wanted to make sure it's clear. |
Can someone give me help here? I’m not sure why travis failed... |
@gziolo I'm not quite sure how to deprecate, or if it is actually needed. Now that I talk it out, maybe it won't be an issue. The comment (also it was originally from @ItsJonQ , but I feel the same) is basically to not break anyone's code that might of previous done something like:
So inside of
Thinking about it, I don't think externally people import using
So just updating the |
@mkaz Regarding the import/export from date-picker, I think I covered that here: |
Yes, it's totally fine to have 3 components exposed. We can also put all of them in their own files if that helps. We don't have strict rules for exports from the
In fact, we are exposing 3 components at the moment, what do we miss?:
|
I noticed that this problem may have been solved in the latest trunk. The three components
Storybook is also available: Can we close this issue and the related PR #18087? |
If it's important that they have their own README files then this is not yet done. Otherwise, looks like we could close it. |
See #17497
The DatePicker and TimePicker components are included as part of the DateTimePicker component, they should be split out to their own components, with their own README and Story files.
Since they were previously included as part of the DateTimePicker component, to avoid breaking backward compatibility, they should be imported & exported properly in the old component
The text was updated successfully, but these errors were encountered: