react-datetime v3.0.1 Release Notes

Release Date: 2020-09-19 // over 3 years ago
    • 🔨 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.
    • 0️⃣ 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.