@wix/editor-react-components 1.2717.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.
- package/dist/site/components/BoxContainer/css.css +2 -1
- package/dist/site/components/GoogleMap/GoogleMap.types.d.ts +2 -1
- package/dist/site/components/GoogleMap/component.js +2349 -766
- package/dist/site/components/GoogleMap/components/GoogleMapMarker.d.ts +1 -1
- package/dist/site/components/GoogleMap/consts.d.ts +1 -0
- package/dist/site/components/chunks/consts.js +2 -0
- package/package.json +5 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { GoogleMapMarkerProps } from '../GoogleMap.types';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
declare const _default: React.MemoExoticComponent<({ location, infoWindowOpen, onMarkerClick, onInfoWindowClose, showDirectionLink, allyTargetBlankDescription, }: GoogleMapMarkerProps) => React.JSX.Element | null>;
|
|
3
|
+
declare const _default: React.MemoExoticComponent<({ index, location, infoWindowOpen, onMarkerClick, onInfoWindowClose, showDirectionLink, allyTargetBlankDescription, }: GoogleMapMarkerProps) => React.JSX.Element | null>;
|
|
4
4
|
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";
|
|
@@ -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,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/editor-react-components",
|
|
3
|
-
"version": "1.
|
|
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.
|
|
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.
|
|
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": "
|
|
204
|
+
"falconPackageHash": "50ad0b23f99be441f037b221d4d5925154037fcfd0c465feb12fa8af"
|
|
204
205
|
}
|