Skip to content

Releases: mathieustan/vue-datepicker

v0.2.3-rc.1

29 Jan 09:20
Compare
Choose a tag to compare

🎨 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

27 Dec 14:47
Compare
Choose a tag to compare

πŸ› 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

12 Nov 08:57
Compare
Choose a tag to compare

Fixes

πŸ› Allow to import VueDatePicker as component (fix #30)

v0.2.0

08 Nov 10:17
Compare
Choose a tag to compare

πŸš€ 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-toto attach. 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

25 Sep 13:22
Compare
Choose a tag to compare

πŸ’₯ 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

This closes #13, closes #15, closes #16 and closes #18

v0.1.8

16 Sep 09:27
Compare
Choose a tag to compare

πŸ’₯ Breaking changes

  • Renamed props endDate to maxDate (it was weird to have minDate => endDateinstead of minDate => 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.

This closes #8, closes #10, closes #11 and closes #12

v0.1.8-rc.7

10 Sep 13:37
Compare
Choose a tag to compare

New Feature

  • RTL mode is now supported.
    You can use it with rtl props on your datepicker πŸš€

Thanks to @kfirba who initiated this new feature

v0.1.8-rc.6

04 Sep 06:08
Compare
Choose a tag to compare

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

01 Aug 09:55
Compare
Choose a tag to compare

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

v0.1.8-rc.4

29 Jul 10:57
Compare
Choose a tag to compare

News

  • Allow custom lang object (exemple on readme or demo page)
  • attachTo accepts DOM element & String

Fixes

  • Fixed placement when attachTo a fixed parent
    (Datepicker was misplaced in a fixed div when the content had been scrolled)