@maptiler/geocoding-control 2.1.4 → 2.1.7

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.
Files changed (55) hide show
  1. package/MapLibreBasedGeocodingControl.d.ts +51 -34
  2. package/README.md +6 -0
  3. package/leaflet-controller.js +1 -1
  4. package/leaflet-controller.js.map +1 -1
  5. package/leaflet-controller.umd.js +1 -1
  6. package/leaflet-controller.umd.js.map +1 -1
  7. package/leaflet.js +1442 -1415
  8. package/leaflet.js.map +1 -1
  9. package/leaflet.umd.js +3 -3
  10. package/leaflet.umd.js.map +1 -1
  11. package/maplibregl-controller.js +29 -29
  12. package/maplibregl-controller.js.map +1 -1
  13. package/maplibregl-controller.umd.js +1 -1
  14. package/maplibregl-controller.umd.js.map +1 -1
  15. package/maplibregl.d.ts +52 -35
  16. package/maplibregl.js +1677 -1648
  17. package/maplibregl.js.map +1 -1
  18. package/maplibregl.umd.js +5 -5
  19. package/maplibregl.umd.js.map +1 -1
  20. package/maptilersdk.d.ts +51 -34
  21. package/maptilersdk.js +1678 -1649
  22. package/maptilersdk.js.map +1 -1
  23. package/maptilersdk.umd.js +5 -5
  24. package/maptilersdk.umd.js.map +1 -1
  25. package/openlayers-controller.js +35 -35
  26. package/openlayers-controller.js.map +1 -1
  27. package/openlayers-controller.umd.js +1 -1
  28. package/openlayers-controller.umd.js.map +1 -1
  29. package/openlayers.js +1584 -1557
  30. package/openlayers.js.map +1 -1
  31. package/openlayers.umd.js +3 -3
  32. package/openlayers.umd.js.map +1 -1
  33. package/package.json +14 -13
  34. package/react.js +900 -873
  35. package/react.js.map +1 -1
  36. package/react.umd.js +7 -7
  37. package/react.umd.js.map +1 -1
  38. package/style.css +1 -1
  39. package/svelte/GeocodingControl.svelte +18 -14
  40. package/svelte/GeocodingControl.svelte.d.ts +1 -1
  41. package/svelte/LoadingIcon.svelte +2 -2
  42. package/svelte/MapLibreBasedGeocodingControl.d.ts +51 -34
  43. package/svelte/MapLibreBasedGeocodingControl.js +5 -1
  44. package/svelte/info.json +1 -1
  45. package/svelte/leaflet-controller.js +1 -1
  46. package/svelte/maplibregl-controller.js +1 -1
  47. package/svelte/maplibregl.d.ts +52 -35
  48. package/svelte/maptilersdk.d.ts +51 -34
  49. package/svelte/openlayers-controller.js +1 -1
  50. package/svelte/types.d.ts +1 -1
  51. package/types.d.ts +1 -1
  52. package/vanilla.js +840 -813
  53. package/vanilla.js.map +1 -1
  54. package/vanilla.umd.js +5 -5
  55. package/vanilla.umd.js.map +1 -1
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@maptiler/geocoding-control",
3
- "version": "2.1.4",
3
+ "version": "2.1.7",
4
4
  "description": "The Javascript & TypeScript Map Control component for MapTiler Geocoding service. Easy to be integrated into any JavaScript mapping application.",
5
5
  "type": "module",
6
6
  "author": {
7
- "name": "Martin Ždila",
8
- "email": "martin.zdila@maptiler.com"
7
+ "name": "MapTiler",
8
+ "email": "info@maptiler.com"
9
9
  },
10
10
  "license": "BSD-3-Clause",
11
11
  "repository": {
@@ -44,6 +44,8 @@
44
44
  "build-react": "FLAVOUR=react vite build",
45
45
  "build-vanilla": "FLAVOUR=vanilla vite build",
46
46
  "build-types": "tsc --outDir dist --declaration --emitDeclarationOnly -p tsconfig.dist.json",
47
+ "lint": "eslint -c eslint.config.js . && prettier --check . && tsc --noEmit",
48
+ "lint:fix": "eslint -c eslint.config.js --fix && prettier --write . && tsc --noEmit",
47
49
  "clean": "rm -rf dist dist.svelte",
48
50
  "pack": "npm run clean && npm run build && cd dist && npm pack",
49
51
  "pub": "npm run clean && npm run build && cd dist && npm publish",
@@ -103,25 +105,24 @@
103
105
  },
104
106
  "devDependencies": {
105
107
  "@maptiler/sdk": "^3.0.1",
106
- "@sveltejs/package": "^2.3.7",
108
+ "@sveltejs/package": "^2.3.9",
107
109
  "@sveltejs/vite-plugin-svelte": "^3.1.2",
108
110
  "@tsconfig/svelte": "^5.0.4",
109
- "@types/geojson": "^7946.0.15",
111
+ "@types/geojson": "^7946.0.16",
110
112
  "@types/leaflet": "^1.9.16",
111
- "@types/node": "^22.10.6",
112
- "@types/react": "^19.0.7",
113
+ "@types/node": "^22.12.0",
114
+ "@types/react": "^19.0.8",
113
115
  "@types/react-dom": "^19.0.3",
114
116
  "concurrently": "^9.1.2",
115
117
  "dotenv": "^16.4.7",
116
- "eslint": "^9.18.0",
118
+ "eslint": "^9.19.0",
117
119
  "eslint-plugin-svelte": "^2.46.1",
118
120
  "esm-env": "^1.2.2",
119
121
  "globals": "^15.14.0",
120
122
  "husky": "^9.1.7",
121
123
  "leaflet": "^1.9.4",
122
- "lint-staged": "^15.3.0",
123
- "maplibre-gl": "^5.0.1",
124
- "ol": "10.3",
124
+ "maplibre-gl": "^5.1.0",
125
+ "ol": "10.4",
125
126
  "prettier": "^3.4.2",
126
127
  "prettier-plugin-organize-imports": "^4.1.0",
127
128
  "prettier-plugin-svelte": "^3.3.3",
@@ -134,8 +135,8 @@
134
135
  "svelte-preprocess": "^6.0.3",
135
136
  "tslib": "^2.8.1",
136
137
  "typescript": "^5.7.3",
137
- "typescript-eslint": "^8.20.0",
138
- "vite": "^5.4.11"
138
+ "typescript-eslint": "^8.22.0",
139
+ "vite": "^5.4.14"
139
140
  },
140
141
  "peerDependencies": {
141
142
  "@maptiler/sdk": "^1 || ^2 || ^3",