Releases: uvarov-frontend/vanilla-calendar-pro
Release v2.9.1
#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
#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 formatyyyy-mm-dd
;getDate
- takes as an argument a string in the formatyyyy-mm-dd
. Returns the full date.
Release v2.8.5
#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
#154 Bug fixes in the new version and other changes
Release v2.8.3
#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
#146 Hotfix/skip lib check false
Release v2.7.1
Release v2.7.0
Release v2.6.8
#131 Feature/enhancement input