Skip to content

Releases: Kiarash-Z/react-modern-calendar-datepicker

v3.1.6

03 Jul 14:20
Compare
Choose a tag to compare

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

01 Jul 20:15
Compare
Choose a tag to compare

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

27 Apr 09:33
Compare
Choose a tag to compare

This version adds undefined value support for TypeScript projects. Related to #147

v3.1.2

24 Apr 13:28
Compare
Choose a tag to compare

This version removes the calendar animation when there's no date picker input.

v3.1.1

24 Apr 13:19
Compare
Choose a tag to compare

This version fixes a Prettier code format issue causing the build to fail in Travis CI

v3.1.0

24 Apr 13:13
Compare
Choose a tag to compare

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

27 Mar 12:22
Compare
Choose a tag to compare

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

11 Mar 16:32
207c484
Compare
Choose a tag to compare
  • 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

13 Jan 13:49
Compare
Choose a tag to compare
  • 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

17 Dec 12:45
Compare
Choose a tag to compare

Increased major version because of #90