@contentful/field-editor-slug 2.2.5-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.
@@ -29,26 +29,26 @@ _export(exports, {
29
29
  }
30
30
  });
31
31
  const _f36tokens = /*#__PURE__*/ _interop_require_default(require("@contentful/f36-tokens"));
32
- const _emotion = require("emotion");
32
+ const _css = require("@emotion/css");
33
33
  function _interop_require_default(obj) {
34
34
  return obj && obj.__esModule ? obj : {
35
35
  default: obj
36
36
  };
37
37
  }
38
- const validationRow = (0, _emotion.css)({
38
+ const validationRow = (0, _css.css)({
39
39
  display: 'flex',
40
40
  flexDirection: 'row-reverse',
41
41
  fontSize: _f36tokens.default.fontSizeM,
42
42
  marginTop: _f36tokens.default.spacingXs,
43
43
  color: _f36tokens.default.gray700
44
44
  });
45
- const inputContainer = (0, _emotion.css)({
45
+ const inputContainer = (0, _css.css)({
46
46
  position: 'relative'
47
47
  });
48
- const input = (0, _emotion.css)({
48
+ const input = (0, _css.css)({
49
49
  paddingLeft: '40px'
50
50
  });
51
- const icon = (0, _emotion.css)({
51
+ const icon = (0, _css.css)({
52
52
  position: 'absolute',
53
53
  left: '10px',
54
54
  top: '8px',
@@ -56,11 +56,11 @@ const icon = (0, _emotion.css)({
56
56
  height: '25px',
57
57
  fill: _f36tokens.default.gray500
58
58
  });
59
- const spinnerContainer = (0, _emotion.css)({
59
+ const spinnerContainer = (0, _css.css)({
60
60
  position: 'absolute',
61
61
  right: '8px',
62
62
  top: '8px'
63
63
  });
64
- const uniqueValidationError = (0, _emotion.css)({
64
+ const uniqueValidationError = (0, _css.css)({
65
65
  marginTop: _f36tokens.default.spacingS
66
66
  });
@@ -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 validationRow = css({
4
4
  display: 'flex',
5
5
  flexDirection: 'row-reverse',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-slug",
3
- "version": "2.2.5-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,28 +36,28 @@
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-note": "^5.4.1",
42
- "@contentful/f36-tokens": "^5.1.0",
43
- "@contentful/field-editor-shared": "^3.0.1-canary.1+82cb101d",
39
+ "@contentful/f36-components": "^6.7.1",
40
+ "@contentful/f36-icons": "^6.7.1",
41
+ "@contentful/f36-note": "^6.7.0",
42
+ "@contentful/f36-tokens": "^6.1.2",
43
+ "@contentful/field-editor-shared": "^3.0.0",
44
+ "@emotion/css": "^11.13.5",
44
45
  "@types/speakingurl": "^13.0.2",
45
- "emotion": "^10.0.17",
46
46
  "speakingurl": "^14.0.1",
47
47
  "use-debounce": "^10.0.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@contentful/app-sdk": "^4.45.0",
51
- "@contentful/field-editor-test-utils": "^1.8.1-canary.49+82cb101d",
51
+ "@contentful/field-editor-test-utils": "^1.8.0",
52
52
  "@lingui/core": "5.3.0"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "@contentful/app-sdk": "^4.45.0",
56
56
  "@lingui/core": "^5.3.0",
57
- "react": ">=16.8.0"
57
+ "react": ">=18.3.1"
58
58
  },
59
59
  "publishConfig": {
60
60
  "registry": "https://npm.pkg.github.com/"
61
61
  },
62
- "gitHead": "82cb101d676beeda9178245deec48f983d664f88"
62
+ "gitHead": "edde3372ed00ed0fd6a798233284618983383869"
63
63
  }