Releases: joffreyBerrier/vue-hotel-datepicker
Releases · joffreyBerrier/vue-hotel-datepicker
[email protected]
- 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 notcreated
for get the correctdevice
- Add a
v-if="months.length"
around thev-for
Screenshots :
Desktop
Mobile
1.0.2
What's Changed
- hotfix/#52/#53/#54 fix minNights, fix grid safari, display right by @sbourdon13 in #55
- fix tooltip content by @joffreyBerrier in #57
- refacto the tooltip by @joffreyBerrier in #59
- hidden tooltip with props hoveringTooltip by @joffreyBerrier in #62
- show mobile container, hidden tooltip by @joffreyBerrier in #64
- add option for an already open calendar by @ElSiham in #61
- feature(booking) - #65 - Add a range of bookings by @joffreyBerrier in #66
- fix sorting bookings by @joffreyBerrier in #67
- put create hald day on mounted by @joffreyBerrier in #68
- watch bookings for create halfDayDates by @joffreyBerrier in #69
- fix click on booking by @joffreyBerrier in #71
- 73-close-calendar-on-an-outside-button by @joffreyBerrier in #74
- Merge pull request #74 from joffreyBerrier/feature/open-calendar-outside by @joffreyBerrier in #75
- add emitter on render-next-month by @joffreyBerrier in #77
- possibility to add disabledDate dynamically + fix rendernextmonth by @joffreyBerrier in #78
- #84 enhance mobile pagination + refacto by @joffreyBerrier in #85
New Contributors
Full Changelog: 0.7.0...1.0.2
[email protected]
[email protected]
Create a dynamic array for disabled dates of the nextPeriod
[email protected]
- Rewrite the ReRender function
- Rewrite the clickOnDay function
- Rewrite the clickOutside function
[email protected]
- Mobile:
- CheckIn - CheckOut scroll to current month
- If CheckIn, click on CheckIn clearSelection
- Review the style of the modal cross