@contentful/field-editor-shared 2.10.0 → 2.11.1
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/index.js +3 -13
- package/dist/esm/index.js +3 -4
- package/dist/types/index.d.ts +4 -4
- package/package.json +4 -3
package/dist/cjs/index.js
CHANGED
|
@@ -15,9 +15,6 @@ _export(exports, {
|
|
|
15
15
|
AppConfigAPI: function() {
|
|
16
16
|
return _appsdk.AppConfigAPI;
|
|
17
17
|
},
|
|
18
|
-
Asset: function() {
|
|
19
|
-
return _typesEntity.Asset;
|
|
20
|
-
},
|
|
21
18
|
BaseAppSDK: function() {
|
|
22
19
|
return _appsdk.BaseAppSDK;
|
|
23
20
|
},
|
|
@@ -36,9 +33,6 @@ _export(exports, {
|
|
|
36
33
|
DialogsAPI: function() {
|
|
37
34
|
return _appsdk.DialogsAPI;
|
|
38
35
|
},
|
|
39
|
-
Entry: function() {
|
|
40
|
-
return _typesEntity.Entry;
|
|
41
|
-
},
|
|
42
36
|
EntryAPI: function() {
|
|
43
37
|
return _appsdk.EntryAPI;
|
|
44
38
|
},
|
|
@@ -54,9 +48,6 @@ _export(exports, {
|
|
|
54
48
|
FieldConnector: function() {
|
|
55
49
|
return _FieldConnector.FieldConnector;
|
|
56
50
|
},
|
|
57
|
-
File: function() {
|
|
58
|
-
return _typesEntity.File;
|
|
59
|
-
},
|
|
60
51
|
IdsAPI: function() {
|
|
61
52
|
return _appsdk.IdsAPI;
|
|
62
53
|
},
|
|
@@ -103,12 +94,14 @@ _export(exports, {
|
|
|
103
94
|
return _shortenStorageUnit.toLocaleString;
|
|
104
95
|
}
|
|
105
96
|
});
|
|
97
|
+
const _ModalDialogLauncher = /*#__PURE__*/ _interop_require_wildcard(require("./ModalDialogLauncher"));
|
|
98
|
+
const _constraints = /*#__PURE__*/ _interop_require_wildcard(require("./utils/constraints"));
|
|
99
|
+
const _entityHelpers = /*#__PURE__*/ _interop_require_wildcard(require("./utils/entityHelpers"));
|
|
106
100
|
const _appsdk = require("@contentful/app-sdk");
|
|
107
101
|
const _CharCounter = require("./CharCounter");
|
|
108
102
|
const _CharValidation = require("./CharValidation");
|
|
109
103
|
const _FieldConnector = require("./FieldConnector");
|
|
110
104
|
const _PredefinedValuesError = require("./PredefinedValuesError");
|
|
111
|
-
const _typesEntity = require("./typesEntity");
|
|
112
105
|
const _isValidImage = require("./utils/isValidImage");
|
|
113
106
|
const _shortenStorageUnit = require("./utils/shortenStorageUnit");
|
|
114
107
|
_export_star(require("./types"), exports);
|
|
@@ -120,9 +113,6 @@ _export_star(require("./ReleaseEntityStatusBadge"), exports);
|
|
|
120
113
|
_export_star(require("./utils/determineReleaseAction"), exports);
|
|
121
114
|
_export_star(require("./utils/getEntryReleaseStatus"), exports);
|
|
122
115
|
_export_star(require("./utils/parseReleaseParameters"), exports);
|
|
123
|
-
const _ModalDialogLauncher = /*#__PURE__*/ _interop_require_wildcard(require("./ModalDialogLauncher"));
|
|
124
|
-
const _constraints = /*#__PURE__*/ _interop_require_wildcard(require("./utils/constraints"));
|
|
125
|
-
const _entityHelpers = /*#__PURE__*/ _interop_require_wildcard(require("./utils/entityHelpers"));
|
|
126
116
|
function _export_star(from, to) {
|
|
127
117
|
Object.keys(from).forEach(function(k) {
|
|
128
118
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
package/dist/esm/index.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import * as ModalDialogLauncher from './ModalDialogLauncher';
|
|
2
|
+
import * as ConstraintsUtils from './utils/constraints';
|
|
3
|
+
import * as entityHelpers from './utils/entityHelpers';
|
|
1
4
|
export { AccessAPI, AppConfigAPI, BaseAppSDK, ContentType, DialogsAPI, EntryAPI, EntryFieldAPI, FieldAPI, FieldAppSDK, IdsAPI, LocalesAPI, LocationAPI, NavigatorAPI, NotifierAPI, OpenCustomWidgetOptions, ParametersAPI, SpaceAPI, WindowAPI } from '@contentful/app-sdk';
|
|
2
5
|
export { CharCounter } from './CharCounter';
|
|
3
6
|
export { CharValidation } from './CharValidation';
|
|
@@ -6,7 +9,6 @@ export { entityHelpers };
|
|
|
6
9
|
export { FieldConnector } from './FieldConnector';
|
|
7
10
|
export { ModalDialogLauncher };
|
|
8
11
|
export { PredefinedValuesError } from './PredefinedValuesError';
|
|
9
|
-
export { Asset, Entry, File } from './typesEntity';
|
|
10
12
|
export { isValidImage } from './utils/isValidImage';
|
|
11
13
|
export { shortenStorageUnit, toLocaleString } from './utils/shortenStorageUnit';
|
|
12
14
|
export * from './types';
|
|
@@ -18,6 +20,3 @@ export * from './ReleaseEntityStatusBadge';
|
|
|
18
20
|
export * from './utils/determineReleaseAction';
|
|
19
21
|
export * from './utils/getEntryReleaseStatus';
|
|
20
22
|
export * from './utils/parseReleaseParameters';
|
|
21
|
-
import * as ModalDialogLauncher from './ModalDialogLauncher';
|
|
22
|
-
import * as ConstraintsUtils from './utils/constraints';
|
|
23
|
-
import * as entityHelpers from './utils/entityHelpers';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import * as ModalDialogLauncher from './ModalDialogLauncher';
|
|
2
|
+
import * as ConstraintsUtils from './utils/constraints';
|
|
3
|
+
import * as entityHelpers from './utils/entityHelpers';
|
|
1
4
|
export { AccessAPI, AppConfigAPI, BaseAppSDK, ContentType, DialogsAPI, EntryAPI, EntryFieldAPI, FieldAPI, FieldAppSDK, IdsAPI, LocalesAPI, LocationAPI, NavigatorAPI, NotifierAPI, OpenCustomWidgetOptions, ParametersAPI, SpaceAPI, WindowAPI, } from '@contentful/app-sdk';
|
|
2
5
|
export { CharCounter } from './CharCounter';
|
|
3
6
|
export { CharValidation } from './CharValidation';
|
|
@@ -6,7 +9,7 @@ export { entityHelpers };
|
|
|
6
9
|
export { FieldConnector } from './FieldConnector';
|
|
7
10
|
export { ModalDialogLauncher };
|
|
8
11
|
export { PredefinedValuesError } from './PredefinedValuesError';
|
|
9
|
-
export { Asset, Entry, File } from './typesEntity';
|
|
12
|
+
export type { Asset, Entry, File } from './typesEntity';
|
|
10
13
|
export { isValidImage } from './utils/isValidImage';
|
|
11
14
|
export { shortenStorageUnit, toLocaleString } from './utils/shortenStorageUnit';
|
|
12
15
|
export type { FieldConnectorChildProps } from './FieldConnector';
|
|
@@ -19,6 +22,3 @@ export * from './ReleaseEntityStatusBadge';
|
|
|
19
22
|
export * from './utils/determineReleaseAction';
|
|
20
23
|
export * from './utils/getEntryReleaseStatus';
|
|
21
24
|
export * from './utils/parseReleaseParameters';
|
|
22
|
-
import * as ModalDialogLauncher from './ModalDialogLauncher';
|
|
23
|
-
import * as ConstraintsUtils from './utils/constraints';
|
|
24
|
-
import * as entityHelpers from './utils/entityHelpers';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/field-editor-shared",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.1",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
".": {
|
|
9
9
|
"types": "./dist/types/index.d.ts",
|
|
10
10
|
"require": "./dist/cjs/index.js",
|
|
11
|
+
"import": "./dist/esm/index.js",
|
|
11
12
|
"default": "./dist/cjs/index.js"
|
|
12
13
|
},
|
|
13
14
|
"./package.json": "./package.json"
|
|
@@ -36,7 +37,7 @@
|
|
|
36
37
|
},
|
|
37
38
|
"devDependencies": {
|
|
38
39
|
"@contentful/app-sdk": "^4.29.0",
|
|
39
|
-
"@contentful/field-editor-test-utils": "^1.
|
|
40
|
+
"@contentful/field-editor-test-utils": "^1.6.0",
|
|
40
41
|
"@lingui/core": "5.3.0",
|
|
41
42
|
"@testing-library/react": "16.0.1"
|
|
42
43
|
},
|
|
@@ -57,5 +58,5 @@
|
|
|
57
58
|
"publishConfig": {
|
|
58
59
|
"registry": "https://npm.pkg.github.com/"
|
|
59
60
|
},
|
|
60
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "9456bac33e2d0d4f05cadc302ba4a25f2de6e034"
|
|
61
62
|
}
|