Socket
Socket
Sign inDemoInstall

vue-hotel-datepicker

Package Overview
Dependencies
12
Maintainers
2
Versions
100
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.2.0 to 4.3.0

dist/img/close.ac44076c.svg

25

CHANGELOG.md
# 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc