v0.6.0
Bug Fixes
v-date-picker
- Bug:
fromPageandtoPagenot updating when new date was assigned or selected. Fix:fromPageandtoPageare updated when new value is assigned, if needed. Closes #51. - Bug: When clearing out input element, infinite start and end dates selected.
Fix: When clearing out input element, date is cleared or reverts to previous value, depending on
is-requiredprop or if dragging in"range"mode. Closes #54.
Improvements
- Add Finnish translation to locales
v-calendar
Slots
- Rename
popover-headerslot name today-popover-headerto more clearly identify slot target - Add
day-popover-footerslot for day popover footers day-popover-header,day-popover-footerand custom popover slots acceptdayprop instead ofday-infoprop
Events
Rename
dayselectcalendar event todayclickto more clearly indicate DOM event sourceModify parameter structure for day events (
dayclick,daymouseenter,daymouseover,daymouseleave). Instead of passing multiple parameters in order (and having to remember the right order), there is now a single object parameter with the following properties.Property Type Description dayNumber Day number (1 - 31). dayFromEndNumber Day number from the end of the month (1 - 31). weekdayNumber Day weekday number (1:Sun - 7:Sat). weekdayOrdinalNumber Weekday ordinal position from the start of the month (1 - 6). weekdayOrdinalFromEndNumber Weekday ordinal position from the end of the month (1 - 6). weekNumber Week number form the start of the month (1 - 6). weekFromEndNumber Week number from the end of the month (1 - 6). monthNumber Month number (1 - 12). yearNumber Year number. dateDate Date for this day. dateTimeNumber Result of calling date.getTime()for this day.inMonthBoolean Day lies in the currently active month. inPrevMonthBoolean Day lies in the month before the currently active month. inNextMonthBoolean Day lies in the month after the currently active month. attributesArray List of attributes for the day involved with the event. attributesMapObject Object map of the attributes using their designated key. eventObject Original trigger event.
v-date-picker
Props
- Add
is-requiredprop tov-date-pickerto prevent null date selections. Closes #45. - Replace input related props (
input...) withinput-propsobject as a catch all for all props to apply to input element. - Replace
select-coloranddrag-colorprops withtint-color. Opacity is set to0.5whentint-coloris applied todrag-attribute. - Add
disabled-attributeprop.
Defaults
- Replace input related defaults (
datePickerInput...) withinput-propsas a configurable default function or object.
v0.6.1
Bug Fixes
v-date-picker
- Prevent bug causing infinite update cycle loop and locking the browser when using
disabled-dates. Closes #61.
Improvements
v-calendar
- Improve efficiency of date intersection detection logic.
v0.6.2
Bug Fixes
v-calendar
Fix bug when using max-page with single-paned calendars. Closes #64.
v-date-picker
Force delay when navigating pages to prevent display of empty calendars. Closes #52.
Fix bug when using supplying default dateFormatter and dateParser. Closes #62.
Fix bug resulting in date selections getting ignored. Closes #66.
Improvements
Replace icon fonts with svg icons. Closes #59.
v0.6.3
Bug Fixes
Use svg icons for left and right year group arrows in navigation pane. Closes #69.