diff --git a/README.md b/README.md index f8c212b08..6212ee6a1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/R6R53OEFF) -# Tempus Dominus Date/Time Picker v6.7.13 +# Tempus Dominus Date/Time Picker v6.7.16 Tempus Dominus is a powerful and robust date time picker for javascript. Version 6 is another major rewrite over the previous version. V6 is written with modern browsers in mind and is written in typescript. Bootstrap, momentjs and jQuery are no longer required dependencies. Popper2 is all that is required for the picker to position correctly. If you still require jQuery (seriously, you should move off that asap) there's a jQuery provider that wraps the native js functions. diff --git a/package-lock.json b/package-lock.json index ff479767c..dc3d7bd5e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@eonasdan/tempus-dominus", - "version": "6.7.13", + "version": "6.7.16", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@eonasdan/tempus-dominus", - "version": "6.7.13", + "version": "6.7.16", "license": "MIT", "devDependencies": { "@eonasdan/parvus-server": "^1.1.9", diff --git a/package.json b/package.json index fc1ffe34b..4be1d76cb 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "name": "Jonathan Peterson" }, "name": "@eonasdan/tempus-dominus", - "version": "6.7.13", + "version": "6.7.16", "style": "dist/css/tempus-dominus.css", "sass": "scss/tempus-dominus.scss", "main": "dist/js/tempus-dominus.js", diff --git a/sonar-project.properties b/sonar-project.properties index 151f8bebe..f8ff41c37 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -2,7 +2,7 @@ sonar.organization=eonasdan sonar.projectKey=Eonasdan_tempus-dominus sonar.projectName=tempus-dominus -sonar.projectVersion=6.7.13 +sonar.projectVersion=6.7.16 sonar.sources = src/ sonar.tests = test/ diff --git a/src/docs/partials/change-log.html b/src/docs/partials/change-log.html index 610869920..5c2a75289 100644 --- a/src/docs/partials/change-log.html +++ b/src/docs/partials/change-log.html @@ -2,6 +2,16 @@

Version 6

+
+

6.7.16

+

Bug fixes

+ +
+

6.7.13

Bug fixes

diff --git a/src/docs/partials/installing.html b/src/docs/partials/installing.html index 0c5457781..17ce41dc3 100644 --- a/src/docs/partials/installing.html +++ b/src/docs/partials/installing.html @@ -15,10 +15,10 @@

Via CDN

<!-- Popperjs --> <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js" crossorigin="anonymous"></script> <!-- Tempus Dominus JavaScript --> -<script src="https://cdn.jsdelivr.net/npm/@eonasdan/tempus-dominus@6.7.13/dist/js/tempus-dominus.min.js" crossorigin="anonymous"></script> +<script src="https://cdn.jsdelivr.net/npm/@eonasdan/tempus-dominus@6.7.16/dist/js/tempus-dominus.min.js" crossorigin="anonymous"></script> <!-- Tempus Dominus Styles --> -<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@eonasdan/tempus-dominus@6.7.13/dist/css/tempus-dominus.min.css" crossorigin="anonymous"> +<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@eonasdan/tempus-dominus@6.7.16/dist/css/tempus-dominus.min.css" crossorigin="anonymous">
diff --git a/src/docs/templates/index.html b/src/docs/templates/index.html index 2f06aee8c..134cb8a13 100644 --- a/src/docs/templates/index.html +++ b/src/docs/templates/index.html @@ -17,7 +17,7 @@

Powerful and robust date and time picker

- Currently v6.7.13 + Currently v6.7.16 · v5 docs

@@ -55,10 +55,10 @@

JsDelivr

<!-- Popperjs --> <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js" integrity="sha256-BRqBN7dYgABqtY9Hd4ynE+1slnEw+roEPFzQ7TRRfcg=" crossorigin="anonymous"></script> <!-- Tempus Dominus JavaScript --> -<script src="https://cdn.jsdelivr.net/npm/@eonasdan/tempus-dominus@6.7.13/dist/js/tempus-dominus.min.js" crossorigin="anonymous"></script> +<script src="https://cdn.jsdelivr.net/npm/@eonasdan/tempus-dominus@6.7.16/dist/js/tempus-dominus.min.js" crossorigin="anonymous"></script> <!-- Tempus Dominus Styles --> -<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@eonasdan/tempus-dominus@6.7.13/dist/css/tempus-dominus.min.css" crossorigin="anonymous"> +<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@eonasdan/tempus-dominus@6.7.16/dist/css/tempus-dominus.min.css" crossorigin="anonymous"> diff --git a/src/docs/templates/shell.html b/src/docs/templates/shell.html index 67a1bc9ff..2d00c4408 100644 --- a/src/docs/templates/shell.html +++ b/src/docs/templates/shell.html @@ -136,7 +136,7 @@ Tempus Dominus v6.0
diff --git a/src/js/actions.ts b/src/js/actions.ts index f6eb0d2be..fa185106d 100644 --- a/src/js/actions.ts +++ b/src/js/actions.ts @@ -256,12 +256,15 @@ export default class Actions { break; } - this.dates.setValue(this.optionsStore.viewDate, this.dates.lastPickedIndex); - if ( this.optionsStore.currentCalendarViewMode === this.optionsStore.minimumCalendarViewMode ) { + this.dates.setValue( + this.optionsStore.viewDate, + this.dates.lastPickedIndex + ); + if (!this.optionsStore.options.display.inline) { this.display.hide(); } diff --git a/src/js/jQuery-provider.js b/src/js/jQuery-provider.js index f4ed311d8..3ad7d8186 100644 --- a/src/js/jQuery-provider.js +++ b/src/js/jQuery-provider.js @@ -2,7 +2,7 @@ /*global $, tempusDominus */ /*! - * Tempus Dominus v6.7.13 (https://getdatepicker.com/) + * Tempus Dominus v6.7.16 (https://getdatepicker.com/) * Copyright 2013-2021 Jonathan Peterson * Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE) */ diff --git a/src/js/tempus-dominus.ts b/src/js/tempus-dominus.ts index 84521406a..2f9034570 100644 --- a/src/js/tempus-dominus.ts +++ b/src/js/tempus-dominus.ts @@ -643,7 +643,7 @@ const extend = function (plugin, option = undefined) { return tempusDominus; }; -const version = '6.7.13'; +const version = '6.7.16'; const tempusDominus = { TempusDominus, diff --git a/src/nuget/TempusDominus.nuspec b/src/nuget/TempusDominus.nuspec index 1ce944705..c96d9a0cf 100644 --- a/src/nuget/TempusDominus.nuspec +++ b/src/nuget/TempusDominus.nuspec @@ -2,7 +2,7 @@ TempusDominus - 6.7.13 + 6.7.16 Tempus Dominus Eonasdan Eonasdan diff --git a/src/nuget/TempusDominus.scss.nuspec b/src/nuget/TempusDominus.scss.nuspec index a27722d1d..043b5db33 100644 --- a/src/nuget/TempusDominus.scss.nuspec +++ b/src/nuget/TempusDominus.scss.nuspec @@ -2,7 +2,7 @@ TempusDominus.scss - 6.7.13 + 6.7.16 Tempus Dominus Eonasdan Eonasdan