@contentful/field-editor-number 1.6.5 → 2.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.
@@ -9,17 +9,17 @@ Object.defineProperty(exports, "styles", {
9
9
  }
10
10
  });
11
11
  const _f36tokens = /*#__PURE__*/ _interop_require_default(require("@contentful/f36-tokens"));
12
- const _emotion = require("emotion");
12
+ const _css = require("@emotion/css");
13
13
  function _interop_require_default(obj) {
14
14
  return obj && obj.__esModule ? obj : {
15
15
  default: obj
16
16
  };
17
17
  }
18
18
  const styles = {
19
- container: (0, _emotion.css)({
19
+ container: (0, _css.css)({
20
20
  position: 'relative'
21
21
  }),
22
- controlsWrapper: (0, _emotion.css)({
22
+ controlsWrapper: (0, _css.css)({
23
23
  position: 'absolute',
24
24
  top: '1px',
25
25
  right: '1px',
@@ -28,7 +28,7 @@ const styles = {
28
28
  display: 'flex',
29
29
  flexDirection: 'column'
30
30
  }),
31
- control: (0, _emotion.css)({
31
+ control: (0, _css.css)({
32
32
  display: 'flex',
33
33
  alignItems: 'center',
34
34
  justifyContent: 'center',
@@ -57,7 +57,7 @@ const styles = {
57
57
  backgroundColor: _f36tokens.default.gray300
58
58
  }
59
59
  }),
60
- input: (0, _emotion.css)({
60
+ input: (0, _css.css)({
61
61
  paddingRight: _f36tokens.default.spacingXl
62
62
  })
63
63
  };
@@ -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 styles = {
4
4
  container: css({
5
5
  position: 'relative'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-number",
3
- "version": "1.6.5",
3
+ "version": "2.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,11 +36,11 @@
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",
39
+ "@contentful/f36-components": "^6.7.1",
40
+ "@contentful/f36-icons": "^6.7.1",
41
+ "@contentful/f36-tokens": "^6.1.2",
42
42
  "@contentful/field-editor-shared": "^3.0.0",
43
- "emotion": "^10.0.17"
43
+ "@emotion/css": "^11.13.5"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@contentful/field-editor-test-utils": "^1.8.0",
@@ -49,10 +49,10 @@
49
49
  "@testing-library/user-event": "^13.1.9"
50
50
  },
51
51
  "peerDependencies": {
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": "0e85d7a4b5b6f779c01bda0c10de03b13a2cfdc0"
57
+ "gitHead": "edde3372ed00ed0fd6a798233284618983383869"
58
58
  }