-
Notifications
You must be signed in to change notification settings - Fork 842
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
[EuiDatePicker] react-datepicker
to src/
; use EUI services
#5339
Conversation
Preview documentation changes for this PR: https://eui.elastic.co/pr_5339/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_5339/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_5339/ |
src/components/date_picker/react-datepicker/src/year_dropdown_options.js
Outdated
Show resolved
Hide resolved
Sorry just saw your PR description request for discussion:
++ to removing stuff that isn't actually sources:
IIRC should be fine, but @chandlerprall certainly knows more than me! |
Preview documentation changes for this PR: https://eui.elastic.co/pr_5339/ |
Yes please!!! |
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
Preview documentation changes for this PR: https://eui.elastic.co/pr_5339/ |
Update: Deleted everything except for |
Preview documentation changes for this PR: https://eui.elastic.co/pr_5339/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_5339/ |
Fixed! |
Preview documentation changes for this PR: https://eui.elastic.co/pr_5339/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I clicked through our docs and couldn't find any other issues. I can't wait to convert these to real EUI components and no more positioning hacks!
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Preview documentation changes for this PR: https://eui.elastic.co/pr_5339/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Preview documentation changes for this PR: https://eui.elastic.co/pr_5339/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we exclude the docs & test directories from being published, similar to how the postinstall script is managed in .npmignore ?
Our license guidelines aren't very clear here, but I think it's safest and clearest to enforce having react-datepicker's MIT license head each file under its docs, src, and test dirs
c96c95e inlines the license in nested
No further changes necessary to accomplish this. |
Preview documentation changes for this PR: https://eui.elastic.co/pr_5339/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_5339/ |
jenkins test this |
Preview documentation changes for this PR: https://eui.elastic.co/pr_5339/ |
Confirmed!
Ah, perfect! Tested with a |
Summary
Beginning of #3901
react-datepicker
insidesrc/
.jsx
files to.js
(up for discussion)import
ofDatePicker
(no separate build step)EuiDatePicker
to use EUI componentsEuiPopover
EuiFocusTrap
EuiOutsideClickDetector
EuiScreenReaderOnly
react-datepicker
dependencies
Discuss
date_picker/react-datepicker/
.babelrc
andpackage.json
files interfere with EUI build and need to be renamedLICENSE
in the directory enough?popperProps
, which was spread onto thePopper
component but not documented in EUIFixes #3476, closes #3850
Checklist
- [ ] Added documentation