@contentful/field-editor-validation-errors 2.1.3-canary.1 → 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.
@@ -23,28 +23,28 @@ _export(exports, {
23
23
  }
24
24
  });
25
25
  const _f36tokens = /*#__PURE__*/ _interop_require_default(require("@contentful/f36-tokens"));
26
- const _emotion = require("emotion");
26
+ const _css = require("@emotion/css");
27
27
  function _interop_require_default(obj) {
28
28
  return obj && obj.__esModule ? obj : {
29
29
  default: obj
30
30
  };
31
31
  }
32
- const errorList = (0, _emotion.css)({
32
+ const errorList = (0, _css.css)({
33
33
  padding: 0,
34
34
  wordWrap: 'break-word',
35
35
  marginTop: _f36tokens.default.spacingS,
36
36
  color: _f36tokens.default.red500,
37
37
  listStyleType: 'none'
38
38
  });
39
- const errorMessage = (0, _emotion.css)({
39
+ const errorMessage = (0, _css.css)({
40
40
  display: 'inline-flex',
41
41
  flexDirection: 'column',
42
42
  marginLeft: _f36tokens.default.spacingXs
43
43
  });
44
- const errorItem = (0, _emotion.css)({
44
+ const errorItem = (0, _css.css)({
45
45
  display: 'flex',
46
46
  alignItems: 'center'
47
47
  });
48
- const entryLink = (0, _emotion.css)({
48
+ const entryLink = (0, _css.css)({
49
49
  fontWeight: Number(_f36tokens.default.fontWeightDemiBold)
50
50
  });
@@ -1,5 +1,5 @@
1
1
  import tokens from '@contentful/f36-tokens';
2
- import { css } from 'emotion';
2
+ import { css } from '@emotion/css';
3
3
  export const errorList = css({
4
4
  padding: 0,
5
5
  wordWrap: 'break-word',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-validation-errors",
3
- "version": "2.1.3-canary.1+82cb101d",
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",
@@ -36,23 +36,23 @@
36
36
  "tsc": "tsc -p ./ --noEmit"
37
37
  },
38
38
  "dependencies": {
39
- "@contentful/f36-components": "^5.4.1",
40
- "@contentful/f36-icons": "^5.4.1",
41
- "@contentful/f36-tokens": "^5.1.0",
42
- "@contentful/field-editor-shared": "^3.0.1-canary.1+82cb101d",
43
- "emotion": "^10.0.17"
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.0",
43
+ "@emotion/css": "^11.13.5"
44
44
  },
45
45
  "devDependencies": {
46
- "@contentful/field-editor-test-utils": "^1.8.1-canary.49+82cb101d",
46
+ "@contentful/field-editor-test-utils": "^1.8.0",
47
47
  "@lingui/core": "5.3.0"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "@lingui/core": "^5.3.0",
51
51
  "@tanstack/react-query": "^4.3.9",
52
- "react": ">=16.8.0"
52
+ "react": ">=18.3.1"
53
53
  },
54
54
  "publishConfig": {
55
55
  "registry": "https://npm.pkg.github.com/"
56
56
  },
57
- "gitHead": "82cb101d676beeda9178245deec48f983d664f88"
57
+ "gitHead": "edde3372ed00ed0fd6a798233284618983383869"
58
58
  }