Skip to content

Releases: uvarov-frontend/vanilla-calendar-pro

Release v2.9.1

08 Dec 14:19
364cb57
Compare
Choose a tag to compare

#163 Add minify js
#165 Fix range enabled and disabled dates bug
#166 Fix update method
#167 Fix position calendar input

  • The final js files are now even smaller.
  • Added new parameter positionToInput
  • Added a resize event listener that allows the calendar to automatically change position when the screen size changes.

Release v2.9.0

06 Dec 09:59
Compare
Choose a tag to compare

#156 Add cancelableDay
#157 Add self to actions
#159 Combine update and reset methods using arguments
#160 Add utilities and methods
#162 Refactoring/utilities and update

Added a new option cancelableDay - allows you to disable canceling the selected date by clicking again.

Big changes in how actions work. Read more in the reference api.

The reset() method has been merged with update(), and arguments to control the reset have been added to update().

Added date formatting utilities:

  • parseDates - takes a date range as an argument. Returns an array of these dates;
  • getDateString - takes a date as an argument. Returns a string in the format yyyy-mm-dd;
  • getDate - takes as an argument a string in the format yyyy-mm-dd. Returns the full date.

Release v2.8.5

30 Nov 14:05
Compare
Choose a tag to compare

#155 Add general css

  • The vanilla-calendar.min.css file now contains all the styles in one file, instead of importing 3 files.
  • The file vanilla-calendar.layout.min.css has been created which contains the main structural styles of the calendar.

The new vanilla-calendar.layout.min.css is essentially the old vanilla-calendar.min.css.

Release v2.8.4

29 Nov 15:50
913b924
Compare
Choose a tag to compare

#154 Bug fixes in the new version and other changes

Release v2.8.3

28 Nov 09:52
Compare
Choose a tag to compare

#148 Refactoring/global
#152 Fix/next version

  • Complete refactoring of all files;
  • Deep analysis and optimization of the entire project;
  • Bug fixing and optimization of TypeScript;
  • Reduced size of the final JS file;
  • Reduced size of the npm package;
  • Minor changes in basic styles.
The size of the final JS file:
Before: 45.2 KB (11 KB with gzip)
After: 37.3 KB (9.9 KB with gzip)

Release v2.7.2

07 Nov 12:22
Compare
Choose a tag to compare

#146 Hotfix/skip lib check false

Release v2.7.1

07 Nov 08:57
Compare
Choose a tag to compare

#142 Add hideCalendar() and showCalendar() actions
#143 Add a calendar destroy method

Release v2.7.0

12 Oct 16:24
Compare
Choose a tag to compare

#132 Feature/refactoring type input
#135 Hotfix/input position
#136 Fix setPositionCalendar

Release v2.6.8

10 Oct 10:51
Compare
Choose a tag to compare

#131 Feature/enhancement input

Release v2.6.7

03 Oct 12:43
Compare
Choose a tag to compare

#126 Hotfix/select month and year together with disablePast
#125 Hotfix hidden "calendar-input"