[EuiDatePicker] react-datepicker to src/; use EUI services#5339
[EuiDatePicker] react-datepicker to src/; use EUI services#5339thompsongl merged 26 commits intoelastic:mainfrom
react-datepicker to src/; use EUI services#5339Conversation
|
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/ |
cchaos
left a comment
There was a problem hiding this comment.
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/ |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_5339/ |
chandlerprall
left a comment
There was a problem hiding this comment.
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-datepickerinsidesrc/.jsxfiles to.js(up for discussion)importofDatePicker(no separate build step)EuiDatePickerto use EUI componentsEuiPopoverEuiFocusTrapEuiOutsideClickDetectorEuiScreenReaderOnlyreact-datepickerdependenciesDiscuss
date_picker/react-datepicker/.babelrcandpackage.jsonfiles interfere with EUI build and need to be renamedLICENSEin the directory enough?popperProps, which was spread onto thePoppercomponent but not documented in EUIFixes #3476, closes #3850
Checklist
- [ ] Added documentation