@progressive-development/pd-calendar 0.1.17 → 0.1.19

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.1.17",
6
+ "version": "0.1.19",
7
7
  "main": "index.js",
8
8
  "module": "index.js",
9
9
  "scripts": {
package/src/PdCalendar.js CHANGED
@@ -158,7 +158,7 @@ export class PdCalendar extends LitElement {
158
158
  align-items: center;
159
159
  justify-content: center;
160
160
  background-color: var(--pd-calendar-week-title-bg-col, var(--pd-default-dark-col));
161
- font-size: var(--pd-calendar-title-font-size, 1em);
161
+ font-size: var(--pd-calendar-weekday-title-font-size, 1em);
162
162
  font-weight: bold;
163
163
  color: var(--pd-calendar-week-title-font-col, var(--pd-default-bg-col));
164
164
  font-family: var(--pd-default-font-title-family);
@@ -147,8 +147,8 @@ class PdCalendarCell extends LitElement {
147
147
 
148
148
  .today {
149
149
  position: absolute;
150
- height: 23px;
151
- width: 23px;
150
+ height: 30px;
151
+ width: 30px;
152
152
  border: 1px solid blue;
153
153
  border-radius: 50%;
154
154
  display: inline-block;
@@ -29,6 +29,12 @@ function CalendarSmallTemplate({ hideWeekend, width, cellHeight, prevMonthConstr
29
29
  --pd-calendar-cell-selectable-shadow: 0;
30
30
  --pd-calendar-cell-day-free-bg-col: white;
31
31
  --pd-calendar-cell-day-info-free-col: #0A3A48;
32
+ --pd-default-font-title-family: Oswald;
33
+ --pd-calendar-title-font-size: 20px;
34
+ --pd-calendar-title-icon-size: 20px;
35
+ --pd-calendar-weekday-title-font-size: 15px;
36
+ --pd-calendar-number-font-size: 15px;
37
+
32
38
  }
33
39
  </style>
34
40
  <pd-calendar selectableDates ?hideWeekend="${hideWeekend}" class="calendar-small" prevMonthConstraint="${prevMonthConstraint}"