@progressive-development/pd-calendar 0.0.15 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -4
- package/src/PdCalendar.js +1 -0
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "progressive development calendar web component",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"author": "PD Progressive Development",
|
|
6
|
-
"version": "0.0.
|
|
6
|
+
"version": "0.0.17",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"module": "index.js",
|
|
9
9
|
"scripts": {
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"week"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
33
|
+
"@progressive-development/pd-icon": "^0.1.7",
|
|
34
|
+
"fecha": "^4.2.0",
|
|
35
|
+
"lit": "^2.0.2"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@custom-elements-manifest/analyzer": "^0.4.17",
|
package/src/PdCalendar.js
CHANGED
|
@@ -195,6 +195,7 @@ export class PdCalendar extends LitElement {
|
|
|
195
195
|
if (changedProperties.has("data") && this.data.monthSelection) {
|
|
196
196
|
const now = new Date(Date.now());
|
|
197
197
|
const startDateNextMonth = new Date(now.getFullYear(), this.data.monthSelection, 1);
|
|
198
|
+
this._currentMonthNavNr += 1;
|
|
198
199
|
this._initFromDate(startDateNextMonth);
|
|
199
200
|
}
|
|
200
201
|
super.update(changedProperties);
|