@atlaskit/editor-core 179.0.0 → 179.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 179.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`38549274b29`](https://bitbucket.org/atlassian/atlassian-frontend/commits/38549274b29) - Replace &&= operator in editor-core since not all platforms support it.
8
+
3
9
  ## 179.0.0
4
10
 
5
11
  ### Patch Changes
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.version = exports.nextMajorVersion = exports.name = void 0;
7
7
  var name = "@atlaskit/editor-core";
8
8
  exports.name = name;
9
- var version = "179.0.0";
9
+ var version = "179.0.1";
10
10
  exports.version = version;
11
11
  var nextMajorVersion = function nextMajorVersion() {
12
12
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "179.0.0",
3
+ "version": "179.0.1",
4
4
  "sideEffects": false
5
5
  }
@@ -114,7 +114,7 @@ const entireSelectionContainsMark = (mark, doc, fromPos, toPos) => {
114
114
  return false;
115
115
  }
116
116
  if (node.isText) {
117
- onlyContainsMark &&= mark.isInSet(node.marks);
117
+ onlyContainsMark && (onlyContainsMark = mark.isInSet(node.marks));
118
118
  }
119
119
  });
120
120
  return onlyContainsMark;
@@ -131,7 +131,7 @@ const toggleMarkInRange = mark => (state, dispatch) => {
131
131
  });
132
132
  const from = cellPos;
133
133
  const to = cellPos + cell.nodeSize;
134
- removeMark &&= entireSelectionContainsMark(mark, state.doc, from, to);
134
+ removeMark && (removeMark = entireSelectionContainsMark(mark, state.doc, from, to));
135
135
  });
136
136
  for (let i = cells.length - 1; i >= 0; i--) {
137
137
  const cell = cells[i];
@@ -1,5 +1,5 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "179.0.0";
2
+ export const version = "179.0.1";
3
3
  export const nextMajorVersion = () => {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "179.0.0",
3
+ "version": "179.0.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "179.0.0";
2
+ export var version = "179.0.1";
3
3
  export var nextMajorVersion = function nextMajorVersion() {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "179.0.0",
3
+ "version": "179.0.1",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "179.0.0",
3
+ "version": "179.0.1",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -69,7 +69,7 @@
69
69
  "@atlaskit/radio": "^5.4.0",
70
70
  "@atlaskit/section-message": "^6.3.0",
71
71
  "@atlaskit/select": "^16.1.0",
72
- "@atlaskit/smart-card": "^24.0.0",
72
+ "@atlaskit/smart-card": "^24.1.0",
73
73
  "@atlaskit/smart-user-picker": "^6.0.0",
74
74
  "@atlaskit/spinner": "^15.3.0",
75
75
  "@atlaskit/status": "^1.2.0",
@@ -79,7 +79,7 @@
79
79
  "@atlaskit/textfield": "^5.3.0",
80
80
  "@atlaskit/theme": "^12.2.0",
81
81
  "@atlaskit/toggle": "^12.5.0",
82
- "@atlaskit/tokens": "^1.0.0",
82
+ "@atlaskit/tokens": "^1.1.0",
83
83
  "@atlaskit/tooltip": "^17.6.0",
84
84
  "@atlaskit/util-service-support": "^6.1.0",
85
85
  "@atlaskit/width-detector": "^4.0.0",
@@ -146,7 +146,7 @@
146
146
  "@atlaskit/flag": "^15.0.0",
147
147
  "@atlaskit/inline-dialog": "^13.4.0",
148
148
  "@atlaskit/link-provider": "^1.4.0",
149
- "@atlaskit/link-test-helpers": "^2.0.0",
149
+ "@atlaskit/link-test-helpers": "^2.1.0",
150
150
  "@atlaskit/lozenge": "^11.3.0",
151
151
  "@atlaskit/media-core": "^34.0.0",
152
152
  "@atlaskit/media-integration-test-helpers": "^2.6.0",
@@ -214,7 +214,9 @@
214
214
  },
215
215
  "@repo/internal": {
216
216
  "deprecation": "no-deprecated-imports",
217
- "theming": "tokens",
217
+ "design-tokens": [
218
+ "color"
219
+ ],
218
220
  "styling": [
219
221
  "emotion"
220
222
  ]