arqex/react-datetime (react-datetime)
### [`v3.0.1`](https://togithub.com/arqex/react-datetime/blob/HEAD/CHANGELOG.md#301)
[Compare Source](https://togithub.com/arqex/react-datetime/compare/ab70aefb66233022a13e826605d7efb947ccab4f...v3.0.1)
- Big refactor, the state is not derived from the props after every update.
- `disableCloseOnClickOutside` prop is now `closeOnClickOutside` (avoid double negations).
- `onBlur` and `onFocus` are renamed to `onClose` and `onOpen` since they had nothing to do with the blur event and it was misleading some users. If we want to listen to the input's `onBlur` and `onFocus` use `inputProps`.
- `defaultValue` prop is now called `initialValue`.
- Updated typescript definitions.
- Time is not updated anymore on right clicks.
- Creates `renderView` prop to customize the whole calendar.
- Creates `updateOnView` prop to decide when to update the date.
- `onViewModeChange` prop renamed to `onNavigate`.
- Creates `onBeforeNavigate` prop.
- Creates `setViewData` and `navigate` methods.
- Fixes error clicking on days from the previous or next month in the days view.
- Fixes month, year and time views for locales that doesn't use gregorian numbers.
- Adds a playground to make simpler to try out the library by `npm run playground`.
- Not depending on gulp to create the build anymore
- Updated most of the dependencies.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
^2.16.3
->^3.0.0
By merging this PR, the issue #5 will be automatically resolved and closed:
Release Notes
arqex/react-datetime (react-datetime)
### [`v3.0.1`](https://togithub.com/arqex/react-datetime/blob/HEAD/CHANGELOG.md#301) [Compare Source](https://togithub.com/arqex/react-datetime/compare/ab70aefb66233022a13e826605d7efb947ccab4f...v3.0.1) - Big refactor, the state is not derived from the props after every update. - `disableCloseOnClickOutside` prop is now `closeOnClickOutside` (avoid double negations). - `onBlur` and `onFocus` are renamed to `onClose` and `onOpen` since they had nothing to do with the blur event and it was misleading some users. If we want to listen to the input's `onBlur` and `onFocus` use `inputProps`. - `defaultValue` prop is now called `initialValue`. - Updated typescript definitions. - Time is not updated anymore on right clicks. - Creates `renderView` prop to customize the whole calendar. - Creates `updateOnView` prop to decide when to update the date. - `onViewModeChange` prop renamed to `onNavigate`. - Creates `onBeforeNavigate` prop. - Creates `setViewData` and `navigate` methods. - Fixes error clicking on days from the previous or next month in the days view. - Fixes month, year and time views for locales that doesn't use gregorian numbers. - Adds a playground to make simpler to try out the library by `npm run playground`. - Not depending on gulp to create the build anymore - Updated most of the dependencies.