@atlaskit/editor-plugin-table 9.3.6 → 9.4.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,17 @@
1
1
  # @atlaskit/editor-plugin-table
2
2
 
3
+ ## 9.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#105322](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105322)
8
+ [`8876083532adc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8876083532adc) -
9
+ Bumped editor-prosemirror version to 7.0.0
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 9.3.6
4
16
 
5
17
  ### Patch Changes
@@ -29,7 +29,7 @@ export default class TableRow extends TableNodeView<HTMLTableRowElement> impleme
29
29
  destroy(): void;
30
30
  ignoreMutation(mutationRecord: MutationRecord | {
31
31
  type: 'selection';
32
- target: Element;
32
+ target: Node;
33
33
  }): boolean;
34
34
  /**
35
35
  * Methods
@@ -28,7 +28,7 @@ export default class TableView extends ReactNodeView<Props> {
28
28
  viewShouldUpdate(nextNode: PmNode): boolean;
29
29
  ignoreMutation(mutation: MutationRecord | {
30
30
  type: 'selection';
31
- target: Element;
31
+ target: Node;
32
32
  }): boolean;
33
33
  destroy(): void;
34
34
  }
@@ -29,7 +29,7 @@ export default class TableRow extends TableNodeView<HTMLTableRowElement> impleme
29
29
  destroy(): void;
30
30
  ignoreMutation(mutationRecord: MutationRecord | {
31
31
  type: 'selection';
32
- target: Element;
32
+ target: Node;
33
33
  }): boolean;
34
34
  /**
35
35
  * Methods
@@ -28,7 +28,7 @@ export default class TableView extends ReactNodeView<Props> {
28
28
  viewShouldUpdate(nextNode: PmNode): boolean;
29
29
  ignoreMutation(mutation: MutationRecord | {
30
30
  type: 'selection';
31
- target: Element;
31
+ target: Node;
32
32
  }): boolean;
33
33
  destroy(): void;
34
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-table",
3
- "version": "9.3.6",
3
+ "version": "9.4.0",
4
4
  "description": "Table plugin for the @atlaskit/editor",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -29,27 +29,27 @@
29
29
  "dependencies": {
30
30
  "@atlaskit/adf-schema": "^46.1.0",
31
31
  "@atlaskit/button": "^20.5.0",
32
- "@atlaskit/custom-steps": "^0.9.0",
33
- "@atlaskit/editor-common": "^99.9.0",
32
+ "@atlaskit/custom-steps": "^0.10.0",
33
+ "@atlaskit/editor-common": "^99.10.0",
34
34
  "@atlaskit/editor-palette": "1.7.0",
35
- "@atlaskit/editor-plugin-accessibility-utils": "^1.3.0",
36
- "@atlaskit/editor-plugin-analytics": "^1.11.0",
37
- "@atlaskit/editor-plugin-batch-attribute-updates": "1.2.0",
38
- "@atlaskit/editor-plugin-content-insertion": "^1.12.0",
39
- "@atlaskit/editor-plugin-editor-viewmode": "^2.1.0",
40
- "@atlaskit/editor-plugin-guideline": "^1.3.0",
41
- "@atlaskit/editor-plugin-selection": "^1.6.0",
42
- "@atlaskit/editor-plugin-width": "^2.0.0",
43
- "@atlaskit/editor-prosemirror": "6.2.1",
35
+ "@atlaskit/editor-plugin-accessibility-utils": "^1.4.0",
36
+ "@atlaskit/editor-plugin-analytics": "^1.12.0",
37
+ "@atlaskit/editor-plugin-batch-attribute-updates": "1.3.0",
38
+ "@atlaskit/editor-plugin-content-insertion": "^1.13.0",
39
+ "@atlaskit/editor-plugin-editor-viewmode": "^2.2.0",
40
+ "@atlaskit/editor-plugin-guideline": "^1.4.0",
41
+ "@atlaskit/editor-plugin-selection": "^1.7.0",
42
+ "@atlaskit/editor-plugin-width": "^2.1.0",
43
+ "@atlaskit/editor-prosemirror": "7.0.0",
44
44
  "@atlaskit/editor-shared-styles": "^3.2.0",
45
- "@atlaskit/editor-tables": "^2.8.0",
45
+ "@atlaskit/editor-tables": "^2.9.0",
46
46
  "@atlaskit/icon": "^23.7.0",
47
47
  "@atlaskit/menu": "^2.14.0",
48
48
  "@atlaskit/platform-feature-flags": "^1.0.0",
49
49
  "@atlaskit/pragmatic-drag-and-drop": "^1.5.0",
50
50
  "@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^2.1.0",
51
51
  "@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.0.0",
52
- "@atlaskit/primitives": "^13.4.0",
52
+ "@atlaskit/primitives": "^13.5.0",
53
53
  "@atlaskit/theme": "^15.0.0",
54
54
  "@atlaskit/tmp-editor-statsig": "^2.43.0",
55
55
  "@atlaskit/toggle": "^14.1.0",
@@ -149,7 +149,7 @@ export default class TableRow extends TableNodeView<HTMLTableRowElement> impleme
149
149
  }
150
150
  }
151
151
 
152
- ignoreMutation(mutationRecord: MutationRecord | { type: 'selection'; target: Element }) {
152
+ ignoreMutation(mutationRecord: MutationRecord | { type: 'selection'; target: Node }) {
153
153
  /* tableRows are not directly editable by the user
154
154
  * so it should be safe to ignore mutations that we cause
155
155
  * by updating styles and classnames on this DOM element
@@ -342,7 +342,7 @@ export default class TableView extends ReactNodeView<Props> {
342
342
  });
343
343
  }
344
344
 
345
- ignoreMutation(mutation: MutationRecord | { type: 'selection'; target: Element }) {
345
+ ignoreMutation(mutation: MutationRecord | { type: 'selection'; target: Node }) {
346
346
  const {
347
347
  type,
348
348
  target: { nodeName, firstChild },