@contentful/field-editor-location 1.5.25 → 1.5.26-canary.4
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.
|
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "GoogleMapView", {
|
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
const _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
|
|
12
|
-
const
|
|
12
|
+
const _css = require("@emotion/css");
|
|
13
13
|
const _googlemapreact = /*#__PURE__*/ _interop_require_default(require("google-map-react"));
|
|
14
14
|
function _define_property(obj, key, value) {
|
|
15
15
|
if (key in obj) {
|
|
@@ -71,7 +71,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
|
|
|
71
71
|
return newObj;
|
|
72
72
|
}
|
|
73
73
|
const styles = {
|
|
74
|
-
root: (0,
|
|
74
|
+
root: (0, _css.css)({
|
|
75
75
|
height: '300px',
|
|
76
76
|
width: '100%'
|
|
77
77
|
})
|
|
@@ -11,7 +11,7 @@ Object.defineProperty(exports, "LocationSearchInput", {
|
|
|
11
11
|
const _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
|
|
12
12
|
const _f36components = require("@contentful/f36-components");
|
|
13
13
|
const _f36tokens = /*#__PURE__*/ _interop_require_default(require("@contentful/f36-tokens"));
|
|
14
|
-
const
|
|
14
|
+
const _css = require("@emotion/css");
|
|
15
15
|
function _interop_require_default(obj) {
|
|
16
16
|
return obj && obj.__esModule ? obj : {
|
|
17
17
|
default: obj
|
|
@@ -59,23 +59,23 @@ function _interop_require_wildcard(obj, nodeInterop) {
|
|
|
59
59
|
return newObj;
|
|
60
60
|
}
|
|
61
61
|
const styles = {
|
|
62
|
-
root: (0,
|
|
62
|
+
root: (0, _css.css)({
|
|
63
63
|
width: '100%'
|
|
64
64
|
}),
|
|
65
|
-
input: (0,
|
|
65
|
+
input: (0, _css.css)({
|
|
66
66
|
position: 'relative',
|
|
67
67
|
width: '100%'
|
|
68
68
|
}),
|
|
69
|
-
spinner: (0,
|
|
69
|
+
spinner: (0, _css.css)({
|
|
70
70
|
position: 'absolute',
|
|
71
71
|
right: 10,
|
|
72
72
|
top: 10,
|
|
73
73
|
zIndex: 99
|
|
74
74
|
}),
|
|
75
|
-
validationMessage: (0,
|
|
75
|
+
validationMessage: (0, _css.css)({
|
|
76
76
|
marginTop: _f36tokens.default.spacingS
|
|
77
77
|
}),
|
|
78
|
-
suggestion: (0,
|
|
78
|
+
suggestion: (0, _css.css)({
|
|
79
79
|
position: 'absolute',
|
|
80
80
|
transform: 'translateY(100%)',
|
|
81
81
|
bottom: 0,
|
|
@@ -11,7 +11,7 @@ Object.defineProperty(exports, "LocationSelector", {
|
|
|
11
11
|
const _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
|
|
12
12
|
const _f36components = require("@contentful/f36-components");
|
|
13
13
|
const _f36tokens = /*#__PURE__*/ _interop_require_default(require("@contentful/f36-tokens"));
|
|
14
|
-
const
|
|
14
|
+
const _css = require("@emotion/css");
|
|
15
15
|
const _LocationSearchInput = require("./LocationSearchInput");
|
|
16
16
|
const _types = require("./types");
|
|
17
17
|
function _interop_require_default(obj) {
|
|
@@ -61,20 +61,20 @@ function _interop_require_wildcard(obj, nodeInterop) {
|
|
|
61
61
|
return newObj;
|
|
62
62
|
}
|
|
63
63
|
const styles = {
|
|
64
|
-
root: (0,
|
|
64
|
+
root: (0, _css.css)({
|
|
65
65
|
display: 'flex',
|
|
66
66
|
flexDirection: 'row',
|
|
67
67
|
marginTop: _f36tokens.default.spacingS,
|
|
68
68
|
alignItems: 'flex-end'
|
|
69
69
|
}),
|
|
70
|
-
main: (0,
|
|
70
|
+
main: (0, _css.css)({
|
|
71
71
|
flexGrow: 1
|
|
72
72
|
}),
|
|
73
|
-
secondary: (0,
|
|
73
|
+
secondary: (0, _css.css)({
|
|
74
74
|
minWidth: '70px',
|
|
75
75
|
textAlign: 'right'
|
|
76
76
|
}),
|
|
77
|
-
inputsRow: (0,
|
|
77
|
+
inputsRow: (0, _css.css)({
|
|
78
78
|
display: 'flex',
|
|
79
79
|
marginTop: _f36tokens.default.spacingS,
|
|
80
80
|
fontSize: _f36tokens.default.fontSizeM,
|
|
@@ -82,10 +82,10 @@ const styles = {
|
|
|
82
82
|
fontFamily: _f36tokens.default.fontStackPrimary,
|
|
83
83
|
alignItems: 'center'
|
|
84
84
|
}),
|
|
85
|
-
splitter: (0,
|
|
85
|
+
splitter: (0, _css.css)({
|
|
86
86
|
width: _f36tokens.default.spacingL
|
|
87
87
|
}),
|
|
88
|
-
clearBtn: (0,
|
|
88
|
+
clearBtn: (0, _css.css)({
|
|
89
89
|
marginBottom: _f36tokens.default.spacingS
|
|
90
90
|
})
|
|
91
91
|
};
|
|
@@ -97,7 +97,7 @@ function LocationSelector(props) {
|
|
|
97
97
|
}, /*#__PURE__*/ _react.createElement(_f36components.Flex, {
|
|
98
98
|
flexDirection: "row"
|
|
99
99
|
}, /*#__PURE__*/ _react.createElement(_f36components.Radio, {
|
|
100
|
-
className: (0,
|
|
100
|
+
className: (0, _css.css)({
|
|
101
101
|
flexBasis: '100%'
|
|
102
102
|
}),
|
|
103
103
|
id: _types.ViewType.Address,
|
|
@@ -109,7 +109,7 @@ function LocationSelector(props) {
|
|
|
109
109
|
props.onChangeView(_types.ViewType.Address);
|
|
110
110
|
}
|
|
111
111
|
}, "Address"), /*#__PURE__*/ _react.createElement(_f36components.Radio, {
|
|
112
|
-
className: (0,
|
|
112
|
+
className: (0, _css.css)({
|
|
113
113
|
flexBasis: '100%'
|
|
114
114
|
}),
|
|
115
115
|
id: _types.ViewType.Coordinates,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Button, Card, Spinner, TextInput, ValidationMessage } from '@contentful/f36-components';
|
|
3
3
|
import tokens from '@contentful/f36-tokens';
|
|
4
|
-
import { css } from 'emotion';
|
|
4
|
+
import { css } from '@emotion/css';
|
|
5
5
|
const styles = {
|
|
6
6
|
root: css({
|
|
7
7
|
width: '100%'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Flex, Radio, TextInput, TextLink } from '@contentful/f36-components';
|
|
3
3
|
import tokens from '@contentful/f36-tokens';
|
|
4
|
-
import { css } from 'emotion';
|
|
4
|
+
import { css } from '@emotion/css';
|
|
5
5
|
import { LocationSearchInput } from './LocationSearchInput';
|
|
6
6
|
import { ViewType } from './types';
|
|
7
7
|
const styles = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/field-editor-location",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.26-canary.4+d0207d3d",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"tsc": "tsc -p ./ --noEmit"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@contentful/f36-components": "^
|
|
38
|
-
"@contentful/f36-tokens": "^
|
|
37
|
+
"@contentful/f36-components": "^6.7.1",
|
|
38
|
+
"@contentful/f36-tokens": "^6.1.2",
|
|
39
39
|
"@contentful/field-editor-shared": "^3.0.0",
|
|
40
|
+
"@emotion/css": "^11.13.5",
|
|
40
41
|
"@types/google-map-react": "2.1.10",
|
|
41
|
-
"emotion": "^10.0.17",
|
|
42
42
|
"google-map-react": "2.2.1",
|
|
43
43
|
"lodash": "^4.17.15"
|
|
44
44
|
},
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@lingui/core": "^5.3.0",
|
|
51
|
-
"react": ">=
|
|
51
|
+
"react": ">=18.3.1"
|
|
52
52
|
},
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"registry": "https://npm.pkg.github.com/"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "d0207d3dc05607df445b024493376aedad06e1c0"
|
|
57
57
|
}
|