@progressive-development/pd-calendar 0.2.19 → 0.2.21

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.19",
6
+ "version": "0.2.21",
7
7
  "main": "index.js",
8
8
  "module": "index.js",
9
9
  "scripts": {
package/src/PdCalendar.js CHANGED
@@ -465,6 +465,7 @@ export class PdCalendar extends LitElement {
465
465
  new CustomEvent('change-month', {
466
466
  detail: {
467
467
  newDate,
468
+ next: true,
468
469
  },
469
470
  })
470
471
  );
@@ -485,6 +486,7 @@ export class PdCalendar extends LitElement {
485
486
  new CustomEvent('change-month', {
486
487
  detail: {
487
488
  newDate,
489
+ prev: true,
488
490
  },
489
491
  })
490
492
  );
@@ -120,7 +120,7 @@ class PdCalendarCell extends LitElement {
120
120
  color: var(--pd-calendar-cell-day-info-col, var(--pd-default-bg-col));
121
121
  font-family: var(--pd-default-font-title-family);
122
122
  font-weight: bold;
123
- font-size: 1.5em;
123
+ font-size: var(--pd-calendar-info-font-size, 1.5em);
124
124
  text-shadow: 1px 1px var(--pd-default-dark-col);
125
125
  pointer-events: none;
126
126
  }