vue-hotel-datepicker
Advanced tools
Comparing version 4.2.0 to 4.3.0
# Changelog | ||
# v4 - 2021-01-14 | ||
# v4.3: | ||
- Improved price styling (fixed #264) | ||
- Added price currency symbol string, for instance: '$', 'EUR'. The new prop is `priceSymbol`, default at empty string | ||
# v4.2: | ||
- Fixed #257: Disabled dates not updating when new dates are added | ||
- New [CHANGELOG.md](CHANGELOG.md) file | ||
# v4.1 - 2021-01-14 | ||
- correct configuration in i18n `fecha` package | ||
- Italian added on demo (dev) page | ||
- new prop `yearBeforeMonth` | ||
# v4.0 - 2021-01-14 | ||
## Important Fixes! | ||
@@ -42,11 +55,1 @@ * Now is working properly in mobile. | ||
* minor bug fixes | ||
# v4.1 - 2021-01-14 | ||
- correct configuration in i18n `fecha` package | ||
- Italian added on demo (dev) page | ||
- new prop `yearBeforeMonth` | ||
# v4.2: | ||
Is a v4.1 bugfix and a : | ||
- Fixed #257: Disabled dates not updating when new dates are added | ||
- New [CHANGELOG.md](CHANGELOG.md) file |
{ | ||
"name": "vue-hotel-datepicker", | ||
"version": "4.2.0", | ||
"version": "4.3.0", | ||
"description": "A responsive date range picker for Vue.js that displays the number of nights selected and allow several useful options like custom check-in/check-out rules, localization support and more", | ||
@@ -5,0 +5,0 @@ "author": "krystalcampioni <hello@krystalcampioni.com>", |
@@ -79,2 +79,3 @@ [![dependencies Status](https://david-dm.org/krystalcampioni/vue-hotel-datepicker.svg)](https://david-dm.org/krystalcampioni/vue-hotel-datepicker) [![devDependencies Status](https://david-dm.org/krystalcampioni/vue-hotel-datepicker/dev-status.svg)](https://david-dm.org/krystalcampioni/vue-hotel-datepicker?type=dev) | ||
|**positionRight**|`Boolean`|`false`|If true shows the calendar on the **right** of the input. | ||
|**priceSymbol**|`String`|`''`|The price symbol added before the price when `showPrice` is true and a `price` has been set in one of the `periodDates` array items (period). | ||
|**showPrice**|`Boolean`|`false`|If set to true, displays a price contains on your `periodDates`. | ||
@@ -81,0 +82,0 @@ |**showSingleMonth**|`Boolean`|`false`|If set to true, display one month only |
/* eslint-disable vars-on-top */ | ||
import fecha from 'fecha' | ||
export default { | ||
const helpers = { | ||
getNextDate(datesArray, referenceDate) { | ||
@@ -228,1 +228,3 @@ const now = new Date(referenceDate) | ||
} | ||
export default helpers |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2098627
41
16149
235