@contentful/field-editor-location 1.3.21 → 1.3.25

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.
@@ -20,6 +20,6 @@ export declare class GoogleMapView extends React.Component<GoogleMapViewProps, G
20
20
  maps: any;
21
21
  map: any;
22
22
  }) => void;
23
- render(): JSX.Element;
23
+ render(): React.JSX.Element;
24
24
  }
25
25
  export {};
@@ -32,9 +32,9 @@ export declare class LocationEditor extends React.Component<LocationEditorProps,
32
32
  constructor(props: LocationEditorProps);
33
33
  onSearchAddress: (value: string) => Promise<GeocodeApiResponse>;
34
34
  onGetAddressFromLocation: (location: Coords | undefined, value: string) => Promise<string>;
35
- render(): JSX.Element;
35
+ render(): React.JSX.Element;
36
36
  }
37
- export declare function LocationEditorConnected(props: LocationEditorConnectedProps): JSX.Element;
37
+ export declare function LocationEditorConnected(props: LocationEditorConnectedProps): React.JSX.Element;
38
38
  export declare namespace LocationEditorConnected {
39
39
  var defaultProps: {
40
40
  isInitiallyDisabled: boolean;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  import { Coords, GeocodeApiResponse } from './types';
3
3
  type LocationSearchInputProps = {
4
4
  disabled: boolean;
@@ -7,5 +7,5 @@ type LocationSearchInputProps = {
7
7
  onGetAddressFromLocation: (coors: Coords | undefined, value: string) => Promise<string>;
8
8
  onChangeLocation: (location?: Coords) => void;
9
9
  };
10
- export declare function LocationSearchInput(props: LocationSearchInputProps): JSX.Element;
10
+ export declare function LocationSearchInput(props: LocationSearchInputProps): React.JSX.Element;
11
11
  export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  import { Coords, GeocodeApiResponse, ViewType } from './types';
3
3
  interface LocationSelectorProps {
4
4
  disabled: boolean;
@@ -9,5 +9,5 @@ interface LocationSelectorProps {
9
9
  onSearchAddress: (value: string) => Promise<GeocodeApiResponse>;
10
10
  onGetAddressFromLocation: (location: Coords | undefined, address: string) => Promise<string>;
11
11
  }
12
- export declare function LocationSelector(props: LocationSelectorProps): JSX.Element;
12
+ export declare function LocationSelector(props: LocationSelectorProps): React.JSX.Element;
13
13
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-location",
3
- "version": "1.3.21",
3
+ "version": "1.3.25",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -33,16 +33,16 @@
33
33
  "tsc": "tsc -p ./ --noEmit"
34
34
  },
35
35
  "dependencies": {
36
- "@contentful/f36-components": "^4.0.27",
37
- "@contentful/f36-tokens": "^4.0.0",
38
- "@contentful/field-editor-shared": "^1.6.0",
36
+ "@contentful/f36-components": "^4.70.0",
37
+ "@contentful/f36-tokens": "^4.0.5",
38
+ "@contentful/field-editor-shared": "^1.7.0",
39
39
  "@types/google-map-react": "2.1.10",
40
40
  "emotion": "^10.0.17",
41
41
  "google-map-react": "2.2.1",
42
42
  "lodash": "^4.17.15"
43
43
  },
44
44
  "devDependencies": {
45
- "@contentful/field-editor-test-utils": "^1.5.0"
45
+ "@contentful/field-editor-test-utils": "^1.5.2"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "react": ">=16.8.0"
@@ -50,5 +50,5 @@
50
50
  "publishConfig": {
51
51
  "registry": "https://npm.pkg.github.com/"
52
52
  },
53
- "gitHead": "6598ec65e210c4e84bed073f8b50c8bdb883a9a4"
53
+ "gitHead": "d734036ff89da141dbb91ade0342fb7f82cfe167"
54
54
  }