@progressive-development/pd-calendar 0.1.12 → 0.1.13
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 +2 -2
- package/src/PdCalendar.js +6 -4
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.
|
|
6
|
+
"version": "0.1.13",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"module": "index.js",
|
|
9
9
|
"scripts": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"week"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@progressive-development/pd-icon": "^0.1.
|
|
33
|
+
"@progressive-development/pd-icon": "^0.1.17",
|
|
34
34
|
"@progressive-development/pd-shared-styles": "0.1.1",
|
|
35
35
|
"fecha": "^4.2.0",
|
|
36
36
|
"lit": "^2.2.0"
|
package/src/PdCalendar.js
CHANGED
|
@@ -33,10 +33,12 @@ const VIEW_WEEK = 3;
|
|
|
33
33
|
* monthSelection: number => number wich indicates, the month with data, if the origin month contains no valid data.
|
|
34
34
|
* starts the calendar view initial with the month from monthSelection
|
|
35
35
|
* Input Data as followed
|
|
36
|
-
* "2023-11-04":
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
36
|
+
* "2023-11-04": [
|
|
37
|
+
* {
|
|
38
|
+
* info: "some txt", => Text for day cell
|
|
39
|
+
* special?: true|false => Highlight cell
|
|
40
|
+
* }
|
|
41
|
+
* ]
|
|
40
42
|
*/
|
|
41
43
|
export class PdCalendar extends LitElement {
|
|
42
44
|
|