@progressive-development/pd-calendar 0.2.8 → 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 +1 -1
- package/src/PdCalendarCell.js +4 -4
package/package.json
CHANGED
package/src/PdCalendarCell.js
CHANGED
|
@@ -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 && !this.special
|
|
225
|
+
class="cell cell-day ${this.numberClass} ${(this.weekDayNumber === 6 ||
|
|
226
|
+
this.weekDayNumber === 0) && !this.special
|
|
227
227
|
? 'we'
|
|
228
228
|
: ''}"
|
|
229
229
|
>
|