@omnic/widget-locations 1.1.7 → 1.1.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnic/widget-locations",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "description": "Simple map widget for Omnic Delivery applications",
5
5
  "files": [
6
6
  "@types",
@@ -33,25 +33,27 @@
33
33
  "i18n:sync": "tolgee sync './src/**/*.ts?(x)'",
34
34
  "link:app": "rm -rf examples/vanilla/lib && npm run build:app && cp -R dist/app examples/vanilla/lib",
35
35
  "lint": "eslint src --ext ts,tsx --report-unused-disable-directives",
36
- "lint:fix": "eslint src --ext ts,tsx --fix --report-unused-disable-directives",
37
36
  "type-check": "tsc --noEmit"
38
37
  },
38
+ "peerDependencies": {
39
+ "react": "^18.2.0",
40
+ "react-dom": "^18.2.0"
41
+ },
39
42
  "dependencies": {
40
43
  "@pbe/react-yandex-maps": "^1.2.5",
41
44
  "@react-google-maps/api": "^2.19.2",
42
- "@tolgee/react": "^5.16.3",
43
- "@tolgee/web": "^5.16.3",
45
+ "@tolgee/react": "^5.18.0",
46
+ "@tolgee/web": "^5.18.0",
44
47
  "@types/classnames": "^2.3.1",
45
48
  "@types/invariant": "^2.2.37",
46
- "@types/react": "^18.2.41",
47
- "@types/react-dom": "^18.2.17",
48
- "@types/react-geocode": "^0.2.4",
49
+ "@types/react": "^18.2.45",
50
+ "@types/react-dom": "^18.2.18",
49
51
  "@types/uuid": "^9.0.7",
50
52
  "axios": "^1.6.2",
51
53
  "classnames": "^2.3.2",
52
54
  "invariant": "^2.2.4",
53
- "on-change": "^4.0.2",
54
- "react-geocode": "^0.2.3",
55
+ "on-change": "^5.0.0",
56
+ "react-geocode": "^1.0.0-alpha.1",
55
57
  "react-google-autocomplete": "^2.7.3",
56
58
  "react-range-slider-input": "^3.0.7",
57
59
  "react-select": "^5.8.0",
@@ -62,18 +64,14 @@
62
64
  },
63
65
  "devDependencies": {
64
66
  "@omnic/eslint-config-widget": "0.3.4",
65
- "@omnic/prettier-config-widget": "^0.3.2",
67
+ "@omnic/prettier-config-widget": "0.3.2",
66
68
  "@omnic/typescript-config-widget": "0.3.4",
67
69
  "@omnic/vite-config-widget": "0.3.4",
68
- "@types/node": "^20.10.3",
70
+ "@types/node": "^20.10.5",
69
71
  "cross-env": "^7.0.3",
70
72
  "deepmerge": "^4.3.1",
71
- "lerna": "^8.0.0",
73
+ "lerna": "^8.0.1",
72
74
  "sass": "^1.69.5"
73
75
  },
74
- "peerDependencies": {
75
- "react": "^18.2.0",
76
- "react-dom": "^18.2.0"
77
- },
78
- "gitHead": "46ff26789eb6979479ba54e2ff5c8d246e8693d3"
76
+ "gitHead": "29934c7319d98ec0a60d5c205d2dbeb03d801223"
79
77
  }
@@ -1 +0,0 @@
1
- export {};
@@ -1,13 +0,0 @@
1
- /// <reference types="google.maps" />
2
- interface PlusCode {
3
- compound_code: string;
4
- global_code: string;
5
- }
6
- interface GetAddressFromLatLngResponse {
7
- plus_code: PlusCode;
8
- results?: Array<google.maps.places.PlaceResult>;
9
- status: string | "OK";
10
- }
11
- type LocationType = "ROOFTOP" | "GEOMETRIC_CENTER";
12
- export declare const getAddressFromLatLng: (coordinates: Coordinates, type?: LocationType) => Promise<GetAddressFromLatLngResponse>;
13
- export {};