Skip to content

Commit

Permalink
v4.4.2
Browse files Browse the repository at this point in the history
- Price now can be string or float. A new priceDecimals prop is defined
- Adding i18n assets to public
  • Loading branch information
matiasperrone committed Jul 16, 2021
1 parent ce5c5d5 commit b71c8eb
Show file tree
Hide file tree
Showing 10 changed files with 147 additions and 7 deletions.
3 changes: 2 additions & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "vue-hotel-datepicker",
"version": "4.4.1",
"version": "4.4.2",
"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",
"author": "krystalcampioni <hello@krystalcampioni.com>",
"main": "dist/vueHotelDatepicker.common.js",
Expand Down Expand Up @@ -52,6 +52,7 @@
"@vue/eslint-config-prettier": "^6.0.0",
"@vue/test-utils": "^1.2.1",
"chai": "^4.3.4",
"copy-webpack-plugin": "^9.0.1",
"core-js": "^3.15.2",
"eslint": "^7.30.0",
"eslint-plugin-prettier": "^3.4.0",
Expand Down
138 changes: 138 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions src/App.vue
Expand Up @@ -260,11 +260,11 @@
<script>
import './assets/scss/index.scss'
import DatePicker from './DatePicker/HotelDatePicker.vue'
import pt from './i18n/pt'
import fr from './i18n/fr'
import en from './i18n/en'
import es from './i18n/es'
import it from './i18n/it'
import pt from '../public/i18n/pt'
import fr from '../public/i18n/fr'
import en from '../public/i18n/en'
import es from '../public/i18n/es'
import it from '../public/i18n/it'
export default {
name: 'Examples',
Expand Down
2 changes: 1 addition & 1 deletion src/DatePicker/HotelDatePicker.vue
Expand Up @@ -209,7 +209,7 @@ import fecha from 'fecha'
import Month from './components/Month.vue'
import DateInput from './components/DateInput.vue'
import Helpers from '../helpers'
import i18nDefaults from '../i18n/en'
import i18nDefaults from '../../public/i18n/en'
export default {
name: 'HotelDatePicker',
Expand Down
1 change: 1 addition & 0 deletions vue.config.js
@@ -1,3 +1,4 @@
module.exports = {
css: { extract: true },
assetsDir: 'assets',
}

0 comments on commit b71c8eb

Please sign in to comment.