@contentful/field-editor-tags 1.8.6-canary.1 → 2.0.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.
|
@@ -10,8 +10,8 @@ Object.defineProperty(exports, "TagsEditorConstraints", {
|
|
|
10
10
|
});
|
|
11
11
|
const _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
|
|
12
12
|
const _f36components = require("@contentful/f36-components");
|
|
13
|
+
const _css = require("@emotion/css");
|
|
13
14
|
const _core = require("@lingui/core");
|
|
14
|
-
const _emotion = require("emotion");
|
|
15
15
|
function _getRequireWildcardCache(nodeInterop) {
|
|
16
16
|
if (typeof WeakMap !== "function") return null;
|
|
17
17
|
var cacheBabelInterop = new WeakMap();
|
|
@@ -62,7 +62,7 @@ function TagsEditorConstraints(props) {
|
|
|
62
62
|
fontColor: "gray600",
|
|
63
63
|
marginBottom: "none",
|
|
64
64
|
marginTop: "spacingS",
|
|
65
|
-
className: (0,
|
|
65
|
+
className: (0, _css.css)({
|
|
66
66
|
fontStyle: 'italic'
|
|
67
67
|
}),
|
|
68
68
|
testId: "tag-editor-constraints"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Text } from '@contentful/f36-components';
|
|
3
|
+
import { css } from '@emotion/css';
|
|
3
4
|
import { i18n as $_i18n } from "@lingui/core";
|
|
4
|
-
import { css } from 'emotion';
|
|
5
5
|
export function TagsEditorConstraints(props) {
|
|
6
6
|
const { constraintsType, constraints } = props;
|
|
7
7
|
const min = constraints.min;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/field-editor-tags",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -36,27 +36,27 @@
|
|
|
36
36
|
"tsc": "tsc -p ./ --noEmit"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@contentful/f36-components": "^
|
|
40
|
-
"@contentful/f36-icons": "^
|
|
41
|
-
"@contentful/f36-tokens": "^
|
|
42
|
-
"@contentful/field-editor-shared": "^3.0.1
|
|
39
|
+
"@contentful/f36-components": "^6.7.1",
|
|
40
|
+
"@contentful/f36-icons": "^6.7.1",
|
|
41
|
+
"@contentful/f36-tokens": "^6.1.2",
|
|
42
|
+
"@contentful/field-editor-shared": "^3.0.1",
|
|
43
43
|
"@dnd-kit/core": "^6.0.8",
|
|
44
44
|
"@dnd-kit/modifiers": "^7.0.0",
|
|
45
45
|
"@dnd-kit/sortable": "^8.0.0",
|
|
46
46
|
"@dnd-kit/utilities": "^3.2.2",
|
|
47
|
-
"emotion": "^
|
|
47
|
+
"@emotion/css": "^11.13.5",
|
|
48
48
|
"lodash": "^4.17.15"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@contentful/field-editor-test-utils": "^
|
|
51
|
+
"@contentful/field-editor-test-utils": "^2.0.0",
|
|
52
52
|
"@lingui/core": "5.3.0"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@lingui/core": "^5.3.0",
|
|
56
|
-
"react": ">=
|
|
56
|
+
"react": ">=18.3.1"
|
|
57
57
|
},
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"registry": "https://npm.pkg.github.com/"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "79ea20201fece746a4835e16854024616b81e184"
|
|
62
62
|
}
|