@atlaskit/editor-core 179.0.0 → 179.0.2

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.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`9e088852e54`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9e088852e54) - ED-16199 moved domainName to nonPrivacySafeAttributes
8
+
9
+ ## 179.0.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [`38549274b29`](https://bitbucket.org/atlassian/atlassian-frontend/commits/38549274b29) - Replace &&= operator in editor-core since not all platforms support it.
14
+
3
15
  ## 179.0.0
4
16
 
5
17
  ### Patch Changes
@@ -101,8 +101,10 @@ var replaceQueuedUrlWithCard = function replaceQueuedUrlWithCard(url, cardData,
101
101
  ignore analytics event? take first? provide 'mixed' as well?*/,
102
102
  nodeType: nodeType,
103
103
  nodeContext: nodeContext,
104
- domainName: domainName,
105
104
  fromCurrentDomain: (0, _utils2.isFromCurrentDomain)(url)
105
+ },
106
+ nonPrivacySafeAttributes: {
107
+ domainName: domainName
106
108
  }
107
109
  });
108
110
  }
@@ -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.2";
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.2",
4
4
  "sideEffects": false
5
5
  }
@@ -84,8 +84,10 @@ export const replaceQueuedUrlWithCard = (url, cardData, analyticsAction, createA
84
84
  ignore analytics event? take first? provide 'mixed' as well?*/,
85
85
  nodeType,
86
86
  nodeContext: nodeContext,
87
- domainName,
88
87
  fromCurrentDomain: isFromCurrentDomain(url)
88
+ },
89
+ nonPrivacySafeAttributes: {
90
+ domainName
89
91
  }
90
92
  });
91
93
  }
@@ -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.2";
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.2",
4
4
  "sideEffects": false
5
5
  }
@@ -95,8 +95,10 @@ export var replaceQueuedUrlWithCard = function replaceQueuedUrlWithCard(url, car
95
95
  ignore analytics event? take first? provide 'mixed' as well?*/,
96
96
  nodeType: nodeType,
97
97
  nodeContext: nodeContext,
98
- domainName: domainName,
99
98
  fromCurrentDomain: isFromCurrentDomain(url)
99
+ },
100
+ nonPrivacySafeAttributes: {
101
+ domainName: domainName
100
102
  }
101
103
  });
102
104
  }
@@ -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.2";
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.2",
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.2",
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
  ]