@progressive-development/pd-calendar 0.6.1 → 0.6.3

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.
@@ -97,7 +97,7 @@ let PdCalendar = class extends LitElement {
97
97
  const date = new Date(this._year, this._currentDate.getMonth(), day);
98
98
  if (this.hideWeekend && [0, 6].includes(date.getDay())) return null;
99
99
  const key = format(date, "YYYY-MM-DD");
100
- const cellData = (_a = this.data[key]) == null ? void 0 : _a[0];
100
+ const cellData = this.data ? (_a = this.data[key]) == null ? void 0 : _a[0] : void 0;
101
101
  return html`
102
102
  <pd-calendar-cell
103
103
  key=${key}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progressive-development/pd-calendar",
3
- "version": "0.6.1",
3
+ "version": "0.6.3",
4
4
  "description": "Webcomponent for calendar",
5
5
  "author": "PD Progressive Development",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "@lit/localize": "^0.12.2",
42
- "@progressive-development/pd-icon": "^0.6.3",
42
+ "@progressive-development/pd-icon": "^0.7.1",
43
43
  "@progressive-development/pd-shared-styles": "^0.2.1",
44
44
  "fecha": "^4.2.3",
45
45
  "lit": "^3.3.0"