@progressive-development/pd-calendar 0.0.8 → 0.0.10

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 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.8",
6
+ "version": "0.0.10",
7
7
  "main": "index.js",
8
8
  "module": "index.js",
9
9
  "scripts": {
@@ -31,16 +31,16 @@
31
31
  ],
32
32
  "dependencies": {
33
33
  "lit": "^2.0.2",
34
- "@progressive-development/pd-icon": "0.0.8",
34
+ "@progressive-development/pd-icon": "^0.0.9",
35
35
  "fecha": "^4.2.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@custom-elements-manifest/analyzer": "^0.4.17",
39
39
  "@open-wc/eslint-config": "^4.3.0",
40
40
  "@open-wc/testing": "next",
41
- "@web/dev-server": "^0.1.25",
41
+ "@web/dev-server": "^0.1.28",
42
42
  "@web/dev-server-storybook": "next",
43
- "@web/test-runner": "^0.13.20",
43
+ "@web/test-runner": "^0.13.21",
44
44
  "eslint": "^7.32.0",
45
45
  "eslint-config-prettier": "^8.3.0",
46
46
  "husky": "^4.3.8",
package/src/PdCalendar.js CHANGED
@@ -471,16 +471,14 @@ export class PdCalendar extends LitElement {
471
471
  return missDayArray;
472
472
  }
473
473
 
474
- _checkNextMonthConstraint() {
475
- console.log("check _latestDate: ", this._latestDate);
474
+ _checkNextMonthConstraint() {
476
475
  if (this._latestDate) {
477
476
  return this.currentDate < this._latestDate;
478
477
  }
479
478
  return true;
480
479
  }
481
480
 
482
- _checkPrevMonthConstraint() {
483
- console.log("check _earliestDate: ", this._latestDate);
481
+ _checkPrevMonthConstraint() {
484
482
  if (this._earliestDate) {
485
483
  return this.currentDate > this._earliestDate;
486
484
  }