@contentful/field-editor-tags 2.0.1 → 2.0.2-canary.9

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.
@@ -15,7 +15,7 @@ const _core = require("@dnd-kit/core");
15
15
  const _modifiers = require("@dnd-kit/modifiers");
16
16
  const _sortable = require("@dnd-kit/sortable");
17
17
  const _utilities = require("@dnd-kit/utilities");
18
- const _emotion = require("emotion");
18
+ const _css = require("@emotion/css");
19
19
  const _noop = /*#__PURE__*/ _interop_require_default(require("lodash/noop"));
20
20
  const _TagsEditorConstraints = require("./TagsEditorConstraints");
21
21
  function _interop_require_default(obj) {
@@ -65,15 +65,15 @@ function _interop_require_wildcard(obj, nodeInterop) {
65
65
  return newObj;
66
66
  }
67
67
  const styles = {
68
- input: (0, _emotion.css)({
68
+ input: (0, _css.css)({
69
69
  marginTop: _f36tokens.default.spacingS,
70
70
  marginBottom: _f36tokens.default.spacingM
71
71
  }),
72
- pill: (0, _emotion.css)({
72
+ pill: (0, _css.css)({
73
73
  marginRight: _f36tokens.default.spacingS,
74
74
  marginBottom: _f36tokens.default.spacingS
75
75
  }),
76
- pillDisabled: (0, _emotion.css)({
76
+ pillDisabled: (0, _css.css)({
77
77
  cursor: 'not-allowed !important',
78
78
  button: {
79
79
  cursor: 'not-allowed !important',
@@ -96,7 +96,7 @@ const SortablePill = ({ id, label, index, disabled, onRemove })=>{
96
96
  return /*#__PURE__*/ _react.default.createElement(_f36components.Pill, {
97
97
  ref: setNodeRef,
98
98
  testId: "tag-editor-pill",
99
- className: (0, _emotion.cx)(styles.pill, {
99
+ className: (0, _css.cx)(styles.pill, {
100
100
  [styles.pillDisabled]: disabled
101
101
  }),
102
102
  style: style,
@@ -5,7 +5,7 @@ import { DndContext } from '@dnd-kit/core';
5
5
  import { restrictToParentElement } from '@dnd-kit/modifiers';
6
6
  import { arrayMove, SortableContext, useSortable } from '@dnd-kit/sortable';
7
7
  import { CSS } from '@dnd-kit/utilities';
8
- import { css, cx } from 'emotion';
8
+ import { css, cx } from '@emotion/css';
9
9
  import noop from 'lodash/noop';
10
10
  import { TagsEditorConstraints } from './TagsEditorConstraints';
11
11
  const styles = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-tags",
3
- "version": "2.0.1",
3
+ "version": "2.0.2-canary.9+78e1d2c5",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -39,7 +39,7 @@
39
39
  "@contentful/f36-components": "^6.7.1",
40
40
  "@contentful/f36-icons": "^6.7.1",
41
41
  "@contentful/f36-tokens": "^6.1.2",
42
- "@contentful/field-editor-shared": "^3.0.1",
42
+ "@contentful/field-editor-shared": "^3.0.2-canary.9+78e1d2c5",
43
43
  "@dnd-kit/core": "^6.0.8",
44
44
  "@dnd-kit/modifiers": "^7.0.0",
45
45
  "@dnd-kit/sortable": "^8.0.0",
@@ -58,5 +58,5 @@
58
58
  "publishConfig": {
59
59
  "registry": "https://npm.pkg.github.com/"
60
60
  },
61
- "gitHead": "79ea20201fece746a4835e16854024616b81e184"
61
+ "gitHead": "78e1d2c5e559a6db26a47ce2ddb109a8eb985715"
62
62
  }