LaunchPadLab / lp-components

Our Components
http://lp-components.herokuapp.com
MIT License
5 stars 1 forks source link

Update dependency react-datepicker to v4 #480

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 3 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-datepicker ^1.0.3 -> ^4.0.0 age adoption passing confidence

Release Notes

Hacker0x01/react-datepicker ### [`v4.8.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v4.8.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v4.7.0...v4.8.0) - React 18 support - Enable specifying aria-label prefix for month ### [`v4.7.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v4.7.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v4.6.0...v4.7.0) - Fix accessibility issues of calendar - use globalThis instead of global - fix(date-utils): use current locale for strict parsing ### [`v4.6.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v4.6.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v4.5.0...v4.6.0) - Fix year dropdown scroll on open - Accessibility: current date should use aria-current="date" - Accessibility: add aria-selected to current selection - Fix multi months on fixedHeight ### [`v4.5.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v4.5.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v4.4.0...v4.5.0) - Fix: month text today not displayed - Add selectsDisabledDaysInRange prop to allow highlighting disabled dates in range ### [`v4.4.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v4.4.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v4.3.0...v4.4.0) - fix sideEffects - Fix isValid helper so it accepts dates equal to minDate - Added portalHost prop to DatePicker component - Add ability to exclude and include date intervals ### [`v4.3.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v4.3.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v4.2.1...v4.3.0) - Bump date-fns to non-breaking release 2.24.0 - Updated react-onclickoutside support shadow-dom - Fix aria labels for previous and next month or year ### [`v4.2.1`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v4.2.1) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v4.2.0...v4.2.1) Fix CSS compilation issue with libsass ### [`v4.2.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v4.2.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v4.1.1...v4.2.0) - fix next/prev arrow onkeydown handlers - Fix start of week not using the registered locale - Uses react dom portals for portal version when portalId is provided - add focusSelectedMonth docs props - adds keyboard navigation with accessible focus to year picker - Set explicit 0 width for navigation icon span container to render consistently on Safari - Migrate to latest Sass lib ### [`v4.1.1`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v4.1.1) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v4.1.0...v4.1.1) - Switched margin-\* CSS statements to padding-\* ### [`v4.1.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v4.1.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v4.0.0...v4.1.0) - Select time on enter and space, fix onKeyDown in time ### [`v4.0.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v4.0.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v3.8.0...v4.0.0) *New major release!* - Upgrade react-popper to v2.x - Improve UX and the ability to customize on navigation icons - Prevent class name 'undefined' when clearButtonClassName is not provided - Improvements to selectsRange when not inline - allows the datepicker to determine the validity of a date by props.minDate - Upgrade react to 17.x - Add : start day ### [`v3.8.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v3.8.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v3.7.0...v3.8.0) - Make the clear button customizable - Changed condition for renderCustomHeader with showTimeSelect prop - Make mindate and maxdate selectable via keyboard ### [`v3.7.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v3.7.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v3.6.0...v3.7.0) - Update dependencies ### [`v3.6.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v3.6.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v3.5.0...v3.6.0) - Added support for React 17 ### [`v3.5.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v3.5.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v3.4.1...v3.5.0) - Fix parseDate default locale handling - Display custom header when monthsShown prop is bigger than 1 - add four column month display layout flag for month picker - Fixing wrong weekNumber by using getIsoWeek - Fix Input Time input width being cut off ### [`v3.4.1`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v3.4.1) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v3.4.0...v3.4.1) - Revert popper v2 upgrade to avoid introducing a breaking change ### [`v3.4.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v3.4.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v3.3.0...v3.4.0) - Bind renderTime to selected date - Add aria properties for required, invalid and describedby - Scroll example to the top of the page instead of center - Fix accessibility issue for scrollable time panel - Fix accessibility issue for time selection - Replace fill method with different syntax for IE compatibility - Fix keyboard navigation in inline version - Add locale props to MonthYearDropdownOptions - Upgrade react-popper ### [`v3.3.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v3.3.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v3.2.2...v3.3.0) - Bump dependencies - fix autofocus on selected day when inline prop is true - Hide duplicate days when monthsShown > 1 - Update preSelection when clicking on a day - Add filterTime property - Pass pure date object to time input ### [`v3.2.2`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v3.2.2) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v3.1.3...v3.2.2) Fix deploy ### [`v3.1.3`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v3.1.3) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v3.0.0...v3.1.3) Fix release ### [`v3.0.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v3.0.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.16.0...v3.0.0) Breaking change: - Replace `inlineFocusSelectedMonth` with `focusSelectedMonth` Month/Year picker: - Add selected class for year picker - Year change day selection - add two column month display layout flag for month picker Other changes: - Update onChangeRaw and onSelect - Render Popper in a Portal by Id to avoid overflow of parent - InputTime initial value - Pass arrow props to CalendarContainer ### [`v2.16.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.16.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.15.0...v2.16.0) - Fixes issues when using renderCustomHeader with alt pickers - Reset preventFocus after closing the popper with Escape ### [`v2.15.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.15.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.14.1...v2.15.0) - set preselection when Month changes - Add full month name flag for month picker - Add weekday class name feature - Add year picker variation ### [`v2.14.1`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.14.1) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.14.0...v2.14.1) - Dependency updates for the docs site ### [`v2.14.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.14.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.13.0...v2.14.0) - Fix week numbers for non us locales - Use correct aria labels for Next Month/Year ### [`v2.13.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.13.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.12.1...v2.13.0) - Example of using a custom class on the input element - Added props for fully dynamic aria-labels ### [`v2.12.1`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.12.1) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.12.0...v2.12.1) Fix docs generation ### [`v2.12.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.12.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.11.0...v2.12.0) - Custom time input element with customTimeInput prop - Enhancements to meet W3 Spec - excludeScrollbar prop for react-onclickoutside ### [`v2.11.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.11.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.10.1...v2.11.0) - added timeClassName prop - Render custom header for month/quarter pickers - Adding aria labels to nav buttons - Highlight days when changing the end date ### [`v2.10.1`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.10.1) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.10.0...v2.10.1) - Don't mark .css files as side effect free - Use module version of longFormatters ### [`v2.10.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.10.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.9.6...v2.10.0) - pdating triangle when "-end" is used - Added ariaLabelledBy to the list of available props - Added ariaLabelledBy property for screen-reader support - fix: Prev/next buttons when using showMonthYearPicker - Feature/calendar status handlers - Open to time - added class to Manager to allow for percentage width - Added prop to show the previous month - Add showPopperArrow prop - Fix typo in month dropdown selected option class ### [`v2.9.6`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.9.6) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.9.5...v2.9.6) - Used classnames to handle undefined classname - Fix find dom node warning ### [`v2.9.5`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.9.5) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.9.4...v2.9.5) Broken release. Skip this, go to 2.9.6 ### [`v2.9.4`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.9.4) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.9.3...v2.9.4) - Fix dependencies - Update dependencies ### [`v2.9.3`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.9.3) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.9.2...v2.9.3) Fixed the production build ### [`v2.9.2`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.9.2) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.9.1...v2.9.2) Second attempt to fix the production build ### [`v2.9.1`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.9.1) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.9.0...v2.9.1) First attempt to fix the production build ### [`v2.9.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.9.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.8.0...v2.9.0) - set aria-disabled attribute when day is disabled - Added quarter year picker - Improved docs site with interactive examples - fix clearButton css - Stop time-list-item wrapping on windows - Fix keyboard bug selecting last day on calendar - Add missing previousYearButtonLabel and nextYearButtonLabel props - Added a specific css class to excluded dates - Add wrapperClassName and add width style 100% - Pass event as second param when onChange is called at monthYearPicker - Fix custominput parent classname ### [`v2.8.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.8.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.7.0...v2.8.0) - Incorrect dateFormatdefaults - Fix adding range-start and range-end class in month range - Fix/intl date parsing p+ tokens - Vertically center the 'close icon' again - Fix not working max and min date when change it manually - Add range-start and range-end class in month range - Format time select based on locale ### [`v2.7.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.7.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.6.0...v2.7.0) - Fixed month aria-label date format - Localization integration with the correct module - Month picker minDate disabled state - Fix manual changing time ### [`v2.6.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.6.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.5.0...v2.6.0) - \[Fixes SRR (window is not defined)] Correctly validates if window object exists - Fix the time container whitespace issue - Fixed type for example 'onBlur callbacks in console' - refactor date_range example - No multiline statements in cells - Package upgrades ### [`v2.5.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.5.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.4.0...v2.5.0) - Drastically decrease size of the bundles ### [`v2.4.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.4.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.3.0...v2.4.0) - fix(minDate,maxDate): Fixing minDate/maxDate to allow one or the other - removing dateform parameter from getMonthShortInLocale that was never sent - Range month year picker - Fix for Issue [#​1670](https://togithub.com/Hacker0x01/react-datepicker/issues/1670) ### [`v2.3.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.3.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.2.0...v2.3.0) - Month year picker - Fix minify error in `unpkg` bundle - Fix render-custom-day ### [`v2.2.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.2.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.1.0...v2.2.0) - Locales without globals - Make date parsing conform strictly to the date format - Add time input variation - Exposing onDayMouseEnter and onMonthMouseLeave callback ### [`v2.1.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.1.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v2.0.0...v2.1.0) - Fix: onBlur firing twice, one without an event - Remove hardcoded popper placement and get them from popper library - Remove duplicate declaration of defaultprops in calendar component - Fix issue [#​1337](https://togithub.com/Hacker0x01/react-datepicker/issues/1337) - date-fns compatibility update for weekday formatting - catch range errors when dates are invalid and instead return boolean - Update locale example, clearify date-fns version - Updating main field in package.json and fixing january test ### [`v2.0.0`](https://togithub.com/Hacker0x01/react-datepicker/releases/tag/v2.0.0) [Compare Source](https://togithub.com/Hacker0x01/react-datepicker/compare/v1.8.0...v2.0.0) - Removed Moment.js in favor of native Date objects - Added setOpen as prop to week select function - Upgrade test runner to use Firefox Headless - Switch to newer Codecov package

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

chawes13 commented 2 years ago

Deprecated by #481

renovate[bot] commented 2 years ago

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 4.x releases. However, if you upgrade to 4.x manually then Renovate will reenable minor and patch updates automatically.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.