Releases: ZestfulNation/vue-hotel-datepicker
Releases · ZestfulNation/vue-hotel-datepicker
v4.6.0
v4.5.1 - bugfixes
Bug fixes
- Fix call the correct function on date formatting
- Fix generate initial months in case that the component is set on single month view
v4.5
New Features:
previous-month-rendered
: it will be emited when the user goes to a previous month.check-in-selected
: it will be emited when the user clicks on a checkin date. (Is not being trigger when the user selects the same checkin date consecutively).
Note: ReadMe.md is WIP
Bug fixes:
- #296 "Max Nights does not work" thanks to @whitewaterdesign
- #298 "Single Month View" thanks to @maaqib121:
- In case of :singleMonth="true", the pagination will now stop at the month of end date rather than a month before the month of end date, while the existing behavior for double months will remain the same
- In case of :singleMonth="true", generateInitialMonths() method will create one month, while the default behavior for double months will remain the same.
v4.4.3
v4.4.2
- Price now can be string or float. A new priceDecimals prop is defined
- Adding i18n assets to public
v4.3.1 Release
v4.3 - Release - Price improvements
v4.3:
- Improved price styling (fixed #264)
- Added price currency symbol string, for instance:
$
,EUR
. The new prop ispriceSymbol
, default at empty string
v4.2 - Release bugfix and CHANGELOG file
v4.2:
Is a v4.1 bugfix and a :
- Fixed #257: Disabled dates not updating when new dates are added
- New CHANGELOG.md file
v4.1 - Final Release
v4.1
- correct configuration in i18n
fecha
package - Italian added on demo (dev) page
- new prop
yearBeforeMonth
v4.0.0 - Final Release
v4 - Changelist
Important Fixes!
- Now is working properly in mobile.
Featured changes
- Language now is available in a folder with different translations available: es, en, pt, fr (ISO lang codes)
- New prop
disabledWeekDays
: An object with the following properties:sunday
,monday
,tuesday
,wednesday
,thursday
,friday
,saturday
, the value indicates if that day is disabled (true) or enabled (false). - New event
next-month-rendered
(Beta 11) - SCSS now in a separated file
- Dependencies updated.
Documentation Improvements
- Props
- Events
Featured changes
- New Event
next-month-rendered
, emitted every time the next month button is pressed and a new month is rendered. - #201 UX improvements related to check-in selection.
Deprecation
- Prop:
disabledDaysOfWeek
: use the newdisabledWeekDays
instead.disabledWeekDays
anddisabledDaysOfWeek
both work butdisabledWeekDays
take precedence. - Events:
bookingClicked
,dayClicked
,handleCheckIncheckOutHalfDay
andperiodSelected
, now use kebab-case as recommended in Vue documentation (old names still works and will be removed in v5)
Breaking changes
showYear
now is true by defaultvalue
now isfalse
by default
Other changes
- "npm" and "pnpm" lock files with version bump.
- PR #230: Use relative units instead of px
- PR #246: Dependencies fixes.
- PR #241: Add
price
argument toperiodDates
doc. - PR #259: Dates become disabled when toggling month (
singleDaySelection
) - Improvements
- value is Boolean as expected.
- Component renaming (src)
- fixed range highlight selection showing on "singleDaySelection"
- fixed
startingDateValue
cleared when open the datepicker. - minor bug fixes