@atlaskit/editor-core 178.1.2 → 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,17 @@
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
+
9
+ ## 179.0.0
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 178.1.2
4
16
 
5
17
  ### 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 = "178.1.2";
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": "178.1.2",
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 = "178.1.2";
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": "178.1.2",
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 = "178.1.2";
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": "178.1.2",
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": "178.1.2",
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/"
@@ -53,7 +53,7 @@
53
53
  "@atlaskit/icon-object": "^6.2.0",
54
54
  "@atlaskit/link-picker": "^1.16.0",
55
55
  "@atlaskit/locale": "^2.3.0",
56
- "@atlaskit/logo": "^13.10.0",
56
+ "@atlaskit/logo": "^13.11.0",
57
57
  "@atlaskit/media-card": "^74.5.0",
58
58
  "@atlaskit/media-client": "^20.0.0",
59
59
  "@atlaskit/media-common": "^2.19.0",
@@ -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": "^23.14.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",
@@ -124,7 +124,7 @@
124
124
  "w3c-keyname": "^2.1.0"
125
125
  },
126
126
  "peerDependencies": {
127
- "@atlaskit/link-provider": "^1.3.8",
127
+ "@atlaskit/link-provider": "^1.4.0",
128
128
  "@atlaskit/media-core": "^34.0.1",
129
129
  "react": "^16.8.0",
130
130
  "react-dom": "^16.8.0",
@@ -145,8 +145,8 @@
145
145
  "@atlaskit/editor-test-helpers": "^18.0.0",
146
146
  "@atlaskit/flag": "^15.0.0",
147
147
  "@atlaskit/inline-dialog": "^13.4.0",
148
- "@atlaskit/link-provider": "^1.3.0",
149
- "@atlaskit/link-test-helpers": "^2.0.0",
148
+ "@atlaskit/link-provider": "^1.4.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",
@@ -155,7 +155,7 @@
155
155
  "@atlaskit/page-layout": "^1.3.0",
156
156
  "@atlaskit/profilecard": "^18.2.0",
157
157
  "@atlaskit/pubsub": "^6.2.0",
158
- "@atlaskit/renderer": "^105.1.0",
158
+ "@atlaskit/renderer": "^106.0.0",
159
159
  "@atlaskit/section-message": "^6.3.0",
160
160
  "@atlaskit/share": "*",
161
161
  "@atlaskit/smart-user-picker": "^6.0.0",
@@ -168,7 +168,7 @@
168
168
  "@atlaskit/webdriver-runner": "*",
169
169
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
170
170
  "@atlassian/link-picker-atlassian-plugin": "^26.1.0",
171
- "@atlassian/link-picker-plugins": "^14.1.0",
171
+ "@atlassian/link-picker-plugins": "^15.0.0",
172
172
  "@atlassian/search-provider": "2.3.9",
173
173
  "@atlassian/ufo": "^0.1.0",
174
174
  "@emotion/jest": "^11.8.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
  ]