Add date-fns/format and date-fns-tz to list of external packages. This also gets date-fns out of our bundled code since it was being pulled in by date-fns-tz.
@labkey/components
Update react-datepicker dependency to align with our date-fns@3.x dependency.
Remove @types/react-datepicker dependency as react-datepicker now supplies its own typings.
Refactor DateInput to a functional component.
Adjust styling overrides for react-datepicker so things are properly aligned and sized.
Rationale
Update react-datepicker and update build to accommodate date library changes.
Related Pull Requests
Changes
@labkey/build
date-fns/format
anddate-fns-tz
to list of external packages. This also getsdate-fns
out of our bundled code since it was being pulled in bydate-fns-tz
.@labkey/components
react-datepicker
dependency to align with ourdate-fns@3.x
dependency.@types/react-datepicker
dependency asreact-datepicker
now supplies its own typings.DateInput
to a functional component.react-datepicker
so things are properly aligned and sized.