Releases: Kiarash-Z/react-modern-calendar-datepicker
Releases · Kiarash-Z/react-modern-calendar-datepicker
v3.1.6
This version includes the following changes:
- Fix an issue where styles for the calendar buttons were also applying to nested buttons in the calendar footer. Related to #165
- Remove prop-types and rely on TypeScript types to reduce the bundle size to 8.6kb
v3.1.4
This version includes the following changes:
- Remove prop-types from the final bundle to reduce the package size to 9kb. Related to #160
- Set default z-index of the date picker to 100
v3.1.3
This version adds undefined
value support for TypeScript projects. Related to #147
v3.1.2
This version removes the calendar animation when there's no date picker input.
v3.1.1
This version fixes a Prettier code format issue causing the build to fail in Travis CI
v3.1.0
This version includes the following features:
- New
inputName
prop to pass name
to the date picker input. Related to #142
- New
calendarPopperPosition
prop to manually set the calendar popper position. Related to #141
- A minimal animation for the calendar on open. Related to #120
v3.0.3
This version includes minor fixes:
- Fix TypeScript type for
locale
prop which couldn't take the Locale
shaped objects as value. Related to #130
- Fix title for abbr tag on weekdays. Related to #124
- Removed button styles for any button in the calendar to fix custom buttons' styles provided in
renderFooter
. Related to #128
v3.0.1
-
Introduced a new renderFooter prop for rendering custom elements such as a today or reset button in the calendar.
-
Introduced a new customDaysClassName prop for adding a custom CSS class to any day.
-
Calendar now aligns correctly to the page if it's overflowing from bottom. related to #115.
-
BREAKING: Updated the API for applying a custom locale related to #110:
- Added an option for specifying custom weekends.
- Added an option for specifying a short name of weekdays.
v2.1.0
- Support for custom locale prop related to #99
- Fix an issue related to weird behavior of year or month selector top text related to #97
- Throw a helpful error when the provided year for value is out of the valid year range related to #96. The date picker will still crash(it shouldn't fail silently), but a helpful error will be thrown.
v2.0.0
Increased major version because of #90