extra-map-card 1.1.4 → 1.2.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/dist/components/emc-map.d.ts +5 -2
- package/dist/extra-map-card-bundle.js +57 -32
- package/dist/index.js +57 -32
- package/dist/types/config.d.ts +1 -1
- package/package.json +8 -5
package/dist/types/config.d.ts
CHANGED
|
@@ -58,7 +58,7 @@ export interface ExtraMapCardConfig extends LovelaceCardConfig {
|
|
|
58
58
|
hours_to_show?: number;
|
|
59
59
|
theme_mode?: ThemeMode;
|
|
60
60
|
show_all?: boolean;
|
|
61
|
-
|
|
61
|
+
use_more_info?: boolean;
|
|
62
62
|
custom_styles?: CustomStyles;
|
|
63
63
|
history_period?: 'today' | 'yesterday';
|
|
64
64
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "extra-map-card",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Lovelace custom map card for Home Assistant",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"home-assistant",
|
|
@@ -40,7 +40,8 @@
|
|
|
40
40
|
"date-fns": "^4.1.0",
|
|
41
41
|
"home-assistant-js-websocket": "^9.4.0",
|
|
42
42
|
"lit": "^3.2.1",
|
|
43
|
-
"memoize-one": "^6.0.0"
|
|
43
|
+
"memoize-one": "^6.0.0",
|
|
44
|
+
"supercluster": "^8.0.1"
|
|
44
45
|
},
|
|
45
46
|
"devDependencies": {
|
|
46
47
|
"@babel/core": "^7.26.9",
|
|
@@ -49,6 +50,7 @@
|
|
|
49
50
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
50
51
|
"@rollup/plugin-terser": "^0.4.4",
|
|
51
52
|
"@turf/turf": "^7.2.0",
|
|
53
|
+
"@types/supercluster": "^7.1.3",
|
|
52
54
|
"@typescript-eslint/eslint-plugin": "^8.24.0",
|
|
53
55
|
"@typescript-eslint/parser": "^8.24.0",
|
|
54
56
|
"es-toolkit": "^1.32.0",
|
|
@@ -73,9 +75,10 @@
|
|
|
73
75
|
},
|
|
74
76
|
"scripts": {
|
|
75
77
|
"dev": "rollup -c rollup.config.js --bundleConfigAsCjs --watch",
|
|
76
|
-
"build": "npm run lint && npm run rollup",
|
|
78
|
+
"build": "npm run clean && npm run lint && npm run rollup",
|
|
77
79
|
"lint": "eslint src/**/*.ts --fix",
|
|
78
80
|
"rollup": "rollup -c rollup.config.js --bundleConfigAsCjs",
|
|
79
|
-
"prepare": "husky install"
|
|
81
|
+
"prepare": "husky install",
|
|
82
|
+
"clean": "rm -rf dist"
|
|
80
83
|
}
|
|
81
|
-
}
|
|
84
|
+
}
|