@jpahd/kalendus 0.1.7 → 0.6.0
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/custom-elements.json +70 -1
- package/dist/components/Header.d.ts.map +1 -1
- package/dist/kalendus.js +138 -102
- package/dist/kalendus.js.map +1 -1
- package/dist/lib/SlotManager.d.ts.map +1 -1
- package/dist/lib/colorParser.d.ts +18 -0
- package/dist/lib/colorParser.d.ts.map +1 -0
- package/dist/lib/getColorTextWithContrast.d.ts +1 -1
- package/dist/lib/getColorTextWithContrast.d.ts.map +1 -1
- package/dist/lib/localization.d.ts.map +1 -1
- package/dist/lib/weekDisplayContext.d.ts.map +1 -1
- package/dist/lib/weekStartHelper.d.ts.map +1 -1
- package/dist/lms-calendar.d.ts.map +1 -1
- package/dist/themes/brutalist.css +100 -0
- package/dist/themes/default.css +100 -0
- package/dist/themes/ink.css +98 -0
- package/dist/themes/midnight.css +110 -0
- package/dist/themes/soft.css +97 -0
- package/package.json +127 -123
package/package.json
CHANGED
|
@@ -1,125 +1,129 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
2
|
+
"name": "@jpahd/kalendus",
|
|
3
|
+
"version": "0.6.0",
|
|
4
|
+
"description": "A sophisticated, responsive calendar web component built with Lit 3.x and TypeScript.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"calendar",
|
|
7
|
+
"calendar-component",
|
|
8
|
+
"lit",
|
|
9
|
+
"lit-element",
|
|
10
|
+
"typescript",
|
|
11
|
+
"web-components"
|
|
12
|
+
],
|
|
13
|
+
"homepage": "https://github.com/pders01/kalendus",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/pders01/kalendus/issues"
|
|
16
|
+
},
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"author": "Paul Derscheid <paul.derscheid@lmscloud.de>",
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "https://github.com/pders01/kalendus.git"
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist",
|
|
25
|
+
"custom-elements.json"
|
|
26
|
+
],
|
|
27
|
+
"type": "module",
|
|
28
|
+
"sideEffects": true,
|
|
29
|
+
"main": "./dist/kalendus.js",
|
|
30
|
+
"module": "./dist/kalendus.js",
|
|
31
|
+
"types": "./dist/lms-calendar.d.ts",
|
|
32
|
+
"exports": {
|
|
33
|
+
".": {
|
|
34
|
+
"types": "./dist/lms-calendar.d.ts",
|
|
35
|
+
"import": "./dist/kalendus.js",
|
|
36
|
+
"default": "./dist/kalendus.js"
|
|
16
37
|
},
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
"storybook": "^10.2.13",
|
|
110
|
-
"ts-ics": "^2.4.1",
|
|
111
|
-
"ts-node": "^10.9.2",
|
|
112
|
-
"ts-pattern": "^5.9.0",
|
|
113
|
-
"tslib": "^2.8.1",
|
|
114
|
-
"typescript": "^5.9.3",
|
|
115
|
-
"vite": "^7.3.1",
|
|
116
|
-
"vite-plugin-minify": "^2.1.0",
|
|
117
|
-
"vite-plugin-static-copy": "^3.2.0",
|
|
118
|
-
"vitest": "^4.0.18"
|
|
119
|
-
},
|
|
120
|
-
"peerDependencies": {
|
|
121
|
-
"lit": "^3.0.0",
|
|
122
|
-
"luxon": "^3.0.0"
|
|
123
|
-
},
|
|
124
|
-
"customElements": "custom-elements.json"
|
|
125
|
-
}
|
|
38
|
+
"./themes/default.css": "./dist/themes/default.css",
|
|
39
|
+
"./themes/ink.css": "./dist/themes/ink.css",
|
|
40
|
+
"./themes/soft.css": "./dist/themes/soft.css",
|
|
41
|
+
"./themes/brutalist.css": "./dist/themes/brutalist.css",
|
|
42
|
+
"./themes/midnight.css": "./dist/themes/midnight.css",
|
|
43
|
+
"./package.json": "./package.json"
|
|
44
|
+
},
|
|
45
|
+
"publishConfig": {
|
|
46
|
+
"access": "public"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@lit-labs/observers": "^2.1.0"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@11ty/eleventy": "^3.1.2",
|
|
53
|
+
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.2",
|
|
54
|
+
"@custom-elements-manifest/analyzer": "^0.11.0",
|
|
55
|
+
"@lit/localize": "^0.12.2",
|
|
56
|
+
"@lit/localize-tools": "^0.8.1",
|
|
57
|
+
"@open-wc/testing": "^4.0.0",
|
|
58
|
+
"@remcovaes/web-test-runner-vite-plugin": "^1.4.0",
|
|
59
|
+
"@storybook/addon-docs": "^10.2.13",
|
|
60
|
+
"@storybook/addon-vitest": "^10.2.13",
|
|
61
|
+
"@storybook/web-components": "10.2.13",
|
|
62
|
+
"@storybook/web-components-vite": "^10.2.13",
|
|
63
|
+
"@types/chai": "^5.2.3",
|
|
64
|
+
"@types/luxon": "^3.7.1",
|
|
65
|
+
"@types/mocha": "^10.0.10",
|
|
66
|
+
"@vitest/browser-playwright": "^4.0.18",
|
|
67
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
68
|
+
"@web/dev-server": "^0.4.6",
|
|
69
|
+
"@web/dev-server-esbuild": "^1.0.5",
|
|
70
|
+
"@web/dev-server-legacy": "^2.1.1",
|
|
71
|
+
"@web/rollup-plugin-html": "^3.1.0",
|
|
72
|
+
"@web/test-runner": "^0.20.2",
|
|
73
|
+
"@web/test-runner-playwright": "^0.11.1",
|
|
74
|
+
"@webcomponents/webcomponentsjs": "^2.8.0",
|
|
75
|
+
"chai": "^6.2.2",
|
|
76
|
+
"lit": "^3.3.2",
|
|
77
|
+
"lit-analyzer": "^2.0.3",
|
|
78
|
+
"luxon": "^3.7.2",
|
|
79
|
+
"mocha": "^11.7.5",
|
|
80
|
+
"oxfmt": "0.35.0",
|
|
81
|
+
"oxlint": "1.50.0",
|
|
82
|
+
"playwright": "^1.58.2",
|
|
83
|
+
"remeda": "^2.33.6",
|
|
84
|
+
"rimraf": "^6.1.3",
|
|
85
|
+
"rolldown": "1.0.0-rc.6",
|
|
86
|
+
"storybook": "^10.2.13",
|
|
87
|
+
"ts-ics": "^2.4.1",
|
|
88
|
+
"ts-node": "^10.9.2",
|
|
89
|
+
"ts-pattern": "^5.9.0",
|
|
90
|
+
"tslib": "^2.8.1",
|
|
91
|
+
"typescript": "^5.9.3",
|
|
92
|
+
"vite": "^7.3.1",
|
|
93
|
+
"vite-plugin-minify": "^2.1.0",
|
|
94
|
+
"vite-plugin-static-copy": "^3.2.0",
|
|
95
|
+
"vitest": "^4.0.18"
|
|
96
|
+
},
|
|
97
|
+
"peerDependencies": {
|
|
98
|
+
"lit": "^3.0.0",
|
|
99
|
+
"luxon": "^3.0.0"
|
|
100
|
+
},
|
|
101
|
+
"customElements": "custom-elements.json",
|
|
102
|
+
"scripts": {
|
|
103
|
+
"build": "vite build && tsc --project tsconfig.build.json",
|
|
104
|
+
"build:iife": "vite build --config vite.config.iife.ts",
|
|
105
|
+
"build:all": "pnpm run build && pnpm run build:iife",
|
|
106
|
+
"build:watch": "vite build --watch",
|
|
107
|
+
"clean": "rimraf dist",
|
|
108
|
+
"lint": "npm run lint:lit-analyzer && npm run lint:oxlint",
|
|
109
|
+
"lint:oxlint": "oxlint src/",
|
|
110
|
+
"lint:lit-analyzer": "lit-analyzer",
|
|
111
|
+
"format": "oxfmt --write 'src/**/*.{ts,js}' '*.json' '*.md' '.storybook/**/*.ts'",
|
|
112
|
+
"format:check": "oxfmt --check 'src/**/*.{ts,js}' '*.json' '*.md' '.storybook/**/*.ts'",
|
|
113
|
+
"analyze": "cem analyze --litelement --globs \"src/**/*.ts\" --exclude \"src/**/*.stories.ts\" --exclude \"src/lib/debug/**\"",
|
|
114
|
+
"analyze:watch": "cem analyze --litelement --globs \"src/**/*.ts\" --exclude \"src/**/*.stories.ts\" --exclude \"src/lib/debug/**\" --watch",
|
|
115
|
+
"checksize": "cat ./dist/kalendus.js | gzip -9 | wc -c",
|
|
116
|
+
"test": "NODE_OPTIONS=--experimental-vm-modules mocha",
|
|
117
|
+
"test:watch": "NODE_OPTIONS=--experimental-vm-modules mocha --watch",
|
|
118
|
+
"test:components": "web-test-runner",
|
|
119
|
+
"test:components:watch": "web-test-runner --watch",
|
|
120
|
+
"test:components:coverage": "web-test-runner --coverage",
|
|
121
|
+
"storybook": "storybook dev -p 6006",
|
|
122
|
+
"build-storybook": "storybook build",
|
|
123
|
+
"test-storybook": "vitest --project=storybook --run",
|
|
124
|
+
"test:e2e": "playwright test",
|
|
125
|
+
"i18n:extract": "lit-localize extract",
|
|
126
|
+
"i18n:build": "lit-localize build",
|
|
127
|
+
"demo:gif": "node scripts/record-demo-gif.mjs"
|
|
128
|
+
}
|
|
129
|
+
}
|