@contentful/field-editor-shared 2.18.1-canary.19 → 3.0.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/cjs/LocalePublishingEntityStatusBadge/Banner.js +3 -3
- package/dist/cjs/LocalePublishingEntityStatusBadge/LocalePublishingStatus.js +4 -4
- package/dist/cjs/ReleaseEntityStatusBadge/Banner.js +3 -3
- package/dist/cjs/ReleaseEntityStatusBadge/ReleaseEntityStatusLocale.js +4 -4
- package/dist/esm/LocalePublishingEntityStatusBadge/Banner.js +1 -1
- package/dist/esm/LocalePublishingEntityStatusBadge/LocalePublishingStatus.js +1 -1
- package/dist/esm/ReleaseEntityStatusBadge/Banner.js +1 -1
- package/dist/esm/ReleaseEntityStatusBadge/ReleaseEntityStatusLocale.js +1 -1
- package/package.json +8 -8
|
@@ -11,17 +11,17 @@ Object.defineProperty(exports, "Banner", {
|
|
|
11
11
|
const _react = /*#__PURE__*/ _interop_require_default(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
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
const styles = {
|
|
21
|
-
content: (0,
|
|
21
|
+
content: (0, _css.css)({
|
|
22
22
|
display: 'block'
|
|
23
23
|
}),
|
|
24
|
-
banner: (0,
|
|
24
|
+
banner: (0, _css.css)({
|
|
25
25
|
background: _f36tokens.default.gray100,
|
|
26
26
|
padding: _f36tokens.default.spacingXs,
|
|
27
27
|
margin: `${_f36tokens.default.spacingXs} ${_f36tokens.default.spacingS}`,
|
|
@@ -11,22 +11,22 @@ Object.defineProperty(exports, "LocalePublishingStatus", {
|
|
|
11
11
|
const _react = /*#__PURE__*/ _interop_require_default(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
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
const styles = {
|
|
21
|
-
locale: (0,
|
|
21
|
+
locale: (0, _css.css)({
|
|
22
22
|
textOverflow: 'ellipsis',
|
|
23
23
|
overflow: 'hidden',
|
|
24
24
|
whiteSpace: 'nowrap'
|
|
25
25
|
}),
|
|
26
|
-
status: (0,
|
|
26
|
+
status: (0, _css.css)({
|
|
27
27
|
flexShrink: 0
|
|
28
28
|
}),
|
|
29
|
-
localePublishStatus: (0,
|
|
29
|
+
localePublishStatus: (0, _css.css)({
|
|
30
30
|
display: 'flex',
|
|
31
31
|
gap: _f36tokens.default.spacingXs,
|
|
32
32
|
justifyContent: 'space-between',
|
|
@@ -11,17 +11,17 @@ Object.defineProperty(exports, "Banner", {
|
|
|
11
11
|
const _react = /*#__PURE__*/ _interop_require_default(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
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
const styles = {
|
|
21
|
-
content: (0,
|
|
21
|
+
content: (0, _css.css)({
|
|
22
22
|
display: 'block'
|
|
23
23
|
}),
|
|
24
|
-
banner: (0,
|
|
24
|
+
banner: (0, _css.css)({
|
|
25
25
|
background: _f36tokens.default.gray100,
|
|
26
26
|
padding: _f36tokens.default.spacingXs,
|
|
27
27
|
margin: `${_f36tokens.default.spacingXs} ${_f36tokens.default.spacingS}`,
|
|
@@ -11,23 +11,23 @@ Object.defineProperty(exports, "ReleaseEntityStatusLocale", {
|
|
|
11
11
|
const _react = /*#__PURE__*/ _interop_require_default(require("react"));
|
|
12
12
|
const _f36components = require("@contentful/f36-components");
|
|
13
13
|
const _f36tokens = /*#__PURE__*/ _interop_require_default(require("@contentful/f36-tokens"));
|
|
14
|
+
const _css = require("@emotion/css");
|
|
14
15
|
const _core = require("@lingui/core");
|
|
15
|
-
const _emotion = require("emotion");
|
|
16
16
|
function _interop_require_default(obj) {
|
|
17
17
|
return obj && obj.__esModule ? obj : {
|
|
18
18
|
default: obj
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
const styles = {
|
|
22
|
-
locale: (0,
|
|
22
|
+
locale: (0, _css.css)({
|
|
23
23
|
textOverflow: 'ellipsis',
|
|
24
24
|
overflow: 'hidden',
|
|
25
25
|
whiteSpace: 'nowrap'
|
|
26
26
|
}),
|
|
27
|
-
status: (0,
|
|
27
|
+
status: (0, _css.css)({
|
|
28
28
|
flexShrink: 0
|
|
29
29
|
}),
|
|
30
|
-
localePublishStatus: (0,
|
|
30
|
+
localePublishStatus: (0, _css.css)({
|
|
31
31
|
display: 'flex',
|
|
32
32
|
gap: _f36tokens.default.spacingXs,
|
|
33
33
|
justifyContent: 'space-between',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { EntityStatusBadge, Text } 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
|
locale: css({
|
|
7
7
|
textOverflow: 'ellipsis',
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Badge, Text } from '@contentful/f36-components';
|
|
3
3
|
import tokens from '@contentful/f36-tokens';
|
|
4
|
+
import { css } from '@emotion/css';
|
|
4
5
|
import { i18n as $_i18n } from "@lingui/core";
|
|
5
|
-
import { css } from 'emotion';
|
|
6
6
|
const styles = {
|
|
7
7
|
locale: css({
|
|
8
8
|
textOverflow: 'ellipsis',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/field-editor-shared",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
"@testing-library/react": "16.3.0"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@contentful/f36-components": "^
|
|
53
|
-
"@contentful/f36-icons": "^
|
|
52
|
+
"@contentful/f36-components": "^6.7.1",
|
|
53
|
+
"@contentful/f36-icons": "^6.7.1",
|
|
54
54
|
"@contentful/f36-note": "^5.1.0",
|
|
55
|
-
"@contentful/f36-tokens": "^
|
|
55
|
+
"@contentful/f36-tokens": "^6.1.2",
|
|
56
|
+
"@emotion/css": "^11.13.5",
|
|
56
57
|
"contentful-management": "^11.60.4",
|
|
57
|
-
"emotion": "^10.0.17",
|
|
58
58
|
"fast-deep-equal": "^3.1.3",
|
|
59
59
|
"lodash": "^4.17.15"
|
|
60
60
|
},
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
"@contentful/app-sdk": "^4.29.0",
|
|
63
63
|
"@lingui/core": "^5.3.0",
|
|
64
64
|
"@tanstack/react-query": "^4.3.9",
|
|
65
|
-
"react": ">=
|
|
66
|
-
"react-dom": ">=
|
|
65
|
+
"react": ">=18.3.1",
|
|
66
|
+
"react-dom": ">=18.3.1"
|
|
67
67
|
},
|
|
68
68
|
"peerDependenciesMeta": {
|
|
69
69
|
"@tanstack/react-query": {
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"publishConfig": {
|
|
74
74
|
"registry": "https://npm.pkg.github.com/"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "0e85d7a4b5b6f779c01bda0c10de03b13a2cfdc0"
|
|
77
77
|
}
|