@omnic/widget-locations 1.0.53 → 1.0.54
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/lib/components/CourierDetailsView/CourierDetailsView.d.ts +5 -0
- package/dist/lib/components/LocationView/LocationView.d.ts +5 -0
- package/dist/lib/components/MapGoogle/MapGoogle.constants.d.ts +0 -1
- package/dist/lib/components/MapGoogle/MapGoogle.hooks.d.ts +4 -4
- package/dist/lib/components/MapGoogle/MapGoogle.utils.d.ts +2 -0
- package/dist/lib/constants/map.d.ts +4 -1
- package/dist/lib/geocode.d.ts +1 -0
- package/dist/lib/hooks/index.d.ts +1 -0
- package/dist/lib/hooks/useMediaQuery.d.ts +1 -0
- package/dist/lib/stores/map.d.ts +2 -1
- package/dist/lib/style.css +1 -1
- package/dist/lib/utils/getAddressFromLatLng.d.ts +13 -0
- package/dist/lib/utils/index.d.ts +2 -0
- package/dist/lib/utils/isFallbackCenter.d.ts +1 -0
- package/dist/lib/utils/stopImmediatePropagation.d.ts +1 -0
- package/dist/lib/views/Widget/Widget.hooks.d.ts +1 -0
- package/dist/lib/widget.es.js +6614 -6198
- package/dist/lib/widget.umd.js +34 -21
- package/package.json +19 -19
- package/dist/lib/hooks/useMediaQuery/index.d.ts +0 -1
- package/dist/lib/hooks/useMediaQuery/useMediaQuery.d.ts +0 -2
- package/dist/lib/hooks/useMediaQuery/useMediaQuery.types.d.ts +0 -7
- package/dist/lib/hooks/useMediaQuery/useMediaQuery.utils.d.ts +0 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnic/widget-locations",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.54",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/lib/widget.umd.js",
|
|
6
6
|
"module": "./dist/lib/widget.es.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dev": "vite",
|
|
22
22
|
"build:lib": "tsc && cross-env TYPE=lib vite build --mode production",
|
|
23
23
|
"build:app": "tsc && cross-env TYPE=app vite build --mode production",
|
|
24
|
-
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives
|
|
24
|
+
"lint": "eslint src --ext ts,tsx --fix --report-unused-disable-directives",
|
|
25
25
|
"format": "prettier --write {src,@types}/**/*.{ts,tsx,css,scss,md,json}",
|
|
26
26
|
"link:app": "rm -rf examples/vanilla/lib && npm run build:app && cp -R dist/app examples/vanilla/lib",
|
|
27
27
|
"type-check": "tsc --noEmit",
|
|
@@ -35,35 +35,35 @@
|
|
|
35
35
|
"react-dom": "^18.2.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@types/node": "^20.
|
|
39
|
-
"@types/react": "^18.2.
|
|
38
|
+
"@types/node": "^20.6.0",
|
|
39
|
+
"@types/react": "^18.2.21",
|
|
40
40
|
"@types/react-dom": "^18.2.7",
|
|
41
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
42
|
-
"@typescript-eslint/parser": "^6.
|
|
43
|
-
"@vitejs/plugin-react": "^4.0.
|
|
41
|
+
"@typescript-eslint/eslint-plugin": "^6.7.0",
|
|
42
|
+
"@typescript-eslint/parser": "^6.7.0",
|
|
43
|
+
"@vitejs/plugin-react": "^4.0.4",
|
|
44
44
|
"cross-env": "^7.0.3",
|
|
45
|
-
"eslint": "^8.
|
|
46
|
-
"eslint-plugin-perfectionist": "^1.
|
|
45
|
+
"eslint": "^8.49.0",
|
|
46
|
+
"eslint-plugin-perfectionist": "^2.1.0",
|
|
47
47
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
48
48
|
"eslint-plugin-react-refresh": "^0.4.3",
|
|
49
|
-
"prettier": "^3.0.
|
|
49
|
+
"prettier": "^3.0.3",
|
|
50
50
|
"rollup-plugin-visualizer": "^5.9.2",
|
|
51
|
-
"sass": "^1.
|
|
52
|
-
"typescript": "^5.
|
|
53
|
-
"vite": "^4.4.
|
|
54
|
-
"vite-plugin-dts": "^3.3
|
|
51
|
+
"sass": "^1.66.1",
|
|
52
|
+
"typescript": "^5.2.2",
|
|
53
|
+
"vite": "^4.4.9",
|
|
54
|
+
"vite-plugin-dts": "^3.5.3",
|
|
55
55
|
"vite-plugin-mkcert": "^1.16.0",
|
|
56
56
|
"vite-plugin-svgr": "^3.2.0"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@pbe/react-yandex-maps": "^1.2.4",
|
|
60
60
|
"@react-google-maps/api": "^2.19.2",
|
|
61
|
-
"@tolgee/react": "^5.
|
|
61
|
+
"@tolgee/react": "^5.12.0",
|
|
62
62
|
"@types/classnames": "^2.3.1",
|
|
63
63
|
"@types/invariant": "^2.2.35",
|
|
64
64
|
"@types/react-geocode": "^0.2.1",
|
|
65
|
-
"@types/uuid": "^9.0.
|
|
66
|
-
"axios": "^1.
|
|
65
|
+
"@types/uuid": "^9.0.3",
|
|
66
|
+
"axios": "^1.5.0",
|
|
67
67
|
"classnames": "^2.3.2",
|
|
68
68
|
"invariant": "^2.2.4",
|
|
69
69
|
"on-change": "^4.0.2",
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
"react-range-slider-input": "^3.0.7",
|
|
73
73
|
"react-select": "^5.7.4",
|
|
74
74
|
"react-spring-bottom-sheet": "^3.4.1",
|
|
75
|
-
"uuid": "^9.0.
|
|
75
|
+
"uuid": "^9.0.1",
|
|
76
76
|
"yandex-maps": "^0.0.1",
|
|
77
|
-
"zustand": "^4.
|
|
77
|
+
"zustand": "^4.4.1"
|
|
78
78
|
}
|
|
79
79
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./useMediaQuery";
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { MediaQueryCallback, UseMediaQueryOptions } from './useMediaQuery.types';
|
|
2
|
-
export declare const initialOptions: UseMediaQueryOptions;
|
|
3
|
-
export declare function attachMediaListener(query: MediaQueryList, callback: MediaQueryCallback): () => void;
|
|
4
|
-
export declare function getInitialValue(query: string, initialValue?: boolean): boolean;
|