Releases: mathieustan/vue-datepicker
Releases Β· mathieustan/vue-datepicker
v0.2.3-rc.1
π¨ News
- Allows to swipe left/right to change month on mobile π±
- Allows to use year datepicker π
π Fixes
- Fixed a bug when selecting quarter
π Design
- Cleaned style & updated components structure
v0.2.2
π Fixes
- Removed get-size dep which throw an error with Nuxt
π¨ Structure
- Cleaned more files to use only script tag with render
v0.2.1
v0.2.0
π News
- You can set default lang in options
Vue.use(VueDatePicker, { lang: 'fr' });
- you can use a custom activator for datepicker
<VueDatePicker
v-model="currentDate"
>
<template #activator="{ date }">
<button
class="custom__button"
ref="activator"
type="button"
>
{{ date }}
</button>
</template>
</VueDatePicker>
- new prop
visibleYearsNumber
: Allows to set years range in year picker (it will add X years before & after current year) - new prop
origin
: By default, datepicker will find best origin, but you can set your own transform origin like 'top right'.
π₯ Breaking changes
- Renamed prop
attach-to
toattach
. Can be used like this :<VueDatePicker attach />
When attach is active, it will keep menu in place. Usefull, when using VueDatePicker inside a fixed div with scroll - Removed prop
fixed
: datepicker will now detect automaticaly fixed mode
π Fixes
- Handle null dates
- Fixed console error
Cannot read property 'start' of undefined
This closes #14, closes #19 and closes #22
π Docs
- Doc has been redesigned to be easier to maintain
v0.1.9
π₯ Breaking changes
- Removed prop
formatOutput. Output date will always be formatted like this :
YYYY-MM-DD`.
You have to handle it in your app to format it (if needed)
π Fixes
- More fixes about RTL mode
- Validate button is now disabled when range isn't selected
- Shouldn't throw error on isRangeSelected
v0.1.8
π₯ Breaking changes
- Renamed props
endDate
tomaxDate
(it was weird to haveminDate => endDate
instead ofminDate => MaxDate
)
β¨ News & Improvements
- new props :
noCalendarIcon
: Allow to hide calendar icon - Updated range header when there are no selected dates
ButtonCancel
,buttonValidate
&rangeHeaderText
now in locale object
const localeObject = {
name: 'en',
...
buttonValidate: 'Ok',
buttonCancel: 'Cancel',
rangeHeaderText: 'From %d To %d',
};
π Fixes
- Improved & cleaned design/animations for RTL mode
- Mobile fix : selected date before first date in range mode.
- Allow to use range presets without min & max date.
v0.1.8-rc.7
New Feature
- RTL mode is now supported.
You can use it withrtl
props on your datepicker π
Thanks to @kfirba who initiated this new feature
v0.1.8-rc.6
Fixes
- Fixed a bug with validate mode :
When we click on a date, it shouldn't update the date of entry before validation.
v0.1.8-rc.5
News
- β¨ Prop: Fixed (allow to set datepicker agenda to a fixed position)
- β¨ Prop: noInput (Hide input to show a button instead)
Fixes
- Fixed input date when using quarter datepicker
Others
- π Improved UI & UX
- π Should not scroll datepicker when attach to a sticky position