@contentful/field-editor-shared 2.2.1 → 2.2.3
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/LocalePublishingStatus.js +1 -1
- package/dist/cjs/LocalePublishingEntityStatusBadge/LocalePublishingStatusList.js +1 -1
- package/dist/esm/LocalePublishingEntityStatusBadge/LocalePublishingStatus.js +1 -1
- package/dist/esm/LocalePublishingEntityStatusBadge/LocalePublishingStatusList.js +1 -1
- package/package.json +2 -2
|
@@ -42,7 +42,7 @@ function LocalePublishingStatus({ locale, status, isScheduled }) {
|
|
|
42
42
|
fontColor: "gray700"
|
|
43
43
|
}, locale.name, ' ', _react.default.createElement(_f36components.Text, {
|
|
44
44
|
fontColor: "gray500"
|
|
45
|
-
}, "(", locale.code, ")", locale.default && '
|
|
45
|
+
}, "(", locale.code, ")", locale.default && ', Default')), _react.default.createElement(_f36components.EntityStatusBadge, {
|
|
46
46
|
entityStatus: status,
|
|
47
47
|
isScheduled: isScheduled,
|
|
48
48
|
className: styles.status
|
|
@@ -65,7 +65,7 @@ function LocalePublishingStatusList({ isScheduled, statusMap, activeLocales }) {
|
|
|
65
65
|
});
|
|
66
66
|
const { selected, nonSelected } = groupAndSortLocales(entries, activeLocales);
|
|
67
67
|
return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(_Banner.Banner, {
|
|
68
|
-
content: "The
|
|
68
|
+
content: "The statuses of the locales for this content:",
|
|
69
69
|
highlight: `${counters.changed} changed, ${counters.published} published, ${counters.draft} draft`
|
|
70
70
|
}), _react.default.createElement("div", {
|
|
71
71
|
"data-test-id": "locale-publishing-selected"
|
|
@@ -27,7 +27,7 @@ export function LocalePublishingStatus({ locale, status, isScheduled }) {
|
|
|
27
27
|
fontColor: "gray700"
|
|
28
28
|
}, locale.name, ' ', React.createElement(Text, {
|
|
29
29
|
fontColor: "gray500"
|
|
30
|
-
}, "(", locale.code, ")", locale.default && '
|
|
30
|
+
}, "(", locale.code, ")", locale.default && ', Default')), React.createElement(EntityStatusBadge, {
|
|
31
31
|
entityStatus: status,
|
|
32
32
|
isScheduled: isScheduled,
|
|
33
33
|
className: styles.status
|
|
@@ -50,7 +50,7 @@ export function LocalePublishingStatusList({ isScheduled, statusMap, activeLocal
|
|
|
50
50
|
});
|
|
51
51
|
const { selected, nonSelected } = groupAndSortLocales(entries, activeLocales);
|
|
52
52
|
return React.createElement(React.Fragment, null, React.createElement(Banner, {
|
|
53
|
-
content: "The
|
|
53
|
+
content: "The statuses of the locales for this content:",
|
|
54
54
|
highlight: `${counters.changed} changed, ${counters.published} published, ${counters.draft} draft`
|
|
55
55
|
}), React.createElement("div", {
|
|
56
56
|
"data-test-id": "locale-publishing-selected"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/field-editor-shared",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.3",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"registry": "https://npm.pkg.github.com/"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "58badec95e1faa6cc187f72e9da7627002618562"
|
|
59
59
|
}
|