@wix/editor-react-components 1.2718.0 → 1.2719.0

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.
@@ -31,7 +31,6 @@ declare const GoogleMapReact: React.ForwardRefExoticComponent<{
31
31
  openSettingModal?: () => void;
32
32
  hasRequiredConsent?: boolean;
33
33
  componentConsentPolicy?: Record<string, boolean>;
34
- disableInfoWindow?: boolean;
35
34
  } & {
36
35
  MapContent: React.ComponentType<import('../GoogleMap.types').GoogleMapBaseProps & React.RefAttributes<IGoogleMapsImperativeActions>>;
37
36
  } & React.RefAttributes<IGoogleMapsImperativeActions>>;
@@ -31,6 +31,5 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
31
31
  openSettingModal?: () => void;
32
32
  hasRequiredConsent?: boolean;
33
33
  componentConsentPolicy?: Record<string, boolean>;
34
- disableInfoWindow?: boolean;
35
34
  } & React.RefAttributes<IGoogleMapsImperativeActions>>>;
36
35
  export default _default;
@@ -4,6 +4,7 @@ export declare const MAX_ZOOM = 20;
4
4
  export declare const API_KEY: string;
5
5
  export declare const GOOGLE_MAPS_DIRECTIONS_BASE_URL = "https://www.google.com/maps/dir/";
6
6
  export declare const PIN_ICON_HEIGHT = 32;
7
+ export declare const INFO_WINDOW_PIXEL_OFFSET: [number, number];
7
8
  export declare const MAP_MOBILE_CONTROL_SIZE = 32;
8
9
  export declare const MAP_STYLE_KEYS: {
9
10
  readonly CLASSIC: "CLASSIC";
@@ -8,7 +8,6 @@ declare const useGoogleMapProps: (props: GoogleMapSettingsProps & {
8
8
  id: string;
9
9
  className?: string;
10
10
  a11y?: A11y;
11
- disableInfoWindow?: boolean;
12
11
  }) => {
13
12
  componentProps: Omit<GoogleMapPropsWithConsent, "mapData">;
14
13
  mapData: GoogleMapMapData;
@@ -217,16 +217,6 @@ const manifest = {
217
217
  }
218
218
  },
219
219
  resources: {
220
- editor: {
221
- componentUrl: "./site/components/GoogleMap/component.preview.tsx",
222
- dependencies: {
223
- serviceDependencies: [
224
- "@wix/viewer-service-consent-policy",
225
- "@wix/viewer-service-environment",
226
- "@wix/viewer-service-translations"
227
- ]
228
- }
229
- },
230
220
  client: {
231
221
  componentUrl: "./site/components/GoogleMap/component.tsx",
232
222
  moduleSpecifier: "@wix/editor-react-components/GoogleMap",
@@ -3,6 +3,7 @@ const MIN_ZOOM = 0;
3
3
  const MAX_ZOOM = 20;
4
4
  const API_KEY = void 0;
5
5
  const GOOGLE_MAPS_DIRECTIONS_BASE_URL = "https://www.google.com/maps/dir/";
6
+ const INFO_WINDOW_PIXEL_OFFSET = [0, -32];
6
7
  const MAP_MOBILE_CONTROL_SIZE = 32;
7
8
  const MAP_STYLE_KEYS = {
8
9
  CLASSIC: "CLASSIC",
@@ -98,6 +99,7 @@ export {
98
99
  COMPANY_NAME_DEFAULT as C,
99
100
  DEFAULT_ZOOM as D,
100
101
  GOOGLE_MAPS_DIRECTIONS_BASE_URL as G,
102
+ INFO_WINDOW_PIXEL_OFFSET as I,
101
103
  MIN_ZOOM as M,
102
104
  TestIds as T,
103
105
  MAX_ZOOM as a,
@@ -79,10 +79,10 @@ function requireIsArrayLike() {
79
79
  return isArrayLike_1;
80
80
  }
81
81
  export {
82
- requireIsFunction as a,
83
- requireIsObject as b,
84
- requireIsLength as c,
85
- require_isIndex as d,
86
- requireIsArrayLike as e,
87
- requireEq as r
82
+ requireEq as a,
83
+ requireIsArrayLike as b,
84
+ require_isIndex as c,
85
+ requireIsFunction as d,
86
+ requireIsLength as e,
87
+ requireIsObject as r
88
88
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/editor-react-components",
3
- "version": "1.2718.0",
3
+ "version": "1.2719.0",
4
4
  "description": "React components for the Wix Editor",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -76,7 +76,7 @@
76
76
  "@internationalized/date": "^3.12.1",
77
77
  "@radix-ui/react-accordion": "^1.2.11",
78
78
  "@vimeo/player": "^2.20.1",
79
- "@vis.gl/react-google-maps": "^1.5.2",
79
+ "@vis.gl/react-google-maps": "^1.10.1",
80
80
  "@wix/ambassador-devcenter-v1-component-type-data": "^1.0.547",
81
81
  "@wix/design-system-illustrations": "^2.37.2",
82
82
  "@wix/sdk": "^1.21.16",
@@ -85,7 +85,7 @@
85
85
  "@wix/site-service-configuration": "^1.0.1",
86
86
  "@wix/site-service-experiments": "^1.0.4",
87
87
  "@wix/site-service-rendering-context": "^1.0.1",
88
- "@wix/site-ui": "1.282.0",
88
+ "@wix/site-ui": "1.283.0",
89
89
  "@wix/video": "^1.106.0",
90
90
  "@wix/viewer-service-consent-policy": "^1.0.103",
91
91
  "@wix/web-bi-logger": "^2.1.29",
@@ -113,6 +113,7 @@
113
113
  "@storybook/react-vite": "^9.1.19",
114
114
  "@testing-library/jest-dom": "^6.4.2",
115
115
  "@testing-library/react": "^14.1.2",
116
+ "@types/google.maps": "^3.65.5",
116
117
  "@types/react": "^18.2.42",
117
118
  "@types/react-dom": "^18.2.17",
118
119
  "@uiw/react-codemirror": "^4.24.1",
@@ -200,5 +201,5 @@
200
201
  "registry": "https://registry.npmjs.org/",
201
202
  "access": "public"
202
203
  },
203
- "falconPackageHash": "9e93479a54582a066c1045a6de4386a7aaeb8f598e5fb0cab9f999cf"
204
+ "falconPackageHash": "50ad0b23f99be441f037b221d4d5925154037fcfd0c465feb12fa8af"
204
205
  }
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { default as GoogleMap } from './component';
3
- export default function GoogleMapPreview(props: React.ComponentProps<typeof GoogleMap>): React.JSX.Element;