yio-map 0.13.7 → 0.14.1

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/yio-map.js CHANGED
@@ -1143,6 +1143,66 @@ var UserPinInteraction = class extends Interaction {
1143
1143
  //#endregion
1144
1144
  //#region src/assets/yio_icon_pink.svg
1145
1145
  var yio_icon_pink_default = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20width='100%25'%20height='100%25'%20viewBox='0%200%20256%20256'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20xml:space='preserve'%20xmlns:serif='http://www.serif.com/'%20style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'%3e%3cg%3e%3cg%20id='favicon'%3e%3crect%20x='0'%20y='0'%20width='256'%20height='256'%20style='fill:none;'/%3e%3cg%3e%3cpath%20d='M54.77,244.669C59.16,246.864%2071.078,250.001%2083.623,250.001C125.022,250.001%20142.585,223.029%20152.621,191.98L212.21,6L163.284,6L146.662,66.216C140.076,90.051%20135.999,112.005%20133.49,128L132.235,128C130.04,112.946%20123.14,86.288%20116.554,66.216L96.796,6L43.793,6L110.282,182.571C108.713,200.448%2098.677,210.17%2081.742,210.17C73.901,210.17%2067.315,208.288%2062.61,205.779L54.77,244.669Z'%20style='fill:rgb(223,72,110);fill-rule:nonzero;'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
1146
+ var package_default = {
1147
+ name: "yio-map",
1148
+ description: "Web component for interactive maps using LitElement and OpenLayers",
1149
+ license: "MIT",
1150
+ author: "yio-map",
1151
+ repository: {
1152
+ "type": "git",
1153
+ "url": "https://github.com/yiogmbh/yio-map"
1154
+ },
1155
+ version: "0.14.1",
1156
+ type: "module",
1157
+ files: ["dist"],
1158
+ exports: { ".": {
1159
+ "import": "./dist/yio-map.js",
1160
+ "types": "./dist/index.d.ts"
1161
+ } },
1162
+ scripts: {
1163
+ "start": "vite",
1164
+ "build": "vite build && vite -c vite.config-umd.js build && tsc src/index.js --outDir dist --skipLibCheck --allowJS --declaration --declarationMap --emitDeclarationOnly",
1165
+ "prepublish": "npm run build",
1166
+ "prepublishOnly": "npm run build",
1167
+ "lint": "eslint --ext .js,.html . && prettier \"**/*.(js|html)\" --check --ignore-path .gitignore",
1168
+ "format": "eslint --ext .js,.html . --fix && prettier \"**/*.(js|html)\" --write --ignore-path .gitignore",
1169
+ "prepare": "husky",
1170
+ "pretest": "tsc --noEmit && npx playwright install chromium-headless-shell",
1171
+ "test": "vitest run --silent",
1172
+ "test:watch": "npm run pretest && vitest watch",
1173
+ "storybook": "storybook dev -p 6006",
1174
+ "storybook:build": "storybook build"
1175
+ },
1176
+ dependencies: { "lit": "^3.3.2" },
1177
+ peerDependencies: {
1178
+ "ol": "^10.7.0",
1179
+ "ol-mapbox-style": "^13.2.0"
1180
+ },
1181
+ devDependencies: {
1182
+ "@chromatic-com/storybook": "^5.1.1",
1183
+ "@storybook/addon-docs": "10.3.5",
1184
+ "@storybook/web-components": "^10.3.5",
1185
+ "@storybook/web-components-vite": "^10.3.5",
1186
+ "@types/node": "^25.0.10",
1187
+ "@vitest/browser": "^4.1.4",
1188
+ "@vitest/browser-playwright": "^4.1.4",
1189
+ "eslint": "^9.39.2",
1190
+ "eslint-config-flat-gitignore": "^2.1.0",
1191
+ "eslint-config-prettier": "^10.1.8",
1192
+ "eslint-plugin-html": "^8.1.4",
1193
+ "eslint-plugin-storybook": "^10.3.5",
1194
+ "husky": "^9.1.7",
1195
+ "lint-staged": "^15.5.2",
1196
+ "playwright": "^1.58.0",
1197
+ "prettier": "^3.8.1",
1198
+ "rollup-plugin-peer-deps-external": "^2.2.4",
1199
+ "storybook": "10.3.5",
1200
+ "typescript": "^5.9.3",
1201
+ "vite": "8.0.5",
1202
+ "vitest": "^4.1.4"
1203
+ },
1204
+ "lint-staged": { "*.js": ["eslint --fix", "prettier --write"] }
1205
+ };
1146
1206
  //#endregion
1147
1207
  //#region src/controls/YioAttribution.js
1148
1208
  var img = document.createElement("img");
@@ -1159,7 +1219,7 @@ var YioAttribution = new Attribution({
1159
1219
  entries.push(`
1160
1220
  <a href="https://yio.at" target="_blank" rel="noopener">
1161
1221
  <b>yio gmbh</b>
1162
- </a>
1222
+ </a> v${package_default.version}
1163
1223
  `);
1164
1224
  for (const attr of dynamicAttributions) entries.push(attr);
1165
1225
  const html = entries.map((entry, index) => {