Releases: arqex/react-datetime
Releases · arqex/react-datetime
Version 3.1.1
Version 3.1.0
- Adds support for react 17
Version 3.0.3
Version 3.0.2
- Fixes typescript typings not being exposed publicly
Version 3.0.1
- Big refactor, the state is not derived from the props after every update.
disableCloseOnClickOutside
prop is nowcloseOnClickOutside
(avoid double negations).onBlur
andonFocus
are renamed toonClose
andonOpen
since they had nothing to do with the blur event and it was misleading some users. If we want to listen to the input'sonBlur
andonFocus
useinputProps
.defaultValue
prop is now calledinitialValue
.- 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 toonNavigate
.- Creates
onBeforeNavigate
prop. - Creates
setViewData
andnavigate
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.
v3 Beta 6
v3.0.0-beta.6 Renames updateViewMode to navigate. Create v3 docs. Removes demo and …
Version 2.16.2
- Turns moment timezone peer dependency in a runtime error when missing using
displayTimezone
.
Version 2.16.1
- Fixes problems with input event overriding
Version 2.16.0
- The prop
disableOnClickOutside
has been renamed todisableCloseOnClickOutside
- The calendar doesn't get closed an open when clicking in the input anymore.
- Fixes errors not finding dates when customizing day rendering.
- Event listeners in
inputProps
now only override default behaviour when returningfalse
. - Adds the
displayTimeZone
prop. Thanks to @martingordon