@progressive-development/pd-calendar 0.2.7 → 0.2.9

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.2.7",
6
+ "version": "0.2.9",
7
7
  "main": "index.js",
8
8
  "module": "index.js",
9
9
  "scripts": {
@@ -199,8 +199,8 @@ class PdCalendarCell extends LitElement {
199
199
  @mouseleave="${this._mouseLeave}"
200
200
  data-date="${this.key}"
201
201
  class="cell cell-day ${this.numberClass} ${this.special ? 'special' : 'free'}
202
- ${this.weekDayNumber === 6 ||
203
- this.weekDayNumber === 0
202
+ ${(this.weekDayNumber === 6 ||
203
+ this.weekDayNumber === 0) && !this.special
204
204
  ? 'we'
205
205
  : ''}"
206
206
  >
@@ -222,8 +222,8 @@ class PdCalendarCell extends LitElement {
222
222
 
223
223
  _renderEmptyCell() {
224
224
  return html`<div
225
- class="cell cell-day ${this.numberClass} ${this.weekDayNumber === 6 ||
226
- this.weekDayNumber === 0
225
+ class="cell cell-day ${this.numberClass} ${(this.weekDayNumber === 6 ||
226
+ this.weekDayNumber === 0) && !this.special
227
227
  ? 'we'
228
228
  : ''}"
229
229
  >