Skip to content

Releases: joffreyBerrier/vue-hotel-datepicker

[email protected]

23 Apr 16:45
7772de3
Compare
Choose a tag to compare
  • Refacto the way to paginate on mobile side + Clean some useless code
  • Add /dist on gitignore
  • Add a button for paginate on mobile like airbnb :
  • remove lodash library
  • Clean css :
    -- Remove float: left. / right it's old way to do css
    -- Remove use v-if instead of --hidden-tablet --hidden-desktop
    -- Use css grid for calendar
  • Review the pagination on mobile side, use the same logique on desktop side increment an index and create month only when the index is superior to countOfMobileMonth / countOfDesktopMonth
  • Review some style of mobile calendar
  • Add v-if on <Day></Day> when day.belongsToThisMonth === false to avoid 10 day per month load for nothing at all
  • Increase the performance on mobile side
  • Sort props by ASC
  • Add v-if="isMobile" on computed when is not triggered on mobile
  • Remove duplicate <Day /> unify pagination for desktop and mobile
  • Create a <DatePickerWeekRow/> component for not duplicate content
  • Add a countOfTotalMonthByDefault props for generate x month on a created
  • Remove duplicate useless <baseInput />
  • Refacto the style of <baseInput />
  • Create / refacto the function for create month and put on a mounted part not created for get the correct device
  • Add a v-if="months.length" around the v-for

Screenshots :

Desktop

Capture d’écran 2021-04-22 à 11 57 59

Capture d’écran 2021-04-22 à 11 58 04

Mobile

Capture d’écran 2021-04-22 à 11 57 50

Capture d’écran 2021-04-22 à 11 57 54

1.0.2

15 Mar 15:15
096d1cf
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.7.0...1.0.2

[email protected]

01 Jul 09:30
7a77d68
Compare
Choose a tag to compare

How to allow one month only ? #38
Show tooltip on hover #48
Review calendar style & create grid style #49

[email protected]

09 Jun 09:23
9eba14a
Compare
Choose a tag to compare

Create a dynamic array for disabled dates of the nextPeriod

[email protected]

04 Jun 10:53
2e6fa85
Compare
Choose a tag to compare
  • Rewrite the ReRender function
  • Rewrite the clickOnDay function
  • Rewrite the clickOutside function

[email protected]

02 Jun 16:57
6251b24
Compare
Choose a tag to compare
  • Mobile:
    • CheckIn - CheckOut scroll to current month
  • If CheckIn, click on CheckIn clearSelection
  • Review the style of the modal cross