@atlaskit/editor-core 204.1.0 → 204.2.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 204.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#117956](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/117956)
8
+ [`cd2e59e78197e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cd2e59e78197e) -
9
+ Tint transactions as dirty to prevent the change from being recognised as organic change
10
+
11
+ ### Patch Changes
12
+
13
+ - [#118799](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/118799)
14
+ [`d2c3610a2c050`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d2c3610a2c050) -
15
+ Fixes missing dependency declarations in package.json
16
+ - [#115116](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/115116)
17
+ [`344eb36211daa`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/344eb36211daa) -
18
+ [ux] ED-26394 support component rendering in editor selection plugin
19
+ - Updated dependencies
20
+
21
+ ## 204.1.1
22
+
23
+ ### Patch Changes
24
+
25
+ - [#117869](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/117869)
26
+ [`1668bcd621203`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1668bcd621203) -
27
+ COMPHUB-2622 Added data attributes for editor elements
28
+
3
29
  ## 204.1.0
4
30
 
5
31
  ### Minor Changes
@@ -30,6 +30,9 @@
30
30
  {
31
31
  "path": "../../../design-system/button/afm-cc/tsconfig.json"
32
32
  },
33
+ {
34
+ "path": "../../../design-system/css/afm-cc/tsconfig.json"
35
+ },
33
36
  {
34
37
  "path": "../../editor-common/afm-cc/tsconfig.json"
35
38
  },
@@ -30,6 +30,9 @@
30
30
  {
31
31
  "path": "../../../design-system/button/afm-jira/tsconfig.json"
32
32
  },
33
+ {
34
+ "path": "../../../design-system/css/afm-jira/tsconfig.json"
35
+ },
33
36
  {
34
37
  "path": "../../editor-common/afm-jira/tsconfig.json"
35
38
  },
@@ -30,6 +30,9 @@
30
30
  {
31
31
  "path": "../../../design-system/button/afm-post-office/tsconfig.json"
32
32
  },
33
+ {
34
+ "path": "../../../design-system/css/afm-post-office/tsconfig.json"
35
+ },
33
36
  {
34
37
  "path": "../../editor-common/afm-post-office/tsconfig.json"
35
38
  },
@@ -399,6 +399,7 @@ function ReactEditorView(props) {
399
399
  // Block stale transactions:
400
400
  // Prevent runtime exeptions from async transactions that would attempt to
401
401
  // update the DOM after React has unmounted the Editor.
402
+
402
403
  if (canDispatchTransactions.current) {
403
404
  _dispatchTransaction(viewRef.current, tr);
404
405
  }
@@ -34,6 +34,7 @@ var ClickAreaBlock = exports.ClickAreaBlock = function ClickAreaBlock(_ref) {
34
34
  return (
35
35
  // eslint-disable-next-line jsx-a11y/no-static-element-interactions
36
36
  (0, _react2.jsx)("div", {
37
+ "data-editor-click-wrapper": true,
37
38
  "data-testid": "click-wrapper",
38
39
  css: clickWrapper,
39
40
  onMouseDown: handleMouseDown
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "204.1.0";
8
+ var version = exports.version = "204.2.0";
@@ -373,6 +373,7 @@ export function ReactEditorView(props) {
373
373
  // Block stale transactions:
374
374
  // Prevent runtime exeptions from async transactions that would attempt to
375
375
  // update the DOM after React has unmounted the Editor.
376
+
376
377
  if (canDispatchTransactions.current) {
377
378
  dispatchTransaction(viewRef.current, tr);
378
379
  }
@@ -27,6 +27,7 @@ export const ClickAreaBlock = ({
27
27
  return (
28
28
  // eslint-disable-next-line jsx-a11y/no-static-element-interactions
29
29
  jsx("div", {
30
+ "data-editor-click-wrapper": true,
30
31
  "data-testid": "click-wrapper",
31
32
  css: clickWrapper,
32
33
  onMouseDown: handleMouseDown
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "204.1.0";
2
+ export const version = "204.2.0";
@@ -388,6 +388,7 @@ export function ReactEditorView(props) {
388
388
  // Block stale transactions:
389
389
  // Prevent runtime exeptions from async transactions that would attempt to
390
390
  // update the DOM after React has unmounted the Editor.
391
+
391
392
  if (canDispatchTransactions.current) {
392
393
  _dispatchTransaction(viewRef.current, tr);
393
394
  }
@@ -26,6 +26,7 @@ export var ClickAreaBlock = function ClickAreaBlock(_ref) {
26
26
  return (
27
27
  // eslint-disable-next-line jsx-a11y/no-static-element-interactions
28
28
  jsx("div", {
29
+ "data-editor-click-wrapper": true,
29
30
  "data-testid": "click-wrapper",
30
31
  css: clickWrapper,
31
32
  onMouseDown: handleMouseDown
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "204.1.0";
2
+ export var version = "204.2.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "204.1.0",
3
+ "version": "204.2.0",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -43,7 +43,8 @@
43
43
  "@atlaskit/analytics-next": "^11.0.0",
44
44
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
45
45
  "@atlaskit/button": "^21.1.0",
46
- "@atlaskit/editor-common": "^100.1.0",
46
+ "@atlaskit/css": "^0.10.0",
47
+ "@atlaskit/editor-common": "^100.2.0",
47
48
  "@atlaskit/editor-json-transformer": "^8.23.0",
48
49
  "@atlaskit/editor-performance-metrics": "2.0.2",
49
50
  "@atlaskit/editor-plugin-quick-insert": "2.0.0",
@@ -86,7 +87,7 @@
86
87
  "@atlaskit/adf-utils": "^19.18.0",
87
88
  "@atlaskit/analytics-listeners": "^9.0.0",
88
89
  "@atlaskit/collab-provider": "10.7.3",
89
- "@atlaskit/editor-plugin-annotation": "2.0.1",
90
+ "@atlaskit/editor-plugin-annotation": "2.0.2",
90
91
  "@atlaskit/editor-plugin-card": "^5.0.0",
91
92
  "@atlaskit/editor-plugin-list": "^4.0.0",
92
93
  "@atlaskit/editor-plugin-paste": "^3.0.0",
@@ -98,7 +99,7 @@
98
99
  "@atlaskit/modal-dialog": "^13.0.0",
99
100
  "@atlaskit/primitives": "^14.1.0",
100
101
  "@atlaskit/renderer": "^113.0.0",
101
- "@atlaskit/smart-card": "^35.0.0",
102
+ "@atlaskit/smart-card": "^35.1.0",
102
103
  "@atlaskit/synchrony-test-helpers": "^3.1.0",
103
104
  "@atlaskit/toggle": "^15.0.0",
104
105
  "@atlaskit/util-data-test": "^18.0.0",
@@ -474,6 +475,10 @@
474
475
  "platform_editor_nested_tables_column_drag_fix": {
475
476
  "type": "boolean",
476
477
  "referenceOnly": true
478
+ },
479
+ "platform_editor_nested_tables_number_column_fixes": {
480
+ "type": "boolean",
481
+ "referenceOnly": true
477
482
  }
478
483
  },
479
484
  "stricter": {