You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.