@omnic/widget-locations 1.1.5 → 1.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 (32) hide show
  1. package/README.md +1 -0
  2. package/dist/lib/components/AsyncSelect/AsyncSelect.d.ts +1 -1
  3. package/dist/lib/components/Button/Button.d.ts +1 -1
  4. package/dist/lib/components/Button/index.d.ts +1 -1
  5. package/dist/lib/components/CheckboxGroup/CheckboxGroup.d.ts +2 -2
  6. package/dist/lib/components/DeliveryDetailsModal/DeliveryDetailsModal.d.ts +1 -1
  7. package/dist/lib/components/DeliveryDetailsView/DeliveryDetailsView.d.ts +3 -3
  8. package/dist/lib/components/DeliveryDetailsView/DeliveryDetailsView.utils.d.ts +9 -4
  9. package/dist/lib/components/MapGoogle/DeliveryPoint.d.ts +2 -1
  10. package/dist/lib/components/MapGoogle/MapContainer.d.ts +1 -1
  11. package/dist/lib/components/MapGoogle/MapGoogle.utils.d.ts +1 -0
  12. package/dist/lib/components/MapGoogle/Point.d.ts +1 -1
  13. package/dist/lib/components/MapGoogle/PointSheet.d.ts +1 -1
  14. package/dist/lib/components/MapYandex/MapYandex.constants.d.ts +2 -2
  15. package/dist/lib/components/MapYandex/MapYandex.utils.d.ts +4 -4
  16. package/dist/lib/components/Overlay/index.d.ts +1 -1
  17. package/dist/lib/components/Radio/Radio.d.ts +2 -2
  18. package/dist/lib/components/RadioGroup/RadioGroup.d.ts +2 -2
  19. package/dist/lib/components/Spinner/index.d.ts +1 -1
  20. package/dist/lib/constants/map.d.ts +1 -1
  21. package/dist/lib/hooks/index.d.ts +0 -1
  22. package/dist/lib/index.js +1 -1
  23. package/dist/lib/services/points.d.ts +1 -1
  24. package/dist/lib/style.css +1 -1
  25. package/dist/lib/types/cities.d.ts +1 -1
  26. package/dist/lib/types/config.d.ts +1 -0
  27. package/dist/lib/types/points.d.ts +21 -21
  28. package/dist/lib/utils/index.d.ts +0 -1
  29. package/dist/lib/widget.cjs.js +40 -40
  30. package/dist/lib/widget.esm.js +15629 -15587
  31. package/package.json +21 -13
  32. package/dist/lib/components/LocationSelector/SelfPickupSelectorContainer.d.ts +0 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnic/widget-locations",
3
- "version": "1.1.5",
3
+ "version": "1.1.7",
4
4
  "description": "Simple map widget for Omnic Delivery applications",
5
5
  "files": [
6
6
  "@types",
@@ -23,9 +23,9 @@
23
23
  },
24
24
  "scripts": {
25
25
  "preversion": "npm run type-check && npm run lint",
26
- "build:app": "tsc && cross-env BUILD_TYPE=app vite build",
27
- "build:lib": "tsc && cross-env BUILD_TYPE=lib vite build",
28
- "dev": "cross-env BUILD_TYPE=app vite",
26
+ "build:app": "tsc && cross-env VITE_CJS_IGNORE_WARNING=true BUILD_TYPE=app vite build",
27
+ "build:lib": "tsc && cross-env VITE_CJS_IGNORE_WARNING=true BUILD_TYPE=lib vite build",
28
+ "dev": "cross-env VITE_CJS_IGNORE_WARNING=true BUILD_TYPE=app vite",
29
29
  "format": "prettier --write {src,@types}/**/*.{ts,tsx,css,scss,md,json}",
30
30
  "i18n:check": "tolgee extract check './src/**/*.ts?(x)'",
31
31
  "i18n:pull": "tolgee pull ./i18n",
@@ -39,14 +39,17 @@
39
39
  "dependencies": {
40
40
  "@pbe/react-yandex-maps": "^1.2.5",
41
41
  "@react-google-maps/api": "^2.19.2",
42
- "@tolgee/react": "^5.16.2",
42
+ "@tolgee/react": "^5.16.3",
43
+ "@tolgee/web": "^5.16.3",
43
44
  "@types/classnames": "^2.3.1",
44
- "@types/react": "^18.2.37",
45
- "@types/react-dom": "^18.2.15",
45
+ "@types/invariant": "^2.2.37",
46
+ "@types/react": "^18.2.41",
47
+ "@types/react-dom": "^18.2.17",
46
48
  "@types/react-geocode": "^0.2.4",
47
49
  "@types/uuid": "^9.0.7",
48
- "axios": "^1.6.1",
50
+ "axios": "^1.6.2",
49
51
  "classnames": "^2.3.2",
52
+ "invariant": "^2.2.4",
50
53
  "on-change": "^4.0.2",
51
54
  "react-geocode": "^0.2.3",
52
55
  "react-google-autocomplete": "^2.7.3",
@@ -55,17 +58,22 @@
55
58
  "react-spring-bottom-sheet": "^3.4.1",
56
59
  "uuid": "^9.0.1",
57
60
  "yandex-maps": "^0.0.1",
58
- "zustand": "^4.4.6"
61
+ "zustand": "^4.4.7"
59
62
  },
60
63
  "devDependencies": {
61
- "@omnic/widget-config": "0.2.2",
62
- "@types/node": "^20.9.0",
63
- "lerna": "^7.4.2",
64
+ "@omnic/eslint-config-widget": "0.3.4",
65
+ "@omnic/prettier-config-widget": "^0.3.2",
66
+ "@omnic/typescript-config-widget": "0.3.4",
67
+ "@omnic/vite-config-widget": "0.3.4",
68
+ "@types/node": "^20.10.3",
69
+ "cross-env": "^7.0.3",
70
+ "deepmerge": "^4.3.1",
71
+ "lerna": "^8.0.0",
64
72
  "sass": "^1.69.5"
65
73
  },
66
74
  "peerDependencies": {
67
75
  "react": "^18.2.0",
68
76
  "react-dom": "^18.2.0"
69
77
  },
70
- "gitHead": "13cc2eede0af2c6ae11f6204c21359df102c07a5"
78
+ "gitHead": "46ff26789eb6979479ba54e2ff5c8d246e8693d3"
71
79
  }
@@ -1,9 +0,0 @@
1
- import type { FC } from "react";
2
- import type { LocationPoint } from '../../types/points';
3
- interface SelfPickupSelectorContainerProps {
4
- className?: string;
5
- value?: null | LocationPoint;
6
- onChange?: (value: null | LocationPoint) => void;
7
- }
8
- export declare const SelfPickupSelectorContainer: FC<SelfPickupSelectorContainerProps>;
9
- export {};