@maptiler/geocoding-control 2.1.0-with-autocomplete-timeout → 2.1.2

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 (50) hide show
  1. package/MapLibreBasedGeocodingControl.d.ts +35 -69
  2. package/leaflet-controller.js +1942 -1523
  3. package/leaflet-controller.js.map +1 -1
  4. package/leaflet-controller.umd.js +1 -22
  5. package/leaflet-controller.umd.js.map +1 -1
  6. package/leaflet.js +2798 -2385
  7. package/leaflet.js.map +1 -1
  8. package/leaflet.umd.js +1 -22
  9. package/leaflet.umd.js.map +1 -1
  10. package/maplibregl-controller.js +1918 -1498
  11. package/maplibregl-controller.js.map +1 -1
  12. package/maplibregl-controller.umd.js +1 -22
  13. package/maplibregl-controller.umd.js.map +1 -1
  14. package/maplibregl.d.ts +34 -68
  15. package/maplibregl.js +2892 -2478
  16. package/maplibregl.js.map +1 -1
  17. package/maplibregl.umd.js +1 -22
  18. package/maplibregl.umd.js.map +1 -1
  19. package/maptilersdk.d.ts +34 -68
  20. package/maptilersdk.js +2896 -2481
  21. package/maptilersdk.js.map +1 -1
  22. package/maptilersdk.umd.js +1 -22
  23. package/maptilersdk.umd.js.map +1 -1
  24. package/openlayers-controller.js +1686 -1264
  25. package/openlayers-controller.js.map +1 -1
  26. package/openlayers-controller.umd.js +1 -22
  27. package/openlayers-controller.umd.js.map +1 -1
  28. package/openlayers.js +2778 -2365
  29. package/openlayers.js.map +1 -1
  30. package/openlayers.umd.js +1 -22
  31. package/openlayers.umd.js.map +1 -1
  32. package/package.json +23 -23
  33. package/react.js +753 -756
  34. package/react.js.map +1 -1
  35. package/react.umd.js +1 -1
  36. package/react.umd.js.map +1 -1
  37. package/svelte/GeocodingControl.svelte +71 -58
  38. package/svelte/GeocodingControl.svelte.d.ts +5 -3
  39. package/svelte/MapLibreBasedGeocodingControl.d.ts +35 -69
  40. package/svelte/info.json +1 -0
  41. package/svelte/maplibregl.d.ts +34 -68
  42. package/svelte/maptilersdk.d.ts +34 -68
  43. package/svelte/maptilersdk.js +2 -0
  44. package/svelte/react.js +3 -0
  45. package/svelte/types.d.ts +175 -128
  46. package/types.d.ts +175 -128
  47. package/vanilla.js +847 -853
  48. package/vanilla.js.map +1 -1
  49. package/vanilla.umd.js +1 -1
  50. package/vanilla.umd.js.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maptiler/geocoding-control",
3
- "version": "2.1.0-with-autocomplete-timeout",
3
+ "version": "2.1.2",
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": {
@@ -32,7 +32,7 @@
32
32
  ],
33
33
  "scripts": {
34
34
  "dev": "vite --host",
35
- "build": "npm run check && concurrently --names \"SVELTE ,MAPLIBRE,MAPTILER,MAPLIB-C,LEAFLET ,LEAFLE-C,OL ,OL-C ,REACT ,TYPES ,VANILLA \" \"npm run build-svelte\" \"npm run build-maplibre\" \"npm run build-maptilersdk\" \"npm run build-maplibre-controller\" \"npm run build-leaflet\" \"npm run build-leaflet-controller\" \"npm run build-openlayers\" \"npm run build-openlayers-controller\" \"npm run build-react\" \"npm run build-vanilla\" \"npm run build-types\" && cp LICENSE README.md package.json dist && cp -r dist.svelte dist/svelte",
35
+ "build": "node sync-info.js run && npm run check && concurrently --names \"SVELTE ,MAPLIBRE,MAPTILER,MAPLIB-C,LEAFLET ,LEAFLE-C,OL ,OL-C ,REACT ,TYPES ,VANILLA \" \"npm run build-svelte\" \"npm run build-maplibre\" \"npm run build-maptilersdk\" \"npm run build-maplibre-controller\" \"npm run build-leaflet\" \"npm run build-leaflet-controller\" \"npm run build-openlayers\" \"npm run build-openlayers-controller\" \"npm run build-react\" \"npm run build-vanilla\" \"npm run build-types\" && cp LICENSE README.md package.json dist && cp -r dist.svelte dist/svelte",
36
36
  "build-svelte": "svelte-package -i src -o dist.svelte && VITE_LIB_VERSION=$npm_package_version node replace-env-vars.js",
37
37
  "build-maptilersdk": "FLAVOUR=maptilersdk vite build",
38
38
  "build-maplibre": "FLAVOUR=maplibre vite build",
@@ -102,43 +102,43 @@
102
102
  "./types": "./types.d.ts"
103
103
  },
104
104
  "devDependencies": {
105
- "@maptiler/sdk": "^2.5.0",
105
+ "@maptiler/sdk": "^3.0.0",
106
106
  "@sveltejs/package": "^2.3.7",
107
107
  "@sveltejs/vite-plugin-svelte": "^3.1.2",
108
108
  "@tsconfig/svelte": "^5.0.4",
109
109
  "@types/geojson": "^7946.0.15",
110
- "@types/leaflet": "^1.9.15",
111
- "@types/node": "^22.10.1",
112
- "@types/react": "^19.0.1",
110
+ "@types/leaflet": "^1.9.16",
111
+ "@types/node": "^22.10.5",
112
+ "@types/react": "^19.0.4",
113
113
  "@types/react-dom": "^19.0.2",
114
- "concurrently": "^9.1.0",
114
+ "concurrently": "^9.1.2",
115
115
  "dotenv": "^16.4.7",
116
- "eslint": "^9.16.0",
116
+ "eslint": "^9.17.0",
117
117
  "eslint-plugin-svelte": "^2.46.1",
118
- "esm-env": "^1.2.1",
119
- "globals": "^15.13.0",
118
+ "esm-env": "^1.2.2",
119
+ "globals": "^15.14.0",
120
120
  "husky": "^9.1.7",
121
121
  "leaflet": "^1.9.4",
122
- "lint-staged": "^15.2.11",
123
- "maplibre-gl": "^4.7.1",
122
+ "lint-staged": "^15.3.0",
123
+ "maplibre-gl": "^5.0.0",
124
124
  "ol": "10.3",
125
125
  "prettier": "^3.4.2",
126
126
  "prettier-plugin-organize-imports": "^4.1.0",
127
127
  "prettier-plugin-svelte": "^3.3.2",
128
128
  "react": "^19.0.0",
129
129
  "react-dom": "^19.0.0",
130
- "replace-in-file": "^8.2.0",
131
- "sass": "^1.82.0",
130
+ "replace-in-file": "^8.3.0",
131
+ "sass": "^1.83.1",
132
132
  "svelte": "^4.2.19",
133
- "svelte-check": "^4.1.1",
133
+ "svelte-check": "^4.1.3",
134
134
  "svelte-preprocess": "^6.0.3",
135
135
  "tslib": "^2.8.1",
136
- "typescript": "^5.7.2",
137
- "typescript-eslint": "^8.18.0",
136
+ "typescript": "^5.7.3",
137
+ "typescript-eslint": "^8.19.1",
138
138
  "vite": "^5.4.11"
139
139
  },
140
140
  "peerDependencies": {
141
- "@maptiler/sdk": "^1 || ^2",
141
+ "@maptiler/sdk": "^1 || ^2 || ^3",
142
142
  "leaflet": "^1.7 || ^1.8 || ^1.9",
143
143
  "maplibre-gl": "^2 || ^3 || ^4 || ^5",
144
144
  "ol": "^6 || ^7 || ^8 || ^9 || ^10",
@@ -166,11 +166,11 @@
166
166
  }
167
167
  },
168
168
  "dependencies": {
169
- "@turf/bbox": "^7.1.0",
170
- "@turf/clone": "^7.1.0",
171
- "@turf/difference": "^7.1.0",
172
- "@turf/flatten": "^7.1.0",
173
- "@turf/union": "^7.1.0",
169
+ "@turf/bbox": "^7.2.0",
170
+ "@turf/clone": "^7.2.0",
171
+ "@turf/difference": "^7.2.0",
172
+ "@turf/flatten": "^7.2.0",
173
+ "@turf/union": "^7.2.0",
174
174
  "geo-coordinates-parser": "^1.7.4"
175
175
  }
176
176
  }